/*! elementor - v3.7.3 - 29-08-2022 */ /*! For license information please see editor.min.js.LICENSE.txt */ (()=>{var C={70365:(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.delete(T),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=X(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=Y[C];return T||n(18,C),T}function m(C,T){Y[C]||(Y[C]=T)}function _(){return V}function j(C,T){T&&(b("Patches"),C.u=[],C.s=[],C.v=T)}function O(C){g(C),C.p.forEach(S),C.p=null}function g(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.O=!0}function P(C,T){T._=T.p.length;var B=T.p[0],$=void 0!==C&&C!==B;return T.h.g||b("ES5").S(T,C,$),$?(B[K].P&&(O(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,[]),O(T),T.u&&T.v(T.u,T.s),C!==U?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;i(3===$.i?new Set(V):V,(function(T,L){return A(C,$,V,T,L,B)})),x(C,V,!1),B&&C.u&&b("Patches").R($,B,C.u,C.s)}return $.o}function A(C,T,B,$,V,L){if(r(V)){var q=M(C,V,L&&T&&3!==T.i&&!u(T.D,$)?L.concat($):void 0);if(f(B,$,q),!r(q))return;C.m=!1}if(t(V)&&!y(V)){if(!C.h.F&&C._<1)return;M(C,V),T&&T.A.l||x(C,V)}}function x(C,T,B){void 0===B&&(B=!1),C.h.F&&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 R(C,T,B){var $=s(T)?b("MapSet").N(T,B):v(T)?b("MapSet").T(T,B):C.g?function(C,T){var B=Array.isArray(C),$={i:B?1:0,A:T?T.A:_(),P:!1,I:!1,D:{},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,H=q.proxy;return $.k=H,$.j=W,H}(T,B):b("ES5").J(T,B);return(B?B.A:_()).p.push($),$}function D(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=F(C,$),B.I=!1}else T=F(C,$);return i(T,(function(C,$){B&&a(B.t,C)===$||f(T,C,n($))})),3===$?new Set(T):T}(C)}function F(C,T){switch(T){case 2:return new Map(C);case 3:return Array.from(C)}return l(C)}function N(){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],H=W&&W[K];if(H?H.t!==q:!c(W,q))return!0}}var U=!!T[K];return $.length!==J(T).length+(U?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,TaskAbortError:()=>Oe,__DO_NOT_USE__ActionTypes:()=>le,addListener:()=>je,applyMiddleware:()=>applyMiddleware,bindActionCreators:()=>bindActionCreators,clearAllListeners:()=>Ee,combineReducers:()=>combineReducers,compose:()=>compose,configureStore:()=>configureStore,createAction:()=>createAction,createAsyncThunk:()=>createAsyncThunk,createDraftSafeSelector:()=>createDraftSafeSelector,createEntityAdapter:()=>createEntityAdapter,createImmutableStateInvariantMiddleware:()=>createImmutableStateInvariantMiddleware,createListenerMiddleware:()=>createListenerMiddleware,createNextState:()=>oe,createReducer:()=>createReducer,createSelector:()=>de,createSerializableStateInvariantMiddleware:()=>createSerializableStateInvariantMiddleware,createSlice:()=>createSlice,createStore:()=>createStore,current:()=>D,findNonSerializableValue:()=>findNonSerializableValue,freeze:()=>d,getDefaultMiddleware:()=>getDefaultMiddleware,getType:()=>getType,isAllOf:()=>isAllOf,isAnyOf:()=>isAnyOf,isAsyncThunkAction:()=>isAsyncThunkAction,isDraft:()=>r,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,removeListener:()=>Be,unwrapResult:()=>unwrapResult});var $,V,L="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),q="undefined"!=typeof Map,W="undefined"!=typeof Set,H="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,U=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,X=Object.getOwnPropertyDescriptors||function(C){var T={};return J(C).forEach((function(B){T[B]=Object.getOwnPropertyDescriptor(C,B)})),T},Y={},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]=R(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.D[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&&"number"!=typeof B&&(void 0!==B||T in C.o)||(C.o[T]=B,C.D[T]=!0,!0)},deleteProperty:function(C,T){return void 0!==z(C.t,T)||T in C.t?(C.D[T]=!1,E(C),k(C)):delete C.D[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.g=H,this.F=!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),H=R(T,C,void 0),G=!0;try{q=B(H),G=!1}finally{G?O(W):g(W)}return"undefined"!=typeof Promise&&q instanceof Promise?q.then((function(C){return j(W,$),P(C,W)}),(function(C){throw O(W),C})):(j(W,$),P(q,W))}if(!C||"object"!=typeof C){if(void 0===(q=B(C))&&(q=C),q===U&&(q=void 0),T.F&&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=D(C));var T=w(this),B=R(this,C,void 0);return B[K].C=!0,g(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.F=C},C.setUseProxies=function(C){C&&!H&&n(20),this.g=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 _defineProperty(C,T,B){return T in C?Object.defineProperty(C,T,{value:B,enumerable:!0,configurable:!0,writable:!0}):C[T]=B,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 _objectSpread2(C){for(var T=1;T-1){var V=B[$];return $>0&&(B.splice($,1),B.unshift(V)),V.value}return ce}return{get,put:function put(T,$){get(T)===ce&&(B.unshift({key:T,value:$}),B.length>C&&B.pop())},getEntries:function getEntries(){return B},clear:function clear(){B=[]}}}(q,H);function memoized(){var T=U.get(arguments);if(T===ce){if(T=C.apply(null,arguments),W){var B=U.getEntries(),$=B.find((function(C){return W(C.value,T)}));$&&(T=$.value)}U.put(arguments,T)}return T}return memoized.clearCache=function(){return U.clear()},memoized}function getDependencies(C){var T=Array.isArray(C[0])?C[0]:C;if(!T.every((function(C){return"function"==typeof C}))){var B=T.map((function(C){return"function"==typeof C?"function "+(C.name||"unnamed")+"()":typeof C})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+B+"]")}return T}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]",value:C};if("object"!=typeof C||null===C)return!1;for(var q=null!=$?$(C):Object.entries(C),W=V.length>0,H=0,U=q;H=0)){if(!B(Q))return{keyPath:J,value:Q};if("object"==typeof Q&&(L=findNonSerializableValue(Q,J,B,$,V)))return L}}return!1}function createSerializableStateInvariantMiddleware(C){return void 0===C&&(C={}),function(){return function(C){return function(T){return C(T)}}}}function getDefaultMiddleware(C){void 0===C&&(C={});var T=C.thunk,B=void 0===T||T,$=(C.immutableCheck,C.serializableCheck,new Se);return B&&(!function isBoolean(C){return"boolean"==typeof C}(B)?$.push(pe.withExtraArgument(B.extraArgument)):$.push(pe)),$}function configureStore(C){var T,B=function curryGetDefaultMiddleware(){return function curriedGetDefaultMiddleware(C){return getDefaultMiddleware(C)}}(),$=C||{},V=$.reducer,L=void 0===V?void 0:V,q=$.middleware,W=void 0===q?B():q,H=$.devTools,U=void 0===H||H,G=$.preloadedState,K=void 0===G?void 0:G,Q=$.enhancers,J=void 0===Q?void 0:Q;if("function"==typeof L)T=L;else{if(!redux_toolkit_esm_isPlainObject(L))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');T=combineReducers(L)}var X=W;"function"==typeof X&&(X=X(B));var Y=applyMiddleware.apply(void 0,X),Z=compose;U&&(Z=we(__spreadValues({trace:!1},"object"==typeof U&&U)));var ee=[Y];return Array.isArray(J)?ee=__spreadArray([Y],J):"function"==typeof J&&(ee=J(ee)),createStore(T,K,Z.apply(void 0,ee))}function createAction(C,T){function actionCreator(){for(var B=[],$=0;$-1}function getType(C){return""+C}function executeReducerBuilderCallback(C){var T,B={},$=[],V={addCase:function(C,T){var $="string"==typeof C?C:C.type;if($ in B)throw new Error("addCase cannot be called with two reducers for the same action type");return B[$]=T,V},addMatcher:function(C,T){return $.push({matcher:C,reducer:T}),V},addDefaultCase:function(C){return T=C,V}};return C(V),[B,$,T]}function createReducer(C,T,B,$){void 0===B&&(B=[]);var V,L="function"==typeof T?executeReducerBuilderCallback(T):[T,B,$],q=L[0],W=L[1],H=L[2];if(function isStateFunction(C){return"function"==typeof C}(C))V=function(){return freezeDraftable(C())};else{var U=freezeDraftable(C);V=function(){return U}}function reducer(C,T){void 0===C&&(C=V());var B=__spreadArray([q[T.type]],W.filter((function(C){return(0,C.matcher)(T)})).map((function(C){return C.reducer})));return 0===B.filter((function(C){return!!C})).length&&(B=[H]),B.reduce((function(C,B){if(B){var $;if(r(C))return void 0===($=B(C,T))?C:$;if(t(C))return oe(C,(function(C){return B(C,T)}));if(void 0===($=B(C,T))){if(null===C)return C;throw Error("A case reducer on a non-draftable value must not return undefined")}return $}return C}),C)}return reducer.getInitialState=V,reducer}function createSlice(C){var T=C.name;if(!T)throw new Error("`name` is a required option for createSlice");var B,$="function"==typeof C.initialState?C.initialState:freezeDraftable(C.initialState),V=C.reducers||{},L=Object.keys(V),q={},W={},H={};function buildReducer(){var T="function"==typeof C.extraReducers?executeReducerBuilderCallback(C.extraReducers):[C.extraReducers],B=T[0],V=void 0===B?{}:B,L=T[1],q=void 0===L?[]:L,H=T[2],U=void 0===H?void 0:H,G=__spreadValues(__spreadValues({},V),W);return createReducer($,G,q,U)}return L.forEach((function(C){var B,$,L=V[C],U=function getType2(C,T){return C+"/"+T}(T,C);"reducer"in L?(B=L.reducer,$=L.prepare):B=L,q[C]=B,W[U]=B,H[C]=$?createAction(U,$):createAction(U)})),{name:T,reducer:function(C,T){return B||(B=buildReducer()),B(C,T)},actions:H,caseReducers:q,getInitialState:function(){return B||(B=buildReducer()),B.getInitialState()}}}function createStateOperator(C){return function operation(T,B){function isPayloadActionArgument(C){return function isFSA(C){return redux_toolkit_esm_isPlainObject(C)&&"string"==typeof C.type&&Object.keys(C).every(isValidKey)}(C)}var runMutator=function(T){isPayloadActionArgument(B)?C(B.payload,T):C(B,T)};return r(T)?(runMutator(T),T):oe(T,runMutator)}}function selectIdValue(C,T){return T(C)}function ensureEntitiesArray(C){return Array.isArray(C)||(C=Object.values(C)),C}function splitAddedUpdatedEntities(C,T,B){for(var $=[],V=[],L=0,q=C=ensureEntitiesArray(C);L0){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=B.ids.map((function(C){return $[C]||C})))}}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 H=C.getState(),U=Array.from(B.values()),G=0,K=U;G{"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)),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,W.default)(this,B)}}var U=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.");var B=T.containers||[T.container];B.forEach((function(T){C.requireArgumentInstance("container",elementorModules.editor.Container,{container:T})}))}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandContainerBase"}}]),CommandContainerBase}($(B(83024)).default);T.default=U},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)),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,W.default)(this,B)}}var U=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=U;var G=U;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)),H=$(B(58724)),U=$(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,U.default)(this,B)}}var K=function(C){(0,H.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,H=void 0===W?{}:W,U=[];return $.forEach((function(C){U.push(T.component.manager.createSession(q,C,H).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(U)}}]),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)),H=$(B(71173)),U=$(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,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.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 H=function recursiveValues(C){return Object.values(C).map((function(C){return"object"===(0,L.default)(C)?Object.values(C):C}))},U={readers:H(q),parsers:H(W).flat()};T.default=U},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)),H=$(B(93231)),U=function(){function FileParserBase(C){(0,q.default)(this,FileParserBase),(0,H.default)(this,"reader",void 0),(0,H.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=U},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)),H=$(B(93231)),U=function(){function FileReaderBase(C){(0,q.default)(this,FileReaderBase),(0,H.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:"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=U},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)),H=$(B(71173)),U=$(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)),H=$(B(58724)),U=$(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,U.default)(this,B)}}var Q=function(C){(0,H.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)),H=$(B(58724)),U=$(B(71173)),G=$(B(74910)),K=$(B(20060)),Q=$(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,U.default)(this,B)}}var J=function(C){(0,H.default)(Elements,C);var T,B,$=_createSuper(Elements);function Elements(){return(0,q.default)(this,Elements),$.apply(this,arguments)}return(0,W.default)(Elements,[{key:"parse",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: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 B.apply(this,arguments)})}],[{key:"getName",value:function getName(){return"elements"}},{key:"getReaders",value:function getReaders(){return["json"]}},{key:"validate",value:(T=(0,L.default)(V.default.mark((function _callee2(C){var T;return V.default.wrap((function _callee2$(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()}}),_callee2)}))),function validate(C){return T.apply(this,arguments)})}]),Elements}(K.default);T.Elements=J},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)),H=$(B(58724)),U=$(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,U.default)(this,B)}}var Q=function(C){(0,H.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)),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,W.default)(this,B)}}var U=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=U},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)),H=$(B(58724)),U=$(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,U.default)(this,B)}}var K=function(C){(0,H.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:"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)),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,W.default)(this,B)}}var U=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=U},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;){var $=C.value;if(!($ 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=H},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)),H=$(B(9879)),U=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(),H.default.getExtension(C.type)].join(".")}}]),Item}();T.default=U},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)),H=$(B(77266)),U=$(B(58724)),G=$(B(71173)),K=$(B(74910)),Q=$(B(93231)),J=$(B(50133)),X=$(B(17878)),Y=$(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 $=C.value;this.registerFileReader($)}}catch(C){B.e(C)}finally{B.f()}var V,L=_createForOfIteratorHelper(T.parsers||{});try{for(L.s();!(V=L.n()).done;){var q=V.value;this.registerFileParser(q)}}catch(C){L.e(C)}finally{L.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 Y.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;if(!this.readers[$])throw new Error("Reader ".concat($," is not registered."));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,H,U=arguments;return V.default.wrap((function _callee2$(V){for(;;)switch(V.prev=V.next){case 0:T=U.length>1&&void 0!==U[1]&&U[1],B=C.getFile(),$=C.getReader(),L=this.getReaders($),q=0,W=Object.values(L);case 3:if(!(q1&&void 0!==U[1]&&U[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)),H=$(B(90381)),U=$(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,H.default)(C,FileList)||(0,H.default)(C,DataTransferItemList)?Array.from(C):[C]),B.abrupt("return",Promise.all(C.map((function(C){return C instanceof U.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,H.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 U.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,B=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return B&&(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)),H=$(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,H.default)(this,"manager",void 0),(0,H.default)(this,"itemCollection",void 0),(0,H.default)(this,"target",void 0),(0,H.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=U},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)),H=V(B(42081)),U=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,U.default)(Close,C);var T,B=_createSuper(Close);function Close(){return(0,W.default)(this,Close),B.apply(this,arguments)}return(0,H.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:if($e.internal("editor/documents/unload",{document:V}),!$){L.next=23;break}return L.next=23,$(V);case 23:return L.abrupt("return",jQuery.Deferred().resolve());case 24: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 q.Switch}});var $=B(68076),V=B(60994),L=B(72995),q=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)),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,W.default)(this,B)}}var U=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;return new Promise((function(T,B){return C?C.config.elements?(C.$element=elementor.$previewContents.find($),C.$element.length?(C.$element.addClass("elementor-edit-area elementor-edit-mode"),C.id!==elementor.config.initial_document.id&&elementor.$previewElementorEl.addClass("elementor-embedded-editor"),$e.internal("document/elements/populate",{document:C,elements:JSON.parse(JSON.stringify(C.config.elements))}),elementor.initPreviewView(C),C.container.view=elementor.getPreviewView(),C.container.model.attributes.elements=elementor.elements,elementor.helpers.scrollToView(C.$element),C.$element.addClass("elementor-edit-area-active").removeClass("elementor-editor-preview"),void T()):(elementor.onPreviewElNotFound(),B())):T():B()}))}}]),AttachPreview}($e.modules.CommandInternalBase);T.AttachPreview=U;var G=U;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)),H=$(B(74910)),U=$(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,H.default)(C);if(T){var V=(0,H.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;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 B=new U.default(T);elementor.documents.add(B),elementor.documents.setCurrent(B),elementor.settings.page=new elementor.settings.modules.page(T.settings),B.container=elementor.settings.page.getEditedView().getContainer(),B.container.document=B,elementor.heartbeat=new G.default(B);var $=elementor.config.document.version&&elementor.helpers.compareVersions(elementor.config.document.version,"2.5.0","<");return!elementor.config.user.introduction.flexbox&&$&&elementor.showFlexBoxAttentionDialog(),elementor.loaded?$e.data.get("globals/index").then((function(){return $e.internal("editor/documents/attach-preview")})):Promise.resolve(B)}}]),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)),H=$(B(74910)),U=$(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,H.default)(C);if(T){var V=(0,H.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",U.default,C)}},{key:"apply",value:function apply(C){var T=C.document;T.id===elementor.config.document.id&&(elementor.elements=[],elementor.saver.stopAutoSave(T),elementor.channels.dataEditMode.trigger("switch","preview"),T.$element&&T.$element.removeClass("elementor-edit-area-active elementor-edit-mode").addClass("elementor-editor-preview"),elementorCommon.elements.$body.removeClass("elementor-editor-".concat(T.config.type)),elementor.settings.page.destroy(),elementor.heartbeat.destroy(),T.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)),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,W.default)(this,B)}}var U=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,$=elementor.documents.getCurrent();return $&&T===$.id?jQuery.Deferred().resolve():(elementor.loaded&&elementor.$previewContents.find(".elementor-".concat(T)).addClass("loading"),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})})).always((function(){elementor.loaded&&elementor.$previewContents.find(".elementor-".concat(T)).removeClass("loading")})))}}]),Open}($e.modules.CommandBase);T.Open=U;var G=U;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)),H=$(B(58724)),U=$(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,U.default)(this,B)}}var K=function(C){(0,H.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)),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,W.default)(this,B)}}var U=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;return $e.run("editor/documents/close",{id:elementor.documents.getCurrentId(),mode:B,onClose:$}).then((function(){return $e.run("editor/documents/open",{id:T})})).then((function(){elementor.getPanelView().getPages("menu").view.addExitItem()}))}}]),Switch}($e.modules.CommandBase);T.Switch=U;var G=U;T.default=G},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)),H=V(B(51121)),U=V(B(58724)),G=V(B(71173)),K=V(B(74910)),Q=V(B(19263)),J=V(B(13159)),X=_interopRequireWildcard(B(11175)),Y=_interopRequireWildcard(B(28950));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 Z=function(C){(0,U.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,H.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(X)}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return this.importCommands(Y)}},{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:"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(C){elementorCommon.ajax.invalidateCache(this.getRequestArgs(C))}},{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=Z},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)),H=$(B(11666)),U=$(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 U.default),this.config=C,this.id=C.id,this.history=new W.default(this),this.revisions=new H.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},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)},renderTools:function renderTools(){var C=this;if(!(this.getOption("dynamicSettings").default||elementor.helpers.hasPro()&&!this.getOption("tags").length)){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":"See it in Action","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";C.exports=elementorModules.Module.extend({CACHE_KEY_NOT_FOUND_ERROR:"Cache key not found",tags:{Base:B(52927)},cache:{},cacheRequests:{},cacheCallbacks:[],addCacheRequest:function addCacheRequest(C){this.cacheRequests[this.createCacheKey(C)]=!0},createCacheKey:function createCacheKey(C){return btoa(C.getOption("name"))+"-"+btoa(encodeURIComponent(JSON.stringify(C.model)))},loadTagDataFromCache:function loadTagDataFromCache(C){var T=this.createCacheKey(C);if(void 0!==this.cache[T])return this.cache[T];this.cacheRequests[T]||this.addCacheRequest(C)},loadCacheRequests:function loadCacheRequests(){var C=this.cache,T=this.cacheRequests,B=this.cacheCallbacks;this.cacheRequests={},this.cacheCallbacks=[],elementorCommon.ajax.addRequest("render_tags",{data:{post_id:elementor.config.document.id,tags:Object.keys(T)},success:function success(T){jQuery.extend(C,T),B.forEach((function(C){C()}))}})},refreshCacheFromServer:function refreshCacheFromServer(C){this.cacheCallbacks.push(C),this.loadCacheRequests()},getConfig:function getConfig(C){return this.getItems(elementor.config.dynamicTags,C)},parseTagsText:function parseTagsText(C,T,B){var $=this;return"object"===T.returnType?$.parseTagText(C,T,B):C.replace(/\[elementor-tag[^\]]+]/g,(function(C){return $.parseTagText(C,T,B)}))},parseTagText:function parseTagText(C,T,B){var $=this.tagTextToTagData(C);return $?B($.id,$.name,$.settings):"object"===T.returnType?{}:""},tagTextToTagData:function tagTextToTagData(C){var T=C.match(/id="(.*?(?="))"/),B=C.match(/name="(.*?(?="))"/),$=C.match(/settings="(.*?(?="]))/);return!!(T&&B&&$)&&{id:T[1],name:B[1],settings:JSON.parse(decodeURIComponent($[1]))}},createTag:function createTag(C,T,B){var $=this.getConfig("tags."+T);if($)return new(this.tags[T]||this.tags.Base)({id:C,name:T,model:new elementorModules.editor.elements.models.BaseSettings(B,{controls:$.controls})})},getTagDataContent:function getTagDataContent(C,T,B){var $=this.createTag(C,T,B);if($)return $.getContent()},tagDataToTagText:function tagDataToTagText(C,T,B){return'[elementor-tag id="'+C+'" name="'+T+'" settings="'+(B=encodeURIComponent(JSON.stringify(B&&B.toJSON({remove:["default"]})||{})))+'"]'},tagContainerToTagText:function tagContainerToTagText(C){return elementor.dynamicTags.tagDataToTagText(C.view.getOption("id"),C.view.getOption("name"),C.view.model)},cleanCache:function cleanCache(){this.cache={}},onInit:function onInit(){this.loadCacheRequests=_.debounce(this.loadCacheRequests,300)}})},8061:C=>{"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 elementor-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)),H=$(B(74910)),U=$(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,H.default)(C);if(T){var V=(0,H.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}(U.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)),H=$(B(74910)),U=$(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,H.default)(C);if(T){var V=(0,H.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 U.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)),H=$(B(74910)),U=$(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,H.default)(C);if(T){var V=(0,H.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:U.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)),H=V(B(58724)),U=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,U.default)(this,B)}}var Q=function(C){(0,H.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)),H=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=H},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)),H=$(B(58724)),U=$(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,U.default)(this,B)}}var X=function(C){(0,H.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&&(H=W),V>W-H&&(V=W-H);var U=W-V-H,G=V*q,K=(V+H)*q-1,Q=L.slice(G,K+1),X={height:"".concat(V*B.height,"px")},Y={height:"".concat(U*B.height,"px")};return J.default.createElement(J.Fragment,null,J.default.createElement("div",{className:"elementor-icons-manager__tab__content__offset",style:X}),J.default.createElement("div",{id:"elementor-icons-manager__tab__content"},Q),J.default.createElement("div",{className:"elementor-icons-manager__tab__content__tail",style:Y}))})),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),Y=X;T.default=Y,X.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)),H=V(B(78983)),U=V(B(42081)),G=V(B(77266)),K=V(B(58724)),Q=V(B(71173)),J=V(B(74910)),X=V(B(93231)),Y=V(B(23615)),Z=B(61533),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,X.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,X.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,X.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,X.default)((0,G.default)(C),"setSelected",(function(T){elementor.iconManager.setSettings("selectedIcon",T),C.setState({selected:T})})),(0,X.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,X.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 H=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:H.value}),q.default.createElement("input",{type:"hidden",name:"icon_type",id:"icon_type",value:H.library}),C.state.loaded[T.name]?q.default.createElement(ee.default,(0,W.default)({setSelected:C.setSelected,selected:H,filter:L,key:T.name,parentRef:C.scrollViewRef},T)):"Loading")))))})),C}return(0,U.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 elementor-button-default",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(0,Z.render)(q.default.createElement(ne,(0,W.default)({},C,{containerElement:T})),T)},ne.propTypes={activeTab:Y.default.any,customIconsURL:Y.default.string,icons:Y.default.any,loaded:Y.default.any,modalView:Y.default.any,recommended:Y.default.oneOfType([Y.default.bool,Y.default.object]),selected:Y.default.any,showSearch:Y.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)),H=$(B(77266)),U=$(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 X=function(C){(0,U.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)),H=V(B(78983)),U=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 X=function(C){(0,G.default)(IconsGoPro,C);var T=_createSuper(IconsGoPro);function IconsGoPro(){var C;(0,H.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)),H=$(B(78983)),U=$(B(42081)),G=$(B(77266)),K=$(B(58724)),Q=$(B(71173)),J=$(B(74910)),X=$(B(93231)),Y=$(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,X.default)((0,G.default)(C),"getLibrary",(function(C){return elementor.config.icons.libraries.filter((function(T){return C===T.name}))})),(0,X.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,X.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,X.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),H=W[0];if(W[1].props.containerClass.includes("elementor-selected")){$=H;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,U.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],H=$.displayPrefix+" "+$.selector,U="elementor-icons-manager__tab__item";V.value===H&&(U+=" elementor-selected");var G=U+C+"-"+W+q;return L.default.createElement(ee.default,{key:G,library:C,keyID:W,containerClass:U,className:H,setSelectedHandler:B.props.setSelected,data:$})}))}}]),Tab}(L.Component);te.propTypes={data:Y.default.any,filter:Y.default.any,icons:Y.default.object,name:Y.default.string,selected:Y.default.object,setSelected:Y.default.func,parentRef:Y.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)),H=V(B(71173)),U=V(B(74910)),G=V(B(41864)),K=B(8731),Q=V(B(4982)),J=V(B(26801)),X=B(61533);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,H.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 elementor-button-success",callback:function callback(){C.updateControlValue(),C.unMountIconManager()}}),T.on("show",this.onPickerShow.bind(this)).on("hide",this.unMountIconManager)}return this.layout}},{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectedIcon:{}}}},{key:"unMountIconManager",value:function unMountIconManager(){var C=document.querySelector("#elementor-icons-manager-modal .dialog-content");(0,X.unmountComponentAtNode)(C)}},{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})),H=$.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)),H=V(B(58724)),U=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,U.default)(this,B)}}var K=function(C){(0,H.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)),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,W.default)(this,B)}}var U=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=U},17085:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Drop",{enumerable:!0,get:function get(){return $.Drop}});var $=B(32447)},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)),H=$(B(71173)),U=$(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,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.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)),H=$(B(71173)),U=$(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(){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)),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,W.default)(this,B)}}var U=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",{id:C,rel:"stylesheet",href:elementor.config.ui.darkModeStylesheetURL})),this.$link=T}},{key:"getDarkModeStylesheetLink",value:function getDarkModeStylesheetLink(){return this.$link||this.createDarkModeStylesheetLink(),this.$link}},{key:"onUIThemeChanged",value:function onUIThemeChanged(C){var T=this.getDarkModeStylesheetLink();"light"!==C?T.attr("media","auto"===C?"(prefers-color-scheme: dark)":"").appendTo(elementorCommon.elements.$body):T.remove()}},{key:"onPanelWidthChanged",value:function onPanelWidthChanged(C){elementor.panel.saveSize({width:C.size+C.unit}),elementor.panel.setSize()}},{key:"onEditButtonsChanged",value:function onEditButtonsChanged(){setTimeout((function(){return elementor.getPreviewView()._renderChildren()}),300)}},{key:"onShowHiddenElementsChange",value:function onShowHiddenElementsChange(){elementorFrontend.elements.$body.toggleClass("e-preview--show-hidden-elements")}}]),_default}($(B(66915)).default);T.default=U},34991:(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)),H=V(B(71173)),U=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,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.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){elementor.getPanelView().setPage("page_settings").activateTab(C)}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return".elementor-panel-navigation"}}]),Component}(V(B(19263)).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)),H=B(66915);C.exports=H.extend({getStyleId:function getStyleId(){return this.getSettings("name")+"-"+elementor.documents.getCurrent().id},onInit:function onInit(){H.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};"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)),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,W.default)(this,B)}}var U=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=U;var G=U;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)),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,W.default)(this,B)}}var U=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=U;var G=U;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)),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,W.default)(this,B)}}var U=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=U;var G=U;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)),H=V(B(42081)),U=V(B(51121)),G=V(B(58724)),K=V(B(71173)),Q=V(B(74910)),J=V(B(19076)),X=_interopRequireWildcard(B(57466)),Y=_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)),H=q(B(93231)),U=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,H.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 U.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),H=B(15307),U=B(89482),G=B(46831),K=B(35333),Q=B(58489);C.exports=elementorModules.common.views.modal.Layout.extend({getModalOptions:function getModalOptions(){return{id:"elementor-template-library-modal"}},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="#tmpl-elementor-template-library-"+(elementor.config.library_connect.base_access_level!==C.accessLevel?"upgrade-plan-button":"insert-button");B=elementor.hooks.applyFilters("elementor/editor/template-library/template/action-button",B,C);var $=Marionette.TemplateCache.get(B),V=T[Object.keys(T).sort().find((function(T){return T>=C.accessLevel}))];return Marionette.Renderer.render($,{promotionText:"Go ".concat(V.label),promotionLink:V.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 H({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 U({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)(B(40548));$=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,$=elementor.templates.layout;(this.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()}},elementorCommon.config.filesUpload.unfilteredFiles)?this.sendImportRequest():V.default.getUnfilteredFilesNotEnabledImportTemplateDialog((function(){return B.sendImportRequest()})).show()},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){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")&&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);$=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_level!==this.model.get("accessLevel")&&(C+=" elementor-template-library-pro-template"),C},attributes:function attributes(){var C=elementor.config.library_connect.subscription_plans[this.model.get("accessLevel")];return C?{style:'--elementor-template-library-subscription-plan-label: "'.concat(C.label,'";--elementor-template-library-subscription-plan-color: ').concat(C.color,";")}:{}},ui:function ui(){return{previewButton:".elementor-template-library-template-preview"}},events:function events(){return{"click @ui.previewButton":"onPreviewButtonClick"}},behaviors:{insertTemplate:{behaviorClass:V}}}),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)),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,W.default)(this,B)}}var U=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=U.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}(U);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)),H=$(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"})},events:function events(){return Object.assign(V.prototype.events.apply(this,arguments),{"change @ui.units":"onUnitChange"})},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;){var q=V.value;q.recursiveUnitChange()}}catch(C){L.e(C)}finally{L.f()}},onRender:function onRender(){V.prototype.onRender.apply(this,arguments),this.updatePlaceholder()},onUnitChange:function onUnitChange(){this.recursiveUnitChange(!1),this.updatePlaceholder()},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]}}),C.exports=$},15584:C=>{"use strict";var T;T=Marionette.CompositeView.extend({ui:function ui(){return{controlTitle:".elementor-control-title"}},behaviors:function behaviors(){return elementor.hooks.applyFilters("controls/base/behaviors",{},this)},getBehavior:function getBehavior(C){return this._behaviors[Object.keys(this.behaviors()).indexOf(C)]},className:function className(){var C="elementor-control elementor-control-"+this.model.get("name")+" elementor-control-type-"+this.model.get("type"),T=this.model.get("classes"),B=this.model.get("responsive");(_.isEmpty(T)||(C+=" "+T),_.isEmpty(B))||(C+=" elementor-control-responsive-"+(B.max||B.min));return C},templateHelpers:function templateHelpers(){var C={_cid:this.model.cid};return{view:this,data:_.extend({},this.model.toJSON(),C)}},getTemplate:function getTemplate(){return Marionette.TemplateCache.get("#tmpl-elementor-control-"+this.model.get("type")+"-content")},initialize:function initialize(C){var T=this,B=this.model.get("label");Object.defineProperty(this,"container",{get:function get(){if(!C.container){var T=C.elementSettingsModel,$=$e.components.get("document").utils.findViewById(T.id);$&&$.getContainer?C.container=$.getContainer():(T.id||(T.id="bc-"+elementorCommon.helpers.getUniqueId()),C.container=new elementorModules.editor.Container({type:"bc-container",id:T.id,model:T,settings:T,label:B,view:!1,parent:!1,renderer:!1,controls:T.options.controls}))}return C.container}}),Object.defineProperty(this,"elementSettingsModel",{get:function get(){return elementorDevTools.deprecation.deprecated("elementSettingsModel","2.8.0","container.settings"),C.container?C.container.settings:C.elementSettingsModel}});var $=this.model.get("type"),V=jQuery.extend(!0,{},elementor.config.controls[$],this.model.attributes);this.model.set(V);var L=this.container?this.container.settings:this.elementSettingsModel;this.listenTo(L,"change",this.onAfterChange),this.model.attributes.responsive&&elementor.listenTo(elementor.channels.deviceMode,"change",(function(){return T.onDeviceModeChange()}))},onDeviceModeChange:function onDeviceModeChange(){this.toggleControlVisibility()},onAfterChange:function onAfterChange(){this.toggleControlVisibility()},toggleControlVisibility:function toggleControlVisibility(){var C=this.container?this.container.settings:this.elementSettingsModel,T=elementor.helpers.isActiveControl(this.model,C.attributes,C.controls);this.$el.toggleClass("elementor-hidden-control",!T),elementor.getPanelView().updateScrollbar()},onRender:function onRender(){var C=this.model.get("label_block")?"block":"inline",T=this.model.get("show_label"),B="elementor-label-"+C;B+=" elementor-control-separator-"+this.model.get("separator"),T||(B+=" elementor-control-hidden-label"),this.$el.addClass(B),this.toggleControlVisibility()}}),C.exports=T},54249:(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)),H=$(B(71173)),U=$(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 _objectSpread(C){for(var T=1;T{"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("elementor-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),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")}}),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)),H=V(B(78983)),U=V(B(42081)),G=V(B(51121)),K=V(B(58724)),Q=V(B(71173)),J=V(B(74910)),X=V(B(53005)),Y=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,H.default)(this,_default),B.apply(this,arguments)}return(0,U.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()}};this.colorPicker=new Y.default(B),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:"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;if(elementorCommon.config.experimentalFeatures["elements-color-picker"]){var 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"}),H=this.createColorPreviewBox(V),U=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:"onBeforeDestroy",value:function onBeforeDestroy(){this.colorPicker&&this.colorPicker.destroy()}}]),_default}(X.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(58724)),W=$(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,W.default)(this,B)}}var U=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:"onReady",value:function onReady(){var C=_.extend({enableTime:!0,minuteIncrement:1},this.model.get("picker_options"));this.ui.input.flatpickr(C)}},{key:"onBeforeDestroy",value:function onBeforeDestroy(){this.ui.input.flatpickr().destroy()}}]),_default}(B(53005));T.default=U},53261:(C,T,B)=>{"use strict";var $,V=B(73203)(B(54249)),L=B(26804);$=L.extend({behaviors:{Scrubbing:{behaviorClass:V.default,scrubSettings:{intentTime:800}}},ui:function ui(){var ui=L.prototype.ui.apply(this,arguments);return ui.controls=".elementor-control-dimension > input:enabled",ui.link="button.elementor-link-dimensions",ui},events:function events(){return _.extend(L.prototype.events.apply(this,arguments),{"click @ui.link":"onLinkDimensionsClicked"})},defaultDimensionValue:0,initialize:function initialize(){L.prototype.initialize.apply(this,arguments),this.model.set("allowed_dimensions",this.filterDimensions(this.model.get("allowed_dimensions")))},getPossibleDimensions:function getPossibleDimensions(){return["top","right","bottom","left"]},filterDimensions:function filterDimensions(C){C=C||"all";var T=this.getPossibleDimensions();return"all"===C?T:(_.isArray(C)||("horizontal"===C?C=["right","left"]:"vertical"===C&&(C=["top","bottom"])),C)},onReady:function onReady(){var C=this,T=C.getControlValue();C.isLinkedDimensions()||(C.ui.link.addClass("unlinked"),C.ui.controls.each((function(B,$){var V=T[$.dataset.setting];_.isEmpty(V)&&(V=C.defaultDimensionValue),C.$($).val(V)}))),C.fillEmptyDimensions()},updateDimensionsValue:function updateDimensionsValue(){var C={},T=this.getPossibleDimensions(),B=this.ui.controls,$=this.defaultDimensionValue;T.forEach((function(T){var V=B.filter('[data-setting="'+T+'"]');C[T]=V.length?V.val():$})),this.setValue(C)},fillEmptyDimensions:function fillEmptyDimensions(){var C=this.ui.controls,T=this.defaultDimensionValue;if(!this.isLinkedDimensions()){var B=this.model.get("allowed_dimensions");this.getPossibleDimensions().forEach((function($){var V=C.filter('[data-setting="'+$+'"]');-1!==_.indexOf(B,$)&&V.length&&_.isEmpty(V.val())&&V.val(T)}))}},updateDimensions:function updateDimensions(){this.fillEmptyDimensions(),this.updateDimensionsValue()},resetDimensions:function resetDimensions(){this.ui.controls.val(""),this.updateDimensionsValue()},onInputChange:function onInputChange(C){var T,B=C.target.dataset.setting;if(("unit"===B&&this.resetDimensions(),_.contains(this.getPossibleDimensions(),B))&&!("-"===(null==C||null===(T=C.originalEvent)||void 0===T?void 0:T.data)&&!C.target.value)){if(this.isLinkedDimensions()){var $=this.$(C.target);this.ui.controls.val($.val())}this.updateDimensions()}},onLinkDimensionsClicked:function onLinkDimensionsClicked(C){C.preventDefault(),C.stopPropagation(),this.ui.link.toggleClass("unlinked"),this.setValue("isLinked",!this.ui.link.hasClass("unlinked")),this.isLinkedDimensions()&&this.ui.controls.val(this.ui.controls.eq(0).val()),this.updateDimensions()},isLinkedDimensions:function isLinkedDimensions(){return this.getControlValue("isLinked")}}),C.exports=$},35634:(C,T,B)=>{"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)(B(40548)),W=B(53005);$=W.extend({ui:function ui(){var ui=W.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},events:function events(){return _.extend(W.prototype.events.apply(this,arguments),{"click @ui.addImages":"onAddImagesClick","click @ui.clearGallery":"onClearGalleryClick","click @ui.galleryThumbnails":"onGalleryThumbnailsClick"})},onReady:function onReady(){this.initRemoveDialog()},applySavedValue:function applySavedValue(){var C=this.getControlValue().length,T=!!C;this.$el.toggleClass("elementor-gallery-has-images",T).toggleClass("elementor-gallery-empty",!T);var B=this.ui.galleryThumbnails;B.empty(),this.ui.status.text(T?V(L("%s Images Selected","elementor"),C):L("No Images Selected","elementor")),T&&this.getControlValue().forEach((function(C){var T=jQuery("
",{class:"elementor-control-gallery-thumbnail"});T.css("background-image","url("+C.url+")"),B.append(T)}))},hasImages:function hasImages(){return!!this.getControlValue().length},openFrame:function openFrame(C){this.initFrame(C),this.frame.open(),q.default.isUploadEnabled("svg")&&q.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(q.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()},onBeforeDestroy:function onBeforeDestroy(){this.frame&&this.frame.off(),this.$el.remove()},resetGallery:function resetGallery(){this.setValue([]),this.applySavedValue()},initRemoveDialog:function initRemoveDialog(){var C;this.getRemoveDialog=function(){return C||(C=elementorCommon.dialogsManager.createWidget("confirm",{message:L("Are you sure you want to reset this gallery?","elementor"),headerMessage:L("Reset Gallery","elementor"),strings:{confirm:L("Delete","elementor"),cancel:L("Cancel","elementor")},defaultOption:"confirm",onConfirm:this.resetGallery.bind(this)})),C}},onAddImagesClick:function onAddImagesClick(){this.openFrame(this.hasImages()?"add":"create")},onClearGalleryClick:function onClearGalleryClick(){this.getRemoveDialog().show()},onGalleryThumbnailsClick:function onGalleryThumbnailsClick(){this.openFrame("edit")}}),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)),H=V(B(58724)),U=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,U.default)(this,B)}}var Q=B(87474),J=function(C){(0,H.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("elementor-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 H='';$.html(H)}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 $,V=B(73203)(B(54249));$=B(87474).extend({behaviors:{Scrubbing:{behaviorClass:V.default,scrubSettings:{intentTime:800}}},ui:function ui(){return{inputWidth:'input[data-setting="width"]',inputHeight:'input[data-setting="height"]',btnApply:"button.elementor-image-dimensions-apply-button"}},events:function events(){return{"click @ui.btnApply":"onApplyClicked","keyup @ui.inputWidth":"onDimensionKeyUp","keyup @ui.inputHeight":"onDimensionKeyUp"}},onDimensionKeyUp:function onDimensionKeyUp(C){13===C.keyCode&&this.onApplyClicked(C)},onApplyClicked:function onApplyClicked(C){C.preventDefault(),this.setValue({width:this.ui.inputWidth.val(),height:this.ui.inputHeight.val()})}}),C.exports=$},79196:(C,T,B)=>{"use strict";var $,V=B(38003).__,L=B(73203)(B(40548)),q=B(87474);$=q.extend({ui:function ui(){var ui=q.prototype.ui.apply(this,arguments);return ui.controlMedia=".elementor-control-media",ui.mediaImage=".elementor-control-media__preview",ui.mediaVideo=".elementor-control-media-video",ui.frameOpeners=".elementor-control-preview-area",ui.removeButton=".elementor-control-media__remove",ui.fileName=".elementor-control-media__file__content__info__name",ui},events:function events(){return _.extend(q.prototype.events.apply(this,arguments),{"click @ui.frameOpeners":"openFrame","click @ui.removeButton":"deleteImage"})},getMediaType:function getMediaType(){return this.mediaType||this.model.get("media_type")||this.model.get("media_types")[0]},getLibraryType:function getLibraryType(C){return C||(C=this.getMediaType()),"svg"===C?"image/svg+xml":C},applySavedValue:function applySavedValue(){var C,T=this.getControlValue("url"),B=T||(null===(C=this.getControlPlaceholder())||void 0===C?void 0:C.url),$=this.getMediaType();if(["image","svg"].includes($))this.ui.mediaImage.css("background-image",B?"url("+B+")":""),!T&&B&&this.ui.mediaImage.css("opacity",.5);else if("video"===$)this.ui.mediaVideo.attr("src",B);else{var V=B?B.split("/").pop():"";this.ui.fileName.text(V)}this.ui.controlMedia.toggleClass("elementor-media-empty",!T)},openFrame:function openFrame(C){var T,B,$=this,V=(null==C||null===(T=C.target)||void 0===T||null===(B=T.dataset)||void 0===B?void 0:B.mediaType)||this.getMediaType();if(this.mediaType=V,V){if(!L.default.isUploadEnabled(V))return L.default.getUnfilteredFilesNotEnabledDialog((function(){return $.openFrame(C)})).show(),!1;this.frame&&this.getLibraryType(V)===this.currentLibraryType||this.initFrame(),this.frame.open(),L.default.setUploadTypeCaller(this.frame);var q=this.getControlValue("id");q&&this.frame.state().get("selection").add(wp.media.attachment(q))}},deleteImage:function deleteImage(C){C.stopPropagation(),this.setValue({url:"",id:""}),this.applySavedValue()},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:V("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(V("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}),this.model.get("responsive")?this.renderWithChildren():this.applySavedValue()),this.trigger("after:select")},onBeforeDestroy:function onBeforeDestroy(){this.$el.remove()}}),C.exports=$},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 $,V=B(38003).__,L=B(87474);$=L.extend({ui:function ui(){var ui=L.prototype.ui.apply(this,arguments);return ui.reverseOrderLabel=".elementor-control-order-label",ui},changeLabelTitle:function changeLabelTitle(){var C=this.getControlValue("reverse_order");this.ui.reverseOrderLabel.attr("title",V(C?"Ascending order":"Descending order","elementor"))},onRender:function onRender(){L.prototype.onRender.apply(this,arguments),this.changeLabelTitle()},onInputChange:function onInputChange(){this.changeLabelTitle()}}),C.exports=$},7699:(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(40131)),H=V(B(78983)),U=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),X=function(C){(0,G.default)(ControlPopoverStarterView,C);var T,B=_createSuper(ControlPopoverStarterView);function ControlPopoverStarterView(){return(0,H.default)(this,ControlPopoverStarterView),B.apply(this,arguments)}return(0,U.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.$el.next(".elementor-controls-popover");C.length&&(C[0].dataset.popoverToggle="elementor-control-default-".concat(this.model.cid))}},{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(){this.isGlobalActive()&&!this.getControlValue()&&!this.getGlobalKey()&&this.getGlobalDefault()&&this.triggerMethod("unlink:global:default"),this.$el.next(".elementor-controls-popover").toggle()}},{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];V&&""!==V.size&&($.startsWith("typography_")&&($=$.replace("typography_","")),"font_family"===$&&elementor.helpers.enqueueFont(V,"editor"),"font_size"===$?(V.size>40&&(V.size=40),T.fontSize=V.size+V.unit):($.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});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=X,X.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)},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},toggleMinRowsClass:function toggleMinRowsClass(){this.model.get("prevent_empty")&&this.$el.toggleClass("elementor-repeater-has-minimum-rows",1>=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)"}},onRender:function onRender(){V.prototype.onRender.apply(this,arguments),this.model.get("item_actions").sort&&this.ui.fieldContainer.sortable(this.getSortableParams()),this.toggleMinRowsClass()},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()},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},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.toggleMinRowsClass()},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.toggleMinRowsClass()},onChildviewClickDuplicate:function onChildviewClickDuplicate(C){$e.run("document/repeater/duplicate",{container:this.options.container,name:this.model.get("name"),index:C._index}),this.toggleMinRowsClass()},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("