!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/wp-content/plugins/anycomment/",t(t.s=164)}([function(e,t,n){"use strict";e.exports=n(203)},function(e,t,n){e.exports=n(234)()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(0),l=n.n(a),u=n(214),s=n.n(u),c=n(19),f=(n.n(c),n(123)),p=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:2500;arguments[2];if(!e)return!1;-1!==e.indexOf("#")&&(e=e.replace("#",""));var n=document.getElementById(e);return!!n&&(this.moveToElement(e,function(){n.classList.add("comment-single-highlight"),setTimeout(function(){n.classList.remove("comment-single-highlight")},t)}),!1)}},{key:"moveToElement",value:function(e,t){f.a.moveToElement(e,t)}},{key:"hasCommentSectionAnchor",value:function(){var e=window.location.hash;return""!==e&&/#(comments|respond|to-comments|load-comments)$/.test(e)}},{key:"hasSpecificCommentAnchor",value:function(){var e=window.location.hash;return""!==e&&/#comment-\d{1,20}$/.test(e)}},{key:"showSuccess",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!e)return!1;c.toast.success(e,t)}},{key:"showError",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e)return!1;var r="";if(r="response"in e&&"data"in e.response?e.response.data.message:e,null!==n)return"render"in t||(t.render=r),"type"in t||(t.type=c.toast.TYPE.ERROR),void c.toast.update(n,t);c.toast.error(r,t)}},{key:"isGuest",value:function(){return!this.props.user}},{key:"getCurrentUser",value:function(){return this.props.user}},{key:"getSettings",value:function(){return this.props.settings}},{key:"getOptions",value:function(){return this.props.settings.options}},{key:"getTranslations",value:function(){return this.props.settings.options.i18}},{key:"getComment",value:function(){return this.localGet("anycomment-content")}},{key:"getAuthorName",value:function(){return this.localGet("anycomment-name")}},{key:"getAuthorEmail",value:function(){return this.localGet("anycomment-email")}},{key:"getAuthorWebsite",value:function(){return this.localGet("anycomment-website")}},{key:"dropComment",value:function(){this.localDelete("anycomment-content")}},{key:"dropAuthorName",value:function(){this.localDelete("anycomment-name")}},{key:"dropAuthorEmail",value:function(){this.localDelete("anycomment-email")}},{key:"dropAuthorWebsite",value:function(){this.localDelete("anycomment-website")}},{key:"storeComment",value:function(e){this.localStore("anycomment-content",e)}},{key:"storeAuthorName",value:function(e){this.localStore("anycomment-name",e)}},{key:"storeAuthorEmail",value:function(e){this.localStore("anycomment-email",e)}},{key:"storeAuthorWebsite",value:function(e){this.localStore("anycomment-website",e)}},{key:"localGet",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!this.localStorageSupport())return t;if(!e)return t;var n=localStorage.getItem(e)||"";return n?(n=n.trim())||t:t}},{key:"localStore",value:function(e,t){return!!this.localStorageSupport()&&(!!e&&("string"===typeof t&&(t=t.trim()),void localStorage.setItem(e,t)))}},{key:"localDelete",value:function(e){return!!this.localStorageSupport()&&(!!localStorage.getItem(e)&&(localStorage.removeItem(e),!0))}},{key:"localStorageSupport",value:function(){try{return localStorage.setItem("test","test"),localStorage.removeItem("test"),!0}catch(e){return!1}}},{key:"getLocale",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.getSettings(),n=t.locale;return e?n:n.substring(0,2)}}]),t}(l.a.Component);d.defaultProps=Object.assign({},l.a.Component.defaultProps,{settings:"anyCommentApiSettings"in window?window.anyCommentApiSettings:null,user:"anyCommentApiSettings"in window?window.anyCommentApiSettings.user:null,axios:s.a.create({baseURL:"anyCommentApiSettings"in window?window.anyCommentApiSettings.restUrl:"",timeout:1e4})}),t.a=d},function(e,t,n){var r=n(58)("wks"),o=n(30),i=n(5).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";function r(e){return"[object Array]"===O.call(e)}function o(e){return"[object ArrayBuffer]"===O.call(e)}function i(e){return"undefined"!==typeof FormData&&e instanceof FormData}function a(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function l(e){return"string"===typeof e}function u(e){return"number"===typeof e}function s(e){return"undefined"===typeof e}function c(e){return null!==e&&"object"===typeof e}function f(e){return"[object Date]"===O.call(e)}function p(e){return"[object File]"===O.call(e)}function d(e){return"[object Blob]"===O.call(e)}function h(e){return"[object Function]"===O.call(e)}function y(e){return c(e)&&h(e.pipe)}function m(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function v(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function b(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function g(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),r(e))for(var n=0,o=e.length;n1&&void 0!==arguments[1]?arguments[1]:{},n=i({},e);return Object.keys(t).forEach(function(i){"object"===o(t[i])&&t[i]&&e[i]?n[i]=r(e[i],t[i]):n[i]=t[i]}),n}Object.defineProperty(t,"__esModule",{value:!0});var o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;ts){for(var t=0,n=a.length-u;t0?o(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(58)("keys"),o=n(30);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(17),o=n(183),i=n(64),a=n(63)("IE_PROTO"),l=function(){},u=function(){var e,t=n(92)("iframe"),r=i.length;for(t.style.display="none",n(184).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("