text: /*! elementor-pro - v3.0.3 - 02-09-2020 */
  !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=299)}([function(t,e,n){t.exports=n(113)},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){var r=n(129),o=n(132);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=r(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}},function(t,e,n){var r=n(83),o=n(25),i=n(142),u=n(143);t.exports=function(t){var e=i();return function(){var n,i=o(t);if(e){var a=o(this).constructor;n=r(i,arguments,a)}else n=i.apply(this,arguments);return u(this,n)}}},function(t,e,n){var r=n(0);function o(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),r(t,o.key,o)}}t.exports=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}},function(t,e,n){var r=n(8),o=n(2),i=n(32),u=n(21),a=n(16),c=function(t,e,n){var s,l,f,p=t&c.F,d=t&c.G,v=t&c.S,h=t&c.P,m=t&c.B,y=t&c.W,g=d?o:o[e]||(o[e]={}),b=g.prototype,_=d?r:v?r[e]:(r[e]||{}).prototype;for(s in d&&(n=e),n)(l=!p&&_&&void 0!==_[s])&&a(g,s)||(f=l?_[s]:n[s],g[s]=d&&"function"!=typeof _[s]?n[s]:m&&l?i(f,r):y&&_[s]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):h&&"function"==typeof f?i(Function.call,f):f,h&&((g.virtual||(g.virtual={}))[s]=f,t&c.R&&b&&!b[s]&&u(b,s,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(55)("wks"),o=n(38),i=n(8).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e){t.exports=React},function(t,e,n){var r=n(9);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(69)("wks"),o=n(68),i=n(17).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e,n){t.exports=!n(20)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(12),o=n(78),i=n(52),u=Object.defineProperty;e.f=n(14)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(90),o=n(46);t.exports=function(t){return r(o(t))}},function(t,e,n){"use strict";var r=n(51),o=n(159)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(106)("find")},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(15),o=n(28);t.exports=n(14)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){t.exports=!n(30)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(24);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(139),o=n(82);function i(e){return t.exports=i=o?r:function(t){return t.__proto__||r(t)},i(e)}t.exports=i},function(t,e){t.exports={}},function(t,e,n){var r=n(46);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(39),o=n(88);t.exports=n(22)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(17),o=n(29),i=n(60),u=n(68)("src"),a=n(144),c=(""+a).split("toString");n(44).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,u)||o(n,u,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||a.call(this)})},function(t,e,n){var r=n(33);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=!0},function(t,e,n){var r=n(80),o=n(56);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(40),o=n(28),i=n(18),u=n(52),a=n(16),c=n(78),s=Object.getOwnPropertyDescriptor;e.f=n(14)?s:function(t,e){if(t=i(t),e=u(e,!0),c)try{return s(t,e)}catch(t){}if(a(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(12),o=n(94),i=n(56),u=n(54)("IE_PROTO"),a=function(){},c=function(){var t,e=n(73)("iframe"),r=i.length;for(e.style.display="none",n(104).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[u]=t):n=c(),void 0===e?n:o(n,e)}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(23),o=n(96),i=n(98),u=Object.defineProperty;e.f=n(22)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(15).f,o=n(16),i=n(10)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e,n){t.exports=n(175)},function(t,e,n){var r=n(49),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){t.exports=n(301)()},function(t,e,n){var r=n(17),o=n(44),i=n(29),u=n(31),a=n(64),c=function(t,e,n){var s,l,f,p,d=t&c.F,v=t&c.G,h=t&c.S,m=t&c.P,y=t&c.B,g=v?r:h?r[e]||(r[e]={}):(r[e]||{}).prototype,b=v?o:o[e]||(o[e]={}),_=b.prototype||(b.prototype={});for(s in v&&(n=e),n)f=((l=!d&&g&&void 0!==g[s])?g:n)[s],p=y&&l?a(f,r):m&&"function"==typeof f?a(Function.call,f):f,g&&u(g,s,f,t&c.U),b[s]!=f&&i(b,s,p),m&&_[s]!=f&&(_[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(9);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(55)("keys"),o=n(38);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(2),o=n(8),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(34)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){e.f=n(10)},function(t,e,n){var r=n(8),o=n(2),i=n(34),u=n(57),a=n(15).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:u.f(t)})}},function(t,e,n){var r=n(0);t.exports=function(t,e,n){return e in t?r(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},,function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){t.exports=elementorAppPackages.appUi},function(t,e,n){var r=n(84);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=wp.i18n},function(t,e,n){var r=n(16),o=n(27),i=n(54)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(44),o=n(17),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(99)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(7),o=n(2),i=n(20);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",u)}},function(t,e,n){"use strict";var r=n(117)(!0);n(79)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var r=n(80),o=n(56).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(9),o=n(8).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){t.exports=n(21)},function(t,e,n){var r=n(53),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){n(121);for(var r=n(8),o=n(21),i=n(26),u=n(10)("toStringTag"),a="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(","),c=0;c<a.length;c++){var s=a[c],l=r[s],f=l&&l.prototype;f&&!f[u]&&o(f,u,s),i[s]=i.Array}},function(t,e,n){var r=n(100),o=n(43);t.exports=function(t){return r(o(t))}},function(t,e,n){t.exports=!n(14)&&!n(20)(function(){return 7!=Object.defineProperty(n(73)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r=n(34),o=n(7),i=n(74),u=n(21),a=n(26),c=n(118),s=n(41),l=n(66),f=n(10)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,v,h,m,y){c(n,e,v);var g,b,_,x=function(t){if(!p&&t in w)return w[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",S="values"==h,C=!1,w=t.prototype,T=w[f]||w["@@iterator"]||h&&w[h],O=T||x(h),P=h?S?x("entries"):O:void 0,I="Array"==e&&w.entries||T;if(I&&(_=l(I.call(new t)))!==Object.prototype&&_.next&&(s(_,E,!0),r||"function"==typeof _[f]||u(_,f,d)),S&&T&&"values"!==T.name&&(C=!0,O=function(){return T.call(this)}),r&&!y||!p&&!C&&w[f]||u(w,f,O),a[e]=O,a[E]=d,h)if(g={values:S?O:x("values"),keys:m?O:x("keys"),entries:P},y)for(b in g)b in w||i(w,b,g[b]);else o(o.P+o.F*(p||C),e,g);return g}},function(t,e,n){var r=n(16),o=n(18),i=n(119)(!1),u=n(54)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),c=0,s=[];for(n in a)n!=u&&r(a,n)&&s.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~i(s,n)||s.push(n));return s}},function(t,e,n){var r=n(38)("meta"),o=n(9),i=n(16),u=n(15).f,a=0,c=Object.isExtensible||function(){return!0},s=!n(20)(function(){return c(Object.preventExtensions({}))}),l=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},onFreeze:function(t){return s&&f.NEED&&c(t)&&!i(t,r)&&l(t),t}}},function(t,e,n){t.exports=n(133)},function(t,e,n){t.exports=n(136)},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(42),o=n(13)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){var r=n(115),o=n(91);function i(e){"@babel/helpers - typeof";return t.exports=i="function"==typeof o&&"symbol"==typeof r?function(t){return typeof t}:function(t){return t&&"function"==typeof o&&t.constructor===o&&t!==o.prototype?"symbol":typeof t},i(e)}t.exports=i},function(t,e,n){var r=n(45);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";var r=n(23);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(45);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){t.exports=n(124)},function(t,e){},function(t,e,n){var r=n(43);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(15),o=n(12),i=n(35);t.exports=n(14)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),a=u.length,c=0;a>c;)r.f(t,n=u[c++],e[n]);return t}},function(t,e,n){"use strict";var r=n(8),o=n(16),i=n(14),u=n(7),a=n(74),c=n(81).KEY,s=n(20),l=n(55),f=n(41),p=n(38),d=n(10),v=n(57),h=n(58),m=n(125),y=n(87),g=n(12),b=n(9),_=n(27),x=n(18),E=n(52),S=n(28),C=n(37),w=n(126),T=n(36),O=n(62),P=n(15),I=n(35),j=T.f,k=P.f,A=w.f,M=r.Symbol,R=r.JSON,N=R&&R.stringify,F=d("_hidden"),D=d("toPrimitive"),U={}.propertyIsEnumerable,B=l("symbol-registry"),L=l("symbols"),q=l("op-symbols"),W=Object.prototype,H="function"==typeof M&&!!O.f,$=r.QObject,G=!$||!$.prototype||!$.prototype.findChild,z=i&&s(function(){return 7!=C(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=j(W,e);r&&delete W[e],k(t,e,n),r&&t!==W&&k(W,e,r)}:k,V=function(t){var e=L[t]=C(M.prototype);return e._k=t,e},K=H&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},J=function(t,e,n){return t===W&&J(q,e,n),g(t),e=E(e,!0),g(n),o(L,e)?(n.enumerable?(o(t,F)&&t[F][e]&&(t[F][e]=!1),n=C(n,{enumerable:S(0,!1)})):(o(t,F)||k(t,F,S(1,{})),t[F][e]=!0),z(t,e,n)):k(t,e,n)},Y=function(t,e){g(t);for(var n,r=m(e=x(e)),o=0,i=r.length;i>o;)J(t,n=r[o++],e[n]);return t},Q=function(t){var e=U.call(this,t=E(t,!0));return!(this===W&&o(L,t)&&!o(q,t))&&(!(e||!o(this,t)||!o(L,t)||o(this,F)&&this[F][t])||e)},X=function(t,e){if(t=x(t),e=E(e,!0),t!==W||!o(L,e)||o(q,e)){var n=j(t,e);return!n||!o(L,e)||o(t,F)&&t[F][e]||(n.enumerable=!0),n}},Z=function(t){for(var e,n=A(x(t)),r=[],i=0;n.length>i;)o(L,e=n[i++])||e==F||e==c||r.push(e);return r},tt=function(t){for(var e,n=t===W,r=A(n?q:x(t)),i=[],u=0;r.length>u;)!o(L,e=r[u++])||n&&!o(W,e)||i.push(L[e]);return i};H||(a((M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===W&&e.call(q,n),o(this,F)&&o(this[F],t)&&(this[F][t]=!1),z(this,t,S(1,n))};return i&&G&&z(W,t,{configurable:!0,set:e}),V(t)}).prototype,"toString",function(){return this._k}),T.f=X,P.f=J,n(72).f=w.f=Z,n(40).f=Q,O.f=tt,i&&!n(34)&&a(W,"propertyIsEnumerable",Q,!0),v.f=function(t){return V(d(t))}),u(u.G+u.W+u.F*!H,{Symbol:M});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var rt=I(d.store),ot=0;rt.length>ot;)h(rt[ot++]);u(u.S+u.F*!H,"Symbol",{for:function(t){return o(B,t+="")?B[t]:B[t]=M(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){G=!0},useSimple:function(){G=!1}}),u(u.S+u.F*!H,"Object",{create:function(t,e){return void 0===e?C(t):Y(C(t),e)},defineProperty:J,defineProperties:Y,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:tt});var it=s(function(){O.f(1)});u(u.S+u.F*it,"Object",{getOwnPropertySymbols:function(t){return O.f(_(t))}}),R&&u(u.S+u.F*(!H||s(function(){var t=M();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(b(e)||void 0!==t)&&!K(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!K(e))return e}),r[1]=e,N.apply(R,r)}}),M.prototype[D]||n(21)(M.prototype,D,M.prototype.valueOf),f(M,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(t,e,n){t.exports=!n(22)&&!n(30)(function(){return 7!=Object.defineProperty(n(97)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(24),o=n(17).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(24);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=!1},function(t,e,n){var r=n(42);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){"use strict";var r=n(23),o=n(93),i=n(48),u=n(49),a=n(112),c=n(107),s=Math.max,l=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,v=function(t){return void 0===t?t:String(t)};n(108)("replace",2,function(t,e,n,h){return[function(r,o){var i=t(this),u=void 0==r?void 0:r[e];return void 0!==u?u.call(r,i,o):n.call(String(i),r,o)},function(t,e){var o=h(n,t,this,e);if(o.done)return o.value;var f=r(t),p=String(this),d="function"==typeof e;d||(e=String(e));var y=f.global;if(y){var g=f.unicode;f.lastIndex=0}for(var b=[];;){var _=c(f,p);if(null===_)break;if(b.push(_),!y)break;""===String(_[0])&&(f.lastIndex=a(p,i(f.lastIndex),g))}for(var x="",E=0,S=0;S<b.length;S++){_=b[S];for(var C=String(_[0]),w=s(l(u(_.index),p.length),0),T=[],O=1;O<_.length;O++)T.push(v(_[O]));var P=_.groups;if(d){var I=[C].concat(T,w,p);void 0!==P&&I.push(P);var j=String(e.apply(void 0,I))}else j=m(C,p,w,T,P,e);w>=E&&(x+=p.slice(E,w)+j,E=w+C.length)}return x+p.slice(E)}];function m(t,e,r,i,u,a){var c=r+t.length,s=i.length,l=d;return void 0!==u&&(u=o(u),l=p),n.call(a,l,function(n,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(c);case"<":a=u[o.slice(1,-1)];break;default:var l=+o;if(0===l)return n;if(l>s){var p=f(l/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}a=i[l-1]}return void 0===a?"":a})}})},function(t,e,n){"use strict";var r=n(89),o=RegExp.prototype.exec,i=String.prototype.replace,u=o,a=function(){var t=/a/,e=/b*/g;return o.call(t,"a"),o.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),c=void 0!==/()??/.exec("")[1];(a||c)&&(u=function(t){var e,n,u,s,l=this;return c&&(n=new RegExp("^"+l.source+"$(?!\\s)",r.call(l))),a&&(e=l.lastIndex),u=o.call(l,t),a&&u&&(l.lastIndex=l.global?u.index+u[0].length:e),c&&u&&u.length>1&&i.call(u[0],n,function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(u[s]=void 0)}),u}),t.exports=u},function(t,e,n){t.exports=n(154)},function(t,e,n){var r=n(8).document;t.exports=r&&r.documentElement},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(13)("unscopables"),o=Array.prototype;void 0==o[r]&&n(29)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){"use strict";var r=n(85),o=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,n){"use strict";n(183);var r=n(31),o=n(29),i=n(30),u=n(43),a=n(13),c=n(102),s=a("species"),l=!i(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),f=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var p=a(t),d=!i(function(){var e={};return e[p]=function(){return 7},7!=""[t](e)}),v=d?!i(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[s]=function(){return n}),n[p](""),!e}):void 0;if(!d||!v||"replace"===t&&!l||"split"===t&&!f){var h=/./[p],m=n(u,p,""[t],function(t,e,n,r,o){return e.exec===c?d&&!o?{done:!0,value:h.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),y=m[0],g=m[1];r(String.prototype,t,y),o(RegExp.prototype,p,2==e?function(t,e){return g.call(t,this,e)}:function(t){return g.call(t,this)})}}},function(t,e,n){var r=n(45),o=n(10)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){var r=n(39).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(22)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(85),o={};o[n(13)("toStringTag")]="z",o+""!="[object z]"&&n(31)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){"use strict";var r=n(164)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){n(114);var r=n(2).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){var r=n(7);r(r.S+r.F*!n(14),"Object",{defineProperty:n(15).f})},function(t,e,n){t.exports=n(116)},function(t,e,n){n(71),n(76),t.exports=n(57).f("iterator")},function(t,e,n){var r=n(53),o=n(46);t.exports=function(t){return function(e,n){var i,u,a=String(o(e)),c=r(n),s=a.length;return c<0||c>=s?t?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===s||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):u-56320+(i-55296<<10)+65536}}},function(t,e,n){"use strict";var r=n(37),o=n(28),i=n(41),u={};n(21)(u,n(10)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(18),o=n(75),i=n(120);t.exports=function(t){return function(e,n,u){var a,c=r(e),s=o(c.length),l=i(u,s);if(t&&n!=n){for(;s>l;)if((a=c[l++])!=a)return!0}else for(;s>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(53),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){"use strict";var r=n(122),o=n(123),i=n(26),u=n(18);t.exports=n(79)(Array,"Array",function(t,e){this._t=u(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){n(95),n(92),n(127),n(128),t.exports=n(2).Symbol},function(t,e,n){var r=n(35),o=n(62),i=n(40);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var u,a=n(t),c=i.f,s=0;a.length>s;)c.call(t,u=a[s++])&&e.push(u);return e}},function(t,e,n){var r=n(18),o=n(72).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(r(t))}},function(t,e,n){n(58)("asyncIterator")},function(t,e,n){n(58)("observable")},function(t,e,n){t.exports=n(130)},function(t,e,n){n(131);var r=n(2).Object;t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){var r=n(7);r(r.S,"Object",{create:n(37)})},function(t,e,n){var r=n(82);function o(e,n){return t.exports=o=r||function(t,e){return t.__proto__=e,t},o(e,n)}t.exports=o},function(t,e,n){n(134),t.exports=n(2).Object.setPrototypeOf},function(t,e,n){var r=n(7);r(r.S,"Object",{setPrototypeOf:n(135).set})},function(t,e,n){var r=n(9),o=n(12),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(32)(Function.call,n(36).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e,n){n(137),t.exports=n(2).Reflect.construct},function(t,e,n){var r=n(7),o=n(37),i=n(33),u=n(12),a=n(9),c=n(20),s=n(138),l=(n(8).Reflect||{}).construct,f=c(function(){function t(){}return!(l(function(){},[],t)instanceof t)}),p=!c(function(){l(function(){})});r(r.S+r.F*(f||p),"Reflect",{construct:function(t,e){i(t),u(e);var n=arguments.length<3?t:i(arguments[2]);if(p&&!f)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(s.apply(t,r))}var c=n.prototype,d=o(a(c)?c:Object.prototype),v=Function.apply.call(t,d,e);return a(v)?v:d}})},function(t,e,n){"use strict";var r=n(33),o=n(9),i=n(105),u=[].slice,a={};t.exports=Function.bind||function(t){var e=r(this),n=u.call(arguments,1),c=function(){var r=n.concat(u.call(arguments));return this instanceof c?function(t,e,n){if(!(e in a)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";a[e]=Function("F,a","return new F("+r.join(",")+")")}return a[e](t,n)}(e,r.length,r):i(e,r,t)};return o(e.prototype)&&(c.prototype=e.prototype),c}},function(t,e,n){t.exports=n(140)},function(t,e,n){n(141),t.exports=n(2).Object.getPrototypeOf},function(t,e,n){var r=n(27),o=n(66);n(70)("getPrototypeOf",function(){return function(t){return o(r(t))}})},function(t,e,n){var r=n(83);t.exports=function(){if("undefined"==typeof Reflect||!r)return!1;if(r.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(r(Date,[],function(){})),!0}catch(t){return!1}}},function(t,e,n){var r=n(86),o=n(67);t.exports=function(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?o(t):e}},function(t,e,n){t.exports=n(69)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(24),o=n(42),i=n(13)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},,function(t,e,n){var r=n(103),o=n(0),i=n(86),u=n(242);function a(){if("function"!=typeof u)return null;var t=new u;return a=function(){return t},t}t.exports=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var e=a();if(e&&e.has(t))return e.get(t);var n={},u=o&&r;for(var c in t)if(Object.prototype.hasOwnProperty.call(t,c)){var s=u?r(t,c):null;s&&(s.get||s.set)?o(n,c,s):n[c]=t[c]}return n.default=t,e&&e.set(t,n),n}},function(t,e,n){var r=n(32),o=n(156),i=n(157),u=n(12),a=n(75),c=n(149),s={},l={};(e=t.exports=function(t,e,n,f,p){var d,v,h,m,y=p?function(){return t}:c(t),g=r(n,f,e?2:1),b=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(i(y)){for(d=a(t.length);d>b;b++)if((m=e?g(u(v=t[b])[0],v[1]):g(t[b]))===s||m===l)return m}else for(h=y.call(t);!(v=h.next()).done;)if((m=o(h,g,v.value,e))===s||m===l)return m}).BREAK=s,e.RETURN=l},function(t,e,n){var r=n(109),o=n(10)("iterator"),i=n(26);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){var r=n(0),o=n(209),i=n(212),u=n(103),a=n(216),c=n(47),s=n(59);function l(t,e){var n=c(t);if(a){var r=a(t);e&&(r=r.filter(function(e){return u(t,e).enumerable})),n.push.apply(n,r)}return n}t.exports=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach(function(e){s(t,e,n[e])}):i?o(t,i(n)):l(Object(n)).forEach(function(e){r(t,e,u(n,e))})}return t}},function(t,e,n){var r=n(77),o=n(48),i=n(163);t.exports=function(t){return function(e,n,u){var a,c=r(e),s=o(c.length),l=i(u,s);if(t&&n!=n){for(;s>l;)if((a=c[l++])!=a)return!0}else for(;s>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},,,function(t,e,n){n(155);var r=n(2).Object;t.exports=function(t,e){return r.getOwnPropertyDescriptor(t,e)}},function(t,e,n){var r=n(18),o=n(36).f;n(70)("getOwnPropertyDescriptor",function(){return function(t,e){return o(r(t),e)}})},function(t,e,n){var r=n(12);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(26),o=n(10)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){"use strict";var r=n(15),o=n(28);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(64),o=n(100),i=n(93),u=n(48),a=n(160);t.exports=function(t,e){var n=1==t,c=2==t,s=3==t,l=4==t,f=6==t,p=5==t||f,d=e||a;return function(e,a,v){for(var h,m,y=i(e),g=o(y),b=r(a,v,3),_=u(g.length),x=0,E=n?d(e,_):c?d(e,0):void 0;_>x;x++)if((p||x in g)&&(m=b(h=g[x],x,y),t))if(n)E[x]=m;else if(m)switch(t){case 3:return!0;case 5:return h;case 6:return x;case 2:E.push(h)}else if(l)return!1;return f?-1:s||l?l:E}}},function(t,e,n){var r=n(161);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(24),o=n(162),i=n(13)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var r=n(42);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(49),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(49),o=n(43);t.exports=function(t){return function(e,n){var i,u,a=String(o(e)),c=r(n),s=a.length;return c<0||c>=s?t?"":void 0:(i=a.charCodeAt(c))<55296||i>56319||c+1===s||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):i:t?a.slice(c,c+2):u-56320+(i-55296<<10)+65536}}},function(t,e,n){var r=n(21);t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){t.exports=n(207)},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}},function(t,e,n){"use strict";(function(t,r){var o=n(1);n(0)(e,"__esModule",{value:!0}),e.default=e.TemplatesProvider=e.Context=void 0;var i=o(n(11)),u=o(n(177)),a=o(n(150)),c=o(n(3)),s=o(n(6)),l=o(n(67)),f=o(n(4)),p=o(n(5)),d=o(n(59)),v=o(n(286)),h=n(181),m=o(n(239)),y=i.default.createContext();e.Context=y;var g=function(e){(0,f.default)(r,e);var n=(0,p.default)(r);function r(t){var e;return(0,c.default)(this,r),(e=n.call(this,t)).state=(0,a.default)((0,a.default)({},e.state),{},{action:(0,a.default)((0,a.default)({},e.state.action),{},{current:r.actions.FETCH,loading:!0}),templates:{},updateTemplateItemState:e.updateTemplateItemState.bind((0,l.default)(e)),findTemplateItemInState:e.findTemplateItemInState.bind((0,l.default)(e)),fetchTemplates:e.fetchTemplates.bind((0,l.default)(e)),deleteTemplate:e.deleteTemplate.bind((0,l.default)(e)),updateTemplate:e.updateTemplate.bind((0,l.default)(e)),importTemplates:e.importTemplates.bind((0,l.default)(e))}),e}return(0,s.default)(r,[{key:"componentDidMount",value:function(){this.fetchTemplates()}},{key:"importTemplates",value:function(t){var e=this,n=t.fileName,o=t.fileData;return this.executeAction(r.actions.IMPORT,function(){return $e.data.create(h.Templates.signature,{fileName:n,fileData:o})}).then(function(t){return e.updateTemplatesState(function(e){return(0,a.default)((0,a.default)({},e),(0,u.default)(t.data).reduce(function(t,e){return e.supportsSiteEditor?(0,a.default)((0,a.default)({},t),{},(0,d.default)({},e.id,e)):t},{}))}),t})}},{key:"deleteTemplate",value:function(t){var e=this;return this.executeAction(r.actions.DELETE,function(){return $e.data.delete(h.Templates.signature,{id:t})}).then(function(){e.updateTemplatesState(function(e){var n=(0,a.default)({},e);return delete n[t],n})})}},{key:"updateTemplate",value:function(t,e){var n=this;return this.executeAction(r.actions.UPDATE,function(){return $e.data.update(h.Templates.signature,e,{id:t})}).then(function(e){n.updateTemplateItemState(t,e.data)})}},{key:"fetchTemplates",value:function(){var t=this;return this.executeAction(r.actions.FETCH,function(){return $e.data.get(h.Templates.signature)}).then(function(e){t.updateTemplatesState(function(){return(0,u.default)(e.data).reduce(function(t,e){return(0,a.default)((0,a.default)({},t),{},(0,d.default)({},e.id,e))},{})},!1)})}},{key:"updateTemplateItemState",value:function(t,e){return this.updateTemplatesState(function(n){var r=(0,a.default)((0,a.default)({},n[t]),e);return(0,a.default)((0,a.default)({},n),{},(0,d.default)({},t,r))})}},{key:"updateTemplatesState",value:function(t){return(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&$e.data.deleteCache($e.components.get(m.default.namespace),h.Templates.signature),this.setState(function(e){return{templates:t(e.templates)}})}},{key:"findTemplateItemInState",value:function(t){return this.state.templates[t]}},{key:"render",value:function(){if(this.state.action.current===r.actions.FETCH){if(this.state.action.error)return i.default.createElement("h3",null,t("Error:","elementor-pro")," ",this.state.action.error);if(this.state.action.loading)return i.default.createElement("h3",null,t("Loading","elementor-pro"),"...")}return i.default.createElement(y.Provider,{value:this.state},this.props.children)}}]),r}(v.default);e.TemplatesProvider=g,(0,d.default)(g,"propTypes",{children:r.object.isRequired}),(0,d.default)(g,"actions",{FETCH:"fetch",DELETE:"delete",UPDATE:"update",IMPORT:"import"});var b=g;e.default=b}).call(this,n(65).__,n(50))},,,,function(t,e,n){var r=n(32),o=n(90),i=n(27),u=n(75),a=n(245);t.exports=function(t,e){var n=1==t,c=2==t,s=3==t,l=4==t,f=6==t,p=5==t||f,d=e||a;return function(e,a,v){for(var h,m,y=i(e),g=o(y),b=r(a,v,3),_=u(g.length),x=0,E=n?d(e,_):c?d(e,0):void 0;_>x;x++)if((p||x in g)&&(m=b(h=g[x],x,y),t))if(n)E[x]=m;else if(m)switch(t){case 3:return!0;case 5:return h;case 6:return x;case 2:E.push(h)}else if(l)return!1;return f?-1:s||l?l:E}}},function(t,e,n){var r=n(9);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){n(176),t.exports=n(2).Object.keys},function(t,e,n){var r=n(27),o=n(35);n(70)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){t.exports=n(310)},function(t,e,n){t.exports=n(203)},function(t,e,n){var r=n(10)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],u=i[r]();u.next=function(){return{done:n=!0}},i[r]=function(){return u},t(i)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(33);t.exports.f=function(t){return new function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}(t)}},function(t,e,n){"use strict";var r=n(0);r(e,"__esModule",{value:!0}),r(e,"Templates",{enumerable:!0,get:function(){return o.Templates}}),r(e,"ConditionsConfig",{enumerable:!0,get:function(){return i.ConditionsConfig}}),r(e,"TemplatesConditions",{enumerable:!0,get:function(){return u.TemplatesConditions}}),r(e,"TemplatesConditionsConflicts",{enumerable:!0,get:function(){return a.TemplatesConditionsConflicts}});var o=n(264),i=n(265),u=n(266),a=n(267)},function(t,e,n){t.exports=n(227)},function(t,e,n){"use strict";var r=n(102);n(51)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},,,,,,,,function(t,e,n){t.exports=n(253)},function(t,e){t.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},function(t,e,n){t.exports=n(205)},function(t,e,n){var r=n(167),o=n(168);t.exports=function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?r(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}},function(t,e,n){t.exports=n(257)},function(t,e,n){var r=n(222),o=n(223),i=n(194),u=n(224);t.exports=function(t){return r(t)||o(t)||i(t)||u()}},function(t,e,n){"use strict";n(226);var r=n(23),o=n(89),i=n(22),u=/./.toString,a=function(t){n(31)(RegExp.prototype,"toString",t,!0)};n(30)(function(){return"/a/b"!=u.call({source:"a",flags:"b"})})?a(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)}):"toString"!=u.name&&a(function(){return u.call(this)})},,,,function(t,e,n){"use strict";t.exports=function(t,e,n,r,o,i,u,a){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,u,a],l=0;(c=new Error(e.replace(/%s/g,function(){return s[l++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(t,e,n){var r=n(314),o=n(315),i=n(194),u=n(319);t.exports=function(t,e){return r(t)||o(t,e)||i(t,e)||u()}},function(t,e,n){n(204),t.exports=n(2).Array.isArray},function(t,e,n){var r=n(7);r(r.S,"Array",{isArray:n(87)})},function(t,e,n){n(76),n(71),t.exports=n(206)},function(t,e,n){var r=n(109),o=n(10)("iterator"),i=n(26);t.exports=n(2).isIterable=function(t){var e=Object(t);return void 0!==e[o]||"@@iterator"in e||i.hasOwnProperty(r(e))}},function(t,e,n){n(71),n(208),t.exports=n(2).Array.from},function(t,e,n){"use strict";var r=n(32),o=n(7),i=n(27),u=n(156),a=n(157),c=n(75),s=n(158),l=n(149);o(o.S+o.F*!n(179)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,f,p=i(t),d="function"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,m=void 0!==h,y=0,g=l(p);if(m&&(h=r(h,v>2?arguments[2]:void 0,2)),void 0==g||d==Array&&a(g))for(n=new d(e=c(p.length));e>y;y++)s(n,y,m?h(p[y],y):p[y]);else for(f=g.call(p),n=new d;!(o=f.next()).done;y++)s(n,y,m?u(f,h,[o.value,y],!0):o.value);return n.length=y,n}})},function(t,e,n){t.exports=n(210)},function(t,e,n){n(211);var r=n(2).Object;t.exports=function(t,e){return r.defineProperties(t,e)}},function(t,e,n){var r=n(7);r(r.S+r.F*!n(14),"Object",{defineProperties:n(94)})},function(t,e,n){t.exports=n(213)},function(t,e,n){n(214),t.exports=n(2).Object.getOwnPropertyDescriptors},function(t,e,n){var r=n(7),o=n(215),i=n(18),u=n(36),a=n(158);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=i(t),c=u.f,s=o(r),l={},f=0;s.length>f;)void 0!==(n=c(r,e=s[f++]))&&a(l,e,n);return l}})},function(t,e,n){var r=n(72),o=n(62),i=n(12),u=n(8).Reflect;t.exports=u&&u.ownKeys||function(t){var e=r.f(i(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){t.exports=n(217)},function(t,e,n){n(95),t.exports=n(2).Object.getOwnPropertySymbols},function(t,e,n){var r=n(12),o=n(33),i=n(10)("species");t.exports=function(t,e){var n,u=r(t).constructor;return void 0===u||void 0==(n=r(u)[i])?e:o(n)}},function(t,e,n){var r,o,i,u=n(32),a=n(105),c=n(104),s=n(73),l=n(8),f=l.process,p=l.setImmediate,d=l.clearImmediate,v=l.MessageChannel,h=l.Dispatch,m=0,y={},g=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},b=function(t){g.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++m]=function(){a("function"==typeof t?t:Function(t),e)},r(m),m},d=function(t){delete y[t]},"process"==n(45)(f)?r=function(t){f.nextTick(u(g,t,1))}:h&&h.now?r=function(t){h.now(u(g,t,1))}:v?(i=(o=new v).port2,o.port1.onmessage=b,r=u(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",b,!1)):r="onreadystatechange"in s("script")?function(t){c.appendChild(s("script")).onreadystatechange=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(u(g,t,1),0)}),t.exports={set:p,clear:d}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(12),o=n(9),i=n(180);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var r=n(178),o=n(168);t.exports=function(t){if(r(t))return o(t)}},function(t,e,n){var r=n(167),o=n(193),i=n(91);t.exports=function(t){if(void 0!==i&&o(Object(t)))return r(t)}},function(t,e){t.exports=function(){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(t,e,n){"use strict";n(270)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){n(22)&&"g"!=/./g.flags&&n(39).f(RegExp.prototype,"flags",{configurable:!0,get:n(89)})},function(t,e,n){var r=n(2),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},,,,,,,,,,function(t,e,n){"use strict";var r=n(14),o=n(35),i=n(62),u=n(40),a=n(27),c=n(90),s=Object.assign;t.exports=!s||n(20)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=s({},t)[n]||Object.keys(s({},e)).join("")!=r})?function(t,e){for(var n=a(t),s=arguments.length,l=1,f=i.f,p=u.f;s>l;)for(var d,v=c(arguments[l++]),h=f?o(v).concat(f(v)):o(v),m=h.length,y=0;m>y;)d=h[y++],r&&!p.call(v,d)||(n[d]=v[d]);return n}:s},function(t,e,n){var r=n(7),o=n(46),i=n(20),u=n(192),a="["+u+"]",c=RegExp("^"+a+a+"*"),s=RegExp(a+a+"*$"),l=function(t,e,n){var o={},a=i(function(){return!!u[t]()||"​"!="​"[t]()}),c=o[t]=a?e(f):u[t];n&&(o[n]=c),r(r.P+r.F*a,"String",o)},f=l.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(s,"")),t};t.exports=l},function(t,e,n){"use strict";var r=n(147),o=n(1);n(0)(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(3)),u=o(n(6)),a=o(n(4)),c=o(n(5)),s=o(n(59)),l=r(n(181)),f=function(t){(0,a.default)(n,t);var e=(0,c.default)(n);function n(){return(0,i.default)(this,n),e.apply(this,arguments)}return(0,u.default)(n,[{key:"getNamespace",value:function(){return this.constructor.namespace}},{key:"defaultData",value:function(){return this.importCommands(l)}}]),n}($e.modules.ComponentBase);e.default=f,(0,s.default)(f,"namespace","site-editor")},,,function(t,e,n){t.exports=n(243)},function(t,e,n){n(92),n(76),n(244),n(249),n(251),t.exports=n(2).WeakMap},function(t,e,n){"use strict";var r,o=n(8),i=n(173)(0),u=n(74),a=n(81),c=n(237),s=n(247),l=n(9),f=n(174),p=n(174),d=!o.ActiveXObject&&"ActiveXObject"in o,v=a.getWeak,h=Object.isExtensible,m=s.ufstore,y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},g={get:function(t){if(l(t)){var e=v(t);return!0===e?m(f(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return s.def(f(this,"WeakMap"),t,e)}},b=t.exports=n(248)("WeakMap",y,g,s,!0,!0);p&&d&&(c((r=s.getConstructor(y,"WeakMap")).prototype,g),a.NEED=!0,i(["delete","has","get","set"],function(t){var e=b.prototype,n=e[t];u(e,t,function(e,o){if(l(e)&&!h(e)){this._f||(this._f=new r);var i=this._f[t](e,o);return"set"==t?this:i}return n.call(this,e,o)})}))},function(t,e,n){var r=n(246);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(9),o=n(87),i=n(10)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){"use strict";var r=n(165),o=n(81).getWeak,i=n(12),u=n(9),a=n(166),c=n(148),s=n(173),l=n(16),f=n(174),p=s(5),d=s(6),v=0,h=function(t){return t._l||(t._l=new m)},m=function(){this.a=[]},y=function(t,e){return p(t.a,function(t){return t[0]===e})};m.prototype={get:function(t){var e=y(this,t);if(e)return e[1]},has:function(t){return!!y(this,t)},set:function(t,e){var n=y(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=d(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,i){var s=t(function(t,r){a(t,s,e,"_i"),t._t=e,t._i=v++,t._l=void 0,void 0!=r&&c(r,n,t[i],t)});return r(s.prototype,{delete:function(t){if(!u(t))return!1;var n=o(t);return!0===n?h(f(this,e)).delete(t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!u(t))return!1;var n=o(t);return!0===n?h(f(this,e)).has(t):n&&l(n,this._i)}}),s},def:function(t,e,n){var r=o(i(e),!0);return!0===r?h(t).set(e,n):r[t._i]=n,t},ufstore:h}},function(t,e,n){"use strict";var r=n(8),o=n(7),i=n(81),u=n(20),a=n(21),c=n(165),s=n(148),l=n(166),f=n(9),p=n(41),d=n(15).f,v=n(173)(0),h=n(14);t.exports=function(t,e,n,m,y,g){var b=r[t],_=b,x=y?"set":"add",E=_&&_.prototype,S={};return h&&"function"==typeof _&&(g||E.forEach&&!u(function(){(new _).entries().next()}))?(_=e(function(e,n){l(e,_,t,"_c"),e._c=new b,void 0!=n&&s(n,y,e[x],e)}),v("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(t){var e="add"==t||"set"==t;t in E&&(!g||"clear"!=t)&&a(_.prototype,t,function(n,r){if(l(this,_,t),!e&&g&&!f(n))return"get"==t&&void 0;var o=this._c[t](0===n?0:n,r);return e?this:o})}),g||d(_.prototype,"size",{get:function(){return this._c.size}})):(_=m.getConstructor(e,t,y,x),c(_.prototype,n),i.NEED=!0),p(_,t),S[t]=_,o(o.G+o.W+o.F,S),g||m.setStrong(_,t,y),_}},function(t,e,n){n(250)("WeakMap")},function(t,e,n){"use strict";var r=n(7);t.exports=function(t){r(r.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,n){n(252)("WeakMap")},function(t,e,n){"use strict";var r=n(7),o=n(33),i=n(32),u=n(148);t.exports=function(t){r(r.S,t,{from:function(t){var e,n,r,a,c=arguments[1];return o(this),(e=void 0!==c)&&o(c),void 0==t?new this:(n=[],e?(r=0,a=i(c,arguments[2],2),u(t,!1,function(t){n.push(a(t,r++))})):u(t,!1,n.push,n),new this(n))}})}},function(t,e,n){n(254),t.exports=n(2).parseInt},function(t,e,n){var r=n(7),o=n(255);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(t,e,n){var r=n(8).parseInt,o=n(238).trim,i=n(192),u=/^[-+]?0[xX]/;t.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(t,e){var n=o(String(t),3);return r(n,e>>>0||(u.test(n)?16:10))}:r},function(t,e,n){var r=n(14),o=n(35),i=n(18),u=n(40).f;t.exports=function(t){return function(e){for(var n,a=i(e),c=o(a),s=c.length,l=0,f=[];s>l;)n=c[l++],r&&!u.call(a,n)||f.push(t?[n,a[n]]:a[n]);return f}}},function(t,e,n){n(92),n(71),n(76),n(258),n(262),n(263),t.exports=n(2).Promise},function(t,e,n){"use strict";var r,o,i,u,a=n(34),c=n(8),s=n(32),l=n(109),f=n(7),p=n(9),d=n(33),v=n(166),h=n(148),m=n(218),y=n(219).set,g=n(259)(),b=n(180),_=n(220),x=n(260),E=n(221),S=c.TypeError,C=c.process,w=C&&C.versions,T=w&&w.v8||"",O=c.Promise,P="process"==l(C),I=function(){},j=o=b.f,k=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[n(10)("species")]=function(t){t(I,I)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(I)instanceof e&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),A=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},M=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,o=1==t._s,i=0,u=function(e){var n,i,u,a=o?e.ok:e.fail,c=e.resolve,s=e.reject,l=e.domain;try{a?(o||(2==t._h&&F(t),t._h=1),!0===a?n=r:(l&&l.enter(),n=a(r),l&&(l.exit(),u=!0)),n===e.promise?s(S("Promise-chain cycle")):(i=A(n))?i.call(n,c,s):c(n)):s(r)}catch(t){l&&!u&&l.exit(),s(t)}};n.length>i;)u(n[i++]);t._c=[],t._n=!1,e&&!t._h&&R(t)})}},R=function(t){y.call(c,function(){var e,n,r,o=t._v,i=N(t);if(i&&(e=_(function(){P?C.emit("unhandledRejection",o,t):(n=c.onunhandledrejection)?n({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=P||N(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){y.call(c,function(){var e;P?C.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},D=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),M(e,!0))},U=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=A(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,s(U,r,1),s(D,r,1))}catch(t){D.call(r,t)}}):(n._v=t,n._s=1,M(n,!1))}catch(t){D.call({_w:n,_d:!1},t)}}};k||(O=function(t){v(this,O,"Promise","_h"),d(t),r.call(this);try{t(s(U,this,1),s(D,this,1))}catch(t){D.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(165)(O.prototype,{then:function(t,e){var n=j(m(this,O));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(U,t,1),this.reject=s(D,t,1)},b.f=j=function(t){return t===O||t===u?new i(t):o(t)}),f(f.G+f.W+f.F*!k,{Promise:O}),n(41)(O,"Promise"),n(261)("Promise"),u=n(2).Promise,f(f.S+f.F*!k,"Promise",{reject:function(t){var e=j(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!k),"Promise",{resolve:function(t){return E(a&&this===u?O:this,t)}}),f(f.S+f.F*!(k&&n(179)(function(t){O.all(t).catch(I)})),"Promise",{all:function(t){var e=this,n=j(e),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,u=1;h(t,!1,function(t){var a=i++,c=!1;n.push(void 0),u++,e.resolve(t).then(function(t){c||(c=!0,n[a]=t,--u||r(n))},o)}),--u||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=j(e),r=n.reject,o=_(function(){h(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(t,e,n){var r=n(8),o=n(219).set,i=r.MutationObserver||r.WebKitMutationObserver,u=r.process,a=r.Promise,c="process"==n(45)(u);t.exports=function(){var t,e,n,s=function(){var r,o;for(c&&(r=u.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){u.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(s)}}else n=function(){o.call(r,s)};else{var f=!0,p=document.createTextNode("");new i(s).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e,n){var r=n(8).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){"use strict";var r=n(8),o=n(2),i=n(15),u=n(14),a=n(10)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];u&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e,n){"use strict";var r=n(7),o=n(2),i=n(8),u=n(218),a=n(221);r(r.P+r.R,"Promise",{finally:function(t){var e=u(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){"use strict";var r=n(7),o=n(180),i=n(220);r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){"use strict";var r=n(1);n(0)(e,"__esModule",{value:!0}),e.default=e.Templates=void 0;var o=r(n(3)),i=r(n(6)),u=r(n(4)),a=r(n(5)),c=r(n(59)),s=function(t){(0,u.default)(n,t);var e=(0,a.default)(n);function n(){return(0,o.default)(this,n),e.apply(this,arguments)}return(0,i.default)(n,null,[{key:"getEndpointFormat",value:function(){return"site-editor/templates/{id}"}}]),n}($e.modules.CommandData);e.Templates=s,(0,c.default)(s,"signature","site-editor/templates");var l=s;e.default=l},function(t,e,n){"use strict";var r=n(1);n(0)(e,"__esModule",{value:!0}),e.default=e.ConditionsConfig=void 0;var o=r(n(3)),i=r(n(6)),u=r(n(4)),a=r(n(5)),c=r(n(59)),s=function(t){(0,u.default)(n,t);var e=(0,a.default)(n);function n(){return(0,o.default)(this,n),e.apply(this,arguments)}return(0,i.default)(n,null,[{key:"getEndpointFormat",value:function(){return"site-editor/conditions-config/{id}"}}]),n}($e.modules.CommandData);e.ConditionsConfig=s,(0,c.default)(s,"signature","site-editor/conditions-config");var l=s;e.default=l},function(t,e,n){"use strict";var r=n(1);n(0)(e,"__esModule",{value:!0}),e.default=e.TemplatesConditions=void 0;var o=r(n(3)),i=r(n(6)),u=r(n(4)),a=r(n(5)),c=r(n(59)),s=function(t){(0,u.default)(n,t);var e=(0,a.default)(n);function n(){return(0,o.default)(this,n),e.apply(this,arguments)}return(0,i.default)(n,null,[{key:"getEndpointFormat",value:function(){return"site-editor/templates-conditions/{id}"}}]),n}($e.modules.CommandData);e.TemplatesConditions=s,(0,c.default)(s,"signature","site-editor/templates-conditions");var l=s;e.default=l},function(t,e,n){"use strict";var r=n(1);n(0)(e,"__esModule",{value:!0}),e.default=e.TemplatesConditionsConflicts=void 0;var o=r(n(3)),i=r(n(6)),u=r(n(4)),a=r(n(5)),c=r(n(59)),s=function(t){(0,u.default)(n,t);var e=(0,a.default)(n);function n(){return(0,o.default)(this,n),e.apply(this,arguments)}return(0,i.default)(n,null,[{key:"getEndpointFormat",value:function(){return"".concat(n.signature,"/{id}")}}]),n}($e.modules.CommandData);e.TemplatesConditionsConflicts=s,(0,c.default)(s,"signature","site-editor/templates-conditions-conflicts");var l=s;e.default=l},function(t,e){t.exports=elementorAppPackages.siteEditor},function(t,e,n){"use strict";(function(t,r){var o=n(1);n(0)(e,"__esModule",{value:!0}),e.default=a;var i=o(n(11)),u=n(63);function a(e){return i.default.createElement("div",{className:"back-button-wrapper"},i.default.createElement(u.Button,{className:"eps-back-button",text:t("Back","elementor-pro"),icon:"eicon-chevron-left",onClick:e.onClick}))}n(336),a.propTypes={onClick:r.func},a.defaultProps={onClick:function(){return history.back()}}}).call(this,n(65).__,n(50))},function(t,e,n){var r=n(51),o=n(30),i=n(43),u=/"/g,a=function(t,e,n,r){var o=String(i(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(r).replace(u,"&quot;")+'"'),a+">"+o+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(a),r(r.P+r.F*o(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){"use strict";var r=n(51),o=n(151)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(106)("includes")},function(t,e,n){"use strict";var r=n(51),o=n(273);r(r.P+r.F*n(274)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(145),o=n(43);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){var r=n(13)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},,,,,,,,function(t,e,n){"use strict";(function(t,r){var o=n(1);n(0)(e,"__esModule",{value:!0}),e.default=v;var i=o(n(11)),u=o(n(283)),a=o(n(191)),c=o(n(177)),s=n(63),l=o(n(312)),f=n(285),p=n(169),d=o(n(330));function v(e){var n,r,o=i.default.useContext(p.Context),v=o.templates,h=o.action,m=o.resetActionState;r=i.default.useMemo(function(){return(0,c.default)(v).sort(function(t,e){return e.isActive||t.isActive?e.isActive&&t.isActive?e.date<t.date?1:-1:e.isActive?1:-1:"draft"===e.status&&"draft"===t.status||"draft"!==e.status&&"draft"!==t.status?e.date<t.date?1:-1:"draft"===t.status?1:-1})},[v]),(0,d.default)(e.type);var y={};if(e.type)switch(r=r.filter(function(t){return t.type===e.type}),y.extended=!0,y.type=e.type,e.type){case"header":case"footer":n=1,y.aspectRatio="wide";break;default:n=2}return r&&r.length?i.default.createElement("section",{className:"e-site-editor__site-templates"},i.default.createElement(f.PartActionsDialogs,null),h.error&&i.default.createElement(s.Dialog,{text:h.error,dismissButtonText:t("Go Back","elementor-pro"),dismissButtonOnClick:m,approveButtonText:t("Learn More","elementor-pro"),approveButtonColor:"link",approveButtonUrl:"https://go.elementor.com/app-theme-builder-template-load-issue",approveButtonTarget:"_target"}),i.default.createElement(s.CssGrid,{columns:n,spacing:24,colMinWidth:200},r.map(function(t){return i.default.createElement(l.default,(0,u.default)({key:t.id},t,y,{isSelected:(0,a.default)(e.id)===t.id}))}))):i.default.createElement("h3",null,t("No Templates found. Want to create one?","elementor-pro"),"...")}v.propTypes={type:r.string,id:r.string}}).call(this,n(65).__,n(50))},function(t,e,n){var r=n(284);function o(){return t.exports=o=r||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}t.exports=o},function(t,e,n){t.exports=n(308)},function(t,e,n){"use strict";(function(t,r){var o=n(1);n(0)(e,"__esModule",{value:!0}),e.PartActionsDialogs=function(){var t=i.default.useState(null),e=(0,u.default)(t,2),n=e[0],r=e[1],o=i.default.useState(null),s=(0,u.default)(o,2),f=s[0],p=s[1];return l.rename=r,l.delete=p,i.default.createElement(i.default.Fragment,null,i.default.createElement(a.default,{id:n,setId:r}),i.default.createElement(c.default,{id:f,setId:p}))},e.default=f,e.handlers=void 0;var i=o(n(11)),u=o(n(202)),a=o(n(320)),c=o(n(321)),s=n(63),l={rename:null,delete:null};function f(e){var n=i.default.useState(!1),r=(0,u.default)(n,2),o=r[0],a=r[1],c="";return o&&(c=i.default.createElement(s.Popover,{closeFunction:function(){return a(!o)}},i.default.createElement("li",null,i.default.createElement(s.Button,{className:"eps-popover__item",icon:"eicon-sign-out",text:t("Export","elementor-pro"),url:e.exportLink})),i.default.createElement("li",null,i.default.createElement(s.Button,{className:"eps-popover__item eps-popover__item--danger",icon:"eicon-trash-o",text:t("Trash","elementor-pro"),onClick:function(){return l.delete(e.id)}})),i.default.createElement("li",null,i.default.createElement(s.Button,{className:"eps-popover__item",icon:"eicon-edit",text:t("Rename","elementor-pro"),onClick:function(){return l.rename(e.id)}})))),i.default.createElement("div",{className:"eps-popover__container"},i.default.createElement(s.Button,{text:t("Toggle","elementor-pro"),hideText:!0,icon:"eicon-ellipsis-h",size:"lg",onClick:function(){return a(!o)}}),c)}e.handlers=l,f.propTypes={id:r.number.isRequired,exportLink:r.string.isRequired}}).call(this,n(65).__,n(50))},function(t,e,n){"use strict";(function(t){var r=n(1);n(0)(e,"__esModule",{value:!0}),e.default=e.BaseContext=void 0;var o=r(n(150)),i=r(n(195)),u=r(n(3)),a=r(n(6)),c=r(n(67)),s=r(n(4)),l=r(n(5)),f=function(t){(0,s.default)(n,t);var e=(0,l.default)(n);function n(t){var r;return(0,u.default)(this,n),(r=e.call(this,t)).state={action:{current:null,loading:!1,error:null,errorMeta:{}},updateActionState:r.updateActionState.bind((0,c.default)(r)),resetActionState:r.resetActionState.bind((0,c.default)(r))},r}return(0,a.default)(n,[{key:"executeAction",value:function(t,e){var n=this;return this.updateActionState({current:t,loading:!0,error:null,errorMeta:{}}),e().then(function(t){return n.resetActionState(),i.default.resolve(t)}).catch(function(e){return n.updateActionState({current:t,loading:!1,error:e.message,errorMeta:e}),i.default.reject(e)})}},{key:"updateActionState",value:function(t){return this.setState(function(e){return{action:(0,o.default)((0,o.default)({},e.action),t)}})}},{key:"resetActionState",value:function(){this.updateActionState({current:null,loading:!1,error:null,errorMeta:{}})}}]),n}(t.Component);e.BaseContext=f;var p=f;e.default=p}).call(this,n(11))},function(t,e,n){"use strict";(function(t,r){var o=n(1);n(0)(e,"__esModule",{value:!0}),e.default=e.ConditionsProvider=e.Context=void 0;var i=o(n(11));n(19),n(225),n(110);var u=o(n(195));n(197),n(111);var a=o(n(47)),c=o(n(177)),s=o(n(150)),l=o(n(3)),f=o(n(6)),p=o(n(67)),d=o(n(4)),v=o(n(5)),h=o(n(59)),m=o(n(338)),y=o(n(339)),g=o(n(286)),b=n(181),x=i.default.createContext();e.Context=x;var E=function(e){(0,d.default)(r,e);var n=(0,v.default)(r);function r(t){var e;return(0,l.default)(this,r),e=n.call(this,t),(0,h.default)((0,p.default)(e),"conditionsConfig",null),e.state=(0,s.default)((0,s.default)({},e.state),{},{conditions:{},updateConditionItemState:e.updateConditionItemState.bind((0,p.default)(e)),removeConditionItemInState:e.removeConditionItemInState.bind((0,p.default)(e)),createConditionItemInState:e.createConditionItemInState.bind((0,p.default)(e)),findConditionItemInState:e.findConditionItemInState.bind((0,p.default)(e)),saveConditions:e.saveConditions.bind((0,p.default)(e))}),e}return(0,f.default)(r,[{key:"componentDidMount",value:function(){var t=this;this.executeAction(r.actions.FETCH_CONFIG,function(){return y.default.create()}).then(function(e){return t.conditionsConfig=e}).then(this.normalizeConditionsState.bind(this)).then(this.setSubIdTitles.bind(this))}},{key:"saveConditions",value:function(){var t=this,e=(0,c.default)(this.state.conditions).map(function(t){return t.forDb()});return this.executeAction(r.actions.SAVE,function(){return $e.data.update(b.TemplatesConditions.signature,{conditions:e},{id:t.props.currentTemplate.id})}).then(function(){var e=(0,c.default)(t.state.conditions).map(function(t){return t.forContext()});t.props.onConditionsSaved(t.props.currentTemplate.id,{conditions:e,instances:t.conditionsConfig.calculateInstances((0,c.default)(t.state.conditions)),isActive:!(!(0,a.default)(t.state.conditions).length||"publish"!==t.props.currentTemplate.status)})})}},{key:"checkConflicts",value:function(t){var e=this;return this.executeAction(r.actions.CHECK_CONFLICTS,function(){return $e.data.get(b.TemplatesConditionsConflicts.signature,{post_id:e.props.currentTemplate.id,condition:t.clone().toString()})}).then(function(n){return e.updateConditionItemState(t.id,{conflictErrors:(0,c.default)(n.data)},!1)})}},{key:"fetchSubIdsTitles",value:function(t){return new u.default(function(e){return elementorCommon.ajax.loadObjects({action:"query_control_value_titles",ids:_.isArray(t.subId)?t.subId:[t.subId],data:{get_titles:t.subIdAutocomplete,unique_id:elementorCommon.helpers.getUniqueId()},success:function(t){e(t)}})})}},{key:"normalizeConditionsState",value:function(){var t=this;this.updateConditionsState(function(){return t.props.currentTemplate.conditions.reduce(function(e,n){var r=new m.default((0,s.default)((0,s.default)({},n),{},{default:t.props.currentTemplate.defaultCondition,options:t.conditionsConfig.getOptions(),subOptions:t.conditionsConfig.getSubOptions(n.name),subIdAutocomplete:t.conditionsConfig.getSubIdAutocomplete(n.sub),supIdOptions:n.subId?[{value:n.subId,label:n.subId}]:[]}));return(0,s.default)((0,s.default)({},e),{},(0,h.default)({},r.id,r))},{})}).then(function(){(0,c.default)(t.state.conditions).forEach(function(e){return t.checkConflicts(e)})})}},{key:"setSubIdTitles",value:function(){var t=this;return(0,c.default)(this.state.conditions).forEach(function(e){if(e.subId)return t.fetchSubIdsTitles(e).then(function(n){return t.updateConditionItemState(e.id,{subIdOptions:[{label:(0,c.default)(n)[0],value:e.subId}]},!1)})})}},{key:"updateConditionItemState",value:function(t,e){var n=this,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];e.name&&(e.subOptions=this.conditionsConfig.getSubOptions(e.name)),(e.sub||e.name)&&(e.subIdAutocomplete=this.conditionsConfig.getSubIdAutocomplete(e.sub),e.subIdOptions=[]),this.updateConditionsState(function(n){var r=n[t];return(0,s.default)((0,s.default)({},n),{},(0,h.default)({},t,r.clone().set(e)))}).then(function(){r&&n.checkConflicts(n.findConditionItemInState(t))})}},{key:"removeConditionItemInState",value:function(t){this.updateConditionsState(function(e){var n=(0,s.default)({},e);return delete n[t],n})}},{key:"createConditionItemInState",value:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=this.props.currentTemplate.defaultCondition,r=new m.default({name:n,default:n,options:this.conditionsConfig.getOptions(),subOptions:this.conditionsConfig.getSubOptions(n),subIdAutocomplete:this.conditionsConfig.getSubIdAutocomplete("")});this.updateConditionsState(function(t){return(0,s.default)((0,s.default)({},t),{},(0,h.default)({},r.id,r))}).then(function(){e&&t.checkConflicts(r)})}},{key:"findConditionItemInState",value:function(t){return(0,c.default)(this.state.conditions).find(function(e){return e.id===t})}},{key:"updateConditionsState",value:function(t){var e=this;return new u.default(function(n){return e.setState(function(e){return{conditions:t(e.conditions)}},n)})}},{key:"render",value:function(){if(this.state.action.current===r.actions.FETCH_CONFIG){if(this.state.error)return i.default.createElement("h3",null,t("Error:","elementor-pro")," ",this.state.error);if(this.state.loading)return i.default.createElement("h3",null,t("Loading","elementor-pro"),"...")}return i.default.createElement(x.Provider,{value:this.state},this.props.children)}}]),r}(g.default);e.ConditionsProvider=E,(0,h.default)(E,"propTypes",{children:r.any.isRequired,currentTemplate:r.object.isRequired,onConditionsSaved:r.func.isRequired}),(0,h.default)(E,"actions",{FETCH_CONFIG:"fetch-config",SAVE:"save",CHECK_CONFLICTS:"check-conflicts"});var S=E;e.default=S}).call(this,n(65).__,n(50))},,,,,,,,,,,function(t,e,n){"use strict";e.__esModule=!0;var r=i(n(11)),o=i(n(303));function i(t){return t&&t.__esModule?t:{default:t}}e.default=r.default.createContext||o.default,t.exports=e.default},function(t,e,n){"use strict";new(n(1)(n(300)).default)},function(t,e,n){"use strict";(function(t){var r=n(147),o=n(1);n(0)(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(11)),u=o(n(3)),a=o(n(47)),c=n(545),s=o(n(307)),l=o(n(332)),f=o(n(334)),p=o(n(337)),d=o(n(347)),v=r(n(169)),h=n(268),m=n(63),y=o(n(348)),g=o(n(239));function b(){var e=[{id:"import",text:t("import","elementor-pro"),hideText:!0,icon:"eicon-download-circle-o",onClick:function(){return y.default.appHistory.navigate("site-editor/import")}}];elementorCommon.ajax.invalidateCache({unique_id:"app_site_editor_template_types"});return i.default.createElement(m.ErrorBoundary,{title:t("Theme Builder could not be loaded","elementor-pro"),learnMoreUrl:"https://go.elementor.com/app-theme-builder-load-issue"},i.default.createElement(h.Layout,{allPartsButton:i.default.createElement(h.AllPartsButton,{url:"/site-editor"}),headerButtons:e},i.default.createElement(v.default,null,i.default.createElement(c.LocationProvider,{history:y.default.appHistory},i.default.createElement(c.Router,null,i.default.createElement(function(){var t=i.default.useContext(v.Context).templates;return(0,a.default)(t).length?i.default.createElement(c.Redirect,{from:"/",to:"/site-editor/templates",noThrow:!0}):i.default.createElement(c.Redirect,{from:"/",to:"/site-editor/add-new",noThrow:!0})},{path:"/site-editor"}),i.default.createElement(s.default,{path:"site-editor/templates"}),i.default.createElement(l.default,{path:"site-editor/templates/:type/*id"}),i.default.createElement(f.default,{path:"site-editor/add-new"}),i.default.createElement(p.default,{path:"site-editor/conditions/:id"}),i.default.createElement(d.default,{path:"site-editor/import"}),i.default.createElement(h.NotFound,{default:!0}))))))}e.default=function t(){(0,u.default)(this,t),elementorCommon.debug.addURLToWatch("elementor-pro/assets"),$e.components.register(new g.default),y.default.addRoute({path:"/site-editor/*",component:b})}}).call(this,n(65).__)},function(t,e,n){"use strict";var r=n(302);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,u){if(u!==r){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 e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";e.__esModule=!0;var r=n(11),o=(u(r),u(n(50))),i=u(n(304));u(n(306));function u(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var l=1073741823;e.default=function(t,e){var n,u,f="__create-react-context-"+(0,i.default)()+"__",p=function(t){function n(){var e,r;a(this,n);for(var o=arguments.length,i=Array(o),u=0;u<o;u++)i[u]=arguments[u];return e=r=c(this,t.call.apply(t,[this].concat(i))),r.emitter=function(t){var e=[];return{on:function(t){e.push(t)},off:function(t){e=e.filter(function(e){return e!==t})},get:function(){return t},set:function(n,r){t=n,e.forEach(function(e){return e(t,r)})}}}(r.props.value),c(r,e)}return s(n,t),n.prototype.getChildContext=function(){var t;return(t={})[f]=this.emitter,t},n.prototype.componentWillReceiveProps=function(t){if(this.props.value!==t.value){var n=this.props.value,r=t.value,o=void 0;!function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}(n,r)?(o="function"==typeof e?e(n,r):l,0!=(o|=0)&&this.emitter.set(t.value,o)):o=0}},n.prototype.render=function(){return this.props.children},n}(r.Component);p.childContextTypes=((n={})[f]=o.default.object.isRequired,n);var d=function(e){function n(){var t,r;a(this,n);for(var o=arguments.length,i=Array(o),u=0;u<o;u++)i[u]=arguments[u];return t=r=c(this,e.call.apply(e,[this].concat(i))),r.state={value:r.getValue()},r.onUpdate=function(t,e){0!=((0|r.observedBits)&e)&&r.setState({value:r.getValue()})},c(r,t)}return s(n,e),n.prototype.componentWillReceiveProps=function(t){var e=t.observedBits;this.observedBits=void 0===e||null===e?l:e},n.prototype.componentDidMount=function(){this.context[f]&&this.context[f].on(this.onUpdate);var t=this.props.observedBits;this.observedBits=void 0===t||null===t?l:t},n.prototype.componentWillUnmount=function(){this.context[f]&&this.context[f].off(this.onUpdate)},n.prototype.getValue=function(){return this.context[f]?this.context[f].get():t},n.prototype.render=function(){return function(t){return Array.isArray(t)?t[0]:t}(this.props.children)(this.state.value)},n}(r.Component);return d.contextTypes=((u={})[f]=o.default.object,u),{Provider:p,Consumer:d}},t.exports=e.default},function(t,e,n){"use strict";(function(e){var n="__global_unique_id__";t.exports=function(){return e[n]=(e[n]||0)+1}}).call(this,n(305))},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var r=function(){};t.exports=r},function(t,e,n){"use strict";(function(t){var r=n(1);n(0)(e,"__esModule",{value:!0}),e.default=function(){return o.default.createElement("section",{className:"e-site-editor__site-templates"},o.default.createElement(u.Grid,{container:!0,justify:"space-between",className:"page-header"},o.default.createElement("h1",null,t("Your Site's Global Parts","elementor-pro")),o.default.createElement(u.AddNewButton,{url:"/site-editor/add-new"})),o.default.createElement("hr",{className:"eps-separator"}),o.default.createElement(i.default,null))};var o=r(n(11)),i=r(n(282)),u=n(63)}).call(this,n(65).__)},function(t,e,n){n(309),t.exports=n(2).Object.assign},function(t,e,n){var r=n(7);r(r.S+r.F,"Object",{assign:n(237)})},function(t,e,n){n(311),t.exports=n(2).Object.values},function(t,e,n){var r=n(7),o=n(256)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},function(t,e,n){"use strict";(function(t){var r=n(1);n(0)(e,"__esModule",{value:!0}),e.default=s;var o=r(n(11)),i=n(63),u=n(313),a=n(324),c=n(328);function s(t){var e=["e-site-template"],n=o.default.useRef(null);o.default.useEffect(function(){t.isSelected&&n.current.scrollIntoView({behavior:"smooth",block:"start"})},[t.isSelected]),t.extended&&e.push("".concat("e-site-template","--extended")),t.aspectRatio&&e.push("".concat("e-site-template","--").concat(t.aspectRatio));var r=t.extended?o.default.createElement(c.SiteTemplateFooter,t):"";return o.default.createElement(i.Card,{className:e.join(" "),ref:n},o.default.createElement(u.SiteTemplateHeader,t),o.default.createElement(a.SiteTemplateBody,t),r)}n(329),s.propTypes={aspectRatio:t.string,className:t.string,extended:t.bool,id:t.number.isRequired,isActive:t.bool.isRequired,status:t.string,thumbnail:t.string.isRequired,title:t.string.isRequired,isSelected:t.bool,type:t.string.isRequired},s.defaultProps={isSelected:!1}}).call(this,n(50))},function(t,e,n){"use strict";(function(t,r){var o=n(1);n(0)(e,"__esModule",{value:!0}),e.SiteTemplateHeader=void 0;var i=o(n(11)),u=n(63),a=o(n(285)),c=n(322),s=function(e){var n=e.status&&"publish"!==e.status?" (".concat(e.status,")"):"",r=e.title+n,o=function(t){return i.default.createElement(u.Text,{tag:"span",className:"e-site-template__meta-data"},i.default.createElement(u.Icon,{className:t.icon}),t.content)};return i.default.createElement(u.CardHeader,null,i.default.createElement(c.Indicator,{active:e.isActive}),i.default.createElement(u.Heading,{tag:"h1",variant:"text-sm",className:"eps-card__headline"},r),e.extended&&i.default.createElement(function(){return i.default.createElement(i.default.Fragment,null,i.default.createElement(o,{icon:"eicon-user-circle-o",content:e.author}),i.default.createElement(o,{icon:"eicon-clock-o",content:e.modifiedDate}))},null),e.extended&&i.default.createElement(function(){return i.default.createElement(i.default.Fragment,null,i.default.createElement(u.Button,{text:t("Edit","elementor-pro"),icon:"eicon-edit",className:"e-site-template__edit-btn",size:"sm",url:e.editURL}),i.default.createElement(a.default,e))},null))};e.SiteTemplateHeader=s,s.propTypes={isActive:r.bool,author:r.string,editURL:r.string,extended:r.bool,modifiedDate:r.string,status:r.string,title:r.string}}).call(this,n(65).__,n(50))},function(t,e,n){var r=n(178);t.exports=function(t){if(r(t))return t}},function(t,e,n){var r=n(316),o=n(193),i=n(91);t.exports=function(t,e){if(void 0!==i&&o(Object(t))){var n=[],u=!0,a=!1,c=void 0;try{for(var s,l=r(t);!(u=(s=l.next()).done)&&(n.push(s.value),!e||n.length!==e);u=!0);}catch(t){a=!0,c=t}finally{try{u||null==l.return||l.return()}finally{if(a)throw c}}return n}}},function(t,e,n){t.exports=n(317)},function(t,e,n){n(76),n(71),t.exports=n(318)},function(t,e,n){var r=n(12),o=n(149);t.exports=n(2).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e,n){"use strict";(function(t,r){var o=n(1);n(0)(e,"__esModule",{value:!0}),e.default=s;var i=o(n(11)),u=o(n(202)),a=n(63),c=n(169);function s(e){var n=i.default.useContext(c.Context),r=n.findTemplateItemInState,o=n.updateTemplate,s=r(e.id),l=i.default.useState(!1),f=(0,u.default)(l,2),p=f[0],d=f[1],v=function(t){e.setId(null),t&&o(e.id,{post_title:p})};return e.id?i.default.createElement(a.Dialog,{title:t("Rename Part","elementor-pro"),approveButtonText:t("Change","elementor-pro"),onSubmit:function(){return v(!0)},approveButtonOnClick:function(){return v(!0)},dismissButtonText:t("Cancel","elementor-pro"),dismissButtonOnClick:function(){return v()}},i.default.createElement("input",{type:"text",className:"eps-input eps-input-text eps-input--block",autoFocus:!0,defaultValue:s.title,onChange:function(t){return d(t.target.value)}})):""}s.propTypes={id:r.number,setId:r.func.isRequired}}).call(this,n(65).__,n(50))},function(t,e,n){"use strict";(function(t,r){var o=n(1);n(0)(e,"__esModule",{value:!0}),e.default=c;var i=o(n(11)),u=n(63),a=n(169);function c(e){var n=i.default.useContext(a.Context),r=n.deleteTemplate,o=(0,n.findTemplateItemInState)(e.id),c=function(t){e.setId(null),t&&r(e.id)};return e.id?i.default.createElement(u.Dialog,{title:t("Move Item To Trash","elementor-pro"),text:t("Are you sure you want to move this item to trash:","elementor-pro")+' "'.concat(o.title,'"'),onSubmit:function(){return c(!0)},approveButtonText:t("Move to Trash","elementor-pro"),approveButtonOnClick:function(){return c(!0)},approveButtonColor:"danger",dismissButtonText:t("Cancel","elementor-pro"),dismissButtonOnClick:function(){return c()}}):""}c.propTypes={id:r.number,setId:r.func.isRequired}}).call(this,n(65).__,n(50))},function(t,e,n){"use strict";(function(t){var r=n(1);n(0)(e,"__esModule",{value:!0}),e.Indicator=void 0;var o=r(n(11));n(323);var i=function(t){var e="eps-indicator-bullet";return t.active&&(e+=" ".concat(e,"--active")),o.default.createElement("i",{className:e})};e.Indicator=i,i.propTypes={active:t.bool}}).call(this,n(50))},function(t,e){},function(t,e,n){"use strict";(function(t){var r=n(1);n(0)(e,"__esModule",{value:!0}),e.SiteTemplateBody=void 0;var o=r(n(11)),i=n(63),u=r(n(325)),a=r(n(326)),c=function(t){return o.default.createElement(i.CardBody,null,t.extended?o.default.createElement(a.default,{src:t.previewUrl,templateType:t.type}):o.default.createElement(u.default,{id:t.id,title:t.title,type:t.type,thumbnail:t.thumbnail,placeholder:t.placeholderUrl}))};e.SiteTemplateBody=c,c.propTypes={extended:t.bool,id:t.number,title:t.string,thumbnail:t.string,placeholderUrl:t.string,type:t.string,previewUrl:t.string}}).call(this,n(50))},function(t,e,n){"use strict";(function(t,r){var o=n(1);n(0)(e,"__esModule",{value:!0}),e.default=a;var i=o(n(11)),u=n(63);function a(e){return i.default.createElement(u.CardImage,{alt:e.title,src:e.thumbnail||e.placeholder,className:e.thumbnail?"":"e-site-template__placeholder"},i.default.createElement(u.CardOverlay,{className:"e-site-template__overlay-preview"},i.default.createElement(u.Button,{className:"e-site-template__overlay-preview-button",text:t("Preview","elementor-pro"),icon:"eicon-preview-medium",url:"/site-editor/templates/".concat(e.type,"/").concat(e.id)})))}a.propTypes={id:r.number,title:r.string,type:r.string,thumbnail:r.string,placeholder:r.string}}).call(this,n(65).__,n(50))},function(t,e,n){"use strict";(function(t){var r=n(1);n(0)(e,"__esModule",{value:!0}),e.default=u;var o=r(n(11)),i=r(n(202));function u(t){var e=o.default.useRef(null),n=o.default.useState(1),r=(0,i.default)(n,2),u=r[0],a=r[1],c=o.default.useState(0),s=(0,i.default)(c,2),l=s[0],f=s[1];return o.default.useEffect(function(){var t=e.current.clientWidth/1200;a(t),f(e.current.clientHeight/t)},[]),o.default.createElement("div",{ref:e,className:"site-editor__preview-iframe site-editor__preview-iframe--".concat(t.templateType)},o.default.createElement("iframe",{src:t.src,className:"site-editor__preview-iframe__iframe",style:{transform:"scale(".concat(u,")"),height:l,width:1200}}))}n(327),u.propTypes={src:t.string.isRequired,templateType:t.string.isRequired}}).call(this,n(50))},function(t,e){},function(t,e,n){"use strict";(function(t,r){var o=n(1);n(0)(e,"__esModule",{value:!0}),e.SiteTemplateFooter=void 0;var i=o(n(11)),u=o(n(177)),a=n(63),c=function(e){var n=(0,u.default)(e.instances).join(", ");return i.default.createElement(a.CardFooter,null,i.default.createElement("div",{className:"e-site-template__instances"},i.default.createElement(a.Icon,{className:"eicon-flow"}),i.default.createElement(a.Text,{tag:"span",variant:"sm"},i.default.createElement("b",null,t("Instances","elementor-pro"),":")),i.default.createElement(a.Text,{className:"e-site-template__instances-list",tag:"span",variant:"xxs"}," ",n),i.default.createElement(a.Button,{text:t("Edit Conditions","elementor-pro"),className:"e-site-template__edit-conditions",url:"/site-editor/conditions/".concat(e.id)})))};e.SiteTemplateFooter=c,c.propTypes={id:r.number.isRequired,instances:r.any}}).call(this,n(65).__,n(50))},function(t,e){},function(t,e,n){"use strict";(function(t){var r=n(147),o=n(1);n(0)(e,"__esModule",{value:!0}),e.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=t.useContext(u.Context),r=n.updateTemplateItemState,o=n.templates,c=(0,i.default)(o).filter(function(t){return function(t){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return!1;return"publish"===t.status&&!t.thumbnail&&t.screenshot_url}(t,e)}),s=(0,a.default)(c);return t.useEffect(function(){s.posts.filter(function(t){return t.status===a.SCREENSHOT_STATUS_SUCCEED}).forEach(function(t){return r(t.id,{thumbnail:t.imageUrl})})},[s.succeed]),t.useEffect(function(){s.posts.filter(function(t){return t.status===a.SCREENSHOT_STATUS_FAILED}).forEach(function(t){return r(t.id,{screenshot_url:null})})},[s.failed]),s};var i=o(n(177)),u=n(169),a=r(n(331))}).call(this,n(11))},function(t,e,n){"use strict";(function(t){var r=n(1);n(0)(e,"__esModule",{value:!0}),e.default=function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:y).numberOfScreenshotInParallel,n=s([]),r=(0,i.default)(n,2),a=r[0],c=r[1],_=f(function(){return g(a,d)},[a]),x=f(function(){return g(a,v)},[a]),E=f(function(){return g(a,h)},[a]),S=f(function(){return g(a,m)},[a]);l(function(){var e=t.filter(function(t){return!a.find(function(e){return e.id===t.id})});e.length&&c(function(t){return[].concat((0,o.default)(t),(0,o.default)(function(t){return t.map(function(t){return{id:t.id,screenshot_url:t.screenshot_url,status:"queue",iframe:null,imageUrl:null}})}(e)))})},[t]);var C=function(t,e){return p(function(n){var r=n.data;if(r.name&&"capture-screenshot-done"===r.name){var o=t.find(function(t){return t.id===(0,u.default)(r.id)});o&&(o.iframe.remove(),e(function(t){return b(t,o.id,{status:r.success?h:m,imageUrl:r.imageUrl})}))}},[t])}(x,c);return l(function(){return window.addEventListener("message",C,!1),function(){window.removeEventListener("message",C)}},[C]),l(function(){if(!(0===_.length||x.length>=e)){var t=(0,i.default)(_,1)[0],n=function(t){var e=document.createElement("iframe");return e.src=t.screenshot_url,e.width="1200",e.style="visibility: hidden;",document.body.appendChild(e),e}(t);c(function(e){return b(e,t.id,{status:v,iframe:n})})}},[a]),{posts:a,queue:_,inProgress:x,succeed:E,failed:S}},e.SCREENSHOT_STATUS_FAILED=e.SCREENSHOT_STATUS_SUCCEED=e.SCREENSHOT_STATUS_IN_PROGRESS=e.SCREENSHOT_STATUS_QUEUE=void 0;var o=r(n(196)),i=r(n(202)),u=r(n(191));n(19),n(110);var a=r(n(150)),c=t,s=c.useState,l=c.useEffect,f=c.useMemo,p=c.useCallback,d="queue";e.SCREENSHOT_STATUS_QUEUE=d;var v="in-progress";e.SCREENSHOT_STATUS_IN_PROGRESS=v;var h="succeed";e.SCREENSHOT_STATUS_SUCCEED=h;var m="failed";e.SCREENSHOT_STATUS_FAILED=m;var y={numberOfScreenshotInParallel:1};function g(t,e){return t.filter(function(t){return e===t.status})}function b(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.map(function(t){return t.id!==e?t:(0,a.default)((0,a.default)({},t),n)})}}).call(this,n(11))},function(t,e,n){"use strict";(function(t,r){var o=n(1);n(0)(e,"__esModule",{value:!0}),e.default=s;var i=o(n(11));n(19);var u=n(268),a=n(63),c=o(n(282));function s(e){var n=i.default.useContext(u.TemplateTypesContext).templateTypes.find(function(t){return t.type===e.type});return n?i.default.createElement("section",{className:"e-site-editor__templates e-site-editor__templates--type-".concat(e.type)},i.default.createElement(a.Grid,{className:"page-header",container:!0,justify:"space-between"},i.default.createElement(a.Heading,{variant:"h1"},n.page_title),i.default.createElement(a.AddNewButton,{url:n.urls.create,text:t("Add New","elementor-pro")})),i.default.createElement("hr",{className:"eps-separator"}),i.default.createElement(c.default,{type:n.type,id:e.id})):i.default.createElement(a.NotFound,null)}n(333),s.propTypes={type:r.string,page_title:r.string,id:r.string}}).call(this,n(65).__,n(50))},function(t,e){},function(t,e,n){"use strict";(function(t,r){var o=n(1);n(0)(e,"__esModule",{value:!0}),e.default=function(){var e=i.default.useContext(s.Context).templates,n=1<=(0,u.default)(e).length,o=function(t){return i.default.createElement("a",{href:t.urls.create,className:"eps-card__image-overlay eps-add-new__overlay"},i.default.createElement(a.AddNewButton,{hideText:!0}))};return o.propTypes={urls:t.object.isRequired},i.default.createElement("section",{className:"e-site-editor__add-new"},i.default.createElement("header",{className:"e-site-editor__header"},n&&i.default.createElement(l.default,null),i.default.createElement(a.Heading,{variant:"h1"},r("Start customizing every part of your site","elementor-pro"))),i.default.createElement(c.SiteParts,{hoverElement:o}))};var i=o(n(11)),u=o(n(47)),a=n(63),c=n(268);n(335);var s=n(169),l=o(n(269))}).call(this,n(50),n(65).__)},function(t,e){},function(t,e){},function(t,e,n){"use strict";(function(t,r){var o=n(1);n(0)(e,"__esModule",{value:!0}),e.default=p;var i=o(n(11)),u=o(n(191)),a=n(63),c=o(n(287)),s=n(169),l=o(n(340));n(346);var f=o(n(269));function p(e){var n=i.default.useContext(s.Context),r=n.findTemplateItemInState,o=n.updateTemplateItemState,p=r((0,u.default)(e.id));return p?i.default.createElement("section",{className:"e-site-editor-conditions"},i.default.createElement(f.default,null),i.default.createElement("div",{className:"e-site-editor-conditions__header"},i.default.createElement("img",{className:"e-site-editor-conditions__header-image",src:"".concat(elementorAppProConfig.baseUrl,"/modules/theme-builder/assets/images/conditions-tab.svg"),alt:t("Import template","elementor-pro")}),i.default.createElement(a.Heading,{variant:"h1",tag:"h1"},t("Where Do You Want to Display Your Template?","elementor-pro")),i.default.createElement(a.Text,{variant:"p"},t("Set the conditions that determine where your template is used throughout your site.","elementor-pro"),i.default.createElement("br",null),t("For example, choose 'Entire Site' to display the template across your site.","elementor-pro"))),i.default.createElement(c.default,{currentTemplate:p,onConditionsSaved:o},i.default.createElement(l.default,null))):i.default.createElement("div",null,t("Not Found","elementor-pro"))}p.propTypes={id:r.string}}).call(this,n(65).__,n(50))},function(t,e,n){"use strict";var r=n(1);n(0)(e,"__esModule",{value:!0}),e.default=void 0,n(225),n(110);var o=r(n(182));n(271),n(272);var i=r(n(47)),u=r(n(178)),a=r(n(284)),c=r(n(3)),s=r(n(6)),l=r(n(59)),f=function(){function t(e){(0,c.default)(this,t),(0,l.default)(this,"id",elementorCommon.helpers.getUniqueId()),(0,l.default)(this,"default",""),(0,l.default)(this,"type","include"),(0,l.default)(this,"name",""),(0,l.default)(this,"sub",""),(0,l.default)(this,"subId",""),(0,l.default)(this,"options",[]),(0,l.default)(this,"subOptions",[]),(0,l.default)(this,"subIdAutocomplete",[]),(0,l.default)(this,"subIdOptions",[]),(0,l.default)(this,"conflictErrors",[]),this.set(e)}return(0,s.default)(t,[{key:"set",value:function(t){return(0,a.default)(this,t),this}},{key:"clone",value:function(){return(0,a.default)(new t,this)}},{key:"remove",value:function(t){var e=this;return(0,u.default)(t)||(t=[t]),t.forEach(function(t){delete e[t]}),this}},{key:"only",value:function(t){(0,u.default)(t)||(t=[t]);var e=(0,i.default)(this).filter(function(e){return!t.includes(e)});return this.remove(e),this}},{key:"toJson",value:function(){return(0,o.default)(this)}},{key:"toString",value:function(){return this.forDb().filter(function(t){return t}).join("/")}},{key:"forDb",value:function(){return[this.type,this.name,this.sub,this.subId]}},{key:"forContext",value:function(){return{type:this.type,name:this.name,sub:this.sub,subId:this.subId}}}]),t}();e.default=f},function(t,e,n){"use strict";(function(t){var r=n(1);n(0)(e,"__esModule",{value:!0}),e.default=e.ConditionsConfig=void 0;var o=r(n(195)),i=r(n(47)),u=r(n(150));n(110),n(225);var a=r(n(177)),c=r(n(86)),s=r(n(196)),l=r(n(3)),f=r(n(6)),p=r(n(59)),d=n(181),v=function(){function e(t){(0,l.default)(this,e),(0,p.default)(this,"config",null),this.config=t}return(0,f.default)(e,[{key:"getOptions",value:function(){return this.getSubOptions("general",!0).map(function(t){return{label:t.label,value:t.value}})}},{key:"getSubOptions",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.config[t];return r?[{label:r.all_label,value:n?t:""}].concat((0,s.default)(r.sub_conditions.map(function(t){var n=e.config[t];return{label:n.label,value:t,children:n.sub_conditions.length?e.getSubOptions(t,!0):null}}))):[]}},{key:"getSubIdAutocomplete",value:function(t){var e,n=this.config[t];if(!n||"object"!==(0,c.default)(n.controls))return{};var r=(0,a.default)(n.controls);return(null===r||void 0===r?void 0:null===(e=r[0])||void 0===e?void 0:e.autocomplete)?r[0].autocomplete:{}}},{key:"calculateInstances",value:function(e){var n=this,r=e.reduce(function(t,e){if("exclude"===e.type)return t;var r=e.sub||e.name,o=n.config[r];if(!o)return t;var i=e.subId?"".concat(o.label," #").concat(e.subId):o.all_label;return(0,u.default)((0,u.default)({},t),{},(0,p.default)({},r,i))},{});return 0===(0,i.default)(r).length&&(r=[t("No instances","elementor-pro")]),r}}],[{key:"create",value:function(){return e.instance?o.default.resolve(e.instance):$e.data.get(d.ConditionsConfig.signature).then(function(t){return e.instance=new e(t.data),e.instance})}}]),e}();e.ConditionsConfig=v,(0,p.default)(v,"instance",void 0);var h=v;e.default=h}).call(this,n(65).__)},function(t,e,n){"use strict";(function(t){var r=n(1);n(0)(e,"__esModule",{value:!0}),e.default=function(){var e=o.default.useContext(a.Context),n=e.conditions,r=e.createConditionItemInState,v=e.updateConditionItemState,h=e.removeConditionItemInState,m=e.saveConditions,y=e.action,g=e.resetActionState,b=(0,u.default)(n).map(function(e){return o.default.createElement("div",{key:e.id},o.default.createElement("div",{className:"e-site-editor-conditions__row"},o.default.createElement("div",{className:"e-site-editor-conditions__row-controls ".concat(e.conflictErrors.length&&"e-site-editor-conditions__row-controls--error")},o.default.createElement(s.default,(0,i.default)({},e,{updateConditions:v})),o.default.createElement("div",{className:"e-site-editor-conditions__row-controls-inner"},o.default.createElement(l.default,(0,i.default)({},e,{updateConditions:v})),o.default.createElement(f.default,(0,i.default)({},e,{updateConditions:v})),o.default.createElement(p.default,(0,i.default)({},e,{updateConditions:v})))),o.default.createElement(c.Button,{className:"e-site-editor-conditions__remove-condition",text:t("Delete","elementor-pro"),icon:"eicon-close",hideText:!0,onClick:function(){return h(e.id)}})),o.default.createElement(d.default,{conflicts:e.conflictErrors}))}),_=y.current===a.ConditionsProvider.actions.SAVE&&y.loading;return o.default.createElement(o.default.Fragment,null,y.error&&o.default.createElement(c.Dialog,{text:y.error,dismissButtonText:t("Go Back","elementor-pro"),dismissButtonOnClick:g,approveButtonText:t("Learn More","elementor-pro"),approveButtonColor:"link",approveButtonUrl:"https://go.elementor.com/app-theme-builder-conditions-load-issue",approveButtonTarget:"_target"}),o.default.createElement("div",{className:"e-site-editor-conditions__rows"},b,o.default.createElement("div",{className:"e-site-editor-conditions__add-button-container"},o.default.createElement(c.Button,{className:"e-site-editor-conditions__add-button",variant:"contained",size:"lg",text:t("ADD CONDITION","elementor-pro"),onClick:r,port:!0}))),o.default.createElement("div",{className:"e-site-editor-conditions__save-button-container"},o.default.createElement(c.Button,{variant:"contained",color:"primary",size:"lg",hideText:_,icon:_?"eicon-loading eicon-animation-spin":"",text:t("Save & Close","elementor-pro"),onClick:function(){return m().then(function(){return history.back()})}})))};var o=r(n(11)),i=r(n(283)),u=r(n(177)),a=n(287),c=n(63),s=r(n(341)),l=r(n(342)),f=r(n(343)),p=r(n(344)),d=r(n(345))}).call(this,n(65).__)},function(t,e,n){"use strict";(function(t,r){var o=n(1);n(0)(e,"__esModule",{value:!0}),e.default=a;var i=o(n(11)),u=n(63);function a(e){var n=i.default.createRef(),r=[{label:t("Include","elementor-pro"),value:"include"},{label:t("Exclude","elementor-pro"),value:"exclude"}];return i.default.useEffect(function(){n.current.setAttribute("data-elementor-condition-type",e.type)}),i.default.createElement("div",{className:"e-site-editor-conditions__input-wrapper e-site-editor-conditions__input-wrapper--condition-type",ref:n},i.default.createElement(u.Select,{options:r,value:e.type,onChange:function(t){e.updateConditions(e.id,{type:t.target.value})}}))}a.propTypes={updateConditions:r.func.isRequired,id:r.string.isRequired,type:r.string.isRequired},a.defaultProps={type:""}}).call(this,n(65).__,n(50))},function(t,e,n){"use strict";(function(t){var r=n(1);n(0)(e,"__esModule",{value:!0}),e.default=u;var o=r(n(11));n(110);var i=n(63);function u(t){if("general"!==t.default)return"";return o.default.createElement("div",{className:"e-site-editor-conditions__input-wrapper"},o.default.createElement(i.Select,{options:t.options,value:t.name,onChange:function(e){return t.updateConditions(t.id,{name:e.target.value,sub:"",subId:""})}}))}u.propTypes={updateConditions:t.func.isRequired,id:t.string.isRequired,name:t.string.isRequired,options:t.array.isRequired,default:t.string.isRequired},u.defaultProps={name:""}}).call(this,n(50))},function(t,e,n){"use strict";(function(t){var r=n(1);n(0)(e,"__esModule",{value:!0}),e.default=u;var o=r(n(11));n(225),n(110);var i=n(63);function u(t){if("general"===t.name||!t.subOptions.length)return"";return o.default.createElement("div",{className:"e-site-editor-conditions__input-wrapper"},o.default.createElement(i.Select,{options:t.subOptions,value:t.sub,onChange:function(e){return t.updateConditions(t.id,{sub:e.target.value,subId:""})}}))}u.propTypes={updateConditions:t.func.isRequired,id:t.string.isRequired,name:t.string.isRequired,sub:t.string.isRequired,subOptions:t.array.isRequired},u.defaultProps={sub:"",subOptions:{}}}).call(this,n(50))},function(t,e,n){"use strict";(function(t,r){var o=n(1);n(0)(e,"__esModule",{value:!0}),e.default=c;var i=o(n(11)),u=o(n(47));n(225);var a=n(63);function c(e){if(!e.sub||!(0,u.default)(e.subIdAutocomplete).length)return"";var n=i.default.useMemo(function(){return function(e){return{allowClear:!1,placeholder:t("All","elementor-pro"),dir:elementorCommon.config.isRTL?"rtl":"ltr",ajax:{transport:function(t,n,r){return elementorCommon.ajax.addRequest("pro_panel_posts_control_filter_autocomplete",{data:{q:t.data.q,autocomplete:e},success:n,error:r})},data:function(t){return{q:t.term,page:t.page}},cache:!0},escapeMarkup:function(t){return t},minimumInputLength:1}}(e.subIdAutocomplete)},[e.subIdAutocomplete]);return i.default.createElement("div",{className:"e-site-editor-conditions__input-wrapper"},i.default.createElement(a.Select2,{onChange:function(t){return e.updateConditions(e.id,{subId:t.target.value})},value:e.subId,settings:n,options:e.subIdOptions}))}c.propTypes={subIdAutocomplete:r.object,id:r.string.isRequired,sub:r.string,subId:r.string,updateConditions:r.func,subIdOptions:r.array},c.defaultProps={subId:"",subIdOptions:[]}}).call(this,n(65).__,n(50))},function(t,e,n){"use strict";(function(t,r){var o=n(1);n(0)(e,"__esModule",{value:!0}),e.default=a;var i=o(n(11)),u=n(63);function a(e){if(!e.conflicts.length)return"";var n=e.conflicts.map(function(t){return i.default.createElement(u.Button,{key:t.template_id,target:"_blank",url:t.edit_url,text:t.template_title})});return i.default.createElement(u.Text,{className:"e-site-editor-conditions__conflict",variant:"sm"},t("Elementor recognized that you have set this location for other templates: ","elementor-pro")," ",n)}a.propTypes={conflicts:r.array.isRequired}}).call(this,n(65).__,n(50))},function(t,e){},function(t,e,n){"use strict";(function(t){var r=n(1);n(0)(e,"__esModule",{value:!0}),e.default=function(){var e=o.default.useContext(c.Context),n=e.importTemplates,r=e.action,l=e.resetActionState,f=o.default.useState(null),p=(0,u.default)(f,2),d=p[0],v=p[1],h=o.default.useMemo(function(){return r.current===c.TemplatesProvider.actions.IMPORT},[r]),m=o.default.useMemo(function(){return h&&r.loading},[r]),y=o.default.useMemo(function(){return h&&r.error},[r]),g=o.default.useCallback(function(t){if(!m){var e=t[0];(function(t){return new i.default(function(e){var n=new FileReader;n.readAsDataURL(t),n.onload=function(t){e(t.target.result.replace(/^[^,]+,/,""))}})})(e).then(function(t){return n({fileName:e.name,fileData:t})}).then(function(t){v(t.data[0])})}},[]);return o.default.createElement("section",{className:"site-editor__import"},d&&o.default.createElement(a.Dialog,{title:t("Your templates was imported.","elementor-pro"),approveButtonText:t("Preview","elementor-pro"),approveButtonUrl:d.url,approveButtonTarget:"_blank",dismissButtonText:t("Edit","elementor-pro"),dismissButtonUrl:d.editURL,dismissButtonTarget:"_top",onClose:function(){return v(null)}}),y&&o.default.createElement(a.Dialog,{title:r.error,approveButtonText:t("Learn More","elementor-pro"),approveButtonUrl:"https://go.elementor.com/app-theme-builder-import-issue",approveButtonTarget:"_blank",approveButtonColor:"link",dismissButtonText:t("Go Back","elementor-pro"),dismissButtonOnClick:l,onClose:l}),o.default.createElement(s.default,null),o.default.createElement(a.DropZone,{heading:t("Import Template To Your Library","elementor-pro"),text:t("Drag & Drop your .JSON or .zip template file","elementor-pro"),secondaryText:t("or","elementor-pro"),onFileSelect:g,isLoading:m}))};var o=r(n(11));n(101);var i=r(n(195));n(110);var u=r(n(202)),a=n(63),c=n(169),s=r(n(269))}).call(this,n(65).__)},function(t,e){t.exports=elementorAppPackages.router},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"Link",function(){return X}),n.d(e,"Location",function(){return B}),n.d(e,"LocationProvider",function(){return L}),n.d(e,"Match",function(){return ot}),n.d(e,"Redirect",function(){return rt}),n.d(e,"Router",function(){return H}),n.d(e,"ServerLocation",function(){return q}),n.d(e,"createHistory",function(){return O}),n.d(e,"createMemorySource",function(){return P}),n.d(e,"isRedirect",function(){return tt}),n.d(e,"navigate",function(){return k}),n.d(e,"redirectTo",function(){return et}),n.d(e,"globalHistory",function(){return j}),n.d(e,"matchPath",function(){return v}),n.d(e,"useLocation",function(){return it}),n.d(e,"useNavigate",function(){return ut}),n.d(e,"useParams",function(){return at}),n.d(e,"useMatch",function(){return ct});var r=n(11),o=n.n(r),i=(n(50),n(201)),u=n.n(i),a=n(298),c=n.n(a);function s(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==t&&void 0!==t&&this.setState(t)}function l(t){this.setState(function(e){var n=this.constructor.getDerivedStateFromProps(t,e);return null!==n&&void 0!==n?n:null}.bind(this))}function f(t,e){try{var n=this.props,r=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}s.__suppressDeprecationWarning=!0,l.__suppressDeprecationWarning=!0,f.__suppressDeprecationWarning=!0;var p=function(t,e){return t.substr(0,e.length)===e},d=function(t,e){for(var n=void 0,r=void 0,o=e.split("?")[0],i=E(o),a=""===i[0],c=x(t),s=0,l=c.length;s<l;s++){var f=!1,p=c[s].route;if(p.default)r={route:p,params:{},uri:e};else{for(var d=E(p.path),v={},h=Math.max(i.length,d.length),m=0;m<h;m++){var g=d[m],_=i[m];if(b(g)){v[g.slice(1)||"*"]=i.slice(m).map(decodeURIComponent).join("/");break}if(void 0===_){f=!0;break}var S=y.exec(g);if(S&&!a){-1===C.indexOf(S[1])||u()(!1);var w=decodeURIComponent(_);v[S[1]]=w}else if(g!==_){f=!0;break}}if(!f){n={route:p,params:v,uri:"/"+i.slice(0,m).join("/")};break}}}return n||r||null},v=function(t,e){return d([{path:t}],e)},h=function(t,e){if(p(t,"/"))return t;var n=t.split("?"),r=n[0],o=n[1],i=e.split("?")[0],u=E(r),a=E(i);if(""===u[0])return S(i,o);if(!p(u[0],".")){var c=a.concat(u).join("/");return S(("/"===i?"":"/")+c,o)}for(var s=a.concat(u),l=[],f=0,d=s.length;f<d;f++){var v=s[f];".."===v?l.pop():"."!==v&&l.push(v)}return S("/"+l.join("/"),o)},m=function(t,e){return"/"+E(t).map(function(t){var n=y.exec(t);return n?e[n[1]]:t}).join("/")},y=/^:(.+)/,g=function(t){return y.test(t)},b=function(t){return t&&"*"===t[0]},_=function(t,e){return{route:t,score:t.default?0:E(t.path).reduce(function(t,e){return t+=4,!function(t){return""===t}(e)?g(e)?t+=2:b(e)?t-=5:t+=3:t+=1,t},0),index:e}},x=function(t){return t.map(_).sort(function(t,e){return t.score<e.score?1:t.score>e.score?-1:t.index-e.index})},E=function(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")},S=function(t,e){return t+(e?"?"+e:"")},C=["uri","path"],w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},T=function(t){var e=t.location,n=e.search,r=e.hash,o=e.href,i=e.origin,u=e.protocol,a=e.host,c=e.hostname,s=e.port,l=t.location.pathname;!l&&o&&I&&(l=new URL(o).pathname);return{pathname:encodeURI(decodeURI(l)),search:n,hash:r,href:o,origin:i,protocol:u,host:a,hostname:c,port:s,state:t.history.state,key:t.history.state&&t.history.state.key||"initial"}},O=function(t,e){var n=[],r=T(t),o=!1,i=function(){};return{get location(){return r},get transitioning(){return o},_onTransitionComplete:function(){o=!1,i()},listen:function(e){n.push(e);var o=function(){r=T(t),e({location:r,action:"POP"})};return t.addEventListener("popstate",o),function(){t.removeEventListener("popstate",o),n=n.filter(function(t){return t!==e})}},navigate:function(e){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=u.state,c=u.replace,s=void 0!==c&&c;if("number"==typeof e)t.history.go(e);else{a=w({},a,{key:Date.now()+""});try{o||s?t.history.replaceState(a,null,e):t.history.pushState(a,null,e)}catch(n){t.location[s?"replace":"assign"](e)}}r=T(t),o=!0;var l=new Promise(function(t){return i=t});return n.forEach(function(t){return t({location:r,action:"PUSH"})}),l}}},P=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=t.indexOf("?"),n=0,r=[{pathname:e>-1?t.substr(0,e):t,search:e>-1?t.substr(e):""}],o=[null];return{get location(){return r[n]},addEventListener:function(t,e){},removeEventListener:function(t,e){},history:{get entries(){return r},get index(){return n},get state(){return o[n]},pushState:function(t,e,i){var u=i.split("?"),a=u[0],c=u[1],s=void 0===c?"":c;n++,r.push({pathname:a,search:s.length?"?"+s:s}),o.push(t)},replaceState:function(t,e,i){var u=i.split("?"),a=u[0],c=u[1],s=void 0===c?"":c;r[n]={pathname:a,search:s},o[n]=t},go:function(t){var e=n+t;e<0||e>o.length-1||(n=e)}}}},I=!("undefined"==typeof window||!window.document||!window.document.createElement),j=O(I?window:P()),k=j.navigate,A=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function M(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function R(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function F(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var D=function(t,e){var n=c()(e);return n.displayName=t,n},U=D("Location"),B=function(t){var e=t.children;return o.a.createElement(U.Consumer,null,function(t){return t?e(t):o.a.createElement(L,null,e)})},L=function(t){function e(){var n,r;R(this,e);for(var o=arguments.length,i=Array(o),u=0;u<o;u++)i[u]=arguments[u];return n=r=N(this,t.call.apply(t,[this].concat(i))),r.state={context:r.getContext(),refs:{unlisten:null}},N(r,n)}return F(e,t),e.prototype.getContext=function(){var t=this.props.history;return{navigate:t.navigate,location:t.location}},e.prototype.componentDidCatch=function(t,e){if(!tt(t))throw t;(0,this.props.history.navigate)(t.uri,{replace:!0})},e.prototype.componentDidUpdate=function(t,e){e.context.location!==this.state.context.location&&this.props.history._onTransitionComplete()},e.prototype.componentDidMount=function(){var t=this,e=this.state.refs,n=this.props.history;n._onTransitionComplete(),e.unlisten=n.listen(function(){Promise.resolve().then(function(){requestAnimationFrame(function(){t.unmounted||t.setState(function(){return{context:t.getContext()}})})})})},e.prototype.componentWillUnmount=function(){var t=this.state.refs;this.unmounted=!0,t.unlisten()},e.prototype.render=function(){var t=this.state.context,e=this.props.children;return o.a.createElement(U.Provider,{value:t},"function"==typeof e?e(t):e||null)},e}(o.a.Component);L.defaultProps={history:j};var q=function(t){var e=t.url,n=t.children,r=e.indexOf("?"),i=void 0,u="";return r>-1?(i=e.substring(0,r),u=e.substring(r)):i=e,o.a.createElement(U.Provider,{value:{location:{pathname:i,search:u,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},n)},W=D("Base",{baseuri:"/",basepath:"/"}),H=function(t){return o.a.createElement(W.Consumer,null,function(e){return o.a.createElement(B,null,function(n){return o.a.createElement($,A({},e,n,t))})})},$=function(t){function e(){return R(this,e),N(this,t.apply(this,arguments))}return F(e,t),e.prototype.render=function(){var t=this.props,e=t.location,n=t.navigate,r=t.basepath,i=t.primary,u=t.children,a=(t.baseuri,t.component),c=void 0===a?"div":a,s=M(t,["location","navigate","basepath","primary","children","baseuri","component"]),l=o.a.Children.toArray(u).reduce(function(t,e){var n=lt(r)(e);return t.concat(n)},[]),f=e.pathname,p=d(l,f);if(p){var v=p.params,m=p.uri,y=p.route,g=p.route.value;r=y.default?r:y.path.replace(/\*$/,"");var b=A({},v,{uri:m,location:e,navigate:function(t,e){return n(h(t,m),e)}}),_=o.a.cloneElement(g,b,g.props.children?o.a.createElement(H,{location:e,primary:i},g.props.children):void 0),x=i?z:c,E=i?A({uri:m,location:e,component:c},s):s;return o.a.createElement(W.Provider,{value:{baseuri:m,basepath:r}},o.a.createElement(x,E,_))}return null},e}(o.a.PureComponent);$.defaultProps={primary:!0};var G=D("Focus"),z=function(t){var e=t.uri,n=t.location,r=t.component,i=M(t,["uri","location","component"]);return o.a.createElement(G.Consumer,null,function(t){return o.a.createElement(J,A({},i,{component:r,requestFocus:t,uri:e,location:n}))})},V=!0,K=0,J=function(t){function e(){var n,r;R(this,e);for(var o=arguments.length,i=Array(o),u=0;u<o;u++)i[u]=arguments[u];return n=r=N(this,t.call.apply(t,[this].concat(i))),r.state={},r.requestFocus=function(t){!r.state.shouldFocus&&t&&t.focus()},N(r,n)}return F(e,t),e.getDerivedStateFromProps=function(t,e){if(null==e.uri)return A({shouldFocus:!0},t);var n=t.uri!==e.uri,r=e.location.pathname!==t.location.pathname&&t.location.pathname===t.uri;return A({shouldFocus:n||r},t)},e.prototype.componentDidMount=function(){K++,this.focus()},e.prototype.componentWillUnmount=function(){0===--K&&(V=!0)},e.prototype.componentDidUpdate=function(t,e){t.location!==this.props.location&&this.state.shouldFocus&&this.focus()},e.prototype.focus=function(){var t=this.props.requestFocus;t?t(this.node):V?V=!1:this.node&&(this.node.contains(document.activeElement)||this.node.focus())},e.prototype.render=function(){var t=this,e=this.props,n=(e.children,e.style),r=(e.requestFocus,e.component),i=void 0===r?"div":r,u=(e.uri,e.location,M(e,["children","style","requestFocus","component","uri","location"]));return o.a.createElement(i,A({style:A({outline:"none"},n),tabIndex:"-1",ref:function(e){return t.node=e}},u),o.a.createElement(G.Provider,{value:this.requestFocus},this.props.children))},e}(o.a.Component);!function(t){var e=t.prototype;if(!e||!e.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate)return t;var n=null,r=null,o=null;if("function"==typeof e.componentWillMount?n="componentWillMount":"function"==typeof e.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof e.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof e.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof e.componentWillUpdate?o="componentWillUpdate":"function"==typeof e.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==o){var i=t.displayName||t.name,u="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==r?"\n  "+r:"")+(null!==o?"\n  "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof t.getDerivedStateFromProps&&(e.componentWillMount=s,e.componentWillReceiveProps=l),"function"==typeof e.getSnapshotBeforeUpdate){if("function"!=typeof e.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");e.componentWillUpdate=f;var a=e.componentDidUpdate;e.componentDidUpdate=function(t,e,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;a.call(this,t,e,r)}}}(J);var Y=function(){},Q=o.a.forwardRef;void 0===Q&&(Q=function(t){return t});var X=Q(function(t,e){var n=t.innerRef,r=M(t,["innerRef"]);return o.a.createElement(W.Consumer,null,function(t){t.basepath;var i=t.baseuri;return o.a.createElement(B,null,function(t){var u=t.location,a=t.navigate,c=r.to,s=r.state,l=r.replace,f=r.getProps,d=void 0===f?Y:f,v=M(r,["to","state","replace","getProps"]),m=h(c,i),y=encodeURI(m),g=u.pathname===y,b=p(u.pathname,y);return o.a.createElement("a",A({ref:e||n,"aria-current":g?"page":void 0},v,d({isCurrent:g,isPartiallyCurrent:b,href:m,location:u}),{href:m,onClick:function(t){if(v.onClick&&v.onClick(t),ft(t)){t.preventDefault();var e=l;if("boolean"!=typeof l&&g){var n=A({},u.state),r=(n.key,M(n,["key"]));e=function(t,e){var n=Object.keys(t);return n.length===Object.keys(e).length&&n.every(function(n){return e.hasOwnProperty(n)&&t[n]===e[n]})}(A({},s),r)}a(m,{state:s,replace:e})}}}))})})});function Z(t){this.uri=t}X.displayName="Link";var tt=function(t){return t instanceof Z},et=function(t){throw new Z(t)},nt=function(t){function e(){return R(this,e),N(this,t.apply(this,arguments))}return F(e,t),e.prototype.componentDidMount=function(){var t=this.props,e=t.navigate,n=t.to,r=(t.from,t.replace),o=void 0===r||r,i=t.state,u=(t.noThrow,t.baseuri),a=M(t,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then(function(){var t=h(n,u);e(m(t,a),{replace:o,state:i})})},e.prototype.render=function(){var t=this.props,e=(t.navigate,t.to),n=(t.from,t.replace,t.state,t.noThrow),r=t.baseuri,o=M(t,["navigate","to","from","replace","state","noThrow","baseuri"]),i=h(e,r);return n||et(m(i,o)),null},e}(o.a.Component),rt=function(t){return o.a.createElement(W.Consumer,null,function(e){var n=e.baseuri;return o.a.createElement(B,null,function(e){return o.a.createElement(nt,A({},e,{baseuri:n},t))})})},ot=function(t){var e=t.path,n=t.children;return o.a.createElement(W.Consumer,null,function(t){var r=t.baseuri;return o.a.createElement(B,null,function(t){var o=t.navigate,i=t.location,u=h(e,r),a=v(u,i.pathname);return n({navigate:o,location:i,match:a?A({},a.params,{uri:a.uri,path:e}):null})})})},it=function(){var t=Object(r.useContext)(U);if(!t)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return t.location},ut=function(){var t=Object(r.useContext)(U);if(!t)throw new Error("useNavigate hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return t.navigate},at=function(){var t=Object(r.useContext)(W);if(!t)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var e=it(),n=v(t.basepath,e.pathname);return n?n.params:null},ct=function(t){if(!t)throw new Error("useMatch(path: string) requires an argument of a string to match against");var e=Object(r.useContext)(W);if(!e)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var n=it(),o=h(t,e.baseuri),i=v(o,n.pathname);return i?A({},i.params,{uri:i.uri,path:t}):null},st=function(t){return t.replace(/(^\/+|\/+$)/g,"")},lt=function t(e){return function(n){if(!n)return null;if(n.type===o.a.Fragment&&n.props.children)return o.a.Children.map(n.props.children,t(e));if(n.props.path||n.props.default||n.type===rt||u()(!1),n.type!==rt||n.props.from&&n.props.to||u()(!1),n.type!==rt||function(t,e){var n=function(t){return g(t)};return E(t).filter(n).sort().join("/")===E(e).filter(n).sort().join("/")}(n.props.from,n.props.to)||u()(!1),n.props.default)return{value:n,default:!0};var r=n.type===rt?n.props.from:n.props.path,i="/"===r?e:st(e)+"/"+st(r);return{value:n,default:n.props.default,path:n.props.children?st(i)+"/*":i}}},ft=function(t){return!t.defaultPrevented&&0===t.button&&!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}}]);