/*! elementor - v3.25.0 - 20-11-2024 */ /*! For license information please see editor.min.js.LICENSE.txt */ (()=>{var C={71177:(C,T,B)=>{"use strict";function n(C){for(var T=arguments.length,B=Array(T>1?T-1:0),$=1;$3?T.i-4:T.i:Array.isArray(C)?1:s(C)?2:v(C)?3:0}function u(C,T){return 2===o(C)?C.has(T):Object.prototype.hasOwnProperty.call(C,T)}function a(C,T){return 2===o(C)?C.get(T):C[T]}function f(C,T,B){var $=o(C);2===$?C.set(T,B):3===$?C.add(B):C[T]=B}function c(C,T){return C===T?0!==C||1/C==1/T:C!=C&&T!=T}function s(C){return q&&C instanceof Map}function v(C){return W&&C instanceof Set}function p(C){return C.o||C.t}function l(C){if(Array.isArray(C))return Array.prototype.slice.call(C);var T=Y(C);delete T[K];for(var B=J(T),$=0;$1&&(C.set=C.add=C.clear=C.delete=h),Object.freeze(C),T&&i(C,(function(C,T){return d(T,!0)}),!0)),C}function h(){n(2)}function y(C){return null==C||"object"!=typeof C||Object.isFrozen(C)}function b(C){var T=X[C];return T||n(18,C),T}function m(C,T){X[C]||(X[C]=T)}function _(){return V}function j(C,T){T&&(b("Patches"),C.u=[],C.s=[],C.v=T)}function g(C){O(C),C.p.forEach(S),C.p=null}function O(C){C===V&&(V=C.l)}function w(C){return V={p:[],l:V,h:C,m:!0,_:0}}function S(C){var T=C[K];0===T.i||1===T.i?T.j():T.g=!0}function P(C,T){T._=T.p.length;var B=T.p[0],$=void 0!==C&&C!==B;return T.h.O||b("ES5").S(T,C,$),$?(B[K].P&&(g(T),n(4)),t(C)&&(C=M(T,C),T.l||x(T,C)),T.u&&b("Patches").M(B[K].t,C,T.u,T.s)):C=M(T,B,[]),g(T),T.u&&T.v(T.u,T.s),C!==H?C:void 0}function M(C,T,B){if(y(T))return T;var $=T[K];if(!$)return i(T,(function(V,L){return A(C,$,T,V,L,B)}),!0),T;if($.A!==C)return T;if(!$.P)return x(C,$.t,!0),$.t;if(!$.I){$.I=!0,$.A._--;var V=4===$.i||5===$.i?$.o=l($.k):$.o,L=V,q=!1;3===$.i&&(L=new Set(V),V.clear(),q=!0),i(L,(function(T,L){return A(C,$,V,T,L,B,q)})),x(C,V,!1),B&&C.u&&b("Patches").N($,B,C.u,C.s)}return $.o}function A(C,T,B,$,V,L,q){if(r(V)){var W=M(C,V,L&&T&&3!==T.i&&!u(T.R,$)?L.concat($):void 0);if(f(B,$,W),!r(W))return;C.m=!1}else q&&B.add(V);if(t(V)&&!y(V)){if(!C.h.D&&C._<1)return;M(C,V),T&&T.A.l||x(C,V)}}function x(C,T,B){void 0===B&&(B=!1),!C.l&&C.h.D&&C.m&&d(T,B)}function z(C,T){var B=C[K];return(B?p(B):C)[T]}function I(C,T){if(T in C)for(var B=Object.getPrototypeOf(C);B;){var $=Object.getOwnPropertyDescriptor(B,T);if($)return $;B=Object.getPrototypeOf(B)}}function k(C){C.P||(C.P=!0,C.l&&k(C.l))}function E(C){C.o||(C.o=l(C.t))}function N(C,T,B){var $=s(T)?b("MapSet").F(T,B):v(T)?b("MapSet").T(T,B):C.O?function(C,T){var B=Array.isArray(C),$={i:B?1:0,A:T?T.A:_(),P:!1,I:!1,R:{},l:T,t:C,k:null,o:null,j:null,C:!1},V=$,L=Z;B&&(V=[$],L=ee);var q=Proxy.revocable(V,L),W=q.revoke,U=q.proxy;return $.k=U,$.j=W,U}(T,B):b("ES5").J(T,B);return(B?B.A:_()).p.push($),$}function R(C){return r(C)||n(22,C),function n(C){if(!t(C))return C;var T,B=C[K],$=o(C);if(B){if(!B.P&&(B.i<4||!b("ES5").K(B)))return B.t;B.I=!0,T=D(C,$),B.I=!1}else T=D(C,$);return i(T,(function(C,$){B&&a(B.t,C)===$||f(T,C,n($))})),3===$?new Set(T):T}(C)}function D(C,T){switch(T){case 2:return new Map(C);case 3:return Array.from(C)}return l(C)}function F(){function t(T,B){var $=C[T];return $?$.enumerable=B:C[T]=$={configurable:!0,enumerable:B,get:function(){var C=this[K];return Z.get(C,T)},set:function(C){var B=this[K];Z.set(B,T,C)}},$}function e(C){for(var T=C.length-1;T>=0;T--){var B=C[T][K];if(!B.P)switch(B.i){case 5:a(B)&&k(B);break;case 4:o(B)&&k(B)}}}function o(C){for(var T=C.t,B=C.k,$=J(B),V=$.length-1;V>=0;V--){var L=$[V];if(L!==K){var q=T[L];if(void 0===q&&!u(T,L))return!0;var W=B[L],U=W&&W[K];if(U?U.t!==q:!c(W,q))return!0}}var H=!!T[K];return $.length!==J(T).length+(H?0:1)}function a(C){var T=C.k;if(T.length!==C.t.length)return!0;var B=Object.getOwnPropertyDescriptor(T,T.length-1);if(B&&!B.get)return!0;for(var $=0;$Se,MiddlewareArray:()=>ke,SHOULD_AUTOBATCH:()=>Ue,TaskAbortError:()=>Ne,__DO_NOT_USE__ActionTypes:()=>le,addListener:()=>Fe,applyMiddleware:()=>applyMiddleware,autoBatchEnhancer:()=>autoBatchEnhancer,bindActionCreators:()=>bindActionCreators,clearAllListeners:()=>qe,combineReducers:()=>combineReducers,compose:()=>compose,configureStore:()=>configureStore,createAction:()=>createAction,createActionCreatorInvariantMiddleware:()=>createActionCreatorInvariantMiddleware,createAsyncThunk:()=>Te,createDraftSafeSelector:()=>createDraftSafeSelector,createEntityAdapter:()=>createEntityAdapter,createImmutableStateInvariantMiddleware:()=>createImmutableStateInvariantMiddleware,createListenerMiddleware:()=>createListenerMiddleware,createNextState:()=>oe,createReducer:()=>createReducer,createSelector:()=>de,createSerializableStateInvariantMiddleware:()=>createSerializableStateInvariantMiddleware,createSlice:()=>createSlice,createStore:()=>createStore,current:()=>R,findNonSerializableValue:()=>findNonSerializableValue,freeze:()=>d,getDefaultMiddleware:()=>getDefaultMiddleware,getType:()=>getType,isAction:()=>isAction,isActionCreator:()=>isActionCreator,isAllOf:()=>isAllOf,isAnyOf:()=>isAnyOf,isAsyncThunkAction:()=>isAsyncThunkAction,isDraft:()=>r,isFluxStandardAction:()=>isFSA,isFulfilled:()=>isFulfilled,isImmutableDefault:()=>isImmutableDefault,isPending:()=>isPending,isPlain:()=>isPlain,isPlainObject:()=>redux_toolkit_esm_isPlainObject,isRejected:()=>isRejected,isRejectedWithValue:()=>isRejectedWithValue,legacy_createStore:()=>ue,miniSerializeError:()=>miniSerializeError,nanoid:()=>nanoid,original:()=>e,prepareAutoBatched:()=>prepareAutoBatched,removeListener:()=>ze,unwrapResult:()=>unwrapResult});var $,V,L="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),q="undefined"!=typeof Map,W="undefined"!=typeof Set,U="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H=L?Symbol.for("immer-nothing"):(($={})["immer-nothing"]=!0,$),G=L?Symbol.for("immer-draftable"):"__$immer_draftable",K=L?Symbol.for("immer-state"):"__$immer_state",Q=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),J="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(C){return Object.getOwnPropertyNames(C).concat(Object.getOwnPropertySymbols(C))}:Object.getOwnPropertyNames,Y=Object.getOwnPropertyDescriptors||function(C){var T={};return J(C).forEach((function(B){T[B]=Object.getOwnPropertyDescriptor(C,B)})),T},X={},Z={get:function(C,T){if(T===K)return C;var B=p(C);if(!u(B,T))return function(C,T,B){var $,V=I(T,B);return V?"value"in V?V.value:null===($=V.get)||void 0===$?void 0:$.call(C.k):void 0}(C,B,T);var $=B[T];return C.I||!t($)?$:$===z(C.t,T)?(E(C),C.o[T]=N(C.A.h,$,C)):$},has:function(C,T){return T in p(C)},ownKeys:function(C){return Reflect.ownKeys(p(C))},set:function(C,T,B){var $=I(p(C),T);if(null==$?void 0:$.set)return $.set.call(C.k,B),!0;if(!C.P){var V=z(p(C),T),L=null==V?void 0:V[K];if(L&&L.t===B)return C.o[T]=B,C.R[T]=!1,!0;if(c(B,V)&&(void 0!==B||u(C.t,T)))return!0;E(C),k(C)}return C.o[T]===B&&(void 0!==B||T in C.o)||Number.isNaN(B)&&Number.isNaN(C.o[T])||(C.o[T]=B,C.R[T]=!0),!0},deleteProperty:function(C,T){return void 0!==z(C.t,T)||T in C.t?(C.R[T]=!1,E(C),k(C)):delete C.R[T],C.o&&delete C.o[T],!0},getOwnPropertyDescriptor:function(C,T){var B=p(C),$=Reflect.getOwnPropertyDescriptor(B,T);return $?{writable:!0,configurable:1!==C.i||"length"!==T,enumerable:$.enumerable,value:B[T]}:$},defineProperty:function(){n(11)},getPrototypeOf:function(C){return Object.getPrototypeOf(C.t)},setPrototypeOf:function(){n(12)}},ee={};i(Z,(function(C,T){ee[C]=function(){return arguments[0]=arguments[0][0],T.apply(this,arguments)}})),ee.deleteProperty=function(C,T){return ee.set.call(this,C,T,void 0)},ee.set=function(C,T,B){return Z.set.call(this,C[0],T,B,C[0])};var te=function(){function e(C){var T=this;this.O=U,this.D=!0,this.produce=function(C,B,$){if("function"==typeof C&&"function"!=typeof B){var V=B;B=C;var L=T;return function(C){var T=this;void 0===C&&(C=V);for(var $=arguments.length,q=Array($>1?$-1:0),W=1;W<$;W++)q[W-1]=arguments[W];return L.produce(C,(function(C){var $;return($=B).call.apply($,[T,C].concat(q))}))}}var q;if("function"!=typeof B&&n(6),void 0!==$&&"function"!=typeof $&&n(7),t(C)){var W=w(T),U=N(T,C,void 0),G=!0;try{q=B(U),G=!1}finally{G?g(W):O(W)}return"undefined"!=typeof Promise&&q instanceof Promise?q.then((function(C){return j(W,$),P(C,W)}),(function(C){throw g(W),C})):(j(W,$),P(q,W))}if(!C||"object"!=typeof C){if(void 0===(q=B(C))&&(q=C),q===H&&(q=void 0),T.D&&d(q,!0),$){var K=[],Q=[];b("Patches").M(C,q,K,Q),$(K,Q)}return q}n(21,C)},this.produceWithPatches=function(C,B){if("function"==typeof C)return function(B){for(var $=arguments.length,V=Array($>1?$-1:0),L=1;L<$;L++)V[L-1]=arguments[L];return T.produceWithPatches(B,(function(T){return C.apply(void 0,[T].concat(V))}))};var $,V,L=T.produce(C,B,(function(C,T){$=C,V=T}));return"undefined"!=typeof Promise&&L instanceof Promise?L.then((function(C){return[C,$,V]})):[L,$,V]},"boolean"==typeof(null==C?void 0:C.useProxies)&&this.setUseProxies(C.useProxies),"boolean"==typeof(null==C?void 0:C.autoFreeze)&&this.setAutoFreeze(C.autoFreeze)}var C=e.prototype;return C.createDraft=function(C){t(C)||n(8),r(C)&&(C=R(C));var T=w(this),B=N(this,C,void 0);return B[K].C=!0,O(T),B},C.finishDraft=function(C,T){var B=(C&&C[K]).A;return j(B,T),P(void 0,B)},C.setAutoFreeze=function(C){this.D=C},C.setUseProxies=function(C){C&&!U&&n(20),this.O=C},C.applyPatches=function(C,T){var B;for(B=T.length-1;B>=0;B--){var $=T[B];if(0===$.path.length&&"replace"===$.op){C=$.value;break}}B>-1&&(T=T.slice(B+1));var V=b("Patches").$;return r(C)?V(C,T):this.produce(C,(function(C){return V(C,T)}))},e}(),ne=new te,re=ne.produce;ne.produceWithPatches.bind(ne),ne.setAutoFreeze.bind(ne),ne.setUseProxies.bind(ne),ne.applyPatches.bind(ne),ne.createDraft.bind(ne),ne.finishDraft.bind(ne);const oe=re;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 $=B.call(C,T||"default");if("object"!=_typeof($))return $;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 $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread2(C){for(var T=1;T-1){var V=B[$];return $>0&&(B.splice($,1),B.unshift(V)),V.value}return se}return{get,put:function put(T,$){get(T)===se&&(B.unshift({key:T,value:$}),B.length>C&&B.pop())},getEntries:function getEntries(){return B},clear:function clear(){B=[]}}}(q,U);function memoized(){var T=H.get(arguments);if(T===se){if(T=C.apply(null,arguments),W){var B=H.getEntries().find((function(C){return W(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),$=1;$0&&V[V.length-1])||6!==L[0]&&2!==L[0])){q=0;continue}if(3===L[0]&&(!V||L[1]>V[0]&&L[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==L?void 0:L.has(C))return!1;for(var W=null!=$?$(C):Object.entries(C),U=V.length>0,_loop_2=function(C,W){var H=T?T+"."+C:C;if(U&&V.some((function(C){return C instanceof RegExp?C.test(H):H===C})))return"continue";return B(W)?"object"==typeof W&&(q=findNonSerializableValue(W,H,B,$,V,L))?{value:q}:void 0:{value:{keyPath:H,value:W}}},H=0,G=W;H0){var L=T.filter((function(T){return function takeNewKey(T,B,$){var V=$.entities[B.id],L=Object.assign({},V,B.changes),q=selectIdValue(L,C),W=q!==B.id;return W&&(T[B.id]=q,delete $.entities[B.id]),$.entities[q]=L,W}($,T,B)})).length>0;L&&(B.ids=Object.keys(B.entities))}}function upsertManyMutably(T,B){var $=splitAddedUpdatedEntities(T,C,B),V=$[0];updateManyMutably($[1],B),addManyMutably(V,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,$=C=ensureEntitiesArray(C);B<$.length;B++){setOneMutably($[B],T)}})),setAll:createStateOperator((function setAllMutably(C,T){C=ensureEntitiesArray(C),T.ids=[],T.entities={},addManyMutably(C,T)})),updateOne:createStateOperator((function updateOneMutably(C,T){return updateManyMutably([C],T)})),updateMany:createStateOperator(updateManyMutably),upsertOne:createStateOperator((function upsertOneMutably(C,T){return upsertManyMutably([C],T)})),upsertMany:createStateOperator(upsertManyMutably),removeOne:createStateOperator((function removeOneMutably(C,T){return removeManyMutably([C],T)})),removeMany:createStateOperator(removeManyMutably)};var T,B}function createEntityAdapter(C){void 0===C&&(C={});var T=__spreadValues({sortComparer:!1,selectId:function(C){return C.id}},C),B=T.selectId,$=T.sortComparer,V=function createInitialStateFactory(){return{getInitialState:function getInitialState(C){return void 0===C&&(C={}),Object.assign({ids:[],entities:{}},C)}}}(),L=function createSelectorsFactory(){return{getSelectors:function getSelectors(C){var selectIds=function(C){return C.ids},selectEntities=function(C){return C.entities},T=createDraftSafeSelector(selectIds,selectEntities,(function(C,T){return C.map((function(C){return T[C]}))})),selectId=function(C,T){return T},selectById=function(C,T){return C[T]},B=createDraftSafeSelector(selectIds,(function(C){return C.length}));if(!C)return{selectIds,selectEntities,selectAll:T,selectTotal:B,selectById:createDraftSafeSelector(selectEntities,selectId,selectById)};var $=createDraftSafeSelector(C,selectEntities);return{selectIds:createDraftSafeSelector(C,selectIds),selectEntities:$,selectAll:createDraftSafeSelector(C,T),selectTotal:createDraftSafeSelector(C,B),selectById:createDraftSafeSelector($,selectId,selectById)}}}}(),q=$?function createSortedStateAdapter(C,T){var B=createUnsortedStateAdapter(C);function addManyMutably(T,B){var $=(T=ensureEntitiesArray(T)).filter((function(T){return!(selectIdValue(T,C)in B.entities)}));0!==$.length&&merge($,B)}function setManyMutably(C,T){0!==(C=ensureEntitiesArray(C)).length&&merge(C,T)}function updateManyMutably(T,B){for(var $=!1,V=0,L=T;V-1;return B&&$}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 U=C.getState(),H=Array.from(B.values()),G=0,K=H;G{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.stringToRemValues=T.rgbToHex=T.pxToRem=T.isOneOf=T.arrayToObjectByKey=T.arrayToClassName=void 0;var V=$(B(7501)),L=function pxToRem(C){if(C)return"string"!=typeof C&&(C=C.toString()),C.split(" ").map((function(C){return"".concat(.0625*C,"rem")})).join(" ")};T.pxToRem=L;T.arrayToClassName=function arrayToClassName(C,T){return C.filter((function(C){return"object"===(0,V.default)(C)?Object.entries(C)[0][1]:C})).map((function(C){var B="object"===(0,V.default)(C)?Object.entries(C)[0][0]:C;return T?T(B):B})).join(" ")};T.stringToRemValues=function stringToRemValues(C){return C.split(" ").map((function(C){return L(C)})).join(" ")};T.rgbToHex=function rgbToHex(C,T,B){return"#"+[C,T,B].map((function(C){var T=C.toString(16);return 1===T.length?"0"+T:T})).join("")};T.isOneOf=function isOneOf(C,T){return T.some((function(T){return C.includes(T)}))};T.arrayToObjectByKey=function arrayToObjectByKey(C,T){var B={};return C.forEach((function(C){return B[C[T]]=C})),B}},8074:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(CommandContainerBase,C);var T=_createSuper(CommandContainerBase);function CommandContainerBase(){return(0,V.default)(this,CommandContainerBase),T.apply(this,arguments)}return(0,L.default)(CommandContainerBase,[{key:"requireContainer",value:function requireContainer(){var C=this,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.args;if(!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"CommandContainerBase"}}]),CommandContainerBase}($(B(83024)).default);T.default=H},75238:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(19263));$(B(27108)),$(B(53005));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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(ComponentBase,C);var T=_createSuper(ComponentBase);function ComponentBase(){return(0,V.default)(this,ComponentBase),T.apply(this,arguments)}return(0,L.default)(ComponentBase,[{key:"activateControl",value:function activateControl(C){var T;if(C){var B=elementor.getPanelView().getCurrentPageView(),$=B.content?B.content.currentView:B,V=this.getControlViewByPath($,C);null===(T=V.activate)||void 0===T||T.call(V)}}},{key:"getControlViewByPath",value:function getControlViewByPath(C,T){var B=T.split("/"),$=C.getControlViewByName(B[0]);return B.slice(1).forEach((function(C){var T,B;$=null===(T=(B=$).getChildControlView)||void 0===T?void 0:T.call(B,C)})),$}}]),ComponentBase}(H.default);T.default=G},20324:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Validate",{enumerable:!0,get:function get(){return $.Validate}});var $=B(20569)},20569:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Validate=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Validate,C);var T=_createSuper(Validate);function Validate(){return(0,V.default)(this,Validate),T.apply(this,arguments)}return(0,L.default)(Validate,[{key:"apply",value:function apply(C){var T=C.input,B=C.options,$=void 0===B?{}:B;return this.component.manager.createSession(T,elementor.getPreviewContainer(),$).then((function(C){return C.validate()}))}}]),Validate}($e.modules.CommandBase);T.Validate=H;var G=H;T.default=G},3768:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Import=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(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,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,U.default)(Import,C);var T=_createSuper(Import);function Import(){return(0,q.default)(this,Import),T.apply(this,arguments)}return(0,W.default)(Import,[{key:"validateArgs",value:function validateArgs(){this.requireArgumentInstance("target",elementorModules.editor.Container)}},{key:"apply",value:function apply(C){var T=this,B=C.targets,$=void 0===B?[C.target]:B,q=C.input,W=C.options,U=void 0===W?{}:W,H=[];return $.forEach((function(C){H.push(T.component.manager.createSession(q,C,U).then(function(){var C=(0,L.default)(V.default.mark((function _callee(C){return V.default.wrap((function _callee$(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,C.validate();case 2:if(!T.sent){T.next=4;break}C.apply();case 4:case"end":return T.stop()}}),_callee)})));return function(T){return C.apply(this,arguments)}}()))})),Promise.all(H)}}]),Import}($e.modules.CommandBase);T.Import=K;var Q=K;T.default=Q},80208:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Import",{enumerable:!0,get:function get(){return $.Import}});var $=B(3768)},50133:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=_interopRequireWildcard(B(80208)),K=_interopRequireWildcard(B(20324));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 _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==V(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}return $.default=C,B&&B.set(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,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var Q=function(C){(0,W.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,L.default)(this,Component),T.apply(this,arguments)}return(0,q.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"editor/browser-import"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(G)}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return this.importCommands(K)}}]),Component}($e.modules.ComponentBase);T.default=Q},74499:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(39841));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 $=0,V=function F(){};return{s:V,n:function n(){return $>=C.length?{done:!0}:{done:!1,value:C[$++]}},e:function e(C){throw C},f:V}}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 L,q=!0,W=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return q=C.done,C},e:function e(C){W=!0,L=C},f:function f(){try{q||null==B.return||B.return()}finally{if(W)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);B{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(7501)),q=_interopRequireWildcard(B(74983)),W=_interopRequireWildcard(B(31058));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 _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==V(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}return $.default=C,B&&B.set(C,$),$}var U=function recursiveValues(C){return Object.values(C).map((function(C){return"object"===(0,L.default)(C)?Object.values(C):C}))},H={readers:U(q),parsers:U(W).flat()};T.default=H},20060:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(93231)),H=function(){function FileParserBase(C){(0,q.default)(this,FileParserBase),(0,U.default)(this,"reader",void 0),(0,U.default)(this,"tasks",[]),this.reader=C}var C,T;return(0,W.default)(FileParserBase,[{key:"parse",value:(T=(0,L.default)(V.default.mark((function _callee(){return V.default.wrap((function _callee$(C){for(;;)switch(C.prev=C.next){case 0:case"end":return C.stop()}}),_callee)}))),function parse(){return T.apply(this,arguments)})}],[{key:"getName",value:function getName(){return""}},{key:"getReaders",value:function getReaders(){return[]}},{key:"validate",value:(C=(0,L.default)(V.default.mark((function _callee2(C){return V.default.wrap((function _callee2$(C){for(;;)switch(C.prev=C.next){case 0:return C.abrupt("return",!1);case 1:case"end":return C.stop()}}),_callee2)}))),function validate(T){return C.apply(this,arguments)})}]),FileParserBase}();T.default=H},12165:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(93231)),H=function(){function FileReaderBase(C){(0,q.default)(this,FileReaderBase),(0,U.default)(this,"file",void 0),this.file=C}var C,T,B,$;return(0,W.default)(FileReaderBase,[{key:"getFile",value:function getFile(){return this.file}},{key:"getContent",value:($=(0,L.default)(V.default.mark((function _callee(){var C,T;return V.default.wrap((function _callee$(B){for(;;)switch(B.prev=B.next){case 0:return C=new FileReader,T=new Promise((function(T){C.onloadend=function(){return T(C.result)}})),C.readAsText(this.getFile()),B.abrupt("return",T);case 3:case"end":return B.stop()}}),_callee,this)}))),function getContent(){return $.apply(this,arguments)})},{key:"getDataUrl",value:(B=(0,L.default)(V.default.mark((function _callee2(){var C,T;return V.default.wrap((function _callee2$(B){for(;;)switch(B.prev=B.next){case 0:return C=new FileReader,T=new Promise((function(T){C.onloadend=function(){return T(C.result)}})),C.readAsDataURL(this.getFile()),B.abrupt("return",T);case 3:case"end":return B.stop()}}),_callee2,this)}))),function getDataUrl(){return B.apply(this,arguments)})}],[{key:"getName",value:function getName(){return""}},{key:"isActive",value:function isActive(){return!0}},{key:"mimeTypes",get:function get(){return[]}},{key:"resolve",value:(T=(0,L.default)(V.default.mark((function _callee3(C){return V.default.wrap((function _callee3$(C){for(;;)switch(C.prev=C.next){case 0:return C.abrupt("return",!1);case 1:case"end":return C.stop()}}),_callee3)}))),function resolve(C){return T.apply(this,arguments)})},{key:"validate",value:(C=(0,L.default)(V.default.mark((function _callee4(C){return V.default.wrap((function _callee4$(T){for(;;)switch(T.prev=T.next){case 0:return this.validator||(this.validator=new RegExp(this.mimeTypes.join("|"),"i")),T.abrupt("return",this.validator.test(C.type));case 2:case"end":return T.stop()}}),_callee4,this)}))),function validate(T){return C.apply(this,arguments)})}]),FileReaderBase}();T.default=H},56192:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"MediaParser",{enumerable:!0,get:function get(){return $.MediaParser}});var $=B(88927)},88927:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.MediaParser=void 0;var V=$(B(93231)),L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T1&&void 0!==arguments[1]?arguments[1]:{};return $e.data.run("create","wp/media",{file:C,options:_objectSpread({progress:!0},T)}).catch((function(C){return elementor.notifications.showToast({message:C.message}),Promise.reject(C)}))}}]),MediaParser}($(B(20060)).default);T.MediaParser=G},22136:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Widget",{enumerable:!0,get:function get(){return $.Widget}});var $=B(50723)},50723:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Widget=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(74499));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,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var Q=function(C){(0,U.default)(Widget,C);var T,B,$=_createSuper(Widget);function Widget(){return(0,q.default)(this,Widget),$.apply(this,arguments)}return(0,W.default)(Widget,[{key:"parse",value:(B=(0,L.default)(V.default.mark((function _callee(){var C,T;return V.default.wrap((function _callee$(B){for(;;)switch(B.prev=B.next){case 0:return C=this.reader.getFile(),B.t0=K.default,B.next=4,this.reader.getDataUrl();case 4:return B.t1=B.sent,B.t2=C.name.split(".")[0],B.t3={url:B.t1,alt:B.t2,source:"library"},B.t4={image:B.t3},B.t5={widgetType:"image",settings:B.t4},T=B.t0.createElementContainer.call(B.t0,B.t5),this.upload(C).then((function(C){var B=C.data;$e.internal("document/elements/set-settings",{container:elementor.getContainer(T.id),settings:{image:{url:B.source_url,id:B.id}}})})).catch((function(){elementor.documents.getCurrent().history.setActive(!1),$e.run("document/elements/reset-settings",{container:elementor.getContainer(T.id),options:{external:!0}}),elementor.documents.getCurrent().history.setActive(!0)})),B.abrupt("return",T);case 12:case"end":return B.stop()}}),_callee,this)}))),function parse(){return B.apply(this,arguments)})}],[{key:"getName",value:function getName(){return"widget"}},{key:"getReaders",value:function getReaders(){return["image"]}},{key:"validate",value:(T=(0,L.default)(V.default.mark((function _callee2(){return V.default.wrap((function _callee2$(C){for(;;)switch(C.prev=C.next){case 0:return C.abrupt("return",!0);case 1:case"end":return C.stop()}}),_callee2)}))),function validate(){return T.apply(this,arguments)})}]),Widget}(B(56192).MediaParser);T.Widget=Q},31058:(C,T,B)=>{"use strict";var $=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.video=T.json=T.image=T.base=void 0;var V=_interopRequireWildcard(B(56192));T.base=V;var L=_interopRequireWildcard(B(22136));T.image=L;var q=_interopRequireWildcard(B(46483));T.json=q;var W=_interopRequireWildcard(B(4321));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 _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==$(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var V={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty(V,q,W):V[q]=C[q]}return V.default=C,B&&B.set(C,V),V}T.video=W},5519:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Elements=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(20060)),Q=$(B(74499)),J=$(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,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var Y=function(C){(0,U.default)(Elements,C);var T,B,$,H=_createSuper(Elements);function Elements(){return(0,q.default)(this,Elements),H.apply(this,arguments)}return(0,W.default)(Elements,[{key:"parse",value:($=(0,L.default)(V.default.mark((function _callee(){return V.default.wrap((function _callee$(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,this.reader.getData();case 2:return C.abrupt("return",C.sent.content.map((function(C){return Q.default.createElementContainer(C)})));case 3:case"end":return C.stop()}}),_callee,this)}))),function parse(){return $.apply(this,arguments)})}],[{key:"getName",value:function getName(){return"elements"}},{key:"getReaders",value:function getReaders(){return["json"]}},{key:"validate",value:(B=(0,L.default)(V.default.mark((function _callee3(C){var T=this;return V.default.wrap((function _callee3$(B){for(;;)switch(B.prev=B.next){case 0:if(elementorCommon.config.filesUpload.unfilteredFiles){B.next=2;break}return B.abrupt("return",new Promise((function(B){J.default.getUnfilteredFilesNotEnabledImportTemplateDialog((0,L.default)(V.default.mark((function _callee2(){var $;return V.default.wrap((function _callee2$(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,T.validateData(C);case 2:$=V.sent,B($);case 4:case"end":return V.stop()}}),_callee2)})))).show()})));case 2:return B.next=4,this.validateData(C);case 4:return B.abrupt("return",B.sent);case 5:case"end":return B.stop()}}),_callee3,this)}))),function validate(C){return B.apply(this,arguments)})},{key:"validateData",value:(T=(0,L.default)(V.default.mark((function _callee4(C){var T;return V.default.wrap((function _callee4$(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,C.getData();case 2:return T=B.sent,B.abrupt("return",T.version&&T.type&&Array.isArray(T.content));case 4:case"end":return B.stop()}}),_callee4)}))),function validateData(C){return T.apply(this,arguments)})}]),Elements}(K.default);T.Elements=Y},46483:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Elements",{enumerable:!0,get:function get(){return $.Elements}});var $=B(5519)},4321:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Widget",{enumerable:!0,get:function get(){return $.Widget}});var $=B(35334)},35334:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Widget=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(74499));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,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var Q=function(C){(0,U.default)(Widget,C);var T,B,$=_createSuper(Widget);function Widget(){return(0,q.default)(this,Widget),$.apply(this,arguments)}return(0,W.default)(Widget,[{key:"parse",value:(B=(0,L.default)(V.default.mark((function _callee(){var C,T;return V.default.wrap((function _callee$(B){for(;;)switch(B.prev=B.next){case 0:return C=this.reader.getFile(),B.t0=K.default,B.next=4,this.reader.getDataUrl();case 4:return B.t1=B.sent,B.t2=C.name.split(".")[0],B.t3={url:B.t1,alt:B.t2,source:"library"},B.t4={video_type:"hosted",hosted_url:B.t3},B.t5={widgetType:"video",settings:B.t4},T=B.t0.createElementContainer.call(B.t0,B.t5),this.upload(C).then((function(C){var B=C.data;$e.internal("document/elements/set-settings",{container:elementor.getContainer(T.id),settings:{hosted_url:{url:B.source_url,id:B.id}}})})).catch((function(){elementor.documents.getCurrent().history.setActive(!1),$e.run("document/elements/reset-settings",{container:elementor.getContainer(T.id),options:{external:!0}}),elementor.documents.getCurrent().history.setActive(!0)})),B.abrupt("return",T);case 12:case"end":return B.stop()}}),_callee,this)}))),function parse(){return B.apply(this,arguments)})}],[{key:"getName",value:function getName(){return"widget"}},{key:"getReaders",value:function getReaders(){return["video"]}},{key:"validate",value:(T=(0,L.default)(V.default.mark((function _callee2(){return V.default.wrap((function _callee2$(C){for(;;)switch(C.prev=C.next){case 0:return C.abrupt("return",!0);case 1:case"end":return C.stop()}}),_callee2)}))),function validate(){return T.apply(this,arguments)})}]),Widget}(B(56192).MediaParser);T.Widget=Q},20953:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Image=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Image,C);var T=_createSuper(Image);function Image(){return(0,V.default)(this,Image),T.apply(this,arguments)}return(0,L.default)(Image,null,[{key:"getName",value:function getName(){return"image"}},{key:"mimeTypes",get:function get(){return["image\\/\\w+"]}}]),Image}($(B(12165)).default);T.Image=H},74983:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Image",{enumerable:!0,get:function get(){return $.Image}}),Object.defineProperty(T,"Json",{enumerable:!0,get:function get(){return L.Json}}),Object.defineProperty(T,"Video",{enumerable:!0,get:function get(){return V.Video}});var $=B(20953),V=B(93509),L=B(28763)},28763:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Json=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(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,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,U.default)(Json,C);var T,B,$=_createSuper(Json);function Json(){return(0,q.default)(this,Json),$.apply(this,arguments)}return(0,W.default)(Json,[{key:"getData",value:(B=(0,L.default)(V.default.mark((function _callee(){return V.default.wrap((function _callee$(C){for(;;)switch(C.prev=C.next){case 0:if(this._data){C.next=4;break}return C.next=3,this.getContent().then((function(C){return JSON.parse(C)}));case 3:this._data=C.sent;case 4:return C.abrupt("return",this._data);case 5:case"end":return C.stop()}}),_callee,this)}))),function getData(){return B.apply(this,arguments)})}],[{key:"getName",value:function getName(){return"json"}},{key:"isActive",value:function isActive(){var C,T;return elementor.config.user.is_administrator||null!==(C=null===(T=elementor.config.user.restrictions)||void 0===T?void 0:T.includes("json-upload"))&&void 0!==C&&C}},{key:"mimeTypes",get:function get(){return["application/json"]}},{key:"resolve",value:(T=(0,L.default)(V.default.mark((function _callee2(C){return V.default.wrap((function _callee2$(T){for(;;)switch(T.prev=T.next){case 0:return T.prev=0,JSON.parse(C),T.abrupt("return","application/json");case 5:return T.prev=5,T.t0=T.catch(0),T.abrupt("return",!1);case 8:case"end":return T.stop()}}),_callee2,null,[[0,5]])}))),function resolve(C){return T.apply(this,arguments)})}]),Json}($(B(12165)).default);T.Json=K},93509:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Video=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Video,C);var T=_createSuper(Video);function Video(){return(0,V.default)(this,Video),T.apply(this,arguments)}return(0,L.default)(Video,null,[{key:"getName",value:function getName(){return"video"}},{key:"mimeTypes",get:function get(){return["video\\/\\w+"]}}]),Video}($(B(12165)).default);T.Video=H},83571:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(93231)),W=$(B(67209));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 $=0,V=function F(){};return{s:V,n:function n(){return $>=C.length?{done:!0}:{done:!1,value:C[$++]}},e:function e(C){throw C},f:V}}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 L,q=!0,W=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return q=C.done,C},e:function e(C){W=!0,L=C},f:function f(){try{q||null==B.return||B.return()}finally{if(W)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);B0&&void 0!==arguments[0]?arguments[0]:[];(0,V.default)(this,ItemCollection),(0,q.default)(this,"items",void 0),this.setItems(C)}return(0,L.default)(ItemCollection,[{key:"setItems",value:function setItems(){var C,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],B=_createForOfIteratorHelper(T);try{for(B.s();!(C=B.n()).done;){if(!(C.value instanceof W.default))throw new Error("ItemCollection can only contain Item objects")}}catch(C){B.e(C)}finally{B.f()}this.items=T}},{key:"getItems",value:function getItems(){return this.items}},{key:"getFiles",value:function getFiles(){return this.items.map((function(C){return C.getFile()}))}}]),ItemCollection}();T.default=U},67209:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(93231)),W=$(B(90381)),U=$(B(9879)),H=function(){function Item(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,V.default)(this,Item),(0,q.default)(this,"file",void 0),(0,q.default)(this,"options",{}),this.file=this.toFile(C),this.options=T}return(0,L.default)(Item,[{key:"toFile",value:function toFile(C){if(!(0,W.default)(C,File)){var T=this.options,B=T.fileName,$={type:T.type||C.type};C=new File(Array.isArray(C)?C:[C],B||this.constructor.createFileName($),$)}return C}},{key:"getFile",value:function getFile(){return this.file}},{key:"getReader",value:function getReader(){return this.options.reader}},{key:"getParser",value:function getParser(){return this.options.parser}},{key:"setReader",value:function setReader(C){this.options.reader=C}},{key:"setParser",value:function setParser(C){this.options.parser=C}}],[{key:"createFileName",value:function createFileName(C){return[elementorCommon.helpers.getUniqueId(),U.default.getExtension(C.type)].join(".")}}]),Item}();T.default=H},46558:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(77266)),H=$(B(58724)),G=$(B(71173)),K=$(B(74910)),Q=$(B(93231)),J=$(B(50133)),Y=$(B(17878)),X=$(B(83571)),Z=$(B(36788)),ee=$(B(86036));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 $=0,V=function F(){};return{s:V,n:function n(){return $>=C.length?{done:!0}:{done:!1,value:C[$++]}},e:function e(C){throw C},f:V}}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 L,q=!0,W=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return q=C.done,C},e:function e(C){W=!0,L=C},f:function f(){try{q||null==B.return||B.return()}finally{if(W)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);B0&&void 0!==arguments[0]?arguments[0]:{},B=_createForOfIteratorHelper(T.readers||{});try{for(B.s();!(C=B.n()).done;){var $,V,L=C.value;(null===($=null===(V=L.isActive)||void 0===V?void 0:V.call(L))||void 0===$||$)&&this.registerFileReader(L)}}catch(C){B.e(C)}finally{B.f()}var q,W=_createForOfIteratorHelper(T.parsers||{});try{for(W.s();!(q=W.n()).done;){var U=q.value;this.registerFileParser(U)}}catch(C){W.e(C)}finally{W.f()}}},{key:"createSession",value:(G=(0,L.default)(V.default.mark((function _callee(C,T){var B,$=arguments;return V.default.wrap((function _callee$(V){for(;;)switch(V.prev=V.next){case 0:if(B=$.length>2&&void 0!==$[2]?$[2]:{},C instanceof X.default){V.next=5;break}return V.next=4,this.getNormalizer().normalize(C);case 4:C=V.sent;case 5:return V.abrupt("return",new ee.default(this,C,T,B));case 6:case"end":return V.stop()}}),_callee,this)}))),function createSession(C,T){return G.apply(this,arguments)})},{key:"registerFileReader",value:function registerFileReader(C){this.readers[C.getName()]=C}},{key:"registerFileParser",value:function registerFileParser(C){var T,B=_createForOfIteratorHelper(C.getReaders());try{for(B.s();!(T=B.n()).done;){var $=T.value;this.readers[$]&&(this.parsers[$]||(this.parsers[$]={}),this.parsers[$][C.getName()]=C)}}catch(C){B.e(C)}finally{B.f()}}},{key:"getReaderOf",value:($=(0,L.default)(V.default.mark((function _callee2(C){var T,B,$,L,q,W,U,H=arguments;return V.default.wrap((function _callee2$(V){for(;;)switch(V.prev=V.next){case 0:T=H.length>1&&void 0!==H[1]&&H[1],B=C.getFile(),$=C.getReader(),L=this.getReaders($),q=0,W=Object.values(L);case 3:if(!(q1&&void 0!==H[1]&&H[1],V.next=3,this.getReaderOf(C,!0);case 3:if(B=V.sent,$=C.getParser(),!B){V.next=18;break}L=this.getParsers(B.constructor.getName(),$),q=0,W=Object.values(L);case 8:if(!(q0&&void 0!==arguments[0]?arguments[0]:[];return(T=Array.isArray(T)?T:[T]).length?Object.fromEntries(T.filter((function(T){return T in C.readers})).map((function(T){return[T,C.readers[T]]}))):this.readers}},{key:"getParsers",value:function getParsers(C){var T=this,B=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(B=Array.isArray(B)?B:[B]).length?Object.fromEntries(B.filter((function(B){return B in T.parsers[C]})).map((function(B){return[B,T.parsers[C][B]]}))):this.parsers[C]||{}}}]),Manager}(elementorModules.editor.utils.Module);T.default=te},36788:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(90381)),H=$(B(67209)),G=$(B(83571)),K=function(){function Normalizer(C){(0,q.default)(this,Normalizer),this.manager=C}var C,T,B;return(0,W.default)(Normalizer,[{key:"normalize",value:(B=(0,L.default)(V.default.mark((function _callee(C){return V.default.wrap((function _callee$(T){for(;;)switch(T.prev=T.next){case 0:return C instanceof G.default||(C=this.toItemCollection(C)),T.abrupt("return",C);case 2:case"end":return T.stop()}}),_callee,this)}))),function normalize(C){return B.apply(this,arguments)})},{key:"toItemCollection",value:(T=(0,L.default)(V.default.mark((function _callee2(C){var T=this;return V.default.wrap((function _callee2$(B){for(;;)switch(B.prev=B.next){case 0:return Array.isArray(C)||(C=(0,U.default)(C,FileList)||(0,U.default)(C,DataTransferItemList)?Array.from(C):[C]),B.abrupt("return",Promise.all(C.map((function(C){return C instanceof H.default||(C=T.toItem(C)),C}))).then((function(C){return new G.default(C)})));case 2:case"end":return B.stop()}}),_callee2)}))),function toItemCollection(C){return T.apply(this,arguments)})},{key:"toItem",value:(C=(0,L.default)(V.default.mark((function _callee3(C){var T;return V.default.wrap((function _callee3$(B){for(;;)switch(B.prev=B.next){case 0:if((0,U.default)(C,[Blob,File,DataTransferItem])){B.next=18;break}B.prev=1,window.atob(C.split(",")[1]),B.next=15;break;case 5:return B.prev=5,B.t0=B.catch(1),B.next=9,this.manager.getMimeTypeOf(C);case 9:if(!(T=B.sent)){B.next=14;break}C=this.constructor.createDataUrl(C,T),B.next=15;break;case 14:throw new Error("The input provided cannot be resolved");case 15:return B.next=17,fetch(C).then((function(C){return C.blob()}));case 17:C=B.sent;case 18:return B.abrupt("return",new H.default(C));case 19:case"end":return B.stop()}}),_callee3,this,[[1,5]])}))),function toItem(T){return C.apply(this,arguments)})}],[{key:"createDataUrl",value:function createDataUrl(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&(C="base64,".concat(btoa(C))),T&&(T+=";"),"data:".concat(T||"").concat(C)}}]),Normalizer}();T.default=K},86036:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(93231));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 $=0,V=function F(){};return{s:V,n:function n(){return $>=C.length?{done:!0}:{done:!1,value:C[$++]}},e:function e(C){throw C},f:V}}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 L,q=!0,W=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return q=C.done,C},e:function e(C){W=!0,L=C},f:function f(){try{q||null==B.return||B.return()}finally{if(W)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);B1&&void 0!==arguments[1]?arguments[1]:null,B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,$=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};(0,q.default)(this,Session),(0,U.default)(this,"manager",void 0),(0,U.default)(this,"itemCollection",void 0),(0,U.default)(this,"target",void 0),(0,U.default)(this,"options",{target:{}}),this.manager=C,this.itemCollection=T,this.target=B,Object.assign(this.options,$)}var C,T;return(0,W.default)(Session,[{key:"validate",value:(T=(0,L.default)(V.default.mark((function _callee(){var C,T,B;return V.default.wrap((function _callee$($){for(;;)switch($.prev=$.next){case 0:C=_createForOfIteratorHelper(this.itemCollection.getItems()),$.prev=1,C.s();case 3:if((T=C.n()).done){$.next=11;break}return B=T.value,$.next=7,this.manager.getReaderOf(B);case 7:if($.sent){$.next=9;break}return $.abrupt("return",!1);case 9:$.next=3;break;case 11:$.next=16;break;case 13:$.prev=13,$.t0=$.catch(1),C.e($.t0);case 16:return $.prev=16,C.f(),$.finish(16);case 19:return $.abrupt("return",!0);case 20:case"end":return $.stop()}}),_callee,this,[[1,13,16,19]])}))),function validate(){return T.apply(this,arguments)})},{key:"apply",value:(C=(0,L.default)(V.default.mark((function _callee2(){var C,T,B,$,L,q=this;return V.default.wrap((function _callee2$(V){for(;;)switch(V.prev=V.next){case 0:C=[],T=_createForOfIteratorHelper(this.itemCollection.getItems()),V.prev=2,T.s();case 4:if((B=T.n()).done){V.next=16;break}return $=B.value,V.next=8,this.manager.getParserOf($,!0);case 8:if(!(L=V.sent)){V.next=13;break}C.push(L.parse()),V.next=14;break;case 13:throw new Error("An error occurred when trying to parse the input");case 14:V.next=4;break;case 16:V.next=21;break;case 18:V.prev=18,V.t0=V.catch(2),T.e(V.t0);case 21:return V.prev=21,T.f(),V.finish(21);case 24:return V.abrupt("return",Promise.all(C).then((function(C){return q.resolve(C.flat())})));case 25:case"end":return V.stop()}}),_callee2,this,[[2,18,21,24]])}))),function apply(){return C.apply(this,arguments)})},{key:"resolve",value:function resolve(C){var T=this;return Object.values(C).some((function(C){return"section"===C.model.get("elType")}))&&(this.target=elementor.getPreviewContainer()),C.map((function(B){switch(B.type){case"container":case"section":case"column":case"widget":return T.target.view.createElementFromModel(B.model,Object.assign(T.options.target,{event:T.options.event,scrollIntoView:0===C.indexOf(B)}))}}))}}]),Session}();T.default=H},68076:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Close=void 0;var L=V(B(50824)),q=V(B(10029)),W=V(B(78983)),U=V(B(42081)),H=V(B(58724)),G=V(B(71173)),K=V(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,$=(0,K.default)(C);if(T){var V=(0,K.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,G.default)(this,B)}}var Q=function(C){(0,H.default)(Close,C);var T,B=_createSuper(Close);function Close(){return(0,W.default)(this,Close),B.apply(this,arguments)}return(0,U.default)(Close,[{key:"validateArgs",value:function validateArgs(C){this.requireArgument("id",C)}},{key:"apply",value:(T=(0,q.default)(L.default.mark((function _callee(C){var T,B,$,V,q;return L.default.wrap((function _callee$(L){for(;;)switch(L.prev=L.next){case 0:if(T=C.id,B=C.mode,$=C.onClose,"closed"!==(V=elementor.documents.get(T)).editor.status){L.next=3;break}return L.abrupt("return",jQuery.Deferred().resolve());case 3:if(B||!V.editor.isChanged&&!V.isDraft()){L.next=7;break}return q=jQuery.Deferred(),this.getConfirmDialog(q).show(),L.abrupt("return",q.promise());case 7:L.t0=B,L.next="autosave"===L.t0?10:"save"===L.t0?13:"discard"===L.t0?16:19;break;case 10:return L.next=12,$e.run("document/save/auto");case 12:case 15:case 18:return L.abrupt("break",19);case 13:return L.next=15,$e.run("document/save/update");case 16:return L.next=18,$e.run("document/save/discard",{document:V});case 19:return L.next=21,$e.internal("editor/documents/unload",{document:V});case 21:if(!$){L.next=24;break}return L.next=24,$(V);case 24:return L.abrupt("return",jQuery.Deferred().resolve());case 25:case"end":return L.stop()}}),_callee,this)}))),function apply(C){return T.apply(this,arguments)})},{key:"getConfirmDialog",value:function getConfirmDialog(C){var T=this;return this.confirmDialog||(this.confirmDialog=elementorCommon.dialogsManager.createWidget("confirm",{id:"elementor-document-save-on-close",headerMessage:$("Save Changes","elementor"),message:$("Would you like to save the changes you've made?","elementor"),position:{my:"center center",at:"center center"},strings:{confirm:$("Save","elementor"),cancel:$("Discard","elementor")},onHide:function onHide(){_.defer((function(){T.args.mode||C.reject("Close document has been canceled.")}))},onConfirm:function onConfirm(){T.args.mode="save",$e.run("editor/documents/close",T.args).then((function(){C.resolve()}))},onCancel:function onCancel(){T.args.mode="discard",$e.run("editor/documents/close",T.args).then((function(){C.resolve()}))}})),this.confirmDialog}}]),Close}($e.modules.CommandBase);T.Close=Q;var J=Q;T.default=J},11175:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Close",{enumerable:!0,get:function get(){return $.Close}}),Object.defineProperty(T,"Open",{enumerable:!0,get:function get(){return V.Open}}),Object.defineProperty(T,"Preview",{enumerable:!0,get:function get(){return L.Preview}}),Object.defineProperty(T,"Switch",{enumerable:!0,get:function get(){return W.Switch}}),Object.defineProperty(T,"View",{enumerable:!0,get:function get(){return q.View}});var $=B(68076),V=B(60994),L=B(72995),q=B(92134),W=B(25256)},40729:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.AttachPreview=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(AttachPreview,C);var T=_createSuper(AttachPreview);function AttachPreview(){return(0,V.default)(this,AttachPreview),T.apply(this,arguments)}return(0,L.default)(AttachPreview,[{key:"validateArgs",value:function validateArgs(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(C.selector&&(this.requireArgumentType("selector","string"),0===elementor.$previewContents.find(C.selector).length))throw new Error("Invalid argument. The `selector` argument must be existed selector.")}},{key:"apply",value:function apply(C){var T=this,B=elementor.documents.getCurrent();return $e.data.get("globals/index").then((function(){return elementor.trigger("globals:loaded"),T.attachDocumentToPreview(B,C)})).then((function(){return elementor.toggleDocumentCssFiles(B,!1),elementor.onEditModeSwitched(),elementor.checkPageStatus(),elementor.trigger("document:loaded",B),$e.internal("panel/open-default",{refresh:!0})}))}},{key:"attachDocumentToPreview",value:function attachDocumentToPreview(C,T){var B=T.selector,$=void 0===B?".elementor-"+C.id:B,V=T.shouldScroll,L=void 0===V||V;return new Promise((function(T,B){if(!C)return B("Can't attach preview, there is no open document.");if(!C.config.elements)return T();C.$element=elementor.$previewContents.find($);var V=C.id===elementor.config.initial_document.id;if(!C.$element.length)return V&&elementor.onPreviewElNotFound(),B("Can't attach preview to document '".concat(C.id,"', element '").concat($,"' was not found."));C.$element.addClass("elementor-edit-area elementor-edit-mode"),V||elementor.documents.getCurrent().$element.addClass("elementor-embedded-editor"),elementor.initElements(),elementor.initPreviewView(C),C.container.view=elementor.getPreviewView(),C.container.model.attributes.elements=elementor.elements,L&&elementor.helpers.scrollToView(C.$element),C.$element.addClass("elementor-edit-area-active").removeClass("elementor-editor-preview"),T()}))}}]),AttachPreview}($e.modules.CommandInternalBase);T.AttachPreview=H;var G=H;T.default=G},28950:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"AttachPreview",{enumerable:!0,get:function get(){return $.AttachPreview}}),Object.defineProperty(T,"Load",{enumerable:!0,get:function get(){return V.Load}}),Object.defineProperty(T,"Unload",{enumerable:!0,get:function get(){return L.Unload}});var $=B(40729),V=B(10664),L=B(84805)},10664:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Load=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(13159)),G=$(B(38984));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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var K=function(C){(0,q.default)(Load,C);var T=_createSuper(Load);function Load(){return(0,V.default)(this,Load),T.apply(this,arguments)}return(0,L.default)(Load,[{key:"validateArgs",value:function validateArgs(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.requireArgument("config",C)}},{key:"apply",value:function apply(C){var T=C.config,B=C.setAsInitial,$=void 0!==B&&B,V=C.shouldScroll,L=void 0===V||V;elementorCommon.config.experimentalFeatures.additional_custom_breakpoints&&(T.settings.controls=elementor.generateResponsiveControls(T.settings.controls)),elementor.config.document=T,elementor.setAjax(),elementor.addWidgetsCache(T.widgets),elementor.templates.init();var q=new H.default(T);elementor.documents.add(q),elementor.documents.setCurrent(q),$&&elementor.documents.setInitialById(q.id),elementor.settings.page=new elementor.settings.modules.page(T.settings),q.container=elementor.settings.page.getEditedView().getContainer(),q.container.document=q,elementor.heartbeat=new G.default(q);var W=elementor.config.document.version&&elementor.helpers.compareVersions(elementor.config.document.version,"2.5.0","<");return!elementor.config.user.introduction.flexbox&&W&&elementor.showFlexBoxAttentionDialog(),elementor.loaded?$e.data.get("globals/index").then((function(){return $?(elementor.reloadPreview(),Promise.resolve()):$e.internal("editor/documents/attach-preview",{shouldScroll:L,selector:C.selector})})):Promise.resolve(q)}}]),Load}($e.modules.CommandInternalBase);T.Load=K;var Q=K;T.default=Q},84805:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Unload=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(13159));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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(Unload,C);var T=_createSuper(Unload);function Unload(){return(0,V.default)(this,Unload),T.apply(this,arguments)}return(0,L.default)(Unload,[{key:"validateArgs",value:function validateArgs(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.requireArgumentConstructor("document",H.default,C)}},{key:"apply",value:function apply(C){return new Promise((function(T,B){var $=C.document;$.id!==elementor.config.document.id&&B(),elementor.elements=[],elementor.saver.stopAutoSave($),elementor.channels.dataEditMode.trigger("switch","preview"),$.$element&&$.$element.removeClass("elementor-edit-area-active elementor-edit-mode").addClass("elementor-editor-preview"),elementorCommon.elements.$body.removeClass("elementor-editor-".concat($.config.type)),elementor.settings.page.destroy(),elementor.heartbeat.destroy(),$.editor.status="closed",elementor.config.document={},elementor.documents.unsetCurrent(),elementor.trigger("document:unloaded",$),T()}))}}]),Unload}($e.modules.CommandInternalBase);T.Unload=G;var K=G;T.default=K},60994:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Open=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Open,C);var T=_createSuper(Open);function Open(){return(0,V.default)(this,Open),T.apply(this,arguments)}return(0,L.default)(Open,[{key:"validateArgs",value:function validateArgs(C){this.requireArgument("id",C)}},{key:"apply",value:function apply(C){var T=C.id,B=C.selector,$=C.shouldScroll,V=void 0===$||$,L=C.setAsInitial,q=void 0!==L&&L,W=elementor.documents.getCurrent();return W&&T===W.id?jQuery.Deferred().resolve():(elementor.loaded&&elementor.$previewContents.find(".elementor-".concat(T)).addClass("loading"),q&&(elementorCommon.ajax.addRequestConstant("initial_document_id",T),elementor.documents.invalidateCache()),elementor.documents.request(T).then((function(C){return elementorCommon.elements.$body.addClass("elementor-editor-".concat(C.type)),$e.internal("editor/documents/load",{config:C,selector:B,setAsInitial:q,shouldScroll:V})})).always((function(){elementor.loaded&&elementor.$previewContents.find(".elementor-".concat(T)).removeClass("loading")})))}}]),Open}($e.modules.CommandBase);T.Open=H;var G=H;T.default=G},72995:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Preview=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(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,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,U.default)(Preview,C);var T,B=_createSuper(Preview);function Preview(){return(0,q.default)(this,Preview),B.apply(this,arguments)}return(0,W.default)(Preview,[{key:"validateArgs",value:function validateArgs(C){this.requireArgument("id",C)}},{key:"apply",value:(T=(0,L.default)(V.default.mark((function _callee(C){var T,B,$,L;return V.default.wrap((function _callee$(V){for(;;)switch(V.prev=V.next){case 0:if(T=C.id,B=$e.components.get("document/save"),$=B.footerSaver,!(L=elementor.documents.get(T)).editor.isChanged){V.next=4;break}return V.next=4,$e.run("document/save/auto",{force:!0});case 4:$.previewWindow=open(L.config.urls.wp_preview,"wp-preview-".concat(L.id));case 5:case"end":return V.stop()}}),_callee)}))),function apply(C){return T.apply(this,arguments)})}]),Preview}($e.modules.CommandBase);T.Preview=K;var Q=K;T.default=Q},25256:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Switch=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Switch,C);var T=_createSuper(Switch);function Switch(){return(0,V.default)(this,Switch),T.apply(this,arguments)}return(0,L.default)(Switch,[{key:"validateArgs",value:function validateArgs(C){this.requireArgument("id",C)}},{key:"apply",value:function apply(C){var T=C.id,B=C.mode,$=C.onClose,V=C.shouldScroll,L=void 0===V||V,q=C.setAsInitial,W=void 0!==q&&q;return W&&jQuery("#elementor-preview-loading").show(),$e.run("editor/documents/close",{id:elementor.documents.getCurrentId(),mode:B,onClose:$,selector:C.selector}).then((function(){return $e.run("editor/documents/open",{id:T,shouldScroll:L,selector:C.selector,setAsInitial:W})})).then((function(){elementor.getPanelView().getPages("menu").view.addExitItem()}))}}]),Switch}($e.modules.CommandBase);T.Switch=H;var G=H;T.default=G},92134:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.View=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(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,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,U.default)(View,C);var T,B=_createSuper(View);function View(){return(0,q.default)(this,View),B.apply(this,arguments)}return(0,W.default)(View,[{key:"validateArgs",value:function validateArgs(C){this.requireArgument("id",C)}},{key:"apply",value:(T=(0,L.default)(V.default.mark((function _callee(C){var T,B;return V.default.wrap((function _callee$($){for(;;)switch($.prev=$.next){case 0:T=C.id,B=elementor.documents.get(T),open(B.config.urls.permalink,"wp-view-".concat(B.id));case 2:case"end":return $.stop()}}),_callee)}))),function apply(C){return T.apply(this,arguments)})}]),View}($e.modules.CommandBase);T.View=K;var Q=K;T.default=Q},22777:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203),L=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=V(B(78983)),W=V(B(42081)),U=V(B(51121)),H=V(B(58724)),G=V(B(71173)),K=V(B(74910)),Q=V(B(19263)),J=V(B(13159)),Y=_interopRequireWildcard(B(11175)),X=_interopRequireWildcard(B(28950)),Z=_interopRequireWildcard(B(13020));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 _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==L(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},V=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=V?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}return $.default=C,B&&B.set(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,$=(0,K.default)(C);if(T){var V=(0,K.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,G.default)(this,B)}}var ee=function(C){(0,H.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,q.default)(this,Component),T.apply(this,arguments)}return(0,W.default)(Component,[{key:"__construct",value:function __construct(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,U.default)((0,K.default)(Component.prototype),"__construct",this).call(this,C),this.documents={},this.currentDocument=null,this.saveInitialDocumentToCache()}},{key:"getNamespace",value:function getNamespace(){return"editor/documents"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(Y)}},{key:"defaultHooks",value:function defaultHooks(){return this.importHooks(Z)}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return this.importCommands(X)}},{key:"add",value:function add(C){var T=C.id;return this.documents[T]=C,C}},{key:"addDocumentByConfig",value:function addDocumentByConfig(C){return this.add(new J.default(C))}},{key:"get",value:function get(C){return void 0!==this.documents[C]&&this.documents[C]}},{key:"getCurrent",value:function getCurrent(){return this.currentDocument}},{key:"getCurrentId",value:function getCurrentId(){return this.currentDocument.id}},{key:"getInitialId",value:function getInitialId(){return elementor.config.initial_document.id}},{key:"setInitialById",value:function setInitialById(C){var T=this.get(C);T&&(elementor.config.initial_document=T.config,elementorCommon.ajax.addRequestConstant("initial_document_id",T.id))}},{key:"setCurrent",value:function setCurrent(C){if(void 0===this.documents[C.id])throw Error("The document with id: '".concat(C.id,"' does not exist/loaded"));this.currentDocument&&(this.currentDocument.editor.status="closed"),this.currentDocument=this.documents[C.id],this.currentDocument.editor.status="open",elementorCommon.ajax.addRequestConstant("editor_post_id",C.id)}},{key:"isCurrent",value:function isCurrent(C){return parseInt(C)===this.currentDocument.id}},{key:"unsetCurrent",value:function unsetCurrent(){this.currentDocument=null,elementorCommon.ajax.addRequestConstant("editor_post_id",null)}},{key:"request",value:function request(C){return elementorCommon.ajax.load(this.getRequestArgs(C),!0)}},{key:"invalidateCache",value:function invalidateCache(){var C=this,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;T?elementorCommon.ajax.invalidateCache(this.getRequestArgs(T)):Object.keys(this.documents).forEach((function(T){elementorCommon.ajax.invalidateCache(C.getRequestArgs(T))}))}},{key:"getRequestArgs",value:function getRequestArgs(C){return C=parseInt(C),{action:"get_document_config",unique_id:"document-".concat(C),data:{id:C},success:function success(C){return C},error:function error(C){var T;_.isString(C)?T=C:C.statusText?(T=elementor.createAjaxErrorMessage(C),0===C.readyState&&(T+=" "+$("Cannot load editor","elementor"))):C[0]&&C[0].code&&(T=$("Server Error","elementor")+" "+C[0].code),alert(T)}}}},{key:"saveInitialDocumentToCache",value:function saveInitialDocumentToCache(){var C=elementor.config.initial_document;elementorCommon.ajax.addRequestCache(this.getRequestArgs(C.id),C)}}]),Component}(Q.default);T.default=ee},13159:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(93231)),W=$(B(48673)),U=$(B(11666)),H=$(B(91693)),G=function(){function Document(C){(0,V.default)(this,Document),(0,q.default)(this,"id",null),(0,q.default)(this,"history",null),(0,q.default)(this,"revisions",null),(0,q.default)(this,"container",null),(0,q.default)(this,"editor",new H.default),this.config=C,this.id=C.id,this.history=new W.default(this),this.revisions=new U.default(this)}return(0,L.default)(Document,[{key:"isDraft",value:function isDraft(){return this.config.revisions.current_id!==this.config.id}}]),Document}();T.default=G},13020:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"RemoveActiveDocumentQueryParam",{enumerable:!0,get:function get(){return $.RemoveActiveDocumentQueryParam}}),Object.defineProperty(T,"RemoveActiveTabQueryParam",{enumerable:!0,get:function get(){return W.RemoveActiveTabQueryParam}}),Object.defineProperty(T,"RemoveActiveTabQueryParamBack",{enumerable:!0,get:function get(){return U.RemoveActiveTabQueryParamBack}}),Object.defineProperty(T,"SetActiveDocumentQueryParam",{enumerable:!0,get:function get(){return V.SetActiveDocumentQueryParam}}),Object.defineProperty(T,"SwitchToActiveDocument",{enumerable:!0,get:function get(){return L.SwitchToActiveDocument}}),Object.defineProperty(T,"SwitchToActiveTab",{enumerable:!0,get:function get(){return q.SwitchToActiveTab}});var $=B(92756),V=B(45263),L=B(37178),q=B(19178),W=B(7872),U=B(56455)},37178:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.SwitchToActiveDocument=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(93231)),Q=B(92093);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,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var J=function(C){(0,U.default)(SwitchToActiveDocument,C);var T,B=_createSuper(SwitchToActiveDocument);function SwitchToActiveDocument(){return(0,q.default)(this,SwitchToActiveDocument),B.apply(this,arguments)}return(0,W.default)(SwitchToActiveDocument,[{key:"getCommand",value:function getCommand(){return"editor/documents/attach-preview"}},{key:"getId",value:function getId(){return"switch-to-active-document"}},{key:"getConditions",value:function getConditions(){return!this.constructor.calledOnce&&elementor.documents.getCurrentId()===elementor.config.initial_document.id}},{key:"apply",value:(T=(0,L.default)(V.default.mark((function _callee(){var C,T;return V.default.wrap((function _callee$(B){for(;;)switch(B.prev=B.next){case 0:if(this.constructor.calledOnce=!0,C=parseInt((0,Q.getQueryParam)("active-document")),T=C===elementor.documents.getCurrentId(),!isNaN(C)&&!T){B.next=4;break}return B.abrupt("return");case 4:return B.prev=4,B.next=7,$e.run("editor/documents/switch",{id:C,mode:"autosave"});case 7:B.next=13;break;case 9:B.prev=9,B.t0=B.catch(4),$e.run("editor/documents/switch",{id:elementor.config.initial_document.id,mode:"autosave"}),(0,Q.removeQueryParam)("active-document");case 13:case"end":return B.stop()}}),_callee,this,[[4,9]])}))),function apply(){return T.apply(this,arguments)})}]),SwitchToActiveDocument}($e.modules.hookUI.After);T.SwitchToActiveDocument=J,(0,K.default)(J,"calledOnce",!1);var Y=J;T.default=Y},92756:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.RemoveActiveDocumentQueryParam=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=B(92093);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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(RemoveActiveDocumentQueryParam,C);var T=_createSuper(RemoveActiveDocumentQueryParam);function RemoveActiveDocumentQueryParam(){return(0,V.default)(this,RemoveActiveDocumentQueryParam),T.apply(this,arguments)}return(0,L.default)(RemoveActiveDocumentQueryParam,[{key:"getCommand",value:function getCommand(){return"editor/documents/close"}},{key:"getId",value:function getId(){return"remove-active-document-query-param"}},{key:"apply",value:function apply(C){var T=parseInt((0,H.getQueryParam)("active-document"));T===parseInt(C.id)&&(0,H.removeQueryParam)("active-document"),C.previous_active_document_id=T}}]),RemoveActiveDocumentQueryParam}($e.modules.hookUI.After);T.RemoveActiveDocumentQueryParam=G;var K=G;T.default=K},56455:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.RemoveActiveTabQueryParamBack=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=B(92093);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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(RemoveActiveTabQueryParamBack,C);var T=_createSuper(RemoveActiveTabQueryParamBack);function RemoveActiveTabQueryParamBack(){return(0,V.default)(this,RemoveActiveTabQueryParamBack),T.apply(this,arguments)}return(0,L.default)(RemoveActiveTabQueryParamBack,[{key:"getCommand",value:function getCommand(){return"panel/global/back"}},{key:"getId",value:function getId(){return"remove-active-tab-query-param-back"}},{key:"apply",value:function apply(){(0,H.getQueryParam)("active-tab")&&(0,H.removeQueryParam)("active-tab")}}]),RemoveActiveTabQueryParamBack}($e.modules.hookUI.After);T.RemoveActiveTabQueryParamBack=G;var K=G;T.default=K},7872:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.RemoveActiveTabQueryParam=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=B(92093);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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(RemoveActiveTabQueryParam,C);var T=_createSuper(RemoveActiveTabQueryParam);function RemoveActiveTabQueryParam(){return(0,V.default)(this,RemoveActiveTabQueryParam),T.apply(this,arguments)}return(0,L.default)(RemoveActiveTabQueryParam,[{key:"getCommand",value:function getCommand(){return"editor/documents/close"}},{key:"getId",value:function getId(){return"remove-active-tab-query-param"}},{key:"apply",value:function apply(C){var T=(0,H.getQueryParam)("active-tab");parseInt(C.previous_active_document_id)===parseInt(C.id)&&T&&(0,H.removeQueryParam)("active-tab")}}]),RemoveActiveTabQueryParam}($e.modules.hookUI.After);T.RemoveActiveTabQueryParam=G;var K=G;T.default=K},45263:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.SetActiveDocumentQueryParam=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=B(92093);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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(SetActiveDocumentQueryParam,C);var T=_createSuper(SetActiveDocumentQueryParam);function SetActiveDocumentQueryParam(){return(0,V.default)(this,SetActiveDocumentQueryParam),T.apply(this,arguments)}return(0,L.default)(SetActiveDocumentQueryParam,[{key:"getCommand",value:function getCommand(){return"editor/documents/open"}},{key:"getId",value:function getId(){return"set-active-document-query-param"}},{key:"getConditions",value:function getConditions(C){return parseInt(C.id)!==parseInt(elementor.config.initial_document.id)}},{key:"apply",value:function apply(C){var T=parseInt(C.id);isNaN(T)||(0,H.setQueryParam)("active-document",C.id)}}]),SetActiveDocumentQueryParam}($e.modules.hookUI.After);T.SetActiveDocumentQueryParam=G;var K=G;T.default=K},19178:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.SwitchToActiveTab=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(93231)),G=B(92093);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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var K=function(C){(0,q.default)(SwitchToActiveTab,C);var T=_createSuper(SwitchToActiveTab);function SwitchToActiveTab(){return(0,V.default)(this,SwitchToActiveTab),T.apply(this,arguments)}return(0,L.default)(SwitchToActiveTab,[{key:"getCommand",value:function getCommand(){return"editor/documents/switch"}},{key:"getId",value:function getId(){return"switch-to-active-tab"}},{key:"getConditions",value:function getConditions(){return!this.constructor.calledOnce}},{key:"apply",value:function apply(){this.constructor.calledOnce=!0;try{var C=(0,G.getQueryParam)("active-tab");C&&$e.route("panel/global/"+C)}catch(C){(0,G.removeQueryParam)("active-tab")}}}]),SwitchToActiveTab}($e.modules.hookUI.After);T.SwitchToActiveTab=K,(0,H.default)(K,"calledOnce",!1);var Q=K;T.default=Q},91693:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(42081)),L=$(B(78983)),q=$(B(93231)),W=(0,V.default)((function Editor(){(0,L.default)(this,Editor),(0,q.default)(this,"status","closed"),(0,q.default)(this,"isSaving",!1),(0,q.default)(this,"isChanged",!1),(0,q.default)(this,"isChangedDuringSave",!1),(0,q.default)(this,"isSaved",!0),(0,q.default)(this,"lastSaveHistoryId",0)}));T.default=W},85422:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203)(B(93231)),L=B(12406);C.exports=Marionette.Behavior.extend({tagView:null,listenerAttached:!1,initialize:function initialize(){this.listenerAttached||(this.listenTo(this.view.options.container.settings,"change:external:__dynamic__",this.onAfterExternalChange),this.listenerAttached=!0)},shouldRenderTools:function shouldRenderTools(){if(this.getOption("dynamicSettings").default)return!1;var C=elementor.helpers.hasPro()&&!elementor.helpers.hasProAndNotConnected(),T=this.getOption("tags").length>0;return!C||T},renderTools:function renderTools(){var C=this;if(this.shouldRenderTools()){var T=jQuery(Marionette.Renderer.render("#tmpl-elementor-control-dynamic-switcher"));T.on("click",(function(T){return C.onDynamicSwitcherClick(T)})),this.$el.find(".elementor-control-dynamic-switcher-wrapper").append(T),this.ui.dynamicSwitcher=T,"color"===this.view.model.get("type")&&(this.view.colorPicker?this.moveDynamicSwitcherToColorPicker():setTimeout((function(){return C.moveDynamicSwitcherToColorPicker()}))),this.ui.dynamicSwitcher.tipsy({title:function title(){return this.getAttribute("data-tooltip")},gravity:"s"})}},moveDynamicSwitcherToColorPicker:function moveDynamicSwitcherToColorPicker(){var C=this.view.colorPicker.$pickerToolsContainer;this.ui.dynamicSwitcher.removeClass("elementor-control-unit-1").addClass("e-control-tool");var T=C.find(".elementor-control-element-color-picker");T.length?this.ui.dynamicSwitcher.insertBefore(T):C.append(this.ui.dynamicSwitcher)},toggleDynamicClass:function toggleDynamicClass(){this.$el.toggleClass("elementor-control-dynamic-value",this.isDynamicMode())},isDynamicMode:function isDynamicMode(){var C=this.view.container.settings.get("__dynamic__");return!(!C||!C[this.view.model.get("name")])},createTagsList:function createTagsList(){var C=_.groupBy(this.getOption("tags"),"group"),T=elementor.dynamicTags.getConfig("groups"),B=this.ui.tagsList=jQuery("
",{class:"elementor-tags-list"}),$=jQuery("
",{class:"elementor-tags-list__inner"});if(B.append($),jQuery.each(T,(function(T){var B=C[T];if(B){var V=jQuery("
",{class:"elementor-tags-list__group-title"}).text(this.title);$.append(V),B.forEach((function(C){var T=jQuery("
",{class:"elementor-tags-list__item"});T.text(C.title).attr("data-tag-name",C.name),$.append(T)}))}})),!elementor.helpers.hasPro()&&Object.keys(C).length){var V=Marionette.Renderer.render("#tmpl-elementor-dynamic-tags-promo",{promotionUrl:elementor.config.dynamicPromotionURL.replace("%s",this.view.model.get("name"))});$.append(V)}$.on("click",".elementor-tags-list__item",this.onTagsListItemClick.bind(this)),elementorCommon.elements.$body.append(B)},getTagsList:function getTagsList(){return this.ui.tagsList||this.createTagsList(),this.ui.tagsList},toggleTagsList:function toggleTagsList(){var C=this.getTagsList();if(C.is(":visible"))C.hide();else{var T=elementorCommon.config.isRTL?"left":"right";C.show().position({my:"".concat(T," top"),at:"".concat(T," bottom+5"),of:this.ui.dynamicSwitcher})}},setTagView:function setTagView(C,T,B){this.tagView&&this.tagView.destroy();var $=this.tagView=new L({id:C,name:T,settings:B,controlName:this.view.model.get("name"),dynamicSettings:this.getOption("dynamicSettings")}),V=this.view.options.container,q=V.controls[$.options.controlName].label;$.options.container=new elementorModules.editor.Container({type:"dynamic",id:C,model:$.model,settings:$.model,view:$,parent:V,label:V.label+" "+q,controls:$.model.options.controls,renderer:V}),$.render(),this.$el.find(".elementor-control-tag-area").after($.el),this.listenTo($,"remove",this.onTagViewRemove.bind(this))},setDefaultTagView:function setDefaultTagView(){var C=elementor.dynamicTags.tagTextToTagData(this.getDynamicValue());this.setTagView(C.id,C.name,C.settings)},tagViewToTagText:function tagViewToTagText(){var C=this.tagView;return elementor.dynamicTags.tagDataToTagText(C.getOption("id"),C.getOption("name"),C.model)},getDynamicValue:function getDynamicValue(){return this.view.container.dynamic.get(this.view.model.get("name"))},destroyTagView:function destroyTagView(){this.tagView&&(this.tagView.destroy(),this.tagView=null)},showPromotion:function showPromotion(){var C=elementor.helpers.hasProAndNotConnected(),T={title:$("Dynamic Content","elementor"),content:$("Create more personalized and dynamic sites by populating data from various sources with dozens of dynamic tags to choose from.","elementor"),targetElement:this.ui.dynamicSwitcher,position:{blockStart:"-10"},actionButton:{url:C?elementorProEditorConfig.urls.connect:elementor.config.dynamicPromotionURL.replace("%s",this.view.model.get("name")),text:$(C?"Connect & Activate":"Upgrade","elementor")}};elementor.promotion.showDialog(T)},onRender:function onRender(){this.$el.addClass("elementor-control-dynamic"),this.renderTools(),this.toggleDynamicClass(),this.isDynamicMode()&&this.setDefaultTagView()},onDynamicSwitcherClick:function onDynamicSwitcherClick(C){C.stopPropagation(),this.getOption("tags").length?this.toggleTagsList():this.showPromotion()},onTagsListItemClick:function onTagsListItemClick(C){var T=jQuery(C.currentTarget);this.setTagView(elementorCommon.helpers.getUniqueId(),T.data("tagName"),{}),this.view.getGlobalKey()&&this.view.triggerMethod("unset:global:value"),this.isDynamicMode()?$e.run("document/dynamic/settings",{container:this.view.options.container,settings:(0,V.default)({},this.view.model.get("name"),this.tagViewToTagText())}):$e.run("document/dynamic/enable",{container:this.view.options.container,settings:(0,V.default)({},this.view.model.get("name"),this.tagViewToTagText())}),this.toggleDynamicClass(),this.toggleTagsList(),this.tagView.getTagConfig().settings_required&&this.tagView.showSettingsPopup()},onTagViewRemove:function onTagViewRemove(){$e.run("document/dynamic/disable",{container:this.view.options.container,settings:(0,V.default)({},this.view.model.get("name"),this.tagViewToTagText())}),this.toggleDynamicClass()},onAfterExternalChange:function onAfterExternalChange(){this.destroyTagView(),this.isDynamicMode()&&this.setDefaultTagView(),this.toggleDynamicClass()},onDestroy:function onDestroy(){this.destroyTagView(),this.ui.tagsList&&this.ui.tagsList.remove()}})},41972:(C,T,B)=>{"use strict";var $=B(73203)(B(93231));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T{"use strict";C.exports=Marionette.ItemView.extend({className:"elementor-tag-controls-stack-empty",template:"#tmpl-elementor-tag-controls-stack-empty"})},52099:(C,T,B)=>{"use strict";var $=B(8061);C.exports=elementorModules.editor.views.ControlsStack.extend({activeTab:"content",template:_.noop,emptyView:$,isEmpty:function isEmpty(){return this.collection.length<2},childViewOptions:function childViewOptions(){return{container:this.options.container}},getNamespaceArray:function getNamespaceArray(){var C=elementor.getPanelView().getCurrentPageView(),T=C.getNamespaceArray();return T.push(C.activeSection),T.push(this.getOption("controlName")),T.push(this.getOption("name")),T},onRenderTemplate:function onRenderTemplate(){this.activateFirstSection()}})},12406:(C,T,B)=>{"use strict";var $=B(52099);C.exports=Marionette.ItemView.extend({className:"elementor-dynamic-cover e-input-style",tagControlsStack:null,templateHelpers:function templateHelpers(){var C={};return this.model&&(C.controls=this.model.options.controls),C},ui:{remove:".elementor-dynamic-cover__remove"},events:function events(){var events={"click @ui.remove":"onRemoveClick"};return this.hasSettings()&&(events.click="onClick"),events},getTemplate:function getTemplate(){var C=this.getTagConfig(),T=Marionette.TemplateCache.get("#tmpl-elementor-control-dynamic-cover"),B=Marionette.Renderer.render(T,{hasSettings:this.hasSettings(),isRemovable:!this.getOption("dynamicSettings").default,title:C.title,content:C.panel_template});return Marionette.TemplateCache.prototype.compileTemplate(B.trim())},getTagConfig:function getTagConfig(){return elementor.dynamicTags.getConfig("tags."+this.getOption("name"))},initSettingsPopup:function initSettingsPopup(){var C={className:"elementor-tag-settings-popup",position:{my:"left top+5",at:"left bottom",of:this.$el,autoRefresh:!0},hide:{ignore:".select2-container"}},T=elementorCommon.dialogsManager.createWidget("buttons",C);this.getSettingsPopup=function(){return T}},hasSettings:function hasSettings(){return!!Object.values(this.getTagConfig().controls).length},showSettingsPopup:function showSettingsPopup(){this.tagControlsStack||this.initTagControlsStack();var C=this.getSettingsPopup();C.isVisible()||C.show()},initTagControlsStack:function initTagControlsStack(){this.tagControlsStack=new $({model:this.model,controls:this.model.controls,name:this.options.name,controlName:this.options.controlName,container:this.options.container,el:this.getSettingsPopup().getElements("message")[0]}),this.tagControlsStack.render()},initModel:function initModel(){this.model=new elementorModules.editor.elements.models.BaseSettings(this.getOption("settings"),{controls:this.getTagConfig().controls})},initialize:function initialize(){this.initModel(),this.hasSettings()&&(this.initSettingsPopup(),this.listenTo(this.model,"change",this.render))},onClick:function onClick(){this.showSettingsPopup()},onRemoveClick:function onRemoveClick(C){C.stopPropagation(),this.destroy(),this.trigger("remove")},onDestroy:function onDestroy(){this.hasSettings()&&this.getSettingsPopup().destroy(),this.tagControlsStack&&this.tagControlsStack.destroy()}})},52927:C=>{"use strict";C.exports=Marionette.ItemView.extend({hasTemplate:!0,tagName:"span",className:function className(){return"elementor-tag"},getTemplate:function getTemplate(){return!!this.hasTemplate&&Marionette.TemplateCache.get("#tmpl-elementor-tag-"+this.getOption("name")+"-content")},initialize:function initialize(){try{this.getTemplate()}catch(C){this.hasTemplate=!1}},getConfig:function getConfig(C){var T=elementor.dynamicTags.getConfig("tags."+this.getOption("name"));return C?T[C]:T},getContent:function getContent(){var C,T=this.getConfig("content_type");if(!this.hasTemplate&&void 0===(C=elementor.dynamicTags.loadTagDataFromCache(this)))throw new Error(elementor.dynamicTags.CACHE_KEY_NOT_FOUND_ERROR);if("ui"===T){if(this.render(),this.hasTemplate)return this.el.outerHTML;this.getConfig("wrapped_tag")&&(C=jQuery(C).html()),this.$el.html(C)}return C},onRender:function onRender(){this.el.id="elementor-tag-"+this.getOption("id")}})},55920:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(19076)),G=$(B(26886));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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var K=function(C){(0,q.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,V.default)(this,Component),T.apply(this,arguments)}return(0,L.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"shortcuts"}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{"":{keys:"ctrl+?, shift+?",exclude:["input"]}}}},{key:"getModalLayout",value:function getModalLayout(){return G.default}}]),Component}(H.default);T.default=K},10136:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(55920));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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"onInit",value:function onInit(){$e.components.register(new H.default({manager:this}))}}]),_default}(elementorModules.Module);T.default=G},27734:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(73308));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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"id",value:function id(){return"elementor-hotkeys"}},{key:"templateHelpers",value:function templateHelpers(){return{environment:H.default}}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-hotkeys"}}]),_default}(Marionette.LayoutView);T.default=G},26886:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(51121)),U=V(B(58724)),H=V(B(71173)),G=V(B(74910)),K=V(B(27734));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,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var Q=function(C){(0,U.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,L.default)(this,_default),T.apply(this,arguments)}return(0,q.default)(_default,[{key:"getModalOptions",value:function getModalOptions(){return{id:"elementor-hotkeys__modal"}}},{key:"getLogoOptions",value:function getLogoOptions(){return{title:$("Keyboard Shortcuts","elementor")}}},{key:"initialize",value:function initialize(){for(var C,T=arguments.length,B=new Array(T),$=0;${"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(7501)),L=$(B(78983)),q=$(B(42081)),W=$(B(93231)),U=function(){function _default(){var C=this;(0,L.default)(this,_default),(0,W.default)(this,"loaded",{}),(0,W.default)(this,"notifyCallback",null),(0,W.default)(this,"fetchIcons",(function(T){fetch(T.fetchJson,{mode:"cors"}).then((function(C){return C.json()})).then((function(B){return T.icons=B.icons,C.normalizeIconList(T)}))})),(0,W.default)(this,"runCallback",(function(T){return"function"!=typeof C.notifyCallback?T:C.notifyCallback(T)})),(0,W.default)(this,"initIconType",(function(T,B){C.notifyCallback=B;var $=elementor.iconManager.store;if(C.loaded[T.name])return T.icons=$.getIcons(T),C.runCallback(T);if(T.enqueue&&T.enqueue.forEach((function(C){elementor.helpers.enqueueEditorStylesheet(C)})),T.url&&elementor.helpers.enqueueEditorStylesheet(T.url),$.isValid(T)){var V=$.get($.getKey(T));return C.normalizeIconList(V)}return T.icons&&T.icons.length?C.normalizeIconList(T):T.fetchJson?C.fetchIcons(T):void 0}))}return(0,q.default)(_default,[{key:"normalizeIconList",value:function normalizeIconList(C){var T,B={};jQuery.each(C.icons,(function($,L){T=L,"object"===(0,V.default)(T)&&(T=Object.entries(T)[0][0]),T&&(B[T]={prefix:C.prefix,selector:C.prefix+T.trim(":"),name:elementorCommon.helpers.upperCaseWords(T).trim(":").split("-").join(" "),filter:T.trim(":"),displayPrefix:C.displayPrefix||C.prefix.replace("-","")})})),Object.keys(B).length&&(C.icons=B,this.loaded[C.name]=!0,elementor.iconManager.store.save(C),this.runCallback(C))}}]),_default}();T.default=U},26801:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=function(){function Store(){(0,V.default)(this,Store)}return(0,L.default)(Store,[{key:"save",value:function save(C){elementorCommon.storage.set(Store.getKey(C),C)}},{key:"getIcons",value:function getIcons(C){var T=this.get(Store.getKey(C));return!(!T||!T.icons)&&T.icons}},{key:"get",value:function get(C){return elementorCommon.storage.get(C)}},{key:"isValid",value:function isValid(C){var T=this.get(Store.getKey(C));return!!T&&(T.ver===C.ver&&(T.icons&&T.icons.length))}}],[{key:"getKey",value:function getKey(C){var T=C.name?C.name:C;return"elementor_".concat(T,"_icons")}}]),Store}();T.default=q},60443:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(77266)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(93231)),Q=$(B(23615)),J=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==V(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}$.default=C,B&&B.set(C,$);return $}(B(87363));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,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var Y=function(C){(0,U.default)(LazyIconList,C);var T=_createSuper(LazyIconList);function LazyIconList(){var C;(0,L.default)(this,LazyIconList);for(var B=arguments.length,$=new Array(B),V=0;VW&&(U=W),V>W-U&&(V=W-U);var H=W-V-U,G=V*q,K=(V+U)*q-1,Q=L.slice(G,K+1),Y={height:"".concat(V*B.height,"px")},X={height:"".concat(H*B.height,"px")};return J.default.createElement(J.Fragment,null,J.default.createElement("div",{className:"elementor-icons-manager__tab__content__offset",style:Y}),J.default.createElement("div",{id:"elementor-icons-manager__tab__content"},Q),J.default.createElement("div",{className:"elementor-icons-manager__tab__content__tail",style:X}))})),C}return(0,q.default)(LazyIconList,[{key:"componentDidMount",value:function componentDidMount(){this.attachScrollListener(),this.maybeMeasureItem()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.clearDebounceScrollCallback();var C=document.getElementById(this.selectors.wrapper);C&&C.removeEventListener("scroll",this.handleScroll)}},{key:"clearDebounceScrollCallback",value:function clearDebounceScrollCallback(){clearTimeout(this._debounce)}},{key:"renderFirstElementForMeasurement",value:function renderFirstElementForMeasurement(){return J.default.createElement("div",{id:"elementor-icons-manager__tab__content"},this.props.items[0])}},{key:"hasSelected",value:function hasSelected(){return-1!==this.props.selectedIndex}}]),LazyIconList}(J.Component),X=Y;T.default=X,Y.propTypes={items:Q.default.array,selectedIndex:Q.default.number,parentRef:Q.default.any}},8731:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203),L=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.renderIconManager=T.default=void 0;var q=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==L(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},V=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=V?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}$.default=C,B&&B.set(C,$);return $}(B(87363)),W=V(B(73119)),U=V(B(78983)),H=V(B(42081)),G=V(B(77266)),K=V(B(58724)),Q=V(B(71173)),J=V(B(74910)),Y=V(B(93231)),X=V(B(23615)),Z=V(B(66535)),ee=V(B(71656)),te=V(B(51829));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 $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T0&&void 0!==arguments[0])||arguments[0];return C.props.icons.map((function(B){if(T^C.isNativeTab(B))return"";var $=B.name===C.state.activeTab,V="elementor-icons-manager__tab-link";return $&&(V+=" elementor-active"),q.default.createElement("div",{className:V,key:B.name,onClick:function onClick(){$||C.setState({activeTab:B.name})}},q.default.createElement("i",{className:B.labelIcon}),B.label)}))})),(0,Y.default)((0,G.default)(C),"getActiveTabIcons",(function(T){if(T.name)return C.getActiveTabIcons(T.name);if(C.cache[T])return C.cache[T].icons;if("recommended"===T)return C.state.iconTabs[0].icons;if("all"===T)return C.getAllIcons();if(!C.state.loaded[T]){var B=C.props.icons.filter((function(C){return T===C.name}));return elementor.iconManager.library.initIconType(_objectSpread({},B[0]),(function(T){C.cache[T.name]=T,C.updateLoaded(T.name)}))}return elementor.iconManager.store.getIcons(T)})),(0,Y.default)((0,G.default)(C),"getAllIcons",(function(){if(C.cache.all)return C.cache.all.icons;var T={};return C.props.icons.forEach((function(B){"all"!==B.name&&"recommended"!==B.name&&(T[B.name]=C.getActiveTabIcons(B.name))})),C.cache.all={icons:T},T})),(0,Y.default)((0,G.default)(C),"handleSearch",(function(T){var B=T.target.value;if(B&&""!==B){if(B=B.toLocaleLowerCase(),C.state.filter===B)return}else B="";C.setState({filter:B})})),(0,Y.default)((0,G.default)(C),"setSelected",(function(T){elementor.iconManager.setSettings("selectedIcon",T),C.setState({selected:T})})),(0,Y.default)((0,G.default)(C),"getSelected",(function(){var T=C.state.selected;return""===T.value&&C.props.selected&&C.props.selected.value&&(T={value:C.props.selected.value,library:C.props.selected.library}),T})),(0,Y.default)((0,G.default)(C),"render",(function(){var T=C.getActiveTab(),B=T.name?T.name:T,$=C.props.showSearch,V=void 0===$||$,L=C.state.filter;if("GoPro"!==T){if(!B||!C.state.loaded[B])return"Loading";T&&(T.icons=C.getActiveTabIcons(T))}var U=C.getSelected();return q.default.createElement(q.Fragment,null,q.default.createElement("div",{id:"elementor-icons-manager__sidebar",className:"elementor-templates-modal__sidebar"},q.default.createElement("div",{id:"elementor-icons-manager__tab-links"},C.getIconTabsLinks(),C.getUploadCustomButton(),C.getIconTabsLinks(!1))),q.default.createElement("div",{id:"elementor-icons-manager__main",className:"elementor-templates-modal__content"},"GoPro"===B?q.default.createElement(te.default,null):q.default.createElement(q.Fragment,null,V?C.getSearchHTML():"",q.default.createElement("div",{id:"elementor-icons-manager__tab__wrapper",ref:C.scrollViewRef},q.default.createElement("div",{id:"elementor-icons-manager__tab__title"},T.label),q.default.createElement("div",{id:"elementor-icons-manager__tab__content_wrapper"},q.default.createElement("input",{type:"hidden",name:"icon_value",id:"icon_value",value:U.value}),q.default.createElement("input",{type:"hidden",name:"icon_type",id:"icon_type",value:U.library}),C.state.loaded[T.name]?q.default.createElement(ee.default,(0,W.default)({setSelected:C.setSelected,selected:U,filter:L,key:T.name,parentRef:C.scrollViewRef},T)):"Loading")))))})),C}return(0,H.default)(IconsManager,[{key:"updateLoaded",value:function updateLoaded(C){var T=this.state.loaded;T[C]=!0,this.setState({loaded:T})}},{key:"isNativeTab",value:function isNativeTab(C){return("all"===C.name||"recommended"===C.name||"fa-"===C.name.substr(0,3))&&C.native}},{key:"getUploadCustomButton",value:function getUploadCustomButton(){var C=this,T=function onClick(){"GoPro"!==C.state.activeTab&&C.setState({activeTab:"GoPro"})};return this.props.customIconsURL&&(T=function onClick(){window.open(C.props.customIconsURL,"_blank")}),q.default.createElement("div",{id:"elementor-icons-manager__upload"},q.default.createElement("div",{id:"elementor-icons-manager__upload__title"},$("My Libraries","elementor")),q.default.createElement("button",{id:"elementor-icons-manager__upload__button",className:"elementor-button",onClick:T},$("Upload","elementor")))}},{key:"getSearchHTML",value:function getSearchHTML(){return q.default.createElement("div",{id:"elementor-icons-manager__search"},q.default.createElement("input",{placeholder:"Filter by name...",onInput:this.handleSearch}),q.default.createElement("i",{className:"eicon-search"}))}}]),IconsManager}(q.Component),re=ne;T.default=re;T.renderIconManager=function renderIconManager(C){var T=document.querySelector("#elementor-icons-manager-modal .dialog-content");return Z.default.render(q.default.createElement(ne,(0,W.default)({},C,{containerElement:T})),T)},ne.propTypes={activeTab:X.default.any,customIconsURL:X.default.string,icons:X.default.any,loaded:X.default.any,modalView:X.default.any,recommended:X.default.oneOfType([X.default.bool,X.default.object]),selected:X.default.any,showSearch:X.default.bool}},48478:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==V(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}$.default=C,B&&B.set(C,$);return $}(B(87363)),q=$(B(42081)),W=$(B(78983)),U=$(B(77266)),H=$(B(58724)),G=$(B(71173)),K=$(B(74910)),Q=$(B(93231)),J=$(B(23615));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,$=(0,K.default)(C);if(T){var V=(0,K.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,G.default)(this,B)}}var Y=function(C){(0,H.default)(Icon,C);var T=_createSuper(Icon);function Icon(){var C;(0,W.default)(this,Icon);for(var B=arguments.length,$=new Array(B),V=0;V{"use strict";var $=B(38003).__,V=B(73203),L=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==L(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},V=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=V?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}$.default=C,B&&B.set(C,$);return $}(B(87363)),W=V(B(42081)),U=V(B(78983)),H=V(B(77266)),G=V(B(58724)),K=V(B(71173)),Q=V(B(74910)),J=V(B(93231));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,$=(0,Q.default)(C);if(T){var V=(0,Q.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,K.default)(this,B)}}var Y=function(C){(0,G.default)(IconsGoPro,C);var T=_createSuper(IconsGoPro);function IconsGoPro(){var C;(0,U.default)(this,IconsGoPro);for(var B=arguments.length,V=new Array(B),L=0;L{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==V(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}$.default=C,B&&B.set(C,$);return $}(B(87363)),q=$(B(40131)),W=$(B(9833)),U=$(B(78983)),H=$(B(42081)),G=$(B(77266)),K=$(B(58724)),Q=$(B(71173)),J=$(B(74910)),Y=$(B(93231)),X=$(B(23615)),Z=$(B(60443)),ee=$(B(48478));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 _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 $=0,V=function F(){};return{s:V,n:function n(){return $>=C.length?{done:!0}:{done:!1,value:C[$++]}},e:function e(C){throw C},f:V}}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 L,q=!0,W=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return q=C.done,C},e:function e(C){W=!0,L=C},f:function f(){try{q||null==B.return||B.return()}finally{if(W)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);BT.filter)||-1}))})),(0,Y.default)((0,G.default)(C),"getLibrary",(function(C){return elementor.config.icons.libraries.filter((function(T){return C===T.name}))})),(0,Y.default)((0,G.default)(C),"handleRecommendedList",(function(){var T=[];return Object.entries(C.props.icons).forEach((function(B){var $=C.getLibrary(B[0])[0].icons,V={};B[1].forEach((function(C){$[C]&&(V[C]=$[C])})),T=[].concat((0,W.default)(T),(0,W.default)(C.getIconsOfType(B[0],V)))})),T})),(0,Y.default)((0,G.default)(C),"getIconsComponentList",(function(){var T=[],B=C.props,$=B.name,V=B.icons,L=B.filter;switch($){case"all":T=C.handleFullIconList();break;case"recommended":T=C.handleRecommendedList();break;default:T=C.getIconsOfType($,V)}return L&&(T=Object.values(T).filter((function(C){return C.props.data.name.toLowerCase().indexOf(L)>-1}))),T})),(0,Y.default)((0,G.default)(C),"render",(function(){var T,B=C.getIconsComponentList(),$=-1,V=_createForOfIteratorHelper(B.entries());try{for(V.s();!(T=V.n()).done;){var W=(0,q.default)(T.value,2),U=W[0];if(W[1].props.containerClass.includes("elementor-selected")){$=U;break}}}catch(C){V.e(C)}finally{V.f()}return L.default.createElement(Z.default,{selectedIndex:$,items:B,parentRef:C.props.parentRef})})),C}return(0,H.default)(Tab,[{key:"getIconsOfType",value:function getIconsOfType(C,T){var B=this,$=this.props,V=$.selected,q=$.filter;return Object.entries(T).map((function(T){var $=T[1],W=T[0],U=$.displayPrefix+" "+$.selector,H="elementor-icons-manager__tab__item";V.value===U&&(H+=" elementor-selected");var G=H+C+"-"+W+q;return L.default.createElement(ee.default,{key:G,library:C,keyID:W,containerClass:H,className:U,setSelectedHandler:B.props.setSelected,data:$})}))}}]),Tab}(L.Component);te.propTypes={data:X.default.any,filter:X.default.any,icons:X.default.object,name:X.default.string,selected:X.default.object,setSelected:X.default.func,parentRef:X.default.any};var ne=te;T.default=ne},56903:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910)),G=V(B(41864)),K=B(8731),Q=V(B(4982)),J=V(B(26801));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,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var Y=function(C){(0,W.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,L.default)(this,_default),T.apply(this,arguments)}return(0,q.default)(_default,[{key:"onInit",value:function onInit(){this.library=new Q.default,this.store=new J.default,elementor.helpers.fetchFa4ToFa5Mapping(),this.cache={}}},{key:"getLayout",value:function getLayout(){var C=this;if(!this.layout){this.layout=new G.default;var T=this.layout.getModal();T.addButton({name:"insert_icon",text:$("Insert","elementor"),classes:"elementor-button e-primary",callback:function callback(){C.updateControlValue(),C.unMountIconManager()}}),T.on("show",this.onPickerShow.bind(this)).on("hide",this.unMountIconManager.bind(this))}return this.layout}},{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectedIcon:{}}}},{key:"unMountIconManager",value:function unMountIconManager(){this.unmount()}},{key:"loadIconLibraries",value:function loadIconLibraries(){this.cache.loaded||(elementor.config.icons.libraries.forEach((function(C){"all"!==C.name&&elementor.iconManager.library.initIconType(C)})),this.cache.loaded=!0)}},{key:"onPickerShow",value:function onPickerShow(){var C=this.getSettings("controlView"),T={GoPro:!0},B={recommended:C.model.get("recommended")||!1},$=C.getControlValue(),V=elementor.config.icons.libraries;if($.library&&$.value||($={value:"",library:""}),B.selected=$,this.setSettings("selectedIcon",$),B.recommended){var L=!1;V.forEach((function(C,T){"recommended"===C.name&&(L=!0,V[T].icons=B.recommended)})),L||V.unshift({name:"recommended",label:"Recommended",icons:B.recommended,labelIcon:"eicon-star-o",native:!0})}else V=V.filter((function(C){return"recommended"!==C.name}));V.forEach((function(C,B){-1===["all","recommended"].indexOf(C.name)&&elementor.iconManager.library.initIconType(C,(function(C){V[B]=C})),T[C.name]=!0})),B.loaded=T,B.icons=V;var q=$.library||V[0].name;if("svg"===$.library&&(q=V[0].name),Object.keys(V).some((function(C){return C===q}))||(q=V[0].name),B.recommended&&""!==$.library&&""!==$.value&&Object.prototype.hasOwnProperty.call(B.recommended,$.library)){var W=V.filter((function(C){return $.library===C.name})),U=$.value.replace(W[0].displayPrefix+" "+W[0].prefix,"");B.recommended[$.library].some((function(C){return-1{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(51121)),U=V(B(58724)),H=V(B(71173)),G=V(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,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,U.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,L.default)(this,_default),T.apply(this,arguments)}return(0,q.default)(_default,[{key:"getModalOptions",value:function getModalOptions(){return{id:"elementor-icons-manager-modal"}}},{key:"getLogoOptions",value:function getLogoOptions(){return{title:$("Icon Library","elementor")}}},{key:"initialize",value:function initialize(){for(var C,T=arguments.length,B=new Array(T),$=0;${"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Drop=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Drop,C);var T=_createSuper(Drop);function Drop(){return(0,V.default)(this,Drop),T.apply(this,arguments)}return(0,L.default)(Drop,[{key:"validateArgs",value:function validateArgs(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.requireContainer(C),this.requireArgumentType("model","object",C)}},{key:"apply",value:function apply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=C.containers,B=void 0===T?[C.container]:T,$=C.options,V=void 0===$?{}:$,L=[];return B.forEach((function(T){L.push(T.view.createElementFromModel(C.model,V))})),1===B.length?L[0]:L}}]),Drop}($e.modules.CommandBase);T.Drop=H},17085:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Drop",{enumerable:!0,get:function get(){return $.Drop}}),Object.defineProperty(T,"Reload",{enumerable:!0,get:function get(){return V.Reload}});var $=B(32447),V=B(59657)},59657:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Reload=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Reload,C);var T=_createSuper(Reload);function Reload(){return(0,V.default)(this,Reload),T.apply(this,arguments)}return(0,L.default)(Reload,[{key:"apply",value:function apply(){elementor.reloadPreview()}}]),Reload}($e.modules.CommandBase);T.Reload=H},8916:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==V(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}$.default=C,B&&B.set(C,$);return $}(B(17085));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,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var K=function(C){(0,W.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,L.default)(this,Component),T.apply(this,arguments)}return(0,q.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"preview"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(G)}}]),Component}($e.modules.ComponentBase);T.default=K},76602:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(77266)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(93231));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 $=0,V=function F(){};return{s:V,n:function n(){return $>=C.length?{done:!0}:{done:!1,value:C[$++]}},e:function e(C){throw C},f:V}}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 L,q=!0,W=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return q=C.done,C},e:function e(C){W=!0,L=C},f:function f(){try{q||null==B.return||B.return()}finally{if(W)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);B0&&void 0!==arguments[0]?arguments[0]:null,T=Object.values(this.elements);return!T.length&&C&&(T=Array.isArray(C)?C:[C]),T}},{key:"add",value:function add(C){var T=arguments.length>1&&void 0!==arguments[1]&&arguments[1];C=Array.isArray(C)?C:[C],T||this.remove([],!0);var B,$=_createForOfIteratorHelper(C);try{for($.s();!(B=$.n()).done;){var V=B.value;this.elements[V.id]=V,V.view.select()}}catch(C){$.e(C)}finally{$.f()}}},{key:"remove",value:function remove(C){var T=arguments.length>1&&void 0!==arguments[1]&&arguments[1];C=Array.isArray(C)?C:[C],T&&(C=this.getElements());var B,$=_createForOfIteratorHelper(C);try{for($.s();!(B=$.n()).done;){var V=B.value;delete this.elements[V.id],V.view.deselect()}}catch(C){$.e(C)}finally{$.f()}}},{key:"has",value:function has(C){return this.getElements().includes(C)}},{key:"updateType",value:function updateType(){var C=this.getElements();this.type=Boolean(C.length)&&C.reduce((function(C,T){return C===T.type&&T.type}),C[0].type)}},{key:"updateSortable",value:function updateSortable(){elementor.toggleSortableState(!this.isMultiple())}},{key:"updatePanelPage",value:function updatePanelPage(){var C=this.getElements();1===C.length?$e.run("panel/editor/open",{model:C[0].model,view:C[0].view}):$e.internal("panel/open-default",{autoFocusSearch:!1})}},{key:"updateNavigator",value:function updateNavigator(){$e.components.get("document/elements").utils.showNavigator()&&elementor.navigator.getLayout().elements.currentView.recursiveChildInvoke("updateSelection")}},{key:"isMultiple",value:function isMultiple(){return this.getElements().length>1}},{key:"isSameType",value:function isSameType(){return!this.getElements().length||Boolean(this.type)}}]),Manager}(elementorModules.editor.utils.Module);T.default=K},66915:(C,T,B)=>{"use strict";var $=B(73203),V=$(B(50824)),L=$(B(10029)),q=B(99292);C.exports=elementorModules.ViewModule.extend({model:null,hasChange:!1,changeCallbacks:{},addChangeCallback:function addChangeCallback(C,T){this.changeCallbacks[C]=T},bindEvents:function bindEvents(){elementor.on("document:loaded",this.onElementorDocumentLoaded),this.model.on("change",this.onModelChange)},unbindEvents:function unbindEvents(){elementor.off("document:loaded",this.onElementorDocumentLoaded)},addPanelPage:function addPanelPage(){var C=this.getSettings("name");elementor.getPanelView().addPage(C+"_settings",{view:elementor.settings.panelPages[C]||elementor.settings.panelPages.base,title:this.getSettings("panelPage.title"),options:{editedView:this.getEditedView(),model:this.model,controls:this.model.controls,name:C}})},getContainerType:function getContainerType(){return this.getSettings("name")+"_settings"},getContainerId:function getContainerId(){return elementorDevTools.deprecation.deprecated("getContainerId()","3.7.0","getContainerType()"),this.getContainerType()},getEditedView:function getEditedView(){var C=elementor.elementsManager.getElementTypeClass("document").getModel(),T=this.getContainerType(),B=new C({id:T,elType:T,settings:this.model}),$=new elementorModules.editor.Container({type:T,id:T,model:B,settings:B.get("settings"),view:!1,parent:!1,label:this.getSettings("panelPage").title,controls:this.model.controls,document:this.getDocument(),renderer:!1});return{getContainer:function getContainer(){return $},getEditModel:function getEditModel(){return B},model:B,container:$}},getDocument:function getDocument(){return!1},updateStylesheet:function updateStylesheet(C){var T=this.getControlsCSS();C||T.stylesheet.empty(),this.model.handleRepeaterData(this.model.attributes),T.addStyleRules(this.model.getStyleControls(),this.model.attributes,this.model.controls,[/{{WRAPPER}}/g],[this.getSettings("cssWrapperSelector")]),T.addStyleToDocument({at:"before",of:"#elementor-style-e-global-style"})},initModel:function initModel(){this.model=new elementorModules.editor.elements.models.BaseSettings(this.getSettings("settings"),{controls:this.getSettings("controls")})},getStyleId:function getStyleId(){return this.getSettings("name")},initControlsCSSParser:function initControlsCSSParser(){var C;this.destroyControlsCSS=function(){C.removeStyleFromDocument()},this.getControlsCSS=function(){return C||(C=new q({id:this.getStyleId(),settingsModel:this.model,context:this.getEditedView()})),C}},getDataToSave:function getDataToSave(C){return C},save:function save(C){var T=this;return(0,L.default)(V.default.mark((function _callee(){var B,$,L;return V.default.wrap((function _callee$(V){for(;;)switch(V.prev=V.next){case 0:if((B=T).hasChange){V.next=3;break}return V.abrupt("return");case 3:return $=T.model.toJSON({remove:["default"]}),L=T.getDataToSave({data:$}),NProgress.start(),V.abrupt("return",elementorCommon.ajax.addRequest("save_"+T.getSettings("name")+"_settings",{data:L,success:function success(){NProgress.done(),B.setSettings("settings",$),B.hasChange=!1,C&&C.apply(B,arguments)},error:function error(){alert("An error occurred.")}}));case 6:case"end":return V.stop()}}),_callee)})))()},onInit:function onInit(){this.initModel(),this.initControlsCSSParser(),this.addPanelMenuItem(),this.debounceSave=_.debounce(this.save,3e3),elementorModules.ViewModule.prototype.onInit.apply(this,arguments)},addPanelMenuItem:function addPanelMenuItem(){var C=this.getSettings("panelPage.menu");if(C){var T="panel/"+this.getSettings("name")+"-settings",B={icon:C.icon,title:this.getSettings("panelPage.title"),type:"page",pageName:this.getSettings("name")+"_settings",callback:function callback(){return $e.route("".concat(T,"/settings"))}};$e.bc.ensureTab(T,"settings",B.pageName),elementor.modules.layouts.panel.pages.menu.Menu.addItem(B,"settings",C.beforeItem)}},onModelChange:function onModelChange(C){var T=this;T.hasChange=!0,this.getControlsCSS().stylesheet.empty(),_.each(C.changed,(function(C,B){T.changeCallbacks[B]&&T.changeCallbacks[B].call(T,C)})),T.updateStylesheet(!0),T.debounceSave()},onElementorDocumentLoaded:function onElementorDocumentLoaded(){this.updateStylesheet(),this.addPanelPage()},destroy:function destroy(){this.unbindEvents(),this.model.destroy()}})},12767:C=>{"use strict";C.exports=elementorModules.editor.views.ControlsStack.extend({id:function id(){return"elementor-panel-"+this.getOption("name")+"-settings"},getTemplate:function getTemplate(){return"#tmpl-elementor-panel-"+this.getOption("name")+"-settings"},childViewContainer:function childViewContainer(){return"#elementor-panel-"+this.getOption("name")+"-settings-controls"},childViewOptions:function childViewOptions(){return{container:this.getOption("editedView").getContainer()}}})},36551:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(_default,C);var T=_createSuper(_default);function _default(){var C;(0,V.default)(this,_default);for(var B=arguments.length,$=new Array(B),L=0;L{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(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,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,L.default)(this,Component),T.apply(this,arguments)}return(0,q.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"panel/page-settings"}},{key:"defaultTabs",value:function defaultTabs(){return{settings:{title:$("Settings","elementor")},style:{title:$("Style","elementor")},advanced:{title:$("Advanced","elementor")}}}},{key:"renderTab",value:function renderTab(C,T){var B=T.activeControl,$=T.refresh,V=void 0!==$&&$;(this.shouldRenderPage(C)||V)&&elementor.getPanelView().setPage("page_settings").activateTab(C),this.activateControl(B)}},{key:"shouldRenderPage",value:function shouldRenderPage(C){var T,B=elementor.getPanelView(),$="page_settings"===B.getCurrentPageName(),V=C===(null===(T=B.getCurrentPageView())||void 0===T?void 0:T.activeTab);return!$||!V}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return".elementor-panel-navigation"}}]),Component}(V(B(75238)).default);T.default=G},40427:(C,T,B)=>{"use strict";var $=B(73203),V=$(B(76824)),L=$(B(9833)),q=$(B(34991)),W=$(B(40871)),U=B(66915);C.exports=U.extend({getStyleId:function getStyleId(){return this.getSettings("name")+"-"+elementor.documents.getCurrent().id},onInit:function onInit(){U.prototype.onInit.apply(this),$e.components.register(new q.default({manager:this}))},save:function save(){},getDataToSave:function getDataToSave(C){return C.id=elementor.config.document.id,C},getEditedView:function getEditedView(){var C=this;if(this.editedView)return this.editedView;var T=elementor.elementsManager.getElementTypeClass("document").getModel(),B=this.getContainerType(),$=new T({id:B,elType:B,settings:this.model,elements:elementor.elements}),q=new elementorModules.editor.Container({type:B,id:$.id,model:$,settings:$.get("settings"),label:elementor.config.document.panel.title,controls:this.model.controls,children:(0,V.default)(W.default,(0,L.default)(elementor.elements||[])),parent:!1,renderer:{view:{lookup:function lookup(){return q},renderOnChange:function renderOnChange(){return C.updateStylesheet()},renderUI:function renderUI(){return C.updateStylesheet()}}}});return this.editedView={getContainer:function getContainer(){return q},getEditModel:function getEditModel(){return $},model:$,container:q},this.editedView},getContainerType:function getContainerType(){return"document"},getContainerId:function getContainerId(){return elementorDevTools.deprecation.deprecated("getContainerId()","3.7.0","getContainerType()"),this.getContainerType()}})},50235:(C,T,B)=>{"use strict";var $=B(73203)(B(36551));C.exports=elementorModules.Module.extend({modules:{base:B(66915),page:B(40427),editorPreferences:$.default},panelPages:{base:B(12767)},onInit:function onInit(){this.initSettings()},initSettings:function initSettings(){var C=this;_.each(elementor.config.settings,(function(T,B){var $=C.modules[B]||C.modules.base;C[B]=new $(T)}))}})},56284:C=>{"use strict";var T;T=Marionette.Behavior.extend({ui:{insertButton:".elementor-template-library-template-insert"},events:{"click @ui.insertButton":"onInsertButtonClick"},onInsertButtonClick:function onInsertButtonClick(){var C={model:this.view.model};this.ui.insertButton.addClass("elementor-disabled"),"remote"!==C.model.get("source")||elementor.config.library_connect.is_connected?$e.run("library/insert-template",C):$e.route("library/connect",C)}}),C.exports=T},24599:(C,T,B)=>{"use strict";var $,V=B(384);$=Backbone.Collection.extend({model:V}),C.exports=$},57304:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Templates",{enumerable:!0,get:function get(){return $.Templates}});var $=B(61129)},61129:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Templates=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Templates,C);var T=_createSuper(Templates);function Templates(){return(0,V.default)(this,Templates),T.apply(this,arguments)}return(0,L.default)(Templates,null,[{key:"getEndpointFormat",value:function getEndpointFormat(){return"template-library/templates"}}]),Templates}($e.modules.CommandData);T.Templates=H;var G=H;T.default=G},57466:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"InsertTemplate",{enumerable:!0,get:function get(){return $.InsertTemplate}}),Object.defineProperty(T,"Open",{enumerable:!0,get:function get(){return V.Open}});var $=B(36702),V=B(48132)},36702:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.InsertTemplate=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(InsertTemplate,C);var T=_createSuper(InsertTemplate);function InsertTemplate(){return(0,V.default)(this,InsertTemplate),T.apply(this,arguments)}return(0,L.default)(InsertTemplate,[{key:"apply",value:function apply(C){return this.component.insertTemplate(C)}}]),InsertTemplate}($e.modules.CommandBase);T.InsertTemplate=H;var G=H;T.default=G},48132:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Open=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Open,C);var T=_createSuper(Open);function Open(){return(0,V.default)(this,Open),T.apply(this,arguments)}return(0,L.default)(Open,[{key:"apply",value:function apply(C){return this.component.show(C)}}]),Open}($e.modules.CommandBase);T.Open=H;var G=H;T.default=G},61830:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203),L=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=V(B(93231)),W=V(B(78983)),U=V(B(42081)),H=V(B(51121)),G=V(B(58724)),K=V(B(71173)),Q=V(B(74910)),J=V(B(19076)),Y=_interopRequireWildcard(B(57466)),X=_interopRequireWildcard(B(57304));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 _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==L(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},V=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=V?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}return $.default=C,B&&B.set(C,$),$}function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T{"use strict";var $,V=B(38003).__,L=B(38003).sprintf,q=B(73203),W=q(B(7501)),U=q(B(93231)),H=q(B(61830)),G=B(24599);$=function TemplateLibraryManager(){this.modalConfig={};var C,T,B,$=this,q={},K={},Q={};this.init=function(){!function registerDefaultTemplateTypes(){var C={saveDialog:{description:V("Your designs will be available for export and reuse on any page or website","elementor")},ajaxParams:{success:function success(C){$e.route("library/templates/my-templates",{onBefore:function onBefore(){B&&(B.findWhere({template_id:C.template_id})||B.add(C))}})},error:function error(C){$.showErrorDialog(C)}}},T=(0,U.default)({page:V("Page","elementor"),section:V("Section","elementor"),container:V("Container","elementor")},elementor.config.document.type,elementor.config.document.panel.title);jQuery.each(T,(function(T,B){var q=jQuery.extend(!0,{},C,{saveDialog:{title:L(V("Save Your %s to Library","elementor"),B)}});$.registerTemplateType(T,q)}))}(),function registerDefaultFilterTerms(){Q={text:{callback:function callback(C){return C=C.toLowerCase(),this.get("title").toLowerCase().indexOf(C)>=0||_.any(this.get("tags"),(function(T){return T.toLowerCase().indexOf(C)>=0}))}},type:{},subtype:{},favorite:{}}}(),this.component=$e.components.register(new H.default({manager:this})),elementor.addBackgroundClickListener("libraryToggleMore",{element:".elementor-template-library-template-more"})},this.getTemplateTypes=function(C){return C?q[C]:q},this.registerTemplateType=function(C,T){q[C]=T},this.deleteTemplate=function(C,T){var V=$.getDeleteDialog();V.onConfirm=function(){T.onConfirm&&T.onConfirm(),elementorCommon.ajax.addRequest("delete_template",{data:{source:C.get("source"),template_id:C.get("template_id")},success:function success($){B.remove(C,{silent:!0}),T.onSuccess&&T.onSuccess($)}})},V.show()},this.importTemplate=function(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};elementorDevTools.deprecation.deprecated("importTemplate","2.8.0","$e.run( 'library/insert-template' )"),T.model=C,$e.run("library/insert-template",T)},this.saveTemplate=function(C,T){var B=q[C];_.extend(T,{source:"local",type:C}),B.prepareSavedData&&(T=B.prepareSavedData(T)),T.content=JSON.stringify(T.content);var $={data:T};B.ajaxParams&&_.extend($,B.ajaxParams),elementorCommon.ajax.addRequest("save_template",$)},this.requestTemplateContent=function(C,T,B){var $={unique_id:T,data:{source:C,edit_mode:!0,display:!0,template_id:T}};return B&&jQuery.extend(!0,$,B),elementorCommon.ajax.addRequest("get_template_data",$)},this.markAsFavorite=function(C,T){var B={data:{source:C.get("source"),template_id:C.get("template_id"),favorite:T}};return elementorCommon.ajax.addRequest("mark_template_as_favorite",B)},this.getDeleteDialog=function(){return C||(C=elementorCommon.dialogsManager.createWidget("confirm",{id:"elementor-template-library-delete-dialog",headerMessage:V("Delete Template","elementor"),message:V("Are you sure you want to delete this template?","elementor"),strings:{confirm:V("Delete","elementor")}})),C},this.getErrorDialog=function(){return T||(T=elementorCommon.dialogsManager.createWidget("alert",{id:"elementor-template-library-error-dialog",headerMessage:V("An error occurred.","elementor")})),T},this.getTemplatesCollection=function(){return B},this.getConfig=function(C){return C?K[C]?K[C]:{}:K},this.requestLibraryData=function(C){if(!B||C.forceUpdate){C.onBeforeUpdate&&C.onBeforeUpdate();var T={data:{},success:function success(T){B=new G(T.templates),T.config&&(K=T.config),C.onUpdate&&C.onUpdate()}};C.forceSync&&(T.data.sync=!0),elementorCommon.ajax.addRequest("get_library_data",T)}else C.onUpdate&&C.onUpdate()},this.getFilter=function(C){return elementor.channels.templates.request("filter:"+C)},this.setFilter=function(C,T,B){elementor.channels.templates.reply("filter:"+C,T),B||elementor.channels.templates.trigger("filter:change")},this.getFilterTerms=function(C){return C?Q[C]:Q},this.setScreen=function(C){elementor.channels.templates.stopReplying(),$.setFilter("source",C.source,!0),$.setFilter("type",C.type,!0),$.setFilter("subtype",C.subtype,!0),$.showTemplates()},this.loadTemplates=function(C){$.layout.showLoadingView();var T={source:this.getFilter("source")},V={};"local"===T.source&&(V.refresh=!0),$e.data.get("library/templates",T,V).then((function(T){B=new G(T.data.templates),T.data.config&&(K=T.data.config),$.layout.hideLoadingView(),C&&C()}))},this.showTemplates=function(){$.layout.setHeaderDefaultParts(),$.loadTemplates((function(){var C=$.filterTemplates();$.layout.showTemplatesView(new G(C))}))},this.filterTemplates=function(){var C=$.getFilter("source");return B.filter((function(T){if(C!==T.get("source"))return!1;var B=q[T.get("type")];return!B||!1!==B.showInLibrary}))},this.showErrorDialog=function(C){if("object"===(0,W.default)(C)){var T="";_.each(C,(function(C){null!=C&&C.message&&(T+="
"+C.message+".
")})),C=T}else C&&(C+=".");C=C?V("The following error(s) occurred while processing the request:","elementor")+'
'+C+"
":V("Please try again.","elementor"),$.getErrorDialog().setMessage(C).show()}},C.exports=new $},384:C=>{"use strict";C.exports=Backbone.Model.extend({defaults:{template_id:0,title:"",source:"",type:"",subtype:"",author:"",thumbnail:"",url:"",export_link:"",tags:[]}})},7329:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(40055),L=B(82830),q=B(17555),W=B(220),U=B(15307),H=B(89482),G=B(46831),K=B(35333),Q=B(58489);C.exports=elementorModules.common.views.modal.Layout.extend({getModalOptions:function getModalOptions(){var C,T,B,$,V,L,q=null===(C=null===(T=window)||void 0===T||null===(B=T.elementor)||void 0===B||null===($=B.config)||void 0===$||null===(V=$.document)||void 0===V||null===(L=V.panel)||void 0===L?void 0:L.allow_closing_remote_library)||void 0===C||C;return{id:"elementor-template-library-modal",hide:{onOutsideClick:q,onBackgroundClick:q,onEscKeyPress:q}}},getLogoOptions:function getLogoOptions(){return{title:$("Library","elementor"),click:function click(){$e.run("library/open",{toDefault:!0})}}},getTemplateActionButton:function getTemplateActionButton(C){var T=elementor.config.library_connect.subscription_plans,B=elementor.config.library_connect.base_access_tier,$=C.accessTier,V="#tmpl-elementor-template-library-"+(B!==$?"upgrade-plan-button":"insert-button");V=elementor.hooks.applyFilters("elementor/editor/template-library/template/action-button",V,C);var L=Marionette.TemplateCache.get(V),q=T[$],W=elementorAppConfig.hasPro?"Upgrade":"Go ".concat(q.label);try{var U=new URL(q.promotion_url),H=U.searchParams.toString(),G=elementor.hooks.applyFilters("elementor/editor/template-library/template/promotion-link-search-params",H,C);return Marionette.Renderer.render(L,{promotionText:W,promotionLink:"".concat(U.origin).concat(U.pathname,"?").concat(G)})}catch(C){return Marionette.Renderer.render(L,{promotionText:W,promotionLink:q.promotion_url})}},setHeaderDefaultParts:function setHeaderDefaultParts(){var C=this.getHeaderView();C.tools.show(new V),C.menuArea.show(new L),this.showLogo()},showTemplatesView:function showTemplatesView(C){this.modalContent.show(new U({collection:C}))},showImportView:function showImportView(){var C=this.getHeaderView();C.menuArea.reset(),this.modalContent.show(new G),C.logoArea.show(new W)},showConnectView:function showConnectView(C){this.getHeaderView().menuArea.reset(),this.modalContent.show(new K(C))},showSaveTemplateView:function showSaveTemplateView(C){this.getHeaderView().menuArea.reset(),this.modalContent.show(new H({model:C}))},showPreviewView:function showPreviewView(C){this.modalContent.show(new Q({url:C.get("url")}));var T=this.getHeaderView();T.menuArea.reset(),T.tools.show(new q({model:C})),T.logoArea.show(new W)}})},35333:(C,T,B)=>{"use strict";var $=B(38003).__;C.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-connect",id:"elementor-template-library-connect",ui:{connect:"#elementor-template-library-connect__button",thumbnails:"#elementor-template-library-connect-thumbnails"},templateHelpers:function templateHelpers(){return this.getOption("texts")},onRender:function onRender(){var C=this;this.ui.connect.elementorConnect({parseUrl:function parseUrl(T){return T.replace("%%template_type%%",C.model.get("type"))},success:function success(){elementor.config.library_connect.is_connected=!0,C.getOption("model")?$e.run("library/insert-template",{model:C.getOption("model")}):($e.run("library/close"),elementor.notifications.showToast({message:$("Connected successfully.","elementor")}))},error:function error(){elementor.config.library_connect.is_connected=!1}})}})},40055:C=>{"use strict";C.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-header-actions",id:"elementor-template-library-header-actions",ui:{import:"#elementor-template-library-header-import i",sync:"#elementor-template-library-header-sync i",save:"#elementor-template-library-header-save i"},events:{"click @ui.import":"onImportClick","click @ui.sync":"onSyncClick","click @ui.save":"onSaveClick"},onImportClick:function onImportClick(){$e.route("library/import")},onSyncClick:function onSyncClick(){var C=this;C.ui.sync.addClass("eicon-animation-spin"),elementor.templates.requestLibraryData({onUpdate:function onUpdate(){C.ui.sync.removeClass("eicon-animation-spin"),$e.routes.refreshContainer("library")},forceUpdate:!0,forceSync:!0})},onSaveClick:function onSaveClick(){$e.route("library/save-template")}})},220:C=>{"use strict";C.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-header-back",id:"elementor-template-library-header-preview-back",events:{click:"onClick"},onClick:function onClick(){$e.routes.restoreState("library")}})},82830:C=>{"use strict";C.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-header-menu",id:"elementor-template-library-header-menu",templateHelpers:function templateHelpers(){return{tabs:$e.components.get("library").getTabs()}}})},17555:(C,T,B)=>{"use strict";var $=B(56284);C.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-header-preview",id:"elementor-template-library-header-preview",behaviors:{insertTemplate:{behaviorClass:$}}})},46831:(C,T,B)=>{"use strict";var $,V=B(73203),L=V(B(50824)),q=V(B(10029)),W=V(B(40548)),U=B(67010);$=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-import",id:"elementor-template-library-import",ui:{uploadForm:"#elementor-template-library-import-form",fileInput:"#elementor-template-library-import-form-input"},events:{"change @ui.fileInput":"onFileInputChange"},droppedFiles:null,submitForm:function submitForm(){var C,T=this;this.droppedFiles?(C=this.droppedFiles[0],this.droppedFiles=null):(C=this.ui.fileInput[0].files[0],this.ui.uploadForm[0].reset());var B=new FileReader;B.onload=function(B){return T.importTemplate(C.name,B.target.result.replace(/^[^,]+,/,""))},B.readAsDataURL(C)},importTemplate:function importTemplate(C,T){var B=this;return(0,q.default)(L.default.mark((function _callee(){var $;return L.default.wrap((function _callee$(V){for(;;)switch(V.prev=V.next){case 0:return $=elementor.templates.layout,B.options={data:{fileName:C,fileData:T},success:function success(C){elementor.templates.getTemplatesCollection().add(C),$e.route("library/templates/my-templates")},error:function error(C){elementor.templates.showErrorDialog(C),$.showImportView()},complete:function complete(){$.hideLoadingView()}},V.next=4,(0,U.showJsonUploadWarningMessageIfNeeded)({introductionMap:window.elementor.config.user.introduction,IntroductionClass:window.elementorModules.editor.utils.Introduction});case 4:elementorCommon.config.filesUpload.unfilteredFiles?B.sendImportRequest():W.default.getUnfilteredFilesNotEnabledImportTemplateDialog((function(){return B.sendImportRequest()})).show();case 5:case"end":return V.stop()}}),_callee)})))()},sendImportRequest:function sendImportRequest(){elementorCommon.ajax.addRequest("import_template",this.options),elementor.templates.layout.showLoadingView()},onRender:function onRender(){this.ui.uploadForm.on({"drag dragstart dragend dragover dragenter dragleave drop":this.onFormActions.bind(this),dragenter:this.onFormDragEnter.bind(this),"dragleave drop":this.onFormDragLeave.bind(this),drop:this.onFormDrop.bind(this)})},onFormActions:function onFormActions(C){C.preventDefault(),C.stopPropagation()},onFormDragEnter:function onFormDragEnter(){this.ui.uploadForm.addClass("elementor-drag-over")},onFormDragLeave:function onFormDragLeave(C){jQuery(C.relatedTarget).closest(this.ui.uploadForm).length||this.ui.uploadForm.removeClass("elementor-drag-over")},onFormDrop:function onFormDrop(C){this.droppedFiles=C.originalEvent.dataTransfer.files,this.submitForm()},onFileInputChange:function onFileInputChange(){this.submitForm()}}),C.exports=$},58489:C=>{"use strict";var T;T=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-preview",id:"elementor-template-library-preview",ui:{iframe:"> iframe"},onRender:function onRender(){this.ui.iframe.attr("src",this.getOption("url"))}}),C.exports=T},89482:C=>{"use strict";var T;T=Marionette.ItemView.extend({id:"elementor-template-library-save-template",template:"#tmpl-elementor-template-library-save-template",ui:{form:"#elementor-template-library-save-template-form",submitButton:"#elementor-template-library-save-template-submit"},events:{"submit @ui.form":"onFormSubmit"},getSaveType:function getSaveType(){return this.model?this.model.get("elType"):elementor.config.document.library&&elementor.config.document.library.save_as_same_type?elementor.config.document.type:"page"},templateHelpers:function templateHelpers(){var C=this.getSaveType();return elementor.templates.getTemplateTypes(C).saveDialog},onFormSubmit:function onFormSubmit(C){C.preventDefault();var T=this.ui.form.elementorSerializeObject(),B=this.getSaveType(),$={remove:["default"]};T.content=this.model?[this.model.toJSON($)]:elementor.elements.toJSON($),this.ui.submitButton.addClass("elementor-button-state"),elementor.templates.saveTemplate(B,T)}}),C.exports=T},75403:(C,T,B)=>{"use strict";var $,V=B(38003).__;$=Marionette.ItemView.extend({id:"elementor-template-library-templates-empty",template:"#tmpl-elementor-template-library-templates-empty",ui:{title:".elementor-template-library-blank-title",message:".elementor-template-library-blank-message"},modesStrings:{empty:{title:V("Haven’t Saved Templates Yet?","elementor"),message:V("This is where your templates should be. Design it. Save it. Reuse it.","elementor")},noResults:{title:V("No Results Found","elementor"),message:V("Please make sure your search is spelled correctly or try a different words.","elementor")},noFavorites:{title:V("No Favorite Templates","elementor"),message:V("You can mark any pre-designed template as a favorite.","elementor")}},getCurrentMode:function getCurrentMode(){return elementor.templates.getFilter("text")?"noResults":elementor.templates.getFilter("favorite")?"noFavorites":"empty"},onRender:function onRender(){var C=this.modesStrings[this.getCurrentMode()];this.ui.title.html(C.title),this.ui.message.html(C.message)}}),C.exports=$},15307:(C,T,B)=>{"use strict";var $,V=B(38003).__,L=B(73203)(B(91795)),q=B(70078),W=B(79032);$=Marionette.CompositeView.extend({template:"#tmpl-elementor-template-library-templates",id:"elementor-template-library-templates",childViewContainer:"#elementor-template-library-templates-container",reorderOnSort:!0,emptyView:function emptyView(){return new(B(75403))},ui:{textFilter:"#elementor-template-library-filter-text",selectFilter:".elementor-template-library-filter-select",myFavoritesFilter:"#elementor-template-library-filter-my-favorites",orderInputs:".elementor-template-library-order-input",orderLabels:"label.elementor-template-library-order-label"},events:{"input @ui.textFilter":"onTextFilterInput","change @ui.selectFilter":"onSelectFilterChange","change @ui.myFavoritesFilter":"onMyFavoritesFilterChange","mousedown @ui.orderLabels":"onOrderLabelsClick"},comparators:{title:function title(C){return C.get("title").toLowerCase()},popularityIndex:function popularityIndex(C){var popularityIndex=C.get("popularityIndex");return popularityIndex||(popularityIndex=C.get("date")),-popularityIndex},trendIndex:function trendIndex(C){var trendIndex=C.get("trendIndex");return trendIndex||(trendIndex=C.get("date")),-trendIndex}},getChildView:function getChildView(C){return"remote"===C.get("source")?W:q},initialize:function initialize(){this.listenTo(elementor.channels.templates,"filter:change",this._renderChildren)},filter:function filter(C){var T=elementor.templates.getFilterTerms(),B=!0;return jQuery.each(T,(function(T){var $=elementor.templates.getFilter(T);if($){if(this.callback){var V=this.callback.call(C,$);return V||(B=!1),V}var L=$===C.get(T);return L||(B=!1),L}})),B},order:function order(C,T){var B=this.comparators[C]||C;T&&(B=this.reverseOrder(B)),this.collection.comparator=B,this.collection.sort()},reverseOrder:function reverseOrder(C){if("function"!=typeof C){var T=C;C=function comparator(C){return C.get(T)}}return function(T,B){var $=C(T);if(void 0===$)return-1;var V=C(B);return void 0===V||$V?-1:0}},addSourceData:function addSourceData(){var C=this.children.isEmpty();this.$el.attr("data-template-source",C?"empty":elementor.templates.getFilter("source"))},setFiltersUI:function setFiltersUI(){if(!this.select2Instance&&this.$(this.ui.selectFilter).length){var C=this.$(this.ui.selectFilter),T={placeholder:V("Category","elementor"),allowClear:!0,width:150,dropdownParent:this.$el};this.select2Instance=new L.default({$element:C,options:T})}},setMasonrySkin:function setMasonrySkin(){var C=new elementorModules.utils.Masonry({container:this.$childViewContainer,items:this.$childViewContainer.children()});this.$childViewContainer.imagesLoaded(C.run.bind(C))},toggleFilterClass:function toggleFilterClass(){this.$el.toggleClass("elementor-templates-filter-active",!(!elementor.templates.getFilter("text")&&!elementor.templates.getFilter("favorite")))},isPageOrLandingPageTemplates:function isPageOrLandingPageTemplates(){var C=elementor.templates.getFilter("type");return"page"===C||"lp"===C},onRender:function onRender(){"remote"===elementor.templates.getFilter("source")&&"page"!==elementor.templates.getFilter("type")&&"lb"!==elementor.templates.getFilter("type")&&this.setFiltersUI()},onRenderCollection:function onRenderCollection(){this.addSourceData(),this.toggleFilterClass(),"remote"!==elementor.templates.getFilter("source")||this.isPageOrLandingPageTemplates()||this.setMasonrySkin()},onBeforeRenderEmpty:function onBeforeRenderEmpty(){this.addSourceData()},onTextFilterInput:function onTextFilterInput(){elementor.templates.setFilter("text",this.ui.textFilter.val())},onSelectFilterChange:function onSelectFilterChange(C){var T=jQuery(C.currentTarget),B=T.data("elementor-filter");elementor.templates.setFilter(B,T.val())},onMyFavoritesFilterChange:function onMyFavoritesFilterChange(){elementor.templates.setFilter("favorite",this.ui.myFavoritesFilter[0].checked)},onOrderLabelsClick:function onOrderLabelsClick(C){var T,B=jQuery(C.currentTarget.control);B[0].checked||(T="asc"!==B.data("default-ordering-direction")),B.toggleClass("elementor-template-library-order-reverse",T),this.order(B.val(),B.hasClass("elementor-template-library-order-reverse"))}}),C.exports=$},93746:(C,T,B)=>{"use strict";var $,V=B(56284),L=B(56827),q=L.isTierAtLeast,W=L.TIERS;$=Marionette.ItemView.extend({className:function className(){var C="elementor-template-library-template",T=this.model.get("source");return C+=" elementor-template-library-template-"+T,"remote"===T&&(C+=" elementor-template-library-template-"+this.model.get("type")),elementor.config.library_connect.base_access_tier!==this.model.get("accessTier")&&(C+=" elementor-template-library-pro-template"),elementor.hooks.applyFilters("elementor/editor/template-library/template/classes",C,this)},attributes:function attributes(){var C=elementor.config.library_connect.current_access_tier,T=this.model.get("accessTier");if(q(C,T))return{};var B=elementor.config.library_connect.subscription_plans,$=B[T];return C===W.free&&($=B.essential),$?{style:'--elementor-template-library-subscription-plan-label: "'.concat($.label,'";--elementor-template-library-subscription-plan-color: ').concat($.color,";")}:{}},ui:function ui(){return{previewButton:".elementor-template-library-template-preview"}},events:function events(){return{"click @ui.previewButton":"onPreviewButtonClick"}},behaviors:function behaviors(){var behaviors={insertTemplate:{behaviorClass:V}};return elementor.hooks.applyFilters("elementor/editor/template-library/template/behaviors",behaviors,this)}}),C.exports=$},70078:(C,T,B)=>{"use strict";var $,V=B(93746);$=V.extend({template:"#tmpl-elementor-template-library-template-local",ui:function ui(){return _.extend(V.prototype.ui.apply(this,arguments),{deleteButton:".elementor-template-library-template-delete",morePopup:".elementor-template-library-template-more",toggleMore:".elementor-template-library-template-more-toggle",toggleMoreIcon:".elementor-template-library-template-more-toggle i"})},events:function events(){return _.extend(V.prototype.events.apply(this,arguments),{"click @ui.deleteButton":"onDeleteButtonClick","click @ui.toggleMore":"onToggleMoreClick"})},onDeleteButtonClick:function onDeleteButtonClick(){var C=this.ui.toggleMoreIcon;elementor.templates.deleteTemplate(this.model,{onConfirm:function onConfirm(){C.removeClass("eicon-ellipsis-h").addClass("eicon-loading eicon-animation-spin")},onSuccess:function onSuccess(){elementor.templates.showTemplates()}})},onToggleMoreClick:function onToggleMoreClick(){this.ui.morePopup.show()},onPreviewButtonClick:function onPreviewButtonClick(){open(this.model.get("url"),"_blank")}}),C.exports=$},79032:(C,T,B)=>{"use strict";var $,V=B(93746);$=V.extend({template:"#tmpl-elementor-template-library-template-remote",ui:function ui(){return jQuery.extend(V.prototype.ui.apply(this,arguments),{favoriteCheckbox:".elementor-template-library-template-favorite-input"})},events:function events(){return jQuery.extend(V.prototype.events.apply(this,arguments),{"change @ui.favoriteCheckbox":"onFavoriteCheckboxChange"})},onPreviewButtonClick:function onPreviewButtonClick(){$e.route("library/preview",{model:this.model})},onFavoriteCheckboxChange:function onFavoriteCheckboxChange(){var C=this.ui.favoriteCheckbox[0].checked;this.model.set("favorite",C),elementor.templates.markAsFavorite(this.model,C),!C&&elementor.templates.getFilter("favorite")&&elementor.channels.templates.trigger("filter:change")}}),C.exports=$},96731:C=>{"use strict";C.exports=elementorModules.Module.extend({errors:[],__construct:function __construct(C){var T=C.customValidationMethod;T&&(this.validationMethod=T)},getDefaultSettings:function getDefaultSettings(){return{validationTerms:{}}},isValid:function isValid(){var C=this.validationMethod.apply(this,arguments);return!C.length||(this.errors=C,!1)},validationMethod:function validationMethod(C){var T=[];return this.getSettings("validationTerms").required&&((""+C).length||T.push("Required value is empty")),T}})},33273:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(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,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=B(12161),G=function(C){(0,q.default)(BreakpointValidator,C);var T=_createSuper(BreakpointValidator);function BreakpointValidator(){return(0,V.default)(this,BreakpointValidator),T.apply(this,arguments)}return(0,L.default)(BreakpointValidator,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{validationTerms:{max:5120}}}},{key:"getPanelActiveBreakpoints",value:function getPanelActiveBreakpoints(){var C=elementor.documents.currentDocument.config.settings.settings.active_breakpoints.map((function(C){return C.replace("viewport_","")})),T={};return C.forEach((function(C){T[C]=elementorFrontend.config.responsive.breakpoints[C]})),T}},{key:"initBreakpointProperties",value:function initBreakpointProperties(){var C,T,B=this.getSettings("validationTerms"),$=this.getPanelActiveBreakpoints(),V=Object.keys($);this.breakpointIndex=V.indexOf(B.breakpointName),this.topBreakpoint=null===(C=$[V[this.breakpointIndex+1]])||void 0===C?void 0:C.value,this.bottomBreakpoint=null===(T=$[V[this.breakpointIndex-1]])||void 0===T?void 0:T.value}},{key:"validationMethod",value:function validationMethod(C){var T=this.getSettings("validationTerms"),B=H.prototype.validationMethod.call(this,C);return(_.isFinite(C)||""===C)&&(this.validateMinMaxForBreakpoint(C,T)||B.push("Value is not between the breakpoints above or under the edited breakpoint")),B}},{key:"validateMinMaxForBreakpoint",value:function validateMinMaxForBreakpoint(C,T){var B=elementorFrontend.config.responsive.breakpoints[T.breakpointName].default_value,$=!0;return this.initBreakpointProperties(),"mobile"===T.breakpointName&&320===this.bottomBreakpoint&&(this.bottomBreakpoint-=1),this.bottomBreakpoint&&(""!==C&&C<=this.bottomBreakpoint&&($=!1),""===C&&B<=this.bottomBreakpoint&&($=!1)),this.topBreakpoint&&(""!==C&&C>=this.topBreakpoint&&($=!1),""===C&&B>=this.topBreakpoint&&($=!1)),$}}]),BreakpointValidator}(H);T.default=G},12161:(C,T,B)=>{"use strict";var $=B(96731);C.exports=$.extend({validationMethod:function validationMethod(C){var T=this.getSettings("validationTerms"),B=[];return _.isFinite(C)&&(void 0!==T.min&&CT.max&&B.push("Value is greater than maximum")),B}})},40871:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));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 $=0,V=function F(){};return{s:V,n:function n(){return $>=C.length?{done:!0}:{done:!1,value:C[$++]}},e:function e(C){throw C},f:V}}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 L,q=!0,W=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return q=C.done,C},e:function e(C){W=!0,L=C},f:function f(){try{q||null==B.return||B.return()}finally{if(W)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);B{"use strict";var $=B(73203),V=$(B(40131)),L=$(B(93231)),q=$(B(33273));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 $=0,V=function F(){};return{s:V,n:function n(){return $>=C.length?{done:!0}:{done:!1,value:C[$++]}},e:function e(C){throw C},f:V}}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 L,q=!0,W=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return q=C.done,C},e:function e(C){W=!0,L=C},f:function f(){try{q||null==B.return||B.return()}finally{if(W)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);B{"use strict";var $,V=B(73203),L=V(B(7501)),q=V(B(40131));$=B(53005).extend({applySavedValue:function applySavedValue(){var C=this.getControlValue(),T=this.$("[data-setting]"),B=this;_.each(C,(function(C,$){var V=T.filter((function(){return $===this.dataset.setting}));B.setInputValue(V,C)}))},getControlValue:function getControlValue(C){var T=this.container.settings.get(this.model.get("name"));if(!jQuery.isPlainObject(T))return{};if(C){var B=T[C];return void 0===B&&(B=""),B}return elementorCommon.helpers.cloneObject(T)},getCleanControlValue:function getCleanControlValue(C){var T=this,B=Object.fromEntries(Object.entries(this.getControlValue()).filter((function(C){var B=(0,q.default)(C,2),$=B[0],V=B[1];return V&&T.model.get("default")[$]!==V})));return C?null==B?void 0:B[C]:Object.keys(B).length?B:void 0},setValue:function setValue(C,T){var B=this.getControlValue();"object"===(0,L.default)(C)?_.each(C,(function(C,T){B[T]=C})):B[C]=T,this.setSettingsModel(B)},updateElementModel:function updateElementModel(C,T){var B=T.dataset.setting;this.setValue(B,C)}},{getStyleValue:function getStyleValue(C,T){return _.isObject(T)?T[C.toLowerCase()]:""}}),C.exports=$},26804:(C,T,B)=>{"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 $=0,V=function F(){};return{s:V,n:function n(){return $>=C.length?{done:!0}:{done:!1,value:C[$++]}},e:function e(C){throw C},f:V}}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 L,q=!0,W=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return q=C.done,C},e:function e(C){W=!0,L=C},f:function f(){try{q||null==B.return||B.return()}finally{if(W)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);Binput",unitSwitcher:".e-units-switcher",unitChoices:".e-units-choices"})},events:function events(){return Object.assign(V.prototype.events.apply(this,arguments),{"change @ui.units":"onUnitChange","click @ui.units":"onUnitClick","click @ui.unitSwitcher":"onUnitLabelClick"})},updatePlaceholder:function updatePlaceholder(){var C,T=null===(C=this.getControlPlaceholder())||void 0===C?void 0:C.unit;this.ui.units.removeClass("e-units-placeholder"),T!==this.getControlValue("unit")&&this.ui.units.filter('[value="'.concat(T,'"]')).addClass("e-units-placeholder")},recursiveUnitChange:function recursiveUnitChange(){var C=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],T=this.getResponsiveParentView();if(T&&C){var B=T.getControlValue("unit"),$=Object.keys(this.getCleanControlValue()||{});$.splice($.indexOf("unit"),1),B&&!$.length&&(this.setValue("unit",B),this.render())}var V,L=_createForOfIteratorHelper(this.getResponsiveChildrenViews());try{for(L.s();!(V=L.n()).done;){V.value.recursiveUnitChange()}}catch(C){L.e(C)}finally{L.f()}},onRender:function onRender(){V.prototype.onRender.apply(this,arguments),this.updatePlaceholder(),this.updateUnitChoices()},onUnitChange:function onUnitChange(){this.toggleUnitChoices(!1),this.recursiveUnitChange(!1),this.updatePlaceholder(),this.updateUnitChoices()},toggleUnitChoices:function toggleUnitChoices(C){this.ui.unitChoices.toggleClass("e-units-choices-open",C)},updateUnitChoices:function updateUnitChoices(){var C=this.getControlValue("unit");this.ui.unitSwitcher.attr("data-selected",C).find("span").html(C),this.$el.toggleClass("e-units-custom",this.isCustomUnit())},onUnitClick:function onUnitClick(){this.toggleUnitChoices(!1)},onUnitLabelClick:function onUnitLabelClick(C){C.preventDefault(),this.toggleUnitChoices()},getCurrentRange:function getCurrentRange(){return this.getUnitRange(this.getControlValue("unit"))},getUnitRange:function getUnitRange(C){var T=this.model.get("range");return!!T&&(T[C]||(T[C]=Object.values(T)[0]),T[C])},isCustomUnit:function isCustomUnit(){return"custom"===this.getControlValue("unit")}},{getStyleValue:function getStyleValue(C,T){var B=V.getStyleValue(C,T);return"UNIT"===C&&"custom"===B&&(B="__EMPTY__"),B}}),C.exports=$},15584:(C,T,B)=>{"use strict";var $,V=B(73203)(B(93231));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(77266)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(93231)),K=B(79188);function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}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,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var Q="UPDATE-VALUE",J="UPDATE-VALUE-ENHANCED",Y="SKIP-UPDATE-VALUE",X=function(C){(0,W.default)(Scrubbing,C);var T=_createSuper(Scrubbing);function Scrubbing(){var C;(0,V.default)(this,Scrubbing);for(var B=arguments.length,$=new Array(B),L=0;L{"use strict";var $,V=B(73203)(B(65863)),L=B(87474);$=L.extend({ui:function ui(){var ui=L.prototype.ui.apply(this,arguments);return ui.sliders=".elementor-slider",ui.colorPickerPlaceholder=".elementor-color-picker-placeholder",ui},initSliders:function initSliders(){var C=this,T=this.getControlValue();this.ui.sliders.each((function(B,$){var V=jQuery($).next(".elementor-slider-input").find("input"),L=noUiSlider.create($,{start:[T[$.dataset.input]],step:1,range:{min:+V.attr("min"),max:+V.attr("max")},format:{to:function to(C){return+C.toFixed(1)},from:function from(C){return+C}}});L.on("slide",(function(T){var B=L.target.dataset.input;V.val(T[0]),C.setValue(B,T[0])}))}))},initColors:function initColors(){var C=this;this.colorPicker=new V.default({picker:{el:this.ui.colorPickerPlaceholder[0],default:this.getControlValue("color")},onChange:function onChange(){C.setValue("color",C.colorPicker.getColor())},onClear:function onClear(){C.setValue("color","")}})},onInputChange:function onInputChange(C){var T=C.currentTarget.dataset.setting;this.ui.sliders.filter('[data-input="'+T+'"]')[0].noUiSlider.set(this.getControlValue(T))},onReady:function onReady(){this.initSliders(),this.initColors()},onBeforeDestroy:function onBeforeDestroy(){this.colorPicker.destroy()}}),C.exports=$},73309:(C,T,B)=>{"use strict";var $=B(15584);C.exports=$.extend({ui:function ui(){var ui=$.prototype.ui.apply(this,arguments);return ui.button="button",ui},events:{"click @ui.button":"onButtonClick"},onButtonClick:function onButtonClick(){var C=this.model.get("event");elementor.channels.editor.trigger(C,this)}})},11292:(C,T,B)=>{"use strict";var $,V=B(53005);$=V.extend({ui:function ui(){var ui=V.prototype.ui.apply(this,arguments);return ui.inputs='[type="radio"]',ui},events:function events(){return _.extend(V.prototype.events.apply(this,arguments),{"mousedown label":"onMouseDownLabel","click @ui.inputs":"onClickInput","change @ui.inputs":"onBaseInputChange"})},updatePlaceholder:function updatePlaceholder(){var C=this.getControlPlaceholder();!this.getControlValue()&&C?this.ui.inputs.filter('[value="'.concat(this.getControlPlaceholder(),'"]')).addClass("e-choose-placeholder"):this.ui.inputs.removeClass("e-choose-placeholder")},onReady:function onReady(){this.updatePlaceholder()},applySavedValue:function applySavedValue(){var C=this.getControlValue();C?this.ui.inputs.filter('[value="'+C+'"]').prop("checked",!0):this.ui.inputs.filter(":checked").prop("checked",!1)},onMouseDownLabel:function onMouseDownLabel(C){var T=this.$(C.currentTarget),B=this.$("#"+T.attr("for"));B.data("checked",B.prop("checked"))},onClickInput:function onClickInput(C){if(this.model.get("toggle")){var T=this.$(C.currentTarget);T.data("checked")&&T.prop("checked",!1).trigger("change")}},onBaseInputChange:function onBaseInputChange(){V.prototype.onBaseInputChange.apply(this,arguments),this.updatePlaceholder()}},{onPasteStyle:function onPasteStyle(C,T){return""===T||void 0!==C.options[T]}}),C.exports=$},16543:(C,T,B)=>{"use strict";var $,V=B(53005);$=V.extend({ui:function ui(){var ui=V.prototype.ui.apply(this,arguments);return ui.editor=".elementor-code-editor",ui},onReady:function onReady(){var C=this;if("undefined"!=typeof ace){var T=ace.require("ace/ext/language_tools"),B=elementor.settings.editorPreferences.model.get("ui_theme"),$=matchMedia("(prefers-color-scheme: dark)").matches;if(C.editor=ace.edit(this.ui.editor[0]),jQuery(C.editor.container).addClass("e-input-style elementor-code-editor elementor-control-tag-area"),C.editor.setOptions({mode:"ace/mode/"+C.model.attributes.language,minLines:10,maxLines:1/0,showGutter:!0,useWorker:!0,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0}),("dark"===B||"auto"===B&&$)&&C.editor.setTheme("ace/theme/merbivore_soft"),C.editor.getSession().setUseWrapMode(!0),elementor.panel.$el.on("resize.aceEditor",C.onResize.bind(this)),"css"===C.model.attributes.language){T.addCompleter({getCompletions:function getCompletions(C,T,B,$,V){var L=[],q=T.getTokenAt(B.row,B.column);0<$.length&&"selector".match($)&&"constant"===q.type&&(L=[{name:"selector",value:"selector",score:1,meta:"Elementor"}]),V(null,L)}})}if(C.editor.setValue(C.getControlValue(),-1),this.isEditable()&&C.editor.on("change",(function(){C.setValue(C.editor.getValue())})),"html"===C.model.attributes.language){var V=C.editor.getSession();V.on("changeAnnotation",(function(){for(var C=V.getAnnotations()||[],T=C.length,B=C.length;B--;)/doctype first\. Expected/.test(C[B].text)&&C.splice(B,1);T>C.length&&V.setAnnotations(C)}))}}},onResize:function onResize(){this.editor.resize()},onDestroy:function onDestroy(){elementor.panel.$el.off("resize.aceEditor")},isEditable:function isEditable(){var isEditable=this.model.get("is_editable");return void 0===isEditable||isEditable}}),C.exports=$},12031:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(50824)),q=V(B(10029)),W=V(B(9833)),U=V(B(78983)),H=V(B(42081)),G=V(B(51121)),K=V(B(58724)),Q=V(B(71173)),J=V(B(74910)),Y=V(B(53005)),X=V(B(65863));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,$=(0,J.default)(C);if(T){var V=(0,J.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,Q.default)(this,B)}}var Z=function(C){(0,K.default)(_default,C);var T,B=_createSuper(_default);function _default(){return(0,U.default)(this,_default),B.apply(this,arguments)}return(0,H.default)(_default,[{key:"ui",value:function ui(){var ui=(0,G.default)((0,J.default)(_default.prototype),"ui",this).call(this);return ui.pickerContainer=".elementor-color-picker-placeholder",ui}},{key:"applySavedValue",value:function applySavedValue(){var C=this.getCurrentValue();if(this.colorPicker)if(C){var T,B=this.colorPicker.picker._parseLocalColor(C);(T=this.colorPicker.picker).setHSVA.apply(T,(0,W.default)(B.values).concat([!1]))}else this.colorPicker.picker._clearColor(!0);else this.initPicker();this.$el.toggleClass("e-control-color--no-value",!C)}},{key:"initPicker",value:function initPicker(){var C,T=this,B={picker:{el:this.ui.pickerContainer[0],default:this.getCurrentValue(),components:{opacity:this.model.get("alpha")},defaultRepresentation:"HEX"},addButton:null===(C=this.model.get("global"))||void 0===C?void 0:C.active,onChange:function onChange(){return T.onPickerChange()},onClear:function onClear(){return T.onPickerClear()},onAddButtonClick:function onAddButtonClick(){return T.onAddGlobalButtonClick()},onPickerShow:function onPickerShow(){return T.reRoute(!0)},onPickerHide:function onPickerHide(){return T.reRoute(!1)}};this.colorPicker=new X.default(B),this.hidePickerOnPreviewClick(),this.$pickerButton=jQuery(this.colorPicker.picker.getRoot().button),this.addTipsyToPickerButton(),this.addEyedropper(),this.$pickerButton.on("click",(function(){return T.onPickerButtonClick()})),jQuery(this.colorPicker.picker.getRoot().root).addClass("elementor-control-unit-1 elementor-control-tag-area")}},{key:"hidePickerOnPreviewClick",value:function hidePickerOnPreviewClick(){var C=this.colorPicker.picker,T=C.constructor.utils;C._eventBindings.push(T.on(elementorFrontend.elements.window.document,["touchstart","pointerdown"],(function(){C.isOpen()&&C.hide()})))}},{key:"addTipsyToPickerButton",value:function addTipsyToPickerButton(){var C=this;this.$pickerButton.tipsy({title:function title(){var T=C.getCurrentValue();return C.getGlobalKey()&&!T&&(T="".concat($("Invalid Global Color","elementor"))),T||""},offset:4,gravity:function gravity(){return"s"}})}},{key:"addEyedropper",value:function addEyedropper(){var C=this,T=jQuery(Marionette.Renderer.render("#tmpl-elementor-control-element-color-picker")),B=this.colorPicker.$pickerToolsContainer,V=this.getOption("container"),L=null;"kit"===V.document.config.type&&(L=V.document),T.tipsy({title:function title(){return $("Color Sampler","elementor")},gravity:"s"}),T.on("click",(function(){$e.run("elements-color-picker/start",{container:V,kit:L,control:C.model.get("name"),trigger:T[0]})})),B.append(T)}},{key:"getGlobalMeta",value:function getGlobalMeta(){return{commandName:this.getGlobalCommand(),key:this.model.get("name"),controlType:"colors",route:"panel/global/global-colors"}}},{key:"getNameAlreadyExistsMessage",value:function getNameAlreadyExistsMessage(){return' '+$("Please note that the same exact color already exists in your Global Colors list. Are you sure you want to create it?","elementor")}},{key:"getConfirmTextMessage",value:function getConfirmTextMessage(){return $("Are you sure you want to create a new Global Color?","elementor")}},{key:"getAddGlobalConfirmMessage",value:function getAddGlobalConfirmMessage(C){for(var T,B=$("New Global Color","elementor"),V=this.getCurrentValue(),L=jQuery("
",{class:"e-global__confirm-message"}),q=jQuery("
",{class:"e-global__confirm-message-text"}),W=jQuery("
",{class:"e-global__confirm-input-wrapper"}),U=this.createColorPreviewBox(V),H=jQuery("",{type:"text",name:"global-name",placeholder:B}).val(B),G=0,K=Object.values(C);G",{class:"e-global__preview-item e-global__color","data-global-id":C.id}),B=this.createColorPreviewBox(C.value),$=jQuery("",{class:"e-global__color-title"}).html(C.title),V=jQuery("",{class:"e-global__color-hex"}).html(C.value);return T.append(B,$,V),T}},{key:"createColorPreviewBox",value:function createColorPreviewBox(C){var T=jQuery("
",{class:"e-global__color-preview-container"}),B=jQuery("
",{class:"e-global__color-preview-color",style:"background-color: "+C}),$=jQuery("
",{class:"e-global__color-preview-transparent-bg"});return T.append($,B),T}},{key:"getGlobalsList",value:(T=(0,q.default)(L.default.mark((function _callee(){var C;return L.default.wrap((function _callee$(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,$e.data.get(this.getGlobalCommand());case 2:return C=T.sent,T.abrupt("return",C.data);case 4:case"end":return T.stop()}}),_callee,this)}))),function getGlobalsList(){return T.apply(this,arguments)})},{key:"buildGlobalsList",value:function buildGlobalsList(C,T){var B=this;Object.values(C).forEach((function(C){if(C.value){var $=B.createGlobalItemMarkup(C);T.append($)}}))}},{key:"onPickerChange",value:function onPickerChange(){this.setValue(this.colorPicker.picker.getColor().toHEXA().toString()),this.isCustom||(this.triggerMethod("value:type:change"),this.colorPicker.toggleClearButtonState(!0),this.$el.hasClass("e-control-color--no-value")&&this.$el.removeClass("e-control-color--no-value"),this.isCustom=!0)}},{key:"onPickerClear",value:function onPickerClear(){this.isCustom=!1,this.setValue(""),this.triggerMethod("value:type:change"),this.applySavedValue(),this.colorPicker.toggleClearButtonState(!1)}},{key:"onPickerButtonClick",value:function onPickerButtonClick(){this.getGlobalKey()?this.triggerMethod("unset:global:value"):this.isGlobalActive()&&!this.getControlValue()&&this.getGlobalDefault()&&this.triggerMethod("unlink:global:default"),this.colorPicker.toggleClearButtonState(!!this.getCurrentValue())}},{key:"onAddGlobalButtonClick",value:function onAddGlobalButtonClick(){var C=this;this.getGlobalsList().then((function(T){C.globalsList=T,C.triggerMethod("add:global:to:list",C.getAddGlobalConfirmMessage(T))}))}},{key:"activate",value:function activate(){this.colorPicker.picker.show()}},{key:"onBeforeDestroy",value:function onBeforeDestroy(){this.colorPicker&&this.colorPicker.destroy()}}]),_default}(Y.default);T.default=Z},91238:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(51121)),W=$(B(58724)),U=$(B(71173)),H=$(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,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"onReady",value:function onReady(){var C=_.extend({enableTime:!0,minuteIncrement:1},this.model.get("picker_options"));this.ui.input.flatpickr(C)}},{key:"onBaseInputChange",value:function onBaseInputChange(){var C;(0,q.default)((0,H.default)(_default.prototype),"onBaseInputChange",this).apply(this,arguments),null!==(C=this.model.get("validation"))&&void 0!==C&&C.date_time&&this.validateDateTime()}},{key:"validateDateTime",value:function validateDateTime(){var C=this.model.get("validation").date_time,T=C.control_name,B=C.operator,$=this.options.container.settings.get(T),V=this.ui.input.val();if($&&V){var L=new Date($).getTime(),q=new Date(V).getTime();elementor.conditions.compare(L,q,B)&&this.ui.input.val("")}}},{key:"onBeforeDestroy",value:function onBeforeDestroy(){this.ui.input.flatpickr().destroy()}}]),_default}(B(53005));T.default=G},53261:(C,T,B)=>{"use strict";var $=B(73203),V=$(B(93231)),L=$(B(54249));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T{"use strict";var $=B(76772);C.exports=$.extend({$previewContainer:null,getSelect2Options:function getSelect2Options(){return{dir:elementorCommon.config.isRTL?"rtl":"ltr",templateSelection:this.fontPreviewTemplate,templateResult:this.fontPreviewTemplate}},onReady:function onReady(){var C=this;this.ui.select.select2(this.getSelect2Options()),this.ui.select.on("select2:open",(function(){C.$previewContainer=jQuery('.select2-results__options[role="tree"]:visible'),setTimeout((function(){C.enqueueFontsInView()}),100),jQuery("input.select2-search__field:visible").on("keyup",(function(){C.typeStopDetection.action.apply(C)})),C.$previewContainer.on("scroll",(function(){C.scrollStopDetection.onScroll.apply(C)}))}))},typeStopDetection:{idle:350,timeOut:null,action:function action(){var C=this,T=this.typeStopDetection;clearTimeout(T.timeOut),T.timeOut=setTimeout((function(){C.enqueueFontsInView()}),T.idle)}},scrollStopDetection:{idle:350,timeOut:null,onScroll:function onScroll(){var C=this,T=this.scrollStopDetection;clearTimeout(T.timeOut),T.timeOut=setTimeout((function(){C.enqueueFontsInView()}),T.idle)}},enqueueFontsInView:function enqueueFontsInView(){var C=this.$previewContainer.offset().top,T=C+this.$previewContainer.innerHeight(),B=[];this.$previewContainer.children().find("li:visible").each((function($,V){var L=jQuery(V),q=L.offset();q&&q.top>C&&q.top",{text:C.text,css:{"font-family":C.element.value.toString()}}):C.text},templateHelpers:function templateHelpers(){var C=$.prototype.templateHelpers.apply(this,arguments),T=this.model.get("options");return C.getFontsByGroups=function(C){var B={};return _.each(T,(function(T,$){(_.isArray(C)&&_.contains(C,T)||T===C)&&(B[$]=$)})),B},C}})},13607:(C,T,B)=>{"use strict";var $,V=B(38003).sprintf,L=B(38003).__,q=B(73203),W=q(B(50824)),U=q(B(10029)),H=q(B(40548)),G=B(53005);$=G.extend({ui:function ui(){var ui=G.prototype.ui.apply(this,arguments);return ui.addImages=".elementor-control-gallery-add",ui.clearGallery=".elementor-control-gallery-clear",ui.galleryThumbnails=".elementor-control-gallery-thumbnails",ui.status=".elementor-control-gallery-status-title",ui.promotions=".elementor-control-media__promotions",ui.promotions_dismiss=".elementor-control-media__promotions .elementor-control-notice-dismiss",ui.promotions_action=".elementor-control-media__promotions .elementor-control-notice-main-actions button",ui},events:function events(){return _.extend(G.prototype.events.apply(this,arguments),{"click @ui.addImages":"onAddImagesClick","click @ui.clearGallery":"onClearGalleryClick","click @ui.galleryThumbnails":"onGalleryThumbnailsClick","click @ui.promotions_dismiss":"onPromotionDismiss","click @ui.promotions_action":"onPromotionAction","keyup @ui.galleryThumbnails":"onGalleryThumbnailsKeyPress"})},onReady:function onReady(){this.initRemoveDialog()},applySavedValue:function applySavedValue(){var C=this;return(0,U.default)(W.default.mark((function _callee(){var T,B,$,q,U,H,G,K;return W.default.wrap((function _callee$(W){for(;;)switch(W.prev=W.next){case 0:if(T=C.getControlValue(),B=T.length,$=!!B,q=0,U=!1,H=C.ui.promotions.length&&!elementor.config.user.dismissed_editor_notices.includes(C.getDismissPromotionEventName()),C.$el.toggleClass("elementor-gallery-has-images",$).toggleClass("elementor-gallery-empty",!$),(G=C.ui.galleryThumbnails).empty(),C.ui.status.text($?V(L("%s Images Selected","elementor"),B):L("No Images Selected","elementor")),H&&(U=C.ui.promotions.find(".elementor-control-notice").data("display")||!1),$){W.next=9;break}return W.abrupt("return");case 9:return K=[],C.getControlValue().forEach((function(T,B){var $=jQuery("",{class:"elementor-control-gallery-thumbnail",src:T.url,alt:"gallery-thumbnail-"+B});G.append($);K.push(wp.media.attachment(T.id).fetch().then((function handleHints(T){C.imageHasAlt(T)||$.addClass("unoptimized__image"),H&&C.imageNotOptimized(T)&&(q+=1)})))})),W.next=13,Promise.all(K).then((function(){if(H){var T=U||!!q;C.ui.promotions.toggle(T)}}));case 13:case"end":return W.stop()}}),_callee)})))()},hasImages:function hasImages(){return!!this.getControlValue().length},imageHasAlt:function imageHasAlt(C){var T;return!!((null==C||null===(T=C.alt)||void 0===T?void 0:T.trim())||"")},imageNotOptimized:function imageNotOptimized(C){var T={height:1080,width:1920,filesizeInBytes:1e5};return Object.keys(T).some((function(B){var $=C[B]||!1;return $&&$>T[B]}))},openFrame:function openFrame(C){this.initFrame(C),this.frame.open(),H.default.isUploadEnabled("svg")&&H.default.setUploadTypeCaller(this.frame)},initFrame:function initFrame(C){var T={frame:"post",multiple:!0,state:{create:"gallery",add:"gallery-library",edit:"gallery-edit"}[C],button:{text:L("Insert Media","elementor")}};this.hasImages()&&(T.selection=this.fetchSelection()),this.frame=wp.media(T),this.addSvgMimeType(),this.frame.on({update:this.select,"menu:render:default":this.menuRender,"content:render:browse":this.gallerySettings},this)},addSvgMimeType:function addSvgMimeType(){if(H.default.isUploadEnabled("svg")){var C=_wpPluploadSettings.defaults.filters.mime_types[0].extensions;this.frame.on("ready",(function(){_wpPluploadSettings.defaults.filters.mime_types[0].extensions=C+",svg"})),this.frame.on("close",(function(){_wpPluploadSettings.defaults.filters.mime_types[0].extensions=C}))}},menuRender:function menuRender(C){C.unset("insert"),C.unset("featured-image")},gallerySettings:function gallerySettings(C){C.sidebar.on("ready",(function(){C.sidebar.unset("gallery")}))},fetchSelection:function fetchSelection(){var C=wp.media.query({orderby:"post__in",order:"ASC",type:"image",perPage:-1,post__in:_.pluck(this.getControlValue(),"id")});return new wp.media.model.Selection(C.models,{props:C.props.toJSON(),multiple:!0})},select:function select(C){var T=[];C.each((function(C){T.push({id:C.get("id"),url:C.get("url")})})),this.setValue(T),this.applySavedValue()},onPromotionDismiss:function onPromotionDismiss(){this.dismissPromotion(this.getDismissPromotionEventName())},getDismissPromotionEventName:function getDismissPromotionEventName(){var C,T,B=this.ui.promotions.find(".elementor-control-notice-dismiss");return B.off("click"),(null===(C=B[0])||void 0===C||null===(T=C.dataset)||void 0===T?void 0:T.event)||!1},hidePromotion:function hidePromotion(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.ui.promotions.hide(),C||(C=this.getDismissPromotionEventName()),elementor.config.user.dismissed_editor_notices.push(C)},onPromotionAction:function onPromotionAction(C){var T=JSON.parse(C.target.closest("button").dataset.settings).action_url,B=void 0===T?null:T;B&&window.open(B,"_blank"),elementorCommon.ajax.addRequest("elementor_image_optimization_campaign",{data:{source:"io-editor-gallery-install"}}),this.hidePromotion()},dismissPromotion:function dismissPromotion(C){this.ui.promotions.hide(),C&&(elementorCommon.ajax.addRequest("dismissed_editor_notices",{data:{dismissId:C}}),elementor.config.user.dismissed_editor_notices.push(C))},onBeforeDestroy:function onBeforeDestroy(){this.frame&&this.frame.off(),this.$el.remove()},clearGallery:function clearGallery(){this.setValue([]),this.applySavedValue(),this.ui.promotions&&this.ui.promotions.hide()},initRemoveDialog:function initRemoveDialog(){var C;this.getRemoveDialog=function(){return C||(C=elementorCommon.dialogsManager.createWidget("confirm",{message:L("Are you sure you want to clear this gallery?","elementor"),headerMessage:L("Clear gallery","elementor"),strings:{confirm:L("Clear","elementor"),cancel:L("Cancel","elementor")},defaultOption:"confirm",onConfirm:this.clearGallery.bind(this)})),C}},onAddImagesClick:function onAddImagesClick(){this.openFrame(this.hasImages()?"add":"create")},onClearGalleryClick:function onClearGalleryClick(){this.getRemoveDialog().show()},onGalleryThumbnailsClick:function onGalleryThumbnailsClick(){this.openFrame("edit")},onGalleryThumbnailsKeyPress:function onGalleryThumbnailsKeyPress(C){13!==C.which&&32!==C.which||this.onGalleryThumbnailsClick(C)}}),C.exports=$},97465:(C,T,B)=>{"use strict";var $,V=B(73203)(B(7501)),L=B(53261);$=L.extend({ui:function ui(){var ui=L.prototype.ui.apply(this,arguments);return ui.controls=".elementor-control-gap > input:enabled",ui.link="button.elementor-link-gaps",ui},getPossibleDimensions:function getPossibleDimensions(){return["row","column"]},setValue:function setValue(C,T){var B=this.getControlValue();"object"===(0,V.default)(C)?_.each(C,(function(C,T){B[T]=C})):B[C]=T;var $=this.model.get("conversion_map");$&&$.old_key&&$.new_key&&(B[$.old_key]=parseInt(B[$.new_key])),this.setSettingsModel(B)},getControlValue:function getControlValue(){var C=L.prototype.getControlValue.apply(this,arguments);return this.shouldUpdateGapsValues(C)&&(C.column=""+C.size,C.row=""+C.size,C.isLinked=!0),C},shouldUpdateGapsValues:function shouldUpdateGapsValues(C){return!!C.hasOwnProperty("size")&&""!==C.size&&!C.hasOwnProperty("column")}}),C.exports=$},14553:(C,T,B)=>{"use strict";var $=B(73203)(B(53005));C.exports=$.default.extend({},{onPasteStyle:function onPasteStyle(){return!1}})},30750:(C,T,B)=>{"use strict";var $,V=B(76772);$=V.extend({initialize:function initialize(){V.prototype.initialize.apply(this,arguments),this.filterIcons()},filterIcons:function filterIcons(){var C=this.model.get("options"),T=this.model.get("include");if(T){var B={};return _.each(T,(function(T){B[T]=C[T]})),void this.model.set("options",B)}var $=this.model.get("exclude");$&&_.each($,(function(T){delete C[T]}))},iconsList:function iconsList(C){return C.id?jQuery(' '+C.text+""):C.text},getSelect2Options:function getSelect2Options(){return{allowClear:!0,templateResult:this.iconsList.bind(this),templateSelection:this.iconsList.bind(this)}}}),C.exports=$},20911:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203),L=V(B(78983)),q=V(B(42081)),W=V(B(51121)),U=V(B(58724)),H=V(B(71173)),G=V(B(74910)),K=V(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,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var Q=B(87474),J=function(C){(0,U.default)(ControlIconsView,C);var T=_createSuper(ControlIconsView);function ControlIconsView(){var C;(0,L.default)(this,ControlIconsView);for(var B=arguments.length,$=new Array(B),V=0;V'+$("Learn More","elementor")+"",$("Update","elementor"),(function onConfirm(){var C;window.location.href=elementor.config.tools_page_link+"&redirect_to_document="+(null===(C=elementor.documents.getCurrent())||void 0===C?void 0:C.id)+"&_wpnonce="+elementor.config.tools_page_nonce+"#tab-fontawesome4_migration"})).show(),!1}),!0);var T=this.model.get("name");this.cache.migratedFlag[T]&&(this.setControlAsMigrated(T),setTimeout((function(){C.setValue(C.cache.migratedFlag[T])}),10))}},{key:"onRender",value:function onRender(){(0,W.default)((0,G.default)(ControlIconsView.prototype),"onRender",this).call(this),this.isMigrationAllowed()&&elementor.iconManager.loadIconLibraries()}},{key:"initFrame",value:function initFrame(){var C=this;wp.media.view.settings.post.id=elementor.config.document.id,this.frame=wp.media({button:{text:$("Insert Media","elementor")},library:{type:["image/svg+xml"]},states:[new wp.media.controller.Library({title:$("Insert Media","elementor"),library:wp.media.query({type:["image/svg+xml"]}),multiple:!1,date:!1})]});this.frame.on("insert select",(function handleSelect(){return C.selectSvg()})),this.setUploadMimeType(this.frame,"svg")}},{key:"setUploadMimeType",value:function setUploadMimeType(C,T){var B=_wpPluploadSettings.defaults.filters.mime_types[0].extensions;C.on("ready",(function(){_wpPluploadSettings.defaults.filters.mime_types[0].extensions=T})),this.frame.on("close",(function(){_wpPluploadSettings.defaults.filters.mime_types[0].extensions=B}))}},{key:"selectSvg",value:function selectSvg(){this.trigger("before:select");var C=this.frame.state().get("selection").first().toJSON();C.url&&(this.setValue({value:{url:C.url,id:C.id},library:"svg"}),this.applySavedValue()),this.trigger("after:select")}},{key:"openFrame",value:function openFrame(){var C=this;if(!K.default.isUploadEnabled("svg"))return K.default.getUnfilteredFilesNotEnabledDialog((function(){return C.openFrame()})).show(),!1;this.frame||this.initFrame(),this.frame.open(),K.default.setUploadTypeCaller(this.frame);var T=this.getControlValue("id");T&&this.frame.state().get("selection").add(wp.media.attachment(T))}},{key:"openPicker",value:function openPicker(){elementor.iconManager.show({view:this})}},{key:"applySavedValue",value:function applySavedValue(){var C=this,T=this.getControlValue(),B=this.model.get("skin"),$="inline"===B?this.ui.inlineDisplayedIcon:this.ui.previewPlaceholder,V=this.model.get("disable_initial_active_state"),L=this.model.get("default"),q=T.value,W=T.library;if(this.isMigrationAllowed()||q||!this.getValueToMigrate()||(q=this.getControlValue(),W=""),"media"===B&&this.ui.controlMedia.toggleClass("e-media-empty",!q),("inline"===B&&!V||W)&&this.markChecked(W),!q)return"inline"===B?void this.setDefaultIconLibraryLabel(L,$):void this.ui.previewPlaceholder.html("");if("svg"===W&&"inline"!==B)return elementor.helpers.fetchInlineSvg(q.url,(function(T){C.ui.previewPlaceholder.html(T)}));if("media"===B||"svg"!==W){var U='';$.html(U)}this.enqueueIconFonts(W)}},{key:"setDefaultIconLibraryLabel",value:function setDefaultIconLibraryLabel(C,T){if(""!==C.value&&"svg"!==C.library)T.html('');else{var B=this.model.get("skin_settings");T.html('')}}},{key:"markChecked",value:function markChecked(C){if(this.ui.radioInputs.filter(":checked").prop("checked",!1),!C)return this.ui.radioInputs.filter('[value="none"]').prop("checked",!0);"svg"!==C&&(C="icon"),this.ui.radioInputs.filter('[value="'+C+'"]').prop("checked",!0)}},{key:"onClickInput",value:function onClickInput(){this.markChecked(this.getControlValue().library)}},{key:"deleteIcon",value:function deleteIcon(C){C.stopPropagation(),this.setValue({value:"",library:""}),this.applySavedValue()}},{key:"onBeforeDestroy",value:function onBeforeDestroy(){this.$el.remove()}}]),ControlIconsView}(Q);C.exports=J},53736:(C,T,B)=>{"use strict";var $=B(73203),V=$(B(93231)),L=$(B(54249));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T{"use strict";var $=B(38003).__,V=B(73203),L=V(B(50824)),q=V(B(93231)),W=V(B(10029)),U=V(B(40548)),H=B(67010);function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T1&&void 0!==T[1]?T[1]:null,W=(null==C||null===($=C.target)||void 0===$||null===(V=$.dataset)||void 0===V?void 0:V.mediaType)||B.getMediaType(),B.mediaType=W,W){L.next=5;break}return L.abrupt("return");case 5:if(U.default.isUploadEnabled(W)){L.next=8;break}return U.default.getUnfilteredFilesNotEnabledDialog((function(){return B.openFrame(C,"filter-popup")})).show(),L.abrupt("return",!1);case 8:if("filter-popup"===q||!["application/json","json"].includes(W)){L.next=11;break}return L.next=11,(0,H.showJsonUploadWarningMessageIfNeeded)({introductionMap:window.elementor.config.user.introduction,IntroductionClass:window.elementorModules.editor.utils.Introduction});case 11:if(B.frame&&B.getLibraryType(W)===B.currentLibraryType||B.initFrame(),B.frame.open(),U.default.setUploadTypeCaller(B.frame),G=B.getControlValue("id")){L.next=17;break}return L.abrupt("return");case 17:B.frame.state().get("selection").add(wp.media.attachment(G));case 18:case"end":return L.stop()}}),_callee)})))()},deleteImage:function deleteImage(C){C.stopPropagation(),this.setValue({url:"",id:""}),this.applySavedValue()},imageHasAlt:function imageHasAlt(C){var T;return!!((null==C||null===(T=C.alt)||void 0===T?void 0:T.trim())||"")},imageNotOptimized:function imageNotOptimized(C){var T={height:1080,width:1920,filesizeInBytes:1e5};return Object.keys(T).some((function(B){var $=C[B]||!1;return $&&$>T[B]}))},getDismissPromotionEventName:function getDismissPromotionEventName(){var C,T,B=this.ui.promotions.find(".elementor-control-notice-dismiss");return B.off("click"),(null===(C=B[0])||void 0===C||null===(T=C.dataset)||void 0===T?void 0:T.event)||!1},onPromotionDismiss:function onPromotionDismiss(){this.dismissPromotion(this.getDismissPromotionEventName())},onPromotionAction:function onPromotionAction(C){var T=JSON.parse(C.target.closest("button").dataset.settings).action_url,B=void 0===T?null:T;B&&window.open(B,"_blank"),this.hidePromotion()},dismissPromotion:function dismissPromotion(C){this.hidePromotion(C),C&&elementorCommon.ajax.addRequest("dismissed_editor_notices",{data:{dismissId:C}})},hidePromotion:function hidePromotion(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.ui.promotions.hide(),C||(C=this.getDismissPromotionEventName()),elementorCommon.ajax.addRequest("elementor_image_optimization_campaign",{data:{source:"io-editor-image-install"}}),elementor.config.user.dismissed_editor_notices.push(C)},onMediaInputImageSizeChange:function onMediaInputImageSizeChange(){var C=this;if(this.model.get("has_sizes")){var T=this.getControlValue(),B=this.getControlPlaceholder(),$=""!==(null==T?void 0:T.id),V=null==B?void 0:B.id;if($||V){var L;if(V&&!$)return this.setValue(_objectSpread(_objectSpread({},B),{},{size:T.size})),this.model.get("responsive")?this.renderWithChildren():this.applySavedValue(),void this.onMediaInputImageSizeChange();elementor.channels.editor.once("imagesManager:detailsReceived",(function(B){var $;(L=null===($=B[T.id])||void 0===$?void 0:$[T.size])&&(T.url=L,C.setValue(T))})),(L=elementor.imagesManager.getImageUrl({id:T.id,url:T.url,size:T.size}))&&(T.url=L,this.setValue(T))}}},initFrame:function initFrame(){var C=this.getMediaType();this.currentLibraryType=this.getLibraryType(C),wp.media.view.settings.post.id=elementor.config.document.id,this.frame=wp.media({frame:"post",type:"image",multiple:!1,states:[new wp.media.controller.Library({title:$("Insert Media","elementor"),library:wp.media.query({type:this.currentLibraryType}),multiple:!1,date:!1})]}),this.frame.on("ready open",this.onFrameReady.bind(this)),this.frame.on("insert select",this.select.bind(this)),elementorCommon.config.filesUpload.unfilteredFiles&&this.setUploadMimeType(this.frame,C)},onFrameReady:function onFrameReady(){var C=this.frame.$el;C.find(["#menu-item-insert","#menu-item-gallery","#menu-item-playlist","#menu-item-video-playlist",".embed-link-settings"].join(",")).remove(),C.css("--button-text","'".concat($("Insert Media","elementor"),"'")),C.addClass("e-wp-media-elements-removed"),"url"===this.getControlValue("source")?(C.find("#menu-item-embed").trigger("click"),C.addClass("hide-router"),this.frame.views.get(".media-frame-content")[0].url.model.set({url:this.getControlValue("url"),alt:this.getControlValue("alt")})):C.find("#menu-item-library").trigger("click")},setUploadMimeType:function setUploadMimeType(C,T){var B=_wpPluploadSettings.defaults.filters.mime_types[0].extensions;C.on("ready",(function(){_wpPluploadSettings.defaults.filters.mime_types[0].extensions="application/json"===T?"json":B+",svg"})),this.frame.on("close",(function(){_wpPluploadSettings.defaults.filters.mime_types[0].extensions=B}))},select:function select(){this.trigger("before:select");var C,T=this.frame.state();"embed"===T.get("id")?C={url:T.props.get("url"),id:"",alt:T.props.get("alt"),source:"url"}:(C=this.frame.state().get("selection").first().toJSON()).source="library",C.url&&(this.setValue({url:C.url,id:C.id,alt:C.alt,source:C.source,size:this.model.get("default").size}),this.model.get("responsive")?this.renderWithChildren():this.applySavedValue()),this.onMediaInputImageSizeChange(),this.trigger("after:select")},onBeforeDestroy:function onBeforeDestroy(){this.$el.remove()}}),C.exports=G},30008:(C,T,B)=>{"use strict";var $=B(73203)(B(9833)),V=B(15584);C.exports=V.extend({ui:function ui(){var ui=V.prototype.ui.apply(this,arguments);return ui.button=".elementor-control-notice-dismiss",ui},events:{"click @ui.button.e-btn-1":"onButton1Click","click @ui.button.e-btn-2":"onButton2Click","click @ui.button.elementor-control-notice-dismiss":"onDismissButtonClick"},onButton1Click:function onButton1Click(){var C=this.model.get("event");elementor.channels.editor.trigger(C,this)},onButton2Click:function onButton2Click(){var C=this.model.get("event");elementor.channels.editor.trigger(C,this)},getDismissId:function getDismissId(){var C,T,B,$,V,L,q,W,U,H,G,K,Q=this.model.get("name"),J="widget"===(null===(C=this.options)||void 0===C||null===(T=C.element)||void 0===T||null===(B=T.model)||void 0===B||null===($=B.attributes)||void 0===$?void 0:$.elType)?null===(V=this.options)||void 0===V||null===(L=V.element)||void 0===L||null===(q=L.model)||void 0===q||null===(W=q.attributes)||void 0===W?void 0:W.widgetType:null===(U=this.options)||void 0===U||null===(H=U.element)||void 0===H||null===(G=H.model)||void 0===G||null===(K=G.attributes)||void 0===K?void 0:K.elType;return"".concat(J,"-").concat(Q)},onDismissButtonClick:function onDismissButtonClick(){var C=this,T=this.getDismissId();elementorCommon.ajax.addRequest("dismissed_editor_notices",{data:{dismissId:T},success:function success(){var B,V,L;C.$el.remove();var q=null!==(B=elementor)&&void 0!==B&&null!==(V=B.config)&&void 0!==V&&null!==(L=V.user)&&void 0!==L&&L.dismissed_editor_notices?(0,$.default)(elementor.config.user.dismissed_editor_notices):[];elementor.config.user.dismissed_editor_notices=[].concat((0,$.default)(q),[T])}})},templateHelpers:function templateHelpers(){var C,T,B,L=V.prototype.templateHelpers.apply(this,arguments),q=null!==(C=elementor)&&void 0!==C&&null!==(T=C.config)&&void 0!==T&&null!==(B=T.user)&&void 0!==B&&B.dismissed_editor_notices?(0,$.default)(elementor.config.user.dismissed_editor_notices):[],W=this.getDismissId();return L.data.shouldRenderNotice=!q.includes(W),L}})},19598:(C,T,B)=>{"use strict";var $=B(73203),V=$(B(93231)),L=$(B(54249));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(50824)),q=V(B(10029)),W=V(B(40131)),U=V(B(78983)),H=V(B(42081)),G=V(B(58724)),K=V(B(71173)),Q=V(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,$=(0,Q.default)(C);if(T){var V=(0,Q.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,K.default)(this,B)}}var J=B(11292),Y=function(C){(0,G.default)(ControlPopoverStarterView,C);var T,B=_createSuper(ControlPopoverStarterView);function ControlPopoverStarterView(){return(0,U.default)(this,ControlPopoverStarterView),B.apply(this,arguments)}return(0,H.default)(ControlPopoverStarterView,[{key:"ui",value:function ui(){var ui=J.prototype.ui.apply(this,arguments);return ui.popoverToggle=".elementor-control-popover-toggle-toggle",ui.resetInput=".elementor-control-popover-toggle-reset",ui}},{key:"events",value:function events(){return _.extend(J.prototype.events.apply(this,arguments),{"click @ui.popoverToggle":"onPopoverToggleClick","click @ui.resetInput":"onResetInputClick"})}},{key:"onShow",value:function onShow(){var C=this,T=this.$el.next(".elementor-controls-popover");T.length&&(T[0].dataset.popoverToggle="elementor-control-default-".concat(this.model.cid),T.on("hide",(function(){return C.onPopoverHide()})),T.attr("data-on-hide",!0))}},{key:"onPopoverHide",value:function onPopoverHide(){this.reRoute(!1)}},{key:"onResetInputClick",value:function onResetInputClick(){var C=this.model.get("global");null!=C&&C.active&&this.triggerMethod("value:type:change")}},{key:"onInputChange",value:function onInputChange(C){C.currentTarget===this.ui.popoverToggle[0]&&(this.getGlobalKey()?this.triggerMethod("unset:global:value"):this.isGlobalActive()&&this.triggerMethod("value:type:change"))}},{key:"onPopoverToggleClick",value:function onPopoverToggleClick(){var C=this;this.isGlobalActive()&&!this.getControlValue()&&!this.getGlobalKey()&&this.getGlobalDefault()&&this.triggerMethod("unlink:global:default");var T=this.$el.next(".elementor-controls-popover");T.attr("data-on-hide")||(T.attr("data-on-hide",!0),T.on("hide",(function(){return C.onPopoverHide()}))),T.is(":visible")?(T.hide(),T.trigger("hide")):this.reRoute(!0)}},{key:"activate",value:function activate(){this.$el.next(".elementor-controls-popover").show()}},{key:"getGlobalCommand",value:function getGlobalCommand(){return"globals/typography"}},{key:"buildPreviewItemCSS",value:function buildPreviewItemCSS(C){var T={};return Object.entries(C).forEach((function(C){var B=(0,W.default)(C,2),$=B[0],V=B[1];if(V&&""!==V.size)if($.startsWith("typography_")&&($=$.replace("typography_","")),"font_family"===$&&elementor.helpers.enqueueFont(V,"editor"),"font_size"===$){var L="custom"===V.unit?V.size:"".concat(V.size).concat(V.unit);T.fontSize="min(".concat(L,", 28px)")}else $.includes("_")&&($=$.replace(/([_][a-z])/g,(function(C){return C.toUpperCase().replace("_","")}))),T[$]=V})),T}},{key:"createGlobalItemMarkup",value:function createGlobalItemMarkup(C){var T=jQuery("
",{class:"e-global__preview-item e-global__typography","data-global-id":C.id,title:C.title});return T.html(C.title).css(this.buildPreviewItemCSS(C.value)),T}},{key:"getGlobalMeta",value:function getGlobalMeta(){return{commandName:this.getGlobalCommand(),key:this.model.get("name"),title:$("New Typography Setting","elementor"),controlType:"typography",route:"panel/global/global-typography"}}},{key:"getAddGlobalConfirmMessage",value:function getAddGlobalConfirmMessage(){var C=this.getGlobalMeta(),T=jQuery("
",{class:"e-global__confirm-message"}),B=jQuery("
").html($("Are you sure you want to create a new Global Font setting?","elementor")),V=jQuery("
",{class:"e-global__confirm-input-wrapper"}),L=jQuery("",{type:"text",name:"global-name",placeholder:C.title}).val(C.title);return V.append(L),T.append(B,V),T}},{key:"getGlobalsList",value:(T=(0,q.default)(L.default.mark((function _callee(){var C;return L.default.wrap((function _callee$(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,$e.data.get(this.getGlobalCommand());case 2:return C=T.sent,T.abrupt("return",C.data);case 4:case"end":return T.stop()}}),_callee,this)}))),function getGlobalsList(){return T.apply(this,arguments)})},{key:"buildGlobalsList",value:function buildGlobalsList(C,T){var B=this;Object.values(C).forEach((function(C){if(C){var $=B.createGlobalItemMarkup(C);T.append($)}}))}},{key:"onAddGlobalButtonClick",value:function onAddGlobalButtonClick(){this.triggerMethod("add:global:to:list",this.getAddGlobalConfirmMessage())}}]),ControlPopoverStarterView}(J);T.default=Y,Y.onPasteStyle=function(C,T){return!T||T===C.return_value}},98550:(C,T,B)=>{"use strict";var $=B(38003).sprintf,V=B(38003).__,L=B(73203)(B(99533));C.exports=Marionette.CompositeView.extend({template:Marionette.TemplateCache.get("#tmpl-elementor-repeater-row"),className:"elementor-repeater-fields",ui:function ui(){return{duplicateButton:".elementor-repeater-tool-duplicate",editButton:".elementor-repeater-tool-edit",removeButton:".elementor-repeater-tool-remove",itemTitle:".elementor-repeater-row-item-title"}},behaviors:{HandleInnerTabs:{behaviorClass:B(10367)}},triggers:{"click @ui.removeButton":"click:remove","click @ui.duplicateButton":"click:duplicate","click @ui.itemTitle":"click:edit"},modelEvents:{change:"onModelChange"},templateHelpers:function templateHelpers(){return{itemIndex:this.getOption("itemIndex"),itemActions:this.getOption("itemActions")}},childViewContainer:".elementor-repeater-row-controls",getChildView:function getChildView(C){var T=C.get("type");return elementor.getControlView(T)},getChildControlView:function getChildControlView(C){return this.getControlViewByModel(this.getControlModel(C))},getControlViewByModel:function getControlViewByModel(C){return this.children.findByModelCid(C.cid)},getControlModel:function getControlModel(C){return this.collection.findWhere({name:C})},childViewOptions:function childViewOptions(){return{container:this.options.container}},updateIndex:function updateIndex(C){this.itemIndex=C},setTitle:function setTitle(){var C=this.getOption("titleField"),T="";C&&(T=Marionette.TemplateCache.prototype.compileTemplate(C)(this.model.parseDynamicSettings())),T||(T=$(V("Item #%s","elementor"),this.getOption("itemIndex"))),this.ui.itemTitle.html(T)},toggleSort:function toggleSort(C){this.$el.toggleClass("elementor-repeater-row--disable-sort",!C)},initialize:function initialize(C){this.itemIndex=0,this.collection=new Backbone.Collection(_.values(elementor.mergeControlsSettings(C.controlFields)))},onRender:function onRender(){this.setTitle(),L.default.handlePopovers(this)},onModelChange:function onModelChange(){this.getOption("titleField")&&this.setTitle()},onChildviewResponsiveSwitcherClick:function onChildviewResponsiveSwitcherClick(C,T){"desktop"===T&&elementor.getPanelView().getCurrentPageView().$el.toggleClass("elementor-responsive-switchers-open")}})},1142:(C,T,B)=>{"use strict";var $,V=B(53005),L=B(98550);$=V.extend({ui:{btnAddRow:".elementor-repeater-add",fieldContainer:".elementor-repeater-fields-wrapper"},events:function events(){return{"click @ui.btnAddRow":"onButtonAddRowClick","sortstart @ui.fieldContainer":"onSortStart","sortupdate @ui.fieldContainer":"onSortUpdate","sortstop @ui.fieldContainer":"onSortStop"}},childView:L,childViewContainer:".elementor-repeater-fields-wrapper",templateHelpers:function templateHelpers(){return{itemActions:this.model.get("item_actions"),data:_.extend({},this.model.toJSON(),{controlValue:[]})}},childViewOptions:function childViewOptions(C,T){return{container:this.getOption("container").repeaters[this.model.get("name")].children[T],controlFields:this.model.get("fields"),titleField:this.model.get("title_field"),itemActions:this.model.get("item_actions")}},createItemModel:function createItemModel(C,T,B){return T.controls=B.model.get("fields"),new elementorModules.editor.elements.models.BaseSettings(C,T)},fillCollection:function fillCollection(){var C=this.container?this.container.settings:this.elementSettingsModel,T=this.model.get("name");this.collection=C.get(T),this.collection instanceof Backbone.Collection||(this.collection=new Backbone.Collection(this.collection,{model:_.partial(this.createItemModel,_,_,this)}),C.set(T,this.collection,{silent:!0}))},initialize:function initialize(){V.prototype.initialize.apply(this,arguments),this.fillCollection(),this.listenTo(this.collection,"reset",this.resetContainer.bind(this)),this.listenTo(this.collection,"add",this.updateContainer.bind(this))},editRow:function editRow(C){if(this.currentEditableChild){var T=this.currentEditableChild.getChildViewContainer(this.currentEditableChild);T.removeClass("editable"),T.find(".elementor-wp-editor").each((function(){tinymce.get(this.id).fire("hide")}))}this.currentEditableChild!==C?(C.getChildViewContainer(C).addClass("editable"),this.currentEditableChild=C,this.updateActiveRow()):delete this.currentEditableChild},toggleClasses:function toggleClasses(){this.toggleMinRowsClass(),this.toggleMaxRowsClass()},toggleMaxRowsClass:function toggleMaxRowsClass(){var C=this.model.get("max_items");C&&Number.isInteger(C)&&this.$el.toggleClass("elementor-repeater-has-maximum-rows",C<=this.collection.length)},getMinItems:function getMinItems(){var C=0;return this.model.get("min_items")&&Number.isInteger(this.model.get("min_items"))?C=this.model.get("min_items"):this.model.get("prevent_empty")&&(C=1),C},toggleMinRowsClass:function toggleMinRowsClass(){var C=this.getMinItems();C&&this.$el.toggleClass("elementor-repeater-has-minimum-rows",C>=this.collection.length)},updateActiveRow:function updateActiveRow(){var C=1;this.currentEditableChild&&(C=this.currentEditableChild.itemIndex),this.setEditSetting("activeItemIndex",C)},updateChildIndexes:function updateChildIndexes(){var C=this.collection;this.children.each((function(T){T.updateIndex(C.indexOf(T.model)+1),T.setTitle()}))},getSortableParams:function getSortableParams(){return{axis:"y",handle:".elementor-repeater-row-tools",items:" > :not(.elementor-repeater-row--disable-sort)",cancel:""}},onRender:function onRender(){V.prototype.onRender.apply(this,arguments),this.model.get("item_actions").sort&&this.ui.fieldContainer.sortable(this.getSortableParams()),this.toggleClasses()},onSortStart:function onSortStart(C,T){T.item.data("oldIndex",T.item.index())},onSortStop:function onSortStop(C,T){var B=this;if(-1!==T.item.index()){var $=B.children.findByIndex(T.item.index()),V=$.children._views;jQuery.each(V,(function(){if("wysiwyg"===this.model.get("type"))return $.render(),delete B.currentEditableChild,!1}))}},onSortUpdate:function onSortUpdate(C,T){var B=T.item.data("oldIndex"),$=T.item.index();$e.run("document/repeater/move",{container:this.options.container,name:this.model.get("name"),sourceIndex:B,targetIndex:$})},onAddChild:function onAddChild(){this.updateChildIndexes(),this.updateActiveRow(),this.toggleClasses()},updateContainer:function updateContainer(C){this.options.container.repeaters[this.model.get("name")].children.filter((function(T){return T.id===C.get("_id")})).length||(elementorDevTools.deprecation.deprecated("Don't add models directly to the repeater.","3.0.0","$e.run( 'document/repeater/insert' )"),this.options.container.addRepeaterItem(this.model.get("name"),C,C.collection.indexOf(C)))},resetContainer:function resetContainer(){elementorDevTools.deprecation.deprecated("Don't reset repeater collection directly.","3.0.0","$e.run( 'document/repeater/remove' )"),this.options.container.repeaters[this.model.get("name")].children=[]},getDefaults:function getDefaults(){var C={};return _.each(this.model.get("fields"),(function(T){C[T.name]=T.default})),C},getChildControlView:function getChildControlView(C){return this.getControlViewByModel(this.getControlModel(C))},getControlViewByModel:function getControlViewByModel(C){return this.children.findByModelCid(C.cid)},getControlModel:function getControlModel(C){return this.collection.findWhere({_id:C})},onButtonAddRowClick:function onButtonAddRowClick(){var C=$e.run("document/repeater/insert",{container:this.options.container,name:this.model.get("name"),model:this.getDefaults()}),T=this.children.findByModel(C);this.editRow(T),this.toggleClasses()},onChildviewClickRemove:function onChildviewClickRemove(C){C===this.currentEditableChild&&delete this.currentEditableChild,$e.run("document/repeater/remove",{container:this.options.container,name:this.model.get("name"),index:C._index}),this.updateActiveRow(),this.updateChildIndexes(),this.toggleClasses()},onChildviewClickDuplicate:function onChildviewClickDuplicate(C){$e.run("document/repeater/duplicate",{container:this.options.container,name:this.model.get("name"),index:C._index}),this.toggleClasses()},onChildviewClickEdit:function onChildviewClickEdit(C){this.editRow(C)},onAfterExternalChange:function onAfterExternalChange(){this.fillCollection(),V.prototype.onAfterExternalChange.apply(this,arguments)}}),C.exports=$},37199:(C,T,B)=>{"use strict";var $,V=B(15584);$=V.extend({ui:function ui(){var ui=V.prototype.ui.apply(this,arguments);return ui.heading=".elementor-panel-heading",ui},triggers:{click:"control:section:clicked"}}),C.exports=$},88402:(C,T,B)=>{"use strict";var $,V=B(53005);$=V.extend({updatePlaceholder:function updatePlaceholder(){var C=this.ui.select;if(C){var T=C.find("option:selected");""!==T.val()||T.hasClass("e-option-placeholder")||(T=C.find(".e-option-placeholder")).prop("selected",!0),T.hasClass("e-option-placeholder")?C.addClass("e-select-placeholder"):C.removeClass("e-select-placeholder")}},onReady:function onReady(){var C=this.getControlPlaceholder();C&&jQuery("