1?q-1:0),U=1;U=0;B--){var q=T[B];if(0===q.path.length&&"replace"===q.op){C=q.value;break}}B>-1&&(T=T.slice(B+1));var W=b("Patches").$;return r(C)?W(C,T):this.produce(C,(function(C){return W(C,T)}))},e}(),re=new te,ne=re.produce;re.produceWithPatches.bind(re),re.setAutoFreeze.bind(re),re.setUseProxies.bind(re),re.applyPatches.bind(re),re.createDraft.bind(re),re.finishDraft.bind(re);const oe=ne;function _typeof(C){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(C){return typeof C}:function(C){return C&&"function"==typeof Symbol&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},_typeof(C)}function toPropertyKey(C){var T=function toPrimitive(C,T){if("object"!=_typeof(C)||!C)return C;var B=C[Symbol.toPrimitive];if(void 0!==B){var q=B.call(C,T||"default");if("object"!=_typeof(q))return q;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===T?String:Number)(C)}(C,"string");return"symbol"==_typeof(T)?T:String(T)}function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(C);T&&(q=q.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,q)}return B}function _objectSpread2(C){for(var T=1;T-1){var W=B[q];return q>0&&(B.splice(q,1),B.unshift(W)),W.value}return le}return{get,put:function put(T,q){get(T)===le&&(B.unshift({key:T,value:q}),B.length>C&&B.pop())},getEntries:function getEntries(){return B},clear:function clear(){B=[]}}}(L,V);function memoized(){var T=H.get(arguments);if(T===le){if(T=C.apply(null,arguments),$){var B=H.getEntries().find((function(C){return $(C.value,T)}));B&&(T=B.value)}H.put(arguments,T)}return T}return memoized.clearCache=function(){return H.clear()},memoized}function createSelectorCreator(C){for(var T=arguments.length,B=new Array(T>1?T-1:0),q=1;q0&&W[W.length-1])||6!==U[0]&&2!==U[0])){L=0;continue}if(3===U[0]&&(!W||U[1]>W[0]&&U[1]-1}function getType(C){return""+C}function createActionCreatorInvariantMiddleware(C){return void 0===C&&(C={}),function(){return function(C){return function(T){return C(T)}}}}var ke=function(C){function MiddlewareArray(){for(var T=[],B=0;B",value:C};if("object"!=typeof C||null===C)return!1;if(null==U?void 0:U.has(C))return!1;for(var $=null!=q?q(C):Object.entries(C),V=W.length>0,_loop_2=function(C,$){var H=T?T+"."+C:C;if(V&&W.some((function(C){return C instanceof RegExp?C.test(H):H===C})))return"continue";return B($)?"object"==typeof $&&(L=findNonSerializableValue($,H,B,q,W,U))?{value:L}:void 0:{value:{keyPath:H,value:$}}},H=0,G=$;H0){var U=T.filter((function(T){return function takeNewKey(T,B,q){var W=q.entities[B.id],U=Object.assign({},W,B.changes),L=selectIdValue(U,C),$=L!==B.id;return $&&(T[B.id]=L,delete q.entities[B.id]),q.entities[L]=U,$}(q,T,B)})).length>0;U&&(B.ids=Object.keys(B.entities))}}function upsertManyMutably(T,B){var q=splitAddedUpdatedEntities(T,C,B),W=q[0];updateManyMutably(q[1],B),addManyMutably(W,B)}return{removeAll:(T=function removeAllMutably(C){Object.assign(C,{ids:[],entities:{}})},B=createStateOperator((function(C,B){return T(B)})),function operation(C){return B(C,void 0)}),addOne:createStateOperator(addOneMutably),addMany:createStateOperator(addManyMutably),setOne:createStateOperator(setOneMutably),setMany:createStateOperator((function setManyMutably(C,T){for(var B=0,q=C=ensureEntitiesArray(C);B-1;return B&&q}function isAsyncThunkArray(C){return"function"==typeof C[0]&&"pending"in C[0]&&"fulfilled"in C[0]&&"rejected"in C[0]}function isPending(){for(var C=[],T=0;T0)for(var V=C.getState(),H=Array.from(B.values()),G=0,K=H;G{"use strict";var q=B(38003).__,W=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=W(B(78983)),L=W(B(42081)),$=function(){function FilesUploadHandler(){(0,U.default)(this,FilesUploadHandler)}return(0,L.default)(FilesUploadHandler,null,[{key:"isUploadEnabled",value:function isUploadEnabled(C){return!["svg","application/json"].includes(C)||elementorCommon.config.filesUpload.unfilteredFiles}},{key:"setUploadTypeCaller",value:function setUploadTypeCaller(C){C.uploader.uploader.param("uploadTypeCaller","elementor-wp-media-upload")}},{key:"getUnfilteredFilesNonAdminDialog",value:function getUnfilteredFilesNonAdminDialog(){return elementorCommon.dialogsManager.createWidget("alert",{id:"e-unfiltered-files-disabled-dialog",headerMessage:q("Sorry, you can't upload that file yet","elementor"),message:q("This is because JSON files may pose a security risk.","elementor")+""+q("To upload them anyway, ask the site administrator to enable unfiltered file uploads.","elementor"),strings:{confirm:q("Got it","elementor")}})}},{key:"getUnfilteredFilesNotEnabledDialog",value:function getUnfilteredFilesNotEnabledDialog(C){var T=window.elementorAdmin||window.elementor;if(!T.config.user.is_administrator)return this.getUnfilteredFilesNonAdminDialog();return T.helpers.getSimpleDialog("e-enable-unfiltered-files-dialog",q("Enable Unfiltered File Uploads","elementor"),q("Before you enable unfiltered files upload, note that such files include a security risk. Elementor does run a process to remove possible malicious code, but there is still risk involved when using such files.","elementor"),q("Enable","elementor"),(function onConfirm(){elementorCommon.ajax.addRequest("enable_unfiltered_files_upload",{},!0),elementorCommon.config.filesUpload.unfilteredFiles=!0,C()}))}},{key:"getUnfilteredFilesNotEnabledImportTemplateDialog",value:function getUnfilteredFilesNotEnabledImportTemplateDialog(C){return(window.elementorAdmin||window.elementor).config.user.is_administrator?elementorCommon.dialogsManager.createWidget("confirm",{id:"e-enable-unfiltered-files-dialog-import-template",headerMessage:q("Enable Unfiltered File Uploads","elementor"),message:q("Before you enable unfiltered files upload, note that such files include a security risk. Elementor does run a process to remove possible malicious code, but there is still risk involved when using such files.","elementor")+""+q("If you do not enable uploading unfiltered files, any SVG or JSON (including lottie) files used in the uploaded template will not be imported.","elementor"),position:{my:"center center",at:"center center"},strings:{confirm:q("Enable and Import","elementor"),cancel:q("Import Without Enabling","elementor")},onConfirm:function onConfirm(){elementorCommon.ajax.addRequest("enable_unfiltered_files_upload",{success:function success(){elementorCommon.config.filesUpload.unfilteredFiles=!0,C()}},!0)},onCancel:function onCancel(){return C()}}):this.getUnfilteredFilesNonAdminDialog()}}]),FilesUploadHandler}();T.default=$},90381:(C,T)=>{"use strict";function _createForOfIteratorHelper(C,T){var B="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!B){if(Array.isArray(C)||(B=function _unsupportedIterableToArray(C,T){if(!C)return;if("string"==typeof C)return _arrayLikeToArray(C,T);var B=Object.prototype.toString.call(C).slice(8,-1);"Object"===B&&C.constructor&&(B=C.constructor.name);if("Map"===B||"Set"===B)return Array.from(C);if("Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return _arrayLikeToArray(C,T)}(C))||T&&C&&"number"==typeof C.length){B&&(C=B);var q=0,W=function F(){};return{s:W,n:function n(){return q>=C.length?{done:!0}:{done:!1,value:C[q++]}},e:function e(C){throw C},f:W}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var U,L=!0,$=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return L=C.done,C},e:function e(C){$=!0,U=C},f:function f(){try{L||null==B.return||B.return()}finally{if($)throw U}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,q=new Array(T);B{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(7501)),U=q(B(78983)),L=q(B(42081)),$=q(B(58724)),V=q(B(71173)),H=q(B(74910)),G=q(B(27597)),K=q(B(90381));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,H.default)(C);if(T){var W=(0,H.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,V.default)(this,B)}}var Q=function(C){(0,$.default)(ArgsObject,C);var T=_createSuper(ArgsObject);function ArgsObject(C){var B;return(0,U.default)(this,ArgsObject),(B=T.call(this)).args=C,B}return(0,L.default)(ArgsObject,[{key:"requireArgument",value:function requireArgument(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.args;if(!Object.prototype.hasOwnProperty.call(T,C))throw Error("".concat(C," is required."))}},{key:"requireArgumentType",value:function requireArgumentType(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,B),(0,W.default)(B[C])!==T)throw Error("".concat(C," invalid type: ").concat(T,"."))}},{key:"requireArgumentInstance",value:function requireArgumentInstance(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,B),!(B[C]instanceof T||(0,K.default)(B[C],T)))throw Error("".concat(C," invalid instance."))}},{key:"requireArgumentConstructor",value:function requireArgumentConstructor(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,B),B[C].constructor.toString()!==T.prototype.constructor.toString())throw Error("".concat(C," invalid constructor type."))}}],[{key:"getInstanceType",value:function getInstanceType(){return"ArgsObject"}}]),ArgsObject}(G.default);T.default=Q},27597:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(51121)),$=q(B(74910)),V=function(C){function InstanceType(){var C=this;(0,W.default)(this,InstanceType);for(var T=this instanceof InstanceType?this.constructor:void 0,B=[];T.__proto__&&T.__proto__.name;)B.push(T.__proto__),T=T.__proto__;B.reverse().forEach((function(T){return C instanceof T}))}return(0,U.default)(InstanceType,null,[{key:C,value:function value(C){var T=(0,L.default)((0,$.default)(InstanceType),Symbol.hasInstance,this).call(this,C);if(C&&!C.constructor.getInstanceType)return T;if(C&&(C.instanceTypes||(C.instanceTypes=[]),T||this.getInstanceType()===C.constructor.getInstanceType()&&(T=!0),T)){var B=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===C.instanceTypes.indexOf(B)&&C.instanceTypes.push(B)}return!T&&C&&(T=C.instanceTypes&&Array.isArray(C.instanceTypes)&&-1!==C.instanceTypes.indexOf(this.getInstanceType())),T}},{key:"getInstanceType",value:function getInstanceType(){elementorModules.ForceMethodImplementation()}}]),InstanceType}(Symbol.hasInstance);T.default=V},1192:(C,T,B)=>{"use strict";var q=B(73203)(B(7501)),W=function Module(){var C,T=jQuery,B=arguments,W=this,U={};this.getItems=function(C,T){if(T){var B=T.split("."),q=B.splice(0,1);if(!B.length)return C[q];if(!C[q])return;return this.getItems(C[q],B.join("."))}return C},this.getSettings=function(T){return this.getItems(C,T)},this.setSettings=function(B,U,L){if(L||(L=C),"object"===(0,q.default)(B))return T.extend(L,B),W;var $=B.split("."),V=$.splice(0,1);return $.length?(L[V]||(L[V]={}),W.setSettings($.join("."),U,L[V])):(L[V]=U,W)},this.getErrorMessage=function(C,T){var B;if("forceMethodImplementation"===C)B="The method '".concat(T,"' must to be implemented in the inheritor child.");else B="An error occurs";return B},this.forceMethodImplementation=function(C){throw new Error(this.getErrorMessage("forceMethodImplementation",C))},this.on=function(C,B){return"object"===(0,q.default)(C)?(T.each(C,(function(C){W.on(C,this)})),W):(C.split(" ").forEach((function(C){U[C]||(U[C]=[]),U[C].push(B)})),W)},this.off=function(C,T){if(!U[C])return W;if(!T)return delete U[C],W;var B=U[C].indexOf(T);return-1!==B&&(delete U[C][B],U[C]=U[C].filter((function(C){return C}))),W},this.trigger=function(C){var B="on"+C[0].toUpperCase()+C.slice(1),q=Array.prototype.slice.call(arguments,1);W[B]&&W[B].apply(W,q);var L=U[C];return L?(T.each(L,(function(C,T){T.apply(W,q)})),W):W},function init(){W.__construct.apply(W,B),function ensureClosureMethods(){T.each(W,(function(C){var T=W[C];"function"==typeof T&&(W[C]=function(){return T.apply(W,arguments)})}))}(),function initSettings(){C=W.getDefaultSettings();var q=B[0];q&&T.extend(!0,C,q)}(),W.trigger("init")}()};W.prototype.__construct=function(){},W.prototype.getDefaultSettings=function(){return{}},W.prototype.getConstructorID=function(){return this.constructor.name},W.extend=function(C){var T=jQuery,B=this,q=function child(){return B.apply(this,arguments)};return T.extend(q,B),(q.prototype=Object.create(T.extend({},B.prototype,C))).constructor=q,q.__super__=B.prototype,q},C.exports=W},99956:(C,T,B)=>{"use strict";var q=B(73203)(B(93231));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(C);T&&(q=q.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,q)}return B}function _objectSpread(C){for(var T=1;T{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.default=function getUserTimestamp(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,T=C.getTimezoneOffset(),B=new Date(C.getTime()-6e4*T).toISOString();B=B.slice(0,-1);var q=T/60,W=0<=q?"+":"-",U=Math.abs(Math.floor(q)),L=60*Math.abs(q%1);return B+(W+(10>U?"0":""))+U+":"+(10>L?"0":"")+L}},70687:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Media",{enumerable:!0,get:function get(){return q.Media}});var q=B(41403)},41403:(C,T,B)=>{"use strict";var q=B(38003).__,W=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Media=void 0;var U=W(B(50824)),L=W(B(10029)),$=W(B(78983)),V=W(B(42081)),H=W(B(51121)),G=W(B(58724)),K=W(B(71173)),Q=W(B(74910)),J=W(B(76072)),X=W(B(40548));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,Q.default)(C);if(T){var W=(0,Q.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,K.default)(this,B)}}var Y=function(C){(0,G.default)(Media,C);var T,B=_createSuper(Media);function Media(){return(0,$.default)(this,Media),B.apply(this,arguments)}return(0,V.default)(Media,[{key:"validateArgs",value:function validateArgs(){this.requireArgumentInstance("file",File)}},{key:"getRequestData",value:function getRequestData(){var C=(0,H.default)((0,Q.default)(Media.prototype),"getRequestData",this).call(this);return C.namespace="wp",C.version="2",C}},{key:"applyBeforeCreate",value:function applyBeforeCreate(C){var T;return C.headers={"Content-Disposition":"attachment; filename=".concat(this.file.name),"Content-Type":this.file.type},C.query={uploadTypeCaller:"elementor-wp-media-upload"},C.data=this.file,null!==(T=C.options)&&void 0!==T&&T.progress&&(this.toast=elementor.notifications.showToast({message:q("Uploading..."),sticky:!0})),C}},{key:"applyAfterCreate",value:function applyAfterCreate(C,T){var B;return null!==(B=T.options)&&void 0!==B&&B.progress&&this.toast.hide(),C}},{key:"run",value:(T=(0,L.default)(U.default.mark((function _callee(){return U.default.wrap((function _callee$(C){for(;;)switch(C.prev=C.next){case 0:if(this.file=this.args.file,!(this.file.size>parseInt(window._wpPluploadSettings.defaults.filters.max_file_size,10))){C.next=3;break}throw new Error(q("The file exceeds the maximum upload size for this site.","elementor"));case 3:if(window._wpPluploadSettings.defaults.filters.mime_types[0].extensions.split(",").includes(this.file.name.split(".").pop())||elementor.config.filesUpload.unfilteredFiles){C.next=6;break}return X.default.getUnfilteredFilesNotEnabledDialog((function(){})).show(),C.abrupt("return");case 6:return C.next=8,(0,H.default)((0,Q.default)(Media.prototype),"run",this).call(this);case 8:return C.abrupt("return",C.sent);case 9:case"end":return C.stop()}}),_callee,this)}))),function run(){return T.apply(this,arguments)})}],[{key:"getEndpointFormat",value:function getEndpointFormat(){return"media"}}]),Media}(J.default);T.Media=Y},13450:(C,T,B)=>{"use strict";var q=B(73203),W=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=q(B(78983)),L=q(B(42081)),$=q(B(58724)),V=q(B(71173)),H=q(B(74910)),G=q(B(19263)),K=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==W(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var q={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in C)if("default"!==L&&Object.prototype.hasOwnProperty.call(C,L)){var $=U?Object.getOwnPropertyDescriptor(C,L):null;$&&($.get||$.set)?Object.defineProperty(q,L,$):q[L]=C[L]}q.default=C,B&&B.set(C,q);return q}(B(70687));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,H.default)(C);if(T){var W=(0,H.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,V.default)(this,B)}}var Q=function(C){(0,$.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,U.default)(this,Component),T.apply(this,arguments)}return(0,L.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"wp"}},{key:"defaultData",value:function defaultData(){return this.importCommands(K)}}]),Component}(G.default);T.default=Q},52253:C=>{"use strict";C.exports=function Debug(){var C=this,T=[],B={},q={},W=function onError(T){var q,W=null===(q=T.originalEvent)||void 0===q?void 0:q.error;if(W){var U=!1,L=B.urlsToWatch;jQuery.each(L,(function(){if(-1!==W.stack.indexOf(this))return U=!0,!1})),U&&C.addError({type:W.name,message:W.message,url:T.originalEvent.filename,line:T.originalEvent.lineno,column:T.originalEvent.colno})}};this.addURLToWatch=function(C){B.urlsToWatch.push(C)},this.addCustomError=function(C,T,B){var q={type:C.name,message:C.message,url:C.fileName||C.sourceURL,line:C.lineNumber||C.line,column:C.columnNumber||C.column,customFields:{category:T||"general",tag:B}};if(!q.url){var W=C.stack.match(/\n {4}at (.*?(?=:(\d+):(\d+)))/);W&&(q.url=W[1],q.line=W[2],q.column=W[3])}this.addError(q)},this.addError=function(B){var q={type:"Error",timestamp:Math.floor((new Date).getTime()/1e3),message:null,url:null,line:null,column:null,customFields:{}};T.push(jQuery.extend(!0,q,B)),C.sendErrors()},this.sendErrors=function(){q.$window.off("error",W),jQuery.ajax({url:elementorCommon.config.ajax.url,method:"POST",data:{action:"elementor_js_log",_nonce:elementorCommon.ajax.getSettings("nonce"),data:T},success:function success(){T=[],q.$window.on("error",W)}})},function init(){!function initSettings(){B={debounceDelay:500,urlsToWatch:["elementor/assets"]}}(),function initElements(){q.$window=jQuery(window)}(),function bindEvents(){q.$window.on("error",W)}(),C.sendErrors=_.debounce(C.sendErrors,B.debounceDelay)}()}},90287:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=function(){function Helpers(){(0,W.default)(this,Helpers)}return(0,U.default)(Helpers,[{key:"softDeprecated",value:function softDeprecated(C,T,B){elementorDevTools.deprecation.deprecated(C,T,B),elementorDevTools.deprecation.deprecated("elementorCommon.helpers.softDeprecated()","3.7.0","elementorDevTools.deprecation.deprecated()")}},{key:"hardDeprecated",value:function hardDeprecated(C,T,B){elementorDevTools.deprecation.deprecated(C,T,B),elementorDevTools.deprecation.deprecated("elementorCommon.helpers.hardDeprecated()","3.7.0","elementorDevTools.deprecation.deprecated()")}},{key:"deprecatedMessage",value:function deprecatedMessage(C,T,B,q){elementorDevTools.deprecation.deprecated(T,B,q),elementorDevTools.deprecation.deprecated("elementorCommon.helpers.deprecatedMessage()","3.7.0","elementorDevTools.deprecation.deprecated()")}},{key:"consoleWarn",value:function consoleWarn(){var C;(C=elementorDevTools).consoleWarn.apply(C,arguments),elementorDevTools.deprecation.deprecated("elementorCommon.helpers.consoleWarn()","3.7.0","elementorDevTools.consoleWarn()")}},{key:"consoleError",value:function consoleError(C){console.error(C),elementorDevTools.deprecation.deprecated("elementorCommon.helpers.consoleError()","3.7.0","console.error()")}},{key:"deprecatedMethod",value:function deprecatedMethod(C,T,B){elementorDevTools.deprecation.deprecated(C,T,B),elementorDevTools.deprecation.deprecated("elementorCommon.helpers.deprecatedMethod()","2.8.0","elementorDevTools.deprecation.deprecated()")}},{key:"cloneObject",value:function cloneObject(C){return JSON.parse(JSON.stringify(C))}},{key:"upperCaseWords",value:function upperCaseWords(C){return(C+"").replace(/^(.)|\s+(.)/g,(function(C){return C.toUpperCase()}))}},{key:"getUniqueId",value:function getUniqueId(){return Math.random().toString(16).substr(2,7)}}]),Helpers}();T.default=L},35107:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,W.default)(this,_default),T.apply(this,arguments)}return(0,U.default)(_default,[{key:"get",value:function get(C,T){var B;T=T||{};try{B=T.session?sessionStorage:localStorage}catch(T){return C?void 0:{}}var q=B.getItem("elementor");(q=q?JSON.parse(q):{}).__expiration||(q.__expiration={});var W=q.__expiration,U=[];C?W[C]&&(U=[C]):U=Object.keys(W);var L=!1;return U.forEach((function(C){new Date(W[C]){"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(40131)),U=q(B(78983)),L=q(B(42081)),$=q(B(77266)),V=q(B(58724)),H=q(B(71173)),G=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,G.default)(C);if(T){var W=(0,G.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,V.default)(_default,C);var T=_createSuper(_default);function _default(){var C;(0,U.default)(this,_default);for(var B=arguments.length,q=new Array(B),W=0;W{"use strict";var q=B(38003).__,W=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=W(B(78983)),L=W(B(42081)),$=W(B(51121)),V=W(B(58724)),H=W(B(71173)),G=W(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,G.default)(C);if(T){var W=(0,G.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,V.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,U.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"addPopupPlugin",value:function addPopupPlugin(){var C=0;jQuery.fn.elementorConnect=function(T){var B=this;null!=T&&T.popup&&(jQuery(this).on("click",(function(C){var q,W;C.preventDefault();var U=(null===(q=T.popup)||void 0===q?void 0:q.width)||600,L=(null===(W=T.popup)||void 0===W?void 0:W.height)||700;window.open(jQuery(B).attr("href")+"&mode=popup","elementorConnect","toolbar=no, menubar=no, width=".concat(U,", height=").concat(L,", top=200, left=0"))})),delete T.popup);var W=jQuery.extend({success:function success(){return location.reload()},error:function error(){elementor.notifications.showToast({message:q("Unable to connect","elementor")})},parseUrl:function parseUrl(C){return C}},T);return this.each((function(){C++;var T=jQuery(this),B="cb"+C;T.attr({target:"_blank",rel:"opener",href:W.parseUrl(T.attr("href")+"&mode=popup&callback_id="+B)}),elementorCommon.elements.$window.on("elementor/connect/success/"+B,W.success).on("elementor/connect/error/"+B,W.error)})),this}}},{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectors:{connectButton:"#elementor-template-library-connect__button"}}}},{key:"getDefaultElements",value:function getDefaultElements(){return{$connectButton:jQuery(this.getSettings("selectors.connectButton"))}}},{key:"applyPopup",value:function applyPopup(){this.elements.$connectButton.elementorConnect()}},{key:"onInit",value:function onInit(){(0,$.default)((0,G.default)(_default.prototype),"onInit",this).call(this),this.addPopupPlugin(),this.applyPopup()}}]),_default}(elementorModules.ViewModule);T.default=K},28095:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Index=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(Index,C);var T=_createSuper(Index);function Index(){return(0,W.default)(this,Index),T.apply(this,arguments)}return(0,U.default)(Index,null,[{key:"getEndpointFormat",value:function getEndpointFormat(){return"send-event"}}]),Index}(q(B(76072)).default);T.Index=H},26231:(C,T,B)=>{"use strict";var q=B(73203),W=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=q(B(78983)),L=q(B(42081)),$=q(B(58724)),V=q(B(71173)),H=q(B(74910)),G=q(B(19263)),K=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==W(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var q={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in C)if("default"!==L&&Object.prototype.hasOwnProperty.call(C,L)){var $=U?Object.getOwnPropertyDescriptor(C,L):null;$&&($.get||$.set)?Object.defineProperty(q,L,$):q[L]=C[L]}q.default=C,B&&B.set(C,q);return q}(B(28095));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,H.default)(C);if(T){var W=(0,H.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,V.default)(this,B)}}var Q=function(C){(0,$.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,U.default)(this,Component),T.apply(this,arguments)}return(0,L.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"event-tracker"}},{key:"defaultData",value:function defaultData(){return this.importCommands(K)}}]),Component}(G.default);T.default=Q},62879:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(17264)),$=function(){function Events(){(0,W.default)(this,Events)}return(0,U.default)(Events,[{key:"dispatchEvent",value:function dispatchEvent(C){C&&(C.ts=(0,L.default)(),$e.data.create("event-tracker/index",{event_data:C}))}}]),Events}();T.default=$},27948:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"NavigateDown",{enumerable:!0,get:function get(){return q.NavigateDown}}),Object.defineProperty(T,"NavigateSelect",{enumerable:!0,get:function get(){return W.NavigateSelect}}),Object.defineProperty(T,"NavigateUp",{enumerable:!0,get:function get(){return U.NavigateUp}});var q=B(85925),W=B(98291),U=B(71117)},85925:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.NavigateDown=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(NavigateDown,C);var T=_createSuper(NavigateDown);function NavigateDown(){return(0,W.default)(this,NavigateDown),T.apply(this,arguments)}return(0,U.default)(NavigateDown,[{key:"apply",value:function apply(){this.component.getItemsView().activateNextItem()}}]),NavigateDown}(q(B(83024)).default);T.NavigateDown=H;var G=H;T.default=G},98291:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.NavigateSelect=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(NavigateSelect,C);var T=_createSuper(NavigateSelect);function NavigateSelect(){return(0,W.default)(this,NavigateSelect),T.apply(this,arguments)}return(0,U.default)(NavigateSelect,[{key:"apply",value:function apply(C){this.component.getItemsView().goToActiveItem(C)}}]),NavigateSelect}(q(B(83024)).default);T.NavigateSelect=H;var G=H;T.default=G},71117:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.NavigateUp=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(NavigateUp,C);var T=_createSuper(NavigateUp);function NavigateUp(){return(0,W.default)(this,NavigateUp),T.apply(this,arguments)}return(0,U.default)(NavigateUp,[{key:"apply",value:function apply(){this.component.getItemsView().activateNextItem(!0)}}]),NavigateUp}(q(B(83024)).default);T.NavigateUp=H;var G=H;T.default=G},47729:(C,T,B)=>{"use strict";var q=B(73203),W=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=q(B(93231)),L=q(B(78983)),$=q(B(42081)),V=q(B(51121)),H=q(B(58724)),G=q(B(71173)),K=q(B(74910)),Q=q(B(19076)),J=q(B(2365)),X=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==W(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var q={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in C)if("default"!==L&&Object.prototype.hasOwnProperty.call(C,L)){var $=U?Object.getOwnPropertyDescriptor(C,L):null;$&&($.get||$.set)?Object.defineProperty(q,L,$):q[L]=C[L]}q.default=C,B&&B.set(C,q);return q}(B(27948));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(C);T&&(q=q.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,q)}return B}function _objectSpread(C){for(var T=1;T{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910)),H=q(B(47729));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var G=function(C){(0,L.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,W.default)(this,_default),T.apply(this,arguments)}return(0,U.default)(_default,[{key:"onInit",value:function onInit(){window.top===window&&(this.channel=Backbone.Radio.channel("ELEMENTOR:finder"),$e.components.register(new H.default({manager:this})))}}]),_default}(elementorModules.Module);T.default=G},56745:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,W.default)(this,_default),T.apply(this,arguments)}return(0,U.default)(_default,[{key:"defaults",value:function defaults(){return{description:"",icon:"settings",url:"",keywords:[],actions:[],lock:null}}}]),_default}(Backbone.Model);T.default=H},44027:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910)),H=q(B(71362)),G=q(B(98304));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var K=function(C){(0,L.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,W.default)(this,_default),T.apply(this,arguments)}return(0,U.default)(_default,[{key:"id",value:function id(){return"elementor-finder__results-container"}},{key:"ui",value:function ui(){return this.selectors={noResults:"#elementor-finder__no-results",categoryItem:".elementor-finder__results__item"},this.selectors}},{key:"events",value:function events(){return{"mouseenter @ui.categoryItem":"onCategoryItemMouseEnter"}}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-finder-results-container"}},{key:"getChildView",value:function getChildView(C){return C.get("dynamic")?G.default:H.default}},{key:"initialize",value:function initialize(){this.$activeItem=null,this.childViewContainer="#elementor-finder__results",this.collection=new Backbone.Collection(Object.values(elementorCommon.finder.getSettings("data")))}},{key:"activateItem",value:function activateItem(C){this.$activeItem&&this.$activeItem.removeClass("elementor-active"),C.addClass("elementor-active"),this.$activeItem=C}},{key:"activateNextItem",value:function activateNextItem(C){var T=jQuery(this.selectors.categoryItem),B=0;this.$activeItem&&((B=T.index(this.$activeItem)+(C?-1:1))>=T.length?B=0:B<0&&(B=T.length-1));var q=T.eq(B);this.activateItem(q),q[0].scrollIntoView({block:"nearest"})}},{key:"goToActiveItem",value:function goToActiveItem(C){var T=this.$activeItem.children("a"),B=$e.shortcuts.isControlEvent(C);B&&T.attr("target","_blank"),T[0].click(),B&&T.removeAttr("target")}},{key:"onCategoryItemMouseEnter",value:function onCategoryItemMouseEnter(C){this.activateItem(jQuery(C.currentTarget))}},{key:"onChildviewToggleVisibility",value:function onChildviewToggleVisibility(){var C=this.children.every((function(C){return!C.isVisible}));this.ui.noResults.toggle(C)}}]),_default}(Marionette.CompositeView);T.default=K},71362:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910)),H=q(B(13448)),G=q(B(56745));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var K=function(C){(0,L.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,W.default)(this,_default),T.apply(this,arguments)}return(0,U.default)(_default,[{key:"className",value:function className(){return"elementor-finder__results__category"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-finder__results__category"}},{key:"getChildView",value:function getChildView(){return H.default}},{key:"initialize",value:function initialize(){this.childViewContainer=".elementor-finder__results__category__items",this.isVisible=!0;var C=this.model.get("items");C&&(C=Object.values(C)),this.collection=new Backbone.Collection(C,{model:G.default})}},{key:"filter",value:function filter(C){var T=this.getTextFilter();return C.get("title").toLowerCase().indexOf(T)>=0||C.get("keywords").some((function(C){return C.indexOf(T)>=0}))}},{key:"getTextFilter",value:function getTextFilter(){return elementorCommon.finder.channel.request("filter:text").trim().toLowerCase()}},{key:"toggleElement",value:function toggleElement(){var C=!!this.children.length;C!==this.isVisible&&(this.isVisible=C,this.$el.toggle(C),this.triggerMethod("toggle:visibility"))}},{key:"onRender",value:function onRender(){this.listenTo(elementorCommon.finder.channel,"filter:change",this.onFilterChange.bind(this))}},{key:"onFilterChange",value:function onFilterChange(){this._renderChildren()}},{key:"onRenderCollection",value:function onRenderCollection(){this.toggleElement()}}]),_default}(Marionette.CompositeView);T.default=K},27308:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910)),H=q(B(44027));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var G=function(C){(0,L.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,W.default)(this,_default),T.apply(this,arguments)}return(0,U.default)(_default,[{key:"id",value:function id(){return"elementor-finder"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-finder"}},{key:"ui",value:function ui(){return{searchInput:"#elementor-finder__search__input"}}},{key:"events",value:function events(){return{"input @ui.searchInput":"onSearchInputInput"}}},{key:"regions",value:function regions(){return{content:"#elementor-finder__content"}}},{key:"showCategoriesView",value:function showCategoriesView(){this.content.show(new H.default)}},{key:"onSearchInputInput",value:function onSearchInputInput(){var C=this.ui.searchInput.val();C&&(elementorCommon.finder.channel.reply("filter:text",C).trigger("filter:change"),this.content.currentView instanceof H.default||this.showCategoriesView()),this.content.currentView.$el.toggle(!!C)}}]),_default}(Marionette.LayoutView);T.default=G},98304:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(51121)),$=q(B(58724)),V=q(B(71173)),H=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,H.default)(C);if(T){var W=(0,H.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,V.default)(this,B)}}var G=function(C){(0,$.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,W.default)(this,_default),T.apply(this,arguments)}return(0,U.default)(_default,[{key:"className",value:function className(){return(0,L.default)((0,H.default)(_default.prototype),"className",this).call(this)+" elementor-finder__results__category--dynamic"}},{key:"ui",value:function ui(){return{title:".elementor-finder__results__category__title"}}},{key:"fetchData",value:function fetchData(){var C=this;this.ui.loadingIcon.show(),elementorCommon.ajax.addRequest("finder_get_category_items",{data:{category:this.model.get("name"),filter:this.getTextFilter()},success:function success(T){C.isDestroyed||(C.collection.set(T),C.toggleElement(),C.ui.loadingIcon.hide())}})}},{key:"filter",value:function filter(){return!0}},{key:"onFilterChange",value:function onFilterChange(){this.fetchData()}},{key:"onRender",value:function onRender(){(0,L.default)((0,H.default)(_default.prototype),"onRender",this).call(this),this.ui.loadingIcon=jQuery("",{class:"eicon-loading eicon-animation-spin"}),this.ui.title.after(this.ui.loadingIcon),this.fetchData()}}]),_default}(q(B(71362)).default);T.default=G},13448:(C,T,B)=>{"use strict";var q=B(38003).__,W=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=W(B(78983)),L=W(B(42081)),$=W(B(58724)),V=W(B(71173)),H=W(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,H.default)(C);if(T){var W=(0,H.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,V.default)(this,B)}}var G=function(C){(0,$.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,U.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"className",value:function className(){return"elementor-finder__results__item"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-finder__results__item"}},{key:"events",value:function events(){this.$el[0].addEventListener("click",this.onClick.bind(this),!0)}},{key:"onClick",value:function onClick(C){var T=this,B=this.model.get("lock");null!=B&&B.is_locked&&(C.preventDefault(),C.stopImmediatePropagation(),elementorCommon.dialogsManager.createWidget("confirm",{id:"elementor-finder__lock-dialog",headerMessage:B.content.heading,message:B.content.description,position:{my:"center center",at:"center center"},strings:{confirm:B.button.text,cancel:q("Cancel","elementor")},onConfirm:function onConfirm(){var C=T.replaceLockLinkPlaceholders(B.button.url);window.open(C,"_blank")}}).show())}},{key:"replaceLockLinkPlaceholders",value:function replaceLockLinkPlaceholders(C){return C.replace(/%%utm_source%%/g,"finder").replace(/%%utm_medium%%/g,"wp-dash")}}]),_default}(Marionette.ItemView);T.default=G},2365:(C,T,B)=>{"use strict";var q=B(38003).__,W=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=W(B(78983)),L=W(B(42081)),$=W(B(51121)),V=W(B(58724)),H=W(B(71173)),G=W(B(74910)),K=W(B(27308));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,G.default)(C);if(T){var W=(0,G.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,H.default)(this,B)}}var Q=function(C){(0,V.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,U.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"getModalOptions",value:function getModalOptions(){return{id:"elementor-finder__modal",draggable:!0,effects:{show:"show",hide:"hide"},position:{enable:!1}}}},{key:"getLogoOptions",value:function getLogoOptions(){return{title:q("Finder","elementor")}}},{key:"initialize",value:function initialize(){for(var C,T=arguments.length,B=new Array(T),q=0;q{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(77266)),$=q(B(58724)),V=q(B(71173)),H=q(B(74910)),G=q(B(19952)),K=q(B(93231)),Q=q(B(17341)),J=q(B(40647));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(C);T&&(q=q.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,q)}return B}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,H.default)(C);if(T){var W=(0,H.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,V.default)(this,B)}}var X=function(C){(0,$.default)(BaseError,C);var T=_createSuper(BaseError);function BaseError(){var C,B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",q=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",U=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return(0,W.default)(this,BaseError),C=T.call(this,B),(0,K.default)((0,L.default)(C),"code",""),(0,K.default)((0,L.default)(C),"data",[]),C.code=q,C.data=U,C}return(0,U.default)(BaseError,[{key:"notify",value:function notify(){Q.default.error(function _objectSpread(C){for(var T=1;T1&&void 0!==arguments[1]?arguments[1]:"",arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}},{key:"getHTTPErrorCode",value:function getHTTPErrorCode(){(0,J.default)()}}]),BaseError}((0,G.default)(Error));T.default=X},71148:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.DefaultError=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(DefaultError,C);var T=_createSuper(DefaultError);function DefaultError(){return(0,W.default)(this,DefaultError),T.apply(this,arguments)}return(0,U.default)(DefaultError,null,[{key:"getHTTPErrorCode",value:function getHTTPErrorCode(){return 501}}]),DefaultError}(q(B(7283)).default);T.DefaultError=H;var G=H;T.default=G},2884:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Error404=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910)),H=q(B(7283)),G=q(B(17341));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var K=function(C){(0,L.default)(Error404,C);var T=_createSuper(Error404);function Error404(){return(0,W.default)(this,Error404),T.apply(this,arguments)}return(0,U.default)(Error404,[{key:"notify",value:function notify(){G.default.warn(this.message)}}],[{key:"getHTTPErrorCode",value:function getHTTPErrorCode(){return 404}}]),Error404}(H.default);T.Error404=K;var Q=K;T.default=Q},91305:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"DefaultError",{enumerable:!0,get:function get(){return q.DefaultError}}),Object.defineProperty(T,"Error404",{enumerable:!0,get:function get(){return W.Error404}});var q=B(71148),W=B(2884)},83024:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910)),H=q(B(74774)),G=q(B(70170));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var K=function(C){(0,L.default)(CommandBase,C);var T=_createSuper(CommandBase);function CommandBase(){return(0,W.default)(this,CommandBase),T.apply(this,arguments)}return(0,U.default)(CommandBase,[{key:"onBeforeRun",value:function onBeforeRun(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runUIBefore(this.command,C)}},{key:"onAfterRun",value:function onAfterRun(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0;$e.hooks.runUIAfter(this.command,C,T)}},{key:"onBeforeApply",value:function onBeforeApply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runDataDependency(this.command,C)}},{key:"onAfterApply",value:function onAfterApply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0;$e.hooks.runDataAfter(this.command,C,T)}},{key:"onCatchApply",value:function onCatchApply(C){this.runCatchHooks(C)}},{key:"runCatchHooks",value:function runCatchHooks(C){$e.hooks.runDataCatch(this.command,this.args,C),$e.hooks.runUICatch(this.command,this.args,C)}},{key:"requireContainer",value:function requireContainer(){var C=this,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.args;if(G.default.deprecated("requireContainer()","3.7.0","Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`"),!T.container&&!T.containers)throw Error("container or containers are required.");if(T.container&&T.containers)throw Error("container and containers cannot go together please select one of them.");(T.containers||[T.container]).forEach((function(T){C.requireArgumentInstance("container",elementorModules.editor.Container,{container:T})}))}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandBase"}}]),CommandBase}(H.default);T.default=K},46867:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(CommandCallbackBase,C);var T=_createSuper(CommandCallbackBase);function CommandCallbackBase(){return(0,W.default)(this,CommandCallbackBase),T.apply(this,arguments)}return(0,U.default)(CommandCallbackBase,[{key:"apply",value:function apply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.constructor.getCallback()(C)}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandCallbackBase"}},{key:"getCallback",value:function getCallback(){return this.registerConfig.callback}}]),CommandCallbackBase}(q(B(83024)).default);T.default=H},76072:(C,T,B)=>{"use strict";var q=B(73203),W=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=q(B(78983)),L=q(B(42081)),$=q(B(77266)),V=q(B(58724)),H=q(B(71173)),G=q(B(74910)),K=q(B(93231)),Q=q(B(83024)),J=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==W(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var q={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in C)if("default"!==L&&Object.prototype.hasOwnProperty.call(C,L)){var $=U?Object.getOwnPropertyDescriptor(C,L):null;$&&($.get||$.set)?Object.defineProperty(q,L,$):q[L]=C[L]}q.default=C,B&&B.set(C,q);return q}(B(91305));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,G.default)(C);if(T){var W=(0,G.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,H.default)(this,B)}}var X=function(C){(0,V.default)(CommandData,C);var T=_createSuper(CommandData);function CommandData(C){var B,q,W=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$e.data;return(0,U.default)(this,CommandData),q=T.call(this,C,W),(0,K.default)((0,$.default)(q),"data",void 0),(0,K.default)((0,$.default)(q),"type",void 0),null!==(B=q.args.options)&&void 0!==B&&B.type&&(q.type=q.args.options.type),q}return(0,L.default)(CommandData,[{key:"getApplyMethods",value:function getApplyMethods(){var C,T;switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.type){case"create":C=this.applyBeforeCreate,T=this.applyAfterCreate;break;case"delete":C=this.applyBeforeDelete,T=this.applyAfterDelete;break;case"get":C=this.applyBeforeGet,T=this.applyAfterGet;break;case"update":C=this.applyBeforeUpdate,T=this.applyAfterUpdate;break;case"options":C=this.applyBeforeOptions,T=this.applyAfterOptions;break;default:return!1}return{before:C.bind(this),after:T.bind(this)}}},{key:"getRequestData",value:function getRequestData(){return{type:this.type,args:this.args,timestamp:(new Date).getTime(),component:this.component,command:this.command,endpoint:$e.data.commandToEndpoint(this.command,JSON.parse(JSON.stringify(this.args)),this.constructor.getEndpointFormat())}}},{key:"apply",value:function apply(){var C=this,T=this.getApplyMethods();this.args=T.before(this.args);var B=this.getRequestData();return $e.data.fetch(B).then((function(q){return C.data=q,C.data=T.after(q,C.args),C.data={data:C.data},C.data=Object.assign({__requestData__:B},C.data),C.data}))}},{key:"applyBeforeCreate",value:function applyBeforeCreate(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}},{key:"applyAfterCreate",value:function applyAfterCreate(C){return C}},{key:"applyBeforeDelete",value:function applyBeforeDelete(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}},{key:"applyAfterDelete",value:function applyAfterDelete(C){return C}},{key:"applyBeforeGet",value:function applyBeforeGet(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}},{key:"applyAfterGet",value:function applyAfterGet(C){return C}},{key:"applyBeforeUpdate",value:function applyBeforeUpdate(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}},{key:"applyAfterUpdate",value:function applyAfterUpdate(C){return C}},{key:"applyBeforeOptions",value:function applyBeforeOptions(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}},{key:"applyAfterOptions",value:function applyAfterOptions(C){return C}},{key:"applyAfterCatch",value:function applyAfterCatch(C){C.notify()}},{key:"onCatchApply",value:function onCatchApply(C){var T,B,q=(null===(T=C)||void 0===T||null===(B=T.data)||void 0===B?void 0:B.status)||501,W=Object.values(J).find((function(C){return C.getHTTPErrorCode()===q}));W||(W=J.DefaultError),C=W.create(C.message,C.code,C.data||[]),this.runCatchHooks(C),this.applyAfterCatch(C)}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandData"}},{key:"getEndpointFormat",value:function getEndpointFormat(){return null}}]),CommandData}(Q.default);T.default=X},74774:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910)),H=q(B(93231)),G=q(B(42618)),K=q(B(70170));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var Q=function(C){(0,L.default)(CommandInfra,C);var T=_createSuper(CommandInfra);function CommandInfra(){var C,B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,W.default)(this,CommandInfra),!(C=T.call(this,B)).constructor.registerConfig)throw RangeError("Doing it wrong: Each command type should have `registerConfig`.");return C.command=C.constructor.getCommand(),C.component=C.constructor.getComponent(),C.initialize(B),B=C.args,C.validateArgs(B),C}return(0,U.default)(CommandInfra,[{key:"currentCommand",get:function get(){return K.default.deprecated("this.currentCommand","3.7.0","this.command"),this.command}},{key:"initialize",value:function initialize(){}},{key:"validateArgs",value:function validateArgs(){}},{key:"apply",value:function apply(){elementorModules.ForceMethodImplementation()}},{key:"run",value:function run(){return this.apply(this.args)}},{key:"onBeforeRun",value:function onBeforeRun(){}},{key:"onAfterRun",value:function onAfterRun(){}},{key:"onBeforeApply",value:function onBeforeApply(){}},{key:"onAfterApply",value:function onAfterApply(){}},{key:"onCatchApply",value:function onCatchApply(C){}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandInfra"}},{key:"getInfo",value:function getInfo(){return{}}},{key:"getCommand",value:function getCommand(){return this.registerConfig.command}},{key:"getComponent",value:function getComponent(){return this.registerConfig.component}},{key:"setRegisterConfig",value:function setRegisterConfig(C){this.registerConfig=Object.freeze(C)}}]),CommandInfra}(G.default);T.default=Q,(0,H.default)(Q,"registerConfig",null)},25683:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Close=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(Close,C);var T=_createSuper(Close);function Close(){return(0,W.default)(this,Close),T.apply(this,arguments)}return(0,U.default)(Close,[{key:"apply",value:function apply(){this.component.close()}}]),Close}(q(B(83024)).default);T.Close=H;var G=H;T.default=G},53832:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Close",{enumerable:!0,get:function get(){return q.Close}}),Object.defineProperty(T,"Open",{enumerable:!0,get:function get(){return W.Open}}),Object.defineProperty(T,"Toggle",{enumerable:!0,get:function get(){return U.Toggle}});var q=B(25683),W=B(57273),U=B(7493)},57273:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Open=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(Open,C);var T=_createSuper(Open);function Open(){return(0,W.default)(this,Open),T.apply(this,arguments)}return(0,U.default)(Open,[{key:"apply",value:function apply(){$e.route(this.component.getNamespace())}}]),Open}(q(B(83024)).default);T.Open=H;var G=H;T.default=G},7493:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Toggle=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(Toggle,C);var T=_createSuper(Toggle);function Toggle(){return(0,W.default)(this,Toggle),T.apply(this,arguments)}return(0,U.default)(Toggle,[{key:"apply",value:function apply(){this.component.isOpen?this.component.close():$e.route(this.component.getNamespace())}}]),Toggle}(q(B(83024)).default);T.Toggle=H;var G=H;T.default=G},19263:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(93231)),U=q(B(40131)),L=q(B(78983)),$=q(B(42081)),V=q(B(58724)),H=q(B(71173)),G=q(B(74910)),K=q(B(46867)),Q=B(71177),J=q(B(1192)),X=q(B(40647)),Y=q(B(70170));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(C);T&&(q=q.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,q)}return B}function _objectSpread(C){for(var T=1;T0&&void 0!==arguments[0]?arguments[0]:{};C.manager&&(this.manager=C.manager),this.commands=this.defaultCommands(),this.commandsInternal=this.defaultCommandsInternal(),this.hooks=this.defaultHooks(),this.routes=this.defaultRoutes(),this.tabs=this.defaultTabs(),this.shortcuts=this.defaultShortcuts(),this.utils=this.defaultUtils(),this.data=this.defaultData(),this.uiStates=this.defaultUiStates(),this.states=this.defaultStates(),this.defaultRoute="",this.currentTab=""}},{key:"registerAPI",value:function registerAPI(){var C=this;Object.entries(this.getTabs()).forEach((function(T){return C.registerTabRoute(T[0])})),Object.entries(this.getRoutes()).forEach((function(T){var B=(0,U.default)(T,2),q=B[0],W=B[1];return C.registerRoute(q,W)})),Object.entries(this.getCommands()).forEach((function(T){var B=(0,U.default)(T,2),q=B[0],W=B[1];return C.registerCommand(q,W)})),Object.entries(this.getCommandsInternal()).forEach((function(T){var B=(0,U.default)(T,2),q=B[0],W=B[1];return C.registerCommandInternal(q,W)})),Object.values(this.getHooks()).forEach((function(T){return C.registerHook(T)})),Object.entries(this.getData()).forEach((function(T){var B=(0,U.default)(T,2),q=B[0],W=B[1];return C.registerData(q,W)})),Object.values(this.getUiStates()).forEach((function(T){return C.registerUiState(T)})),Object.entries(this.getStates()).forEach((function(T){var B=(0,U.default)(T,2),q=B[0],W=B[1];return C.registerState(q,W)}))}},{key:"getNamespace",value:function getNamespace(){(0,X.default)()}},{key:"getRootContainer",value:function getRootContainer(){return Y.default.deprecated("getRootContainer()","3.7.0","getServiceName()"),this.getServiceName()}},{key:"getServiceName",value:function getServiceName(){return this.getNamespace().split("/")[0]}},{key:"store",get:function get(){return $e.store.get(this.getNamespace())}},{key:"defaultTabs",value:function defaultTabs(){return{}}},{key:"defaultRoutes",value:function defaultRoutes(){return{}}},{key:"defaultCommands",value:function defaultCommands(){return{}}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return{}}},{key:"defaultHooks",value:function defaultHooks(){return{}}},{key:"defaultUiStates",value:function defaultUiStates(){return{}}},{key:"defaultStates",value:function defaultStates(){return{}}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{}}},{key:"defaultUtils",value:function defaultUtils(){return{}}},{key:"defaultData",value:function defaultData(){return{}}},{key:"getCommands",value:function getCommands(){return this.commands}},{key:"getCommandsInternal",value:function getCommandsInternal(){return this.commandsInternal}},{key:"getHooks",value:function getHooks(){return this.hooks}},{key:"getUiStates",value:function getUiStates(){return this.uiStates}},{key:"getStates",value:function getStates(){return this.states}},{key:"getRoutes",value:function getRoutes(){return this.routes}},{key:"getTabs",value:function getTabs(){return this.tabs}},{key:"getShortcuts",value:function getShortcuts(){return this.shortcuts}},{key:"getData",value:function getData(){return this.data}},{key:"registerCommand",value:function registerCommand(C,T){var B;switch(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default"){case"default":B=$e.commands;break;case"internal":B=$e.commandsInternal;break;case"data":B=$e.data;break;default:throw new Error("Invalid commands type: '".concat(C,"'"))}var q=this.getNamespace()+"/"+C,W={command:q,component:this};!!T.getInstanceType&&T.getInstanceType()||($e.devTools&&$e.devTools.log.warn("Attach command-callback-base, on command: '".concat(q,"', context is unknown type.")),W.callback=T,T=function(C){(0,V.default)(context,C);var T=_createSuper(context);function context(){return(0,L.default)(this,context),T.apply(this,arguments)}return(0,$.default)(context)}(K.default)),T.setRegisterConfig(W),B.register(this,C,T)}},{key:"registerHook",value:function registerHook(C){return C.register()}},{key:"registerCommandInternal",value:function registerCommandInternal(C,T){this.registerCommand(C,T,"internal")}},{key:"registerUiState",value:function registerUiState(C){$e.uiStates.register(C)}},{key:"registerState",value:function registerState(C,T){C=this.getNamespace()+(C?"/".concat(C):"");var B=(0,Q.createSlice)(_objectSpread(_objectSpread({},T),{},{name:C}));$e.store.register(C,B)}},{key:"registerRoute",value:function registerRoute(C,T){$e.routes.register(this,C,T)}},{key:"registerData",value:function registerData(C,T){this.registerCommand(C,T,"data")}},{key:"unregisterRoute",value:function unregisterRoute(C){$e.routes.unregister(this,C)}},{key:"registerTabRoute",value:function registerTabRoute(C){var T=this;this.registerRoute(C,(function(B){return T.activateTab(C,B)}))}},{key:"dependency",value:function dependency(){return!0}},{key:"open",value:function open(){return!0}},{key:"close",value:function close(){return!!this.isOpen&&(this.isOpen=!1,this.inactivate(),$e.routes.clearCurrent(this.getNamespace()),$e.routes.clearHistory(this.getServiceName()),!0)}},{key:"activate",value:function activate(){$e.components.activate(this.getNamespace())}},{key:"inactivate",value:function inactivate(){$e.components.inactivate(this.getNamespace())}},{key:"isActive",value:function isActive(){return $e.components.isActive(this.getNamespace())}},{key:"onRoute",value:function onRoute(C){this.toggleRouteClass(C,!0),this.toggleHistoryClass(),this.activate(),this.trigger("route/open",C)}},{key:"onCloseRoute",value:function onCloseRoute(C){this.toggleRouteClass(C,!1),this.inactivate(),this.trigger("route/close",C)}},{key:"setDefaultRoute",value:function setDefaultRoute(C){this.defaultRoute=this.getNamespace()+"/"+C}},{key:"getDefaultRoute",value:function getDefaultRoute(){return this.defaultRoute}},{key:"removeTab",value:function removeTab(C){delete this.tabs[C],this.unregisterRoute(C)}},{key:"hasTab",value:function hasTab(C){return!!this.tabs[C]}},{key:"addTab",value:function addTab(C,T,B){var q=this;if(this.tabs[C]=T,void 0!==B){var W={},U=Object.keys(this.tabs);U.pop(),U.splice(B,0,C),U.forEach((function(C){W[C]=q.tabs[C]})),this.tabs=W}this.registerTabRoute(C)}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return""}},{key:"getTabRoute",value:function getTabRoute(C){return this.getNamespace()+"/"+C}},{key:"renderTab",value:function renderTab(C){}},{key:"activateTab",value:function activateTab(C,T){var B=this;this.renderTab(C,T),jQuery(this.getTabsWrapperSelector()+" .elementor-component-tab").off("click").on("click",(function(C){$e.route(B.getTabRoute(C.currentTarget.dataset.tab),T)})).removeClass("elementor-active").filter('[data-tab="'+C+'"]').addClass("elementor-active")}},{key:"getActiveTabConfig",value:function getActiveTabConfig(){return this.tabs[this.currentTab]||{}}},{key:"getBodyClass",value:function getBodyClass(C){return"e-route-"+C.replace(/\//g,"-")}},{key:"normalizeCommandName",value:function normalizeCommandName(C){return C.replace(/[A-Z]/g,(function(C,T){return(T>0?"-":"")+C.toLowerCase()}))}},{key:"importCommands",value:function importCommands(C){var T=this,B={};return Object.entries(C).forEach((function(C){var q=(0,U.default)(C,2),W=q[0],L=q[1],$=T.normalizeCommandName(W);B[$]=L})),B}},{key:"importHooks",value:function importHooks(C){var T={};for(var B in C){var q=new C[B];T[q.getId()]=q}return T}},{key:"importUiStates",value:function importUiStates(C){var T=this,B={};return Object.values(C).forEach((function(C){var q=new C(T);B[q.getId()]=q})),B}},{key:"setUiState",value:function setUiState(C,T){$e.uiStates.set("".concat(this.getNamespace(),"/").concat(C),T)}},{key:"toggleRouteClass",value:function toggleRouteClass(C,T){document.body.classList.toggle(this.getBodyClass(C),T)}},{key:"toggleHistoryClass",value:function toggleHistoryClass(){document.body.classList.toggle("e-routes-has-history",!!$e.routes.getHistory(this.getServiceName()).length)}}]),ComponentBase}(J.default);T.default=Z},19076:(C,T,B)=>{"use strict";var q=B(73203),W=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=q(B(78983)),L=q(B(42081)),$=q(B(51121)),V=q(B(58724)),H=q(B(71173)),G=q(B(74910)),K=q(B(19263)),Q=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==W(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var q={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in C)if("default"!==L&&Object.prototype.hasOwnProperty.call(C,L)){var $=U?Object.getOwnPropertyDescriptor(C,L):null;$&&($.get||$.set)?Object.defineProperty(q,L,$):q[L]=C[L]}q.default=C,B&&B.set(C,q);return q}(B(53832)),J=q(B(40647));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,G.default)(C);if(T){var W=(0,G.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,H.default)(this,B)}}var X=function(C){(0,V.default)(ComponentModalBase,C);var T=_createSuper(ComponentModalBase);function ComponentModalBase(){return(0,U.default)(this,ComponentModalBase),T.apply(this,arguments)}return(0,L.default)(ComponentModalBase,[{key:"registerAPI",value:function registerAPI(){var C=this;(0,$.default)((0,G.default)(ComponentModalBase.prototype),"registerAPI",this).call(this),$e.shortcuts.register("esc",{scopes:[this.getNamespace()],callback:function callback(){return C.close()}})}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(Q)}},{key:"defaultRoutes",value:function defaultRoutes(){return{"":function _(){}}}},{key:"open",value:function open(){var C=this;if(!this.layout){var T=this.getModalLayout();this.layout=new T({component:this}),this.layout.getModal().on("hide",(function(){return C.close()}))}return this.layout.showModal(),!0}},{key:"close",value:function close(){return!!(0,$.default)((0,G.default)(ComponentModalBase.prototype),"close",this).call(this)&&(this.layout.getModal().hide(),!0)}},{key:"getModalLayout",value:function getModalLayout(){(0,J.default)()}}]),ComponentModalBase}(K.default);T.default=X},17341:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=function(){function Console(){(0,W.default)(this,Console)}return(0,U.default)(Console,null,[{key:"error",value:function error(C){$e.devTools&&$e.devTools.log.error(C),C instanceof $e.modules.HookBreak||console.error(C)}},{key:"warn",value:function warn(){for(var C,T='font-size: 12px; background-image: url("'.concat(elementorWebCliConfig.urls.assets,'images/logo-icon.png"); background-repeat: no-repeat; background-size: contain;'),B=arguments.length,q=new Array(B),W=0;W{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(40131)),U=q(B(78983)),L=q(B(42081)),$=q(B(17341)),V=function deprecatedMessage(C,T,B,q){var W="`".concat(T,"` is ").concat(C," deprecated since ").concat(B);q&&(W+=" - Use `".concat(q,"` instead")),$.default.warn(W)},H=function(){function Deprecation(){(0,U.default)(this,Deprecation)}return(0,L.default)(Deprecation,null,[{key:"deprecated",value:function deprecated(C,T,B){this.isHardDeprecated(T)?function hardDeprecated(C,T,B){V("hard",C,T,B)}(C,T,B):function softDeprecated(C,T,B){elementorWebCliConfig.isDebug&&V("soft",C,T,B)}(C,T,B)}},{key:"parseVersion",value:function parseVersion(C){var T=C.split(".");if(T.length<3||T.length>4)throw new RangeError("Invalid Semantic Version string provided");var B=(0,W.default)(T,4),q=B[0],U=B[1],L=B[2],$=B[3],V=void 0===$?"":$;return{major1:parseInt(q),major2:parseInt(U),minor:parseInt(L),build:V}}},{key:"getTotalMajor",value:function getTotalMajor(C){var T=parseInt("".concat(C.major1).concat(C.major2,"0"));return T=Number((T/10).toFixed(0)),C.major2>9&&(T=C.major2-9),T}},{key:"compareVersion",value:function compareVersion(C,T){var B=this;return[this.parseVersion(C),this.parseVersion(T)].map((function(C){return B.getTotalMajor(C)})).reduce((function(C,T){return C-T}))}},{key:"isSoftDeprecated",value:function isSoftDeprecated(C){return this.compareVersion(C,elementorWebCliConfig.version)<=4}},{key:"isHardDeprecated",value:function isHardDeprecated(C){var T=this.compareVersion(C,elementorWebCliConfig.version);return T<0||T>=8}}]),Deprecation}();T.default=H},40647:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ForceMethodImplementation=void 0;var W=q(B(42081)),U=q(B(78983)),L=q(B(77266)),$=q(B(58724)),V=q(B(71173)),H=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,H.default)(C);if(T){var W=(0,H.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,V.default)(this,B)}}var G=function(C){(0,$.default)(ForceMethodImplementation,C);var T=_createSuper(ForceMethodImplementation);function ForceMethodImplementation(){var C,B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,U.default)(this,ForceMethodImplementation),C=T.call(this,"".concat(B.isStatic?"static ":"").concat(B.fullName,"() should be implemented, please provide '").concat(B.functionName||B.fullName,"' functionality.")),Error.captureStackTrace((0,L.default)(C),ForceMethodImplementation),C}return(0,W.default)(ForceMethodImplementation)}((0,q(B(19952)).default)(Error));T.ForceMethodImplementation=G;T.default=function _default(){var C=Error().stack.split("\n")[2].trim(),T=C.startsWith("at new")?"constructor":C.split(" ")[1],B={};if(B.functionName=T,B.fullName=T,B.functionName.includes(".")){var q=B.functionName.split(".");B.className=q[0],B.functionName=q[1]}else B.isStatic=!0;throw new G(B)}},38003:C=>{"use strict";C.exports=wp.i18n},98106:C=>{C.exports=function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,q=new Array(T);B{C.exports=function _arrayWithHoles(C){if(Array.isArray(C))return C},C.exports.__esModule=!0,C.exports.default=C.exports},77266:C=>{C.exports=function _assertThisInitialized(C){if(void 0===C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C},C.exports.__esModule=!0,C.exports.default=C.exports},10029:C=>{function asyncGeneratorStep(C,T,B,q,W,U,L){try{var $=C[U](L),V=$.value}catch(C){return void B(C)}$.done?T(V):Promise.resolve(V).then(q,W)}C.exports=function _asyncToGenerator(C){return function(){var T=this,B=arguments;return new Promise((function(q,W){var U=C.apply(T,B);function _next(C){asyncGeneratorStep(U,q,W,_next,_throw,"next",C)}function _throw(C){asyncGeneratorStep(U,q,W,_next,_throw,"throw",C)}_next(void 0)}))}},C.exports.__esModule=!0,C.exports.default=C.exports},78983:C=>{C.exports=function _classCallCheck(C,T){if(!(C instanceof T))throw new TypeError("Cannot call a class as a function")},C.exports.__esModule=!0,C.exports.default=C.exports},76824:(C,T,B)=>{var q=B(96196),W=B(14161);C.exports=function _construct(C,T,B){if(W())return Reflect.construct.apply(null,arguments);var U=[null];U.push.apply(U,T);var L=new(C.bind.apply(C,U));return B&&q(L,B.prototype),L},C.exports.__esModule=!0,C.exports.default=C.exports},42081:(C,T,B)=>{var q=B(74040);function _defineProperties(C,T){for(var B=0;B{var q=B(74040);C.exports=function _defineProperty(C,T,B){return(T=q(T))in C?Object.defineProperty(C,T,{value:B,enumerable:!0,configurable:!0,writable:!0}):C[T]=B,C},C.exports.__esModule=!0,C.exports.default=C.exports},51121:(C,T,B)=>{var q=B(79443);function _get(){return"undefined"!=typeof Reflect&&Reflect.get?(C.exports=_get=Reflect.get.bind(),C.exports.__esModule=!0,C.exports.default=C.exports):(C.exports=_get=function _get(C,T,B){var W=q(C,T);if(W){var U=Object.getOwnPropertyDescriptor(W,T);return U.get?U.get.call(arguments.length<3?C:B):U.value}},C.exports.__esModule=!0,C.exports.default=C.exports),_get.apply(this,arguments)}C.exports=_get,C.exports.__esModule=!0,C.exports.default=C.exports},74910:C=>{function _getPrototypeOf(T){return C.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(C){return C.__proto__||Object.getPrototypeOf(C)},C.exports.__esModule=!0,C.exports.default=C.exports,_getPrototypeOf(T)}C.exports=_getPrototypeOf,C.exports.__esModule=!0,C.exports.default=C.exports},58724:(C,T,B)=>{var q=B(96196);C.exports=function _inherits(C,T){if("function"!=typeof T&&null!==T)throw new TypeError("Super expression must either be null or a function");C.prototype=Object.create(T&&T.prototype,{constructor:{value:C,writable:!0,configurable:!0}}),Object.defineProperty(C,"prototype",{writable:!1}),T&&q(C,T)},C.exports.__esModule=!0,C.exports.default=C.exports},73203:C=>{C.exports=function _interopRequireDefault(C){return C&&C.__esModule?C:{default:C}},C.exports.__esModule=!0,C.exports.default=C.exports},94346:C=>{C.exports=function _isNativeFunction(C){try{return-1!==Function.toString.call(C).indexOf("[native code]")}catch(T){return"function"==typeof C}},C.exports.__esModule=!0,C.exports.default=C.exports},14161:C=>{function _isNativeReflectConstruct(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(T){}return(C.exports=_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!T},C.exports.__esModule=!0,C.exports.default=C.exports)()}C.exports=_isNativeReflectConstruct,C.exports.__esModule=!0,C.exports.default=C.exports},40608:C=>{C.exports=function _iterableToArrayLimit(C,T){var B=null==C?null:"undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(null!=B){var q,W,U,L,$=[],V=!0,H=!1;try{if(U=(B=B.call(C)).next,0===T){if(Object(B)!==B)return;V=!1}else for(;!(V=(q=U.call(B)).done)&&($.push(q.value),$.length!==T);V=!0);}catch(C){H=!0,W=C}finally{try{if(!V&&null!=B.return&&(L=B.return(),Object(L)!==L))return}finally{if(H)throw W}}return $}},C.exports.__esModule=!0,C.exports.default=C.exports},56894:C=>{C.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},C.exports.__esModule=!0,C.exports.default=C.exports},71173:(C,T,B)=>{var q=B(7501).default,W=B(77266);C.exports=function _possibleConstructorReturn(C,T){if(T&&("object"===q(T)||"function"==typeof T))return T;if(void 0!==T)throw new TypeError("Derived constructors may only return object or undefined");return W(C)},C.exports.__esModule=!0,C.exports.default=C.exports},21337:(C,T,B)=>{var q=B(7501).default;function _regeneratorRuntime(){"use strict";C.exports=_regeneratorRuntime=function _regeneratorRuntime(){return B},C.exports.__esModule=!0,C.exports.default=C.exports;var T,B={},W=Object.prototype,U=W.hasOwnProperty,L=Object.defineProperty||function(C,T,B){C[T]=B.value},$="function"==typeof Symbol?Symbol:{},V=$.iterator||"@@iterator",H=$.asyncIterator||"@@asyncIterator",G=$.toStringTag||"@@toStringTag";function define(C,T,B){return Object.defineProperty(C,T,{value:B,enumerable:!0,configurable:!0,writable:!0}),C[T]}try{define({},"")}catch(T){define=function define(C,T,B){return C[T]=B}}function wrap(C,T,B,q){var W=T&&T.prototype instanceof Generator?T:Generator,U=Object.create(W.prototype),$=new Context(q||[]);return L(U,"_invoke",{value:makeInvokeMethod(C,B,$)}),U}function tryCatch(C,T,B){try{return{type:"normal",arg:C.call(T,B)}}catch(C){return{type:"throw",arg:C}}}B.wrap=wrap;var K="suspendedStart",Q="suspendedYield",J="executing",X="completed",Y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var Z={};define(Z,V,(function(){return this}));var ee=Object.getPrototypeOf,te=ee&&ee(ee(values([])));te&&te!==W&&U.call(te,V)&&(Z=te);var re=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(Z);function defineIteratorMethods(C){["next","throw","return"].forEach((function(T){define(C,T,(function(C){return this._invoke(T,C)}))}))}function AsyncIterator(C,T){function invoke(B,W,L,$){var V=tryCatch(C[B],C,W);if("throw"!==V.type){var H=V.arg,G=H.value;return G&&"object"==q(G)&&U.call(G,"__await")?T.resolve(G.__await).then((function(C){invoke("next",C,L,$)}),(function(C){invoke("throw",C,L,$)})):T.resolve(G).then((function(C){H.value=C,L(H)}),(function(C){return invoke("throw",C,L,$)}))}$(V.arg)}var B;L(this,"_invoke",{value:function value(C,q){function callInvokeWithMethodAndArg(){return new T((function(T,B){invoke(C,q,T,B)}))}return B=B?B.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(C,B,q){var W=K;return function(U,L){if(W===J)throw new Error("Generator is already running");if(W===X){if("throw"===U)throw L;return{value:T,done:!0}}for(q.method=U,q.arg=L;;){var $=q.delegate;if($){var V=maybeInvokeDelegate($,q);if(V){if(V===Y)continue;return V}}if("next"===q.method)q.sent=q._sent=q.arg;else if("throw"===q.method){if(W===K)throw W=X,q.arg;q.dispatchException(q.arg)}else"return"===q.method&&q.abrupt("return",q.arg);W=J;var H=tryCatch(C,B,q);if("normal"===H.type){if(W=q.done?X:Q,H.arg===Y)continue;return{value:H.arg,done:q.done}}"throw"===H.type&&(W=X,q.method="throw",q.arg=H.arg)}}}function maybeInvokeDelegate(C,B){var q=B.method,W=C.iterator[q];if(W===T)return B.delegate=null,"throw"===q&&C.iterator.return&&(B.method="return",B.arg=T,maybeInvokeDelegate(C,B),"throw"===B.method)||"return"!==q&&(B.method="throw",B.arg=new TypeError("The iterator does not provide a '"+q+"' method")),Y;var U=tryCatch(W,C.iterator,B.arg);if("throw"===U.type)return B.method="throw",B.arg=U.arg,B.delegate=null,Y;var L=U.arg;return L?L.done?(B[C.resultName]=L.value,B.next=C.nextLoc,"return"!==B.method&&(B.method="next",B.arg=T),B.delegate=null,Y):L:(B.method="throw",B.arg=new TypeError("iterator result is not an object"),B.delegate=null,Y)}function pushTryEntry(C){var T={tryLoc:C[0]};1 in C&&(T.catchLoc=C[1]),2 in C&&(T.finallyLoc=C[2],T.afterLoc=C[3]),this.tryEntries.push(T)}function resetTryEntry(C){var T=C.completion||{};T.type="normal",delete T.arg,C.completion=T}function Context(C){this.tryEntries=[{tryLoc:"root"}],C.forEach(pushTryEntry,this),this.reset(!0)}function values(C){if(C||""===C){var B=C[V];if(B)return B.call(C);if("function"==typeof C.next)return C;if(!isNaN(C.length)){var W=-1,L=function next(){for(;++W=0;--q){var W=this.tryEntries[q],L=W.completion;if("root"===W.tryLoc)return handle("end");if(W.tryLoc<=this.prev){var $=U.call(W,"catchLoc"),V=U.call(W,"finallyLoc");if($&&V){if(this.prev=0;--B){var q=this.tryEntries[B];if(q.tryLoc<=this.prev&&U.call(q,"finallyLoc")&&this.prev=0;--T){var B=this.tryEntries[T];if(B.finallyLoc===C)return this.complete(B.completion,B.afterLoc),resetTryEntry(B),Y}},catch:function _catch(C){for(var T=this.tryEntries.length-1;T>=0;--T){var B=this.tryEntries[T];if(B.tryLoc===C){var q=B.completion;if("throw"===q.type){var W=q.arg;resetTryEntry(B)}return W}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(C,B,q){return this.delegate={iterator:values(C),resultName:B,nextLoc:q},"next"===this.method&&(this.arg=T),Y}},B}C.exports=_regeneratorRuntime,C.exports.__esModule=!0,C.exports.default=C.exports},96196:C=>{function _setPrototypeOf(T,B){return C.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(C,T){return C.__proto__=T,C},C.exports.__esModule=!0,C.exports.default=C.exports,_setPrototypeOf(T,B)}C.exports=_setPrototypeOf,C.exports.__esModule=!0,C.exports.default=C.exports},40131:(C,T,B)=>{var q=B(17358),W=B(40608),U=B(35068),L=B(56894);C.exports=function _slicedToArray(C,T){return q(C)||W(C,T)||U(C,T)||L()},C.exports.__esModule=!0,C.exports.default=C.exports},79443:(C,T,B)=>{var q=B(74910);C.exports=function _superPropBase(C,T){for(;!Object.prototype.hasOwnProperty.call(C,T)&&null!==(C=q(C)););return C},C.exports.__esModule=!0,C.exports.default=C.exports},56027:(C,T,B)=>{var q=B(7501).default;C.exports=function toPrimitive(C,T){if("object"!=q(C)||!C)return C;var B=C[Symbol.toPrimitive];if(void 0!==B){var W=B.call(C,T||"default");if("object"!=q(W))return W;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===T?String:Number)(C)},C.exports.__esModule=!0,C.exports.default=C.exports},74040:(C,T,B)=>{var q=B(7501).default,W=B(56027);C.exports=function toPropertyKey(C){var T=W(C,"string");return"symbol"==q(T)?T:String(T)},C.exports.__esModule=!0,C.exports.default=C.exports},7501:C=>{function _typeof(T){return C.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(C){return typeof C}:function(C){return C&&"function"==typeof Symbol&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},C.exports.__esModule=!0,C.exports.default=C.exports,_typeof(T)}C.exports=_typeof,C.exports.__esModule=!0,C.exports.default=C.exports},35068:(C,T,B)=>{var q=B(98106);C.exports=function _unsupportedIterableToArray(C,T){if(C){if("string"==typeof C)return q(C,T);var B=Object.prototype.toString.call(C).slice(8,-1);return"Object"===B&&C.constructor&&(B=C.constructor.name),"Map"===B||"Set"===B?Array.from(C):"Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B)?q(C,T):void 0}},C.exports.__esModule=!0,C.exports.default=C.exports},19952:(C,T,B)=>{var q=B(74910),W=B(96196),U=B(94346),L=B(76824);function _wrapNativeSuper(T){var B="function"==typeof Map?new Map:void 0;return C.exports=_wrapNativeSuper=function _wrapNativeSuper(C){if(null===C||!U(C))return C;if("function"!=typeof C)throw new TypeError("Super expression must either be null or a function");if(void 0!==B){if(B.has(C))return B.get(C);B.set(C,Wrapper)}function Wrapper(){return L(C,arguments,q(this).constructor)}return Wrapper.prototype=Object.create(C.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),W(Wrapper,C)},C.exports.__esModule=!0,C.exports.default=C.exports,_wrapNativeSuper(T)}C.exports=_wrapNativeSuper,C.exports.__esModule=!0,C.exports.default=C.exports},50824:(C,T,B)=>{var q=B(21337)();C.exports=q;try{regeneratorRuntime=q}catch(C){"object"==typeof globalThis?globalThis.regeneratorRuntime=q:Function("r","regeneratorRuntime = r")(q)}}},T={};function __webpack_require__(B){var q=T[B];if(void 0!==q)return q.exports;var W=T[B]={exports:{}};return C[B](W,W.exports,__webpack_require__),W.exports}__webpack_require__.d=(C,T)=>{for(var B in T)__webpack_require__.o(T,B)&&!__webpack_require__.o(C,B)&&Object.defineProperty(C,B,{enumerable:!0,get:T[B]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(C){if("object"==typeof window)return window}}(),__webpack_require__.o=(C,T)=>Object.prototype.hasOwnProperty.call(C,T),__webpack_require__.r=C=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})},(()=>{"use strict";var C=__webpack_require__(73203),T=C(__webpack_require__(78983)),B=C(__webpack_require__(42081)),q=C(__webpack_require__(51121)),W=C(__webpack_require__(58724)),U=C(__webpack_require__(71173)),L=C(__webpack_require__(74910)),$=C(__webpack_require__(90287)),V=C(__webpack_require__(35107)),H=C(__webpack_require__(52253)),G=C(__webpack_require__(22998)),K=C(__webpack_require__(36614)),Q=C(__webpack_require__(57100)),J=C(__webpack_require__(13450)),X=C(__webpack_require__(26231)),Y=C(__webpack_require__(62879)),Z=C(__webpack_require__(99956));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,L.default)(C);if(T){var W=(0,L.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,U.default)(this,B)}}var ee=function(C){(0,W.default)(ElementorCommonApp,C);var U=_createSuper(ElementorCommonApp);function ElementorCommonApp(){return(0,T.default)(this,ElementorCommonApp),U.apply(this,arguments)}return(0,B.default)(ElementorCommonApp,[{key:"setMarionetteTemplateCompiler",value:function setMarionetteTemplateCompiler(){Marionette.TemplateCache.prototype.compileTemplate=function(C,T){return T={evaluate:/<#([\s\S]+?)#>/g,interpolate:/{{{([\s\S]+?)}}}/g,escape:/{{([^}]+?)}}(?!})/g},_.template(C,T)}}},{key:"getDefaultElements",value:function getDefaultElements(){return{$window:jQuery(window),$document:jQuery(document),$body:jQuery(document.body)}}},{key:"initComponents",value:function initComponents(){this.events=new Y.default,this.debug=new H.default,this.helpers=new $.default,this.storage=new V.default,this.dialogsManager=new DialogsManager.Instance,this.notifications=new Z.default,this.api=window.$e,$e.components.register(new X.default),elementorCommon.elements.$window.on("elementor:init-components",(function(){$e.components.register(new J.default)})),this.initModules()}},{key:"initModules",value:function initModules(){var C=this,T=this.config.activeModules,B={ajax:G.default,finder:K.default,connect:Q.default};T.forEach((function(T){B[T]&&(C[T]=new B[T](C.config[T]))}))}},{key:"compileArrayTemplateArgs",value:function compileArrayTemplateArgs(C,T){return C.replace(/%(?:(\d+)\$)?s/g,(function(C,B){return B||(B=1),B--,void 0!==T[B]?T[B]:C}))}},{key:"compileObjectTemplateArgs",value:function compileObjectTemplateArgs(C,T){return C.replace(/{{(?:([ \w]+))}}/g,(function(C,B){return T[B]?T[B]:C}))}},{key:"compileTemplate",value:function compileTemplate(C,T){return jQuery.isPlainObject(T)?this.compileObjectTemplateArgs(C,T):this.compileArrayTemplateArgs(C,T)}},{key:"translate",value:function translate(C,T,B,q){T&&(q=this.config[T].i18n),q||(q=this.config.i18n);var W=q[C];return void 0===W&&(W=C),B&&(W=this.compileTemplate(W,B)),W}},{key:"onInit",value:function onInit(){(0,q.default)((0,L.default)(ElementorCommonApp.prototype),"onInit",this).call(this),this.config=elementorCommonConfig,this.setMarionetteTemplateCompiler()}}]),ElementorCommonApp}(elementorModules.ViewModule);window.elementorCommon=new ee,elementorCommon.initComponents()})()})();
=0;B--){var q=T[B];if(0===q.path.length&&"replace"===q.op){C=q.value;break}}B>-1&&(T=T.slice(B+1));var W=b("Patches").$;return r(C)?W(C,T):this.produce(C,(function(C){return W(C,T)}))},e}(),re=new te,ne=re.produce;re.produceWithPatches.bind(re),re.setAutoFreeze.bind(re),re.setUseProxies.bind(re),re.applyPatches.bind(re),re.createDraft.bind(re),re.finishDraft.bind(re);const oe=ne;function _typeof(C){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(C){return typeof C}:function(C){return C&&"function"==typeof Symbol&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},_typeof(C)}function toPropertyKey(C){var T=function toPrimitive(C,T){if("object"!=_typeof(C)||!C)return C;var B=C[Symbol.toPrimitive];if(void 0!==B){var q=B.call(C,T||"default");if("object"!=_typeof(q))return q;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===T?String:Number)(C)}(C,"string");return"symbol"==_typeof(T)?T:String(T)}function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(C);T&&(q=q.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,q)}return B}function _objectSpread2(C){for(var T=1;T-1){var W=B[q];return q>0&&(B.splice(q,1),B.unshift(W)),W.value}return le}return{get,put:function put(T,q){get(T)===le&&(B.unshift({key:T,value:q}),B.length>C&&B.pop())},getEntries:function getEntries(){return B},clear:function clear(){B=[]}}}(L,V);function memoized(){var T=H.get(arguments);if(T===le){if(T=C.apply(null,arguments),$){var B=H.getEntries().find((function(C){return $(C.value,T)}));B&&(T=B.value)}H.put(arguments,T)}return T}return memoized.clearCache=function(){return H.clear()},memoized}function createSelectorCreator(C){for(var T=arguments.length,B=new Array(T>1?T-1:0),q=1;q0&&W[W.length-1])||6!==U[0]&&2!==U[0])){L=0;continue}if(3===U[0]&&(!W||U[1]>W[0]&&U[1]-1}function getType(C){return""+C}function createActionCreatorInvariantMiddleware(C){return void 0===C&&(C={}),function(){return function(C){return function(T){return C(T)}}}}var ke=function(C){function MiddlewareArray(){for(var T=[],B=0;B",value:C};if("object"!=typeof C||null===C)return!1;if(null==U?void 0:U.has(C))return!1;for(var $=null!=q?q(C):Object.entries(C),V=W.length>0,_loop_2=function(C,$){var H=T?T+"."+C:C;if(V&&W.some((function(C){return C instanceof RegExp?C.test(H):H===C})))return"continue";return B($)?"object"==typeof $&&(L=findNonSerializableValue($,H,B,q,W,U))?{value:L}:void 0:{value:{keyPath:H,value:$}}},H=0,G=$;H0){var U=T.filter((function(T){return function takeNewKey(T,B,q){var W=q.entities[B.id],U=Object.assign({},W,B.changes),L=selectIdValue(U,C),$=L!==B.id;return $&&(T[B.id]=L,delete q.entities[B.id]),q.entities[L]=U,$}(q,T,B)})).length>0;U&&(B.ids=Object.keys(B.entities))}}function upsertManyMutably(T,B){var q=splitAddedUpdatedEntities(T,C,B),W=q[0];updateManyMutably(q[1],B),addManyMutably(W,B)}return{removeAll:(T=function removeAllMutably(C){Object.assign(C,{ids:[],entities:{}})},B=createStateOperator((function(C,B){return T(B)})),function operation(C){return B(C,void 0)}),addOne:createStateOperator(addOneMutably),addMany:createStateOperator(addManyMutably),setOne:createStateOperator(setOneMutably),setMany:createStateOperator((function setManyMutably(C,T){for(var B=0,q=C=ensureEntitiesArray(C);B-1;return B&&q}function isAsyncThunkArray(C){return"function"==typeof C[0]&&"pending"in C[0]&&"fulfilled"in C[0]&&"rejected"in C[0]}function isPending(){for(var C=[],T=0;T0)for(var V=C.getState(),H=Array.from(B.values()),G=0,K=H;G{"use strict";var q=B(38003).__,W=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=W(B(78983)),L=W(B(42081)),$=function(){function FilesUploadHandler(){(0,U.default)(this,FilesUploadHandler)}return(0,L.default)(FilesUploadHandler,null,[{key:"isUploadEnabled",value:function isUploadEnabled(C){return!["svg","application/json"].includes(C)||elementorCommon.config.filesUpload.unfilteredFiles}},{key:"setUploadTypeCaller",value:function setUploadTypeCaller(C){C.uploader.uploader.param("uploadTypeCaller","elementor-wp-media-upload")}},{key:"getUnfilteredFilesNonAdminDialog",value:function getUnfilteredFilesNonAdminDialog(){return elementorCommon.dialogsManager.createWidget("alert",{id:"e-unfiltered-files-disabled-dialog",headerMessage:q("Sorry, you can't upload that file yet","elementor"),message:q("This is because JSON files may pose a security risk.","elementor")+""+q("To upload them anyway, ask the site administrator to enable unfiltered file uploads.","elementor"),strings:{confirm:q("Got it","elementor")}})}},{key:"getUnfilteredFilesNotEnabledDialog",value:function getUnfilteredFilesNotEnabledDialog(C){var T=window.elementorAdmin||window.elementor;if(!T.config.user.is_administrator)return this.getUnfilteredFilesNonAdminDialog();return T.helpers.getSimpleDialog("e-enable-unfiltered-files-dialog",q("Enable Unfiltered File Uploads","elementor"),q("Before you enable unfiltered files upload, note that such files include a security risk. Elementor does run a process to remove possible malicious code, but there is still risk involved when using such files.","elementor"),q("Enable","elementor"),(function onConfirm(){elementorCommon.ajax.addRequest("enable_unfiltered_files_upload",{},!0),elementorCommon.config.filesUpload.unfilteredFiles=!0,C()}))}},{key:"getUnfilteredFilesNotEnabledImportTemplateDialog",value:function getUnfilteredFilesNotEnabledImportTemplateDialog(C){return(window.elementorAdmin||window.elementor).config.user.is_administrator?elementorCommon.dialogsManager.createWidget("confirm",{id:"e-enable-unfiltered-files-dialog-import-template",headerMessage:q("Enable Unfiltered File Uploads","elementor"),message:q("Before you enable unfiltered files upload, note that such files include a security risk. Elementor does run a process to remove possible malicious code, but there is still risk involved when using such files.","elementor")+""+q("If you do not enable uploading unfiltered files, any SVG or JSON (including lottie) files used in the uploaded template will not be imported.","elementor"),position:{my:"center center",at:"center center"},strings:{confirm:q("Enable and Import","elementor"),cancel:q("Import Without Enabling","elementor")},onConfirm:function onConfirm(){elementorCommon.ajax.addRequest("enable_unfiltered_files_upload",{success:function success(){elementorCommon.config.filesUpload.unfilteredFiles=!0,C()}},!0)},onCancel:function onCancel(){return C()}}):this.getUnfilteredFilesNonAdminDialog()}}]),FilesUploadHandler}();T.default=$},90381:(C,T)=>{"use strict";function _createForOfIteratorHelper(C,T){var B="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!B){if(Array.isArray(C)||(B=function _unsupportedIterableToArray(C,T){if(!C)return;if("string"==typeof C)return _arrayLikeToArray(C,T);var B=Object.prototype.toString.call(C).slice(8,-1);"Object"===B&&C.constructor&&(B=C.constructor.name);if("Map"===B||"Set"===B)return Array.from(C);if("Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return _arrayLikeToArray(C,T)}(C))||T&&C&&"number"==typeof C.length){B&&(C=B);var q=0,W=function F(){};return{s:W,n:function n(){return q>=C.length?{done:!0}:{done:!1,value:C[q++]}},e:function e(C){throw C},f:W}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var U,L=!0,$=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return L=C.done,C},e:function e(C){$=!0,U=C},f:function f(){try{L||null==B.return||B.return()}finally{if($)throw U}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,q=new Array(T);B{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(7501)),U=q(B(78983)),L=q(B(42081)),$=q(B(58724)),V=q(B(71173)),H=q(B(74910)),G=q(B(27597)),K=q(B(90381));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,H.default)(C);if(T){var W=(0,H.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,V.default)(this,B)}}var Q=function(C){(0,$.default)(ArgsObject,C);var T=_createSuper(ArgsObject);function ArgsObject(C){var B;return(0,U.default)(this,ArgsObject),(B=T.call(this)).args=C,B}return(0,L.default)(ArgsObject,[{key:"requireArgument",value:function requireArgument(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.args;if(!Object.prototype.hasOwnProperty.call(T,C))throw Error("".concat(C," is required."))}},{key:"requireArgumentType",value:function requireArgumentType(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,B),(0,W.default)(B[C])!==T)throw Error("".concat(C," invalid type: ").concat(T,"."))}},{key:"requireArgumentInstance",value:function requireArgumentInstance(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,B),!(B[C]instanceof T||(0,K.default)(B[C],T)))throw Error("".concat(C," invalid instance."))}},{key:"requireArgumentConstructor",value:function requireArgumentConstructor(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,B),B[C].constructor.toString()!==T.prototype.constructor.toString())throw Error("".concat(C," invalid constructor type."))}}],[{key:"getInstanceType",value:function getInstanceType(){return"ArgsObject"}}]),ArgsObject}(G.default);T.default=Q},27597:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(51121)),$=q(B(74910)),V=function(C){function InstanceType(){var C=this;(0,W.default)(this,InstanceType);for(var T=this instanceof InstanceType?this.constructor:void 0,B=[];T.__proto__&&T.__proto__.name;)B.push(T.__proto__),T=T.__proto__;B.reverse().forEach((function(T){return C instanceof T}))}return(0,U.default)(InstanceType,null,[{key:C,value:function value(C){var T=(0,L.default)((0,$.default)(InstanceType),Symbol.hasInstance,this).call(this,C);if(C&&!C.constructor.getInstanceType)return T;if(C&&(C.instanceTypes||(C.instanceTypes=[]),T||this.getInstanceType()===C.constructor.getInstanceType()&&(T=!0),T)){var B=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===C.instanceTypes.indexOf(B)&&C.instanceTypes.push(B)}return!T&&C&&(T=C.instanceTypes&&Array.isArray(C.instanceTypes)&&-1!==C.instanceTypes.indexOf(this.getInstanceType())),T}},{key:"getInstanceType",value:function getInstanceType(){elementorModules.ForceMethodImplementation()}}]),InstanceType}(Symbol.hasInstance);T.default=V},1192:(C,T,B)=>{"use strict";var q=B(73203)(B(7501)),W=function Module(){var C,T=jQuery,B=arguments,W=this,U={};this.getItems=function(C,T){if(T){var B=T.split("."),q=B.splice(0,1);if(!B.length)return C[q];if(!C[q])return;return this.getItems(C[q],B.join("."))}return C},this.getSettings=function(T){return this.getItems(C,T)},this.setSettings=function(B,U,L){if(L||(L=C),"object"===(0,q.default)(B))return T.extend(L,B),W;var $=B.split("."),V=$.splice(0,1);return $.length?(L[V]||(L[V]={}),W.setSettings($.join("."),U,L[V])):(L[V]=U,W)},this.getErrorMessage=function(C,T){var B;if("forceMethodImplementation"===C)B="The method '".concat(T,"' must to be implemented in the inheritor child.");else B="An error occurs";return B},this.forceMethodImplementation=function(C){throw new Error(this.getErrorMessage("forceMethodImplementation",C))},this.on=function(C,B){return"object"===(0,q.default)(C)?(T.each(C,(function(C){W.on(C,this)})),W):(C.split(" ").forEach((function(C){U[C]||(U[C]=[]),U[C].push(B)})),W)},this.off=function(C,T){if(!U[C])return W;if(!T)return delete U[C],W;var B=U[C].indexOf(T);return-1!==B&&(delete U[C][B],U[C]=U[C].filter((function(C){return C}))),W},this.trigger=function(C){var B="on"+C[0].toUpperCase()+C.slice(1),q=Array.prototype.slice.call(arguments,1);W[B]&&W[B].apply(W,q);var L=U[C];return L?(T.each(L,(function(C,T){T.apply(W,q)})),W):W},function init(){W.__construct.apply(W,B),function ensureClosureMethods(){T.each(W,(function(C){var T=W[C];"function"==typeof T&&(W[C]=function(){return T.apply(W,arguments)})}))}(),function initSettings(){C=W.getDefaultSettings();var q=B[0];q&&T.extend(!0,C,q)}(),W.trigger("init")}()};W.prototype.__construct=function(){},W.prototype.getDefaultSettings=function(){return{}},W.prototype.getConstructorID=function(){return this.constructor.name},W.extend=function(C){var T=jQuery,B=this,q=function child(){return B.apply(this,arguments)};return T.extend(q,B),(q.prototype=Object.create(T.extend({},B.prototype,C))).constructor=q,q.__super__=B.prototype,q},C.exports=W},99956:(C,T,B)=>{"use strict";var q=B(73203)(B(93231));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(C);T&&(q=q.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,q)}return B}function _objectSpread(C){for(var T=1;T{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.default=function getUserTimestamp(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,T=C.getTimezoneOffset(),B=new Date(C.getTime()-6e4*T).toISOString();B=B.slice(0,-1);var q=T/60,W=0<=q?"+":"-",U=Math.abs(Math.floor(q)),L=60*Math.abs(q%1);return B+(W+(10>U?"0":""))+U+":"+(10>L?"0":"")+L}},70687:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Media",{enumerable:!0,get:function get(){return q.Media}});var q=B(41403)},41403:(C,T,B)=>{"use strict";var q=B(38003).__,W=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Media=void 0;var U=W(B(50824)),L=W(B(10029)),$=W(B(78983)),V=W(B(42081)),H=W(B(51121)),G=W(B(58724)),K=W(B(71173)),Q=W(B(74910)),J=W(B(76072)),X=W(B(40548));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,Q.default)(C);if(T){var W=(0,Q.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,K.default)(this,B)}}var Y=function(C){(0,G.default)(Media,C);var T,B=_createSuper(Media);function Media(){return(0,$.default)(this,Media),B.apply(this,arguments)}return(0,V.default)(Media,[{key:"validateArgs",value:function validateArgs(){this.requireArgumentInstance("file",File)}},{key:"getRequestData",value:function getRequestData(){var C=(0,H.default)((0,Q.default)(Media.prototype),"getRequestData",this).call(this);return C.namespace="wp",C.version="2",C}},{key:"applyBeforeCreate",value:function applyBeforeCreate(C){var T;return C.headers={"Content-Disposition":"attachment; filename=".concat(this.file.name),"Content-Type":this.file.type},C.query={uploadTypeCaller:"elementor-wp-media-upload"},C.data=this.file,null!==(T=C.options)&&void 0!==T&&T.progress&&(this.toast=elementor.notifications.showToast({message:q("Uploading..."),sticky:!0})),C}},{key:"applyAfterCreate",value:function applyAfterCreate(C,T){var B;return null!==(B=T.options)&&void 0!==B&&B.progress&&this.toast.hide(),C}},{key:"run",value:(T=(0,L.default)(U.default.mark((function _callee(){return U.default.wrap((function _callee$(C){for(;;)switch(C.prev=C.next){case 0:if(this.file=this.args.file,!(this.file.size>parseInt(window._wpPluploadSettings.defaults.filters.max_file_size,10))){C.next=3;break}throw new Error(q("The file exceeds the maximum upload size for this site.","elementor"));case 3:if(window._wpPluploadSettings.defaults.filters.mime_types[0].extensions.split(",").includes(this.file.name.split(".").pop())||elementor.config.filesUpload.unfilteredFiles){C.next=6;break}return X.default.getUnfilteredFilesNotEnabledDialog((function(){})).show(),C.abrupt("return");case 6:return C.next=8,(0,H.default)((0,Q.default)(Media.prototype),"run",this).call(this);case 8:return C.abrupt("return",C.sent);case 9:case"end":return C.stop()}}),_callee,this)}))),function run(){return T.apply(this,arguments)})}],[{key:"getEndpointFormat",value:function getEndpointFormat(){return"media"}}]),Media}(J.default);T.Media=Y},13450:(C,T,B)=>{"use strict";var q=B(73203),W=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=q(B(78983)),L=q(B(42081)),$=q(B(58724)),V=q(B(71173)),H=q(B(74910)),G=q(B(19263)),K=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==W(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var q={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in C)if("default"!==L&&Object.prototype.hasOwnProperty.call(C,L)){var $=U?Object.getOwnPropertyDescriptor(C,L):null;$&&($.get||$.set)?Object.defineProperty(q,L,$):q[L]=C[L]}q.default=C,B&&B.set(C,q);return q}(B(70687));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,H.default)(C);if(T){var W=(0,H.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,V.default)(this,B)}}var Q=function(C){(0,$.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,U.default)(this,Component),T.apply(this,arguments)}return(0,L.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"wp"}},{key:"defaultData",value:function defaultData(){return this.importCommands(K)}}]),Component}(G.default);T.default=Q},52253:C=>{"use strict";C.exports=function Debug(){var C=this,T=[],B={},q={},W=function onError(T){var q,W=null===(q=T.originalEvent)||void 0===q?void 0:q.error;if(W){var U=!1,L=B.urlsToWatch;jQuery.each(L,(function(){if(-1!==W.stack.indexOf(this))return U=!0,!1})),U&&C.addError({type:W.name,message:W.message,url:T.originalEvent.filename,line:T.originalEvent.lineno,column:T.originalEvent.colno})}};this.addURLToWatch=function(C){B.urlsToWatch.push(C)},this.addCustomError=function(C,T,B){var q={type:C.name,message:C.message,url:C.fileName||C.sourceURL,line:C.lineNumber||C.line,column:C.columnNumber||C.column,customFields:{category:T||"general",tag:B}};if(!q.url){var W=C.stack.match(/\n {4}at (.*?(?=:(\d+):(\d+)))/);W&&(q.url=W[1],q.line=W[2],q.column=W[3])}this.addError(q)},this.addError=function(B){var q={type:"Error",timestamp:Math.floor((new Date).getTime()/1e3),message:null,url:null,line:null,column:null,customFields:{}};T.push(jQuery.extend(!0,q,B)),C.sendErrors()},this.sendErrors=function(){q.$window.off("error",W),jQuery.ajax({url:elementorCommon.config.ajax.url,method:"POST",data:{action:"elementor_js_log",_nonce:elementorCommon.ajax.getSettings("nonce"),data:T},success:function success(){T=[],q.$window.on("error",W)}})},function init(){!function initSettings(){B={debounceDelay:500,urlsToWatch:["elementor/assets"]}}(),function initElements(){q.$window=jQuery(window)}(),function bindEvents(){q.$window.on("error",W)}(),C.sendErrors=_.debounce(C.sendErrors,B.debounceDelay)}()}},90287:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=function(){function Helpers(){(0,W.default)(this,Helpers)}return(0,U.default)(Helpers,[{key:"softDeprecated",value:function softDeprecated(C,T,B){elementorDevTools.deprecation.deprecated(C,T,B),elementorDevTools.deprecation.deprecated("elementorCommon.helpers.softDeprecated()","3.7.0","elementorDevTools.deprecation.deprecated()")}},{key:"hardDeprecated",value:function hardDeprecated(C,T,B){elementorDevTools.deprecation.deprecated(C,T,B),elementorDevTools.deprecation.deprecated("elementorCommon.helpers.hardDeprecated()","3.7.0","elementorDevTools.deprecation.deprecated()")}},{key:"deprecatedMessage",value:function deprecatedMessage(C,T,B,q){elementorDevTools.deprecation.deprecated(T,B,q),elementorDevTools.deprecation.deprecated("elementorCommon.helpers.deprecatedMessage()","3.7.0","elementorDevTools.deprecation.deprecated()")}},{key:"consoleWarn",value:function consoleWarn(){var C;(C=elementorDevTools).consoleWarn.apply(C,arguments),elementorDevTools.deprecation.deprecated("elementorCommon.helpers.consoleWarn()","3.7.0","elementorDevTools.consoleWarn()")}},{key:"consoleError",value:function consoleError(C){console.error(C),elementorDevTools.deprecation.deprecated("elementorCommon.helpers.consoleError()","3.7.0","console.error()")}},{key:"deprecatedMethod",value:function deprecatedMethod(C,T,B){elementorDevTools.deprecation.deprecated(C,T,B),elementorDevTools.deprecation.deprecated("elementorCommon.helpers.deprecatedMethod()","2.8.0","elementorDevTools.deprecation.deprecated()")}},{key:"cloneObject",value:function cloneObject(C){return JSON.parse(JSON.stringify(C))}},{key:"upperCaseWords",value:function upperCaseWords(C){return(C+"").replace(/^(.)|\s+(.)/g,(function(C){return C.toUpperCase()}))}},{key:"getUniqueId",value:function getUniqueId(){return Math.random().toString(16).substr(2,7)}}]),Helpers}();T.default=L},35107:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,W.default)(this,_default),T.apply(this,arguments)}return(0,U.default)(_default,[{key:"get",value:function get(C,T){var B;T=T||{};try{B=T.session?sessionStorage:localStorage}catch(T){return C?void 0:{}}var q=B.getItem("elementor");(q=q?JSON.parse(q):{}).__expiration||(q.__expiration={});var W=q.__expiration,U=[];C?W[C]&&(U=[C]):U=Object.keys(W);var L=!1;return U.forEach((function(C){new Date(W[C]){"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(40131)),U=q(B(78983)),L=q(B(42081)),$=q(B(77266)),V=q(B(58724)),H=q(B(71173)),G=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,G.default)(C);if(T){var W=(0,G.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,V.default)(_default,C);var T=_createSuper(_default);function _default(){var C;(0,U.default)(this,_default);for(var B=arguments.length,q=new Array(B),W=0;W{"use strict";var q=B(38003).__,W=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=W(B(78983)),L=W(B(42081)),$=W(B(51121)),V=W(B(58724)),H=W(B(71173)),G=W(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,G.default)(C);if(T){var W=(0,G.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,V.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,U.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"addPopupPlugin",value:function addPopupPlugin(){var C=0;jQuery.fn.elementorConnect=function(T){var B=this;null!=T&&T.popup&&(jQuery(this).on("click",(function(C){var q,W;C.preventDefault();var U=(null===(q=T.popup)||void 0===q?void 0:q.width)||600,L=(null===(W=T.popup)||void 0===W?void 0:W.height)||700;window.open(jQuery(B).attr("href")+"&mode=popup","elementorConnect","toolbar=no, menubar=no, width=".concat(U,", height=").concat(L,", top=200, left=0"))})),delete T.popup);var W=jQuery.extend({success:function success(){return location.reload()},error:function error(){elementor.notifications.showToast({message:q("Unable to connect","elementor")})},parseUrl:function parseUrl(C){return C}},T);return this.each((function(){C++;var T=jQuery(this),B="cb"+C;T.attr({target:"_blank",rel:"opener",href:W.parseUrl(T.attr("href")+"&mode=popup&callback_id="+B)}),elementorCommon.elements.$window.on("elementor/connect/success/"+B,W.success).on("elementor/connect/error/"+B,W.error)})),this}}},{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectors:{connectButton:"#elementor-template-library-connect__button"}}}},{key:"getDefaultElements",value:function getDefaultElements(){return{$connectButton:jQuery(this.getSettings("selectors.connectButton"))}}},{key:"applyPopup",value:function applyPopup(){this.elements.$connectButton.elementorConnect()}},{key:"onInit",value:function onInit(){(0,$.default)((0,G.default)(_default.prototype),"onInit",this).call(this),this.addPopupPlugin(),this.applyPopup()}}]),_default}(elementorModules.ViewModule);T.default=K},28095:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Index=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(Index,C);var T=_createSuper(Index);function Index(){return(0,W.default)(this,Index),T.apply(this,arguments)}return(0,U.default)(Index,null,[{key:"getEndpointFormat",value:function getEndpointFormat(){return"send-event"}}]),Index}(q(B(76072)).default);T.Index=H},26231:(C,T,B)=>{"use strict";var q=B(73203),W=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=q(B(78983)),L=q(B(42081)),$=q(B(58724)),V=q(B(71173)),H=q(B(74910)),G=q(B(19263)),K=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==W(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var q={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in C)if("default"!==L&&Object.prototype.hasOwnProperty.call(C,L)){var $=U?Object.getOwnPropertyDescriptor(C,L):null;$&&($.get||$.set)?Object.defineProperty(q,L,$):q[L]=C[L]}q.default=C,B&&B.set(C,q);return q}(B(28095));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,H.default)(C);if(T){var W=(0,H.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,V.default)(this,B)}}var Q=function(C){(0,$.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,U.default)(this,Component),T.apply(this,arguments)}return(0,L.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"event-tracker"}},{key:"defaultData",value:function defaultData(){return this.importCommands(K)}}]),Component}(G.default);T.default=Q},62879:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(17264)),$=function(){function Events(){(0,W.default)(this,Events)}return(0,U.default)(Events,[{key:"dispatchEvent",value:function dispatchEvent(C){C&&(C.ts=(0,L.default)(),$e.data.create("event-tracker/index",{event_data:C}))}}]),Events}();T.default=$},27948:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"NavigateDown",{enumerable:!0,get:function get(){return q.NavigateDown}}),Object.defineProperty(T,"NavigateSelect",{enumerable:!0,get:function get(){return W.NavigateSelect}}),Object.defineProperty(T,"NavigateUp",{enumerable:!0,get:function get(){return U.NavigateUp}});var q=B(85925),W=B(98291),U=B(71117)},85925:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.NavigateDown=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(NavigateDown,C);var T=_createSuper(NavigateDown);function NavigateDown(){return(0,W.default)(this,NavigateDown),T.apply(this,arguments)}return(0,U.default)(NavigateDown,[{key:"apply",value:function apply(){this.component.getItemsView().activateNextItem()}}]),NavigateDown}(q(B(83024)).default);T.NavigateDown=H;var G=H;T.default=G},98291:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.NavigateSelect=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(NavigateSelect,C);var T=_createSuper(NavigateSelect);function NavigateSelect(){return(0,W.default)(this,NavigateSelect),T.apply(this,arguments)}return(0,U.default)(NavigateSelect,[{key:"apply",value:function apply(C){this.component.getItemsView().goToActiveItem(C)}}]),NavigateSelect}(q(B(83024)).default);T.NavigateSelect=H;var G=H;T.default=G},71117:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.NavigateUp=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(NavigateUp,C);var T=_createSuper(NavigateUp);function NavigateUp(){return(0,W.default)(this,NavigateUp),T.apply(this,arguments)}return(0,U.default)(NavigateUp,[{key:"apply",value:function apply(){this.component.getItemsView().activateNextItem(!0)}}]),NavigateUp}(q(B(83024)).default);T.NavigateUp=H;var G=H;T.default=G},47729:(C,T,B)=>{"use strict";var q=B(73203),W=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=q(B(93231)),L=q(B(78983)),$=q(B(42081)),V=q(B(51121)),H=q(B(58724)),G=q(B(71173)),K=q(B(74910)),Q=q(B(19076)),J=q(B(2365)),X=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==W(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var q={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in C)if("default"!==L&&Object.prototype.hasOwnProperty.call(C,L)){var $=U?Object.getOwnPropertyDescriptor(C,L):null;$&&($.get||$.set)?Object.defineProperty(q,L,$):q[L]=C[L]}q.default=C,B&&B.set(C,q);return q}(B(27948));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(C);T&&(q=q.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,q)}return B}function _objectSpread(C){for(var T=1;T{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910)),H=q(B(47729));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var G=function(C){(0,L.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,W.default)(this,_default),T.apply(this,arguments)}return(0,U.default)(_default,[{key:"onInit",value:function onInit(){window.top===window&&(this.channel=Backbone.Radio.channel("ELEMENTOR:finder"),$e.components.register(new H.default({manager:this})))}}]),_default}(elementorModules.Module);T.default=G},56745:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,W.default)(this,_default),T.apply(this,arguments)}return(0,U.default)(_default,[{key:"defaults",value:function defaults(){return{description:"",icon:"settings",url:"",keywords:[],actions:[],lock:null}}}]),_default}(Backbone.Model);T.default=H},44027:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910)),H=q(B(71362)),G=q(B(98304));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var K=function(C){(0,L.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,W.default)(this,_default),T.apply(this,arguments)}return(0,U.default)(_default,[{key:"id",value:function id(){return"elementor-finder__results-container"}},{key:"ui",value:function ui(){return this.selectors={noResults:"#elementor-finder__no-results",categoryItem:".elementor-finder__results__item"},this.selectors}},{key:"events",value:function events(){return{"mouseenter @ui.categoryItem":"onCategoryItemMouseEnter"}}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-finder-results-container"}},{key:"getChildView",value:function getChildView(C){return C.get("dynamic")?G.default:H.default}},{key:"initialize",value:function initialize(){this.$activeItem=null,this.childViewContainer="#elementor-finder__results",this.collection=new Backbone.Collection(Object.values(elementorCommon.finder.getSettings("data")))}},{key:"activateItem",value:function activateItem(C){this.$activeItem&&this.$activeItem.removeClass("elementor-active"),C.addClass("elementor-active"),this.$activeItem=C}},{key:"activateNextItem",value:function activateNextItem(C){var T=jQuery(this.selectors.categoryItem),B=0;this.$activeItem&&((B=T.index(this.$activeItem)+(C?-1:1))>=T.length?B=0:B<0&&(B=T.length-1));var q=T.eq(B);this.activateItem(q),q[0].scrollIntoView({block:"nearest"})}},{key:"goToActiveItem",value:function goToActiveItem(C){var T=this.$activeItem.children("a"),B=$e.shortcuts.isControlEvent(C);B&&T.attr("target","_blank"),T[0].click(),B&&T.removeAttr("target")}},{key:"onCategoryItemMouseEnter",value:function onCategoryItemMouseEnter(C){this.activateItem(jQuery(C.currentTarget))}},{key:"onChildviewToggleVisibility",value:function onChildviewToggleVisibility(){var C=this.children.every((function(C){return!C.isVisible}));this.ui.noResults.toggle(C)}}]),_default}(Marionette.CompositeView);T.default=K},71362:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910)),H=q(B(13448)),G=q(B(56745));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var K=function(C){(0,L.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,W.default)(this,_default),T.apply(this,arguments)}return(0,U.default)(_default,[{key:"className",value:function className(){return"elementor-finder__results__category"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-finder__results__category"}},{key:"getChildView",value:function getChildView(){return H.default}},{key:"initialize",value:function initialize(){this.childViewContainer=".elementor-finder__results__category__items",this.isVisible=!0;var C=this.model.get("items");C&&(C=Object.values(C)),this.collection=new Backbone.Collection(C,{model:G.default})}},{key:"filter",value:function filter(C){var T=this.getTextFilter();return C.get("title").toLowerCase().indexOf(T)>=0||C.get("keywords").some((function(C){return C.indexOf(T)>=0}))}},{key:"getTextFilter",value:function getTextFilter(){return elementorCommon.finder.channel.request("filter:text").trim().toLowerCase()}},{key:"toggleElement",value:function toggleElement(){var C=!!this.children.length;C!==this.isVisible&&(this.isVisible=C,this.$el.toggle(C),this.triggerMethod("toggle:visibility"))}},{key:"onRender",value:function onRender(){this.listenTo(elementorCommon.finder.channel,"filter:change",this.onFilterChange.bind(this))}},{key:"onFilterChange",value:function onFilterChange(){this._renderChildren()}},{key:"onRenderCollection",value:function onRenderCollection(){this.toggleElement()}}]),_default}(Marionette.CompositeView);T.default=K},27308:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910)),H=q(B(44027));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var G=function(C){(0,L.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,W.default)(this,_default),T.apply(this,arguments)}return(0,U.default)(_default,[{key:"id",value:function id(){return"elementor-finder"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-finder"}},{key:"ui",value:function ui(){return{searchInput:"#elementor-finder__search__input"}}},{key:"events",value:function events(){return{"input @ui.searchInput":"onSearchInputInput"}}},{key:"regions",value:function regions(){return{content:"#elementor-finder__content"}}},{key:"showCategoriesView",value:function showCategoriesView(){this.content.show(new H.default)}},{key:"onSearchInputInput",value:function onSearchInputInput(){var C=this.ui.searchInput.val();C&&(elementorCommon.finder.channel.reply("filter:text",C).trigger("filter:change"),this.content.currentView instanceof H.default||this.showCategoriesView()),this.content.currentView.$el.toggle(!!C)}}]),_default}(Marionette.LayoutView);T.default=G},98304:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(51121)),$=q(B(58724)),V=q(B(71173)),H=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,H.default)(C);if(T){var W=(0,H.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,V.default)(this,B)}}var G=function(C){(0,$.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,W.default)(this,_default),T.apply(this,arguments)}return(0,U.default)(_default,[{key:"className",value:function className(){return(0,L.default)((0,H.default)(_default.prototype),"className",this).call(this)+" elementor-finder__results__category--dynamic"}},{key:"ui",value:function ui(){return{title:".elementor-finder__results__category__title"}}},{key:"fetchData",value:function fetchData(){var C=this;this.ui.loadingIcon.show(),elementorCommon.ajax.addRequest("finder_get_category_items",{data:{category:this.model.get("name"),filter:this.getTextFilter()},success:function success(T){C.isDestroyed||(C.collection.set(T),C.toggleElement(),C.ui.loadingIcon.hide())}})}},{key:"filter",value:function filter(){return!0}},{key:"onFilterChange",value:function onFilterChange(){this.fetchData()}},{key:"onRender",value:function onRender(){(0,L.default)((0,H.default)(_default.prototype),"onRender",this).call(this),this.ui.loadingIcon=jQuery("",{class:"eicon-loading eicon-animation-spin"}),this.ui.title.after(this.ui.loadingIcon),this.fetchData()}}]),_default}(q(B(71362)).default);T.default=G},13448:(C,T,B)=>{"use strict";var q=B(38003).__,W=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=W(B(78983)),L=W(B(42081)),$=W(B(58724)),V=W(B(71173)),H=W(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,H.default)(C);if(T){var W=(0,H.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,V.default)(this,B)}}var G=function(C){(0,$.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,U.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"className",value:function className(){return"elementor-finder__results__item"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-finder__results__item"}},{key:"events",value:function events(){this.$el[0].addEventListener("click",this.onClick.bind(this),!0)}},{key:"onClick",value:function onClick(C){var T=this,B=this.model.get("lock");null!=B&&B.is_locked&&(C.preventDefault(),C.stopImmediatePropagation(),elementorCommon.dialogsManager.createWidget("confirm",{id:"elementor-finder__lock-dialog",headerMessage:B.content.heading,message:B.content.description,position:{my:"center center",at:"center center"},strings:{confirm:B.button.text,cancel:q("Cancel","elementor")},onConfirm:function onConfirm(){var C=T.replaceLockLinkPlaceholders(B.button.url);window.open(C,"_blank")}}).show())}},{key:"replaceLockLinkPlaceholders",value:function replaceLockLinkPlaceholders(C){return C.replace(/%%utm_source%%/g,"finder").replace(/%%utm_medium%%/g,"wp-dash")}}]),_default}(Marionette.ItemView);T.default=G},2365:(C,T,B)=>{"use strict";var q=B(38003).__,W=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=W(B(78983)),L=W(B(42081)),$=W(B(51121)),V=W(B(58724)),H=W(B(71173)),G=W(B(74910)),K=W(B(27308));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,G.default)(C);if(T){var W=(0,G.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,H.default)(this,B)}}var Q=function(C){(0,V.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,U.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"getModalOptions",value:function getModalOptions(){return{id:"elementor-finder__modal",draggable:!0,effects:{show:"show",hide:"hide"},position:{enable:!1}}}},{key:"getLogoOptions",value:function getLogoOptions(){return{title:q("Finder","elementor")}}},{key:"initialize",value:function initialize(){for(var C,T=arguments.length,B=new Array(T),q=0;q{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(77266)),$=q(B(58724)),V=q(B(71173)),H=q(B(74910)),G=q(B(19952)),K=q(B(93231)),Q=q(B(17341)),J=q(B(40647));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(C);T&&(q=q.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,q)}return B}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,H.default)(C);if(T){var W=(0,H.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,V.default)(this,B)}}var X=function(C){(0,$.default)(BaseError,C);var T=_createSuper(BaseError);function BaseError(){var C,B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",q=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",U=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return(0,W.default)(this,BaseError),C=T.call(this,B),(0,K.default)((0,L.default)(C),"code",""),(0,K.default)((0,L.default)(C),"data",[]),C.code=q,C.data=U,C}return(0,U.default)(BaseError,[{key:"notify",value:function notify(){Q.default.error(function _objectSpread(C){for(var T=1;T1&&void 0!==arguments[1]?arguments[1]:"",arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}},{key:"getHTTPErrorCode",value:function getHTTPErrorCode(){(0,J.default)()}}]),BaseError}((0,G.default)(Error));T.default=X},71148:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.DefaultError=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(DefaultError,C);var T=_createSuper(DefaultError);function DefaultError(){return(0,W.default)(this,DefaultError),T.apply(this,arguments)}return(0,U.default)(DefaultError,null,[{key:"getHTTPErrorCode",value:function getHTTPErrorCode(){return 501}}]),DefaultError}(q(B(7283)).default);T.DefaultError=H;var G=H;T.default=G},2884:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Error404=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910)),H=q(B(7283)),G=q(B(17341));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var K=function(C){(0,L.default)(Error404,C);var T=_createSuper(Error404);function Error404(){return(0,W.default)(this,Error404),T.apply(this,arguments)}return(0,U.default)(Error404,[{key:"notify",value:function notify(){G.default.warn(this.message)}}],[{key:"getHTTPErrorCode",value:function getHTTPErrorCode(){return 404}}]),Error404}(H.default);T.Error404=K;var Q=K;T.default=Q},91305:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"DefaultError",{enumerable:!0,get:function get(){return q.DefaultError}}),Object.defineProperty(T,"Error404",{enumerable:!0,get:function get(){return W.Error404}});var q=B(71148),W=B(2884)},83024:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910)),H=q(B(74774)),G=q(B(70170));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var K=function(C){(0,L.default)(CommandBase,C);var T=_createSuper(CommandBase);function CommandBase(){return(0,W.default)(this,CommandBase),T.apply(this,arguments)}return(0,U.default)(CommandBase,[{key:"onBeforeRun",value:function onBeforeRun(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runUIBefore(this.command,C)}},{key:"onAfterRun",value:function onAfterRun(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0;$e.hooks.runUIAfter(this.command,C,T)}},{key:"onBeforeApply",value:function onBeforeApply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runDataDependency(this.command,C)}},{key:"onAfterApply",value:function onAfterApply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0;$e.hooks.runDataAfter(this.command,C,T)}},{key:"onCatchApply",value:function onCatchApply(C){this.runCatchHooks(C)}},{key:"runCatchHooks",value:function runCatchHooks(C){$e.hooks.runDataCatch(this.command,this.args,C),$e.hooks.runUICatch(this.command,this.args,C)}},{key:"requireContainer",value:function requireContainer(){var C=this,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.args;if(G.default.deprecated("requireContainer()","3.7.0","Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`"),!T.container&&!T.containers)throw Error("container or containers are required.");if(T.container&&T.containers)throw Error("container and containers cannot go together please select one of them.");(T.containers||[T.container]).forEach((function(T){C.requireArgumentInstance("container",elementorModules.editor.Container,{container:T})}))}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandBase"}}]),CommandBase}(H.default);T.default=K},46867:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(CommandCallbackBase,C);var T=_createSuper(CommandCallbackBase);function CommandCallbackBase(){return(0,W.default)(this,CommandCallbackBase),T.apply(this,arguments)}return(0,U.default)(CommandCallbackBase,[{key:"apply",value:function apply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.constructor.getCallback()(C)}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandCallbackBase"}},{key:"getCallback",value:function getCallback(){return this.registerConfig.callback}}]),CommandCallbackBase}(q(B(83024)).default);T.default=H},76072:(C,T,B)=>{"use strict";var q=B(73203),W=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=q(B(78983)),L=q(B(42081)),$=q(B(77266)),V=q(B(58724)),H=q(B(71173)),G=q(B(74910)),K=q(B(93231)),Q=q(B(83024)),J=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==W(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var q={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in C)if("default"!==L&&Object.prototype.hasOwnProperty.call(C,L)){var $=U?Object.getOwnPropertyDescriptor(C,L):null;$&&($.get||$.set)?Object.defineProperty(q,L,$):q[L]=C[L]}q.default=C,B&&B.set(C,q);return q}(B(91305));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,G.default)(C);if(T){var W=(0,G.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,H.default)(this,B)}}var X=function(C){(0,V.default)(CommandData,C);var T=_createSuper(CommandData);function CommandData(C){var B,q,W=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$e.data;return(0,U.default)(this,CommandData),q=T.call(this,C,W),(0,K.default)((0,$.default)(q),"data",void 0),(0,K.default)((0,$.default)(q),"type",void 0),null!==(B=q.args.options)&&void 0!==B&&B.type&&(q.type=q.args.options.type),q}return(0,L.default)(CommandData,[{key:"getApplyMethods",value:function getApplyMethods(){var C,T;switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.type){case"create":C=this.applyBeforeCreate,T=this.applyAfterCreate;break;case"delete":C=this.applyBeforeDelete,T=this.applyAfterDelete;break;case"get":C=this.applyBeforeGet,T=this.applyAfterGet;break;case"update":C=this.applyBeforeUpdate,T=this.applyAfterUpdate;break;case"options":C=this.applyBeforeOptions,T=this.applyAfterOptions;break;default:return!1}return{before:C.bind(this),after:T.bind(this)}}},{key:"getRequestData",value:function getRequestData(){return{type:this.type,args:this.args,timestamp:(new Date).getTime(),component:this.component,command:this.command,endpoint:$e.data.commandToEndpoint(this.command,JSON.parse(JSON.stringify(this.args)),this.constructor.getEndpointFormat())}}},{key:"apply",value:function apply(){var C=this,T=this.getApplyMethods();this.args=T.before(this.args);var B=this.getRequestData();return $e.data.fetch(B).then((function(q){return C.data=q,C.data=T.after(q,C.args),C.data={data:C.data},C.data=Object.assign({__requestData__:B},C.data),C.data}))}},{key:"applyBeforeCreate",value:function applyBeforeCreate(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}},{key:"applyAfterCreate",value:function applyAfterCreate(C){return C}},{key:"applyBeforeDelete",value:function applyBeforeDelete(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}},{key:"applyAfterDelete",value:function applyAfterDelete(C){return C}},{key:"applyBeforeGet",value:function applyBeforeGet(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}},{key:"applyAfterGet",value:function applyAfterGet(C){return C}},{key:"applyBeforeUpdate",value:function applyBeforeUpdate(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}},{key:"applyAfterUpdate",value:function applyAfterUpdate(C){return C}},{key:"applyBeforeOptions",value:function applyBeforeOptions(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}},{key:"applyAfterOptions",value:function applyAfterOptions(C){return C}},{key:"applyAfterCatch",value:function applyAfterCatch(C){C.notify()}},{key:"onCatchApply",value:function onCatchApply(C){var T,B,q=(null===(T=C)||void 0===T||null===(B=T.data)||void 0===B?void 0:B.status)||501,W=Object.values(J).find((function(C){return C.getHTTPErrorCode()===q}));W||(W=J.DefaultError),C=W.create(C.message,C.code,C.data||[]),this.runCatchHooks(C),this.applyAfterCatch(C)}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandData"}},{key:"getEndpointFormat",value:function getEndpointFormat(){return null}}]),CommandData}(Q.default);T.default=X},74774:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910)),H=q(B(93231)),G=q(B(42618)),K=q(B(70170));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var Q=function(C){(0,L.default)(CommandInfra,C);var T=_createSuper(CommandInfra);function CommandInfra(){var C,B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,W.default)(this,CommandInfra),!(C=T.call(this,B)).constructor.registerConfig)throw RangeError("Doing it wrong: Each command type should have `registerConfig`.");return C.command=C.constructor.getCommand(),C.component=C.constructor.getComponent(),C.initialize(B),B=C.args,C.validateArgs(B),C}return(0,U.default)(CommandInfra,[{key:"currentCommand",get:function get(){return K.default.deprecated("this.currentCommand","3.7.0","this.command"),this.command}},{key:"initialize",value:function initialize(){}},{key:"validateArgs",value:function validateArgs(){}},{key:"apply",value:function apply(){elementorModules.ForceMethodImplementation()}},{key:"run",value:function run(){return this.apply(this.args)}},{key:"onBeforeRun",value:function onBeforeRun(){}},{key:"onAfterRun",value:function onAfterRun(){}},{key:"onBeforeApply",value:function onBeforeApply(){}},{key:"onAfterApply",value:function onAfterApply(){}},{key:"onCatchApply",value:function onCatchApply(C){}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandInfra"}},{key:"getInfo",value:function getInfo(){return{}}},{key:"getCommand",value:function getCommand(){return this.registerConfig.command}},{key:"getComponent",value:function getComponent(){return this.registerConfig.component}},{key:"setRegisterConfig",value:function setRegisterConfig(C){this.registerConfig=Object.freeze(C)}}]),CommandInfra}(G.default);T.default=Q,(0,H.default)(Q,"registerConfig",null)},25683:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Close=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(Close,C);var T=_createSuper(Close);function Close(){return(0,W.default)(this,Close),T.apply(this,arguments)}return(0,U.default)(Close,[{key:"apply",value:function apply(){this.component.close()}}]),Close}(q(B(83024)).default);T.Close=H;var G=H;T.default=G},53832:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Close",{enumerable:!0,get:function get(){return q.Close}}),Object.defineProperty(T,"Open",{enumerable:!0,get:function get(){return W.Open}}),Object.defineProperty(T,"Toggle",{enumerable:!0,get:function get(){return U.Toggle}});var q=B(25683),W=B(57273),U=B(7493)},57273:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Open=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(Open,C);var T=_createSuper(Open);function Open(){return(0,W.default)(this,Open),T.apply(this,arguments)}return(0,U.default)(Open,[{key:"apply",value:function apply(){$e.route(this.component.getNamespace())}}]),Open}(q(B(83024)).default);T.Open=H;var G=H;T.default=G},7493:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Toggle=void 0;var W=q(B(78983)),U=q(B(42081)),L=q(B(58724)),$=q(B(71173)),V=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,V.default)(C);if(T){var W=(0,V.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,$.default)(this,B)}}var H=function(C){(0,L.default)(Toggle,C);var T=_createSuper(Toggle);function Toggle(){return(0,W.default)(this,Toggle),T.apply(this,arguments)}return(0,U.default)(Toggle,[{key:"apply",value:function apply(){this.component.isOpen?this.component.close():$e.route(this.component.getNamespace())}}]),Toggle}(q(B(83024)).default);T.Toggle=H;var G=H;T.default=G},19263:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(93231)),U=q(B(40131)),L=q(B(78983)),$=q(B(42081)),V=q(B(58724)),H=q(B(71173)),G=q(B(74910)),K=q(B(46867)),Q=B(71177),J=q(B(1192)),X=q(B(40647)),Y=q(B(70170));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(C);T&&(q=q.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,q)}return B}function _objectSpread(C){for(var T=1;T0&&void 0!==arguments[0]?arguments[0]:{};C.manager&&(this.manager=C.manager),this.commands=this.defaultCommands(),this.commandsInternal=this.defaultCommandsInternal(),this.hooks=this.defaultHooks(),this.routes=this.defaultRoutes(),this.tabs=this.defaultTabs(),this.shortcuts=this.defaultShortcuts(),this.utils=this.defaultUtils(),this.data=this.defaultData(),this.uiStates=this.defaultUiStates(),this.states=this.defaultStates(),this.defaultRoute="",this.currentTab=""}},{key:"registerAPI",value:function registerAPI(){var C=this;Object.entries(this.getTabs()).forEach((function(T){return C.registerTabRoute(T[0])})),Object.entries(this.getRoutes()).forEach((function(T){var B=(0,U.default)(T,2),q=B[0],W=B[1];return C.registerRoute(q,W)})),Object.entries(this.getCommands()).forEach((function(T){var B=(0,U.default)(T,2),q=B[0],W=B[1];return C.registerCommand(q,W)})),Object.entries(this.getCommandsInternal()).forEach((function(T){var B=(0,U.default)(T,2),q=B[0],W=B[1];return C.registerCommandInternal(q,W)})),Object.values(this.getHooks()).forEach((function(T){return C.registerHook(T)})),Object.entries(this.getData()).forEach((function(T){var B=(0,U.default)(T,2),q=B[0],W=B[1];return C.registerData(q,W)})),Object.values(this.getUiStates()).forEach((function(T){return C.registerUiState(T)})),Object.entries(this.getStates()).forEach((function(T){var B=(0,U.default)(T,2),q=B[0],W=B[1];return C.registerState(q,W)}))}},{key:"getNamespace",value:function getNamespace(){(0,X.default)()}},{key:"getRootContainer",value:function getRootContainer(){return Y.default.deprecated("getRootContainer()","3.7.0","getServiceName()"),this.getServiceName()}},{key:"getServiceName",value:function getServiceName(){return this.getNamespace().split("/")[0]}},{key:"store",get:function get(){return $e.store.get(this.getNamespace())}},{key:"defaultTabs",value:function defaultTabs(){return{}}},{key:"defaultRoutes",value:function defaultRoutes(){return{}}},{key:"defaultCommands",value:function defaultCommands(){return{}}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return{}}},{key:"defaultHooks",value:function defaultHooks(){return{}}},{key:"defaultUiStates",value:function defaultUiStates(){return{}}},{key:"defaultStates",value:function defaultStates(){return{}}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{}}},{key:"defaultUtils",value:function defaultUtils(){return{}}},{key:"defaultData",value:function defaultData(){return{}}},{key:"getCommands",value:function getCommands(){return this.commands}},{key:"getCommandsInternal",value:function getCommandsInternal(){return this.commandsInternal}},{key:"getHooks",value:function getHooks(){return this.hooks}},{key:"getUiStates",value:function getUiStates(){return this.uiStates}},{key:"getStates",value:function getStates(){return this.states}},{key:"getRoutes",value:function getRoutes(){return this.routes}},{key:"getTabs",value:function getTabs(){return this.tabs}},{key:"getShortcuts",value:function getShortcuts(){return this.shortcuts}},{key:"getData",value:function getData(){return this.data}},{key:"registerCommand",value:function registerCommand(C,T){var B;switch(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default"){case"default":B=$e.commands;break;case"internal":B=$e.commandsInternal;break;case"data":B=$e.data;break;default:throw new Error("Invalid commands type: '".concat(C,"'"))}var q=this.getNamespace()+"/"+C,W={command:q,component:this};!!T.getInstanceType&&T.getInstanceType()||($e.devTools&&$e.devTools.log.warn("Attach command-callback-base, on command: '".concat(q,"', context is unknown type.")),W.callback=T,T=function(C){(0,V.default)(context,C);var T=_createSuper(context);function context(){return(0,L.default)(this,context),T.apply(this,arguments)}return(0,$.default)(context)}(K.default)),T.setRegisterConfig(W),B.register(this,C,T)}},{key:"registerHook",value:function registerHook(C){return C.register()}},{key:"registerCommandInternal",value:function registerCommandInternal(C,T){this.registerCommand(C,T,"internal")}},{key:"registerUiState",value:function registerUiState(C){$e.uiStates.register(C)}},{key:"registerState",value:function registerState(C,T){C=this.getNamespace()+(C?"/".concat(C):"");var B=(0,Q.createSlice)(_objectSpread(_objectSpread({},T),{},{name:C}));$e.store.register(C,B)}},{key:"registerRoute",value:function registerRoute(C,T){$e.routes.register(this,C,T)}},{key:"registerData",value:function registerData(C,T){this.registerCommand(C,T,"data")}},{key:"unregisterRoute",value:function unregisterRoute(C){$e.routes.unregister(this,C)}},{key:"registerTabRoute",value:function registerTabRoute(C){var T=this;this.registerRoute(C,(function(B){return T.activateTab(C,B)}))}},{key:"dependency",value:function dependency(){return!0}},{key:"open",value:function open(){return!0}},{key:"close",value:function close(){return!!this.isOpen&&(this.isOpen=!1,this.inactivate(),$e.routes.clearCurrent(this.getNamespace()),$e.routes.clearHistory(this.getServiceName()),!0)}},{key:"activate",value:function activate(){$e.components.activate(this.getNamespace())}},{key:"inactivate",value:function inactivate(){$e.components.inactivate(this.getNamespace())}},{key:"isActive",value:function isActive(){return $e.components.isActive(this.getNamespace())}},{key:"onRoute",value:function onRoute(C){this.toggleRouteClass(C,!0),this.toggleHistoryClass(),this.activate(),this.trigger("route/open",C)}},{key:"onCloseRoute",value:function onCloseRoute(C){this.toggleRouteClass(C,!1),this.inactivate(),this.trigger("route/close",C)}},{key:"setDefaultRoute",value:function setDefaultRoute(C){this.defaultRoute=this.getNamespace()+"/"+C}},{key:"getDefaultRoute",value:function getDefaultRoute(){return this.defaultRoute}},{key:"removeTab",value:function removeTab(C){delete this.tabs[C],this.unregisterRoute(C)}},{key:"hasTab",value:function hasTab(C){return!!this.tabs[C]}},{key:"addTab",value:function addTab(C,T,B){var q=this;if(this.tabs[C]=T,void 0!==B){var W={},U=Object.keys(this.tabs);U.pop(),U.splice(B,0,C),U.forEach((function(C){W[C]=q.tabs[C]})),this.tabs=W}this.registerTabRoute(C)}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return""}},{key:"getTabRoute",value:function getTabRoute(C){return this.getNamespace()+"/"+C}},{key:"renderTab",value:function renderTab(C){}},{key:"activateTab",value:function activateTab(C,T){var B=this;this.renderTab(C,T),jQuery(this.getTabsWrapperSelector()+" .elementor-component-tab").off("click").on("click",(function(C){$e.route(B.getTabRoute(C.currentTarget.dataset.tab),T)})).removeClass("elementor-active").filter('[data-tab="'+C+'"]').addClass("elementor-active")}},{key:"getActiveTabConfig",value:function getActiveTabConfig(){return this.tabs[this.currentTab]||{}}},{key:"getBodyClass",value:function getBodyClass(C){return"e-route-"+C.replace(/\//g,"-")}},{key:"normalizeCommandName",value:function normalizeCommandName(C){return C.replace(/[A-Z]/g,(function(C,T){return(T>0?"-":"")+C.toLowerCase()}))}},{key:"importCommands",value:function importCommands(C){var T=this,B={};return Object.entries(C).forEach((function(C){var q=(0,U.default)(C,2),W=q[0],L=q[1],$=T.normalizeCommandName(W);B[$]=L})),B}},{key:"importHooks",value:function importHooks(C){var T={};for(var B in C){var q=new C[B];T[q.getId()]=q}return T}},{key:"importUiStates",value:function importUiStates(C){var T=this,B={};return Object.values(C).forEach((function(C){var q=new C(T);B[q.getId()]=q})),B}},{key:"setUiState",value:function setUiState(C,T){$e.uiStates.set("".concat(this.getNamespace(),"/").concat(C),T)}},{key:"toggleRouteClass",value:function toggleRouteClass(C,T){document.body.classList.toggle(this.getBodyClass(C),T)}},{key:"toggleHistoryClass",value:function toggleHistoryClass(){document.body.classList.toggle("e-routes-has-history",!!$e.routes.getHistory(this.getServiceName()).length)}}]),ComponentBase}(J.default);T.default=Z},19076:(C,T,B)=>{"use strict";var q=B(73203),W=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var U=q(B(78983)),L=q(B(42081)),$=q(B(51121)),V=q(B(58724)),H=q(B(71173)),G=q(B(74910)),K=q(B(19263)),Q=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==W(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var q={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in C)if("default"!==L&&Object.prototype.hasOwnProperty.call(C,L)){var $=U?Object.getOwnPropertyDescriptor(C,L):null;$&&($.get||$.set)?Object.defineProperty(q,L,$):q[L]=C[L]}q.default=C,B&&B.set(C,q);return q}(B(53832)),J=q(B(40647));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,G.default)(C);if(T){var W=(0,G.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,H.default)(this,B)}}var X=function(C){(0,V.default)(ComponentModalBase,C);var T=_createSuper(ComponentModalBase);function ComponentModalBase(){return(0,U.default)(this,ComponentModalBase),T.apply(this,arguments)}return(0,L.default)(ComponentModalBase,[{key:"registerAPI",value:function registerAPI(){var C=this;(0,$.default)((0,G.default)(ComponentModalBase.prototype),"registerAPI",this).call(this),$e.shortcuts.register("esc",{scopes:[this.getNamespace()],callback:function callback(){return C.close()}})}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(Q)}},{key:"defaultRoutes",value:function defaultRoutes(){return{"":function _(){}}}},{key:"open",value:function open(){var C=this;if(!this.layout){var T=this.getModalLayout();this.layout=new T({component:this}),this.layout.getModal().on("hide",(function(){return C.close()}))}return this.layout.showModal(),!0}},{key:"close",value:function close(){return!!(0,$.default)((0,G.default)(ComponentModalBase.prototype),"close",this).call(this)&&(this.layout.getModal().hide(),!0)}},{key:"getModalLayout",value:function getModalLayout(){(0,J.default)()}}]),ComponentModalBase}(K.default);T.default=X},17341:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(78983)),U=q(B(42081)),L=function(){function Console(){(0,W.default)(this,Console)}return(0,U.default)(Console,null,[{key:"error",value:function error(C){$e.devTools&&$e.devTools.log.error(C),C instanceof $e.modules.HookBreak||console.error(C)}},{key:"warn",value:function warn(){for(var C,T='font-size: 12px; background-image: url("'.concat(elementorWebCliConfig.urls.assets,'images/logo-icon.png"); background-repeat: no-repeat; background-size: contain;'),B=arguments.length,q=new Array(B),W=0;W{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=q(B(40131)),U=q(B(78983)),L=q(B(42081)),$=q(B(17341)),V=function deprecatedMessage(C,T,B,q){var W="`".concat(T,"` is ").concat(C," deprecated since ").concat(B);q&&(W+=" - Use `".concat(q,"` instead")),$.default.warn(W)},H=function(){function Deprecation(){(0,U.default)(this,Deprecation)}return(0,L.default)(Deprecation,null,[{key:"deprecated",value:function deprecated(C,T,B){this.isHardDeprecated(T)?function hardDeprecated(C,T,B){V("hard",C,T,B)}(C,T,B):function softDeprecated(C,T,B){elementorWebCliConfig.isDebug&&V("soft",C,T,B)}(C,T,B)}},{key:"parseVersion",value:function parseVersion(C){var T=C.split(".");if(T.length<3||T.length>4)throw new RangeError("Invalid Semantic Version string provided");var B=(0,W.default)(T,4),q=B[0],U=B[1],L=B[2],$=B[3],V=void 0===$?"":$;return{major1:parseInt(q),major2:parseInt(U),minor:parseInt(L),build:V}}},{key:"getTotalMajor",value:function getTotalMajor(C){var T=parseInt("".concat(C.major1).concat(C.major2,"0"));return T=Number((T/10).toFixed(0)),C.major2>9&&(T=C.major2-9),T}},{key:"compareVersion",value:function compareVersion(C,T){var B=this;return[this.parseVersion(C),this.parseVersion(T)].map((function(C){return B.getTotalMajor(C)})).reduce((function(C,T){return C-T}))}},{key:"isSoftDeprecated",value:function isSoftDeprecated(C){return this.compareVersion(C,elementorWebCliConfig.version)<=4}},{key:"isHardDeprecated",value:function isHardDeprecated(C){var T=this.compareVersion(C,elementorWebCliConfig.version);return T<0||T>=8}}]),Deprecation}();T.default=H},40647:(C,T,B)=>{"use strict";var q=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ForceMethodImplementation=void 0;var W=q(B(42081)),U=q(B(78983)),L=q(B(77266)),$=q(B(58724)),V=q(B(71173)),H=q(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,H.default)(C);if(T){var W=(0,H.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,V.default)(this,B)}}var G=function(C){(0,$.default)(ForceMethodImplementation,C);var T=_createSuper(ForceMethodImplementation);function ForceMethodImplementation(){var C,B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,U.default)(this,ForceMethodImplementation),C=T.call(this,"".concat(B.isStatic?"static ":"").concat(B.fullName,"() should be implemented, please provide '").concat(B.functionName||B.fullName,"' functionality.")),Error.captureStackTrace((0,L.default)(C),ForceMethodImplementation),C}return(0,W.default)(ForceMethodImplementation)}((0,q(B(19952)).default)(Error));T.ForceMethodImplementation=G;T.default=function _default(){var C=Error().stack.split("\n")[2].trim(),T=C.startsWith("at new")?"constructor":C.split(" ")[1],B={};if(B.functionName=T,B.fullName=T,B.functionName.includes(".")){var q=B.functionName.split(".");B.className=q[0],B.functionName=q[1]}else B.isStatic=!0;throw new G(B)}},38003:C=>{"use strict";C.exports=wp.i18n},98106:C=>{C.exports=function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,q=new Array(T);B{C.exports=function _arrayWithHoles(C){if(Array.isArray(C))return C},C.exports.__esModule=!0,C.exports.default=C.exports},77266:C=>{C.exports=function _assertThisInitialized(C){if(void 0===C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C},C.exports.__esModule=!0,C.exports.default=C.exports},10029:C=>{function asyncGeneratorStep(C,T,B,q,W,U,L){try{var $=C[U](L),V=$.value}catch(C){return void B(C)}$.done?T(V):Promise.resolve(V).then(q,W)}C.exports=function _asyncToGenerator(C){return function(){var T=this,B=arguments;return new Promise((function(q,W){var U=C.apply(T,B);function _next(C){asyncGeneratorStep(U,q,W,_next,_throw,"next",C)}function _throw(C){asyncGeneratorStep(U,q,W,_next,_throw,"throw",C)}_next(void 0)}))}},C.exports.__esModule=!0,C.exports.default=C.exports},78983:C=>{C.exports=function _classCallCheck(C,T){if(!(C instanceof T))throw new TypeError("Cannot call a class as a function")},C.exports.__esModule=!0,C.exports.default=C.exports},76824:(C,T,B)=>{var q=B(96196),W=B(14161);C.exports=function _construct(C,T,B){if(W())return Reflect.construct.apply(null,arguments);var U=[null];U.push.apply(U,T);var L=new(C.bind.apply(C,U));return B&&q(L,B.prototype),L},C.exports.__esModule=!0,C.exports.default=C.exports},42081:(C,T,B)=>{var q=B(74040);function _defineProperties(C,T){for(var B=0;B{var q=B(74040);C.exports=function _defineProperty(C,T,B){return(T=q(T))in C?Object.defineProperty(C,T,{value:B,enumerable:!0,configurable:!0,writable:!0}):C[T]=B,C},C.exports.__esModule=!0,C.exports.default=C.exports},51121:(C,T,B)=>{var q=B(79443);function _get(){return"undefined"!=typeof Reflect&&Reflect.get?(C.exports=_get=Reflect.get.bind(),C.exports.__esModule=!0,C.exports.default=C.exports):(C.exports=_get=function _get(C,T,B){var W=q(C,T);if(W){var U=Object.getOwnPropertyDescriptor(W,T);return U.get?U.get.call(arguments.length<3?C:B):U.value}},C.exports.__esModule=!0,C.exports.default=C.exports),_get.apply(this,arguments)}C.exports=_get,C.exports.__esModule=!0,C.exports.default=C.exports},74910:C=>{function _getPrototypeOf(T){return C.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(C){return C.__proto__||Object.getPrototypeOf(C)},C.exports.__esModule=!0,C.exports.default=C.exports,_getPrototypeOf(T)}C.exports=_getPrototypeOf,C.exports.__esModule=!0,C.exports.default=C.exports},58724:(C,T,B)=>{var q=B(96196);C.exports=function _inherits(C,T){if("function"!=typeof T&&null!==T)throw new TypeError("Super expression must either be null or a function");C.prototype=Object.create(T&&T.prototype,{constructor:{value:C,writable:!0,configurable:!0}}),Object.defineProperty(C,"prototype",{writable:!1}),T&&q(C,T)},C.exports.__esModule=!0,C.exports.default=C.exports},73203:C=>{C.exports=function _interopRequireDefault(C){return C&&C.__esModule?C:{default:C}},C.exports.__esModule=!0,C.exports.default=C.exports},94346:C=>{C.exports=function _isNativeFunction(C){try{return-1!==Function.toString.call(C).indexOf("[native code]")}catch(T){return"function"==typeof C}},C.exports.__esModule=!0,C.exports.default=C.exports},14161:C=>{function _isNativeReflectConstruct(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(T){}return(C.exports=_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!T},C.exports.__esModule=!0,C.exports.default=C.exports)()}C.exports=_isNativeReflectConstruct,C.exports.__esModule=!0,C.exports.default=C.exports},40608:C=>{C.exports=function _iterableToArrayLimit(C,T){var B=null==C?null:"undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(null!=B){var q,W,U,L,$=[],V=!0,H=!1;try{if(U=(B=B.call(C)).next,0===T){if(Object(B)!==B)return;V=!1}else for(;!(V=(q=U.call(B)).done)&&($.push(q.value),$.length!==T);V=!0);}catch(C){H=!0,W=C}finally{try{if(!V&&null!=B.return&&(L=B.return(),Object(L)!==L))return}finally{if(H)throw W}}return $}},C.exports.__esModule=!0,C.exports.default=C.exports},56894:C=>{C.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},C.exports.__esModule=!0,C.exports.default=C.exports},71173:(C,T,B)=>{var q=B(7501).default,W=B(77266);C.exports=function _possibleConstructorReturn(C,T){if(T&&("object"===q(T)||"function"==typeof T))return T;if(void 0!==T)throw new TypeError("Derived constructors may only return object or undefined");return W(C)},C.exports.__esModule=!0,C.exports.default=C.exports},21337:(C,T,B)=>{var q=B(7501).default;function _regeneratorRuntime(){"use strict";C.exports=_regeneratorRuntime=function _regeneratorRuntime(){return B},C.exports.__esModule=!0,C.exports.default=C.exports;var T,B={},W=Object.prototype,U=W.hasOwnProperty,L=Object.defineProperty||function(C,T,B){C[T]=B.value},$="function"==typeof Symbol?Symbol:{},V=$.iterator||"@@iterator",H=$.asyncIterator||"@@asyncIterator",G=$.toStringTag||"@@toStringTag";function define(C,T,B){return Object.defineProperty(C,T,{value:B,enumerable:!0,configurable:!0,writable:!0}),C[T]}try{define({},"")}catch(T){define=function define(C,T,B){return C[T]=B}}function wrap(C,T,B,q){var W=T&&T.prototype instanceof Generator?T:Generator,U=Object.create(W.prototype),$=new Context(q||[]);return L(U,"_invoke",{value:makeInvokeMethod(C,B,$)}),U}function tryCatch(C,T,B){try{return{type:"normal",arg:C.call(T,B)}}catch(C){return{type:"throw",arg:C}}}B.wrap=wrap;var K="suspendedStart",Q="suspendedYield",J="executing",X="completed",Y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var Z={};define(Z,V,(function(){return this}));var ee=Object.getPrototypeOf,te=ee&&ee(ee(values([])));te&&te!==W&&U.call(te,V)&&(Z=te);var re=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(Z);function defineIteratorMethods(C){["next","throw","return"].forEach((function(T){define(C,T,(function(C){return this._invoke(T,C)}))}))}function AsyncIterator(C,T){function invoke(B,W,L,$){var V=tryCatch(C[B],C,W);if("throw"!==V.type){var H=V.arg,G=H.value;return G&&"object"==q(G)&&U.call(G,"__await")?T.resolve(G.__await).then((function(C){invoke("next",C,L,$)}),(function(C){invoke("throw",C,L,$)})):T.resolve(G).then((function(C){H.value=C,L(H)}),(function(C){return invoke("throw",C,L,$)}))}$(V.arg)}var B;L(this,"_invoke",{value:function value(C,q){function callInvokeWithMethodAndArg(){return new T((function(T,B){invoke(C,q,T,B)}))}return B=B?B.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(C,B,q){var W=K;return function(U,L){if(W===J)throw new Error("Generator is already running");if(W===X){if("throw"===U)throw L;return{value:T,done:!0}}for(q.method=U,q.arg=L;;){var $=q.delegate;if($){var V=maybeInvokeDelegate($,q);if(V){if(V===Y)continue;return V}}if("next"===q.method)q.sent=q._sent=q.arg;else if("throw"===q.method){if(W===K)throw W=X,q.arg;q.dispatchException(q.arg)}else"return"===q.method&&q.abrupt("return",q.arg);W=J;var H=tryCatch(C,B,q);if("normal"===H.type){if(W=q.done?X:Q,H.arg===Y)continue;return{value:H.arg,done:q.done}}"throw"===H.type&&(W=X,q.method="throw",q.arg=H.arg)}}}function maybeInvokeDelegate(C,B){var q=B.method,W=C.iterator[q];if(W===T)return B.delegate=null,"throw"===q&&C.iterator.return&&(B.method="return",B.arg=T,maybeInvokeDelegate(C,B),"throw"===B.method)||"return"!==q&&(B.method="throw",B.arg=new TypeError("The iterator does not provide a '"+q+"' method")),Y;var U=tryCatch(W,C.iterator,B.arg);if("throw"===U.type)return B.method="throw",B.arg=U.arg,B.delegate=null,Y;var L=U.arg;return L?L.done?(B[C.resultName]=L.value,B.next=C.nextLoc,"return"!==B.method&&(B.method="next",B.arg=T),B.delegate=null,Y):L:(B.method="throw",B.arg=new TypeError("iterator result is not an object"),B.delegate=null,Y)}function pushTryEntry(C){var T={tryLoc:C[0]};1 in C&&(T.catchLoc=C[1]),2 in C&&(T.finallyLoc=C[2],T.afterLoc=C[3]),this.tryEntries.push(T)}function resetTryEntry(C){var T=C.completion||{};T.type="normal",delete T.arg,C.completion=T}function Context(C){this.tryEntries=[{tryLoc:"root"}],C.forEach(pushTryEntry,this),this.reset(!0)}function values(C){if(C||""===C){var B=C[V];if(B)return B.call(C);if("function"==typeof C.next)return C;if(!isNaN(C.length)){var W=-1,L=function next(){for(;++W=0;--q){var W=this.tryEntries[q],L=W.completion;if("root"===W.tryLoc)return handle("end");if(W.tryLoc<=this.prev){var $=U.call(W,"catchLoc"),V=U.call(W,"finallyLoc");if($&&V){if(this.prev=0;--B){var q=this.tryEntries[B];if(q.tryLoc<=this.prev&&U.call(q,"finallyLoc")&&this.prev=0;--T){var B=this.tryEntries[T];if(B.finallyLoc===C)return this.complete(B.completion,B.afterLoc),resetTryEntry(B),Y}},catch:function _catch(C){for(var T=this.tryEntries.length-1;T>=0;--T){var B=this.tryEntries[T];if(B.tryLoc===C){var q=B.completion;if("throw"===q.type){var W=q.arg;resetTryEntry(B)}return W}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(C,B,q){return this.delegate={iterator:values(C),resultName:B,nextLoc:q},"next"===this.method&&(this.arg=T),Y}},B}C.exports=_regeneratorRuntime,C.exports.__esModule=!0,C.exports.default=C.exports},96196:C=>{function _setPrototypeOf(T,B){return C.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(C,T){return C.__proto__=T,C},C.exports.__esModule=!0,C.exports.default=C.exports,_setPrototypeOf(T,B)}C.exports=_setPrototypeOf,C.exports.__esModule=!0,C.exports.default=C.exports},40131:(C,T,B)=>{var q=B(17358),W=B(40608),U=B(35068),L=B(56894);C.exports=function _slicedToArray(C,T){return q(C)||W(C,T)||U(C,T)||L()},C.exports.__esModule=!0,C.exports.default=C.exports},79443:(C,T,B)=>{var q=B(74910);C.exports=function _superPropBase(C,T){for(;!Object.prototype.hasOwnProperty.call(C,T)&&null!==(C=q(C)););return C},C.exports.__esModule=!0,C.exports.default=C.exports},56027:(C,T,B)=>{var q=B(7501).default;C.exports=function toPrimitive(C,T){if("object"!=q(C)||!C)return C;var B=C[Symbol.toPrimitive];if(void 0!==B){var W=B.call(C,T||"default");if("object"!=q(W))return W;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===T?String:Number)(C)},C.exports.__esModule=!0,C.exports.default=C.exports},74040:(C,T,B)=>{var q=B(7501).default,W=B(56027);C.exports=function toPropertyKey(C){var T=W(C,"string");return"symbol"==q(T)?T:String(T)},C.exports.__esModule=!0,C.exports.default=C.exports},7501:C=>{function _typeof(T){return C.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(C){return typeof C}:function(C){return C&&"function"==typeof Symbol&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},C.exports.__esModule=!0,C.exports.default=C.exports,_typeof(T)}C.exports=_typeof,C.exports.__esModule=!0,C.exports.default=C.exports},35068:(C,T,B)=>{var q=B(98106);C.exports=function _unsupportedIterableToArray(C,T){if(C){if("string"==typeof C)return q(C,T);var B=Object.prototype.toString.call(C).slice(8,-1);return"Object"===B&&C.constructor&&(B=C.constructor.name),"Map"===B||"Set"===B?Array.from(C):"Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B)?q(C,T):void 0}},C.exports.__esModule=!0,C.exports.default=C.exports},19952:(C,T,B)=>{var q=B(74910),W=B(96196),U=B(94346),L=B(76824);function _wrapNativeSuper(T){var B="function"==typeof Map?new Map:void 0;return C.exports=_wrapNativeSuper=function _wrapNativeSuper(C){if(null===C||!U(C))return C;if("function"!=typeof C)throw new TypeError("Super expression must either be null or a function");if(void 0!==B){if(B.has(C))return B.get(C);B.set(C,Wrapper)}function Wrapper(){return L(C,arguments,q(this).constructor)}return Wrapper.prototype=Object.create(C.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),W(Wrapper,C)},C.exports.__esModule=!0,C.exports.default=C.exports,_wrapNativeSuper(T)}C.exports=_wrapNativeSuper,C.exports.__esModule=!0,C.exports.default=C.exports},50824:(C,T,B)=>{var q=B(21337)();C.exports=q;try{regeneratorRuntime=q}catch(C){"object"==typeof globalThis?globalThis.regeneratorRuntime=q:Function("r","regeneratorRuntime = r")(q)}}},T={};function __webpack_require__(B){var q=T[B];if(void 0!==q)return q.exports;var W=T[B]={exports:{}};return C[B](W,W.exports,__webpack_require__),W.exports}__webpack_require__.d=(C,T)=>{for(var B in T)__webpack_require__.o(T,B)&&!__webpack_require__.o(C,B)&&Object.defineProperty(C,B,{enumerable:!0,get:T[B]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(C){if("object"==typeof window)return window}}(),__webpack_require__.o=(C,T)=>Object.prototype.hasOwnProperty.call(C,T),__webpack_require__.r=C=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})},(()=>{"use strict";var C=__webpack_require__(73203),T=C(__webpack_require__(78983)),B=C(__webpack_require__(42081)),q=C(__webpack_require__(51121)),W=C(__webpack_require__(58724)),U=C(__webpack_require__(71173)),L=C(__webpack_require__(74910)),$=C(__webpack_require__(90287)),V=C(__webpack_require__(35107)),H=C(__webpack_require__(52253)),G=C(__webpack_require__(22998)),K=C(__webpack_require__(36614)),Q=C(__webpack_require__(57100)),J=C(__webpack_require__(13450)),X=C(__webpack_require__(26231)),Y=C(__webpack_require__(62879)),Z=C(__webpack_require__(99956));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,q=(0,L.default)(C);if(T){var W=(0,L.default)(this).constructor;B=Reflect.construct(q,arguments,W)}else B=q.apply(this,arguments);return(0,U.default)(this,B)}}var ee=function(C){(0,W.default)(ElementorCommonApp,C);var U=_createSuper(ElementorCommonApp);function ElementorCommonApp(){return(0,T.default)(this,ElementorCommonApp),U.apply(this,arguments)}return(0,B.default)(ElementorCommonApp,[{key:"setMarionetteTemplateCompiler",value:function setMarionetteTemplateCompiler(){Marionette.TemplateCache.prototype.compileTemplate=function(C,T){return T={evaluate:/<#([\s\S]+?)#>/g,interpolate:/{{{([\s\S]+?)}}}/g,escape:/{{([^}]+?)}}(?!})/g},_.template(C,T)}}},{key:"getDefaultElements",value:function getDefaultElements(){return{$window:jQuery(window),$document:jQuery(document),$body:jQuery(document.body)}}},{key:"initComponents",value:function initComponents(){this.events=new Y.default,this.debug=new H.default,this.helpers=new $.default,this.storage=new V.default,this.dialogsManager=new DialogsManager.Instance,this.notifications=new Z.default,this.api=window.$e,$e.components.register(new X.default),elementorCommon.elements.$window.on("elementor:init-components",(function(){$e.components.register(new J.default)})),this.initModules()}},{key:"initModules",value:function initModules(){var C=this,T=this.config.activeModules,B={ajax:G.default,finder:K.default,connect:Q.default};T.forEach((function(T){B[T]&&(C[T]=new B[T](C.config[T]))}))}},{key:"compileArrayTemplateArgs",value:function compileArrayTemplateArgs(C,T){return C.replace(/%(?:(\d+)\$)?s/g,(function(C,B){return B||(B=1),B--,void 0!==T[B]?T[B]:C}))}},{key:"compileObjectTemplateArgs",value:function compileObjectTemplateArgs(C,T){return C.replace(/{{(?:([ \w]+))}}/g,(function(C,B){return T[B]?T[B]:C}))}},{key:"compileTemplate",value:function compileTemplate(C,T){return jQuery.isPlainObject(T)?this.compileObjectTemplateArgs(C,T):this.compileArrayTemplateArgs(C,T)}},{key:"translate",value:function translate(C,T,B,q){T&&(q=this.config[T].i18n),q||(q=this.config.i18n);var W=q[C];return void 0===W&&(W=C),B&&(W=this.compileTemplate(W,B)),W}},{key:"onInit",value:function onInit(){(0,q.default)((0,L.default)(ElementorCommonApp.prototype),"onInit",this).call(this),this.config=elementorCommonConfig,this.setMarionetteTemplateCompiler()}}]),ElementorCommonApp}(elementorModules.ViewModule);window.elementorCommon=new ee,elementorCommon.initComponents()})()})();