Google Analytics Dashboard for WP (GADWP) - Version 7.8.2

Version Description

Download this release

Release Info

Developer manejaam
Plugin Icon 128x128 Google Analytics Dashboard for WP (GADWP)
Version 7.8.2
Comparing to
See all releases

Code changes from version 7.8.1 to 7.8.2

assets/gutenberg/js/editor.min.js CHANGED
@@ -3,4 +3,4 @@
3
  Licensed under the MIT License (MIT), see
4
  http://jedwatson.github.io/classnames
5
  */
6
- !function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=n.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var s in r)o.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}var o={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(i=function(){return n}.apply(t,r))&&(e.exports=i))}()},function(e,t,n){var r=n(6),i=n(0),o=n(37),a=n(11),s=n(9),l=function(e,t,n){var c,u,d,p=e&l.F,h=e&l.G,m=e&l.S,f=e&l.P,g=e&l.B,w=e&l.W,v=h?i:i[t]||(i[t]={}),y=v.prototype,b=h?r:m?r[t]:(r[t]||{}).prototype;h&&(n=t);for(c in n)(u=!p&&b&&void 0!==b[c])&&s(v,c)||(d=u?b[c]:n[c],v[c]=h&&"function"!=typeof b[c]?n[c]:g&&u?o(d,r):w&&b[c]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):f&&"function"==typeof d?o(Function.call,d):d,f&&((v.virtual||(v.virtual={}))[c]=d,e&l.R&&y&&!y[c]&&a(y,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){e.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(8),i=n(53),o=n(38),a=Object.defineProperty;t.f=n(5)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(12);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(57),i=n(36);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(7),i=n(21);e.exports=n(5)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports={}},function(e,t,n){e.exports={default:n(155),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(72),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";t.__esModule=!0;var r=n(73),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(172),o=r(i),a=n(176),s=r(a),l=n(73),c=r(l);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,c.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(o.default?(0,o.default)(e,t):e.__proto__=t)}},function(e,t,n){"use strict";var r=(n(180),n(33));n.d(t,"a",function(){return r.a});n(189),n(191),n(192),n(193),n(81)},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(56),i=n(43);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(36);e.exports=function(e){return Object(r(e))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r={};r.headline=wp.element.createElement("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M13.5 2V12H14.5C14.6458 12 14.7604 12.0521 14.8438 12.1562C14.9479 12.2396 15 12.3542 15 12.5V13.5C15 13.6458 14.9479 13.7604 14.8438 13.8438C14.7604 13.9479 14.6458 14 14.5 14H9.5C9.35417 14 9.22917 13.9479 9.125 13.8438C9.04167 13.7604 9 13.6458 9 13.5V12.5C9 12.3542 9.04167 12.2396 9.125 12.1562C9.22917 12.0521 9.35417 12 9.5 12H10.5V8H4.5V12H5.5C5.64583 12 5.76042 12.0521 5.84375 12.1562C5.94792 12.2396 6 12.3542 6 12.5V13.5C6 13.6458 5.94792 13.7604 5.84375 13.8438C5.76042 13.9479 5.64583 14 5.5 14H0.5C0.354167 14 0.229167 13.9479 0.125 13.8438C0.0416667 13.7604 0 13.6458 0 13.5V12.5C0 12.3542 0.0416667 12.2396 0.125 12.1562C0.229167 12.0521 0.354167 12 0.5 12H1.5V2H0.5C0.354167 2 0.229167 1.95833 0.125 1.875C0.0416667 1.77083 0 1.64583 0 1.5V0.5C0 0.354167 0.0416667 0.239583 0.125 0.15625C0.229167 0.0520833 0.354167 0 0.5 0H5.5C5.64583 0 5.76042 0.0520833 5.84375 0.15625C5.94792 0.239583 6 0.354167 6 0.5V1.5C6 1.64583 5.94792 1.77083 5.84375 1.875C5.76042 1.95833 5.64583 2 5.5 2H4.5V6H10.5V2H9.5C9.35417 2 9.22917 1.95833 9.125 1.875C9.04167 1.77083 9 1.64583 9 1.5V0.5C9 0.354167 9.04167 0.239583 9.125 0.15625C9.22917 0.0520833 9.35417 0 9.5 0H14.5C14.6458 0 14.7604 0.0520833 14.8438 0.15625C14.9479 0.239583 15 0.354167 15 0.5V1.5C15 1.64583 14.9479 1.77083 14.8438 1.875C14.7604 1.95833 14.6458 2 14.5 2H13.5Z",fill:"white"})),r.headlineBlack=wp.element.createElement("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M13.5 2V12H14.5C14.6458 12 14.7604 12.0521 14.8438 12.1562C14.9479 12.2396 15 12.3542 15 12.5V13.5C15 13.6458 14.9479 13.7604 14.8438 13.8438C14.7604 13.9479 14.6458 14 14.5 14H9.5C9.35417 14 9.22917 13.9479 9.125 13.8438C9.04167 13.7604 9 13.6458 9 13.5V12.5C9 12.3542 9.04167 12.2396 9.125 12.1562C9.22917 12.0521 9.35417 12 9.5 12H10.5V8H4.5V12H5.5C5.64583 12 5.76042 12.0521 5.84375 12.1562C5.94792 12.2396 6 12.3542 6 12.5V13.5C6 13.6458 5.94792 13.7604 5.84375 13.8438C5.76042 13.9479 5.64583 14 5.5 14H0.5C0.354167 14 0.229167 13.9479 0.125 13.8438C0.0416667 13.7604 0 13.6458 0 13.5V12.5C0 12.3542 0.0416667 12.2396 0.125 12.1562C0.229167 12.0521 0.354167 12 0.5 12H1.5V2H0.5C0.354167 2 0.229167 1.95833 0.125 1.875C0.0416667 1.77083 0 1.64583 0 1.5V0.5C0 0.354167 0.0416667 0.239583 0.125 0.15625C0.229167 0.0520833 0.354167 0 0.5 0H5.5C5.64583 0 5.76042 0.0520833 5.84375 0.15625C5.94792 0.239583 6 0.354167 6 0.5V1.5C6 1.64583 5.94792 1.77083 5.84375 1.875C5.76042 1.95833 5.64583 2 5.5 2H4.5V6H10.5V2H9.5C9.35417 2 9.22917 1.95833 9.125 1.875C9.04167 1.77083 9 1.64583 9 1.5V0.5C9 0.354167 9.04167 0.239583 9.125 0.15625C9.22917 0.0520833 9.35417 0 9.5 0H14.5C14.6458 0 14.7604 0.0520833 14.8438 0.15625C14.9479 0.239583 15 0.354167 15 0.5V1.5C15 1.64583 14.9479 1.77083 14.8438 1.875C14.7604 1.95833 14.6458 2 14.5 2H13.5Z",fill:"#000"})),r.warning=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M16 8C16 6.58065 15.6129 5.22581 14.9032 4C14.1935 2.77419 13.2258 1.80645 12 1.09677C10.7742 0.387097 9.41936 0 8 0C6.54839 0 5.22581 0.387097 4 1.09677C2.77419 1.80645 1.77419 2.77419 1.06452 4C0.354839 5.22581 0 6.58065 0 8C0 9.45161 0.354839 10.7742 1.06452 12C1.77419 13.2258 2.77419 14.2258 4 14.9355C5.22581 15.6452 6.54839 16 8 16C9.41936 16 10.7742 15.6452 12 14.9355C13.2258 14.2258 14.1935 13.2258 14.9032 12C15.6129 10.7742 16 9.45161 16 8ZM8 9.6129C8.3871 9.6129 8.74194 9.77419 9.03226 10.0645C9.32258 10.3548 9.48387 10.7097 9.48387 11.0968C9.48387 11.5161 9.32258 11.871 9.03226 12.1613C8.74194 12.4516 8.3871 12.5806 8 12.5806C7.58065 12.5806 7.22581 12.4516 6.93548 12.1613C6.64516 11.871 6.51613 11.5161 6.51613 11.0968C6.51613 10.7097 6.64516 10.3548 6.93548 10.0645C7.22581 9.77419 7.58065 9.6129 8 9.6129ZM6.58065 4.29032C6.58065 4.16129 6.6129 4.06452 6.67742 4C6.74194 3.93548 6.83871 3.87097 6.96774 3.87097H9.03226C9.12903 3.87097 9.22581 3.93548 9.29032 4C9.35484 4.06452 9.41936 4.16129 9.41936 4.29032L9.16129 8.67742C9.16129 8.77419 9.09677 8.87097 9.03226 8.93548C8.96774 9 8.87097 9.03226 8.77419 9.03226H7.22581C7.09677 9.03226 7 9 6.93548 8.93548C6.87097 8.87097 6.83871 8.77419 6.83871 8.67742L6.58065 4.29032Z",fill:"#F2994A"})),r.smile=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M2.32258 2.35484C3.89247 0.784946 5.78495 0 8 0C10.2151 0 12.0968 0.784946 13.6452 2.35484C15.2151 3.90323 16 5.78495 16 8C16 10.2151 15.2151 12.1075 13.6452 13.6774C12.0968 15.2258 10.2151 16 8 16C5.78495 16 3.89247 15.2258 2.32258 13.6774C0.774194 12.1075 0 10.2151 0 8C0 5.78495 0.774194 3.90323 2.32258 2.35484ZM11.2903 5.74194C11.0968 5.52688 10.8602 5.41935 10.5806 5.41935C10.3011 5.41935 10.0538 5.52688 9.83871 5.74194C9.64516 5.93548 9.54839 6.17204 9.54839 6.45161C9.54839 6.73118 9.64516 6.97849 9.83871 7.19355C10.0538 7.3871 10.3011 7.48387 10.5806 7.48387C10.8602 7.48387 11.0968 7.3871 11.2903 7.19355C11.5054 6.97849 11.6129 6.73118 11.6129 6.45161C11.6129 6.17204 11.5054 5.93548 11.2903 5.74194ZM6.12903 5.74194C5.93548 5.52688 5.69892 5.41935 5.41935 5.41935C5.13978 5.41935 4.89247 5.52688 4.67742 5.74194C4.48387 5.93548 4.3871 6.17204 4.3871 6.45161C4.3871 6.73118 4.48387 6.97849 4.67742 7.19355C4.89247 7.3871 5.13978 7.48387 5.41935 7.48387C5.69892 7.48387 5.93548 7.3871 6.12903 7.19355C6.34409 6.97849 6.45161 6.73118 6.45161 6.45161C6.45161 6.17204 6.34409 5.93548 6.12903 5.74194ZM11.7097 10.9032C11.7957 10.8172 11.8387 10.7204 11.8387 10.6129C11.8387 10.4839 11.8065 10.3871 11.7419 10.3226C11.6774 10.2366 11.5914 10.172 11.4839 10.129C11.3978 10.0645 11.3011 10.043 11.1935 10.0645C11.086 10.086 10.9892 10.1505 10.9032 10.2581C10.1505 11.1613 9.1828 11.6129 8 11.6129C6.8172 11.6129 5.84946 11.1613 5.09677 10.2581C5.01075 10.1505 4.91398 10.086 4.80645 10.0645C4.69892 10.043 4.5914 10.0645 4.48387 10.129C4.39785 10.172 4.32258 10.2366 4.25806 10.3226C4.19355 10.3871 4.16129 10.4839 4.16129 10.6129C4.16129 10.7204 4.2043 10.8172 4.29032 10.9032C5.25806 12.0645 6.49462 12.6452 8 12.6452C9.50538 12.6452 10.7419 12.0645 11.7097 10.9032Z",fill:"#1EC185"})),r.neutral=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M2.32258 2.35484C3.89247 0.784946 5.78495 0 8 0C10.2151 0 12.0968 0.784946 13.6452 2.35484C15.2151 3.90323 16 5.78495 16 8C16 10.2151 15.2151 12.1075 13.6452 13.6774C12.0968 15.2258 10.2151 16 8 16C5.78495 16 3.89247 15.2258 2.32258 13.6774C0.774194 12.1075 0 10.2151 0 8C0 5.78495 0.774194 3.90323 2.32258 2.35484ZM6.12903 5.74194C5.93548 5.52688 5.69892 5.41935 5.41935 5.41935C5.13978 5.41935 4.89247 5.52688 4.67742 5.74194C4.48387 5.93548 4.3871 6.17204 4.3871 6.45161C4.3871 6.73118 4.48387 6.97849 4.67742 7.19355C4.89247 7.3871 5.13978 7.48387 5.41935 7.48387C5.69892 7.48387 5.93548 7.3871 6.12903 7.19355C6.34409 6.97849 6.45161 6.73118 6.45161 6.45161C6.45161 6.17204 6.34409 5.93548 6.12903 5.74194ZM11.0968 11.6129C11.4409 11.6129 11.6129 11.4409 11.6129 11.0968C11.6129 10.7527 11.4409 10.5806 11.0968 10.5806H4.90323C4.55914 10.5806 4.3871 10.7527 4.3871 11.0968C4.3871 11.4409 4.55914 11.6129 4.90323 11.6129H11.0968ZM9.83871 7.19355C10.0538 7.3871 10.3011 7.48387 10.5806 7.48387C10.8602 7.48387 11.0968 7.3871 11.2903 7.19355C11.5054 6.97849 11.6129 6.73118 11.6129 6.45161C11.6129 6.17204 11.5054 5.93548 11.2903 5.74194C11.0968 5.52688 10.8602 5.41935 10.5806 5.41935C10.3011 5.41935 10.0538 5.52688 9.83871 5.74194C9.64516 5.93548 9.54839 6.17204 9.54839 6.45161C9.54839 6.73118 9.64516 6.97849 9.83871 7.19355Z",fill:"#626D83"})),r.negative=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M2.32258 2.35484C3.89247 0.784946 5.78495 0 8 0C10.2151 0 12.0968 0.784946 13.6452 2.35484C15.2151 3.90323 16 5.78495 16 8C16 10.2151 15.2151 12.1075 13.6452 13.6774C12.0968 15.2258 10.2151 16 8 16C5.78495 16 3.89247 15.2258 2.32258 13.6774C0.774194 12.1075 0 10.2151 0 8C0 5.78495 0.774194 3.90323 2.32258 2.35484ZM4.3871 7.48387C4.3871 7.76344 4.48387 8.01075 4.67742 8.22581C4.89247 8.41935 5.13978 8.51613 5.41935 8.51613C5.69892 8.51613 5.93548 8.41935 6.12903 8.22581C6.34409 8.01075 6.45161 7.76344 6.45161 7.48387C6.45161 7.44086 6.43011 7.35484 6.3871 7.22581C6.4086 7.22581 6.41935 7.22581 6.41935 7.22581C6.44086 7.22581 6.45161 7.22581 6.45161 7.22581C6.70968 7.22581 6.87097 7.10753 6.93548 6.87097C6.95699 6.78495 6.96774 6.70968 6.96774 6.64516C6.96774 6.58065 6.94624 6.52688 6.90323 6.48387C6.88172 6.41935 6.83871 6.36559 6.77419 6.32258C6.73118 6.27957 6.67742 6.24731 6.6129 6.22581L4.03226 5.45161C3.88172 5.4086 3.74194 5.41935 3.6129 5.48387C3.50538 5.54839 3.43011 5.64516 3.3871 5.77419C3.36559 5.86021 3.35484 5.93548 3.35484 6C3.37634 6.06452 3.39785 6.12903 3.41935 6.19355C3.44086 6.23656 3.47312 6.27957 3.51613 6.32258C3.58065 6.36559 3.65591 6.39785 3.74194 6.41935L4.70968 6.74194C4.49462 6.93548 4.3871 7.1828 4.3871 7.48387ZM9.80645 12.4516C9.93548 12.6237 10.0968 12.6882 10.2903 12.6452C10.4839 12.6021 10.6129 12.4946 10.6774 12.3226C10.7419 12.1505 10.7097 11.9785 10.5806 11.8065C9.91398 10.9892 9.05376 10.5806 8 10.5806C6.94624 10.5806 6.07527 10.9892 5.3871 11.8065C5.34409 11.871 5.31183 11.9462 5.29032 12.0323C5.26882 12.1183 5.26882 12.1935 5.29032 12.2581C5.31183 12.3226 5.34409 12.3871 5.3871 12.4516C5.43011 12.5161 5.48387 12.5699 5.54839 12.6129C5.6129 12.6344 5.67742 12.6559 5.74194 12.6774C5.82796 12.6774 5.90323 12.6667 5.96774 12.6452C6.05376 12.6021 6.12903 12.5376 6.19355 12.4516C6.64516 11.914 7.24731 11.6452 8 11.6452C8.75269 11.6452 9.35484 11.914 9.80645 12.4516ZM12.2903 6.41935C12.4194 6.37634 12.5161 6.30107 12.5806 6.19355C12.6452 6.06452 12.6559 5.92473 12.6129 5.77419C12.5914 5.68817 12.5484 5.6129 12.4839 5.54839C12.4194 5.48387 12.3441 5.45161 12.2581 5.45161C12.172 5.43011 12.086 5.43011 12 5.45161L9.41935 6.22581C9.26882 6.26882 9.16129 6.35484 9.09677 6.48387C9.03226 6.5914 9.02151 6.72043 9.06452 6.87097C9.12903 7.10753 9.29032 7.22581 9.54839 7.22581C9.56989 7.22581 9.5914 7.22581 9.6129 7.22581C9.56989 7.33333 9.54839 7.41935 9.54839 7.48387C9.54839 7.76344 9.64516 8.01075 9.83871 8.22581C10.0538 8.41935 10.3011 8.51613 10.5806 8.51613C10.8602 8.51613 11.0968 8.41935 11.2903 8.22581C11.5054 8.01075 11.6129 7.76344 11.6129 7.48387C11.6129 7.1828 11.5054 6.93548 11.2903 6.74194L12.2903 6.41935Z",fill:"#626D83"})),r.check=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M13.6452 2.35484C15.2151 3.90323 16 5.78495 16 8C16 10.2151 15.2151 12.1075 13.6452 13.6774C12.0968 15.2258 10.2151 16 8 16C5.78495 16 3.89247 15.2258 2.32258 13.6774C0.774194 12.1075 0 10.2151 0 8C0 5.78495 0.774194 3.90323 2.32258 2.35484C3.89247 0.784946 5.78495 0 8 0C10.2151 0 12.0968 0.784946 13.6452 2.35484ZM7.06452 12.2258L13 6.29032C13.2581 6.05376 13.2581 5.8172 13 5.58065L12.2903 4.83871C12.0323 4.60215 11.7849 4.60215 11.5484 4.83871L6.70968 9.67742L4.45161 7.41935C4.21505 7.1828 3.96774 7.1828 3.70968 7.41935L3 8.16129C2.74194 8.39785 2.74194 8.63441 3 8.87097L6.35484 12.2258C6.5914 12.4839 6.82796 12.4839 7.06452 12.2258Z",fill:"#1EC185"})),t.a=r},function(e,t){e.exports=lodash},function(e,t,n){"use strict";var r=n(94)(!0);n(52)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(106),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(110),o=r(i),a=n(62),s=r(a);t.default=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,l=(0,s.default)(e);!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,o.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){"use strict";var r=wp.element.Fragment,i=function(e){var t=e.barScore,n=e.width?e.width+"px":"80px",i=t>50?0:180-3.6*t,o=e.barColor;return wp.element.createElement(r,null,wp.element.createElement("div",{className:"exactmetrics-donut-container",style:{flexDirection:"column"}},wp.element.createElement("div",{className:"exactmetrics-donut",style:{width:n,paddingBottom:n,backgroundColor:"#f2f2f2"}},wp.element.createElement("div",{className:"exactmetrics-donut-sections",style:{transform:"rotate(0deg)"}},wp.element.createElement("div",{className:"exactmetrics-donut-section exactmetrics-donut-section-right",style:{transform:"rotate(0deg)"}},wp.element.createElement("div",{className:"exactmetrics-donut-filler",style:{backgroundColor:o,transform:"rotate(-"+i+"deg)"}})),function(){if(t>50){var e=180+360*(t-50)/100;return wp.element.createElement("div",{className:"exactmetrics-donut-section exactmetrics-donut-section-left",style:{transform:"rotate(0deg)"}},wp.element.createElement("div",{className:"exactmetrics-donut-filler",style:{backgroundColor:o,transform:"rotate("+e+"deg)"}}))}}()),wp.element.createElement("div",{className:"exactmetrics-donut-overlay",style:{height:"70%",width:"70%",top:"calc(15%)",left:"calc(15%)",backgroundColor:"rgb(255, 255, 255)"}}))))};t.a=i},function(e,t,n){"use strict";var r=(n(34),n(49),n(80)),i=(n.n(r),n(26));n.n(i);n.o(r,"cloneElement")&&n.d(t,"d",function(){return r.cloneElement}),n.o(r,"Component")&&n.d(t,"a",function(){return r.Component}),n.o(r,"createContext")&&n.d(t,"e",function(){return r.createContext}),n.o(r,"createElement")&&n.d(t,"f",function(){return r.createElement}),n.o(r,"forwardRef")&&n.d(t,"g",function(){return r.forwardRef}),n.o(r,"Fragment")&&n.d(t,"b",function(){return r.Fragment}),n.o(r,"isValidElement")&&n.d(t,"h",function(){return r.isValidElement}),n.o(r,"StrictMode")&&n.d(t,"c",function(){return r.StrictMode})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.a=r},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){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(95);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(12);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(8),i=n(97),o=n(43),a=n(41)("IE_PROTO"),s=function(){},l=function(){var e,t=n(54)("iframe"),r=o.length;for(t.style.display="none",n(100).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(42)("keys"),i=n(29);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(0),i=n(6),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(28)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(7).f,i=n(9),o=n(2)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){n(112);for(var r=n(6),i=n(11),o=n(14),a=n(2)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],d=u&&u.prototype;d&&!d[a]&&i(d,a,c),o[c]=o.Array}},function(e,t,n){t.f=n(2)},function(e,t,n){var r=n(6),i=n(0),o=n(28),a=n(47),s=n(7).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=Object(i.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}t.a=r;var i=n(188)},function(e,t,n){"use strict";function r(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}t.a=r},function(e,t,n){"use strict";t.__esModule=!0;var r=n(92),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}},function(e,t,n){"use strict";var r=n(28),i=n(4),o=n(55),a=n(11),s=n(14),l=n(96),c=n(44),u=n(59),d=n(2)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,m,f,g,w){l(n,t,m);var v,y,b,S=function(e){if(!p&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",_="values"==f,C=!1,x=e.prototype,k=x[d]||x["@@iterator"]||f&&x[f],O=k||S(f),T=f?_?S("entries"):O:void 0,N="Array"==t?x.entries||k:k;if(N&&(b=u(N.call(new e)))!==Object.prototype&&b.next&&(c(b,E,!0),r||"function"==typeof b[d]||a(b,d,h)),_&&k&&"values"!==k.name&&(C=!0,O=function(){return k.call(this)}),r&&!w||!p&&!C&&x[d]||a(x,d,O),s[t]=O,s[E]=h,f)if(v={values:_?O:S("values"),keys:g?O:S("keys"),entries:T},w)for(y in v)y in x||o(x,y,v[y]);else i(i.P+i.F*(p||C),t,v);return v}},function(e,t,n){e.exports=!n(5)&&!n(13)(function(){return 7!=Object.defineProperty(n(54)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(12),i=n(6).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){e.exports=n(11)},function(e,t,n){var r=n(9),i=n(10),o=n(98)(!1),a=n(41)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var r=n(40);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(35),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(9),i=n(23),o=n(41)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(61),i=n(2)("iterator"),o=n(14);e.exports=n(0).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(40),i=n(2)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){e.exports={default:n(116),__esModule:!0}},function(e,t,n){e.exports=n(118)},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=n(1);e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var a=[];i.forEach(t,function(e,t){null!==e&&void 0!==e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){function r(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var i=n(1),o=n(124),a={"Content-Type":"application/x-www-form-urlencoded"},s={adapter:function(){var e;return"undefined"!=typeof XMLHttpRequest?e=n(68):void 0!==t&&"[object process]"===Object.prototype.toString.call(t)&&(e=n(68)),e}(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(e){s.headers[e]={}}),i.forEach(["post","put","patch"],function(e){s.headers[e]=i.merge(a)}),e.exports=s}).call(t,n(123))},function(e,t,n){"use strict";var r=n(1),i=n(125),o=n(65),a=n(127),s=n(130),l=n(131),c=n(69);e.exports=function(e){return new Promise(function(t,u){var d=e.data,p=e.headers;r.isFormData(d)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var m=e.auth.username||"",f=e.auth.password||"";p.Authorization="Basic "+btoa(m+":"+f)}var g=a(e.baseURL,e.url);if(h.open(e.method.toUpperCase(),o(g,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,r=e.responseType&&"text"!==e.responseType?h.response:h.responseText,o={data:r,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};i(t,u,o),h=null}},h.onabort=function(){h&&(u(c("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){u(c("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),u(c(t,e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var w=n(132),v=(e.withCredentials||l(g))&&e.xsrfCookieName?w.read(e.xsrfCookieName):void 0;v&&(p[e.xsrfHeaderName]=v)}if("setRequestHeader"in h&&r.forEach(p,function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete p[t]:h.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),e.responseType)try{h.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){h&&(h.abort(),u(e),h=null)}),void 0===d&&(d=null),h.send(d)})}},function(e,t,n){"use strict";var r=n(126);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t){t=t||{};var n={},i=["url","method","params","data"],o=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(i,function(e){void 0!==t[e]&&(n[e]=t[e])}),r.forEach(o,function(i){r.isObject(t[i])?n[i]=r.deepMerge(e[i],t[i]):void 0!==t[i]?n[i]=t[i]:r.isObject(e[i])?n[i]=r.deepMerge(e[i]):void 0!==e[i]&&(n[i]=e[i])}),r.forEach(a,function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])});var s=i.concat(o).concat(a),l=Object.keys(t).filter(function(e){return-1===s.indexOf(e)});return r.forEach(l,function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])}),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){e.exports={default:n(158),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(160),o=r(i),a=n(162),s=r(a),l="function"==typeof s.default&&"symbol"==typeof o.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===l(o.default)?function(e){return void 0===e?"undefined":l(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":void 0===e?"undefined":l(e)}},function(e,t,n){var r=n(56),i=n(43).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(24),i=n(21),o=n(10),a=n(38),s=n(9),l=n(53),c=Object.getOwnPropertyDescriptor;t.f=n(5)?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";function r(e,t){if(e){if("string"==typeof e)return Object(i.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(i.a)(e,t):void 0}}t.a=r;var i=n(77)},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.a=r},function(e,t,n){"use strict";function r(e){"@babel/helpers - typeof";return(r="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})(e)}t.a=r},function(e,t,n){"use strict";function r(e){return Object(i.a)(e)||Object(o.a)(e)||Object(a.a)(e)||Object(s.a)()}t.a=r;var i=n(185),o=n(186),a=n(76),s=n(187)},function(e,t){e.exports=React},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){Object(a.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(e){var t=e.children,n=Object(s.a)(e,["children"]);return Object(l.f)("div",i({dangerouslySetInnerHTML:{__html:t}},n))}t.a=o;var a=n(34),s=n(49),l=n(33)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(72),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){e.exports=n(201)},function(e,t,n){"use strict";function r(e){var t=e.className,n=e.selected,o=e.help,p=e.onChange,h=e.options,m=void 0===h?[]:h,f=e.icons,g=void 0===f?[]:f,w=u(r),v="inspector-exactmetrics-popular-posts-theme-control-"+w,y=function(e){return p(e.target.value)},b=[],S=0,E=0,_=0;for(var C in m)if(m.hasOwnProperty(C)){var x=m[C];void 0===b[S]&&(b[S]=[]),b[S][E]=x,x.value===n&&(_=S),3===E?(E=0,S++):E++}var k=function(){return wp.element.createElement("span",{className:"exactmetrics-theme-picker-check"},l.a.checkmark)},O=function(e){var t="exactmetrics-theme-picker-label-"+e.value;return e.value===n&&(t+=" exactmetrics-theme-picker-label-selected"),s.a.canaccess(e.level)||(t+=" exactmetrics-theme-picker-label-disabled"),t};return!Object(i.isEmpty)(m)&&wp.element.createElement(d,{id:v,help:o,className:a()(t,"exactmetrics-theme-picker")},wp.element.createElement(c.c,{naturalSlideWidth:250,totalSlides:b.length,className:"exactmetrics-theme-picker-carousel",currentSlide:_,dragEnabled:!1},wp.element.createElement(c.f,null,b.map(function(e,t){return wp.element.createElement(c.e,{className:"exactmetrics-theme-picker-slide",index:t,key:v+"-"+t},e.map(function(e,r){return wp.element.createElement("div",{key:v+"-"+t+"-"+r,className:"exactmetrics-slider-theme-option"},wp.element.createElement("input",{id:v+"-"+t+"-"+r,className:"exactmetrics-slider-theme-input",type:"radio",name:v,value:e.value,onChange:y,checked:e.value===n,"aria-describedby":o?v+"__help":void 0}),wp.element.createElement("label",{htmlFor:v+"-"+t+"-"+r,className:O(e)},e.value===n&&k(),wp.element.createElement("span",{className:"exactmetrics-theme-picker-label-icon"},g[e.value]?g[e.value]:""),wp.element.createElement("span",{className:"exactmetrics-theme-picker-label-text"},e.label)))}))})),function(){if(b.length>1)return wp.element.createElement("div",{className:"exactmetrics-carousel-navigation"},wp.element.createElement(c.a,null,l.a.chevronleft),wp.element.createElement(c.d,{className:"exactmetrics-carousel-navigation-dots"}),wp.element.createElement(c.b,null,l.a.chevronright))}()))}t.a=r;var i=n(26),o=(n.n(i),n(3)),a=n.n(o),s=n(204),l=n(205),c=n(206),u=wp.compose.useInstanceId,d=wp.components.BaseControl},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){Object(o.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}n.d(t,"a",function(){return c});var o=n(34),a=n(214),s={"":{plural_forms:function(e){return 1===e?0:1}}},l=/^i18n\.(n?gettext|has_translation)(_|$)/,c=function(e,t,n){var r=new a.a({}),o=new Set,c=function(){o.forEach(function(e){return e()})},u=function(e){return o.add(e),function(){return o.delete(e)}},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return r.data[e]},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";r.data[t]=i(i(i({},s),r.data[t]),e),r.data[t][""]=i(i({},s[""]),r.data[t][""])},h=function(e,t){p(e,t),c()},m=function(e,t){r.data={},r.pluralForms={},h(e,t)},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return r.data[e]||p(void 0,e),r.dcnpgettext(e,t,n,i,o)},g=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default"},w=function(e,t){var r=f(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+g(t),r,e,t)):r},v=function(e,t,r){var i=f(r,t,e);return n?(i=n.applyFilters("i18n.gettext_with_context",i,e,t,r),n.applyFilters("i18n.gettext_with_context_"+g(r),i,e,t,r)):i},y=function(e,t,r,i){var o=f(i,void 0,e,t,r);return n?(o=n.applyFilters("i18n.ngettext",o,e,t,r,i),n.applyFilters("i18n.ngettext_"+g(i),o,e,t,r,i)):o},b=function(e,t,r,i,o){var a=f(o,i,e,t,r);return n?(a=n.applyFilters("i18n.ngettext_with_context",a,e,t,r,i,o),n.applyFilters("i18n.ngettext_with_context_"+g(o),a,e,t,r,i,o)):a},S=function(){return"rtl"===v("ltr","text direction")},E=function(e,t,i){var o,a,s=t?t+""+e:e,l=!(null===(o=r.data)||void 0===o||null===(a=o[null!==i&&void 0!==i?i:"default"])||void 0===a||!a[s]);return n&&(l=n.applyFilters("i18n.has_translation",l,e,t,i),l=n.applyFilters("i18n.has_translation_"+g(i),l,e,t,i)),l};if(e&&h(e,t),n){var _=function(e){l.test(e)&&c()};n.addAction("hookAdded","core/i18n",_),n.addAction("hookRemoved","core/i18n",_)}return{getLocaleData:d,setLocaleData:h,resetLocaleData:m,subscribe:u,__:w,_x:v,_n:y,_nx:b,isRTL:S,hasTranslation:E}}},function(e,t,n){"use strict";function r(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}t.a=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(88),i=(n.n(r),n(89)),o=(n.n(i),n(90),n(199),wp.i18n.setLocaleData);void 0!==window.exactmetrics_gutenberg_tool_vars.translations&&o(window.exactmetrics_gutenberg_tool_vars.translations,"google-analytics-dashboard-for-wp")},function(e,t){},function(e,t){},function(e,t,n){"use strict";n(91),n(148)},function(e,t,n){"use strict";var r=n(51),i=n.n(r),o=n(30),a=n.n(o),s=n(31),l=n.n(s),c=n(25),u=n(63),d=n.n(u),p=n(135),h=n(139),m=n(140),f=n(142),g=n(143),w=n(144),v=n(145),y=n(146),b=n(147),S=wp.i18n.__,E=wp.element,_=E.Fragment,C=E.useState,x=E.useEffect,k=wp.plugins.registerPlugin,O=wp.editPost,T=O.PluginSidebar,N=O.PluginSidebarMoreMenuItem,F=wp.data.select,M=function(e){var t=F("core/editor").getEditedPostAttribute("title"),n=S("Headline Analyzer","google-analytics-dashboard-for-wp"),r=S("Write your post title to see the analyzer data. This Headline Analyzer tool enables you to write irresistible SEO headlines that drive traffic, shares, and rank better in search results.","google-analytics-dashboard-for-wp"),o=C({}),s=l()(o,2),u=s[0],E=s[1],k=document.querySelector(".components-button[aria-label='"+n+"'] svg"),O=void 0!==u.previousHeadlinesData?u.previousHeadlinesData:[],M=sprintf(S("This headline analyzer is part of ExactMetrics to help you increase your traffic. See your %1swebsite traffic reports%2s.","google-analytics-dashboard-for-wp"),'<a href="'+exactmetrics_gutenberg_tool_vars.reports_url+'" className="exactmetrics-headline-analyzer-link">',"</a>"),j=document.querySelector(".exactmetrics-headline-analyzer-wrapper");if(k){var P=document.createElement("span");if(u.dataExist&&void 0!==u.currentHeadlineData.score){var D=u.currentHeadlineData.score,A=D<40?"red":D<=60?"orange":"green";k.parentNode.setAttribute("exactmetrics-button-color",A),k.nextElementSibling?k.nextElementSibling.innerHTML=D+"/100":(P.innerHTML=D+"/100",k.parentNode.insertBefore(P,k.nextSibling))}else k.parentNode.setAttribute("exactmetrics-button-color","red"),k.nextElementSibling?k.nextElementSibling.innerHTML="00/100":(P.innerHTML="00/100",k.parentNode.insertBefore(P,k.nextSibling))}if(j){var L=j.parentNode.querySelectorAll(".components-panel__header");L&&L.forEach(function(e){var t=e.querySelector('[aria-pressed="true"]');t&&null!==t&&(t.style.display="none")})}var B=function(e){E(a()({},u,e))};return x(function(){var e=new FormData;e.append("_ajax_nonce",exactmetrics_gutenberg_tool_vars.nonce),e.append("action","exactmetrics_gutenberg_headline_analyzer_get_results"),e.append("dataType","json"),e.append("q",t),d.a.post(exactmetrics_gutenberg_tool_vars.ajaxurl,e).then(function(e){var t={dataExist:!1};e.data.data.analysed&&(t.currentHeadlineData=e.data.data,t.headlineData=e.data.data,t.dataExist=!0,void 0!==u.headlineData&&(t.previousHeadlinesData=[u.headlineData].concat(i()(O)))),E(a()({},u,t))}).catch(function(e){var t={dataExist:!1};E(a()({},u,t)),console.log(e)})},[t]),wp.element.createElement(_,null,wp.element.createElement(N,{target:"exactmetrics-headline-analyzer"},n),wp.element.createElement(T,{name:"exactmetrics-headline-analyzer",title:n,className:"exactmetrics-headline-analyzer-wrapper",icon:c.a.headline},void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(p.a,{analyzer:u,setAnalyzer:B}):wp.element.createElement("p",{className:"exactmetrics-headline-analyzer-empty-title-warning"},r),void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed&&O.length>0?wp.element.createElement(h.a,{analyzer:u,setAnalyzer:B}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(m.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(f.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(g.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(w.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(v.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(y.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(b.a,{data:u.headlineData}):"",wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-bottom-notice"},wp.element.createElement("p",{dangerouslySetInnerHTML:{__html:M}}))))};"undefined"!=typeof exactmetrics_gutenberg_tool_vars&&exactmetrics_gutenberg_tool_vars.allowed_post_types.includes(exactmetrics_gutenberg_tool_vars.current_post_type)&&exactmetrics_gutenberg_tool_vars.is_headline_analyzer_enabled&&k("exactmetrics-headline-analyzer",{icon:c.a.headlineBlack,render:M})},function(e,t,n){e.exports={default:n(93),__esModule:!0}},function(e,t,n){n(27),n(101),e.exports=n(0).Array.from},function(e,t,n){var r=n(35),i=n(36);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(39),i=n(21),o=n(44),a={};n(11)(a,n(2)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(7),i=n(8),o=n(22);e.exports=n(5)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(10),i=n(58),o=n(99);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(35),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(6).document;e.exports=r&&r.documentElement},function(e,t,n){"use strict";var r=n(37),i=n(4),o=n(23),a=n(102),s=n(103),l=n(58),c=n(104),u=n(60);i(i.S+i.F*!n(105)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,d,p=o(e),h="function"==typeof this?this:Array,m=arguments.length,f=m>1?arguments[1]:void 0,g=void 0!==f,w=0,v=u(p);if(g&&(f=r(f,m>2?arguments[2]:void 0,2)),void 0==v||h==Array&&s(v))for(t=l(p.length),n=new h(t);t>w;w++)c(n,w,g?f(p[w],w):p[w]);else for(d=v.call(p),n=new h;!(i=d.next()).done;w++)c(n,w,g?a(d,f,[i.value,w],!0):i.value);return n.length=w,n}})},function(e,t,n){var r=n(8);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(14),i=n(2)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){"use strict";var r=n(7),i=n(21);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(2)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},function(e,t,n){e.exports={default:n(107),__esModule:!0}},function(e,t,n){n(108),e.exports=n(0).Object.assign},function(e,t,n){var r=n(4);r(r.S+r.F,"Object",{assign:n(109)})},function(e,t,n){"use strict";var r=n(5),i=n(22),o=n(45),a=n(24),s=n(23),l=n(57),c=Object.assign;e.exports=!c||n(13)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r})?function(e,t){for(var n=s(e),c=arguments.length,u=1,d=o.f,p=a.f;c>u;)for(var h,m=l(arguments[u++]),f=d?i(m).concat(d(m)):i(m),g=f.length,w=0;g>w;)h=f[w++],r&&!p.call(m,h)||(n[h]=m[h]);return n}:c},function(e,t,n){e.exports={default:n(111),__esModule:!0}},function(e,t,n){n(46),n(27),e.exports=n(115)},function(e,t,n){"use strict";var r=n(113),i=n(114),o=n(14),a=n(10);e.exports=n(52)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(61),i=n(2)("iterator"),o=n(14);e.exports=n(0).isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||o.hasOwnProperty(r(t))}},function(e,t,n){n(46),n(27),e.exports=n(117)},function(e,t,n){var r=n(8),i=n(60);e.exports=n(0).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){"use strict";function r(e){var t=new a(e),n=o(a.prototype.request,t);return i.extend(n,a.prototype,t),i.extend(n,t),n}var i=n(1),o=n(64),a=n(119),s=n(70),l=n(67),c=r(l);c.Axios=a,c.create=function(e){return r(s(c.defaults,e))},c.Cancel=n(71),c.CancelToken=n(133),c.isCancel=n(66),c.all=function(e){return Promise.all(e)},c.spread=n(134),e.exports=c,e.exports.default=c},function(e,t,n){"use strict";function r(e){this.defaults=e,this.interceptors={request:new a,response:new a}}var i=n(1),o=n(65),a=n(120),s=n(121),l=n(70);r.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=l(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},r.prototype.getUri=function(e){return e=l(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],function(e){r.prototype[e]=function(t,n){return this.request(i.merge(n||{},{method:e,url:t}))}}),i.forEach(["post","put","patch"],function(e){r.prototype[e]=function(t,n,r){return this.request(i.merge(r||{},{method:e,url:t,data:n}))}}),e.exports=r},function(e,t,n){"use strict";function r(){this.handlers=[]}var i=n(1);r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=r},function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var i=n(1),o=n(122),a=n(66),s=n(67);e.exports=function(e){return r(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),i.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return r(e),t.data=o(t.data,t.headers,e.transformResponse),t},function(t){return a(t)||(r(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function o(e){if(d===clearTimeout)return clearTimeout(e);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){f&&h&&(f=!1,h.length?m=h.concat(m):g=-1,m.length&&s())}function s(){if(!f){var e=i(a);f=!0;for(var t=m.length;t;){for(h=m,m=[];++g<t;)h&&h[g].run();g=-1,t=m.length}h=null,f=!1,o(e)}}function l(e,t){this.fun=e,this.array=t}function c(){}var u,d,p=e.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(e){u=n}try{d="function"==typeof clearTimeout?clearTimeout:r}catch(e){d=r}}();var h,m=[],f=!1,g=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new l(e,t)),1!==m.length||f||i(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.prependListener=c,p.prependOnceListener=c,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(69);e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(128),i=n(129);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(1),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},function(e,t,n){"use strict";var r=n(1);e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return t=e(window.location.href),function(n){var i=r.isString(n)?e(n):n;return i.protocol===t.protocol&&i.host===t.host}}():function(){return function(){return!0}}()},function(e,t,n){"use strict";var r=n(1);e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new i(e),t(n.reason))})}var i=n(71);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},e.exports=r},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";var r=n(31),i=n.n(r),o=n(3),a=n.n(o),s=n(136),l=n(137),c=n(138),u=wp.i18n.__,d=wp.element,p=d.Fragment,h=d.useState,m=d.useEffect,f=function(e){var t=u("Current Score","google-analytics-dashboard-for-wp"),n=u("Try New Headline","google-analytics-dashboard-for-wp"),r=h("current-score"),o=i()(r,2),d=o[0],f=o[1],g=function(){return f("current-score")},w=function(){return f("new-headline")},v=void 0!==e.analyzer.isNewData&&e.analyzer.isNewData;return m(function(){e.setAnalyzer({activeTab:d})},[d]),wp.element.createElement(p,null,wp.element.createElement("div",{className:"exactmetrics-inline-buttons"},wp.element.createElement("button",{onClick:g,className:a()("exactmetrics-switcher-button",{active:"current-score"===d})},t),wp.element.createElement("button",{onClick:w,className:a()("exactmetrics-switcher-button",{active:"new-headline"===d})},n)),"new-headline"===d?wp.element.createElement(l.a,{analyzer:e.analyzer,setAnalyzer:e.setAnalyzer}):wp.element.createElement(s.a,{analyzer:e.analyzer}),v?wp.element.createElement(c.a,{analyzer:e.analyzer}):"")};t.a=f},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(32),a=wp.i18n.__,s=wp.element.Fragment,l=wp.components,c=l.PanelBody,u=l.PanelRow,d=function(e){var t=e.analyzer.currentHeadlineData.sentence,n=a("Score","google-analytics-dashboard-for-wp"),r=a("A good score is between 40 and 60. For best results, you should strive for 70 and above.","google-analytics-dashboard-for-wp"),l=e.analyzer.currentHeadlineData.score,d=l<40?"red":l<=60?"orange":"green",p="red"===d?"#EB5757":"orange"===d?"#F2994A":"#1EC185";return wp.element.createElement(s,null,wp.element.createElement(c,{title:n},wp.element.createElement(u,null,wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-current-score-tab"},wp.element.createElement("h4",{className:"exactmetrics-headline-analyzer-current-title"},"“",t,"”"),wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-pie-chart-container"},wp.element.createElement("span",{className:i()("exactmetrics-headline-analyzer-current-score",d)},l),wp.element.createElement(o.a,{barScore:l,barColor:p})),wp.element.createElement("p",null,r)))))};t.a=d},function(e,t,n){"use strict";var r=n(51),i=n.n(r),o=n(63),a=n.n(o),s=wp.i18n.__,l=wp.element.Fragment,c=wp.components,u=c.PanelBody,d=c.PanelRow,p=c.TextControl,h=c.Button,m=function(e){var t=s("Try New Headline","google-analytics-dashboard-for-wp"),n=s("Enter a different headline than your post title to see how it compares.","google-analytics-dashboard-for-wp"),r=s("Analyze","google-analytics-dashboard-for-wp"),o=void 0!==e.analyzer.newHeadline?e.analyzer.newHeadline:"",c=void 0!==e.analyzer.previousHeadlinesData?e.analyzer.previousHeadlinesData:[],m=!o,f=function(t){var n=t.trim();if(n){var r=new FormData;r.append("_ajax_nonce",exactmetrics_gutenberg_tool_vars.nonce),r.append("action","exactmetrics_gutenberg_headline_analyzer_get_results"),r.append("dataType","json"),r.append("q",n),a.a.post(exactmetrics_gutenberg_tool_vars.ajaxurl,r).then(function(t){e.setAnalyzer({newHeadlineData:t.data.data,headlineData:t.data.data,previousHeadlinesData:[e.analyzer.headlineData].concat(i()(c)),isNewData:!0})}).catch(function(t){e.setAnalyzer({isNewData:!1}),console.log(t)})}};return wp.element.createElement(l,null,wp.element.createElement(u,{title:t},wp.element.createElement(d,null,wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-new-tab"},wp.element.createElement("form",{onSubmit:function(e){e.preventDefault(),f(o)}},wp.element.createElement(p,{label:n,value:o,onChange:function(t){" "!==t&&e.setAnalyzer({newHeadline:t})},className:"exactmetrics-headline-analyzer-input-field"}),wp.element.createElement(h,{className:"exactmetrics-headline-analyzer-button",isPrimary:!0,onClick:function(){f(o)},disabled:m},r))))))};t.a=m},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(32),a=wp.i18n.__,s=wp.element.Fragment,l=wp.components,c=l.PanelBody,u=l.PanelRow,d=function(e){var t=e.analyzer.currentHeadlineData.sentence,n=a("New Score","google-analytics-dashboard-for-wp"),r=a("A good score is between 40 and 60. For best results, you should strive for 70 and above.","google-analytics-dashboard-for-wp"),l=a("Current Score","google-analytics-dashboard-for-wp"),d=void 0!==e.analyzer.newHeadlineData?e.analyzer.newHeadlineData.sentence:"",p=void 0!==e.analyzer.newHeadlineData?e.analyzer.newHeadlineData.score:"",h=void 0!==e.analyzer.currentHeadlineData.score?e.analyzer.currentHeadlineData.score:"",m=p<40?"red":p<=60?"orange":"green",f="red"===m?"#EB5757":"orange"===m?"#F2994A":"#1EC185",g=h<40?"red-bg":h<=60?"orange-bg":"green-bg",w=Math.abs(p-h);return wp.element.createElement(s,null,wp.element.createElement(c,{title:n},wp.element.createElement(u,null,wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-new-score-panel"},wp.element.createElement("p",null,r),wp.element.createElement("h4",null,"“",d,"”"),wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-pie-chart-container"},wp.element.createElement("span",{className:i()("exactmetrics-headline-analyzer-new-score",m)},p),wp.element.createElement(o.a,{barScore:p,barColor:f})),wp.element.createElement("div",{className:"current-score"},wp.element.createElement("span",{className:i()("exactmetrics-headline-analyzer-score-difference",m)},p>h?"+ ":p===h?"":"- ",w),wp.element.createElement("h5",null,l),wp.element.createElement("span",{className:i()("exactmetrics-headline-analyzer-score",g)},h),wp.element.createElement("p",null,"“",t,"”"))))))};t.a=d},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=wp.i18n.__,a=wp.element.Fragment,s=wp.components,l=s.PanelBody,c=s.PanelRow,u=function(e){var t=o("Previous Scores","google-analytics-dashboard-for-wp"),n="undefined"!==e.analyzer.previousHeadlinesData?e.analyzer.previousHeadlinesData:[],r=document.querySelector(".edit-post-sidebar"),s="undefined"!==e.analyzer.activeTab?e.analyzer.activeTab:"current-score",u="current-score"===s?390:300,d=function(t){e.setAnalyzer({newHeadlineData:n[t],headlineData:n[t],newHeadline:n[t].sentence,isNewData:!0}),r&&(r.scrollTop=u)};return wp.element.createElement(a,null,wp.element.createElement(l,{title:t},wp.element.createElement(c,null,wp.element.createElement("ul",{className:"exactmetrics-headline-analyzer-previous-scores"},n.map(function(e,t){if(t<10&&(void 0!==e.sentence||void 0!==e.score)){var n=e.score<40?"red-bg":e.score<=60?"orange-bg":"green-bg";return wp.element.createElement("li",{key:t,onClick:function(){return d(t)}},wp.element.createElement("span",{className:i()("exactmetrics-headline-analyzer-score",n)},e.score),e.sentence)}})))))};t.a=u},function(e,t,n){"use strict";var r=n(25),i=n(3),o=n.n(i),a=n(141),s=wp.i18n.__,l=wp.element.Fragment,c=wp.components,u=c.PanelBody,d=c.PanelRow,p=function(e){var t=s("Word Balance","google-analytics-dashboard-for-wp"),n=s("Compare the percentages of your results to the goal for each category and adjust as necessary.","google-analytics-dashboard-for-wp"),i=e.data.score<40?"red":e.data.score<=60?"orange":"green",c=(e.data.score<40||e.data.score,0===e.data.result.common_words_per?"red":e.data.result.common_words_per<.2?"orange":"green"),p=0===e.data.result.common_words_per?"red-bg":e.data.result.common_words_per<.2?"orange-bg":"green-bg",h=s("Your headline would be more likely to get clicks if it had more uncommon words.","google-analytics-dashboard-for-wp"),m=e.data.result.common_words_per<.2?h:s("Headlines with 20-30% common words are more likely to get clicks.","google-analytics-dashboard-for-wp"),f=0===e.data.result.uncommon_words_per?"red":e.data.result.uncommon_words_per<.1?"orange":"green",g=0===e.data.result.uncommon_words_per?"red-bg":e.data.result.uncommon_words_per<.1?"orange-bg":"green-bg",w=e.data.result.uncommon_words_per<.1?h:s("Headlines with uncommon words are more likely to get clicks.","google-analytics-dashboard-for-wp"),v=0===e.data.result.emotion_words_per?"red":e.data.result.emotion_words_per<.1?"orange":"green",y=0===e.data.result.emotion_words_per?"red-bg":e.data.result.emotion_words_per<.1?"orange-bg":"green-bg",b=s("Emotionally triggered headlines are likely to drive more clicks.","google-analytics-dashboard-for-wp"),S=0===e.data.result.power_words.length?"orange":"green",E=0===e.data.result.power_words.length?"orange":"green-bg",_=s("Headlines with Power Words are more likely to get clicks.","google-analytics-dashboard-for-wp"),C=s("Common Words","google-analytics-dashboard-for-wp"),x=s("20-30%","google-analytics-dashboard-for-wp"),k=s("Uncommon Words","google-analytics-dashboard-for-wp"),O=s("10-20%","google-analytics-dashboard-for-wp"),T=s("Emotional Words","google-analytics-dashboard-for-wp"),N=s("10-15%","google-analytics-dashboard-for-wp"),F=s("Power Words","google-analytics-dashboard-for-wp"),M=s("At least one","google-analytics-dashboard-for-wp");return wp.element.createElement(l,null,wp.element.createElement(u,{title:t,className:o()("exactmetrics-headline-analyzer-panel-word-balance","exactmetrics-headline-analyzer-panel-has-icon",i),icon:"green"===i?r.a.check:r.a.warning},wp.element.createElement(d,null,wp.element.createElement("h4",null,e.data.result.word_balance),wp.element.createElement("p",null,n),wp.element.createElement(a.a,{title:C,value:Math.round(100*e.data.result.common_words_per),goalValue:x,words:e.data.result.common_words,guideLine:m,classOnScore:c,classOnScoreBg:p}),wp.element.createElement(a.a,{title:k,value:Math.round(100*e.data.result.uncommon_words_per),goalValue:O,words:e.data.result.uncommon_words,guideLine:w,classOnScore:f,classOnScoreBg:g}),wp.element.createElement(a.a,{title:T,value:Math.round(100*e.data.result.emotion_words_per),goalValue:N,words:e.data.result.emotion_words,guideLine:b,classOnScore:v,classOnScoreBg:y}),wp.element.createElement(a.a,{title:F,value:Math.round(100*e.data.result.power_words_per),goalValue:M,words:e.data.result.power_words,guideLine:_,classOnScore:S,classOnScoreBg:E}))))};t.a=p},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=wp.i18n.__,a=function(e){var t=o("Goal: ","google-analytics-dashboard-for-wp"),n={width:e.value+"%"};return wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-words-block"},wp.element.createElement("h5",null,e.title),wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-words-block-data"},wp.element.createElement("span",{className:i()("exactmetrics-headline-analyzer-words-block-percentage",e.classOnScore)},e.value,"%"),wp.element.createElement("span",{className:"exactmetrics-headline-analyzer-words-block-goal"},wp.element.createElement("strong",null,t),e.goalValue),wp.element.createElement("span",{className:"exactmetrics-headline-analyzer-words-block-progressbar"},wp.element.createElement("span",{className:"exactmetrics-headline-analyzer-progressbar-bg"}),wp.element.createElement("span",{className:i()("exactmetrics-headline-analyzer-progressbar-part",e.classOnScoreBg),style:n}))),wp.element.createElement("ul",{className:"exactmetrics-headline-analyzer-words-tag-list"},e.words.length>0?e.words.map(function(e,t){return wp.element.createElement("li",{key:t},e)}):""),wp.element.createElement("p",{className:"exactmetrics-headline-analyzer-words-guideline"},e.guideLine))};t.a=a},function(e,t,n){"use strict";var r=n(25),i=n(3),o=n.n(i),a=wp.i18n.__,s=wp.element.Fragment,l=wp.components,c=l.PanelBody,u=l.PanelRow,d=function(e){var t=a("Your headline has a neutral sentiment.","google-analytics-dashboard-for-wp"),n=a("Headlines that are strongly positive or negative tend to get more engagement then neutral ones.","google-analytics-dashboard-for-wp"),i=a("Your headline has a positive sentiment.","google-analytics-dashboard-for-wp"),l=a("Positive headlines tend to get better engagement than neutral or negative ones.","google-analytics-dashboard-for-wp"),d=a("Your headline has a negative sentiment.","google-analytics-dashboard-for-wp"),p=a("Negative headlines are attention-grabbing and tend to perform better than neutral ones.","google-analytics-dashboard-for-wp"),h=a("Sentiment","google-analytics-dashboard-for-wp"),m="neu"===e.data.result.sentiment?a("Neutral","google-analytics-dashboard-for-wp"):"pos"===e.data.result.sentiment?a("Positive","google-analytics-dashboard-for-wp"):a("Negative","google-analytics-dashboard-for-wp"),f="neu"===e.data.result.sentiment?r.a.neutral:"pos"===e.data.result.sentiment?r.a.smile:r.a.negative,g="neu"===e.data.result.sentiment?"orange":"pos"===e.data.result.sentiment?"green":"red";return wp.element.createElement(s,null,wp.element.createElement(c,{title:h,className:o()("exactmetrics-headline-analyzer-panel-sentiment","exactmetrics-headline-analyzer-panel-has-icon",g),icon:f},wp.element.createElement(u,null,wp.element.createElement("h4",null,m),"neu"===e.data.result.sentiment?wp.element.createElement("p",null,t," ",wp.element.createElement("br",null),wp.element.createElement("br",null)," ",n):"","pos"===e.data.result.sentiment?wp.element.createElement("p",null,i," ",wp.element.createElement("br",null),wp.element.createElement("br",null)," ",l):"","neg"===e.data.result.sentiment?wp.element.createElement("p",null,d," ",wp.element.createElement("br",null),wp.element.createElement("br",null)," ",p):"")))};t.a=d},function(e,t,n){"use strict";var r=wp.i18n,i=r.__,o=r.sprintf,a=wp.element.Fragment,s=wp.components,l=s.PanelBody,c=s.PanelRow,u=function(e){var t=e.data.result.headline_types.join(", "),n=i("Headline Type","google-analytics-dashboard-for-wp"),r=wp.element.createElement("span",{className:"exactmetrics-headline-analyzer-panel-types-title"},n,wp.element.createElement("span",null,t)),s=o(i("Headlines that are lists and how-to get more engagement on average than other types of headlines. %1sRead more about %2sdifferent types of headlines here.%3s","google-analytics-dashboard-for-wp"),"<br/><br/>",'<a href="https://optinmonster.com/why-these-21-headlines-went-viral-and-how-you-can-copy-their-success/" target="_blank" className="exactmetrics-headline-analyzer-link">',"</a>");return wp.element.createElement(a,null,wp.element.createElement(l,{title:r,className:"exactmetrics-headline-analyzer-panel-types"},wp.element.createElement(c,null,wp.element.createElement("h4",null,t),wp.element.createElement("p",{dangerouslySetInnerHTML:{__html:s}}))))};t.a=u},function(e,t,n){"use strict";var r=n(25),i=n(3),o=n.n(i),a=n(32),s=wp.i18n.__,l=wp.element.Fragment,c=wp.components,u=c.PanelBody,d=c.PanelRow,p=function(e){var t=s("Character Count","google-analytics-dashboard-for-wp"),n=e.data.result.length,i=n>=66?100:Math.round(1.51*n),c="",p="",h="#1EC185",m="";return n<=19?(c="red",h="#EB5757"):n>=20&&n<=34?(c="orange",h="#F2994A"):n>=35&&n<=66?(c="green",h="#1EC185"):n>=67&&n<=79?(c="orange",h="#F2994A"):n>=80&&(c="red",h="#EB5757"),n<=34?(p=s("Too Short","google-analytics-dashboard-for-wp"),m=s("You have space to add more keywords and power words to boost your rankings and click-through rate.","google-analytics-dashboard-for-wp")):n>=35&&n<=66?(p=s("Good","google-analytics-dashboard-for-wp"),m=s("Headlines that are about 55 characters long will display fully in search results and tend to get more clicks.","google-analytics-dashboard-for-wp")):n>=67&&(p=s("Too Long","google-analytics-dashboard-for-wp"),m=s("At this length, it will get cut off in search results. Try reducing it to about 55 characters.","google-analytics-dashboard-for-wp")),wp.element.createElement(l,null,wp.element.createElement(u,{title:t,className:o()("exactmetrics-headline-analyzer-panel-character-count","exactmetrics-headline-analyzer-panel-has-icon",c),icon:"green"===c?r.a.check:r.a.warning},wp.element.createElement(d,null,wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-pie-chart-container"},wp.element.createElement("span",{className:o()("exactmetrics-headline-analyzer-character-length",c)},n),wp.element.createElement(a.a,{barScore:i,barColor:h}),wp.element.createElement("span",{className:"exactmetrics-headline-analyzer-status-on-character-length"},p)),wp.element.createElement("p",null,m))))};t.a=p},function(e,t,n){"use strict";var r=n(25),i=n(3),o=n.n(i),a=n(32),s=wp.i18n.__,l=wp.element.Fragment,c=wp.components,u=c.PanelBody,d=c.PanelRow,p=function(e){var t=s("Word Count","google-analytics-dashboard-for-wp"),n=e.data.result.word_count,i=n>=10?100:Math.round(10*n),c="",p="",h="#1EC185",m="";return n<=4?(c="red",h="#EB5757",p=s("Not Enough Words","google-analytics-dashboard-for-wp"),m=s("Your headline doesn’t use enough words. You have more space to add keywords and power words to improve your SEO and get more engagement.","google-analytics-dashboard-for-wp")):n>=5&&n<=9?(c="green",h="#1EC185",p=s("Good","google-analytics-dashboard-for-wp"),m=s("Your headline has the right amount of words. Headlines are more likely to be clicked on in search results if they have about 6 words.","google-analytics-dashboard-for-wp")):n>=10&&n<=11?(c="orange",h="#F2994A",p=s("Reduce Word Count","google-analytics-dashboard-for-wp")):(c="red",h="#EB5757",p=s("Too Many Words","google-analytics-dashboard-for-wp"),m=s("Your headline has too many words. Long headlines will get cut off in search results and won’t get as many clicks.","google-analytics-dashboard-for-wp")),wp.element.createElement(l,null,wp.element.createElement(u,{title:t,className:o()("exactmetrics-headline-analyzer-panel-word-count","exactmetrics-headline-analyzer-panel-has-icon",c),icon:"green"===c?r.a.check:r.a.warning},wp.element.createElement(d,null,wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-pie-chart-container"},wp.element.createElement("span",{className:o()("exactmetrics-headline-analyzer-word-length",c)},n),wp.element.createElement(a.a,{barScore:i,barColor:h}),wp.element.createElement("span",{className:"exactmetrics-headline-analyzer-status-on-word-length"},p)),wp.element.createElement("p",null,m))))};t.a=p},function(e,t,n){"use strict";var r=wp.i18n.__,i=wp.element.Fragment,o=wp.components,a=o.PanelBody,s=o.PanelRow,l=function(e){var t=r("Beginning & Ending Words","google-analytics-dashboard-for-wp"),n=e.data.result.input_array_orig,o=r("Most readers only look at the first and last 3 words of a headline before deciding whether to click.","google-analytics-dashboard-for-wp"),l="",c="";return n.length>=6?(l=n.slice(0,3).join(" "),c=n.slice(-3).join(" ")):n.length>3&&n.length<=5?(l=n.slice(0,3).join(" "),c=n.slice(3).join(" ")):l=n.slice(0,3).join(" "),wp.element.createElement(i,null,wp.element.createElement(a,{title:t,className:"exactmetrics-headline-analyzer-panel-beginning-ending-words"},wp.element.createElement(s,null,l?wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-words beginning"},wp.element.createElement("span",null,l)):"",c?wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-words ending"},wp.element.createElement("span",null,c)):"",wp.element.createElement("p",{className:"exactmetrics-headline-analyzer-words-guideline"},o))))};t.a=l},function(e,t,n){"use strict";var r=n(30),i=n.n(r),o=wp.i18n.__,a=wp.element.Fragment,s=wp.components,l=s.PanelBody,c=s.PanelRow,u=wp.data.select,d=function(e){var t=o("Search Preview","google-analytics-dashboard-for-wp"),n=o("Here is how your headline will look like in google search results page.","google-analytics-dashboard-for-wp"),r=u("core/editor").getPermalink(),s={href:r};return wp.element.createElement(a,null,wp.element.createElement(l,{title:t,className:"exactmetrics-headline-analyzer-panel-search-preview"},wp.element.createElement(c,null,wp.element.createElement("h4",null,e.data.sentence),wp.element.createElement("p",{className:"exactmetrics-headline-analyzer-post-url"},wp.element.createElement("a",i()({},s,{target:"_blank"}),r)),wp.element.createElement("p",null,n))))};t.a=d},function(e,t,n){"use strict";var r=n(31),i=n.n(r),o=n(149),a=n(150),s=wp.components.ToggleControl,l=wp.plugins.registerPlugin,c=wp.data,u=c.dispatch,d=c.select,p=wp.i18n.__,h=wp.editPost.PluginDocumentSettingPanel,m=wp.element,f=m.useState,g=m.Fragment;l("exactmetrics-exclude-page-tracking",{render:function(){var e=window.exactmetrics_gutenberg_tool_vars;if(!e||"1"!==e.supports_custom_fields||"1"!==e.public_post_type)return wp.element.createElement(g,null);var t=d("core/editor").getEditedPostAttribute("meta")||[];t._mi_skip_tracking||(t._mi_skip_tracking=!1);var n=f(!!t._mi_skip_tracking),r=i()(n,2),l=r[0],c=r[1];return wp.element.createElement(h,{name:"exactmetrics-skip-tracking",title:"ExactMetrics",className:"exactmetrics-skip-tracking-wrapper",icon:"mi"},wp.element.createElement(s,{checked:l,help:p("Toggle to prevent Google Analytics from tracking this page.","google-analytics-dashboard-for-wp"),label:p("Exclude page from Google Analytics Tracking","google-analytics-dashboard-for-wp"),disabled:"lite"===e.license_type,onChange:function(e){c(!!e),u("core/editor").editPost({meta:{_mi_skip_tracking:e}})}}),wp.element.createElement(a.a,{addonInstalled:e.page_insights_addon_active,hidden:l}),wp.element.createElement(o.a,{license:e.license_type,upgrade_url:e.upgrade_url}))}})},function(e,t,n){"use strict";var r=wp.i18n.__,i=wp.element.Fragment,o=function(e){if("lite"!==e.license)return wp.element.createElement(i,null);var t={description:r("This is a PRO feature.","google-analytics-dashboard-for-wp"),upgrade:r("Upgrade","google-analytics-dashboard-for-wp")};return wp.element.createElement(i,null,wp.element.createElement("div",{className:"exactmetrics-metabox-pro-badge"},wp.element.createElement("span",null,wp.element.createElement("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M6.57617 1.08203L4.92578 4.45898L1.19336 4.99219C0.533203 5.09375 0.279297 5.90625 0.761719 6.38867L3.42773 9.00391L2.79297 12.6855C2.69141 13.3457 3.40234 13.8535 3.98633 13.5488L7.3125 11.7969L10.6133 13.5488C11.1973 13.8535 11.9082 13.3457 11.8066 12.6855L11.1719 9.00391L13.8379 6.38867C14.3203 5.90625 14.0664 5.09375 13.4062 4.99219L9.69922 4.45898L8.02344 1.08203C7.74414 0.498047 6.88086 0.472656 6.57617 1.08203Z",fill:"#31862D"})),t.description),wp.element.createElement("div",{className:"exactmetrics-metabox-pro-badge-upgrade"},wp.element.createElement("a",{href:e.upgrade_url,target:"_blank",rel:"noopener"},t.upgrade))))};t.a=o},function(e,t,n){"use strict";var r=n(151),i=n.n(r),o=n(62),a=n.n(o),s=n(31),l=n.n(s),c=n(15),u=n.n(c),d=n(16),p=n.n(d),h=n(17),m=n.n(h),f=n(18),g=n.n(f),w=n(19),v=n.n(w),y=n(179),b=n(20),S=n(196),E=n(197),_=n(198),C=wp.i18n.__,x=function(e){function t(){p()(this,t);var e=g()(this,(t.__proto__||u()(t)).call(this));return e.showPageInsightsClick=function(){e.setState({showBtnClicked:!0})},e.hidePageInsightsClick=function(){e.setState({showBtnClicked:!1})},e.tabclick=function(t){var n=e.state.tabs,r=!0,o=!1,s=void 0;try{for(var c,u=a()(i()(n));!(r=(c=u.next()).done);r=!0){var d=c.value,p=l()(d,2),h=p[0];p[1];n[h]=h===t}}catch(e){o=!0,s=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw s}}e.setState({tabs:n})},e.state={showBtnClicked:!1,tabs:{last30days:!0,yesterday:!1}},e.texts={last30days:C("Last 30 days","google-analytics-dashboard-for-wp"),yesterday:C("Yesterday","google-analytics-dashboard-for-wp"),bouncerate:C("Bounce Rate","google-analytics-dashboard-for-wp"),timeonpage:C("Time On Page","google-analytics-dashboard-for-wp"),loadingtime:C("Load Time","google-analytics-dashboard-for-wp"),entrances:C("Entrances","google-analytics-dashboard-for-wp"),pageviews:C("Page Views","google-analytics-dashboard-for-wp"),exits:C("Exits","google-analytics-dashboard-for-wp")},e}return v()(t,e),m()(t,[{key:"is_v4",value:function(){return exactmetrics_gutenberg_tool_vars&&"1"===exactmetrics_gutenberg_tool_vars.is_v4}},{key:"render",value:function(){return this.props.hidden?wp.element.createElement(Fragment,null):wp.element.createElement("div",{className:"exactmetrics-metabox lite",id:"exactmetrics-metabox-page-insights"},!this.state.showBtnClicked&&wp.element.createElement(S.a,{onClick:this.showPageInsightsClick}),wp.element.createElement("div",{id:"exactmetrics-page-insights-content",className:this.state.showBtnClicked?"active":""},wp.element.createElement("div",{className:"exactmetrics-page-insights__tabs"},wp.element.createElement(y.a,{text:this.texts.last30days,tab:"tab-last-30-days-content",active:this.state.tabs.last30days,onClick:this.tabclick,interval:"last30days"}),wp.element.createElement(y.a,{text:this.texts.yesterday,tab:"tab-yesterday-content",active:this.state.tabs.yesterday,onClick:this.tabclick,interval:"yesterday"})),wp.element.createElement("div",{className:"exactmetrics-page-insights-tabs-content"},wp.element.createElement("div",{className:"exactmetrics-page-insights-tabs-content__tab active",id:"tab-last-30-days-content"},wp.element.createElement("div",{className:"exactmetrics-page-insights-tabs-content__tab-items"},!this.is_v4()&&wp.element.createElement(_.a,{value:"53.40%",label:this.texts.bouncerate}),wp.element.createElement(_.a,{value:"1m 43s",label:this.texts.timeonpage}),!this.is_v4()&&wp.element.createElement(_.a,{value:"3.9s",label:this.texts.loadingtime}),wp.element.createElement(_.a,{value:"19056",label:this.texts.entrances}),wp.element.createElement(_.a,{value:"26558",label:this.texts.pageviews}),wp.element.createElement(_.a,{value:"13428",label:this.texts.exits}))))),this.state.showBtnClicked&&wp.element.createElement(E.a,{onClick:this.hidePageInsightsClick}))}}]),t}(b.a);t.a=x},function(e,t,n){e.exports={default:n(152),__esModule:!0}},function(e,t,n){n(153),e.exports=n(0).Object.entries},function(e,t,n){var r=n(4),i=n(154)(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},function(e,t,n){var r=n(5),i=n(22),o=n(10),a=n(24).f;e.exports=function(e){return function(t){for(var n,s=o(t),l=i(s),c=l.length,u=0,d=[];c>u;)n=l[u++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}}},function(e,t,n){n(156),e.exports=n(0).Object.getPrototypeOf},function(e,t,n){var r=n(23),i=n(59);n(157)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){var r=n(4),i=n(0),o=n(13);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(e,t,n){n(159);var r=n(0).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(4);r(r.S+r.F*!n(5),"Object",{defineProperty:n(7).f})},function(e,t,n){e.exports={default:n(161),__esModule:!0}},function(e,t,n){n(27),n(46),e.exports=n(47).f("iterator")},function(e,t,n){e.exports={default:n(163),__esModule:!0}},function(e,t,n){n(164),n(169),n(170),n(171),e.exports=n(0).Symbol},function(e,t,n){"use strict";var r=n(6),i=n(9),o=n(5),a=n(4),s=n(55),l=n(165).KEY,c=n(13),u=n(42),d=n(44),p=n(29),h=n(2),m=n(47),f=n(48),g=n(166),w=n(167),v=n(8),y=n(12),b=n(23),S=n(10),E=n(38),_=n(21),C=n(39),x=n(168),k=n(75),O=n(45),T=n(7),N=n(22),F=k.f,M=T.f,j=x.f,P=r.Symbol,D=r.JSON,A=D&&D.stringify,L=h("_hidden"),B=h("toPrimitive"),z={}.propertyIsEnumerable,R=u("symbol-registry"),H=u("symbols"),I=u("op-symbols"),q=Object.prototype,V="function"==typeof P&&!!O.f,W=r.QObject,Z=!W||!W.prototype||!W.prototype.findChild,U=o&&c(function(){return 7!=C(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=F(q,t);r&&delete q[t],M(e,t,n),r&&e!==q&&M(q,t,r)}:M,Y=function(e){var t=H[e]=C(P.prototype);return t._k=e,t},X=V&&"symbol"==typeof P.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof P},G=function(e,t,n){return e===q&&G(I,t,n),v(e),t=E(t,!0),v(n),i(H,t)?(n.enumerable?(i(e,L)&&e[L][t]&&(e[L][t]=!1),n=C(n,{enumerable:_(0,!1)})):(i(e,L)||M(e,L,_(1,{})),e[L][t]=!0),U(e,t,n)):M(e,t,n)},K=function(e,t){v(e);for(var n,r=g(t=S(t)),i=0,o=r.length;o>i;)G(e,n=r[i++],t[n]);return e},$=function(e,t){return void 0===t?C(e):K(C(e),t)},J=function(e){var t=z.call(this,e=E(e,!0));return!(this===q&&i(H,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(H,e)||i(this,L)&&this[L][e])||t)},Q=function(e,t){if(e=S(e),t=E(t,!0),e!==q||!i(H,t)||i(I,t)){var n=F(e,t);return!n||!i(H,t)||i(e,L)&&e[L][t]||(n.enumerable=!0),n}},ee=function(e){for(var t,n=j(S(e)),r=[],o=0;n.length>o;)i(H,t=n[o++])||t==L||t==l||r.push(t);return r},te=function(e){for(var t,n=e===q,r=j(n?I:S(e)),o=[],a=0;r.length>a;)!i(H,t=r[a++])||n&&!i(q,t)||o.push(H[t]);return o};V||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===q&&t.call(I,n),i(this,L)&&i(this[L],e)&&(this[L][e]=!1),U(this,e,_(1,n))};return o&&Z&&U(q,e,{configurable:!0,set:t}),Y(e)},s(P.prototype,"toString",function(){return this._k}),k.f=Q,T.f=G,n(74).f=x.f=ee,n(24).f=J,O.f=te,o&&!n(28)&&s(q,"propertyIsEnumerable",J,!0),m.f=function(e){return Y(h(e))}),a(a.G+a.W+a.F*!V,{Symbol:P});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ne.length>re;)h(ne[re++]);for(var ie=N(h.store),oe=0;ie.length>oe;)f(ie[oe++]);a(a.S+a.F*!V,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=P(e)},keyFor:function(e){if(!X(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){Z=!0},useSimple:function(){Z=!1}}),a(a.S+a.F*!V,"Object",{create:$,defineProperty:G,defineProperties:K,getOwnPropertyDescriptor:Q,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ae=c(function(){O.f(1)});a(a.S+a.F*ae,"Object",{getOwnPropertySymbols:function(e){return O.f(b(e))}}),D&&a(a.S+a.F*(!V||c(function(){var e=P();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!X(e))return w(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!X(t))return t}),r[1]=t,A.apply(D,r)}}),P.prototype[B]||n(11)(P.prototype,B,P.prototype.valueOf),d(P,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(29)("meta"),i=n(12),o=n(9),a=n(7).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(13)(function(){return l(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},p=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},h=function(e){return c&&m.NEED&&l(e)&&!o(e,r)&&u(e),e},m=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:p,onFreeze:h}},function(e,t,n){var r=n(22),i=n(45),o=n(24);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(40);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(10),i=n(74).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},function(e,t){},function(e,t,n){n(48)("asyncIterator")},function(e,t,n){n(48)("observable")},function(e,t,n){e.exports={default:n(173),__esModule:!0}},function(e,t,n){n(174),e.exports=n(0).Object.setPrototypeOf},function(e,t,n){var r=n(4);r(r.S,"Object",{setPrototypeOf:n(175).set})},function(e,t,n){var r=n(12),i=n(8),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(37)(Function.call,n(75).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){e.exports={default:n(177),__esModule:!0}},function(e,t,n){n(178);var r=n(0).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(4);r(r.S,"Object",{create:n(39)})},function(e,t,n){"use strict";var r=n(15),i=n.n(r),o=n(16),a=n.n(o),s=n(17),l=n.n(s),c=n(18),u=n.n(c),d=n(19),p=n.n(d),h=n(20),m=(wp.i18n.__,function(e){function t(e){a()(this,t);var n=u()(this,(t.__proto__||i()(t)).call(this,e));return n.handleClick=function(){n.props.onClick(n.props.interval)},n}return p()(t,e),l()(t,[{key:"render",value:function(){return wp.element.createElement("a",{href:"#",className:"exactmetrics-page-insights__tabs-tab "+(this.props.active?"active":""),"data-tab":"this.props.tab",onClick:this.handleClick},this.props.text)}}]),t}(h.a));t.a=m},function(e,t,n){"use strict";n(181),n(78),n(79),n(33)},function(e,t,n){"use strict";function r(e,t){return Object(i.a)(e)||Object(o.a)(e,t)||Object(a.a)(e,t)||Object(s.a)()}t.a=r;var i=n(182),o=n(183),a=n(76),s=n(184)},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}t.a=r},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.a=r},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return Object(i.a)(e)}t.a=r;var i=n(77)},function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}t.a=r},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.a=r},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}t.a=r},function(e,t,n){"use strict";var r=n(190);n.n(r)},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";var r=n(26);n.n(r)},function(e,t,n){"use strict"},function(e,t,n){"use strict";var r=(n(34),n(49),n(78),n(26)),i=(n.n(r),n(194),n(33)),o=(n(81),Object(i.e)(void 0));o.Provider,o.Consumer,Object(i.g)(function(){return null}),new Set(["string","boolean","number"]),new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"])},function(e,t,n){"use strict";function r(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&amp;")}function i(e){return e.replace(/"/g,"&quot;")}function o(e){return e.replace(/</g,"&lt;")}function a(e){return Object(c.a)(i(r(e)))}function s(e){return o(r(e))}function l(e){return!u.test(e)}t.a=a,t.b=s,t.c=l;var c=n(195),u=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/},function(e,t,n){"use strict";function r(e){return e.replace(/>/g,"&gt;")}t.a=r},function(e,t,n){"use strict";var r=n(15),i=n.n(r),o=n(16),a=n.n(o),s=n(17),l=n.n(s),c=n(18),u=n.n(c),d=n(19),p=n.n(d),h=n(20),m=wp.i18n.__,f=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||i()(t)).call(this));return e.state={},e.btn_show_text=m("Show Page Insights","google-analytics-dashboard-for-wp"),e}return p()(t,e),l()(t,[{key:"render",value:function(){return wp.element.createElement("a",{className:"button",href:"#",id:"exactmetrics_show_page_insights",onClick:this.props.onClick},this.btn_show_text)}}]),t}(h.a);t.a=f},function(e,t,n){"use strict";var r=n(15),i=n.n(r),o=n(16),a=n.n(o),s=n(17),l=n.n(s),c=n(18),u=n.n(c),d=n(19),p=n.n(d),h=n(20),m=wp.i18n.__,f=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||i()(t)).call(this));return e.state={},e.btn_text=m("Hide Page Insights","google-analytics-dashboard-for-wp"),e}return p()(t,e),l()(t,[{key:"render",value:function(){return wp.element.createElement("a",{className:"button",href:"#",id:"exactmetrics_hide_page_insights",onClick:this.props.onClick},this.btn_text)}}]),t}(h.a);t.a=f},function(e,t,n){"use strict";var r=n(15),i=n.n(r),o=n(16),a=n.n(o),s=n(17),l=n.n(s),c=n(18),u=n.n(c),d=n(19),p=n.n(d),h=n(20),m=(wp.i18n.__,function(e){function t(e){return a()(this,t),u()(this,(t.__proto__||i()(t)).call(this,e))}return p()(t,e),l()(t,[{key:"render",value:function(){return wp.element.createElement("div",{className:"exactmetrics-page-insights-tabs-content__tab-item"},wp.element.createElement("div",{className:"exactmetrics-page-insights-tabs-content__tab-item__result"},wp.element.createElement("span",null,this.props.value)),wp.element.createElement("div",{className:"exactmetrics-page-insights-tabs-content__tab-item__title"},this.props.label))}}]),t}(h.a));t.a=m},function(e,t,n){"use strict";n(200),n(207)},function(e,t,n){"use strict";var r=n(82),i=n.n(r),o=n(83),a=n.n(o),s=n(30),l=n.n(s),c=n(203),u=n(84),d=wp.i18n.__,p=wp.blocks.registerBlockType,h=wp,m=h.apiFetch,f=wp.data,g=f.registerStore,w=f.withSelect,v=wp.blockEditor.InspectorControls,y=wp.components,b=y.PanelBody,S=y.PanelRow,E=y.TextControl,_=y.ColorPalette,C=y.RangeControl,x=window.exactmetrics_gutenberg_tool_vars,k={setThemes:function(e){return{type:"SET_THEMES",themes:e}},receiveThemes:function(e){return{type:"RECEIVE_THEMES",path:e}}};g("exactmetrics/v1/popular-posts/inline",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{themes:{}},t=arguments[1];switch(t.type){case"SET_THEMES":return l()({},e,{themes:t.themes})}return e},actions:k,selectors:{receiveThemes:function(e){return e.themes}},controls:{RECEIVE_THEMES:function(e){return m({path:e.path})}},resolvers:{receiveThemes:a.a.mark(function e(t){var n,r;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k.receiveThemes("/exactmetrics/v1/popular-posts/themes/inline");case 2:if(n=e.sent,void 0===n.themes){e.next=6;break}for(r in n.themes)n.themes.hasOwnProperty(r)&&(n.themes[r].value=r);return e.abrupt("return",k.setThemes(n));case 6:case"end":return e.stop()}},e,this)})}}),p("exactmetrics/popular-posts-inline",{title:d("Inline Popular Posts","google-analytics-dashboard-for-wp"),description:d("Add inline popular posts from ExactMetrics","google-analytics-dashboard-for-wp"),category:"widgets",icon:c.a.inlinepop,keywords:[d("Popular","google-analytics-dashboard-for-wp"),d("Posts","google-analytics-dashboard-for-wp"),d("Inline","google-analytics-dashboard-for-wp"),"ExactMetrics"],example:{},attributes:{theme:{type:"string"},title_size:{type:"number"},title_color:{type:"string"},label_color:{type:"string"},label_text:{type:"string"},label_background:{type:"string"},background_color:{type:"string"},background_border:{type:"string"},icon_background:{type:"string"},icon_color:{type:"string"},border_color:{type:"string"},border_color2:{type:"string"}},edit:w(function(e){return{themes:e("exactmetrics/v1/popular-posts/inline").receiveThemes()}})(function(e){var t=e.attributes,n=t.theme,r=(t.title_size,t.title_color,t.label_color,t.label_text,t.label_background,t.background_color,t.background_border,t.icon_background,t.icon_color,t.border_color,t.border_color2,e.themes),o=e.setAttributes,a=[{name:"pink",color:"#F58EA8"},{name:"red",color:"#CD3034"},{name:"orange",color:"#FD6A21"},{name:"yellow",color:"#FBB82B"},{name:"green",color:"#7FDBB6"},{name:"green",color:"#21CF86"},{name:"blue",color:"#91D2FA"},{name:"blue",color:"#1B95E0"},{name:"purple",color:"#9A57DD"},{name:"gray",color:"#EEEEEE"},{name:"gray",color:"#ACB8C3"},{name:"black",color:"#000000"}],s=void 0!==r.themes?r.themes:{},l=void 0===e.attributes.theme?r.selected:n,p=void 0!==l&&void 0!==s[l]?s[l]:{},h=void 0!==p.styles?p.styles:{},m={};for(var f in h)if(h.hasOwnProperty(f))for(var g in h[f])if(h[f].hasOwnProperty(g)){var w=f+"_"+g;void 0===e.attributes[w]?m[w]=h[f][g]:m[w]=e.attributes[w]}var y=function(e,t){var n=m[t];return wp.element.createElement(C,{key:"exactmetrics-popular-posts-input"+t,label:e,value:parseInt(n),min:1,max:100,onChange:function(e){return o(i()({},t,""===e?"":parseInt(e)))}})},k=function(e,t){var n=m[t];return wp.element.createElement(E,{key:"exactmetrics-popular-posts-input"+t,label:e,type:"text",value:n,onChange:function(e){return o(i()({},t,e))}})},O=function(e,t){var n=m[t];return[wp.element.createElement("label",{key:"exactmetrics-popular-posts-label"+t},e),wp.element.createElement(_,{key:"exactmetrics-popular-posts-input"+t,value:n,colors:a,onChange:function(e){o(i()({},t,e))}})]};return[wp.element.createElement(v,{key:"exactmetrics-popular-posts-inline-inspector-controls"},wp.element.createElement(b,{title:d("Theme","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-inline-theme"},wp.element.createElement(S,{key:"exactmetrics-popular-posts-inline-theme-row"},wp.element.createElement(u.a,{id:"exactmetrics-popular-posts-inline-theme",options:s,selected:l,icons:c.a,onChange:function(e){o({theme:e})}}))),function(){if(void 0!==h.title){var e=[];return void 0!==h.title.size&&e.push(y(d("Title Font Size","google-analytics-dashboard-for-wp"),"title_size")),void 0!==h.title.color&&e.push(O(d("Title Color","google-analytics-dashboard-for-wp"),"title_color")),wp.element.createElement(b,{title:d("Title Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-inline-title"},e)}}(),function(){if(void 0!==h.label){var e=[];return void 0!==h.label.text&&e.push(k(d("Label Text","google-analytics-dashboard-for-wp"),"label_text")),void 0!==h.label.color&&e.push(O(d("Label Color","google-analytics-dashboard-for-wp"),"label_color")),void 0!==h.label.background&&e.push(O(d("Label Background","google-analytics-dashboard-for-wp"),"label_background")),wp.element.createElement(b,{title:d("Label Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-inline-label"}," ",e," ")}}(),function(){var e=[];if(void 0!==h.border&&void 0!==h.border.color&&e.push(O(d("Border Color","google-analytics-dashboard-for-wp"),"border_color")),void 0!==h.border&&void 0!==h.border.color2&&e.push(O(d("Bottom Border Color","google-analytics-dashboard-for-wp"),"border_color2")),void 0!==h.background&&void 0!==h.background.border&&e.push(O(d("Border Color","google-analytics-dashboard-for-wp"),"background_border")),0!==e.length)return wp.element.createElement(b,{title:d("Border Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-inline-border"}," ",e," ")}(),function(){if(void 0!==h.background&&void 0!==h.background.color){var e=[];return void 0!==h.background.color&&e.push(O(d("Background Color","google-analytics-dashboard-for-wp"),"background_color")),wp.element.createElement(b,{title:d("Background Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-inline-background"}," ",e," ")}}(),function(){if(void 0!==h.icon){var e=[];return void 0!==h.icon.color&&e.push(O(d("Icon Color","google-analytics-dashboard-for-wp"),"icon_color")),void 0!==h.icon.background&&e.push(O(d("Icon Background Color","google-analytics-dashboard-for-wp"),"icon_background")),wp.element.createElement(b,{title:d("Icon Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-inline-icon"}," ",e," ")}}()),wp.element.createElement("div",{key:"exactmetrics-popular-posts-inline-preview"},wp.element.createElement("div",{className:"exactmetrics-inline-popular-posts-widget exactmetrics-inline-popular-posts-"+l,style:{backgroundColor:m.background_color,borderColor:m.background_border}},function(){if(void 0!==p.image&&p.image){var e=void 0!==h.image?h.image:"theme-preview-image.jpg";return wp.element.createElement("div",{className:"exactmetrics-inline-popular-posts-image"},wp.element.createElement("img",{src:x.vue_assets_path+"img/"+e}))}}(),wp.element.createElement("div",{className:"exactmetrics-inline-popular-posts-text"},function(){if(void 0!==h.icon)return wp.element.createElement("span",{className:"exactmetrics-inline-popular-posts-icon",style:{backgroundColor:m.icon_background}},c.a.themeIcon(m.icon_color))}(),function(){if(void 0!==h.label)return wp.element.createElement("span",{style:{color:m.label_color,backgroundColor:m.label_background},className:"exactmetrics-inline-popular-posts-label"},m.label_text)}(),function(){if(void 0!==h.border&&void 0!==h.border.color)return wp.element.createElement("span",{className:"exactmetrics-inline-popular-posts-border",style:{borderColor:m.border_color}})}(),function(){if(void 0!==h.title&&void 0===p.list&&void 0!==h.title.text)return wp.element.createElement("a",{href:"#",className:"exactmetrics-inline-popular-posts-title",style:{color:m.title_color,fontSize:m.title_size+"px"}},h.title.text)}(),function(){if(void 0!==p.list){var e=[];for(var t in p.list)e.push(wp.element.createElement("li",{key:"exactmetrics-popular-posts-preview-list-item-"+t,style:{color:m.title_color,fontSize:m.title_size+"px"}},p.list[t]));return wp.element.createElement("ul",{className:"exactmetrics-inline-popular-posts-list"},e)}}(),function(){if(void 0!==h.border&&void 0!==h.border.color2)return wp.element.createElement("span",{className:"exactmetrics-inline-popular-posts-border-2",style:{borderColor:m.border_color2}})}())))]}),save:function(e){return null}})},function(e,t,n){var r=function(){return this}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(202),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function n(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),s=new h(r||[]);return a._invoke=c(e,n,s),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function o(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function l(e){function t(n,i,o,a){var s=r(e[n],e,i);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&v.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,o,a)},function(e){t("throw",e,o,a)}):Promise.resolve(c).then(function(e){l.value=e,o(l)},a)}a(s.arg)}function n(e,n){function r(){return new Promise(function(r,i){t(e,n,r,i)})}return i=i?i.then(r,r):r()}var i;this._invoke=n}function c(e,t,n){var i=x;return function(o,a){if(i===O)throw new Error("Generator is already running");if(i===T){if("throw"===o)throw a;return f()}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var l=u(s,n);if(l){if(l===N)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===x)throw i=T,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=O;var c=r(e,t,n);if("normal"===c.type){if(i=n.done?T:k,c.arg===N)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=T,n.method="throw",n.arg=c.arg)}}}function u(e,t){var n=e.iterator[t.method];if(n===g){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=g,u(e,t),"throw"===t.method))return N;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return N}var i=r(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,N;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=g),t.delegate=null,N):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,N)}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function p(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function h(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function m(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(v.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=g,t.done=!0,t};return r.next=r}}return{next:f}}function f(){return{value:g,done:!0}}var g,w=Object.prototype,v=w.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},b=y.iterator||"@@iterator",S=y.asyncIterator||"@@asyncIterator",E=y.toStringTag||"@@toStringTag",_="object"==typeof e,C=t.regeneratorRuntime;if(C)return void(_&&(e.exports=C));C=t.regeneratorRuntime=_?e.exports:{},C.wrap=n;var x="suspendedStart",k="suspendedYield",O="executing",T="completed",N={},F={};F[b]=function(){return this};var M=Object.getPrototypeOf,j=M&&M(M(m([])));j&&j!==w&&v.call(j,b)&&(F=j);var P=a.prototype=i.prototype=Object.create(F);o.prototype=P.constructor=a,a.constructor=o,a[E]=o.displayName="GeneratorFunction",C.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===o||"GeneratorFunction"===(t.displayName||t.name))},C.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,E in e||(e[E]="GeneratorFunction")),e.prototype=Object.create(P),e},C.awrap=function(e){return{__await:e}},s(l.prototype),l.prototype[S]=function(){return this},C.AsyncIterator=l,C.async=function(e,t,r,i){var o=new l(n(e,t,r,i));return C.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},s(P),P[E]="Generator",P[b]=function(){return this},P.toString=function(){return"[object Generator]"},C.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},C.values=m,h.prototype={constructor:h,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(p),!e)for(var t in this)"t"===t.charAt(0)&&v.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=g)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return o.type="throw",o.arg=e,n.next=t,r&&(n.method="next",n.arg=g),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=v.call(i,"catchLoc"),s=v.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&v.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,N):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),N},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),p(n),N}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;p(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:m(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=g),N}}}(function(){return this}()||Function("return this")())},function(e,t,n){"use strict";var r={};r.inlinepop=wp.element.createElement("svg",{width:"20",height:"16",viewBox:"0 0 20 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0H20V2H0V0ZM20 14V16H0V14H20ZM2 4C0.895431 4 0 4.89543 0 6V10C0 11.1046 0.895431 12 2 12H6C7.10457 12 8 11.1046 8 10V6C8 4.89543 7.10457 4 6 4H2ZM10 5H20V7H10V5ZM18 9H10V11H18V9Z",fill:"#555D66"})),r.alpha=wp.element.createElement("svg",{width:"70",height:"38",viewBox:"0 0 70 38",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"37.8947",rx:"3",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"5.72728",y:"19.8947",width:"58.5455",height:"8.52632",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{x:"5.72728",y:"7.57892",width:"17.1818",height:"8.52632",rx:"3",fill:"#8453F7"})),r.beta=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"31",y:"21",width:"32",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{x:"31",y:"10",width:"18",height:"9",rx:"3",fill:"#8453F7"}),wp.element.createElement("rect",{x:"7",y:"10",width:"20",height:"20",rx:"3",fill:"#8453F7"}),wp.element.createElement("rect",{x:"1.5",y:"1.5",width:"67",height:"37",rx:"1.5",stroke:"#F0EAFE",strokeWidth:"3"})),r.charlie=wp.element.createElement("svg",{width:"70",height:"28",viewBox:"0 0 70 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"16",y:"19",width:"54",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{y:"11",width:"70",height:"3",rx:"1.5",fill:"#D1BFFC"}),wp.element.createElement("rect",{width:"26",height:"7",rx:"3",fill:"#8453F7"}),wp.element.createElement("circle",{cx:"4.5",cy:"23.5",r:"4.5",fill:"#6528F5"})),r.delta=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"8",y:"21",width:"54",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{x:"22",y:"9",width:"18",height:"9",rx:"3",fill:"#8453F7"}),wp.element.createElement("path",{d:"M12.0303 9.5625C12.4613 8.8125 13.5387 8.8125 13.9697 9.5625L17.8483 16.3125C18.2793 17.0625 17.7406 18 16.8787 18H9.12134C8.25942 18 7.72072 17.0625 8.15168 16.3125L12.0303 9.5625Z",fill:"#8453F7"}),wp.element.createElement("rect",{x:"1.5",y:"1.5",width:"67",height:"37",rx:"1.5",stroke:"#F0EAFE",strokeWidth:"3"})),r.echo=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"24.8182",y:"16",width:"39.4545",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{x:"5.72728",y:"16",width:"15.2727",height:"9",rx:"3",fill:"#8453F7"})),r.foxtrot=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"26",y:"22",width:"44",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{x:"26",y:"9",width:"28",height:"9",rx:"3",fill:"#8453F7"}),wp.element.createElement("rect",{y:"9",width:"22",height:"22",rx:"3",fill:"#8453F7"})),r.golf=wp.element.createElement("svg",{width:"70",height:"29",viewBox:"0 0 70 29",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{y:"11",width:"70",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{y:"26",width:"70",height:"3",rx:"1.5",fill:"#D1BFFC"}),wp.element.createElement("rect",{width:"21",height:"7",rx:"3",fill:"#8453F7"}),wp.element.createElement("rect",{x:"25",y:"1",width:"45",height:"3",rx:"1.5",fill:"#D1BFFC"})),r.hotel=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"22",y:"16",width:"40",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("path",{d:"M12.0303 16.5625C12.4613 15.8125 13.5387 15.8125 13.9697 16.5625L17.8483 23.3125C18.2793 24.0625 17.7406 25 16.8787 25H9.12134C8.25942 25 7.72072 24.0625 8.15168 23.3125L12.0303 16.5625Z",fill:"#8453F7"})),r.india=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("g",{clipPath:"url(#clip0)"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"26",y:"16",width:"36",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{x:"8",y:"16",width:"14",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{y:"41",width:"41",height:"4",transform:"rotate(-90 0 41)",fill:"#8453F7"})),wp.element.createElement("defs",null,wp.element.createElement("clipPath",{id:"clip0"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"white"})))),r.juliett=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"30",y:"20",width:"32",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("path",{d:"M50 14C50 12.3431 51.3431 11 53 11H60C61.1046 11 62 11.8954 62 13V15C62 16.6569 60.6569 18 59 18H53C51.3431 18 50 16.6569 50 15V14Z",fill:"#8453F7"}),wp.element.createElement("rect",{x:"30",y:"11",width:"32",height:"4",rx:"2",fill:"#8453F7"}),wp.element.createElement("rect",{x:"8",y:"11",width:"18",height:"18",rx:"3",fill:"#8453F7"})),r.kilo=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{y:"22",width:"70",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{y:"9",width:"26",height:"9",rx:"3",fill:"#8453F7"}),wp.element.createElement("rect",{width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"12.7273",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"25.4545",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"38.1818",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"50.9091",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"63.6364",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{y:"37",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"12.7273",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"25.4545",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"38.1818",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"50.9091",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"63.6364",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"})),r.lima=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"6",y:"22",width:"32",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{x:"6",y:"8",width:"20",height:"9",rx:"3",fill:"#8453F7"}),wp.element.createElement("rect",{x:"42",y:"9",width:"22",height:"22",rx:"3",fill:"#8453F7"})),r.mike=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"35",y:"15",width:"27",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.8438 28H10.1562C9.55729 28 9.04818 27.7934 8.62891 27.3802C8.20964 26.967 8 26.4653 8 25.875V22.3C8 21.0297 9.02974 20 10.3 20H21.7C22.9703 20 24 18.9703 24 17.7V13.3C24 12.0297 25.0297 11 26.3 11H28.8438C29.4427 11 29.9518 11.2066 30.3711 11.6198C30.7904 12.033 31 12.5347 31 13.125V25.875C31 26.4653 30.7904 26.967 30.3711 27.3802C29.9518 27.7934 29.4427 28 28.8438 28ZM10.3 11C9.02974 11 8 12.0297 8 13.3V15.7C8 16.9703 9.02974 18 10.3 18H19.7C20.9703 18 22 16.9703 22 15.7V13.3C22 12.0297 20.9703 11 19.7 11H10.3Z",fill:"#8453F7"})),r.november=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"29",y:"22",width:"33",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{x:"29",y:"9",width:"18",height:"9",rx:"3",fill:"#8453F7"}),wp.element.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 28C21.4183 28 25 24.4183 25 20C25 15.5817 21.4183 12 17 12C12.5817 12 9 15.5817 9 20C9 24.4183 12.5817 28 17 28ZM20.544 21.8756L17.5907 16.7081C17.3281 16.2488 16.6719 16.2488 16.4093 16.7081L13.456 21.8756C13.1935 22.3349 13.5217 22.9091 14.0467 22.9091H19.9533C20.4783 22.9091 20.8065 22.3349 20.544 21.8756Z",fill:"#8453F7"}),wp.element.createElement("rect",{x:"1.5",y:"1.5",width:"67",height:"37",rx:"1.5",stroke:"#F0EAFE",strokeWidth:"3"})),r.themeIcon=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#EB5757";return wp.element.createElement("svg",{width:"14",height:"19",viewBox:"0 0 14 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M7.875 0.899463C7.875 1.59183 8.0816 2.24711 8.49479 2.8653C8.93229 3.48349 9.44271 4.06458 10.026 4.60859C10.6337 5.15259 11.2292 5.73369 11.8125 6.35188C12.4201 6.97007 12.9306 7.76135 13.3438 8.72572C13.7812 9.66537 14 10.7163 14 11.8785C14 13.832 13.3073 15.5011 11.9219 16.8858C10.5608 18.2953 8.92014 19 7 19C5.07986 19 3.42708 18.2953 2.04167 16.8858C0.680556 15.5011 0 13.832 0 11.8785C0 9.94973 0.668403 8.28062 2.00521 6.87116C2.27257 6.57443 2.58854 6.50024 2.95312 6.64861C3.31771 6.79697 3.5 7.08134 3.5 7.50171V10.6545C3.5 11.3221 3.71875 11.8908 4.15625 12.3607C4.61806 12.8305 5.16493 13.0654 5.79688 13.0654C6.45312 13.0654 7.01215 12.8428 7.47396 12.3978C7.93576 11.9279 8.16667 11.3592 8.16667 10.6916C8.16667 10.2712 8.04514 9.86318 7.80208 9.46754C7.58333 9.0719 7.31597 8.71336 7 8.3919C6.68403 8.07044 6.34375 7.73662 5.97917 7.39043C5.63889 7.04425 5.34722 6.66097 5.10417 6.2406C4.88542 5.82024 4.73958 5.35041 4.66667 4.83114C4.59375 4.31186 4.67882 3.68131 4.92188 2.93948C5.18924 2.17293 5.63889 1.33219 6.27083 0.417277C6.51389 0.0463641 6.84201 -0.0772735 7.25521 0.0463641C7.6684 0.170002 7.875 0.454368 7.875 0.899463Z",fill:e}))},t.a=r},function(e,t,n){"use strict";var r={};r.canaccess=function(e){return"lite"===e},t.a=r},function(e,t,n){"use strict";var r={};r.checkmark=wp.element.createElement("svg",{width:"24",height:"20",viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M21.0565 2.94355C23.0188 4.87903 24 7.23118 24 10C24 12.7688 23.0188 15.1344 21.0565 17.0968C19.121 19.0323 16.7688 20 14 20C11.2312 20 8.86559 19.0323 6.90323 17.0968C4.96774 15.1344 4 12.7688 4 10C4 7.23118 4.96774 4.87903 6.90323 2.94355C8.86559 0.981183 11.2312 0 14 0C16.7688 0 19.121 0.981183 21.0565 2.94355ZM12.8306 15.2823L20.25 7.8629C20.5726 7.5672 20.5726 7.27151 20.25 6.97581L19.3629 6.04839C19.0403 5.75269 18.7312 5.75269 18.4355 6.04839L12.3871 12.0968L9.56452 9.27419C9.26882 8.97849 8.95968 8.97849 8.6371 9.27419L7.75 10.2016C7.42742 10.4973 7.42742 10.793 7.75 11.0887L11.9435 15.2823C12.2392 15.6048 12.5349 15.6048 12.8306 15.2823Z",fill:"#6528f5"})),r.chevronright=wp.element.createElement("svg",{width:"5",height:"8",viewBox:"0 0 5 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M4.84913 3.68807L1.19048 0.12844C1.10247 0.0428134 0.995599 -4.3519e-08 0.869873 -3.80233e-08C0.744146 -3.25276e-08 0.637278 0.0428134 0.549269 0.12844L0.134371 0.53211C0.0463618 0.617737 0.00235741 0.721713 0.00235742 0.844037C-0.0102153 0.966361 0.0275028 1.07034 0.115512 1.15596L3.03866 4L0.115512 6.84404C0.0275031 6.92966 -0.010215 7.03364 0.00235769 7.15596C0.0023577 7.27829 0.0463621 7.38226 0.134371 7.46789L0.549269 7.87156C0.637278 7.95719 0.744146 8 0.869873 8C0.9956 8 1.10247 7.95719 1.19048 7.87156L4.84913 4.31193C4.94971 4.2263 5 4.12232 5 4C5 3.87768 4.94971 3.7737 4.84913 3.68807Z",fill:"#C4C4C4"})),r.chevronleft=wp.element.createElement("svg",{width:"5",height:"8",viewBox:"0 0 5 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M0.150873 3.68807L3.80952 0.12844C3.89753 0.0428134 4.0044 -4.3519e-08 4.13013 -3.80233e-08C4.25585 -3.25276e-08 4.36272 0.0428134 4.45073 0.12844L4.86563 0.53211C4.95364 0.617737 4.99764 0.721713 4.99764 0.844037C5.01022 0.966361 4.9725 1.07034 4.88449 1.15596L1.96134 4L4.88449 6.84404C4.9725 6.92966 5.01021 7.03364 4.99764 7.15596C4.99764 7.27829 4.95364 7.38226 4.86563 7.46789L4.45073 7.87156C4.36272 7.95719 4.25585 8 4.13013 8C4.0044 8 3.89753 7.95719 3.80952 7.87156L0.150873 4.31193C0.0502914 4.2263 2.96645e-07 4.12232 3.01992e-07 4C3.07339e-07 3.87768 0.0502914 3.7737 0.150873 3.68807Z",fill:"#C4C4C4"})),t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function f(e,t){if(null==e)return{};var n,r,i=m(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function v(e){var t=h();return function(){var n,r=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return w(this,n)}}function y(e){return b(e)||S(e)||E(e)||C()}function b(e){if(Array.isArray(e))return _(e)}function S(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function E(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function C(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function x(e,t){return t={exports:{}},e(t,t.exports),t.exports}function k(){}function O(){}function T(e){return e.map(function(e){return!1===e?null:e}).join(" ").replace(/\s+/g," ").trim()}function N(e,t){return 100/e*t/t}function F(e,t){return 100*e/t}function M(e){return"".concat(e,"%")}function j(e,t,n){if(e===t)return!0;var r=ie[re(e)],i=ie[re(t)];return!(!r||r!==i)&&r(e,t,n)}function P(e){return function(t,n,r){if(!r)return e(t,n,[]);for(var i,o=r.length;i=r[--o];)if(i[0]===t&&i[1]===n)return!0;return e(t,n,r)}}function D(e,t,n){var r=e.length;if(r!==t.length)return!1;for(n.push([e,t]);r--;)if(!j(e[r],t[r],n))return!1;return!0}function A(e,t,n){if("function"==typeof e.equal)return n.push([e,t]),e.equal(t,n);var r=L(e),i=L(t),o=r.length;if(o!==i.length)return!1;for(r.sort(),i.sort();o--;)if(r[o]!==i[o])return!1;for(n.push([e,t]),o=r.length;o--;){var a=r[o];if(!j(e[a],t[a],n))return!1}return!0}function L(e){var t=[];for(var n in e)"constructor"!==n&&t.push(n);return t}function B(e){return!!e&&"object"==typeof e}function z(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||R(e)}function R(e){return e.$$typeof===le}function H(e){return Array.isArray(e)?[]:{}}function I(e,t){return!1!==t.clone&&t.isMergeableObject(e)?W(H(e),e,t):e}function q(e,t,n){return e.concat(t).map(function(e){return I(e,n)})}function V(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){r[t]=I(e[t],n)}),Object.keys(t).forEach(function(i){n.isMergeableObject(t[i])&&e[i]?r[i]=W(e[i],t[i],n):r[i]=I(t[i],n)}),r}function W(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||q,n.isMergeableObject=n.isMergeableObject||ae;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):V(e,t,n):I(t,n)}function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return{}},n=function(n){function r(e,n){var s;return o(this,r),s=a.call(this,e,n),s.state=t(i({},n.state)),s.updateStateProps=s.updateStateProps.bind(g(s)),s}u(r,n);var a=v(r);return s(r,[{key:"componentDidMount",value:function(){this.context.subscribe(this.updateStateProps)}},{key:"shouldComponentUpdate",value:function(e,t){return!oe(t,this.state)||!oe(e,this.props)}},{key:"componentWillUnmount",value:function(){this.context.unsubscribe(this.updateStateProps)}},{key:"updateStateProps",value:function(){this.setState(t(i({},this.context.state)))}},{key:"render",value:function(){var t=this,n=de(this.state,this.props);return Y.a.createElement(e,c({ref:function(e){t.instance=e}},n,{carouselStore:{getStoreState:this.context.getStoreState,masterSpinnerError:this.context.masterSpinnerError,masterSpinnerSuccess:this.context.masterSpinnerSuccess,setStoreState:this.context.setStoreState,subscribeMasterSpinner:this.context.subscribeMasterSpinner,unsubscribeAllMasterSpinner:this.context.unsubscribeAllMasterSpinner,unsubscribeMasterSpinner:this.context.unsubscribeMasterSpinner}}),this.props.children)}}]),r}(Y.a.Component);return l(n,"contextType",pe),l(n,"propTypes",{children:J.children}),l(n,"defaultProps",{children:null}),n}n.d(t,"a",function(){return Fe}),n.d(t,"b",function(){return Be}),n.d(t,"c",function(){return we}),n.d(t,"d",function(){return Je}),n.d(t,"e",function(){return St}),n.d(t,"f",function(){return Tt});var U=n(80),Y=n.n(U),X="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";O.resetWarningCache=k;var G=function(){function e(e,t,n,r,i,o){if(o!==X){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:O,resetWarningCache:k};return n.PropTypes=n,n},K=x(function(e){e.exports=G()}),$="loading",J={children:K.oneOfType([K.arrayOf(K.node),K.node]),direction:K.oneOf(["forward","backward"]),height:function(e,t){var n=e[t];return"vertical"!==e.orientation||null!==n&&"number"==typeof n?null:new Error("Missing required property '".concat(t,"' when orientation is vertical. You must supply a number representing the height in pixels"))},orientation:K.oneOf(["horizontal","vertical"]),isBgImage:function(e,t){return!0===e[t]&&"img"===e.tag?new Error("HTML img elements should not have a backgroundImage. Please use ".concat(t," for other block-level HTML tags, like div, a, section, etc...")):null}},Q=function(e){var t=e.min,n=e.max,r=e.x;return Math.min(n,Math.max(t,r))},ee={buttonBack:"buttonBack___1mlaL"},te=["carouselStore","className","currentSlide","disabled","onClick","step","totalSlides","visibleSlides","infinite"],ne=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnClick=r.handleOnClick.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.currentSlide,i=t.onClick,o=t.step,a=t.infinite,s=t.visibleSlides,l=t.totalSlides-s,c=Math.max(r-o,0);a&&(c=0===r?l:c),n.setStoreState({currentSlide:c,isPlaying:!1},null!==i&&i.call(this,e))}},{key:"render",value:function(){var e=this.props,n=(e.carouselStore,e.className),r=(e.currentSlide,e.disabled,e.onClick,e.step,e.totalSlides,e.visibleSlides,e.infinite),i=f(e,te),o=T([ee.buttonBack,"carousel__back-button",n]),a=t.setDisabled(this.props.disabled,this.props.currentSlide,r);return Y.a.createElement("button",c({type:"button","aria-label":"previous",className:o,onClick:this.handleOnClick,disabled:a},i),this.props.children)}}],[{key:"setDisabled",value:function(e,t,n){return null!==e?e:0===t&&!n}}]),t}(Y.a.Component);l(ne,"propTypes",{carouselStore:K.object.isRequired,children:J.children.isRequired,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,step:K.number.isRequired,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired,infinite:K.bool}),l(ne,"defaultProps",{className:null,disabled:null,onClick:null,infinite:!1});var re=x(function(e,t){var n={}.toString,r="undefined"!=typeof window?window.Node:Function;e.exports=t=function(e){var t=typeof e;if("object"!=t)return t;if("object"==(t=i[n.call(e)]))return e instanceof Map?"map":e instanceof Set?"set":"object";if(t)return t;if(e instanceof r)switch(e.nodeType){case 1:return"element";case 3:return"text-node";case 9:return"document";case 11:return"document-fragment";default:return"dom-node"}};var i=t.types={"[object Function]":"function","[object Date]":"date","[object RegExp]":"regexp","[object Arguments]":"arguments","[object Array]":"array","[object Set]":"set","[object String]":"string","[object Null]":"null","[object Undefined]":"undefined","[object Number]":"number","[object Boolean]":"boolean","[object Object]":"object","[object Map]":"map","[object Text]":"text-node","[object Uint8Array]":"bit-array","[object Uint16Array]":"bit-array","[object Uint32Array]":"bit-array","[object Uint8ClampedArray]":"bit-array","[object Error]":"error","[object FormData]":"form-data","[object File]":"file","[object Blob]":"blob"}}),ie=(re.types,{});ie.number=function(e,t){return e!==e&&t!==t},ie.function=function(e,t,n){return e.toString()===t.toString()&&ie.object(e,t,n)&&j(e.prototype,t.prototype)},ie.date=function(e,t){return+e==+t},ie.regexp=function(e,t){return e.toString()===t.toString()},ie.element=function(e,t){return e.outerHTML===t.outerHTML},ie.textnode=function(e,t){return e.textContent===t.textContent},ie.arguments=ie["bit-array"]=ie.array=P(D),ie.object=P(A);var oe=j,ae=function(e){return B(e)&&!z(e)},se="function"==typeof Symbol&&Symbol.for,le=se?Symbol.for("react.element"):60103;W.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return W(e,n,t)},{})};var ce,ue,de=W,pe=Y.a.createContext(),he=function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach(function(n){!t.hasOwnProperty(n)||null===t[n]||"object"!=typeof t[n]&&"function"!=typeof t[n]||Object.isFrozen(t[n])||e(t[n])}),t},me={masterSpinnerFinished:!1},fe=function(){function e(t){o(this,e),this.state=he(de(me,t)),this.subscriptions=[],this.masterSpinnerSubscriptions={},this.setStoreState=this.setStoreState.bind(this),this.getStoreState=this.getStoreState.bind(this),this.subscribe=this.subscribe.bind(this),this.unsubscribe=this.unsubscribe.bind(this),this.updateSubscribers=this.updateSubscribers.bind(this),this.subscribeMasterSpinner=this.subscribeMasterSpinner.bind(this),this.unsubscribeMasterSpinner=this.unsubscribeMasterSpinner.bind(this),this.unsubscribeAllMasterSpinner=this.unsubscribeAllMasterSpinner.bind(this),this.masterSpinnerSuccess=this.masterSpinnerSuccess.bind(this),this.masterSpinnerError=this.masterSpinnerError.bind(this)}return s(e,[{key:"setStoreState",value:function(e,t){this.state=he(de(this.state,e)),this.updateSubscribers(t)}},{key:"getStoreState",value:function(){return de({},this.state)}},{key:"subscribe",value:function(e){this.subscriptions.push(e)}},{key:"unsubscribe",value:function(e){var t=this.subscriptions.indexOf(e);-1!==t&&this.subscriptions.splice(t,1)}},{key:"updateSubscribers",value:function(e){this.subscriptions.forEach(function(e){return e()}),"function"==typeof e&&e(this.getStoreState())}},{key:"subscribeMasterSpinner",value:function(e){-1===Object.keys(this.masterSpinnerSubscriptions).indexOf(e)&&(this.masterSpinnerSubscriptions[e]={success:!1,error:!1,complete:!1})}},{key:"unsubscribeMasterSpinner",value:function(e){return-1!==Object.keys(this.masterSpinnerSubscriptions).indexOf(e)&&(this.setMasterSpinnerFinished(),delete this.masterSpinnerSubscriptions[e])}},{key:"unsubscribeAllMasterSpinner",value:function(){this.masterSpinnerSubscriptions={},this.setMasterSpinnerFinished()}},{key:"masterSpinnerSuccess",value:function(e){this.masterSpinnerSubscriptions[e].success=!0,this.masterSpinnerSubscriptions[e].complete=!0,this.setMasterSpinnerFinished()}},{key:"masterSpinnerError",value:function(e){this.masterSpinnerSubscriptions[e].error=!0,this.masterSpinnerSubscriptions[e].complete=!0,this.setMasterSpinnerFinished()}},{key:"setMasterSpinnerFinished",value:function(){this.setStoreState({masterSpinnerFinished:this.isMasterSpinnerFinished()})}},{key:"isMasterSpinnerFinished",value:function(){var e=this;return 0===Object.keys(this.masterSpinnerSubscriptions).filter(function(t){return!0!==e.masterSpinnerSubscriptions[t].complete}).length}}]),e}(),ge=["children","className","currentSlide","disableAnimation","disableKeyboard","hasMasterSpinner","interval","isPageScrollLocked","isPlaying","lockOnWindowScroll","naturalSlideHeight","naturalSlideWidth","orientation","playDirection","step","dragStep","tag","totalSlides","touchEnabled","dragEnabled","visibleSlides","infinite","isIntrinsicHeight"],we=(ue=ce=function(e){function t(e){var r;if(o(this,t),r=n.call(this,e),e.isIntrinsicHeight&&"horizontal"!==e.orientation)throw Error('isIntrinsicHeight can only be used in "horizontal" orientation. See Readme for more information.');var i={currentSlide:e.currentSlide,disableAnimation:e.disableAnimation,disableKeyboard:e.disableKeyboard,hasMasterSpinner:e.hasMasterSpinner,imageErrorCount:0,imageSuccessCount:0,interval:e.interval,isPageScrollLocked:e.isPageScrollLocked,isPlaying:e.isPlaying,lockOnWindowScroll:e.lockOnWindowScroll,masterSpinnerThreshold:0,naturalSlideHeight:e.naturalSlideHeight,naturalSlideWidth:e.naturalSlideWidth,orientation:e.orientation,playDirection:e.playDirection,privateUnDisableAnimation:!1,slideSize:N(e.totalSlides,e.visibleSlides),slideTraySize:F(e.totalSlides,e.visibleSlides),step:e.step,dragStep:e.dragStep,totalSlides:e.totalSlides,touchEnabled:e.touchEnabled,dragEnabled:e.dragEnabled,visibleSlides:e.visibleSlides,infinite:e.infinite,isIntrinsicHeight:e.isIntrinsicHeight};return r.carouselStore=new fe(i),r}u(t,e);var n=v(t);return s(t,[{key:"componentDidUpdate",value:function(e){var t=this,n={};["currentSlide","disableAnimation","disableKeyboard","hasMasterSpinner","interval","isPlaying","naturalSlideHeight","naturalSlideWidth","lockOnWindowScroll","orientation","playDirection","step","dragStep","totalSlides","touchEnabled","dragEnabled","visibleSlides"].forEach(function(r){e[r]!==t.props[r]&&(n[r]=t.props[r])}),this.props.currentSlide!==e.currentSlide&&!this.props.disableAnimation&&(n.disableAnimation=!0,n.privateUnDisableAnimation=!0),this.props.totalSlides===e.totalSlides&&this.props.visibleSlides===e.visibleSlides||(n.slideSize=N(this.props.totalSlides,this.props.visibleSlides),n.slideTraySize=F(this.props.totalSlides,this.props.visibleSlides)),this.carouselStore.state.currentSlide>=this.props.totalSlides&&(n.currentSlide=Math.max(this.props.totalSlides-1,0)),Object.keys(n).length>0&&this.carouselStore.setStoreState(n)}},{key:"componentWillUnmount",value:function(){this.carouselStore.unsubscribeAllMasterSpinner()}},{key:"getStore",value:function(){return this.carouselStore}},{key:"render",value:function(){var e=this.props,t=(e.children,e.className,e.currentSlide,e.disableAnimation,e.disableKeyboard,e.hasMasterSpinner,e.interval,e.isPageScrollLocked,e.isPlaying,e.lockOnWindowScroll,e.naturalSlideHeight,e.naturalSlideWidth,e.orientation,e.playDirection,e.step,e.dragStep,e.tag),n=(e.totalSlides,e.touchEnabled,e.dragEnabled,e.visibleSlides,e.infinite,e.isIntrinsicHeight,f(e,ge)),r=T(["carousel",this.props.className]);return Y.a.createElement(t,c({className:r},n),Y.a.createElement(pe.Provider,{value:this.carouselStore},this.props.children))}}]),t}(Y.a.Component),l(ce,"propTypes",{children:J.children.isRequired,className:K.string,currentSlide:K.number,disableAnimation:K.bool,disableKeyboard:K.bool,hasMasterSpinner:K.bool,interval:K.number,isPageScrollLocked:K.bool,isPlaying:K.bool,lockOnWindowScroll:K.bool,naturalSlideHeight:K.number.isRequired,naturalSlideWidth:K.number.isRequired,orientation:J.orientation,playDirection:J.direction,step:K.number,dragStep:K.number,tag:K.string,totalSlides:K.number.isRequired,touchEnabled:K.bool,dragEnabled:K.bool,visibleSlides:K.number,infinite:K.bool,isIntrinsicHeight:K.bool}),l(ce,"defaultProps",{className:null,currentSlide:0,disableAnimation:!1,disableKeyboard:!1,hasMasterSpinner:!1,interval:5e3,isPageScrollLocked:!1,isPlaying:!1,lockOnWindowScroll:!1,orientation:"horizontal",playDirection:"forward",step:1,dragStep:1,tag:"div",touchEnabled:!0,dragEnabled:!0,visibleSlides:1,infinite:!1,isIntrinsicHeight:!1}),ue);pe.Consumer;var ve,ye,be,Se,Ee,_e,Ce,xe,ke,Oe,Te,Ne,Fe=Z(ne,function(e){return{currentSlide:e.currentSlide,step:e.step,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides,infinite:e.infinite}}),Me={buttonFirst:"buttonFirst___2rhFr"},je=["carouselStore","className","currentSlide","disabled","onClick","totalSlides"],Pe=(ye=ve=function(e){function t(){var e;return o(this,t),e=n.call(this),e.handleOnClick=e.handleOnClick.bind(g(e)),e}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick;n.setStoreState({currentSlide:0,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.className),n=e.currentSlide,r=e.disabled,i=(e.onClick,e.totalSlides,f(e,je)),o=T([Me.buttonFirst,"carousel__first-button",t]),a=null!==r?r:0===n;return Y.a.createElement("button",c({type:"button","aria-label":"first",className:o,onClick:this.handleOnClick,disabled:a},i),this.props.children)}}]),t}(Y.a.Component),l(ve,"propTypes",{carouselStore:K.object.isRequired,children:J.children.isRequired,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,totalSlides:K.number.isRequired}),l(ve,"defaultProps",{className:null,disabled:null,onClick:null}),ye),De=(Z(Pe,function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides}}),{buttonNext:"buttonNext___2mOCa"}),Ae=["carouselStore","className","currentSlide","disabled","onClick","step","totalSlides","visibleSlides","infinite"],Le=(Se=be=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnClick=r.handleOnClick.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.currentSlide,r=t.onClick,i=t.step,o=t.carouselStore,a=t.infinite,s=t.totalSlides-t.visibleSlides,l=i+n,c=Math.min(l,s);a&&(c=s===n?0:c),o.setStoreState({currentSlide:c,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,n=(e.carouselStore,e.className),r=e.currentSlide,i=e.disabled,o=(e.onClick,e.step,e.totalSlides),a=e.visibleSlides,s=e.infinite,l=f(e,Ae),u=T([De.buttonNext,"carousel__next-button",n]),d=t.setDisabled(i,r,a,o,s);return Y.a.createElement("button",c({type:"button","aria-label":"next",className:u,onClick:this.handleOnClick,disabled:d},l),this.props.children)}}],[{key:"setDisabled",value:function(e,t,n,r,i){return null!==e?e:t>=r-n&&!i}}]),t}(Y.a.PureComponent),l(be,"propTypes",{carouselStore:K.object.isRequired,children:J.children.isRequired,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,step:K.number.isRequired,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired,infinite:K.bool}),l(be,"defaultProps",{className:null,disabled:null,onClick:null,infinite:!1}),Se),Be=Z(Le,function(e){return{currentSlide:e.currentSlide,step:e.step,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides,infinite:e.infinite}}),ze={buttonLast:"buttonLast___2yuh0"},Re=["carouselStore","className","currentSlide","disabled","onClick","totalSlides","visibleSlides"],He=(_e=Ee=function(e){function t(){var e;return o(this,t),e=n.call(this),e.handleOnClick=e.handleOnClick.bind(g(e)),e}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick,i=t.totalSlides,o=t.visibleSlides;n.setStoreState({currentSlide:i-o,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.className),n=e.currentSlide,r=e.disabled,i=(e.onClick,e.totalSlides),o=e.visibleSlides,a=f(e,Re),s=T([ze.buttonLast,"carousel__last-button",t]),l=null!==r?r:n>=i-o;return Y.a.createElement("button",c({type:"button","aria-label":"last",className:s,onClick:this.handleOnClick,disabled:l},a),this.props.children)}}]),t}(Y.a.Component),l(Ee,"propTypes",{carouselStore:K.object.isRequired,children:J.children.isRequired,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired}),l(Ee,"defaultProps",{className:null,disabled:null,onClick:null}),_e),Ie=(Z(He,function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides}}),{buttonNext:"buttonNext___3Lm3s"}),qe=["carouselStore","children","childrenPaused","childrenPlaying","className","isPlaying","onClick"],Ve=(xe=Ce=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnClick=r.handleOnClick.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props.onClick;this.props.carouselStore.setStoreState({isPlaying:!this.props.isPlaying},null!==t&&t.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.childrenPaused),n=e.childrenPlaying,r=e.className,i=e.isPlaying,o=(e.onClick,f(e,qe)),a=T([Ie.buttonNext,"carousel__play-button",r]);return Y.a.createElement("button",c({type:"button","aria-label":"play",className:a,onClick:this.handleOnClick},o),i&&n,!i&&t,this.props.children)}}]),t}(Y.a.PureComponent),l(Ce,"propTypes",{carouselStore:K.object.isRequired,children:K.node,childrenPaused:K.node,childrenPlaying:K.node,className:K.string,isPlaying:K.bool.isRequired,onClick:K.func}),l(Ce,"defaultProps",{children:null,childrenPaused:null,childrenPlaying:null,className:null,onClick:null}),xe),We=(Z(Ve,function(e){return{isPlaying:e.isPlaying}}),{dot:"dot___3c3SI"}),Ze=["carouselStore","children","className","currentSlide","disabled","onClick","selected","slide","totalSlides","visibleSlides"],Ue=(Oe=ke=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnClick=r.handleOnClick.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick,i=t.slide,o=t.totalSlides,a=t.visibleSlides,s=i>=o-a?o-a:i;n.setStoreState({currentSlide:s,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.className),n=e.currentSlide,r=e.disabled,i=(e.onClick,e.selected),o=e.slide,a=(e.totalSlides,e.visibleSlides),s=f(e,Ze),l=o>=n&&o<n+a,u="boolean"==typeof i?i:l,d=!0===l,p="boolean"==typeof r?r:d,h=T([We.dot,u&&We.dotSelected,"carousel__dot","carousel__dot--".concat(o),u&&"carousel__dot--selected",t]);return Y.a.createElement("button",c({"aria-label":"slide dot",type:"button",onClick:this.handleOnClick,className:h,disabled:p},s),this.props.children)}}]),t}(Y.a.Component),l(ke,"propTypes",{carouselStore:K.object.isRequired,children:J.children,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,selected:K.bool,slide:K.number.isRequired,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired}),l(ke,"defaultProps",{children:null,className:null,disabled:null,onClick:null,selected:null}),Oe),Ye=Z(Ue,function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides}}),Xe={},Ge=["renderDots"],Ke=["carouselStore","children","className","currentSlide","dotNumbers","totalSlides","visibleSlides","disableActiveDots","showAsSelectedForCurrentSlideOnly","renderDots"],$e=(Ne=Te=function(e){function t(){return o(this,t),n.apply(this,arguments)}u(t,e);var n=v(t);return s(t,[{key:"renderDots",value:function(){var e=this.props,t=e.currentSlide,n=e.totalSlides,r=e.visibleSlides,i=e.disableActiveDots,o=e.showAsSelectedForCurrentSlideOnly,a=e.renderDots;if(a){var s=this.props;return s.renderDots,a(f(s,Ge))}for(var l=[],c=0;c<n;c+=1){var u=c>=t&&c<t+r,d=c===t,p=o?d:u,h=c>=n-r?n-r:c;l.push(Y.a.createElement(Ye,{key:c,slide:h,selected:p,disabled:!!i&&p},Y.a.createElement("span",{className:T["carousel__dot-group-dot"]},this.props.dotNumbers&&c+1)))}return l}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children),n=e.className,r=(e.currentSlide,e.dotNumbers,e.totalSlides,e.visibleSlides,e.disableActiveDots,e.showAsSelectedForCurrentSlideOnly,e.renderDots,f(e,Ke)),i=T([Xe.DotGroup,"carousel__dot-group",n]);return Y.a.createElement("div",c({className:i},r),this.renderDots(),t)}}]),t}(Y.a.Component),l(Te,"propTypes",{children:J.children,className:K.string,currentSlide:K.number.isRequired,carouselStore:K.object.isRequired,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired,dotNumbers:K.bool,disableActiveDots:K.bool,showAsSelectedForCurrentSlideOnly:K.bool,renderDots:K.func}),l(Te,"defaultProps",{children:null,className:null,dotNumbers:!1,disableActiveDots:!0,showAsSelectedForCurrentSlideOnly:!1,renderDots:null}),Ne),Je=Z($e,function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides}}),Qe={image:"image___xtQGH"},et=["src","alt"],tt=["carouselStore","children","className","hasMasterSpinner","isBgImage","onError","onLoad","renderError","renderLoading","style","tag"],nt=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.state={imageStatus:$},r.handleImageLoad=r.handleImageLoad.bind(g(r)),r.handleImageError=r.handleImageError.bind(g(r)),r.image=null,r}u(t,e);var n=v(t);return s(t,[{key:"componentDidMount",value:function(){t.subscribeMasterSpinner(this.props),this.initImage()}},{key:"componentDidUpdate",value:function(e){e.src!==this.props.src&&(t.unsubscribeMasterSpinner(e),t.subscribeMasterSpinner(this.props),this.initImage())}},{key:"componentWillUnmount",value:function(){t.unsubscribeMasterSpinner(this.props),this.image.removeEventListener("load",this.handleImageLoad),this.image.removeEventListener("error",this.handleImageError),this.image=null}},{key:"initImage",value:function(){if(this.setState({imageStatus:$}),this.image=document.createElement("img"),this.image.addEventListener("load",this.handleImageLoad,!1),this.image.addEventListener("error",this.handleImageError,!1),this.image.src=this.props.src,this.image.readyState||this.image.complete){var e=this.image.src;this.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",this.image.src=e}}},{key:"handleImageLoad",value:function(e){this.setState({imageStatus:"success"}),this.props.hasMasterSpinner&&this.props.carouselStore.masterSpinnerSuccess(this.props.src),this.props.onLoad&&this.props.onLoad(e)}},{key:"handleImageError",value:function(e){this.setState({imageStatus:"error"}),this.props.hasMasterSpinner&&this.props.carouselStore.masterSpinnerError(this.props.src),this.props.onError&&this.props.onError(e)}},{key:"tempTag",value:function(){return"img"===this.props.tag?"div":this.props.tag}},{key:"customRender",value:function(e){return"function"==typeof this.props[e]?this.props[e]():this.props.children}},{key:"renderLoading",value:function(e){var t=this.tempTag(),n=T([Qe.image,Qe.imageLoading,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--loading",this.props.className]);return Y.a.createElement(t,c({className:n},e),this.customRender("renderLoading"))}},{key:"renderError",value:function(e){var t=this.tempTag(),n=T([Qe.image,Qe.imageError,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--error",this.props.className]);return Y.a.createElement(t,c({className:n},e),this.customRender("renderError"))}},{key:"renderSuccess",value:function(e){var t=this.props,n=t.style,r=t.tag,i=T([Qe.image,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--success",this.props.className]),o=c({},n),a=e;if("img"!==r){var s=e.src;e.alt,a=f(e,et),o=c({},n,{backgroundImage:'url("'.concat(s,'")'),backgroundSize:"cover"})}return Y.a.createElement(r,c({className:i,style:o},a),this.props.children)}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.className,e.hasMasterSpinner,e.isBgImage,e.onError,e.onLoad,e.renderError,e.renderLoading,e.style,e.tag,f(e,tt));switch(this.state.imageStatus){case $:return this.renderLoading(t);case"success":return this.renderSuccess(t);case"error":return this.renderError(t);default:throw new Error("unknown value for this.state.imageStatus")}}}],[{key:"subscribeMasterSpinner",value:function(e){e.hasMasterSpinner&&e.carouselStore.subscribeMasterSpinner(e.src)}},{key:"unsubscribeMasterSpinner",value:function(e){e.hasMasterSpinner&&e.carouselStore.unsubscribeMasterSpinner(e.src)}}]),t}(Y.a.Component);l(nt,"propTypes",{alt:K.string,carouselStore:K.object.isRequired,children:J.children,className:K.string,hasMasterSpinner:K.bool.isRequired,isBgImage:J.isBgImage,onError:K.func,onLoad:K.func,renderError:K.func,renderLoading:K.func,src:K.string.isRequired,style:K.object,tag:K.string}),l(nt,"defaultProps",{alt:"",children:null,className:null,isBgImage:!1,onError:null,onLoad:null,renderError:null,renderLoading:null,style:null,tag:"img"});var rt,it,ot,at,st,lt,ct,ut,dt=Z(nt,function(e){return{hasMasterSpinner:e.hasMasterSpinner,orientation:e.orientation}}),pt={spinner:"spinner___27VUp",spin:"spin___S3UuE"},ht=["className"],mt=(it=rt=function(e){function t(){return o(this,t),n.apply(this,arguments)}u(t,e);var n=v(t);return s(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=f(e,ht),r=T([pt.spinner,"carousel__spinner",t]);return Y.a.createElement("div",c({className:r},n))}}]),t}(Y.a.PureComponent),l(rt,"propTypes",{className:K.string}),l(rt,"defaultProps",{className:null}),it),ft={container:"container___2O72F",overlay:"overlay___IV4qY",hover:"hover___MYy31",zoom:"zoom___3kqYk",loading:"loading___1pvNI",imageLoadingSpinnerContainer:"imageLoadingSpinnerContainer___3UIPD"},gt=["alt","bgImageProps","bgImageTag","carouselStore","className","imageClassName","overlayClassName","isPinchZoomEnabled","spinner","src","srcZoomed","tag"],wt=(at=ot=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.state={isImageLoading:!0,isHovering:!1,isZooming:!1,x:null,y:null,scale:1},r.tpCache={},r.handleImageComplete=r.handleImageComplete.bind(g(r)),r.handleOnMouseMove=r.handleOnMouseMove.bind(g(r)),r.handleOnMouseOut=r.handleOnMouseOut.bind(g(r)),r.handleOnMouseOver=r.handleOnMouseOver.bind(g(r)),r.handleOnTouchEnd=r.handleOnTouchEnd.bind(g(r)),r.handleOnTouchMove=r.handleOnTouchMove.bind(g(r)),r.handleOnTouchStart=r.handleOnTouchStart.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"componentDidUpdate",value:function(e,t){!1===t.isZooming&&!0===this.state.isZooming&&this.props.carouselStore.setStoreState({isPageScrollLocked:!0}),!0===t.isZooming&&!1===this.state.isZooming&&this.props.carouselStore.setStoreState({isPageScrollLocked:!1})}},{key:"handleImageComplete",value:function(){this.setState({isImageLoading:!1})}},{key:"handleOnMouseOver",value:function(){this.state.isZooming||this.setState({isHovering:!0,scale:2})}},{key:"handleOnMouseOut",value:function(){this.state.isZooming||this.setState({isHovering:!1,scale:1})}},{key:"handleOnMouseMove",value:function(e){if(!this.state.isZooming){var t=M(e.nativeEvent.offsetX/e.target.offsetWidth*100),n=M(e.nativeEvent.offsetY/e.target.offsetHeight*100);this.setState({x:t,y:n})}}},{key:"handleOnTouchStart",value:function(e){var t=this;this.props.isPinchZoomEnabled&&(y(e.targetTouches).forEach(function(e){t.tpCache[e.identifier]={clientX:e.clientX,clientY:e.clientY}}),this.setState(function(e){return{isZooming:e.isZooming||Object.keys(t.tpCache).length>1}}))}},{key:"handleOnTouchMove",value:function(e){var n=this;if(this.state.isZooming){e.persist();var r=y(e.targetTouches).filter(function(e){return n.tpCache[e.identifier]}).slice(0,2);if(2===r.length){e.stopPropagation();var o=e.target.getBoundingClientRect(),a=r[0].identifier,s=r[1].identifier,l={x1:this.tpCache[a].clientX,y1:this.tpCache[a].clientY,x2:this.tpCache[s].clientX,y2:this.tpCache[s].clientY};l.distance=t.distanceBetweenTwoTouches(i({},l));var c=t.midpointBetweenTwoTouches(i({},l));l.cx=c.x,l.cy=c.y;var u={x1:r[0].clientX,y1:r[0].clientY,x2:r[1].clientX,y2:r[1].clientY};u.distance=t.distanceBetweenTwoTouches(i({},u));var d=t.midpointBetweenTwoTouches(i({},u));u.cx=d.x,u.cy=d.y;var p=M(Q({min:0,max:100,x:(u.cx-o.left)/o.width*100})),h=M(Q({min:0,max:100,x:(u.cy-o.top)/o.height*100})),m=function(e){return Q({min:1,max:3,x:e.scale+(u.distance-l.distance)/100})};this.setState(function(e){return{isZooming:1!==m(e),scale:m(e),x:p,y:h}})}}}},{key:"handleOnTouchEnd",value:function(e){var t=this;this.props.isPinchZoomEnabled&&(y(e.changedTouches).forEach(function(e){delete t.tpCache[e.identifier]}),0===Object.keys(this.tpCache).length&&this.setState({isZooming:!1}))}},{key:"renderLoading",value:function(){if(this.state.isImageLoading){var e=this.props.spinner;return Y.a.createElement("div",{className:T([ft.imageLoadingSpinnerContainer,"carousel__image-loading-spinner-container"])},e&&e(),!e&&Y.a.createElement(mt,null))}return null}},{key:"render",value:function(){var e=this.props,t=e.alt,n=e.bgImageProps,r=e.bgImageTag,i=(e.carouselStore,e.className),o=e.imageClassName,a=e.overlayClassName,s=(e.isPinchZoomEnabled,e.spinner,e.src),l=e.srcZoomed,u=e.tag,d=f(e,gt),p=T([ft.container,i]),h=T([ft.image,"carousel__zoom-image",o]),m=T([ft.overlay,"carousel__zoom-image-overlay",this.state.isHovering&&ft.hover,this.state.isZooming&&ft.zoom,this.state.isHovering&&"carousel__zoom-image-overlay--hovering",this.state.isZooming&&"carousel__zoom-image-overlay--zooming",a]),g={};return(this.state.isHovering||this.state.isZooming)&&(g.transformOrigin="".concat(this.state.x," ").concat(this.state.y),g.transform="scale(".concat(this.state.scale,")")),Y.a.createElement(u,c({className:p},d),Y.a.createElement(dt,c({alt:t,className:h,tag:r,src:s,onLoad:this.handleImageComplete,onError:this.handleImageComplete},n)),Y.a.createElement(dt,{className:m,tag:"div",src:l||s,style:g,isBgImage:!0,onFocus:this.handleOnMouseOver,onMouseOver:this.handleOnMouseOver,onBlur:this.handleOnMouseOut,onMouseOut:this.handleOnMouseOut,onMouseMove:this.handleOnMouseMove,onTouchStart:this.handleOnTouchStart,onTouchEnd:this.handleOnTouchEnd,onTouchMove:this.handleOnTouchMove}),this.renderLoading())}}],[{key:"midpointBetweenTwoTouches",value:function(e){var t=e.x1,n=e.y1;return{x:(t+e.x2)/2,y:(n+e.y2)/2}}},{key:"distanceBetweenTwoTouches",value:function(e){var t=e.x1,n=e.y1,r=e.x2,i=e.y2;return Math.sqrt(Math.pow(r-t,2)+Math.pow(i-n,2))}}]),t}(Y.a.Component),l(ot,"propTypes",{alt:K.string,bgImageProps:K.object,bgImageTag:K.string,carouselStore:K.object.isRequired,className:K.string,imageClassName:K.string,overlayClassName:K.string,spinner:K.func,src:K.string.isRequired,srcZoomed:K.string,tag:K.string,isPinchZoomEnabled:K.bool}),l(ot,"defaultProps",{alt:void 0,bgImageProps:{},bgImageTag:"div",className:null,imageClassName:null,overlayClassName:null,isPinchZoomEnabled:!0,spinner:null,srcZoomed:null,tag:"div"}),at),vt=(Z(wt,function(){return{}}),{slide:"slide___3-Nqo",slideHorizontal:"slideHorizontal___1NzNV",slideInner:"slideInner___2mfX9",focusRing:"focusRing___1airF"}),yt=["ariaLabel","carouselStore","children","className","classNameHidden","classNameVisible","currentSlide","index","innerClassName","innerTag","naturalSlideHeight","naturalSlideWidth","onBlur","onFocus","orientation","slideSize","style","tabIndex","tag","totalSlides","visibleSlides","isIntrinsicHeight"],bt=(lt=st=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnFocus=r.handleOnFocus.bind(g(r)),r.handleOnBlur=r.handleOnBlur.bind(g(r)),r.state={focused:!1},r}u(t,e);var n=v(t);return s(t,[{key:"isVisible",value:function(){var e=this.props,t=e.currentSlide,n=e.index,r=e.visibleSlides;return n>=t&&n<t+r}},{key:"handleOnFocus",value:function(e){var t=this,n=this.props.onFocus;this.setState({focused:!0},function(){null!==n&&n.call(t,e)})}},{key:"handleOnBlur",value:function(e){var t=this,n=this.props.onBlur;this.setState({focused:!1},function(){null!==n&&n.call(t,e)})}},{key:"renderFocusRing",value:function(){return this.state.focused?Y.a.createElement("div",{className:[vt.focusRing,"carousel__slide-focus-ring"].join(" ")}):null}},{key:"render",value:function(){var e=this,t=this.props,n=t.ariaLabel,r=(t.carouselStore,t.children,t.className),i=t.classNameHidden,o=t.classNameVisible,a=(t.currentSlide,t.index,t.innerClassName),s=t.innerTag,l=t.naturalSlideHeight,u=t.naturalSlideWidth,d=(t.onBlur,t.onFocus,t.orientation),p=t.slideSize,h=t.style,m=t.tabIndex,g=t.tag,w=t.totalSlides,v=(t.visibleSlides,t.isIntrinsicHeight),y=f(t,yt),b={};"horizontal"===d?(b.width=M(p),b.paddingBottom=M(100*l/(u*w))):(b.width=M(100),b.paddingBottom=M(100*l/u));var S={};v&&("horizontal"===d?b.height="unset":b.width="unset",b.paddingBottom="unset",S.position="unset");var E=c({},b,h),_=this.isVisible(),C=T([vt.slide,"horizontal"===d&&vt.slideHorizontal,"carousel__slide",this.state.focused&&"carousel__slide--focused",_&&o,_&&"carousel__slide--visible",!_&&i,!_&&"carousel__slide--hidden",r]),x=T([vt.slideInner,"carousel__inner-slide",a]),k=this.isVisible()?0:-1,O="number"==typeof m?m:k;return Y.a.createElement(g,c({ref:function(t){e.tagRef=t},tabIndex:O,"aria-selected":this.isVisible(),"aria-label":n,role:"option",onFocus:this.handleOnFocus,onBlur:this.handleOnBlur,className:C,style:E},y),Y.a.createElement(s,{ref:function(t){e.innerTagRef=t},className:x,style:S},this.props.children,this.renderFocusRing()))}}]),t}(Y.a.PureComponent),l(st,"propTypes",{ariaLabel:K.string,carouselStore:K.object,children:J.children,className:K.string,classNameHidden:K.string,classNameVisible:K.string,currentSlide:K.number.isRequired,index:K.number.isRequired,innerClassName:K.string,innerTag:K.string,naturalSlideHeight:K.number.isRequired,naturalSlideWidth:K.number.isRequired,onBlur:K.func,onFocus:K.func,orientation:J.orientation.isRequired,slideSize:K.number.isRequired,style:K.object,tabIndex:K.number,tag:K.string,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired,isIntrinsicHeight:K.bool}),l(st,"defaultProps",{ariaLabel:"slide",carouselStore:null,children:null,className:null,classNameHidden:null,classNameVisible:null,innerClassName:null,innerTag:"div",onBlur:null,onFocus:null,style:{},tabIndex:null,tag:"div",isIntrinsicHeight:!1}),lt),St=Z(bt,function(e){return{currentSlide:e.currentSlide,naturalSlideHeight:e.naturalSlideHeight,naturalSlideWidth:e.naturalSlideWidth,orientation:e.orientation,slideSize:e.slideSize,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides,isIntrinsicHeight:e.isIntrinsicHeight}}),Et=function(){function e(){o(this,e)}return s(e,[{key:"parents",value:function(e,t){return null===e.parentNode?t:this.parents(e.parentNode,t.concat([e]))}},{key:"scrollParent",value:function(t){for(var n=this.parents(t.parentNode,[]),r=0;r<n.length;r+=1)if(e.scroll(n[r]))return n[r];return document.scrollingElement||document.documentElement}},{key:"getScrollParent",value:function(t){return e.isNodeValid(t)?this.scrollParent(t):null}}],[{key:"style",value:function(e,t){return getComputedStyle(e,null).getPropertyValue(t)}},{key:"overflow",value:function(t){return e.style(t,"overflow")+e.style(t,"overflow-y")+e.style(t,"overflow-x")}},{key:"scroll",value:function(t){return/(auto|scroll)/.test(e.overflow(t))}},{key:"isNodeValid",value:function(e){return e instanceof HTMLElement||e instanceof SVGElement}}]),e}(),_t={horizontalSlider:"horizontalSlider___281Ls",horizontalSliderTray:"horizontalSliderTray___1L-0W",verticalSlider:"verticalSlider___34ZFD",verticalSliderTray:"verticalSliderTray___267D8",verticalTray:"verticalTray___12Key",verticalSlideTrayWrap:"verticalSlideTrayWrap___2nO7o",sliderTray:"sliderTray___-vHFQ",sliderAnimation:"sliderAnimation___300FY",masterSpinnerContainer:"masterSpinnerContainer___1Z6hB"},Ct=["ariaLabel","carouselStore","children","className","classNameAnimation","classNameTray","classNameTrayWrap","currentSlide","disableAnimation","disableKeyboard","dragEnabled","hasMasterSpinner","interval","isPageScrollLocked","isPlaying","lockOnWindowScroll","masterSpinnerFinished","moveThreshold","naturalSlideHeight","naturalSlideWidth","onMasterSpinner","orientation","playDirection","privateUnDisableAnimation","slideSize","slideTraySize","spinner","style","tabIndex","totalSlides","touchEnabled","trayProps","trayTag","visibleSlides","isIntrinsicHeight"],xt=["dragStep","step","infinite"],kt=["className","onClickCapture","onMouseDown","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","ref","style"],Ot=(ut=ct=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.getSliderRef=r.getSliderRef.bind(g(r)),r.handleDocumentScroll=r.handleDocumentScroll.bind(g(r)),r.handleOnClickCapture=r.handleOnClickCapture.bind(g(r)),r.handleOnKeyDown=r.handleOnKeyDown.bind(g(r)),r.handleOnMouseDown=r.handleOnMouseDown.bind(g(r)),r.handleOnMouseMove=r.handleOnMouseMove.bind(g(r)),r.handleOnMouseUp=r.handleOnMouseUp.bind(g(r)),r.handleOnTouchCancel=r.handleOnTouchCancel.bind(g(r)),r.handleOnTouchEnd=r.handleOnTouchEnd.bind(g(r)),r.handleOnTouchMove=r.handleOnTouchMove.bind(g(r)),r.handleOnTouchStart=r.handleOnTouchStart.bind(g(r)),r.playBackward=r.playBackward.bind(g(r)),r.playForward=r.playForward.bind(g(r)),r.callCallback=r.callCallback.bind(g(r)),r.state={cancelNextClick:!1,deltaX:0,deltaY:0,isBeingMouseDragged:!1,isBeingTouchDragged:!1,startX:0,startY:0},r.interval=null,r.isDocumentScrolling=null,r.moveTimer=null,r.originalOverflow=null,r.scrollParent=null,r.scrollStopTimer=null,r}u(t,e);var n=v(t);return s(t,[{key:"componentDidMount",value:function(){this.props.lockOnWindowScroll&&window.addEventListener("scroll",this.handleDocumentScroll,!1),document.documentElement.addEventListener("mouseleave",this.handleOnMouseUp,!1),document.documentElement.addEventListener("mousemove",this.handleOnMouseMove,!1),document.documentElement.addEventListener("mouseup",this.handleOnMouseUp,!1),this.props.isPlaying&&this.play()}},{key:"componentDidUpdate",value:function(e){!e.isPlaying&&this.props.isPlaying&&this.play(),e.isPlaying&&!this.props.isPlaying&&this.stop(),!e.isPageScrollLocked&&this.props.isPageScrollLocked&&this.lockScroll(),e.isPageScrollLocked&&!this.props.isPageScrollLocked&&this.unlockScroll(),!1===e.privateUnDisableAnimation&&!0===this.props.privateUnDisableAnimation&&this.props.carouselStore.setStoreState({privateUnDisableAnimation:!1,disableAnimation:!1})}},{key:"componentWillUnmount",value:function(){document.documentElement.removeEventListener("mouseleave",this.handleOnMouseUp,!1),document.documentElement.removeEventListener("mousemove",this.handleOnMouseMove,!1),document.documentElement.removeEventListener("mouseup",this.handleOnMouseUp,!1),window.removeEventListener("scroll",this.handleDocumentScroll,!1),this.stop(),window.cancelAnimationFrame.call(window,this.moveTimer),window.clearTimeout(this.scrollStopTimer),this.isDocumentScrolling=null,this.moveTimer=null,this.scrollStopTimer=null}},{key:"getSliderRef",value:function(e){this.sliderTrayElement=e}},{key:"fakeOnDragStart",value:function(e){var t=e.screenX,n=e.screenY,r=e.touchDrag,i=void 0!==r&&r,o=e.mouseDrag,a=void 0!==o&&o;this.props.carouselStore.setStoreState({isPlaying:!1}),window.cancelAnimationFrame.call(window,this.moveTimer),"vertical"===this.props.orientation&&this.props.carouselStore.setStoreState({isPageScrollLocked:!0}),this.setState({isBeingTouchDragged:i,isBeingMouseDragged:a,startX:t,startY:n})}},{key:"fakeOnDragMove",value:function(e,t){var n=this;this.moveTimer=window.requestAnimationFrame.call(window,function(){n.setState(function(n){return{deltaX:e-n.startX,deltaY:t-n.startY}})})}},{key:"fakeOnDragEnd",value:function(){window.cancelAnimationFrame.call(window,this.moveTimer),this.computeCurrentSlide(),"vertical"===this.props.orientation&&this.props.carouselStore.setStoreState({isPageScrollLocked:!1}),this.setState({deltaX:0,deltaY:0,isBeingTouchDragged:!1,isBeingMouseDragged:!1}),this.isDocumentScrolling=!this.props.lockOnWindowScroll&&null}},{key:"callCallback",value:function(e,t){var n=this.props.trayProps;n&&"function"==typeof n[e]&&(t.persist(),n[e](t))}},{key:"handleOnMouseDown",value:function(e){if(!this.props.dragEnabled)return void this.callCallback("onMouseDown",e);e.preventDefault(),this.fakeOnDragStart({screenX:e.screenX,screenY:e.screenY,mouseDrag:!0}),this.callCallback("onMouseDown",e)}},{key:"handleOnMouseMove",value:function(e){this.state.isBeingMouseDragged&&(this.setState({cancelNextClick:!0}),e.preventDefault(),this.fakeOnDragMove(e.screenX,e.screenY))}},{key:"handleOnMouseUp",value:function(e){this.state.isBeingMouseDragged&&(e.preventDefault(),this.fakeOnDragEnd())}},{key:"handleOnClickCapture",value:function(e){if(!this.state.cancelNextClick)return void this.callCallback("onClickCapture",e);e.preventDefault(),this.setState({cancelNextClick:!1}),this.callCallback("onClickCapture",e)}},{key:"handleOnTouchStart",value:function(e){if(!this.props.touchEnabled)return void this.callCallback("onTouchStart",e);"vertical"===this.props.orientation&&e.preventDefault();var t=e.targetTouches[0];this.fakeOnDragStart({screenX:t.screenX,screenY:t.screenY,touchDrag:!0}),this.callCallback("onTouchStart",e)}},{key:"handleDocumentScroll",value:function(){var e=this;this.props.touchEnabled&&(this.isDocumentScrolling=!0,window.clearTimeout(this.scrollStopTimer),this.scrollStopTimer=window.setTimeout(function(){e.isDocumentScrolling=!1},66))}},{key:"handleOnTouchMove",value:function(e){if(!this.props.touchEnabled||this.props.lockOnWindowScroll&&this.isDocumentScrolling)return void this.callCallback("onTouchMove",e);window.cancelAnimationFrame.call(window,this.moveTimer);var t=e.targetTouches[0];t&&(this.fakeOnDragMove(t.screenX,t.screenY),this.callCallback("onTouchMove",e))}},{key:"forward",value:function(){var e=this.props,t=e.currentSlide,n=e.step,r=e.totalSlides,i=e.visibleSlides;return Math.min(t+n,r-i)}},{key:"backward",value:function(){var e=this.props,t=e.currentSlide,n=e.step;return Math.max(t-n,0)}},{key:"handleOnKeyDown",value:function(e){var t=e.keyCode,n=this.props,r=n.carouselStore,i=n.currentSlide,o=n.disableKeyboard,a=n.totalSlides,s=n.visibleSlides,l={};!0===o||a<=s||(37===t&&(e.preventDefault(),this.focus(),l.currentSlide=Math.max(0,i-1),l.isPlaying=!1),39===t&&(e.preventDefault(),this.focus(),l.currentSlide=Math.min(a-s,i+1),l.isPlaying=!1),r.setStoreState(l))}},{key:"playForward",value:function(){var e=this.props,t=e.carouselStore,n=e.currentSlide;t.setStoreState({currentSlide:this.forward()===n?0:this.forward()})}},{key:"playBackward",value:function(){var e=this.props,t=e.carouselStore,n=e.currentSlide,r=e.totalSlides,i=e.visibleSlides;t.setStoreState({currentSlide:this.backward()===n?r-i:this.backward()})}},{key:"play",value:function(){var e=this.props.playDirection;this.interval=setInterval("forward"===e?this.playForward:this.playBackward,this.props.interval)}},{key:"stop",value:function(){window.clearInterval(this.interval),this.interval=null}},{key:"lockScroll",value:function(){var e=new Et;this.scrollParent=e.getScrollParent(this.sliderTrayElement),this.scrollParent&&(this.originalOverflow=this.originalOverflow||this.scrollParent.style.overflow,this.scrollParent.style.overflow="hidden")}},{key:"unlockScroll",value:function(){this.scrollParent&&(this.scrollParent.style.overflow=this.originalOverflow,this.originalOverflow=null,this.scrollParent=null)}},{key:"computeCurrentSlide",value:function(){var e=t.slideSizeInPx(this.props.orientation,this.sliderTrayElement.clientWidth,this.sliderTrayElement.clientHeight,this.props.totalSlides),n=t.slidesMoved(this.props.moveThreshold,this.props.orientation,this.state.deltaX,this.state.deltaY,e,this.props.dragStep),r=this.props.totalSlides-Math.min(this.props.totalSlides,this.props.visibleSlides),i=Q({min:0,max:r,x:this.props.currentSlide+n});this.props.infinite&&(this.props.currentSlide>=r&&n>0&&(i=0),0===this.props.currentSlide&&n<0&&(i=r)),this.props.carouselStore.setStoreState({currentSlide:i})}},{key:"focus",value:function(){this.sliderElement.focus()}},{key:"handleOnTouchEnd",value:function(e){this.endTouchMove(),this.callCallback("onTouchEnd",e)}},{key:"handleOnTouchCancel",value:function(e){this.endTouchMove(),this.callCallback("onTouchCancel",e)}},{key:"endTouchMove",value:function(){this.props.touchEnabled&&this.fakeOnDragEnd()}},{key:"renderMasterSpinner",value:function(){var e=this.props,t=e.hasMasterSpinner,n=e.masterSpinnerFinished,r=e.spinner;return t&&!n?("function"==typeof this.props.onMasterSpinner&&this.props.onMasterSpinner(),Y.a.createElement("div",{className:T([_t.masterSpinnerContainer,"carousel__master-spinner-container"])},r&&r(),!r&&Y.a.createElement(mt,null))):null}},{key:"render",value:function(){var e=this,t=this.props,n=t.ariaLabel,r=(t.carouselStore,t.children),i=t.className,o=t.classNameAnimation,a=t.classNameTray,s=t.classNameTrayWrap,l=t.currentSlide,u=t.disableAnimation,d=(t.disableKeyboard,t.dragEnabled,t.hasMasterSpinner,t.interval,t.isPageScrollLocked,t.isPlaying,t.lockOnWindowScroll,t.masterSpinnerFinished,t.moveThreshold,t.naturalSlideHeight),p=t.naturalSlideWidth,h=(t.onMasterSpinner,t.orientation),m=(t.playDirection,t.privateUnDisableAnimation,t.slideSize),g=t.slideTraySize,w=(t.spinner,t.style),v=t.tabIndex,y=(t.totalSlides,t.touchEnabled,t.trayProps),b=t.trayTag,S=t.visibleSlides,E=t.isIntrinsicHeight,_=f(t,Ct),C=c({},w),x={};"vertical"===h&&(x.height=0,x.paddingBottom=M(100*d*S/p),x.width=M(100));var k={},O=M(m*l*-1);(this.state.isBeingTouchDragged||this.state.isBeingMouseDragged||u)&&(k.transition="none"),E&&(k.display="flex",k.alignItems="stretch"),"vertical"===h?(k.transform="translateY(".concat(O,") translateY(").concat(this.state.deltaY,"px)"),k.width=M(100),k.flexDirection="column"):(k.width=M(g),k.transform="translateX(".concat(O,") translateX(").concat(this.state.deltaX,"px)"),k.flexDirection="row");var N=T(["vertical"===h?_t.verticalSlider:_t.horizontalSlider,"carousel__slider","vertical"===h?"carousel__slider--vertical":"carousel__slider--horizontal",i]),F=T([_t.sliderTrayWrap,"carousel__slider-tray-wrapper","vertical"===h?_t.verticalSlideTrayWrap:_t.horizontalTrayWrap,"vertical"===h?"carousel__slider-tray-wrap--vertical":"carousel__slider-tray-wrap--horizontal",s]),j=T([_t.sliderTray,o||_t.sliderAnimation,"carousel__slider-tray","vertical"===h?_t.verticalTray:_t.horizontalTray,"vertical"===h?"carousel__slider-tray--vertical":"carousel__slider-tray--horizontal",a]),P=null!==v?v:0,D=(_.dragStep,_.step,_.infinite,f(_,xt)),A=(y.className,y.onClickCapture,y.onMouseDown,y.onTouchCancel,y.onTouchEnd,y.onTouchMove,y.onTouchStart,y.ref,y.style,f(y,kt));return Y.a.createElement("div",c({ref:function(t){e.sliderElement=t},className:N,"aria-live":"polite","aria-label":n,style:C,tabIndex:P,onKeyDown:this.handleOnKeyDown,role:"listbox"},D),Y.a.createElement("div",{className:F,style:x},Y.a.createElement(b,c({ref:this.getSliderRef,className:j,style:k,onTouchStart:this.handleOnTouchStart,onTouchMove:this.handleOnTouchMove,onTouchEnd:this.handleOnTouchEnd,onTouchCancel:this.handleOnTouchCancel,onMouseDown:this.handleOnMouseDown,onClickCapture:this.handleOnClickCapture},A),r),this.renderMasterSpinner()))}}],[{key:"slideSizeInPx",value:function(e,t,n,r){return("horizontal"===e?t:n)/r}},{key:"slidesMoved",value:function(e,t,n,r,i,o){var a="horizontal"===t?n:r,s=Math.abs(Math.round(a/i)),l=Math.abs(a)>=i*e?o:0,c=Math.max(l,s);if(a<0)return c;var u=-c;return 0===u?0:u}}]),t}(Y.a.Component),l(ct,"propTypes",{ariaLabel:K.string,carouselStore:K.object.isRequired,children:K.node.isRequired,className:K.string,classNameAnimation:K.string,classNameTray:K.string,classNameTrayWrap:K.string,currentSlide:K.number.isRequired,disableAnimation:K.bool,disableKeyboard:K.bool,dragEnabled:K.bool.isRequired,dragStep:K.number,hasMasterSpinner:K.bool.isRequired,infinite:K.bool,interval:K.number.isRequired,isPageScrollLocked:K.bool.isRequired,isPlaying:K.bool.isRequired,lockOnWindowScroll:K.bool.isRequired,masterSpinnerFinished:K.bool.isRequired,moveThreshold:K.number,naturalSlideHeight:K.number.isRequired,naturalSlideWidth:K.number.isRequired,onMasterSpinner:K.func,orientation:J.orientation.isRequired,playDirection:J.direction.isRequired,privateUnDisableAnimation:K.bool,slideSize:K.number.isRequired,slideTraySize:K.number.isRequired,spinner:K.func,step:K.number.isRequired,style:K.object,tabIndex:K.number,totalSlides:K.number.isRequired,touchEnabled:K.bool.isRequired,trayProps:K.shape({className:K.string,onClickCapture:K.func,onMouseDown:K.func,onTouchCancel:K.func,onTouchEnd:K.func,onTouchMove:K.func,onTouchStart:K.func,ref:K.shape({}),style:K.string}),trayTag:K.string,visibleSlides:K.number,isIntrinsicHeight:K.bool}),l(ct,"defaultProps",{ariaLabel:"slider",className:null,classNameAnimation:null,classNameTray:null,classNameTrayWrap:null,disableAnimation:!1,disableKeyboard:!1,dragStep:1,infinite:!1,moveThreshold:.1,onMasterSpinner:null,privateUnDisableAnimation:!1,spinner:null,style:{},tabIndex:null,trayProps:{},trayTag:"div",visibleSlides:1,isIntrinsicHeight:!1}),ut),Tt=Z(Ot,function(e){return{currentSlide:e.currentSlide,disableAnimation:e.disableAnimation,privateUnDisableAnimation:e.privateUnDisableAnimation,disableKeyboard:e.disableKeyboard,dragEnabled:e.dragEnabled,hasMasterSpinner:e.hasMasterSpinner,infinite:e.infinite,interval:e.interval,isPageScrollLocked:e.isPageScrollLocked,isPlaying:e.isPlaying,lockOnWindowScroll:e.lockOnWindowScroll,masterSpinnerFinished:e.masterSpinnerFinished,naturalSlideHeight:e.naturalSlideHeight,naturalSlideWidth:e.naturalSlideWidth,orientation:e.orientation,playDirection:e.playDirection,slideSize:e.slideSize,slideTraySize:e.slideTraySize,step:e.step,dragStep:e.dragStep,totalSlides:e.totalSlides,touchEnabled:e.touchEnabled,visibleSlides:e.visibleSlides,isIntrinsicHeight:e.isIntrinsicHeight}})},function(e,t,n){"use strict";var r=n(82),i=n.n(r),o=n(83),a=n.n(o),s=n(30),l=n.n(s),c=n(208),u=n(84),d=n(209),p=wp.i18n.__,h=wp.blocks.registerBlockType,m=wp,f=m.apiFetch,g=wp.data,w=g.registerStore,v=g.withSelect,y=wp.blockEditor.InspectorControls,b=wp.components,S=b.PanelBody,E=b.PanelRow,_=b.TextControl,C=b.ColorPalette,x=b.RadioControl,k=b.ToggleControl,O=b.SelectControl,T=b.RangeControl,N=window.exactmetrics_gutenberg_tool_vars,F={setThemes:function(e){return{type:"SET_THEMES",themes:e}},receiveThemes:function(e){return{type:"RECEIVE_THEMES",path:e}}};w("exactmetrics/v1/popular-posts/widget",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{themes:{}},t=arguments[1];switch(t.type){case"SET_THEMES":return l()({},e,{themes:t.themes})}return e},actions:F,selectors:{receiveThemes:function(e){return e.themes}},controls:{RECEIVE_THEMES:function(e){return f({path:e.path})}},resolvers:{receiveThemes:a.a.mark(function e(t){var n,r;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,F.receiveThemes("/exactmetrics/v1/popular-posts/themes/widget");case 2:if(n=e.sent,void 0===n.themes){e.next=6;break}for(r in n.themes)n.themes.hasOwnProperty(r)&&(n.themes[r].value=r);return e.abrupt("return",F.setThemes(n));case 6:case"end":return e.stop()}},e,this)})}}),h("exactmetrics/popular-posts-widget",{title:p("Popular Posts","google-analytics-dashboard-for-wp"),description:p("Add popular posts from ExactMetrics","google-analytics-dashboard-for-wp"),category:"widgets",icon:c.a.widgetpop,keywords:[p("Popular","google-analytics-dashboard-for-wp"),p("Posts","google-analytics-dashboard-for-wp"),p("Widget","google-analytics-dashboard-for-wp"),"ExactMetrics"],example:{},attributes:{theme:{type:"string"},title_size:{type:"number"},title_color:{type:"string"},label_color:{type:"string"},label_text:{type:"string"},label_background:{type:"string"},background_color:{type:"string"},background_border:{type:"string"},meta_color:{type:"string"},meta_size:{type:"string"},meta_author:{type:"boolean"},meta_date:{type:"boolean"},meta_comments:{type:"boolean"},comments_color:{type:"string"},columns:{type:"number",default:1},widget_title:{type:"boolean"},widget_title_text:{type:"string"},post_count:{type:"number",default:5},categories:{type:"array",default:[]}},edit:v(function(e){return{themes:e("exactmetrics/v1/popular-posts/widget").receiveThemes()}})(function(e){var t=e.attributes,n=t.theme,r=(t.title_size,t.title_color,t.label_color,t.label_text,t.label_background,t.background_color,t.background_border,t.meta_color,t.meta_size,t.meta_author,t.meta_comments,t.meta_date,t.comments_color,t.columns),o=t.widget_title,a=t.widget_title_text,s=t.post_count,l=t.categories,h=e.themes,m=e.setAttributes,f=[{name:"pink",color:"#F58EA8"},{name:"red",color:"#CD3034"},{name:"orange",color:"#FD6A21"},{name:"yellow",color:"#FBB82B"},{name:"green",color:"#7FDBB6"},{name:"green",color:"#21CF86"},{name:"blue",color:"#91D2FA"},{name:"blue",color:"#1B95E0"},{name:"purple",color:"#9A57DD"},{name:"gray",color:"#EEEEEE"},{name:"gray",color:"#ACB8C3"},{name:"black",color:"#000000"}],g=void 0!==h.themes?h.themes:{},w=void 0===e.attributes.theme?h.selected:n,v=void 0!==w&&void 0!==g[w]?g[w]:{},b=void 0!==v.styles?v.styles:{},F={};for(var M in b)if(b.hasOwnProperty(M))for(var j in b[M])if(b[M].hasOwnProperty(j)){var P=M+"_"+j;void 0===e.attributes[P]?F[P]=b[M][j]:F[P]=e.attributes[P],"on"===F[P]&&(F[P]=!0),"off"===F[P]&&(F[P]=!1)}var D=function(e,t){var n=[1,2,3,4,5,6,7,8,9,10];return 2===e&&(n=[2,4,6,8,10]),3===e&&(n=[3,6,9]),t&&(n=n.map(function(e){return{value:e,label:e}})),n},A=function(){if(void 0!==b.meta.author)return wp.element.createElement(k,{label:p("Display Author","google-analytics-dashboard-for-wp"),checked:F.meta_author,onChange:function(e){m(i()({},"meta_author",e))}})},L=function(){if(void 0!==b.meta.date)return wp.element.createElement(k,{label:p("Display Date","google-analytics-dashboard-for-wp"),checked:F.meta_date,onChange:function(e){m(i()({},"meta_date",e))}})},B=function(){if(void 0!==b.meta.comments)return wp.element.createElement(k,{label:p("Display Comments","google-analytics-dashboard-for-wp"),checked:F.meta_comments,onChange:function(e){m(i()({},"meta_comments",e))}})},z=function(){return wp.element.createElement("span",{className:"exactmetrics-wide-column exactmetrics-wide-column-one"},wp.element.createElement("span",null),wp.element.createElement("span",null))},R=function(){return wp.element.createElement("span",{className:"exactmetrics-wide-column exactmetrics-wide-column-two"},wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null))},H=function(){return wp.element.createElement("span",{className:"exactmetrics-wide-column exactmetrics-wide-column-three"},wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null))},I=function(e,t){var n=F[t];return wp.element.createElement(T,{key:"exactmetrics-popular-posts-input"+t,label:e,value:parseInt(n),min:1,max:100,onChange:function(e){return m(i()({},t,""===e?"":parseInt(e)))}})},q=function(e,t){var n=F[t];return wp.element.createElement(_,{key:"exactmetrics-popular-posts-input"+t,label:e,type:"text",value:n,onChange:function(e){return m(i()({},t,e))}})},V=function(e,t){var n=F[t];return[wp.element.createElement("label",{key:"exactmetrics-popular-posts-label"+t},e),wp.element.createElement(C,{key:"exactmetrics-popular-posts-input"+t,value:n,colors:f,onChange:function(e){m(i()({},t,e))}})]},W=function(e,t){if(e.length>0&&void 0!==e[t]){var n=e[t];return wp.element.createElement("div",{className:"exactmetrics-widget-popular-posts-image"},wp.element.createElement("img",{src:N.vue_assets_path+"img/"+n}))}},Z=function(){if(void 0!==b.label)return wp.element.createElement("span",{style:{color:F.label_color,backgroundColor:F.label_background},className:"exactmetrics-widget-popular-posts-label"},F.label_text)},U=function(){if(void 0!==b.meta)return[wp.element.createElement("div",{className:"exactmetrics-widget-popular-posts-meta",key:"exactmetrics-widget-popular-posts-meta-options",style:{color:F.meta_color,fontSize:F.meta_size+"px"}},Y(),X(),K()),wp.element.createElement("span",{key:"exactmetrics-widget-popular-posts-comments-options"},G())]},Y=function(){if(F.meta_author)return wp.element.createElement("span",{className:"exactmetrics-widget-popular-posts-author"},"by Aazim Akhtar")},X=function(){if(F.meta_author&&F.meta_date)return wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:b.meta.separator}})},G=function(){if(void 0!==b.meta&&void 0!==b.meta.comments&&F.meta_comments){var e=void 0!==b.comments?F.comments_color:F.meta_color;return wp.element.createElement("span",{className:"exactmetrics-widget-popular-posts-comments",style:{color:e,fontSize:F.meta_size+"px"}},c.a.comments(e)," 24")}},K=function(){if(F.meta_date)return wp.element.createElement("span",{className:"exactmetrics-widget-popular-posts-date"},"Yesterday")},$=function(e){for(;e.length<=10;)e=e.concat(e);return e};return[wp.element.createElement(y,{key:"exactmetrics-popular-posts-widget-inspector-controls"},wp.element.createElement(S,{title:p("Theme","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-theme"},wp.element.createElement(E,{key:"exactmetrics-popular-posts-widget-theme-row"},wp.element.createElement(u.a,{id:"exactmetrics-popular-posts-widget-theme",options:g,selected:w,icons:c.a,onChange:function(e){m({theme:e})}}))),function(){if(void 0!==b.title){var e=[];return void 0!==b.title.size&&e.push(I(p("Title Font Size","google-analytics-dashboard-for-wp"),"title_size")),void 0!==b.title.color&&e.push(V(p("Title Color","google-analytics-dashboard-for-wp"),"title_color")),wp.element.createElement(S,{title:p("Title Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-title"},e)}}(),function(){if(void 0!==b.background&&void 0!==b.background.color){var e=[];return void 0!==b.background.color&&e.push(V(p("Background Color","google-analytics-dashboard-for-wp"),"background_color")),wp.element.createElement(S,{title:p("Background Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-background"}," ",e," ")}}(),function(){if(void 0!==b.label){var e=[];return void 0!==b.label.text&&e.push(q(p("Label Text","google-analytics-dashboard-for-wp"),"label_text")),void 0!==b.label.color&&e.push(V(p("Label Color","google-analytics-dashboard-for-wp"),"label_color")),void 0!==b.label.background&&e.push(V(p("Label Background","google-analytics-dashboard-for-wp"),"label_background")),wp.element.createElement(S,{title:p("Label Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-label"}," ",e," ")}}(),function(){var e=[];if(void 0!==b.border&&void 0!==b.border.color&&e.push(V(p("Border Color","google-analytics-dashboard-for-wp"),"borderColor")),void 0!==b.border&&void 0!==b.border.color2&&e.push(V(p("Bottom Border Color","google-analytics-dashboard-for-wp"),"borderColor2")),void 0!==b.background&&void 0!==b.background.border&&e.push(V(p("Border Color","google-analytics-dashboard-for-wp"),"background_border")),0!==e.length)return wp.element.createElement(S,{title:p("Border Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-inline-border"}," ",e," ")}(),function(){if(void 0!==b.meta){var e=[];return void 0!==b.meta.size&&e.push(I(p("Meta Font Size","google-analytics-dashboard-for-wp"),"meta_size")),void 0!==b.meta.color&&e.push(V(p("Meta Color","google-analytics-dashboard-for-wp"),"meta_color")),wp.element.createElement(S,{title:p("Meta Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-meta-styles"},e)}}(),function(){if(void 0!==b.comments)return wp.element.createElement(S,{title:p("Comment Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-comment-styles"},V(p("Comment Color","google-analytics-dashboard-for-wp"),"comments_color"))}(),function(){return wp.element.createElement(S,{title:p("Wide-Layout Options","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-columns"},wp.element.createElement(x,{label:p("Choose Layout","google-analytics-dashboard-for-wp"),help:p("Adjust the number of columns displayed when the widget is placed in a wide container.","google-analytics-dashboard-for-wp"),className:"exactmetrics-wide-column-options",key:"exactmetrics-popular-posts-widget-columns-control",options:[{value:1,label:z()},{value:2,label:R()},{value:3,label:H()}],selected:r,onChange:function(e){m(i()({},"columns",""===e?"":parseInt(e)));var t=D(parseInt(e));-1===t.indexOf(s)&&m(i()({},"post_count",parseInt(t[0])))}}),wp.element.createElement(O,{label:p("Post Count","google-analytics-dashboard-for-wp"),help:p("Number of posts displayed.","google-analytics-dashboard-for-wp"),options:D(r,!0),value:s,key:"exactmetrics-popular-posts-widget-post-count",onChange:function(e){m(i()({},"post_count",parseInt(e)))}}))}(),function(){if(void 0!==b.meta)return wp.element.createElement(S,{title:p("Display Options","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-meta-options"},A(),L(),B())}(),function(){return wp.element.createElement(S,{title:p("Behavior Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-behavior-options"},wp.element.createElement(k,{label:p("Display Widget Title","google-analytics-dashboard-for-wp"),checked:o,onChange:function(e){m(i()({},"widget_title",e))}}),wp.element.createElement(_,{key:"exactmetrics-popular-posts-input-widget-title-text",label:p("Widget Title","google-analytics-dashboard-for-wp"),type:"text",value:a,onChange:function(e){return m(i()({},"widget_title_text",e))}}),wp.element.createElement(d.a,{label:p("Only Show Posts From These Categories","google-analytics-dashboard-for-wp"),slug:"category",onUpdateTerms:function(e){m(i()({},"categories",e))},terms:l}))}()),wp.element.createElement("div",{key:"exactmetrics-popular-posts-widget-preview"},wp.element.createElement("div",{className:"exactmetrics-widget-popular-posts-widget exactmetrics-widget-popular-posts-"+w+" exactmetrics-widget-popular-posts-columns-"+r},function(){if(o)return wp.element.createElement("h2",{className:"exactmetrics-widget-popular-posts-widget-title"},a)}(),wp.element.createElement("div",{className:"exactmetrics-widget-popular-posts-text"},function(){if(void 0!==v.list&&void 0!==v.list.items){var e=$(v.list.items),t=void 0!==v.list.images?$(v.list.images):[],n=[];for(var r in e){if(parseInt(r)===parseInt(s))break;n.push(wp.element.createElement("li",{key:"exactmetrics-popular-posts-preview-list-item-"+r,style:{backgroundColor:F.background_color,borderColor:F.background_border}},W(t,r),wp.element.createElement("div",{className:"exactmetrics-widget-popular-posts-text"},Z(),wp.element.createElement("a",{className:"exactmetrics-widget-popular-posts-title",style:{color:F.title_color,fontSize:F.title_size+"px"}},e[r]),U())))}return wp.element.createElement("ul",{className:"exactmetrics-widget-popular-posts-list"},n)}}())))]}),save:function(e){return null}})},function(e,t,n){"use strict";var r={};r.widgetpop=wp.element.createElement("svg",{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 0C0.895431 0 0 0.895431 0 2V10C0 11.1046 0.895431 12 2 12H14C15.1046 12 16 11.1046 16 10V2C16 0.895431 15.1046 0 14 0H2ZM8.94046 4.70557L8 2L7.05954 4.70557L4.19577 4.76393L6.47831 6.49443L5.64886 9.23607L8 7.6L10.3511 9.23607L9.52169 6.49443L11.8042 4.76393L8.94046 4.70557ZM0 14H14V16H0V14ZM10 18H0V20H10V18Z",fill:"#555D66"})),r.alpha=wp.element.createElement("svg",{width:"74",height:"46",viewBox:"0 0 74 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"46",rx:"5",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"7.39999",y:"12",width:"59.2",height:"9",rx:"2",fill:"#6528F5"}),wp.element.createElement("rect",{x:"7.39999",y:"25",width:"51.8",height:"9",rx:"2",fill:"#6528F5"})),r.beta=wp.element.createElement("svg",{width:"74",height:"46",viewBox:"0 0 74 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M0 15C0 13.3431 1.34315 12 3 12H4V34H3C1.34315 34 0 32.6569 0 31V15Z",fill:"#6528F5"}),wp.element.createElement("rect",{x:"12",y:"12",width:"54",height:"9",rx:"2",fill:"#8453F7"}),wp.element.createElement("rect",{x:"12",y:"25",width:"44",height:"9",rx:"2",fill:"#8453F7"})),r.charlie=wp.element.createElement("svg",{width:"74",height:"46",viewBox:"0 0 74 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"46",rx:"3",fill:"#F0EAFE"}),wp.element.createElement("rect",{width:"74",height:"4",fill:"#6528F5"}),wp.element.createElement("rect",{x:"8",y:"14",width:"58",height:"9",rx:"2",fill:"#8453F7"}),wp.element.createElement("rect",{x:"8",y:"27",width:"40",height:"9",rx:"2",fill:"#8453F7"})),r.delta=wp.element.createElement("svg",{width:"74",height:"39",viewBox:"0 0 74 39",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"31",y:"12",width:"43",height:"7",rx:"2",fill:"#8453F7"}),wp.element.createElement("rect",{x:"31",y:"23",width:"32",height:"7",rx:"2",fill:"#8453F7"}),wp.element.createElement("rect",{x:"31",y:"34",width:"43",height:"5",rx:"2",fill:"#D1BFFC"}),wp.element.createElement("rect",{y:"12",width:"27",height:"27",rx:"2",fill:"#6528F5"}),wp.element.createElement("rect",{width:"74",height:"4",fill:"#6528F5"})),r.echo=wp.element.createElement("svg",{width:"74",height:"76",viewBox:"0 0 74 76",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"76",rx:"5",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"8",y:"41",width:"58",height:"7",rx:"2",fill:"#6528F5"}),wp.element.createElement("rect",{x:"8",y:"61",width:"7",height:"7",rx:"3.5",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"8",y:"8",width:"58",height:"29",rx:"2",fill:"#6528F5"}),wp.element.createElement("rect",{x:"8",y:"52",width:"34",height:"5",rx:"2",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"46",y:"52",width:"20",height:"5",rx:"2",fill:"#D1BFFC"})),r.foxtrot=wp.element.createElement("svg",{width:"74",height:"43",viewBox:"0 0 74 43",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"43",rx:"5",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"8",y:"8",width:"58",height:"7",rx:"2",fill:"#6528F5"}),wp.element.createElement("rect",{x:"8",y:"28",width:"7",height:"7",rx:"3.5",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"8",y:"19",width:"34",height:"5",rx:"2",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"46",y:"19",width:"20",height:"5",rx:"2",fill:"#D1BFFC"})),r.golf=wp.element.createElement("svg",{width:"74",height:"56",viewBox:"0 0 74 56",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"56",rx:"5",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"8",y:"21",width:"58",height:"7",rx:"2",fill:"#6528F5"}),wp.element.createElement("rect",{x:"8",y:"41",width:"7",height:"7",rx:"3.5",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"8",y:"8",width:"16",height:"9",rx:"2",fill:"#6528F5"}),wp.element.createElement("rect",{x:"8",y:"32",width:"34",height:"5",rx:"2",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"46",y:"32",width:"20",height:"5",rx:"2",fill:"#D1BFFC"})),r.hotel=wp.element.createElement("svg",{width:"74",height:"50",viewBox:"0 0 74 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"50",rx:"5",fill:"#6528F5"}),wp.element.createElement("path",{d:"M54.0625 42H19.9375C18.8438 42 17.9141 41.6111 17.1484 40.8333C16.3828 40.0556 16 39.1111 16 38V14C16 12.8889 16.3828 11.9444 17.1484 11.1667C17.9141 10.3889 18.8438 10 19.9375 10H54.0625C55.1562 10 56.0859 10.3889 56.8516 11.1667C57.6172 11.9444 58 12.8889 58 14V38C58 39.1111 57.6172 40.0556 56.8516 40.8333C56.0859 41.6111 55.1562 42 54.0625 42ZM28.3867 16.0833C27.5117 15.1389 26.4453 14.6667 25.1875 14.6667C23.9297 14.6667 22.8359 15.1389 21.9062 16.0833C21.0312 16.9722 20.5938 18.0556 20.5938 19.3333C20.5938 20.6111 21.0312 21.7222 21.9062 22.6667C22.8359 23.5556 23.9297 24 25.1875 24C26.4453 24 27.5117 23.5556 28.3867 22.6667C29.3164 21.7222 29.7812 20.6111 29.7812 19.3333C29.7812 18.0556 29.3164 16.9722 28.3867 16.0833ZM21.25 36.6667H52.75V27.3333L45.5312 20C45.0938 19.5556 44.6562 19.5556 44.2188 20L33.0625 31.3333L28.4688 26.6667C28.0312 26.2222 27.5938 26.2222 27.1562 26.6667L21.25 32.6667V36.6667Z",fill:"#8453F7"}),wp.element.createElement("rect",{x:"8",y:"26",width:"58",height:"7",rx:"2",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"8",y:"37",width:"34",height:"5",rx:"2",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"46",y:"37",width:"20",height:"5",rx:"2",fill:"#D1BFFC"})),r.comments=function(e){return wp.element.createElement("svg",{width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{fill:e}},wp.element.createElement("path",{d:"M7.8251 1.25893C8.70332 2.09821 9.14243 3.10714 9.14243 4.28571C9.14243 5.46429 8.70332 6.47321 7.8251 7.3125C6.94689 8.15179 5.8887 8.57143 4.65056 8.57143C3.78674 8.57143 2.98771 8.34821 2.25346 7.90179C1.63439 8.34821 0.993719 8.57143 0.331456 8.57143C0.302662 8.57143 0.273868 8.5625 0.245074 8.54464C0.216279 8.50893 0.194684 8.47321 0.180287 8.4375C0.151493 8.34821 0.158691 8.26786 0.201882 8.19643C0.50422 7.83929 0.763366 7.35714 0.979321 6.75C0.432235 6.01786 0.158691 5.19643 0.158691 4.28571C0.158691 3.10714 0.5978 2.09821 1.47602 1.25893C2.35424 0.419643 3.41242 0 4.65056 0C5.8887 0 6.94689 0.419643 7.8251 1.25893ZM11.7771 10.1786C11.993 10.7857 12.2522 11.2679 12.5545 11.625C12.5977 11.6964 12.6049 11.7768 12.5761 11.8661C12.5473 11.9554 12.4969 12 12.425 12C11.7627 12 11.122 11.7768 10.5029 11.3304C9.7687 11.7768 8.96967 12 8.10585 12C7.18444 12 6.34941 11.7589 5.60076 11.2768C4.85212 10.7946 4.30503 10.1607 3.9595 9.375C4.21865 9.41071 4.449 9.42857 4.65056 9.42857C6.07587 9.42857 7.29241 8.92857 8.30021 7.92857C9.32239 6.91071 9.83349 5.69643 9.83349 4.28571C9.83349 4.08929 9.82629 3.91071 9.81189 3.75C10.6325 4.07143 11.302 4.59821 11.8203 5.33036C12.3386 6.04464 12.5977 6.83929 12.5977 7.71429C12.5977 8.625 12.3242 9.44643 11.7771 10.1786Z"}))},t.a=r},function(e,t,n){"use strict";var r=n(15),i=n.n(r),o=n(16),a=n.n(o),s=n(17),l=n.n(s),c=n(18),u=n.n(c),d=n(19),p=n.n(d),h=n(26),m=(n.n(h),n(210),n(20)),f=wp.components.CheckboxControl,g=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||i()(t)).call(this));return e.state={},e}return p()(t,e),l()(t,[{key:"renderTerms",value:function(e){return e.map(function(e){return wp.element.createElement("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},wp.element.createElement(f,{checked:!0,label:Object(h.unescape)(e.name)}))})}},{key:"render",value:function(){return[wp.element.createElement("label",{key:"exactmetrics-hierarchical-term-list-label",className:"components-base-control__label"},this.props.label,wp.element.createElement("span",{className:"exactmetrics-popular-posts-pro-pill"},"PRO")),wp.element.createElement("div",{className:"editor-post-taxonomies__hierarchical-terms-list exactmetrics-hierarchical-terms exactmetrics-hierarchical-terms-disabled",key:"exactmetrics-hierarchical-term-list",tabIndex:"0",role:"group"},this.renderTerms([{name:"News",id:1},{name:"Technology",id:2}]))]}}]),t}(m.a);t.a=g},function(e,t,n){"use strict";n(211),n(85),n(219)},function(e,t,n){"use strict";var r=n(212),i=n.n(r),o=n(213);n.n(o),i()(console.error)},function(e,t,n){function r(e,t){function n(){var n,a,s=r,l=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(a=0;a<l;a++)if(s.args[a]!==arguments[a]){s=s.next;continue e}return s!==r&&(s===i&&(i=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=r,s.prev=null,r.prev=s,r=s),s.val}s=s.next}for(n=new Array(l),a=0;a<l;a++)n[a]=arguments[a];return s={args:n,val:e.apply(null,n)},r?(r.prev=s,s.next=r):i=s,o===t.maxSize?(i=i.prev,i.next=null):o++,r=s,s.val}var r,i,o=0;return t=t||{},n.clear=function(){r=null,i=null,o=0},n}e.exports=r},function(e,t,n){var r;!function(){"use strict";function i(e){return a(s(e),arguments)}function o(e,t){return i.apply(null,[e].concat(t||[]))}function a(e,t){var n,r,o,a,s,c,u,d,p,h=1,m=e.length,f="";for(r=0;r<m;r++)if("string"==typeof e[r])f+=e[r];else if("object"==typeof e[r]){if(a=e[r],a.keys)for(n=t[h],o=0;o<a.keys.length;o++){if(void 0==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',a.keys[o],a.keys[o-1]));n=n[a.keys[o]]}else n=a.param_no?t[a.param_no]:t[h++];if(l.not_type.test(a.type)&&l.not_primitive.test(a.type)&&n instanceof Function&&(n=n()),l.numeric_arg.test(a.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(l.number.test(a.type)&&(d=n>=0),a.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,a.width?parseInt(a.width):0);break;case"e":n=a.precision?parseFloat(n).toExponential(a.precision):parseFloat(n).toExponential();break;case"f":n=a.precision?parseFloat(n).toFixed(a.precision):parseFloat(n);break;case"g":n=a.precision?String(Number(n.toPrecision(a.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=a.precision?n.substring(0,a.precision):n;break;case"t":n=String(!!n),n=a.precision?n.substring(0,a.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=a.precision?n.substring(0,a.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=a.precision?n.substring(0,a.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}l.json.test(a.type)?f+=n:(!l.number.test(a.type)||d&&!a.sign?p="":(p=d?"+":"-",n=n.toString().replace(l.sign,"")),c=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",u=a.width-(p+n).length,s=a.width&&u>0?c.repeat(u):"",f+=a.align?p+n+s:"0"===c?p+s+n:s+p+n)}return f}function s(e){if(c[e])return c[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=l.text.exec(n)))r.push(t[0]);else if(null!==(t=l.modulo.exec(n)))r.push("%");else{if(null===(t=l.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var o=[],a=t[2],s=[];if(null===(s=l.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(o.push(s[1]);""!==(a=a.substring(s[0].length));)if(null!==(s=l.key_access.exec(a)))o.push(s[1]);else{if(null===(s=l.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");o.push(s[1])}t[2]=o}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return c[e]=r}var l={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/},c=Object.create(null);t.sprintf=i,t.vsprintf=o,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=o,void 0!==(r=function(){return{sprintf:i,vsprintf:o}}.call(t,n,t,e))&&(e.exports=r))}()},function(e,t,n){"use strict";function r(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(r=t[n].trim(),0===r.indexOf("plural="))return r.substr(7)}function i(e,t){var n;this.data=e,this.pluralForms={},this.options={};for(n in a)this.options[n]=void 0!==t&&n in t?t[n]:a[n]}t.a=i;var o=n(215),a={contextDelimiter:"",onMissingKey:null};i.prototype.getPluralForm=function(e,t){var n,i,a,s=this.pluralForms[e];return s||(n=this.data[e][""],a=n["Plural-Forms"]||n["plural-forms"]||n.plural_forms,"function"!=typeof a&&(i=r(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),a=Object(o.a)(i)),s=this.pluralForms[e]=a),s(t)},i.prototype.dcnpgettext=function(e,t,n,r,i){var o,a,s;return o=void 0===i?0:this.getPluralForm(e,i),a=n,t&&(a=t+this.options.contextDelimiter+n),(s=this.data[e][a])&&s[o]?s[o]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===o?n:r)}},function(e,t,n){"use strict";function r(e){var t=Object(i.a)(e);return function(e){return+t({n:e})}}t.a=r;var i=n(216)},function(e,t,n){"use strict";function r(e){var t=Object(i.a)(e);return function(e){return Object(o.a)(t,e)}}t.a=r;var i=n(217),o=n(218)},function(e,t,n){"use strict";function r(e){for(var t,n,r,l,c=[],u=[];t=e.match(s);){for(n=t[0],r=e.substr(0,t.index).trim(),r&&c.push(r);l=u.pop();){if(a[n]){if(a[n][0]===l){n=a[n][1]||n;break}}else if(o.indexOf(l)>=0||i[l]<i[n]){u.push(l);break}c.push(l)}a[n]||u.push(n),e=e.substr(t.index+n.length)}return e=e.trim(),e&&c.push(e),c.concat(u.reverse())}t.a=r;var i,o,a,s;i={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},o=["(","?"],a={")":["("],":":["?","?:"]},s=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/},function(e,t,n){"use strict";function r(e,t){var n,r,o,a,s,l,c=[];for(n=0;n<e.length;n++){if(s=e[n],a=i[s]){for(r=a.length,o=Array(r);r--;)o[r]=c.pop();try{l=a.apply(null,o)}catch(e){return e}}else l=t.hasOwnProperty(s)?t[s]:+s;c.push(l)}return c[0]}t.a=r;var i={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}}},function(e,t,n){"use strict";var r=n(85),i=n(220),o=Object(r.a)(void 0,void 0,i.a);o.getLocaleData.bind(o),o.setLocaleData.bind(o),o.resetLocaleData.bind(o),o.subscribe.bind(o),o.__.bind(o),o._x.bind(o),o._n.bind(o),o._nx.bind(o),o.isRTL.bind(o),o.hasTranslation.bind(o)},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(221),i=Object(r.a)();i.addAction,i.addFilter,i.removeAction,i.removeFilter,i.hasAction,i.hasFilter,i.removeAllActions,i.removeAllFilters,i.doAction,i.applyFilters,i.currentAction,i.currentFilter,i.doingAction,i.doingFilter,i.didAction,i.didFilter,i.actions,i.filters},function(e,t,n){"use strict";function r(){return new p}var i=n(222),o=n(223),a=n(224),s=n(225),l=n(226),c=n(227),u=n(228),d=n(229),p=function e(){Object(i.a)(this,e),this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=Object(o.a)(this,"actions"),this.addFilter=Object(o.a)(this,"filters"),this.removeAction=Object(a.a)(this,"actions"),this.removeFilter=Object(a.a)(this,"filters"),this.hasAction=Object(s.a)(this,"actions"),this.hasFilter=Object(s.a)(this,"filters"),this.removeAllActions=Object(a.a)(this,"actions",!0),this.removeAllFilters=Object(a.a)(this,"filters",!0),this.doAction=Object(l.a)(this,"actions"),this.applyFilters=Object(l.a)(this,"filters",!0),this.currentAction=Object(c.a)(this,"actions"),this.currentFilter=Object(c.a)(this,"filters"),this.doingAction=Object(u.a)(this,"actions"),this.doingFilter=Object(u.a)(this,"filters"),this.didAction=Object(d.a)(this,"actions"),this.didFilter=Object(d.a)(this,"filters")};t.a=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n,r,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,l=e[t];if(Object(o.a)(n)&&Object(i.a)(r)){if("function"!=typeof a)return void console.error("The hook callback must be a function.");if("number"!=typeof s)return void console.error("If specified, the hook priority must be a number.");var c={callback:a,priority:s,namespace:r};if(l[n]){var u,d=l[n].handlers;for(u=d.length;u>0&&!(s>=d[u-1].priority);u--);u===d.length?d[u]=c:d.splice(u,0,c),l.__current.forEach(function(e){e.name===n&&e.currentIndex>=u&&e.currentIndex++})}else l[n]={handlers:[c],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,a,s)}}}var i=n(86),o=n(50);t.a=r},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r,a){var s=e[t];if(Object(o.a)(r)&&(n||Object(i.a)(a))){if(!s[r])return 0;var l=0;if(n)l=s[r].handlers.length,s[r]={runs:s[r].runs,handlers:[]};else for(var c=s[r].handlers,u=c.length-1;u>=0;u--)!function(e){c[e].namespace===a&&(c.splice(e,1),l++,s.__current.forEach(function(t){t.name===r&&t.currentIndex>=e&&t.currentIndex--}))}(u);return"hookRemoved"!==r&&e.doAction("hookRemoved",r,a),l}}}var i=n(86),o=n(50);t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n,r){var i=e[t];return void 0!==r?n in i&&i[n].handlers.some(function(e){return e.namespace===r}):n in i}}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r){var i=e[t];i[r]||(i[r]={handlers:[],runs:0}),i[r].runs++;for(var o=i[r].handlers,a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];if(!o||!o.length)return n?s[0]:void 0;var c={name:r,currentIndex:0};for(i.__current.push(c);c.currentIndex<o.length;){var u=o[c.currentIndex],d=u.callback.apply(null,s);n&&(s[0]=d),c.currentIndex++}return i.__current.pop(),n?s[0]:void 0}}n(79);t.a=r},function(e,t,n){"use strict";function r(e,t){return function(){var n,r,i=e[t];return null!==(n=null===(r=i.__current[i.__current.length-1])||void 0===r?void 0:r.name)&&void 0!==n?n:null}}t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n){var r=e[t];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}}t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n){var r=e[t];if(Object(i.a)(n))return r[n]&&r[n].runs?r[n].runs:0}}var i=n(50);t.a=r}]);
3
  Licensed under the MIT License (MIT), see
4
  http://jedwatson.github.io/classnames
5
  */
6
+ !function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=n.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var s in r)o.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}var o={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(i=function(){return n}.apply(t,r))&&(e.exports=i))}()},function(e,t,n){var r=n(6),i=n(0),o=n(37),a=n(11),s=n(9),l=function(e,t,n){var c,u,d,p=e&l.F,h=e&l.G,m=e&l.S,f=e&l.P,g=e&l.B,w=e&l.W,v=h?i:i[t]||(i[t]={}),y=v.prototype,b=h?r:m?r[t]:(r[t]||{}).prototype;h&&(n=t);for(c in n)(u=!p&&b&&void 0!==b[c])&&s(v,c)||(d=u?b[c]:n[c],v[c]=h&&"function"!=typeof b[c]?n[c]:g&&u?o(d,r):w&&b[c]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):f&&"function"==typeof d?o(Function.call,d):d,f&&((v.virtual||(v.virtual={}))[c]=d,e&l.R&&y&&!y[c]&&a(y,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){e.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(8),i=n(53),o=n(38),a=Object.defineProperty;t.f=n(5)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(12);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(57),i=n(36);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(7),i=n(21);e.exports=n(5)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports={}},function(e,t,n){e.exports={default:n(155),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(72),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";t.__esModule=!0;var r=n(73),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(172),o=r(i),a=n(176),s=r(a),l=n(73),c=r(l);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,c.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(o.default?(0,o.default)(e,t):e.__proto__=t)}},function(e,t,n){"use strict";var r=(n(180),n(33));n.d(t,"a",function(){return r.a});n(189),n(191),n(192),n(193),n(81)},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(56),i=n(43);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(36);e.exports=function(e){return Object(r(e))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r={};r.headline=wp.element.createElement("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M13.5 2V12H14.5C14.6458 12 14.7604 12.0521 14.8438 12.1562C14.9479 12.2396 15 12.3542 15 12.5V13.5C15 13.6458 14.9479 13.7604 14.8438 13.8438C14.7604 13.9479 14.6458 14 14.5 14H9.5C9.35417 14 9.22917 13.9479 9.125 13.8438C9.04167 13.7604 9 13.6458 9 13.5V12.5C9 12.3542 9.04167 12.2396 9.125 12.1562C9.22917 12.0521 9.35417 12 9.5 12H10.5V8H4.5V12H5.5C5.64583 12 5.76042 12.0521 5.84375 12.1562C5.94792 12.2396 6 12.3542 6 12.5V13.5C6 13.6458 5.94792 13.7604 5.84375 13.8438C5.76042 13.9479 5.64583 14 5.5 14H0.5C0.354167 14 0.229167 13.9479 0.125 13.8438C0.0416667 13.7604 0 13.6458 0 13.5V12.5C0 12.3542 0.0416667 12.2396 0.125 12.1562C0.229167 12.0521 0.354167 12 0.5 12H1.5V2H0.5C0.354167 2 0.229167 1.95833 0.125 1.875C0.0416667 1.77083 0 1.64583 0 1.5V0.5C0 0.354167 0.0416667 0.239583 0.125 0.15625C0.229167 0.0520833 0.354167 0 0.5 0H5.5C5.64583 0 5.76042 0.0520833 5.84375 0.15625C5.94792 0.239583 6 0.354167 6 0.5V1.5C6 1.64583 5.94792 1.77083 5.84375 1.875C5.76042 1.95833 5.64583 2 5.5 2H4.5V6H10.5V2H9.5C9.35417 2 9.22917 1.95833 9.125 1.875C9.04167 1.77083 9 1.64583 9 1.5V0.5C9 0.354167 9.04167 0.239583 9.125 0.15625C9.22917 0.0520833 9.35417 0 9.5 0H14.5C14.6458 0 14.7604 0.0520833 14.8438 0.15625C14.9479 0.239583 15 0.354167 15 0.5V1.5C15 1.64583 14.9479 1.77083 14.8438 1.875C14.7604 1.95833 14.6458 2 14.5 2H13.5Z",fill:"white"})),r.headlineBlack=wp.element.createElement("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M13.5 2V12H14.5C14.6458 12 14.7604 12.0521 14.8438 12.1562C14.9479 12.2396 15 12.3542 15 12.5V13.5C15 13.6458 14.9479 13.7604 14.8438 13.8438C14.7604 13.9479 14.6458 14 14.5 14H9.5C9.35417 14 9.22917 13.9479 9.125 13.8438C9.04167 13.7604 9 13.6458 9 13.5V12.5C9 12.3542 9.04167 12.2396 9.125 12.1562C9.22917 12.0521 9.35417 12 9.5 12H10.5V8H4.5V12H5.5C5.64583 12 5.76042 12.0521 5.84375 12.1562C5.94792 12.2396 6 12.3542 6 12.5V13.5C6 13.6458 5.94792 13.7604 5.84375 13.8438C5.76042 13.9479 5.64583 14 5.5 14H0.5C0.354167 14 0.229167 13.9479 0.125 13.8438C0.0416667 13.7604 0 13.6458 0 13.5V12.5C0 12.3542 0.0416667 12.2396 0.125 12.1562C0.229167 12.0521 0.354167 12 0.5 12H1.5V2H0.5C0.354167 2 0.229167 1.95833 0.125 1.875C0.0416667 1.77083 0 1.64583 0 1.5V0.5C0 0.354167 0.0416667 0.239583 0.125 0.15625C0.229167 0.0520833 0.354167 0 0.5 0H5.5C5.64583 0 5.76042 0.0520833 5.84375 0.15625C5.94792 0.239583 6 0.354167 6 0.5V1.5C6 1.64583 5.94792 1.77083 5.84375 1.875C5.76042 1.95833 5.64583 2 5.5 2H4.5V6H10.5V2H9.5C9.35417 2 9.22917 1.95833 9.125 1.875C9.04167 1.77083 9 1.64583 9 1.5V0.5C9 0.354167 9.04167 0.239583 9.125 0.15625C9.22917 0.0520833 9.35417 0 9.5 0H14.5C14.6458 0 14.7604 0.0520833 14.8438 0.15625C14.9479 0.239583 15 0.354167 15 0.5V1.5C15 1.64583 14.9479 1.77083 14.8438 1.875C14.7604 1.95833 14.6458 2 14.5 2H13.5Z",fill:"#000"})),r.warning=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M16 8C16 6.58065 15.6129 5.22581 14.9032 4C14.1935 2.77419 13.2258 1.80645 12 1.09677C10.7742 0.387097 9.41936 0 8 0C6.54839 0 5.22581 0.387097 4 1.09677C2.77419 1.80645 1.77419 2.77419 1.06452 4C0.354839 5.22581 0 6.58065 0 8C0 9.45161 0.354839 10.7742 1.06452 12C1.77419 13.2258 2.77419 14.2258 4 14.9355C5.22581 15.6452 6.54839 16 8 16C9.41936 16 10.7742 15.6452 12 14.9355C13.2258 14.2258 14.1935 13.2258 14.9032 12C15.6129 10.7742 16 9.45161 16 8ZM8 9.6129C8.3871 9.6129 8.74194 9.77419 9.03226 10.0645C9.32258 10.3548 9.48387 10.7097 9.48387 11.0968C9.48387 11.5161 9.32258 11.871 9.03226 12.1613C8.74194 12.4516 8.3871 12.5806 8 12.5806C7.58065 12.5806 7.22581 12.4516 6.93548 12.1613C6.64516 11.871 6.51613 11.5161 6.51613 11.0968C6.51613 10.7097 6.64516 10.3548 6.93548 10.0645C7.22581 9.77419 7.58065 9.6129 8 9.6129ZM6.58065 4.29032C6.58065 4.16129 6.6129 4.06452 6.67742 4C6.74194 3.93548 6.83871 3.87097 6.96774 3.87097H9.03226C9.12903 3.87097 9.22581 3.93548 9.29032 4C9.35484 4.06452 9.41936 4.16129 9.41936 4.29032L9.16129 8.67742C9.16129 8.77419 9.09677 8.87097 9.03226 8.93548C8.96774 9 8.87097 9.03226 8.77419 9.03226H7.22581C7.09677 9.03226 7 9 6.93548 8.93548C6.87097 8.87097 6.83871 8.77419 6.83871 8.67742L6.58065 4.29032Z",fill:"#F2994A"})),r.smile=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M2.32258 2.35484C3.89247 0.784946 5.78495 0 8 0C10.2151 0 12.0968 0.784946 13.6452 2.35484C15.2151 3.90323 16 5.78495 16 8C16 10.2151 15.2151 12.1075 13.6452 13.6774C12.0968 15.2258 10.2151 16 8 16C5.78495 16 3.89247 15.2258 2.32258 13.6774C0.774194 12.1075 0 10.2151 0 8C0 5.78495 0.774194 3.90323 2.32258 2.35484ZM11.2903 5.74194C11.0968 5.52688 10.8602 5.41935 10.5806 5.41935C10.3011 5.41935 10.0538 5.52688 9.83871 5.74194C9.64516 5.93548 9.54839 6.17204 9.54839 6.45161C9.54839 6.73118 9.64516 6.97849 9.83871 7.19355C10.0538 7.3871 10.3011 7.48387 10.5806 7.48387C10.8602 7.48387 11.0968 7.3871 11.2903 7.19355C11.5054 6.97849 11.6129 6.73118 11.6129 6.45161C11.6129 6.17204 11.5054 5.93548 11.2903 5.74194ZM6.12903 5.74194C5.93548 5.52688 5.69892 5.41935 5.41935 5.41935C5.13978 5.41935 4.89247 5.52688 4.67742 5.74194C4.48387 5.93548 4.3871 6.17204 4.3871 6.45161C4.3871 6.73118 4.48387 6.97849 4.67742 7.19355C4.89247 7.3871 5.13978 7.48387 5.41935 7.48387C5.69892 7.48387 5.93548 7.3871 6.12903 7.19355C6.34409 6.97849 6.45161 6.73118 6.45161 6.45161C6.45161 6.17204 6.34409 5.93548 6.12903 5.74194ZM11.7097 10.9032C11.7957 10.8172 11.8387 10.7204 11.8387 10.6129C11.8387 10.4839 11.8065 10.3871 11.7419 10.3226C11.6774 10.2366 11.5914 10.172 11.4839 10.129C11.3978 10.0645 11.3011 10.043 11.1935 10.0645C11.086 10.086 10.9892 10.1505 10.9032 10.2581C10.1505 11.1613 9.1828 11.6129 8 11.6129C6.8172 11.6129 5.84946 11.1613 5.09677 10.2581C5.01075 10.1505 4.91398 10.086 4.80645 10.0645C4.69892 10.043 4.5914 10.0645 4.48387 10.129C4.39785 10.172 4.32258 10.2366 4.25806 10.3226C4.19355 10.3871 4.16129 10.4839 4.16129 10.6129C4.16129 10.7204 4.2043 10.8172 4.29032 10.9032C5.25806 12.0645 6.49462 12.6452 8 12.6452C9.50538 12.6452 10.7419 12.0645 11.7097 10.9032Z",fill:"#1EC185"})),r.neutral=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M2.32258 2.35484C3.89247 0.784946 5.78495 0 8 0C10.2151 0 12.0968 0.784946 13.6452 2.35484C15.2151 3.90323 16 5.78495 16 8C16 10.2151 15.2151 12.1075 13.6452 13.6774C12.0968 15.2258 10.2151 16 8 16C5.78495 16 3.89247 15.2258 2.32258 13.6774C0.774194 12.1075 0 10.2151 0 8C0 5.78495 0.774194 3.90323 2.32258 2.35484ZM6.12903 5.74194C5.93548 5.52688 5.69892 5.41935 5.41935 5.41935C5.13978 5.41935 4.89247 5.52688 4.67742 5.74194C4.48387 5.93548 4.3871 6.17204 4.3871 6.45161C4.3871 6.73118 4.48387 6.97849 4.67742 7.19355C4.89247 7.3871 5.13978 7.48387 5.41935 7.48387C5.69892 7.48387 5.93548 7.3871 6.12903 7.19355C6.34409 6.97849 6.45161 6.73118 6.45161 6.45161C6.45161 6.17204 6.34409 5.93548 6.12903 5.74194ZM11.0968 11.6129C11.4409 11.6129 11.6129 11.4409 11.6129 11.0968C11.6129 10.7527 11.4409 10.5806 11.0968 10.5806H4.90323C4.55914 10.5806 4.3871 10.7527 4.3871 11.0968C4.3871 11.4409 4.55914 11.6129 4.90323 11.6129H11.0968ZM9.83871 7.19355C10.0538 7.3871 10.3011 7.48387 10.5806 7.48387C10.8602 7.48387 11.0968 7.3871 11.2903 7.19355C11.5054 6.97849 11.6129 6.73118 11.6129 6.45161C11.6129 6.17204 11.5054 5.93548 11.2903 5.74194C11.0968 5.52688 10.8602 5.41935 10.5806 5.41935C10.3011 5.41935 10.0538 5.52688 9.83871 5.74194C9.64516 5.93548 9.54839 6.17204 9.54839 6.45161C9.54839 6.73118 9.64516 6.97849 9.83871 7.19355Z",fill:"#626D83"})),r.negative=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M2.32258 2.35484C3.89247 0.784946 5.78495 0 8 0C10.2151 0 12.0968 0.784946 13.6452 2.35484C15.2151 3.90323 16 5.78495 16 8C16 10.2151 15.2151 12.1075 13.6452 13.6774C12.0968 15.2258 10.2151 16 8 16C5.78495 16 3.89247 15.2258 2.32258 13.6774C0.774194 12.1075 0 10.2151 0 8C0 5.78495 0.774194 3.90323 2.32258 2.35484ZM4.3871 7.48387C4.3871 7.76344 4.48387 8.01075 4.67742 8.22581C4.89247 8.41935 5.13978 8.51613 5.41935 8.51613C5.69892 8.51613 5.93548 8.41935 6.12903 8.22581C6.34409 8.01075 6.45161 7.76344 6.45161 7.48387C6.45161 7.44086 6.43011 7.35484 6.3871 7.22581C6.4086 7.22581 6.41935 7.22581 6.41935 7.22581C6.44086 7.22581 6.45161 7.22581 6.45161 7.22581C6.70968 7.22581 6.87097 7.10753 6.93548 6.87097C6.95699 6.78495 6.96774 6.70968 6.96774 6.64516C6.96774 6.58065 6.94624 6.52688 6.90323 6.48387C6.88172 6.41935 6.83871 6.36559 6.77419 6.32258C6.73118 6.27957 6.67742 6.24731 6.6129 6.22581L4.03226 5.45161C3.88172 5.4086 3.74194 5.41935 3.6129 5.48387C3.50538 5.54839 3.43011 5.64516 3.3871 5.77419C3.36559 5.86021 3.35484 5.93548 3.35484 6C3.37634 6.06452 3.39785 6.12903 3.41935 6.19355C3.44086 6.23656 3.47312 6.27957 3.51613 6.32258C3.58065 6.36559 3.65591 6.39785 3.74194 6.41935L4.70968 6.74194C4.49462 6.93548 4.3871 7.1828 4.3871 7.48387ZM9.80645 12.4516C9.93548 12.6237 10.0968 12.6882 10.2903 12.6452C10.4839 12.6021 10.6129 12.4946 10.6774 12.3226C10.7419 12.1505 10.7097 11.9785 10.5806 11.8065C9.91398 10.9892 9.05376 10.5806 8 10.5806C6.94624 10.5806 6.07527 10.9892 5.3871 11.8065C5.34409 11.871 5.31183 11.9462 5.29032 12.0323C5.26882 12.1183 5.26882 12.1935 5.29032 12.2581C5.31183 12.3226 5.34409 12.3871 5.3871 12.4516C5.43011 12.5161 5.48387 12.5699 5.54839 12.6129C5.6129 12.6344 5.67742 12.6559 5.74194 12.6774C5.82796 12.6774 5.90323 12.6667 5.96774 12.6452C6.05376 12.6021 6.12903 12.5376 6.19355 12.4516C6.64516 11.914 7.24731 11.6452 8 11.6452C8.75269 11.6452 9.35484 11.914 9.80645 12.4516ZM12.2903 6.41935C12.4194 6.37634 12.5161 6.30107 12.5806 6.19355C12.6452 6.06452 12.6559 5.92473 12.6129 5.77419C12.5914 5.68817 12.5484 5.6129 12.4839 5.54839C12.4194 5.48387 12.3441 5.45161 12.2581 5.45161C12.172 5.43011 12.086 5.43011 12 5.45161L9.41935 6.22581C9.26882 6.26882 9.16129 6.35484 9.09677 6.48387C9.03226 6.5914 9.02151 6.72043 9.06452 6.87097C9.12903 7.10753 9.29032 7.22581 9.54839 7.22581C9.56989 7.22581 9.5914 7.22581 9.6129 7.22581C9.56989 7.33333 9.54839 7.41935 9.54839 7.48387C9.54839 7.76344 9.64516 8.01075 9.83871 8.22581C10.0538 8.41935 10.3011 8.51613 10.5806 8.51613C10.8602 8.51613 11.0968 8.41935 11.2903 8.22581C11.5054 8.01075 11.6129 7.76344 11.6129 7.48387C11.6129 7.1828 11.5054 6.93548 11.2903 6.74194L12.2903 6.41935Z",fill:"#626D83"})),r.check=wp.element.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M13.6452 2.35484C15.2151 3.90323 16 5.78495 16 8C16 10.2151 15.2151 12.1075 13.6452 13.6774C12.0968 15.2258 10.2151 16 8 16C5.78495 16 3.89247 15.2258 2.32258 13.6774C0.774194 12.1075 0 10.2151 0 8C0 5.78495 0.774194 3.90323 2.32258 2.35484C3.89247 0.784946 5.78495 0 8 0C10.2151 0 12.0968 0.784946 13.6452 2.35484ZM7.06452 12.2258L13 6.29032C13.2581 6.05376 13.2581 5.8172 13 5.58065L12.2903 4.83871C12.0323 4.60215 11.7849 4.60215 11.5484 4.83871L6.70968 9.67742L4.45161 7.41935C4.21505 7.1828 3.96774 7.1828 3.70968 7.41935L3 8.16129C2.74194 8.39785 2.74194 8.63441 3 8.87097L6.35484 12.2258C6.5914 12.4839 6.82796 12.4839 7.06452 12.2258Z",fill:"#1EC185"})),t.a=r},function(e,t){e.exports=lodash},function(e,t,n){"use strict";var r=n(94)(!0);n(52)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(106),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(110),o=r(i),a=n(62),s=r(a);t.default=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,l=(0,s.default)(e);!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&l.return&&l.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,o.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){"use strict";var r=wp.element.Fragment,i=function(e){var t=e.barScore,n=e.width?e.width+"px":"80px",i=t>50?0:180-3.6*t,o=e.barColor;return wp.element.createElement(r,null,wp.element.createElement("div",{className:"exactmetrics-donut-container",style:{flexDirection:"column"}},wp.element.createElement("div",{className:"exactmetrics-donut",style:{width:n,paddingBottom:n,backgroundColor:"#f2f2f2"}},wp.element.createElement("div",{className:"exactmetrics-donut-sections",style:{transform:"rotate(0deg)"}},wp.element.createElement("div",{className:"exactmetrics-donut-section exactmetrics-donut-section-right",style:{transform:"rotate(0deg)"}},wp.element.createElement("div",{className:"exactmetrics-donut-filler",style:{backgroundColor:o,transform:"rotate(-"+i+"deg)"}})),function(){if(t>50){var e=180+360*(t-50)/100;return wp.element.createElement("div",{className:"exactmetrics-donut-section exactmetrics-donut-section-left",style:{transform:"rotate(0deg)"}},wp.element.createElement("div",{className:"exactmetrics-donut-filler",style:{backgroundColor:o,transform:"rotate("+e+"deg)"}}))}}()),wp.element.createElement("div",{className:"exactmetrics-donut-overlay",style:{height:"70%",width:"70%",top:"calc(15%)",left:"calc(15%)",backgroundColor:"rgb(255, 255, 255)"}}))))};t.a=i},function(e,t,n){"use strict";var r=(n(34),n(49),n(80)),i=(n.n(r),n(26));n.n(i);n.o(r,"cloneElement")&&n.d(t,"d",function(){return r.cloneElement}),n.o(r,"Component")&&n.d(t,"a",function(){return r.Component}),n.o(r,"createContext")&&n.d(t,"e",function(){return r.createContext}),n.o(r,"createElement")&&n.d(t,"f",function(){return r.createElement}),n.o(r,"forwardRef")&&n.d(t,"g",function(){return r.forwardRef}),n.o(r,"Fragment")&&n.d(t,"b",function(){return r.Fragment}),n.o(r,"isValidElement")&&n.d(t,"h",function(){return r.isValidElement}),n.o(r,"StrictMode")&&n.d(t,"c",function(){return r.StrictMode})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.a=r},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){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(95);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(12);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(8),i=n(97),o=n(43),a=n(41)("IE_PROTO"),s=function(){},l=function(){var e,t=n(54)("iframe"),r=o.length;for(t.style.display="none",n(100).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(42)("keys"),i=n(29);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(0),i=n(6),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(28)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(7).f,i=n(9),o=n(2)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){n(112);for(var r=n(6),i=n(11),o=n(14),a=n(2)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],d=u&&u.prototype;d&&!d[a]&&i(d,a,c),o[c]=o.Array}},function(e,t,n){t.f=n(2)},function(e,t,n){var r=n(6),i=n(0),o=n(28),a=n(47),s=n(7).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=Object(i.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}t.a=r;var i=n(188)},function(e,t,n){"use strict";function r(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}t.a=r},function(e,t,n){"use strict";t.__esModule=!0;var r=n(92),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}},function(e,t,n){"use strict";var r=n(28),i=n(4),o=n(55),a=n(11),s=n(14),l=n(96),c=n(44),u=n(59),d=n(2)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,m,f,g,w){l(n,t,m);var v,y,b,S=function(e){if(!p&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",_="values"==f,C=!1,x=e.prototype,k=x[d]||x["@@iterator"]||f&&x[f],O=k||S(f),T=f?_?S("entries"):O:void 0,N="Array"==t?x.entries||k:k;if(N&&(b=u(N.call(new e)))!==Object.prototype&&b.next&&(c(b,E,!0),r||"function"==typeof b[d]||a(b,d,h)),_&&k&&"values"!==k.name&&(C=!0,O=function(){return k.call(this)}),r&&!w||!p&&!C&&x[d]||a(x,d,O),s[t]=O,s[E]=h,f)if(v={values:_?O:S("values"),keys:g?O:S("keys"),entries:T},w)for(y in v)y in x||o(x,y,v[y]);else i(i.P+i.F*(p||C),t,v);return v}},function(e,t,n){e.exports=!n(5)&&!n(13)(function(){return 7!=Object.defineProperty(n(54)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(12),i=n(6).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){e.exports=n(11)},function(e,t,n){var r=n(9),i=n(10),o=n(98)(!1),a=n(41)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var r=n(40);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(35),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(9),i=n(23),o=n(41)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(61),i=n(2)("iterator"),o=n(14);e.exports=n(0).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(40),i=n(2)("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){e.exports={default:n(116),__esModule:!0}},function(e,t,n){e.exports=n(118)},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=n(1);e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var a=[];i.forEach(t,function(e,t){null!==e&&void 0!==e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){function r(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var i=n(1),o=n(124),a={"Content-Type":"application/x-www-form-urlencoded"},s={adapter:function(){var e;return"undefined"!=typeof XMLHttpRequest?e=n(68):void 0!==t&&"[object process]"===Object.prototype.toString.call(t)&&(e=n(68)),e}(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(e){s.headers[e]={}}),i.forEach(["post","put","patch"],function(e){s.headers[e]=i.merge(a)}),e.exports=s}).call(t,n(123))},function(e,t,n){"use strict";var r=n(1),i=n(125),o=n(65),a=n(127),s=n(130),l=n(131),c=n(69);e.exports=function(e){return new Promise(function(t,u){var d=e.data,p=e.headers;r.isFormData(d)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var m=e.auth.username||"",f=e.auth.password||"";p.Authorization="Basic "+btoa(m+":"+f)}var g=a(e.baseURL,e.url);if(h.open(e.method.toUpperCase(),o(g,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,r=e.responseType&&"text"!==e.responseType?h.response:h.responseText,o={data:r,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};i(t,u,o),h=null}},h.onabort=function(){h&&(u(c("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){u(c("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),u(c(t,e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var w=n(132),v=(e.withCredentials||l(g))&&e.xsrfCookieName?w.read(e.xsrfCookieName):void 0;v&&(p[e.xsrfHeaderName]=v)}if("setRequestHeader"in h&&r.forEach(p,function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete p[t]:h.setRequestHeader(t,e)}),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),e.responseType)try{h.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){h&&(h.abort(),u(e),h=null)}),void 0===d&&(d=null),h.send(d)})}},function(e,t,n){"use strict";var r=n(126);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t){t=t||{};var n={},i=["url","method","params","data"],o=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(i,function(e){void 0!==t[e]&&(n[e]=t[e])}),r.forEach(o,function(i){r.isObject(t[i])?n[i]=r.deepMerge(e[i],t[i]):void 0!==t[i]?n[i]=t[i]:r.isObject(e[i])?n[i]=r.deepMerge(e[i]):void 0!==e[i]&&(n[i]=e[i])}),r.forEach(a,function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])});var s=i.concat(o).concat(a),l=Object.keys(t).filter(function(e){return-1===s.indexOf(e)});return r.forEach(l,function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])}),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){e.exports={default:n(158),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(160),o=r(i),a=n(162),s=r(a),l="function"==typeof s.default&&"symbol"==typeof o.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===l(o.default)?function(e){return void 0===e?"undefined":l(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":void 0===e?"undefined":l(e)}},function(e,t,n){var r=n(56),i=n(43).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(24),i=n(21),o=n(10),a=n(38),s=n(9),l=n(53),c=Object.getOwnPropertyDescriptor;t.f=n(5)?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";function r(e,t){if(e){if("string"==typeof e)return Object(i.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(i.a)(e,t):void 0}}t.a=r;var i=n(77)},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.a=r},function(e,t,n){"use strict";function r(e){"@babel/helpers - typeof";return(r="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})(e)}t.a=r},function(e,t,n){"use strict";function r(e){return Object(i.a)(e)||Object(o.a)(e)||Object(a.a)(e)||Object(s.a)()}t.a=r;var i=n(185),o=n(186),a=n(76),s=n(187)},function(e,t){e.exports=React},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){Object(a.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(e){var t=e.children,n=Object(s.a)(e,["children"]);return Object(l.f)("div",i({dangerouslySetInnerHTML:{__html:t}},n))}t.a=o;var a=n(34),s=n(49),l=n(33)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(72),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){e.exports=n(201)},function(e,t,n){"use strict";function r(e){var t=e.className,n=e.selected,o=e.help,p=e.onChange,h=e.options,m=void 0===h?[]:h,f=e.icons,g=void 0===f?[]:f,w=u(r),v="inspector-exactmetrics-popular-posts-theme-control-"+w,y=function(e){return p(e.target.value)},b=[],S=0,E=0,_=0;for(var C in m)if(m.hasOwnProperty(C)){var x=m[C];void 0===b[S]&&(b[S]=[]),b[S][E]=x,x.value===n&&(_=S),3===E?(E=0,S++):E++}var k=function(){return wp.element.createElement("span",{className:"exactmetrics-theme-picker-check"},l.a.checkmark)},O=function(e){var t="exactmetrics-theme-picker-label-"+e.value;return e.value===n&&(t+=" exactmetrics-theme-picker-label-selected"),s.a.canaccess(e.level)||(t+=" exactmetrics-theme-picker-label-disabled"),t};return!Object(i.isEmpty)(m)&&wp.element.createElement(d,{id:v,help:o,className:a()(t,"exactmetrics-theme-picker")},wp.element.createElement(c.c,{naturalSlideWidth:250,totalSlides:b.length,className:"exactmetrics-theme-picker-carousel",currentSlide:_,dragEnabled:!1},wp.element.createElement(c.f,null,b.map(function(e,t){return wp.element.createElement(c.e,{className:"exactmetrics-theme-picker-slide",index:t,key:v+"-"+t},e.map(function(e,r){return wp.element.createElement("div",{key:v+"-"+t+"-"+r,className:"exactmetrics-slider-theme-option"},wp.element.createElement("input",{id:v+"-"+t+"-"+r,className:"exactmetrics-slider-theme-input",type:"radio",name:v,value:e.value,onChange:y,checked:e.value===n,"aria-describedby":o?v+"__help":void 0}),wp.element.createElement("label",{htmlFor:v+"-"+t+"-"+r,className:O(e)},e.value===n&&k(),wp.element.createElement("span",{className:"exactmetrics-theme-picker-label-icon"},g[e.value]?g[e.value]:""),wp.element.createElement("span",{className:"exactmetrics-theme-picker-label-text"},e.label)))}))})),function(){if(b.length>1)return wp.element.createElement("div",{className:"exactmetrics-carousel-navigation"},wp.element.createElement(c.a,null,l.a.chevronleft),wp.element.createElement(c.d,{className:"exactmetrics-carousel-navigation-dots"}),wp.element.createElement(c.b,null,l.a.chevronright))}()))}t.a=r;var i=n(26),o=(n.n(i),n(3)),a=n.n(o),s=n(204),l=n(205),c=n(206),u=wp.compose.useInstanceId,d=wp.components.BaseControl},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){Object(o.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}n.d(t,"a",function(){return c});var o=n(34),a=n(214),s={"":{plural_forms:function(e){return 1===e?0:1}}},l=/^i18n\.(n?gettext|has_translation)(_|$)/,c=function(e,t,n){var r=new a.a({}),o=new Set,c=function(){o.forEach(function(e){return e()})},u=function(e){return o.add(e),function(){return o.delete(e)}},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";return r.data[e]},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";r.data[t]=i(i(i({},s),r.data[t]),e),r.data[t][""]=i(i({},s[""]),r.data[t][""])},h=function(e,t){p(e,t),c()},m=function(e,t){r.data={},r.pluralForms={},h(e,t)},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return r.data[e]||p(void 0,e),r.dcnpgettext(e,t,n,i,o)},g=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default"},w=function(e,t){var r=f(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+g(t),r,e,t)):r},v=function(e,t,r){var i=f(r,t,e);return n?(i=n.applyFilters("i18n.gettext_with_context",i,e,t,r),n.applyFilters("i18n.gettext_with_context_"+g(r),i,e,t,r)):i},y=function(e,t,r,i){var o=f(i,void 0,e,t,r);return n?(o=n.applyFilters("i18n.ngettext",o,e,t,r,i),n.applyFilters("i18n.ngettext_"+g(i),o,e,t,r,i)):o},b=function(e,t,r,i,o){var a=f(o,i,e,t,r);return n?(a=n.applyFilters("i18n.ngettext_with_context",a,e,t,r,i,o),n.applyFilters("i18n.ngettext_with_context_"+g(o),a,e,t,r,i,o)):a},S=function(){return"rtl"===v("ltr","text direction")},E=function(e,t,i){var o,a,s=t?t+""+e:e,l=!(null===(o=r.data)||void 0===o||null===(a=o[null!==i&&void 0!==i?i:"default"])||void 0===a||!a[s]);return n&&(l=n.applyFilters("i18n.has_translation",l,e,t,i),l=n.applyFilters("i18n.has_translation_"+g(i),l,e,t,i)),l};if(e&&h(e,t),n){var _=function(e){l.test(e)&&c()};n.addAction("hookAdded","core/i18n",_),n.addAction("hookRemoved","core/i18n",_)}return{getLocaleData:d,setLocaleData:h,resetLocaleData:m,subscribe:u,__:w,_x:v,_n:y,_nx:b,isRTL:S,hasTranslation:E}}},function(e,t,n){"use strict";function r(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}t.a=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(88),i=(n.n(r),n(89)),o=(n.n(i),n(90),n(199),wp.i18n.setLocaleData);void 0!==window.exactmetrics_gutenberg_tool_vars.translations&&o(window.exactmetrics_gutenberg_tool_vars.translations,"google-analytics-dashboard-for-wp")},function(e,t){},function(e,t){},function(e,t,n){"use strict";n(91),n(148)},function(e,t,n){"use strict";var r=n(51),i=n.n(r),o=n(30),a=n.n(o),s=n(31),l=n.n(s),c=n(25),u=n(63),d=n.n(u),p=n(135),h=n(139),m=n(140),f=n(142),g=n(143),w=n(144),v=n(145),y=n(146),b=n(147),S=wp.i18n.__,E=wp.element,_=E.Fragment,C=E.useState,x=E.useEffect,k=wp.plugins.registerPlugin,O=wp.editPost,T=O.PluginSidebar,N=O.PluginSidebarMoreMenuItem,F=wp.data.select,M=function(e){var t=F("core/editor").getEditedPostAttribute("title"),n=S("Headline Analyzer","google-analytics-dashboard-for-wp"),r=S("Write your post title to see the analyzer data. This Headline Analyzer tool enables you to write irresistible SEO headlines that drive traffic, shares, and rank better in search results.","google-analytics-dashboard-for-wp"),o=C({}),s=l()(o,2),u=s[0],E=s[1],k=document.querySelector(".components-button[aria-label='"+n+"'] svg"),O=void 0!==u.previousHeadlinesData?u.previousHeadlinesData:[],M=sprintf(S("This headline analyzer is part of ExactMetrics to help you increase your traffic. See your %1swebsite traffic reports%2s.","google-analytics-dashboard-for-wp"),'<a href="'+exactmetrics_gutenberg_tool_vars.reports_url+'" className="exactmetrics-headline-analyzer-link">',"</a>"),j=document.querySelector(".exactmetrics-headline-analyzer-wrapper");if(k){var P=document.createElement("span");if(u.dataExist&&void 0!==u.currentHeadlineData.score){var D=u.currentHeadlineData.score,A=D<40?"red":D<=60?"orange":"green";k.parentNode.setAttribute("exactmetrics-button-color",A),k.nextElementSibling?k.nextElementSibling.innerHTML=D+"/100":(P.innerHTML=D+"/100",k.parentNode.insertBefore(P,k.nextSibling))}else k.parentNode.setAttribute("exactmetrics-button-color","red"),k.nextElementSibling?k.nextElementSibling.innerHTML="00/100":(P.innerHTML="00/100",k.parentNode.insertBefore(P,k.nextSibling))}if(j){var L=j.parentNode.querySelectorAll(".components-panel__header");L&&L.forEach(function(e){var t=e.querySelector('[aria-pressed="true"]');t&&null!==t&&(t.style.display="none")})}var B=function(e){E(a()({},u,e))};return x(function(){var e=new FormData;e.append("_ajax_nonce",exactmetrics_gutenberg_tool_vars.nonce),e.append("action","exactmetrics_gutenberg_headline_analyzer_get_results"),e.append("dataType","json"),e.append("q",t),d.a.post(exactmetrics_gutenberg_tool_vars.ajaxurl,e).then(function(e){var t={dataExist:!1};e.data.data.analysed&&(t.currentHeadlineData=e.data.data,t.headlineData=e.data.data,t.dataExist=!0,void 0!==u.headlineData&&(t.previousHeadlinesData=[u.headlineData].concat(i()(O)))),E(a()({},u,t))}).catch(function(e){var t={dataExist:!1};E(a()({},u,t)),console.log(e)})},[t]),wp.element.createElement(_,null,wp.element.createElement(N,{target:"exactmetrics-headline-analyzer"},n),wp.element.createElement(T,{name:"exactmetrics-headline-analyzer",title:n,className:"exactmetrics-headline-analyzer-wrapper",icon:c.a.headline},void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(p.a,{analyzer:u,setAnalyzer:B}):wp.element.createElement("p",{className:"exactmetrics-headline-analyzer-empty-title-warning"},r),void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed&&O.length>0?wp.element.createElement(h.a,{analyzer:u,setAnalyzer:B}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(m.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(f.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(g.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(w.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(v.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(y.a,{data:u.headlineData}):"",void 0!==u.headlineData&&u.dataExist&&u.headlineData.analysed?wp.element.createElement(b.a,{data:u.headlineData}):"",wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-bottom-notice"},wp.element.createElement("p",{dangerouslySetInnerHTML:{__html:M}}))))};"undefined"!=typeof exactmetrics_gutenberg_tool_vars&&exactmetrics_gutenberg_tool_vars.allowed_post_types.includes(exactmetrics_gutenberg_tool_vars.current_post_type)&&exactmetrics_gutenberg_tool_vars.is_headline_analyzer_enabled&&k("exactmetrics-headline-analyzer",{icon:c.a.headlineBlack,render:M})},function(e,t,n){e.exports={default:n(93),__esModule:!0}},function(e,t,n){n(27),n(101),e.exports=n(0).Array.from},function(e,t,n){var r=n(35),i=n(36);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(39),i=n(21),o=n(44),a={};n(11)(a,n(2)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(7),i=n(8),o=n(22);e.exports=n(5)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(10),i=n(58),o=n(99);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(35),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(6).document;e.exports=r&&r.documentElement},function(e,t,n){"use strict";var r=n(37),i=n(4),o=n(23),a=n(102),s=n(103),l=n(58),c=n(104),u=n(60);i(i.S+i.F*!n(105)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,d,p=o(e),h="function"==typeof this?this:Array,m=arguments.length,f=m>1?arguments[1]:void 0,g=void 0!==f,w=0,v=u(p);if(g&&(f=r(f,m>2?arguments[2]:void 0,2)),void 0==v||h==Array&&s(v))for(t=l(p.length),n=new h(t);t>w;w++)c(n,w,g?f(p[w],w):p[w]);else for(d=v.call(p),n=new h;!(i=d.next()).done;w++)c(n,w,g?a(d,f,[i.value,w],!0):i.value);return n.length=w,n}})},function(e,t,n){var r=n(8);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(14),i=n(2)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){"use strict";var r=n(7),i=n(21);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(2)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},function(e,t,n){e.exports={default:n(107),__esModule:!0}},function(e,t,n){n(108),e.exports=n(0).Object.assign},function(e,t,n){var r=n(4);r(r.S+r.F,"Object",{assign:n(109)})},function(e,t,n){"use strict";var r=n(5),i=n(22),o=n(45),a=n(24),s=n(23),l=n(57),c=Object.assign;e.exports=!c||n(13)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r})?function(e,t){for(var n=s(e),c=arguments.length,u=1,d=o.f,p=a.f;c>u;)for(var h,m=l(arguments[u++]),f=d?i(m).concat(d(m)):i(m),g=f.length,w=0;g>w;)h=f[w++],r&&!p.call(m,h)||(n[h]=m[h]);return n}:c},function(e,t,n){e.exports={default:n(111),__esModule:!0}},function(e,t,n){n(46),n(27),e.exports=n(115)},function(e,t,n){"use strict";var r=n(113),i=n(114),o=n(14),a=n(10);e.exports=n(52)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(61),i=n(2)("iterator"),o=n(14);e.exports=n(0).isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||o.hasOwnProperty(r(t))}},function(e,t,n){n(46),n(27),e.exports=n(117)},function(e,t,n){var r=n(8),i=n(60);e.exports=n(0).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){"use strict";function r(e){var t=new a(e),n=o(a.prototype.request,t);return i.extend(n,a.prototype,t),i.extend(n,t),n}var i=n(1),o=n(64),a=n(119),s=n(70),l=n(67),c=r(l);c.Axios=a,c.create=function(e){return r(s(c.defaults,e))},c.Cancel=n(71),c.CancelToken=n(133),c.isCancel=n(66),c.all=function(e){return Promise.all(e)},c.spread=n(134),e.exports=c,e.exports.default=c},function(e,t,n){"use strict";function r(e){this.defaults=e,this.interceptors={request:new a,response:new a}}var i=n(1),o=n(65),a=n(120),s=n(121),l=n(70);r.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=l(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},r.prototype.getUri=function(e){return e=l(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],function(e){r.prototype[e]=function(t,n){return this.request(i.merge(n||{},{method:e,url:t}))}}),i.forEach(["post","put","patch"],function(e){r.prototype[e]=function(t,n,r){return this.request(i.merge(r||{},{method:e,url:t,data:n}))}}),e.exports=r},function(e,t,n){"use strict";function r(){this.handlers=[]}var i=n(1);r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=r},function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var i=n(1),o=n(122),a=n(66),s=n(67);e.exports=function(e){return r(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),i.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return r(e),t.data=o(t.data,t.headers,e.transformResponse),t},function(t){return a(t)||(r(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function o(e){if(d===clearTimeout)return clearTimeout(e);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){f&&h&&(f=!1,h.length?m=h.concat(m):g=-1,m.length&&s())}function s(){if(!f){var e=i(a);f=!0;for(var t=m.length;t;){for(h=m,m=[];++g<t;)h&&h[g].run();g=-1,t=m.length}h=null,f=!1,o(e)}}function l(e,t){this.fun=e,this.array=t}function c(){}var u,d,p=e.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(e){u=n}try{d="function"==typeof clearTimeout?clearTimeout:r}catch(e){d=r}}();var h,m=[],f=!1,g=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new l(e,t)),1!==m.length||f||i(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.prependListener=c,p.prependOnceListener=c,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(69);e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(128),i=n(129);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(1),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},function(e,t,n){"use strict";var r=n(1);e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return t=e(window.location.href),function(n){var i=r.isString(n)?e(n):n;return i.protocol===t.protocol&&i.host===t.host}}():function(){return function(){return!0}}()},function(e,t,n){"use strict";var r=n(1);e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new i(e),t(n.reason))})}var i=n(71);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},e.exports=r},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";var r=n(31),i=n.n(r),o=n(3),a=n.n(o),s=n(136),l=n(137),c=n(138),u=wp.i18n.__,d=wp.element,p=d.Fragment,h=d.useState,m=d.useEffect,f=function(e){var t=u("Current Score","google-analytics-dashboard-for-wp"),n=u("Try New Headline","google-analytics-dashboard-for-wp"),r=h("current-score"),o=i()(r,2),d=o[0],f=o[1],g=function(){return f("current-score")},w=function(){return f("new-headline")},v=void 0!==e.analyzer.isNewData&&e.analyzer.isNewData;return m(function(){e.setAnalyzer({activeTab:d})},[d]),wp.element.createElement(p,null,wp.element.createElement("div",{className:"exactmetrics-inline-buttons"},wp.element.createElement("button",{onClick:g,className:a()("exactmetrics-switcher-button",{active:"current-score"===d})},t),wp.element.createElement("button",{onClick:w,className:a()("exactmetrics-switcher-button",{active:"new-headline"===d})},n)),"new-headline"===d?wp.element.createElement(l.a,{analyzer:e.analyzer,setAnalyzer:e.setAnalyzer}):wp.element.createElement(s.a,{analyzer:e.analyzer}),v?wp.element.createElement(c.a,{analyzer:e.analyzer}):"")};t.a=f},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(32),a=wp.i18n.__,s=wp.element.Fragment,l=wp.components,c=l.PanelBody,u=l.PanelRow,d=function(e){var t=e.analyzer.currentHeadlineData.sentence,n=a("Score","google-analytics-dashboard-for-wp"),r=a("A good score is between 40 and 60. For best results, you should strive for 70 and above.","google-analytics-dashboard-for-wp"),l=e.analyzer.currentHeadlineData.score,d=l<40?"red":l<=60?"orange":"green",p="red"===d?"#EB5757":"orange"===d?"#F2994A":"#1EC185";return wp.element.createElement(s,null,wp.element.createElement(c,{title:n},wp.element.createElement(u,null,wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-current-score-tab"},wp.element.createElement("h4",{className:"exactmetrics-headline-analyzer-current-title"},"“",t,"”"),wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-pie-chart-container"},wp.element.createElement("span",{className:i()("exactmetrics-headline-analyzer-current-score",d)},l),wp.element.createElement(o.a,{barScore:l,barColor:p})),wp.element.createElement("p",null,r)))))};t.a=d},function(e,t,n){"use strict";var r=n(51),i=n.n(r),o=n(63),a=n.n(o),s=wp.i18n.__,l=wp.element.Fragment,c=wp.components,u=c.PanelBody,d=c.PanelRow,p=c.TextControl,h=c.Button,m=function(e){var t=s("Try New Headline","google-analytics-dashboard-for-wp"),n=s("Enter a different headline than your post title to see how it compares.","google-analytics-dashboard-for-wp"),r=s("Analyze","google-analytics-dashboard-for-wp"),o=void 0!==e.analyzer.newHeadline?e.analyzer.newHeadline:"",c=void 0!==e.analyzer.previousHeadlinesData?e.analyzer.previousHeadlinesData:[],m=!o,f=function(t){var n=t.trim();if(n){var r=new FormData;r.append("_ajax_nonce",exactmetrics_gutenberg_tool_vars.nonce),r.append("action","exactmetrics_gutenberg_headline_analyzer_get_results"),r.append("dataType","json"),r.append("q",n),a.a.post(exactmetrics_gutenberg_tool_vars.ajaxurl,r).then(function(t){e.setAnalyzer({newHeadlineData:t.data.data,headlineData:t.data.data,previousHeadlinesData:[e.analyzer.headlineData].concat(i()(c)),isNewData:!0})}).catch(function(t){e.setAnalyzer({isNewData:!1}),console.log(t)})}};return wp.element.createElement(l,null,wp.element.createElement(u,{title:t},wp.element.createElement(d,null,wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-new-tab"},wp.element.createElement("form",{onSubmit:function(e){e.preventDefault(),f(o)}},wp.element.createElement(p,{label:n,value:o,onChange:function(t){" "!==t&&e.setAnalyzer({newHeadline:t})},className:"exactmetrics-headline-analyzer-input-field"}),wp.element.createElement(h,{className:"exactmetrics-headline-analyzer-button",isPrimary:!0,onClick:function(){f(o)},disabled:m},r))))))};t.a=m},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=n(32),a=wp.i18n.__,s=wp.element.Fragment,l=wp.components,c=l.PanelBody,u=l.PanelRow,d=function(e){var t=e.analyzer.currentHeadlineData.sentence,n=a("New Score","google-analytics-dashboard-for-wp"),r=a("A good score is between 40 and 60. For best results, you should strive for 70 and above.","google-analytics-dashboard-for-wp"),l=a("Current Score","google-analytics-dashboard-for-wp"),d=void 0!==e.analyzer.newHeadlineData?e.analyzer.newHeadlineData.sentence:"",p=void 0!==e.analyzer.newHeadlineData?e.analyzer.newHeadlineData.score:"",h=void 0!==e.analyzer.currentHeadlineData.score?e.analyzer.currentHeadlineData.score:"",m=p<40?"red":p<=60?"orange":"green",f="red"===m?"#EB5757":"orange"===m?"#F2994A":"#1EC185",g=h<40?"red-bg":h<=60?"orange-bg":"green-bg",w=Math.abs(p-h);return wp.element.createElement(s,null,wp.element.createElement(c,{title:n},wp.element.createElement(u,null,wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-new-score-panel"},wp.element.createElement("p",null,r),wp.element.createElement("h4",null,"“",d,"”"),wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-pie-chart-container"},wp.element.createElement("span",{className:i()("exactmetrics-headline-analyzer-new-score",m)},p),wp.element.createElement(o.a,{barScore:p,barColor:f})),wp.element.createElement("div",{className:"current-score"},wp.element.createElement("span",{className:i()("exactmetrics-headline-analyzer-score-difference",m)},p>h?"+ ":p===h?"":"- ",w),wp.element.createElement("h5",null,l),wp.element.createElement("span",{className:i()("exactmetrics-headline-analyzer-score",g)},h),wp.element.createElement("p",null,"“",t,"”"))))))};t.a=d},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=wp.i18n.__,a=wp.element.Fragment,s=wp.components,l=s.PanelBody,c=s.PanelRow,u=function(e){var t=o("Previous Scores","google-analytics-dashboard-for-wp"),n="undefined"!==e.analyzer.previousHeadlinesData?e.analyzer.previousHeadlinesData:[],r=document.querySelector(".edit-post-sidebar"),s="undefined"!==e.analyzer.activeTab?e.analyzer.activeTab:"current-score",u="current-score"===s?390:300,d=function(t){e.setAnalyzer({newHeadlineData:n[t],headlineData:n[t],newHeadline:n[t].sentence,isNewData:!0}),r&&(r.scrollTop=u)};return wp.element.createElement(a,null,wp.element.createElement(l,{title:t},wp.element.createElement(c,null,wp.element.createElement("ul",{className:"exactmetrics-headline-analyzer-previous-scores"},n.map(function(e,t){if(t<10&&(void 0!==e.sentence||void 0!==e.score)){var n=e.score<40?"red-bg":e.score<=60?"orange-bg":"green-bg";return wp.element.createElement("li",{key:t,onClick:function(){return d(t)}},wp.element.createElement("span",{className:i()("exactmetrics-headline-analyzer-score",n)},e.score),e.sentence)}})))))};t.a=u},function(e,t,n){"use strict";var r=n(25),i=n(3),o=n.n(i),a=n(141),s=wp.i18n.__,l=wp.element.Fragment,c=wp.components,u=c.PanelBody,d=c.PanelRow,p=function(e){var t=s("Word Balance","google-analytics-dashboard-for-wp"),n=s("Compare the percentages of your results to the goal for each category and adjust as necessary.","google-analytics-dashboard-for-wp"),i=e.data.score<40?"red":e.data.score<=60?"orange":"green",c=(e.data.score<40||e.data.score,0===e.data.result.common_words_per?"red":e.data.result.common_words_per<.2?"orange":"green"),p=0===e.data.result.common_words_per?"red-bg":e.data.result.common_words_per<.2?"orange-bg":"green-bg",h=s("Your headline would be more likely to get clicks if it had more uncommon words.","google-analytics-dashboard-for-wp"),m=e.data.result.common_words_per<.2?h:s("Headlines with 20-30% common words are more likely to get clicks.","google-analytics-dashboard-for-wp"),f=0===e.data.result.uncommon_words_per?"red":e.data.result.uncommon_words_per<.1?"orange":"green",g=0===e.data.result.uncommon_words_per?"red-bg":e.data.result.uncommon_words_per<.1?"orange-bg":"green-bg",w=e.data.result.uncommon_words_per<.1?h:s("Headlines with uncommon words are more likely to get clicks.","google-analytics-dashboard-for-wp"),v=0===e.data.result.emotion_words_per?"red":e.data.result.emotion_words_per<.1?"orange":"green",y=0===e.data.result.emotion_words_per?"red-bg":e.data.result.emotion_words_per<.1?"orange-bg":"green-bg",b=s("Emotionally triggered headlines are likely to drive more clicks.","google-analytics-dashboard-for-wp"),S=0===e.data.result.power_words.length?"orange":"green",E=0===e.data.result.power_words.length?"orange":"green-bg",_=s("Headlines with Power Words are more likely to get clicks.","google-analytics-dashboard-for-wp"),C=s("Common Words","google-analytics-dashboard-for-wp"),x=s("20-30%","google-analytics-dashboard-for-wp"),k=s("Uncommon Words","google-analytics-dashboard-for-wp"),O=s("10-20%","google-analytics-dashboard-for-wp"),T=s("Emotional Words","google-analytics-dashboard-for-wp"),N=s("10-15%","google-analytics-dashboard-for-wp"),F=s("Power Words","google-analytics-dashboard-for-wp"),M=s("At least one","google-analytics-dashboard-for-wp");return wp.element.createElement(l,null,wp.element.createElement(u,{title:t,className:o()("exactmetrics-headline-analyzer-panel-word-balance","exactmetrics-headline-analyzer-panel-has-icon",i),icon:"green"===i?r.a.check:r.a.warning},wp.element.createElement(d,null,wp.element.createElement("h4",null,e.data.result.word_balance),wp.element.createElement("p",null,n),wp.element.createElement(a.a,{title:C,value:Math.round(100*e.data.result.common_words_per),goalValue:x,words:e.data.result.common_words,guideLine:m,classOnScore:c,classOnScoreBg:p}),wp.element.createElement(a.a,{title:k,value:Math.round(100*e.data.result.uncommon_words_per),goalValue:O,words:e.data.result.uncommon_words,guideLine:w,classOnScore:f,classOnScoreBg:g}),wp.element.createElement(a.a,{title:T,value:Math.round(100*e.data.result.emotion_words_per),goalValue:N,words:e.data.result.emotion_words,guideLine:b,classOnScore:v,classOnScoreBg:y}),wp.element.createElement(a.a,{title:F,value:Math.round(100*e.data.result.power_words_per),goalValue:M,words:e.data.result.power_words,guideLine:_,classOnScore:S,classOnScoreBg:E}))))};t.a=p},function(e,t,n){"use strict";var r=n(3),i=n.n(r),o=wp.i18n.__,a=function(e){var t=o("Goal: ","google-analytics-dashboard-for-wp"),n={width:e.value+"%"};return wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-words-block"},wp.element.createElement("h5",null,e.title),wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-words-block-data"},wp.element.createElement("span",{className:i()("exactmetrics-headline-analyzer-words-block-percentage",e.classOnScore)},e.value,"%"),wp.element.createElement("span",{className:"exactmetrics-headline-analyzer-words-block-goal"},wp.element.createElement("strong",null,t),e.goalValue),wp.element.createElement("span",{className:"exactmetrics-headline-analyzer-words-block-progressbar"},wp.element.createElement("span",{className:"exactmetrics-headline-analyzer-progressbar-bg"}),wp.element.createElement("span",{className:i()("exactmetrics-headline-analyzer-progressbar-part",e.classOnScoreBg),style:n}))),wp.element.createElement("ul",{className:"exactmetrics-headline-analyzer-words-tag-list"},e.words.length>0?e.words.map(function(e,t){return wp.element.createElement("li",{key:t},e)}):""),wp.element.createElement("p",{className:"exactmetrics-headline-analyzer-words-guideline"},e.guideLine))};t.a=a},function(e,t,n){"use strict";var r=n(25),i=n(3),o=n.n(i),a=wp.i18n.__,s=wp.element.Fragment,l=wp.components,c=l.PanelBody,u=l.PanelRow,d=function(e){var t=a("Your headline has a neutral sentiment.","google-analytics-dashboard-for-wp"),n=a("Headlines that are strongly positive or negative tend to get more engagement then neutral ones.","google-analytics-dashboard-for-wp"),i=a("Your headline has a positive sentiment.","google-analytics-dashboard-for-wp"),l=a("Positive headlines tend to get better engagement than neutral or negative ones.","google-analytics-dashboard-for-wp"),d=a("Your headline has a negative sentiment.","google-analytics-dashboard-for-wp"),p=a("Negative headlines are attention-grabbing and tend to perform better than neutral ones.","google-analytics-dashboard-for-wp"),h=a("Sentiment","google-analytics-dashboard-for-wp"),m="neu"===e.data.result.sentiment?a("Neutral","google-analytics-dashboard-for-wp"):"pos"===e.data.result.sentiment?a("Positive","google-analytics-dashboard-for-wp"):a("Negative","google-analytics-dashboard-for-wp"),f="neu"===e.data.result.sentiment?r.a.neutral:"pos"===e.data.result.sentiment?r.a.smile:r.a.negative,g="neu"===e.data.result.sentiment?"orange":"pos"===e.data.result.sentiment?"green":"red";return wp.element.createElement(s,null,wp.element.createElement(c,{title:h,className:o()("exactmetrics-headline-analyzer-panel-sentiment","exactmetrics-headline-analyzer-panel-has-icon",g),icon:f},wp.element.createElement(u,null,wp.element.createElement("h4",null,m),"neu"===e.data.result.sentiment?wp.element.createElement("p",null,t," ",wp.element.createElement("br",null),wp.element.createElement("br",null)," ",n):"","pos"===e.data.result.sentiment?wp.element.createElement("p",null,i," ",wp.element.createElement("br",null),wp.element.createElement("br",null)," ",l):"","neg"===e.data.result.sentiment?wp.element.createElement("p",null,d," ",wp.element.createElement("br",null),wp.element.createElement("br",null)," ",p):"")))};t.a=d},function(e,t,n){"use strict";var r=wp.i18n,i=r.__,o=r.sprintf,a=wp.element.Fragment,s=wp.components,l=s.PanelBody,c=s.PanelRow,u=function(e){var t=e.data.result.headline_types.join(", "),n=i("Headline Type","google-analytics-dashboard-for-wp"),r=wp.element.createElement("span",{className:"exactmetrics-headline-analyzer-panel-types-title"},n,wp.element.createElement("span",null,t)),s=o(i("Headlines that are lists and how-to get more engagement on average than other types of headlines. %1sRead more about %2sdifferent types of headlines here.%3s","google-analytics-dashboard-for-wp"),"<br/><br/>",'<a href="https://optinmonster.com/why-these-21-headlines-went-viral-and-how-you-can-copy-their-success/" target="_blank" className="exactmetrics-headline-analyzer-link">',"</a>");return wp.element.createElement(a,null,wp.element.createElement(l,{title:r,className:"exactmetrics-headline-analyzer-panel-types"},wp.element.createElement(c,null,wp.element.createElement("h4",null,t),wp.element.createElement("p",{dangerouslySetInnerHTML:{__html:s}}))))};t.a=u},function(e,t,n){"use strict";var r=n(25),i=n(3),o=n.n(i),a=n(32),s=wp.i18n.__,l=wp.element.Fragment,c=wp.components,u=c.PanelBody,d=c.PanelRow,p=function(e){var t=s("Character Count","google-analytics-dashboard-for-wp"),n=e.data.result.length,i=n>=66?100:Math.round(1.51*n),c="",p="",h="#1EC185",m="";return n<=19?(c="red",h="#EB5757"):n>=20&&n<=34?(c="orange",h="#F2994A"):n>=35&&n<=66?(c="green",h="#1EC185"):n>=67&&n<=79?(c="orange",h="#F2994A"):n>=80&&(c="red",h="#EB5757"),n<=34?(p=s("Too Short","google-analytics-dashboard-for-wp"),m=s("You have space to add more keywords and power words to boost your rankings and click-through rate.","google-analytics-dashboard-for-wp")):n>=35&&n<=66?(p=s("Good","google-analytics-dashboard-for-wp"),m=s("Headlines that are about 55 characters long will display fully in search results and tend to get more clicks.","google-analytics-dashboard-for-wp")):n>=67&&(p=s("Too Long","google-analytics-dashboard-for-wp"),m=s("At this length, it will get cut off in search results. Try reducing it to about 55 characters.","google-analytics-dashboard-for-wp")),wp.element.createElement(l,null,wp.element.createElement(u,{title:t,className:o()("exactmetrics-headline-analyzer-panel-character-count","exactmetrics-headline-analyzer-panel-has-icon",c),icon:"green"===c?r.a.check:r.a.warning},wp.element.createElement(d,null,wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-pie-chart-container"},wp.element.createElement("span",{className:o()("exactmetrics-headline-analyzer-character-length",c)},n),wp.element.createElement(a.a,{barScore:i,barColor:h}),wp.element.createElement("span",{className:"exactmetrics-headline-analyzer-status-on-character-length"},p)),wp.element.createElement("p",null,m))))};t.a=p},function(e,t,n){"use strict";var r=n(25),i=n(3),o=n.n(i),a=n(32),s=wp.i18n.__,l=wp.element.Fragment,c=wp.components,u=c.PanelBody,d=c.PanelRow,p=function(e){var t=s("Word Count","google-analytics-dashboard-for-wp"),n=e.data.result.word_count,i=n>=10?100:Math.round(10*n),c="",p="",h="#1EC185",m="";return n<=4?(c="red",h="#EB5757",p=s("Not Enough Words","google-analytics-dashboard-for-wp"),m=s("Your headline doesn’t use enough words. You have more space to add keywords and power words to improve your SEO and get more engagement.","google-analytics-dashboard-for-wp")):n>=5&&n<=9?(c="green",h="#1EC185",p=s("Good","google-analytics-dashboard-for-wp"),m=s("Your headline has the right amount of words. Headlines are more likely to be clicked on in search results if they have about 6 words.","google-analytics-dashboard-for-wp")):n>=10&&n<=11?(c="orange",h="#F2994A",p=s("Reduce Word Count","google-analytics-dashboard-for-wp")):(c="red",h="#EB5757",p=s("Too Many Words","google-analytics-dashboard-for-wp"),m=s("Your headline has too many words. Long headlines will get cut off in search results and won’t get as many clicks.","google-analytics-dashboard-for-wp")),wp.element.createElement(l,null,wp.element.createElement(u,{title:t,className:o()("exactmetrics-headline-analyzer-panel-word-count","exactmetrics-headline-analyzer-panel-has-icon",c),icon:"green"===c?r.a.check:r.a.warning},wp.element.createElement(d,null,wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-pie-chart-container"},wp.element.createElement("span",{className:o()("exactmetrics-headline-analyzer-word-length",c)},n),wp.element.createElement(a.a,{barScore:i,barColor:h}),wp.element.createElement("span",{className:"exactmetrics-headline-analyzer-status-on-word-length"},p)),wp.element.createElement("p",null,m))))};t.a=p},function(e,t,n){"use strict";var r=wp.i18n.__,i=wp.element.Fragment,o=wp.components,a=o.PanelBody,s=o.PanelRow,l=function(e){var t=r("Beginning & Ending Words","google-analytics-dashboard-for-wp"),n=e.data.result.input_array_orig,o=r("Most readers only look at the first and last 3 words of a headline before deciding whether to click.","google-analytics-dashboard-for-wp"),l="",c="";return n.length>=6?(l=n.slice(0,3).join(" "),c=n.slice(-3).join(" ")):n.length>3&&n.length<=5?(l=n.slice(0,3).join(" "),c=n.slice(3).join(" ")):l=n.slice(0,3).join(" "),wp.element.createElement(i,null,wp.element.createElement(a,{title:t,className:"exactmetrics-headline-analyzer-panel-beginning-ending-words"},wp.element.createElement(s,null,l?wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-words beginning"},wp.element.createElement("span",null,l)):"",c?wp.element.createElement("div",{className:"exactmetrics-headline-analyzer-words ending"},wp.element.createElement("span",null,c)):"",wp.element.createElement("p",{className:"exactmetrics-headline-analyzer-words-guideline"},o))))};t.a=l},function(e,t,n){"use strict";var r=n(30),i=n.n(r),o=wp.i18n.__,a=wp.element.Fragment,s=wp.components,l=s.PanelBody,c=s.PanelRow,u=wp.data.select,d=function(e){var t=o("Search Preview","google-analytics-dashboard-for-wp"),n=o("Here is how your headline will look like in google search results page.","google-analytics-dashboard-for-wp"),r=u("core/editor").getPermalink(),s={href:r};return wp.element.createElement(a,null,wp.element.createElement(l,{title:t,className:"exactmetrics-headline-analyzer-panel-search-preview"},wp.element.createElement(c,null,wp.element.createElement("h4",null,e.data.sentence),wp.element.createElement("p",{className:"exactmetrics-headline-analyzer-post-url"},wp.element.createElement("a",i()({},s,{target:"_blank"}),r)),wp.element.createElement("p",null,n))))};t.a=d},function(e,t,n){"use strict";var r=n(31),i=n.n(r),o=n(149),a=n(150),s=wp.components.ToggleControl,l=wp.plugins.registerPlugin,c=wp.data,u=c.dispatch,d=c.select,p=wp.i18n.__,h=wp.editPost.PluginDocumentSettingPanel,m=wp.element,f=m.useState,g=m.Fragment;l("exactmetrics-exclude-page-tracking",{render:function(){var e=window.exactmetrics_gutenberg_tool_vars;if(!e||"1"!==e.supports_custom_fields||"1"!==e.public_post_type)return wp.element.createElement(g,null);var t=d("core/editor").getEditedPostAttribute("meta")||[];t._mi_skip_tracking||(t._mi_skip_tracking=!1);var n=f(!!t._mi_skip_tracking),r=i()(n,2),l=r[0],c=r[1];return wp.element.createElement(h,{name:"exactmetrics-skip-tracking",title:"ExactMetrics",className:"exactmetrics-skip-tracking-wrapper",icon:"mi"},wp.element.createElement(s,{checked:l,help:p("Toggle to prevent Google Analytics from tracking this page.","google-analytics-dashboard-for-wp"),label:p("Exclude page from Google Analytics Tracking","google-analytics-dashboard-for-wp"),disabled:"lite"===e.license_type,onChange:function(e){c(!!e),u("core/editor").editPost({meta:{_mi_skip_tracking:e}})}}),wp.element.createElement(a.a,{addonInstalled:e.page_insights_addon_active,hidden:l}),wp.element.createElement(o.a,{license:e.license_type,upgrade_url:e.upgrade_url}))}})},function(e,t,n){"use strict";var r=wp.i18n.__,i=wp.element.Fragment,o=function(e){if("lite"!==e.license)return wp.element.createElement(i,null);var t={description:r("This is a PRO feature.","google-analytics-dashboard-for-wp"),upgrade:r("Upgrade","google-analytics-dashboard-for-wp")};return wp.element.createElement(i,null,wp.element.createElement("div",{className:"exactmetrics-metabox-pro-badge"},wp.element.createElement("span",null,wp.element.createElement("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M6.57617 1.08203L4.92578 4.45898L1.19336 4.99219C0.533203 5.09375 0.279297 5.90625 0.761719 6.38867L3.42773 9.00391L2.79297 12.6855C2.69141 13.3457 3.40234 13.8535 3.98633 13.5488L7.3125 11.7969L10.6133 13.5488C11.1973 13.8535 11.9082 13.3457 11.8066 12.6855L11.1719 9.00391L13.8379 6.38867C14.3203 5.90625 14.0664 5.09375 13.4062 4.99219L9.69922 4.45898L8.02344 1.08203C7.74414 0.498047 6.88086 0.472656 6.57617 1.08203Z",fill:"#31862D"})),t.description),wp.element.createElement("div",{className:"exactmetrics-metabox-pro-badge-upgrade"},wp.element.createElement("a",{href:e.upgrade_url,target:"_blank",rel:"noopener"},t.upgrade))))};t.a=o},function(e,t,n){"use strict";var r=n(151),i=n.n(r),o=n(62),a=n.n(o),s=n(31),l=n.n(s),c=n(15),u=n.n(c),d=n(16),p=n.n(d),h=n(17),m=n.n(h),f=n(18),g=n.n(f),w=n(19),v=n.n(w),y=n(179),b=n(20),S=n(196),E=n(197),_=n(198),C=wp.i18n.__,x=function(e){function t(){p()(this,t);var e=g()(this,(t.__proto__||u()(t)).call(this));return e.showPageInsightsClick=function(){e.setState({showBtnClicked:!0})},e.hidePageInsightsClick=function(){e.setState({showBtnClicked:!1})},e.tabclick=function(t){var n=e.state.tabs,r=!0,o=!1,s=void 0;try{for(var c,u=a()(i()(n));!(r=(c=u.next()).done);r=!0){var d=c.value,p=l()(d,2),h=p[0];p[1];n[h]=h===t}}catch(e){o=!0,s=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw s}}e.setState({tabs:n})},e.state={showBtnClicked:!1,tabs:{last30days:!0,yesterday:!1}},e.texts={last30days:C("Last 30 days","google-analytics-dashboard-for-wp"),yesterday:C("Yesterday","google-analytics-dashboard-for-wp"),bouncerate:C("Bounce Rate","google-analytics-dashboard-for-wp"),timeonpage:C("Time On Page","google-analytics-dashboard-for-wp"),loadingtime:C("Load Time","google-analytics-dashboard-for-wp"),entrances:C("Entrances","google-analytics-dashboard-for-wp"),pageviews:C("Page Views","google-analytics-dashboard-for-wp"),exits:C("Exits","google-analytics-dashboard-for-wp")},e}return v()(t,e),m()(t,[{key:"is_v4",value:function(){return exactmetrics_gutenberg_tool_vars&&"1"===exactmetrics_gutenberg_tool_vars.is_v4}},{key:"render",value:function(){return this.props.hidden?wp.element.createElement(Fragment,null):wp.element.createElement("div",{className:"exactmetrics-metabox lite",id:"exactmetrics-metabox-page-insights"},!this.state.showBtnClicked&&wp.element.createElement(S.a,{onClick:this.showPageInsightsClick}),wp.element.createElement("div",{id:"exactmetrics-page-insights-content",className:this.state.showBtnClicked?"active":""},wp.element.createElement("div",{className:"exactmetrics-page-insights__tabs"},wp.element.createElement(y.a,{text:this.texts.last30days,tab:"tab-last-30-days-content",active:this.state.tabs.last30days,onClick:this.tabclick,interval:"last30days"}),wp.element.createElement(y.a,{text:this.texts.yesterday,tab:"tab-yesterday-content",active:this.state.tabs.yesterday,onClick:this.tabclick,interval:"yesterday"})),wp.element.createElement("div",{className:"exactmetrics-page-insights-tabs-content"},wp.element.createElement("div",{className:"exactmetrics-page-insights-tabs-content__tab active",id:"tab-last-30-days-content"},wp.element.createElement("div",{className:"exactmetrics-page-insights-tabs-content__tab-items"},!this.is_v4()&&wp.element.createElement(_.a,{value:"53.40%",label:this.texts.bouncerate}),wp.element.createElement(_.a,{value:"1m 43s",label:this.texts.timeonpage}),!this.is_v4()&&wp.element.createElement(_.a,{value:"3.9s",label:this.texts.loadingtime}),wp.element.createElement(_.a,{value:"19056",label:this.texts.entrances}),wp.element.createElement(_.a,{value:"26558",label:this.texts.pageviews}),wp.element.createElement(_.a,{value:"13428",label:this.texts.exits}))))),this.state.showBtnClicked&&wp.element.createElement(E.a,{onClick:this.hidePageInsightsClick}))}}]),t}(b.a);t.a=x},function(e,t,n){e.exports={default:n(152),__esModule:!0}},function(e,t,n){n(153),e.exports=n(0).Object.entries},function(e,t,n){var r=n(4),i=n(154)(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},function(e,t,n){var r=n(5),i=n(22),o=n(10),a=n(24).f;e.exports=function(e){return function(t){for(var n,s=o(t),l=i(s),c=l.length,u=0,d=[];c>u;)n=l[u++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}}},function(e,t,n){n(156),e.exports=n(0).Object.getPrototypeOf},function(e,t,n){var r=n(23),i=n(59);n(157)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){var r=n(4),i=n(0),o=n(13);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(e,t,n){n(159);var r=n(0).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(4);r(r.S+r.F*!n(5),"Object",{defineProperty:n(7).f})},function(e,t,n){e.exports={default:n(161),__esModule:!0}},function(e,t,n){n(27),n(46),e.exports=n(47).f("iterator")},function(e,t,n){e.exports={default:n(163),__esModule:!0}},function(e,t,n){n(164),n(169),n(170),n(171),e.exports=n(0).Symbol},function(e,t,n){"use strict";var r=n(6),i=n(9),o=n(5),a=n(4),s=n(55),l=n(165).KEY,c=n(13),u=n(42),d=n(44),p=n(29),h=n(2),m=n(47),f=n(48),g=n(166),w=n(167),v=n(8),y=n(12),b=n(23),S=n(10),E=n(38),_=n(21),C=n(39),x=n(168),k=n(75),O=n(45),T=n(7),N=n(22),F=k.f,M=T.f,j=x.f,P=r.Symbol,D=r.JSON,A=D&&D.stringify,L=h("_hidden"),B=h("toPrimitive"),z={}.propertyIsEnumerable,R=u("symbol-registry"),H=u("symbols"),I=u("op-symbols"),q=Object.prototype,V="function"==typeof P&&!!O.f,W=r.QObject,Z=!W||!W.prototype||!W.prototype.findChild,U=o&&c(function(){return 7!=C(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=F(q,t);r&&delete q[t],M(e,t,n),r&&e!==q&&M(q,t,r)}:M,Y=function(e){var t=H[e]=C(P.prototype);return t._k=e,t},X=V&&"symbol"==typeof P.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof P},G=function(e,t,n){return e===q&&G(I,t,n),v(e),t=E(t,!0),v(n),i(H,t)?(n.enumerable?(i(e,L)&&e[L][t]&&(e[L][t]=!1),n=C(n,{enumerable:_(0,!1)})):(i(e,L)||M(e,L,_(1,{})),e[L][t]=!0),U(e,t,n)):M(e,t,n)},K=function(e,t){v(e);for(var n,r=g(t=S(t)),i=0,o=r.length;o>i;)G(e,n=r[i++],t[n]);return e},$=function(e,t){return void 0===t?C(e):K(C(e),t)},J=function(e){var t=z.call(this,e=E(e,!0));return!(this===q&&i(H,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(H,e)||i(this,L)&&this[L][e])||t)},Q=function(e,t){if(e=S(e),t=E(t,!0),e!==q||!i(H,t)||i(I,t)){var n=F(e,t);return!n||!i(H,t)||i(e,L)&&e[L][t]||(n.enumerable=!0),n}},ee=function(e){for(var t,n=j(S(e)),r=[],o=0;n.length>o;)i(H,t=n[o++])||t==L||t==l||r.push(t);return r},te=function(e){for(var t,n=e===q,r=j(n?I:S(e)),o=[],a=0;r.length>a;)!i(H,t=r[a++])||n&&!i(q,t)||o.push(H[t]);return o};V||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===q&&t.call(I,n),i(this,L)&&i(this[L],e)&&(this[L][e]=!1),U(this,e,_(1,n))};return o&&Z&&U(q,e,{configurable:!0,set:t}),Y(e)},s(P.prototype,"toString",function(){return this._k}),k.f=Q,T.f=G,n(74).f=x.f=ee,n(24).f=J,O.f=te,o&&!n(28)&&s(q,"propertyIsEnumerable",J,!0),m.f=function(e){return Y(h(e))}),a(a.G+a.W+a.F*!V,{Symbol:P});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ne.length>re;)h(ne[re++]);for(var ie=N(h.store),oe=0;ie.length>oe;)f(ie[oe++]);a(a.S+a.F*!V,"Symbol",{for:function(e){return i(R,e+="")?R[e]:R[e]=P(e)},keyFor:function(e){if(!X(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){Z=!0},useSimple:function(){Z=!1}}),a(a.S+a.F*!V,"Object",{create:$,defineProperty:G,defineProperties:K,getOwnPropertyDescriptor:Q,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ae=c(function(){O.f(1)});a(a.S+a.F*ae,"Object",{getOwnPropertySymbols:function(e){return O.f(b(e))}}),D&&a(a.S+a.F*(!V||c(function(){var e=P();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!X(e))return w(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!X(t))return t}),r[1]=t,A.apply(D,r)}}),P.prototype[B]||n(11)(P.prototype,B,P.prototype.valueOf),d(P,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(29)("meta"),i=n(12),o=n(9),a=n(7).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(13)(function(){return l(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},p=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},h=function(e){return c&&m.NEED&&l(e)&&!o(e,r)&&u(e),e},m=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:p,onFreeze:h}},function(e,t,n){var r=n(22),i=n(45),o=n(24);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(40);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(10),i=n(74).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},function(e,t){},function(e,t,n){n(48)("asyncIterator")},function(e,t,n){n(48)("observable")},function(e,t,n){e.exports={default:n(173),__esModule:!0}},function(e,t,n){n(174),e.exports=n(0).Object.setPrototypeOf},function(e,t,n){var r=n(4);r(r.S,"Object",{setPrototypeOf:n(175).set})},function(e,t,n){var r=n(12),i=n(8),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(37)(Function.call,n(75).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){e.exports={default:n(177),__esModule:!0}},function(e,t,n){n(178);var r=n(0).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(4);r(r.S,"Object",{create:n(39)})},function(e,t,n){"use strict";var r=n(15),i=n.n(r),o=n(16),a=n.n(o),s=n(17),l=n.n(s),c=n(18),u=n.n(c),d=n(19),p=n.n(d),h=n(20),m=(wp.i18n.__,function(e){function t(e){a()(this,t);var n=u()(this,(t.__proto__||i()(t)).call(this,e));return n.handleClick=function(){n.props.onClick(n.props.interval)},n}return p()(t,e),l()(t,[{key:"render",value:function(){return wp.element.createElement("a",{href:"#",className:"exactmetrics-page-insights__tabs-tab "+(this.props.active?"active":""),"data-tab":"this.props.tab",onClick:this.handleClick},this.props.text)}}]),t}(h.a));t.a=m},function(e,t,n){"use strict";n(181),n(78),n(79),n(33)},function(e,t,n){"use strict";function r(e,t){return Object(i.a)(e)||Object(o.a)(e,t)||Object(a.a)(e,t)||Object(s.a)()}t.a=r;var i=n(182),o=n(183),a=n(76),s=n(184)},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}t.a=r},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.a=r},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return Object(i.a)(e)}t.a=r;var i=n(77)},function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}t.a=r},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}t.a=r},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}t.a=r},function(e,t,n){"use strict";var r=n(190);n.n(r)},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";var r=n(26);n.n(r)},function(e,t,n){"use strict"},function(e,t,n){"use strict";var r=(n(34),n(49),n(78),n(26)),i=(n.n(r),n(194),n(33)),o=(n(81),Object(i.e)(void 0));o.Provider,o.Consumer,Object(i.g)(function(){return null}),new Set(["string","boolean","number"]),new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"])},function(e,t,n){"use strict";function r(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&amp;")}function i(e){return e.replace(/"/g,"&quot;")}function o(e){return e.replace(/</g,"&lt;")}function a(e){return Object(c.a)(i(r(e)))}function s(e){return o(r(e))}function l(e){return!u.test(e)}t.a=a,t.b=s,t.c=l;var c=n(195),u=/[\u007F-\u009F "'>\/="\uFDD0-\uFDEF]/},function(e,t,n){"use strict";function r(e){return e.replace(/>/g,"&gt;")}t.a=r},function(e,t,n){"use strict";var r=n(15),i=n.n(r),o=n(16),a=n.n(o),s=n(17),l=n.n(s),c=n(18),u=n.n(c),d=n(19),p=n.n(d),h=n(20),m=wp.i18n.__,f=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||i()(t)).call(this));return e.state={},e.btn_show_text=m("Show Page Insights","google-analytics-dashboard-for-wp"),e}return p()(t,e),l()(t,[{key:"render",value:function(){return wp.element.createElement("a",{className:"button",href:"#",id:"exactmetrics_show_page_insights",onClick:this.props.onClick},this.btn_show_text)}}]),t}(h.a);t.a=f},function(e,t,n){"use strict";var r=n(15),i=n.n(r),o=n(16),a=n.n(o),s=n(17),l=n.n(s),c=n(18),u=n.n(c),d=n(19),p=n.n(d),h=n(20),m=wp.i18n.__,f=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||i()(t)).call(this));return e.state={},e.btn_text=m("Hide Page Insights","google-analytics-dashboard-for-wp"),e}return p()(t,e),l()(t,[{key:"render",value:function(){return wp.element.createElement("a",{className:"button",href:"#",id:"exactmetrics_hide_page_insights",onClick:this.props.onClick},this.btn_text)}}]),t}(h.a);t.a=f},function(e,t,n){"use strict";var r=n(15),i=n.n(r),o=n(16),a=n.n(o),s=n(17),l=n.n(s),c=n(18),u=n.n(c),d=n(19),p=n.n(d),h=n(20),m=(wp.i18n.__,function(e){function t(e){return a()(this,t),u()(this,(t.__proto__||i()(t)).call(this,e))}return p()(t,e),l()(t,[{key:"render",value:function(){return wp.element.createElement("div",{className:"exactmetrics-page-insights-tabs-content__tab-item"},wp.element.createElement("div",{className:"exactmetrics-page-insights-tabs-content__tab-item__result"},wp.element.createElement("span",null,this.props.value)),wp.element.createElement("div",{className:"exactmetrics-page-insights-tabs-content__tab-item__title"},this.props.label))}}]),t}(h.a));t.a=m},function(e,t,n){"use strict";n(200),n(207)},function(e,t,n){"use strict";var r=n(82),i=n.n(r),o=n(83),a=n.n(o),s=n(30),l=n.n(s),c=n(203),u=n(84),d=wp.i18n.__,p=wp.blocks.registerBlockType,h=wp,m=h.apiFetch,f=wp.data,g=f.registerStore,w=f.withSelect,v=wp.blockEditor.InspectorControls,y=wp.components,b=y.PanelBody,S=y.PanelRow,E=y.TextControl,_=y.ColorPalette,C=y.RangeControl,x=window.exactmetrics_gutenberg_tool_vars,k={setThemes:function(e){return{type:"SET_THEMES",themes:e}},receiveThemes:function(e){return{type:"RECEIVE_THEMES",path:e}}};g("exactmetrics/v1/popular-posts/inline",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{themes:{}},t=arguments[1];switch(t.type){case"SET_THEMES":return l()({},e,{themes:t.themes})}return e},actions:k,selectors:{receiveThemes:function(e){return e.themes}},controls:{RECEIVE_THEMES:function(e){return m({path:e.path})}},resolvers:{receiveThemes:a.a.mark(function e(t){var n,r;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k.receiveThemes("/exactmetrics/v1/popular-posts/themes/inline");case 2:if(n=e.sent,void 0===n.themes){e.next=6;break}for(r in n.themes)n.themes.hasOwnProperty(r)&&(n.themes[r].value=r);return e.abrupt("return",k.setThemes(n));case 6:case"end":return e.stop()}},e,this)})}}),p("exactmetrics/popular-posts-inline",{title:d("Inline Popular Posts","google-analytics-dashboard-for-wp"),description:d("Add inline popular posts from ExactMetrics","google-analytics-dashboard-for-wp"),category:"widgets",icon:c.a.inlinepop,keywords:[d("Popular","google-analytics-dashboard-for-wp"),d("Posts","google-analytics-dashboard-for-wp"),d("Inline","google-analytics-dashboard-for-wp"),"ExactMetrics"],example:{},attributes:{theme:{type:"string"},title_size:{type:"number"},title_color:{type:"string"},label_color:{type:"string"},label_text:{type:"string"},label_background:{type:"string"},background_color:{type:"string"},background_border:{type:"string"},icon_background:{type:"string"},icon_color:{type:"string"},border_color:{type:"string"},border_color2:{type:"string"}},edit:w(function(e){return{themes:e("exactmetrics/v1/popular-posts/inline").receiveThemes()}})(function(e){var t=e.attributes,n=t.theme,r=(t.title_size,t.title_color,t.label_color,t.label_text,t.label_background,t.background_color,t.background_border,t.icon_background,t.icon_color,t.border_color,t.border_color2,e.themes),o=e.setAttributes,a=[{name:"pink",color:"#F58EA8"},{name:"red",color:"#CD3034"},{name:"orange",color:"#FD6A21"},{name:"yellow",color:"#FBB82B"},{name:"green",color:"#7FDBB6"},{name:"green",color:"#21CF86"},{name:"blue",color:"#91D2FA"},{name:"blue",color:"#1B95E0"},{name:"purple",color:"#9A57DD"},{name:"gray",color:"#EEEEEE"},{name:"gray",color:"#ACB8C3"},{name:"black",color:"#000000"}],s=void 0!==r.themes?r.themes:{},l=void 0===e.attributes.theme?r.selected:n,p=void 0!==l&&void 0!==s[l]?s[l]:{},h=void 0!==p.styles?p.styles:{},m={};for(var f in h)if(h.hasOwnProperty(f))for(var g in h[f])if(h[f].hasOwnProperty(g)){var w=f+"_"+g;void 0===e.attributes[w]?m[w]=h[f][g]:m[w]=e.attributes[w]}var y=function(e,t){var n=m[t];return wp.element.createElement(C,{key:"exactmetrics-popular-posts-input"+t,label:e,value:parseInt(n),min:1,max:100,onChange:function(e){return o(i()({},t,""===e?"":parseInt(e)))}})},k=function(e,t){var n=m[t];return wp.element.createElement(E,{key:"exactmetrics-popular-posts-input"+t,label:e,type:"text",value:n,onChange:function(e){return o(i()({},t,e))}})},O=function(e,t){var n=m[t];return[wp.element.createElement("label",{key:"exactmetrics-popular-posts-label"+t},e),wp.element.createElement(_,{key:"exactmetrics-popular-posts-input"+t,value:n,colors:a,onChange:function(e){o(i()({},t,e))}})]};return[wp.element.createElement(v,{key:"exactmetrics-popular-posts-inline-inspector-controls"},wp.element.createElement(b,{title:d("Theme","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-inline-theme"},wp.element.createElement(S,{key:"exactmetrics-popular-posts-inline-theme-row"},wp.element.createElement(u.a,{id:"exactmetrics-popular-posts-inline-theme",options:s,selected:l,icons:c.a,onChange:function(e){o({theme:e})}}))),function(){if(void 0!==h.title){var e=[];return void 0!==h.title.size&&e.push(y(d("Title Font Size","google-analytics-dashboard-for-wp"),"title_size")),void 0!==h.title.color&&e.push(O(d("Title Color","google-analytics-dashboard-for-wp"),"title_color")),wp.element.createElement(b,{title:d("Title Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-inline-title"},e)}}(),function(){if(void 0!==h.label){var e=[];return void 0!==h.label.text&&e.push(k(d("Label Text","google-analytics-dashboard-for-wp"),"label_text")),void 0!==h.label.color&&e.push(O(d("Label Color","google-analytics-dashboard-for-wp"),"label_color")),void 0!==h.label.background&&e.push(O(d("Label Background","google-analytics-dashboard-for-wp"),"label_background")),wp.element.createElement(b,{title:d("Label Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-inline-label"}," ",e," ")}}(),function(){var e=[];if(void 0!==h.border&&void 0!==h.border.color&&e.push(O(d("Border Color","google-analytics-dashboard-for-wp"),"border_color")),void 0!==h.border&&void 0!==h.border.color2&&e.push(O(d("Bottom Border Color","google-analytics-dashboard-for-wp"),"border_color2")),void 0!==h.background&&void 0!==h.background.border&&e.push(O(d("Border Color","google-analytics-dashboard-for-wp"),"background_border")),0!==e.length)return wp.element.createElement(b,{title:d("Border Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-inline-border"}," ",e," ")}(),function(){if(void 0!==h.background&&void 0!==h.background.color){var e=[];return void 0!==h.background.color&&e.push(O(d("Background Color","google-analytics-dashboard-for-wp"),"background_color")),wp.element.createElement(b,{title:d("Background Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-inline-background"}," ",e," ")}}(),function(){if(void 0!==h.icon){var e=[];return void 0!==h.icon.color&&e.push(O(d("Icon Color","google-analytics-dashboard-for-wp"),"icon_color")),void 0!==h.icon.background&&e.push(O(d("Icon Background Color","google-analytics-dashboard-for-wp"),"icon_background")),wp.element.createElement(b,{title:d("Icon Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-inline-icon"}," ",e," ")}}()),wp.element.createElement("div",{key:"exactmetrics-popular-posts-inline-preview"},wp.element.createElement("div",{className:"exactmetrics-inline-popular-posts-widget exactmetrics-inline-popular-posts-"+l,style:{backgroundColor:m.background_color,borderColor:m.background_border}},function(){if(void 0!==p.image&&p.image){var e=void 0!==h.image?h.image:"theme-preview-image.jpg";return wp.element.createElement("div",{className:"exactmetrics-inline-popular-posts-image"},wp.element.createElement("img",{src:x.vue_assets_path+"img/"+e}))}}(),wp.element.createElement("div",{className:"exactmetrics-inline-popular-posts-text"},function(){if(void 0!==h.icon)return wp.element.createElement("span",{className:"exactmetrics-inline-popular-posts-icon",style:{backgroundColor:m.icon_background}},c.a.themeIcon(m.icon_color))}(),function(){if(void 0!==h.label)return wp.element.createElement("span",{style:{color:m.label_color,backgroundColor:m.label_background},className:"exactmetrics-inline-popular-posts-label"},m.label_text)}(),function(){if(void 0!==h.border&&void 0!==h.border.color)return wp.element.createElement("span",{className:"exactmetrics-inline-popular-posts-border",style:{borderColor:m.border_color}})}(),function(){if(void 0!==h.title&&void 0===p.list&&void 0!==h.title.text)return wp.element.createElement("a",{href:"#",className:"exactmetrics-inline-popular-posts-title",style:{color:m.title_color,fontSize:m.title_size+"px"}},h.title.text)}(),function(){if(void 0!==p.list){var e=[];for(var t in p.list)e.push(wp.element.createElement("li",{key:"exactmetrics-popular-posts-preview-list-item-"+t,style:{color:m.title_color,fontSize:m.title_size+"px"}},p.list[t]));return wp.element.createElement("ul",{className:"exactmetrics-inline-popular-posts-list"},e)}}(),function(){if(void 0!==h.border&&void 0!==h.border.color2)return wp.element.createElement("span",{className:"exactmetrics-inline-popular-posts-border-2",style:{borderColor:m.border_color2}})}())))]}),save:function(e){return null}})},function(e,t,n){var r=function(){return this}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(202),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function n(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),s=new h(r||[]);return a._invoke=c(e,n,s),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function o(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function l(e){function t(n,i,o,a){var s=r(e[n],e,i);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&v.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,o,a)},function(e){t("throw",e,o,a)}):Promise.resolve(c).then(function(e){l.value=e,o(l)},a)}a(s.arg)}function n(e,n){function r(){return new Promise(function(r,i){t(e,n,r,i)})}return i=i?i.then(r,r):r()}var i;this._invoke=n}function c(e,t,n){var i=x;return function(o,a){if(i===O)throw new Error("Generator is already running");if(i===T){if("throw"===o)throw a;return f()}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var l=u(s,n);if(l){if(l===N)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===x)throw i=T,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=O;var c=r(e,t,n);if("normal"===c.type){if(i=n.done?T:k,c.arg===N)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=T,n.method="throw",n.arg=c.arg)}}}function u(e,t){var n=e.iterator[t.method];if(n===g){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=g,u(e,t),"throw"===t.method))return N;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return N}var i=r(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,N;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=g),t.delegate=null,N):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,N)}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function p(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function h(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function m(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(v.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=g,t.done=!0,t};return r.next=r}}return{next:f}}function f(){return{value:g,done:!0}}var g,w=Object.prototype,v=w.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},b=y.iterator||"@@iterator",S=y.asyncIterator||"@@asyncIterator",E=y.toStringTag||"@@toStringTag",_="object"==typeof e,C=t.regeneratorRuntime;if(C)return void(_&&(e.exports=C));C=t.regeneratorRuntime=_?e.exports:{},C.wrap=n;var x="suspendedStart",k="suspendedYield",O="executing",T="completed",N={},F={};F[b]=function(){return this};var M=Object.getPrototypeOf,j=M&&M(M(m([])));j&&j!==w&&v.call(j,b)&&(F=j);var P=a.prototype=i.prototype=Object.create(F);o.prototype=P.constructor=a,a.constructor=o,a[E]=o.displayName="GeneratorFunction",C.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===o||"GeneratorFunction"===(t.displayName||t.name))},C.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,E in e||(e[E]="GeneratorFunction")),e.prototype=Object.create(P),e},C.awrap=function(e){return{__await:e}},s(l.prototype),l.prototype[S]=function(){return this},C.AsyncIterator=l,C.async=function(e,t,r,i){var o=new l(n(e,t,r,i));return C.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},s(P),P[E]="Generator",P[b]=function(){return this},P.toString=function(){return"[object Generator]"},C.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},C.values=m,h.prototype={constructor:h,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.method="next",this.arg=g,this.tryEntries.forEach(p),!e)for(var t in this)"t"===t.charAt(0)&&v.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=g)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return o.type="throw",o.arg=e,n.next=t,r&&(n.method="next",n.arg=g),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=v.call(i,"catchLoc"),s=v.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&v.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,N):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),N},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),p(n),N}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;p(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:m(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=g),N}}}(function(){return this}()||Function("return this")())},function(e,t,n){"use strict";var r={};r.inlinepop=wp.element.createElement("svg",{width:"20",height:"16",viewBox:"0 0 20 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0H20V2H0V0ZM20 14V16H0V14H20ZM2 4C0.895431 4 0 4.89543 0 6V10C0 11.1046 0.895431 12 2 12H6C7.10457 12 8 11.1046 8 10V6C8 4.89543 7.10457 4 6 4H2ZM10 5H20V7H10V5ZM18 9H10V11H18V9Z",fill:"#555D66"})),r.alpha=wp.element.createElement("svg",{width:"70",height:"38",viewBox:"0 0 70 38",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"37.8947",rx:"3",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"5.72728",y:"19.8947",width:"58.5455",height:"8.52632",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{x:"5.72728",y:"7.57892",width:"17.1818",height:"8.52632",rx:"3",fill:"#8453F7"})),r.beta=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"31",y:"21",width:"32",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{x:"31",y:"10",width:"18",height:"9",rx:"3",fill:"#8453F7"}),wp.element.createElement("rect",{x:"7",y:"10",width:"20",height:"20",rx:"3",fill:"#8453F7"}),wp.element.createElement("rect",{x:"1.5",y:"1.5",width:"67",height:"37",rx:"1.5",stroke:"#F0EAFE",strokeWidth:"3"})),r.charlie=wp.element.createElement("svg",{width:"70",height:"28",viewBox:"0 0 70 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"16",y:"19",width:"54",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{y:"11",width:"70",height:"3",rx:"1.5",fill:"#D1BFFC"}),wp.element.createElement("rect",{width:"26",height:"7",rx:"3",fill:"#8453F7"}),wp.element.createElement("circle",{cx:"4.5",cy:"23.5",r:"4.5",fill:"#6528F5"})),r.delta=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"8",y:"21",width:"54",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{x:"22",y:"9",width:"18",height:"9",rx:"3",fill:"#8453F7"}),wp.element.createElement("path",{d:"M12.0303 9.5625C12.4613 8.8125 13.5387 8.8125 13.9697 9.5625L17.8483 16.3125C18.2793 17.0625 17.7406 18 16.8787 18H9.12134C8.25942 18 7.72072 17.0625 8.15168 16.3125L12.0303 9.5625Z",fill:"#8453F7"}),wp.element.createElement("rect",{x:"1.5",y:"1.5",width:"67",height:"37",rx:"1.5",stroke:"#F0EAFE",strokeWidth:"3"})),r.echo=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"24.8182",y:"16",width:"39.4545",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{x:"5.72728",y:"16",width:"15.2727",height:"9",rx:"3",fill:"#8453F7"})),r.foxtrot=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"26",y:"22",width:"44",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{x:"26",y:"9",width:"28",height:"9",rx:"3",fill:"#8453F7"}),wp.element.createElement("rect",{y:"9",width:"22",height:"22",rx:"3",fill:"#8453F7"})),r.golf=wp.element.createElement("svg",{width:"70",height:"29",viewBox:"0 0 70 29",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{y:"11",width:"70",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{y:"26",width:"70",height:"3",rx:"1.5",fill:"#D1BFFC"}),wp.element.createElement("rect",{width:"21",height:"7",rx:"3",fill:"#8453F7"}),wp.element.createElement("rect",{x:"25",y:"1",width:"45",height:"3",rx:"1.5",fill:"#D1BFFC"})),r.hotel=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"22",y:"16",width:"40",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("path",{d:"M12.0303 16.5625C12.4613 15.8125 13.5387 15.8125 13.9697 16.5625L17.8483 23.3125C18.2793 24.0625 17.7406 25 16.8787 25H9.12134C8.25942 25 7.72072 24.0625 8.15168 23.3125L12.0303 16.5625Z",fill:"#8453F7"})),r.india=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("g",{clipPath:"url(#clip0)"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"26",y:"16",width:"36",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{x:"8",y:"16",width:"14",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{y:"41",width:"41",height:"4",transform:"rotate(-90 0 41)",fill:"#8453F7"})),wp.element.createElement("defs",null,wp.element.createElement("clipPath",{id:"clip0"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"white"})))),r.juliett=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"30",y:"20",width:"32",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("path",{d:"M50 14C50 12.3431 51.3431 11 53 11H60C61.1046 11 62 11.8954 62 13V15C62 16.6569 60.6569 18 59 18H53C51.3431 18 50 16.6569 50 15V14Z",fill:"#8453F7"}),wp.element.createElement("rect",{x:"30",y:"11",width:"32",height:"4",rx:"2",fill:"#8453F7"}),wp.element.createElement("rect",{x:"8",y:"11",width:"18",height:"18",rx:"3",fill:"#8453F7"})),r.kilo=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{y:"22",width:"70",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{y:"9",width:"26",height:"9",rx:"3",fill:"#8453F7"}),wp.element.createElement("rect",{width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"12.7273",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"25.4545",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"38.1818",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"50.9091",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"63.6364",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{y:"37",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"12.7273",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"25.4545",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"38.1818",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"50.9091",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"63.6364",y:"37",width:"6.36364",height:"3",rx:"1",fill:"#D1BFFC"})),r.lima=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"6",y:"22",width:"32",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{x:"6",y:"8",width:"20",height:"9",rx:"3",fill:"#8453F7"}),wp.element.createElement("rect",{x:"42",y:"9",width:"22",height:"22",rx:"3",fill:"#8453F7"})),r.mike=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"70",height:"40",rx:"3",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"35",y:"15",width:"27",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M28.8438 28H10.1562C9.55729 28 9.04818 27.7934 8.62891 27.3802C8.20964 26.967 8 26.4653 8 25.875V22.3C8 21.0297 9.02974 20 10.3 20H21.7C22.9703 20 24 18.9703 24 17.7V13.3C24 12.0297 25.0297 11 26.3 11H28.8438C29.4427 11 29.9518 11.2066 30.3711 11.6198C30.7904 12.033 31 12.5347 31 13.125V25.875C31 26.4653 30.7904 26.967 30.3711 27.3802C29.9518 27.7934 29.4427 28 28.8438 28ZM10.3 11C9.02974 11 8 12.0297 8 13.3V15.7C8 16.9703 9.02974 18 10.3 18H19.7C20.9703 18 22 16.9703 22 15.7V13.3C22 12.0297 20.9703 11 19.7 11H10.3Z",fill:"#8453F7"})),r.november=wp.element.createElement("svg",{width:"70",height:"40",viewBox:"0 0 70 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"29",y:"22",width:"33",height:"9",rx:"3",fill:"#6528F5"}),wp.element.createElement("rect",{x:"29",y:"9",width:"18",height:"9",rx:"3",fill:"#8453F7"}),wp.element.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 28C21.4183 28 25 24.4183 25 20C25 15.5817 21.4183 12 17 12C12.5817 12 9 15.5817 9 20C9 24.4183 12.5817 28 17 28ZM20.544 21.8756L17.5907 16.7081C17.3281 16.2488 16.6719 16.2488 16.4093 16.7081L13.456 21.8756C13.1935 22.3349 13.5217 22.9091 14.0467 22.9091H19.9533C20.4783 22.9091 20.8065 22.3349 20.544 21.8756Z",fill:"#8453F7"}),wp.element.createElement("rect",{x:"1.5",y:"1.5",width:"67",height:"37",rx:"1.5",stroke:"#F0EAFE",strokeWidth:"3"})),r.themeIcon=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#EB5757";return wp.element.createElement("svg",{width:"14",height:"19",viewBox:"0 0 14 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M7.875 0.899463C7.875 1.59183 8.0816 2.24711 8.49479 2.8653C8.93229 3.48349 9.44271 4.06458 10.026 4.60859C10.6337 5.15259 11.2292 5.73369 11.8125 6.35188C12.4201 6.97007 12.9306 7.76135 13.3438 8.72572C13.7812 9.66537 14 10.7163 14 11.8785C14 13.832 13.3073 15.5011 11.9219 16.8858C10.5608 18.2953 8.92014 19 7 19C5.07986 19 3.42708 18.2953 2.04167 16.8858C0.680556 15.5011 0 13.832 0 11.8785C0 9.94973 0.668403 8.28062 2.00521 6.87116C2.27257 6.57443 2.58854 6.50024 2.95312 6.64861C3.31771 6.79697 3.5 7.08134 3.5 7.50171V10.6545C3.5 11.3221 3.71875 11.8908 4.15625 12.3607C4.61806 12.8305 5.16493 13.0654 5.79688 13.0654C6.45312 13.0654 7.01215 12.8428 7.47396 12.3978C7.93576 11.9279 8.16667 11.3592 8.16667 10.6916C8.16667 10.2712 8.04514 9.86318 7.80208 9.46754C7.58333 9.0719 7.31597 8.71336 7 8.3919C6.68403 8.07044 6.34375 7.73662 5.97917 7.39043C5.63889 7.04425 5.34722 6.66097 5.10417 6.2406C4.88542 5.82024 4.73958 5.35041 4.66667 4.83114C4.59375 4.31186 4.67882 3.68131 4.92188 2.93948C5.18924 2.17293 5.63889 1.33219 6.27083 0.417277C6.51389 0.0463641 6.84201 -0.0772735 7.25521 0.0463641C7.6684 0.170002 7.875 0.454368 7.875 0.899463Z",fill:e}))},t.a=r},function(e,t,n){"use strict";var r={};r.canaccess=function(e){return"lite"===e},t.a=r},function(e,t,n){"use strict";var r={};r.checkmark=wp.element.createElement("svg",{width:"24",height:"20",viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M21.0565 2.94355C23.0188 4.87903 24 7.23118 24 10C24 12.7688 23.0188 15.1344 21.0565 17.0968C19.121 19.0323 16.7688 20 14 20C11.2312 20 8.86559 19.0323 6.90323 17.0968C4.96774 15.1344 4 12.7688 4 10C4 7.23118 4.96774 4.87903 6.90323 2.94355C8.86559 0.981183 11.2312 0 14 0C16.7688 0 19.121 0.981183 21.0565 2.94355ZM12.8306 15.2823L20.25 7.8629C20.5726 7.5672 20.5726 7.27151 20.25 6.97581L19.3629 6.04839C19.0403 5.75269 18.7312 5.75269 18.4355 6.04839L12.3871 12.0968L9.56452 9.27419C9.26882 8.97849 8.95968 8.97849 8.6371 9.27419L7.75 10.2016C7.42742 10.4973 7.42742 10.793 7.75 11.0887L11.9435 15.2823C12.2392 15.6048 12.5349 15.6048 12.8306 15.2823Z",fill:"#6528f5"})),r.chevronright=wp.element.createElement("svg",{width:"5",height:"8",viewBox:"0 0 5 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M4.84913 3.68807L1.19048 0.12844C1.10247 0.0428134 0.995599 -4.3519e-08 0.869873 -3.80233e-08C0.744146 -3.25276e-08 0.637278 0.0428134 0.549269 0.12844L0.134371 0.53211C0.0463618 0.617737 0.00235741 0.721713 0.00235742 0.844037C-0.0102153 0.966361 0.0275028 1.07034 0.115512 1.15596L3.03866 4L0.115512 6.84404C0.0275031 6.92966 -0.010215 7.03364 0.00235769 7.15596C0.0023577 7.27829 0.0463621 7.38226 0.134371 7.46789L0.549269 7.87156C0.637278 7.95719 0.744146 8 0.869873 8C0.9956 8 1.10247 7.95719 1.19048 7.87156L4.84913 4.31193C4.94971 4.2263 5 4.12232 5 4C5 3.87768 4.94971 3.7737 4.84913 3.68807Z",fill:"#C4C4C4"})),r.chevronleft=wp.element.createElement("svg",{width:"5",height:"8",viewBox:"0 0 5 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M0.150873 3.68807L3.80952 0.12844C3.89753 0.0428134 4.0044 -4.3519e-08 4.13013 -3.80233e-08C4.25585 -3.25276e-08 4.36272 0.0428134 4.45073 0.12844L4.86563 0.53211C4.95364 0.617737 4.99764 0.721713 4.99764 0.844037C5.01022 0.966361 4.9725 1.07034 4.88449 1.15596L1.96134 4L4.88449 6.84404C4.9725 6.92966 5.01021 7.03364 4.99764 7.15596C4.99764 7.27829 4.95364 7.38226 4.86563 7.46789L4.45073 7.87156C4.36272 7.95719 4.25585 8 4.13013 8C4.0044 8 3.89753 7.95719 3.80952 7.87156L0.150873 4.31193C0.0502914 4.2263 2.96645e-07 4.12232 3.01992e-07 4C3.07339e-07 3.87768 0.0502914 3.7737 0.150873 3.68807Z",fill:"#C4C4C4"})),t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function f(e,t){if(null==e)return{};var n,r,i=m(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function v(e){var t=h();return function(){var n,r=d(e);if(t){var i=d(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return w(this,n)}}function y(e){return b(e)||S(e)||E(e)||C()}function b(e){if(Array.isArray(e))return _(e)}function S(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function E(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function C(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function x(e,t){return t={exports:{}},e(t,t.exports),t.exports}function k(){}function O(){}function T(e){return e.map(function(e){return!1===e?null:e}).join(" ").replace(/\s+/g," ").trim()}function N(e,t){return 100/e*t/t}function F(e,t){return 100*e/t}function M(e){return"".concat(e,"%")}function j(e,t,n){if(e===t)return!0;var r=ie[re(e)],i=ie[re(t)];return!(!r||r!==i)&&r(e,t,n)}function P(e){return function(t,n,r){if(!r)return e(t,n,[]);for(var i,o=r.length;i=r[--o];)if(i[0]===t&&i[1]===n)return!0;return e(t,n,r)}}function D(e,t,n){var r=e.length;if(r!==t.length)return!1;for(n.push([e,t]);r--;)if(!j(e[r],t[r],n))return!1;return!0}function A(e,t,n){if("function"==typeof e.equal)return n.push([e,t]),e.equal(t,n);var r=L(e),i=L(t),o=r.length;if(o!==i.length)return!1;for(r.sort(),i.sort();o--;)if(r[o]!==i[o])return!1;for(n.push([e,t]),o=r.length;o--;){var a=r[o];if(!j(e[a],t[a],n))return!1}return!0}function L(e){var t=[];for(var n in e)"constructor"!==n&&t.push(n);return t}function B(e){return!!e&&"object"==typeof e}function z(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||R(e)}function R(e){return e.$$typeof===le}function H(e){return Array.isArray(e)?[]:{}}function I(e,t){return!1!==t.clone&&t.isMergeableObject(e)?W(H(e),e,t):e}function q(e,t,n){return e.concat(t).map(function(e){return I(e,n)})}function V(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){r[t]=I(e[t],n)}),Object.keys(t).forEach(function(i){n.isMergeableObject(t[i])&&e[i]?r[i]=W(e[i],t[i],n):r[i]=I(t[i],n)}),r}function W(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||q,n.isMergeableObject=n.isMergeableObject||ae;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):V(e,t,n):I(t,n)}function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return{}},n=function(n){function r(e,n){var s;return o(this,r),s=a.call(this,e,n),s.state=t(i({},n.state)),s.updateStateProps=s.updateStateProps.bind(g(s)),s}u(r,n);var a=v(r);return s(r,[{key:"componentDidMount",value:function(){this.context.subscribe(this.updateStateProps)}},{key:"shouldComponentUpdate",value:function(e,t){return!oe(t,this.state)||!oe(e,this.props)}},{key:"componentWillUnmount",value:function(){this.context.unsubscribe(this.updateStateProps)}},{key:"updateStateProps",value:function(){this.setState(t(i({},this.context.state)))}},{key:"render",value:function(){var t=this,n=de(this.state,this.props);return Y.a.createElement(e,c({ref:function(e){t.instance=e}},n,{carouselStore:{getStoreState:this.context.getStoreState,masterSpinnerError:this.context.masterSpinnerError,masterSpinnerSuccess:this.context.masterSpinnerSuccess,setStoreState:this.context.setStoreState,subscribeMasterSpinner:this.context.subscribeMasterSpinner,unsubscribeAllMasterSpinner:this.context.unsubscribeAllMasterSpinner,unsubscribeMasterSpinner:this.context.unsubscribeMasterSpinner}}),this.props.children)}}]),r}(Y.a.Component);return l(n,"contextType",pe),l(n,"propTypes",{children:J.children}),l(n,"defaultProps",{children:null}),n}n.d(t,"a",function(){return Fe}),n.d(t,"b",function(){return Be}),n.d(t,"c",function(){return we}),n.d(t,"d",function(){return Je}),n.d(t,"e",function(){return St}),n.d(t,"f",function(){return Tt});var U=n(80),Y=n.n(U),X="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";O.resetWarningCache=k;var G=function(){function e(e,t,n,r,i,o){if(o!==X){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:O,resetWarningCache:k};return n.PropTypes=n,n},K=x(function(e){e.exports=G()}),$="loading",J={children:K.oneOfType([K.arrayOf(K.node),K.node]),direction:K.oneOf(["forward","backward"]),height:function(e,t){var n=e[t];return"vertical"!==e.orientation||null!==n&&"number"==typeof n?null:new Error("Missing required property '".concat(t,"' when orientation is vertical. You must supply a number representing the height in pixels"))},orientation:K.oneOf(["horizontal","vertical"]),isBgImage:function(e,t){return!0===e[t]&&"img"===e.tag?new Error("HTML img elements should not have a backgroundImage. Please use ".concat(t," for other block-level HTML tags, like div, a, section, etc...")):null}},Q=function(e){var t=e.min,n=e.max,r=e.x;return Math.min(n,Math.max(t,r))},ee={buttonBack:"buttonBack___1mlaL"},te=["carouselStore","className","currentSlide","disabled","onClick","step","totalSlides","visibleSlides","infinite"],ne=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnClick=r.handleOnClick.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.currentSlide,i=t.onClick,o=t.step,a=t.infinite,s=t.visibleSlides,l=t.totalSlides-s,c=Math.max(r-o,0);a&&(c=0===r?l:c),n.setStoreState({currentSlide:c,isPlaying:!1},null!==i&&i.call(this,e))}},{key:"render",value:function(){var e=this.props,n=(e.carouselStore,e.className),r=(e.currentSlide,e.disabled,e.onClick,e.step,e.totalSlides,e.visibleSlides,e.infinite),i=f(e,te),o=T([ee.buttonBack,"carousel__back-button",n]),a=t.setDisabled(this.props.disabled,this.props.currentSlide,r);return Y.a.createElement("button",c({type:"button","aria-label":"previous",className:o,onClick:this.handleOnClick,disabled:a},i),this.props.children)}}],[{key:"setDisabled",value:function(e,t,n){return null!==e?e:0===t&&!n}}]),t}(Y.a.Component);l(ne,"propTypes",{carouselStore:K.object.isRequired,children:J.children.isRequired,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,step:K.number.isRequired,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired,infinite:K.bool}),l(ne,"defaultProps",{className:null,disabled:null,onClick:null,infinite:!1});var re=x(function(e,t){var n={}.toString,r="undefined"!=typeof window?window.Node:Function;e.exports=t=function(e){var t=typeof e;if("object"!=t)return t;if("object"==(t=i[n.call(e)]))return e instanceof Map?"map":e instanceof Set?"set":"object";if(t)return t;if(e instanceof r)switch(e.nodeType){case 1:return"element";case 3:return"text-node";case 9:return"document";case 11:return"document-fragment";default:return"dom-node"}};var i=t.types={"[object Function]":"function","[object Date]":"date","[object RegExp]":"regexp","[object Arguments]":"arguments","[object Array]":"array","[object Set]":"set","[object String]":"string","[object Null]":"null","[object Undefined]":"undefined","[object Number]":"number","[object Boolean]":"boolean","[object Object]":"object","[object Map]":"map","[object Text]":"text-node","[object Uint8Array]":"bit-array","[object Uint16Array]":"bit-array","[object Uint32Array]":"bit-array","[object Uint8ClampedArray]":"bit-array","[object Error]":"error","[object FormData]":"form-data","[object File]":"file","[object Blob]":"blob"}}),ie=(re.types,{});ie.number=function(e,t){return e!==e&&t!==t},ie.function=function(e,t,n){return e.toString()===t.toString()&&ie.object(e,t,n)&&j(e.prototype,t.prototype)},ie.date=function(e,t){return+e==+t},ie.regexp=function(e,t){return e.toString()===t.toString()},ie.element=function(e,t){return e.outerHTML===t.outerHTML},ie.textnode=function(e,t){return e.textContent===t.textContent},ie.arguments=ie["bit-array"]=ie.array=P(D),ie.object=P(A);var oe=j,ae=function(e){return B(e)&&!z(e)},se="function"==typeof Symbol&&Symbol.for,le=se?Symbol.for("react.element"):60103;W.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return W(e,n,t)},{})};var ce,ue,de=W,pe=Y.a.createContext(),he=function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach(function(n){!t.hasOwnProperty(n)||null===t[n]||"object"!=typeof t[n]&&"function"!=typeof t[n]||Object.isFrozen(t[n])||e(t[n])}),t},me={masterSpinnerFinished:!1},fe=function(){function e(t){o(this,e),this.state=he(de(me,t)),this.subscriptions=[],this.masterSpinnerSubscriptions={},this.setStoreState=this.setStoreState.bind(this),this.getStoreState=this.getStoreState.bind(this),this.subscribe=this.subscribe.bind(this),this.unsubscribe=this.unsubscribe.bind(this),this.updateSubscribers=this.updateSubscribers.bind(this),this.subscribeMasterSpinner=this.subscribeMasterSpinner.bind(this),this.unsubscribeMasterSpinner=this.unsubscribeMasterSpinner.bind(this),this.unsubscribeAllMasterSpinner=this.unsubscribeAllMasterSpinner.bind(this),this.masterSpinnerSuccess=this.masterSpinnerSuccess.bind(this),this.masterSpinnerError=this.masterSpinnerError.bind(this)}return s(e,[{key:"setStoreState",value:function(e,t){this.state=he(de(this.state,e)),this.updateSubscribers(t)}},{key:"getStoreState",value:function(){return de({},this.state)}},{key:"subscribe",value:function(e){this.subscriptions.push(e)}},{key:"unsubscribe",value:function(e){var t=this.subscriptions.indexOf(e);-1!==t&&this.subscriptions.splice(t,1)}},{key:"updateSubscribers",value:function(e){this.subscriptions.forEach(function(e){return e()}),"function"==typeof e&&e(this.getStoreState())}},{key:"subscribeMasterSpinner",value:function(e){-1===Object.keys(this.masterSpinnerSubscriptions).indexOf(e)&&(this.masterSpinnerSubscriptions[e]={success:!1,error:!1,complete:!1})}},{key:"unsubscribeMasterSpinner",value:function(e){return-1!==Object.keys(this.masterSpinnerSubscriptions).indexOf(e)&&(this.setMasterSpinnerFinished(),delete this.masterSpinnerSubscriptions[e])}},{key:"unsubscribeAllMasterSpinner",value:function(){this.masterSpinnerSubscriptions={},this.setMasterSpinnerFinished()}},{key:"masterSpinnerSuccess",value:function(e){this.masterSpinnerSubscriptions[e].success=!0,this.masterSpinnerSubscriptions[e].complete=!0,this.setMasterSpinnerFinished()}},{key:"masterSpinnerError",value:function(e){this.masterSpinnerSubscriptions[e].error=!0,this.masterSpinnerSubscriptions[e].complete=!0,this.setMasterSpinnerFinished()}},{key:"setMasterSpinnerFinished",value:function(){this.setStoreState({masterSpinnerFinished:this.isMasterSpinnerFinished()})}},{key:"isMasterSpinnerFinished",value:function(){var e=this;return 0===Object.keys(this.masterSpinnerSubscriptions).filter(function(t){return!0!==e.masterSpinnerSubscriptions[t].complete}).length}}]),e}(),ge=["children","className","currentSlide","disableAnimation","disableKeyboard","hasMasterSpinner","interval","isPageScrollLocked","isPlaying","lockOnWindowScroll","naturalSlideHeight","naturalSlideWidth","orientation","playDirection","step","dragStep","tag","totalSlides","touchEnabled","dragEnabled","visibleSlides","infinite","isIntrinsicHeight"],we=(ue=ce=function(e){function t(e){var r;if(o(this,t),r=n.call(this,e),e.isIntrinsicHeight&&"horizontal"!==e.orientation)throw Error('isIntrinsicHeight can only be used in "horizontal" orientation. See Readme for more information.');var i={currentSlide:e.currentSlide,disableAnimation:e.disableAnimation,disableKeyboard:e.disableKeyboard,hasMasterSpinner:e.hasMasterSpinner,imageErrorCount:0,imageSuccessCount:0,interval:e.interval,isPageScrollLocked:e.isPageScrollLocked,isPlaying:e.isPlaying,lockOnWindowScroll:e.lockOnWindowScroll,masterSpinnerThreshold:0,naturalSlideHeight:e.naturalSlideHeight,naturalSlideWidth:e.naturalSlideWidth,orientation:e.orientation,playDirection:e.playDirection,privateUnDisableAnimation:!1,slideSize:N(e.totalSlides,e.visibleSlides),slideTraySize:F(e.totalSlides,e.visibleSlides),step:e.step,dragStep:e.dragStep,totalSlides:e.totalSlides,touchEnabled:e.touchEnabled,dragEnabled:e.dragEnabled,visibleSlides:e.visibleSlides,infinite:e.infinite,isIntrinsicHeight:e.isIntrinsicHeight};return r.carouselStore=new fe(i),r}u(t,e);var n=v(t);return s(t,[{key:"componentDidUpdate",value:function(e){var t=this,n={};["currentSlide","disableAnimation","disableKeyboard","hasMasterSpinner","interval","isPlaying","naturalSlideHeight","naturalSlideWidth","lockOnWindowScroll","orientation","playDirection","step","dragStep","totalSlides","touchEnabled","dragEnabled","visibleSlides"].forEach(function(r){e[r]!==t.props[r]&&(n[r]=t.props[r])}),this.props.currentSlide!==e.currentSlide&&!this.props.disableAnimation&&(n.disableAnimation=!0,n.privateUnDisableAnimation=!0),this.props.totalSlides===e.totalSlides&&this.props.visibleSlides===e.visibleSlides||(n.slideSize=N(this.props.totalSlides,this.props.visibleSlides),n.slideTraySize=F(this.props.totalSlides,this.props.visibleSlides)),this.carouselStore.state.currentSlide>=this.props.totalSlides&&(n.currentSlide=Math.max(this.props.totalSlides-1,0)),Object.keys(n).length>0&&this.carouselStore.setStoreState(n)}},{key:"componentWillUnmount",value:function(){this.carouselStore.unsubscribeAllMasterSpinner()}},{key:"getStore",value:function(){return this.carouselStore}},{key:"render",value:function(){var e=this.props,t=(e.children,e.className,e.currentSlide,e.disableAnimation,e.disableKeyboard,e.hasMasterSpinner,e.interval,e.isPageScrollLocked,e.isPlaying,e.lockOnWindowScroll,e.naturalSlideHeight,e.naturalSlideWidth,e.orientation,e.playDirection,e.step,e.dragStep,e.tag),n=(e.totalSlides,e.touchEnabled,e.dragEnabled,e.visibleSlides,e.infinite,e.isIntrinsicHeight,f(e,ge)),r=T(["carousel",this.props.className]);return Y.a.createElement(t,c({className:r},n),Y.a.createElement(pe.Provider,{value:this.carouselStore},this.props.children))}}]),t}(Y.a.Component),l(ce,"propTypes",{children:J.children.isRequired,className:K.string,currentSlide:K.number,disableAnimation:K.bool,disableKeyboard:K.bool,hasMasterSpinner:K.bool,interval:K.number,isPageScrollLocked:K.bool,isPlaying:K.bool,lockOnWindowScroll:K.bool,naturalSlideHeight:K.number.isRequired,naturalSlideWidth:K.number.isRequired,orientation:J.orientation,playDirection:J.direction,step:K.number,dragStep:K.number,tag:K.string,totalSlides:K.number.isRequired,touchEnabled:K.bool,dragEnabled:K.bool,visibleSlides:K.number,infinite:K.bool,isIntrinsicHeight:K.bool}),l(ce,"defaultProps",{className:null,currentSlide:0,disableAnimation:!1,disableKeyboard:!1,hasMasterSpinner:!1,interval:5e3,isPageScrollLocked:!1,isPlaying:!1,lockOnWindowScroll:!1,orientation:"horizontal",playDirection:"forward",step:1,dragStep:1,tag:"div",touchEnabled:!0,dragEnabled:!0,visibleSlides:1,infinite:!1,isIntrinsicHeight:!1}),ue);pe.Consumer;var ve,ye,be,Se,Ee,_e,Ce,xe,ke,Oe,Te,Ne,Fe=Z(ne,function(e){return{currentSlide:e.currentSlide,step:e.step,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides,infinite:e.infinite}}),Me={buttonFirst:"buttonFirst___2rhFr"},je=["carouselStore","className","currentSlide","disabled","onClick","totalSlides"],Pe=(ye=ve=function(e){function t(){var e;return o(this,t),e=n.call(this),e.handleOnClick=e.handleOnClick.bind(g(e)),e}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick;n.setStoreState({currentSlide:0,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.className),n=e.currentSlide,r=e.disabled,i=(e.onClick,e.totalSlides,f(e,je)),o=T([Me.buttonFirst,"carousel__first-button",t]),a=null!==r?r:0===n;return Y.a.createElement("button",c({type:"button","aria-label":"first",className:o,onClick:this.handleOnClick,disabled:a},i),this.props.children)}}]),t}(Y.a.Component),l(ve,"propTypes",{carouselStore:K.object.isRequired,children:J.children.isRequired,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,totalSlides:K.number.isRequired}),l(ve,"defaultProps",{className:null,disabled:null,onClick:null}),ye),De=(Z(Pe,function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides}}),{buttonNext:"buttonNext___2mOCa"}),Ae=["carouselStore","className","currentSlide","disabled","onClick","step","totalSlides","visibleSlides","infinite"],Le=(Se=be=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnClick=r.handleOnClick.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.currentSlide,r=t.onClick,i=t.step,o=t.carouselStore,a=t.infinite,s=t.totalSlides-t.visibleSlides,l=i+n,c=Math.min(l,s);a&&(c=s===n?0:c),o.setStoreState({currentSlide:c,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,n=(e.carouselStore,e.className),r=e.currentSlide,i=e.disabled,o=(e.onClick,e.step,e.totalSlides),a=e.visibleSlides,s=e.infinite,l=f(e,Ae),u=T([De.buttonNext,"carousel__next-button",n]),d=t.setDisabled(i,r,a,o,s);return Y.a.createElement("button",c({type:"button","aria-label":"next",className:u,onClick:this.handleOnClick,disabled:d},l),this.props.children)}}],[{key:"setDisabled",value:function(e,t,n,r,i){return null!==e?e:t>=r-n&&!i}}]),t}(Y.a.PureComponent),l(be,"propTypes",{carouselStore:K.object.isRequired,children:J.children.isRequired,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,step:K.number.isRequired,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired,infinite:K.bool}),l(be,"defaultProps",{className:null,disabled:null,onClick:null,infinite:!1}),Se),Be=Z(Le,function(e){return{currentSlide:e.currentSlide,step:e.step,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides,infinite:e.infinite}}),ze={buttonLast:"buttonLast___2yuh0"},Re=["carouselStore","className","currentSlide","disabled","onClick","totalSlides","visibleSlides"],He=(_e=Ee=function(e){function t(){var e;return o(this,t),e=n.call(this),e.handleOnClick=e.handleOnClick.bind(g(e)),e}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick,i=t.totalSlides,o=t.visibleSlides;n.setStoreState({currentSlide:i-o,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.className),n=e.currentSlide,r=e.disabled,i=(e.onClick,e.totalSlides),o=e.visibleSlides,a=f(e,Re),s=T([ze.buttonLast,"carousel__last-button",t]),l=null!==r?r:n>=i-o;return Y.a.createElement("button",c({type:"button","aria-label":"last",className:s,onClick:this.handleOnClick,disabled:l},a),this.props.children)}}]),t}(Y.a.Component),l(Ee,"propTypes",{carouselStore:K.object.isRequired,children:J.children.isRequired,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired}),l(Ee,"defaultProps",{className:null,disabled:null,onClick:null}),_e),Ie=(Z(He,function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides}}),{buttonNext:"buttonNext___3Lm3s"}),qe=["carouselStore","children","childrenPaused","childrenPlaying","className","isPlaying","onClick"],Ve=(xe=Ce=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnClick=r.handleOnClick.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props.onClick;this.props.carouselStore.setStoreState({isPlaying:!this.props.isPlaying},null!==t&&t.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.childrenPaused),n=e.childrenPlaying,r=e.className,i=e.isPlaying,o=(e.onClick,f(e,qe)),a=T([Ie.buttonNext,"carousel__play-button",r]);return Y.a.createElement("button",c({type:"button","aria-label":"play",className:a,onClick:this.handleOnClick},o),i&&n,!i&&t,this.props.children)}}]),t}(Y.a.PureComponent),l(Ce,"propTypes",{carouselStore:K.object.isRequired,children:K.node,childrenPaused:K.node,childrenPlaying:K.node,className:K.string,isPlaying:K.bool.isRequired,onClick:K.func}),l(Ce,"defaultProps",{children:null,childrenPaused:null,childrenPlaying:null,className:null,onClick:null}),xe),We=(Z(Ve,function(e){return{isPlaying:e.isPlaying}}),{dot:"dot___3c3SI"}),Ze=["carouselStore","children","className","currentSlide","disabled","onClick","selected","slide","totalSlides","visibleSlides"],Ue=(Oe=ke=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnClick=r.handleOnClick.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"handleOnClick",value:function(e){var t=this.props,n=t.carouselStore,r=t.onClick,i=t.slide,o=t.totalSlides,a=t.visibleSlides,s=i>=o-a?o-a:i;n.setStoreState({currentSlide:s,isPlaying:!1},null!==r&&r.call(this,e))}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.className),n=e.currentSlide,r=e.disabled,i=(e.onClick,e.selected),o=e.slide,a=(e.totalSlides,e.visibleSlides),s=f(e,Ze),l=o>=n&&o<n+a,u="boolean"==typeof i?i:l,d=!0===l,p="boolean"==typeof r?r:d,h=T([We.dot,u&&We.dotSelected,"carousel__dot","carousel__dot--".concat(o),u&&"carousel__dot--selected",t]);return Y.a.createElement("button",c({"aria-label":"slide dot",type:"button",onClick:this.handleOnClick,className:h,disabled:p},s),this.props.children)}}]),t}(Y.a.Component),l(ke,"propTypes",{carouselStore:K.object.isRequired,children:J.children,className:K.string,currentSlide:K.number.isRequired,disabled:K.bool,onClick:K.func,selected:K.bool,slide:K.number.isRequired,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired}),l(ke,"defaultProps",{children:null,className:null,disabled:null,onClick:null,selected:null}),Oe),Ye=Z(Ue,function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides}}),Xe={},Ge=["renderDots"],Ke=["carouselStore","children","className","currentSlide","dotNumbers","totalSlides","visibleSlides","disableActiveDots","showAsSelectedForCurrentSlideOnly","renderDots"],$e=(Ne=Te=function(e){function t(){return o(this,t),n.apply(this,arguments)}u(t,e);var n=v(t);return s(t,[{key:"renderDots",value:function(){var e=this.props,t=e.currentSlide,n=e.totalSlides,r=e.visibleSlides,i=e.disableActiveDots,o=e.showAsSelectedForCurrentSlideOnly,a=e.renderDots;if(a){var s=this.props;return s.renderDots,a(f(s,Ge))}for(var l=[],c=0;c<n;c+=1){var u=c>=t&&c<t+r,d=c===t,p=o?d:u,h=c>=n-r?n-r:c;l.push(Y.a.createElement(Ye,{key:c,slide:h,selected:p,disabled:!!i&&p},Y.a.createElement("span",{className:T["carousel__dot-group-dot"]},this.props.dotNumbers&&c+1)))}return l}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children),n=e.className,r=(e.currentSlide,e.dotNumbers,e.totalSlides,e.visibleSlides,e.disableActiveDots,e.showAsSelectedForCurrentSlideOnly,e.renderDots,f(e,Ke)),i=T([Xe.DotGroup,"carousel__dot-group",n]);return Y.a.createElement("div",c({className:i},r),this.renderDots(),t)}}]),t}(Y.a.Component),l(Te,"propTypes",{children:J.children,className:K.string,currentSlide:K.number.isRequired,carouselStore:K.object.isRequired,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired,dotNumbers:K.bool,disableActiveDots:K.bool,showAsSelectedForCurrentSlideOnly:K.bool,renderDots:K.func}),l(Te,"defaultProps",{children:null,className:null,dotNumbers:!1,disableActiveDots:!0,showAsSelectedForCurrentSlideOnly:!1,renderDots:null}),Ne),Je=Z($e,function(e){return{currentSlide:e.currentSlide,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides}}),Qe={image:"image___xtQGH"},et=["src","alt"],tt=["carouselStore","children","className","hasMasterSpinner","isBgImage","onError","onLoad","renderError","renderLoading","style","tag"],nt=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.state={imageStatus:$},r.handleImageLoad=r.handleImageLoad.bind(g(r)),r.handleImageError=r.handleImageError.bind(g(r)),r.image=null,r}u(t,e);var n=v(t);return s(t,[{key:"componentDidMount",value:function(){t.subscribeMasterSpinner(this.props),this.initImage()}},{key:"componentDidUpdate",value:function(e){e.src!==this.props.src&&(t.unsubscribeMasterSpinner(e),t.subscribeMasterSpinner(this.props),this.initImage())}},{key:"componentWillUnmount",value:function(){t.unsubscribeMasterSpinner(this.props),this.image.removeEventListener("load",this.handleImageLoad),this.image.removeEventListener("error",this.handleImageError),this.image=null}},{key:"initImage",value:function(){if(this.setState({imageStatus:$}),this.image=document.createElement("img"),this.image.addEventListener("load",this.handleImageLoad,!1),this.image.addEventListener("error",this.handleImageError,!1),this.image.src=this.props.src,this.image.readyState||this.image.complete){var e=this.image.src;this.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",this.image.src=e}}},{key:"handleImageLoad",value:function(e){this.setState({imageStatus:"success"}),this.props.hasMasterSpinner&&this.props.carouselStore.masterSpinnerSuccess(this.props.src),this.props.onLoad&&this.props.onLoad(e)}},{key:"handleImageError",value:function(e){this.setState({imageStatus:"error"}),this.props.hasMasterSpinner&&this.props.carouselStore.masterSpinnerError(this.props.src),this.props.onError&&this.props.onError(e)}},{key:"tempTag",value:function(){return"img"===this.props.tag?"div":this.props.tag}},{key:"customRender",value:function(e){return"function"==typeof this.props[e]?this.props[e]():this.props.children}},{key:"renderLoading",value:function(e){var t=this.tempTag(),n=T([Qe.image,Qe.imageLoading,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--loading",this.props.className]);return Y.a.createElement(t,c({className:n},e),this.customRender("renderLoading"))}},{key:"renderError",value:function(e){var t=this.tempTag(),n=T([Qe.image,Qe.imageError,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--error",this.props.className]);return Y.a.createElement(t,c({className:n},e),this.customRender("renderError"))}},{key:"renderSuccess",value:function(e){var t=this.props,n=t.style,r=t.tag,i=T([Qe.image,"carousel__image",this.props.isBgImage&&"carousel__image--with-background","carousel__image--success",this.props.className]),o=c({},n),a=e;if("img"!==r){var s=e.src;e.alt,a=f(e,et),o=c({},n,{backgroundImage:'url("'.concat(s,'")'),backgroundSize:"cover"})}return Y.a.createElement(r,c({className:i,style:o},a),this.props.children)}},{key:"render",value:function(){var e=this.props,t=(e.carouselStore,e.children,e.className,e.hasMasterSpinner,e.isBgImage,e.onError,e.onLoad,e.renderError,e.renderLoading,e.style,e.tag,f(e,tt));switch(this.state.imageStatus){case $:return this.renderLoading(t);case"success":return this.renderSuccess(t);case"error":return this.renderError(t);default:throw new Error("unknown value for this.state.imageStatus")}}}],[{key:"subscribeMasterSpinner",value:function(e){e.hasMasterSpinner&&e.carouselStore.subscribeMasterSpinner(e.src)}},{key:"unsubscribeMasterSpinner",value:function(e){e.hasMasterSpinner&&e.carouselStore.unsubscribeMasterSpinner(e.src)}}]),t}(Y.a.Component);l(nt,"propTypes",{alt:K.string,carouselStore:K.object.isRequired,children:J.children,className:K.string,hasMasterSpinner:K.bool.isRequired,isBgImage:J.isBgImage,onError:K.func,onLoad:K.func,renderError:K.func,renderLoading:K.func,src:K.string.isRequired,style:K.object,tag:K.string}),l(nt,"defaultProps",{alt:"",children:null,className:null,isBgImage:!1,onError:null,onLoad:null,renderError:null,renderLoading:null,style:null,tag:"img"});var rt,it,ot,at,st,lt,ct,ut,dt=Z(nt,function(e){return{hasMasterSpinner:e.hasMasterSpinner,orientation:e.orientation}}),pt={spinner:"spinner___27VUp",spin:"spin___S3UuE"},ht=["className"],mt=(it=rt=function(e){function t(){return o(this,t),n.apply(this,arguments)}u(t,e);var n=v(t);return s(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=f(e,ht),r=T([pt.spinner,"carousel__spinner",t]);return Y.a.createElement("div",c({className:r},n))}}]),t}(Y.a.PureComponent),l(rt,"propTypes",{className:K.string}),l(rt,"defaultProps",{className:null}),it),ft={container:"container___2O72F",overlay:"overlay___IV4qY",hover:"hover___MYy31",zoom:"zoom___3kqYk",loading:"loading___1pvNI",imageLoadingSpinnerContainer:"imageLoadingSpinnerContainer___3UIPD"},gt=["alt","bgImageProps","bgImageTag","carouselStore","className","imageClassName","overlayClassName","isPinchZoomEnabled","spinner","src","srcZoomed","tag"],wt=(at=ot=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.state={isImageLoading:!0,isHovering:!1,isZooming:!1,x:null,y:null,scale:1},r.tpCache={},r.handleImageComplete=r.handleImageComplete.bind(g(r)),r.handleOnMouseMove=r.handleOnMouseMove.bind(g(r)),r.handleOnMouseOut=r.handleOnMouseOut.bind(g(r)),r.handleOnMouseOver=r.handleOnMouseOver.bind(g(r)),r.handleOnTouchEnd=r.handleOnTouchEnd.bind(g(r)),r.handleOnTouchMove=r.handleOnTouchMove.bind(g(r)),r.handleOnTouchStart=r.handleOnTouchStart.bind(g(r)),r}u(t,e);var n=v(t);return s(t,[{key:"componentDidUpdate",value:function(e,t){!1===t.isZooming&&!0===this.state.isZooming&&this.props.carouselStore.setStoreState({isPageScrollLocked:!0}),!0===t.isZooming&&!1===this.state.isZooming&&this.props.carouselStore.setStoreState({isPageScrollLocked:!1})}},{key:"handleImageComplete",value:function(){this.setState({isImageLoading:!1})}},{key:"handleOnMouseOver",value:function(){this.state.isZooming||this.setState({isHovering:!0,scale:2})}},{key:"handleOnMouseOut",value:function(){this.state.isZooming||this.setState({isHovering:!1,scale:1})}},{key:"handleOnMouseMove",value:function(e){if(!this.state.isZooming){var t=M(e.nativeEvent.offsetX/e.target.offsetWidth*100),n=M(e.nativeEvent.offsetY/e.target.offsetHeight*100);this.setState({x:t,y:n})}}},{key:"handleOnTouchStart",value:function(e){var t=this;this.props.isPinchZoomEnabled&&(y(e.targetTouches).forEach(function(e){t.tpCache[e.identifier]={clientX:e.clientX,clientY:e.clientY}}),this.setState(function(e){return{isZooming:e.isZooming||Object.keys(t.tpCache).length>1}}))}},{key:"handleOnTouchMove",value:function(e){var n=this;if(this.state.isZooming){e.persist();var r=y(e.targetTouches).filter(function(e){return n.tpCache[e.identifier]}).slice(0,2);if(2===r.length){e.stopPropagation();var o=e.target.getBoundingClientRect(),a=r[0].identifier,s=r[1].identifier,l={x1:this.tpCache[a].clientX,y1:this.tpCache[a].clientY,x2:this.tpCache[s].clientX,y2:this.tpCache[s].clientY};l.distance=t.distanceBetweenTwoTouches(i({},l));var c=t.midpointBetweenTwoTouches(i({},l));l.cx=c.x,l.cy=c.y;var u={x1:r[0].clientX,y1:r[0].clientY,x2:r[1].clientX,y2:r[1].clientY};u.distance=t.distanceBetweenTwoTouches(i({},u));var d=t.midpointBetweenTwoTouches(i({},u));u.cx=d.x,u.cy=d.y;var p=M(Q({min:0,max:100,x:(u.cx-o.left)/o.width*100})),h=M(Q({min:0,max:100,x:(u.cy-o.top)/o.height*100})),m=function(e){return Q({min:1,max:3,x:e.scale+(u.distance-l.distance)/100})};this.setState(function(e){return{isZooming:1!==m(e),scale:m(e),x:p,y:h}})}}}},{key:"handleOnTouchEnd",value:function(e){var t=this;this.props.isPinchZoomEnabled&&(y(e.changedTouches).forEach(function(e){delete t.tpCache[e.identifier]}),0===Object.keys(this.tpCache).length&&this.setState({isZooming:!1}))}},{key:"renderLoading",value:function(){if(this.state.isImageLoading){var e=this.props.spinner;return Y.a.createElement("div",{className:T([ft.imageLoadingSpinnerContainer,"carousel__image-loading-spinner-container"])},e&&e(),!e&&Y.a.createElement(mt,null))}return null}},{key:"render",value:function(){var e=this.props,t=e.alt,n=e.bgImageProps,r=e.bgImageTag,i=(e.carouselStore,e.className),o=e.imageClassName,a=e.overlayClassName,s=(e.isPinchZoomEnabled,e.spinner,e.src),l=e.srcZoomed,u=e.tag,d=f(e,gt),p=T([ft.container,i]),h=T([ft.image,"carousel__zoom-image",o]),m=T([ft.overlay,"carousel__zoom-image-overlay",this.state.isHovering&&ft.hover,this.state.isZooming&&ft.zoom,this.state.isHovering&&"carousel__zoom-image-overlay--hovering",this.state.isZooming&&"carousel__zoom-image-overlay--zooming",a]),g={};return(this.state.isHovering||this.state.isZooming)&&(g.transformOrigin="".concat(this.state.x," ").concat(this.state.y),g.transform="scale(".concat(this.state.scale,")")),Y.a.createElement(u,c({className:p},d),Y.a.createElement(dt,c({alt:t,className:h,tag:r,src:s,onLoad:this.handleImageComplete,onError:this.handleImageComplete},n)),Y.a.createElement(dt,{className:m,tag:"div",src:l||s,style:g,isBgImage:!0,onFocus:this.handleOnMouseOver,onMouseOver:this.handleOnMouseOver,onBlur:this.handleOnMouseOut,onMouseOut:this.handleOnMouseOut,onMouseMove:this.handleOnMouseMove,onTouchStart:this.handleOnTouchStart,onTouchEnd:this.handleOnTouchEnd,onTouchMove:this.handleOnTouchMove}),this.renderLoading())}}],[{key:"midpointBetweenTwoTouches",value:function(e){var t=e.x1,n=e.y1;return{x:(t+e.x2)/2,y:(n+e.y2)/2}}},{key:"distanceBetweenTwoTouches",value:function(e){var t=e.x1,n=e.y1,r=e.x2,i=e.y2;return Math.sqrt(Math.pow(r-t,2)+Math.pow(i-n,2))}}]),t}(Y.a.Component),l(ot,"propTypes",{alt:K.string,bgImageProps:K.object,bgImageTag:K.string,carouselStore:K.object.isRequired,className:K.string,imageClassName:K.string,overlayClassName:K.string,spinner:K.func,src:K.string.isRequired,srcZoomed:K.string,tag:K.string,isPinchZoomEnabled:K.bool}),l(ot,"defaultProps",{alt:void 0,bgImageProps:{},bgImageTag:"div",className:null,imageClassName:null,overlayClassName:null,isPinchZoomEnabled:!0,spinner:null,srcZoomed:null,tag:"div"}),at),vt=(Z(wt,function(){return{}}),{slide:"slide___3-Nqo",slideHorizontal:"slideHorizontal___1NzNV",slideInner:"slideInner___2mfX9",focusRing:"focusRing___1airF"}),yt=["ariaLabel","carouselStore","children","className","classNameHidden","classNameVisible","currentSlide","index","innerClassName","innerTag","naturalSlideHeight","naturalSlideWidth","onBlur","onFocus","orientation","slideSize","style","tabIndex","tag","totalSlides","visibleSlides","isIntrinsicHeight"],bt=(lt=st=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.handleOnFocus=r.handleOnFocus.bind(g(r)),r.handleOnBlur=r.handleOnBlur.bind(g(r)),r.state={focused:!1},r}u(t,e);var n=v(t);return s(t,[{key:"isVisible",value:function(){var e=this.props,t=e.currentSlide,n=e.index,r=e.visibleSlides;return n>=t&&n<t+r}},{key:"handleOnFocus",value:function(e){var t=this,n=this.props.onFocus;this.setState({focused:!0},function(){null!==n&&n.call(t,e)})}},{key:"handleOnBlur",value:function(e){var t=this,n=this.props.onBlur;this.setState({focused:!1},function(){null!==n&&n.call(t,e)})}},{key:"renderFocusRing",value:function(){return this.state.focused?Y.a.createElement("div",{className:[vt.focusRing,"carousel__slide-focus-ring"].join(" ")}):null}},{key:"render",value:function(){var e=this,t=this.props,n=t.ariaLabel,r=(t.carouselStore,t.children,t.className),i=t.classNameHidden,o=t.classNameVisible,a=(t.currentSlide,t.index,t.innerClassName),s=t.innerTag,l=t.naturalSlideHeight,u=t.naturalSlideWidth,d=(t.onBlur,t.onFocus,t.orientation),p=t.slideSize,h=t.style,m=t.tabIndex,g=t.tag,w=t.totalSlides,v=(t.visibleSlides,t.isIntrinsicHeight),y=f(t,yt),b={};"horizontal"===d?(b.width=M(p),b.paddingBottom=M(100*l/(u*w))):(b.width=M(100),b.paddingBottom=M(100*l/u));var S={};v&&("horizontal"===d?b.height="unset":b.width="unset",b.paddingBottom="unset",S.position="unset");var E=c({},b,h),_=this.isVisible(),C=T([vt.slide,"horizontal"===d&&vt.slideHorizontal,"carousel__slide",this.state.focused&&"carousel__slide--focused",_&&o,_&&"carousel__slide--visible",!_&&i,!_&&"carousel__slide--hidden",r]),x=T([vt.slideInner,"carousel__inner-slide",a]),k=this.isVisible()?0:-1,O="number"==typeof m?m:k;return Y.a.createElement(g,c({ref:function(t){e.tagRef=t},tabIndex:O,"aria-selected":this.isVisible(),"aria-label":n,role:"option",onFocus:this.handleOnFocus,onBlur:this.handleOnBlur,className:C,style:E},y),Y.a.createElement(s,{ref:function(t){e.innerTagRef=t},className:x,style:S},this.props.children,this.renderFocusRing()))}}]),t}(Y.a.PureComponent),l(st,"propTypes",{ariaLabel:K.string,carouselStore:K.object,children:J.children,className:K.string,classNameHidden:K.string,classNameVisible:K.string,currentSlide:K.number.isRequired,index:K.number.isRequired,innerClassName:K.string,innerTag:K.string,naturalSlideHeight:K.number.isRequired,naturalSlideWidth:K.number.isRequired,onBlur:K.func,onFocus:K.func,orientation:J.orientation.isRequired,slideSize:K.number.isRequired,style:K.object,tabIndex:K.number,tag:K.string,totalSlides:K.number.isRequired,visibleSlides:K.number.isRequired,isIntrinsicHeight:K.bool}),l(st,"defaultProps",{ariaLabel:"slide",carouselStore:null,children:null,className:null,classNameHidden:null,classNameVisible:null,innerClassName:null,innerTag:"div",onBlur:null,onFocus:null,style:{},tabIndex:null,tag:"div",isIntrinsicHeight:!1}),lt),St=Z(bt,function(e){return{currentSlide:e.currentSlide,naturalSlideHeight:e.naturalSlideHeight,naturalSlideWidth:e.naturalSlideWidth,orientation:e.orientation,slideSize:e.slideSize,totalSlides:e.totalSlides,visibleSlides:e.visibleSlides,isIntrinsicHeight:e.isIntrinsicHeight}}),Et=function(){function e(){o(this,e)}return s(e,[{key:"parents",value:function(e,t){return null===e.parentNode?t:this.parents(e.parentNode,t.concat([e]))}},{key:"scrollParent",value:function(t){for(var n=this.parents(t.parentNode,[]),r=0;r<n.length;r+=1)if(e.scroll(n[r]))return n[r];return document.scrollingElement||document.documentElement}},{key:"getScrollParent",value:function(t){return e.isNodeValid(t)?this.scrollParent(t):null}}],[{key:"style",value:function(e,t){return getComputedStyle(e,null).getPropertyValue(t)}},{key:"overflow",value:function(t){return e.style(t,"overflow")+e.style(t,"overflow-y")+e.style(t,"overflow-x")}},{key:"scroll",value:function(t){return/(auto|scroll)/.test(e.overflow(t))}},{key:"isNodeValid",value:function(e){return e instanceof HTMLElement||e instanceof SVGElement}}]),e}(),_t={horizontalSlider:"horizontalSlider___281Ls",horizontalSliderTray:"horizontalSliderTray___1L-0W",verticalSlider:"verticalSlider___34ZFD",verticalSliderTray:"verticalSliderTray___267D8",verticalTray:"verticalTray___12Key",verticalSlideTrayWrap:"verticalSlideTrayWrap___2nO7o",sliderTray:"sliderTray___-vHFQ",sliderAnimation:"sliderAnimation___300FY",masterSpinnerContainer:"masterSpinnerContainer___1Z6hB"},Ct=["ariaLabel","carouselStore","children","className","classNameAnimation","classNameTray","classNameTrayWrap","currentSlide","disableAnimation","disableKeyboard","dragEnabled","hasMasterSpinner","interval","isPageScrollLocked","isPlaying","lockOnWindowScroll","masterSpinnerFinished","moveThreshold","naturalSlideHeight","naturalSlideWidth","onMasterSpinner","orientation","playDirection","privateUnDisableAnimation","slideSize","slideTraySize","spinner","style","tabIndex","totalSlides","touchEnabled","trayProps","trayTag","visibleSlides","isIntrinsicHeight"],xt=["dragStep","step","infinite"],kt=["className","onClickCapture","onMouseDown","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","ref","style"],Ot=(ut=ct=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.getSliderRef=r.getSliderRef.bind(g(r)),r.handleDocumentScroll=r.handleDocumentScroll.bind(g(r)),r.handleOnClickCapture=r.handleOnClickCapture.bind(g(r)),r.handleOnKeyDown=r.handleOnKeyDown.bind(g(r)),r.handleOnMouseDown=r.handleOnMouseDown.bind(g(r)),r.handleOnMouseMove=r.handleOnMouseMove.bind(g(r)),r.handleOnMouseUp=r.handleOnMouseUp.bind(g(r)),r.handleOnTouchCancel=r.handleOnTouchCancel.bind(g(r)),r.handleOnTouchEnd=r.handleOnTouchEnd.bind(g(r)),r.handleOnTouchMove=r.handleOnTouchMove.bind(g(r)),r.handleOnTouchStart=r.handleOnTouchStart.bind(g(r)),r.playBackward=r.playBackward.bind(g(r)),r.playForward=r.playForward.bind(g(r)),r.callCallback=r.callCallback.bind(g(r)),r.state={cancelNextClick:!1,deltaX:0,deltaY:0,isBeingMouseDragged:!1,isBeingTouchDragged:!1,startX:0,startY:0},r.interval=null,r.isDocumentScrolling=null,r.moveTimer=null,r.originalOverflow=null,r.scrollParent=null,r.scrollStopTimer=null,r}u(t,e);var n=v(t);return s(t,[{key:"componentDidMount",value:function(){this.props.lockOnWindowScroll&&window.addEventListener("scroll",this.handleDocumentScroll,!1),document.documentElement.addEventListener("mouseleave",this.handleOnMouseUp,!1),document.documentElement.addEventListener("mousemove",this.handleOnMouseMove,!1),document.documentElement.addEventListener("mouseup",this.handleOnMouseUp,!1),this.props.isPlaying&&this.play()}},{key:"componentDidUpdate",value:function(e){!e.isPlaying&&this.props.isPlaying&&this.play(),e.isPlaying&&!this.props.isPlaying&&this.stop(),!e.isPageScrollLocked&&this.props.isPageScrollLocked&&this.lockScroll(),e.isPageScrollLocked&&!this.props.isPageScrollLocked&&this.unlockScroll(),!1===e.privateUnDisableAnimation&&!0===this.props.privateUnDisableAnimation&&this.props.carouselStore.setStoreState({privateUnDisableAnimation:!1,disableAnimation:!1})}},{key:"componentWillUnmount",value:function(){document.documentElement.removeEventListener("mouseleave",this.handleOnMouseUp,!1),document.documentElement.removeEventListener("mousemove",this.handleOnMouseMove,!1),document.documentElement.removeEventListener("mouseup",this.handleOnMouseUp,!1),window.removeEventListener("scroll",this.handleDocumentScroll,!1),this.stop(),window.cancelAnimationFrame.call(window,this.moveTimer),window.clearTimeout(this.scrollStopTimer),this.isDocumentScrolling=null,this.moveTimer=null,this.scrollStopTimer=null}},{key:"getSliderRef",value:function(e){this.sliderTrayElement=e}},{key:"fakeOnDragStart",value:function(e){var t=e.screenX,n=e.screenY,r=e.touchDrag,i=void 0!==r&&r,o=e.mouseDrag,a=void 0!==o&&o;this.props.carouselStore.setStoreState({isPlaying:!1}),window.cancelAnimationFrame.call(window,this.moveTimer),"vertical"===this.props.orientation&&this.props.carouselStore.setStoreState({isPageScrollLocked:!0}),this.setState({isBeingTouchDragged:i,isBeingMouseDragged:a,startX:t,startY:n})}},{key:"fakeOnDragMove",value:function(e,t){var n=this;this.moveTimer=window.requestAnimationFrame.call(window,function(){n.setState(function(n){return{deltaX:e-n.startX,deltaY:t-n.startY}})})}},{key:"fakeOnDragEnd",value:function(){window.cancelAnimationFrame.call(window,this.moveTimer),this.computeCurrentSlide(),"vertical"===this.props.orientation&&this.props.carouselStore.setStoreState({isPageScrollLocked:!1}),this.setState({deltaX:0,deltaY:0,isBeingTouchDragged:!1,isBeingMouseDragged:!1}),this.isDocumentScrolling=!this.props.lockOnWindowScroll&&null}},{key:"callCallback",value:function(e,t){var n=this.props.trayProps;n&&"function"==typeof n[e]&&(t.persist(),n[e](t))}},{key:"handleOnMouseDown",value:function(e){if(!this.props.dragEnabled)return void this.callCallback("onMouseDown",e);e.preventDefault(),this.fakeOnDragStart({screenX:e.screenX,screenY:e.screenY,mouseDrag:!0}),this.callCallback("onMouseDown",e)}},{key:"handleOnMouseMove",value:function(e){this.state.isBeingMouseDragged&&(this.setState({cancelNextClick:!0}),e.preventDefault(),this.fakeOnDragMove(e.screenX,e.screenY))}},{key:"handleOnMouseUp",value:function(e){this.state.isBeingMouseDragged&&(e.preventDefault(),this.fakeOnDragEnd())}},{key:"handleOnClickCapture",value:function(e){if(!this.state.cancelNextClick)return void this.callCallback("onClickCapture",e);e.preventDefault(),this.setState({cancelNextClick:!1}),this.callCallback("onClickCapture",e)}},{key:"handleOnTouchStart",value:function(e){if(!this.props.touchEnabled)return void this.callCallback("onTouchStart",e);"vertical"===this.props.orientation&&e.preventDefault();var t=e.targetTouches[0];this.fakeOnDragStart({screenX:t.screenX,screenY:t.screenY,touchDrag:!0}),this.callCallback("onTouchStart",e)}},{key:"handleDocumentScroll",value:function(){var e=this;this.props.touchEnabled&&(this.isDocumentScrolling=!0,window.clearTimeout(this.scrollStopTimer),this.scrollStopTimer=window.setTimeout(function(){e.isDocumentScrolling=!1},66))}},{key:"handleOnTouchMove",value:function(e){if(!this.props.touchEnabled||this.props.lockOnWindowScroll&&this.isDocumentScrolling)return void this.callCallback("onTouchMove",e);window.cancelAnimationFrame.call(window,this.moveTimer);var t=e.targetTouches[0];t&&(this.fakeOnDragMove(t.screenX,t.screenY),this.callCallback("onTouchMove",e))}},{key:"forward",value:function(){var e=this.props,t=e.currentSlide,n=e.step,r=e.totalSlides,i=e.visibleSlides;return Math.min(t+n,r-i)}},{key:"backward",value:function(){var e=this.props,t=e.currentSlide,n=e.step;return Math.max(t-n,0)}},{key:"handleOnKeyDown",value:function(e){var t=e.keyCode,n=this.props,r=n.carouselStore,i=n.currentSlide,o=n.disableKeyboard,a=n.totalSlides,s=n.visibleSlides,l={};!0===o||a<=s||(37===t&&(e.preventDefault(),this.focus(),l.currentSlide=Math.max(0,i-1),l.isPlaying=!1),39===t&&(e.preventDefault(),this.focus(),l.currentSlide=Math.min(a-s,i+1),l.isPlaying=!1),r.setStoreState(l))}},{key:"playForward",value:function(){var e=this.props,t=e.carouselStore,n=e.currentSlide;t.setStoreState({currentSlide:this.forward()===n?0:this.forward()})}},{key:"playBackward",value:function(){var e=this.props,t=e.carouselStore,n=e.currentSlide,r=e.totalSlides,i=e.visibleSlides;t.setStoreState({currentSlide:this.backward()===n?r-i:this.backward()})}},{key:"play",value:function(){var e=this.props.playDirection;this.interval=setInterval("forward"===e?this.playForward:this.playBackward,this.props.interval)}},{key:"stop",value:function(){window.clearInterval(this.interval),this.interval=null}},{key:"lockScroll",value:function(){var e=new Et;this.scrollParent=e.getScrollParent(this.sliderTrayElement),this.scrollParent&&(this.originalOverflow=this.originalOverflow||this.scrollParent.style.overflow,this.scrollParent.style.overflow="hidden")}},{key:"unlockScroll",value:function(){this.scrollParent&&(this.scrollParent.style.overflow=this.originalOverflow,this.originalOverflow=null,this.scrollParent=null)}},{key:"computeCurrentSlide",value:function(){var e=t.slideSizeInPx(this.props.orientation,this.sliderTrayElement.clientWidth,this.sliderTrayElement.clientHeight,this.props.totalSlides),n=t.slidesMoved(this.props.moveThreshold,this.props.orientation,this.state.deltaX,this.state.deltaY,e,this.props.dragStep),r=this.props.totalSlides-Math.min(this.props.totalSlides,this.props.visibleSlides),i=Q({min:0,max:r,x:this.props.currentSlide+n});this.props.infinite&&(this.props.currentSlide>=r&&n>0&&(i=0),0===this.props.currentSlide&&n<0&&(i=r)),this.props.carouselStore.setStoreState({currentSlide:i})}},{key:"focus",value:function(){this.sliderElement.focus()}},{key:"handleOnTouchEnd",value:function(e){this.endTouchMove(),this.callCallback("onTouchEnd",e)}},{key:"handleOnTouchCancel",value:function(e){this.endTouchMove(),this.callCallback("onTouchCancel",e)}},{key:"endTouchMove",value:function(){this.props.touchEnabled&&this.fakeOnDragEnd()}},{key:"renderMasterSpinner",value:function(){var e=this.props,t=e.hasMasterSpinner,n=e.masterSpinnerFinished,r=e.spinner;return t&&!n?("function"==typeof this.props.onMasterSpinner&&this.props.onMasterSpinner(),Y.a.createElement("div",{className:T([_t.masterSpinnerContainer,"carousel__master-spinner-container"])},r&&r(),!r&&Y.a.createElement(mt,null))):null}},{key:"render",value:function(){var e=this,t=this.props,n=t.ariaLabel,r=(t.carouselStore,t.children),i=t.className,o=t.classNameAnimation,a=t.classNameTray,s=t.classNameTrayWrap,l=t.currentSlide,u=t.disableAnimation,d=(t.disableKeyboard,t.dragEnabled,t.hasMasterSpinner,t.interval,t.isPageScrollLocked,t.isPlaying,t.lockOnWindowScroll,t.masterSpinnerFinished,t.moveThreshold,t.naturalSlideHeight),p=t.naturalSlideWidth,h=(t.onMasterSpinner,t.orientation),m=(t.playDirection,t.privateUnDisableAnimation,t.slideSize),g=t.slideTraySize,w=(t.spinner,t.style),v=t.tabIndex,y=(t.totalSlides,t.touchEnabled,t.trayProps),b=t.trayTag,S=t.visibleSlides,E=t.isIntrinsicHeight,_=f(t,Ct),C=c({},w),x={};"vertical"===h&&(x.height=0,x.paddingBottom=M(100*d*S/p),x.width=M(100));var k={},O=M(m*l*-1);(this.state.isBeingTouchDragged||this.state.isBeingMouseDragged||u)&&(k.transition="none"),E&&(k.display="flex",k.alignItems="stretch"),"vertical"===h?(k.transform="translateY(".concat(O,") translateY(").concat(this.state.deltaY,"px)"),k.width=M(100),k.flexDirection="column"):(k.width=M(g),k.transform="translateX(".concat(O,") translateX(").concat(this.state.deltaX,"px)"),k.flexDirection="row");var N=T(["vertical"===h?_t.verticalSlider:_t.horizontalSlider,"carousel__slider","vertical"===h?"carousel__slider--vertical":"carousel__slider--horizontal",i]),F=T([_t.sliderTrayWrap,"carousel__slider-tray-wrapper","vertical"===h?_t.verticalSlideTrayWrap:_t.horizontalTrayWrap,"vertical"===h?"carousel__slider-tray-wrap--vertical":"carousel__slider-tray-wrap--horizontal",s]),j=T([_t.sliderTray,o||_t.sliderAnimation,"carousel__slider-tray","vertical"===h?_t.verticalTray:_t.horizontalTray,"vertical"===h?"carousel__slider-tray--vertical":"carousel__slider-tray--horizontal",a]),P=null!==v?v:0,D=(_.dragStep,_.step,_.infinite,f(_,xt)),A=(y.className,y.onClickCapture,y.onMouseDown,y.onTouchCancel,y.onTouchEnd,y.onTouchMove,y.onTouchStart,y.ref,y.style,f(y,kt));return Y.a.createElement("div",c({ref:function(t){e.sliderElement=t},className:N,"aria-live":"polite","aria-label":n,style:C,tabIndex:P,onKeyDown:this.handleOnKeyDown,role:"listbox"},D),Y.a.createElement("div",{className:F,style:x},Y.a.createElement(b,c({ref:this.getSliderRef,className:j,style:k,onTouchStart:this.handleOnTouchStart,onTouchMove:this.handleOnTouchMove,onTouchEnd:this.handleOnTouchEnd,onTouchCancel:this.handleOnTouchCancel,onMouseDown:this.handleOnMouseDown,onClickCapture:this.handleOnClickCapture},A),r),this.renderMasterSpinner()))}}],[{key:"slideSizeInPx",value:function(e,t,n,r){return("horizontal"===e?t:n)/r}},{key:"slidesMoved",value:function(e,t,n,r,i,o){var a="horizontal"===t?n:r,s=Math.abs(Math.round(a/i)),l=Math.abs(a)>=i*e?o:0,c=Math.max(l,s);if(a<0)return c;var u=-c;return 0===u?0:u}}]),t}(Y.a.Component),l(ct,"propTypes",{ariaLabel:K.string,carouselStore:K.object.isRequired,children:K.node.isRequired,className:K.string,classNameAnimation:K.string,classNameTray:K.string,classNameTrayWrap:K.string,currentSlide:K.number.isRequired,disableAnimation:K.bool,disableKeyboard:K.bool,dragEnabled:K.bool.isRequired,dragStep:K.number,hasMasterSpinner:K.bool.isRequired,infinite:K.bool,interval:K.number.isRequired,isPageScrollLocked:K.bool.isRequired,isPlaying:K.bool.isRequired,lockOnWindowScroll:K.bool.isRequired,masterSpinnerFinished:K.bool.isRequired,moveThreshold:K.number,naturalSlideHeight:K.number.isRequired,naturalSlideWidth:K.number.isRequired,onMasterSpinner:K.func,orientation:J.orientation.isRequired,playDirection:J.direction.isRequired,privateUnDisableAnimation:K.bool,slideSize:K.number.isRequired,slideTraySize:K.number.isRequired,spinner:K.func,step:K.number.isRequired,style:K.object,tabIndex:K.number,totalSlides:K.number.isRequired,touchEnabled:K.bool.isRequired,trayProps:K.shape({className:K.string,onClickCapture:K.func,onMouseDown:K.func,onTouchCancel:K.func,onTouchEnd:K.func,onTouchMove:K.func,onTouchStart:K.func,ref:K.shape({}),style:K.string}),trayTag:K.string,visibleSlides:K.number,isIntrinsicHeight:K.bool}),l(ct,"defaultProps",{ariaLabel:"slider",className:null,classNameAnimation:null,classNameTray:null,classNameTrayWrap:null,disableAnimation:!1,disableKeyboard:!1,dragStep:1,infinite:!1,moveThreshold:.1,onMasterSpinner:null,privateUnDisableAnimation:!1,spinner:null,style:{},tabIndex:null,trayProps:{},trayTag:"div",visibleSlides:1,isIntrinsicHeight:!1}),ut),Tt=Z(Ot,function(e){return{currentSlide:e.currentSlide,disableAnimation:e.disableAnimation,privateUnDisableAnimation:e.privateUnDisableAnimation,disableKeyboard:e.disableKeyboard,dragEnabled:e.dragEnabled,hasMasterSpinner:e.hasMasterSpinner,infinite:e.infinite,interval:e.interval,isPageScrollLocked:e.isPageScrollLocked,isPlaying:e.isPlaying,lockOnWindowScroll:e.lockOnWindowScroll,masterSpinnerFinished:e.masterSpinnerFinished,naturalSlideHeight:e.naturalSlideHeight,naturalSlideWidth:e.naturalSlideWidth,orientation:e.orientation,playDirection:e.playDirection,slideSize:e.slideSize,slideTraySize:e.slideTraySize,step:e.step,dragStep:e.dragStep,totalSlides:e.totalSlides,touchEnabled:e.touchEnabled,visibleSlides:e.visibleSlides,isIntrinsicHeight:e.isIntrinsicHeight}})},function(e,t,n){"use strict";var r=n(82),i=n.n(r),o=n(83),a=n.n(o),s=n(30),l=n.n(s),c=n(208),u=n(84),d=n(209),p=wp.i18n.__,h=wp.blocks.registerBlockType,m=wp,f=m.apiFetch,g=wp.data,w=g.registerStore,v=g.withSelect,y=wp.blockEditor.InspectorControls,b=wp.components,S=b.PanelBody,E=b.PanelRow,_=b.TextControl,C=b.ColorPalette,x=b.RadioControl,k=b.ToggleControl,O=b.SelectControl,T=b.RangeControl,N=window.exactmetrics_gutenberg_tool_vars,F={setThemes:function(e){return{type:"SET_THEMES",themes:e}},receiveThemes:function(e){return{type:"RECEIVE_THEMES",path:e}}};w("exactmetrics/v1/popular-posts/widget",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{themes:{}},t=arguments[1];switch(t.type){case"SET_THEMES":return l()({},e,{themes:t.themes})}return e},actions:F,selectors:{receiveThemes:function(e){return e.themes}},controls:{RECEIVE_THEMES:function(e){return f({path:e.path})}},resolvers:{receiveThemes:a.a.mark(function e(t){var n,r;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,F.receiveThemes("/exactmetrics/v1/popular-posts/themes/widget");case 2:if(n=e.sent,void 0===n.themes){e.next=6;break}for(r in n.themes)n.themes.hasOwnProperty(r)&&(n.themes[r].value=r);return e.abrupt("return",F.setThemes(n));case 6:case"end":return e.stop()}},e,this)})}}),h("exactmetrics/popular-posts-widget",{title:p("Popular Posts","google-analytics-dashboard-for-wp"),description:p("Add popular posts from ExactMetrics","google-analytics-dashboard-for-wp"),category:"widgets",icon:c.a.widgetpop,keywords:[p("Popular","google-analytics-dashboard-for-wp"),p("Posts","google-analytics-dashboard-for-wp"),p("Widget","google-analytics-dashboard-for-wp"),"ExactMetrics"],example:{},attributes:{theme:{type:"string"},title_size:{type:"number"},title_color:{type:"string"},label_color:{type:"string"},label_text:{type:"string"},label_background:{type:"string"},background_color:{type:"string"},background_border:{type:"string"},meta_color:{type:"string"},meta_size:{type:"string"},meta_author:{type:"boolean"},meta_date:{type:"boolean"},meta_comments:{type:"boolean"},comments_color:{type:"string"},columns:{type:"number",default:1},widget_title:{type:"boolean"},widget_title_text:{type:"string"},post_count:{type:"number",default:5},categories:{type:"array",default:[]}},edit:v(function(e){return{themes:e("exactmetrics/v1/popular-posts/widget").receiveThemes()}})(function(e){var t=e.attributes,n=t.theme,r=(t.title_size,t.title_color,t.label_color,t.label_text,t.label_background,t.background_color,t.background_border,t.meta_color,t.meta_size,t.meta_author,t.meta_comments,t.meta_date,t.comments_color,t.columns),o=t.widget_title,a=t.widget_title_text,s=t.post_count,l=t.categories,h=e.themes,m=e.setAttributes,f=[{name:"pink",color:"#F58EA8"},{name:"red",color:"#CD3034"},{name:"orange",color:"#FD6A21"},{name:"yellow",color:"#FBB82B"},{name:"green",color:"#7FDBB6"},{name:"green",color:"#21CF86"},{name:"blue",color:"#91D2FA"},{name:"blue",color:"#1B95E0"},{name:"purple",color:"#9A57DD"},{name:"gray",color:"#EEEEEE"},{name:"gray",color:"#ACB8C3"},{name:"black",color:"#000000"}],g=void 0!==h.themes?h.themes:{},w=void 0===e.attributes.theme?h.selected:n,v=void 0!==w&&void 0!==g[w]?g[w]:{},b=void 0!==v.styles?v.styles:{},F={};for(var M in b)if(b.hasOwnProperty(M))for(var j in b[M])if(b[M].hasOwnProperty(j)){var P=M+"_"+j;void 0===e.attributes[P]?F[P]=b[M][j]:F[P]=e.attributes[P],"on"===F[P]&&(F[P]=!0),"off"===F[P]&&(F[P]=!1)}var D=function(e,t){var n=[1,2,3,4,5,6,7,8,9,10];return 2===e&&(n=[2,4,6,8,10]),3===e&&(n=[3,6,9]),t&&(n=n.map(function(e){return{value:e,label:e}})),n},A=function(){if(void 0!==b.meta.author)return wp.element.createElement(k,{label:p("Display Author","google-analytics-dashboard-for-wp"),checked:F.meta_author,onChange:function(e){m(i()({},"meta_author",e))}})},L=function(){if(void 0!==b.meta.date)return wp.element.createElement(k,{label:p("Display Date","google-analytics-dashboard-for-wp"),checked:F.meta_date,onChange:function(e){m(i()({},"meta_date",e))}})},B=function(){if(void 0!==b.meta.comments)return wp.element.createElement(k,{label:p("Display Comments","google-analytics-dashboard-for-wp"),checked:F.meta_comments,onChange:function(e){m(i()({},"meta_comments",e))}})},z=function(){return wp.element.createElement("span",{className:"exactmetrics-wide-column exactmetrics-wide-column-one"},wp.element.createElement("span",null),wp.element.createElement("span",null))},R=function(){return wp.element.createElement("span",{className:"exactmetrics-wide-column exactmetrics-wide-column-two"},wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null))},H=function(){return wp.element.createElement("span",{className:"exactmetrics-wide-column exactmetrics-wide-column-three"},wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null),wp.element.createElement("span",null))},I=function(e,t){var n=F[t];return wp.element.createElement(T,{key:"exactmetrics-popular-posts-input"+t,label:e,value:parseInt(n),min:1,max:100,onChange:function(e){return m(i()({},t,""===e?"":parseInt(e)))}})},q=function(e,t){var n=F[t];return wp.element.createElement(_,{key:"exactmetrics-popular-posts-input"+t,label:e,type:"text",value:n,onChange:function(e){return m(i()({},t,e))}})},V=function(e,t){var n=F[t];return[wp.element.createElement("label",{key:"exactmetrics-popular-posts-label"+t},e),wp.element.createElement(C,{key:"exactmetrics-popular-posts-input"+t,value:n,colors:f,onChange:function(e){m(i()({},t,e))}})]},W=function(e,t){if(e.length>0&&void 0!==e[t]){var n=e[t];return wp.element.createElement("div",{className:"exactmetrics-widget-popular-posts-image"},wp.element.createElement("img",{src:N.vue_assets_path+"img/"+n}))}},Z=function(){if(void 0!==b.label)return wp.element.createElement("span",{style:{color:F.label_color,backgroundColor:F.label_background},className:"exactmetrics-widget-popular-posts-label"},F.label_text)},U=function(){if(void 0!==b.meta)return[wp.element.createElement("div",{className:"exactmetrics-widget-popular-posts-meta",key:"exactmetrics-widget-popular-posts-meta-options",style:{color:F.meta_color,fontSize:F.meta_size+"px"}},Y(),X(),K()),wp.element.createElement("span",{key:"exactmetrics-widget-popular-posts-comments-options"},G())]},Y=function(){if(F.meta_author)return wp.element.createElement("span",{className:"exactmetrics-widget-popular-posts-author"},"by Aazim Akhtar")},X=function(){if(F.meta_author&&F.meta_date)return wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:b.meta.separator}})},G=function(){if(void 0!==b.meta&&void 0!==b.meta.comments&&F.meta_comments){var e=void 0!==b.comments?F.comments_color:F.meta_color;return wp.element.createElement("span",{className:"exactmetrics-widget-popular-posts-comments",style:{color:e,fontSize:F.meta_size+"px"}},c.a.comments(e)," 24")}},K=function(){if(F.meta_date)return wp.element.createElement("span",{className:"exactmetrics-widget-popular-posts-date"},"Yesterday")},$=function(e){for(;e.length<=10;)e=e.concat(e);return e};return[wp.element.createElement(y,{key:"exactmetrics-popular-posts-widget-inspector-controls"},wp.element.createElement(S,{title:p("Theme","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-theme"},wp.element.createElement(E,{key:"exactmetrics-popular-posts-widget-theme-row"},wp.element.createElement(u.a,{id:"exactmetrics-popular-posts-widget-theme",options:g,selected:w,icons:c.a,onChange:function(e){m({theme:e})}}))),function(){if(void 0!==b.title){var e=[];return void 0!==b.title.size&&e.push(I(p("Title Font Size","google-analytics-dashboard-for-wp"),"title_size")),void 0!==b.title.color&&e.push(V(p("Title Color","google-analytics-dashboard-for-wp"),"title_color")),wp.element.createElement(S,{title:p("Title Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-title"},e)}}(),function(){if(void 0!==b.background&&void 0!==b.background.color){var e=[];return void 0!==b.background.color&&e.push(V(p("Background Color","google-analytics-dashboard-for-wp"),"background_color")),wp.element.createElement(S,{title:p("Background Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-background"}," ",e," ")}}(),function(){if(void 0!==b.label){var e=[];return void 0!==b.label.text&&e.push(q(p("Label Text","google-analytics-dashboard-for-wp"),"label_text")),void 0!==b.label.color&&e.push(V(p("Label Color","google-analytics-dashboard-for-wp"),"label_color")),void 0!==b.label.background&&e.push(V(p("Label Background","google-analytics-dashboard-for-wp"),"label_background")),wp.element.createElement(S,{title:p("Label Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-label"}," ",e," ")}}(),function(){var e=[];if(void 0!==b.border&&void 0!==b.border.color&&e.push(V(p("Border Color","google-analytics-dashboard-for-wp"),"borderColor")),void 0!==b.border&&void 0!==b.border.color2&&e.push(V(p("Bottom Border Color","google-analytics-dashboard-for-wp"),"borderColor2")),void 0!==b.background&&void 0!==b.background.border&&e.push(V(p("Border Color","google-analytics-dashboard-for-wp"),"background_border")),0!==e.length)return wp.element.createElement(S,{title:p("Border Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-inline-border"}," ",e," ")}(),function(){if(void 0!==b.meta){var e=[];return void 0!==b.meta.size&&e.push(I(p("Meta Font Size","google-analytics-dashboard-for-wp"),"meta_size")),void 0!==b.meta.color&&e.push(V(p("Meta Color","google-analytics-dashboard-for-wp"),"meta_color")),wp.element.createElement(S,{title:p("Meta Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-meta-styles"},e)}}(),function(){if(void 0!==b.comments)return wp.element.createElement(S,{title:p("Comment Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-comment-styles"},V(p("Comment Color","google-analytics-dashboard-for-wp"),"comments_color"))}(),function(){return wp.element.createElement(S,{title:p("Wide-Layout Options","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-columns"},wp.element.createElement(x,{label:p("Choose Layout","google-analytics-dashboard-for-wp"),help:p("Adjust the number of columns displayed when the widget is placed in a wide container.","google-analytics-dashboard-for-wp"),className:"exactmetrics-wide-column-options",key:"exactmetrics-popular-posts-widget-columns-control",options:[{value:1,label:z()},{value:2,label:R()},{value:3,label:H()}],selected:r,onChange:function(e){m(i()({},"columns",""===e?"":parseInt(e)));var t=D(parseInt(e));-1===t.indexOf(s)&&m(i()({},"post_count",parseInt(t[0])))}}),wp.element.createElement(O,{label:p("Post Count","google-analytics-dashboard-for-wp"),help:p("Number of posts displayed.","google-analytics-dashboard-for-wp"),options:D(r,!0),value:s,key:"exactmetrics-popular-posts-widget-post-count",onChange:function(e){m(i()({},"post_count",parseInt(e)))}}))}(),function(){if(void 0!==b.meta)return wp.element.createElement(S,{title:p("Display Options","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-meta-options"},A(),L(),B())}(),function(){return wp.element.createElement(S,{title:p("Behavior Settings","google-analytics-dashboard-for-wp"),key:"exactmetrics-popular-posts-widget-behavior-options"},wp.element.createElement(k,{label:p("Display Widget Title","google-analytics-dashboard-for-wp"),checked:o,onChange:function(e){m(i()({},"widget_title",e))}}),wp.element.createElement(_,{key:"exactmetrics-popular-posts-input-widget-title-text",label:p("Widget Title","google-analytics-dashboard-for-wp"),type:"text",value:a,onChange:function(e){return m(i()({},"widget_title_text",e))}}),wp.element.createElement(d.a,{label:p("Only Show Posts From These Categories","google-analytics-dashboard-for-wp"),slug:"category",onUpdateTerms:function(e){m(i()({},"categories",e))},terms:l}))}()),wp.element.createElement("div",{key:"exactmetrics-popular-posts-widget-preview"},wp.element.createElement("div",{className:"exactmetrics-widget-popular-posts-widget exactmetrics-widget-popular-posts-"+w+" exactmetrics-widget-popular-posts-columns-"+r},function(){if(o)return wp.element.createElement("h2",{className:"exactmetrics-widget-popular-posts-widget-title"},a)}(),wp.element.createElement("div",{className:"exactmetrics-widget-popular-posts-text"},function(){if(void 0!==v.list&&void 0!==v.list.items){var e=$(v.list.items),t=void 0!==v.list.images?$(v.list.images):[],n=[];for(var r in e){if(parseInt(r)===parseInt(s))break;n.push(wp.element.createElement("li",{key:"exactmetrics-popular-posts-preview-list-item-"+r,style:{backgroundColor:F.background_color,borderColor:F.background_border}},W(t,r),wp.element.createElement("div",{className:"exactmetrics-widget-popular-posts-text"},Z(),wp.element.createElement("a",{className:"exactmetrics-widget-popular-posts-title",style:{color:F.title_color,fontSize:F.title_size+"px"}},e[r]),U())))}return wp.element.createElement("ul",{className:"exactmetrics-widget-popular-posts-list"},n)}}())))]}),save:function(e){return null}})},function(e,t,n){"use strict";var r={};r.widgetpop=wp.element.createElement("svg",{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 0C0.895431 0 0 0.895431 0 2V10C0 11.1046 0.895431 12 2 12H14C15.1046 12 16 11.1046 16 10V2C16 0.895431 15.1046 0 14 0H2ZM8.94046 4.70557L8 2L7.05954 4.70557L4.19577 4.76393L6.47831 6.49443L5.64886 9.23607L8 7.6L10.3511 9.23607L9.52169 6.49443L11.8042 4.76393L8.94046 4.70557ZM0 14H14V16H0V14ZM10 18H0V20H10V18Z",fill:"#555D66"})),r.alpha=wp.element.createElement("svg",{width:"74",height:"46",viewBox:"0 0 74 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"46",rx:"5",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"7.39999",y:"12",width:"59.2",height:"9",rx:"2",fill:"#6528F5"}),wp.element.createElement("rect",{x:"7.39999",y:"25",width:"51.8",height:"9",rx:"2",fill:"#6528F5"})),r.beta=wp.element.createElement("svg",{width:"74",height:"46",viewBox:"0 0 74 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("path",{d:"M0 15C0 13.3431 1.34315 12 3 12H4V34H3C1.34315 34 0 32.6569 0 31V15Z",fill:"#6528F5"}),wp.element.createElement("rect",{x:"12",y:"12",width:"54",height:"9",rx:"2",fill:"#8453F7"}),wp.element.createElement("rect",{x:"12",y:"25",width:"44",height:"9",rx:"2",fill:"#8453F7"})),r.charlie=wp.element.createElement("svg",{width:"74",height:"46",viewBox:"0 0 74 46",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"46",rx:"3",fill:"#F0EAFE"}),wp.element.createElement("rect",{width:"74",height:"4",fill:"#6528F5"}),wp.element.createElement("rect",{x:"8",y:"14",width:"58",height:"9",rx:"2",fill:"#8453F7"}),wp.element.createElement("rect",{x:"8",y:"27",width:"40",height:"9",rx:"2",fill:"#8453F7"})),r.delta=wp.element.createElement("svg",{width:"74",height:"39",viewBox:"0 0 74 39",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{x:"31",y:"12",width:"43",height:"7",rx:"2",fill:"#8453F7"}),wp.element.createElement("rect",{x:"31",y:"23",width:"32",height:"7",rx:"2",fill:"#8453F7"}),wp.element.createElement("rect",{x:"31",y:"34",width:"43",height:"5",rx:"2",fill:"#D1BFFC"}),wp.element.createElement("rect",{y:"12",width:"27",height:"27",rx:"2",fill:"#6528F5"}),wp.element.createElement("rect",{width:"74",height:"4",fill:"#6528F5"})),r.echo=wp.element.createElement("svg",{width:"74",height:"76",viewBox:"0 0 74 76",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"76",rx:"5",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"8",y:"41",width:"58",height:"7",rx:"2",fill:"#6528F5"}),wp.element.createElement("rect",{x:"8",y:"61",width:"7",height:"7",rx:"3.5",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"8",y:"8",width:"58",height:"29",rx:"2",fill:"#6528F5"}),wp.element.createElement("rect",{x:"8",y:"52",width:"34",height:"5",rx:"2",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"46",y:"52",width:"20",height:"5",rx:"2",fill:"#D1BFFC"})),r.foxtrot=wp.element.createElement("svg",{width:"74",height:"43",viewBox:"0 0 74 43",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"43",rx:"5",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"8",y:"8",width:"58",height:"7",rx:"2",fill:"#6528F5"}),wp.element.createElement("rect",{x:"8",y:"28",width:"7",height:"7",rx:"3.5",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"8",y:"19",width:"34",height:"5",rx:"2",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"46",y:"19",width:"20",height:"5",rx:"2",fill:"#D1BFFC"})),r.golf=wp.element.createElement("svg",{width:"74",height:"56",viewBox:"0 0 74 56",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"56",rx:"5",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"8",y:"21",width:"58",height:"7",rx:"2",fill:"#6528F5"}),wp.element.createElement("rect",{x:"8",y:"41",width:"7",height:"7",rx:"3.5",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"8",y:"8",width:"16",height:"9",rx:"2",fill:"#6528F5"}),wp.element.createElement("rect",{x:"8",y:"32",width:"34",height:"5",rx:"2",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"46",y:"32",width:"20",height:"5",rx:"2",fill:"#D1BFFC"})),r.hotel=wp.element.createElement("svg",{width:"74",height:"50",viewBox:"0 0 74 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("rect",{width:"74",height:"50",rx:"5",fill:"#6528F5"}),wp.element.createElement("path",{d:"M54.0625 42H19.9375C18.8438 42 17.9141 41.6111 17.1484 40.8333C16.3828 40.0556 16 39.1111 16 38V14C16 12.8889 16.3828 11.9444 17.1484 11.1667C17.9141 10.3889 18.8438 10 19.9375 10H54.0625C55.1562 10 56.0859 10.3889 56.8516 11.1667C57.6172 11.9444 58 12.8889 58 14V38C58 39.1111 57.6172 40.0556 56.8516 40.8333C56.0859 41.6111 55.1562 42 54.0625 42ZM28.3867 16.0833C27.5117 15.1389 26.4453 14.6667 25.1875 14.6667C23.9297 14.6667 22.8359 15.1389 21.9062 16.0833C21.0312 16.9722 20.5938 18.0556 20.5938 19.3333C20.5938 20.6111 21.0312 21.7222 21.9062 22.6667C22.8359 23.5556 23.9297 24 25.1875 24C26.4453 24 27.5117 23.5556 28.3867 22.6667C29.3164 21.7222 29.7812 20.6111 29.7812 19.3333C29.7812 18.0556 29.3164 16.9722 28.3867 16.0833ZM21.25 36.6667H52.75V27.3333L45.5312 20C45.0938 19.5556 44.6562 19.5556 44.2188 20L33.0625 31.3333L28.4688 26.6667C28.0312 26.2222 27.5938 26.2222 27.1562 26.6667L21.25 32.6667V36.6667Z",fill:"#8453F7"}),wp.element.createElement("rect",{x:"8",y:"26",width:"58",height:"7",rx:"2",fill:"#F0EAFE"}),wp.element.createElement("rect",{x:"8",y:"37",width:"34",height:"5",rx:"2",fill:"#D1BFFC"}),wp.element.createElement("rect",{x:"46",y:"37",width:"20",height:"5",rx:"2",fill:"#D1BFFC"})),r.comments=function(e){return wp.element.createElement("svg",{width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{fill:e}},wp.element.createElement("path",{d:"M7.8251 1.25893C8.70332 2.09821 9.14243 3.10714 9.14243 4.28571C9.14243 5.46429 8.70332 6.47321 7.8251 7.3125C6.94689 8.15179 5.8887 8.57143 4.65056 8.57143C3.78674 8.57143 2.98771 8.34821 2.25346 7.90179C1.63439 8.34821 0.993719 8.57143 0.331456 8.57143C0.302662 8.57143 0.273868 8.5625 0.245074 8.54464C0.216279 8.50893 0.194684 8.47321 0.180287 8.4375C0.151493 8.34821 0.158691 8.26786 0.201882 8.19643C0.50422 7.83929 0.763366 7.35714 0.979321 6.75C0.432235 6.01786 0.158691 5.19643 0.158691 4.28571C0.158691 3.10714 0.5978 2.09821 1.47602 1.25893C2.35424 0.419643 3.41242 0 4.65056 0C5.8887 0 6.94689 0.419643 7.8251 1.25893ZM11.7771 10.1786C11.993 10.7857 12.2522 11.2679 12.5545 11.625C12.5977 11.6964 12.6049 11.7768 12.5761 11.8661C12.5473 11.9554 12.4969 12 12.425 12C11.7627 12 11.122 11.7768 10.5029 11.3304C9.7687 11.7768 8.96967 12 8.10585 12C7.18444 12 6.34941 11.7589 5.60076 11.2768C4.85212 10.7946 4.30503 10.1607 3.9595 9.375C4.21865 9.41071 4.449 9.42857 4.65056 9.42857C6.07587 9.42857 7.29241 8.92857 8.30021 7.92857C9.32239 6.91071 9.83349 5.69643 9.83349 4.28571C9.83349 4.08929 9.82629 3.91071 9.81189 3.75C10.6325 4.07143 11.302 4.59821 11.8203 5.33036C12.3386 6.04464 12.5977 6.83929 12.5977 7.71429C12.5977 8.625 12.3242 9.44643 11.7771 10.1786Z"}))},t.a=r},function(e,t,n){"use strict";var r=n(15),i=n.n(r),o=n(16),a=n.n(o),s=n(17),l=n.n(s),c=n(18),u=n.n(c),d=n(19),p=n.n(d),h=n(26),m=(n.n(h),n(210),n(20)),f=wp.components.CheckboxControl,g=function(e){function t(){a()(this,t);var e=u()(this,(t.__proto__||i()(t)).call(this));return e.state={},e}return p()(t,e),l()(t,[{key:"renderTerms",value:function(e){return e.map(function(e){return wp.element.createElement("div",{key:e.id,className:"editor-post-taxonomies__hierarchical-terms-choice"},wp.element.createElement(f,{checked:!0,label:Object(h.unescape)(e.name)}))})}},{key:"render",value:function(){return[wp.element.createElement("label",{key:"exactmetrics-hierarchical-term-list-label",className:"components-base-control__label"},this.props.label,wp.element.createElement("span",{className:"exactmetrics-popular-posts-pro-pill"},"PRO")),wp.element.createElement("div",{className:"editor-post-taxonomies__hierarchical-terms-list exactmetrics-hierarchical-terms exactmetrics-hierarchical-terms-disabled",key:"exactmetrics-hierarchical-term-list",tabIndex:"0",role:"group"},this.renderTerms([{name:"News",id:1},{name:"Technology",id:2}]))]}}]),t}(m.a);t.a=g},function(e,t,n){"use strict";n(211),n(85),n(219)},function(e,t,n){"use strict";var r=n(212),i=n.n(r),o=n(213);n.n(o),i()(console.error)},function(e,t,n){function r(e,t){function n(){var n,a,s=r,l=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(a=0;a<l;a++)if(s.args[a]!==arguments[a]){s=s.next;continue e}return s!==r&&(s===i&&(i=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=r,s.prev=null,r.prev=s,r=s),s.val}s=s.next}for(n=new Array(l),a=0;a<l;a++)n[a]=arguments[a];return s={args:n,val:e.apply(null,n)},r?(r.prev=s,s.next=r):i=s,o===t.maxSize?(i=i.prev,i.next=null):o++,r=s,s.val}var r,i,o=0;return t=t||{},n.clear=function(){r=null,i=null,o=0},n}e.exports=r},function(e,t,n){var r;!function(){"use strict";function i(e){return a(s(e),arguments)}function o(e,t){return i.apply(null,[e].concat(t||[]))}function a(e,t){var n,r,o,a,s,c,u,d,p,h=1,m=e.length,f="";for(r=0;r<m;r++)if("string"==typeof e[r])f+=e[r];else if("object"==typeof e[r]){if(a=e[r],a.keys)for(n=t[h],o=0;o<a.keys.length;o++){if(void 0==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',a.keys[o],a.keys[o-1]));n=n[a.keys[o]]}else n=a.param_no?t[a.param_no]:t[h++];if(l.not_type.test(a.type)&&l.not_primitive.test(a.type)&&n instanceof Function&&(n=n()),l.numeric_arg.test(a.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(l.number.test(a.type)&&(d=n>=0),a.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,a.width?parseInt(a.width):0);break;case"e":n=a.precision?parseFloat(n).toExponential(a.precision):parseFloat(n).toExponential();break;case"f":n=a.precision?parseFloat(n).toFixed(a.precision):parseFloat(n);break;case"g":n=a.precision?String(Number(n.toPrecision(a.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=a.precision?n.substring(0,a.precision):n;break;case"t":n=String(!!n),n=a.precision?n.substring(0,a.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=a.precision?n.substring(0,a.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=a.precision?n.substring(0,a.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}l.json.test(a.type)?f+=n:(!l.number.test(a.type)||d&&!a.sign?p="":(p=d?"+":"-",n=n.toString().replace(l.sign,"")),c=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",u=a.width-(p+n).length,s=a.width&&u>0?c.repeat(u):"",f+=a.align?p+n+s:"0"===c?p+s+n:s+p+n)}return f}function s(e){if(c[e])return c[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=l.text.exec(n)))r.push(t[0]);else if(null!==(t=l.modulo.exec(n)))r.push("%");else{if(null===(t=l.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var o=[],a=t[2],s=[];if(null===(s=l.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(o.push(s[1]);""!==(a=a.substring(s[0].length));)if(null!==(s=l.key_access.exec(a)))o.push(s[1]);else{if(null===(s=l.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");o.push(s[1])}t[2]=o}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return c[e]=r}var l={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/},c=Object.create(null);t.sprintf=i,t.vsprintf=o,"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=o,void 0!==(r=function(){return{sprintf:i,vsprintf:o}}.call(t,n,t,e))&&(e.exports=r))}()},function(e,t,n){"use strict";function r(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(r=t[n].trim(),0===r.indexOf("plural="))return r.substr(7)}function i(e,t){var n;this.data=e,this.pluralForms={},this.options={};for(n in a)this.options[n]=void 0!==t&&n in t?t[n]:a[n]}t.a=i;var o=n(215),a={contextDelimiter:"",onMissingKey:null};i.prototype.getPluralForm=function(e,t){var n,i,a,s=this.pluralForms[e];return s||(n=this.data[e][""],a=n["Plural-Forms"]||n["plural-forms"]||n.plural_forms,"function"!=typeof a&&(i=r(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),a=Object(o.a)(i)),s=this.pluralForms[e]=a),s(t)},i.prototype.dcnpgettext=function(e,t,n,r,i){var o,a,s;return o=void 0===i?0:this.getPluralForm(e,i),a=n,t&&(a=t+this.options.contextDelimiter+n),(s=this.data[e][a])&&s[o]?s[o]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===o?n:r)}},function(e,t,n){"use strict";function r(e){var t=Object(i.a)(e);return function(e){return+t({n:e})}}t.a=r;var i=n(216)},function(e,t,n){"use strict";function r(e){var t=Object(i.a)(e);return function(e){return Object(o.a)(t,e)}}t.a=r;var i=n(217),o=n(218)},function(e,t,n){"use strict";function r(e){for(var t,n,r,l,c=[],u=[];t=e.match(s);){for(n=t[0],r=e.substr(0,t.index).trim(),r&&c.push(r);l=u.pop();){if(a[n]){if(a[n][0]===l){n=a[n][1]||n;break}}else if(o.indexOf(l)>=0||i[l]<i[n]){u.push(l);break}c.push(l)}a[n]||u.push(n),e=e.substr(t.index+n.length)}return e=e.trim(),e&&c.push(e),c.concat(u.reverse())}t.a=r;var i,o,a,s;i={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},o=["(","?"],a={")":["("],":":["?","?:"]},s=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/},function(e,t,n){"use strict";function r(e,t){var n,r,o,a,s,l,c=[];for(n=0;n<e.length;n++){if(s=e[n],a=i[s]){for(r=a.length,o=Array(r);r--;)o[r]=c.pop();try{l=a.apply(null,o)}catch(e){return e}}else l=t.hasOwnProperty(s)?t[s]:+s;c.push(l)}return c[0]}t.a=r;var i={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}}},function(e,t,n){"use strict";var r=n(85),i=n(220),o=Object(r.a)(void 0,void 0,i.a);o.getLocaleData.bind(o),o.setLocaleData.bind(o),o.resetLocaleData.bind(o),o.subscribe.bind(o),o.__.bind(o),o._x.bind(o),o._n.bind(o),o._nx.bind(o),o.isRTL.bind(o),o.hasTranslation.bind(o)},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(221),i=Object(r.a)();i.addAction,i.addFilter,i.removeAction,i.removeFilter,i.hasAction,i.hasFilter,i.removeAllActions,i.removeAllFilters,i.doAction,i.applyFilters,i.currentAction,i.currentFilter,i.doingAction,i.doingFilter,i.didAction,i.didFilter,i.actions,i.filters},function(e,t,n){"use strict";function r(){return new p}var i=n(222),o=n(223),a=n(224),s=n(225),l=n(226),c=n(227),u=n(228),d=n(229),p=function e(){Object(i.a)(this,e),this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=Object(o.a)(this,"actions"),this.addFilter=Object(o.a)(this,"filters"),this.removeAction=Object(a.a)(this,"actions"),this.removeFilter=Object(a.a)(this,"filters"),this.hasAction=Object(s.a)(this,"actions"),this.hasFilter=Object(s.a)(this,"filters"),this.removeAllActions=Object(a.a)(this,"actions",!0),this.removeAllFilters=Object(a.a)(this,"filters",!0),this.doAction=Object(l.a)(this,"actions"),this.applyFilters=Object(l.a)(this,"filters",!0),this.currentAction=Object(c.a)(this,"actions"),this.currentFilter=Object(c.a)(this,"filters"),this.doingAction=Object(u.a)(this,"actions"),this.doingFilter=Object(u.a)(this,"filters"),this.didAction=Object(d.a)(this,"actions"),this.didFilter=Object(d.a)(this,"filters")};t.a=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n,r,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,l=e[t];if(Object(o.a)(n)&&Object(i.a)(r)){if("function"!=typeof a)return void console.error("The hook callback must be a function.");if("number"!=typeof s)return void console.error("If specified, the hook priority must be a number.");var c={callback:a,priority:s,namespace:r};if(l[n]){var u,d=l[n].handlers;for(u=d.length;u>0&&!(s>=d[u-1].priority);u--);u===d.length?d[u]=c:d.splice(u,0,c),l.__current.forEach(function(e){e.name===n&&e.currentIndex>=u&&e.currentIndex++})}else l[n]={handlers:[c],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,a,s)}}}var i=n(86),o=n(50);t.a=r},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r,a){var s=e[t];if(Object(o.a)(r)&&(n||Object(i.a)(a))){if(!s[r])return 0;var l=0;if(n)l=s[r].handlers.length,s[r]={runs:s[r].runs,handlers:[]};else for(var c=s[r].handlers,u=c.length-1;u>=0;u--)!function(e){c[e].namespace===a&&(c.splice(e,1),l++,s.__current.forEach(function(t){t.name===r&&t.currentIndex>=e&&t.currentIndex--}))}(u);return"hookRemoved"!==r&&e.doAction("hookRemoved",r,a),l}}}var i=n(86),o=n(50);t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n,r){var i=e[t];return void 0!==r?n in i&&i[n].handlers.some(function(e){return e.namespace===r}):n in i}}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r){var i=e[t];i[r]||(i[r]={handlers:[],runs:0}),i[r].runs++;for(var o=i[r].handlers,a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];if(!o||!o.length)return n?s[0]:void 0;var c={name:r,currentIndex:0};for(i.__current.push(c);c.currentIndex<o.length;){var u=o[c.currentIndex],d=u.callback.apply(null,s);n&&(s[0]=d),c.currentIndex++}return i.__current.pop(),n?s[0]:void 0}}n(79);t.a=r},function(e,t,n){"use strict";function r(e,t){return function(){var n,r,i=e[t];return null!==(n=null===(r=i.__current[i.__current.length-1])||void 0===r?void 0:r.name)&&void 0!==n?n:null}}t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n){var r=e[t];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}}t.a=r},function(e,t,n){"use strict";function r(e,t){return function(n){var r=e[t];if(Object(i.a)(n))return r[n]&&r[n].runs?r[n].runs:0}}var i=n(50);t.a=r}]);
gadwp.php CHANGED
@@ -4,9 +4,9 @@
4
  * Plugin URI: https://exactmetrics.com
5
  * Description: Displays Google Analytics Reports and Real-Time Statistics in your Dashboard. Automatically inserts the tracking code in every page of your website.
6
  * Author: ExactMetrics
7
- * Version: 7.8.1
8
  * Requires at least: 4.8.0
9
- * Requires PHP: 5.5
10
  * Author URI: https://exactmetrics.com
11
  * Text Domain: google-analytics-dashboard-for-wp
12
  * Domain Path: /languages
@@ -44,7 +44,7 @@ final class ExactMetrics_Lite {
44
  * @access public
45
  * @var string $version Plugin version.
46
  */
47
- public $version = '7.8.1';
48
 
49
  /**
50
  * Plugin file.
4
  * Plugin URI: https://exactmetrics.com
5
  * Description: Displays Google Analytics Reports and Real-Time Statistics in your Dashboard. Automatically inserts the tracking code in every page of your website.
6
  * Author: ExactMetrics
7
+ * Version: 7.8.2
8
  * Requires at least: 4.8.0
9
+ * Requires PHP: 5.6
10
  * Author URI: https://exactmetrics.com
11
  * Text Domain: google-analytics-dashboard-for-wp
12
  * Domain Path: /languages
44
  * @access public
45
  * @var string $version Plugin version.
46
  */
47
+ public $version = '7.8.2';
48
 
49
  /**
50
  * Plugin file.
includes/helpers.php CHANGED
@@ -2004,3 +2004,173 @@ function exactmetrics_is_installed_aioseo_pro() {
2004
 
2005
  return false;
2006
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2004
 
2005
  return false;
2006
  }
2007
+
2008
+ if ( ! function_exists( 'wp_date' ) ) {
2009
+ /**
2010
+ * Retrieves the date, in localized format.
2011
+ *
2012
+ * This is a newer function, intended to replace `date_i18n()` without legacy quirks in it.
2013
+ *
2014
+ * Note that, unlike `date_i18n()`, this function accepts a true Unix timestamp, not summed
2015
+ * with timezone offset.
2016
+ *
2017
+ * @since WP 5.3.0
2018
+ *
2019
+ * @global WP_Locale $wp_locale WordPress date and time locale object.
2020
+ *
2021
+ * @param string $format PHP date format.
2022
+ * @param int $timestamp Optional. Unix timestamp. Defaults to current time.
2023
+ * @param DateTimeZone $timezone Optional. Timezone to output result in. Defaults to timezone
2024
+ * from site settings.
2025
+ * @return string|false The date, translated if locale specifies it. False on invalid timestamp input.
2026
+ */
2027
+ function wp_date( $format, $timestamp = null, $timezone = null ) {
2028
+ global $wp_locale;
2029
+
2030
+ if ( null === $timestamp ) {
2031
+ $timestamp = time();
2032
+ } elseif ( ! is_numeric( $timestamp ) ) {
2033
+ return false;
2034
+ }
2035
+
2036
+ if ( ! $timezone ) {
2037
+ $timezone = wp_timezone();
2038
+ }
2039
+
2040
+ $datetime = date_create( '@' . $timestamp );
2041
+ $datetime->setTimezone( $timezone );
2042
+
2043
+ if ( empty( $wp_locale->month ) || empty( $wp_locale->weekday ) ) {
2044
+ $date = $datetime->format( $format );
2045
+ } else {
2046
+ // We need to unpack shorthand `r` format because it has parts that might be localized.
2047
+ $format = preg_replace( '/(?<!\\\\)r/', DATE_RFC2822, $format );
2048
+
2049
+ $new_format = '';
2050
+ $format_length = strlen( $format );
2051
+ $month = $wp_locale->get_month( $datetime->format( 'm' ) );
2052
+ $weekday = $wp_locale->get_weekday( $datetime->format( 'w' ) );
2053
+
2054
+ for ( $i = 0; $i < $format_length; $i ++ ) {
2055
+ switch ( $format[ $i ] ) {
2056
+ case 'D':
2057
+ $new_format .= addcslashes( $wp_locale->get_weekday_abbrev( $weekday ), '\\A..Za..z' );
2058
+ break;
2059
+ case 'F':
2060
+ $new_format .= addcslashes( $month, '\\A..Za..z' );
2061
+ break;
2062
+ case 'l':
2063
+ $new_format .= addcslashes( $weekday, '\\A..Za..z' );
2064
+ break;
2065
+ case 'M':
2066
+ $new_format .= addcslashes( $wp_locale->get_month_abbrev( $month ), '\\A..Za..z' );
2067
+ break;
2068
+ case 'a':
2069
+ $new_format .= addcslashes( $wp_locale->get_meridiem( $datetime->format( 'a' ) ), '\\A..Za..z' );
2070
+ break;
2071
+ case 'A':
2072
+ $new_format .= addcslashes( $wp_locale->get_meridiem( $datetime->format( 'A' ) ), '\\A..Za..z' );
2073
+ break;
2074
+ case '\\':
2075
+ $new_format .= $format[ $i ];
2076
+
2077
+ // If character follows a slash, we add it without translating.
2078
+ if ( $i < $format_length ) {
2079
+ $new_format .= $format[ ++$i ];
2080
+ }
2081
+ break;
2082
+ default:
2083
+ $new_format .= $format[ $i ];
2084
+ break;
2085
+ }
2086
+ }
2087
+
2088
+ $date = $datetime->format( $new_format );
2089
+ $date = wp_maybe_decline_date( $date, $format );
2090
+ }
2091
+
2092
+ /**
2093
+ * Filters the date formatted based on the locale.
2094
+ *
2095
+ * @since WP 5.3.0
2096
+ *
2097
+ * @param string $date Formatted date string.
2098
+ * @param string $format Format to display the date.
2099
+ * @param int $timestamp Unix timestamp.
2100
+ * @param DateTimeZone $timezone Timezone.
2101
+ */
2102
+ $date = apply_filters( 'wp_date', $date, $format, $timestamp, $timezone );
2103
+
2104
+ return $date;
2105
+ }
2106
+ }
2107
+
2108
+ if (!function_exists('wp_timezone_string')) {
2109
+ /**
2110
+ * Retrieves the timezone of the site as a string.
2111
+ *
2112
+ * Uses the `timezone_string` option to get a proper timezone name if available,
2113
+ * otherwise falls back to a manual UTC ± offset.
2114
+ *
2115
+ * Example return values:
2116
+ *
2117
+ * - 'Europe/Rome'
2118
+ * - 'America/North_Dakota/New_Salem'
2119
+ * - 'UTC'
2120
+ * - '-06:30'
2121
+ * - '+00:00'
2122
+ * - '+08:45'
2123
+ *
2124
+ * @since WP 5.3.0
2125
+ *
2126
+ * @return string PHP timezone name or a ±HH:MM offset.
2127
+ */
2128
+ function wp_timezone_string() {
2129
+ $timezone_string = get_option( 'timezone_string' );
2130
+
2131
+ if ( $timezone_string ) {
2132
+ return $timezone_string;
2133
+ }
2134
+
2135
+ $offset = (float) get_option( 'gmt_offset' );
2136
+ $hours = (int) $offset;
2137
+ $minutes = ( $offset - $hours );
2138
+
2139
+ $sign = ( $offset < 0 ) ? '-' : '+';
2140
+ $abs_hour = abs( $hours );
2141
+ $abs_mins = abs( $minutes * 60 );
2142
+ $tz_offset = sprintf( '%s%02d:%02d', $sign, $abs_hour, $abs_mins );
2143
+
2144
+ return $tz_offset;
2145
+ }
2146
+ }
2147
+
2148
+ if (!function_exists('wp_timezone')) {
2149
+ /**
2150
+ * Retrieves the timezone of the site as a `DateTimeZone` object.
2151
+ *
2152
+ * Timezone can be based on a PHP timezone string or a ±HH:MM offset.
2153
+ *
2154
+ * @since WP 5.3.0
2155
+ *
2156
+ * @return DateTimeZone Timezone object.
2157
+ */
2158
+ function wp_timezone()
2159
+ {
2160
+ return new DateTimeZone(wp_timezone_string());
2161
+ }
2162
+ }
2163
+
2164
+ if ( ! function_exists( 'current_datetime' ) ) {
2165
+ /**
2166
+ * Retrieves the current time as an object using the site's timezone.
2167
+ *
2168
+ * @since WP 5.3.0
2169
+ *
2170
+ * @return DateTimeImmutable Date and time object.
2171
+ */
2172
+ function current_datetime() {
2173
+ return new DateTimeImmutable( 'now', wp_timezone() );
2174
+ }
2175
+ }
2176
+
languages/google-analytics-dashboard-for-wp.pot CHANGED
@@ -2,20 +2,20 @@
2
  # This file is distributed under the same license as the ExactMetrics Pro plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: ExactMetrics Pro 7.8.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/monsterinsights-temp\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2022-08-24T10:48:36+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.6.0\n"
15
  "X-Domain: google-analytics-dashboard-for-wp\n"
16
 
17
  #. Plugin Name of the plugin
18
- #: languages/vue.php:3504
19
  msgid "ExactMetrics Pro"
20
  msgstr ""
21
 
@@ -113,7 +113,7 @@ msgstr ""
113
  #: includes/admin/admin.php:34
114
  #: includes/admin/admin.php:42
115
  #: includes/admin/admin.php:230
116
- #: languages/vue.php:542
117
  msgid "Settings"
118
  msgstr ""
119
 
@@ -129,7 +129,7 @@ msgstr ""
129
 
130
  #: includes/admin/admin.php:39
131
  #: includes/admin/admin.php:131
132
- #: languages/vue.php:2326
133
  msgid "Reports"
134
  msgstr ""
135
 
@@ -139,7 +139,7 @@ msgstr ""
139
 
140
  #: includes/admin/admin.php:51
141
  #: languages/gutenberg.php:83
142
- #: languages/vue.php:1018
143
  msgid "Popular Posts"
144
  msgstr ""
145
 
@@ -192,7 +192,7 @@ msgstr ""
192
  #: includes/admin/admin.php:76
193
  #: includes/admin/notifications/notification-upgrade-to-pro-high-traffic.php:41
194
  #: includes/admin/notifications/notification-upgrade-to-pro.php:33
195
- #: languages/vue.php:1066
196
  msgid "Upgrade to Pro"
197
  msgstr ""
198
 
@@ -220,7 +220,7 @@ msgstr ""
220
 
221
  #: includes/admin/admin.php:220
222
  #: includes/admin/admin.php:223
223
- #: languages/vue.php:1042
224
  msgid "Support"
225
  msgstr ""
226
 
@@ -232,7 +232,7 @@ msgstr ""
232
  #: includes/admin/notifications/notification-upgrade-for-google-optimize.php:32
233
  #: includes/admin/notifications/notification-upgrade-for-post-templates.php:31
234
  #: includes/admin/reports/abstract-report.php:452
235
- #: languages/vue.php:1173
236
  msgid "Get ExactMetrics Pro"
237
  msgstr ""
238
 
@@ -243,13 +243,13 @@ msgstr ""
243
 
244
  #: includes/admin/admin.php:334
245
  #: includes/admin/admin.php:501
246
- #: languages/vue.php:1164
247
  msgid "Please Setup Website Analytics to See Audience Insights"
248
  msgstr ""
249
 
250
  #: includes/admin/admin.php:335
251
  #: includes/admin/admin.php:502
252
- #: languages/vue.php:1170
253
  msgid "Connect ExactMetrics and Setup Website Analytics"
254
  msgstr ""
255
 
@@ -264,13 +264,13 @@ msgstr ""
264
  #: includes/admin/notifications/notification-mobile-device-low-traffic.php:41
265
  #: includes/admin/notifications/notification-returning-visitors.php:43
266
  #: includes/admin/notifications/notification-traffic-dropping.php:43
267
- #: languages/vue.php:337
268
  msgid "Learn More"
269
  msgstr ""
270
 
271
  #: includes/admin/admin.php:339
272
  #: includes/admin/admin.php:506
273
- #: languages/vue.php:1167
274
  msgid "ExactMetrics, WordPress analytics plugin, helps you connect your website with Google Analytics, so you can see how people find and use your website. Over 3 million website owners use ExactMetrics to see the stats that matter and grow their business."
275
  msgstr ""
276
 
@@ -283,7 +283,7 @@ msgstr ""
283
  #. Translators: Adds a link to the license renewal.
284
  #: includes/admin/admin.php:362
285
  #: includes/admin/admin.php:529
286
- #: languages/vue.php:478
287
  msgid "Your license key for ExactMetrics has expired. %1$sPlease click here to renew your license key.%2$s"
288
  msgstr ""
289
 
@@ -294,7 +294,7 @@ msgstr ""
294
  #: includes/admin/admin.php:366
295
  #: includes/admin/admin.php:533
296
  #: includes/admin/api-auth.php:303
297
- #: languages/vue.php:484
298
  msgid "Your license key for ExactMetrics is invalid. The key no longer exists or the user associated with the key has been deleted. Please use a different key."
299
  msgstr ""
300
 
@@ -343,7 +343,7 @@ msgid "Click %1$shere%2$s to reauthenticate to be able to access reports. For mo
343
  msgstr ""
344
 
345
  #: includes/admin/admin.php:531
346
- #: languages/vue.php:481
347
  msgid "Your license key for ExactMetrics has been disabled. Please use a different key."
348
  msgstr ""
349
 
@@ -510,7 +510,7 @@ msgid "View 2021 Year in Review report!"
510
  msgstr ""
511
 
512
  #: includes/admin/common.php:951
513
- #: languages/vue.php:3349
514
  msgid "See how your website performed this year and find tips along the way to help grow even more in 2022!"
515
  msgstr ""
516
 
@@ -531,7 +531,7 @@ msgstr ""
531
 
532
  #: includes/admin/exclude-page-metabox.php:144
533
  #: languages/gutenberg.php:354
534
- #: languages/vue.php:3141
535
  msgid "Upgrade"
536
  msgstr ""
537
 
@@ -728,7 +728,7 @@ msgstr ""
728
  #: includes/admin/notifications/notification-upgrade-for-custom-dimensions.php:25
729
  #: includes/admin/notifications/notification-upgrade-for-events-reporting.php:25
730
  #: includes/admin/notifications/notification-upgrade-for-post-templates.php:25
731
- #: languages/vue.php:1753
732
  #: lite/includes/admin/helpers.php:85
733
  msgid "Upgrade to ExactMetrics Pro"
734
  msgstr ""
@@ -764,7 +764,7 @@ msgstr ""
764
  #: includes/admin/notifications/notification-upgrade-for-form-conversion.php:31
765
  #: includes/admin/notifications/notification-upgrade-for-search-console.php:32
766
  #: includes/admin/reports/abstract-report.php:449
767
- #: languages/vue.php:225
768
  msgid "Upgrade Now"
769
  msgstr ""
770
 
@@ -942,7 +942,7 @@ msgid "Please ask your webmaster to enable this addon."
942
  msgstr ""
943
 
944
  #: includes/admin/reports/overview.php:34
945
- #: languages/vue.php:440
946
  msgid "Overview"
947
  msgstr ""
948
 
@@ -1043,7 +1043,7 @@ msgid "ThirstyAffiliates is a revolution in affiliate link management. Collect,
1043
  msgstr ""
1044
 
1045
  #: includes/admin/routes.php:533
1046
- #: languages/vue.php:3702
1047
  msgid "Start accepting one-time and recurring payments on your WordPress site without setting up a shopping cart. No code required."
1048
  msgstr ""
1049
 
@@ -1495,7 +1495,7 @@ msgid "Question"
1495
  msgstr ""
1496
 
1497
  #: includes/gutenberg/headline-tool/headline-tool.php:304
1498
- #: languages/vue.php:549
1499
  msgid "General"
1500
  msgstr ""
1501
 
@@ -4895,7 +4895,7 @@ msgid "Theme"
4895
  msgstr ""
4896
 
4897
  #: languages/gutenberg.php:77
4898
- #: languages/vue.php:533
4899
  msgid "Inline Popular Posts"
4900
  msgstr ""
4901
 
@@ -4932,7 +4932,7 @@ msgid "Comment Color"
4932
  msgstr ""
4933
 
4934
  #: languages/gutenberg.php:107
4935
- #: languages/vue.php:3096
4936
  msgid "Wide-Layout Options"
4937
  msgstr ""
4938
 
@@ -4941,12 +4941,12 @@ msgid "Choose Layout"
4941
  msgstr ""
4942
 
4943
  #: languages/gutenberg.php:113
4944
- #: languages/vue.php:3099
4945
  msgid "Adjust the number of columns displayed when the widget is placed in a wide container."
4946
  msgstr ""
4947
 
4948
  #: languages/gutenberg.php:116
4949
- #: languages/vue.php:3120
4950
  msgid "Post Count"
4951
  msgstr ""
4952
 
@@ -4955,7 +4955,7 @@ msgid "Number of posts displayed."
4955
  msgstr ""
4956
 
4957
  #: languages/gutenberg.php:122
4958
- #: languages/vue.php:3102
4959
  msgid "Display Options"
4960
  msgstr ""
4961
 
@@ -4968,7 +4968,7 @@ msgid "Display Widget Title"
4968
  msgstr ""
4969
 
4970
  #: languages/gutenberg.php:131
4971
- #: languages/vue.php:1981
4972
  msgid "Widget Title"
4973
  msgstr ""
4974
 
@@ -4977,17 +4977,17 @@ msgid "Only Show Posts From These Categories"
4977
  msgstr ""
4978
 
4979
  #: languages/gutenberg.php:137
4980
- #: languages/vue.php:3108
4981
  msgid "Display Author"
4982
  msgstr ""
4983
 
4984
  #: languages/gutenberg.php:140
4985
- #: languages/vue.php:3111
4986
  msgid "Display Date"
4987
  msgstr ""
4988
 
4989
  #: languages/gutenberg.php:143
4990
- #: languages/vue.php:3114
4991
  msgid "Display Comments"
4992
  msgstr ""
4993
 
@@ -5208,7 +5208,7 @@ msgid "Goal: "
5208
  msgstr ""
5209
 
5210
  #: languages/gutenberg.php:312
5211
- #: languages/vue.php:1006
5212
  msgid "Headline Analyzer"
5213
  msgstr ""
5214
 
@@ -5221,19 +5221,19 @@ msgid "This headline analyzer is part of ExactMetrics to help you increase your
5221
  msgstr ""
5222
 
5223
  #: languages/gutenberg.php:321
5224
- #: languages/vue.php:109
5225
  #: lite/includes/admin/metaboxes.php:47
5226
  msgid "Last 30 days"
5227
  msgstr ""
5228
 
5229
  #: languages/gutenberg.php:324
5230
- #: languages/vue.php:97
5231
  #: lite/includes/admin/metaboxes.php:51
5232
  msgid "Yesterday"
5233
  msgstr ""
5234
 
5235
  #: languages/gutenberg.php:327
5236
- #: languages/vue.php:1324
5237
  #: lite/includes/admin/metaboxes.php:65
5238
  #: lite/includes/admin/metaboxes.php:127
5239
  msgid "Bounce Rate"
@@ -5315,153 +5315,153 @@ msgid "Loading new report data"
5315
  msgstr ""
5316
 
5317
  #. Translators: Adds an arrow icon.
5318
- #: languages/vue.php:35
5319
  msgid "Continue %s"
5320
  msgstr ""
5321
 
5322
- #: languages/vue.php:40
5323
  msgid "Error"
5324
  msgstr ""
5325
 
5326
- #: languages/vue.php:43
5327
  msgid "Please try again."
5328
  msgstr ""
5329
 
5330
- #: languages/vue.php:46
5331
  msgid "Unlock the Publishers Report and Focus on the Content that Matters"
5332
  msgstr ""
5333
 
5334
- #: languages/vue.php:49
5335
  msgid "Stop guessing about what content your visitors are interested in. ExactMetrics Publisher Report shows you exactly which content gets the most visits, so you can analyze and optimize it for higher conversions."
5336
  msgstr ""
5337
 
5338
- #: languages/vue.php:52
5339
  msgid "Unlock the Publishers Report and Focus on the Content That Matters"
5340
  msgstr ""
5341
 
5342
- #: languages/vue.php:55
5343
  msgid "Stop guessing about what content your visitors are interested in. The Publisher Report shows you exactly which content gets the most traffic, so you can analyze and optimize it for higher conversions."
5344
  msgstr ""
5345
 
5346
- #: languages/vue.php:58
5347
  msgid "Unlock the eCommerce Report and See Your Important Store Metrics"
5348
  msgstr ""
5349
 
5350
- #: languages/vue.php:61
5351
  msgid "Increase your sales & revenue with insights. ExactMetrics answers all your top eCommerce questions using metrics like total revenue, conversion rate, average order value, top products, top referral sources and more."
5352
  msgstr ""
5353
 
5354
- #: languages/vue.php:64
5355
  msgid "Unlock the Dimensions Report and Track Your Own Custom Data"
5356
  msgstr ""
5357
 
5358
- #: languages/vue.php:67
5359
  msgid "Decide what data is important using your own custom tracking parameters. The Dimensions report allows you to easily see what's working right inside your WordPress dashboard."
5360
  msgstr ""
5361
 
5362
- #: languages/vue.php:70
5363
  msgid "Unlock the Forms Report and Improve Conversions"
5364
  msgstr ""
5365
 
5366
- #: languages/vue.php:73
5367
  msgid "Easily track your form views and conversions. The Forms Report allows you to see which forms are performing better and which forms have lower conversion rates so you can optimize using real data."
5368
  msgstr ""
5369
 
5370
- #: languages/vue.php:76
5371
  msgid "Unlock the Search Console Report and See How People Find Your Website"
5372
  msgstr ""
5373
 
5374
- #: languages/vue.php:79
5375
  msgid "See exactly how people find your website, which keywords they searched for, how many times the results were viewed, and more."
5376
  msgstr ""
5377
 
5378
- #: languages/vue.php:82
5379
  msgid "Unlock the Real-Time Report and Track the Visitors on Your Site in Real-Time"
5380
  msgstr ""
5381
 
5382
- #: languages/vue.php:85
5383
  msgid "Track the results of your marketing efforts and product launches as-it-happens right from your WordPress site. The Real-Time report allows you to view your traffic sources and visitors activity when you need it."
5384
  msgstr ""
5385
 
5386
- #: languages/vue.php:88
5387
  msgid "Unlock the Site Speed Report and Improve the Performance of Your Site"
5388
  msgstr ""
5389
 
5390
- #: languages/vue.php:91
5391
  msgid "See How Your Homepage Performs According to Google’s Own Criteria and See How You Can Improve to Increase Your Ranking"
5392
  msgstr ""
5393
 
5394
- #: languages/vue.php:94
5395
  msgid "Today"
5396
  msgstr ""
5397
 
5398
- #: languages/vue.php:100
5399
  msgid "Last Week"
5400
  msgstr ""
5401
 
5402
- #: languages/vue.php:103
5403
  msgid "Last Month"
5404
  msgstr ""
5405
 
5406
- #: languages/vue.php:106
5407
  msgid "Last 7 days"
5408
  msgstr ""
5409
 
5410
- #: languages/vue.php:112
5411
  msgid "Loading settings"
5412
  msgstr ""
5413
 
5414
  #. Translators: Number of visitors.
5415
- #: languages/vue.php:116
5416
  msgid "See how %s visitors found your site!"
5417
  msgstr ""
5418
 
5419
  #. Translators: Number of visitors.
5420
- #: languages/vue.php:120
5421
  msgid "Your website was visited by %s users in the last 30 days."
5422
  msgstr ""
5423
 
5424
- #: languages/vue.php:123
5425
  msgid "See the full analytics report!"
5426
  msgstr ""
5427
 
5428
- #: languages/vue.php:126
5429
  msgid "Overview Report"
5430
  msgstr ""
5431
 
5432
  #. Translators: Current PHP version and recommended PHP version.
5433
- #: languages/vue.php:130
5434
  msgid "ExactMetrics has detected that your site is running an outdated, insecure version of PHP (%1$s), which could be putting your site at risk for being hacked. WordPress stopped supporting your PHP version in April, 2019. Updating to the recommended version (PHP %2$s) only takes a few minutes and will make your website significantly faster and more secure."
5435
  msgstr ""
5436
 
5437
  #. Translators: Current WordPress version.
5438
- #: languages/vue.php:134
5439
  msgid "ExactMetrics has detected that your site is running an outdated version of WordPress (%s). ExactMetrics will stop supporting WordPress versions lower than 4.9 in 2020. Updating WordPress takes just a few minutes and will also solve many bugs that exist in your WordPress install."
5440
  msgstr ""
5441
 
5442
- #: languages/vue.php:137
5443
  msgid "Yikes! PHP Update Required"
5444
  msgstr ""
5445
 
5446
  #. Translators: Current PHP version and recommended PHP version.
5447
- #: languages/vue.php:141
5448
  msgid "ExactMetrics has detected that your site is running an outdated, insecure version of PHP (%1$s), which could be putting your site at risk for being hacked. Updating to the recommended version (PHP %2$s) only takes a few minutes and will make your website significantly faster and more secure."
5449
  msgstr ""
5450
 
5451
- #: languages/vue.php:144
5452
  msgid "Learn more about updating PHP"
5453
  msgstr ""
5454
 
5455
- #: languages/vue.php:147
5456
  msgid "Yikes! WordPress Update Required"
5457
  msgstr ""
5458
 
5459
  #. Translators: Current WordPress version.
5460
- #: languages/vue.php:151
5461
  msgid "ExactMetrics has detected that your site is running an outdated version of WordPress (%s). Updating WordPress takes just a few minutes and will also solve many bugs that exist in your WordPress install."
5462
  msgstr ""
5463
 
5464
- #: languages/vue.php:154
5465
  msgid "Learn more about updating WordPress"
5466
  msgstr ""
5467
 
@@ -5548,35 +5548,35 @@ msgstr ""
5548
  msgid "per year"
5549
  msgstr ""
5550
 
5551
- #: languages/vue.php:228
5552
  msgid "Upgrade to ExactMetrics Pro Now"
5553
  msgstr ""
5554
 
5555
- #: languages/vue.php:231
5556
  msgid "This is absolutely, positively, one of the TOP plugins to install on your WP site. There is no better way to quickly gauge traffic for spikes, surges, and consistency. I installed this on over a dozen WordPress installations and counting, thank you for an outstanding app!"
5557
  msgstr ""
5558
 
5559
- #: languages/vue.php:234
5560
  msgid "Daniel Monaghan - Experienced"
5561
  msgstr ""
5562
 
5563
- #: languages/vue.php:237
5564
  msgid "Very simple to configure and the results are very clearly displayed. So much easier for clients to view than in their own analytics account! Delighted with it."
5565
  msgstr ""
5566
 
5567
- #: languages/vue.php:240
5568
  msgid "Naomi Spirit - From This Day"
5569
  msgstr ""
5570
 
5571
- #: languages/vue.php:243
5572
  msgid "Love this plugin! It’s got powerful customization options, it’s easy to use, there’s good documentation, and if all that’s not enough, ExactMetrics is quick to provide support. Thanks for this wonderful plugin!"
5573
  msgstr ""
5574
 
5575
- #: languages/vue.php:246
5576
  msgid "Julie Dupuis - Faraway Land Travel"
5577
  msgstr ""
5578
 
5579
- #: languages/vue.php:249
5580
  msgid "Guides and Documentation:"
5581
  msgstr ""
5582
 
@@ -5584,4583 +5584,4583 @@ msgstr ""
5584
  msgid "Upgrade to PRO"
5585
  msgstr ""
5586
 
5587
- #: languages/vue.php:257
5588
  msgid "eCommerce Tracking"
5589
  msgstr ""
5590
 
5591
- #: languages/vue.php:260
5592
  msgid "Custom Dimensions"
5593
  msgstr ""
5594
 
5595
- #: languages/vue.php:264
5596
  msgid "Form Tracking"
5597
  msgstr ""
5598
 
5599
- #: languages/vue.php:268
5600
  msgid "AMP Support"
5601
  msgstr ""
5602
 
5603
- #: languages/vue.php:272
5604
  msgid "Author Tracking"
5605
  msgstr ""
5606
 
5607
- #: languages/vue.php:276
5608
  msgid "EU Compliance Addon"
5609
  msgstr ""
5610
 
5611
- #: languages/vue.php:280
5612
  msgid "Real Time Report"
5613
  msgstr ""
5614
 
5615
- #: languages/vue.php:283
5616
  msgid "Google Optimize"
5617
  msgstr ""
5618
 
5619
- #: languages/vue.php:287
5620
  #: lite/includes/admin/reports/report-queries.php:22
5621
  msgid "Search Console"
5622
  msgstr ""
5623
 
5624
- #: languages/vue.php:291
5625
  msgid "Custom Date Ranges"
5626
  msgstr ""
5627
 
5628
- #: languages/vue.php:294
5629
- #: languages/vue.php:946
5630
  msgid "Getting Started with ExactMetrics"
5631
  msgstr ""
5632
 
5633
- #: languages/vue.php:297
5634
- #: languages/vue.php:949
5635
  msgid "ExactMetrics is the easiest analytics solution on the market to get started with, as we walk you through exactly what you need to do, in plain english, using our 3 minute setup wizard."
5636
  msgstr ""
5637
 
5638
- #: languages/vue.php:300
5639
  msgid "To begin with, we’ll get your site authorized with Google Analytics, so we can start tracking and generating reports for you right away."
5640
  msgstr ""
5641
 
5642
- #: languages/vue.php:303
5643
  msgid "In no time at all, and after just a few clicks, you'll have setup the most powerful Google Analytics tracking available for WordPress. It's easy to double your traffic and sales when you know exactly how people find and use your website. Let's get started!."
5644
  msgstr ""
5645
 
5646
- #: languages/vue.php:306
5647
  msgid "Launch the wizard!"
5648
  msgstr ""
5649
 
5650
- #: languages/vue.php:309
5651
  msgid "Welcome to"
5652
  msgstr ""
5653
 
5654
  #. Translators: Adds a line break.
5655
- #: languages/vue.php:313
5656
  msgid "Thank you for choosing ExactMetrics -%s The Most Powerful WordPress Analytics Plugin"
5657
  msgstr ""
5658
 
5659
  #. Translators: Makes the product name bold.
5660
- #: languages/vue.php:317
5661
  msgid "%1$sExactMetrics%2$s makes it “effortless” to setup Google Analytics in WordPress, the RIGHT Way. You can watch the video tutorial or use our 3 minute setup wizard."
5662
  msgstr ""
5663
 
5664
- #: languages/vue.php:320
5665
  msgid "ExactMetrics Features & Addons"
5666
  msgstr ""
5667
 
5668
- #: languages/vue.php:323
5669
  msgid "Here are the features that make ExactMetrics the most powerful and user-friendly WordPress analytics plugin in the market."
5670
  msgstr ""
5671
 
5672
  #. Translators: Placeholder is replaced with WPForms.
5673
- #: languages/vue.php:327
5674
  msgid "Recommended Plugin: %s"
5675
  msgstr ""
5676
 
5677
- #: languages/vue.php:330
5678
  msgid "Install"
5679
  msgstr ""
5680
 
5681
- #: languages/vue.php:333
5682
  msgid "Activate"
5683
  msgstr ""
5684
 
5685
- #: languages/vue.php:340
5686
  msgid "ExactMetrics encountered an error loading your report data"
5687
  msgstr ""
5688
 
5689
- #: languages/vue.php:343
5690
  msgid "There is an issue with your Google Account authentication. Please use the button below to fix it by re-authenticating."
5691
  msgstr ""
5692
 
5693
- #: languages/vue.php:346
5694
- #: languages/vue.php:1870
5695
  msgid "Reconnect ExactMetrics"
5696
  msgstr ""
5697
 
5698
- #: languages/vue.php:350
5699
  msgid "Re-Authenticating"
5700
  msgstr ""
5701
 
5702
- #: languages/vue.php:353
5703
  msgid "Ok"
5704
  msgstr ""
5705
 
5706
- #: languages/vue.php:356
5707
- #: languages/vue.php:885
5708
  msgid "ExactMetrics Addons"
5709
  msgstr ""
5710
 
5711
- #: languages/vue.php:359
5712
  msgid "Search Addons"
5713
  msgstr ""
5714
 
5715
- #: languages/vue.php:362
5716
  msgid "Save Changes"
5717
  msgstr ""
5718
 
5719
- #: languages/vue.php:365
5720
  msgid "Exit Setup"
5721
  msgstr ""
5722
 
5723
- #: languages/vue.php:368
5724
  msgid "Time to Purchase"
5725
  msgstr ""
5726
 
5727
- #: languages/vue.php:371
5728
  msgid "This list shows how many days from first visit it took users to purchase products from your site."
5729
  msgstr ""
5730
 
5731
- #: languages/vue.php:374
5732
  msgid "Sessions to Purchase"
5733
  msgstr ""
5734
 
5735
- #: languages/vue.php:377
5736
  msgid "This list shows the number of sessions it took users before they purchased a product from your website."
5737
  msgstr ""
5738
 
5739
- #: languages/vue.php:380
5740
  msgid "New Customers"
5741
  msgstr ""
5742
 
5743
- #: languages/vue.php:383
5744
  msgid "This list shows the percentage of new customers who purchased a product from your website."
5745
  msgstr ""
5746
 
5747
- #: languages/vue.php:386
5748
  msgid "Abandoned Checkouts"
5749
  msgstr ""
5750
 
5751
- #: languages/vue.php:389
5752
  msgid "This list shows the percentage of carts that never went through the checkout process."
5753
  msgstr ""
5754
 
5755
- #: languages/vue.php:392
5756
  msgid "Top Posts/Pages"
5757
  msgstr ""
5758
 
5759
- #: languages/vue.php:395
5760
  msgid "This list shows the most viewed posts and pages on your website."
5761
  msgstr ""
5762
 
5763
- #: languages/vue.php:398
5764
  msgid "New vs. Returning Visitors"
5765
  msgstr ""
5766
 
5767
- #: languages/vue.php:401
5768
  msgid "This graph shows what percent of your user sessions come from new versus repeat visitors."
5769
  msgstr ""
5770
 
5771
- #: languages/vue.php:404
5772
  msgid "Device Breakdown"
5773
  msgstr ""
5774
 
5775
- #: languages/vue.php:407
5776
  msgid "This graph shows what percent of your visitor sessions are done using a traditional computer or laptop, tablet or mobile device to view your site."
5777
  msgstr ""
5778
 
5779
- #: languages/vue.php:410
5780
  msgid "Top Landing Pages"
5781
  msgstr ""
5782
 
5783
- #: languages/vue.php:413
5784
  msgid "This list shows the top pages users first land on when visiting your website."
5785
  msgstr ""
5786
 
5787
- #: languages/vue.php:416
5788
  msgid "Top Exit Pages"
5789
  msgstr ""
5790
 
5791
- #: languages/vue.php:419
5792
  msgid "This list shows the top pages users exit your website from."
5793
  msgstr ""
5794
 
5795
- #: languages/vue.php:422
5796
  msgid "Top Outbound Links"
5797
  msgstr ""
5798
 
5799
- #: languages/vue.php:425
5800
  msgid "This list shows the top links clicked on your website that go to another website."
5801
  msgstr ""
5802
 
5803
- #: languages/vue.php:428
5804
  msgid "Top Affiliate Links"
5805
  msgstr ""
5806
 
5807
- #: languages/vue.php:431
5808
  msgid "This list shows the top affiliate links your visitors clicked on."
5809
  msgstr ""
5810
 
5811
- #: languages/vue.php:434
5812
  msgid "Top Download Links"
5813
  msgstr ""
5814
 
5815
- #: languages/vue.php:437
5816
  msgid "This list shows the download links your visitors clicked the most."
5817
  msgstr ""
5818
 
5819
- #: languages/vue.php:443
5820
  msgid "Top Products"
5821
  msgstr ""
5822
 
5823
- #: languages/vue.php:446
5824
  msgid "This list shows the top selling products on your website."
5825
  msgstr ""
5826
 
5827
- #: languages/vue.php:449
5828
  msgid "Top Conversion Sources"
5829
  msgstr ""
5830
 
5831
- #: languages/vue.php:452
5832
  msgid "This list shows the top referral websites in terms of product revenue."
5833
  msgstr ""
5834
 
5835
- #: languages/vue.php:455
5836
  msgid "Total Add/Remove"
5837
  msgstr ""
5838
 
5839
- #: languages/vue.php:458
5840
  msgid "Analytics"
5841
  msgstr ""
5842
 
5843
  #. Translators: Adds an arrow icon.
5844
- #: languages/vue.php:462
5845
  msgid "View All Reports %s"
5846
  msgstr ""
5847
 
5848
- #: languages/vue.php:465
5849
  msgid "You must connect with ExactMetrics before you can view reports."
5850
  msgstr ""
5851
 
5852
- #: languages/vue.php:468
5853
  msgid "ExactMetrics makes it \"effortless\" for you to connect your site with Google Analytics and see reports right here in the WordPress dashboard."
5854
  msgstr ""
5855
 
5856
- #: languages/vue.php:471
5857
  msgid "Launch Setup Wizard"
5858
  msgstr ""
5859
 
5860
- #: languages/vue.php:474
5861
  msgid "Please ask your webmaster to connect ExactMetrics to Google Analytics."
5862
  msgstr ""
5863
 
5864
- #: languages/vue.php:487
5865
  msgid "See Quick Links"
5866
  msgstr ""
5867
 
5868
- #: languages/vue.php:490
5869
  msgid "Suggest a Feature"
5870
  msgstr ""
5871
 
5872
- #: languages/vue.php:493
5873
  msgid "Join Our Community"
5874
  msgstr ""
5875
 
5876
- #: languages/vue.php:496
5877
  msgid "Support & Docs"
5878
  msgstr ""
5879
 
5880
- #: languages/vue.php:499
5881
  msgid "Upgrade to Pro &#187;"
5882
  msgstr ""
5883
 
5884
- #: languages/vue.php:502
5885
  #: lite/includes/admin/reports/report-publisher.php:22
5886
  msgid "Publishers"
5887
  msgstr ""
5888
 
5889
- #: languages/vue.php:506
5890
  #: lite/includes/admin/reports/report-ecommerce.php:22
5891
  msgid "eCommerce"
5892
  msgstr ""
5893
 
5894
- #: languages/vue.php:509
5895
  msgid "Dimensions Report"
5896
  msgstr ""
5897
 
5898
- #: languages/vue.php:512
5899
  #: lite/includes/admin/reports/report-forms.php:22
5900
  msgid "Forms"
5901
  msgstr ""
5902
 
5903
- #: languages/vue.php:515
5904
  msgid "Real-Time"
5905
  msgstr ""
5906
 
5907
- #: languages/vue.php:519
5908
  msgid "Site Speed Report"
5909
  msgstr ""
5910
 
5911
- #: languages/vue.php:523
5912
  msgid "2020 Year in Review"
5913
  msgstr ""
5914
 
5915
- #: languages/vue.php:527
5916
  msgid "Import Export"
5917
  msgstr ""
5918
 
5919
- #: languages/vue.php:530
5920
  msgid "PrettyLinks Integration"
5921
  msgstr ""
5922
 
5923
- #: languages/vue.php:536
5924
  msgid "Popular Posts Widget"
5925
  msgstr ""
5926
 
5927
- #: languages/vue.php:539
5928
  msgid "Popular Products"
5929
  msgstr ""
5930
 
5931
- #: languages/vue.php:545
5932
  msgid "Sub menu item for WooCommerce Analytics"
5933
  msgstr ""
5934
 
5935
- #: languages/vue.php:553
5936
  msgid "Engagement"
5937
  msgstr ""
5938
 
5939
- #: languages/vue.php:557
5940
  msgid "Publisher"
5941
  msgstr ""
5942
 
5943
- #: languages/vue.php:562
5944
  msgid "Conversions"
5945
  msgstr ""
5946
 
5947
- #: languages/vue.php:566
5948
  msgid "Advanced"
5949
  msgstr ""
5950
 
5951
- #: languages/vue.php:570
5952
  msgid "URL Builder"
5953
  msgstr ""
5954
 
5955
  #. Translators: Adds a link to documentation.
5956
- #: languages/vue.php:574
5957
  msgid "In order for the ExactMetrics Google AMP addon to work properly, please ask your webmaster to install the WordPress AMP plugin by Automattic. %1$sLearn More%2$s"
5958
  msgstr ""
5959
 
5960
  #. Translators: Adds link to activate/install plugin and documentation.
5961
- #: languages/vue.php:578
5962
  msgid "In order for the ExactMetrics Google AMP addon to work properly, you need to install the WordPress AMP plugin by Automattic. %1$s%2$s Plugin%3$s | %4$sLearn More%5$s"
5963
  msgstr ""
5964
 
5965
  #. Translators: Adds a link to documentation.
5966
- #: languages/vue.php:582
5967
  msgid "In order for the ExactMetrics Instant Articles addon to work properly, please ask your webmaster to install the Instant Articles for WP plugin by Automattic version 3.3.5 or newer. %1$sLearn More%2$s"
5968
  msgstr ""
5969
 
5970
  #. Translators: Adds link to activate/install plugin and documentation.
5971
- #: languages/vue.php:586
5972
  msgid "In order for the ExactMetrics Instant Articles addon to work properly, you need to install the Instant Articles for WP plugin by Automattic version 3.3.5 or newer. %1$s%2$s Plugin%3$s | %4$sLearn More%5$s"
5973
  msgstr ""
5974
 
5975
- #: languages/vue.php:589
5976
  msgid "Installing Addon"
5977
  msgstr ""
5978
 
5979
- #: languages/vue.php:592
5980
  msgid "Activating Addon"
5981
  msgstr ""
5982
 
5983
- #: languages/vue.php:595
5984
  msgid "Addon Activated"
5985
  msgstr ""
5986
 
5987
- #: languages/vue.php:598
5988
  msgid "Loading report data"
5989
  msgstr ""
5990
 
5991
- #: languages/vue.php:601
5992
  msgid "Please activate manually"
5993
  msgstr ""
5994
 
5995
  #. Translators: Adds the error status and status text.
5996
- #: languages/vue.php:605
5997
  msgid "Error: %1$s, %2$s"
5998
  msgstr ""
5999
 
6000
- #: languages/vue.php:608
6001
  msgid "Error Activating Addon"
6002
  msgstr ""
6003
 
6004
- #: languages/vue.php:611
6005
  #: lite/includes/admin/wp-site-health.php:375
6006
  #: lite/includes/admin/wp-site-health.php:401
6007
  #: lite/includes/admin/wp-site-health.php:428
6008
  msgid "View Addons"
6009
  msgstr ""
6010
 
6011
- #: languages/vue.php:614
6012
  msgid "Dismiss"
6013
  msgstr ""
6014
 
6015
- #: languages/vue.php:617
6016
  msgid "Redirecting"
6017
  msgstr ""
6018
 
6019
- #: languages/vue.php:620
6020
  msgid "Please wait"
6021
  msgstr ""
6022
 
6023
- #: languages/vue.php:623
6024
  msgid "activate"
6025
  msgstr ""
6026
 
6027
- #: languages/vue.php:626
6028
  msgid "install"
6029
  msgstr ""
6030
 
6031
- #: languages/vue.php:629
6032
  msgid "Visit addons page"
6033
  msgstr ""
6034
 
6035
- #: languages/vue.php:632
6036
  msgid "Report Unavailable"
6037
  msgstr ""
6038
 
6039
  #. Translators: Install/Activate the addon.
6040
- #: languages/vue.php:636
6041
  msgid "%s Addon"
6042
  msgstr ""
6043
 
6044
- #: languages/vue.php:639
6045
  msgid "Go Back To Reports"
6046
  msgstr ""
6047
 
6048
- #: languages/vue.php:642
6049
  msgid "Enable Enhanced eCommerce"
6050
  msgstr ""
6051
 
6052
  #. Translators: Placeholders are replaced with the current step number out of the total number of steps.
6053
- #: languages/vue.php:646
6054
  msgid "Step %1$s of %2$s"
6055
  msgstr ""
6056
 
6057
- #: languages/vue.php:649
6058
  msgid "Go back"
6059
  msgstr ""
6060
 
6061
- #: languages/vue.php:652
6062
  msgid "Welcome to ExactMetrics!"
6063
  msgstr ""
6064
 
6065
- #: languages/vue.php:655
6066
  msgid "Let's get you set up."
6067
  msgstr ""
6068
 
6069
- #: languages/vue.php:658
6070
  msgid "Save and Continue"
6071
  msgstr ""
6072
 
6073
- #: languages/vue.php:661
6074
  msgid "Which category best describes your website?"
6075
  msgstr ""
6076
 
6077
- #: languages/vue.php:664
6078
  msgid "We will recommend the optimal settings for ExactMetrics based on your choice."
6079
  msgstr ""
6080
 
6081
- #: languages/vue.php:667
6082
  msgid "Business Website"
6083
  msgstr ""
6084
 
6085
  #. Translators: Make text bold.
6086
- #: languages/vue.php:671
6087
  msgid "Publisher %1$s(Blog)%2$s"
6088
  msgstr ""
6089
 
6090
- #: languages/vue.php:674
6091
  msgid "Ecommerce"
6092
  msgstr ""
6093
 
6094
- #: languages/vue.php:677
6095
  msgid "Connect ExactMetrics to Your Website"
6096
  msgstr ""
6097
 
6098
- #: languages/vue.php:680
6099
  msgid "ExactMetrics connects Google Analytics to WordPress and shows you stats that matter."
6100
  msgstr ""
6101
 
6102
- #: languages/vue.php:685
6103
  msgid "Connect Google Analytics + WordPress"
6104
  msgstr ""
6105
 
6106
- #: languages/vue.php:690
6107
  msgid "You will be taken to the ExactMetrics website where you'll need to connect your Analytics account."
6108
  msgstr ""
6109
 
6110
- #: languages/vue.php:693
6111
  msgid "Whoops, something went wrong and we weren't able to connect to ExactMetrics. Please enter your Google UA code manually."
6112
  msgstr ""
6113
 
6114
- #: languages/vue.php:696
6115
  msgid "Manually enter your UA code"
6116
  msgstr ""
6117
 
6118
- #: languages/vue.php:699
6119
  msgid "Warning: If you use a manual UA code, you won't be able to use any of the reporting and some of the tracking features. Your UA code should look like UA-XXXXXX-XX where the X's are numbers."
6120
  msgstr ""
6121
 
6122
- #: languages/vue.php:702
6123
  msgid "UA code can't be empty"
6124
  msgstr ""
6125
 
6126
- #: languages/vue.php:705
6127
  msgid "Saving UA code..."
6128
  msgstr ""
6129
 
6130
- #: languages/vue.php:708
6131
  msgid "ExactMetrics Recommends WPForms"
6132
  msgstr ""
6133
 
6134
- #: languages/vue.php:711
6135
  msgid "Built by the folks behind ExactMetrics, WPForms is the most beginner friendly form plugin in the market."
6136
  msgstr ""
6137
 
6138
- #: languages/vue.php:714
6139
  msgid "Used on over 4,000,000 websites!"
6140
  msgstr ""
6141
 
6142
- #: languages/vue.php:717
6143
  msgid "WPForms allow you to create beautiful contact forms, subscription forms, payment forms, and other types of forms for your site in minutes, not hours!"
6144
  msgstr ""
6145
 
6146
- #: languages/vue.php:720
6147
  msgid "Skip this Step"
6148
  msgstr ""
6149
 
6150
- #: languages/vue.php:723
6151
  msgid "Continue & Install WPForms"
6152
  msgstr ""
6153
 
6154
- #: languages/vue.php:726
6155
  msgid "Installing..."
6156
  msgstr ""
6157
 
6158
- #: languages/vue.php:729
6159
  msgid "Recommended Settings"
6160
  msgstr ""
6161
 
6162
- #: languages/vue.php:732
6163
  msgid "ExactMetrics recommends the following settings based on your configuration."
6164
  msgstr ""
6165
 
6166
- #: languages/vue.php:735
6167
  msgid "Events Tracking"
6168
  msgstr ""
6169
 
6170
- #: languages/vue.php:738
6171
  msgid "Must have for all click tracking on site."
6172
  msgstr ""
6173
 
6174
- #: languages/vue.php:741
6175
  msgid "ExactMetrics uses an advanced system to automatically detect all outbound links, download links, affiliate links, telephone links, mail links, and more automatically. We do all the work for you so you don't have to write any code."
6176
  msgstr ""
6177
 
6178
- #: languages/vue.php:744
6179
  msgid "Enhanced Link Attribution"
6180
  msgstr ""
6181
 
6182
- #: languages/vue.php:747
6183
  msgid "Improves the accuracy of your In-Page Analytics."
6184
  msgstr ""
6185
 
6186
- #: languages/vue.php:750
6187
  msgid "ExactMetrics will automatically help Google determine which links are unique and where they are on your site so that your In-Page Analytics reporting will be more accurate."
6188
  msgstr ""
6189
 
6190
- #: languages/vue.php:753
6191
  msgid "Install Updates Automatically"
6192
  msgstr ""
6193
 
6194
- #: languages/vue.php:756
6195
  msgid "Get the latest features, bug fixes, and security updates as they are released."
6196
  msgstr ""
6197
 
6198
- #: languages/vue.php:759
6199
  msgid "To ensure you get the latest bug fixes and security updates and avoid needing to spend time logging into your WordPress site to update ExactMetrics, we offer the ability to automatically have ExactMetrics update itself."
6200
  msgstr ""
6201
 
6202
- #: languages/vue.php:762
6203
  msgid "File Download Tracking"
6204
  msgstr ""
6205
 
6206
- #: languages/vue.php:765
6207
  msgid "Helps you see file downloads data."
6208
  msgstr ""
6209
 
6210
- #: languages/vue.php:768
6211
  msgid "ExactMetrics will automatically track downloads of common file types from links you have inserted onto your website. For example: want to know how many of your site's visitors have downloaded a PDF or other file you offer your visitors to download on your site? ExactMetrics makes this both easy, and code-free! You can customize the file types to track at any time from our settings panel."
6212
  msgstr ""
6213
 
6214
  #. Translators: Example path (/go/).
6215
- #: languages/vue.php:772
6216
  msgid "Path (example: %s)"
6217
  msgstr ""
6218
 
6219
- #: languages/vue.php:775
6220
  msgid "Path has to start with a / and have no spaces"
6221
  msgstr ""
6222
 
6223
  #. Translators: Example label (aff).
6224
- #: languages/vue.php:779
6225
  msgid "Label (example: %s)"
6226
  msgstr ""
6227
 
6228
- #: languages/vue.php:782
6229
  msgid "Label can't contain any spaces"
6230
  msgstr ""
6231
 
6232
- #: languages/vue.php:785
6233
  msgid "Helps you increase affiliate revenue."
6234
  msgstr ""
6235
 
6236
- #: languages/vue.php:788
6237
  msgid "ExactMetrics will automatically help you track affiliate links that use internal looking urls like example.com/go/ or example.com/refer/. You can add custom affiliate patterns on our settings panel when you finish the onboarding wizard."
6238
  msgstr ""
6239
 
6240
- #: languages/vue.php:791
6241
  msgid "Affiliate Link Tracking"
6242
  msgstr ""
6243
 
6244
- #: languages/vue.php:794
6245
  msgid "Who Can See Reports"
6246
  msgstr ""
6247
 
6248
- #: languages/vue.php:797
6249
  msgid "These user roles will be able to access ExactMetrics' reports in the WordPress admin area."
6250
  msgstr ""
6251
 
6252
- #: languages/vue.php:800
6253
  msgid "Users that have at least one of these roles will be able to view the reports, along with any user with the manage_options capability."
6254
  msgstr ""
6255
 
6256
- #: languages/vue.php:803
6257
  msgid "Save and continue"
6258
  msgstr ""
6259
 
6260
- #: languages/vue.php:806
6261
  msgid "Events Tracking is enabled the moment you set up ExactMetrics"
6262
  msgstr ""
6263
 
6264
- #: languages/vue.php:809
6265
  msgid "Enhanced Link Attribution is enabled the moment you set up ExactMetrics"
6266
  msgstr ""
6267
 
6268
- #: languages/vue.php:812
6269
  msgid "+ Add Role"
6270
  msgstr ""
6271
 
6272
  #. Translators: Placeholders are used for making text bold and adding a link.
6273
- #: languages/vue.php:816
6274
  msgid "You're using %1$s%2$s Lite%3$s. To unlock more features consider %4$supgrading to Pro%5$s."
6275
  msgstr ""
6276
 
6277
- #: languages/vue.php:819
6278
  #: lite/includes/admin/reports/report-dimensions.php:22
6279
  msgid "Dimensions"
6280
  msgstr ""
6281
 
6282
- #: languages/vue.php:822
6283
  msgid "Site Speed"
6284
  msgstr ""
6285
 
6286
- #: languages/vue.php:827
6287
  msgid "License Key"
6288
  msgstr ""
6289
 
6290
  #. Translators: Add link to retrieve license key from account.
6291
- #: languages/vue.php:831
6292
  msgid "Add your ExactMetrics license key from the email receipt or account area. %1$sRetrieve your license key%2$s."
6293
  msgstr ""
6294
 
6295
- #: languages/vue.php:835
6296
  msgid "Google Authentication"
6297
  msgstr ""
6298
 
6299
- #: languages/vue.php:838
6300
  msgid "Miscellaneous"
6301
  msgstr ""
6302
 
6303
- #: languages/vue.php:841
6304
  msgid "Hides plugin announcements and update details. This includes critical notices we use to inform about deprecations and important required configuration changes."
6305
  msgstr ""
6306
 
6307
- #: languages/vue.php:844
6308
  msgid "Hide Announcements"
6309
  msgstr ""
6310
 
6311
- #: languages/vue.php:848
6312
  msgid "You're using ExactMetrics Lite – no license needed. Enjoy!"
6313
  msgstr ""
6314
 
6315
- #. Translators: Adds link to upgrade.
6316
- #: languages/vue.php:853
6317
  msgid "To unlock more features consider %1$supgrading to PRO%2$s."
6318
  msgstr ""
6319
 
6320
- #: languages/vue.php:857
6321
  msgid "Receive 50% off automatically applied at the checkout!"
6322
  msgstr ""
6323
 
6324
- #: languages/vue.php:861
6325
  msgid "See all features"
6326
  msgstr ""
6327
 
6328
- #: languages/vue.php:865
6329
  msgid "Setup Wizard"
6330
  msgstr ""
6331
 
6332
- #: languages/vue.php:869
6333
  msgid "Use our configuration wizard to properly setup Google Analytics with WordPress (with just a few clicks)."
6334
  msgstr ""
6335
 
6336
- #: languages/vue.php:873
6337
  msgid "Relaunch Setup Wizard"
6338
  msgstr ""
6339
 
6340
- #: languages/vue.php:876
6341
  msgid "There was an issue retrieving the addons for this site. Please click on the button below the refresh the addons data."
6342
  msgstr ""
6343
 
6344
- #: languages/vue.php:879
6345
  msgid "No addons found."
6346
  msgstr ""
6347
 
6348
- #: languages/vue.php:882
6349
  msgid "Refresh Addons"
6350
  msgstr ""
6351
 
6352
  #. Translators: Adds a line break.
6353
- #: languages/vue.php:889
6354
  msgid "Upgrade to Pro to unlock addons and other great features."
6355
  msgstr ""
6356
 
6357
- #: languages/vue.php:892
6358
  msgid "As a valued ExactMetrics Lite user you receive 50% off, automaticaly applied at checkout!"
6359
  msgstr ""
6360
 
6361
- #: languages/vue.php:895
6362
  msgid "Refreshing Addons"
6363
  msgstr ""
6364
 
6365
- #: languages/vue.php:898
6366
  msgid "Get ExactMetrics Pro Today and Unlock all the Powerful Features"
6367
  msgstr ""
6368
 
6369
  #. Translators: Placeholders make the text green.
6370
- #: languages/vue.php:902
6371
  msgid "Bonus: ExactMetrics Lite users get %1$s50%% off regular price%2$s, automatically applied at checkout."
6372
  msgstr ""
6373
 
6374
- #: languages/vue.php:905
6375
  msgid "How to Connect to Google Analytics"
6376
  msgstr ""
6377
 
6378
- #: languages/vue.php:908
6379
  msgid "After you install ExactMetrics, you’ll need to connect your WordPress site with your Google Analytics account. ExactMetrics makes the process easy, with no coding required."
6380
  msgstr ""
6381
 
6382
- #: languages/vue.php:911
6383
  msgid "Guide and Checklist for Advanced Insights"
6384
  msgstr ""
6385
 
6386
- #: languages/vue.php:914
6387
  msgid "Our goal is to make it as easy as possible for you to measure and track your stats so you can grow your business. This easy-to-follow guide and checklist will get you set up with ExactMetrics’ advanced tracking."
6388
  msgstr ""
6389
 
6390
- #: languages/vue.php:917
6391
  msgid "GDPR Guide"
6392
  msgstr ""
6393
 
6394
- #: languages/vue.php:920
6395
  msgid "Compliance with European data laws including GDPR can be confusing and time-consuming. In order to help ExactMetrics users comply with these laws, we’ve created an addon that automates a lot of the necessary configuration changes for you. "
6396
  msgstr ""
6397
 
6398
- #: languages/vue.php:923
6399
  msgid "How to Install and Activate ExactMetrics Addons"
6400
  msgstr ""
6401
 
6402
- #: languages/vue.php:926
6403
  msgid "The process for installing and activating addons is quick and easy after you install the ExactMetrics plugin. In this guide we’ll walk you through the process, step by step."
6404
  msgstr ""
6405
 
6406
- #: languages/vue.php:929
6407
  msgid "Enabling eCommerce Tracking and Reports"
6408
  msgstr ""
6409
 
6410
- #: languages/vue.php:932
6411
  msgid "Want to track your eCommerce sales data for your WooCommerce, MemberPress, or Easy Digital Downloads store with ExactMetrics? In this guide, we’ll show you how to enable eCommerce tracking in Google Analytics in just a few clicks."
6412
  msgstr ""
6413
 
6414
- #: languages/vue.php:935
6415
  msgid "Read Documentation"
6416
  msgstr ""
6417
 
6418
  #. Translators: Makes the text bold.
6419
- #: languages/vue.php:939
6420
  msgid "%1$sEnhanced eCommerce Tracking%2$s - 1-click Google Analyticks Enhanced Ecommerce trackin for WooCommerce, Easy Digital Download & MemberPress."
6421
  msgstr ""
6422
 
6423
  #. Translators: Makes the text bold.
6424
- #: languages/vue.php:943
6425
  msgid "%1$sCustom Dimensions%2$s - Setup tracking for authors, tags, searches, custom post type, users, and other events with 1-click."
6426
  msgstr ""
6427
 
6428
- #: languages/vue.php:952
6429
  msgid "One-click Complete eCommerce tracking"
6430
  msgstr "