View file File name : editor.min.js Content :/*! elementor - v3.25.0 - 13-11-2024 */ /*! For license information please see editor.min.js.LICENSE.txt */ (()=>{var C={71177:(C,T,B)=>{"use strict";function n(C){for(var T=arguments.length,B=Array(T>1?T-1:0),$=1;$<T;$++)B[$-1]=arguments[$];throw Error("[Immer] minified error nr: "+C+(B.length?" "+B.map((function(C){return"'"+C+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r(C){return!!C&&!!C[K]}function t(C){var T;return!!C&&(function(C){if(!C||"object"!=typeof C)return!1;var T=Object.getPrototypeOf(C);if(null===T)return!0;var B=Object.hasOwnProperty.call(T,"constructor")&&T.constructor;return B===Object||"function"==typeof B&&Function.toString.call(B)===Q}(C)||Array.isArray(C)||!!C[G]||!!(null===(T=C.constructor)||void 0===T?void 0:T[G])||s(C)||v(C))}function e(C){return r(C)||n(23,C),C[K].t}function i(C,T,B){void 0===B&&(B=!1),0===o(C)?(B?Object.keys:J)(C).forEach((function($){B&&"symbol"==typeof $||T($,C[$],C)})):C.forEach((function(B,$){return T($,B,C)}))}function o(C){var T=C[K];return T?T.i>3?T.i-4:T.i:Array.isArray(C)?1:s(C)?2:v(C)?3:0}function u(C,T){return 2===o(C)?C.has(T):Object.prototype.hasOwnProperty.call(C,T)}function a(C,T){return 2===o(C)?C.get(T):C[T]}function f(C,T,B){var $=o(C);2===$?C.set(T,B):3===$?C.add(B):C[T]=B}function c(C,T){return C===T?0!==C||1/C==1/T:C!=C&&T!=T}function s(C){return q&&C instanceof Map}function v(C){return W&&C instanceof Set}function p(C){return C.o||C.t}function l(C){if(Array.isArray(C))return Array.prototype.slice.call(C);var T=Y(C);delete T[K];for(var B=J(T),$=0;$<B.length;$++){var V=B[$],L=T[V];!1===L.writable&&(L.writable=!0,L.configurable=!0),(L.get||L.set)&&(T[V]={configurable:!0,writable:!0,enumerable:L.enumerable,value:C[V]})}return Object.create(Object.getPrototypeOf(C),T)}function d(C,T){return void 0===T&&(T=!1),y(C)||r(C)||!t(C)||(o(C)>1&&(C.set=C.add=C.clear=C.delete=h),Object.freeze(C),T&&i(C,(function(C,T){return d(T,!0)}),!0)),C}function h(){n(2)}function y(C){return null==C||"object"!=typeof C||Object.isFrozen(C)}function b(C){var T=X[C];return T||n(18,C),T}function m(C,T){X[C]||(X[C]=T)}function _(){return V}function j(C,T){T&&(b("Patches"),C.u=[],C.s=[],C.v=T)}function g(C){O(C),C.p.forEach(S),C.p=null}function O(C){C===V&&(V=C.l)}function w(C){return V={p:[],l:V,h:C,m:!0,_:0}}function S(C){var T=C[K];0===T.i||1===T.i?T.j():T.g=!0}function P(C,T){T._=T.p.length;var B=T.p[0],$=void 0!==C&&C!==B;return T.h.O||b("ES5").S(T,C,$),$?(B[K].P&&(g(T),n(4)),t(C)&&(C=M(T,C),T.l||x(T,C)),T.u&&b("Patches").M(B[K].t,C,T.u,T.s)):C=M(T,B,[]),g(T),T.u&&T.v(T.u,T.s),C!==H?C:void 0}function M(C,T,B){if(y(T))return T;var $=T[K];if(!$)return i(T,(function(V,L){return A(C,$,T,V,L,B)}),!0),T;if($.A!==C)return T;if(!$.P)return x(C,$.t,!0),$.t;if(!$.I){$.I=!0,$.A._--;var V=4===$.i||5===$.i?$.o=l($.k):$.o,L=V,q=!1;3===$.i&&(L=new Set(V),V.clear(),q=!0),i(L,(function(T,L){return A(C,$,V,T,L,B,q)})),x(C,V,!1),B&&C.u&&b("Patches").N($,B,C.u,C.s)}return $.o}function A(C,T,B,$,V,L,q){if(r(V)){var W=M(C,V,L&&T&&3!==T.i&&!u(T.R,$)?L.concat($):void 0);if(f(B,$,W),!r(W))return;C.m=!1}else q&&B.add(V);if(t(V)&&!y(V)){if(!C.h.D&&C._<1)return;M(C,V),T&&T.A.l||x(C,V)}}function x(C,T,B){void 0===B&&(B=!1),!C.l&&C.h.D&&C.m&&d(T,B)}function z(C,T){var B=C[K];return(B?p(B):C)[T]}function I(C,T){if(T in C)for(var B=Object.getPrototypeOf(C);B;){var $=Object.getOwnPropertyDescriptor(B,T);if($)return $;B=Object.getPrototypeOf(B)}}function k(C){C.P||(C.P=!0,C.l&&k(C.l))}function E(C){C.o||(C.o=l(C.t))}function N(C,T,B){var $=s(T)?b("MapSet").F(T,B):v(T)?b("MapSet").T(T,B):C.O?function(C,T){var B=Array.isArray(C),$={i:B?1:0,A:T?T.A:_(),P:!1,I:!1,R:{},l:T,t:C,k:null,o:null,j:null,C:!1},V=$,L=Z;B&&(V=[$],L=ee);var q=Proxy.revocable(V,L),W=q.revoke,U=q.proxy;return $.k=U,$.j=W,U}(T,B):b("ES5").J(T,B);return(B?B.A:_()).p.push($),$}function R(C){return r(C)||n(22,C),function n(C){if(!t(C))return C;var T,B=C[K],$=o(C);if(B){if(!B.P&&(B.i<4||!b("ES5").K(B)))return B.t;B.I=!0,T=D(C,$),B.I=!1}else T=D(C,$);return i(T,(function(C,$){B&&a(B.t,C)===$||f(T,C,n($))})),3===$?new Set(T):T}(C)}function D(C,T){switch(T){case 2:return new Map(C);case 3:return Array.from(C)}return l(C)}function F(){function t(T,B){var $=C[T];return $?$.enumerable=B:C[T]=$={configurable:!0,enumerable:B,get:function(){var C=this[K];return Z.get(C,T)},set:function(C){var B=this[K];Z.set(B,T,C)}},$}function e(C){for(var T=C.length-1;T>=0;T--){var B=C[T][K];if(!B.P)switch(B.i){case 5:a(B)&&k(B);break;case 4:o(B)&&k(B)}}}function o(C){for(var T=C.t,B=C.k,$=J(B),V=$.length-1;V>=0;V--){var L=$[V];if(L!==K){var q=T[L];if(void 0===q&&!u(T,L))return!0;var W=B[L],U=W&&W[K];if(U?U.t!==q:!c(W,q))return!0}}var H=!!T[K];return $.length!==J(T).length+(H?0:1)}function a(C){var T=C.k;if(T.length!==C.t.length)return!0;var B=Object.getOwnPropertyDescriptor(T,T.length-1);if(B&&!B.get)return!0;for(var $=0;$<T.length;$++)if(!T.hasOwnProperty($))return!0;return!1}var C={};m("ES5",{J:function(C,T){var B=Array.isArray(C),$=function(C,T){if(C){for(var B=Array(T.length),$=0;$<T.length;$++)Object.defineProperty(B,""+$,t($,!0));return B}var V=Y(T);delete V[K];for(var L=J(V),q=0;q<L.length;q++){var W=L[q];V[W]=t(W,C||!!V[W].enumerable)}return Object.create(Object.getPrototypeOf(T),V)}(B,C),V={i:B?5:4,A:T?T.A:_(),P:!1,I:!1,R:{},l:T,t:C,k:$,o:null,g:!1,C:!1};return Object.defineProperty($,K,{value:V,writable:!0}),$},S:function(C,T,B){B?r(T)&&T[K].A===C&&e(C.p):(C.u&&function n(C){if(C&&"object"==typeof C){var T=C[K];if(T){var B=T.t,$=T.k,V=T.R,L=T.i;if(4===L)i($,(function(C){C!==K&&(void 0!==B[C]||u(B,C)?V[C]||n($[C]):(V[C]=!0,k(T)))})),i(B,(function(C){void 0!==$[C]||u($,C)||(V[C]=!1,k(T))}));else if(5===L){if(a(T)&&(k(T),V.length=!0),$.length<B.length)for(var q=$.length;q<B.length;q++)V[q]=!1;else for(var W=B.length;W<$.length;W++)V[W]=!0;for(var U=Math.min($.length,B.length),H=0;H<U;H++)$.hasOwnProperty(H)||(V[H]=!0),void 0===V[H]&&n($[H])}}}}(C.p[0]),e(C.p))},K:function(C){return 4===C.i?o(C):a(C)}})}B.r(T),B.d(T,{EnhancerArray:()=>Se,MiddlewareArray:()=>ke,SHOULD_AUTOBATCH:()=>Ue,TaskAbortError:()=>Ne,__DO_NOT_USE__ActionTypes:()=>le,addListener:()=>Fe,applyMiddleware:()=>applyMiddleware,autoBatchEnhancer:()=>autoBatchEnhancer,bindActionCreators:()=>bindActionCreators,clearAllListeners:()=>qe,combineReducers:()=>combineReducers,compose:()=>compose,configureStore:()=>configureStore,createAction:()=>createAction,createActionCreatorInvariantMiddleware:()=>createActionCreatorInvariantMiddleware,createAsyncThunk:()=>Te,createDraftSafeSelector:()=>createDraftSafeSelector,createEntityAdapter:()=>createEntityAdapter,createImmutableStateInvariantMiddleware:()=>createImmutableStateInvariantMiddleware,createListenerMiddleware:()=>createListenerMiddleware,createNextState:()=>oe,createReducer:()=>createReducer,createSelector:()=>de,createSerializableStateInvariantMiddleware:()=>createSerializableStateInvariantMiddleware,createSlice:()=>createSlice,createStore:()=>createStore,current:()=>R,findNonSerializableValue:()=>findNonSerializableValue,freeze:()=>d,getDefaultMiddleware:()=>getDefaultMiddleware,getType:()=>getType,isAction:()=>isAction,isActionCreator:()=>isActionCreator,isAllOf:()=>isAllOf,isAnyOf:()=>isAnyOf,isAsyncThunkAction:()=>isAsyncThunkAction,isDraft:()=>r,isFluxStandardAction:()=>isFSA,isFulfilled:()=>isFulfilled,isImmutableDefault:()=>isImmutableDefault,isPending:()=>isPending,isPlain:()=>isPlain,isPlainObject:()=>redux_toolkit_esm_isPlainObject,isRejected:()=>isRejected,isRejectedWithValue:()=>isRejectedWithValue,legacy_createStore:()=>ue,miniSerializeError:()=>miniSerializeError,nanoid:()=>nanoid,original:()=>e,prepareAutoBatched:()=>prepareAutoBatched,removeListener:()=>ze,unwrapResult:()=>unwrapResult});var $,V,L="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),q="undefined"!=typeof Map,W="undefined"!=typeof Set,U="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H=L?Symbol.for("immer-nothing"):(($={})["immer-nothing"]=!0,$),G=L?Symbol.for("immer-draftable"):"__$immer_draftable",K=L?Symbol.for("immer-state"):"__$immer_state",Q=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),J="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(C){return Object.getOwnPropertyNames(C).concat(Object.getOwnPropertySymbols(C))}:Object.getOwnPropertyNames,Y=Object.getOwnPropertyDescriptors||function(C){var T={};return J(C).forEach((function(B){T[B]=Object.getOwnPropertyDescriptor(C,B)})),T},X={},Z={get:function(C,T){if(T===K)return C;var B=p(C);if(!u(B,T))return function(C,T,B){var $,V=I(T,B);return V?"value"in V?V.value:null===($=V.get)||void 0===$?void 0:$.call(C.k):void 0}(C,B,T);var $=B[T];return C.I||!t($)?$:$===z(C.t,T)?(E(C),C.o[T]=N(C.A.h,$,C)):$},has:function(C,T){return T in p(C)},ownKeys:function(C){return Reflect.ownKeys(p(C))},set:function(C,T,B){var $=I(p(C),T);if(null==$?void 0:$.set)return $.set.call(C.k,B),!0;if(!C.P){var V=z(p(C),T),L=null==V?void 0:V[K];if(L&&L.t===B)return C.o[T]=B,C.R[T]=!1,!0;if(c(B,V)&&(void 0!==B||u(C.t,T)))return!0;E(C),k(C)}return C.o[T]===B&&(void 0!==B||T in C.o)||Number.isNaN(B)&&Number.isNaN(C.o[T])||(C.o[T]=B,C.R[T]=!0),!0},deleteProperty:function(C,T){return void 0!==z(C.t,T)||T in C.t?(C.R[T]=!1,E(C),k(C)):delete C.R[T],C.o&&delete C.o[T],!0},getOwnPropertyDescriptor:function(C,T){var B=p(C),$=Reflect.getOwnPropertyDescriptor(B,T);return $?{writable:!0,configurable:1!==C.i||"length"!==T,enumerable:$.enumerable,value:B[T]}:$},defineProperty:function(){n(11)},getPrototypeOf:function(C){return Object.getPrototypeOf(C.t)},setPrototypeOf:function(){n(12)}},ee={};i(Z,(function(C,T){ee[C]=function(){return arguments[0]=arguments[0][0],T.apply(this,arguments)}})),ee.deleteProperty=function(C,T){return ee.set.call(this,C,T,void 0)},ee.set=function(C,T,B){return Z.set.call(this,C[0],T,B,C[0])};var te=function(){function e(C){var T=this;this.O=U,this.D=!0,this.produce=function(C,B,$){if("function"==typeof C&&"function"!=typeof B){var V=B;B=C;var L=T;return function(C){var T=this;void 0===C&&(C=V);for(var $=arguments.length,q=Array($>1?$-1:0),W=1;W<$;W++)q[W-1]=arguments[W];return L.produce(C,(function(C){var $;return($=B).call.apply($,[T,C].concat(q))}))}}var q;if("function"!=typeof B&&n(6),void 0!==$&&"function"!=typeof $&&n(7),t(C)){var W=w(T),U=N(T,C,void 0),G=!0;try{q=B(U),G=!1}finally{G?g(W):O(W)}return"undefined"!=typeof Promise&&q instanceof Promise?q.then((function(C){return j(W,$),P(C,W)}),(function(C){throw g(W),C})):(j(W,$),P(q,W))}if(!C||"object"!=typeof C){if(void 0===(q=B(C))&&(q=C),q===H&&(q=void 0),T.D&&d(q,!0),$){var K=[],Q=[];b("Patches").M(C,q,K,Q),$(K,Q)}return q}n(21,C)},this.produceWithPatches=function(C,B){if("function"==typeof C)return function(B){for(var $=arguments.length,V=Array($>1?$-1:0),L=1;L<$;L++)V[L-1]=arguments[L];return T.produceWithPatches(B,(function(T){return C.apply(void 0,[T].concat(V))}))};var $,V,L=T.produce(C,B,(function(C,T){$=C,V=T}));return"undefined"!=typeof Promise&&L instanceof Promise?L.then((function(C){return[C,$,V]})):[L,$,V]},"boolean"==typeof(null==C?void 0:C.useProxies)&&this.setUseProxies(C.useProxies),"boolean"==typeof(null==C?void 0:C.autoFreeze)&&this.setAutoFreeze(C.autoFreeze)}var C=e.prototype;return C.createDraft=function(C){t(C)||n(8),r(C)&&(C=R(C));var T=w(this),B=N(this,C,void 0);return B[K].C=!0,O(T),B},C.finishDraft=function(C,T){var B=(C&&C[K]).A;return j(B,T),P(void 0,B)},C.setAutoFreeze=function(C){this.D=C},C.setUseProxies=function(C){C&&!U&&n(20),this.O=C},C.applyPatches=function(C,T){var B;for(B=T.length-1;B>=0;B--){var $=T[B];if(0===$.path.length&&"replace"===$.op){C=$.value;break}}B>-1&&(T=T.slice(B+1));var V=b("Patches").$;return r(C)?V(C,T):this.produce(C,(function(C){return V(C,T)}))},e}(),ne=new te,re=ne.produce;ne.produceWithPatches.bind(ne),ne.setAutoFreeze.bind(ne),ne.setUseProxies.bind(ne),ne.applyPatches.bind(ne),ne.createDraft.bind(ne),ne.finishDraft.bind(ne);const oe=re;function _typeof(C){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(C){return typeof C}:function(C){return C&&"function"==typeof Symbol&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},_typeof(C)}function toPropertyKey(C){var T=function toPrimitive(C,T){if("object"!=_typeof(C)||!C)return C;var B=C[Symbol.toPrimitive];if(void 0!==B){var $=B.call(C,T||"default");if("object"!=_typeof($))return $;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===T?String:Number)(C)}(C,"string");return"symbol"==_typeof(T)?T:String(T)}function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread2(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){var $,V,L;$=C,V=T,L=B[T],(V=toPropertyKey(V))in $?Object.defineProperty($,V,{value:L,enumerable:!0,configurable:!0,writable:!0}):$[V]=L})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}function formatProdErrorMessage(C){return"Minified Redux error #"+C+"; visit https://redux.js.org/Errors?code="+C+" for the full message or use the non-minified dev environment for full errors. "}var ie="function"==typeof Symbol&&Symbol.observable||"@@observable",ae=function randomString(){return Math.random().toString(36).substring(7).split("").join(".")},le={INIT:"@@redux/INIT"+ae(),REPLACE:"@@redux/REPLACE"+ae(),PROBE_UNKNOWN_ACTION:function PROBE_UNKNOWN_ACTION(){return"@@redux/PROBE_UNKNOWN_ACTION"+ae()}};function isPlainObject(C){if("object"!=typeof C||null===C)return!1;for(var T=C;null!==Object.getPrototypeOf(T);)T=Object.getPrototypeOf(T);return Object.getPrototypeOf(C)===T}function createStore(C,T,B){var $;if("function"==typeof T&&"function"==typeof B||"function"==typeof B&&"function"==typeof arguments[3])throw new Error(formatProdErrorMessage(0));if("function"==typeof T&&void 0===B&&(B=T,T=void 0),void 0!==B){if("function"!=typeof B)throw new Error(formatProdErrorMessage(1));return B(createStore)(C,T)}if("function"!=typeof C)throw new Error(formatProdErrorMessage(2));var V=C,L=T,q=[],W=q,U=!1;function ensureCanMutateNextListeners(){W===q&&(W=q.slice())}function getState(){if(U)throw new Error(formatProdErrorMessage(3));return L}function subscribe(C){if("function"!=typeof C)throw new Error(formatProdErrorMessage(4));if(U)throw new Error(formatProdErrorMessage(5));var T=!0;return ensureCanMutateNextListeners(),W.push(C),function unsubscribe(){if(T){if(U)throw new Error(formatProdErrorMessage(6));T=!1,ensureCanMutateNextListeners();var B=W.indexOf(C);W.splice(B,1),q=null}}}function dispatch(C){if(!isPlainObject(C))throw new Error(formatProdErrorMessage(7));if(void 0===C.type)throw new Error(formatProdErrorMessage(8));if(U)throw new Error(formatProdErrorMessage(9));try{U=!0,L=V(L,C)}finally{U=!1}for(var T=q=W,B=0;B<T.length;B++){(0,T[B])()}return C}return dispatch({type:le.INIT}),($={dispatch,subscribe,getState,replaceReducer:function replaceReducer(C){if("function"!=typeof C)throw new Error(formatProdErrorMessage(10));V=C,dispatch({type:le.REPLACE})}})[ie]=function observable(){var C,T=subscribe;return(C={subscribe:function subscribe(C){if("object"!=typeof C||null===C)throw new Error(formatProdErrorMessage(11));function observeState(){C.next&&C.next(getState())}return observeState(),{unsubscribe:T(observeState)}}})[ie]=function(){return this},C},$}var ue=createStore;function combineReducers(C){for(var T=Object.keys(C),B={},$=0;$<T.length;$++){var V=T[$];0,"function"==typeof C[V]&&(B[V]=C[V])}var L,q=Object.keys(B);try{!function assertReducerShape(C){Object.keys(C).forEach((function(T){var B=C[T];if(void 0===B(void 0,{type:le.INIT}))throw new Error(formatProdErrorMessage(12));if(void 0===B(void 0,{type:le.PROBE_UNKNOWN_ACTION()}))throw new Error(formatProdErrorMessage(13))}))}(B)}catch(C){L=C}return function combination(C,T){if(void 0===C&&(C={}),L)throw L;for(var $=!1,V={},W=0;W<q.length;W++){var U=q[W],H=B[U],G=C[U],K=H(G,T);if(void 0===K){T&&T.type;throw new Error(formatProdErrorMessage(14))}V[U]=K,$=$||K!==G}return($=$||q.length!==Object.keys(C).length)?V:C}}function bindActionCreator(C,T){return function(){return T(C.apply(this,arguments))}}function bindActionCreators(C,T){if("function"==typeof C)return bindActionCreator(C,T);if("object"!=typeof C||null===C)throw new Error(formatProdErrorMessage(16));var B={};for(var $ in C){var V=C[$];"function"==typeof V&&(B[$]=bindActionCreator(V,T))}return B}function compose(){for(var C=arguments.length,T=new Array(C),B=0;B<C;B++)T[B]=arguments[B];return 0===T.length?function(C){return C}:1===T.length?T[0]:T.reduce((function(C,T){return function(){return C(T.apply(void 0,arguments))}}))}function applyMiddleware(){for(var C=arguments.length,T=new Array(C),B=0;B<C;B++)T[B]=arguments[B];return function(C){return function(){var B=C.apply(void 0,arguments),$=function dispatch(){throw new Error(formatProdErrorMessage(15))},V={getState:B.getState,dispatch:function dispatch(){return $.apply(void 0,arguments)}},L=T.map((function(C){return C(V)}));return $=compose.apply(void 0,L)(B.dispatch),_objectSpread2(_objectSpread2({},B),{},{dispatch:$})}}}var se="NOT_FOUND";var ce=function defaultEqualityCheck(C,T){return C===T};function defaultMemoize(C,T){var B="object"==typeof T?T:{equalityCheck:T},$=B.equalityCheck,V=void 0===$?ce:$,L=B.maxSize,q=void 0===L?1:L,W=B.resultEqualityCheck,U=function createCacheKeyComparator(C){return function areArgumentsShallowlyEqual(T,B){if(null===T||null===B||T.length!==B.length)return!1;for(var $=T.length,V=0;V<$;V++)if(!C(T[V],B[V]))return!1;return!0}}(V),H=1===q?function createSingletonCache(C){var T;return{get:function get(B){return T&&C(T.key,B)?T.value:se},put:function put(C,B){T={key:C,value:B}},getEntries:function getEntries(){return T?[T]:[]},clear:function clear(){T=void 0}}}(U):function createLruCache(C,T){var B=[];function get(C){var $=B.findIndex((function(B){return T(C,B.key)}));if($>-1){var V=B[$];return $>0&&(B.splice($,1),B.unshift(V)),V.value}return se}return{get,put:function put(T,$){get(T)===se&&(B.unshift({key:T,value:$}),B.length>C&&B.pop())},getEntries:function getEntries(){return B},clear:function clear(){B=[]}}}(q,U);function memoized(){var T=H.get(arguments);if(T===se){if(T=C.apply(null,arguments),W){var B=H.getEntries().find((function(C){return W(C.value,T)}));B&&(T=B.value)}H.put(arguments,T)}return T}return memoized.clearCache=function(){return H.clear()},memoized}function createSelectorCreator(C){for(var T=arguments.length,B=new Array(T>1?T-1:0),$=1;$<T;$++)B[$-1]=arguments[$];return function createSelector(){for(var T=arguments.length,$=new Array(T),V=0;V<T;V++)$[V]=arguments[V];var L,q=0,W={memoizeOptions:void 0},U=$.pop();if("object"==typeof U&&(W=U,U=$.pop()),"function"!=typeof U)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof U+"]");var H=W.memoizeOptions,G=void 0===H?B:H,K=Array.isArray(G)?G:[G],Q=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}($),J=C.apply(void 0,[function recomputationWrapper(){return q++,U.apply(null,arguments)}].concat(K)),Y=C((function dependenciesChecker(){for(var C=[],T=Q.length,B=0;B<T;B++)C.push(Q[B].apply(null,arguments));return L=J.apply(null,C)}));return Object.assign(Y,{resultFunc:U,memoizedResultFunc:J,dependencies:Q,lastResult:function lastResult(){return L},recomputations:function recomputations(){return q},resetRecomputations:function resetRecomputations(){return q=0}}),Y}}var de=createSelectorCreator(defaultMemoize);function createThunkMiddleware(C){return function middleware(T){var B=T.dispatch,$=T.getState;return function(T){return function(V){return"function"==typeof V?V(B,$,C):T(V)}}}}var fe=createThunkMiddleware();fe.withExtraArgument=createThunkMiddleware;const pe=fe;var me,ve=(me=function(C,T){return me=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,T){C.__proto__=T}||function(C,T){for(var B in T)Object.prototype.hasOwnProperty.call(T,B)&&(C[B]=T[B])},me(C,T)},function(C,T){if("function"!=typeof T&&null!==T)throw new TypeError("Class extends value "+String(T)+" is not a constructor or null");function __(){this.constructor=C}me(C,T),C.prototype=null===T?Object.create(T):(__.prototype=T.prototype,new __)}),__generator=function(C,T){var B,$,V,L,q={label:0,sent:function(){if(1&V[0])throw V[1];return V[1]},trys:[],ops:[]};return L={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(L[Symbol.iterator]=function(){return this}),L;function verb(L){return function(W){return function step(L){if(B)throw new TypeError("Generator is already executing.");for(;q;)try{if(B=1,$&&(V=2&L[0]?$.return:L[0]?$.throw||((V=$.return)&&V.call($),0):$.next)&&!(V=V.call($,L[1])).done)return V;switch($=0,V&&(L=[2&L[0],V.value]),L[0]){case 0:case 1:V=L;break;case 4:return q.label++,{value:L[1],done:!1};case 5:q.label++,$=L[1],L=[0];continue;case 7:L=q.ops.pop(),q.trys.pop();continue;default:if(!(V=q.trys,(V=V.length>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]<V[3])){q.label=L[1];break}if(6===L[0]&&q.label<V[1]){q.label=V[1],V=L;break}if(V&&q.label<V[2]){q.label=V[2],q.ops.push(L);break}V[2]&&q.ops.pop(),q.trys.pop();continue}L=T.call(C,q)}catch(C){L=[6,C],$=0}finally{B=V=0}if(5&L[0])throw L[1];return{value:L[0]?L[1]:void 0,done:!0}}([L,W])}}},__spreadArray=function(C,T){for(var B=0,$=T.length,V=C.length;B<$;B++,V++)C[V]=T[B];return C},he=Object.defineProperty,ge=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,__defNormalProp=function(C,T,B){return T in C?he(C,T,{enumerable:!0,configurable:!0,writable:!0,value:B}):C[T]=B},__spreadValues=function(C,T){for(var B in T||(T={}))be.call(T,B)&&__defNormalProp(C,B,T[B]);if(_e)for(var $=0,V=_e(T);$<V.length;$++){B=V[$];Ce.call(T,B)&&__defNormalProp(C,B,T[B])}return C},__spreadProps=function(C,T){return ge(C,ye(T))},__async=function(C,T,B){return new Promise((function($,V){var fulfilled=function(C){try{step(B.next(C))}catch(C){V(C)}},rejected=function(C){try{step(B.throw(C))}catch(C){V(C)}},step=function(C){return C.done?$(C.value):Promise.resolve(C.value).then(fulfilled,rejected)};step((B=B.apply(C,T)).next())}))},createDraftSafeSelector=function(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];var B=de.apply(void 0,C);return function(C){for(var T=[],$=1;$<arguments.length;$++)T[$-1]=arguments[$];return B.apply(void 0,__spreadArray([r(C)?R(C):C],T))}},we="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?compose:compose.apply(null,arguments)};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function redux_toolkit_esm_isPlainObject(C){if("object"!=typeof C||null===C)return!1;var T=Object.getPrototypeOf(C);if(null===T)return!0;for(var B=T;null!==Object.getPrototypeOf(B);)B=Object.getPrototypeOf(B);return T===B}var hasMatchFunction=function(C){return C&&"function"==typeof C.match};function createAction(C,T){function actionCreator(){for(var B=[],$=0;$<arguments.length;$++)B[$]=arguments[$];if(T){var V=T.apply(void 0,B);if(!V)throw new Error("prepareAction did not return an object");return __spreadValues(__spreadValues({type:C,payload:V.payload},"meta"in V&&{meta:V.meta}),"error"in V&&{error:V.error})}return{type:C,payload:B[0]}}return actionCreator.toString=function(){return""+C},actionCreator.type=C,actionCreator.match=function(T){return T.type===C},actionCreator}function isAction(C){return redux_toolkit_esm_isPlainObject(C)&&"type"in C}function isActionCreator(C){return"function"==typeof C&&"type"in C&&hasMatchFunction(C)}function isFSA(C){return isAction(C)&&"string"==typeof C.type&&Object.keys(C).every(isValidKey)}function isValidKey(C){return["type","payload","error","meta"].indexOf(C)>-1}function getType(C){return""+C}function createActionCreatorInvariantMiddleware(C){return void 0===C&&(C={}),function(){return function(C){return function(T){return C(T)}}}}var ke=function(C){function MiddlewareArray(){for(var T=[],B=0;B<arguments.length;B++)T[B]=arguments[B];var $=C.apply(this,T)||this;return Object.setPrototypeOf($,MiddlewareArray.prototype),$}return ve(MiddlewareArray,C),Object.defineProperty(MiddlewareArray,Symbol.species,{get:function(){return MiddlewareArray},enumerable:!1,configurable:!0}),MiddlewareArray.prototype.concat=function(){for(var T=[],B=0;B<arguments.length;B++)T[B]=arguments[B];return C.prototype.concat.apply(this,T)},MiddlewareArray.prototype.prepend=function(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 1===C.length&&Array.isArray(C[0])?new(MiddlewareArray.bind.apply(MiddlewareArray,__spreadArray([void 0],C[0].concat(this)))):new(MiddlewareArray.bind.apply(MiddlewareArray,__spreadArray([void 0],C.concat(this))))},MiddlewareArray}(Array),Se=function(C){function EnhancerArray(){for(var T=[],B=0;B<arguments.length;B++)T[B]=arguments[B];var $=C.apply(this,T)||this;return Object.setPrototypeOf($,EnhancerArray.prototype),$}return ve(EnhancerArray,C),Object.defineProperty(EnhancerArray,Symbol.species,{get:function(){return EnhancerArray},enumerable:!1,configurable:!0}),EnhancerArray.prototype.concat=function(){for(var T=[],B=0;B<arguments.length;B++)T[B]=arguments[B];return C.prototype.concat.apply(this,T)},EnhancerArray.prototype.prepend=function(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 1===C.length&&Array.isArray(C[0])?new(EnhancerArray.bind.apply(EnhancerArray,__spreadArray([void 0],C[0].concat(this)))):new(EnhancerArray.bind.apply(EnhancerArray,__spreadArray([void 0],C.concat(this))))},EnhancerArray}(Array);function freezeDraftable(C){return t(C)?oe(C,(function(){})):C}function isImmutableDefault(C){return"object"!=typeof C||null==C||Object.isFrozen(C)}function createImmutableStateInvariantMiddleware(C){return void 0===C&&(C={}),function(){return function(C){return function(T){return C(T)}}}}function isPlain(C){var T=typeof C;return null==C||"string"===T||"boolean"===T||"number"===T||Array.isArray(C)||redux_toolkit_esm_isPlainObject(C)}function findNonSerializableValue(C,T,B,$,V,L){var q;if(void 0===T&&(T=""),void 0===B&&(B=isPlain),void 0===V&&(V=[]),!B(C))return{keyPath:T||"<root>",value:C};if("object"!=typeof C||null===C)return!1;if(null==L?void 0:L.has(C))return!1;for(var W=null!=$?$(C):Object.entries(C),U=V.length>0,_loop_2=function(C,W){var H=T?T+"."+C:C;if(U&&V.some((function(C){return C instanceof RegExp?C.test(H):H===C})))return"continue";return B(W)?"object"==typeof W&&(q=findNonSerializableValue(W,H,B,$,V,L))?{value:q}:void 0:{value:{keyPath:H,value:W}}},H=0,G=W;H<G.length;H++){var K=G[H],Q=_loop_2(K[0],K[1]);if("object"==typeof Q)return Q.value}return L&&isNestedFrozen(C)&&L.add(C),!1}function isNestedFrozen(C){if(!Object.isFrozen(C))return!1;for(var T=0,B=Object.values(C);T<B.length;T++){var $=B[T];if("object"==typeof $&&null!==$&&!isNestedFrozen($))return!1}return!0}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,C.actionCreatorCheck,new ke);return B&&(!function isBoolean(C){return"boolean"==typeof C}(B)?$.push(pe.withExtraArgument(B.extraArgument)):$.push(pe)),$}var Re=!0;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,U=$.devTools,H=void 0===U||U,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 Y=W;if("function"==typeof Y&&(Y=Y(B),!Re&&!Array.isArray(Y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Re&&Y.some((function(C){return"function"!=typeof C})))throw new Error("each middleware provided to configureStore must be a function");var X=applyMiddleware.apply(void 0,Y),Z=compose;H&&(Z=we(__spreadValues({trace:!Re},"object"==typeof H&&H)));var ee=new Se(X),te=ee;return Array.isArray(J)?te=__spreadArray([X],J):"function"==typeof J&&(te=J(ee)),createStore(T,K,Z.apply(void 0,te))}function executeReducerBuilderCallback(C){var T,B={},$=[],V={addCase:function(C,T){var $="string"==typeof C?C:C.type;if(!$)throw new Error("`builder.addCase` cannot be called with an empty action type");if($ in B)throw new Error("`builder.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],U=L[2];if(function isStateFunction(C){return"function"==typeof C}(C))V=function(){return freezeDraftable(C())};else{var H=freezeDraftable(C);V=function(){return H}}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=[U]),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={},U={};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,U=T[2],H=void 0===U?void 0:U,G=__spreadValues(__spreadValues({},V),W);return createReducer($,(function(C){for(var T in G)C.addCase(T,G[T]);for(var B=0,$=q;B<$.length;B++){var V=$[B];C.addMatcher(V.matcher,V.reducer)}H&&C.addDefaultCase(H)}))}return L.forEach((function(C){var B,$,L=V[C],H=function getType2(C,T){return C+"/"+T}(T,C);"reducer"in L?(B=L.reducer,$=L.prepare):B=L,q[C]=B,W[H]=B,U[C]=$?createAction(H,$):createAction(H)})),{name:T,reducer:function(C,T){return B||(B=buildReducer()),B(C,T)},actions:U,caseReducers:q,getInitialState:function(){return B||(B=buildReducer()),B.getInitialState()}}}function createStateOperator(C){return function operation(T,B){var runMutator=function(T){!function isPayloadActionArgument(C){return isFSA(C)}(B)?C(B,T):C(B.payload,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);L<q.length;L++){var W=q[L],U=selectIdValue(W,T);U in B.entities?V.push({id:U,changes:W}):$.push(W)}return[$,V]}function createUnsortedStateAdapter(C){function addOneMutably(T,B){var $=selectIdValue(T,C);$ in B.entities||(B.ids.push($),B.entities[$]=T)}function addManyMutably(C,T){for(var B=0,$=C=ensureEntitiesArray(C);B<$.length;B++){addOneMutably($[B],T)}}function setOneMutably(T,B){var $=selectIdValue(T,C);$ in B.entities||B.ids.push($),B.entities[$]=T}function removeManyMutably(C,T){var B=!1;C.forEach((function(C){C in T.entities&&(delete T.entities[C],B=!0)})),B&&(T.ids=T.ids.filter((function(C){return C in T.entities})))}function updateManyMutably(T,B){var $={},V={};if(T.forEach((function(C){C.id in B.entities&&(V[C.id]={id:C.id,changes:__spreadValues(__spreadValues({},V[C.id]?V[C.id].changes:null),C.changes)})})),(T=Object.values(V)).length>0){var L=T.filter((function(T){return function takeNewKey(T,B,$){var V=$.entities[B.id],L=Object.assign({},V,B.changes),q=selectIdValue(L,C),W=q!==B.id;return W&&(T[B.id]=q,delete $.entities[B.id]),$.entities[q]=L,W}($,T,B)})).length>0;L&&(B.ids=Object.keys(B.entities))}}function upsertManyMutably(T,B){var $=splitAddedUpdatedEntities(T,C,B),V=$[0];updateManyMutably($[1],B),addManyMutably(V,B)}return{removeAll:(T=function removeAllMutably(C){Object.assign(C,{ids:[],entities:{}})},B=createStateOperator((function(C,B){return T(B)})),function operation(C){return B(C,void 0)}),addOne:createStateOperator(addOneMutably),addMany:createStateOperator(addManyMutably),setOne:createStateOperator(setOneMutably),setMany:createStateOperator((function setManyMutably(C,T){for(var B=0,$=C=ensureEntitiesArray(C);B<$.length;B++){setOneMutably($[B],T)}})),setAll:createStateOperator((function setAllMutably(C,T){C=ensureEntitiesArray(C),T.ids=[],T.entities={},addManyMutably(C,T)})),updateOne:createStateOperator((function updateOneMutably(C,T){return updateManyMutably([C],T)})),updateMany:createStateOperator(updateManyMutably),upsertOne:createStateOperator((function upsertOneMutably(C,T){return upsertManyMutably([C],T)})),upsertMany:createStateOperator(upsertManyMutably),removeOne:createStateOperator((function removeOneMutably(C,T){return removeManyMutably([C],T)})),removeMany:createStateOperator(removeManyMutably)};var T,B}function createEntityAdapter(C){void 0===C&&(C={});var T=__spreadValues({sortComparer:!1,selectId:function(C){return C.id}},C),B=T.selectId,$=T.sortComparer,V=function createInitialStateFactory(){return{getInitialState:function getInitialState(C){return void 0===C&&(C={}),Object.assign({ids:[],entities:{}},C)}}}(),L=function createSelectorsFactory(){return{getSelectors:function getSelectors(C){var selectIds=function(C){return C.ids},selectEntities=function(C){return C.entities},T=createDraftSafeSelector(selectIds,selectEntities,(function(C,T){return C.map((function(C){return T[C]}))})),selectId=function(C,T){return T},selectById=function(C,T){return C[T]},B=createDraftSafeSelector(selectIds,(function(C){return C.length}));if(!C)return{selectIds,selectEntities,selectAll:T,selectTotal:B,selectById:createDraftSafeSelector(selectEntities,selectId,selectById)};var $=createDraftSafeSelector(C,selectEntities);return{selectIds:createDraftSafeSelector(C,selectIds),selectEntities:$,selectAll:createDraftSafeSelector(C,T),selectTotal:createDraftSafeSelector(C,B),selectById:createDraftSafeSelector($,selectId,selectById)}}}}(),q=$?function createSortedStateAdapter(C,T){var B=createUnsortedStateAdapter(C);function addManyMutably(T,B){var $=(T=ensureEntitiesArray(T)).filter((function(T){return!(selectIdValue(T,C)in B.entities)}));0!==$.length&&merge($,B)}function setManyMutably(C,T){0!==(C=ensureEntitiesArray(C)).length&&merge(C,T)}function updateManyMutably(T,B){for(var $=!1,V=0,L=T;V<L.length;V++){var q=L[V],W=B.entities[q.id];if(W){$=!0,Object.assign(W,q.changes);var U=C(W);q.id!==U&&(delete B.entities[q.id],B.entities[U]=W)}}$&&resortEntities(B)}function upsertManyMutably(T,B){var $=splitAddedUpdatedEntities(T,C,B),V=$[0];updateManyMutably($[1],B),addManyMutably(V,B)}function merge(T,B){T.forEach((function(T){B.entities[C(T)]=T})),resortEntities(B)}function resortEntities(B){var $=Object.values(B.entities);$.sort(T);var V=$.map(C);(function areArraysEqual(C,T){if(C.length!==T.length)return!1;for(var B=0;B<C.length&&B<T.length;B++)if(C[B]!==T[B])return!1;return!0})(B.ids,V)||(B.ids=V)}return{removeOne:B.removeOne,removeMany:B.removeMany,removeAll:B.removeAll,addOne:createStateOperator((function addOneMutably(C,T){return addManyMutably([C],T)})),updateOne:createStateOperator((function updateOneMutably(C,T){return updateManyMutably([C],T)})),upsertOne:createStateOperator((function upsertOneMutably(C,T){return upsertManyMutably([C],T)})),setOne:createStateOperator((function setOneMutably(C,T){return setManyMutably([C],T)})),setMany:createStateOperator(setManyMutably),setAll:createStateOperator((function setAllMutably(C,T){C=ensureEntitiesArray(C),T.entities={},T.ids=[],addManyMutably(C,T)})),addMany:createStateOperator(addManyMutably),updateMany:createStateOperator(updateManyMutably),upsertMany:createStateOperator(upsertManyMutably)}}(B,$):createUnsortedStateAdapter(B);return __spreadValues(__spreadValues(__spreadValues({selectId:B,sortComparer:$},V),L),q)}var nanoid=function(C){void 0===C&&(C=21);for(var T="",B=C;B--;)T+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return T},Pe=["name","message","stack","code"],xe=function xe(C,T){this.payload=C,this.meta=T},Oe=function Oe(C,T){this.payload=C,this.meta=T},miniSerializeError=function(C){if("object"==typeof C&&null!==C){for(var T={},B=0,$=Pe;B<$.length;B++){var V=$[B];"string"==typeof C[V]&&(T[V]=C[V])}return T}return{message:String(C)}},Te=function(){function createAsyncThunk2(C,T,B){var $=createAction(C+"/fulfilled",(function(C,T,B,$){return{payload:C,meta:__spreadProps(__spreadValues({},$||{}),{arg:B,requestId:T,requestStatus:"fulfilled"})}})),V=createAction(C+"/pending",(function(C,T,B){return{payload:void 0,meta:__spreadProps(__spreadValues({},B||{}),{arg:T,requestId:C,requestStatus:"pending"})}})),L=createAction(C+"/rejected",(function(C,T,$,V,L){return{payload:V,error:(B&&B.serializeError||miniSerializeError)(C||"Rejected"),meta:__spreadProps(__spreadValues({},L||{}),{arg:$,requestId:T,rejectedWithValue:!!V,requestStatus:"rejected",aborted:"AbortError"===(null==C?void 0:C.name),condition:"ConditionError"===(null==C?void 0:C.name)})}})),q="undefined"!=typeof AbortController?AbortController:function(){function class_1(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return class_1.prototype.abort=function(){0},class_1}();return Object.assign((function actionCreator(C){return function(W,U,H){var G,K=(null==B?void 0:B.idGenerator)?B.idGenerator(C):nanoid(),Q=new q;function abort(C){G=C,Q.abort()}var J=function(){return __async(this,null,(function(){var q,J,Y,X,Z,ee;return __generator(this,(function(te){switch(te.label){case 0:return te.trys.push([0,4,,5]),function isThenable(C){return null!==C&&"object"==typeof C&&"function"==typeof C.then}(X=null==(q=null==B?void 0:B.condition)?void 0:q.call(B,C,{getState:U,extra:H}))?[4,X]:[3,2];case 1:X=te.sent(),te.label=2;case 2:if(!1===X||Q.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return!0,Z=new Promise((function(C,T){return Q.signal.addEventListener("abort",(function(){return T({name:"AbortError",message:G||"Aborted"})}))})),W(V(K,C,null==(J=null==B?void 0:B.getPendingMeta)?void 0:J.call(B,{requestId:K,arg:C},{getState:U,extra:H}))),[4,Promise.race([Z,Promise.resolve(T(C,{dispatch:W,getState:U,extra:H,requestId:K,signal:Q.signal,abort,rejectWithValue:function(C,T){return new xe(C,T)},fulfillWithValue:function(C,T){return new Oe(C,T)}})).then((function(T){if(T instanceof xe)throw T;return T instanceof Oe?$(T.payload,K,C,T.meta):$(T,K,C)}))])];case 3:return Y=te.sent(),[3,5];case 4:return ee=te.sent(),Y=ee instanceof xe?L(null,K,C,ee.payload,ee.meta):L(ee,K,C),[3,5];case 5:return B&&!B.dispatchConditionRejection&&L.match(Y)&&Y.meta.condition||W(Y),[2,Y]}}))}))}();return Object.assign(J,{abort,requestId:K,arg:C,unwrap:function(){return J.then(unwrapResult)}})}}),{pending:V,rejected:L,fulfilled:$,typePrefix:C})}return createAsyncThunk2.withTypes=function(){return createAsyncThunk2},createAsyncThunk2}();function unwrapResult(C){if(C.meta&&C.meta.rejectedWithValue)throw C.payload;if(C.error)throw C.error;return C.payload}var matches=function(C,T){return hasMatchFunction(C)?C.match(T):C(T)};function isAnyOf(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return function(T){return C.some((function(C){return matches(C,T)}))}}function isAllOf(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return function(T){return C.every((function(C){return matches(C,T)}))}}function hasExpectedRequestMetadata(C,T){if(!C||!C.meta)return!1;var B="string"==typeof C.meta.requestId,$=T.indexOf(C.meta.requestStatus)>-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;T<arguments.length;T++)C[T]=arguments[T];return 0===C.length?function(C){return hasExpectedRequestMetadata(C,["pending"])}:isAsyncThunkArray(C)?function(T){var B=C.map((function(C){return C.pending}));return isAnyOf.apply(void 0,B)(T)}:isPending()(C[0])}function isRejected(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 0===C.length?function(C){return hasExpectedRequestMetadata(C,["rejected"])}:isAsyncThunkArray(C)?function(T){var B=C.map((function(C){return C.rejected}));return isAnyOf.apply(void 0,B)(T)}:isRejected()(C[0])}function isRejectedWithValue(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];var hasFlag=function(C){return C&&C.meta&&C.meta.rejectedWithValue};return 0===C.length||isAsyncThunkArray(C)?function(T){return isAllOf(isRejected.apply(void 0,C),hasFlag)(T)}:isRejectedWithValue()(C[0])}function isFulfilled(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 0===C.length?function(C){return hasExpectedRequestMetadata(C,["fulfilled"])}:isAsyncThunkArray(C)?function(T){var B=C.map((function(C){return C.fulfilled}));return isAnyOf.apply(void 0,B)(T)}:isFulfilled()(C[0])}function isAsyncThunkAction(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];return 0===C.length?function(C){return hasExpectedRequestMetadata(C,["pending","fulfilled","rejected"])}:isAsyncThunkArray(C)?function(T){for(var B=[],$=0,V=C;$<V.length;$++){var L=V[$];B.push(L.pending,L.rejected,L.fulfilled)}return isAnyOf.apply(void 0,B)(T)}:isAsyncThunkAction()(C[0])}var assertFunction=function(C,T){if("function"!=typeof C)throw new TypeError(T+" is not a function")},noop=function(){},catchRejection=function(C,T){return void 0===T&&(T=noop),C.catch(T),C},addAbortSignalListener=function(C,T){return C.addEventListener("abort",T,{once:!0}),function(){return C.removeEventListener("abort",T)}},abortControllerWithReason=function(C,T){var B=C.signal;B.aborted||("reason"in B||Object.defineProperty(B,"reason",{enumerable:!0,value:T,configurable:!0,writable:!0}),C.abort(T))},Ie="listener",Me="completed",Ee="cancelled",je="task-"+Ee,De="task-"+Me,Be=Ie+"-"+Ee,Ae=Ie+"-"+Me,Ne=function Ne(C){this.code=C,this.name="TaskAbortError",this.message="task "+Ee+" (reason: "+C+")"},validateActive=function(C){if(C.aborted)throw new Ne(C.reason)};function raceWithSignal(C,T){var B=noop;return new Promise((function($,V){var notifyRejection=function(){return V(new Ne(C.reason))};C.aborted?notifyRejection():(B=addAbortSignalListener(C,notifyRejection),T.finally((function(){return B()})).then($,V))})).finally((function(){B=noop}))}var createPause=function(C){return function(T){return catchRejection(raceWithSignal(C,T).then((function(T){return validateActive(C),T})))}},createDelay=function(C){var T=createPause(C);return function(C){return T(new Promise((function(T){return setTimeout(T,C)})))}},$e=Object.assign,Ve={},Le="listenerMiddleware",createFork=function(C,T){return function(B,$){assertFunction(B,"taskExecutor");var V,L=new AbortController;V=L,addAbortSignalListener(C,(function(){return abortControllerWithReason(V,C.reason)}));var q,W,U=(q=function(){return __async(void 0,null,(function(){var T;return __generator(this,(function($){switch($.label){case 0:return validateActive(C),validateActive(L.signal),[4,B({pause:createPause(L.signal),delay:createDelay(L.signal),signal:L.signal})];case 1:return T=$.sent(),validateActive(L.signal),[2,T]}}))}))},W=function(){return abortControllerWithReason(L,De)},__async(void 0,null,(function(){var C;return __generator(this,(function(T){switch(T.label){case 0:return T.trys.push([0,3,4,5]),[4,Promise.resolve()];case 1:return T.sent(),[4,q()];case 2:return[2,{status:"ok",value:T.sent()}];case 3:return[2,{status:(C=T.sent())instanceof Ne?"cancelled":"rejected",error:C}];case 4:return null==W||W(),[7];case 5:return[2]}}))})));return(null==$?void 0:$.autoJoin)&&T.push(U),{result:createPause(C)(U),cancel:function(){abortControllerWithReason(L,je)}}}},createTakePattern=function(C,T){return function(B,$){return catchRejection(function(B,$){return __async(void 0,null,(function(){var V,L,q,W;return __generator(this,(function(U){switch(U.label){case 0:validateActive(T),V=function(){},L=new Promise((function(T,$){var L=C({predicate:B,effect:function(C,B){B.unsubscribe(),T([C,B.getState(),B.getOriginalState()])}});V=function(){L(),$()}})),q=[L],null!=$&&q.push(new Promise((function(C){return setTimeout(C,$,null)}))),U.label=1;case 1:return U.trys.push([1,,3,4]),[4,raceWithSignal(T,Promise.race(q))];case 2:return W=U.sent(),validateActive(T),[2,W];case 3:return V(),[7];case 4:return[2]}}))}))}(B,$))}},getListenerEntryPropsFrom=function(C){var T=C.type,B=C.actionCreator,$=C.matcher,V=C.predicate,L=C.effect;if(T)V=createAction(T).match;else if(B)T=B.type,V=B.match;else if($)V=$;else if(!V)throw new Error("Creating or removing a listener requires one of the known fields for matching an action");return assertFunction(L,"options.listener"),{predicate:V,type:T,effect:L}},createListenerEntry=function(C){var T=getListenerEntryPropsFrom(C),B=T.type,$=T.predicate,V=T.effect;return{id:nanoid(),effect:V,type:B,predicate:$,pending:new Set,unsubscribe:function(){throw new Error("Unsubscribe not initialized")}}},cancelActiveListeners=function(C){C.pending.forEach((function(C){abortControllerWithReason(C,Be)}))},createClearListenerMiddleware=function(C){return function(){C.forEach(cancelActiveListeners),C.clear()}},safelyNotifyError=function(C,T,B){try{C(T,B)}catch(C){setTimeout((function(){throw C}),0)}},Fe=createAction(Le+"/add"),qe=createAction(Le+"/removeAll"),ze=createAction(Le+"/remove"),defaultErrorHandler=function(){for(var C=[],T=0;T<arguments.length;T++)C[T]=arguments[T];console.error.apply(console,__spreadArray([Le+"/error"],C))};function createListenerMiddleware(C){var T=this;void 0===C&&(C={});var B=new Map,$=C.extra,V=C.onError,L=void 0===V?defaultErrorHandler:V;assertFunction(L,"onError");var findListenerEntry=function(C){for(var T=0,$=Array.from(B.values());T<$.length;T++){var V=$[T];if(C(V))return V}},startListening=function(C){var T=findListenerEntry((function(T){return T.effect===C.effect}));return T||(T=createListenerEntry(C)),function(C){return C.unsubscribe=function(){return B.delete(C.id)},B.set(C.id,C),function(T){C.unsubscribe(),(null==T?void 0:T.cancelActive)&&cancelActiveListeners(C)}}(T)},stopListening=function(C){var T=getListenerEntryPropsFrom(C),B=T.type,$=T.effect,V=T.predicate,L=findListenerEntry((function(C){return("string"==typeof B?C.type===B:C.predicate===V)&&C.effect===$}));return L&&(L.unsubscribe(),C.cancelActive&&cancelActiveListeners(L)),!!L},notifyListener=function(C,V,q,W){return __async(T,null,(function(){var T,U,H,G;return __generator(this,(function(K){switch(K.label){case 0:T=new AbortController,U=createTakePattern(startListening,T.signal),H=[],K.label=1;case 1:return K.trys.push([1,3,4,6]),C.pending.add(T),[4,Promise.resolve(C.effect(V,$e({},q,{getOriginalState:W,condition:function(C,T){return U(C,T).then(Boolean)},take:U,delay:createDelay(T.signal),pause:createPause(T.signal),extra:$,signal:T.signal,fork:createFork(T.signal,H),unsubscribe:C.unsubscribe,subscribe:function(){B.set(C.id,C)},cancelActiveListeners:function(){C.pending.forEach((function(C,B,$){C!==T&&(abortControllerWithReason(C,Be),$.delete(C))}))}})))];case 2:return K.sent(),[3,6];case 3:return(G=K.sent())instanceof Ne||safelyNotifyError(L,G,{raisedBy:"effect"}),[3,6];case 4:return[4,Promise.allSettled(H)];case 5:return K.sent(),abortControllerWithReason(T,Ae),C.pending.delete(T),[7];case 6:return[2]}}))}))},q=createClearListenerMiddleware(B);return{middleware:function(C){return function(T){return function($){if(!isAction($))return T($);if(Fe.match($))return startListening($.payload);if(!qe.match($)){if(ze.match($))return stopListening($.payload);var V,W=C.getState(),getOriginalState=function(){if(W===Ve)throw new Error(Le+": getOriginalState can only be called synchronously");return W};try{if(V=T($),B.size>0)for(var U=C.getState(),H=Array.from(B.values()),G=0,K=H;G<K.length;G++){var Q=K[G],J=!1;try{J=Q.predicate($,U,W)}catch(C){J=!1,safelyNotifyError(L,C,{raisedBy:"predicate"})}J&¬ifyListener(Q,$,C,getOriginalState)}}finally{W=Ve}return V}q()}}},startListening,stopListening,clearListeners:q}}var We,Ue="RTK_autoBatch",prepareAutoBatched=function(){return function(C){var T;return{payload:C,meta:(T={},T[Ue]=!0,T)}}},He="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:void 0!==B.g?B.g:globalThis):function(C){return(We||(We=Promise.resolve())).then(C).catch((function(C){return setTimeout((function(){throw C}),0)}))},createQueueWithTimer=function(C){return function(T){setTimeout(T,C)}},Ge="undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:createQueueWithTimer(10),autoBatchEnhancer=function(C){return void 0===C&&(C={type:"raf"}),function(T){return function(){for(var B=[],$=0;$<arguments.length;$++)B[$]=arguments[$];var V=T.apply(void 0,B),L=!0,q=!1,W=!1,U=new Set,H="tick"===C.type?He:"raf"===C.type?Ge:"callback"===C.type?C.queueNotification:createQueueWithTimer(C.timeout),notifyListeners=function(){W=!1,q&&(q=!1,U.forEach((function(C){return C()})))};return Object.assign({},V,{subscribe:function(C){var T=V.subscribe((function(){return L&&C()}));return U.add(C),function(){T(),U.delete(C)}},dispatch:function(C){var T;try{return L=!(null==(T=null==C?void 0:C.meta)?void 0:T[Ue]),(q=!L)&&(W||(W=!0,H(notifyListeners))),V.dispatch(C)}finally{L=!0}}})}}};F()},72102:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.stringToRemValues=T.rgbToHex=T.pxToRem=T.isOneOf=T.arrayToObjectByKey=T.arrayToClassName=void 0;var V=$(B(7501)),L=function pxToRem(C){if(C)return"string"!=typeof C&&(C=C.toString()),C.split(" ").map((function(C){return"".concat(.0625*C,"rem")})).join(" ")};T.pxToRem=L;T.arrayToClassName=function arrayToClassName(C,T){return C.filter((function(C){return"object"===(0,V.default)(C)?Object.entries(C)[0][1]:C})).map((function(C){var B="object"===(0,V.default)(C)?Object.entries(C)[0][0]:C;return T?T(B):B})).join(" ")};T.stringToRemValues=function stringToRemValues(C){return C.split(" ").map((function(C){return L(C)})).join(" ")};T.rgbToHex=function rgbToHex(C,T,B){return"#"+[C,T,B].map((function(C){var T=C.toString(16);return 1===T.length?"0"+T:T})).join("")};T.isOneOf=function isOneOf(C,T){return T.some((function(T){return C.includes(T)}))};T.arrayToObjectByKey=function arrayToObjectByKey(C,T){var B={};return C.forEach((function(C){return B[C[T]]=C})),B}},8074:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(CommandContainerBase,C);var T=_createSuper(CommandContainerBase);function CommandContainerBase(){return(0,V.default)(this,CommandContainerBase),T.apply(this,arguments)}return(0,L.default)(CommandContainerBase,[{key:"requireContainer",value:function requireContainer(){var C=this,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.args;if(!T.container&&!T.containers)throw Error("container or containers are required.");if(T.container&&T.containers)throw Error("container and containers cannot go together please select one of them.");(T.containers||[T.container]).forEach((function(T){C.requireArgumentInstance("container",elementorModules.editor.Container,{container:T})}))}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandContainerBase"}}]),CommandContainerBase}($(B(83024)).default);T.default=H},75238:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(19263));$(B(27108)),$(B(53005));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(ComponentBase,C);var T=_createSuper(ComponentBase);function ComponentBase(){return(0,V.default)(this,ComponentBase),T.apply(this,arguments)}return(0,L.default)(ComponentBase,[{key:"activateControl",value:function activateControl(C){var T;if(C){var B=elementor.getPanelView().getCurrentPageView(),$=B.content?B.content.currentView:B,V=this.getControlViewByPath($,C);null===(T=V.activate)||void 0===T||T.call(V)}}},{key:"getControlViewByPath",value:function getControlViewByPath(C,T){var B=T.split("/"),$=C.getControlViewByName(B[0]);return B.slice(1).forEach((function(C){var T,B;$=null===(T=(B=$).getChildControlView)||void 0===T?void 0:T.call(B,C)})),$}}]),ComponentBase}(H.default);T.default=G},20324:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Validate",{enumerable:!0,get:function get(){return $.Validate}});var $=B(20569)},20569:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Validate=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Validate,C);var T=_createSuper(Validate);function Validate(){return(0,V.default)(this,Validate),T.apply(this,arguments)}return(0,L.default)(Validate,[{key:"apply",value:function apply(C){var T=C.input,B=C.options,$=void 0===B?{}:B;return this.component.manager.createSession(T,elementor.getPreviewContainer(),$).then((function(C){return C.validate()}))}}]),Validate}($e.modules.CommandBase);T.Validate=H;var G=H;T.default=G},3768:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Import=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,U.default)(Import,C);var T=_createSuper(Import);function Import(){return(0,q.default)(this,Import),T.apply(this,arguments)}return(0,W.default)(Import,[{key:"validateArgs",value:function validateArgs(){this.requireArgumentInstance("target",elementorModules.editor.Container)}},{key:"apply",value:function apply(C){var T=this,B=C.targets,$=void 0===B?[C.target]:B,q=C.input,W=C.options,U=void 0===W?{}:W,H=[];return $.forEach((function(C){H.push(T.component.manager.createSession(q,C,U).then(function(){var C=(0,L.default)(V.default.mark((function _callee(C){return V.default.wrap((function _callee$(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,C.validate();case 2:if(!T.sent){T.next=4;break}C.apply();case 4:case"end":return T.stop()}}),_callee)})));return function(T){return C.apply(this,arguments)}}()))})),Promise.all(H)}}]),Import}($e.modules.CommandBase);T.Import=K;var Q=K;T.default=Q},80208:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Import",{enumerable:!0,get:function get(){return $.Import}});var $=B(3768)},50133:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=_interopRequireWildcard(B(80208)),K=_interopRequireWildcard(B(20324));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==V(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}return $.default=C,B&&B.set(C,$),$}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var Q=function(C){(0,W.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,L.default)(this,Component),T.apply(this,arguments)}return(0,q.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"editor/browser-import"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(G)}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return this.importCommands(K)}}]),Component}($e.modules.ComponentBase);T.default=Q},74499:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(39841));function _createForOfIteratorHelper(C,T){var B="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!B){if(Array.isArray(C)||(B=function _unsupportedIterableToArray(C,T){if(!C)return;if("string"==typeof C)return _arrayLikeToArray(C,T);var B=Object.prototype.toString.call(C).slice(8,-1);"Object"===B&&C.constructor&&(B=C.constructor.name);if("Map"===B||"Set"===B)return Array.from(C);if("Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return _arrayLikeToArray(C,T)}(C))||T&&C&&"number"==typeof C.length){B&&(C=B);var $=0,V=function F(){};return{s:V,n:function n(){return $>=C.length?{done:!0}:{done:!1,value:C[$++]}},e:function e(C){throw C},f:V}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var L,q=!0,W=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return q=C.done,C},e:function e(C){W=!0,L=C},f:function f(){try{q||null==B.return||B.return()}finally{if(W)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);B<T;B++)$[B]=C[B];return $}var W=function(){function ContainerFactory(){(0,V.default)(this,ContainerFactory)}return(0,L.default)(ContainerFactory,null,[{key:"createElementContainer",value:function createElementContainer(C){var T=new q.default(this.regenerateIds([Object.assign({elType:(null==C?void 0:C.elType)||"widget"},C)])[0]);return new elementorModules.editor.Container({id:T.get("id"),type:T.get("elType"),settings:T.get("settings"),model:T,parent:!1})}},{key:"regenerateIds",value:function regenerateIds(C){var T,B=_createForOfIteratorHelper(C);try{for(B.s();!(T=B.n()).done;){var $=T.value;$.id=elementorCommon.helpers.getUniqueId().toString(),$.elements&&this.regenerateIds($.elements)}}catch(C){B.e(C)}finally{B.f()}return C}}]),ContainerFactory}();T.default=W},17878:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(7501)),q=_interopRequireWildcard(B(74983)),W=_interopRequireWildcard(B(31058));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==V(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}return $.default=C,B&&B.set(C,$),$}var U=function recursiveValues(C){return Object.values(C).map((function(C){return"object"===(0,L.default)(C)?Object.values(C):C}))},H={readers:U(q),parsers:U(W).flat()};T.default=H},20060:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(93231)),H=function(){function FileParserBase(C){(0,q.default)(this,FileParserBase),(0,U.default)(this,"reader",void 0),(0,U.default)(this,"tasks",[]),this.reader=C}var C,T;return(0,W.default)(FileParserBase,[{key:"parse",value:(T=(0,L.default)(V.default.mark((function _callee(){return V.default.wrap((function _callee$(C){for(;;)switch(C.prev=C.next){case 0:case"end":return C.stop()}}),_callee)}))),function parse(){return T.apply(this,arguments)})}],[{key:"getName",value:function getName(){return""}},{key:"getReaders",value:function getReaders(){return[]}},{key:"validate",value:(C=(0,L.default)(V.default.mark((function _callee2(C){return V.default.wrap((function _callee2$(C){for(;;)switch(C.prev=C.next){case 0:return C.abrupt("return",!1);case 1:case"end":return C.stop()}}),_callee2)}))),function validate(T){return C.apply(this,arguments)})}]),FileParserBase}();T.default=H},12165:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(93231)),H=function(){function FileReaderBase(C){(0,q.default)(this,FileReaderBase),(0,U.default)(this,"file",void 0),this.file=C}var C,T,B,$;return(0,W.default)(FileReaderBase,[{key:"getFile",value:function getFile(){return this.file}},{key:"getContent",value:($=(0,L.default)(V.default.mark((function _callee(){var C,T;return V.default.wrap((function _callee$(B){for(;;)switch(B.prev=B.next){case 0:return C=new FileReader,T=new Promise((function(T){C.onloadend=function(){return T(C.result)}})),C.readAsText(this.getFile()),B.abrupt("return",T);case 3:case"end":return B.stop()}}),_callee,this)}))),function getContent(){return $.apply(this,arguments)})},{key:"getDataUrl",value:(B=(0,L.default)(V.default.mark((function _callee2(){var C,T;return V.default.wrap((function _callee2$(B){for(;;)switch(B.prev=B.next){case 0:return C=new FileReader,T=new Promise((function(T){C.onloadend=function(){return T(C.result)}})),C.readAsDataURL(this.getFile()),B.abrupt("return",T);case 3:case"end":return B.stop()}}),_callee2,this)}))),function getDataUrl(){return B.apply(this,arguments)})}],[{key:"getName",value:function getName(){return""}},{key:"isActive",value:function isActive(){return!0}},{key:"mimeTypes",get:function get(){return[]}},{key:"resolve",value:(T=(0,L.default)(V.default.mark((function _callee3(C){return V.default.wrap((function _callee3$(C){for(;;)switch(C.prev=C.next){case 0:return C.abrupt("return",!1);case 1:case"end":return C.stop()}}),_callee3)}))),function resolve(C){return T.apply(this,arguments)})},{key:"validate",value:(C=(0,L.default)(V.default.mark((function _callee4(C){return V.default.wrap((function _callee4$(T){for(;;)switch(T.prev=T.next){case 0:return this.validator||(this.validator=new RegExp(this.mimeTypes.join("|"),"i")),T.abrupt("return",this.validator.test(C.type));case 2:case"end":return T.stop()}}),_callee4,this)}))),function validate(T){return C.apply(this,arguments)})}]),FileReaderBase}();T.default=H},56192:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"MediaParser",{enumerable:!0,get:function get(){return $.MediaParser}});var $=B(88927)},88927:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.MediaParser=void 0;var V=$(B(93231)),L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,V.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(MediaParser,C);var T=_createSuper(MediaParser);function MediaParser(){return(0,L.default)(this,MediaParser),T.apply(this,arguments)}return(0,q.default)(MediaParser,[{key:"upload",value:function upload(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return $e.data.run("create","wp/media",{file:C,options:_objectSpread({progress:!0},T)}).catch((function(C){return elementor.notifications.showToast({message:C.message}),Promise.reject(C)}))}}]),MediaParser}($(B(20060)).default);T.MediaParser=G},22136:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Widget",{enumerable:!0,get:function get(){return $.Widget}});var $=B(50723)},50723:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Widget=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(74499));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var Q=function(C){(0,U.default)(Widget,C);var T,B,$=_createSuper(Widget);function Widget(){return(0,q.default)(this,Widget),$.apply(this,arguments)}return(0,W.default)(Widget,[{key:"parse",value:(B=(0,L.default)(V.default.mark((function _callee(){var C,T;return V.default.wrap((function _callee$(B){for(;;)switch(B.prev=B.next){case 0:return C=this.reader.getFile(),B.t0=K.default,B.next=4,this.reader.getDataUrl();case 4:return B.t1=B.sent,B.t2=C.name.split(".")[0],B.t3={url:B.t1,alt:B.t2,source:"library"},B.t4={image:B.t3},B.t5={widgetType:"image",settings:B.t4},T=B.t0.createElementContainer.call(B.t0,B.t5),this.upload(C).then((function(C){var B=C.data;$e.internal("document/elements/set-settings",{container:elementor.getContainer(T.id),settings:{image:{url:B.source_url,id:B.id}}})})).catch((function(){elementor.documents.getCurrent().history.setActive(!1),$e.run("document/elements/reset-settings",{container:elementor.getContainer(T.id),options:{external:!0}}),elementor.documents.getCurrent().history.setActive(!0)})),B.abrupt("return",T);case 12:case"end":return B.stop()}}),_callee,this)}))),function parse(){return B.apply(this,arguments)})}],[{key:"getName",value:function getName(){return"widget"}},{key:"getReaders",value:function getReaders(){return["image"]}},{key:"validate",value:(T=(0,L.default)(V.default.mark((function _callee2(){return V.default.wrap((function _callee2$(C){for(;;)switch(C.prev=C.next){case 0:return C.abrupt("return",!0);case 1:case"end":return C.stop()}}),_callee2)}))),function validate(){return T.apply(this,arguments)})}]),Widget}(B(56192).MediaParser);T.Widget=Q},31058:(C,T,B)=>{"use strict";var $=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.video=T.json=T.image=T.base=void 0;var V=_interopRequireWildcard(B(56192));T.base=V;var L=_interopRequireWildcard(B(22136));T.image=L;var q=_interopRequireWildcard(B(46483));T.json=q;var W=_interopRequireWildcard(B(4321));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==$(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var V={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty(V,q,W):V[q]=C[q]}return V.default=C,B&&B.set(C,V),V}T.video=W},5519:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Elements=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(20060)),Q=$(B(74499)),J=$(B(40548));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var Y=function(C){(0,U.default)(Elements,C);var T,B,$,H=_createSuper(Elements);function Elements(){return(0,q.default)(this,Elements),H.apply(this,arguments)}return(0,W.default)(Elements,[{key:"parse",value:($=(0,L.default)(V.default.mark((function _callee(){return V.default.wrap((function _callee$(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,this.reader.getData();case 2:return C.abrupt("return",C.sent.content.map((function(C){return Q.default.createElementContainer(C)})));case 3:case"end":return C.stop()}}),_callee,this)}))),function parse(){return $.apply(this,arguments)})}],[{key:"getName",value:function getName(){return"elements"}},{key:"getReaders",value:function getReaders(){return["json"]}},{key:"validate",value:(B=(0,L.default)(V.default.mark((function _callee3(C){var T=this;return V.default.wrap((function _callee3$(B){for(;;)switch(B.prev=B.next){case 0:if(elementorCommon.config.filesUpload.unfilteredFiles){B.next=2;break}return B.abrupt("return",new Promise((function(B){J.default.getUnfilteredFilesNotEnabledImportTemplateDialog((0,L.default)(V.default.mark((function _callee2(){var $;return V.default.wrap((function _callee2$(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,T.validateData(C);case 2:$=V.sent,B($);case 4:case"end":return V.stop()}}),_callee2)})))).show()})));case 2:return B.next=4,this.validateData(C);case 4:return B.abrupt("return",B.sent);case 5:case"end":return B.stop()}}),_callee3,this)}))),function validate(C){return B.apply(this,arguments)})},{key:"validateData",value:(T=(0,L.default)(V.default.mark((function _callee4(C){var T;return V.default.wrap((function _callee4$(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,C.getData();case 2:return T=B.sent,B.abrupt("return",T.version&&T.type&&Array.isArray(T.content));case 4:case"end":return B.stop()}}),_callee4)}))),function validateData(C){return T.apply(this,arguments)})}]),Elements}(K.default);T.Elements=Y},46483:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Elements",{enumerable:!0,get:function get(){return $.Elements}});var $=B(5519)},4321:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Widget",{enumerable:!0,get:function get(){return $.Widget}});var $=B(35334)},35334:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Widget=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(74499));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var Q=function(C){(0,U.default)(Widget,C);var T,B,$=_createSuper(Widget);function Widget(){return(0,q.default)(this,Widget),$.apply(this,arguments)}return(0,W.default)(Widget,[{key:"parse",value:(B=(0,L.default)(V.default.mark((function _callee(){var C,T;return V.default.wrap((function _callee$(B){for(;;)switch(B.prev=B.next){case 0:return C=this.reader.getFile(),B.t0=K.default,B.next=4,this.reader.getDataUrl();case 4:return B.t1=B.sent,B.t2=C.name.split(".")[0],B.t3={url:B.t1,alt:B.t2,source:"library"},B.t4={video_type:"hosted",hosted_url:B.t3},B.t5={widgetType:"video",settings:B.t4},T=B.t0.createElementContainer.call(B.t0,B.t5),this.upload(C).then((function(C){var B=C.data;$e.internal("document/elements/set-settings",{container:elementor.getContainer(T.id),settings:{hosted_url:{url:B.source_url,id:B.id}}})})).catch((function(){elementor.documents.getCurrent().history.setActive(!1),$e.run("document/elements/reset-settings",{container:elementor.getContainer(T.id),options:{external:!0}}),elementor.documents.getCurrent().history.setActive(!0)})),B.abrupt("return",T);case 12:case"end":return B.stop()}}),_callee,this)}))),function parse(){return B.apply(this,arguments)})}],[{key:"getName",value:function getName(){return"widget"}},{key:"getReaders",value:function getReaders(){return["video"]}},{key:"validate",value:(T=(0,L.default)(V.default.mark((function _callee2(){return V.default.wrap((function _callee2$(C){for(;;)switch(C.prev=C.next){case 0:return C.abrupt("return",!0);case 1:case"end":return C.stop()}}),_callee2)}))),function validate(){return T.apply(this,arguments)})}]),Widget}(B(56192).MediaParser);T.Widget=Q},20953:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Image=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Image,C);var T=_createSuper(Image);function Image(){return(0,V.default)(this,Image),T.apply(this,arguments)}return(0,L.default)(Image,null,[{key:"getName",value:function getName(){return"image"}},{key:"mimeTypes",get:function get(){return["image\\/\\w+"]}}]),Image}($(B(12165)).default);T.Image=H},74983:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Image",{enumerable:!0,get:function get(){return $.Image}}),Object.defineProperty(T,"Json",{enumerable:!0,get:function get(){return L.Json}}),Object.defineProperty(T,"Video",{enumerable:!0,get:function get(){return V.Video}});var $=B(20953),V=B(93509),L=B(28763)},28763:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Json=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,U.default)(Json,C);var T,B,$=_createSuper(Json);function Json(){return(0,q.default)(this,Json),$.apply(this,arguments)}return(0,W.default)(Json,[{key:"getData",value:(B=(0,L.default)(V.default.mark((function _callee(){return V.default.wrap((function _callee$(C){for(;;)switch(C.prev=C.next){case 0:if(this._data){C.next=4;break}return C.next=3,this.getContent().then((function(C){return JSON.parse(C)}));case 3:this._data=C.sent;case 4:return C.abrupt("return",this._data);case 5:case"end":return C.stop()}}),_callee,this)}))),function getData(){return B.apply(this,arguments)})}],[{key:"getName",value:function getName(){return"json"}},{key:"isActive",value:function isActive(){var C,T;return elementor.config.user.is_administrator||null!==(C=null===(T=elementor.config.user.restrictions)||void 0===T?void 0:T.includes("json-upload"))&&void 0!==C&&C}},{key:"mimeTypes",get:function get(){return["application/json"]}},{key:"resolve",value:(T=(0,L.default)(V.default.mark((function _callee2(C){return V.default.wrap((function _callee2$(T){for(;;)switch(T.prev=T.next){case 0:return T.prev=0,JSON.parse(C),T.abrupt("return","application/json");case 5:return T.prev=5,T.t0=T.catch(0),T.abrupt("return",!1);case 8:case"end":return T.stop()}}),_callee2,null,[[0,5]])}))),function resolve(C){return T.apply(this,arguments)})}]),Json}($(B(12165)).default);T.Json=K},93509:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Video=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Video,C);var T=_createSuper(Video);function Video(){return(0,V.default)(this,Video),T.apply(this,arguments)}return(0,L.default)(Video,null,[{key:"getName",value:function getName(){return"video"}},{key:"mimeTypes",get:function get(){return["video\\/\\w+"]}}]),Video}($(B(12165)).default);T.Video=H},83571:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(93231)),W=$(B(67209));function _createForOfIteratorHelper(C,T){var B="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!B){if(Array.isArray(C)||(B=function _unsupportedIterableToArray(C,T){if(!C)return;if("string"==typeof C)return _arrayLikeToArray(C,T);var B=Object.prototype.toString.call(C).slice(8,-1);"Object"===B&&C.constructor&&(B=C.constructor.name);if("Map"===B||"Set"===B)return Array.from(C);if("Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return _arrayLikeToArray(C,T)}(C))||T&&C&&"number"==typeof C.length){B&&(C=B);var $=0,V=function F(){};return{s:V,n:function n(){return $>=C.length?{done:!0}:{done:!1,value:C[$++]}},e:function e(C){throw C},f:V}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var L,q=!0,W=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return q=C.done,C},e:function e(C){W=!0,L=C},f:function f(){try{q||null==B.return||B.return()}finally{if(W)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);B<T;B++)$[B]=C[B];return $}var U=function(){function ItemCollection(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(0,V.default)(this,ItemCollection),(0,q.default)(this,"items",void 0),this.setItems(C)}return(0,L.default)(ItemCollection,[{key:"setItems",value:function setItems(){var C,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],B=_createForOfIteratorHelper(T);try{for(B.s();!(C=B.n()).done;){if(!(C.value instanceof W.default))throw new Error("ItemCollection can only contain Item objects")}}catch(C){B.e(C)}finally{B.f()}this.items=T}},{key:"getItems",value:function getItems(){return this.items}},{key:"getFiles",value:function getFiles(){return this.items.map((function(C){return C.getFile()}))}}]),ItemCollection}();T.default=U},67209:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(93231)),W=$(B(90381)),U=$(B(9879)),H=function(){function Item(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,V.default)(this,Item),(0,q.default)(this,"file",void 0),(0,q.default)(this,"options",{}),this.file=this.toFile(C),this.options=T}return(0,L.default)(Item,[{key:"toFile",value:function toFile(C){if(!(0,W.default)(C,File)){var T=this.options,B=T.fileName,$={type:T.type||C.type};C=new File(Array.isArray(C)?C:[C],B||this.constructor.createFileName($),$)}return C}},{key:"getFile",value:function getFile(){return this.file}},{key:"getReader",value:function getReader(){return this.options.reader}},{key:"getParser",value:function getParser(){return this.options.parser}},{key:"setReader",value:function setReader(C){this.options.reader=C}},{key:"setParser",value:function setParser(C){this.options.parser=C}}],[{key:"createFileName",value:function createFileName(C){return[elementorCommon.helpers.getUniqueId(),U.default.getExtension(C.type)].join(".")}}]),Item}();T.default=H},46558:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(77266)),H=$(B(58724)),G=$(B(71173)),K=$(B(74910)),Q=$(B(93231)),J=$(B(50133)),Y=$(B(17878)),X=$(B(83571)),Z=$(B(36788)),ee=$(B(86036));function _createForOfIteratorHelper(C,T){var B="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!B){if(Array.isArray(C)||(B=function _unsupportedIterableToArray(C,T){if(!C)return;if("string"==typeof C)return _arrayLikeToArray(C,T);var B=Object.prototype.toString.call(C).slice(8,-1);"Object"===B&&C.constructor&&(B=C.constructor.name);if("Map"===B||"Set"===B)return Array.from(C);if("Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return _arrayLikeToArray(C,T)}(C))||T&&C&&"number"==typeof C.length){B&&(C=B);var $=0,V=function F(){};return{s:V,n:function n(){return $>=C.length?{done:!0}:{done:!1,value:C[$++]}},e:function e(C){throw C},f:V}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var L,q=!0,W=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return q=C.done,C},e:function e(C){W=!0,L=C},f:function f(){try{q||null==B.return||B.return()}finally{if(W)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);B<T;B++)$[B]=C[B];return $}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 te=function(C){(0,H.default)(Manager,C);var T,B,$,G,K=_createSuper(Manager);function Manager(){var C;return(0,q.default)(this,Manager),C=K.call(this),(0,Q.default)((0,U.default)(C),"readers",{}),(0,Q.default)((0,U.default)(C),"parsers",{}),C.normalizer=new Z.default((0,U.default)(C)),$e.components.register(new J.default({manager:(0,U.default)(C)})),C.parseConfig(Y.default),C}return(0,W.default)(Manager,[{key:"parseConfig",value:function parseConfig(){var C,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},B=_createForOfIteratorHelper(T.readers||{});try{for(B.s();!(C=B.n()).done;){var $,V,L=C.value;(null===($=null===(V=L.isActive)||void 0===V?void 0:V.call(L))||void 0===$||$)&&this.registerFileReader(L)}}catch(C){B.e(C)}finally{B.f()}var q,W=_createForOfIteratorHelper(T.parsers||{});try{for(W.s();!(q=W.n()).done;){var U=q.value;this.registerFileParser(U)}}catch(C){W.e(C)}finally{W.f()}}},{key:"createSession",value:(G=(0,L.default)(V.default.mark((function _callee(C,T){var B,$=arguments;return V.default.wrap((function _callee$(V){for(;;)switch(V.prev=V.next){case 0:if(B=$.length>2&&void 0!==$[2]?$[2]:{},C instanceof X.default){V.next=5;break}return V.next=4,this.getNormalizer().normalize(C);case 4:C=V.sent;case 5:return V.abrupt("return",new ee.default(this,C,T,B));case 6:case"end":return V.stop()}}),_callee,this)}))),function createSession(C,T){return G.apply(this,arguments)})},{key:"registerFileReader",value:function registerFileReader(C){this.readers[C.getName()]=C}},{key:"registerFileParser",value:function registerFileParser(C){var T,B=_createForOfIteratorHelper(C.getReaders());try{for(B.s();!(T=B.n()).done;){var $=T.value;this.readers[$]&&(this.parsers[$]||(this.parsers[$]={}),this.parsers[$][C.getName()]=C)}}catch(C){B.e(C)}finally{B.f()}}},{key:"getReaderOf",value:($=(0,L.default)(V.default.mark((function _callee2(C){var T,B,$,L,q,W,U,H=arguments;return V.default.wrap((function _callee2$(V){for(;;)switch(V.prev=V.next){case 0:T=H.length>1&&void 0!==H[1]&&H[1],B=C.getFile(),$=C.getReader(),L=this.getReaders($),q=0,W=Object.values(L);case 3:if(!(q<W.length)){V.next=13;break}return U=W[q],V.next=7,U.validate(B);case 7:if(!V.sent){V.next=10;break}return $||C.setReader(U.getName()),V.abrupt("return",T?new U(B):U);case 10:q++,V.next=3;break;case 13:return V.abrupt("return",!1);case 14:case"end":return V.stop()}}),_callee2,this)}))),function getReaderOf(C){return $.apply(this,arguments)})},{key:"getParserOf",value:(B=(0,L.default)(V.default.mark((function _callee3(C){var T,B,$,L,q,W,U,H=arguments;return V.default.wrap((function _callee3$(V){for(;;)switch(V.prev=V.next){case 0:return T=H.length>1&&void 0!==H[1]&&H[1],V.next=3,this.getReaderOf(C,!0);case 3:if(B=V.sent,$=C.getParser(),!B){V.next=18;break}L=this.getParsers(B.constructor.getName(),$),q=0,W=Object.values(L);case 8:if(!(q<W.length)){V.next=18;break}return U=W[q],V.next=12,U.validate(B);case 12:if(!V.sent){V.next=15;break}return $||C.setParser(U.getName()),V.abrupt("return",T?new U(B):U);case 15:q++,V.next=8;break;case 18:return V.abrupt("return",!1);case 19:case"end":return V.stop()}}),_callee3,this)}))),function getParserOf(C){return B.apply(this,arguments)})},{key:"getMimeTypeOf",value:(T=(0,L.default)(V.default.mark((function _callee4(C){var T,B,$,L;return V.default.wrap((function _callee4$(V){for(;;)switch(V.prev=V.next){case 0:T=0,B=Object.values(this.getReaders());case 1:if(!(T<B.length)){V.next=11;break}return $=B[T],V.next=5,$.resolve(C);case 5:if(!(L=V.sent)){V.next=8;break}return V.abrupt("return",L);case 8:T++,V.next=1;break;case 11:return V.abrupt("return",!1);case 12:case"end":return V.stop()}}),_callee4,this)}))),function getMimeTypeOf(C){return T.apply(this,arguments)})},{key:"getNormalizer",value:function getNormalizer(){return this.normalizer}},{key:"getReaders",value:function getReaders(){var C=this,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(T=Array.isArray(T)?T:[T]).length?Object.fromEntries(T.filter((function(T){return T in C.readers})).map((function(T){return[T,C.readers[T]]}))):this.readers}},{key:"getParsers",value:function getParsers(C){var T=this,B=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(B=Array.isArray(B)?B:[B]).length?Object.fromEntries(B.filter((function(B){return B in T.parsers[C]})).map((function(B){return[B,T.parsers[C][B]]}))):this.parsers[C]||{}}}]),Manager}(elementorModules.editor.utils.Module);T.default=te},36788:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(90381)),H=$(B(67209)),G=$(B(83571)),K=function(){function Normalizer(C){(0,q.default)(this,Normalizer),this.manager=C}var C,T,B;return(0,W.default)(Normalizer,[{key:"normalize",value:(B=(0,L.default)(V.default.mark((function _callee(C){return V.default.wrap((function _callee$(T){for(;;)switch(T.prev=T.next){case 0:return C instanceof G.default||(C=this.toItemCollection(C)),T.abrupt("return",C);case 2:case"end":return T.stop()}}),_callee,this)}))),function normalize(C){return B.apply(this,arguments)})},{key:"toItemCollection",value:(T=(0,L.default)(V.default.mark((function _callee2(C){var T=this;return V.default.wrap((function _callee2$(B){for(;;)switch(B.prev=B.next){case 0:return Array.isArray(C)||(C=(0,U.default)(C,FileList)||(0,U.default)(C,DataTransferItemList)?Array.from(C):[C]),B.abrupt("return",Promise.all(C.map((function(C){return C instanceof H.default||(C=T.toItem(C)),C}))).then((function(C){return new G.default(C)})));case 2:case"end":return B.stop()}}),_callee2)}))),function toItemCollection(C){return T.apply(this,arguments)})},{key:"toItem",value:(C=(0,L.default)(V.default.mark((function _callee3(C){var T;return V.default.wrap((function _callee3$(B){for(;;)switch(B.prev=B.next){case 0:if((0,U.default)(C,[Blob,File,DataTransferItem])){B.next=18;break}B.prev=1,window.atob(C.split(",")[1]),B.next=15;break;case 5:return B.prev=5,B.t0=B.catch(1),B.next=9,this.manager.getMimeTypeOf(C);case 9:if(!(T=B.sent)){B.next=14;break}C=this.constructor.createDataUrl(C,T),B.next=15;break;case 14:throw new Error("The input provided cannot be resolved");case 15:return B.next=17,fetch(C).then((function(C){return C.blob()}));case 17:C=B.sent;case 18:return B.abrupt("return",new H.default(C));case 19:case"end":return B.stop()}}),_callee3,this,[[1,5]])}))),function toItem(T){return C.apply(this,arguments)})}],[{key:"createDataUrl",value:function createDataUrl(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&(C="base64,".concat(btoa(C))),T&&(T+=";"),"data:".concat(T||"").concat(C)}}]),Normalizer}();T.default=K},86036:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(93231));function _createForOfIteratorHelper(C,T){var B="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!B){if(Array.isArray(C)||(B=function _unsupportedIterableToArray(C,T){if(!C)return;if("string"==typeof C)return _arrayLikeToArray(C,T);var B=Object.prototype.toString.call(C).slice(8,-1);"Object"===B&&C.constructor&&(B=C.constructor.name);if("Map"===B||"Set"===B)return Array.from(C);if("Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return _arrayLikeToArray(C,T)}(C))||T&&C&&"number"==typeof C.length){B&&(C=B);var $=0,V=function F(){};return{s:V,n:function n(){return $>=C.length?{done:!0}:{done:!1,value:C[$++]}},e:function e(C){throw C},f:V}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var L,q=!0,W=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return q=C.done,C},e:function e(C){W=!0,L=C},f:function f(){try{q||null==B.return||B.return()}finally{if(W)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);B<T;B++)$[B]=C[B];return $}var H=function(){function Session(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,$=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};(0,q.default)(this,Session),(0,U.default)(this,"manager",void 0),(0,U.default)(this,"itemCollection",void 0),(0,U.default)(this,"target",void 0),(0,U.default)(this,"options",{target:{}}),this.manager=C,this.itemCollection=T,this.target=B,Object.assign(this.options,$)}var C,T;return(0,W.default)(Session,[{key:"validate",value:(T=(0,L.default)(V.default.mark((function _callee(){var C,T,B;return V.default.wrap((function _callee$($){for(;;)switch($.prev=$.next){case 0:C=_createForOfIteratorHelper(this.itemCollection.getItems()),$.prev=1,C.s();case 3:if((T=C.n()).done){$.next=11;break}return B=T.value,$.next=7,this.manager.getReaderOf(B);case 7:if($.sent){$.next=9;break}return $.abrupt("return",!1);case 9:$.next=3;break;case 11:$.next=16;break;case 13:$.prev=13,$.t0=$.catch(1),C.e($.t0);case 16:return $.prev=16,C.f(),$.finish(16);case 19:return $.abrupt("return",!0);case 20:case"end":return $.stop()}}),_callee,this,[[1,13,16,19]])}))),function validate(){return T.apply(this,arguments)})},{key:"apply",value:(C=(0,L.default)(V.default.mark((function _callee2(){var C,T,B,$,L,q=this;return V.default.wrap((function _callee2$(V){for(;;)switch(V.prev=V.next){case 0:C=[],T=_createForOfIteratorHelper(this.itemCollection.getItems()),V.prev=2,T.s();case 4:if((B=T.n()).done){V.next=16;break}return $=B.value,V.next=8,this.manager.getParserOf($,!0);case 8:if(!(L=V.sent)){V.next=13;break}C.push(L.parse()),V.next=14;break;case 13:throw new Error("An error occurred when trying to parse the input");case 14:V.next=4;break;case 16:V.next=21;break;case 18:V.prev=18,V.t0=V.catch(2),T.e(V.t0);case 21:return V.prev=21,T.f(),V.finish(21);case 24:return V.abrupt("return",Promise.all(C).then((function(C){return q.resolve(C.flat())})));case 25:case"end":return V.stop()}}),_callee2,this,[[2,18,21,24]])}))),function apply(){return C.apply(this,arguments)})},{key:"resolve",value:function resolve(C){var T=this;return Object.values(C).some((function(C){return"section"===C.model.get("elType")}))&&(this.target=elementor.getPreviewContainer()),C.map((function(B){switch(B.type){case"container":case"section":case"column":case"widget":return T.target.view.createElementFromModel(B.model,Object.assign(T.options.target,{event:T.options.event,scrollIntoView:0===C.indexOf(B)}))}}))}}]),Session}();T.default=H},68076:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Close=void 0;var L=V(B(50824)),q=V(B(10029)),W=V(B(78983)),U=V(B(42081)),H=V(B(58724)),G=V(B(71173)),K=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,K.default)(C);if(T){var V=(0,K.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,G.default)(this,B)}}var Q=function(C){(0,H.default)(Close,C);var T,B=_createSuper(Close);function Close(){return(0,W.default)(this,Close),B.apply(this,arguments)}return(0,U.default)(Close,[{key:"validateArgs",value:function validateArgs(C){this.requireArgument("id",C)}},{key:"apply",value:(T=(0,q.default)(L.default.mark((function _callee(C){var T,B,$,V,q;return L.default.wrap((function _callee$(L){for(;;)switch(L.prev=L.next){case 0:if(T=C.id,B=C.mode,$=C.onClose,"closed"!==(V=elementor.documents.get(T)).editor.status){L.next=3;break}return L.abrupt("return",jQuery.Deferred().resolve());case 3:if(B||!V.editor.isChanged&&!V.isDraft()){L.next=7;break}return q=jQuery.Deferred(),this.getConfirmDialog(q).show(),L.abrupt("return",q.promise());case 7:L.t0=B,L.next="autosave"===L.t0?10:"save"===L.t0?13:"discard"===L.t0?16:19;break;case 10:return L.next=12,$e.run("document/save/auto");case 12:case 15:case 18:return L.abrupt("break",19);case 13:return L.next=15,$e.run("document/save/update");case 16:return L.next=18,$e.run("document/save/discard",{document:V});case 19:return L.next=21,$e.internal("editor/documents/unload",{document:V});case 21:if(!$){L.next=24;break}return L.next=24,$(V);case 24:return L.abrupt("return",jQuery.Deferred().resolve());case 25:case"end":return L.stop()}}),_callee,this)}))),function apply(C){return T.apply(this,arguments)})},{key:"getConfirmDialog",value:function getConfirmDialog(C){var T=this;return this.confirmDialog||(this.confirmDialog=elementorCommon.dialogsManager.createWidget("confirm",{id:"elementor-document-save-on-close",headerMessage:$("Save Changes","elementor"),message:$("Would you like to save the changes you've made?","elementor"),position:{my:"center center",at:"center center"},strings:{confirm:$("Save","elementor"),cancel:$("Discard","elementor")},onHide:function onHide(){_.defer((function(){T.args.mode||C.reject("Close document has been canceled.")}))},onConfirm:function onConfirm(){T.args.mode="save",$e.run("editor/documents/close",T.args).then((function(){C.resolve()}))},onCancel:function onCancel(){T.args.mode="discard",$e.run("editor/documents/close",T.args).then((function(){C.resolve()}))}})),this.confirmDialog}}]),Close}($e.modules.CommandBase);T.Close=Q;var J=Q;T.default=J},11175:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Close",{enumerable:!0,get:function get(){return $.Close}}),Object.defineProperty(T,"Open",{enumerable:!0,get:function get(){return V.Open}}),Object.defineProperty(T,"Preview",{enumerable:!0,get:function get(){return L.Preview}}),Object.defineProperty(T,"Switch",{enumerable:!0,get:function get(){return W.Switch}}),Object.defineProperty(T,"View",{enumerable:!0,get:function get(){return q.View}});var $=B(68076),V=B(60994),L=B(72995),q=B(92134),W=B(25256)},40729:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.AttachPreview=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(AttachPreview,C);var T=_createSuper(AttachPreview);function AttachPreview(){return(0,V.default)(this,AttachPreview),T.apply(this,arguments)}return(0,L.default)(AttachPreview,[{key:"validateArgs",value:function validateArgs(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(C.selector&&(this.requireArgumentType("selector","string"),0===elementor.$previewContents.find(C.selector).length))throw new Error("Invalid argument. The `selector` argument must be existed selector.")}},{key:"apply",value:function apply(C){var T=this,B=elementor.documents.getCurrent();return $e.data.get("globals/index").then((function(){return elementor.trigger("globals:loaded"),T.attachDocumentToPreview(B,C)})).then((function(){return elementor.toggleDocumentCssFiles(B,!1),elementor.onEditModeSwitched(),elementor.checkPageStatus(),elementor.trigger("document:loaded",B),$e.internal("panel/open-default",{refresh:!0})}))}},{key:"attachDocumentToPreview",value:function attachDocumentToPreview(C,T){var B=T.selector,$=void 0===B?".elementor-"+C.id:B,V=T.shouldScroll,L=void 0===V||V;return new Promise((function(T,B){if(!C)return B("Can't attach preview, there is no open document.");if(!C.config.elements)return T();C.$element=elementor.$previewContents.find($);var V=C.id===elementor.config.initial_document.id;if(!C.$element.length)return V&&elementor.onPreviewElNotFound(),B("Can't attach preview to document '".concat(C.id,"', element '").concat($,"' was not found."));C.$element.addClass("elementor-edit-area elementor-edit-mode"),V||elementor.documents.getCurrent().$element.addClass("elementor-embedded-editor"),elementor.initElements(),elementor.initPreviewView(C),C.container.view=elementor.getPreviewView(),C.container.model.attributes.elements=elementor.elements,L&&elementor.helpers.scrollToView(C.$element),C.$element.addClass("elementor-edit-area-active").removeClass("elementor-editor-preview"),T()}))}}]),AttachPreview}($e.modules.CommandInternalBase);T.AttachPreview=H;var G=H;T.default=G},28950:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"AttachPreview",{enumerable:!0,get:function get(){return $.AttachPreview}}),Object.defineProperty(T,"Load",{enumerable:!0,get:function get(){return V.Load}}),Object.defineProperty(T,"Unload",{enumerable:!0,get:function get(){return L.Unload}});var $=B(40729),V=B(10664),L=B(84805)},10664:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Load=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(13159)),G=$(B(38984));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var K=function(C){(0,q.default)(Load,C);var T=_createSuper(Load);function Load(){return(0,V.default)(this,Load),T.apply(this,arguments)}return(0,L.default)(Load,[{key:"validateArgs",value:function validateArgs(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.requireArgument("config",C)}},{key:"apply",value:function apply(C){var T=C.config,B=C.setAsInitial,$=void 0!==B&&B,V=C.shouldScroll,L=void 0===V||V;elementorCommon.config.experimentalFeatures.additional_custom_breakpoints&&(T.settings.controls=elementor.generateResponsiveControls(T.settings.controls)),elementor.config.document=T,elementor.setAjax(),elementor.addWidgetsCache(T.widgets),elementor.templates.init();var q=new H.default(T);elementor.documents.add(q),elementor.documents.setCurrent(q),$&&elementor.documents.setInitialById(q.id),elementor.settings.page=new elementor.settings.modules.page(T.settings),q.container=elementor.settings.page.getEditedView().getContainer(),q.container.document=q,elementor.heartbeat=new G.default(q);var W=elementor.config.document.version&&elementor.helpers.compareVersions(elementor.config.document.version,"2.5.0","<");return!elementor.config.user.introduction.flexbox&&W&&elementor.showFlexBoxAttentionDialog(),elementor.loaded?$e.data.get("globals/index").then((function(){return $?(elementor.reloadPreview(),Promise.resolve()):$e.internal("editor/documents/attach-preview",{shouldScroll:L,selector:C.selector})})):Promise.resolve(q)}}]),Load}($e.modules.CommandInternalBase);T.Load=K;var Q=K;T.default=Q},84805:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Unload=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(13159));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(Unload,C);var T=_createSuper(Unload);function Unload(){return(0,V.default)(this,Unload),T.apply(this,arguments)}return(0,L.default)(Unload,[{key:"validateArgs",value:function validateArgs(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.requireArgumentConstructor("document",H.default,C)}},{key:"apply",value:function apply(C){return new Promise((function(T,B){var $=C.document;$.id!==elementor.config.document.id&&B(),elementor.elements=[],elementor.saver.stopAutoSave($),elementor.channels.dataEditMode.trigger("switch","preview"),$.$element&&$.$element.removeClass("elementor-edit-area-active elementor-edit-mode").addClass("elementor-editor-preview"),elementorCommon.elements.$body.removeClass("elementor-editor-".concat($.config.type)),elementor.settings.page.destroy(),elementor.heartbeat.destroy(),$.editor.status="closed",elementor.config.document={},elementor.documents.unsetCurrent(),elementor.trigger("document:unloaded",$),T()}))}}]),Unload}($e.modules.CommandInternalBase);T.Unload=G;var K=G;T.default=K},60994:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Open=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Open,C);var T=_createSuper(Open);function Open(){return(0,V.default)(this,Open),T.apply(this,arguments)}return(0,L.default)(Open,[{key:"validateArgs",value:function validateArgs(C){this.requireArgument("id",C)}},{key:"apply",value:function apply(C){var T=C.id,B=C.selector,$=C.shouldScroll,V=void 0===$||$,L=C.setAsInitial,q=void 0!==L&&L,W=elementor.documents.getCurrent();return W&&T===W.id?jQuery.Deferred().resolve():(elementor.loaded&&elementor.$previewContents.find(".elementor-".concat(T)).addClass("loading"),q&&(elementorCommon.ajax.addRequestConstant("initial_document_id",T),elementor.documents.invalidateCache()),elementor.documents.request(T).then((function(C){return elementorCommon.elements.$body.addClass("elementor-editor-".concat(C.type)),$e.internal("editor/documents/load",{config:C,selector:B,setAsInitial:q,shouldScroll:V})})).always((function(){elementor.loaded&&elementor.$previewContents.find(".elementor-".concat(T)).removeClass("loading")})))}}]),Open}($e.modules.CommandBase);T.Open=H;var G=H;T.default=G},72995:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Preview=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,U.default)(Preview,C);var T,B=_createSuper(Preview);function Preview(){return(0,q.default)(this,Preview),B.apply(this,arguments)}return(0,W.default)(Preview,[{key:"validateArgs",value:function validateArgs(C){this.requireArgument("id",C)}},{key:"apply",value:(T=(0,L.default)(V.default.mark((function _callee(C){var T,B,$,L;return V.default.wrap((function _callee$(V){for(;;)switch(V.prev=V.next){case 0:if(T=C.id,B=$e.components.get("document/save"),$=B.footerSaver,!(L=elementor.documents.get(T)).editor.isChanged){V.next=4;break}return V.next=4,$e.run("document/save/auto",{force:!0});case 4:$.previewWindow=open(L.config.urls.wp_preview,"wp-preview-".concat(L.id));case 5:case"end":return V.stop()}}),_callee)}))),function apply(C){return T.apply(this,arguments)})}]),Preview}($e.modules.CommandBase);T.Preview=K;var Q=K;T.default=Q},25256:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Switch=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Switch,C);var T=_createSuper(Switch);function Switch(){return(0,V.default)(this,Switch),T.apply(this,arguments)}return(0,L.default)(Switch,[{key:"validateArgs",value:function validateArgs(C){this.requireArgument("id",C)}},{key:"apply",value:function apply(C){var T=C.id,B=C.mode,$=C.onClose,V=C.shouldScroll,L=void 0===V||V,q=C.setAsInitial,W=void 0!==q&&q;return W&&jQuery("#elementor-preview-loading").show(),$e.run("editor/documents/close",{id:elementor.documents.getCurrentId(),mode:B,onClose:$,selector:C.selector}).then((function(){return $e.run("editor/documents/open",{id:T,shouldScroll:L,selector:C.selector,setAsInitial:W})})).then((function(){elementor.getPanelView().getPages("menu").view.addExitItem()}))}}]),Switch}($e.modules.CommandBase);T.Switch=H;var G=H;T.default=G},92134:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.View=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,U.default)(View,C);var T,B=_createSuper(View);function View(){return(0,q.default)(this,View),B.apply(this,arguments)}return(0,W.default)(View,[{key:"validateArgs",value:function validateArgs(C){this.requireArgument("id",C)}},{key:"apply",value:(T=(0,L.default)(V.default.mark((function _callee(C){var T,B;return V.default.wrap((function _callee$($){for(;;)switch($.prev=$.next){case 0:T=C.id,B=elementor.documents.get(T),open(B.config.urls.permalink,"wp-view-".concat(B.id));case 2:case"end":return $.stop()}}),_callee)}))),function apply(C){return T.apply(this,arguments)})}]),View}($e.modules.CommandBase);T.View=K;var Q=K;T.default=Q},22777:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203),L=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=V(B(78983)),W=V(B(42081)),U=V(B(51121)),H=V(B(58724)),G=V(B(71173)),K=V(B(74910)),Q=V(B(19263)),J=V(B(13159)),Y=_interopRequireWildcard(B(11175)),X=_interopRequireWildcard(B(28950)),Z=_interopRequireWildcard(B(13020));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==L(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},V=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=V?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}return $.default=C,B&&B.set(C,$),$}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,K.default)(C);if(T){var V=(0,K.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,G.default)(this,B)}}var ee=function(C){(0,H.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,q.default)(this,Component),T.apply(this,arguments)}return(0,W.default)(Component,[{key:"__construct",value:function __construct(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,U.default)((0,K.default)(Component.prototype),"__construct",this).call(this,C),this.documents={},this.currentDocument=null,this.saveInitialDocumentToCache()}},{key:"getNamespace",value:function getNamespace(){return"editor/documents"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(Y)}},{key:"defaultHooks",value:function defaultHooks(){return this.importHooks(Z)}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return this.importCommands(X)}},{key:"add",value:function add(C){var T=C.id;return this.documents[T]=C,C}},{key:"addDocumentByConfig",value:function addDocumentByConfig(C){return this.add(new J.default(C))}},{key:"get",value:function get(C){return void 0!==this.documents[C]&&this.documents[C]}},{key:"getCurrent",value:function getCurrent(){return this.currentDocument}},{key:"getCurrentId",value:function getCurrentId(){return this.currentDocument.id}},{key:"getInitialId",value:function getInitialId(){return elementor.config.initial_document.id}},{key:"setInitialById",value:function setInitialById(C){var T=this.get(C);T&&(elementor.config.initial_document=T.config,elementorCommon.ajax.addRequestConstant("initial_document_id",T.id))}},{key:"setCurrent",value:function setCurrent(C){if(void 0===this.documents[C.id])throw Error("The document with id: '".concat(C.id,"' does not exist/loaded"));this.currentDocument&&(this.currentDocument.editor.status="closed"),this.currentDocument=this.documents[C.id],this.currentDocument.editor.status="open",elementorCommon.ajax.addRequestConstant("editor_post_id",C.id)}},{key:"isCurrent",value:function isCurrent(C){return parseInt(C)===this.currentDocument.id}},{key:"unsetCurrent",value:function unsetCurrent(){this.currentDocument=null,elementorCommon.ajax.addRequestConstant("editor_post_id",null)}},{key:"request",value:function request(C){return elementorCommon.ajax.load(this.getRequestArgs(C),!0)}},{key:"invalidateCache",value:function invalidateCache(){var C=this,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;T?elementorCommon.ajax.invalidateCache(this.getRequestArgs(T)):Object.keys(this.documents).forEach((function(T){elementorCommon.ajax.invalidateCache(C.getRequestArgs(T))}))}},{key:"getRequestArgs",value:function getRequestArgs(C){return C=parseInt(C),{action:"get_document_config",unique_id:"document-".concat(C),data:{id:C},success:function success(C){return C},error:function error(C){var T;_.isString(C)?T=C:C.statusText?(T=elementor.createAjaxErrorMessage(C),0===C.readyState&&(T+=" "+$("Cannot load editor","elementor"))):C[0]&&C[0].code&&(T=$("Server Error","elementor")+" "+C[0].code),alert(T)}}}},{key:"saveInitialDocumentToCache",value:function saveInitialDocumentToCache(){var C=elementor.config.initial_document;elementorCommon.ajax.addRequestCache(this.getRequestArgs(C.id),C)}}]),Component}(Q.default);T.default=ee},13159:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(93231)),W=$(B(48673)),U=$(B(11666)),H=$(B(91693)),G=function(){function Document(C){(0,V.default)(this,Document),(0,q.default)(this,"id",null),(0,q.default)(this,"history",null),(0,q.default)(this,"revisions",null),(0,q.default)(this,"container",null),(0,q.default)(this,"editor",new H.default),this.config=C,this.id=C.id,this.history=new W.default(this),this.revisions=new U.default(this)}return(0,L.default)(Document,[{key:"isDraft",value:function isDraft(){return this.config.revisions.current_id!==this.config.id}}]),Document}();T.default=G},13020:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"RemoveActiveDocumentQueryParam",{enumerable:!0,get:function get(){return $.RemoveActiveDocumentQueryParam}}),Object.defineProperty(T,"RemoveActiveTabQueryParam",{enumerable:!0,get:function get(){return W.RemoveActiveTabQueryParam}}),Object.defineProperty(T,"RemoveActiveTabQueryParamBack",{enumerable:!0,get:function get(){return U.RemoveActiveTabQueryParamBack}}),Object.defineProperty(T,"SetActiveDocumentQueryParam",{enumerable:!0,get:function get(){return V.SetActiveDocumentQueryParam}}),Object.defineProperty(T,"SwitchToActiveDocument",{enumerable:!0,get:function get(){return L.SwitchToActiveDocument}}),Object.defineProperty(T,"SwitchToActiveTab",{enumerable:!0,get:function get(){return q.SwitchToActiveTab}});var $=B(92756),V=B(45263),L=B(37178),q=B(19178),W=B(7872),U=B(56455)},37178:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.SwitchToActiveDocument=void 0;var V=$(B(50824)),L=$(B(10029)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(93231)),Q=B(92093);function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var J=function(C){(0,U.default)(SwitchToActiveDocument,C);var T,B=_createSuper(SwitchToActiveDocument);function SwitchToActiveDocument(){return(0,q.default)(this,SwitchToActiveDocument),B.apply(this,arguments)}return(0,W.default)(SwitchToActiveDocument,[{key:"getCommand",value:function getCommand(){return"editor/documents/attach-preview"}},{key:"getId",value:function getId(){return"switch-to-active-document"}},{key:"getConditions",value:function getConditions(){return!this.constructor.calledOnce&&elementor.documents.getCurrentId()===elementor.config.initial_document.id}},{key:"apply",value:(T=(0,L.default)(V.default.mark((function _callee(){var C,T;return V.default.wrap((function _callee$(B){for(;;)switch(B.prev=B.next){case 0:if(this.constructor.calledOnce=!0,C=parseInt((0,Q.getQueryParam)("active-document")),T=C===elementor.documents.getCurrentId(),!isNaN(C)&&!T){B.next=4;break}return B.abrupt("return");case 4:return B.prev=4,B.next=7,$e.run("editor/documents/switch",{id:C,mode:"autosave"});case 7:B.next=13;break;case 9:B.prev=9,B.t0=B.catch(4),$e.run("editor/documents/switch",{id:elementor.config.initial_document.id,mode:"autosave"}),(0,Q.removeQueryParam)("active-document");case 13:case"end":return B.stop()}}),_callee,this,[[4,9]])}))),function apply(){return T.apply(this,arguments)})}]),SwitchToActiveDocument}($e.modules.hookUI.After);T.SwitchToActiveDocument=J,(0,K.default)(J,"calledOnce",!1);var Y=J;T.default=Y},92756:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.RemoveActiveDocumentQueryParam=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=B(92093);function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(RemoveActiveDocumentQueryParam,C);var T=_createSuper(RemoveActiveDocumentQueryParam);function RemoveActiveDocumentQueryParam(){return(0,V.default)(this,RemoveActiveDocumentQueryParam),T.apply(this,arguments)}return(0,L.default)(RemoveActiveDocumentQueryParam,[{key:"getCommand",value:function getCommand(){return"editor/documents/close"}},{key:"getId",value:function getId(){return"remove-active-document-query-param"}},{key:"apply",value:function apply(C){var T=parseInt((0,H.getQueryParam)("active-document"));T===parseInt(C.id)&&(0,H.removeQueryParam)("active-document"),C.previous_active_document_id=T}}]),RemoveActiveDocumentQueryParam}($e.modules.hookUI.After);T.RemoveActiveDocumentQueryParam=G;var K=G;T.default=K},56455:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.RemoveActiveTabQueryParamBack=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=B(92093);function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(RemoveActiveTabQueryParamBack,C);var T=_createSuper(RemoveActiveTabQueryParamBack);function RemoveActiveTabQueryParamBack(){return(0,V.default)(this,RemoveActiveTabQueryParamBack),T.apply(this,arguments)}return(0,L.default)(RemoveActiveTabQueryParamBack,[{key:"getCommand",value:function getCommand(){return"panel/global/back"}},{key:"getId",value:function getId(){return"remove-active-tab-query-param-back"}},{key:"apply",value:function apply(){(0,H.getQueryParam)("active-tab")&&(0,H.removeQueryParam)("active-tab")}}]),RemoveActiveTabQueryParamBack}($e.modules.hookUI.After);T.RemoveActiveTabQueryParamBack=G;var K=G;T.default=K},7872:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.RemoveActiveTabQueryParam=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=B(92093);function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(RemoveActiveTabQueryParam,C);var T=_createSuper(RemoveActiveTabQueryParam);function RemoveActiveTabQueryParam(){return(0,V.default)(this,RemoveActiveTabQueryParam),T.apply(this,arguments)}return(0,L.default)(RemoveActiveTabQueryParam,[{key:"getCommand",value:function getCommand(){return"editor/documents/close"}},{key:"getId",value:function getId(){return"remove-active-tab-query-param"}},{key:"apply",value:function apply(C){var T=(0,H.getQueryParam)("active-tab");parseInt(C.previous_active_document_id)===parseInt(C.id)&&T&&(0,H.removeQueryParam)("active-tab")}}]),RemoveActiveTabQueryParam}($e.modules.hookUI.After);T.RemoveActiveTabQueryParam=G;var K=G;T.default=K},45263:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.SetActiveDocumentQueryParam=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=B(92093);function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(SetActiveDocumentQueryParam,C);var T=_createSuper(SetActiveDocumentQueryParam);function SetActiveDocumentQueryParam(){return(0,V.default)(this,SetActiveDocumentQueryParam),T.apply(this,arguments)}return(0,L.default)(SetActiveDocumentQueryParam,[{key:"getCommand",value:function getCommand(){return"editor/documents/open"}},{key:"getId",value:function getId(){return"set-active-document-query-param"}},{key:"getConditions",value:function getConditions(C){return parseInt(C.id)!==parseInt(elementor.config.initial_document.id)}},{key:"apply",value:function apply(C){var T=parseInt(C.id);isNaN(T)||(0,H.setQueryParam)("active-document",C.id)}}]),SetActiveDocumentQueryParam}($e.modules.hookUI.After);T.SetActiveDocumentQueryParam=G;var K=G;T.default=K},19178:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.SwitchToActiveTab=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(93231)),G=B(92093);function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var K=function(C){(0,q.default)(SwitchToActiveTab,C);var T=_createSuper(SwitchToActiveTab);function SwitchToActiveTab(){return(0,V.default)(this,SwitchToActiveTab),T.apply(this,arguments)}return(0,L.default)(SwitchToActiveTab,[{key:"getCommand",value:function getCommand(){return"editor/documents/switch"}},{key:"getId",value:function getId(){return"switch-to-active-tab"}},{key:"getConditions",value:function getConditions(){return!this.constructor.calledOnce}},{key:"apply",value:function apply(){this.constructor.calledOnce=!0;try{var C=(0,G.getQueryParam)("active-tab");C&&$e.route("panel/global/"+C)}catch(C){(0,G.removeQueryParam)("active-tab")}}}]),SwitchToActiveTab}($e.modules.hookUI.After);T.SwitchToActiveTab=K,(0,H.default)(K,"calledOnce",!1);var Q=K;T.default=Q},91693:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(42081)),L=$(B(78983)),q=$(B(93231)),W=(0,V.default)((function Editor(){(0,L.default)(this,Editor),(0,q.default)(this,"status","closed"),(0,q.default)(this,"isSaving",!1),(0,q.default)(this,"isChanged",!1),(0,q.default)(this,"isChangedDuringSave",!1),(0,q.default)(this,"isSaved",!0),(0,q.default)(this,"lastSaveHistoryId",0)}));T.default=W},85422:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203)(B(93231)),L=B(12406);C.exports=Marionette.Behavior.extend({tagView:null,listenerAttached:!1,initialize:function initialize(){this.listenerAttached||(this.listenTo(this.view.options.container.settings,"change:external:__dynamic__",this.onAfterExternalChange),this.listenerAttached=!0)},shouldRenderTools:function shouldRenderTools(){if(this.getOption("dynamicSettings").default)return!1;var C=elementor.helpers.hasPro()&&!elementor.helpers.hasProAndNotConnected(),T=this.getOption("tags").length>0;return!C||T},renderTools:function renderTools(){var C=this;if(this.shouldRenderTools()){var T=jQuery(Marionette.Renderer.render("#tmpl-elementor-control-dynamic-switcher"));T.on("click",(function(T){return C.onDynamicSwitcherClick(T)})),this.$el.find(".elementor-control-dynamic-switcher-wrapper").append(T),this.ui.dynamicSwitcher=T,"color"===this.view.model.get("type")&&(this.view.colorPicker?this.moveDynamicSwitcherToColorPicker():setTimeout((function(){return C.moveDynamicSwitcherToColorPicker()}))),this.ui.dynamicSwitcher.tipsy({title:function title(){return this.getAttribute("data-tooltip")},gravity:"s"})}},moveDynamicSwitcherToColorPicker:function moveDynamicSwitcherToColorPicker(){var C=this.view.colorPicker.$pickerToolsContainer;this.ui.dynamicSwitcher.removeClass("elementor-control-unit-1").addClass("e-control-tool");var T=C.find(".elementor-control-element-color-picker");T.length?this.ui.dynamicSwitcher.insertBefore(T):C.append(this.ui.dynamicSwitcher)},toggleDynamicClass:function toggleDynamicClass(){this.$el.toggleClass("elementor-control-dynamic-value",this.isDynamicMode())},isDynamicMode:function isDynamicMode(){var C=this.view.container.settings.get("__dynamic__");return!(!C||!C[this.view.model.get("name")])},createTagsList:function createTagsList(){var C=_.groupBy(this.getOption("tags"),"group"),T=elementor.dynamicTags.getConfig("groups"),B=this.ui.tagsList=jQuery("<div>",{class:"elementor-tags-list"}),$=jQuery("<div>",{class:"elementor-tags-list__inner"});if(B.append($),jQuery.each(T,(function(T){var B=C[T];if(B){var V=jQuery("<div>",{class:"elementor-tags-list__group-title"}).text(this.title);$.append(V),B.forEach((function(C){var T=jQuery("<div>",{class:"elementor-tags-list__item"});T.text(C.title).attr("data-tag-name",C.name),$.append(T)}))}})),!elementor.helpers.hasPro()&&Object.keys(C).length){var V=Marionette.Renderer.render("#tmpl-elementor-dynamic-tags-promo",{promotionUrl:elementor.config.dynamicPromotionURL.replace("%s",this.view.model.get("name"))});$.append(V)}$.on("click",".elementor-tags-list__item",this.onTagsListItemClick.bind(this)),elementorCommon.elements.$body.append(B)},getTagsList:function getTagsList(){return this.ui.tagsList||this.createTagsList(),this.ui.tagsList},toggleTagsList:function toggleTagsList(){var C=this.getTagsList();if(C.is(":visible"))C.hide();else{var T=elementorCommon.config.isRTL?"left":"right";C.show().position({my:"".concat(T," top"),at:"".concat(T," bottom+5"),of:this.ui.dynamicSwitcher})}},setTagView:function setTagView(C,T,B){this.tagView&&this.tagView.destroy();var $=this.tagView=new L({id:C,name:T,settings:B,controlName:this.view.model.get("name"),dynamicSettings:this.getOption("dynamicSettings")}),V=this.view.options.container,q=V.controls[$.options.controlName].label;$.options.container=new elementorModules.editor.Container({type:"dynamic",id:C,model:$.model,settings:$.model,view:$,parent:V,label:V.label+" "+q,controls:$.model.options.controls,renderer:V}),$.render(),this.$el.find(".elementor-control-tag-area").after($.el),this.listenTo($,"remove",this.onTagViewRemove.bind(this))},setDefaultTagView:function setDefaultTagView(){var C=elementor.dynamicTags.tagTextToTagData(this.getDynamicValue());this.setTagView(C.id,C.name,C.settings)},tagViewToTagText:function tagViewToTagText(){var C=this.tagView;return elementor.dynamicTags.tagDataToTagText(C.getOption("id"),C.getOption("name"),C.model)},getDynamicValue:function getDynamicValue(){return this.view.container.dynamic.get(this.view.model.get("name"))},destroyTagView:function destroyTagView(){this.tagView&&(this.tagView.destroy(),this.tagView=null)},showPromotion:function showPromotion(){var C=elementor.helpers.hasProAndNotConnected(),T={title:$("Dynamic Content","elementor"),content:$("Create more personalized and dynamic sites by populating data from various sources with dozens of dynamic tags to choose from.","elementor"),targetElement:this.ui.dynamicSwitcher,position:{blockStart:"-10"},actionButton:{url:C?elementorProEditorConfig.urls.connect:elementor.config.dynamicPromotionURL.replace("%s",this.view.model.get("name")),text:$(C?"Connect & Activate":"Upgrade","elementor")}};elementor.promotion.showDialog(T)},onRender:function onRender(){this.$el.addClass("elementor-control-dynamic"),this.renderTools(),this.toggleDynamicClass(),this.isDynamicMode()&&this.setDefaultTagView()},onDynamicSwitcherClick:function onDynamicSwitcherClick(C){C.stopPropagation(),this.getOption("tags").length?this.toggleTagsList():this.showPromotion()},onTagsListItemClick:function onTagsListItemClick(C){var T=jQuery(C.currentTarget);this.setTagView(elementorCommon.helpers.getUniqueId(),T.data("tagName"),{}),this.view.getGlobalKey()&&this.view.triggerMethod("unset:global:value"),this.isDynamicMode()?$e.run("document/dynamic/settings",{container:this.view.options.container,settings:(0,V.default)({},this.view.model.get("name"),this.tagViewToTagText())}):$e.run("document/dynamic/enable",{container:this.view.options.container,settings:(0,V.default)({},this.view.model.get("name"),this.tagViewToTagText())}),this.toggleDynamicClass(),this.toggleTagsList(),this.tagView.getTagConfig().settings_required&&this.tagView.showSettingsPopup()},onTagViewRemove:function onTagViewRemove(){$e.run("document/dynamic/disable",{container:this.view.options.container,settings:(0,V.default)({},this.view.model.get("name"),this.tagViewToTagText())}),this.toggleDynamicClass()},onAfterExternalChange:function onAfterExternalChange(){this.destroyTagView(),this.isDynamicMode()&&this.setDefaultTagView(),this.toggleDynamicClass()},onDestroy:function onDestroy(){this.destroyTagView(),this.ui.tagsList&&this.ui.tagsList.remove()}})},41972:(C,T,B)=>{"use strict";var $=B(73203)(B(93231));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,$.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}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,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){C.cache=_objectSpread(_objectSpread({},C.cache),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 e-input-style",tagControlsStack:null,templateHelpers:function templateHelpers(){var C={};return this.model&&(C.controls=this.model.options.controls),C},ui:{remove:".elementor-dynamic-cover__remove"},events:function events(){var events={"click @ui.remove":"onRemoveClick"};return this.hasSettings()&&(events.click="onClick"),events},getTemplate:function getTemplate(){var C=this.getTagConfig(),T=Marionette.TemplateCache.get("#tmpl-elementor-control-dynamic-cover"),B=Marionette.Renderer.render(T,{hasSettings:this.hasSettings(),isRemovable:!this.getOption("dynamicSettings").default,title:C.title,content:C.panel_template});return Marionette.TemplateCache.prototype.compileTemplate(B.trim())},getTagConfig:function getTagConfig(){return elementor.dynamicTags.getConfig("tags."+this.getOption("name"))},initSettingsPopup:function initSettingsPopup(){var C={className:"elementor-tag-settings-popup",position:{my:"left top+5",at:"left bottom",of:this.$el,autoRefresh:!0},hide:{ignore:".select2-container"}},T=elementorCommon.dialogsManager.createWidget("buttons",C);this.getSettingsPopup=function(){return T}},hasSettings:function hasSettings(){return!!Object.values(this.getTagConfig().controls).length},showSettingsPopup:function showSettingsPopup(){this.tagControlsStack||this.initTagControlsStack();var C=this.getSettingsPopup();C.isVisible()||C.show()},initTagControlsStack:function initTagControlsStack(){this.tagControlsStack=new $({model:this.model,controls:this.model.controls,name:this.options.name,controlName:this.options.controlName,container:this.options.container,el:this.getSettingsPopup().getElements("message")[0]}),this.tagControlsStack.render()},initModel:function initModel(){this.model=new elementorModules.editor.elements.models.BaseSettings(this.getOption("settings"),{controls:this.getTagConfig().controls})},initialize:function initialize(){this.initModel(),this.hasSettings()&&(this.initSettingsPopup(),this.listenTo(this.model,"change",this.render))},onClick:function onClick(){this.showSettingsPopup()},onRemoveClick:function onRemoveClick(C){C.stopPropagation(),this.destroy(),this.trigger("remove")},onDestroy:function onDestroy(){this.hasSettings()&&this.getSettingsPopup().destroy(),this.tagControlsStack&&this.tagControlsStack.destroy()}})},52927:C=>{"use strict";C.exports=Marionette.ItemView.extend({hasTemplate:!0,tagName:"span",className:function className(){return"elementor-tag"},getTemplate:function getTemplate(){return!!this.hasTemplate&&Marionette.TemplateCache.get("#tmpl-elementor-tag-"+this.getOption("name")+"-content")},initialize:function initialize(){try{this.getTemplate()}catch(C){this.hasTemplate=!1}},getConfig:function getConfig(C){var T=elementor.dynamicTags.getConfig("tags."+this.getOption("name"));return C?T[C]:T},getContent:function getContent(){var C,T=this.getConfig("content_type");if(!this.hasTemplate&&void 0===(C=elementor.dynamicTags.loadTagDataFromCache(this)))throw new Error(elementor.dynamicTags.CACHE_KEY_NOT_FOUND_ERROR);if("ui"===T){if(this.render(),this.hasTemplate)return this.el.outerHTML;this.getConfig("wrapped_tag")&&(C=jQuery(C).html()),this.$el.html(C)}return C},onRender:function onRender(){this.el.id="elementor-tag-"+this.getOption("id")}})},55920:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(19076)),G=$(B(26886));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var K=function(C){(0,q.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,V.default)(this,Component),T.apply(this,arguments)}return(0,L.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"shortcuts"}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{"":{keys:"ctrl+?, shift+?",exclude:["input"]}}}},{key:"getModalLayout",value:function getModalLayout(){return G.default}}]),Component}(H.default);T.default=K},10136:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(55920));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"onInit",value:function onInit(){$e.components.register(new H.default({manager:this}))}}]),_default}(elementorModules.Module);T.default=G},27734:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(73308));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"id",value:function id(){return"elementor-hotkeys"}},{key:"templateHelpers",value:function templateHelpers(){return{environment:H.default}}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-hotkeys"}}]),_default}(Marionette.LayoutView);T.default=G},26886:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(51121)),U=V(B(58724)),H=V(B(71173)),G=V(B(74910)),K=V(B(27734));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var Q=function(C){(0,U.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,L.default)(this,_default),T.apply(this,arguments)}return(0,q.default)(_default,[{key:"getModalOptions",value:function getModalOptions(){return{id:"elementor-hotkeys__modal"}}},{key:"getLogoOptions",value:function getLogoOptions(){return{title:$("Keyboard Shortcuts","elementor")}}},{key:"initialize",value:function initialize(){for(var C,T=arguments.length,B=new Array(T),$=0;$<T;$++)B[$]=arguments[$];(C=(0,W.default)((0,G.default)(_default.prototype),"initialize",this)).call.apply(C,[this].concat(B)),this.showLogo(),this.showContentView()}},{key:"showContentView",value:function showContentView(){this.modalContent.show(new K.default)}}]),_default}(elementorModules.common.views.modal.Layout);T.default=Q},4982:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(7501)),L=$(B(78983)),q=$(B(42081)),W=$(B(93231)),U=function(){function _default(){var C=this;(0,L.default)(this,_default),(0,W.default)(this,"loaded",{}),(0,W.default)(this,"notifyCallback",null),(0,W.default)(this,"fetchIcons",(function(T){fetch(T.fetchJson,{mode:"cors"}).then((function(C){return C.json()})).then((function(B){return T.icons=B.icons,C.normalizeIconList(T)}))})),(0,W.default)(this,"runCallback",(function(T){return"function"!=typeof C.notifyCallback?T:C.notifyCallback(T)})),(0,W.default)(this,"initIconType",(function(T,B){C.notifyCallback=B;var $=elementor.iconManager.store;if(C.loaded[T.name])return T.icons=$.getIcons(T),C.runCallback(T);if(T.enqueue&&T.enqueue.forEach((function(C){elementor.helpers.enqueueEditorStylesheet(C)})),T.url&&elementor.helpers.enqueueEditorStylesheet(T.url),$.isValid(T)){var V=$.get($.getKey(T));return C.normalizeIconList(V)}return T.icons&&T.icons.length?C.normalizeIconList(T):T.fetchJson?C.fetchIcons(T):void 0}))}return(0,q.default)(_default,[{key:"normalizeIconList",value:function normalizeIconList(C){var T,B={};jQuery.each(C.icons,(function($,L){T=L,"object"===(0,V.default)(T)&&(T=Object.entries(T)[0][0]),T&&(B[T]={prefix:C.prefix,selector:C.prefix+T.trim(":"),name:elementorCommon.helpers.upperCaseWords(T).trim(":").split("-").join(" "),filter:T.trim(":"),displayPrefix:C.displayPrefix||C.prefix.replace("-","")})})),Object.keys(B).length&&(C.icons=B,this.loaded[C.name]=!0,elementor.iconManager.store.save(C),this.runCallback(C))}}]),_default}();T.default=U},26801:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=function(){function Store(){(0,V.default)(this,Store)}return(0,L.default)(Store,[{key:"save",value:function save(C){elementorCommon.storage.set(Store.getKey(C),C)}},{key:"getIcons",value:function getIcons(C){var T=this.get(Store.getKey(C));return!(!T||!T.icons)&&T.icons}},{key:"get",value:function get(C){return elementorCommon.storage.get(C)}},{key:"isValid",value:function isValid(C){var T=this.get(Store.getKey(C));return!!T&&(T.ver===C.ver&&(T.icons&&T.icons.length))}}],[{key:"getKey",value:function getKey(C){var T=C.name?C.name:C;return"elementor_".concat(T,"_icons")}}]),Store}();T.default=q},60443:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(77266)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(93231)),Q=$(B(23615)),J=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==V(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}$.default=C,B&&B.set(C,$);return $}(B(87363));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var Y=function(C){(0,U.default)(LazyIconList,C);var T=_createSuper(LazyIconList);function LazyIconList(){var C;(0,L.default)(this,LazyIconList);for(var B=arguments.length,$=new Array(B),V=0;V<B;V++)$[V]=arguments[V];return C=T.call.apply(T,[this].concat($)),(0,K.default)((0,W.default)(C),"state",{itemSize:{width:0,height:0},wrapperSize:{width:0,height:0},firstRowInView:0}),(0,K.default)((0,W.default)(C),"selectors",{item:".elementor-icons-manager__tab__item",wrapper:"elementor-icons-manager__tab__wrapper"}),(0,K.default)((0,W.default)(C),"attachScrollListener",(function(){var T=document.getElementById(C.selectors.wrapper);T&&T.addEventListener("scroll",C.handleScroll)})),(0,K.default)((0,W.default)(C),"maybeMeasureItem",(function(){if(!C.state.itemSize.width){var T=document.querySelector(C.selectors.item);if(T){var B=document.getElementById(C.selectors.wrapper),$={itemSize:{width:T.offsetWidth+20,height:T.offsetHeight+20},wrapperSize:{width:B.offsetWidth,height:B.clientHeight}};return C.setState($,(function(){C.maybeScrollToSelected()}))}}})),(0,K.default)((0,W.default)(C),"maybeScrollToSelected",(function(){if(C.hasSelected()){var T=C.props.selectedIndex,B=C.state,$=B.wrapperSize,V=B.itemSize,L=Math.floor($.width/V.width),q=(Math.ceil(T/L)-1)*V.height;setTimeout((function(){C.props.parentRef.current.scrollTo({top:q,left:0,behavior:"auto"})}),0)}})),(0,K.default)((0,W.default)(C),"handleScroll",(function(){C.clearDebounceScrollCallback(),C._debounce=setTimeout((function(){var T=document.getElementById(C.selectors.wrapper),B=C.state.itemSize;C.setState({firstRowInView:Math.floor(T.scrollTop/B.height)})}),10)})),(0,K.default)((0,W.default)(C),"render",(function(){var T=C.state,B=T.itemSize,$=T.wrapperSize,V=C.state.firstRowInView;if(!B.width)return C.renderFirstElementForMeasurement();var L=C.props.items,q=Math.floor($.width/B.width),W=Math.ceil(L.length/q),U=Math.ceil($.height/B.height)+4;U>W&&(U=W),V>W-U&&(V=W-U);var H=W-V-U,G=V*q,K=(V+U)*q-1,Q=L.slice(G,K+1),Y={height:"".concat(V*B.height,"px")},X={height:"".concat(H*B.height,"px")};return J.default.createElement(J.Fragment,null,J.default.createElement("div",{className:"elementor-icons-manager__tab__content__offset",style:Y}),J.default.createElement("div",{id:"elementor-icons-manager__tab__content"},Q),J.default.createElement("div",{className:"elementor-icons-manager__tab__content__tail",style:X}))})),C}return(0,q.default)(LazyIconList,[{key:"componentDidMount",value:function componentDidMount(){this.attachScrollListener(),this.maybeMeasureItem()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.clearDebounceScrollCallback();var C=document.getElementById(this.selectors.wrapper);C&&C.removeEventListener("scroll",this.handleScroll)}},{key:"clearDebounceScrollCallback",value:function clearDebounceScrollCallback(){clearTimeout(this._debounce)}},{key:"renderFirstElementForMeasurement",value:function renderFirstElementForMeasurement(){return J.default.createElement("div",{id:"elementor-icons-manager__tab__content"},this.props.items[0])}},{key:"hasSelected",value:function hasSelected(){return-1!==this.props.selectedIndex}}]),LazyIconList}(J.Component),X=Y;T.default=X,Y.propTypes={items:Q.default.array,selectedIndex:Q.default.number,parentRef:Q.default.any}},8731:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203),L=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.renderIconManager=T.default=void 0;var q=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==L(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},V=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=V?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}$.default=C,B&&B.set(C,$);return $}(B(87363)),W=V(B(73119)),U=V(B(78983)),H=V(B(42081)),G=V(B(77266)),K=V(B(58724)),Q=V(B(71173)),J=V(B(74910)),Y=V(B(93231)),X=V(B(23615)),Z=V(B(66535)),ee=V(B(71656)),te=V(B(51829));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,Y.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return 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,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 ne=function(C){(0,K.default)(IconsManager,C);var T=_createSuper(IconsManager);function IconsManager(){var C;(0,U.default)(this,IconsManager);for(var B=arguments.length,$=new Array(B),V=0;V<B;V++)$[V]=arguments[V];return C=T.call.apply(T,[this].concat($)),(0,Y.default)((0,G.default)(C),"scrollViewRef",(0,q.createRef)()),(0,Y.default)((0,G.default)(C),"state",{activeTab:C.props.activeTab,selected:{library:"",value:""},iconTabs:elementor.config.icons.libraries,loaded:C.props.loaded,filter:""}),(0,Y.default)((0,G.default)(C),"cache",{}),(0,Y.default)((0,G.default)(C),"loadAllTabs",(function(){var T=C.state.loaded;C.props.icons.forEach((function(B){T[B.name]||-1<["all","recommended"].indexOf(B.name)||elementor.iconManager.library.initIconType(_objectSpread({},B),(function($){C.cache[$.name]=$,T[B.name]=!0}))})),T.all=!0,T.recommended=!0,C.setState({loaded:T})})),(0,Y.default)((0,G.default)(C),"getActiveTab",(function(){var T=C.state.activeTab,B=C.state.loaded,$=C.props.icons;if(T||C.props.activeTab&&(T=C.props.activeTab),"GoPro"===T)return T;if(!B[T])return!1;var V=_objectSpread({},$.filter((function(C){return C.name===T}))[0]);return B[T]?_objectSpread({},V):"all"!==V.name||B.all?(elementor.iconManager.library.initIconType(_objectSpread({},V),(function(T){C.cache[T.name]=T,C.updateLoaded(T.name)})),!1):C.loadAllTabs()})),(0,Y.default)((0,G.default)(C),"getIconTabsLinks",(function(){var T=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return C.props.icons.map((function(B){if(T^C.isNativeTab(B))return"";var $=B.name===C.state.activeTab,V="elementor-icons-manager__tab-link";return $&&(V+=" elementor-active"),q.default.createElement("div",{className:V,key:B.name,onClick:function onClick(){$||C.setState({activeTab:B.name})}},q.default.createElement("i",{className:B.labelIcon}),B.label)}))})),(0,Y.default)((0,G.default)(C),"getActiveTabIcons",(function(T){if(T.name)return C.getActiveTabIcons(T.name);if(C.cache[T])return C.cache[T].icons;if("recommended"===T)return C.state.iconTabs[0].icons;if("all"===T)return C.getAllIcons();if(!C.state.loaded[T]){var B=C.props.icons.filter((function(C){return T===C.name}));return elementor.iconManager.library.initIconType(_objectSpread({},B[0]),(function(T){C.cache[T.name]=T,C.updateLoaded(T.name)}))}return elementor.iconManager.store.getIcons(T)})),(0,Y.default)((0,G.default)(C),"getAllIcons",(function(){if(C.cache.all)return C.cache.all.icons;var T={};return C.props.icons.forEach((function(B){"all"!==B.name&&"recommended"!==B.name&&(T[B.name]=C.getActiveTabIcons(B.name))})),C.cache.all={icons:T},T})),(0,Y.default)((0,G.default)(C),"handleSearch",(function(T){var B=T.target.value;if(B&&""!==B){if(B=B.toLocaleLowerCase(),C.state.filter===B)return}else B="";C.setState({filter:B})})),(0,Y.default)((0,G.default)(C),"setSelected",(function(T){elementor.iconManager.setSettings("selectedIcon",T),C.setState({selected:T})})),(0,Y.default)((0,G.default)(C),"getSelected",(function(){var T=C.state.selected;return""===T.value&&C.props.selected&&C.props.selected.value&&(T={value:C.props.selected.value,library:C.props.selected.library}),T})),(0,Y.default)((0,G.default)(C),"render",(function(){var T=C.getActiveTab(),B=T.name?T.name:T,$=C.props.showSearch,V=void 0===$||$,L=C.state.filter;if("GoPro"!==T){if(!B||!C.state.loaded[B])return"Loading";T&&(T.icons=C.getActiveTabIcons(T))}var U=C.getSelected();return q.default.createElement(q.Fragment,null,q.default.createElement("div",{id:"elementor-icons-manager__sidebar",className:"elementor-templates-modal__sidebar"},q.default.createElement("div",{id:"elementor-icons-manager__tab-links"},C.getIconTabsLinks(),C.getUploadCustomButton(),C.getIconTabsLinks(!1))),q.default.createElement("div",{id:"elementor-icons-manager__main",className:"elementor-templates-modal__content"},"GoPro"===B?q.default.createElement(te.default,null):q.default.createElement(q.Fragment,null,V?C.getSearchHTML():"",q.default.createElement("div",{id:"elementor-icons-manager__tab__wrapper",ref:C.scrollViewRef},q.default.createElement("div",{id:"elementor-icons-manager__tab__title"},T.label),q.default.createElement("div",{id:"elementor-icons-manager__tab__content_wrapper"},q.default.createElement("input",{type:"hidden",name:"icon_value",id:"icon_value",value:U.value}),q.default.createElement("input",{type:"hidden",name:"icon_type",id:"icon_type",value:U.library}),C.state.loaded[T.name]?q.default.createElement(ee.default,(0,W.default)({setSelected:C.setSelected,selected:U,filter:L,key:T.name,parentRef:C.scrollViewRef},T)):"Loading")))))})),C}return(0,H.default)(IconsManager,[{key:"updateLoaded",value:function updateLoaded(C){var T=this.state.loaded;T[C]=!0,this.setState({loaded:T})}},{key:"isNativeTab",value:function isNativeTab(C){return("all"===C.name||"recommended"===C.name||"fa-"===C.name.substr(0,3))&&C.native}},{key:"getUploadCustomButton",value:function getUploadCustomButton(){var C=this,T=function onClick(){"GoPro"!==C.state.activeTab&&C.setState({activeTab:"GoPro"})};return this.props.customIconsURL&&(T=function onClick(){window.open(C.props.customIconsURL,"_blank")}),q.default.createElement("div",{id:"elementor-icons-manager__upload"},q.default.createElement("div",{id:"elementor-icons-manager__upload__title"},$("My Libraries","elementor")),q.default.createElement("button",{id:"elementor-icons-manager__upload__button",className:"elementor-button",onClick:T},$("Upload","elementor")))}},{key:"getSearchHTML",value:function getSearchHTML(){return q.default.createElement("div",{id:"elementor-icons-manager__search"},q.default.createElement("input",{placeholder:"Filter by name...",onInput:this.handleSearch}),q.default.createElement("i",{className:"eicon-search"}))}}]),IconsManager}(q.Component),re=ne;T.default=re;T.renderIconManager=function renderIconManager(C){var T=document.querySelector("#elementor-icons-manager-modal .dialog-content");return Z.default.render(q.default.createElement(ne,(0,W.default)({},C,{containerElement:T})),T)},ne.propTypes={activeTab:X.default.any,customIconsURL:X.default.string,icons:X.default.any,loaded:X.default.any,modalView:X.default.any,recommended:X.default.oneOfType([X.default.bool,X.default.object]),selected:X.default.any,showSearch:X.default.bool}},48478:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==V(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}$.default=C,B&&B.set(C,$);return $}(B(87363)),q=$(B(42081)),W=$(B(78983)),U=$(B(77266)),H=$(B(58724)),G=$(B(71173)),K=$(B(74910)),Q=$(B(93231)),J=$(B(23615));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,K.default)(C);if(T){var V=(0,K.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,G.default)(this,B)}}var Y=function(C){(0,H.default)(Icon,C);var T=_createSuper(Icon);function Icon(){var C;(0,W.default)(this,Icon);for(var B=arguments.length,$=new Array(B),V=0;V<B;V++)$[V]=arguments[V];return C=T.call.apply(T,[this].concat($)),(0,Q.default)((0,U.default)(C),"setSelected",(function(){C.props.setSelectedHandler({value:C.props.data.displayPrefix+" "+C.props.data.selector,library:C.props.library})})),(0,Q.default)((0,U.default)(C),"render",(function(){return L.default.createElement("div",{className:C.props.containerClass,key:C.props.keyID,onClick:C.setSelected,filter:C.props.data.filter},L.default.createElement("div",{className:"elementor-icons-manager__tab__item__content"},L.default.createElement("i",{className:"elementor-icons-manager__tab__item__icon "+C.props.className}),L.default.createElement("div",{className:"elementor-icons-manager__tab__item__name",title:C.props.data.name},C.props.data.name)))})),C}return(0,q.default)(Icon)}(L.Component);T.default=Y,Y.propTypes={className:J.default.string,containerClass:J.default.string,data:J.default.object,keyID:J.default.string,library:J.default.string,selector:J.default.string,setSelectedHandler:J.default.func}},51829:(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=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==L(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},V=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=V?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}$.default=C,B&&B.set(C,$);return $}(B(87363)),W=V(B(42081)),U=V(B(78983)),H=V(B(77266)),G=V(B(58724)),K=V(B(71173)),Q=V(B(74910)),J=V(B(93231));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,Q.default)(C);if(T){var V=(0,Q.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,K.default)(this,B)}}var Y=function(C){(0,G.default)(IconsGoPro,C);var T=_createSuper(IconsGoPro);function IconsGoPro(){var C;(0,U.default)(this,IconsGoPro);for(var B=arguments.length,V=new Array(B),L=0;L<B;L++)V[L]=arguments[L];return C=T.call.apply(T,[this].concat(V)),(0,J.default)((0,H.default)(C),"render",(function(){return q.default.createElement("div",{id:"elementor-icons-manager__promotion"},q.default.createElement("i",{id:"elementor-icons-manager__promotion__icon",className:"eicon-nerd"}),q.default.createElement("div",{id:"elementor-icons-manager__promotion__text"},$("Become a Pro user to upload unlimited font icon folders to your website.","elementor")),q.default.createElement("a",{href:elementor.config.icons.goProURL,id:"elementor-icons-manager__promotion__link",className:"elementor-button go-pro",target:"_blank",rel:"noopener noreferrer"},$("Upgrade Now","elementor")))})),C}return(0,W.default)(IconsGoPro)}(q.Component);T.default=Y},71656:(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(40131)),W=$(B(9833)),U=$(B(78983)),H=$(B(42081)),G=$(B(77266)),K=$(B(58724)),Q=$(B(71173)),J=$(B(74910)),Y=$(B(93231)),X=$(B(23615)),Z=$(B(60443)),ee=$(B(48478));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createForOfIteratorHelper(C,T){var B="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!B){if(Array.isArray(C)||(B=function _unsupportedIterableToArray(C,T){if(!C)return;if("string"==typeof C)return _arrayLikeToArray(C,T);var B=Object.prototype.toString.call(C).slice(8,-1);"Object"===B&&C.constructor&&(B=C.constructor.name);if("Map"===B||"Set"===B)return Array.from(C);if("Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return _arrayLikeToArray(C,T)}(C))||T&&C&&"number"==typeof C.length){B&&(C=B);var $=0,V=function F(){};return{s:V,n:function n(){return $>=C.length?{done:!0}:{done:!1,value:C[$++]}},e:function e(C){throw C},f:V}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var L,q=!0,W=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return q=C.done,C},e:function e(C){W=!0,L=C},f:function f(){try{q||null==B.return||B.return()}finally{if(W)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);B<T;B++)$[B]=C[B];return $}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 te=function(C){(0,K.default)(Tab,C);var T=_createSuper(Tab);function Tab(){var C;(0,U.default)(this,Tab);for(var B=arguments.length,$=new Array(B),V=0;V<B;V++)$[V]=arguments[V];return C=T.call.apply(T,[this].concat($)),(0,Y.default)((0,G.default)(C),"componentDidMount",(function(){C.props.selected&&C.props.selected.value&&setTimeout((function(){var C=document.querySelector(".elementor-selected");C&&C.scrollIntoView(!1)}),0)})),(0,Y.default)((0,G.default)(C),"handleFullIconList",(function(){var T=[];return Object.entries(C.props.icons).forEach((function(B){"recommended"!==B[0]&&(T=[].concat((0,W.default)(T),(0,W.default)(C.getIconsOfType(B[0],B[1]))))})),T.sort((function(C,T){return C.filter===T.filter?0:+(C.filter>T.filter)||-1}))})),(0,Y.default)((0,G.default)(C),"getLibrary",(function(C){return elementor.config.icons.libraries.filter((function(T){return C===T.name}))})),(0,Y.default)((0,G.default)(C),"handleRecommendedList",(function(){var T=[];return Object.entries(C.props.icons).forEach((function(B){var $=C.getLibrary(B[0])[0].icons,V={};B[1].forEach((function(C){$[C]&&(V[C]=$[C])})),T=[].concat((0,W.default)(T),(0,W.default)(C.getIconsOfType(B[0],V)))})),T})),(0,Y.default)((0,G.default)(C),"getIconsComponentList",(function(){var T=[],B=C.props,$=B.name,V=B.icons,L=B.filter;switch($){case"all":T=C.handleFullIconList();break;case"recommended":T=C.handleRecommendedList();break;default:T=C.getIconsOfType($,V)}return L&&(T=Object.values(T).filter((function(C){return C.props.data.name.toLowerCase().indexOf(L)>-1}))),T})),(0,Y.default)((0,G.default)(C),"render",(function(){var T,B=C.getIconsComponentList(),$=-1,V=_createForOfIteratorHelper(B.entries());try{for(V.s();!(T=V.n()).done;){var W=(0,q.default)(T.value,2),U=W[0];if(W[1].props.containerClass.includes("elementor-selected")){$=U;break}}}catch(C){V.e(C)}finally{V.f()}return L.default.createElement(Z.default,{selectedIndex:$,items:B,parentRef:C.props.parentRef})})),C}return(0,H.default)(Tab,[{key:"getIconsOfType",value:function getIconsOfType(C,T){var B=this,$=this.props,V=$.selected,q=$.filter;return Object.entries(T).map((function(T){var $=T[1],W=T[0],U=$.displayPrefix+" "+$.selector,H="elementor-icons-manager__tab__item";V.value===U&&(H+=" elementor-selected");var G=H+C+"-"+W+q;return L.default.createElement(ee.default,{key:G,library:C,keyID:W,containerClass:H,className:U,setSelectedHandler:B.props.setSelected,data:$})}))}}]),Tab}(L.Component);te.propTypes={data:X.default.any,filter:X.default.any,icons:X.default.object,name:X.default.string,selected:X.default.object,setSelected:X.default.func,parentRef:X.default.any};var ne=te;T.default=ne},56903:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910)),G=V(B(41864)),K=B(8731),Q=V(B(4982)),J=V(B(26801));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var Y=function(C){(0,W.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,L.default)(this,_default),T.apply(this,arguments)}return(0,q.default)(_default,[{key:"onInit",value:function onInit(){this.library=new Q.default,this.store=new J.default,elementor.helpers.fetchFa4ToFa5Mapping(),this.cache={}}},{key:"getLayout",value:function getLayout(){var C=this;if(!this.layout){this.layout=new G.default;var T=this.layout.getModal();T.addButton({name:"insert_icon",text:$("Insert","elementor"),classes:"elementor-button e-primary",callback:function callback(){C.updateControlValue(),C.unMountIconManager()}}),T.on("show",this.onPickerShow.bind(this)).on("hide",this.unMountIconManager.bind(this))}return this.layout}},{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectedIcon:{}}}},{key:"unMountIconManager",value:function unMountIconManager(){this.unmount()}},{key:"loadIconLibraries",value:function loadIconLibraries(){this.cache.loaded||(elementor.config.icons.libraries.forEach((function(C){"all"!==C.name&&elementor.iconManager.library.initIconType(C)})),this.cache.loaded=!0)}},{key:"onPickerShow",value:function onPickerShow(){var C=this.getSettings("controlView"),T={GoPro:!0},B={recommended:C.model.get("recommended")||!1},$=C.getControlValue(),V=elementor.config.icons.libraries;if($.library&&$.value||($={value:"",library:""}),B.selected=$,this.setSettings("selectedIcon",$),B.recommended){var L=!1;V.forEach((function(C,T){"recommended"===C.name&&(L=!0,V[T].icons=B.recommended)})),L||V.unshift({name:"recommended",label:"Recommended",icons:B.recommended,labelIcon:"eicon-star-o",native:!0})}else V=V.filter((function(C){return"recommended"!==C.name}));V.forEach((function(C,B){-1===["all","recommended"].indexOf(C.name)&&elementor.iconManager.library.initIconType(C,(function(C){V[B]=C})),T[C.name]=!0})),B.loaded=T,B.icons=V;var q=$.library||V[0].name;if("svg"===$.library&&(q=V[0].name),Object.keys(V).some((function(C){return C===q}))||(q=V[0].name),B.recommended&&""!==$.library&&""!==$.value&&Object.prototype.hasOwnProperty.call(B.recommended,$.library)){var W=V.filter((function(C){return $.library===C.name})),U=$.value.replace(W[0].displayPrefix+" "+W[0].prefix,"");B.recommended[$.library].some((function(C){return-1<C.indexOf(U)}))&&(q=V[0].name)}B.customIconsURL=elementor.config.customIconsURL,B.activeTab=q;var H=(0,K.renderIconManager)(B).unmount;this.unmount=H}},{key:"updateControlValue",value:function updateControlValue(){var C=this.getSettings();C.controlView.setValue(C.selectedIcon),C.controlView.applySavedValue()}},{key:"show",value:function show(C){this.setSettings("controlView",C.view),this.getLayout().showModal(C)}}]),_default}(elementorModules.Module);T.default=Y},41864:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(51121)),U=V(B(58724)),H=V(B(71173)),G=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,U.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,L.default)(this,_default),T.apply(this,arguments)}return(0,q.default)(_default,[{key:"getModalOptions",value:function getModalOptions(){return{id:"elementor-icons-manager-modal"}}},{key:"getLogoOptions",value:function getLogoOptions(){return{title:$("Icon Library","elementor")}}},{key:"initialize",value:function initialize(){for(var C,T=arguments.length,B=new Array(T),$=0;$<T;$++)B[$]=arguments[$];(C=(0,W.default)((0,G.default)(_default.prototype),"initialize",this)).call.apply(C,[this].concat(B)),this.showLogo()}}]),_default}(V(B(56525)).default);T.default=K},32447:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Drop=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Drop,C);var T=_createSuper(Drop);function Drop(){return(0,V.default)(this,Drop),T.apply(this,arguments)}return(0,L.default)(Drop,[{key:"validateArgs",value:function validateArgs(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.requireContainer(C),this.requireArgumentType("model","object",C)}},{key:"apply",value:function apply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=C.containers,B=void 0===T?[C.container]:T,$=C.options,V=void 0===$?{}:$,L=[];return B.forEach((function(T){L.push(T.view.createElementFromModel(C.model,V))})),1===B.length?L[0]:L}}]),Drop}($e.modules.CommandBase);T.Drop=H},17085:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Drop",{enumerable:!0,get:function get(){return $.Drop}}),Object.defineProperty(T,"Reload",{enumerable:!0,get:function get(){return V.Reload}});var $=B(32447),V=B(59657)},59657:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Reload=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Reload,C);var T=_createSuper(Reload);function Reload(){return(0,V.default)(this,Reload),T.apply(this,arguments)}return(0,L.default)(Reload,[{key:"apply",value:function apply(){elementor.reloadPreview()}}]),Reload}($e.modules.CommandBase);T.Reload=H},8916:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==V(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}$.default=C,B&&B.set(C,$);return $}(B(17085));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var K=function(C){(0,W.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,L.default)(this,Component),T.apply(this,arguments)}return(0,q.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"preview"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(G)}}]),Component}($e.modules.ComponentBase);T.default=K},76602:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(77266)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(93231));function _createForOfIteratorHelper(C,T){var B="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!B){if(Array.isArray(C)||(B=function _unsupportedIterableToArray(C,T){if(!C)return;if("string"==typeof C)return _arrayLikeToArray(C,T);var B=Object.prototype.toString.call(C).slice(8,-1);"Object"===B&&C.constructor&&(B=C.constructor.name);if("Map"===B||"Set"===B)return Array.from(C);if("Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return _arrayLikeToArray(C,T)}(C))||T&&C&&"number"==typeof C.length){B&&(C=B);var $=0,V=function F(){};return{s:V,n:function n(){return $>=C.length?{done:!0}:{done:!1,value:C[$++]}},e:function e(C){throw C},f:V}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var L,q=!0,W=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return q=C.done,C},e:function e(C){W=!0,L=C},f:function f(){try{q||null==B.return||B.return()}finally{if(W)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);B<T;B++)$[B]=C[B];return $}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var K=function(C){(0,W.default)(Manager,C);var T=_createSuper(Manager);function Manager(){var C;return(0,V.default)(this,Manager),C=T.call(this),(0,G.default)((0,q.default)(C),"elements",{}),(0,G.default)((0,q.default)(C),"type",!1),(0,U.default)(C,new Proxy((0,q.default)(C),{get:function get(C,T){return["add","remove"].includes(T)?function(){var B=C[T].apply(C,arguments);return C.updateType(),C.updateSortable(),C.updatePanelPage(),C.updateNavigator(),B}:Reflect.get.apply(Reflect,arguments)}}))}return(0,L.default)(Manager,[{key:"getElements",value:function getElements(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,T=Object.values(this.elements);return!T.length&&C&&(T=Array.isArray(C)?C:[C]),T}},{key:"add",value:function add(C){var T=arguments.length>1&&void 0!==arguments[1]&&arguments[1];C=Array.isArray(C)?C:[C],T||this.remove([],!0);var B,$=_createForOfIteratorHelper(C);try{for($.s();!(B=$.n()).done;){var V=B.value;this.elements[V.id]=V,V.view.select()}}catch(C){$.e(C)}finally{$.f()}}},{key:"remove",value:function remove(C){var T=arguments.length>1&&void 0!==arguments[1]&&arguments[1];C=Array.isArray(C)?C:[C],T&&(C=this.getElements());var B,$=_createForOfIteratorHelper(C);try{for($.s();!(B=$.n()).done;){var V=B.value;delete this.elements[V.id],V.view.deselect()}}catch(C){$.e(C)}finally{$.f()}}},{key:"has",value:function has(C){return this.getElements().includes(C)}},{key:"updateType",value:function updateType(){var C=this.getElements();this.type=Boolean(C.length)&&C.reduce((function(C,T){return C===T.type&&T.type}),C[0].type)}},{key:"updateSortable",value:function updateSortable(){elementor.toggleSortableState(!this.isMultiple())}},{key:"updatePanelPage",value:function updatePanelPage(){var C=this.getElements();1===C.length?$e.run("panel/editor/open",{model:C[0].model,view:C[0].view}):$e.internal("panel/open-default",{autoFocusSearch:!1})}},{key:"updateNavigator",value:function updateNavigator(){$e.components.get("document/elements").utils.showNavigator()&&elementor.navigator.getLayout().elements.currentView.recursiveChildInvoke("updateSelection")}},{key:"isMultiple",value:function isMultiple(){return this.getElements().length>1}},{key:"isSameType",value:function isSameType(){return!this.getElements().length||Boolean(this.type)}}]),Manager}(elementorModules.editor.utils.Module);T.default=K},66915:(C,T,B)=>{"use strict";var $=B(73203),V=$(B(50824)),L=$(B(10029)),q=B(99292);C.exports=elementorModules.ViewModule.extend({model:null,hasChange:!1,changeCallbacks:{},addChangeCallback:function addChangeCallback(C,T){this.changeCallbacks[C]=T},bindEvents:function bindEvents(){elementor.on("document:loaded",this.onElementorDocumentLoaded),this.model.on("change",this.onModelChange)},unbindEvents:function unbindEvents(){elementor.off("document:loaded",this.onElementorDocumentLoaded)},addPanelPage:function addPanelPage(){var C=this.getSettings("name");elementor.getPanelView().addPage(C+"_settings",{view:elementor.settings.panelPages[C]||elementor.settings.panelPages.base,title:this.getSettings("panelPage.title"),options:{editedView:this.getEditedView(),model:this.model,controls:this.model.controls,name:C}})},getContainerType:function getContainerType(){return this.getSettings("name")+"_settings"},getContainerId:function getContainerId(){return elementorDevTools.deprecation.deprecated("getContainerId()","3.7.0","getContainerType()"),this.getContainerType()},getEditedView:function getEditedView(){var C=elementor.elementsManager.getElementTypeClass("document").getModel(),T=this.getContainerType(),B=new C({id:T,elType:T,settings:this.model}),$=new elementorModules.editor.Container({type:T,id:T,model:B,settings:B.get("settings"),view:!1,parent:!1,label:this.getSettings("panelPage").title,controls:this.model.controls,document:this.getDocument(),renderer:!1});return{getContainer:function getContainer(){return $},getEditModel:function getEditModel(){return B},model:B,container:$}},getDocument:function getDocument(){return!1},updateStylesheet:function updateStylesheet(C){var T=this.getControlsCSS();C||T.stylesheet.empty(),this.model.handleRepeaterData(this.model.attributes),T.addStyleRules(this.model.getStyleControls(),this.model.attributes,this.model.controls,[/{{WRAPPER}}/g],[this.getSettings("cssWrapperSelector")]),T.addStyleToDocument({at:"before",of:"#elementor-style-e-global-style"})},initModel:function initModel(){this.model=new elementorModules.editor.elements.models.BaseSettings(this.getSettings("settings"),{controls:this.getSettings("controls")})},getStyleId:function getStyleId(){return this.getSettings("name")},initControlsCSSParser:function initControlsCSSParser(){var C;this.destroyControlsCSS=function(){C.removeStyleFromDocument()},this.getControlsCSS=function(){return C||(C=new q({id:this.getStyleId(),settingsModel:this.model,context:this.getEditedView()})),C}},getDataToSave:function getDataToSave(C){return C},save:function save(C){var T=this;return(0,L.default)(V.default.mark((function _callee(){var B,$,L;return V.default.wrap((function _callee$(V){for(;;)switch(V.prev=V.next){case 0:if((B=T).hasChange){V.next=3;break}return V.abrupt("return");case 3:return $=T.model.toJSON({remove:["default"]}),L=T.getDataToSave({data:$}),NProgress.start(),V.abrupt("return",elementorCommon.ajax.addRequest("save_"+T.getSettings("name")+"_settings",{data:L,success:function success(){NProgress.done(),B.setSettings("settings",$),B.hasChange=!1,C&&C.apply(B,arguments)},error:function error(){alert("An error occurred.")}}));case 6:case"end":return V.stop()}}),_callee)})))()},onInit:function onInit(){this.initModel(),this.initControlsCSSParser(),this.addPanelMenuItem(),this.debounceSave=_.debounce(this.save,3e3),elementorModules.ViewModule.prototype.onInit.apply(this,arguments)},addPanelMenuItem:function addPanelMenuItem(){var C=this.getSettings("panelPage.menu");if(C){var T="panel/"+this.getSettings("name")+"-settings",B={icon:C.icon,title:this.getSettings("panelPage.title"),type:"page",pageName:this.getSettings("name")+"_settings",callback:function callback(){return $e.route("".concat(T,"/settings"))}};$e.bc.ensureTab(T,"settings",B.pageName),elementor.modules.layouts.panel.pages.menu.Menu.addItem(B,"settings",C.beforeItem)}},onModelChange:function onModelChange(C){var T=this;T.hasChange=!0,this.getControlsCSS().stylesheet.empty(),_.each(C.changed,(function(C,B){T.changeCallbacks[B]&&T.changeCallbacks[B].call(T,C)})),T.updateStylesheet(!0),T.debounceSave()},onElementorDocumentLoaded:function onElementorDocumentLoaded(){this.updateStylesheet(),this.addPanelPage()},destroy:function destroy(){this.unbindEvents(),this.model.destroy()}})},12767:C=>{"use strict";C.exports=elementorModules.editor.views.ControlsStack.extend({id:function id(){return"elementor-panel-"+this.getOption("name")+"-settings"},getTemplate:function getTemplate(){return"#tmpl-elementor-panel-"+this.getOption("name")+"-settings"},childViewContainer:function childViewContainer(){return"#elementor-panel-"+this.getOption("name")+"-settings-controls"},childViewOptions:function childViewOptions(){return{container:this.getOption("editedView").getContainer()}}})},36551:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(_default,C);var T=_createSuper(_default);function _default(){var C;(0,V.default)(this,_default);for(var B=arguments.length,$=new Array(B),L=0;L<B;L++)$[L]=arguments[L];return(C=T.call.apply(T,[this].concat($))).changeCallbacks={ui_theme:C.onUIThemeChanged,panel_width:C.onPanelWidthChanged,edit_buttons:C.onEditButtonsChanged,show_hidden_elements:C.onShowHiddenElementsChange,show_launchpad_checklist:C.toggleChecklistIconVisibility},C}return(0,L.default)(_default,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{darkModeLinkID:"elementor-editor-dark-mode-css"}}},{key:"toggleChecklistIconVisibility",value:function toggleChecklistIconVisibility(C){var T="yes"===C;this.addMixpanelTrackingChecklist(T),$e.run("checklist/toggle-icon",T)}},{key:"onUIThemeChanged",value:function onUIThemeChanged(C){var T=jQuery("#e-theme-ui-light-css"),B=jQuery("#e-theme-ui-dark-css");if("auto"===C)return T.attr("media","(prefers-color-scheme: light)"),void B.attr("media","(prefers-color-scheme: dark)");"light"===C?(T.attr("media","all"),B.attr("media","none")):(T.attr("media","none"),B.attr("media","all"))}},{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")}},{key:"addMixpanelTrackingChecklist",value:function addMixpanelTrackingChecklist(C){var T=C?"checklistShow":"checklistHide",B=elementor.getPreviewContainer().document.config.id,$=elementor.getPreviewContainer().model.attributes.settings.attributes.post_title,V=elementor.getPreviewContainer().document.config.post_type_title,L=elementor.getPreviewContainer().document.config.type;return elementor.editorEvents.dispatchEvent(elementor.editorEvents.config.names.elementorEditor.userPreferences[T],{location:elementor.editorEvents.config.locations.elementorEditor,secondaryLocation:elementor.editorEvents.config.secondaryLocations.userPreferences,trigger:elementor.editorEvents.config.triggers.toggleClick,element:elementor.editorEvents.config.elements.toggle,postId:B,postTitle:$,postTypeTitle:V,documentType:L})}}]),_default}($(B(66915)).default);T.default=H},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)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,L.default)(this,Component),T.apply(this,arguments)}return(0,q.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"panel/page-settings"}},{key:"defaultTabs",value:function defaultTabs(){return{settings:{title:$("Settings","elementor")},style:{title:$("Style","elementor")},advanced:{title:$("Advanced","elementor")}}}},{key:"renderTab",value:function renderTab(C,T){var B=T.activeControl,$=T.refresh,V=void 0!==$&&$;(this.shouldRenderPage(C)||V)&&elementor.getPanelView().setPage("page_settings").activateTab(C),this.activateControl(B)}},{key:"shouldRenderPage",value:function shouldRenderPage(C){var T,B=elementor.getPanelView(),$="page_settings"===B.getCurrentPageName(),V=C===(null===(T=B.getCurrentPageView())||void 0===T?void 0:T.activeTab);return!$||!V}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return".elementor-panel-navigation"}}]),Component}(V(B(75238)).default);T.default=G},40427:(C,T,B)=>{"use strict";var $=B(73203),V=$(B(76824)),L=$(B(9833)),q=$(B(34991)),W=$(B(40871)),U=B(66915);C.exports=U.extend({getStyleId:function getStyleId(){return this.getSettings("name")+"-"+elementor.documents.getCurrent().id},onInit:function onInit(){U.prototype.onInit.apply(this),$e.components.register(new q.default({manager:this}))},save:function save(){},getDataToSave:function getDataToSave(C){return C.id=elementor.config.document.id,C},getEditedView:function getEditedView(){var C=this;if(this.editedView)return this.editedView;var T=elementor.elementsManager.getElementTypeClass("document").getModel(),B=this.getContainerType(),$=new T({id:B,elType:B,settings:this.model,elements:elementor.elements}),q=new elementorModules.editor.Container({type:B,id:$.id,model:$,settings:$.get("settings"),label:elementor.config.document.panel.title,controls:this.model.controls,children:(0,V.default)(W.default,(0,L.default)(elementor.elements||[])),parent:!1,renderer:{view:{lookup:function lookup(){return q},renderOnChange:function renderOnChange(){return C.updateStylesheet()},renderUI:function renderUI(){return C.updateStylesheet()}}}});return this.editedView={getContainer:function getContainer(){return q},getEditModel:function getEditModel(){return $},model:$,container:q},this.editedView},getContainerType:function getContainerType(){return"document"},getContainerId:function getContainerId(){return elementorDevTools.deprecation.deprecated("getContainerId()","3.7.0","getContainerType()"),this.getContainerType()}})},50235:(C,T,B)=>{"use strict";var $=B(73203)(B(36551));C.exports=elementorModules.Module.extend({modules:{base:B(66915),page:B(40427),editorPreferences:$.default},panelPages:{base:B(12767)},onInit:function onInit(){this.initSettings()},initSettings:function initSettings(){var C=this;_.each(elementor.config.settings,(function(T,B){var $=C.modules[B]||C.modules.base;C[B]=new $(T)}))}})},56284:C=>{"use strict";var T;T=Marionette.Behavior.extend({ui:{insertButton:".elementor-template-library-template-insert"},events:{"click @ui.insertButton":"onInsertButtonClick"},onInsertButtonClick:function onInsertButtonClick(){var C={model:this.view.model};this.ui.insertButton.addClass("elementor-disabled"),"remote"!==C.model.get("source")||elementor.config.library_connect.is_connected?$e.run("library/insert-template",C):$e.route("library/connect",C)}}),C.exports=T},24599:(C,T,B)=>{"use strict";var $,V=B(384);$=Backbone.Collection.extend({model:V}),C.exports=$},57304:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Templates",{enumerable:!0,get:function get(){return $.Templates}});var $=B(61129)},61129:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Templates=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Templates,C);var T=_createSuper(Templates);function Templates(){return(0,V.default)(this,Templates),T.apply(this,arguments)}return(0,L.default)(Templates,null,[{key:"getEndpointFormat",value:function getEndpointFormat(){return"template-library/templates"}}]),Templates}($e.modules.CommandData);T.Templates=H;var G=H;T.default=G},57466:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"InsertTemplate",{enumerable:!0,get:function get(){return $.InsertTemplate}}),Object.defineProperty(T,"Open",{enumerable:!0,get:function get(){return V.Open}});var $=B(36702),V=B(48132)},36702:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.InsertTemplate=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(InsertTemplate,C);var T=_createSuper(InsertTemplate);function InsertTemplate(){return(0,V.default)(this,InsertTemplate),T.apply(this,arguments)}return(0,L.default)(InsertTemplate,[{key:"apply",value:function apply(C){return this.component.insertTemplate(C)}}]),InsertTemplate}($e.modules.CommandBase);T.InsertTemplate=H;var G=H;T.default=G},48132:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Open=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Open,C);var T=_createSuper(Open);function Open(){return(0,V.default)(this,Open),T.apply(this,arguments)}return(0,L.default)(Open,[{key:"apply",value:function apply(C){return this.component.show(C)}}]),Open}($e.modules.CommandBase);T.Open=H;var G=H;T.default=G},61830:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203),L=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=V(B(93231)),W=V(B(78983)),U=V(B(42081)),H=V(B(51121)),G=V(B(58724)),K=V(B(71173)),Q=V(B(74910)),J=V(B(19076)),Y=_interopRequireWildcard(B(57466)),X=_interopRequireWildcard(B(57304));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==L(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},V=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=V?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}return $.default=C,B&&B.set(C,$),$}function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,q.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return 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 Z=B(7329),ee=function(C){(0,G.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,W.default)(this,Component),T.apply(this,arguments)}return(0,U.default)(Component,[{key:"__construct",value:function __construct(C){(0,H.default)((0,Q.default)(Component.prototype),"__construct",this).call(this,C),elementor.on("document:loaded",this.onDocumentLoaded.bind(this)),$e.data.deleteCache(this,"library")}},{key:"getNamespace",value:function getNamespace(){return"library"}},{key:"defaultTabs",value:function defaultTabs(){return{"templates/blocks":{title:$("Blocks","elementor"),getFilter:function getFilter(){return{source:"remote",type:"block",subtype:elementor.config.document.remoteLibrary.category}}},"templates/pages":{title:$("Pages","elementor"),filter:{source:"remote",type:"page"}},"templates/my-templates":{title:$("My Templates","elementor"),filter:{source:"local"}}}}},{key:"defaultRoutes",value:function defaultRoutes(){var C=this;return{import:function _import(){C.manager.layout.showImportView()},"save-template":function saveTemplate(T){C.manager.layout.showSaveTemplateView(T.model)},preview:function preview(T){C.manager.layout.showPreviewView(T.model)},connect:function connect(T){T.texts={title:$("Connect to Template Library","elementor"),message:$("Access this template and our entire library by creating a free personal account","elementor"),button:$("Get Started","elementor")},C.manager.layout.showConnectView(T)}}}},{key:"defaultCommands",value:function defaultCommands(){return _objectSpread(_objectSpread({},(0,H.default)((0,Q.default)(Component.prototype),"defaultCommands",this).call(this)),this.importCommands(Y))}},{key:"defaultData",value:function defaultData(){return this.importCommands(X)}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{open:{keys:"ctrl+shift+l"}}}},{key:"onDocumentLoaded",value:function onDocumentLoaded(C){this.setDefaultRoute(C.config.remoteLibrary.default_route),this.maybeOpenLibrary()}},{key:"renderTab",value:function renderTab(C){var T=this.tabs[C],B=T.getFilter?T.getFilter():T.filter;this.manager.setScreen(B)}},{key:"activateTab",value:function activateTab(C){$e.routes.saveState("library"),(0,H.default)((0,Q.default)(Component.prototype),"activateTab",this).call(this,C)}},{key:"open",value:function open(){return(0,H.default)((0,Q.default)(Component.prototype),"open",this).call(this),this.manager.layout||(this.manager.layout=this.layout),this.manager.layout.setHeaderDefaultParts(),!0}},{key:"close",value:function close(){return!!(0,H.default)((0,Q.default)(Component.prototype),"close",this).call(this)&&(this.manager.modalConfig={},!0)}},{key:"show",value:function show(C){this.manager.modalConfig=C,!C.toDefault&&$e.routes.restoreState("library")||$e.route(this.getDefaultRoute())}},{key:"insertTemplate",value:function insertTemplate(C){this.downloadTemplate(C,(function(C,T){$e.run("document/elements/import",{model:T.model,data:C,options:T.importOptions})}))}},{key:"downloadTemplate",value:function downloadTemplate(C,T){var B=this,$=elementor.config.document.remoteLibrary.autoImportSettings,V=C.model,L=C.withPageSettings,q=void 0===L?null:L;($&&(q=!0),null===q&&V.get("hasPageSettings"))?this.getImportSettingsDialog().showImportDialog(V):(this.manager.layout.showLoadingView(),this.manager.requestTemplateContent(V.get("source"),V.get("template_id"),{data:{with_page_settings:q},success:function success(C){var $=jQuery.extend({},B.manager.modalConfig.importOptions);$.withPageSettings=q,B.manager.layout.hideLoadingView(),B.manager.layout.hideModal(),T(C,{model:V,importOptions:$})},error:function error(C){B.manager.showErrorDialog(C)},complete:function complete(){B.manager.layout.hideLoadingView()}}))}},{key:"getImportSettingsDialog",value:function getImportSettingsDialog(){var C={dialog:null,showImportDialog:function showImportDialog(T){var B=C.getDialog(T);B.onConfirm=function(){$e.run("library/insert-template",{model:T,withPageSettings:!0})},B.onCancel=function(){$e.run("library/insert-template",{model:T,withPageSettings:!1})},B.show()},initDialog:function initDialog(T){C.dialog=elementorCommon.dialogsManager.createWidget("confirm",{id:"elementor-insert-template-settings-dialog",headerMessage:$("Apply the settings of this %s too?","elementor").replace("%s",elementor.translate(T.attributes.type)),message:$("This will override the design, layout, and other settings of the %s you’re working on.","elementor").replace("%s",elementor.documents.getCurrent().container.label),strings:{confirm:$("Apply","elementor"),cancel:$("Don’t apply","elementor")}})},getDialog:function getDialog(T){return C.dialog||C.initDialog(T),C.dialog}};return C}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return"#elementor-template-library-header-menu"}},{key:"getModalLayout",value:function getModalLayout(){return Z}},{key:"maybeOpenLibrary",value:function maybeOpenLibrary(){"#library"===location.hash&&($e.run("library/open"),location.hash="")}}]),Component}(J.default);T.default=ee},79005:(C,T,B)=>{"use strict";var $,V=B(38003).__,L=B(38003).sprintf,q=B(73203),W=q(B(7501)),U=q(B(93231)),H=q(B(61830)),G=B(24599);$=function TemplateLibraryManager(){this.modalConfig={};var C,T,B,$=this,q={},K={},Q={};this.init=function(){!function registerDefaultTemplateTypes(){var C={saveDialog:{description:V("Your designs will be available for export and reuse on any page or website","elementor")},ajaxParams:{success:function success(C){$e.route("library/templates/my-templates",{onBefore:function onBefore(){B&&(B.findWhere({template_id:C.template_id})||B.add(C))}})},error:function error(C){$.showErrorDialog(C)}}},T=(0,U.default)({page:V("Page","elementor"),section:V("Section","elementor"),container:V("Container","elementor")},elementor.config.document.type,elementor.config.document.panel.title);jQuery.each(T,(function(T,B){var q=jQuery.extend(!0,{},C,{saveDialog:{title:L(V("Save Your %s to Library","elementor"),B)}});$.registerTemplateType(T,q)}))}(),function registerDefaultFilterTerms(){Q={text:{callback:function callback(C){return C=C.toLowerCase(),this.get("title").toLowerCase().indexOf(C)>=0||_.any(this.get("tags"),(function(T){return T.toLowerCase().indexOf(C)>=0}))}},type:{},subtype:{},favorite:{}}}(),this.component=$e.components.register(new H.default({manager:this})),elementor.addBackgroundClickListener("libraryToggleMore",{element:".elementor-template-library-template-more"})},this.getTemplateTypes=function(C){return C?q[C]:q},this.registerTemplateType=function(C,T){q[C]=T},this.deleteTemplate=function(C,T){var V=$.getDeleteDialog();V.onConfirm=function(){T.onConfirm&&T.onConfirm(),elementorCommon.ajax.addRequest("delete_template",{data:{source:C.get("source"),template_id:C.get("template_id")},success:function success($){B.remove(C,{silent:!0}),T.onSuccess&&T.onSuccess($)}})},V.show()},this.importTemplate=function(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};elementorDevTools.deprecation.deprecated("importTemplate","2.8.0","$e.run( 'library/insert-template' )"),T.model=C,$e.run("library/insert-template",T)},this.saveTemplate=function(C,T){var B=q[C];_.extend(T,{source:"local",type:C}),B.prepareSavedData&&(T=B.prepareSavedData(T)),T.content=JSON.stringify(T.content);var $={data:T};B.ajaxParams&&_.extend($,B.ajaxParams),elementorCommon.ajax.addRequest("save_template",$)},this.requestTemplateContent=function(C,T,B){var $={unique_id:T,data:{source:C,edit_mode:!0,display:!0,template_id:T}};return B&&jQuery.extend(!0,$,B),elementorCommon.ajax.addRequest("get_template_data",$)},this.markAsFavorite=function(C,T){var B={data:{source:C.get("source"),template_id:C.get("template_id"),favorite:T}};return elementorCommon.ajax.addRequest("mark_template_as_favorite",B)},this.getDeleteDialog=function(){return C||(C=elementorCommon.dialogsManager.createWidget("confirm",{id:"elementor-template-library-delete-dialog",headerMessage:V("Delete Template","elementor"),message:V("Are you sure you want to delete this template?","elementor"),strings:{confirm:V("Delete","elementor")}})),C},this.getErrorDialog=function(){return T||(T=elementorCommon.dialogsManager.createWidget("alert",{id:"elementor-template-library-error-dialog",headerMessage:V("An error occurred.","elementor")})),T},this.getTemplatesCollection=function(){return B},this.getConfig=function(C){return C?K[C]?K[C]:{}:K},this.requestLibraryData=function(C){if(!B||C.forceUpdate){C.onBeforeUpdate&&C.onBeforeUpdate();var T={data:{},success:function success(T){B=new G(T.templates),T.config&&(K=T.config),C.onUpdate&&C.onUpdate()}};C.forceSync&&(T.data.sync=!0),elementorCommon.ajax.addRequest("get_library_data",T)}else C.onUpdate&&C.onUpdate()},this.getFilter=function(C){return elementor.channels.templates.request("filter:"+C)},this.setFilter=function(C,T,B){elementor.channels.templates.reply("filter:"+C,T),B||elementor.channels.templates.trigger("filter:change")},this.getFilterTerms=function(C){return C?Q[C]:Q},this.setScreen=function(C){elementor.channels.templates.stopReplying(),$.setFilter("source",C.source,!0),$.setFilter("type",C.type,!0),$.setFilter("subtype",C.subtype,!0),$.showTemplates()},this.loadTemplates=function(C){$.layout.showLoadingView();var T={source:this.getFilter("source")},V={};"local"===T.source&&(V.refresh=!0),$e.data.get("library/templates",T,V).then((function(T){B=new G(T.data.templates),T.data.config&&(K=T.data.config),$.layout.hideLoadingView(),C&&C()}))},this.showTemplates=function(){$.layout.setHeaderDefaultParts(),$.loadTemplates((function(){var C=$.filterTemplates();$.layout.showTemplatesView(new G(C))}))},this.filterTemplates=function(){var C=$.getFilter("source");return B.filter((function(T){if(C!==T.get("source"))return!1;var B=q[T.get("type")];return!B||!1!==B.showInLibrary}))},this.showErrorDialog=function(C){if("object"===(0,W.default)(C)){var T="";_.each(C,(function(C){null!=C&&C.message&&(T+="<div>"+C.message+".</div>")})),C=T}else C&&(C+=".");C=C?V("The following error(s) occurred while processing the request:","elementor")+'<div id="elementor-template-library-error-info">'+C+"</div>":V("Please try again.","elementor"),$.getErrorDialog().setMessage(C).show()}},C.exports=new $},384:C=>{"use strict";C.exports=Backbone.Model.extend({defaults:{template_id:0,title:"",source:"",type:"",subtype:"",author:"",thumbnail:"",url:"",export_link:"",tags:[]}})},7329:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(40055),L=B(82830),q=B(17555),W=B(220),U=B(15307),H=B(89482),G=B(46831),K=B(35333),Q=B(58489);C.exports=elementorModules.common.views.modal.Layout.extend({getModalOptions:function getModalOptions(){var C,T,B,$,V,L,q=null===(C=null===(T=window)||void 0===T||null===(B=T.elementor)||void 0===B||null===($=B.config)||void 0===$||null===(V=$.document)||void 0===V||null===(L=V.panel)||void 0===L?void 0:L.allow_closing_remote_library)||void 0===C||C;return{id:"elementor-template-library-modal",hide:{onOutsideClick:q,onBackgroundClick:q,onEscKeyPress:q}}},getLogoOptions:function getLogoOptions(){return{title:$("Library","elementor"),click:function click(){$e.run("library/open",{toDefault:!0})}}},getTemplateActionButton:function getTemplateActionButton(C){var T=elementor.config.library_connect.subscription_plans,B=elementor.config.library_connect.base_access_tier,$=C.accessTier,V="#tmpl-elementor-template-library-"+(B!==$?"upgrade-plan-button":"insert-button");V=elementor.hooks.applyFilters("elementor/editor/template-library/template/action-button",V,C);var L=Marionette.TemplateCache.get(V),q=T[$],W=elementorAppConfig.hasPro?"Upgrade":"Go ".concat(q.label);try{var U=new URL(q.promotion_url),H=U.searchParams.toString(),G=elementor.hooks.applyFilters("elementor/editor/template-library/template/promotion-link-search-params",H,C);return Marionette.Renderer.render(L,{promotionText:W,promotionLink:"".concat(U.origin).concat(U.pathname,"?").concat(G)})}catch(C){return Marionette.Renderer.render(L,{promotionText:W,promotionLink:q.promotion_url})}},setHeaderDefaultParts:function setHeaderDefaultParts(){var C=this.getHeaderView();C.tools.show(new V),C.menuArea.show(new L),this.showLogo()},showTemplatesView:function showTemplatesView(C){this.modalContent.show(new U({collection:C}))},showImportView:function showImportView(){var C=this.getHeaderView();C.menuArea.reset(),this.modalContent.show(new G),C.logoArea.show(new W)},showConnectView:function showConnectView(C){this.getHeaderView().menuArea.reset(),this.modalContent.show(new K(C))},showSaveTemplateView:function showSaveTemplateView(C){this.getHeaderView().menuArea.reset(),this.modalContent.show(new H({model:C}))},showPreviewView:function showPreviewView(C){this.modalContent.show(new Q({url:C.get("url")}));var T=this.getHeaderView();T.menuArea.reset(),T.tools.show(new q({model:C})),T.logoArea.show(new W)}})},35333:(C,T,B)=>{"use strict";var $=B(38003).__;C.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-connect",id:"elementor-template-library-connect",ui:{connect:"#elementor-template-library-connect__button",thumbnails:"#elementor-template-library-connect-thumbnails"},templateHelpers:function templateHelpers(){return this.getOption("texts")},onRender:function onRender(){var C=this;this.ui.connect.elementorConnect({parseUrl:function parseUrl(T){return T.replace("%%template_type%%",C.model.get("type"))},success:function success(){elementor.config.library_connect.is_connected=!0,C.getOption("model")?$e.run("library/insert-template",{model:C.getOption("model")}):($e.run("library/close"),elementor.notifications.showToast({message:$("Connected successfully.","elementor")}))},error:function error(){elementor.config.library_connect.is_connected=!1}})}})},40055:C=>{"use strict";C.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-header-actions",id:"elementor-template-library-header-actions",ui:{import:"#elementor-template-library-header-import i",sync:"#elementor-template-library-header-sync i",save:"#elementor-template-library-header-save i"},events:{"click @ui.import":"onImportClick","click @ui.sync":"onSyncClick","click @ui.save":"onSaveClick"},onImportClick:function onImportClick(){$e.route("library/import")},onSyncClick:function onSyncClick(){var C=this;C.ui.sync.addClass("eicon-animation-spin"),elementor.templates.requestLibraryData({onUpdate:function onUpdate(){C.ui.sync.removeClass("eicon-animation-spin"),$e.routes.refreshContainer("library")},forceUpdate:!0,forceSync:!0})},onSaveClick:function onSaveClick(){$e.route("library/save-template")}})},220:C=>{"use strict";C.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-header-back",id:"elementor-template-library-header-preview-back",events:{click:"onClick"},onClick:function onClick(){$e.routes.restoreState("library")}})},82830:C=>{"use strict";C.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-header-menu",id:"elementor-template-library-header-menu",templateHelpers:function templateHelpers(){return{tabs:$e.components.get("library").getTabs()}}})},17555:(C,T,B)=>{"use strict";var $=B(56284);C.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-header-preview",id:"elementor-template-library-header-preview",behaviors:{insertTemplate:{behaviorClass:$}}})},46831:(C,T,B)=>{"use strict";var $,V=B(73203),L=V(B(50824)),q=V(B(10029)),W=V(B(40548)),U=B(67010);$=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-import",id:"elementor-template-library-import",ui:{uploadForm:"#elementor-template-library-import-form",fileInput:"#elementor-template-library-import-form-input"},events:{"change @ui.fileInput":"onFileInputChange"},droppedFiles:null,submitForm:function submitForm(){var C,T=this;this.droppedFiles?(C=this.droppedFiles[0],this.droppedFiles=null):(C=this.ui.fileInput[0].files[0],this.ui.uploadForm[0].reset());var B=new FileReader;B.onload=function(B){return T.importTemplate(C.name,B.target.result.replace(/^[^,]+,/,""))},B.readAsDataURL(C)},importTemplate:function importTemplate(C,T){var B=this;return(0,q.default)(L.default.mark((function _callee(){var $;return L.default.wrap((function _callee$(V){for(;;)switch(V.prev=V.next){case 0:return $=elementor.templates.layout,B.options={data:{fileName:C,fileData:T},success:function success(C){elementor.templates.getTemplatesCollection().add(C),$e.route("library/templates/my-templates")},error:function error(C){elementor.templates.showErrorDialog(C),$.showImportView()},complete:function complete(){$.hideLoadingView()}},V.next=4,(0,U.showJsonUploadWarningMessageIfNeeded)({introductionMap:window.elementor.config.user.introduction,IntroductionClass:window.elementorModules.editor.utils.Introduction});case 4:elementorCommon.config.filesUpload.unfilteredFiles?B.sendImportRequest():W.default.getUnfilteredFilesNotEnabledImportTemplateDialog((function(){return B.sendImportRequest()})).show();case 5:case"end":return V.stop()}}),_callee)})))()},sendImportRequest:function sendImportRequest(){elementorCommon.ajax.addRequest("import_template",this.options),elementor.templates.layout.showLoadingView()},onRender:function onRender(){this.ui.uploadForm.on({"drag dragstart dragend dragover dragenter dragleave drop":this.onFormActions.bind(this),dragenter:this.onFormDragEnter.bind(this),"dragleave drop":this.onFormDragLeave.bind(this),drop:this.onFormDrop.bind(this)})},onFormActions:function onFormActions(C){C.preventDefault(),C.stopPropagation()},onFormDragEnter:function onFormDragEnter(){this.ui.uploadForm.addClass("elementor-drag-over")},onFormDragLeave:function onFormDragLeave(C){jQuery(C.relatedTarget).closest(this.ui.uploadForm).length||this.ui.uploadForm.removeClass("elementor-drag-over")},onFormDrop:function onFormDrop(C){this.droppedFiles=C.originalEvent.dataTransfer.files,this.submitForm()},onFileInputChange:function onFileInputChange(){this.submitForm()}}),C.exports=$},58489:C=>{"use strict";var T;T=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-preview",id:"elementor-template-library-preview",ui:{iframe:"> iframe"},onRender:function onRender(){this.ui.iframe.attr("src",this.getOption("url"))}}),C.exports=T},89482:C=>{"use strict";var T;T=Marionette.ItemView.extend({id:"elementor-template-library-save-template",template:"#tmpl-elementor-template-library-save-template",ui:{form:"#elementor-template-library-save-template-form",submitButton:"#elementor-template-library-save-template-submit"},events:{"submit @ui.form":"onFormSubmit"},getSaveType:function getSaveType(){return this.model?this.model.get("elType"):elementor.config.document.library&&elementor.config.document.library.save_as_same_type?elementor.config.document.type:"page"},templateHelpers:function templateHelpers(){var C=this.getSaveType();return elementor.templates.getTemplateTypes(C).saveDialog},onFormSubmit:function onFormSubmit(C){C.preventDefault();var T=this.ui.form.elementorSerializeObject(),B=this.getSaveType(),$={remove:["default"]};T.content=this.model?[this.model.toJSON($)]:elementor.elements.toJSON($),this.ui.submitButton.addClass("elementor-button-state"),elementor.templates.saveTemplate(B,T)}}),C.exports=T},75403:(C,T,B)=>{"use strict";var $,V=B(38003).__;$=Marionette.ItemView.extend({id:"elementor-template-library-templates-empty",template:"#tmpl-elementor-template-library-templates-empty",ui:{title:".elementor-template-library-blank-title",message:".elementor-template-library-blank-message"},modesStrings:{empty:{title:V("Haven’t Saved Templates Yet?","elementor"),message:V("This is where your templates should be. Design it. Save it. Reuse it.","elementor")},noResults:{title:V("No Results Found","elementor"),message:V("Please make sure your search is spelled correctly or try a different words.","elementor")},noFavorites:{title:V("No Favorite Templates","elementor"),message:V("You can mark any pre-designed template as a favorite.","elementor")}},getCurrentMode:function getCurrentMode(){return elementor.templates.getFilter("text")?"noResults":elementor.templates.getFilter("favorite")?"noFavorites":"empty"},onRender:function onRender(){var C=this.modesStrings[this.getCurrentMode()];this.ui.title.html(C.title),this.ui.message.html(C.message)}}),C.exports=$},15307:(C,T,B)=>{"use strict";var $,V=B(38003).__,L=B(73203)(B(91795)),q=B(70078),W=B(79032);$=Marionette.CompositeView.extend({template:"#tmpl-elementor-template-library-templates",id:"elementor-template-library-templates",childViewContainer:"#elementor-template-library-templates-container",reorderOnSort:!0,emptyView:function emptyView(){return new(B(75403))},ui:{textFilter:"#elementor-template-library-filter-text",selectFilter:".elementor-template-library-filter-select",myFavoritesFilter:"#elementor-template-library-filter-my-favorites",orderInputs:".elementor-template-library-order-input",orderLabels:"label.elementor-template-library-order-label"},events:{"input @ui.textFilter":"onTextFilterInput","change @ui.selectFilter":"onSelectFilterChange","change @ui.myFavoritesFilter":"onMyFavoritesFilterChange","mousedown @ui.orderLabels":"onOrderLabelsClick"},comparators:{title:function title(C){return C.get("title").toLowerCase()},popularityIndex:function popularityIndex(C){var popularityIndex=C.get("popularityIndex");return popularityIndex||(popularityIndex=C.get("date")),-popularityIndex},trendIndex:function trendIndex(C){var trendIndex=C.get("trendIndex");return trendIndex||(trendIndex=C.get("date")),-trendIndex}},getChildView:function getChildView(C){return"remote"===C.get("source")?W:q},initialize:function initialize(){this.listenTo(elementor.channels.templates,"filter:change",this._renderChildren)},filter:function filter(C){var T=elementor.templates.getFilterTerms(),B=!0;return jQuery.each(T,(function(T){var $=elementor.templates.getFilter(T);if($){if(this.callback){var V=this.callback.call(C,$);return V||(B=!1),V}var L=$===C.get(T);return L||(B=!1),L}})),B},order:function order(C,T){var B=this.comparators[C]||C;T&&(B=this.reverseOrder(B)),this.collection.comparator=B,this.collection.sort()},reverseOrder:function reverseOrder(C){if("function"!=typeof C){var T=C;C=function comparator(C){return C.get(T)}}return function(T,B){var $=C(T);if(void 0===$)return-1;var V=C(B);return void 0===V||$<V?1:$>V?-1:0}},addSourceData:function addSourceData(){var C=this.children.isEmpty();this.$el.attr("data-template-source",C?"empty":elementor.templates.getFilter("source"))},setFiltersUI:function setFiltersUI(){if(!this.select2Instance&&this.$(this.ui.selectFilter).length){var C=this.$(this.ui.selectFilter),T={placeholder:V("Category","elementor"),allowClear:!0,width:150,dropdownParent:this.$el};this.select2Instance=new L.default({$element:C,options:T})}},setMasonrySkin:function setMasonrySkin(){var C=new elementorModules.utils.Masonry({container:this.$childViewContainer,items:this.$childViewContainer.children()});this.$childViewContainer.imagesLoaded(C.run.bind(C))},toggleFilterClass:function toggleFilterClass(){this.$el.toggleClass("elementor-templates-filter-active",!(!elementor.templates.getFilter("text")&&!elementor.templates.getFilter("favorite")))},isPageOrLandingPageTemplates:function isPageOrLandingPageTemplates(){var C=elementor.templates.getFilter("type");return"page"===C||"lp"===C},onRender:function onRender(){"remote"===elementor.templates.getFilter("source")&&"page"!==elementor.templates.getFilter("type")&&"lb"!==elementor.templates.getFilter("type")&&this.setFiltersUI()},onRenderCollection:function onRenderCollection(){this.addSourceData(),this.toggleFilterClass(),"remote"!==elementor.templates.getFilter("source")||this.isPageOrLandingPageTemplates()||this.setMasonrySkin()},onBeforeRenderEmpty:function onBeforeRenderEmpty(){this.addSourceData()},onTextFilterInput:function onTextFilterInput(){elementor.templates.setFilter("text",this.ui.textFilter.val())},onSelectFilterChange:function onSelectFilterChange(C){var T=jQuery(C.currentTarget),B=T.data("elementor-filter");elementor.templates.setFilter(B,T.val())},onMyFavoritesFilterChange:function onMyFavoritesFilterChange(){elementor.templates.setFilter("favorite",this.ui.myFavoritesFilter[0].checked)},onOrderLabelsClick:function onOrderLabelsClick(C){var T,B=jQuery(C.currentTarget.control);B[0].checked||(T="asc"!==B.data("default-ordering-direction")),B.toggleClass("elementor-template-library-order-reverse",T),this.order(B.val(),B.hasClass("elementor-template-library-order-reverse"))}}),C.exports=$},93746:(C,T,B)=>{"use strict";var $,V=B(56284),L=B(56827),q=L.isTierAtLeast,W=L.TIERS;$=Marionette.ItemView.extend({className:function className(){var C="elementor-template-library-template",T=this.model.get("source");return C+=" elementor-template-library-template-"+T,"remote"===T&&(C+=" elementor-template-library-template-"+this.model.get("type")),elementor.config.library_connect.base_access_tier!==this.model.get("accessTier")&&(C+=" elementor-template-library-pro-template"),elementor.hooks.applyFilters("elementor/editor/template-library/template/classes",C,this)},attributes:function attributes(){var C=elementor.config.library_connect.current_access_tier,T=this.model.get("accessTier");if(q(C,T))return{};var B=elementor.config.library_connect.subscription_plans,$=B[T];return C===W.free&&($=B.essential),$?{style:'--elementor-template-library-subscription-plan-label: "'.concat($.label,'";--elementor-template-library-subscription-plan-color: ').concat($.color,";")}:{}},ui:function ui(){return{previewButton:".elementor-template-library-template-preview"}},events:function events(){return{"click @ui.previewButton":"onPreviewButtonClick"}},behaviors:function behaviors(){var behaviors={insertTemplate:{behaviorClass:V}};return elementor.hooks.applyFilters("elementor/editor/template-library/template/behaviors",behaviors,this)}}),C.exports=$},70078:(C,T,B)=>{"use strict";var $,V=B(93746);$=V.extend({template:"#tmpl-elementor-template-library-template-local",ui:function ui(){return _.extend(V.prototype.ui.apply(this,arguments),{deleteButton:".elementor-template-library-template-delete",morePopup:".elementor-template-library-template-more",toggleMore:".elementor-template-library-template-more-toggle",toggleMoreIcon:".elementor-template-library-template-more-toggle i"})},events:function events(){return _.extend(V.prototype.events.apply(this,arguments),{"click @ui.deleteButton":"onDeleteButtonClick","click @ui.toggleMore":"onToggleMoreClick"})},onDeleteButtonClick:function onDeleteButtonClick(){var C=this.ui.toggleMoreIcon;elementor.templates.deleteTemplate(this.model,{onConfirm:function onConfirm(){C.removeClass("eicon-ellipsis-h").addClass("eicon-loading eicon-animation-spin")},onSuccess:function onSuccess(){elementor.templates.showTemplates()}})},onToggleMoreClick:function onToggleMoreClick(){this.ui.morePopup.show()},onPreviewButtonClick:function onPreviewButtonClick(){open(this.model.get("url"),"_blank")}}),C.exports=$},79032:(C,T,B)=>{"use strict";var $,V=B(93746);$=V.extend({template:"#tmpl-elementor-template-library-template-remote",ui:function ui(){return jQuery.extend(V.prototype.ui.apply(this,arguments),{favoriteCheckbox:".elementor-template-library-template-favorite-input"})},events:function events(){return jQuery.extend(V.prototype.events.apply(this,arguments),{"change @ui.favoriteCheckbox":"onFavoriteCheckboxChange"})},onPreviewButtonClick:function onPreviewButtonClick(){$e.route("library/preview",{model:this.model})},onFavoriteCheckboxChange:function onFavoriteCheckboxChange(){var C=this.ui.favoriteCheckbox[0].checked;this.model.set("favorite",C),elementor.templates.markAsFavorite(this.model,C),!C&&elementor.templates.getFilter("favorite")&&elementor.channels.templates.trigger("filter:change")}}),C.exports=$},96731:C=>{"use strict";C.exports=elementorModules.Module.extend({errors:[],__construct:function __construct(C){var T=C.customValidationMethod;T&&(this.validationMethod=T)},getDefaultSettings:function getDefaultSettings(){return{validationTerms:{}}},isValid:function isValid(){var C=this.validationMethod.apply(this,arguments);return!C.length||(this.errors=C,!1)},validationMethod:function validationMethod(C){var T=[];return this.getSettings("validationTerms").required&&((""+C).length||T.push("Required value is empty")),T}})},33273:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=B(12161),G=function(C){(0,q.default)(BreakpointValidator,C);var T=_createSuper(BreakpointValidator);function BreakpointValidator(){return(0,V.default)(this,BreakpointValidator),T.apply(this,arguments)}return(0,L.default)(BreakpointValidator,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{validationTerms:{max:5120}}}},{key:"getPanelActiveBreakpoints",value:function getPanelActiveBreakpoints(){var C=elementor.documents.currentDocument.config.settings.settings.active_breakpoints.map((function(C){return C.replace("viewport_","")})),T={};return C.forEach((function(C){T[C]=elementorFrontend.config.responsive.breakpoints[C]})),T}},{key:"initBreakpointProperties",value:function initBreakpointProperties(){var C,T,B=this.getSettings("validationTerms"),$=this.getPanelActiveBreakpoints(),V=Object.keys($);this.breakpointIndex=V.indexOf(B.breakpointName),this.topBreakpoint=null===(C=$[V[this.breakpointIndex+1]])||void 0===C?void 0:C.value,this.bottomBreakpoint=null===(T=$[V[this.breakpointIndex-1]])||void 0===T?void 0:T.value}},{key:"validationMethod",value:function validationMethod(C){var T=this.getSettings("validationTerms"),B=H.prototype.validationMethod.call(this,C);return(_.isFinite(C)||""===C)&&(this.validateMinMaxForBreakpoint(C,T)||B.push("Value is not between the breakpoints above or under the edited breakpoint")),B}},{key:"validateMinMaxForBreakpoint",value:function validateMinMaxForBreakpoint(C,T){var B=elementorFrontend.config.responsive.breakpoints[T.breakpointName].default_value,$=!0;return this.initBreakpointProperties(),"mobile"===T.breakpointName&&320===this.bottomBreakpoint&&(this.bottomBreakpoint-=1),this.bottomBreakpoint&&(""!==C&&C<=this.bottomBreakpoint&&($=!1),""===C&&B<=this.bottomBreakpoint&&($=!1)),this.topBreakpoint&&(""!==C&&C>=this.topBreakpoint&&($=!1),""===C&&B>=this.topBreakpoint&&($=!1)),$}}]),BreakpointValidator}(H);T.default=G},12161:(C,T,B)=>{"use strict";var $=B(96731);C.exports=$.extend({validationMethod:function validationMethod(C){var T=this.getSettings("validationTerms"),B=[];return _.isFinite(C)&&(void 0!==T.min&&C<T.min&&B.push("Value is less than minimum"),void 0!==T.max&&C>T.max&&B.push("Value is greater than maximum")),B}})},40871:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createForOfIteratorHelper(C,T){var B="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!B){if(Array.isArray(C)||(B=function _unsupportedIterableToArray(C,T){if(!C)return;if("string"==typeof C)return _arrayLikeToArray(C,T);var B=Object.prototype.toString.call(C).slice(8,-1);"Object"===B&&C.constructor&&(B=C.constructor.name);if("Map"===B||"Set"===B)return Array.from(C);if("Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return _arrayLikeToArray(C,T)}(C))||T&&C&&"number"==typeof C.length){B&&(C=B);var $=0,V=function F(){};return{s:V,n:function n(){return $>=C.length?{done:!0}:{done:!1,value:C[$++]}},e:function e(C){throw C},f:V}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var L,q=!0,W=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return q=C.done,C},e:function e(C){W=!0,L=C},f:function f(){try{q||null==B.return||B.return()}finally{if(W)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);B<T;B++)$[B]=C[B];return $}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(ChildrenArray,C);var T=_createSuper(ChildrenArray);function ChildrenArray(){return(0,V.default)(this,ChildrenArray),T.apply(this,arguments)}return(0,L.default)(ChildrenArray,[{key:"clear",value:function clear(){this.length=0}},{key:"findRecursive",value:function findRecursive(C){var T,B=_createForOfIteratorHelper(this);try{for(B.s();!(T=B.n()).done;){var $=T.value;if(C($))return $;if($.children.length){var V=$.children.findRecursive(C);if(V)return V}}}catch(C){B.e(C)}finally{B.f()}return!1}},{key:"forEachRecursive",value:function forEachRecursive(C){var T,B=_createForOfIteratorHelper(this);try{for(B.s();!(T=B.n()).done;){var $=T.value;C($),$.children.length&&$.children.forEachRecursive(C)}}catch(C){B.e(C)}finally{B.f()}}},{key:"someRecursive",value:function someRecursive(C){var T,B=_createForOfIteratorHelper(this);try{for(B.s();!(T=B.n()).done;){var $,V=T.value;if(C(V))return!0;if(null!==($=V.children)&&void 0!==$&&$.length&&V.children.someRecursive(C))return!0}}catch(C){B.e(C)}finally{B.f()}return!1}}]),ChildrenArray}((0,$(B(19952)).default)(Array));T.default=H},53005:(C,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<T;B++)$[B]=C[B];return $}var W,U=B(15584),H=B(85422),G=B(96731),K=B(12161);W=U.extend({validatorTypes:{Base:G,Number:K,Breakpoint:q.default},ui:function ui(){var ui=U.prototype.ui.apply(this,arguments);return _.extend(ui,{input:'input[data-setting][type!="checkbox"][type!="radio"]',checkbox:'input[data-setting][type="checkbox"]',radio:'input[data-setting][type="radio"]',select:"select[data-setting]",textarea:"textarea[data-setting]",responsiveSwitchersSibling:"".concat(ui.controlTitle,'[data-e-responsive-switcher-sibling!="false"]'),responsiveSwitchers:".elementor-responsive-switcher",contentEditable:'[contenteditable="true"]'}),ui},templateHelpers:function templateHelpers(){var C=U.prototype.templateHelpers.apply(this,arguments);return C.data.controlValue=this.getControlValue(),C},events:function events(){return{"input @ui.input":"onBaseInputTextChange","change @ui.checkbox":"onBaseInputChange","change @ui.radio":"onBaseInputChange","input @ui.textarea":"onBaseInputTextChange","change @ui.select":"onBaseInputChange","input @ui.contentEditable":"onBaseInputTextChange","click @ui.responsiveSwitchers":"onResponsiveSwitchersClick"}},behaviors:function behaviors(){var behaviors=U.prototype.behaviors.apply(this,arguments),C=this.options.model.get("dynamic");if(C&&C.active){var T=_.filter(elementor.dynamicTags.getConfig("tags"),(function(T){return T.editable&&_.intersection(T.categories,C.categories).length}));(T.length||elementor.config.user.is_administrator)&&(behaviors.tags={behaviorClass:H,tags:T,dynamicSettings:C})}return behaviors},initialize:function initialize(){U.prototype.initialize.apply(this,arguments),this.registerValidators(),this.model.get("responsive")&&this.setPlaceholderFromParent(),void 0===this.model.get("inherit_placeholders")&&this.model.set("inherit_placeholders",!0);var C=this.container?this.container.settings:this.elementSettingsModel;this.listenTo(C,"change:external:"+this.model.get("name"),this.onAfterExternalChange)},getControlValue:function getControlValue(){return this.container.settings.get(this.model.get("name"))},getGlobalKey:function getGlobalKey(){return this.container.globals.get(this.model.get("name"))},getGlobalValue:function getGlobalValue(){return this.globalValue},getGlobalDefault:function getGlobalDefault(){var C=this.model.get("global");if(null!=C&&C.default){if(!elementor.config.globals.defaults_enabled[this.getGlobalMeta().controlType])return"";var T=$e.data.commandExtractArgs(C.default),B=T.command,$=T.args,V=$e.data.getCache($e.components.get("globals"),B,$.query);return null==V?void 0:V.value}return""},getCurrentValue:function getCurrentValue(){if(this.getGlobalKey()&&!this.globalValue)return"";if(this.globalValue)return this.globalValue;var C=this.getControlValue();return C||this.getGlobalDefault()},isGlobalActive:function isGlobalActive(){var C;return null===(C=this.options.model.get("global"))||void 0===C?void 0:C.active},setValue:function setValue(C){this.setSettingsModel(C)},setSettingsModel:function setSettingsModel(C){var T=this.model.get("name");$e.run("document/elements/settings",{container:this.options.container,settings:(0,L.default)({},T,C)}),this.triggerMethod("settings:change")},applySavedValue:function applySavedValue(){this.setInputValue('[data-setting="'+this.model.get("name")+'"]',this.getControlValue())},getEditSettings:function getEditSettings(C){var T=this.getOption("elementEditSettings").toJSON();return C?T[C]:T},setEditSetting:function setEditSetting(C,T){(this.getOption("elementEditSettings")||this.getOption("container").settings).set(C,T)},getControlPlaceholder:function getControlPlaceholder(){var C=this.model.get("placeholder");return this.model.get("responsive")&&this.model.get("inherit_placeholders")&&(C=C||this.container.placeholders[this.model.get("name")]),C},getResponsiveParentView:function getResponsiveParentView(){var C=this.model.get("parent");try{return C&&this.container.panel.getControlView(C)}catch(C){}},getResponsiveChildrenViews:function getResponsiveChildrenViews(){var C=this.model.get("inheritors"),T=[];try{var B,$=_createForOfIteratorHelper(C);try{for($.s();!(B=$.n()).done;){var V=B.value;T.push(this.container.panel.getControlView(V))}}catch(C){$.e(C)}finally{$.f()}}catch(C){}return T},setPlaceholderFromParent:function setPlaceholderFromParent(){var C=this.getResponsiveParentView();C&&(this.container.placeholders[this.model.get("name")]=C.preparePlaceholderForChildren())},preparePlaceholderForChildren:function preparePlaceholderForChildren(){var C,T=this.getCleanControlValue(),B=null===(C=this.getResponsiveParentView())||void 0===C?void 0:C.preparePlaceholderForChildren();return T instanceof Object?Object.assign({},B,T):T||B},propagatePlaceholder:function propagatePlaceholder(){var C,T=_createForOfIteratorHelper(this.getResponsiveChildrenViews());try{for(T.s();!(C=T.n()).done;){C.value.renderWithChildren()}}catch(C){T.e(C)}finally{T.f()}},renderWithChildren:function renderWithChildren(){this.render(),this.propagatePlaceholder()},getCleanControlValue:function getCleanControlValue(){var C=this.getControlValue();return C&&C!==this.model.get("default")?C:void 0},onAfterChange:function onAfterChange(C){Object.keys(C.changed).includes(this.model.get("name"))&&this.propagatePlaceholder(),U.prototype.onAfterChange.apply(this,arguments)},getInputValue:function getInputValue(C){var T=this.$(C);if(T.is('[contenteditable="true"]'))return T.html();var B=T.val(),$=T.attr("type");return-1!==["radio","checkbox"].indexOf($)?T.prop("checked")?B:"":"number"===$&&_.isFinite(B)?+B:("SELECT"===C.tagName&&T.prop("multiple")&&null===B&&(B=[]),B)},setInputValue:function setInputValue(C,T){var B=this.$(C),$=B.attr("type");"checkbox"===$?B.prop("checked",!!T):"radio"===$?B.filter('[value="'+T+'"]').prop("checked",!0):B.val(T)},addValidator:function addValidator(C){this.validators.push(C)},registerValidators:function registerValidators(){var C=this;this.validators=[];var T={};this.model.get("required")&&(T.required=!0),jQuery.isEmptyObject(T)||this.addValidator(new this.validatorTypes.Base({validationTerms:T}));var B=this.model.get("validators");B&&Object.entries(B).forEach((function(T){var B=(0,V.default)(T,2),$=B[0],L=B[1];C.addValidator(new C.validatorTypes[$]({validationTerms:L}))}))},onBeforeRender:function onBeforeRender(){this.setPlaceholderFromParent()},onRender:function onRender(){U.prototype.onRender.apply(this,arguments),this.model.get("responsive")&&this.renderResponsiveSwitchers(),this.applySavedValue(),this.triggerMethod("ready"),this.toggleControlVisibility(),this.addTooltip()},onBaseInputTextChange:function onBaseInputTextChange(C){this.onBaseInputChange(C)},onBaseInputChange:function onBaseInputChange(C){clearTimeout(this.correctionTimeout);var T=C.currentTarget,B=this.getInputValue(T),$=this.validators.slice(0),V=this.container.settings.validators[this.model.get("name")];if(V&&($=$.concat(V)),$){var L=this.getControlValue(T.dataset.setting);if(!$.every((function(C){return C.isValid(B,L)})))return void(this.correctionTimeout=setTimeout(this.setInputValue.bind(this,T,L),1200))}this.updateElementModel(B,T),this.triggerMethod("input:change",C)},onResponsiveSwitchersClick:function onResponsiveSwitchersClick(C){var T=jQuery(C.currentTarget),B=T.data("device"),$=this.ui.responsiveSwitchersWrapper,V=T.index();$.toggleClass("elementor-responsive-switchers-open"),$[0].style.setProperty("--selected-option",V),this.triggerMethod("responsive:switcher:click",B),elementor.changeDeviceMode(B)},renderResponsiveSwitchers:function renderResponsiveSwitchers(){var C=Marionette.Renderer.render("#tmpl-elementor-control-responsive-switchers",this.model.attributes);this.ui.responsiveSwitchersSibling.after(C),this.ui.responsiveSwitchersWrapper=this.$el.find(".elementor-control-responsive-switchers")},onAfterExternalChange:function onAfterExternalChange(){this.hideTooltip(),this.applySavedValue()},addTooltip:function addTooltip(){this.ui.tooltipTargets=this.$el.find(".tooltip-target"),this.ui.tooltipTargets.length&&this.ui.tooltipTargets.tipsy({gravity:function gravity(){var gravity=jQuery(this).data("tooltip-pos");return void 0!==gravity?gravity:"s"},title:function title(){return this.getAttribute("data-tooltip")}})},hideTooltip:function hideTooltip(){this.ui.tooltipTargets.length&&this.ui.tooltipTargets.tipsy("hide")},updateElementModel:function updateElementModel(C){this.setValue(C)}},{getStyleValue:function getStyleValue(C,T,B){return"DEFAULT"===C?B.default:T},onPasteStyle:function onPasteStyle(){return!0}}),C.exports=W},87474:(C,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);B<T;B++)$[B]=C[B];return $}var $,V=B(87474);$=V.extend({ui:function ui(){return Object.assign(V.prototype.ui.apply(this,arguments),{units:".e-units-choices>input",unitSwitcher:".e-units-switcher",unitChoices:".e-units-choices"})},events:function events(){return Object.assign(V.prototype.events.apply(this,arguments),{"change @ui.units":"onUnitChange","click @ui.units":"onUnitClick","click @ui.unitSwitcher":"onUnitLabelClick"})},updatePlaceholder:function updatePlaceholder(){var C,T=null===(C=this.getControlPlaceholder())||void 0===C?void 0:C.unit;this.ui.units.removeClass("e-units-placeholder"),T!==this.getControlValue("unit")&&this.ui.units.filter('[value="'.concat(T,'"]')).addClass("e-units-placeholder")},recursiveUnitChange:function recursiveUnitChange(){var C=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],T=this.getResponsiveParentView();if(T&&C){var B=T.getControlValue("unit"),$=Object.keys(this.getCleanControlValue()||{});$.splice($.indexOf("unit"),1),B&&!$.length&&(this.setValue("unit",B),this.render())}var V,L=_createForOfIteratorHelper(this.getResponsiveChildrenViews());try{for(L.s();!(V=L.n()).done;){V.value.recursiveUnitChange()}}catch(C){L.e(C)}finally{L.f()}},onRender:function onRender(){V.prototype.onRender.apply(this,arguments),this.updatePlaceholder(),this.updateUnitChoices()},onUnitChange:function onUnitChange(){this.toggleUnitChoices(!1),this.recursiveUnitChange(!1),this.updatePlaceholder(),this.updateUnitChoices()},toggleUnitChoices:function toggleUnitChoices(C){this.ui.unitChoices.toggleClass("e-units-choices-open",C)},updateUnitChoices:function updateUnitChoices(){var C=this.getControlValue("unit");this.ui.unitSwitcher.attr("data-selected",C).find("span").html(C),this.$el.toggleClass("e-units-custom",this.isCustomUnit())},onUnitClick:function onUnitClick(){this.toggleUnitChoices(!1)},onUnitLabelClick:function onUnitLabelClick(C){C.preventDefault(),this.toggleUnitChoices()},getCurrentRange:function getCurrentRange(){return this.getUnitRange(this.getControlValue("unit"))},getUnitRange:function getUnitRange(C){var T=this.model.get("range");return!!T&&(T[C]||(T[C]=Object.values(T)[0]),T[C])},isCustomUnit:function isCustomUnit(){return"custom"===this.getControlValue("unit")}},{getStyleValue:function getStyleValue(C,T){var B=V.getStyleValue(C,T);return"UNIT"===C&&"custom"===B&&(B="__EMPTY__"),B}}),C.exports=$},15584:(C,T,B)=>{"use strict";var $,V=B(73203)(B(93231));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,V.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}$=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.model.get("label");Object.defineProperty(this,"container",{get:function get(){if(!C.container){var B=C.elementSettingsModel,$=$e.components.get("document").utils.findViewById(B.id);$&&$.getContainer?C.container=$.getContainer():(B.id||(B.id="bc-"+elementorCommon.helpers.getUniqueId()),C.container=new elementorModules.editor.Container({type:"bc-container",id:B.id,model:B,settings:B,label:T,view:!1,parent:!1,renderer:!1,controls:B.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 B=this.model.get("type"),$=jQuery.extend(!0,{},elementor.config.controls[B],this.model.attributes);this.model.set($);var V=this.container?this.container.settings:this.elementSettingsModel;this.listenTo(V,"change",this.onAfterChange),this.model.attributes.responsive&&(this.onDeviceModeChange=this.onDeviceModeChange.bind(this),elementor.listenTo(elementor.channels.deviceMode,"change",this.onDeviceModeChange))},onDestroy:function onDestroy(){elementor.stopListening(elementor.channels.deviceMode,"change",this.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()},reRoute:function reRoute(C){$e.route($e.routes.getCurrent("panel"),this.getControlInRouteArgs(C?this.getControlPath():""),{history:!1})},getControlInRouteArgs:function getControlInRouteArgs(C){return _objectSpread(_objectSpread({},$e.routes.getCurrentArgs("panel")),{},{activeControl:C})},getControlPath:function getControlPath(){for(var C=this.model.get("name"),T=this._parent;!T.$el.hasClass("elementor-controls-stack");){C=(T.model.get("name")||T.model.get("_id"))+"/"+C,T=T._parent}return C}}),C.exports=$},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)),U=$(B(71173)),H=$(B(74910)),G=$(B(93231)),K=B(79188);function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var Q="UPDATE-VALUE",J="UPDATE-VALUE-ENHANCED",Y="SKIP-UPDATE-VALUE",X=function(C){(0,W.default)(Scrubbing,C);var T=_createSuper(Scrubbing);function Scrubbing(){var C;(0,V.default)(this,Scrubbing);for(var B=arguments.length,$=new Array(B),L=0;L<B;L++)$[L]=arguments[L];C=T.call.apply(T,[this].concat($)),(0,G.default)((0,q.default)(C),"checkIntentTimeout",null),(0,G.default)((0,q.default)(C),"skipperCount",0);var W=C.getOption("scrubSettings")||{};return C.scrubSettings=function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,G.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}({intentTime:600,skipperSteps:10,valueModifier:1,enhancedNumber:10,scrubbingActiveClass:"e-scrubbing--active",scrubbingOverClass:"e-scrubbing-over"},W),C}return(0,L.default)(Scrubbing,[{key:"ui",value:function ui(){return{input:"input[type=number]",label:'label[for^="elementor-control-"]'}}},{key:"events",value:function events(){return{"mousedown @ui.input":"onMouseDownInput","mousedown @ui.label":"onMouseDownLabel","mouseenter @ui.label":"onMouseEnterLabel","mouseleave @ui.label":"onMouseLeaveLabel"}}},{key:"scrub",value:function scrub(C,T){var B=this.getMovementType(T);if(Y!==B){switch(B){case Q:C.value=this.getModifiedValue({value:C.value,change:T.movementX,modifier:this.scrubSettings.valueModifier});break;case J:C.value=this.getModifiedValue({value:C.value,change:T.movementX,modifier:this.scrubSettings.enhancedNumber})}C.dispatchEvent(new Event("input",{bubbles:!0}))}}},{key:"getMovementType",value:function getMovementType(C){return C.altKey?(this.skipperCount++,this.skipperCount<=this.scrubSettings.skipperSteps?Y:(this.skipperCount=0,Q)):C.ctrlKey||C.metaKey?J:Q}},{key:"getModifiedValue",value:function getModifiedValue(C){var T=C.value,B=C.change,$=C.modifier;return"function"==typeof $&&($=$()),parseFloat((+T+B*$).toFixed(1))}},{key:"isInputValidForScrubbing",value:function isInputValidForScrubbing(C){return C&&!C.disabled&&"number"===C.type}},{key:"setActive",value:function setActive(C){var T=this;C.forEach((function(C){C.classList.add(T.scrubSettings.scrubbingActiveClass)}))}},{key:"setInactive",value:function setInactive(C){var T=this;C.forEach((function(C){C.classList.remove(T.scrubSettings.scrubbingActiveClass)}))}},{key:"onMouseDownInput",value:function onMouseDownInput(C){var T=this,B=C.target;if(this.isInputValidForScrubbing(B)){var $=function trackMovement(C){T.scrub(B,C)},V=setTimeout((function(){clearTimeout(V),document.addEventListener("mousemove",$),$e.uiStates.set("document/scrubbing-mode",K.ScrubbingMode.ON),T.setActive([B])}),this.scrubSettings.intentTime);document.addEventListener("mouseup",(function(){document.removeEventListener("mousemove",$),clearTimeout(V),$e.uiStates.remove("document/scrubbing-mode"),T.setInactive([B])}),{once:!0})}}},{key:"onMouseDownLabel",value:function onMouseDownLabel(C){var T=this,B=C.target,$=C.target.control;if(this.isInputValidForScrubbing($)){$e.uiStates.set("document/scrubbing-mode",K.ScrubbingMode.ON),this.setActive([$,B]);var V=function trackMovement(C){T.scrub($,C)};document.addEventListener("mousemove",V),document.addEventListener("mouseup",(function(){document.removeEventListener("mousemove",V),$e.uiStates.remove("document/scrubbing-mode"),T.setInactive([$,B])}),{once:!0})}}},{key:"onMouseEnterLabel",value:function onMouseEnterLabel(C){var T=C.target.control;this.isInputValidForScrubbing(T)&&C.target.classList.add(this.scrubSettings.scrubbingOverClass)}},{key:"onMouseLeaveLabel",value:function onMouseLeaveLabel(C){var T=C.target.control;this.isInputValidForScrubbing(T)&&C.target.classList.remove(this.scrubSettings.scrubbingOverClass)}}]),Scrubbing}(Marionette.Behavior);T.default=X},23594:(C,T,B)=>{"use strict";var $,V=B(73203)(B(65863)),L=B(87474);$=L.extend({ui:function ui(){var ui=L.prototype.ui.apply(this,arguments);return ui.sliders=".elementor-slider",ui.colorPickerPlaceholder=".elementor-color-picker-placeholder",ui},initSliders:function initSliders(){var C=this,T=this.getControlValue();this.ui.sliders.each((function(B,$){var V=jQuery($).next(".elementor-slider-input").find("input"),L=noUiSlider.create($,{start:[T[$.dataset.input]],step:1,range:{min:+V.attr("min"),max:+V.attr("max")},format:{to:function to(C){return+C.toFixed(1)},from:function from(C){return+C}}});L.on("slide",(function(T){var B=L.target.dataset.input;V.val(T[0]),C.setValue(B,T[0])}))}))},initColors:function initColors(){var C=this;this.colorPicker=new V.default({picker:{el:this.ui.colorPickerPlaceholder[0],default:this.getControlValue("color")},onChange:function onChange(){C.setValue("color",C.colorPicker.getColor())},onClear:function onClear(){C.setValue("color","")}})},onInputChange:function onInputChange(C){var T=C.currentTarget.dataset.setting;this.ui.sliders.filter('[data-input="'+T+'"]')[0].noUiSlider.set(this.getControlValue(T))},onReady:function onReady(){this.initSliders(),this.initColors()},onBeforeDestroy:function onBeforeDestroy(){this.colorPicker.destroy()}}),C.exports=$},73309:(C,T,B)=>{"use strict";var $=B(15584);C.exports=$.extend({ui:function ui(){var ui=$.prototype.ui.apply(this,arguments);return ui.button="button",ui},events:{"click @ui.button":"onButtonClick"},onButtonClick:function onButtonClick(){var C=this.model.get("event");elementor.channels.editor.trigger(C,this)}})},11292:(C,T,B)=>{"use strict";var $,V=B(53005);$=V.extend({ui:function ui(){var ui=V.prototype.ui.apply(this,arguments);return ui.inputs='[type="radio"]',ui},events:function events(){return _.extend(V.prototype.events.apply(this,arguments),{"mousedown label":"onMouseDownLabel","click @ui.inputs":"onClickInput","change @ui.inputs":"onBaseInputChange"})},updatePlaceholder:function updatePlaceholder(){var C=this.getControlPlaceholder();!this.getControlValue()&&C?this.ui.inputs.filter('[value="'.concat(this.getControlPlaceholder(),'"]')).addClass("e-choose-placeholder"):this.ui.inputs.removeClass("e-choose-placeholder")},onReady:function onReady(){this.updatePlaceholder()},applySavedValue:function applySavedValue(){var C=this.getControlValue();C?this.ui.inputs.filter('[value="'+C+'"]').prop("checked",!0):this.ui.inputs.filter(":checked").prop("checked",!1)},onMouseDownLabel:function onMouseDownLabel(C){var T=this.$(C.currentTarget),B=this.$("#"+T.attr("for"));B.data("checked",B.prop("checked"))},onClickInput:function onClickInput(C){if(this.model.get("toggle")){var T=this.$(C.currentTarget);T.data("checked")&&T.prop("checked",!1).trigger("change")}},onBaseInputChange:function onBaseInputChange(){V.prototype.onBaseInputChange.apply(this,arguments),this.updatePlaceholder()}},{onPasteStyle:function onPasteStyle(C,T){return""===T||void 0!==C.options[T]}}),C.exports=$},16543:(C,T,B)=>{"use strict";var $,V=B(53005);$=V.extend({ui:function ui(){var ui=V.prototype.ui.apply(this,arguments);return ui.editor=".elementor-code-editor",ui},onReady:function onReady(){var C=this;if("undefined"!=typeof ace){var T=ace.require("ace/ext/language_tools"),B=elementor.settings.editorPreferences.model.get("ui_theme"),$=matchMedia("(prefers-color-scheme: dark)").matches;if(C.editor=ace.edit(this.ui.editor[0]),jQuery(C.editor.container).addClass("e-input-style elementor-code-editor elementor-control-tag-area"),C.editor.setOptions({mode:"ace/mode/"+C.model.attributes.language,minLines:10,maxLines:1/0,showGutter:!0,useWorker:!0,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0}),("dark"===B||"auto"===B&&$)&&C.editor.setTheme("ace/theme/merbivore_soft"),C.editor.getSession().setUseWrapMode(!0),elementor.panel.$el.on("resize.aceEditor",C.onResize.bind(this)),"css"===C.model.attributes.language){T.addCompleter({getCompletions:function getCompletions(C,T,B,$,V){var L=[],q=T.getTokenAt(B.row,B.column);0<$.length&&"selector".match($)&&"constant"===q.type&&(L=[{name:"selector",value:"selector",score:1,meta:"Elementor"}]),V(null,L)}})}if(C.editor.setValue(C.getControlValue(),-1),this.isEditable()&&C.editor.on("change",(function(){C.setValue(C.editor.getValue())})),"html"===C.model.attributes.language){var V=C.editor.getSession();V.on("changeAnnotation",(function(){for(var C=V.getAnnotations()||[],T=C.length,B=C.length;B--;)/doctype first\. Expected/.test(C[B].text)&&C.splice(B,1);T>C.length&&V.setAnnotations(C)}))}}},onResize:function onResize(){this.editor.resize()},onDestroy:function onDestroy(){elementor.panel.$el.off("resize.aceEditor")},isEditable:function isEditable(){var isEditable=this.model.get("is_editable");return void 0===isEditable||isEditable}}),C.exports=$},12031:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(50824)),q=V(B(10029)),W=V(B(9833)),U=V(B(78983)),H=V(B(42081)),G=V(B(51121)),K=V(B(58724)),Q=V(B(71173)),J=V(B(74910)),Y=V(B(53005)),X=V(B(65863));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,J.default)(C);if(T){var V=(0,J.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,Q.default)(this,B)}}var Z=function(C){(0,K.default)(_default,C);var T,B=_createSuper(_default);function _default(){return(0,U.default)(this,_default),B.apply(this,arguments)}return(0,H.default)(_default,[{key:"ui",value:function ui(){var ui=(0,G.default)((0,J.default)(_default.prototype),"ui",this).call(this);return ui.pickerContainer=".elementor-color-picker-placeholder",ui}},{key:"applySavedValue",value:function applySavedValue(){var C=this.getCurrentValue();if(this.colorPicker)if(C){var T,B=this.colorPicker.picker._parseLocalColor(C);(T=this.colorPicker.picker).setHSVA.apply(T,(0,W.default)(B.values).concat([!1]))}else this.colorPicker.picker._clearColor(!0);else this.initPicker();this.$el.toggleClass("e-control-color--no-value",!C)}},{key:"initPicker",value:function initPicker(){var C,T=this,B={picker:{el:this.ui.pickerContainer[0],default:this.getCurrentValue(),components:{opacity:this.model.get("alpha")},defaultRepresentation:"HEX"},addButton:null===(C=this.model.get("global"))||void 0===C?void 0:C.active,onChange:function onChange(){return T.onPickerChange()},onClear:function onClear(){return T.onPickerClear()},onAddButtonClick:function onAddButtonClick(){return T.onAddGlobalButtonClick()},onPickerShow:function onPickerShow(){return T.reRoute(!0)},onPickerHide:function onPickerHide(){return T.reRoute(!1)}};this.colorPicker=new X.default(B),this.hidePickerOnPreviewClick(),this.$pickerButton=jQuery(this.colorPicker.picker.getRoot().button),this.addTipsyToPickerButton(),this.addEyedropper(),this.$pickerButton.on("click",(function(){return T.onPickerButtonClick()})),jQuery(this.colorPicker.picker.getRoot().root).addClass("elementor-control-unit-1 elementor-control-tag-area")}},{key:"hidePickerOnPreviewClick",value:function hidePickerOnPreviewClick(){var C=this.colorPicker.picker,T=C.constructor.utils;C._eventBindings.push(T.on(elementorFrontend.elements.window.document,["touchstart","pointerdown"],(function(){C.isOpen()&&C.hide()})))}},{key:"addTipsyToPickerButton",value:function addTipsyToPickerButton(){var C=this;this.$pickerButton.tipsy({title:function title(){var T=C.getCurrentValue();return C.getGlobalKey()&&!T&&(T="".concat($("Invalid Global Color","elementor"))),T||""},offset:4,gravity:function gravity(){return"s"}})}},{key:"addEyedropper",value:function addEyedropper(){var C=this,T=jQuery(Marionette.Renderer.render("#tmpl-elementor-control-element-color-picker")),B=this.colorPicker.$pickerToolsContainer,V=this.getOption("container"),L=null;"kit"===V.document.config.type&&(L=V.document),T.tipsy({title:function title(){return $("Color Sampler","elementor")},gravity:"s"}),T.on("click",(function(){$e.run("elements-color-picker/start",{container:V,kit:L,control:C.model.get("name"),trigger:T[0]})})),B.append(T)}},{key:"getGlobalMeta",value:function getGlobalMeta(){return{commandName:this.getGlobalCommand(),key:this.model.get("name"),controlType:"colors",route:"panel/global/global-colors"}}},{key:"getNameAlreadyExistsMessage",value:function getNameAlreadyExistsMessage(){return'<i class="eicon-info-circle"></i> '+$("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("<div>",{class:"e-global__confirm-message"}),q=jQuery("<div>",{class:"e-global__confirm-message-text"}),W=jQuery("<div>",{class:"e-global__confirm-input-wrapper"}),U=this.createColorPreviewBox(V),H=jQuery("<input>",{type:"text",name:"global-name",placeholder:B}).val(B),G=0,K=Object.values(C);G<K.length;G++){var Q=K[G];if(V===Q.value){T=this.getNameAlreadyExistsMessage();break}if(B===Q.title){T=this.getConfirmTextMessage();break}T=$("Are you sure you want to create a new Global Color?","elementor")}return q.html(T),W.append(U,H),L.append(q,W),L}},{key:"getGlobalCommand",value:function getGlobalCommand(){return"globals/colors"}},{key:"createGlobalItemMarkup",value:function createGlobalItemMarkup(C){var T=jQuery("<div>",{class:"e-global__preview-item e-global__color","data-global-id":C.id}),B=this.createColorPreviewBox(C.value),$=jQuery("<span>",{class:"e-global__color-title"}).html(C.title),V=jQuery("<span>",{class:"e-global__color-hex"}).html(C.value);return T.append(B,$,V),T}},{key:"createColorPreviewBox",value:function createColorPreviewBox(C){var T=jQuery("<div>",{class:"e-global__color-preview-container"}),B=jQuery("<div>",{class:"e-global__color-preview-color",style:"background-color: "+C}),$=jQuery("<div>",{class:"e-global__color-preview-transparent-bg"});return T.append($,B),T}},{key:"getGlobalsList",value:(T=(0,q.default)(L.default.mark((function _callee(){var C;return L.default.wrap((function _callee$(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,$e.data.get(this.getGlobalCommand());case 2:return C=T.sent,T.abrupt("return",C.data);case 4:case"end":return T.stop()}}),_callee,this)}))),function getGlobalsList(){return T.apply(this,arguments)})},{key:"buildGlobalsList",value:function buildGlobalsList(C,T){var B=this;Object.values(C).forEach((function(C){if(C.value){var $=B.createGlobalItemMarkup(C);T.append($)}}))}},{key:"onPickerChange",value:function onPickerChange(){this.setValue(this.colorPicker.picker.getColor().toHEXA().toString()),this.isCustom||(this.triggerMethod("value:type:change"),this.colorPicker.toggleClearButtonState(!0),this.$el.hasClass("e-control-color--no-value")&&this.$el.removeClass("e-control-color--no-value"),this.isCustom=!0)}},{key:"onPickerClear",value:function onPickerClear(){this.isCustom=!1,this.setValue(""),this.triggerMethod("value:type:change"),this.applySavedValue(),this.colorPicker.toggleClearButtonState(!1)}},{key:"onPickerButtonClick",value:function onPickerButtonClick(){this.getGlobalKey()?this.triggerMethod("unset:global:value"):this.isGlobalActive()&&!this.getControlValue()&&this.getGlobalDefault()&&this.triggerMethod("unlink:global:default"),this.colorPicker.toggleClearButtonState(!!this.getCurrentValue())}},{key:"onAddGlobalButtonClick",value:function onAddGlobalButtonClick(){var C=this;this.getGlobalsList().then((function(T){C.globalsList=T,C.triggerMethod("add:global:to:list",C.getAddGlobalConfirmMessage(T))}))}},{key:"activate",value:function activate(){this.colorPicker.picker.show()}},{key:"onBeforeDestroy",value:function onBeforeDestroy(){this.colorPicker&&this.colorPicker.destroy()}}]),_default}(Y.default);T.default=Z},91238:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(51121)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"onReady",value:function onReady(){var C=_.extend({enableTime:!0,minuteIncrement:1},this.model.get("picker_options"));this.ui.input.flatpickr(C)}},{key:"onBaseInputChange",value:function onBaseInputChange(){var C;(0,q.default)((0,H.default)(_default.prototype),"onBaseInputChange",this).apply(this,arguments),null!==(C=this.model.get("validation"))&&void 0!==C&&C.date_time&&this.validateDateTime()}},{key:"validateDateTime",value:function validateDateTime(){var C=this.model.get("validation").date_time,T=C.control_name,B=C.operator,$=this.options.container.settings.get(T),V=this.ui.input.val();if($&&V){var L=new Date($).getTime(),q=new Date(V).getTime();elementor.conditions.compare(L,q,B)&&this.ui.input.val("")}}},{key:"onBeforeDestroy",value:function onBeforeDestroy(){this.ui.input.flatpickr().destroy()}}]),_default}(B(53005));T.default=G},53261:(C,T,B)=>{"use strict";var $=B(73203),V=$(B(93231)),L=$(B(54249));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,V.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}var q,W=B(26804);q=W.extend({behaviors:function behaviors(){var C=this;return _objectSpread(_objectSpread({},W.prototype.behaviors.apply(this)),{},{Scrubbing:{behaviorClass:L.default,scrubSettings:{intentTime:800,valueModifier:function valueModifier(){var T=C.getControlValue("unit");return["rem","em"].includes(T)?.1:1},enhancedNumber:function enhancedNumber(){var T=C.getControlValue("unit");return["rem","em"].includes(T)?.5:10}}}})},ui:function ui(){var ui=W.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(W.prototype.events.apply(this,arguments),{"click @ui.link":"onLinkDimensionsClicked"})},defaultDimensionValue:0,initialize:function initialize(){W.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")},updateUnitChoices:function updateUnitChoices(){W.prototype.updateUnitChoices.apply(this,arguments);var C="number";this.isCustomUnit()&&(C="text"),this.ui.controls.attr("type",C)}}),C.exports=q},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<T&&B.push(L)})),B.forEach((function(C){var T=jQuery(C).find("span").html();elementor.helpers.enqueueFont(T,"editor")}))},fontPreviewTemplate:function fontPreviewTemplate(C){return C.id?jQuery("<span>",{text:C.text,css:{"font-family":C.element.value.toString()}}):C.text},templateHelpers:function templateHelpers(){var C=$.prototype.templateHelpers.apply(this,arguments),T=this.model.get("options");return C.getFontsByGroups=function(C){var B={};return _.each(T,(function(T,$){(_.isArray(C)&&_.contains(C,T)||T===C)&&(B[$]=$)})),B},C}})},13607:(C,T,B)=>{"use strict";var $,V=B(38003).sprintf,L=B(38003).__,q=B(73203),W=q(B(50824)),U=q(B(10029)),H=q(B(40548)),G=B(53005);$=G.extend({ui:function ui(){var ui=G.prototype.ui.apply(this,arguments);return ui.addImages=".elementor-control-gallery-add",ui.clearGallery=".elementor-control-gallery-clear",ui.galleryThumbnails=".elementor-control-gallery-thumbnails",ui.status=".elementor-control-gallery-status-title",ui.promotions=".elementor-control-media__promotions",ui.promotions_dismiss=".elementor-control-media__promotions .elementor-control-notice-dismiss",ui.promotions_action=".elementor-control-media__promotions .elementor-control-notice-main-actions button",ui},events:function events(){return _.extend(G.prototype.events.apply(this,arguments),{"click @ui.addImages":"onAddImagesClick","click @ui.clearGallery":"onClearGalleryClick","click @ui.galleryThumbnails":"onGalleryThumbnailsClick","click @ui.promotions_dismiss":"onPromotionDismiss","click @ui.promotions_action":"onPromotionAction","keyup @ui.galleryThumbnails":"onGalleryThumbnailsKeyPress"})},onReady:function onReady(){this.initRemoveDialog()},applySavedValue:function applySavedValue(){var C=this;return(0,U.default)(W.default.mark((function _callee(){var T,B,$,q,U,H,G,K;return W.default.wrap((function _callee$(W){for(;;)switch(W.prev=W.next){case 0:if(T=C.getControlValue(),B=T.length,$=!!B,q=0,U=!1,H=C.ui.promotions.length&&!elementor.config.user.dismissed_editor_notices.includes(C.getDismissPromotionEventName()),C.$el.toggleClass("elementor-gallery-has-images",$).toggleClass("elementor-gallery-empty",!$),(G=C.ui.galleryThumbnails).empty(),C.ui.status.text($?V(L("%s Images Selected","elementor"),B):L("No Images Selected","elementor")),H&&(U=C.ui.promotions.find(".elementor-control-notice").data("display")||!1),$){W.next=9;break}return W.abrupt("return");case 9:return K=[],C.getControlValue().forEach((function(T,B){var $=jQuery("<img>",{class:"elementor-control-gallery-thumbnail",src:T.url,alt:"gallery-thumbnail-"+B});G.append($);K.push(wp.media.attachment(T.id).fetch().then((function handleHints(T){C.imageHasAlt(T)||$.addClass("unoptimized__image"),H&&C.imageNotOptimized(T)&&(q+=1)})))})),W.next=13,Promise.all(K).then((function(){if(H){var T=U||!!q;C.ui.promotions.toggle(T)}}));case 13:case"end":return W.stop()}}),_callee)})))()},hasImages:function hasImages(){return!!this.getControlValue().length},imageHasAlt:function imageHasAlt(C){var T;return!!((null==C||null===(T=C.alt)||void 0===T?void 0:T.trim())||"")},imageNotOptimized:function imageNotOptimized(C){var T={height:1080,width:1920,filesizeInBytes:1e5};return Object.keys(T).some((function(B){var $=C[B]||!1;return $&&$>T[B]}))},openFrame:function openFrame(C){this.initFrame(C),this.frame.open(),H.default.isUploadEnabled("svg")&&H.default.setUploadTypeCaller(this.frame)},initFrame:function initFrame(C){var T={frame:"post",multiple:!0,state:{create:"gallery",add:"gallery-library",edit:"gallery-edit"}[C],button:{text:L("Insert Media","elementor")}};this.hasImages()&&(T.selection=this.fetchSelection()),this.frame=wp.media(T),this.addSvgMimeType(),this.frame.on({update:this.select,"menu:render:default":this.menuRender,"content:render:browse":this.gallerySettings},this)},addSvgMimeType:function addSvgMimeType(){if(H.default.isUploadEnabled("svg")){var C=_wpPluploadSettings.defaults.filters.mime_types[0].extensions;this.frame.on("ready",(function(){_wpPluploadSettings.defaults.filters.mime_types[0].extensions=C+",svg"})),this.frame.on("close",(function(){_wpPluploadSettings.defaults.filters.mime_types[0].extensions=C}))}},menuRender:function menuRender(C){C.unset("insert"),C.unset("featured-image")},gallerySettings:function gallerySettings(C){C.sidebar.on("ready",(function(){C.sidebar.unset("gallery")}))},fetchSelection:function fetchSelection(){var C=wp.media.query({orderby:"post__in",order:"ASC",type:"image",perPage:-1,post__in:_.pluck(this.getControlValue(),"id")});return new wp.media.model.Selection(C.models,{props:C.props.toJSON(),multiple:!0})},select:function select(C){var T=[];C.each((function(C){T.push({id:C.get("id"),url:C.get("url")})})),this.setValue(T),this.applySavedValue()},onPromotionDismiss:function onPromotionDismiss(){this.dismissPromotion(this.getDismissPromotionEventName())},getDismissPromotionEventName:function getDismissPromotionEventName(){var C,T,B=this.ui.promotions.find(".elementor-control-notice-dismiss");return B.off("click"),(null===(C=B[0])||void 0===C||null===(T=C.dataset)||void 0===T?void 0:T.event)||!1},hidePromotion:function hidePromotion(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.ui.promotions.hide(),C||(C=this.getDismissPromotionEventName()),elementor.config.user.dismissed_editor_notices.push(C)},onPromotionAction:function onPromotionAction(C){var T=JSON.parse(C.target.closest("button").dataset.settings).action_url,B=void 0===T?null:T;B&&window.open(B,"_blank"),elementorCommon.ajax.addRequest("elementor_image_optimization_campaign",{data:{source:"io-editor-gallery-install"}}),this.hidePromotion()},dismissPromotion:function dismissPromotion(C){this.ui.promotions.hide(),C&&(elementorCommon.ajax.addRequest("dismissed_editor_notices",{data:{dismissId:C}}),elementor.config.user.dismissed_editor_notices.push(C))},onBeforeDestroy:function onBeforeDestroy(){this.frame&&this.frame.off(),this.$el.remove()},clearGallery:function clearGallery(){this.setValue([]),this.applySavedValue(),this.ui.promotions&&this.ui.promotions.hide()},initRemoveDialog:function initRemoveDialog(){var C;this.getRemoveDialog=function(){return C||(C=elementorCommon.dialogsManager.createWidget("confirm",{message:L("Are you sure you want to clear this gallery?","elementor"),headerMessage:L("Clear gallery","elementor"),strings:{confirm:L("Clear","elementor"),cancel:L("Cancel","elementor")},defaultOption:"confirm",onConfirm:this.clearGallery.bind(this)})),C}},onAddImagesClick:function onAddImagesClick(){this.openFrame(this.hasImages()?"add":"create")},onClearGalleryClick:function onClearGalleryClick(){this.getRemoveDialog().show()},onGalleryThumbnailsClick:function onGalleryThumbnailsClick(){this.openFrame("edit")},onGalleryThumbnailsKeyPress:function onGalleryThumbnailsKeyPress(C){13!==C.which&&32!==C.which||this.onGalleryThumbnailsClick(C)}}),C.exports=$},97465:(C,T,B)=>{"use strict";var $,V=B(73203)(B(7501)),L=B(53261);$=L.extend({ui:function ui(){var ui=L.prototype.ui.apply(this,arguments);return ui.controls=".elementor-control-gap > input:enabled",ui.link="button.elementor-link-gaps",ui},getPossibleDimensions:function getPossibleDimensions(){return["row","column"]},setValue:function setValue(C,T){var B=this.getControlValue();"object"===(0,V.default)(C)?_.each(C,(function(C,T){B[T]=C})):B[C]=T;var $=this.model.get("conversion_map");$&&$.old_key&&$.new_key&&(B[$.old_key]=parseInt(B[$.new_key])),this.setSettingsModel(B)},getControlValue:function getControlValue(){var C=L.prototype.getControlValue.apply(this,arguments);return this.shouldUpdateGapsValues(C)&&(C.column=""+C.size,C.row=""+C.size,C.isLinked=!0),C},shouldUpdateGapsValues:function shouldUpdateGapsValues(C){return!!C.hasOwnProperty("size")&&""!==C.size&&!C.hasOwnProperty("column")}}),C.exports=$},14553:(C,T,B)=>{"use strict";var $=B(73203)(B(53005));C.exports=$.default.extend({},{onPasteStyle:function onPasteStyle(){return!1}})},30750:(C,T,B)=>{"use strict";var $,V=B(76772);$=V.extend({initialize:function initialize(){V.prototype.initialize.apply(this,arguments),this.filterIcons()},filterIcons:function filterIcons(){var C=this.model.get("options"),T=this.model.get("include");if(T){var B={};return _.each(T,(function(T){B[T]=C[T]})),void this.model.set("options",B)}var $=this.model.get("exclude");$&&_.each($,(function(T){delete C[T]}))},iconsList:function iconsList(C){return C.id?jQuery('<span><i class="'+C.id+'"></i> '+C.text+"</span>"):C.text},getSelect2Options:function getSelect2Options(){return{allowClear:!0,templateResult:this.iconsList.bind(this),templateSelection:this.iconsList.bind(this)}}}),C.exports=$},20911:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203),L=V(B(78983)),q=V(B(42081)),W=V(B(51121)),U=V(B(58724)),H=V(B(71173)),G=V(B(74910)),K=V(B(40548));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var Q=B(87474),J=function(C){(0,U.default)(ControlIconsView,C);var T=_createSuper(ControlIconsView);function ControlIconsView(){var C;(0,L.default)(this,ControlIconsView);for(var B=arguments.length,$=new Array(B),V=0;V<B;V++)$[V]=arguments[V];return(C=T.call.apply(T,[this].concat($))).cache={loaded:!1,dialog:!1,enableClicked:!1,fa4Mapping:!1,migratedFlag:{}},C.dataKeys={migratedKey:"__fa4_migrated",fa4MigrationFlag:"fa4compatibility"},C}return(0,q.default)(ControlIconsView,[{key:"enqueueIconFonts",value:function enqueueIconFonts(C){var T=elementor.helpers.getIconLibrarySettings(C);!1!==T&&this.isMigrationAllowed()&&(T.enqueue&&T.enqueue.forEach((function(C){elementor.helpers.enqueueEditorStylesheet(C),elementor.helpers.enqueuePreviewStylesheet(C)})),T.url&&(elementor.helpers.enqueueEditorStylesheet(T.url),elementor.helpers.enqueuePreviewStylesheet(T.url)))}},{key:"ui",value:function ui(){var ui=(0,W.default)((0,G.default)(ControlIconsView.prototype),"ui",this).call(this),C=this.model.get("skin");return ui.controlMedia=".elementor-control-media",ui.svgUploader="media"===C?".elementor-control-svg-uploader":".elementor-control-icons--inline__svg",ui.iconPickers="media"===C?".elementor-control-icon-picker, .elementor-control-media__preview, .elementor-control-media-upload-button":".elementor-control-icons--inline__icon",ui.deleteButton="media"===C?".elementor-control-media__remove":".elementor-control-icons--inline__none",ui.previewPlaceholder=".elementor-control-media__preview",ui.previewContainer=".elementor-control-preview-area",ui.inlineIconContainer=".elementor-control-inline-icon",ui.inlineDisplayedIcon=".elementor-control-icons--inline__displayed-icon",ui.radioInputs='[type="radio"]',ui}},{key:"events",value:function events(){return jQuery.extend(Q.prototype.events.apply(this,arguments),{"click @ui.iconPickers":"openPicker","click @ui.svgUploader":"openFrame","click @ui.radioInputs":"onClickInput","click @ui.deleteButton":"deleteIcon"})}},{key:"getControlValue",value:function getControlValue(){var C=this.model,T=this.getValueToMigrate();if(!this.isMigrationAllowed())return T;var B=(0,W.default)((0,G.default)(ControlIconsView.prototype),"getControlValue",this).call(this);if(!T)return B;var $=C.get("name");if(this.cache.migratedFlag[$])return this.cache.migratedFlag[$];var V=this.elementSettingsModel.get(this.dataKeys.migratedKey);return V&&V[$]?B:this.migrateFa4toFa5(T)}},{key:"migrateFa4toFa5",value:function migrateFa4toFa5(C){var T=elementor.helpers.mapFa4ToFa5(C);return this.cache.migratedFlag[this.model.get("name")]=T,this.enqueueIconFonts(T.library),T}},{key:"setControlAsMigrated",value:function setControlAsMigrated(C){var T=this.elementSettingsModel.get(this.dataKeys.migratedKey)||{};T[C]=!0,this.elementSettingsModel.set(this.dataKeys.migratedKey,T,{silent:!0})}},{key:"isMigrationAllowed",value:function isMigrationAllowed(){return!elementor.config.icons_update_needed}},{key:"getValueToMigrate",value:function getValueToMigrate(){var C=this.model.get(this.dataKeys.fa4MigrationFlag);if(!C)return!1;var T=this.container.settings.get(C);return T||!1}},{key:"onReady",value:function onReady(){var C=this;this.isMigrationAllowed()||("media"===this.model.get("skin")?this.ui.previewContainer[0]:this.ui.inlineIconContainer[0]).addEventListener("click",(function(C){C.preventDefault(),C.stopPropagation();return elementor.helpers.getSimpleDialog("elementor-enable-fa5-dialog",$("Elementor's New Icon Library","elementor"),$('Elementor v2.6 includes an upgrade from Font Awesome 4 to 5. In order to continue using icons, be sure to click "Update".',"elementor")+' <a href="https://go.elementor.com/fontawesome-migration/" target="_blank">'+$("Learn More","elementor")+"</a>",$("Update","elementor"),(function onConfirm(){var C;window.location.href=elementor.config.tools_page_link+"&redirect_to_document="+(null===(C=elementor.documents.getCurrent())||void 0===C?void 0:C.id)+"&_wpnonce="+elementor.config.tools_page_nonce+"#tab-fontawesome4_migration"})).show(),!1}),!0);var T=this.model.get("name");this.cache.migratedFlag[T]&&(this.setControlAsMigrated(T),setTimeout((function(){C.setValue(C.cache.migratedFlag[T])}),10))}},{key:"onRender",value:function onRender(){(0,W.default)((0,G.default)(ControlIconsView.prototype),"onRender",this).call(this),this.isMigrationAllowed()&&elementor.iconManager.loadIconLibraries()}},{key:"initFrame",value:function initFrame(){var C=this;wp.media.view.settings.post.id=elementor.config.document.id,this.frame=wp.media({button:{text:$("Insert Media","elementor")},library:{type:["image/svg+xml"]},states:[new wp.media.controller.Library({title:$("Insert Media","elementor"),library:wp.media.query({type:["image/svg+xml"]}),multiple:!1,date:!1})]});this.frame.on("insert select",(function handleSelect(){return C.selectSvg()})),this.setUploadMimeType(this.frame,"svg")}},{key:"setUploadMimeType",value:function setUploadMimeType(C,T){var B=_wpPluploadSettings.defaults.filters.mime_types[0].extensions;C.on("ready",(function(){_wpPluploadSettings.defaults.filters.mime_types[0].extensions=T})),this.frame.on("close",(function(){_wpPluploadSettings.defaults.filters.mime_types[0].extensions=B}))}},{key:"selectSvg",value:function selectSvg(){this.trigger("before:select");var C=this.frame.state().get("selection").first().toJSON();C.url&&(this.setValue({value:{url:C.url,id:C.id},library:"svg"}),this.applySavedValue()),this.trigger("after:select")}},{key:"openFrame",value:function openFrame(){var C=this;if(!K.default.isUploadEnabled("svg"))return K.default.getUnfilteredFilesNotEnabledDialog((function(){return C.openFrame()})).show(),!1;this.frame||this.initFrame(),this.frame.open(),K.default.setUploadTypeCaller(this.frame);var T=this.getControlValue("id");T&&this.frame.state().get("selection").add(wp.media.attachment(T))}},{key:"openPicker",value:function openPicker(){elementor.iconManager.show({view:this})}},{key:"applySavedValue",value:function applySavedValue(){var C=this,T=this.getControlValue(),B=this.model.get("skin"),$="inline"===B?this.ui.inlineDisplayedIcon:this.ui.previewPlaceholder,V=this.model.get("disable_initial_active_state"),L=this.model.get("default"),q=T.value,W=T.library;if(this.isMigrationAllowed()||q||!this.getValueToMigrate()||(q=this.getControlValue(),W=""),"media"===B&&this.ui.controlMedia.toggleClass("e-media-empty",!q),("inline"===B&&!V||W)&&this.markChecked(W),!q)return"inline"===B?void this.setDefaultIconLibraryLabel(L,$):void this.ui.previewPlaceholder.html("");if("svg"===W&&"inline"!==B)return elementor.helpers.fetchInlineSvg(q.url,(function(T){C.ui.previewPlaceholder.html(T)}));if("media"===B||"svg"!==W){var U='<i class="'+q+'"></i>';$.html(U)}this.enqueueIconFonts(W)}},{key:"setDefaultIconLibraryLabel",value:function setDefaultIconLibraryLabel(C,T){if(""!==C.value&&"svg"!==C.library)T.html('<i class="'+C.value+'"></i>');else{var B=this.model.get("skin_settings");T.html('<i class="'+B.inline.icon.icon+'"></i>')}}},{key:"markChecked",value:function markChecked(C){if(this.ui.radioInputs.filter(":checked").prop("checked",!1),!C)return this.ui.radioInputs.filter('[value="none"]').prop("checked",!0);"svg"!==C&&(C="icon"),this.ui.radioInputs.filter('[value="'+C+'"]').prop("checked",!0)}},{key:"onClickInput",value:function onClickInput(){this.markChecked(this.getControlValue().library)}},{key:"deleteIcon",value:function deleteIcon(C){C.stopPropagation(),this.setValue({value:"",library:""}),this.applySavedValue()}},{key:"onBeforeDestroy",value:function onBeforeDestroy(){this.$el.remove()}}]),ControlIconsView}(Q);C.exports=J},53736:(C,T,B)=>{"use strict";var $=B(73203),V=$(B(93231)),L=$(B(54249));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,V.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}var q,W=B(87474);q=W.extend({behaviors:function behaviors(){return _objectSpread(_objectSpread({},W.prototype.behaviors.apply(this)),{},{Scrubbing:{behaviorClass:L.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=q},79196:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203),L=V(B(50824)),q=V(B(93231)),W=V(B(10029)),U=V(B(40548)),H=B(67010);function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,q.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}var G,K=B(87474);G=K.extend({ui:function ui(){var ui=K.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.promotions=".elementor-control-media__promotions",ui.promotions_dismiss=".elementor-control-media__promotions .elementor-control-notice-dismiss",ui.promotions_action=".elementor-control-media__promotions .elementor-control-notice-main-actions button",ui.fileName=".elementor-control-media__file__content__info__name",ui.mediaInputImageSize=".e-image-size-select",ui},events:function events(){return _.extend(K.prototype.events.apply(this,arguments),{"click @ui.frameOpeners":"openFrame","click @ui.removeButton":"deleteImage","change @ui.mediaInputImageSize":"onMediaInputImageSizeChange","click @ui.promotions_dismiss":"onPromotionDismiss","click @ui.promotions_action":"onPromotionAction"})},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,B=this.getControlValue("url"),$=B||(null===(C=this.getControlPlaceholder())||void 0===C?void 0:C.url),V=this.getControlValue("id"),L=!B&&$,q=this.getMediaType();if(["image","svg"].includes(q))this.ui.mediaImage.css("background-image",$?"url("+$+")":""),L&&this.ui.mediaImage.css("opacity",.5);else if("video"===q)this.ui.mediaVideo.attr("src",$);else{var W=$?$.split("/").pop():"";this.ui.fileName.text(W)}if(this.ui.mediaInputImageSize){var U,H=this.getControlValue("size");if(L)H=null===(U=this.getControlPlaceholder())||void 0===U?void 0:U.size;this.ui.mediaInputImageSize.val(H).toggleClass("e-select-placeholder",L)}if(this.ui.controlMedia.toggleClass("e-media-empty",!B).toggleClass("e-media-empty-placeholder",!B&&!L),"image"===q)if(V){var G=this.getDismissPromotionEventName();wp.media.attachment(V).fetch().then((function handleHints(C){if(T.ui.promotions.length&&!elementor.config.user.dismissed_editor_notices.includes(G)){var B=T.ui.promotions.find(".elementor-control-notice").data("display")||!1||T.imageNotOptimized(C);T.ui.promotions.toggle(B)}}))}else this.ui.promotions.length&&this.ui.promotions.hide()},openFrame:function openFrame(C){var T=arguments,B=this;return(0,W.default)(L.default.mark((function _callee(){var $,V,q,W,G;return L.default.wrap((function _callee$(L){for(;;)switch(L.prev=L.next){case 0:if(q=T.length>1&&void 0!==T[1]?T[1]:null,W=(null==C||null===($=C.target)||void 0===$||null===(V=$.dataset)||void 0===V?void 0:V.mediaType)||B.getMediaType(),B.mediaType=W,W){L.next=5;break}return L.abrupt("return");case 5:if(U.default.isUploadEnabled(W)){L.next=8;break}return U.default.getUnfilteredFilesNotEnabledDialog((function(){return B.openFrame(C,"filter-popup")})).show(),L.abrupt("return",!1);case 8:if("filter-popup"===q||!["application/json","json"].includes(W)){L.next=11;break}return L.next=11,(0,H.showJsonUploadWarningMessageIfNeeded)({introductionMap:window.elementor.config.user.introduction,IntroductionClass:window.elementorModules.editor.utils.Introduction});case 11:if(B.frame&&B.getLibraryType(W)===B.currentLibraryType||B.initFrame(),B.frame.open(),U.default.setUploadTypeCaller(B.frame),G=B.getControlValue("id")){L.next=17;break}return L.abrupt("return");case 17:B.frame.state().get("selection").add(wp.media.attachment(G));case 18:case"end":return L.stop()}}),_callee)})))()},deleteImage:function deleteImage(C){C.stopPropagation(),this.setValue({url:"",id:""}),this.applySavedValue()},imageHasAlt:function imageHasAlt(C){var T;return!!((null==C||null===(T=C.alt)||void 0===T?void 0:T.trim())||"")},imageNotOptimized:function imageNotOptimized(C){var T={height:1080,width:1920,filesizeInBytes:1e5};return Object.keys(T).some((function(B){var $=C[B]||!1;return $&&$>T[B]}))},getDismissPromotionEventName:function getDismissPromotionEventName(){var C,T,B=this.ui.promotions.find(".elementor-control-notice-dismiss");return B.off("click"),(null===(C=B[0])||void 0===C||null===(T=C.dataset)||void 0===T?void 0:T.event)||!1},onPromotionDismiss:function onPromotionDismiss(){this.dismissPromotion(this.getDismissPromotionEventName())},onPromotionAction:function onPromotionAction(C){var T=JSON.parse(C.target.closest("button").dataset.settings).action_url,B=void 0===T?null:T;B&&window.open(B,"_blank"),this.hidePromotion()},dismissPromotion:function dismissPromotion(C){this.hidePromotion(C),C&&elementorCommon.ajax.addRequest("dismissed_editor_notices",{data:{dismissId:C}})},hidePromotion:function hidePromotion(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.ui.promotions.hide(),C||(C=this.getDismissPromotionEventName()),elementorCommon.ajax.addRequest("elementor_image_optimization_campaign",{data:{source:"io-editor-image-install"}}),elementor.config.user.dismissed_editor_notices.push(C)},onMediaInputImageSizeChange:function onMediaInputImageSizeChange(){var C=this;if(this.model.get("has_sizes")){var T=this.getControlValue(),B=this.getControlPlaceholder(),$=""!==(null==T?void 0:T.id),V=null==B?void 0:B.id;if($||V){var L;if(V&&!$)return this.setValue(_objectSpread(_objectSpread({},B),{},{size:T.size})),this.model.get("responsive")?this.renderWithChildren():this.applySavedValue(),void this.onMediaInputImageSizeChange();elementor.channels.editor.once("imagesManager:detailsReceived",(function(B){var $;(L=null===($=B[T.id])||void 0===$?void 0:$[T.size])&&(T.url=L,C.setValue(T))})),(L=elementor.imagesManager.getImageUrl({id:T.id,url:T.url,size:T.size}))&&(T.url=L,this.setValue(T))}}},initFrame:function initFrame(){var C=this.getMediaType();this.currentLibraryType=this.getLibraryType(C),wp.media.view.settings.post.id=elementor.config.document.id,this.frame=wp.media({frame:"post",type:"image",multiple:!1,states:[new wp.media.controller.Library({title:$("Insert Media","elementor"),library:wp.media.query({type:this.currentLibraryType}),multiple:!1,date:!1})]}),this.frame.on("ready open",this.onFrameReady.bind(this)),this.frame.on("insert select",this.select.bind(this)),elementorCommon.config.filesUpload.unfilteredFiles&&this.setUploadMimeType(this.frame,C)},onFrameReady:function onFrameReady(){var C=this.frame.$el;C.find(["#menu-item-insert","#menu-item-gallery","#menu-item-playlist","#menu-item-video-playlist",".embed-link-settings"].join(",")).remove(),C.css("--button-text","'".concat($("Insert Media","elementor"),"'")),C.addClass("e-wp-media-elements-removed"),"url"===this.getControlValue("source")?(C.find("#menu-item-embed").trigger("click"),C.addClass("hide-router"),this.frame.views.get(".media-frame-content")[0].url.model.set({url:this.getControlValue("url"),alt:this.getControlValue("alt")})):C.find("#menu-item-library").trigger("click")},setUploadMimeType:function setUploadMimeType(C,T){var B=_wpPluploadSettings.defaults.filters.mime_types[0].extensions;C.on("ready",(function(){_wpPluploadSettings.defaults.filters.mime_types[0].extensions="application/json"===T?"json":B+",svg"})),this.frame.on("close",(function(){_wpPluploadSettings.defaults.filters.mime_types[0].extensions=B}))},select:function select(){this.trigger("before:select");var C,T=this.frame.state();"embed"===T.get("id")?C={url:T.props.get("url"),id:"",alt:T.props.get("alt"),source:"url"}:(C=this.frame.state().get("selection").first().toJSON()).source="library",C.url&&(this.setValue({url:C.url,id:C.id,alt:C.alt,source:C.source,size:this.model.get("default").size}),this.model.get("responsive")?this.renderWithChildren():this.applySavedValue()),this.onMediaInputImageSizeChange(),this.trigger("after:select")},onBeforeDestroy:function onBeforeDestroy(){this.$el.remove()}}),C.exports=G},30008:(C,T,B)=>{"use strict";var $=B(73203)(B(9833)),V=B(15584);C.exports=V.extend({ui:function ui(){var ui=V.prototype.ui.apply(this,arguments);return ui.button=".elementor-control-notice-dismiss",ui},events:{"click @ui.button.e-btn-1":"onButton1Click","click @ui.button.e-btn-2":"onButton2Click","click @ui.button.elementor-control-notice-dismiss":"onDismissButtonClick"},onButton1Click:function onButton1Click(){var C=this.model.get("event");elementor.channels.editor.trigger(C,this)},onButton2Click:function onButton2Click(){var C=this.model.get("event");elementor.channels.editor.trigger(C,this)},getDismissId:function getDismissId(){var C,T,B,$,V,L,q,W,U,H,G,K,Q=this.model.get("name"),J="widget"===(null===(C=this.options)||void 0===C||null===(T=C.element)||void 0===T||null===(B=T.model)||void 0===B||null===($=B.attributes)||void 0===$?void 0:$.elType)?null===(V=this.options)||void 0===V||null===(L=V.element)||void 0===L||null===(q=L.model)||void 0===q||null===(W=q.attributes)||void 0===W?void 0:W.widgetType:null===(U=this.options)||void 0===U||null===(H=U.element)||void 0===H||null===(G=H.model)||void 0===G||null===(K=G.attributes)||void 0===K?void 0:K.elType;return"".concat(J,"-").concat(Q)},onDismissButtonClick:function onDismissButtonClick(){var C=this,T=this.getDismissId();elementorCommon.ajax.addRequest("dismissed_editor_notices",{data:{dismissId:T},success:function success(){var B,V,L;C.$el.remove();var q=null!==(B=elementor)&&void 0!==B&&null!==(V=B.config)&&void 0!==V&&null!==(L=V.user)&&void 0!==L&&L.dismissed_editor_notices?(0,$.default)(elementor.config.user.dismissed_editor_notices):[];elementor.config.user.dismissed_editor_notices=[].concat((0,$.default)(q),[T])}})},templateHelpers:function templateHelpers(){var C,T,B,L=V.prototype.templateHelpers.apply(this,arguments),q=null!==(C=elementor)&&void 0!==C&&null!==(T=C.config)&&void 0!==T&&null!==(B=T.user)&&void 0!==B&&B.dismissed_editor_notices?(0,$.default)(elementor.config.user.dismissed_editor_notices):[],W=this.getDismissId();return L.data.shouldRenderNotice=!q.includes(W),L}})},19598:(C,T,B)=>{"use strict";var $=B(73203),V=$(B(93231)),L=$(B(54249));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,V.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}var q,W=B(53005);q=W.extend({behaviors:function behaviors(){return _objectSpread(_objectSpread({},W.prototype.behaviors.apply(this)),{},{Scrubbing:{behaviorClass:L.default,scrubSettings:{intentTime:800}}})},registerValidators:function registerValidators(){W.prototype.registerValidators.apply(this,arguments);var C={},T=this.model;["min","max"].forEach((function(B){var $=T.get(B);_.isFinite($)&&(C[B]=$)})),jQuery.isEmptyObject(C)||this.addValidator(new this.validatorTypes.Number({validationTerms:C}))}}),C.exports=q},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)),U=V(B(78983)),H=V(B(42081)),G=V(B(58724)),K=V(B(71173)),Q=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,Q.default)(C);if(T){var V=(0,Q.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,K.default)(this,B)}}var J=B(11292),Y=function(C){(0,G.default)(ControlPopoverStarterView,C);var T,B=_createSuper(ControlPopoverStarterView);function ControlPopoverStarterView(){return(0,U.default)(this,ControlPopoverStarterView),B.apply(this,arguments)}return(0,H.default)(ControlPopoverStarterView,[{key:"ui",value:function ui(){var ui=J.prototype.ui.apply(this,arguments);return ui.popoverToggle=".elementor-control-popover-toggle-toggle",ui.resetInput=".elementor-control-popover-toggle-reset",ui}},{key:"events",value:function events(){return _.extend(J.prototype.events.apply(this,arguments),{"click @ui.popoverToggle":"onPopoverToggleClick","click @ui.resetInput":"onResetInputClick"})}},{key:"onShow",value:function onShow(){var C=this,T=this.$el.next(".elementor-controls-popover");T.length&&(T[0].dataset.popoverToggle="elementor-control-default-".concat(this.model.cid),T.on("hide",(function(){return C.onPopoverHide()})),T.attr("data-on-hide",!0))}},{key:"onPopoverHide",value:function onPopoverHide(){this.reRoute(!1)}},{key:"onResetInputClick",value:function onResetInputClick(){var C=this.model.get("global");null!=C&&C.active&&this.triggerMethod("value:type:change")}},{key:"onInputChange",value:function onInputChange(C){C.currentTarget===this.ui.popoverToggle[0]&&(this.getGlobalKey()?this.triggerMethod("unset:global:value"):this.isGlobalActive()&&this.triggerMethod("value:type:change"))}},{key:"onPopoverToggleClick",value:function onPopoverToggleClick(){var C=this;this.isGlobalActive()&&!this.getControlValue()&&!this.getGlobalKey()&&this.getGlobalDefault()&&this.triggerMethod("unlink:global:default");var T=this.$el.next(".elementor-controls-popover");T.attr("data-on-hide")||(T.attr("data-on-hide",!0),T.on("hide",(function(){return C.onPopoverHide()}))),T.is(":visible")?(T.hide(),T.trigger("hide")):this.reRoute(!0)}},{key:"activate",value:function activate(){this.$el.next(".elementor-controls-popover").show()}},{key:"getGlobalCommand",value:function getGlobalCommand(){return"globals/typography"}},{key:"buildPreviewItemCSS",value:function buildPreviewItemCSS(C){var T={};return Object.entries(C).forEach((function(C){var B=(0,W.default)(C,2),$=B[0],V=B[1];if(V&&""!==V.size)if($.startsWith("typography_")&&($=$.replace("typography_","")),"font_family"===$&&elementor.helpers.enqueueFont(V,"editor"),"font_size"===$){var L="custom"===V.unit?V.size:"".concat(V.size).concat(V.unit);T.fontSize="min(".concat(L,", 28px)")}else $.includes("_")&&($=$.replace(/([_][a-z])/g,(function(C){return C.toUpperCase().replace("_","")}))),T[$]=V})),T}},{key:"createGlobalItemMarkup",value:function createGlobalItemMarkup(C){var T=jQuery("<div>",{class:"e-global__preview-item e-global__typography","data-global-id":C.id,title:C.title});return T.html(C.title).css(this.buildPreviewItemCSS(C.value)),T}},{key:"getGlobalMeta",value:function getGlobalMeta(){return{commandName:this.getGlobalCommand(),key:this.model.get("name"),title:$("New Typography Setting","elementor"),controlType:"typography",route:"panel/global/global-typography"}}},{key:"getAddGlobalConfirmMessage",value:function getAddGlobalConfirmMessage(){var C=this.getGlobalMeta(),T=jQuery("<div>",{class:"e-global__confirm-message"}),B=jQuery("<div>").html($("Are you sure you want to create a new Global Font setting?","elementor")),V=jQuery("<div>",{class:"e-global__confirm-input-wrapper"}),L=jQuery("<input>",{type:"text",name:"global-name",placeholder:C.title}).val(C.title);return V.append(L),T.append(B,V),T}},{key:"getGlobalsList",value:(T=(0,q.default)(L.default.mark((function _callee(){var C;return L.default.wrap((function _callee$(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,$e.data.get(this.getGlobalCommand());case 2:return C=T.sent,T.abrupt("return",C.data);case 4:case"end":return T.stop()}}),_callee,this)}))),function getGlobalsList(){return T.apply(this,arguments)})},{key:"buildGlobalsList",value:function buildGlobalsList(C,T){var B=this;Object.values(C).forEach((function(C){if(C){var $=B.createGlobalItemMarkup(C);T.append($)}}))}},{key:"onAddGlobalButtonClick",value:function onAddGlobalButtonClick(){this.triggerMethod("add:global:to:list",this.getAddGlobalConfirmMessage())}}]),ControlPopoverStarterView}(J);T.default=Y,Y.onPasteStyle=function(C,T){return!T||T===C.return_value}},98550:(C,T,B)=>{"use strict";var $=B(38003).sprintf,V=B(38003).__,L=B(73203)(B(99533));C.exports=Marionette.CompositeView.extend({template:Marionette.TemplateCache.get("#tmpl-elementor-repeater-row"),className:"elementor-repeater-fields",ui:function ui(){return{duplicateButton:".elementor-repeater-tool-duplicate",editButton:".elementor-repeater-tool-edit",removeButton:".elementor-repeater-tool-remove",itemTitle:".elementor-repeater-row-item-title"}},behaviors:{HandleInnerTabs:{behaviorClass:B(10367)}},triggers:{"click @ui.removeButton":"click:remove","click @ui.duplicateButton":"click:duplicate","click @ui.itemTitle":"click:edit"},modelEvents:{change:"onModelChange"},templateHelpers:function templateHelpers(){return{itemIndex:this.getOption("itemIndex"),itemActions:this.getOption("itemActions")}},childViewContainer:".elementor-repeater-row-controls",getChildView:function getChildView(C){var T=C.get("type");return elementor.getControlView(T)},getChildControlView:function getChildControlView(C){return this.getControlViewByModel(this.getControlModel(C))},getControlViewByModel:function getControlViewByModel(C){return this.children.findByModelCid(C.cid)},getControlModel:function getControlModel(C){return this.collection.findWhere({name:C})},childViewOptions:function childViewOptions(){return{container:this.options.container}},updateIndex:function updateIndex(C){this.itemIndex=C},setTitle:function setTitle(){var C=this.getOption("titleField"),T="";C&&(T=Marionette.TemplateCache.prototype.compileTemplate(C)(this.model.parseDynamicSettings())),T||(T=$(V("Item #%s","elementor"),this.getOption("itemIndex"))),this.ui.itemTitle.html(T)},toggleSort:function toggleSort(C){this.$el.toggleClass("elementor-repeater-row--disable-sort",!C)},initialize:function initialize(C){this.itemIndex=0,this.collection=new Backbone.Collection(_.values(elementor.mergeControlsSettings(C.controlFields)))},onRender:function onRender(){this.setTitle(),L.default.handlePopovers(this)},onModelChange:function onModelChange(){this.getOption("titleField")&&this.setTitle()},onChildviewResponsiveSwitcherClick:function onChildviewResponsiveSwitcherClick(C,T){"desktop"===T&&elementor.getPanelView().getCurrentPageView().$el.toggleClass("elementor-responsive-switchers-open")}})},1142:(C,T,B)=>{"use strict";var $,V=B(53005),L=B(98550);$=V.extend({ui:{btnAddRow:".elementor-repeater-add",fieldContainer:".elementor-repeater-fields-wrapper"},events:function events(){return{"click @ui.btnAddRow":"onButtonAddRowClick","sortstart @ui.fieldContainer":"onSortStart","sortupdate @ui.fieldContainer":"onSortUpdate","sortstop @ui.fieldContainer":"onSortStop"}},childView:L,childViewContainer:".elementor-repeater-fields-wrapper",templateHelpers:function templateHelpers(){return{itemActions:this.model.get("item_actions"),data:_.extend({},this.model.toJSON(),{controlValue:[]})}},childViewOptions:function childViewOptions(C,T){return{container:this.getOption("container").repeaters[this.model.get("name")].children[T],controlFields:this.model.get("fields"),titleField:this.model.get("title_field"),itemActions:this.model.get("item_actions")}},createItemModel:function createItemModel(C,T,B){return T.controls=B.model.get("fields"),new elementorModules.editor.elements.models.BaseSettings(C,T)},fillCollection:function fillCollection(){var C=this.container?this.container.settings:this.elementSettingsModel,T=this.model.get("name");this.collection=C.get(T),this.collection instanceof Backbone.Collection||(this.collection=new Backbone.Collection(this.collection,{model:_.partial(this.createItemModel,_,_,this)}),C.set(T,this.collection,{silent:!0}))},initialize:function initialize(){V.prototype.initialize.apply(this,arguments),this.fillCollection(),this.listenTo(this.collection,"reset",this.resetContainer.bind(this)),this.listenTo(this.collection,"add",this.updateContainer.bind(this))},editRow:function editRow(C){if(this.currentEditableChild){var T=this.currentEditableChild.getChildViewContainer(this.currentEditableChild);T.removeClass("editable"),T.find(".elementor-wp-editor").each((function(){tinymce.get(this.id).fire("hide")}))}this.currentEditableChild!==C?(C.getChildViewContainer(C).addClass("editable"),this.currentEditableChild=C,this.updateActiveRow()):delete this.currentEditableChild},toggleClasses:function toggleClasses(){this.toggleMinRowsClass(),this.toggleMaxRowsClass()},toggleMaxRowsClass:function toggleMaxRowsClass(){var C=this.model.get("max_items");C&&Number.isInteger(C)&&this.$el.toggleClass("elementor-repeater-has-maximum-rows",C<=this.collection.length)},getMinItems:function getMinItems(){var C=0;return this.model.get("min_items")&&Number.isInteger(this.model.get("min_items"))?C=this.model.get("min_items"):this.model.get("prevent_empty")&&(C=1),C},toggleMinRowsClass:function toggleMinRowsClass(){var C=this.getMinItems();C&&this.$el.toggleClass("elementor-repeater-has-minimum-rows",C>=this.collection.length)},updateActiveRow:function updateActiveRow(){var C=1;this.currentEditableChild&&(C=this.currentEditableChild.itemIndex),this.setEditSetting("activeItemIndex",C)},updateChildIndexes:function updateChildIndexes(){var C=this.collection;this.children.each((function(T){T.updateIndex(C.indexOf(T.model)+1),T.setTitle()}))},getSortableParams:function getSortableParams(){return{axis:"y",handle:".elementor-repeater-row-tools",items:" > :not(.elementor-repeater-row--disable-sort)",cancel:""}},onRender:function onRender(){V.prototype.onRender.apply(this,arguments),this.model.get("item_actions").sort&&this.ui.fieldContainer.sortable(this.getSortableParams()),this.toggleClasses()},onSortStart:function onSortStart(C,T){T.item.data("oldIndex",T.item.index())},onSortStop:function onSortStop(C,T){var B=this;if(-1!==T.item.index()){var $=B.children.findByIndex(T.item.index()),V=$.children._views;jQuery.each(V,(function(){if("wysiwyg"===this.model.get("type"))return $.render(),delete B.currentEditableChild,!1}))}},onSortUpdate:function onSortUpdate(C,T){var B=T.item.data("oldIndex"),$=T.item.index();$e.run("document/repeater/move",{container:this.options.container,name:this.model.get("name"),sourceIndex:B,targetIndex:$})},onAddChild:function onAddChild(){this.updateChildIndexes(),this.updateActiveRow(),this.toggleClasses()},updateContainer:function updateContainer(C){this.options.container.repeaters[this.model.get("name")].children.filter((function(T){return T.id===C.get("_id")})).length||(elementorDevTools.deprecation.deprecated("Don't add models directly to the repeater.","3.0.0","$e.run( 'document/repeater/insert' )"),this.options.container.addRepeaterItem(this.model.get("name"),C,C.collection.indexOf(C)))},resetContainer:function resetContainer(){elementorDevTools.deprecation.deprecated("Don't reset repeater collection directly.","3.0.0","$e.run( 'document/repeater/remove' )"),this.options.container.repeaters[this.model.get("name")].children=[]},getDefaults:function getDefaults(){var C={};return _.each(this.model.get("fields"),(function(T){C[T.name]=T.default})),C},getChildControlView:function getChildControlView(C){return this.getControlViewByModel(this.getControlModel(C))},getControlViewByModel:function getControlViewByModel(C){return this.children.findByModelCid(C.cid)},getControlModel:function getControlModel(C){return this.collection.findWhere({_id:C})},onButtonAddRowClick:function onButtonAddRowClick(){var C=$e.run("document/repeater/insert",{container:this.options.container,name:this.model.get("name"),model:this.getDefaults()}),T=this.children.findByModel(C);this.editRow(T),this.toggleClasses()},onChildviewClickRemove:function onChildviewClickRemove(C){C===this.currentEditableChild&&delete this.currentEditableChild,$e.run("document/repeater/remove",{container:this.options.container,name:this.model.get("name"),index:C._index}),this.updateActiveRow(),this.updateChildIndexes(),this.toggleClasses()},onChildviewClickDuplicate:function onChildviewClickDuplicate(C){$e.run("document/repeater/duplicate",{container:this.options.container,name:this.model.get("name"),index:C._index}),this.toggleClasses()},onChildviewClickEdit:function onChildviewClickEdit(C){this.editRow(C)},onAfterExternalChange:function onAfterExternalChange(){this.fillCollection(),V.prototype.onAfterExternalChange.apply(this,arguments)}}),C.exports=$},37199:(C,T,B)=>{"use strict";var $,V=B(15584);$=V.extend({ui:function ui(){var ui=V.prototype.ui.apply(this,arguments);return ui.heading=".elementor-panel-heading",ui},triggers:{click:"control:section:clicked"}}),C.exports=$},88402:(C,T,B)=>{"use strict";var $,V=B(53005);$=V.extend({updatePlaceholder:function updatePlaceholder(){var C=this.ui.select;if(C){var T=C.find("option:selected");""!==T.val()||T.hasClass("e-option-placeholder")||(T=C.find(".e-option-placeholder")).prop("selected",!0),T.hasClass("e-option-placeholder")?C.addClass("e-select-placeholder"):C.removeClass("e-select-placeholder")}},onReady:function onReady(){var C=this.getControlPlaceholder();C&&jQuery("<option>").val("").text(this.model.get("options")[C]).addClass("e-option-placeholder").prependTo(this.ui.select),this.updatePlaceholder()},onInputChange:function onInputChange(){this.updatePlaceholder()}},{onPasteStyle:function onPasteStyle(C,T){return C.groups?C.groups.some((function(C){return $.onPasteStyle(C,T)})):void 0!==C.options[T]}}),C.exports=$},76772:(C,T,B)=>{"use strict";var $,V=B(73203)(B(91795)),L=B(53005);$=L.extend({getSelect2Placeholder:function getSelect2Placeholder(){return this.ui.select.find('[value="'.concat(this.getControlPlaceholder(),'"]')).text()||this.ui.select.children('option:first[value=""]').text()},getSelect2DefaultOptions:function getSelect2DefaultOptions(){var C={allowClear:!0,placeholder:this.getSelect2Placeholder(),dir:elementorCommon.config.isRTL?"rtl":"ltr"},T=this.model.get("lockedOptions");return T&&(C.templateSelection=function(C,B){return T.includes(C.id)&&jQuery(B).addClass("e-non-deletable").find(".select2-selection__choice__remove").remove(),C.text}),C},getSelect2Options:function getSelect2Options(){return jQuery.extend(this.getSelect2DefaultOptions(),this.model.get("select2options"))},updatePlaceholder:function updatePlaceholder(){this.getControlPlaceholder()&&this.select2Instance.elements.$container.find(".select2-selection__placeholder").addClass("e-select2-placeholder")},applySavedValue:function applySavedValue(){L.prototype.applySavedValue.apply(this,arguments),this.ui.select.data("select2")?this.ui.select.trigger("change"):(this.select2Instance=new V.default({$element:this.ui.select,options:this.getSelect2Options()}),this.updatePlaceholder(),this.handleLockedOptions())},handleLockedOptions:function handleLockedOptions(){var C=this.model.get("lockedOptions");C&&this.ui.select.on("select2:unselecting",(function(T){C.includes(T.params.args.data.id)&&T.preventDefault()}))},onReady:function onReady(){elementorDevTools.deprecation.deprecated("onReady()","3.0.0")},getInputValue:function getInputValue(C){var T;return null!==(T=L.prototype.getInputValue.apply(this,arguments))&&void 0!==T?T:""},onBaseInputChange:function onBaseInputChange(){L.prototype.onBaseInputChange.apply(this,arguments),this.updatePlaceholder()},onBeforeDestroy:function onBeforeDestroy(){this.select2Instance.destroy(),this.$el.remove()}}),C.exports=$},17881:(C,T,B)=>{"use strict";var $,V=B(13692),L=B(26804);$=L.extend({ui:function ui(){var ui=L.prototype.ui.apply(this,arguments);return ui.slider=".elementor-slider",ui},templateHelpers:function templateHelpers(){var templateHelpers=L.prototype.templateHelpers.apply(this,arguments);return templateHelpers.isMultiple=this.isMultiple(),templateHelpers},isMultiple:function isMultiple(){var C=this.getControlValue("sizes");return!jQuery.isEmptyObject(C)},initSlider:function initSlider(){if(this.ui.slider[0]&&!this.isCustomUnit()){this.destroySlider();var C,T=this.isMultiple(),B=elementorCommon.helpers.cloneObject(this.getCurrentRange()),$=B.step,V=this.getSize();T?V=Object.values(V):((V=[V])[0]=parseFloat(V[0])||0,this.ui.input.attr(B)),delete B.step;var L=this;T&&(C=[],V.forEach((function(){return C.push({to:function to(C){return C+L.getControlValue("unit")}})}))),noUiSlider.create(this.ui.slider[0],{start:V,range:B,step:$,tooltips:C,connect:T,format:{to:function to(C){return Math.round(1e3*C)/1e3},from:function from(C){return+C}}}).on("slide",this.onSlideChange.bind(this))}},applySavedValue:function applySavedValue(){L.prototype.applySavedValue.apply(this,arguments),this.isSliderInitialized()&&this.ui.slider[0].noUiSlider.set(this.getSize())},isSliderInitialized:function isSliderInitialized(){return this.ui.slider[0]&&this.ui.slider[0].noUiSlider},getSize:function getSize(){var C,T,B=this.isMultiple()?"sizes":"size";return this.getControlValue(B)||(null===(C=this.getControlPlaceholder())||void 0===C?void 0:C[B])||(null===(T=this.model.get("default"))||void 0===T?void 0:T[B])},resetSize:function resetSize(){this.isMultiple()?this.setValue("sizes",{}):this.setValue("size",""),this.initSlider()},destroySlider:function destroySlider(){this.ui.slider[0]&&this.ui.slider[0].noUiSlider&&this.ui.slider[0].noUiSlider.destroy()},onReady:function onReady(){this.isMultiple()&&this.$el.addClass("elementor-control-type-slider--multiple elementor-control-type-slider--handles-"+this.model.get("handles")),this.initSlider()},onSlideChange:function onSlideChange(C,T){if(this.isMultiple()){var B=elementorCommon.helpers.cloneObject(this.getSize());B[Object.keys(B)[T]]=C[T],this.setValue("sizes",B)}else this.setValue("size",C[0]),this.ui.input.val(C[0])},onInputChange:function onInputChange(C){var T=C.currentTarget.dataset.setting;"size"===T&&this.isSliderInitialized()?this.ui.slider[0].noUiSlider.set(this.getSize()):"unit"===T&&this.handleUnitChange()},handleUnitChange:function handleUnitChange(){this.isCustomUnit()||this.resetSize(),this.maybeDoFractionToCustomConversions()},updateUnitChoices:function updateUnitChoices(){L.prototype.updateUnitChoices.apply(this,arguments);var C="number";this.isCustomUnit()?(C="text",this.destroySlider()):this.initSlider(),this.isMultiple()||this.ui.input.attr("type",C)},maybeDoFractionToCustomConversions:function maybeDoFractionToCustomConversions(){var C,T;if(!this.isMultiple()){var B=this.model.get("size_units");if(2===(null==B?void 0:B.length)&&B.includes("fr")&&B.includes("custom")){var $=this.getSize();if(!("string"==typeof $&&$.includes("fr"))){var L=this.isCustomUnit()?(0,V.convertSizeToFrString)($):(null===(C=this.getControlPlaceholder())||void 0===C?void 0:C.size)||(null===(T=this.model.get("default"))||void 0===T?void 0:T.size);this.setValue("size",L),this.render()}}}},onBeforeDestroy:function onBeforeDestroy(){this.destroySlider(),this.$el.remove()},onDeviceModeChange:function onDeviceModeChange(){var C=this,T="mobile"===elementor.channels.deviceMode.request("currentMode"),B=this.model.get("name").includes("_mobile"),$=this.model.get("default");T&&B&&$&&this.isCustomUnit()&&setTimeout((function(){C.maybeDoFractionToCustomConversions()}))}}),C.exports=$},14958:(C,T,B)=>{"use strict";var $,V=B(53005);$=V.extend({ui:function ui(){var ui=V.prototype.ui.apply(this,arguments);return ui.resetStructure=".elementor-control-structure-reset",ui},events:function events(){return _.extend(V.prototype.events.apply(this,arguments),{"click @ui.resetStructure":"onResetStructureClick"})},templateHelpers:function templateHelpers(){var C=V.prototype.templateHelpers.apply(this,arguments);return C.getMorePresets=this.getMorePresets.bind(this),C},getCurrentEditedSection:function getCurrentEditedSection(){return elementor.getPanelView().getCurrentPageView().getOption("editedElementView")},getMorePresets:function getMorePresets(){var C=elementor.presetsFactory.getParsedStructure(this.getControlValue());return elementor.presetsFactory.getPresets(C.columnsCount)},onResetStructureClick:function onResetStructureClick(){this.getCurrentEditedSection().resetColumnsCustomSize()}}),C.exports=$},4073:(C,T,B)=>{"use strict";var $=B(53005);C.exports=$.extend({setInputValue:function setInputValue(C,T){this.$(C).prop("checked",this.model.get("return_value")===T)}},{onPasteStyle:function onPasteStyle(C,T){return!T||T===C.return_value}})},83067:(C,T,B)=>{"use strict";var $;$=B(15584).extend({triggers:{click:{event:"control:tab:clicked",stopPropagation:!1}}}),C.exports=$},57330:(C,T,B)=>{"use strict";var $=B(73203),V=$(B(78983)),L=$(B(42081)),q=$(B(51121)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(URL,C);var T=_createSuper(URL);function URL(){return(0,V.default)(this,URL),T.apply(this,arguments)}return(0,L.default)(URL,[{key:"ui",value:function ui(){var ui=(0,q.default)((0,H.default)(URL.prototype),"ui",this).call(this);return ui.mainInput=".elementor-input",ui.moreOptionsToggle=".elementor-control-url-more",ui.moreOptions=".elementor-control-url-more-options",ui}},{key:"events",value:function events(){var events=(0,q.default)((0,H.default)(URL.prototype),"events",this).call(this);return events["click @ui.moreOptionsToggle"]="onMoreOptionsToggleClick",events}},{key:"autoComplete",value:function autoComplete(){var C,T,B=this,$=this.ui.mainInput,V=elementorCommon.config.isRTL?"right":"left";$.autocomplete({source:function source(V,L){if(B.options.model.attributes.autocomplete)if(C!==V.term){if(/^https?:/.test(V.term)||-1!==V.term.indexOf("."))return L();$.prev().show(),jQuery.post(window.ajaxurl,{editor:"elementor",action:"wp-link-ajax",page:1,search:V.term,_ajax_linking_nonce:jQuery("#_ajax_linking_nonce").val()},(function(C){T=C,L(C)}),"json").always((function(){return $.prev().hide()})),C=V.term}else L(T)},focus:function focus(C){C.preventDefault()},select:function select(C,T){return $.val(T.item.permalink),B.setValue("url",T.item.permalink),!1},open:function open(C){jQuery(C.target).data("uiAutocomplete").menu.activeMenu.addClass("elementor-autocomplete-menu")},minLength:2,position:{my:V+" top+2",at:V+" bottom"}}),$.autocomplete("instance")._renderItem=function(C,T){var B=window.wpLinkL10n?window.wpLinkL10n.noTitle:"",$=T.title?T.title:B;return jQuery('<li role="option" id="mce-wp-autocomplete-'+T.ID+'">').append("<span>"+$+'</span> <span class="elementor-autocomplete-item-info">'+T.info+"</span>").appendTo(C)}}},{key:"onReady",value:function onReady(){this.autoComplete()}},{key:"onMoreOptionsToggleClick",value:function onMoreOptionsToggleClick(){this.ui.moreOptions.slideToggle()}},{key:"onBeforeDestroy",value:function onBeforeDestroy(){this.ui.mainInput.data("autocomplete")&&this.ui.mainInput.autocomplete("destroy"),this.$el.remove()}}]),URL}(B(87474));C.exports=G},30437:(C,T,B)=>{"use strict";var $,V=B(53005);$=V.extend({ui:function ui(){var ui=V.prototype.ui.apply(this,arguments);return ui.form="form",ui.loading=".wp-widget-form-loading",ui},events:function events(){return{"keyup @ui.form :input":"onFormChanged","change @ui.form :input":"onFormChanged"}},onFormChanged:function onFormChanged(){var C="widget-"+this.model.get("id_base"),T=this.ui.form.elementorSerializeObject()[C].REPLACE_TO_ID;this.setValue(T)},onReady:function onReady(){var C=this;elementorCommon.ajax.addRequest("editor_get_wp_widget_form",{data:{id:C.model.cid,widget_type:C.model.get("widget"),data:C.container.settings.toJSON()},success:function success(T){if(C.ui.form.html(T),wp.textWidgets){C.ui.form.addClass("open");var B=new jQuery.Event("widget-added");wp.textWidgets.handleWidgetAdded(B,C.ui.form),wp.mediaWidgets.handleWidgetAdded(B,C.ui.form),wp.customHtmlWidgets&&wp.customHtmlWidgets.handleWidgetAdded(B,C.ui.form)}var $=C.model.get("widget");elementor.hooks.doAction("panel/widgets/".concat($,"/controls/wp_widget/loaded"),C)}})}}),C.exports=$},58326:(C,T,B)=>{"use strict";var $,V=B(53005);$=V.extend({editor:null,ui:function ui(){var ui=V.prototype.ui.apply(this,arguments);return jQuery.extend(ui,{inputWrapper:".elementor-control-input-wrapper"}),ui},events:function events(){return _.extend(V.prototype.events.apply(this,arguments),{"keyup textarea.elementor-wp-editor":"onBaseInputChange"})},buttons:{addToBasic:{underline:"italic"},addToAdvanced:{},moveToAdvanced:{blockquote:"removeformat",alignleft:"blockquote",aligncenter:"alignleft",alignright:"aligncenter"},moveToBasic:{},removeFromBasic:["unlink","wp_more"],removeFromAdvanced:[]},initialize:function initialize(){V.prototype.initialize.apply(this,arguments);var C=this;if(C.editorID="elementorwpeditor"+C.cid,_.defer((function(){C.isDestroyed||(quicktags({buttons:"strong,em,del,link,img,close",id:C.editorID}),elementor.config.rich_editing_enabled&&switchEditors.go(C.editorID,"tmce"),delete QTags.instances[0])})),elementor.config.rich_editing_enabled){var T={id:C.editorID,selector:"#"+C.editorID,setup:function setup(T){C.editor=T}};tinyMCEPreInit.mceInit[C.editorID]=_.extend(_.clone(tinyMCEPreInit.mceInit.elementorwpeditor),T),elementor.config.tinymceHasCustomConfig||C.rearrangeButtons()}else C.$el.addClass("elementor-rich-editing-disabled")},applySavedValue:function applySavedValue(){if(this.editor){var C=this.getControlValue();this.editor.setContent(C),jQuery("#"+this.editorID).val(C)}},saveEditor:function saveEditor(){this.setValue(this.editor.getContent())},moveButtons:function moveButtons(C,T,B){B||(B=T,T=null),_.each(C,(function(C,$){var V=B.indexOf(C);if(T){var L=T.indexOf($);if(-1===L)throw new ReferenceError("Trying to move non-existing button `"+$+"`");T.splice(L,1)}if(-1===V)throw new ReferenceError("Trying to move button after non-existing button `"+C+"`");B.splice(V+1,0,$)}))},rearrangeButtons:function rearrangeButtons(){var C=tinyMCEPreInit.mceInit[this.editorID],T=C.toolbar1.split(","),B=C.toolbar2.split(",");T=_.difference(T,this.buttons.removeFromBasic),B=_.difference(B,this.buttons.removeFromAdvanced),this.moveButtons(this.buttons.moveToBasic,B,T),this.moveButtons(this.buttons.moveToAdvanced,T,B),this.moveButtons(this.buttons.addToBasic,T),this.moveButtons(this.buttons.addToAdvanced,B),C.toolbar1=T.join(","),C.toolbar2=B.join(",")},onReady:function onReady(){var C=this,T=jQuery(elementor.config.wp_editor.replace(/elementorwpeditor/g,this.editorID).replace("%%EDITORCONTENT%%",""));T.find(".wp-editor-area").text(this.getControlValue()),T.find(".wp-editor-tabs").addClass("elementor-control-dynamic-switcher-wrapper"),this.ui.inputWrapper.html(T),setTimeout((function(){!C.isDestroyed&&C.editor&&C.editor.on("keyup change undo redo",C.saveEditor.bind(C))}),100)},onBeforeDestroy:function onBeforeDestroy(){delete QTags.instances[this.editorID],elementor.config.rich_editing_enabled&&(tinymce.EditorManager.execCommand("mceRemoveEditor",!0,this.editorID),delete tinyMCEPreInit.mceInit[this.editorID],delete tinyMCEPreInit.qtInit[this.editorID])}}),C.exports=$},82509:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(CreateBase,C);var T=_createSuper(CreateBase);function CreateBase(){return(0,V.default)(this,CreateBase),T.apply(this,arguments)}return(0,L.default)(CreateBase,[{key:"validateArgs",value:function validateArgs(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.requireContainer(C),this.requireArgumentType("setting","string",C),this.requireArgumentType("title","string",C)}}]),CreateBase}($e.modules.editor.CommandContainerBase);T.default=H},47721:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Create=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Create,C);var T=_createSuper(Create);function Create(){return(0,V.default)(this,Create),T.apply(this,arguments)}return(0,L.default)(Create,[{key:"apply",value:function apply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=C.container,B=C.setting,$=C.title;if(!T.controls[B])throw new Error("Invalid setting: control '".concat(B,"', not found."));var V=C.id||elementorCommon.helpers.getUniqueId();return $e.data.create("globals/colors?id=".concat(V),{title:$,value:T.settings.get(B)})}}]),Create}($(B(82509)).default);T.Create=H},78178:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Create",{enumerable:!0,get:function get(){return $.Create}});var $=B(47721)},27360:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(19263)),K=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(78178));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var 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"globals/colors"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(K)}}]),Component}(G.default);T.default=Q},19547:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Colors=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Colors,C);var T=_createSuper(Colors);function Colors(){return(0,V.default)(this,Colors),T.apply(this,arguments)}return(0,L.default)(Colors,null,[{key:"getEndpointFormat",value:function getEndpointFormat(){return"globals/colors/{id}"}}]),Colors}($e.modules.CommandData);T.Colors=H;var G=H;T.default=G},70695:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Colors",{enumerable:!0,get:function get(){return H.Colors}}),T.Index=void 0,Object.defineProperty(T,"Typography",{enumerable:!0,get:function get(){return G.Typography}});var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=B(19547),G=B(671);function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var K=function(C){(0,q.default)(Index,C);var T=_createSuper(Index);function Index(){return(0,V.default)(this,Index),T.apply(this,arguments)}return(0,L.default)(Index,null,[{key:"getEndpointFormat",value:function getEndpointFormat(){return"globals"}}]),Index}($e.modules.CommandData);T.Index=K},671:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Typography=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Typography,C);var T=_createSuper(Typography);function Typography(){return(0,V.default)(this,Typography),T.apply(this,arguments)}return(0,L.default)(Typography,null,[{key:"getEndpointFormat",value:function getEndpointFormat(){return"globals/typography/{id}"}}]),Typography}($e.modules.CommandData);T.Typography=H;var G=H;T.default=G},94202:(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(51121)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(19263)),Q=$(B(96959)),J=$(B(27360)),Y=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(70695));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var X=function(C){(0,U.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:"__construct",value:function __construct(){var C=this,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,W.default)((0,G.default)(Component.prototype),"__construct",this).call(this,T),elementorCommon.elements.$window.on("elementor:loaded",(function(){return C.refreshGlobalData()}))}},{key:"getNamespace",value:function getNamespace(){return"globals"}},{key:"registerAPI",value:function registerAPI(){$e.components.register(new Q.default({manager:this})),$e.components.register(new J.default({manager:this})),(0,W.default)((0,G.default)(Component.prototype),"registerAPI",this).call(this)}},{key:"defaultData",value:function defaultData(){return this.importCommands(Y)}},{key:"refreshGlobalData",value:function refreshGlobalData(){$e.data.deleteCache($e.components.get("globals"),"globals/index")}}]),Component}(K.default);T.default=X},39690:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Create=void 0;var V=$(B(40131)),L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(Create,C);var T=_createSuper(Create);function Create(){return(0,L.default)(this,Create),T.apply(this,arguments)}return(0,q.default)(Create,[{key:"apply",value:function apply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=C.container,B=C.setting,$=C.title,L=T.controls,q={},W=!1,U="";if(!L[B]||!L[B].groupPrefix)throw new Error("Invalid setting: control '".concat(B,"', not found."));if((U=L[B].groupPrefix)&&Object.entries(L).forEach((function(C){var B=(0,V.default)(C,1)[0];if(B.includes(U)){var $=T.settings.get(B),L=T.controls[B].default;_.isEqual($,L)||(q[B.replace(U,elementor.config.kit_config.typography_prefix)]=T.settings.get(B))}})),Object.values(q).length){var H=elementorCommon.helpers.getUniqueId();W=$e.data.create("globals/typography?id=".concat(H),{title:$,value:q})}return W}}]),Create}($(B(82509)).default);T.Create=G},10602:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Create",{enumerable:!0,get:function get(){return $.Create}});var $=B(39690)},96959:(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(51121)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(19263)),Q=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(10602));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var J=function(C){(0,U.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:"__construct",value:function __construct(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,W.default)((0,G.default)(Component.prototype),"__construct",this).call(this,C)}},{key:"getNamespace",value:function getNamespace(){return"globals/typography"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(Q)}}]),Component}(K.default);T.default=J},22724:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(51121)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(65917)),K=$(B(30889));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var Q=function(C){(0,W.default)(CommandDisableEnable,C);var T=_createSuper(CommandDisableEnable);function CommandDisableEnable(){return(0,V.default)(this,CommandDisableEnable),T.apply(this,arguments)}return(0,L.default)(CommandDisableEnable,[{key:"initialize",value:function initialize(C){this.type=this.command===this.constructor.getEnableCommand()?"enable":"disable",(0,q.default)((0,H.default)(CommandDisableEnable.prototype),"initialize",this).call(this,C)}},{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C),this.requireArgumentConstructor("settings",Object,C)}},{key:"getHistory",value:function getHistory(C){var T=C.settings,B=C.containers,$=void 0===B?[C.container]:B,V={};$.forEach((function(C){var B=C.id;V[B]||(V[B]={}),V[B]=T}));var L=elementor.translate(this.constructor.getName())+" "+K.default.getSubTitle(C),q=this.type;return{containers:$,subTitle:L,data:{changes:V,command:this.command},type:q,restore:this.constructor.restore}}}],[{key:"getName",value:function getName(){elementorModules.ForceMethodImplementation()}},{key:"getEnableCommand",value:function getEnableCommand(){elementorModules.ForceMethodImplementation()}},{key:"getDisableCommand",value:function getDisableCommand(){elementorModules.ForceMethodImplementation()}},{key:"restore",value:function restore(C,T){var B=C.get("data"),$=$e.commands.getCommandClass(B.command);$.getDisableCommand()===B.command&&(T=!T),C.get("containers").forEach((function(C){var V=B.changes[C.id],L=T?$.getEnableCommand():$.getDisableCommand();$e.run(L,{container:C,settings:V}),C.panel.refresh()}))}}]),CommandDisableEnable}(G.default);T.default=Q},65917:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(51121)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(CommandHistoryBase,C);var T=_createSuper(CommandHistoryBase);function CommandHistoryBase(){return(0,V.default)(this,CommandHistoryBase),T.apply(this,arguments)}return(0,L.default)(CommandHistoryBase,[{key:"initialize",value:function initialize(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=C.options,B=(void 0===T?{}:T).useHistory;(void 0===B||B)&&(this.history=this.getHistory(C),this.historyId=!1)}},{key:"getHistory",value:function getHistory(){elementorModules.ForceMethodImplementation()}},{key:"isHistoryActive",value:function isHistoryActive(){return elementor.documents.getCurrent().history.getActive()}},{key:"onBeforeRun",value:function onBeforeRun(C){(0,q.default)((0,H.default)(CommandHistoryBase.prototype),"onBeforeRun",this).call(this,C),this.history&&this.isHistoryActive()&&(this.historyId=$e.internal("document/history/start-log",this.history))}},{key:"onAfterRun",value:function onAfterRun(C,T){(0,q.default)((0,H.default)(CommandHistoryBase.prototype),"onAfterRun",this).call(this,C,T),this.history&&this.isHistoryActive()&&$e.internal("document/history/end-log",{id:this.historyId})}},{key:"onAfterApply",value:function onAfterApply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0;(0,q.default)((0,H.default)(CommandHistoryBase.prototype),"onAfterApply",this).call(this,C,T),this.isDataChanged()&&$e.internal("document/save/set-is-modified",{status:!0})}},{key:"onCatchApply",value:function onCatchApply(C){C instanceof $e.modules.HookBreak&&this.historyId&&$e.internal("document/history/delete-log",{id:this.historyId}),(0,q.default)((0,H.default)(CommandHistoryBase.prototype),"onCatchApply",this).call(this,C)}},{key:"isDataChanged",value:function isDataChanged(){return!0}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandHistoryBase"}}]),CommandHistoryBase}($(B(8074)).default);T.default=G},5116:(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(51121)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(19263)),Q=_interopRequireWildcard(B(24475)),J=_interopRequireWildcard(B(63916)),Y=_interopRequireWildcard(B(79188));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,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var X=function(C){(0,U.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"document"}},{key:"registerAPI",value:function registerAPI(){Object.values(Q).forEach((function(C){return $e.components.register(new C)})),(0,W.default)((0,G.default)(Component.prototype),"registerAPI",this).call(this)}},{key:"defaultCommands",value:function defaultCommands(){return{}}},{key:"defaultHooks",value:function defaultHooks(){return this.importHooks(J)}},{key:"defaultUiStates",value:function defaultUiStates(){return this.importUiStates(Y)}},{key:"defaultUtils",value:function defaultUtils(){var C=this;return{findViewRecursive:function findViewRecursive(T,B,$){var V=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],L=[];for(var q in T._views){var W=T._views[q];if($===W.model.get(B)&&(L.push(W),!V))return L;if(W.children){var U=C.utils.findViewRecursive(W.children,B,$,V);if(U.length&&(L=L.concat(U),!V))return L}}return L},findViewById:function findViewById(T){var B=C.utils.findViewRecursive(elementor.getPreviewView().children,"id",T,!1);return!!B&&B[0]},findContainerById:function findContainerById(T){var B=C.utils.findViewById(T);return B&&(B=B.getContainer()),B}}}}]),Component}(K.default);T.default=X},12146:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(DisableEnable,C);var T=_createSuper(DisableEnable);function DisableEnable(){return(0,L.default)(this,DisableEnable),T.apply(this,arguments)}return(0,q.default)(DisableEnable,[{key:"getTitle",value:function getTitle(){return $("Dynamic")}}],[{key:"getName",value:function getName(){return"Dynamic"}},{key:"getEnableCommand",value:function getEnableCommand(){return"document/dynamic/enable"}},{key:"getDisableCommand",value:function getDisableCommand(){return"document/dynamic/disable"}}]),DisableEnable}(V(B(22724)).default);T.default=G},9471:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Disable=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Disable,C);var T=_createSuper(Disable);function Disable(){return(0,V.default)(this,Disable),T.apply(this,arguments)}return(0,L.default)(Disable,[{key:"apply",value:function apply(C){var T=C.settings,B=C.containers;(void 0===B?[C.container]:B).forEach((function(C){C=C.lookup(),Object.keys(T).forEach((function(T){C.dynamic.unset(T)})),$e.internal("document/elements/set-settings",{container:C,settings:{__dynamic__:C.dynamic.toJSON()}})}))}}]),Disable}($(B(12146)).default);T.Disable=H;var G=H;T.default=G},28910:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Enable=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Enable,C);var T=_createSuper(Enable);function Enable(){return(0,V.default)(this,Enable),T.apply(this,arguments)}return(0,L.default)(Enable,[{key:"apply",value:function apply(C){var T=C.settings,B=C.containers;(void 0===B?[C.container]:B).forEach((function(C){(C=C.lookup()).dynamic.set(T),$e.internal("document/elements/set-settings",{container:C,settings:{__dynamic__:C.dynamic.toJSON()}})}))}}]),Enable}($(B(12146)).default);T.Enable=H;var G=H;T.default=G},75775:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Disable",{enumerable:!0,get:function get(){return $.Disable}}),Object.defineProperty(T,"Enable",{enumerable:!0,get:function get(){return V.Enable}}),Object.defineProperty(T,"Settings",{enumerable:!0,get:function get(){return L.Settings}});var $=B(9471),V=B(28910),L=B(67122)},67122:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Settings=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(30889));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(Settings,C);var T=_createSuper(Settings);function Settings(){return(0,V.default)(this,Settings),T.apply(this,arguments)}return(0,L.default)(Settings,[{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C),this.requireArgumentConstructor("settings",Object,C)}},{key:"getHistory",value:function getHistory(C){var T=C.settings,B=C.containers,$=void 0===B?[C.container]:B,V={};return $.forEach((function(C){var B=C.id;V[B]||(V[B]={}),V[B]={old:C.dynamic.toJSON(),new:T}})),{containers:$,subTitle:H.default.getSubTitle(C),data:{changes:V},type:"change",restore:this.constructor.restore}}},{key:"apply",value:function apply(C){var T=C.settings,B=C.containers;(void 0===B?[C.container]:B).forEach((function(C){C=C.lookup(),Object.keys(T).length?C.dynamic.set(T):C.dynamic.clear(),$e.internal("document/elements/set-settings",{container:C,settings:{__dynamic__:C.dynamic.toJSON()}})}))}}],[{key:"restore",value:function restore(C,T){var B=C.get("data");C.get("containers").forEach((function(C){var $=B.changes[C.id];$e.run("document/dynamic/settings",{container:C,settings:T?$.new:$.old}),C.panel.refresh()}))}}]),Settings}($e.modules.editor.document.CommandHistoryDebounceBase);T.Settings=G;var K=G;T.default=K},82203:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(19263)),K=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(75775));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var 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"document/dynamic"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(K)}}]),Component}(G.default);T.default=Q},19817:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"SetSettings",{enumerable:!0,get:function get(){return $.SetSettings}});var $=B(7820)},7820:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.SetSettings=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(SetSettings,C);var T=_createSuper(SetSettings);function SetSettings(){return(0,V.default)(this,SetSettings),T.apply(this,arguments)}return(0,L.default)(SetSettings,[{key:"validateArgs",value:function validateArgs(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.requireContainer(C),this.requireArgumentType("settings","object",C),void 0!==C.render&&void 0!==C.renderUI)throw new Error("Args: `render` and `renderUI` cannot be applied together.")}},{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.settings,V=C.options,L=void 0===V?{}:V,q=L.external,W=L.render,U=void 0===W||W,H=L.renderUI,G=void 0!==H&&H;B.forEach((function(C){q?C.settings.setExternalChange($):C.settings.set($),G?C.renderUI():U&&C.render()}))}}]),SetSettings}($e.modules.editor.CommandContainerInternalBase);T.SetSettings=H;var G=H;T.default=G},75185:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.CopyAll=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(CopyAll,C);var T=_createSuper(CopyAll);function CopyAll(){return(0,V.default)(this,CopyAll),T.apply(this,arguments)}return(0,L.default)(CopyAll,[{key:"apply",value:function apply(){$e.run("document/elements/copy",{containers:Object.values(elementor.getPreviewView().children._views).map((function(C){return C.getContainer()}))})}}]),CopyAll}($e.modules.CommandBase);T.CopyAll=H;var G=H;T.default=G},882:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Copy=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(Copy,C);var T=_createSuper(Copy);function Copy(){return(0,L.default)(this,Copy),T.apply(this,arguments)}return(0,q.default)(Copy,[{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C)}},{key:"apply",value:function apply(C){var T=C.storageKey,B=void 0===T?"clipboard":T,V=C.containers,L=void 0===V?[C.container]:V;if(!elementor.selection.isSameType())return elementor.notifications.showToast({message:$("That didn’t work. Try copying one kind of element at a time.","elementor"),buttons:[{name:"got_it",text:$("Got it","elementor")}]}),!1;var q=elementor.getPreviewView().$el.find(".elementor-element"),W=L.sort((function(C,T){return q.index(C.view.el)-q.index(T.view.el)})).map((function(C){return C.model.toJSON({copyHtmlCache:!0})})),U={type:"elementor",siteurl:elementorCommon.config.urls.rest,elements:W};elementorCommon.storage.set(B,U);var H=document.createElement("textarea");H.value=JSON.stringify(U),document.body.appendChild(H),H.select(),document.execCommand("copy"),document.body.removeChild(H)}}]),Copy}($e.modules.editor.CommandContainerBase);T.Copy=G;var K=G;T.default=K},2040:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Create=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Create,C);var T=_createSuper(Create);function Create(){return(0,V.default)(this,Create),T.apply(this,arguments)}return(0,L.default)(Create,[{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C),this.requireArgumentConstructor("model",Object,C)}},{key:"getHistory",value:function getHistory(C){var T=C.model,B=C.containers;return{containers:void 0===B?[C.container]:B,model:T,type:"add",title:elementor.helpers.getModelLabel(T)}}},{key:"apply",value:function apply(C){var T=this,B=C.model,$=C.options,V=void 0===$?{}:$,L=C.containers,q=void 0===L?[C.container]:L,W=[];return q.forEach((function(C){var $=(C=C.lookup()).view.addElement(B,V).getContainer();W.push($),T.isHistoryActive()&&$e.internal("document/history/log-sub-item",{container:C,type:"sub-add",restore:T.constructor.restore,options:V,data:{containerToRestore:$,modelToRestore:$.model.toJSON()}})})),1===W.length&&(W=W[0]),W}}],[{key:"restore",value:function restore(C,T){var B=C.get("data"),$=C.get("container"),V=C.get("options")||{};V.clone&&(V.clone=!1),T?$e.run("document/elements/create",{container:$,model:B.modelToRestore,options:V}):$e.run("document/elements/delete",{container:B.containerToRestore})}}]),Create}($e.modules.editor.document.CommandHistoryBase);T.Create=H;var G=H;T.default=G},74217:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Delete=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Delete,C);var T=_createSuper(Delete);function Delete(){return(0,V.default)(this,Delete),T.apply(this,arguments)}return(0,L.default)(Delete,[{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C)}},{key:"getHistory",value:function getHistory(C){var T=C.containers;return{containers:void 0===T?[C.container]:T,type:"remove"}}},{key:"apply",value:function apply(C){var T=this,B=C.containers,$=void 0===B?[C.container]:B;return $.forEach((function(C){C=C.lookup(),T.isHistoryActive()&&$e.internal("document/history/log-sub-item",{container:C,type:"sub-remove",restore:T.constructor.restore,data:{model:C.model.toJSON(),parent:C.parent,at:C.view._index}}),C.model.destroy(),C.panel.refresh()})),1===$.length?$[0]:$}}],[{key:"restore",value:function restore(C,T){var B=C.get("container"),$=C.get("data");T?$e.run("document/elements/delete",{container:B}):$e.run("document/elements/create",{container:$.parent,model:$.model,options:{at:$.at}})}}]),Delete}($e.modules.editor.document.CommandHistoryBase);T.Delete=H;var G=H;T.default=G},37623:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.DeselectAll=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(DeselectAll,C);var T=_createSuper(DeselectAll);function DeselectAll(){return(0,V.default)(this,DeselectAll),T.apply(this,arguments)}return(0,L.default)(DeselectAll,[{key:"apply",value:function apply(){elementor.selection.remove([],!0)}}]),DeselectAll}($e.modules.CommandBase);T.DeselectAll=H;var G=H;T.default=G},75107:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Deselect=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Deselect,C);var T=_createSuper(Deselect);function Deselect(){return(0,V.default)(this,Deselect),T.apply(this,arguments)}return(0,L.default)(Deselect,[{key:"validateArgs",value:function validateArgs(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};C.all||this.requireContainer(C)}},{key:"apply",value:function apply(C){var T=C.containers,B=void 0===T?[C.container]:T,$=C.all,V=void 0!==$&&$;elementor.selection.remove(B,V)}}]),Deselect}($e.modules.editor.CommandContainerBase);T.Deselect=H;var G=H;T.default=G},45596:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Duplicate=void 0;var L=V(B(93231)),q=V(B(78983)),W=V(B(42081)),U=V(B(58724)),H=V(B(71173)),G=V(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;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,L.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,U.default)(Duplicate,C);var T=_createSuper(Duplicate);function Duplicate(){return(0,q.default)(this,Duplicate),T.apply(this,arguments)}return(0,W.default)(Duplicate,[{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C)}},{key:"getHistory",value:function getHistory(C){var T=C.containers;return{containers:void 0===T?[C.container]:T,type:"duplicate"}}},{key:"apply",value:function apply(C){var T=C.containers,B=void 0===T?[C.container]:T,V=C.options,L=void 0===V?{}:V,q=[],W=B[B.length-1].view._index;return elementor.selection.isSameType()?(B.forEach((function(C){var T=C.parent;q.push($e.run("document/elements/create",{container:T,model:C.model.toJSON(),options:_objectSpread(_objectSpread({},L),{},{at:++W,clone:!0})}))})),1===q.length?q[0]:q):(elementor.notifications.showToast({message:$("That didn’t work. Try duplicating one kind of element at a time.","elementor"),buttons:[{name:"got_it",text:$("Got it","elementor")}]}),!1)}}]),Duplicate}($e.modules.editor.document.CommandHistoryBase);T.Duplicate=K;var Q=K;T.default=Q},5894:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Empty=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(Empty,C);var T=_createSuper(Empty);function Empty(){return(0,L.default)(this,Empty),T.apply(this,arguments)}return(0,q.default)(Empty,[{key:"getHistory",value:function getHistory(C){return!!C.force&&{type:"remove",title:$("All Content","elementor"),data:elementor.elements?elementor.elements.toJSON():null,restore:this.constructor.restore}}},{key:"apply",value:function apply(C){if(C.force&&elementor.elements)return elementor.elements.reset(),void elementor.getPreviewContainer().panel.closeEditor();elementor.getClearPageDialog().show()}},{key:"isDataChanged",value:function isDataChanged(){return this.args.force}}],[{key:"restore",value:function restore(C,T){if(T)$e.run("document/elements/empty",{force:!0});else{var B=C.get("data");B&&elementor.getPreviewView().addChildModel(B),$e.internal("document/save/set-is-modified",{status:!0})}}}]),Empty}($e.modules.editor.document.CommandHistoryBase);T.Empty=G;var K=G;T.default=K},83022:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Import=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(Import,C);var T=_createSuper(Import);function Import(){return(0,L.default)(this,Import),T.apply(this,arguments)}return(0,q.default)(Import,[{key:"validateArgs",value:function validateArgs(C){if(this.requireArgumentInstance("model",Backbone.Model,C),this.requireArgumentConstructor("data",Object,C),C.containers)throw new TypeError("Multi containers are not supported");C.container&&this.requireContainer()}},{key:"getHistory",value:function getHistory(C){var T=C.model;return{type:"add",title:$("Template","elementor"),subTitle:T.get("title")}}},{key:"apply",value:function apply(C){var T=C.data,B=C.options,$=void 0===B?C.options||{}:B,V=C.container,L=void 0===V?C.container||elementor.getPreviewContainer():V,q=[],W=isNaN($.at)?L.view.collection.length:$.at;return Object.values(T.content).forEach((function(C){q.push($e.run("document/elements/create",{container:L,model:C,options:Object.assign($,{at:W})})),W++})),$.withPageSettings&&$e.run("document/elements/settings",{container:elementor.settings.page.getEditedView().getContainer(),settings:T.page_settings,options:{external:!0}}),q}}]),Import}($e.modules.editor.document.CommandHistoryBase);T.Import=G;var K=G;T.default=K},81682:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Copy",{enumerable:!0,get:function get(){return $.Copy}}),Object.defineProperty(T,"CopyAll",{enumerable:!0,get:function get(){return V.CopyAll}}),Object.defineProperty(T,"Create",{enumerable:!0,get:function get(){return L.Create}}),Object.defineProperty(T,"Delete",{enumerable:!0,get:function get(){return q.Delete}}),Object.defineProperty(T,"Deselect",{enumerable:!0,get:function get(){return W.Deselect}}),Object.defineProperty(T,"DeselectAll",{enumerable:!0,get:function get(){return U.DeselectAll}}),Object.defineProperty(T,"Duplicate",{enumerable:!0,get:function get(){return H.Duplicate}}),Object.defineProperty(T,"Empty",{enumerable:!0,get:function get(){return G.Empty}}),Object.defineProperty(T,"Import",{enumerable:!0,get:function get(){return K.Import}}),Object.defineProperty(T,"Move",{enumerable:!0,get:function get(){return Y.Move}}),Object.defineProperty(T,"Paste",{enumerable:!0,get:function get(){return Q.Paste}}),Object.defineProperty(T,"PasteArea",{enumerable:!0,get:function get(){return J.PasteArea}}),Object.defineProperty(T,"PasteStyle",{enumerable:!0,get:function get(){return X.PasteStyle}}),Object.defineProperty(T,"ResetSettings",{enumerable:!0,get:function get(){return Z.ResetSettings}}),Object.defineProperty(T,"ResetStyle",{enumerable:!0,get:function get(){return ee.ResetStyle}}),Object.defineProperty(T,"Select",{enumerable:!0,get:function get(){return te.Select}}),Object.defineProperty(T,"SelectAll",{enumerable:!0,get:function get(){return ne.SelectAll}}),Object.defineProperty(T,"Settings",{enumerable:!0,get:function get(){return re.Settings}}),Object.defineProperty(T,"ToggleSelection",{enumerable:!0,get:function get(){return oe.ToggleSelection}});var $=B(882),V=B(75185),L=B(2040),q=B(74217),W=B(75107),U=B(37623),H=B(45596),G=B(5894),K=B(83022),Q=B(27318),J=B(66342),Y=B(29881),X=B(73330),Z=B(99563),ee=B(75357),te=B(20450),ne=B(37485),re=B(30889),oe=B(14680)},29881:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Move=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Move,C);var T=_createSuper(Move);function Move(){return(0,V.default)(this,Move),T.apply(this,arguments)}return(0,L.default)(Move,[{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C),this.requireArgumentInstance("target",elementorModules.editor.Container,C)}},{key:"getHistory",value:function getHistory(C){var T=C.containers;return{containers:void 0===T?[C.container]:T,type:"move"}}},{key:"apply",value:function apply(C){var T=C.target,B=C.options,$=void 0===B?{}:B,V=C.containers,L=void 0===V?[C.container]:V,q=[];L.forEach((function(C){q.push(C.model.toJSON()),$e.run("document/elements/delete",{container:C})}));var W=0,U=[];return q.forEach((function(C){Object.prototype.hasOwnProperty.call($,"at")&&q.length>1&&0!==W&&($.at+=W);var B=$e.run("document/elements/create",{container:T,model:C,options:$});U.push(B),W++})),1===U.length?U[0]:U}}]),Move}($e.modules.editor.document.CommandHistoryBase);T.Move=H;var G=H;T.default=G},66342:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.PasteArea=void 0;var L=V(B(50824)),q=V(B(10029)),W=V(B(78983)),U=V(B(42081)),H=V(B(58724)),G=V(B(71173)),K=V(B(74910)),Q=V(B(93231)),J=V(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,K.default)(C);if(T){var V=(0,K.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,G.default)(this,B)}}var Y=function(C){(0,H.default)(PasteArea,C);var T=_createSuper(PasteArea);function PasteArea(){return(0,W.default)(this,PasteArea),T.apply(this,arguments)}return(0,U.default)(PasteArea,[{key:"getHistory",value:function getHistory(){return!1}},{key:"getDialog",value:function getDialog(){var C=this;if(this.dialog)return this.dialog;var T=jQuery("<div>",{class:"e-dialog-description"}).html($("To paste the element from your other site.","elementor")),B=jQuery("<input>",{id:"elementor-paste-area-dialog__input",type:"text"}).attr("autocomplete","off").on("keypress",(function(C){C.preventDefault()})).on("blur",(function(){_.defer((function(){return B.trigger("focus")}))})).on("paste",function(){var T=(0,q.default)(L.default.mark((function _callee(T){var B,$;return L.default.wrap((function _callee$(L){for(;;)switch(L.prev=L.next){case 0:return T.preventDefault(),(B=C.getDialog().getElements("widgetContent")).addClass("e-state-loading"),L.next=5,$e.run("document/ui/paste",{container:C.container,storageType:"rawdata",data:T.originalEvent.clipboardData.getData("text"),options:C.options});case 5:if($=L.sent,B.removeClass("e-state-loading"),!$){L.next=10;break}return C.dialog.hide(),L.abrupt("return");case 10:V.show();case 11:case"end":return L.stop()}}),_callee)})));return function(C){return T.apply(this,arguments)}}()),V=jQuery("<div>",{id:"elementor-paste-area-dialog__error",style:"display: none"}).html($("Make sure that both sites are updated to last version of Elementor and have enabled the features relevant to the copied element before trying again.","elementor")),W=jQuery("<i>",{class:"eicon-loading eicon-animation-spin"});T.append(B).append(V).append(W);var U=J.default.mac?"⌘":"Ctrl";return this.dialog=elementorCommon.dialogsManager.createWidget("lightbox",{id:"elementor-paste-area-dialog",headerMessage:"".concat(U," + V"),message:T,position:{my:"center center",at:"center center"},closeButton:!0,closeButtonOptions:{iconClass:"eicon-close"},onShow:function onShow(){B.trigger("focus"),C.getDialog().getElements("widgetContent").on("click",(function(){B.trigger("focus")}))}}),this.dialog}},{key:"apply",value:function apply(C){this.container=C.container,C.options&&(this.options=C.options),this.getDialog().show()}}]),PasteArea}($e.modules.editor.document.CommandHistoryBase);T.PasteArea=Y,(0,Q.default)(Y,"dialog",null),(0,Q.default)(Y,"container",null),(0,Q.default)(Y,"options",{});var X=Y;T.default=X},73330:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.PasteStyle=void 0;var V=$(B(40131)),L=$(B(7501)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,U.default)(PasteStyle,C);var T=_createSuper(PasteStyle);function PasteStyle(){return(0,q.default)(this,PasteStyle),T.apply(this,arguments)}return(0,W.default)(PasteStyle,[{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C);var T=C.storageKey,B=void 0===T?"clipboard":T,$=elementorCommon.storage.get(B);this.requireArgumentType("storageData","object",{storageData:$})}},{key:"validateControls",value:function validateControls(C,T){var B=!0;return(null===C||null===T||void 0===C||void 0===T||"object"===(0,L.default)(C)^"object"===(0,L.default)(T))&&(B=!1),B}},{key:"getHistory",value:function getHistory(C){var T=C.containers;return{containers:void 0===T?[C.container]:T,type:"paste_style"}}},{key:"apply",value:function apply(C){var T,B=C.containers,$=void 0===B?[C.container]:B,V=C.storageKey,L=void 0===V?"clipboard":V,q=elementorCommon.storage.get(L);if(!q||null==q||null===(T=q.elements)||void 0===T||!T.length||"elementor"!==(null==q?void 0:q.type))return!1;this.applyPasteStyleData($,q.elements)}},{key:"applyPasteStyleData",value:function applyPasteStyleData(C,T){var B=this;C.forEach((function(C){var $=C.settings,q=$.attributes,W=$.controls,U={},H=function addExtraControls(T,B){T[B]&&Object.entries(T[B]).forEach((function(T){var $=(0,V.default)(T,2),L=$[0],q=$[1],H=W[L];C.view.isStyleTransferControl(H)&&(U[B]=U[B]||{},U[B][L]=q)}))};T.forEach((function(T){var $=T.settings;H($,"__globals__"),H($,"__dynamic__"),Object.entries(W).forEach((function(T){var W=(0,V.default)(T,2),H=W[0],G=W[1];if(C.view.isStyleTransferControl(G)){var K=$[H],Q=q[H];if(B.validateControls(K,Q)){if("object"===(0,L.default)(K))if(Object.keys(K).some((function(C){if(K[C]!==Q[C])return!1})))return;K!==Q&&elementor.getControlView(G.type).onPasteStyle(G,K)&&(U[H]=K)}}})),B.pasteStyle(C,U)}))}))}},{key:"pasteStyle",value:function pasteStyle(C,T){var B=T.__globals__;B&&delete T.__globals__,$e.run("document/elements/settings",{container:C,settings:T,options:{external:!0,render:!1}}),B&&($e.run("document/globals/settings",{container:C,settings:B,options:{external:!0,render:!1}}),C.panel.refresh()),C.render()}}]),PasteStyle}($e.modules.editor.document.CommandHistoryBase);T.PasteStyle=K;var Q=K;T.default=Q},27318:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Paste=void 0;var L=V(B(50824)),q=V(B(10029)),W=V(B(78983)),U=V(B(42081)),H=V(B(58724)),G=V(B(71173)),K=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,K.default)(C);if(T){var V=(0,K.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,G.default)(this,B)}}var Q=function(C){(0,H.default)(Paste,C);var T,B=_createSuper(Paste);function Paste(){return(0,W.default)(this,Paste),B.apply(this,arguments)}return(0,U.default)(Paste,[{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C)}},{key:"getHistory",value:function getHistory(){return{type:"paste",title:$("Elements","elementor")}}},{key:"getStorageData",value:function getStorageData(C){var T=C.storageType,B=void 0===T?"localstorage":T,$=C.storageKey,V=void 0===$?"clipboard":$,L=C.data,q=void 0===L?"":L;if("localstorage"===B)return elementorCommon.storage.get(V)||{};try{return JSON.parse(q)||{}}catch(C){return{}}}},{key:"apply",value:(T=(0,q.default)(L.default.mark((function _callee(C){var T,B,$,V,q,W,U,H,G,K,Q;return L.default.wrap((function _callee$(L){for(;;)switch(L.prev=L.next){case 0:if(B=C.at,$=C.rebuild,V=void 0!==$&&$,q=C.containers,W=void 0===q?[C.container]:q,U=C.options,H=void 0===U?{}:U,(G=this.getStorageData(C))&&null!=G&&null!==(T=G.elements)&&void 0!==T&&T.length&&"elementor"===(null==G?void 0:G.type)){L.next=3;break}return L.abrupt("return",!1);case 3:if(K=G.elements,G.siteurl===elementorCommon.config.urls.rest){L.next=14;break}return L.prev=5,L.next=8,new Promise((function(C,T){return elementorCommon.ajax.addRequest("import_from_json",{data:{elements:JSON.stringify(K)},success:C,error:T})}));case 8:K=L.sent,L.next=14;break;case 11:return L.prev=11,L.t0=L.catch(5),L.abrupt("return",!1);case 14:if(Q=[],V?Q=this.rebuild(W,K,B):(void 0!==B&&(H.at=B),Q.push(this.pasteTo(W,K,H))),1!==Q.length){L.next=18;break}return L.abrupt("return",Q[0]);case 18:return L.abrupt("return",Q);case 19:case"end":return L.stop()}}),_callee,this,[[5,11]])}))),function apply(C){return T.apply(this,arguments)})},{key:"rebuild",value:function rebuild(C,T,B){var $=this,V=[];return C.forEach((function(C){var L=void 0===B,q=L?C.view.collection.length:B;T.forEach((function(T){switch(T.elType){case"container":V.push($.pasteTo([C],[T],{at:L?++q:q}));break;case"section":if(T.isInner){var B=$e.run("document/elements/create",{container:C,model:{elType:"section"},columns:1,options:{at:q,edit:!1}});C=B.view.children.findByIndex(0).getContainer()}V.push($.pasteTo([C],[T],{at:q,edit:!1})),q++;break;case"column":var W=$e.run("document/elements/create",{container:C,model:{elType:"section"},columns:0,options:{at:++q,edit:!1}});V.push($.pasteTo([W],[T]));break;default:var U;if("section"===C.model.get("elType"))U=[C.view.children.findByIndex(0).getContainer()];else if("container"===C.model.get("elType"))U=[C];else if(elementorCommon.config.experimentalFeatures.container)U=[U=$e.run("document/elements/create",{container:C,model:{elType:"container"},options:{at:L?++q:q}})];else{U=[$e.run("document/elements/create",{container:C,model:{elType:"section"},columns:1,options:{at:L?++q:q}}).view.children.first().getContainer()]}V.push($.pasteTo(U,[T]))}}))})),V}},{key:"pasteTo",value:function pasteTo(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};B=Object.assign({at:null,clone:!0},B);var $=[];return T.forEach((function(T){$.push($e.run("document/elements/create",{containers:C,model:T,options:B})),null!==B.at&&B.at++})),1===$.length?$[0]:$}}]),Paste}($e.modules.editor.document.CommandHistoryBase);T.Paste=Q;var J=Q;T.default=J},99563:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ResetSettings=void 0;var V=$(B(40131)),L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(ResetSettings,C);var T=_createSuper(ResetSettings);function ResetSettings(){return(0,L.default)(this,ResetSettings),T.apply(this,arguments)}return(0,q.default)(ResetSettings,[{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C)}},{key:"getHistory",value:function getHistory(C){var T=C.containers;return{containers:void 0===T?[C.container]:T,type:"reset_settings"}}},{key:"apply",value:function apply(C){var T=C.containers,B=void 0===T?[C.container]:T,$=C.options,L=void 0===$?{}:$,q=C.settings,W=void 0===q?[]:q;B.forEach((function(C){var T=Object.entries(C.settings.controls),B={};T.forEach((function(C){var T=(0,V.default)(C,2),$=T[0],L=T[1];W&&W.length&&!W.find((function(C){return C===$}))||(B[$]=L.default)})),$e.run("document/elements/settings",{container:C,options:L,settings:B}),C.render()}))}}]),ResetSettings}($e.modules.editor.document.CommandHistoryBase);T.ResetSettings=G;var K=G;T.default=K},75357:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ResetStyle=void 0;var V=$(B(40131)),L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(ResetStyle,C);var T=_createSuper(ResetStyle);function ResetStyle(){return(0,L.default)(this,ResetStyle),T.apply(this,arguments)}return(0,q.default)(ResetStyle,[{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C)}},{key:"getHistory",value:function getHistory(C){var T=C.containers;return{containers:void 0===T?[C.container]:T,type:"reset_style"}}},{key:"apply",value:function apply(C){var T=C.containers;(void 0===T?[C.container]:T).forEach((function(C){var T=C.settings.controls,B=[];C.view.allowRender=!1,Object.entries(T).forEach((function(T){var $=(0,V.default)(T,2),L=$[0],q=$[1];C.view.isStyleTransferControl(q)&&B.push(L)})),$e.run("document/elements/reset-settings",{container:C,settings:B,options:{external:!0}}),C.view.allowRender=!0,C.render()}))}}]),ResetStyle}($e.modules.editor.document.CommandHistoryBase);T.ResetStyle=G;var K=G;T.default=K},37485:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.SelectAll=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createForOfIteratorHelper(C,T){var B="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!B){if(Array.isArray(C)||(B=function _unsupportedIterableToArray(C,T){if(!C)return;if("string"==typeof C)return _arrayLikeToArray(C,T);var B=Object.prototype.toString.call(C).slice(8,-1);"Object"===B&&C.constructor&&(B=C.constructor.name);if("Map"===B||"Set"===B)return Array.from(C);if("Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return _arrayLikeToArray(C,T)}(C))||T&&C&&"number"==typeof C.length){B&&(C=B);var $=0,V=function F(){};return{s:V,n:function n(){return $>=C.length?{done:!0}:{done:!1,value:C[$++]}},e:function e(C){throw C},f:V}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var L,q=!0,W=!1;return{s:function s(){B=B.call(C)},n:function n(){var C=B.next();return q=C.done,C},e:function e(C){W=!0,L=C},f:function f(){try{q||null==B.return||B.return()}finally{if(W)throw L}}}}function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);B<T;B++)$[B]=C[B];return $}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(SelectAll,C);var T=_createSuper(SelectAll);function SelectAll(){return(0,V.default)(this,SelectAll),T.apply(this,arguments)}return(0,L.default)(SelectAll,[{key:"apply",value:function apply(){elementor.selection.add(this.flattenContainersList(elementor.elementsModel.get("elements").map((function(C){return elementor.getContainer(C.id)}))))}},{key:"flattenContainersList",value:function flattenContainersList(){var C,T=[],B=_createForOfIteratorHelper(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]);try{for(B.s();!(C=B.n()).done;){var $=C.value;T.push($),$.children.length&&(T=T.concat(this.flattenContainersList($.children)))}}catch(C){B.e(C)}finally{B.f()}return T}}]),SelectAll}($e.modules.CommandBase);T.SelectAll=H;var G=H;T.default=G},20450:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Select=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Select,C);var T=_createSuper(Select);function Select(){return(0,V.default)(this,Select),T.apply(this,arguments)}return(0,L.default)(Select,[{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C)}},{key:"apply",value:function apply(C){var T=C.containers,B=void 0===T?[C.container]:T,$=C.append,V=void 0!==$&&$;elementor.selection.add(B,V)}}]),Select}($e.modules.editor.CommandContainerBase);T.Select=H;var G=H;T.default=G},30889:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Settings=void 0;var V=$(B(93231)),L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(Settings,C);var T=_createSuper(Settings);function Settings(){return(0,L.default)(this,Settings),T.apply(this,arguments)}return(0,q.default)(Settings,[{key:"addToHistory",value:function addToHistory(C,T,B){var $={containers:[C],data:{changes:(0,V.default)({},C.id,{old:B,new:T})},type:"change",restore:Settings.restore};$e.internal("document/history/add-transaction",$)}},{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C),this.requireArgumentConstructor("settings",Object,C)}},{key:"getHistory",value:function getHistory(C){var T=C.containers;return{containers:void 0===T?[C.container]:T,subTitle:this.constructor.getSubTitle(C),type:"change"}}},{key:"apply",value:function apply(C){var T=this,B=C.containers,$=void 0===B?[C.container]:B,V=C.settings,L=void 0===V?{}:V,q=C.isMultiSettings,W=void 0!==q&&q,U=C.options,H=void 0===U?{}:U;$.forEach((function(C){C=C.lookup();var B=W?L[C.id]:L,$=C.settings.toJSON();C.oldValues={},Object.keys(B).forEach((function(T){C.oldValues[T]=$[T]})),T.isHistoryActive()&&T.addToHistory(C,B,C.oldValues),$e.internal("document/elements/set-settings",{container:C,options:H,settings:B})}))}}],[{key:"getSubTitle",value:function getSubTitle(C){var T=C.containers,B=void 0===T?[C.container]:T,$=C.settings,V=void 0===$?{}:$,L=C.isMultiSettings,q=Object.keys(V),W=B[0].controls,U=q[0],H="";return!L&&1===q.length&&W&&W[U]&&(H=W[U].label),H}},{key:"restore",value:function restore(C,T){var B=C.get("data");C.get("containers").forEach((function(C){var $=B.changes[C.id];$e.run("document/elements/settings",{container:C,settings:T?$.new:$.old,options:{external:!0}})}))}}]),Settings}($e.modules.editor.document.CommandHistoryDebounceBase);T.Settings=G;var K=G;T.default=K},14680:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ToggleSelection=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(ToggleSelection,C);var T=_createSuper(ToggleSelection);function ToggleSelection(){return(0,V.default)(this,ToggleSelection),T.apply(this,arguments)}return(0,L.default)(ToggleSelection,[{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C)}},{key:"apply",value:function apply(C){var T=C.containers,B=void 0===T?[C.container]:T,$=C.append,V=void 0!==$&&$;B.forEach((function(T){$e.run(elementor.selection.has(T)&&V?"document/elements/deselect":"document/elements/select",C)}))}}]),ToggleSelection}($e.modules.editor.CommandContainerBase);T.ToggleSelection=H;var G=H;T.default=G},37583:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(19263)),K=_interopRequireWildcard(B(81682)),Q=_interopRequireWildcard(B(19817));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==V(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}return $.default=C,B&&B.set(C,$),$}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var J=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"document/elements"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(K)}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return this.importCommands(Q)}},{key:"defaultUtils",value:function defaultUtils(){var C=this;return{isValidChild:function isValidChild(C,T){return T.isValidChild(C)},isValidGrandChild:function isValidGrandChild(C,T){var B,$=C.get("elType");switch(T.model.get("elType")){case"document":B=!0;break;case"section":B="widget"===$;break;default:B=!1}return B},isSameElement:function isSameElement(C,T){var B=T.model.get("elType"),$=C.get("elType");return B===$&&("column"===B&&"column"===$||T.model.get("isInner")===C.get("isInner"))},getPasteOptions:function getPasteOptions(T,B){var $={};return $.isValidChild=B.model.isValidChild(T),$.isSameElement=C.utils.isSameElement(T,B),$.isValidGrandChild=C.utils.isValidGrandChild(T,B),$},isPasteEnabled:function isPasteEnabled(T){var B,$=elementorCommon.storage.get("clipboard");if(!$||null==$||null===(B=$.elements)||void 0===B||!B.length||"elementor"!==(null==$?void 0:$.type))return!1;$.elements[0]instanceof Backbone.Model||($.elements[0]=new Backbone.Model($.elements[0]));var V=C.utils.getPasteOptions($.elements[0],T);return Object.values(V).some((function(C){return!!C}))},allowAddingWidgets:function allowAddingWidgets(){var C;return null===(C=elementor.config.document.panel.allow_adding_widgets)||void 0===C||C},showNavigator:function showNavigator(){var C;return null===(C=elementor.config.document.panel.show_navigator)||void 0===C||C},showCopyAndShareButton:function showCopyAndShareButton(){var C;return null!==(C=elementor.config.document.panel.show_copy_and_share)&&void 0!==C&&C},getTitleForLibraryClose:function getTitleForLibraryClose(){var C;return null!==(C=elementor.config.document.panel.library_close_title)&&void 0!==C?C:""},getTitleForPublishButton:function getTitleForPublishButton(){var C;return null!==(C=elementor.config.document.panel.publish_button_title)&&void 0!==C?C:""}}}}]),Component}(G.default);T.default=J},8847:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(DisableEnable,C);var T=_createSuper(DisableEnable);function DisableEnable(){return(0,L.default)(this,DisableEnable),T.apply(this,arguments)}return(0,q.default)(DisableEnable,[{key:"getTitle",value:function getTitle(){return $("Global")}}],[{key:"getName",value:function getName(){return"Global"}},{key:"getEnableCommand",value:function getEnableCommand(){return"document/globals/enable"}},{key:"getDisableCommand",value:function getDisableCommand(){return"document/globals/disable"}}]),DisableEnable}(V(B(22724)).default);T.default=G},89636:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Disable=void 0;var V=$(B(50824)),L=$(B(40131)),q=$(B(10029)),W=$(B(78983)),U=$(B(42081)),H=$(B(58724)),G=$(B(71173)),K=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,K.default)(C);if(T){var V=(0,K.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,G.default)(this,B)}}var Q=function(C){(0,H.default)(Disable,C);var T,B=_createSuper(Disable);function Disable(){return(0,W.default)(this,Disable),B.apply(this,arguments)}return(0,U.default)(Disable,[{key:"apply",value:(T=(0,q.default)(V.default.mark((function _callee3(C){var T,B,$,W,U,H;return V.default.wrap((function _callee3$(G){for(;;)switch(G.prev=G.next){case 0:return T=C.settings,B=C.containers,$=void 0===B?[C.container]:B,W=C.options,U=void 0===W?{}:W,H=$.map(function(){var C=(0,q.default)(V.default.mark((function _callee2(C){var B;return V.default.wrap((function _callee2$($){for(;;)switch($.prev=$.next){case 0:if(C=C.lookup(),!U.restore){$.next=6;break}return B=Object.entries(C.globals.attributes).map(function(){var T=(0,q.default)(V.default.mark((function _callee(T){var B,$,q;return V.default.wrap((function _callee$(V){for(;;)switch(V.prev=V.next){case 0:if(B=(0,L.default)(T,2),$=B[0],q=B[1]){V.next=3;break}return V.abrupt("return");case 3:return V.abrupt("return",$e.run("document/globals/unlink",{container:C,options:{external:!0},globalValue:q,setting:$}));case 4:case"end":return V.stop()}}),_callee)})));return function(C){return T.apply(this,arguments)}}()),$.next=6,Promise.all(B);case 6:Object.keys(T).forEach((function(T){return C.globals.set(T,"")})),$e.internal("document/elements/set-settings",{container:C,settings:{__globals__:C.globals.toJSON()},options:{renderUI:!0}});case 8:case"end":return $.stop()}}),_callee2)})));return function(T){return C.apply(this,arguments)}}()),G.next=4,Promise.all(H);case 4:case"end":return G.stop()}}),_callee3)}))),function apply(C){return T.apply(this,arguments)})}]),Disable}($(B(8847)).default);T.Disable=Q;var J=Q;T.default=J},16602:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Enable=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Enable,C);var T=_createSuper(Enable);function Enable(){return(0,V.default)(this,Enable),T.apply(this,arguments)}return(0,L.default)(Enable,[{key:"apply",value:function apply(C){var T=C.settings,B=C.containers;(void 0===B?[C.container]:B).forEach((function(C){(C=C.lookup()).globals.set(T),$e.internal("document/elements/set-settings",{container:C,settings:{__globals__:C.globals.toJSON()},options:{renderUI:!0}}),Object.values(C.getGroupRelatedControls(T)).forEach((function(T){C.settings.set(T.name,T.default)}))}))}}]),Enable}($(B(8847)).default);T.Enable=H;var G=H;T.default=G},76030:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Disable",{enumerable:!0,get:function get(){return $.Disable}}),Object.defineProperty(T,"Enable",{enumerable:!0,get:function get(){return V.Enable}}),Object.defineProperty(T,"Settings",{enumerable:!0,get:function get(){return L.Settings}}),Object.defineProperty(T,"Unlink",{enumerable:!0,get:function get(){return q.Unlink}});var $=B(89636),V=B(16602),L=B(88667),q=B(5743)},88667:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Settings=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(30889));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(Settings,C);var T=_createSuper(Settings);function Settings(){return(0,V.default)(this,Settings),T.apply(this,arguments)}return(0,L.default)(Settings,[{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C),this.requireArgumentConstructor("settings",Object,C)}},{key:"getHistory",value:function getHistory(C){var T=C.settings,B=C.containers,$=void 0===B?[C.container]:B,V={};return $.forEach((function(C){var B=C.id;V[B]||(V[B]={}),V[B]={old:C.globals.toJSON(),new:T}})),{containers:$,subTitle:H.default.getSubTitle(C),data:{changes:V},type:"change",restore:this.constructor.restore}}},{key:"apply",value:function apply(C){var T=C.settings,B=C.containers,$=void 0===B?[C.container]:B,V=C.options,L=void 0===V?{}:V;$.forEach((function(C){C=C.lookup(),Object.keys(T).length?C.globals.set(T):C.globals.clear(),$e.internal("document/elements/set-settings",{container:C,options:L,settings:{__globals__:C.globals.toJSON()}})}))}}],[{key:"restore",value:function restore(C,T){var B=C.get("data");C.get("containers").forEach((function(C){var $=B.changes[C.id];$e.run("document/globals/settings",{container:C,settings:T?$.new:$.old}),C.panel.refresh()}))}}]),Settings}($e.modules.editor.document.CommandHistoryDebounceBase);T.Settings=G;var K=G;T.default=K},5743:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Unlink=void 0;var V=$(B(50824)),L=$(B(40131)),q=$(B(10029)),W=$(B(78983)),U=$(B(42081)),H=$(B(58724)),G=$(B(71173)),K=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,K.default)(C);if(T){var V=(0,K.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,G.default)(this,B)}}var Q=function(C){(0,H.default)(Unlink,C);var T,B=_createSuper(Unlink);function Unlink(){return(0,W.default)(this,Unlink),B.apply(this,arguments)}return(0,U.default)(Unlink,[{key:"validateArgs",value:function validateArgs(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.requireContainer(C),this.requireArgumentType("setting","string",C),this.requireArgumentType("globalValue","string",C)}},{key:"apply",value:(T=(0,q.default)(V.default.mark((function _callee2(C){var T,B,$,W,U,H,G;return V.default.wrap((function _callee2$(K){for(;;)switch(K.prev=K.next){case 0:return T=C.containers,B=void 0===T?[C.container]:T,$=C.setting,W=C.globalValue,U=C.options,H=void 0===U?{}:U,G={},K.next=3,Promise.all(B.map(function(){var C=(0,q.default)(V.default.mark((function _callee(C){var T,B,q,U;return V.default.wrap((function _callee$(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,$e.data.get(W);case 2:return(T=V.sent)&&(q=T.data.value,(U=null===(B=C.controls[$])||void 0===B?void 0:B.groupPrefix)?Object.entries(q).forEach((function(C){var T=(0,L.default)(C,2),B=T[0],$=T[1];B=B.replace(elementor.config.kit_config.typography_prefix,U),G[B]=$})):G[$]=q),V.abrupt("return",Promise.resolve());case 5:case"end":return V.stop()}}),_callee)})));return function(T){return C.apply(this,arguments)}}()));case 3:Object.keys(G).length&&$e.run("document/elements/settings",{containers:B,options:H,settings:G});case 4:case"end":return K.stop()}}),_callee2)}))),function apply(C){return T.apply(this,arguments)})}]),Unlink}($e.modules.editor.CommandContainerBase);T.Unlink=Q;var J=Q;T.default=J},92787:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(19263)),K=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(76030));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var 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"document/globals"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(K)}}]),Component}(G.default);T.default=Q},72465:(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 BackwardsCompatibility(){(0,V.default)(this,BackwardsCompatibility)}return(0,L.default)(BackwardsCompatibility,null,[{key:"findViewRecursive",value:function findViewRecursive(C,T,B){var $=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return elementorDevTools.deprecation.deprecated("findViewRecursive()","2.9.0","$e.components.get( 'document' ).utils.findViewRecursive( parent, key, value, multiple )"),$e.components.get("document").utils.findViewRecursive(C,T,B,$)}},{key:"findViewById",value:function findViewById(C){return elementorDevTools.deprecation.deprecated("findViewById( id )","2.9.0","$e.components.get( 'document' ).utils.findViewById( id )"),$e.components.get("document").utils.findViewById(C)}},{key:"findContainerById",value:function findContainerById(C){return elementorDevTools.deprecation.deprecated("findContainerById( id )","2.9.0","$e.components.get( 'document' ).utils.findContainerById( id )"),$e.components.get("document").utils.findContainerById(C)}},{key:"isValidChild",value:function isValidChild(C,T){return elementorDevTools.deprecation.deprecated("isValidChild( childModel, parentModel )","3.4.0","parentModel.isValidChild( childModel )"),T.isValidChild(C)}},{key:"isValidGrandChild",value:function isValidGrandChild(C,T){return elementorDevTools.deprecation.deprecated("isValidGrandChild( childModel, targetContainer )","3.4.0","$e.components.get( 'document/elements' ).utils.isValidGrandChild( childModel, targetContainer )"),$e.components.get("document/elements").utils.isValidGrandChild(C,T)}},{key:"isSameElement",value:function isSameElement(C,T){return elementorDevTools.deprecation.deprecated("isSameElement( sourceModel, targetContainer )","3.4.0","$e.components.get( 'document/elements' ).utils.isSameElement( sourceModel, targetContainer )"),$e.components.get("document/elements").utils.isSameElement(C,T)}},{key:"getPasteOptions",value:function getPasteOptions(C,T){return elementorDevTools.deprecation.deprecated("getPasteOptions( sourceModel, targetContainer )","3.4.0","$e.components.get( 'document/elements' ).utils.getPasteOptions( sourceModel, targetContainer )"),$e.components.get("document/elements").utils.getPasteOptions(C,T)}},{key:"isPasteEnabled",value:function isPasteEnabled(C){return elementorDevTools.deprecation.deprecated("isPasteEnabled( targetContainer )","3.4.0","$e.components.get( 'document/elements' ).utils.isPasteEnabled( targetContainer )"),$e.components.get("document/elements").utils.isPasteEnabled(C)}}]),BackwardsCompatibility}();T.default=q},14729:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(51121)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(CommandHistoryInternalBase,C);var T=_createSuper(CommandHistoryInternalBase);function CommandHistoryInternalBase(){return(0,V.default)(this,CommandHistoryInternalBase),T.apply(this,arguments)}return(0,L.default)(CommandHistoryInternalBase,[{key:"initialize",value:function initialize(C){(0,q.default)((0,H.default)(CommandHistoryInternalBase.prototype),"initialize",this).call(this,C),this.history=elementor.documents.getCurrent().history}}]),CommandHistoryInternalBase}($e.modules.editor.CommandContainerInternalBase);T.default=G},95573:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Do=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Do,C);var T=_createSuper(Do);function Do(){return(0,V.default)(this,Do),T.apply(this,arguments)}return(0,L.default)(Do,[{key:"apply",value:function apply(C){var T=C.index;return elementor.documents.getCurrent().history.doItem(T)}}]),Do}($e.modules.CommandBase);T.Do=H;var G=H;T.default=G},58410:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Do",{enumerable:!0,get:function get(){return $.Do}}),Object.defineProperty(T,"Redo",{enumerable:!0,get:function get(){return V.Redo}}),Object.defineProperty(T,"Undo",{enumerable:!0,get:function get(){return L.Undo}}),Object.defineProperty(T,"UndoAll",{enumerable:!0,get:function get(){return q.UndoAll}});var $=B(95573),V=B(91976),L=B(85156),q=B(34245)},93059:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.AddTransaction=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(51121)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(AddTransaction,C);var T=_createSuper(AddTransaction);function AddTransaction(){return(0,V.default)(this,AddTransaction),T.apply(this,arguments)}return(0,L.default)(AddTransaction,[{key:"initialize",value:function initialize(C){(0,q.default)((0,H.default)(AddTransaction.prototype),"initialize",this).call(this,C),this.component.isTransactionStarted()&&(delete C.title,delete C.subTitle)}},{key:"validateArgs",value:function validateArgs(C){this.requireContainer(),this.requireArgumentType("type","string",C)}},{key:"apply",value:function apply(C){var T=this.history.getCurrentId();T&&(C.id=T),C=this.component.normalizeLogTitle(C),this.component.transactions.push(C)}}]),AddTransaction}($(B(14729)).default);T.AddTransaction=G;var K=G;T.default=K},28891:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ClearTransaction=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(ClearTransaction,C);var T=_createSuper(ClearTransaction);function ClearTransaction(){return(0,V.default)(this,ClearTransaction),T.apply(this,arguments)}return(0,L.default)(ClearTransaction,[{key:"apply",value:function apply(){this.component.transactions=[]}}]),ClearTransaction}($e.modules.CommandInternalBase);T.ClearTransaction=H;var G=H;T.default=G},85795:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.DeleteLog=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(DeleteLog,C);var T=_createSuper(DeleteLog);function DeleteLog(){return(0,V.default)(this,DeleteLog),T.apply(this,arguments)}return(0,L.default)(DeleteLog,[{key:"apply",value:function apply(C){C.id&&this.history.deleteItem(C.id)}}]),DeleteLog}($(B(14729)).default);T.DeleteLog=H;var G=H;T.default=G},35962:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.EndLog=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(EndLog,C);var T=_createSuper(EndLog);function EndLog(){return(0,V.default)(this,EndLog),T.apply(this,arguments)}return(0,L.default)(EndLog,[{key:"apply",value:function apply(C){C.id&&this.history.endItem(C.id)}}]),EndLog}($(B(14729)).default);T.EndLog=H;var G=H;T.default=G},83808:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.EndTransaction=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(EndTransaction,C);var T=_createSuper(EndTransaction);function EndTransaction(){return(0,L.default)(this,EndTransaction),T.apply(this,arguments)}return(0,q.default)(EndTransaction,[{key:"apply",value:function apply(){if(this.component.isTransactionStarted()){var C=this.component.transactions[0],T=C.type,B=this.component.mergeTransactions(this.component.transactions),V=C.title,L=void 0===V?"":V,q=C.subTitle,W=void 0===q?"":q;B.length>1&&(L=$("Elements","elementor"),W="");var U={title:L,subTitle:W,type:T};C.id&&(U.id=C.id);var H=$e.internal("document/history/start-log",U);Object.values(B).forEach((function(T){var B=T;C.id&&(B.id=C.id),$e.internal("document/history/log-sub-item",B)})),$e.internal("document/history/end-log",{id:H}),$e.internal("document/history/clear-transaction")}}}]),EndTransaction}(V(B(14729)).default);T.EndTransaction=G;var K=G;T.default=K},77543:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"AddTransaction",{enumerable:!0,get:function get(){return $.AddTransaction}}),Object.defineProperty(T,"ClearTransaction",{enumerable:!0,get:function get(){return V.ClearTransaction}}),Object.defineProperty(T,"DeleteLog",{enumerable:!0,get:function get(){return L.DeleteLog}}),Object.defineProperty(T,"EndLog",{enumerable:!0,get:function get(){return q.EndLog}}),Object.defineProperty(T,"EndTransaction",{enumerable:!0,get:function get(){return W.EndTransaction}}),Object.defineProperty(T,"LogSubItem",{enumerable:!0,get:function get(){return U.LogSubItem}}),Object.defineProperty(T,"StartLog",{enumerable:!0,get:function get(){return H.StartLog}});var $=B(93059),V=B(28891),L=B(85795),q=B(35962),W=B(83808),U=B(65739),H=B(63397)},65739:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.LogSubItem=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(LogSubItem,C);var T=_createSuper(LogSubItem);function LogSubItem(){return(0,V.default)(this,LogSubItem),T.apply(this,arguments)}return(0,L.default)(LogSubItem,[{key:"apply",value:function apply(C){if(this.history.getActive()){var T=C.id||this.history.getCurrentId();C=this.component.normalizeLogTitle(C);var B=this.history.getItems().findWhere({id:T});if(!B)throw new Error("History item not found.");C.id&&delete C.id,B.get("items").unshift(C)}}}]),LogSubItem}($(B(14729)).default);T.LogSubItem=H;var G=H;T.default=G},63397:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.StartLog=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(51121)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(StartLog,C);var T=_createSuper(StartLog);function StartLog(){return(0,V.default)(this,StartLog),T.apply(this,arguments)}return(0,L.default)(StartLog,[{key:"initialize",value:function initialize(C){(0,q.default)((0,H.default)(StartLog.prototype),"initialize",this).call(this,C),this.history.isItemStarted()||C.id?this.isSubItem=!0:this.args=this.component.normalizeLogTitle(C)}},{key:"validateArgs",value:function validateArgs(C){this.isSubItem||(this.requireArgumentType("type","string",C),this.requireArgumentType("title","string",C))}},{key:"apply",value:function apply(C){return this.isSubItem?($e.internal("document/history/log-sub-item",C),null):this.history.startItem(C)}}]),StartLog}($(B(14729)).default);T.StartLog=G;var K=G;T.default=K},91976:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Redo=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Redo,C);var T=_createSuper(Redo);function Redo(){return(0,V.default)(this,Redo),T.apply(this,arguments)}return(0,L.default)(Redo,[{key:"apply",value:function apply(){elementor.documents.getCurrent().history.navigate(!0)}}]),Redo}($e.modules.CommandBase);T.Redo=H;var G=H;T.default=G},34245:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.UndoAll=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(UndoAll,C);var T=_createSuper(UndoAll);function UndoAll(){return(0,V.default)(this,UndoAll),T.apply(this,arguments)}return(0,L.default)(UndoAll,[{key:"apply",value:function apply(C){var T=C.document;T.history.doItem(T.history.getItems().length-1)}}]),UndoAll}($e.modules.CommandBase);T.UndoAll=H;var G=H;T.default=G},85156:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Undo=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Undo,C);var T=_createSuper(Undo);function Undo(){return(0,V.default)(this,Undo),T.apply(this,arguments)}return(0,L.default)(Undo,[{key:"apply",value:function apply(){elementor.documents.getCurrent().history.navigate()}}]),Undo}($e.modules.CommandBase);T.Undo=H;var G=H;T.default=G},76710:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203),L=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=V(B(78983)),W=V(B(42081)),U=V(B(51121)),H=V(B(58724)),G=V(B(71173)),K=V(B(74910)),Q=V(B(19263)),J=_interopRequireWildcard(B(58410)),Y=_interopRequireWildcard(B(77543));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 X=function(C){(0,H.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,q.default)(this,Component),T.apply(this,arguments)}return(0,W.default)(Component,[{key:"__construct",value:function __construct(C){(0,U.default)((0,K.default)(Component.prototype),"__construct",this).call(this,C),this.transactions=[]}},{key:"getNamespace",value:function getNamespace(){return"document/history"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(J)}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return this.importCommands(Y)}},{key:"normalizeLogTitle",value:function normalizeLogTitle(C){var T=C.containers,B=void 0===T?[C.container]:T;return!C.title&&B[0]&&(1===B.length?C.title=B[0].label:C.title=$("Elements","elementor")),C}},{key:"mergeTransactions",value:function mergeTransactions(C){var T={};return C.forEach((function(C){if(C.container||C.containers){var B=C.containers,$=void 0===B?[C.container]:B;$&&$.forEach((function(B){C.data&&(T[B.id]?T[B.id].data.changes[B.id].new=C.data.changes[B.id].new:T[B.id]=C)}))}})),T}},{key:"isTransactionStarted",value:function isTransactionStarted(){return Boolean(this.transactions.length)}}]),Component}(Q.default);T.default=X},58135:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(ResetLayoutBase,C);var T=_createSuper(ResetLayoutBase);function ResetLayoutBase(){return(0,V.default)(this,ResetLayoutBase),T.apply(this,arguments)}return(0,L.default)(ResetLayoutBase,[{key:"getConditions",value:function getConditions(){return!$e.commands.isCurrentFirstTrace("document/elements/move")}},{key:"apply",value:function apply(C,T){Array.isArray(T)||(T=[T]),T.forEach((function(C){return C.parent.view.resetLayout(!1)}))}}]),ResetLayoutBase}($(B(48310)).default);T.default=H},46105:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.CreateSectionColumnsResetLayout=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(CreateSectionColumnsResetLayout,C);var T=_createSuper(CreateSectionColumnsResetLayout);function CreateSectionColumnsResetLayout(){return(0,V.default)(this,CreateSectionColumnsResetLayout),T.apply(this,arguments)}return(0,L.default)(CreateSectionColumnsResetLayout,[{key:"getCommand",value:function getCommand(){return"document/elements/create"}},{key:"getId",value:function getId(){return"section-columns-reset-layout--document/elements/create"}},{key:"getContainerType",value:function getContainerType(){return"section"}}]),CreateSectionColumnsResetLayout}($(B(58135)).default);T.CreateSectionColumnsResetLayout=H;var G=H;T.default=G},8372:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"CreateSectionColumnsResetLayout",{enumerable:!0,get:function get(){return $.CreateSectionColumnsResetLayout}}),Object.defineProperty(T,"InnerSectionColumns",{enumerable:!0,get:function get(){return V.InnerSectionColumns}}),Object.defineProperty(T,"IsValidChild",{enumerable:!0,get:function get(){return L.IsValidChild}}),Object.defineProperty(T,"SectionColumns",{enumerable:!0,get:function get(){return q.SectionColumns}}),Object.defineProperty(T,"SectionColumnsLimit",{enumerable:!0,get:function get(){return W.SectionColumnsLimit}});var $=B(46105),V=B(43965),L=B(52359),q=B(93678),W=B(61339)},43965:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.InnerSectionColumns=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(48310)),G=$(B(88738)),K=B(39872);function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var Q=function(C){(0,q.default)(InnerSectionColumns,C);var T=_createSuper(InnerSectionColumns);function InnerSectionColumns(){return(0,V.default)(this,InnerSectionColumns),T.apply(this,arguments)}return(0,L.default)(InnerSectionColumns,[{key:"getCommand",value:function getCommand(){return"document/elements/create"}},{key:"getId",value:function getId(){return"create-inner-section-columns"}},{key:"getContainerType",value:function getContainerType(){return"column"}},{key:"getConditions",value:function getConditions(C){return C.model.isInner&&!C.model.elements}},{key:"apply",value:function apply(C,T){var B=C.structure,$=void 0===B?"20":B,V=C.options,L=void 0===V?{}:V;Array.isArray(T)||(T=[T]),G.default.createSectionColumns(T,K.DEFAULT_INNER_SECTION_COLUMNS,L,$)}}]),InnerSectionColumns}(H.default);T.InnerSectionColumns=Q;var J=Q;T.default=J},52359:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.IsValidChild=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(IsValidChild,C);var T=_createSuper(IsValidChild);function IsValidChild(){return(0,V.default)(this,IsValidChild),T.apply(this,arguments)}return(0,L.default)(IsValidChild,[{key:"getCommand",value:function getCommand(){return"document/elements/create"}},{key:"getId",value:function getId(){return"is-valid-child"}},{key:"apply",value:function apply(C){var T=C.containers,B=void 0===T?[C.container]:T,$=C.model,V=void 0===$?{}:$,L=new Backbone.Model(V);return B.some((function(C){return C.model.isValidChild(L)}))}}]),IsValidChild}($(B(34507)).default);T.IsValidChild=H;var G=H;T.default=G},61339:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.SectionColumnsLimit=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(SectionColumnsLimit,C);var T=_createSuper(SectionColumnsLimit);function SectionColumnsLimit(){return(0,V.default)(this,SectionColumnsLimit),T.apply(this,arguments)}return(0,L.default)(SectionColumnsLimit,[{key:"getCommand",value:function getCommand(){return"document/elements/create"}},{key:"getId",value:function getId(){return"section-columns-limit"}},{key:"getContainerType",value:function getContainerType(){return"section"}},{key:"apply",value:function apply(C){var T=C.containers;return!(void 0===T?[C.container]:T).some((function(C){return C.view.isCollectionFilled()}))}}]),SectionColumnsLimit}($(B(34507)).default);T.SectionColumnsLimit=H;var G=H;T.default=G},93678:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.SectionColumns=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(48310)),G=$(B(88738)),K=B(39872);function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var Q=function(C){(0,q.default)(SectionColumns,C);var T=_createSuper(SectionColumns);function SectionColumns(){return(0,V.default)(this,SectionColumns),T.apply(this,arguments)}return(0,L.default)(SectionColumns,[{key:"getCommand",value:function getCommand(){return"document/elements/create"}},{key:"getId",value:function getId(){return"create-section-columns"}},{key:"getContainerType",value:function getContainerType(){return"document"}},{key:"getConditions",value:function getConditions(C){return!C.model.elements&&"section"===C.model.elType}},{key:"apply",value:function apply(C,T){var B=C.structure,$=void 0!==B&&B,V=C.options,L=void 0===V?{}:V;Array.isArray(T)||(T=[T]);var q=C.columns,W=void 0===q?1:q;C.model.isInner&&1===W&&(W=K.DEFAULT_INNER_SECTION_COLUMNS),G.default.createSectionColumns(T,W,L,$)}}]),SectionColumns}(H.default);T.SectionColumns=Q;var J=Q;T.default=J},51043:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.CreateColumnForEmptySection=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(CreateColumnForEmptySection,C);var T=_createSuper(CreateColumnForEmptySection);function CreateColumnForEmptySection(){return(0,V.default)(this,CreateColumnForEmptySection),T.apply(this,arguments)}return(0,L.default)(CreateColumnForEmptySection,[{key:"getCommand",value:function getCommand(){return"document/elements/delete"}},{key:"getId",value:function getId(){return"create-column-for-empty-section--document/elements/delete"}},{key:"getContainerType",value:function getContainerType(){return"column"}},{key:"getConditions",value:function getConditions(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=C.containers;return(void 0===T?[C.container]:T).some((function(C){return"section"===C.parent.type&&0===C.parent.children.length}))}},{key:"apply",value:function apply(C,T){Array.isArray(T)||(T=[T]),T.forEach((function(C){var T=C.parent;0===T.children.length&&$e.run("document/elements/create",{container:T,model:{elType:"column"}})}))}}]),CreateColumnForEmptySection}($(B(48310)).default);T.CreateColumnForEmptySection=H;var G=H;T.default=G},6868:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.DeleteColumnColumnsResetLayout=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(DeleteColumnColumnsResetLayout,C);var T=_createSuper(DeleteColumnColumnsResetLayout);function DeleteColumnColumnsResetLayout(){return(0,V.default)(this,DeleteColumnColumnsResetLayout),T.apply(this,arguments)}return(0,L.default)(DeleteColumnColumnsResetLayout,[{key:"getCommand",value:function getCommand(){return"document/elements/delete"}},{key:"getId",value:function getId(){return"section-columns-reset-layout--document/elements/delete"}},{key:"getContainerType",value:function getContainerType(){return"column"}}]),DeleteColumnColumnsResetLayout}($(B(58135)).default);T.DeleteColumnColumnsResetLayout=H;var G=H;T.default=G},60212:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"CreateColumnForEmptySection",{enumerable:!0,get:function get(){return $.CreateColumnForEmptySection}}),Object.defineProperty(T,"DeleteColumnColumnsResetLayout",{enumerable:!0,get:function get(){return V.DeleteColumnColumnsResetLayout}});var $=B(51043),V=B(6868)},88738:(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(81682),W=function(){function Helper(){(0,V.default)(this,Helper)}return(0,L.default)(Helper,null,[{key:"createSectionColumns",value:function createSectionColumns(C,T,B){var $=arguments.length>3&&void 0!==arguments[3]&&arguments[3];C.forEach((function(C){for(var $=0;$<T;$++){var V={id:elementorCommon.helpers.getUniqueId(),elType:"column",settings:{},elements:[]};C.view.addElement(V,{edit:!1}),$e.internal("document/history/log-sub-item",{container:C,type:"sub-add",restore:q.Create.restore,options:B,data:{containerToRestore:C,modelToRestore:V}})}})),$?C.forEach((function(C){C.view.setStructure($,!1)})):T&&(C.forEach((function(C){return C.view.resetLayout()})),C[C.length-1].model.trigger("request:edit"))}}]),Helper}();T.default=W},15464:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"SectionColumnsSetStructure",{enumerable:!0,get:function get(){return $.SectionColumnsSetStructure}});var $=B(70401)},70401:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.SectionColumnsSetStructure=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(SectionColumnsSetStructure,C);var T=_createSuper(SectionColumnsSetStructure);function SectionColumnsSetStructure(){return(0,V.default)(this,SectionColumnsSetStructure),T.apply(this,arguments)}return(0,L.default)(SectionColumnsSetStructure,[{key:"getCommand",value:function getCommand(){return"document/elements/move"}},{key:"getId",value:function getId(){return"section-columns-set-structure"}},{key:"getContainerType",value:function getContainerType(){return"column"}},{key:"getConditions",value:function getConditions(C){var T=C.containers,B=void 0===T?[C.container]:T,$=C.target;return B.some((function(C){return C.parent!==$}))}},{key:"apply",value:function apply(C){var T=C.containers,B=void 0===T?[C.container]:T,$=C.target;return B.forEach((function(C){return C.parent.view.resetLayout()})),$.view.resetLayout(),!0}}]),SectionColumnsSetStructure}($(B(48310)).default);T.SectionColumnsSetStructure=H;var G=H;T.default=G},30607:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"IsPasteEnabled",{enumerable:!0,get:function get(){return $.IsPasteEnabled}});var $=B(53468)},53468:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.IsPasteEnabled=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(IsPasteEnabled,C);var T=_createSuper(IsPasteEnabled);function IsPasteEnabled(){return(0,V.default)(this,IsPasteEnabled),T.apply(this,arguments)}return(0,L.default)(IsPasteEnabled,[{key:"getCommand",value:function getCommand(){return"document/elements/paste"}},{key:"getId",value:function getId(){return"is-paste-enabled"}},{key:"getConditions",value:function getConditions(C){return!C.rebuild}},{key:"apply",value:function apply(C){var T=C.containers;return(void 0===T?[C.container]:T).some((function(C){return $e.components.get("document/elements").utils.isPasteEnabled(C)}))}}]),IsPasteEnabled}($(B(34507)).default);T.IsPasteEnabled=H;var G=H;T.default=G},57570:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.HandleDynamic=void 0;var V=$(B(93231)),L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(HandleDynamic,C);var T=_createSuper(HandleDynamic);function HandleDynamic(){return(0,L.default)(this,HandleDynamic),T.apply(this,arguments)}return(0,q.default)(HandleDynamic,[{key:"getCommand",value:function getCommand(){return"document/elements/settings"}},{key:"getId",value:function getId(){return"handle-dynamic"}},{key:"getContainerType",value:function getContainerType(){return"dynamic"}},{key:"getConditions",value:function getConditions(C){var T=C.containers;return(void 0===T?[C.container]:T).some((function(C){return"dynamic"===C.type}))}},{key:"apply",value:function apply(C){var T=C.containers;return(void 0===T?[C.container]:T).forEach((function(C){if("dynamic"===C.type){var T=elementor.dynamicTags.tagContainerToTagText(C),B={container:C.parent,settings:(0,V.default)({},C.view.options.controlName,T)};$e.run("document/dynamic/settings",B)}})),!0}}]),HandleDynamic}($(B(48310)).default);T.HandleDynamic=G;var K=G;T.default=K},1364:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"HandleDynamic",{enumerable:!0,get:function get(){return $.HandleDynamic}}),Object.defineProperty(T,"ResizeColumn",{enumerable:!0,get:function get(){return V.ResizeColumn}}),Object.defineProperty(T,"ResizeColumnLimit",{enumerable:!0,get:function get(){return L.ResizeColumnLimit}}),Object.defineProperty(T,"SetStructure",{enumerable:!0,get:function get(){return q.SetStructure}});var $=B(57570),V=B(1540),L=B(19744),q=B(78154)},19744:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ResizeColumnLimit=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(34507)),G=B(39872);function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var K=function(C){(0,q.default)(ResizeColumnLimit,C);var T=_createSuper(ResizeColumnLimit);function ResizeColumnLimit(){return(0,V.default)(this,ResizeColumnLimit),T.apply(this,arguments)}return(0,L.default)(ResizeColumnLimit,[{key:"getCommand",value:function getCommand(){return"document/elements/settings"}},{key:"getId",value:function getId(){return"resize-column-limit"}},{key:"getContainerType",value:function getContainerType(){return"column"}},{key:"getConditions",value:function getConditions(C){return C.settings._inline_size}},{key:"apply",value:function apply(C){var T=C.containers;return(void 0===T?[C.container]:T).some((function(T){var B=T.parent.view,$=T.view,V=T.settings.get("_inline_size")||T.settings.get("_column_size"),L=C.settings._inline_size,q=B.getNextColumn($)||B.getPreviousColumn($);if(!q)return $e.devTools&&$e.devTools.log.error("There is not any next column"),!1;var W=q.$el;return+(V+(+q.model.getSetting("_inline_size")||B.getColumnPercentSize(W,W[0].getBoundingClientRect().width))-L).toFixed(3)<G.DEFAULT_INNER_SECTION_COLUMNS?($e.devTools&&$e.devTools.log.error("New column width is too large"),!1):!(L<G.DEFAULT_INNER_SECTION_COLUMNS)||($e.devTools&&$e.devTools.log.error("New column width is too small"),!1)}))}}]),ResizeColumnLimit}(H.default);T.ResizeColumnLimit=K;var Q=K;T.default=Q},1540:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ResizeColumn=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(ResizeColumn,C);var T=_createSuper(ResizeColumn);function ResizeColumn(){return(0,V.default)(this,ResizeColumn),T.apply(this,arguments)}return(0,L.default)(ResizeColumn,[{key:"getCommand",value:function getCommand(){return"document/elements/settings"}},{key:"getId",value:function getId(){return"resize-column"}},{key:"getContainerType",value:function getContainerType(){return"column"}},{key:"getConditions",value:function getConditions(C){return C.settings._inline_size}},{key:"apply",value:function apply(C){var T=this,B=C.containers;return(void 0===B?[C.container]:B).forEach((function(B){T.resizeColumn(B,C.settings._inline_size)})),!0}},{key:"resizeColumn",value:function resizeColumn(C,T){var B=C.parent.view.getNeighborContainer(C);if(!B)return!1;var $=C.parent.view,V=C.view,L=null;if(void 0===C.oldValues||null===C.oldValues._inline_size)L=C.settings.get("_column_size");else{var q=$.$el.find(" > .elementor-container")[0].getBoundingClientRect().width;L=+(C.oldValues._inline_size||V.el.getBoundingClientRect().width/q*100)}var W=B.view,U=W.$el,H=+(L+(+W.model.getSetting("_inline_size")||C.parent.view.getColumnPercentSize(U,U[0].getBoundingClientRect().width))-T).toFixed(3);return $e.run("document/elements/settings",{containers:[B],settings:{_inline_size:H},options:{callbacks:{"resize-column-limit":!1},history:{title:elementor.config.elements.column.controls._inline_size.label},external:!0,debounce:!0}}),!0}}]),ResizeColumn}($(B(48310)).default);T.ResizeColumn=H;var G=H;T.default=G},78154:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.SetStructure=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(SetStructure,C);var T=_createSuper(SetStructure);function SetStructure(){return(0,V.default)(this,SetStructure),T.apply(this,arguments)}return(0,L.default)(SetStructure,[{key:"getCommand",value:function getCommand(){return"document/elements/settings"}},{key:"getId",value:function getId(){return"set-structure"}},{key:"getContainerType",value:function getContainerType(){return"section"}},{key:"getConditions",value:function getConditions(C){return!!C.settings.structure}},{key:"apply",value:function apply(C){var T=C.containers;return(void 0===T?[C.container]:T).forEach((function(C){C.view.adjustColumns()})),!0}}]),SetStructure}($(B(48310)).default);T.SetStructure=H;var G=H;T.default=G},95460:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0});var $=B(8372);Object.keys($).forEach((function(C){"default"!==C&&"__esModule"!==C&&(C in T&&T[C]===$[C]||Object.defineProperty(T,C,{enumerable:!0,get:function get(){return $[C]}}))}));var V=B(60212);Object.keys(V).forEach((function(C){"default"!==C&&"__esModule"!==C&&(C in T&&T[C]===V[C]||Object.defineProperty(T,C,{enumerable:!0,get:function get(){return V[C]}}))}));var L=B(15464);Object.keys(L).forEach((function(C){"default"!==C&&"__esModule"!==C&&(C in T&&T[C]===L[C]||Object.defineProperty(T,C,{enumerable:!0,get:function get(){return L[C]}}))}));var q=B(30607);Object.keys(q).forEach((function(C){"default"!==C&&"__esModule"!==C&&(C in T&&T[C]===q[C]||Object.defineProperty(T,C,{enumerable:!0,get:function get(){return q[C]}}))}));var W=B(1364);Object.keys(W).forEach((function(C){"default"!==C&&"__esModule"!==C&&(C in T&&T[C]===W[C]||Object.defineProperty(T,C,{enumerable:!0,get:function get(){return W[C]}}))}))},63916:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0});var $=B(95460);Object.keys($).forEach((function(C){"default"!==C&&"__esModule"!==C&&(C in T&&T[C]===$[C]||Object.defineProperty(T,C,{enumerable:!0,get:function get(){return $[C]}}))}));var V=B(71363);Object.keys(V).forEach((function(C){"default"!==C&&"__esModule"!==C&&(C in T&&T[C]===V[C]||Object.defineProperty(T,C,{enumerable:!0,get:function get(){return V[C]}}))}))},80461:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ColumnIsPopulated=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(ColumnIsPopulated,C);var T=_createSuper(ColumnIsPopulated);function ColumnIsPopulated(){return(0,V.default)(this,ColumnIsPopulated),T.apply(this,arguments)}return(0,L.default)(ColumnIsPopulated,[{key:"getCommand",value:function getCommand(){return"document/elements/create"}},{key:"getId",value:function getId(){return"column-is-populated"}},{key:"getConditions",value:function getConditions(C){var T=C.containers;return(void 0===T?[C.container]:T).some((function(C){return"column"===C.model.get("elType")}))}},{key:"apply",value:function apply(C){var T=C.containers;(void 0===T?[C.container]:T).forEach((function(C){"column"===C.model.get("elType")&&C.view.changeChildContainerClasses()}))}}]),ColumnIsPopulated}($(B(30112)).default);T.ColumnIsPopulated=H;var G=H;T.default=G},89959:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"ColumnIsPopulated",{enumerable:!0,get:function get(){return $.ColumnIsPopulated}}),Object.defineProperty(T,"CreateSectionIsFull",{enumerable:!0,get:function get(){return V.CreateSectionIsFull}});var $=B(80461),V=B(90736)},90736:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.CreateSectionIsFull=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(CreateSectionIsFull,C);var T=_createSuper(CreateSectionIsFull);function CreateSectionIsFull(){return(0,V.default)(this,CreateSectionIsFull),T.apply(this,arguments)}return(0,L.default)(CreateSectionIsFull,[{key:"getCommand",value:function getCommand(){return"document/elements/create"}},{key:"getId",value:function getId(){return"create-section-is-full"}},{key:"getConditions",value:function getConditions(C){var T=C.containers;return(void 0===T?[C.container]:T).some((function(C){return"section"===C.model.get("elType")}))}},{key:"apply",value:function apply(C){var T=C.containers;(void 0===T?[C.container]:T).forEach((function(C){"section"===C.model.get("elType")&&C.view.toggleSectionIsFull()}))}}]),CreateSectionIsFull}($(B(30112)).default);T.CreateSectionIsFull=H;var G=H;T.default=G},35736:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ColumnIsEmpty=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(ColumnIsEmpty,C);var T=_createSuper(ColumnIsEmpty);function ColumnIsEmpty(){return(0,V.default)(this,ColumnIsEmpty),T.apply(this,arguments)}return(0,L.default)(ColumnIsEmpty,[{key:"getCommand",value:function getCommand(){return"document/elements/delete"}},{key:"getId",value:function getId(){return"column-is-empty"}},{key:"getConditions",value:function getConditions(C){var T=C.containers;return(void 0===T?[C.container]:T).some((function(C){return"column"===C.parent.model.get("elType")}))}},{key:"apply",value:function apply(C){var T=C.containers;(void 0===T?[C.container]:T).forEach((function(C){"column"===C.parent.model.get("elType")&&C.parent.view.changeChildContainerClasses()}))}}]),ColumnIsEmpty}($(B(30112)).default);T.ColumnIsEmpty=H;var G=H;T.default=G},69298:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"ColumnIsEmpty",{enumerable:!0,get:function get(){return $.ColumnIsEmpty}}),Object.defineProperty(T,"DeleteSectionIsFull",{enumerable:!0,get:function get(){return V.DeleteSectionIsFull}});var $=B(35736),V=B(35550)},35550:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.DeleteSectionIsFull=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(DeleteSectionIsFull,C);var T=_createSuper(DeleteSectionIsFull);function DeleteSectionIsFull(){return(0,V.default)(this,DeleteSectionIsFull),T.apply(this,arguments)}return(0,L.default)(DeleteSectionIsFull,[{key:"getCommand",value:function getCommand(){return"document/elements/delete"}},{key:"getId",value:function getId(){return"delete-section-is-full"}},{key:"getConditions",value:function getConditions(C){var T=C.containers;return(void 0===T?[C.container]:T).some((function(C){return"column"===C.model.get("elType")}))}},{key:"apply",value:function apply(C){var T=C.containers;(void 0===T?[C.container]:T).forEach((function(C){"column"===C.model.get("elType")&&C.parent.view.toggleSectionIsFull()}))}}]),DeleteSectionIsFull}($(B(30112)).default);T.DeleteSectionIsFull=H;var G=H;T.default=G},20790:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"MoveResizeableHandle",{enumerable:!0,get:function get(){return $.MoveResizeableHandle}});var $=B(72454)},72454:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.MoveResizeableHandle=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(MoveResizeableHandle,C);var T=_createSuper(MoveResizeableHandle);function MoveResizeableHandle(){return(0,V.default)(this,MoveResizeableHandle),T.apply(this,arguments)}return(0,L.default)(MoveResizeableHandle,[{key:"getCommand",value:function getCommand(){return"document/elements/create"}},{key:"getId",value:function getId(){return"move-resizeable-handle"}},{key:"getConditions",value:function getConditions(C){var T=C.containers;return(void 0===T?[C.container]:T).some((function(C){return"container"===C.model.get("elType")}))}},{key:"apply",value:function apply(C){var T=C.containers;(void 0===T?[C.container]:T).forEach((function(C){var T=C.view.$el,B=T.find("> .ui-resizable-handle").first();B&&T.append(B)}))}}]),MoveResizeableHandle}($(B(30112)).default);T.MoveResizeableHandle=H;var G=H;T.default=G},71363:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0});var $=B(89959);Object.keys($).forEach((function(C){"default"!==C&&"__esModule"!==C&&(C in T&&T[C]===$[C]||Object.defineProperty(T,C,{enumerable:!0,get:function get(){return $[C]}}))}));var V=B(69298);Object.keys(V).forEach((function(C){"default"!==C&&"__esModule"!==C&&(C in T&&T[C]===V[C]||Object.defineProperty(T,C,{enumerable:!0,get:function get(){return V[C]}}))}));var L=B(20790);Object.keys(L).forEach((function(C){"default"!==C&&"__esModule"!==C&&(C in T&&T[C]===L[C]||Object.defineProperty(T,C,{enumerable:!0,get:function get(){return L[C]}}))}));var q=B(54464);Object.keys(q).forEach((function(C){"default"!==C&&"__esModule"!==C&&(C in T&&T[C]===q[C]||Object.defineProperty(T,C,{enumerable:!0,get:function get(){return q[C]}}))}))},18386:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ChangePostTitle=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(ChangePostTitle,C);var T=_createSuper(ChangePostTitle);function ChangePostTitle(){return(0,V.default)(this,ChangePostTitle),T.apply(this,arguments)}return(0,L.default)(ChangePostTitle,[{key:"getCommand",value:function getCommand(){return"document/elements/settings"}},{key:"getId",value:function getId(){return"change-post-title"}},{key:"getContainerType",value:function getContainerType(){return"document"}},{key:"getConditions",value:function getConditions(C){return void 0!==C.settings.post_title}},{key:"apply",value:function apply(C){elementorFrontend.elements.$document.find(elementor.config.page_title_selector).text(C.settings.post_title)}}]),ChangePostTitle}($(B(30112)).default);T.ChangePostTitle=H;var G=H;T.default=G},61439:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ColumnChangeSize=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(ColumnChangeSize,C);var T=_createSuper(ColumnChangeSize);function ColumnChangeSize(){return(0,V.default)(this,ColumnChangeSize),T.apply(this,arguments)}return(0,L.default)(ColumnChangeSize,[{key:"getCommand",value:function getCommand(){return"document/elements/settings"}},{key:"getId",value:function getId(){return"column-change-size"}},{key:"getConditions",value:function getConditions(C){return void 0!==C.settings._inline_size||void 0!==C.settings._column_size}},{key:"apply",value:function apply(C){var T=C.containers;(void 0===T?[C.container]:T).forEach((function(C){C.view.changeSizeUI()}))}}]),ColumnChangeSize}($(B(30112)).default);T.ColumnChangeSize=H;var G=H;T.default=G},17005:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Draggable=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Draggable,C);var T=_createSuper(Draggable);function Draggable(){return(0,V.default)(this,Draggable),T.apply(this,arguments)}return(0,L.default)(Draggable,[{key:"getCommand",value:function getCommand(){return"document/elements/settings"}},{key:"getId",value:function getId(){return"draggable"}},{key:"getConditions",value:function getConditions(C){return void 0!==C.settings._position}},{key:"apply",value:function apply(C){var T=C.containers;(void 0===T?[C.container]:T).forEach((function(C){C.view.options.draggable&&C.view.options.draggable.toggle()}))}}]),Draggable}($(B(30112)).default);T.Draggable=H;var G=H;T.default=G},9642:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ExitTo=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(ExitTo,C);var T=_createSuper(ExitTo);function ExitTo(){return(0,V.default)(this,ExitTo),T.apply(this,arguments)}return(0,L.default)(ExitTo,[{key:"getCommand",value:function getCommand(){return"document/elements/settings"}},{key:"getId",value:function getId(){return"exit-to"}},{key:"getContainerType",value:function getContainerType(){return"editorPreferences_settings"}},{key:"getConditions",value:function getConditions(C){return void 0!==C.settings.exit_to}},{key:"apply",value:function apply(){elementor.getPanelView().getPages("menu").view.addExitItem()}}]),ExitTo}($(B(30112)).default);T.ExitTo=H;var G=H;T.default=G},54464:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"ChangePostTitle",{enumerable:!0,get:function get(){return $.ChangePostTitle}}),Object.defineProperty(T,"ColumnChangeSize",{enumerable:!0,get:function get(){return V.ColumnChangeSize}}),Object.defineProperty(T,"Draggable",{enumerable:!0,get:function get(){return L.Draggable}}),Object.defineProperty(T,"ExitTo",{enumerable:!0,get:function get(){return q.ExitTo}}),Object.defineProperty(T,"ReloadPreview",{enumerable:!0,get:function get(){return U.ReloadPreview}}),Object.defineProperty(T,"Resizeable",{enumerable:!0,get:function get(){return W.Resizeable}}),Object.defineProperty(T,"SetDirectionMode",{enumerable:!0,get:function get(){return H.SetDirectionMode}});var $=B(18386),V=B(61439),L=B(17005),q=B(9642),W=B(70370),U=B(82519),H=B(92306)},82519:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.ReloadPreview=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(ReloadPreview,C);var T=_createSuper(ReloadPreview);function ReloadPreview(){return(0,V.default)(this,ReloadPreview),T.apply(this,arguments)}return(0,L.default)(ReloadPreview,[{key:"getCommand",value:function getCommand(){return"document/elements/settings"}},{key:"getId",value:function getId(){return"save-layout"}},{key:"getContainerType",value:function getContainerType(){return"document"}},{key:"getConditions",value:function getConditions(C){return!!C.settings.template}},{key:"apply",value:function apply(){return $e.run("document/save/auto",{force:!0}).then((function(){elementor.reloadPreview(),elementor.once("preview:loaded",(function(){$e.route("panel/page-settings/settings")}))}))}}]),ReloadPreview}($(B(30112)).default);T.ReloadPreview=H},70370:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Resizeable=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Resizeable,C);var T=_createSuper(Resizeable);function Resizeable(){return(0,V.default)(this,Resizeable),T.apply(this,arguments)}return(0,L.default)(Resizeable,[{key:"getCommand",value:function getCommand(){return"document/elements/settings"}},{key:"getId",value:function getId(){return"resizeable"}},{key:"getConditions",value:function getConditions(C){return void 0!==C.settings._position||void 0!==C.settings._element_width}},{key:"apply",value:function apply(C){var T=C.containers;(void 0===T?[C.container]:T).forEach((function(C){C.view.options.resizeable&&C.view.options.resizeable.toggle()}))}}]),Resizeable}($(B(30112)).default);T.Resizeable=H;var G=H;T.default=G},92306:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.SetDirectionMode=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(SetDirectionMode,C);var T=_createSuper(SetDirectionMode);function SetDirectionMode(){return(0,V.default)(this,SetDirectionMode),T.apply(this,arguments)}return(0,L.default)(SetDirectionMode,[{key:"getCommand",value:function getCommand(){return"document/elements/settings"}},{key:"getId",value:function getId(){return"set-direction-mode--document/elements/settings"}},{key:"hasUiStates",value:function hasUiStates(C){var T,B;return!(null===(T=C.renderer)||void 0===T||null===(B=T.view)||void 0===B||!B.getCurrentUiStates)}},{key:"getConditions",value:function getConditions(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(C.container?[C.container]:C.containers).some(this.hasUiStates)}},{key:"apply",value:function apply(C){(C.container?[C.container]:C.containers).filter(this.hasUiStates).forEach((function(C){return SetDirectionMode.set(C)}))}}],[{key:"set",value:function set(C){var T,B=(C="panel/editor/advanced"===$e.routes.getCurrent("panel")?C.parent:C).renderer.view,$=null===(T=B.getCurrentUiStates)||void 0===T?void 0:T.call(B).directionMode;$?$e.uiStates.set("document/direction-mode",$):$e.uiStates.remove("document/direction-mode")}}]),SetDirectionMode}($(B(30112)).default);T.SetDirectionMode=H;var G=H;T.default=G},24475:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"DynamicComponent",{enumerable:!0,get:function get(){return V.default}}),Object.defineProperty(T,"ElementsComponent",{enumerable:!0,get:function get(){return L.default}}),Object.defineProperty(T,"GlobalsComponent",{enumerable:!0,get:function get(){return q.default}}),Object.defineProperty(T,"HistoryComponent",{enumerable:!0,get:function get(){return W.default}}),Object.defineProperty(T,"RepeaterComponent",{enumerable:!0,get:function get(){return U.default}}),Object.defineProperty(T,"SaveComponent",{enumerable:!0,get:function get(){return H.default}}),Object.defineProperty(T,"UIComponent",{enumerable:!0,get:function get(){return G.default}});var V=$(B(82203)),L=$(B(37583)),q=$(B(92787)),W=$(B(76710)),U=$(B(26746)),H=$(B(49884)),G=$(B(14138))},58576:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Duplicate=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(Duplicate,C);var T=_createSuper(Duplicate);function Duplicate(){return(0,L.default)(this,Duplicate),T.apply(this,arguments)}return(0,q.default)(Duplicate,[{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C),this.requireArgumentType("name","string",C),this.requireArgumentType("index","number",C)}},{key:"getHistory",value:function getHistory(C){var T=C.containers;return{containers:void 0===T?[C.container]:T,type:"duplicate",subTitle:$("Item","elementor")}}},{key:"apply",value:function apply(C){var T=C.index,B=C.name,$=C.options,V=void 0===$?{}:$,L=C.containers,q=void 0===L?[C.container]:L,W=[];return q.forEach((function($){var L=$.settings.get(B).at(T).toJSON();L._id&&delete L._id,W.push($e.run("document/repeater/insert",{container:$,name:B,model:L,options:Object.assign({at:T+1},V),renderAfterInsert:C.renderAfterInsert}))})),1===W.length?W[0]:W}}]),Duplicate}($e.modules.editor.document.CommandHistoryBase);T.Duplicate=G;var K=G;T.default=K},40568:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Duplicate",{enumerable:!0,get:function get(){return $.Duplicate}}),Object.defineProperty(T,"Insert",{enumerable:!0,get:function get(){return V.Insert}}),Object.defineProperty(T,"Move",{enumerable:!0,get:function get(){return L.Move}}),Object.defineProperty(T,"Remove",{enumerable:!0,get:function get(){return q.Remove}}),Object.defineProperty(T,"Select",{enumerable:!0,get:function get(){return W.Select}});var $=B(58576),V=B(43210),L=B(47045),q=B(8810),W=B(7581)},43210:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Insert=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(51121)),U=V(B(58724)),H=V(B(71173)),G=V(B(74910)),K=B(32853);function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var Q=function(C){(0,U.default)(Insert,C);var T=_createSuper(Insert);function Insert(){return(0,L.default)(this,Insert),T.apply(this,arguments)}return(0,q.default)(Insert,[{key:"initialize",value:function initialize(C){(0,W.default)((0,G.default)(Insert.prototype),"initialize",this).call(this,C),C.model._id||(C.model._id=elementorCommon.helpers.getUniqueId())}},{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C),this.requireArgumentType("model","object",C),this.requireArgumentConstructor("name",String,C)}},{key:"getHistory",value:function getHistory(C){var T=C.model,B=C.name,V=C.options,L=void 0===V?{at:null}:V,q=C.containers;return{containers:void 0===q?[C.container]:q,type:"add",subTitle:$("Item","elementor"),data:{model:T,name:B,index:L.at},restore:this.constructor.restore}}},{key:"apply",value:function apply(C){var T=C.model,B=C.name,$=C.options,V=void 0===$?{at:null}:$,L=C.containers,q=void 0===L?[C.container]:L,W=C.renderAfterInsert,U=void 0===W||W,H=C.isRestored,G=void 0!==H&&H,Q=[];return q.forEach((function(C){var $=(C=C.lookup()).settings.get(B);V.at=null===V.at?$.length:V.at;var L=$._prepareModel(T),q=C.addRepeaterItem(B,L,V.at);if(Q.push($.push(L,V)),U){var W=C.settings.get("widgetType");if((0,K.shouldUseAtomicRepeaters)(W)&&!G){var H=(0,K.widgetNodes)(W),J=C.view.$el[0].querySelector(H.targetContainer),Y=Marionette.Renderer.render("#tmpl-elementor-".concat(W,"-content-single"),{data:T,view:q.view}),X=document.createElement("div");X.innerHTML=Y;var Z=X.querySelector(H.node),ee=J.children[V.at]||null;J.insertBefore(Z,ee)}else q.render()}})),1===Q.length?Q[0]:Q}}],[{key:"restore",value:function restore(C,T){var B=C.get("containers"),$=C.get("data");T?$e.run("document/repeater/insert",{containers:B,model:$.model,name:$.name,options:{at:$.index},isRestored:!0}):$e.run("document/repeater/remove",{containers:B,name:$.name,index:$.index,isRestored:!0})}}]),Insert}($e.modules.editor.document.CommandHistoryBase);T.Insert=Q;var J=Q;T.default=J},47045:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Move=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(Move,C);var T=_createSuper(Move);function Move(){return(0,L.default)(this,Move),T.apply(this,arguments)}return(0,q.default)(Move,[{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C),this.requireArgumentType("name","string",C),this.requireArgumentType("sourceIndex","number",C),this.requireArgumentType("targetIndex","number",C)}},{key:"getHistory",value:function getHistory(C){var T=C.containers;return{containers:void 0===T?[C.container]:T,type:"move",subTitle:$("Item","elementor")}}},{key:"apply",value:function apply(C){var T=C.sourceIndex,B=C.targetIndex,$=C.name,V=C.containers,L=void 0===V?[C.container]:V,q=[];return L.forEach((function(C){var V=C.settings.get($),L=elementorCommon.helpers.cloneObject(V.at(T));$e.run("document/repeater/remove",{container:C,name:$,index:T}),q.push($e.run("document/repeater/insert",{container:C,name:$,model:L,options:{at:B}}))})),1===q.length?q[0]:q}}]),Move}($e.modules.editor.document.CommandHistoryBase);T.Move=G;var K=G;T.default=K},8810:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Remove=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910)),G=B(32853);function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var K=function(C){(0,W.default)(Remove,C);var T=_createSuper(Remove);function Remove(){return(0,L.default)(this,Remove),T.apply(this,arguments)}return(0,q.default)(Remove,[{key:"validateArgs",value:function validateArgs(C){this.requireContainer(C),this.requireArgumentType("name","string",C),this.requireArgument("index",C)}},{key:"getHistory",value:function getHistory(C){var T=C.containers;return{containers:void 0===T?[C.container]:T,type:"remove",subTitle:$("Item","elementor")}}},{key:"apply",value:function apply(C){var T=this,B=C.name,$=C.containers,V=void 0===$?[C.container]:$,L=C.isRestored,q=void 0!==L&&L,W=null===C.index?-1:C.index,U=[];return V.forEach((function(C){var $=(C=C.lookup()).settings.get(B),V=$.at(W),L=C.repeaters[B],H=C.settings.get("widgetType");if(T.isHistoryActive()&&$e.internal("document/history/log-sub-item",{container:C,data:{name:B,model:V,index:W},restore:T.constructor.restore}),U.push(L.children.splice(W,1)),$.remove(V),(0,G.shouldUseAtomicRepeaters)(H)&&!q){var K=C.view.$el[0];(0,G.widgetNodes)(H).targetContainer.forEach((function(C){K.querySelector(C).children[W].remove()}))}else L.render()})),1===U.length?U[0]:U}}],[{key:"restore",value:function restore(C,T){var B=C.get("data"),$=C.get("container");T?$e.run("document/repeater/remove",{container:$,name:B.name,index:B.index,isRestored:!0}):$e.run("document/repeater/insert",{container:$,model:B.model,name:B.name,options:{at:B.index},isRestored:!0})}}]),Remove}($e.modules.editor.document.CommandHistoryBase);T.Remove=K;var Q=K;T.default=Q},7581:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Select=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(Select,C);var T=_createSuper(Select);function Select(){return(0,L.default)(this,Select),T.apply(this,arguments)}return(0,q.default)(Select,[{key:"validateArgs",value:function validateArgs(C){if(this.requireContainer(C),this.requireArgumentType("index","number",C),C.containers)throw new Error("Multiple containers are not supported.")}},{key:"getHistory",value:function getHistory(C){var T=C.container,B=C.index,V=T.model.get("editSettings").get("activeItemIndex")||1;return V!==B&&{container:T,type:"selected",subTitle:wp.i18n.sprintf($("Item #%d","elementor"),B),restore:this.constructor.restore,data:{current:B,prev:V}}}},{key:"apply",value:function apply(C){var T=C.container,B=C.index;T.model.get("editSettings").set("activeItemIndex",B)}}],[{key:"restore",value:function restore(C,T){var B=C.get("container"),$=C.get("data");$e.run("document/repeater/select",{container:B,index:T?$.current:$.prev})}}]),Select}($e.modules.editor.document.CommandHistoryBase);T.Select=G;var K=G;T.default=K},26746:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(19263)),K=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(40568));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var 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"document/repeater"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(K)}}]),Component}(G.default);T.default=Q},70608:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(51121)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(BackwardsCompatibility,C);var T=_createSuper(BackwardsCompatibility);function BackwardsCompatibility(){return(0,V.default)(this,BackwardsCompatibility),T.apply(this,arguments)}return(0,L.default)(BackwardsCompatibility,[{key:"__construct",value:function __construct(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,q.default)((0,H.default)(BackwardsCompatibility.prototype),"__construct",this).call(this,C),Object.defineProperty(this,"autoSaveTimer",{get:function get(){return elementorDevTools.deprecation.deprecated("elementor.saver.autoSaveTimer","2.9.0","$e.components.get( 'editor/documents' ).autoSaveTimers"),$e.components.get("editor/documents").autoSaveTimers},set:function set(C){elementorDevTools.deprecation.deprecated("elementor.saver.autoSaveTimer","2.9.0","$e.components.get( 'editor/documents' ).autoSaveTimers[ documentId ]");var T=elementor.documents.getCurrent();$e.components.get("editor/documents").autoSaveTimers[T]=C}});var T=this.on;this.on=function(C,B,$){elementorDevTools.deprecation.deprecated("elementor.saver.on","2.9.0","$e.hooks"),T(C,B,$)},elementor.on("document:loaded",(function(){elementor.channels.editor._events&&elementor.channels.editor._events.saved&&elementorDevTools.deprecation.deprecated("elementor.channels.editor.on( 'saved', ... )","2.9.0","$e.hooks")}))}},{key:"defaultSave",value:function defaultSave(){return elementorDevTools.deprecation.deprecated("defaultSave()","2.9.0","$e.run( 'document/save/default' )"),$e.run("document/save/default")}},{key:"discard",value:function discard(){return elementorDevTools.deprecation.deprecated("discard()","2.9.0","$e.run( 'document/save/discard' )"),$e.run("document/save/discard")}},{key:"doAutoSave",value:function doAutoSave(){return elementorDevTools.deprecation.deprecated("doAutoSave()","2.9.0","$e.run( 'document/save/auto' )"),$e.run("document/save/auto")}},{key:"publish",value:function publish(C){return elementorDevTools.deprecation.deprecated("publish( options )","2.9.0","$e.run( 'document/save/publish', { options } )"),$e.run("document/save/auto",{options:C})}},{key:"saveAutoSave",value:function saveAutoSave(C){return elementorDevTools.deprecation.deprecated("saveAutoSave()","2.9.0","$e.run( 'document/save/auto', { force: true } )"),C.force=!0,$e.run("document/save/auto",C)}},{key:"saveDraft",value:function saveDraft(){return elementorDevTools.deprecation.deprecated("saveDraft()","2.9.0","$e.run( 'document/save/draft' )"),$e.run("document/save/draft")}},{key:"savePending",value:function savePending(){return elementorDevTools.deprecation.deprecated("savePending()","2.9.0","$e.run( 'document/save/pending' )"),$e.run("document/save/pending")}},{key:"update",value:function update(C){return elementorDevTools.deprecation.deprecated("update( options )","2.9.0","$e.run( 'document/save/update', options )"),$e.run("document/save/update",C)}},{key:"startTimer",value:function startTimer(){throw elementorDevTools.deprecation.deprecated("startTimer()","2.9.0","$e.components.get( 'document/save' ).startAutoSave"),Error("Deprecated")}},{key:"saveEditor",value:function saveEditor(C){elementorDevTools.deprecation.deprecated("saveEditor( options )","2.9.0","$e.internal( 'document/save/save', options )"),$e.internal("document/save/save",C)}},{key:"setFlagEditorChange",value:function setFlagEditorChange(C){elementorDevTools.deprecation.deprecated("setFlagEditorChange( status )","2.9.0","$e.internal( 'document/save/set-is-modified', { status } )"),$e.internal("document/save/set-is-modified",{status:C})}}]),BackwardsCompatibility}($(B(19263)).default);T.default=G},27401:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203),L=V(B(78983)),q=V(B(42081)),W=V(B(77266)),U=V(B(58724)),H=V(B(71173)),G=V(B(74910)),K=V(B(93231));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}C.exports=function(C){(0,U.default)(FooterSaver,C);var T=_createSuper(FooterSaver);function FooterSaver(){var C;(0,L.default)(this,FooterSaver);for(var B=arguments.length,$=new Array(B),V=0;V<B;V++)$[V]=arguments[V];return C=T.call.apply(T,[this].concat($)),(0,K.default)((0,W.default)(C),"previewWindow",null),C}return(0,q.default)(FooterSaver,[{key:"ui",value:function ui(){return{buttonPreview:"#elementor-panel-footer-saver-preview",buttonPublish:"#elementor-panel-saver-button-publish",buttonSaveOptions:"#elementor-panel-saver-button-save-options",buttonPublishLabel:"#elementor-panel-saver-button-publish-label",menuSaveDraft:"#elementor-panel-footer-sub-menu-item-save-draft",lastEditedWrapper:".elementor-last-edited-wrapper",copyAndShareLink:"#elementor-panel-footer-sub-menu-item-copy-share-link"}}},{key:"events",value:function events(){return{"click @ui.buttonPreview":"onClickButtonPreview","click @ui.buttonPublish":"onClickButtonPublish","click @ui.menuSaveDraft":"onClickMenuSaveDraft","click @ui.copyAndShareLink":"onCopyAndShareLinkClick"}}},{key:"initialize",value:function initialize(C){var T=this;this.document=C.document||elementor.documents.getCurrent(),elementor.on("document:loaded",(function(C){T.setMenuItems(C),T.setLastEdited(C.config.last_edited)})),$e.components.get("document/save").footerSaver=this}},{key:"activateSaveButtons",value:function activateSaveButtons(C,T){var B=T||"draft"===C.container.settings.get("post_status");this.ui.buttonPublish.add(this.ui.menuSaveDraft).toggleClass("elementor-disabled",!B),this.ui.buttonSaveOptions.toggleClass("elementor-disabled",!B)}},{key:"activateCopyAndShareButton",value:function activateCopyAndShareButton(C,T){T&&("publish"===C?this.ui.copyAndShareLink.removeClass("elementor-disabled"):this.ui.copyAndShareLink.addClass("elementor-disabled"))}},{key:"onCopyAndShareLinkClick",value:function onCopyAndShareLinkClick(){var C,T=null!==(C=elementor.config.document.urls.permalink)&&void 0!==C?C:"";if(T){navigator.clipboard.writeText(T);var B=this.ui.copyAndShareLink.find(".elementor-title");B.text($("Link copied!","elementor")),setTimeout((function(){B.text($("Copy and share Link","elementor"))}),2e3)}}},{key:"onRender",value:function onRender(){var C,T,B,$,V;this.addTooltip();var L=null!==(C=null===(T=elementor)||void 0===T||null===(B=T.config)||void 0===B||null===($=B.document)||void 0===$||null===(V=$.status)||void 0===V?void 0:V.value)&&void 0!==C?C:"";this.activateCopyAndShareButton(L,!0)}},{key:"setLastEdited",value:function setLastEdited(C){this.ui.lastEditedWrapper.removeClass("elementor-button-state").find(".elementor-last-edited").html(C)}},{key:"onClickButtonPreview",value:function onClickButtonPreview(){$e.run("editor/documents/preview",{id:elementor.documents.getCurrent().id})}},{key:"onClickButtonPublish",value:function onClickButtonPublish(){this.ui.buttonPublish.hasClass("elementor-disabled")||$e.run("document/save/default")}},{key:"onClickMenuSaveDraft",value:function onClickMenuSaveDraft(){$e.run("document/save/draft")}},{key:"setMenuItems",value:function setMenuItems(C){var T=C.container.settings.get("post_status"),B={publish:$("Publish","elementor"),update:$("Update","elementor"),submit:$("Submit","elementor")},V="publish";switch(T){case"publish":case"private":V="update",C.config.revisions.current_id!==C.id&&this.activateSaveButtons(C,!0);break;case"draft":C.config.user.can_publish||(V="submit"),this.activateSaveButtons(C,!0);break;case"pending":case void 0:C.config.user.can_publish||(V="update")}this.ui.buttonPublishLabel.html(B[V])}},{key:"addTooltip",value:function addTooltip(){this.$el.find(".tooltip-target").each((function(C,T){var B=jQuery(T);B.tipsy({gravity:"s",offset:B.data("tooltip-offset"),title:function title(){return this.getAttribute("data-tooltip")}})}))}},{key:"refreshWpPreview",value:function refreshWpPreview(){if(this.previewWindow)try{this.previewWindow.location.href=elementor.config.document.urls.wp_preview}catch(C){}}}]),FooterSaver}(Marionette.Behavior)},8466:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Auto=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Auto,C);var T=_createSuper(Auto);function Auto(){return(0,V.default)(this,Auto),T.apply(this,arguments)}return(0,L.default)(Auto,[{key:"apply",value:function apply(C){var T=C.force,B=void 0!==T&&T,$=C.document,V=void 0===$?this.document:$;return B||V.container.isEditable()?V.editor.isChanged?(C.status="autosave",C.document=V,$e.internal("document/save/save",C)):jQuery.Deferred().resolve("Document is not changed"):jQuery.Deferred().reject("Document is not editable")}}]),Auto}($(B(61045)).default);T.Auto=H;var G=H;T.default=G},61045:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(51121)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(Base,C);var T=_createSuper(Base);function Base(){return(0,V.default)(this,Base),T.apply(this,arguments)}return(0,L.default)(Base,[{key:"initialize",value:function initialize(C){(0,q.default)((0,H.default)(Base.prototype),"initialize",this).call(this,C);var T=C.document,B=void 0===T?elementor.documents.getCurrent():T;this.document=B}}]),Base}($e.modules.CommandBase);T.default=G},1757:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Default,C);var T=_createSuper(Default);function Default(){return(0,V.default)(this,Default),T.apply(this,arguments)}return(0,L.default)(Default,[{key:"apply",value:function apply(){var C,T=this.document;switch(T.container.settings.get("post_status")){case"publish":case"future":case"private":C=$e.run("document/save/update",{document:T});break;case"draft":C=T.config.user.can_publish?$e.run("document/save/publish",{document:T}):$e.run("document/save/pending",{document:T});break;case"pending":case void 0:C=T.config.user.can_publish?$e.run("document/save/publish",{document:T}):$e.run("document/save/update",{document:T})}return C}}]),Default}($(B(61045)).default);T.Default=H;var G=H;T.default=G},78730:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Discard=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Discard,C);var T=_createSuper(Discard);function Discard(){return(0,V.default)(this,Discard),T.apply(this,arguments)}return(0,L.default)(Discard,[{key:"apply",value:function apply(C){var T=C.document,B=void 0===T?elementor.documents.getCurrent():T,$=elementorCommon.ajax.addRequest("discard_changes");return $e.run("document/history/undo-all",{document:B}),$}}]),Discard}($(B(61045)).default);T.Discard=H;var G=H;T.default=G},22009:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Draft=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Draft,C);var T=_createSuper(Draft);function Draft(){return(0,V.default)(this,Draft),T.apply(this,arguments)}return(0,L.default)(Draft,[{key:"apply",value:function apply(){var C,T=this.document,B=T.container.settings.get("post_status");if(!T.editor.isChanged&&"draft"!==B)return jQuery.Deferred().reject("Document is not editable");switch(B){case"publish":case"private":C=$e.run("document/save/auto",{document:T});break;default:C=$e.run("document/save/update",{document:T})}return C}}]),Draft}($(B(61045)).default);T.Draft=H;var G=H;T.default=G},52623:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Auto",{enumerable:!0,get:function get(){return $.Auto}}),Object.defineProperty(T,"Default",{enumerable:!0,get:function get(){return V.Default}}),Object.defineProperty(T,"Discard",{enumerable:!0,get:function get(){return L.Discard}}),Object.defineProperty(T,"Draft",{enumerable:!0,get:function get(){return q.Draft}}),Object.defineProperty(T,"Pending",{enumerable:!0,get:function get(){return W.Pending}}),Object.defineProperty(T,"Publish",{enumerable:!0,get:function get(){return U.Publish}}),Object.defineProperty(T,"Update",{enumerable:!0,get:function get(){return H.Update}});var $=B(8466),V=B(1757),L=B(78730),q=B(22009),W=B(73904),U=B(32732),H=B(10461)},45615:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Save",{enumerable:!0,get:function get(){return $.Save}}),Object.defineProperty(T,"SetIsModified",{enumerable:!0,get:function get(){return V.SetIsModified}});var $=B(52557),V=B(54970)},52557:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Save=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(Save,C);var T=_createSuper(Save);function Save(){return(0,L.default)(this,Save),T.apply(this,arguments)}return(0,q.default)(Save,[{key:"apply",value:function apply(C){var T=this,B=C.status,$=void 0===B?"draft":B,V=C.force,L=void 0!==V&&V,q=C.onSuccess,W=void 0===q?null:q,U=C.document,H=void 0===U?elementor.documents.getCurrent():U;if(!L&&H.editor.isSaving)return jQuery.Deferred().reject("Document already in save progress");var G=H.container,K=G.settings.toJSON({remove:["default"]}),Q=G.settings.get("post_status");this.addPersistentSettingsToPayload(K,G),elementor.saver.trigger("before:save",C).trigger("before:save:"+$,C),H.editor.isSaving=!0,H.editor.isChangedDuringSave=!1,K.post_status=$;var J=[];elementor.config.document.panel.has_elements&&(J=G.model.get("elements").toJSON({remove:["default","editSettings","defaultEditSettings"]}));var Y={status:$,oldStatus:Q,elements:J,document:H,currentHistoryId:H.history.currentItem.get("id")},X=elementorCommon.ajax.addRequest("save_builder",{data:{status:$,elements:J,settings:K},error:function error(C){return T.onSaveError(C,$,H)}}).then((function(C){return T.onSaveSuccess(C,Y,W)}));return elementor.saver.trigger("save",C),X}},{key:"onSaveSuccess",value:function onSaveSuccess(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,$=T.status,V=T.oldStatus,L=T.elements,q=T.document,W=T.currentHistoryId;this.onAfterAjax(q),q.editor.lastSaveHistoryId=W,elementor.documents.invalidateCache(q.id);var U=$!==V,H={data:C,statusChanged:U};return q!==elementor.documents.getCurrent()||(q.editor.isChangedDuringSave||(q.editor.isSaved=!0),"autosave"!==$&&(U&&$e.run("document/elements/settings",{container:elementor.settings.page.getEditedView().getContainer(),settings:{post_status:$},options:{external:!0}}),q.editor.isChangedDuringSave||$e.internal("document/save/set-is-modified",{status:!1})),C.config&&jQuery.extend(!0,q.config,C.config.document),q.config.elements&&(q.config.elements=L),elementor.channels.editor.trigger("saved",C),elementor.saver.trigger("after:save",C).trigger("after:save:"+$,C),U&&elementor.saver.trigger("page:status:change",$,V),_.isFunction(B)&&B.call(this,H)),H}},{key:"onSaveError",value:function onSaveError(C,T,B){var V;this.onAfterAjax(B),elementor.saver.trigger("after:saveError",C).trigger("after:saveError:"+T,C),_.isString(C)?V=C:C.statusText?(V=elementor.createAjaxErrorMessage(C),0===C.readyState&&(V+=" "+$("Saving has been disabled until you’re reconnected.","elementor"))):C[0]&&C[0].code&&(V=$("Server Error","elementor")+" "+C[0].code),elementor.notifications.showToast({message:V})}},{key:"onAfterAjax",value:function onAfterAjax(C){C.editor.isSaving=!1}},{key:"addPersistentSettingsToPayload",value:function addPersistentSettingsToPayload(C,T){var B,$,V;null===(B=elementor)||void 0===B||null===($=B.config)||void 0===$||null===(V=$.persistent_keys)||void 0===V||V.forEach((function(B){T.settings.defaults.hasOwnProperty(B)&&!C.hasOwnProperty(B)&&(C[B]=T.settings.defaults[B])}))}}]),Save}($e.modules.CommandInternalBase);T.Save=G;var K=G;T.default=K},54970:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.SetIsModified=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(SetIsModified,C);var T=_createSuper(SetIsModified);function SetIsModified(){return(0,V.default)(this,SetIsModified),T.apply(this,arguments)}return(0,L.default)(SetIsModified,[{key:"validateArgs",value:function validateArgs(C){this.requireArgumentType("status","boolean",C)}},{key:"apply",value:function apply(C){var T=C.status,B=C.document,$=void 0===B?elementor.documents.getCurrent():B;C.document=$,$.editor.isChanged=T,T&&$.editor.isSaving&&($.editor.isChangedDuringSave=!0),T&&($.editor.isSaved=!1),elementor.channels.editor.reply("status",T).trigger("status:change",T),$.editor.isChanged&&this.component.startAutoSave($)}}]),SetIsModified}($e.modules.CommandInternalBase);T.SetIsModified=H;var G=H;T.default=G},73904:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Pending=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Pending,C);var T=_createSuper(Pending);function Pending(){return(0,V.default)(this,Pending),T.apply(this,arguments)}return(0,L.default)(Pending,[{key:"apply",value:function apply(C){var T=C.status,B=void 0===T?"pending":T,$=C.document,V=void 0===$?this.document:$;return $e.internal("document/save/save",{status:B,document:V})}}]),Pending}($(B(61045)).default);T.Pending=H},32732:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Publish=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Publish,C);var T=_createSuper(Publish);function Publish(){return(0,V.default)(this,Publish),T.apply(this,arguments)}return(0,L.default)(Publish,[{key:"apply",value:function apply(C){var T=C.status,B=void 0===T?"publish":T,$=C.document,V=void 0===$?this.document:$;return $e.internal("document/save/save",{status:B,document:V})}}]),Publish}($(B(61045)).default);T.Publish=H},10461:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Update=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Update,C);var T=_createSuper(Update);function Update(){return(0,V.default)(this,Update),T.apply(this,arguments)}return(0,L.default)(Update,[{key:"apply",value:function apply(C){var T=C.document,B=void 0===T?this.document:T,$=C.status,V=void 0===$?B.container.settings.get("post_status"):$;return $e.internal("document/save/save",{status:V,document:B})}}]),Update}($(B(61045)).default);T.Update=H},49884:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203),L=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=V(B(78983)),W=V(B(42081)),U=V(B(77266)),H=V(B(51121)),G=V(B(58724)),K=V(B(71173)),Q=V(B(74910)),J=V(B(93231)),Y=V(B(70608)),X=_interopRequireWildcard(B(52623)),Z=_interopRequireWildcard(B(45615)),ee=_interopRequireWildcard(B(56847));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,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 te=function(C){(0,G.default)(Component,C);var T=_createSuper(Component);function Component(){var C;(0,q.default)(this,Component);for(var B=arguments.length,$=new Array(B),V=0;V<B;V++)$[V]=arguments[V];return C=T.call.apply(T,[this].concat($)),(0,J.default)((0,U.default)(C),"footerSaver",void 0),C}return(0,W.default)(Component,[{key:"__construct",value:function __construct(){var C=this,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,H.default)((0,Q.default)(Component.prototype),"__construct",this).call(this,T),this.autoSaveTimers={},this.autoSaveInterval=1e3*elementor.config.autosave_interval,elementorCommon.elements.$window.on("beforeunload",(function(){if(C.isEditorChanged())return $("Please note: All unsaved changes will be lost.","elementor")}))}},{key:"getNamespace",value:function getNamespace(){return"document/save"}},{key:"startAutoSave",value:function startAutoSave(C){var T=this;this.stopAutoSave(C),this.autoSaveTimers[C.id]=setTimeout((function(){$e.run("document/save/auto",{document:C}),delete T.autoSaveTimers[C.id]}),this.autoSaveInterval)}},{key:"stopAutoSave",value:function stopAutoSave(C){this.autoSaveTimers[C.id]&&(clearTimeout(this.autoSaveTimers[C.id]),delete this.autoSaveTimers[C.id])}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(X)}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return this.importCommands(Z)}},{key:"defaultHooks",value:function defaultHooks(){return this.importHooks(ee)}},{key:"isEditorChanged",value:function isEditorChanged(){return!0===elementor.channels.editor.request("status")}}]),Component}(Y.default);T.default=te},56847:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0});var $=B(11663);Object.keys($).forEach((function(C){"default"!==C&&"__esModule"!==C&&(C in T&&T[C]===$[C]||Object.defineProperty(T,C,{enumerable:!0,get:function get(){return $[C]}}))}))},11663:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0});var $=B(59051);Object.keys($).forEach((function(C){"default"!==C&&"__esModule"!==C&&(C in T&&T[C]===$[C]||Object.defineProperty(T,C,{enumerable:!0,get:function get(){return $[C]}}))}));var V=B(85240);Object.keys(V).forEach((function(C){"default"!==C&&"__esModule"!==C&&(C in T&&T[C]===V[C]||Object.defineProperty(T,C,{enumerable:!0,get:function get(){return V[C]}}))}));var L=B(41647);Object.keys(L).forEach((function(C){"default"!==C&&"__esModule"!==C&&(C in T&&T[C]===L[C]||Object.defineProperty(T,C,{enumerable:!0,get:function get(){return L[C]}}))}))},65229:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.FooterSaverAfterSave=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(FooterSaverAfterSave,C);var T=_createSuper(FooterSaverAfterSave);function FooterSaverAfterSave(){return(0,L.default)(this,FooterSaverAfterSave),T.apply(this,arguments)}return(0,q.default)(FooterSaverAfterSave,[{key:"getCommand",value:function getCommand(){return"document/save/save"}},{key:"getId",value:function getId(){return"footer-saver-after-save"}},{key:"apply",value:function apply(C,T){var B=C.status,$=T.data,V=$e.components.get("document/save").footerSaver;NProgress.done(),V.ui.buttonPublish.removeClass("elementor-button-state"),V.ui.lastEditedWrapper.removeClass("elementor-state-active"),V.refreshWpPreview(),V.setLastEdited($.config.document.last_edited),T.statusChanged&&"publish"===B&&elementor.config.document.urls.have_a_look&&this.onPageStatusChange()}},{key:"onPageStatusChange",value:function onPageStatusChange(){var C=[];C.push({name:"view_page",text:$("Have a look","elementor"),callback:function callback(){open(elementor.config.document.urls.have_a_look)}}),elementor.notifications.showToast({message:elementor.config.document.panel.messages.publish_notification,buttons:C})}}]),FooterSaverAfterSave}(V(B(30112)).default);T.FooterSaverAfterSave=G;var K=G;T.default=K},99331:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.FooterSaverBeforeSave=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(FooterSaverBeforeSave,C);var T=_createSuper(FooterSaverBeforeSave);function FooterSaverBeforeSave(){return(0,V.default)(this,FooterSaverBeforeSave),T.apply(this,arguments)}return(0,L.default)(FooterSaverBeforeSave,[{key:"getCommand",value:function getCommand(){return"document/save/save"}},{key:"getId",value:function getId(){return"footer-saver-before-save"}},{key:"apply",value:function apply(C){var T=C.status,B=$e.components.get("document/save").footerSaver;NProgress.start(),"autosave"===T?B.ui.lastEditedWrapper.addClass("elementor-state-active"):B.ui.buttonPublish.addClass("elementor-button-state")}}]),FooterSaverBeforeSave}($(B(26266)).default);T.FooterSaverBeforeSave=H;var G=H;T.default=G},29756:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.FooterSaverCatchSave=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(FooterSaverCatchSave,C);var T=_createSuper(FooterSaverCatchSave);function FooterSaverCatchSave(){return(0,V.default)(this,FooterSaverCatchSave),T.apply(this,arguments)}return(0,L.default)(FooterSaverCatchSave,[{key:"getCommand",value:function getCommand(){return"document/save/save"}},{key:"getId",value:function getId(){return"footer-saver-catch-save"}},{key:"apply",value:function apply(){NProgress.done(),$e.components.get("document/save").footerSaver.ui.buttonPublish.removeClass("elementor-button-state")}}]),FooterSaverCatchSave}($(B(52294)).default);T.FooterSaverCatchSave=H;var G=H;T.default=G},59051:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"FooterSaverAfterSave",{enumerable:!0,get:function get(){return $.FooterSaverAfterSave}}),Object.defineProperty(T,"FooterSaverBeforeSave",{enumerable:!0,get:function get(){return V.FooterSaverBeforeSave}}),Object.defineProperty(T,"FooterSaverCatchSave",{enumerable:!0,get:function get(){return L.FooterSaverCatchSave}});var $=B(65229),V=B(99331),L=B(29756)},46240:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.FooterSaverActiveSaveButtons=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(FooterSaverActiveSaveButtons,C);var T=_createSuper(FooterSaverActiveSaveButtons);function FooterSaverActiveSaveButtons(){return(0,V.default)(this,FooterSaverActiveSaveButtons),T.apply(this,arguments)}return(0,L.default)(FooterSaverActiveSaveButtons,[{key:"getCommand",value:function getCommand(){return"document/save/set-is-modified"}},{key:"getId",value:function getId(){return"footer-saver-activate-save-buttons"}},{key:"apply",value:function apply(C){var T=C.status,B=C.document;$e.components.get("document/save").footerSaver.activateSaveButtons(B,T)}}]),FooterSaverActiveSaveButtons}($(B(30112)).default);T.FooterSaverActiveSaveButtons=H;var G=H;T.default=G},85240:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"FooterSaverActiveSaveButtons",{enumerable:!0,get:function get(){return $.FooterSaverActiveSaveButtons}});var $=B(46240)},41647:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.FooterSeverRefreshMenu=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(FooterSeverRefreshMenu,C);var T=_createSuper(FooterSeverRefreshMenu);function FooterSeverRefreshMenu(){return(0,V.default)(this,FooterSeverRefreshMenu),T.apply(this,arguments)}return(0,L.default)(FooterSeverRefreshMenu,[{key:"getCommand",value:function getCommand(){return"document/elements/settings"}},{key:"getId",value:function getId(){return"footer-saver-refresh-menu"}},{key:"getContainerType",value:function getContainerType(){return"document"}},{key:"getConditions",value:function getConditions(C){return C.settings&&void 0!==C.settings.post_status}},{key:"apply",value:function apply(C){var T=$e.components.get("document/save").footerSaver;T.setMenuItems(C.container.document),T.refreshWpPreview()}}]),FooterSeverRefreshMenu}($(B(30112)).default);T.FooterSeverRefreshMenu=H;var G=H;T.default=G},78216:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.DirectionMode=T.DIRECTION_ROW_REVERSE=T.DIRECTION_ROW=T.DIRECTION_COLUMN_REVERSE=T.DIRECTION_COLUMN=void 0;var V=$(B(93231)),L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(63432));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}T.DIRECTION_ROW="row";var K="row-reverse";T.DIRECTION_ROW_REVERSE=K;var Q="column";T.DIRECTION_COLUMN=Q;var J="column-reverse";T.DIRECTION_COLUMN_REVERSE=J;var Y=function(C){(0,W.default)(DirectionMode,C);var T=_createSuper(DirectionMode);function DirectionMode(){return(0,L.default)(this,DirectionMode),T.apply(this,arguments)}return(0,q.default)(DirectionMode,[{key:"getId",value:function getId(){return"direction-mode"}},{key:"getOptions",value:function getOptions(){var C;return C={},(0,V.default)(C,"row",""),(0,V.default)(C,K,""),(0,V.default)(C,Q,""),(0,V.default)(C,J,""),C}},{key:"getScopes",value:function getScopes(){return[window.document.body,elementor.$previewContents[0].body]}}]),DirectionMode}(G.default);T.DirectionMode=Y},79188:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"DirectionMode",{enumerable:!0,get:function get(){return $.DirectionMode}}),Object.defineProperty(T,"ScrubbingMode",{enumerable:!0,get:function get(){return V.ScrubbingMode}});var $=B(78216),V=B(87648)},87648:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.ScrubbingMode=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(93231));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(ScrubbingMode,C);var T=_createSuper(ScrubbingMode);function ScrubbingMode(){return(0,V.default)(this,ScrubbingMode),T.apply(this,arguments)}return(0,L.default)(ScrubbingMode,[{key:"getId",value:function getId(){return"scrubbing-mode"}},{key:"getOptions",value:function getOptions(){return(0,H.default)({},this.constructor.ON,"")}},{key:"getScopes",value:function getScopes(){return[window.document.body]}}]),ScrubbingMode}($(B(63432)).default);T.ScrubbingMode=G,(0,H.default)(G,"ON","on")},9862:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Copy=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Copy,C);var T=_createSuper(Copy);function Copy(){return(0,V.default)(this,Copy),T.apply(this,arguments)}return(0,L.default)(Copy,[{key:"apply",value:function apply(){var C=elementor.selection.getElements();return!!C.length&&$e.run("document/elements/copy",{containers:C})}}]),Copy}($e.modules.CommandBase);T.Copy=H;var G=H;T.default=G},93792:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Delete=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Delete,C);var T=_createSuper(Delete);function Delete(){return(0,V.default)(this,Delete),T.apply(this,arguments)}return(0,L.default)(Delete,[{key:"apply",value:function apply(){var C=elementor.selection.getElements();return!!C.length&&$e.run("document/elements/delete",{containers:C})}}]),Delete}($e.modules.CommandBase);T.Delete=H;var G=H;T.default=G},68628:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Duplicate=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Duplicate,C);var T=_createSuper(Duplicate);function Duplicate(){return(0,V.default)(this,Duplicate),T.apply(this,arguments)}return(0,L.default)(Duplicate,[{key:"apply",value:function apply(){var C=elementor.selection.getElements();return!!C.length&&$e.run("document/elements/duplicate",{containers:C})}}]),Duplicate}($e.modules.CommandBase);T.Duplicate=H;var G=H;T.default=G},4201:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Copy",{enumerable:!0,get:function get(){return $.Copy}}),Object.defineProperty(T,"Delete",{enumerable:!0,get:function get(){return V.Delete}}),Object.defineProperty(T,"Duplicate",{enumerable:!0,get:function get(){return L.Duplicate}}),Object.defineProperty(T,"Paste",{enumerable:!0,get:function get(){return q.Paste}}),Object.defineProperty(T,"PasteStyle",{enumerable:!0,get:function get(){return W.PasteStyle}});var $=B(9862),V=B(93792),L=B(68628),q=B(39513),W=B(29073)},29073:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.PasteStyle=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(PasteStyle,C);var T=_createSuper(PasteStyle);function PasteStyle(){return(0,V.default)(this,PasteStyle),T.apply(this,arguments)}return(0,L.default)(PasteStyle,[{key:"apply",value:function apply(){var C=elementor.getCurrentElement();return!!C&&$e.run("document/elements/paste-style",{container:C.getContainer()})}}]),PasteStyle}($e.modules.CommandBase);T.PasteStyle=H;var G=H;T.default=G},39513:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Paste=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Paste,C);var T=_createSuper(Paste);function Paste(){return(0,V.default)(this,Paste),T.apply(this,arguments)}return(0,L.default)(Paste,[{key:"getPasteData",value:function getPasteData(C){var T=C.storageType,B=void 0===T?"localstorage":T,$=C.data,V=void 0===$?"":$;if("localstorage"===B)return elementorCommon.storage.get("clipboard")||{};try{return JSON.parse(V)||{}}catch(C){return{}}}},{key:"apply",value:function apply(C){var T,B,$,V=this,L=C.containers,q=void 0===L?[C.container]:L;if(this.storage=this.getPasteData(C),!this.storage||null===(T=this.storage)||void 0===T||null===(B=T.elements)||void 0===B||!B.length||"elementor"!==(null===($=this.storage)||void 0===$?void 0:$.type))return!1;if(this.storage.elements=this.storage.elements.map((function(C){return new Backbone.Model(C)})),q[0]?this.target=q:(this.target=elementor.getCurrentElement(),this.target=this.target?[this.target.getContainer()]:null),!this.target||0===this.storage.elements.length)return!1;var W=[];return this.target.forEach((function(T){var B=C.options,$=void 0===B?{}:B,L=$e.components.get("document/elements").utils.getPasteOptions(V.storage.elements[0],T);if(L.isValidChild||(L.isSameElement?($.at=T.parent.model.get("elements").findIndex(T.model)+1,T=T.parent):L.isValidGrandChild&&($.rebuild=!0)),Object.values(L).some((function(C){return!!C}))){var q={container:T};void 0!==$.rebuild&&(q.rebuild=$.rebuild),void 0!==$.at&&(q.at=$.at),q.storageType=C.storageType||"localstorage",void 0!==C.data&&(q.data=C.data),W.push($e.run("document/elements/paste",q))}})),0!==W.length&&(1===W.length?W[0]:W)}}]),Paste}($e.modules.CommandBase);T.Paste=H;var G=H;T.default=G},14138:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(19263)),K=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(4201));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var 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"document/ui"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(K)}},{key:"defaultShortcuts",value:function defaultShortcuts(){var C=function shouldRun(){var C=elementor.selection.getElements();return!!C.length&&!C.some((function(C){var T;return null==C||null===(T=C.isLocked)||void 0===T?void 0:T.call(C)}))};return{copy:{keys:"ctrl+c",exclude:["input"],dependency:function dependency(){return C()}},delete:{keys:"del",exclude:["input"],dependency:function dependency(){return C()}},duplicate:{keys:"ctrl+d",dependency:function dependency(){return C()&&$e.components.get("document/elements").utils.allowAddingWidgets()}},paste:{keys:"ctrl+v",exclude:["input"],dependency:function dependency(){return $e.components.get("document/elements").utils.allowAddingWidgets()}},"paste-style":{keys:"ctrl+shift+v",exclude:["input"]}}}}]),Component}(G.default);T.default=Q},41351:(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(40131)),W=V(B(7501)),U=V(B(78983)),H=V(B(42081)),G=V(B(77266)),K=V(B(58724)),Q=V(B(71173)),J=V(B(74910)),Y=V(B(93231)),X=V(B(12031)),Z=V(B(91238)),ee=V(B(22777)),te=V(B(73308)),ne=V(B(57355)),re=V(B(10588)),oe=V(B(70524)),ie=V(B(18414)),ae=V(B(10136)),le=V(B(56903)),ue=V(B(46558)),se=V(B(8916)),ce=V(B(88507)),de=V(B(85099)),fe=V(B(45767)),pe=V(B(34693)),me=V(B(87726)),ve=V(B(72800)),he=V(B(7699)),ge=V(B(76602)),ye=V(B(69994)),_e=V(B(52101)),be=V(B(74375)),Ce=V(B(36404)),we=V(B(5116)),ke=V(B(94202)),Se=V(B(12588)),Re=V(B(53710)),Pe=V(B(14091)),xe=V(B(88006)),Oe=V(B(95750)),Te=V(B(11064)),Ie=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(31743)),Me=V(B(47456)),Ee=B(23103);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;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,Y.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return 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,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 je=function(C){(0,K.default)(EditorBase,C);var T=_createSuper(EditorBase);function EditorBase(){var C;(0,U.default)(this,EditorBase);for(var $=arguments.length,V=new Array($),L=0;L<$;L++)V[L]=arguments[L];return C=T.call.apply(T,[this].concat(V)),(0,Y.default)((0,G.default)(C),"widgetsCache",{}),(0,Y.default)((0,G.default)(C),"config",{}),(0,Y.default)((0,G.default)(C),"loaded",!1),(0,Y.default)((0,G.default)(C),"previewLoadedOnce",!1),(0,Y.default)((0,G.default)(C),"activeBreakpointsUpdated",!1),(0,Y.default)((0,G.default)(C),"helpers",B(13692)),(0,Y.default)((0,G.default)(C),"imagesManager",B(9599)),(0,Y.default)((0,G.default)(C),"presetsFactory",B(9548)),(0,Y.default)((0,G.default)(C),"templates",B(79005)),(0,Y.default)((0,G.default)(C),"ajax",elementorCommon.ajax),(0,Y.default)((0,G.default)(C),"conditions",new Se.default),(0,Y.default)((0,G.default)(C),"history",B(18414)),(0,Y.default)((0,G.default)(C),"channels",{editor:Backbone.Radio.channel("ELEMENTOR:editor"),data:Backbone.Radio.channel("ELEMENTOR:data"),panelElements:Backbone.Radio.channel("ELEMENTOR:panelElements"),dataEditMode:Backbone.Radio.channel("ELEMENTOR:editmode"),deviceMode:Backbone.Radio.channel("ELEMENTOR:deviceMode"),templates:Backbone.Radio.channel("ELEMENTOR:templates"),responsivePreview:Backbone.Radio.channel("ELEMENTOR:responsivePreview")}),(0,Y.default)((0,G.default)(C),"backgroundClickListeners",{tooltip:{element:".dialog-tooltip-widget",ignore:".dialog-widget, .elementor-controls-popover, .pcr-selection"},popover:{element:".elementor-controls-popover",ignore:".elementor-control-popover-toggle-toggle, .elementor-control-popover-toggle-toggle-label, .select2-container, .pcr-app, .dialog-tooltip-widget"},globalControlsSelect:{element:".e-global__popover",ignore:".e-global__popover-toggle"},tagsList:{element:".elementor-tags-list",ignore:".elementor-control-dynamic-switcher"},panelFooterSubMenus:{element:".elementor-panel-footer-tool.elementor-toggle-state",ignore:".elementor-panel-footer-tool.elementor-toggle-state, #elementor-panel-saver-button-publish-label",callback:function callback(C){C.removeClass("e-open")}},panelResponsiveSwitchers:{element:".elementor-control-responsive-switchers",callback:function callback(C){C.removeClass("elementor-responsive-switchers-open")}},panelUnitControlSwitchers:{element:".e-units-choices",callback:function callback(C){C.removeClass("e-units-choices-open")}},promotion:{ignore:".elementor-responsive-panel",callback:function callback(){var C=elementor.promotion.dialog;C&&C.hide()}}}),(0,Y.default)((0,G.default)(C),"modules",{get Module(){return elementorDevTools.deprecation.deprecated("elementor.modules.Module","2.3.0","elementorModules.Module"),elementorModules.Module},components:{templateLibrary:{views:{get BaseModalLayout(){return elementorDevTools.deprecation.deprecated("elementor.modules.components.templateLibrary.views.BaseModalLayout","2.4.0","elementorModules.common.views.modal.Layout"),elementorModules.common.views.modal.Layout}}},saver:{behaviors:{FooterSaver:B(27401)}}},saver:{get footerBehavior(){return elementorDevTools.deprecation.deprecated("elementor.modules.saver.footerBehavior.","2.9.0","elementor.modules.components.saver.behaviors.FooterSaver"),elementor.modules.components.saver.behaviors.FooterSaver}},controls:{Animation:B(76772),Base:B(15584),BaseData:B(53005),BaseMultiple:B(87474),Box_shadow:B(23594),Button:B(73309),Choose:B(11292),Code:B(16543),Color:X.default,Date_time:Z.default,Dimensions:B(53261),Exit_animation:B(76772),Font:B(35634),Gaps:B(97465),Gallery:B(13607),Hidden:B(14553),Hover_animation:B(76772),Icon:B(30750),Icons:B(20911),Image_dimensions:B(53736),Media:B(79196),Notice:B(30008),Number:B(19598),Popover_toggle:he.default,Repeater:B(1142),RepeaterRow:B(98550),Section:B(37199),Select:B(88402),Select2:B(76772),Slider:B(17881),Structure:B(14958),Switcher:B(4073),Tab:B(83067),Text_shadow:B(23594),Url:B(57330),Wp_widget:B(30437),Wysiwyg:B(58326)},elements:{types:_objectSpread({Base:Me.default},Ie),models:{get BaseSettings(){return elementorDevTools.deprecation.deprecated("elementor.modules.elements.models.BaseSettings","2.4.0","elementorModules.editor.elements.models.BaseSettings"),elementorModules.editor.elements.models.BaseSettings},Element:B(39841)},views:{BaseElement:B(83866),BaseWidget:B(72293),Widget:B(97445)}},layouts:{panel:{pages:{elements:{views:{Global:B(56345),Elements:B(79349)}},menu:{Menu:ce.default}}}},views:{get ControlsStack(){return elementorDevTools.deprecation.deprecated("elementor.modules.views.ControlsStack","2.4.0","elementorModules.editor.views.ControlsStack"),elementorModules.editor.views.ControlsStack}}}),C}return(0,H.default)(EditorBase,[{key:"debug",get:function get(){return elementorDevTools.deprecation.deprecated("elementor.debug","3.0.0","elementorCommon.debug"),elementorCommon.debug}},{key:"userCan",value:function userCan(C){return-1===this.config.user.restrictions.indexOf(C)}},{key:"addControlView",value:function addControlView(C,T){this.modules.controls[elementorCommon.helpers.upperCaseWords(C)]=T}},{key:"checkEnvCompatibility",value:function checkEnvCompatibility(){return te.default.firefox||te.default.webkit}},{key:"getElementData",value:function getElementData(C){var T=C.get("elType");if("widget"===T){var B=C.get("widgetType");if(!this.widgetsCache[B])return!1;if(!this.widgetsCache[B].commonMerged&&!this.widgetsCache[B].atomic_controls){var V,L=this.widgetsCache.common.controls;if(L=elementor.hooks.applyFilters("elements/widget/controls/common/default",L,B),jQuery.extend(this.widgetsCache[B].controls,L),this.widgetsCache[B].controls=elementor.hooks.applyFilters("elements/widget/controls/common",this.widgetsCache[B].controls,B,this.widgetsCache[B]),null!==(V=this.widgetsCache[B].controls)&&void 0!==V&&V._element_cache){var q,W=$("The default cache status for this element:","elementor");W+=" <strong>",null!==(q=this.widgetsCache[B])&&void 0!==q&&q.is_dynamic_content?W+=$("Inactive","elementor"):W+=$("Active","elementor"),W+="</strong><br />",W+=$("Activating cache improves loading times by storing a static version of this element.","elementor"),W+=' <a href="https://go.elementor.com/element-caching-help/" target="_blank">'+$("Learn more","elementor")+"</a>.",this.widgetsCache[B].controls._element_cache.description=W}this.widgetsCache[B].commonMerged=!0}return this.widgetsCache[B]}if(!this.config.elements[T])return!1;var U=structuredClone(this.config.elements[T]);return"section"===T&&C.get("isInner")&&(U.title=$("Inner Section","elementor")),U}},{key:"getElementControls",value:function getElementControls(C){var T=this.getElementData(C);if(!T)return!1;var B=C.get("isInner"),$={};return _.each(T.controls,(function(C,T){B&&C.hide_in_inner||!B&&C.hide_in_top||($[T]=C)})),$}},{key:"mergeControlsSettings",value:function mergeControlsSettings(C){var T=this;return _.each(C,(function(B,$){C[$]=jQuery.extend(!0,{},T.config.controls[B.type],B)})),C}},{key:"getControlView",value:function getControlView(C){var T=elementorCommon.helpers.upperCaseWords(C),B=this.modules.controls[T];if(!B){var $=this.config.controls[C],V=$&&-1!==$.features.indexOf("ui");B=this.modules.controls[V?"Base":"BaseData"]}return B}},{key:"getPanelView",value:function getPanelView(){return this.panel.currentView}},{key:"getPreviewView",value:function getPreviewView(){return this.previewView}},{key:"getPreviewContainer",value:function getPreviewContainer(){return this.getPreviewView().getContainer()}},{key:"getContainer",value:function getContainer(C){return"document"===C?this.getPreviewContainer():$e.components.get("document").utils.findContainerById(C)}},{key:"initComponents",value:function initComponents(){var C=B(99469),T=B(41972),$=B(50235),V=B(99956);this.elementsManager=new ne.default,this.hooks=new C,this.selection=new ge.default,this.settings=new $,this.dynamicTags=new T,this.initDialogsManager(),this.notifications=new V,this.kitManager=new fe.default,this.hotkeysScreen=new ae.default,this.iconManager=new le.default,this.noticeBar=new me.default,this.favorites=new oe.default,this.history=new ie.default,this.promotion=new de.default,this.browserImport=new ue.default,this.introductionTooltips=new re.default,this.editorEvents=new Pe.default,this.documents=$e.components.register(new ee.default),elementorCommon.config.experimentalFeatures["landing-pages"]&&(this.modules.landingLibraryPageModule=new ye.default),elementorCommon.config.experimentalFeatures.container&&(this.modules.floatingButtonsLibraryModule=new xe.default),this.modules.linkInBioLibraryModule=new Te.default,this.modules.floatingBarsLibraryModule=new Oe.default,this.modules.elementsColorPicker=new _e.default,this.modules.promotionModule=new Re.default,$e.components.register(new ke.default),$e.components.register(new we.default),$e.components.register(new se.default),elementor.saver=$e.components.get("document/save"),new Ee.FontVariables,Ce.default.dispatch(elementorCommon.elements.$window,"elementor/init-components",null,"elementor:init-components")}},{key:"toggleSortableState",value:function toggleSortableState(){for(var C,T=this,B=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],$=0,V=[jQuery("#elementor-navigator"),null===(C=elementor.documents.getCurrent())||void 0===C?void 0:C.$element];$<V.length;$++){var L=V[$];L&&L.find(".ui-sortable").each((function(){var C=jQuery(T);C.sortable("instance")&&C.sortable(B?"enable":"disable")}))}}},{key:"initDialogsManager",value:function initDialogsManager(){this.dialogsManager=elementorCommon.dialogsManager}},{key:"initElements",value:function initElements(){var C=this.config.document.elements;this.elements&&this.elements.length&&this.config.document.id===this.config.initial_document.id&&(C=this.elements.toJSON()),this.elements=this.createBackboneElementsCollection(C),this.elementsModel=this.createBackboneElementsModel(this.elements)}},{key:"createBackboneElementsCollection",value:function createBackboneElementsCollection(C){return new(B(73963))(C)}},{key:"createBackboneElementsModel",value:function createBackboneElementsModel(C){return new Backbone.Model({elements:C})}},{key:"initPreview",value:function initPreview(){var C=jQuery;this.$previewWrapper=C("#elementor-preview"),this.$previewResponsiveWrapper=C("#elementor-preview-responsive-wrapper"),this.$preview||(this.$preview=C("<iframe>",{id:"elementor-preview-iframe",src:this.config.initial_document.urls.preview,title:$("Preview","elementor"),allowfullscreen:1}),this.$previewResponsiveWrapper.append(this.$preview)),this.$preview.on("load",this.onPreviewLoaded.bind(this))}},{key:"initPreviewView",value:function initPreviewView(C){elementor.trigger("document:before:preview",C),this.previewView=this.createPreviewView(C.$element[0],elementor.elementsModel),this.renderPreview(this.previewView)}},{key:"createPreviewView",value:function createPreviewView(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},$=new ve.default({el:C,model:T});return $.setConfig(B),$.$el.empty(),$}},{key:"renderPreview",value:function renderPreview(C){C.isRendered=!0,C._renderChildren(),C.triggerMethod("render")}},{key:"initFrontend",value:function initFrontend(){var C=this.$preview[0].contentWindow;window.elementorFrontend=C.elementorFrontend,C.elementor=this,C.elementorCommon=elementorCommon,elementorFrontend.init(),this.trigger("frontend:init")}},{key:"initClearPageDialog",value:function initClearPageDialog(){var C;this.getClearPageDialog=function(){return C||(C=elementorCommon.dialogsManager.createWidget("confirm",{id:"elementor-clear-page-dialog",headerMessage:$("Delete All Content","elementor"),message:$("Attention: We are going to DELETE ALL CONTENT from this page. Are you sure you want to do that?","elementor"),position:{my:"center center",at:"center center"},strings:{confirm:$("Delete","elementor"),cancel:$("Cancel","elementor")},onConfirm:function onConfirm(){return $e.run("document/elements/empty",{force:!0})}}))}}},{key:"getCurrentElement",value:function getCurrentElement(){if(!(-1!==["BODY","IFRAME"].indexOf(document.activeElement.tagName)&&"BODY"===elementorFrontend.elements.window.document.activeElement.tagName))return!1;var C=elementor.channels.editor.request("contextMenu:targetView");if(!C){var T=elementor.getPanelView();$e.routes.isPartOf("panel/editor")&&(C=T.getCurrentPageView().getOption("editedElementView"))}return C||(C=elementor.getPreviewView()),C}},{key:"initPanel",value:function initPanel(){this.addRegions({panel:B(83536)}),window.dispatchEvent(new CustomEvent("elementor/panel/init")),this.trigger("panel:init")}},{key:"initNavigator",value:function initNavigator(){$e.components.get("document/elements").utils.showNavigator()&&(this.addRegions({navigator:{el:"#elementor-navigator",regionClass:pe.default}}),this.trigger("navigator:init"))}},{key:"setAjax",value:function setAjax(){elementorCommon.ajax.addRequestConstant("editor_post_id",this.config.document.id),elementorCommon.ajax.addRequestConstant("initial_document_id",this.config.initial_document.id),elementorCommon.ajax.on("request:unhandledError",(function(C){elementor.notifications.showToast({message:elementor.createAjaxErrorMessage(C)})}))}},{key:"createAjaxErrorMessage",value:function createAjaxErrorMessage(C){var T;return 4===C.readyState?(T=$("Server Error","elementor"),200!==C.status&&(T+=" ("+C.status+" "+C.statusText+")")):T=0===C.readyState?$("Connection Lost","elementor"):$("Unknown Error","elementor"),T+"."}},{key:"activatePreviewResizable",value:function activatePreviewResizable(){var C=this.$previewResponsiveWrapper;C.resizable("instance")||C.resizable({handles:"e, s, w",stop:function stop(){C.css({width:"",height:"",left:"",right:"",top:"",bottom:""})},resize:function resize(T,B){C.css({right:"0",left:"0",top:"0",bottom:"0"});var $=C[0].style;$.setProperty("--e-editor-preview-width",B.size.width+"px"),$.setProperty("--e-editor-preview-height",B.size.height+"px")}})}},{key:"destroyPreviewResizable",value:function destroyPreviewResizable(){this.$previewResponsiveWrapper.resizable("instance")&&this.$previewResponsiveWrapper.resizable("destroy")}},{key:"broadcastPreviewResize",value:function broadcastPreviewResize(){this.channels.responsivePreview.reply("size",{width:this.$preview.innerWidth(),height:this.$preview.innerHeight()}).trigger("resize")}},{key:"getCurrentDeviceConstrains",value:function getCurrentDeviceConstrains(){var C=elementor.channels.deviceMode.request("currentMode"),T=elementorFrontend.config.responsive.activeBreakpoints[C],B="widescreen"===C?9999:T.value,$=this.breakpoints.getDeviceMinBreakpoint(C);return $>T.value&&($=T.value),{maxWidth:B,minWidth:$}}},{key:"getBreakpointResizeOptions",value:function getBreakpointResizeOptions(C){var T=elementor.$previewWrapper.height()-80,B={mobile:{minHeight:480,height:736,width:360,maxHeight:896},mobile_extra:{minHeight:480,height:736,maxHeight:896},tablet:{minHeight:320,height:T,maxHeight:1024},tablet_extra:{minHeight:320,height:T,maxHeight:1024},laptop:{minHeight:320,height:T,maxHeight:1024},widescreen:{minHeight:320,height:T,maxHeight:1200}},$=this.getCurrentDeviceConstrains();return B[C]&&($=_objectSpread(_objectSpread({},$),B[C])),$}},{key:"updatePreviewResizeOptions",value:function updatePreviewResizeOptions(){var C=arguments.length>0&&void 0!==arguments[0]&&arguments[0],T=this.$previewResponsiveWrapper,B=elementor.channels.deviceMode.request("currentMode");if("desktop"===B){this.destroyPreviewResizable();var $=T[0].style;$.setProperty("--e-editor-preview-width",""),$.setProperty("--e-editor-preview-height","")}else{var V;this.activatePreviewResizable();var L=this.getBreakpointResizeOptions(B),q=null!==(V=L.width)&&void 0!==V?V:L.minWidth;if(C){var W=elementor.channels.responsivePreview.request("size");W.width>L.maxWidth?q=L.maxWidth:W.width>=L.minWidth&&(q=W.width)}T.resizable("option",_objectSpread({},L));var U=T[0].style;U.setProperty("--e-editor-preview-width",q+"px"),U.setProperty("--e-editor-preview-height",L.height+"px")}}},{key:"preventClicksInsideEditor",value:function preventClicksInsideEditor(){this.$previewContents.on("submit",(function(C){return C.preventDefault()})),this.$previewContents.on("click",(function(C){var T,B=jQuery(C.target),$=!!B.closest(".elementor-edit-area, .pen-menu").length,V=this.contains(B[0]);B.closest("a:not(.elementor-clickable)").length&&C.preventDefault(),$&&elementor.getPreviewContainer().isEditable()||!V||!$&&null!==(T=elementor.documents.getCurrent())&&void 0!==T&&T.$element&&$e.run("document/elements/deselect-all")}))}},{key:"addBackgroundClickArea",value:function addBackgroundClickArea(C){C.addEventListener("click",this.onBackgroundClick.bind(this),!0)}},{key:"addBackgroundClickListener",value:function addBackgroundClickListener(C,T){this.backgroundClickListeners[C]=T}},{key:"removeBackgroundClickListener",value:function removeBackgroundClickListener(C){delete this.backgroundClickListeners[C]}},{key:"showFatalErrorDialog",value:function showFatalErrorDialog(C){var T={id:"elementor-fatal-error-dialog",headerMessage:"",message:"",position:{my:"center center",at:"center center"},strings:{confirm:$("Learn More","elementor"),cancel:$("Go Back","elementor")},onConfirm:null,onCancel:function onCancel(){return parent.history.go(-1)},hide:{onBackgroundClick:!1,onButtonClick:!1}};C=jQuery.extend(!0,T,C),elementorCommon.dialogsManager.createWidget("confirm",C).show()}},{key:"showFlexBoxAttentionDialog",value:function showFlexBoxAttentionDialog(){var C=this,T=new elementorModules.editor.utils.Introduction({introductionKey:"flexbox",dialogType:"confirm",dialogOptions:{id:"elementor-flexbox-attention-dialog",headerMessage:$("Note: Flexbox Changes","elementor"),message:$("Elementor 2.5 introduces key changes to the layout using CSS Flexbox. Your existing pages might have been affected, please review your page before publishing.","elementor"),position:{my:"center center",at:"center center"},strings:{confirm:$("Learn More","elementor"),cancel:$("Got It","elementor")},hide:{onButtonClick:!1},onCancel:function onCancel(){T.setViewed(),T.getDialog().hide()},onConfirm:function onConfirm(){return open(C.config.help_flexbox_bc_url,"_blank")}}});T.show()}},{key:"checkPageStatus",value:function checkPageStatus(){elementor.documents.getCurrent().isDraft()&&this.notifications.showToast({message:$("This is just a draft. Play around and when you're done - click update.","elementor"),buttons:[{name:"view_revisions",text:$("View All Revisions","elementor"),callback:function callback(){return $e.route("panel/history/revisions")}}]})}},{key:"enterDeviceMode",value:function enterDeviceMode(){var C=this;this.channels.responsivePreview.trigger("open"),elementorCommon.elements.$body.addClass("e-is-device-mode"),this.activatePreviewResizable(),this.resizeListenerThrottled=!1,this.broadcastPreviewResize(),elementorFrontend.elements.$window.on("resize.deviceModeDesktop",(function(){C.resizeListenerThrottled||(C.resizeListenerThrottled=!0,C.broadcastPreviewResize(),setTimeout((function(){C.resizeListenerThrottled=!1,C.broadcastPreviewResize()}),300))}))}},{key:"exitDeviceMode",value:function exitDeviceMode(){elementorCommon.elements.$body.removeClass("e-is-device-mode"),this.destroyPreviewResizable(),elementorCommon.elements.$window.off("resize.deviceModeDesktop"),this.channels.deviceMode.trigger("close")}},{key:"isDeviceModeActive",value:function isDeviceModeActive(){return elementorCommon.elements.$body.hasClass("e-is-device-mode")}},{key:"updatePreviewSize",value:function updatePreviewSize(C){var T=this.$previewResponsiveWrapper[0].style;T.setProperty("--e-editor-preview-width",C.width+"px"),T.setProperty("--e-editor-preview-height",C.height+"px")}},{key:"enterPreviewMode",value:function enterPreviewMode(C){var T=elementorFrontend.elements.$body;C&&(T=T.add(elementorCommon.elements.$body)),T.removeClass("elementor-editor-active").addClass("elementor-editor-preview");var B=this.documents.getCurrent().$element;B&&B.removeClass("elementor-edit-area-active")}},{key:"exitPreviewMode",value:function exitPreviewMode(){elementorFrontend.elements.$body.add(elementorCommon.elements.$body).removeClass("elementor-editor-preview").addClass("elementor-editor-active"),elementor.config.document.panel.has_elements&&this.documents.getCurrent().$element.addClass("elementor-edit-area-active")}},{key:"changeEditMode",value:function changeEditMode(C){var T=elementor.channels.dataEditMode,B=T.request("activeMode");T.reply("activeMode",C),C!==B&&T.trigger("switch",C)}},{key:"reloadPreview",value:function reloadPreview(){jQuery("#elementor-preview-loading").show(),this.$preview[0].src=this.config.initial_document.urls.preview}},{key:"changeDeviceMode",value:function changeDeviceMode(C){var T=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],B=this.channels.deviceMode.request("currentMode");B!==C&&(elementorCommon.elements.$body.removeClass("elementor-device-"+B).addClass("elementor-device-"+C),this.channels.deviceMode.reply("previousMode",B).reply("currentMode",C).trigger("change"),this.isDeviceModeActive()&&T?"desktop"===C&&this.exitDeviceMode():"desktop"!==C&&this.enterDeviceMode(),dispatchEvent(new CustomEvent("elementor/device-mode/change",{detail:{activeMode:C}})))}},{key:"translate",value:function translate(C,T,B){return B||(B=this.config.i18n),elementorCommon.translate(C,null,T,B)}},{key:"requestWidgetsConfig",value:function requestWidgetsConfig(){var C=this,T={};jQuery.each(this.widgetsCache,(function(C,B){B.controls&&(T[C]=!0)})),elementorCommon.ajax.addRequest("get_widgets_config",{data:{exclude:T},success:function success(T){C.addWidgetsCache(T),elementor.config.locale!==elementor.config.user.locale&&C.translateControlsDefaults(elementor.config.locale),C.loaded?(C.kitManager.renderGlobalsDefaultCSS(),$e.internal("panel/state-ready")):C.once("panel:init",(function(){$e.internal("panel/state-ready")}))}})}},{key:"translateControlsDefaults",value:function translateControlsDefaults(C){var T=this;elementorCommon.ajax.addRequest("get_widgets_default_value_translations",{data:{locale:C},success:function success(C){T.addWidgetsCache(C)}},!0)}},{key:"getPreferences",value:function getPreferences(C){var T=elementor.settings.editorPreferences.model.attributes;return C?T[C]:T}},{key:"getConfig",value:function getConfig(){return ElementorConfig}},{key:"onStart",value:function onStart(){var C=this;this.config=this.getConfig(),Backbone.Radio.DEBUG=!1,Backbone.Radio.tuneIn("ELEMENTOR"),this.populateActiveBreakpointsConfig(),this.breakpoints=new be.default(this.config.responsive),elementorCommon.config.experimentalFeatures.additional_custom_breakpoints&&this.generateResponsiveControlsForElements(),this.elementsManager=new ne.default,this.initComponents(),this.checkEnvCompatibility()||this.onEnvNotCompatible(),this.initPreview(),this.requestWidgetsConfig(),this.channels.dataEditMode.reply("activeMode","edit"),this.listenTo(this.channels.dataEditMode,"switch",this.onEditModeSwitched),this.listenTo(elementor.channels.deviceMode,"change",this.updatePreviewResizeOptions),this.initClearPageDialog(),this.addBackgroundClickArea(document),this.addDeprecatedConfigProperties(),Ce.default.dispatch(elementorCommon.elements.$window,"elementor/loaded",null,"elementor:loaded"),$e.run("editor/documents/open",{id:this.config.initial_document.id}).then((function(){Ce.default.dispatch(elementorCommon.elements.$window,"elementor/init",null,"elementor:init"),C.initNavigator()}))}},{key:"onPreviewLoaded",value:function onPreviewLoaded(){if(this.$preview[0].contentWindow.elementorFrontend)if(elementor.config.kit_id){this.$previewContents=this.$preview.contents(),this.initFrontend(),this.preventClicksInsideEditor(),this.addBackgroundClickArea(elementorFrontend.elements.window.document),this.previewLoadedOnce||this.onFirstPreviewLoaded(),this.$previewContents.children().addClass("elementor-html");var C=elementorFrontend.elements.$body;C.addClass("elementor-editor-active"),elementor.userCan("design")||C.addClass("elementor-editor-content-only"),this.changeDeviceMode("desktop"),_.defer((function(){elementorFrontend.elements.window.jQuery.holdReady(!1)})),$e.shortcuts.bindListener(elementorFrontend.elements.$window),this.trigger("preview:loaded",!this.loaded),$e.internal("editor/documents/attach-preview").then((function(){return jQuery("#elementor-loading, #elementor-preview-loading").fadeOut(600)})),this.loaded=!0}else this.kitNotExistsError();else this.onPreviewLoadingError()}},{key:"onFirstPreviewLoaded",value:function onFirstPreviewLoaded(){this.initPanel(),this.previewLoadedOnce=!0}},{key:"onEditModeSwitched",value:function onEditModeSwitched(){var C=this.channels.dataEditMode.request("activeMode");dispatchEvent(new CustomEvent("elementor/edit-mode/change",{detail:{activeMode:C}})),"edit"===C?this.exitPreviewMode():this.enterPreviewMode("preview"===C)}},{key:"onEnvNotCompatible",value:function onEnvNotCompatible(){var C=this;this.showFatalErrorDialog({headerMessage:$("Your browser isn't compatible","elementor"),message:$("Your browser isn't compatible with all of Elementor's editing features. We recommend you switch to another browser like Chrome or Firefox.","elementor"),strings:{confirm:$("Proceed Anyway","elementor")},hide:{onButtonClick:!0},onConfirm:function onConfirm(){return C.hide()}})}},{key:"kitNotExistsError",value:function kitNotExistsError(){this.showFatalErrorDialog({className:"elementor-preview-loading-error",headerMessage:$("Your site doesn't have a default kit","elementor"),message:$("Seems like your kit was deleted, please create new one or try restore it from trash.","elementor"),strings:{confirm:$("Recreate Kit","elementor"),cancel:$("Go Back","elementor")},onConfirm:function onConfirm(){return open(elementor.config.admin_tools_url,"_blank")}})}},{key:"onPreviewLoadingError",value:function onPreviewLoadingError(){var C=this,T=this.config.document.urls.preview+"&preview-debug",B='<div id="elementor-preview-debug-link-text"><a href="'+T+'" target="_blank">'+$("Click here for preview debug","elementor")+"</a></div>",V=elementor.config.preview.debug_data,L={className:"elementor-preview-loading-error",headerMessage:V.header,message:V.message+B,onConfirm:function onConfirm(){return open(V.doc_url,"_blank")}};V.error?this.showFatalErrorDialog(L):jQuery.get(T,(function(){C.showFatalErrorDialog(L)})).fail((function(T){C.showFatalErrorDialog({className:"elementor-preview-loading-error",headerMessage:V.header,message:T.statusText+" "+T.status+" "+B,onConfirm:function onConfirm(){var C=500<=T.status?elementor.config.preview.help_preview_http_error_500_url:elementor.config.preview.help_preview_http_error_url;open(C,"_blank")}})}))}},{key:"onPreviewElNotFound",value:function onPreviewElNotFound(){var C=this.$preview[0].contentWindow.elementorPreviewErrorArgs;C||(C={headerMessage:$("Sorry, the content area was not found in your page.","elementor"),message:$("You must call 'the_content' function in the current template, in order for Elementor to work on this page.","elementor"),confirmURL:elementor.config.help_the_content_url}),C.onConfirm=function(){return open(C.confirmURL,"_blank")},this.showFatalErrorDialog(C)}},{key:"onBackgroundClick",value:function onBackgroundClick(C){jQuery.each(this.backgroundClickListeners,(function(T,B){var $=jQuery(C.target);if($[0].control&&($=$.add($[0].control)),!B.ignore||!$.closest(B.ignore).length){var V=$.closest(B.element),L=jQuery(B.element).not(V);B.callback?B.callback(L):L.each((function(C,T){var B=jQuery(T),$=B.is(":visible");B.hide(),$&&B.trigger("hide")}))}}))}},{key:"compileTemplate",value:function compileTemplate(C,T){return Marionette.TemplateCache.prototype.compileTemplate(C)(T)}},{key:"addWidgetsCache",value:function addWidgetsCache(C){var T=this;jQuery.each(C,(function(C,B){elementorCommon.config.experimentalFeatures.additional_custom_breakpoints&&(B.controls=T.generateResponsiveControls(B.controls)),T.widgetsCache[C]=jQuery.extend(!0,{},T.widgetsCache[C],B)}))}},{key:"generateResponsiveControls",value:function generateResponsiveControls(C){var T=this,B=this.config.responsive.activeBreakpoints,$=this.breakpoints.getActiveBreakpointsList({largeToSmall:!0,withDesktop:!0}),V={},L=$[$.indexOf("desktop")+1];return $.unshift($.splice($.indexOf("desktop"),1)[0]),jQuery.each(C,(function(C,q){var U,H,G,K;if("object"===(0,W.default)(q.fields)&&(q.fields=T.generateResponsiveControls(q.fields)),q.is_responsive){null!==(U=q.responsive)&&void 0!==U&&U.devices&&("object"===(0,W.default)(q.responsive.devices)&&(q.responsive.devices=Object.values(q.responsive.devices)),K=$.filter((function(C){return q.responsive.devices.includes(C)})),delete q.responsive.devices);var Q,J=null===(H=q.popover)||void 0===H?void 0:H.end;if(J)null===(Q=q.popover)||void 0===Q||delete Q.end;q.default&&(q.desktop_default=q.default);var Y=T.config.controls[q.type].default_value,X=!0;Y&&(q.default=Y,X=!1);var Z=K||$;Z.forEach((function(T,$){var U,H=structuredClone(q);if(H.device_args&&(H.device_args[T]&&(H=_objectSpread(_objectSpread({},H),H.device_args[T])),delete H.device_args),H.prefix_class&&-1!==H.prefix_class.indexOf("%s")){var K="desktop"===T?"":"-"+T;H.prefix_class=H.prefix_class.replace("%s",K)}Array.isArray(H.responsive)&&(H.responsive={});var Q="max";if(H.parent=null,"desktop"!==T&&(Q=B[T].direction,H.parent=T===L?C:G),H.responsive[Q]=T,H.min_affected_device&&(H.min_affected_device[T]&&(H.responsive.min=H.min_affected_device[T]),delete H.min_affected_device),H[T+"_default"]?"object"===(0,W.default)(H[T+"_default"])?H.default=_objectSpread(_objectSpread({},H.default),H[T+"_default"]):H.default=H[T+"_default"]:X&&(H.default=""),0!==$&&null!==(U=H.popover)&&void 0!==U&&U.start&&delete H.popover.start,$===Z.length-1&&J&&(H.popover={end:!0}),Z.forEach((function(C){delete H[C+"_default"]})),delete H.is_responsive,G="desktop"===T?C:C+"_"+T,H.parent){var Y=V[H.parent];Y.inheritors||(Y.inheritors=[]),Y.inheritors.push(G)}H.name=G,V[G]=H}))}else V[C]=q})),V}},{key:"generateResponsiveControlsForElements",value:function generateResponsiveControlsForElements(){var C=this;Object.keys(this.config.elements).forEach((function(T){C.config.elements[T].controls=C.generateResponsiveControls(C.config.elements[T].controls)}))}},{key:"populateActiveBreakpointsConfig",value:function populateActiveBreakpointsConfig(){var C=this;this.config.responsive.activeBreakpoints={},Object.entries(this.config.responsive.breakpoints).forEach((function(T){var B=(0,q.default)(T,2),$=B[0],V=B[1];V.is_enabled&&(C.config.responsive.activeBreakpoints[$]=V)}))}},{key:"addDeprecatedConfigProperties",value:function addDeprecatedConfigProperties(){var C=this,T={data:{replacement:"elements",value:function value(){return elementor.config.document.elements}},current_user_can_publish:{replacement:"user.can_publish",value:function value(){return elementor.config.document.user.can_publish}},locked_user:{replacement:"",value:function value(){return elementor.config.document.user.locked}},revisions_enabled:{replacement:"revisions.enabled",value:function value(){return elementor.config.document.revisions.enabled}},current_revision_id:{replacement:"revisions.current_id",value:function value(){return elementor.config.document.revisions.current_id}}};jQuery.each(T,(function(T,B){Object.defineProperty(C.config,T,{get:function get(){var C=B.replacement?"elementor.config.document."+B.replacement:"";return elementorDevTools.deprecation.deprecated("elementor.config."+T,"2.9.0",C),B.value()},set:function set(){throw elementorDevTools.deprecation.deprecated("elementor.config."+T,"2.9.0","elementor.config.document."+B.replacement),Error("Deprecated")}})})),Object.defineProperty(this.config.settings,"page",{get:function get(){return elementorDevTools.deprecation.deprecated("elementor.config.settings.page","2.9.0","elementor.config.document.settings"),elementor.config.document.settings}}),Object.defineProperty(this.config,"widgets",{get:function get(){return elementorDevTools.deprecation.deprecated("elementor.config.widgets","2.9.0","elementor.widgetsCache"),elementor.widgetsCache}}),Object.defineProperty(this,"$previewElementorEl",{get:function get(){return elementorDevTools.deprecation.deprecated("elementor.$previewElementorEl","2.9.4","elementor.documents.getCurrent().$element"),elementor.documents.getCurrent().$element}})}},{key:"toggleDocumentCssFiles",value:function toggleDocumentCssFiles(C,T){var B=["#elementor-post-".concat(C.config.id,"-css"),"#elementor-preview-".concat(C.config.revisions.current_id)],$=T?"text/css":"elementor/disabled-css";this.$previewContents.find(B.join(",")).attr({type:$})}}]),EditorBase}(Marionette.Application);T.default=je},73963:(C,T,B)=>{"use strict";var $=B(73203)(B(10761)),V=Backbone.Collection.extend({add:function add(C,T,B){if(!(T&&T.silent||B))throw"Call Error: Adding model to element collection is allowed only by the dedicated addChildModel() method.";return Backbone.Collection.prototype.add.call(this,C,T)},model:function model(C,T){var B=Backbone.Model;if(C.elType){var V=C.widgetType||C.elType,L=elementor.elementsManager.getElementTypeClass(V);if(!L)throw new $.default(V);B=elementor.hooks.applyFilters("element/model",L.getModel(),C)}return new B(C,T)},clone:function clone(){var C=Backbone.Collection.prototype.clone.apply(this,arguments),T=new V;return C.forEach((function(C){T.add(C.clone(),null,!0)})),T}});V.prototype.sync=V.prototype.fetch=V.prototype.save=_.noop,C.exports=V},57355:(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(93231)),U=$(B(47456)),H=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(31743));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)}var G=function(){function ElementsManager(){(0,L.default)(this,ElementsManager),(0,W.default)(this,"elementTypes",{}),this.registerElements()}return(0,q.default)(ElementsManager,[{key:"getElementTypeClass",value:function getElementTypeClass(C){var T=this.elementTypes[C];return!T&&elementor.widgetsCache[C]&&(T=this.elementTypes.widget),T}},{key:"registerElementType",value:function registerElementType(C){if(!(C instanceof U.default))throw new TypeError("The element argument must be an instance of ElementBase.");var T=C.getType();if(this.elementTypes[T])throw new Error("Element type already registered");this.elementTypes[T]=C}},{key:"registerElements",value:function registerElements(){var C=this;if(Object.values(H).forEach((function(T){var B=new T;C.registerElementType(B)})),elementorCommon.config.experimentalFeatures.container){var T=B(76891).Z;this.registerElementType(new T)}}}]),ElementsManager}();T.default=G},4863:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(BaseElementModel,C);var T=_createSuper(BaseElementModel);function BaseElementModel(){return(0,V.default)(this,BaseElementModel),T.apply(this,arguments)}return(0,L.default)(BaseElementModel,[{key:"isValidChild",value:function isValidChild(C){elementorModules.ForceMethodImplementation({attributes:this.attributes})}}]),BaseElementModel}(Backbone.Model);T.default=H},98459:C=>{"use strict";C.exports=elementorModules.editor.elements.models.BaseSettings.extend({defaults:{_column_size:100}})},70070:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Column,C);var T=_createSuper(Column);function Column(){return(0,V.default)(this,Column),T.apply(this,arguments)}return(0,L.default)(Column,[{key:"isValidChild",value:function isValidChild(C){var T=C.get("elType");return!("section"!==T||!C.get("isInner"))||["widget","container"].includes(T)}}]),Column}($(B(39841)).default);T.default=H},44380:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Container,C);var T=_createSuper(Container);function Container(){return(0,V.default)(this,Container),T.apply(this,arguments)}return(0,L.default)(Container,[{key:"isValidChild",value:function isValidChild(C){var T=C.get("elType");return"section"!==T&&"column"!==T}}]),Container}($(B(39841)).default);T.default=H},79140:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Document,C);var T=_createSuper(Document);function Document(){return(0,V.default)(this,Document),T.apply(this,arguments)}return(0,L.default)(Document,[{key:"isValidChild",value:function isValidChild(C){var T=C.get("elType");return["section","container"].includes(T)}}]),Document}($(B(4863)).default);T.default=H},39841:(C,T,B)=>{"use strict";var $=B(73203),V=$(B(7501)),L=$(B(93231)),q=$(B(4863));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<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,L.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}var W,U=B(98459);(W=q.default.extend({defaults:{id:"",elType:"",isInner:!1,isLocked:!1,settings:{},defaultEditSettings:{defaultEditRoute:"content"}},remoteRender:!1,_htmlCache:null,_jqueryXhr:null,renderOnLeave:!1,initialize:function initialize(C){var T=this.get("elType"),$=this.get("elements");if(void 0!==$){var V=B(73963);this.set("elements",new V($))}"widget"===T&&(this.remoteRender=!0,this.setHtmlCache(C.htmlCache||"")),delete C.htmlCache,this.renderRemoteServer=_.throttle(this.renderRemoteServer,1e3),this.initSettings(),this.initEditSettings(),this.on({destroy:this.onDestroy,"editor:close":this.onCloseEditor})},initSettings:function initSettings(){var C=this.get("elType"),T=this.get("settings"),B={column:U}[C]||elementorModules.editor.elements.models.BaseSettings;jQuery.isEmptyObject(T)&&(T=structuredClone(T)),"widget"===C&&(T.widgetType=this.get("widgetType")),(T=_objectSpread(_objectSpread({},T),{},{elType:C})).isInner=this.get("isInner");var $=this.get("_title");$&&(T._title=$),T=new B(T,{controls:elementor.getElementControls(this)}),this.set("settings",T),elementorFrontend.config.elements.data[this.cid]=T},initEditSettings:function initEditSettings(){var C=new Backbone.Model(this.get("defaultEditSettings"));this.set("editSettings",C),elementorFrontend.config.elements.editSettings[this.cid]=C},setSetting:function setSetting(C,T){var B=this.get("settings");if("object"!==(0,V.default)(C)){var $=C.split("."),L=3===$.length;C=$[0],L&&(B=B.get(C).models[$[1]],C=$[2])}B.setExternalChange(C,T)},getSetting:function getSetting(C){var T=C.split("."),B=3===T.length,$=this.get("settings");C=T[0];var V=$.get(C);return void 0===V?"":(B&&(V=V.models[T[1]].get(T[2])),V)},setHtmlCache:function setHtmlCache(C){this._htmlCache=C},getHtmlCache:function getHtmlCache(){return this._htmlCache},getDefaultTitle:function getDefaultTitle(){return elementor.getElementData(this).title},getTitle:function getTitle(){var C,T=this.getSetting("_title")||this.getSetting("presetTitle"),B=this.get("custom");return!T&&null!==(C=null==B?void 0:B.isPreset)&&void 0!==C&&C?this.get("title")||T:(T||(T=this.getDefaultTitle()),T)},getIcon:function getIcon(){var C,T=elementor.getElementData(this).icon,B=this.get("custom");if(null!==(C=null==B?void 0:B.isPreset)&&void 0!==C&&C)return this.attributes.custom.preset_settings.presetIcon||T;var $=this.getSetting("presetIcon");return"string"==typeof $&&""!==$.trim()?$:T},createRemoteRenderRequest:function createRemoteRenderRequest(){var C=this.toJSON();return elementorCommon.ajax.addRequest("render_widget",{unique_id:this.cid,data:{data:C},success:this.onRemoteGetHtml.bind(this)},!0).jqXhr},renderRemoteServer:function renderRemoteServer(){this.remoteRender&&(this.renderOnLeave=!1,this.trigger("before:remote:render"),this.isRemoteRequestActive()&&this._jqueryXhr.abort(),this._jqueryXhr=this.createRemoteRenderRequest())},isRemoteRequestActive:function isRemoteRequestActive(){return this._jqueryXhr&&4!==this._jqueryXhr.readyState},onRemoteGetHtml:function onRemoteGetHtml(C){this.setHtmlCache(C.render),this.trigger("remote:render")},clone:function clone(){var C=new this.constructor(elementorCommon.helpers.cloneObject(this.attributes));C.set("id",elementorCommon.helpers.getUniqueId()),C.setHtmlCache(this.getHtmlCache());var T=this.get("elements");return _.isEmpty(T)||C.set("elements",T.clone()),C},toJSON:function toJSON(C){C=C||{};var T=Backbone.Model.prototype.toJSON.call(this);return _.each(T,(function(B,$){B&&B.toJSON&&(T[$]=B.toJSON(C))})),C.copyHtmlCache?T.htmlCache=this.getHtmlCache():delete T.htmlCache,C.remove&&C.remove.forEach((function(C){return delete T[C]})),T},onCloseEditor:function onCloseEditor(){this.renderOnLeave&&this.renderRemoteServer()},onDestroy:function onDestroy(){var C=this.get("settings"),T=this.get("elements");void 0!==T&&_.each(_.clone(T.models),(function(C){C.destroy()})),C.destroy()}})).prototype.sync=W.prototype.fetch=W.prototype.save=_.noop,C.exports=W},71668:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Section,C);var T=_createSuper(Section);function Section(){return(0,V.default)(this,Section),T.apply(this,arguments)}return(0,L.default)(Section,[{key:"isValidChild",value:function isValidChild(C){return"column"===C.get("elType")}}]),Section}($(B(39841)).default);T.default=H},64882:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Widget,C);var T=_createSuper(Widget);function Widget(){return(0,V.default)(this,Widget),T.apply(this,arguments)}return(0,L.default)(Widget,[{key:"isValidChild",value:function isValidChild(){return!1}}]),Widget}($(B(39841)).default);T.default=H},47456:(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 ElementBase(){(0,V.default)(this,ElementBase)}return(0,L.default)(ElementBase,[{key:"getType",value:function getType(){elementorModules.ForceMethodImplementation()}},{key:"getView",value:function getView(){elementorModules.ForceMethodImplementation()}},{key:"getEmptyView",value:function getEmptyView(){elementorModules.ForceMethodImplementation()}},{key:"getModel",value:function getModel(){elementorModules.ForceMethodImplementation()}}]),ElementBase}();T.default=q},81427:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(47456)),G=$(B(70070)),K=$(B(99722));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var Q=function(C){(0,q.default)(Column,C);var T=_createSuper(Column);function Column(){return(0,V.default)(this,Column),T.apply(this,arguments)}return(0,L.default)(Column,[{key:"getType",value:function getType(){return"column"}},{key:"getView",value:function getView(){return K.default}},{key:"getModel",value:function getModel(){return G.default}}]),Column}(H.default);T.default=Q},76891:(C,T,B)=>{"use strict";var $=B(73203);T.Z=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(47456)),G=$(B(84856)),K=$(B(44380)),Q=$(B(96040));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var J=function(C){(0,q.default)(Container,C);var T=_createSuper(Container);function Container(){return(0,V.default)(this,Container),T.apply(this,arguments)}return(0,L.default)(Container,[{key:"getType",value:function getType(){return"container"}},{key:"getView",value:function getView(){return Q.default}},{key:"getEmptyView",value:function getEmptyView(){return G.default}},{key:"getModel",value:function getModel(){return K.default}}]),Container}(H.default);T.Z=J},49139:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(47456)),G=$(B(79140));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var K=function(C){(0,q.default)(Document,C);var T=_createSuper(Document);function Document(){return(0,V.default)(this,Document),T.apply(this,arguments)}return(0,L.default)(Document,[{key:"getType",value:function getType(){return"document"}},{key:"getModel",value:function getModel(){return G.default}}]),Document}(H.default);T.default=K},31743:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Column",{enumerable:!0,get:function get(){return V.default}}),Object.defineProperty(T,"Document",{enumerable:!0,get:function get(){return L.default}}),Object.defineProperty(T,"InnerSection",{enumerable:!0,get:function get(){return q.default}}),Object.defineProperty(T,"Section",{enumerable:!0,get:function get(){return W.default}}),Object.defineProperty(T,"Widget",{enumerable:!0,get:function get(){return U.default}});var V=$(B(81427)),L=$(B(49139)),q=$(B(31895)),W=$(B(30570)),U=$(B(23303))},31895:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(InnerSection,C);var T=_createSuper(InnerSection);function InnerSection(){return(0,V.default)(this,InnerSection),T.apply(this,arguments)}return(0,L.default)(InnerSection,[{key:"getType",value:function getType(){return"inner-section"}}]),InnerSection}($(B(30570)).default);T.default=H},30570:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(47456)),G=$(B(71668)),K=$(B(39872));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var Q=function(C){(0,q.default)(Section,C);var T=_createSuper(Section);function Section(){return(0,V.default)(this,Section),T.apply(this,arguments)}return(0,L.default)(Section,[{key:"getType",value:function getType(){return"section"}},{key:"getView",value:function getView(){return K.default}},{key:"getModel",value:function getModel(){return G.default}}]),Section}(H.default);T.default=Q},23303:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(47456)),G=$(B(64882)),K=$(B(97445));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var Q=function(C){(0,q.default)(Widget,C);var T=_createSuper(Widget);function Widget(){return(0,V.default)(this,Widget),T.apply(this,arguments)}return(0,L.default)(Widget,[{key:"getType",value:function getType(){return"widget"}},{key:"getView",value:function getView(){return K.default}},{key:"getModel",value:function getModel(){return G.default}}]),Widget}(H.default);T.default=Q},72293:(C,T,B)=>{"use strict";var $=B(38003).sprintf,V=B(38003).__,L=B(73203),q=L(B(78983)),W=L(B(42081)),U=L(B(51121)),H=L(B(58724)),G=L(B(71173)),K=L(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,K.default)(C);if(T){var V=(0,K.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,G.default)(this,B)}}var Q=function(C){(0,H.default)(BaseWidgetView,C);var T=_createSuper(BaseWidgetView);function BaseWidgetView(){return(0,q.default)(this,BaseWidgetView),T.apply(this,arguments)}return(0,W.default)(BaseWidgetView,[{key:"initialize",value:function initialize(C){var T=this;(0,U.default)((0,K.default)(BaseWidgetView.prototype),"initialize",this).call(this,C);var B=this.getEditModel();B.on({"before:remote:render":this.onModelBeforeRemoteRender.bind(this),"remote:render":this.onModelRemoteRender.bind(this),"settings:loaded":function settingsLoaded(){return setTimeout(T.render.bind(T))}}),"remote"!==this.getTemplateType()||this.getEditModel().getHtmlCache()||B.renderRemoteServer();var $=this.onRender;this.render=_.throttle(this.render,300),this.onRender=function(){_.defer($.bind(this))}}},{key:"className",value:function className(){return(0,U.default)((0,K.default)(BaseWidgetView.prototype),"className",this).call(this)+" elementor-widget "+elementor.getElementData(this.getEditModel()).html_wrapper_class}},{key:"normalizeAttributes",value:function normalizeAttributes(){var C=this.getEditModel(),T=C.getSetting("_skin")||"default";this.$el.attr("data-widget_type",C.get("widgetType")+"."+T).removeClass("elementor-widget-empty").children(".elementor-widget-empty-icon").remove()}},{key:"getTemplate",value:function getTemplate(){var C=this.getEditModel();return"remote"!==this.getTemplateType()?Marionette.TemplateCache.get("#tmpl-elementor-"+C.get("widgetType")+"-content"):_.template("")}},{key:"getEditButtons",value:function getEditButtons(){var C=elementor.getElementData(this.model),T={};return T.edit={title:$(V("Edit %s","elementor"),C.title),icon:"edit"},elementor.getPreferences("edit_buttons")&&(T.duplicate={title:$(V("Duplicate %s","elementor"),C.title),icon:"clone"}),T}},{key:"getRepeaterSettingKey",value:function getRepeaterSettingKey(C,T,B){return[T,B,C].join(".")}},{key:"onModelBeforeRemoteRender",value:function onModelBeforeRemoteRender(){this.$el.addClass("elementor-loading")}},{key:"onModelRemoteRender",value:function onModelRemoteRender(){this.isDestroyed||(this.$el.removeClass("elementor-loading"),this.getContainer().document.id===elementor.documents.getCurrent().id&&this.render())}},{key:"onBeforeDestroy",value:function onBeforeDestroy(){elementor.$previewContents.find("#elementor-style-"+this.model.get("id")).remove()}}]),BaseWidgetView}(B(83866));C.exports=Q},83866:(C,T,B)=>{"use strict";var $=B(38003).sprintf,V=B(38003).__,L=B(73203),q=L(B(50824)),W=L(B(10029)),U=L(B(7501)),H=L(B(9833)),G=L(B(73308)),K=L(B(10761));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<T;B++)$[B]=C[B];return $}var Q,J=B(99292),Y=B(96731),X=B(47071);Q=X.extend({tagName:"div",controlsCSSParser:null,allowRender:!0,toggleEditTools:!1,renderAttributes:{},isRendering:!1,className:function className(){var C="elementor-element elementor-element-edit-mode "+this.getElementUniqueID();return this.toggleEditTools&&(C+=" elementor-element--toggle-edit-tools"),C},attributes:function attributes(){return{"data-id":this.getID(),"data-element_type":this.model.get("elType"),"data-model-cid":this.model.cid}},ui:function ui(){return{tools:"> .elementor-element-overlay > .elementor-editor-element-settings",editButton:"> .elementor-element-overlay .elementor-editor-element-edit",duplicateButton:"> .elementor-element-overlay .elementor-editor-element-duplicate",addButton:"> .elementor-element-overlay .elementor-editor-element-add",removeButton:"> .elementor-element-overlay .elementor-editor-element-remove"}},behaviors:function behaviors(){var C=this.options.model.get("elType"),T=elementor.hooks.applyFilters("elements/".concat(C,"/contextMenuGroups"),this.getContextMenuGroups(),this),behaviors={contextMenu:{behaviorClass:B(81152),groups:T}};return elementor.hooks.applyFilters("elements/base/behaviors",behaviors,this)},getBehavior:function getBehavior(C){return this._behaviors[Object.keys(this.behaviors()).indexOf(C)]},events:function events(){return{mousedown:"onMouseDown","click @ui.editButton":"onEditButtonClick","click @ui.duplicateButton":"onDuplicateButtonClick","click @ui.addButton":"onAddButtonClick","click @ui.removeButton":"onRemoveButtonClick"}},getElementType:function getElementType(){return this.model.get("elType")},getIDInt:function getIDInt(){return parseInt(this.getID(),16)},getChildType:function getChildType(){return elementor.helpers.getElementChildType(this.getElementType())},getChildView:function getChildView(C){var T=C.get("widgetType")||C.get("elType"),B=elementor.elementsManager.getElementTypeClass(T);if(!B)throw new K.default(T);return elementor.hooks.applyFilters("element/view",B.getView(),C,this)},getTemplateType:function getTemplateType(){return"js"},getEditModel:function getEditModel(){return this.model},getContainer:function getContainer(){if(!this.container){var C=this.model.get("settings");this.container=new elementorModules.editor.Container({type:this.model.get("elType"),id:this.model.id,model:this.model,settings:C,view:this,parent:!!this._parent&&this._parent.getContainer(),label:elementor.helpers.getModelLabel(this.model),controls:C.options.controls})}return this.container},getContextMenuGroups:function getContextMenuGroups(){var C=this,T=G.default.mac?"⌘":"^",B=[{name:"general",actions:[{name:"edit",icon:"eicon-edit",title:function title(){return $(V("Edit %s","elementor"),elementor.selection.isMultiple()?"":C.options.model.getTitle())},isEnabled:function isEnabled(){return!elementor.selection.isMultiple()},callback:function callback(){return $e.run("document/elements/select",{container:C.getContainer()})}},{name:"duplicate",icon:"eicon-clone",title:V("Duplicate","elementor"),shortcut:T+"+D",isEnabled:function isEnabled(){return elementor.selection.isSameType()&&!C.getContainer().isLocked()},callback:function callback(){return $e.run("document/elements/duplicate",{containers:elementor.selection.getElements(C.getContainer())})}}]},{name:"clipboard",actions:[{name:"copy",title:V("Copy","elementor"),shortcut:T+"+C",isEnabled:function isEnabled(){return elementor.selection.isSameType()&&!C.getContainer().isLocked()},callback:function callback(){return $e.run("document/elements/copy",{containers:elementor.selection.getElements(C.getContainer())})}},{name:"paste",title:V("Paste","elementor"),shortcut:T+"+V",isEnabled:function isEnabled(){return $e.components.get("document/elements").utils.isPasteEnabled(C.getContainer())&&elementor.selection.isSameType()},callback:function callback(){return $e.run("document/ui/paste",{container:C.getContainer()})}},{name:"pasteStyle",title:V("Paste style","elementor"),shortcut:T+"+⇧+V",isEnabled:function isEnabled(){return!!elementorCommon.storage.get("clipboard")},callback:function callback(){return $e.run("document/elements/paste-style",{containers:elementor.selection.getElements(C.getContainer())})}},{name:"pasteArea",icon:"eicon-import-export",title:V("Paste from other site","elementor"),callback:function callback(){return $e.run("document/elements/paste-area",{container:C.getContainer()})}},{name:"resetStyle",title:V("Reset style","elementor"),callback:function callback(){return $e.run("document/elements/reset-style",{containers:elementor.selection.getElements(C.getContainer())})}}]}],L=[];return(L=elementor.hooks.applyFilters("elements/context-menu/groups",L,this.options.model.get("elType"))).length&&(B=[].concat((0,H.default)(B),(0,H.default)(L))),B.push({name:"delete",actions:[{name:"delete",icon:"eicon-trash",title:function title(){return elementor.selection.isMultiple()?$(V("Delete %d items","elementor"),elementor.selection.getElements().length):V("Delete","elementor")},shortcut:"⌦",callback:function callback(){return $e.run("document/elements/delete",{containers:elementor.selection.getElements(C.getContainer())})},isEnabled:function isEnabled(){return!C.getContainer().isLocked()}}]}),B},getEditButtons:function getEditButtons(){return{}},initialize:function initialize(){var C=this;X.prototype.initialize.apply(this,arguments);var T=this.getEditModel();this.collection&&this.onCollectionChanged&&(elementorDevTools.deprecation.deprecated("onCollectionChanged","2.8.0","$e.hooks"),this.listenTo(this.collection,"add remove reset",this.onCollectionChanged,this)),this.onSettingsChanged&&(elementorDevTools.deprecation.deprecated("onSettingsChanged","2.8.0","$e.hooks"),this.listenTo(T.get("settings"),"change",this.onSettingsChanged)),this.listenTo(T.get("editSettings"),"change",this.onEditSettingsChanged).listenTo(this.model,"request:edit",this.onEditRequest).listenTo(this.model,"request:toggleVisibility",this.toggleVisibility),this.initControlsCSSParser(),this.onDynamicServerRequestEnd||(this.onDynamicServerRequestEnd=_.debounce((function(){C.render(),C.$el.removeClass("elementor-loading")}),100))},getHandlesOverlay:function getHandlesOverlay(){var C=this.getElementType(),T=jQuery("<div>",{class:"elementor-element-overlay"}),B=jQuery("<ul>",{class:"elementor-editor-element-settings elementor-editor-".concat(C,"-settings")}),L=elementor.getPreferences("edit_buttons"),q=elementor.getElementData(this.model),W=this.getEditButtons();return L&&(W=elementor.hooks.applyFilters("elements/edit-buttons",W),W=elementor.hooks.applyFilters("elements/edit-buttons/".concat(C),W)),("section"===C||L)&&(W.remove={title:$(V("Delete %s","elementor"),q.title),icon:"close"}),jQuery.each(W,(function(C,T){var $=jQuery("<li>",{class:"elementor-editor-element-setting elementor-editor-element-".concat(C),title:T.title}),V=jQuery("<i>",{class:"eicon-".concat(T.icon),"aria-hidden":!0}),L=jQuery("<span>",{class:"elementor-screen-only"});L.text(T.title),$.append(V,L),B.append($)})),T.append(B),T},attachElContent:function attachElContent(C){this.$el.empty().append(this.getHandlesOverlay(),C)},isStyleTransferControl:function isStyleTransferControl(C){return void 0!==C.style_transfer?C.style_transfer:"content"!==C.tab||C.selectors||C.prefix_class},toggleVisibility:function toggleVisibility(){this.model.set("hidden",!this.model.get("hidden")),this.toggleVisibilityClass()},toggleVisibilityClass:function toggleVisibilityClass(){this.$el.toggleClass("elementor-edit-hidden",!!this.model.get("hidden"))},addElementFromPanel:function addElementFromPanel(C){C=C||{};var T=elementor.channels.panelElements.request("element:selected"),B={elType:T.model.get("elType")};if(!elementor.helpers.maybeDisableWidget()){if("widget"===B.elType)B.widgetType=T.model.get("widgetType");else if("section"===B.elType)B.isInner=!0;else if("container"!==B.elType)return;if("section"!==B.elType||!this.isInner()){var $=T.model.get("custom");return $&&jQuery.extend(B,$),elementor.channels.panelElements.reply("element:selected",null),$e.run("document/elements/create",{container:this.getContainer(),model:B,options:C})}}},addControlValidator:function addControlValidator(C,T){T=T.bind(this);var B=new Y({customValidationMethod:T}),$=this.getEditModel().get("settings").validators;$[C]||($[C]=[]),$[C].push(B)},addRenderAttribute:function addRenderAttribute(C,T,B,$){var V=this;return"object"===(0,U.default)(C)?(jQuery.each(C,(function(C,T){V.addRenderAttribute(C,T,null,$)})),V):"object"===(0,U.default)(T)?(jQuery.each(T,(function(T,B){V.addRenderAttribute(C,T,B,$)})),V):(V.renderAttributes[C]||(V.renderAttributes[C]={}),V.renderAttributes[C][T]||(V.renderAttributes[C][T]=[]),Array.isArray(B)||(B=[B]),void(V.renderAttributes[C][T]=$?B:V.renderAttributes[C][T].concat(B)))},getRenderAttributeString:function getRenderAttributeString(C){if(!this.renderAttributes[C])return"";var T=this.renderAttributes[C],B=[];return jQuery.each(T,(function(C,T){B.push(C+'="'+_.escape(T.join(" "))+'"')})),B.join(" ")},isInner:function isInner(){return!!this.model.get("isInner")},initControlsCSSParser:function initControlsCSSParser(){this.controlsCSSParser=new J({id:this.model.get("id"),context:this,settingsModel:this.getEditModel().get("settings"),dynamicParsing:this.getDynamicParsingSettings()})},enqueueFonts:function enqueueFonts(){var C=this.getEditModel(),T=C.get("settings");jQuery.each(T.getIconsControls(),(function(T,B){var $=C.getSetting(B.name);$&&$.library&&elementor.helpers.enqueueIconFonts($.library)}))},renderStyles:function renderStyles(C){C||(C=this.getEditModel().get("settings")),this.controlsCSSParser.stylesheet.empty(),this.controlsCSSParser.addStyleRules(C.getStyleControls(),C.attributes,this.getEditModel().get("settings").controls,[/{{ID}}/g,/{{WRAPPER}}/g],[this.getID(),".elementor-"+elementor.config.document.id+" .elementor-element."+this.getElementUniqueID()]),this.controlsCSSParser.addStyleToDocument()},renderCustomClasses:function renderCustomClasses(){var C=this,T=C.getEditModel().get("settings"),B=T.getClassControls();_.each(B,(function(B){var $=T.previous(B.name);B.classes_dictionary&&void 0!==B.classes_dictionary[$]&&($=B.classes_dictionary[$]),C.$el.removeClass(B.prefix_class+$)})),_.each(B,(function(B){var $=T.attributes[B.name],V=$;B.classes_dictionary&&void 0!==B.classes_dictionary[$]&&(V=B.classes_dictionary[$]),elementor.helpers.isActiveControl(B,T.attributes,T.controls)&&(V||0===V)&&C.$el.addClass(B.prefix_class+V)})),C.$el.addClass(_.result(C,"className")),C.toggleVisibilityClass()},renderCustomElementID:function renderCustomElementID(){var C=this.getEditModel().get("settings").get("_element_id");C&&this.$el.attr("id",C)},renderUI:function renderUI(){this.renderStyles(),this.renderCustomClasses(),this.renderCustomElementID(),this.enqueueFonts()},runReadyTrigger:function runReadyTrigger(){var C=this;_.defer((function(){elementorFrontend.elementsHandler.runReadyTrigger(C.el),elementorFrontend.isEditMode()&&C.$el.find(".elementor-element.elementor-"+C.model.get("elType")+":not(.elementor-element-edit-mode)").each((function(){elementorFrontend.elementsHandler.runReadyTrigger(this)}))}))},getID:function getID(){return this.model.get("id")},getElementUniqueID:function getElementUniqueID(){return"elementor-element-"+this.getID()},renderHTML:function renderHTML(){var C=this.getTemplateType(),T=this.getEditModel();"js"===C?(this.getEditModel().setHtmlCache(),this.render(),T.renderOnLeave=!0):T.renderRemoteServer()},renderChanges:function renderChanges(C){if(C instanceof elementorModules.editor.elements.models.BaseSettings){var T=C.hasChanged(),B=!T,$=!T;if(_.each(C.changedAttributes(),(function(T,V){if("_column_size"!==V){var L=C.getControl(V);if(!L)return $=!0,void(B=!0);"none"!==L.render_type&&($=!0),-1===["none","ui"].indexOf(L.render_type)&&("template"!==L.render_type&&(C.isStyleControl(V)||C.isClassControl(V)||"_element_id"===V)||(B=!0))}else $=!0})),!$)return;if(!B)return void this.renderUI()}this.renderHTML()},isAtomicDynamic:function isAtomicDynamic(C,T,B){return"__dynamic__"in C&&T.el.hasAttribute("data-binding-dynamic")&&elementorCommon.config.experimentalFeatures.e_nested_atomic_repeaters&&T.el.getAttribute("data-binding-setting")===B},getDynamicValue:function getDynamicValue(C,T,B){var $=this;return(0,W.default)(q.default.mark((function _callee(){var V,L;return q.default.wrap((function _callee$(q){for(;;)switch(q.prev=q.next){case 0:if(V={active:!0},L=$.getChangedData(C,T,B)){q.next=3;break}return q.abrupt("return",C.attributes[T]);case 3:return q.next=5,$.getDataFromCacheOrBackend(L,V);case 5:return q.abrupt("return",q.sent);case 6:case"end":return q.stop()}}),_callee)})))()},findUniqueKey:function findUniqueKey(C,T){if("object"!==(0,U.default)(C)||"object"!==(0,U.default)(T))return!1;var B=Object.keys(C),$=Object.keys(T);return B.concat($).filter((function(C,T,B){return B.indexOf(C)===B.lastIndexOf(C)}))},linkDataBindings:function linkDataBindings(){var C=this;this.dataBindings=[];var T=this.$el.data("id");if(T){var B=this.$el.find("[data-binding-type]");B.length&&B.each((function(B,$){jQuery($).closest(".elementor-element").data("id")===T&&$.dataset.bindingType&&C.dataBindings.push({el:$,dataset:$.dataset})}))}},renderDataBindings:function renderDataBindings(C,T){var B,$=this;if(null===(B=this.dataBindings)||void 0===B||!B.length)return!1;var V,L=!1,U=function(){var T=(0,W.default)(q.default.mark((function _callee2(T){var B,V,L,W;return q.default.wrap((function _callee2$(q){for(;;)switch(q.prev=q.next){case 0:if(B=T.dataset.bindingSetting,V=$.getChangedDynamicControlKey(C),L=C.changed[B],!$.isAtomicDynamic(C.changed,T,V)){q.next=7;break}return q.next=5,$.getDynamicValue(C,V,B);case 5:(W=q.sent)&&(L=W);case 7:if(void 0===L){q.next=10;break}return T.el.innerHTML=L,q.abrupt("return",!0);case 10:return q.abrupt("return",!1);case 11:case"end":return q.stop()}}),_callee2)})));return function renderDataBinding(C){return T.apply(this,arguments)}}(),H=_createForOfIteratorHelper(T);try{for(H.s();!(V=H.n()).done;){var G=V.value;switch(G.dataset.bindingType){case"repeater-item":var K,Q=this.container.repeaters[G.dataset.bindingRepeaterName];if(!Q)break;var J=Q.children.find((function(T){return T.id===C.attributes._id}));(null==J||null===(K=J.parent)||void 0===K?void 0:K.children.indexOf(J))+1===parseInt(G.dataset.bindingIndex)?L=U(G):T.indexOf(G)+1===this.getRepeaterItemActiveIndex()&&(L=this.tryHandleDynamicCoverSettings(G,C));break;case"content":L=U(G)}if(L)break}}catch(C){H.e(C)}finally{H.f()}return L},renderOnChange:function renderOnChange(C){var T=this;if(this.allowRender)if(this.isRendering)this.isRendering=!1;else{var B=this.renderDataBindings(C,this.dataBindings);B instanceof Promise&&B.then((function(B){B||T.renderChanges(C)})),B||this.renderChanges(C)}},getDynamicParsingSettings:function getDynamicParsingSettings(){var C=this;return{onServerRequestStart:function onServerRequestStart(){C.$el.addClass("elementor-loading")},onServerRequestEnd:C.onDynamicServerRequestEnd}},serializeData:function serializeData(){var C=X.prototype.serializeData.apply(this,arguments);return C.settings=this.getEditModel().get("settings").parseDynamicSettings(C.settings,this.getDynamicParsingSettings()),C},save:function save(){$e.route("library/save-template",{model:this.model})},onBeforeRender:function onBeforeRender(){this.renderAttributes={}},render:function render(){this.getContainer(),X.prototype.render.apply(this,arguments)},onRender:function onRender(){var C=this;if(this.linkDataBindings(),this.renderUI(),this.runReadyTrigger(),this.toggleEditTools){var T=this.ui.editButton;this.ui.tools&&this.ui.tools.hoverIntent((function(){T.addClass("elementor-active")}),(function(){T.removeClass("elementor-active")}),{timeout:500})}setTimeout((function(){C.initDraggable(),C.dispatchElementLifeCycleEvent("rendered"),elementorFrontend.elements.$window.on("elementor/elements/link-data-bindings",C.linkDataBindings.bind(C))}))},dispatchElementLifeCycleEvent:function dispatchElementLifeCycleEvent(C){var T;switch(C){case"rendered":T="elementor/editor/element-rendered";break;case"destroyed":T="elementor/editor/element-destroyed"}var B=new CustomEvent(T,{detail:{elementView:this}});elementor.$preview[0].contentWindow.dispatchEvent(B)},onEditSettingsChanged:function onEditSettingsChanged(C){elementor.channels.editor.trigger("change:editSettings",C,this)},onEditButtonClick:function onEditButtonClick(C){this.model.trigger("request:edit",{append:C.ctrlKey||C.metaKey})},onEditRequest:function onEditRequest(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.container.isEditable()){var T=this.getEditModel(),B=elementor.getPanelView();$e.routes.isPartOf("panel/editor")&&B.getCurrentPageView().model===T||(C.scrollIntoView&&elementor.helpers.scrollToView(this.$el,200),$e.run("document/elements/toggle-selection",{container:this.getContainer(),append:C.append}))}},select:function select(){this.$el.addClass("elementor-element-editable")},deselect:function deselect(){this.$el.removeClass("elementor-element-editable")},onDuplicateButtonClick:function onDuplicateButtonClick(C){C.stopPropagation(),$e.run("document/elements/duplicate",{container:this.getContainer()})},onRemoveButtonClick:function onRemoveButtonClick(C){C.stopPropagation(),$e.run("document/elements/delete",{container:this.getContainer()})},onMouseDown:function onMouseDown(C){jQuery(C.target).closest(".elementor-inline-editing").length||elementorFrontend.elements.window.document.activeElement.blur()},onDestroy:function onDestroy(){var C=this;this.dataBindings&&delete this.dataBindings,this.controlsCSSParser.removeStyleFromDocument(),this.getEditModel().get("settings").validators={},elementor.channels.data.trigger("element:destroy",this.model),setTimeout((function(){return C.dispatchElementLifeCycleEvent("destroyed")}))},onDragStart:function onDragStart(){},onDragEnd:function onDragEnd(){},getDraggableHelper:function getDraggableHelper(){var C=this.getEditModel(),T=document.createElement("div");return T.classList.add("elementor-sortable-helper","elementor-sortable-helper-".concat(C.get("elType"))),T.innerHTML='\n\t\t\t<div class="icon">\n\t\t\t\t<i class="'.concat(C.getIcon(),'"></i>\n\t\t\t</div>\n\t\t\t<div class="title-wrapper">\n\t\t\t\t<div class="title">').concat(C.getTitle(),"</div>\n\t\t\t</div>\n\t\t"),T},initDraggable:function initDraggable(){var C=this;elementor.userCan("design")&&(this.$el.hasClass(".e-con")||this.$el.parents(".e-con").length)&&this.$el.html5Draggable({onDragStart:function onDragStart(T){var B;if(T.stopPropagation(),C.getContainer().isLocked())T.originalEvent.preventDefault();else if(null===(B=C.options.draggable)||void 0===B||!B.isActive){var $=C.getDraggableHelper();C.$el[0].appendChild($),T.originalEvent.dataTransfer.setDragImage($,25,20),setTimeout((function(){$.remove()})),C.onDragStart(T),elementor.channels.editor.reply("element:dragged",C)}},onDragEnd:function onDragEnd(T){T.stopPropagation(),C.onDragEnd(T)},groups:["elementor-element"]})},getDataFromCacheOrBackend:function getDataFromCacheOrBackend(C,T){return(0,W.default)(q.default.mark((function _callee3(){return q.default.wrap((function _callee3$(B){for(;;)switch(B.prev=B.next){case 0:return B.prev=0,B.abrupt("return",elementor.dynamicTags.parseTagsText(C,T,elementor.dynamicTags.getTagDataContent));case 4:return B.prev=4,B.t0=B.catch(0),B.next=8,new Promise((function(C){elementor.dynamicTags.refreshCacheFromServer((function(){C()}))}));case 8:return B.abrupt("return",!_.isEmpty(elementor.dynamicTags.cache)&&elementor.dynamicTags.parseTagsText(C,T,elementor.dynamicTags.getTagDataContent));case 9:case"end":return B.stop()}}),_callee3,null,[[0,4]])})))()},getChangedDynamicControlKey:function getChangedDynamicControlKey(C){var T,B,$=this.findUniqueKey(null==C||null===(T=C.changed)||void 0===T?void 0:T.__dynamic__,null==C||null===(B=C._previousAttributes)||void 0===B?void 0:B.__dynamic__)[0];return $||("__dynamic__"!==Object.keys(C.changed)[0]?Object.keys(C.changed)[0]:Object.keys(C.changed.__dynamic__)[0])},getChangedDataForRemovedItem:function getChangedDataForRemovedItem(C,T,B){var $,V,L;return(null===($=C.attributes)||void 0===$||null===(V=$[T])||void 0===V?void 0:V[B])||(null===(L=C.attributes)||void 0===L?void 0:L[T])},getChangedDataForAddedItem:function getChangedDataForAddedItem(C,T,B){var $,V,L,q,W;return(null===($=C.attributes)||void 0===$||null===(V=$.__dynamic__)||void 0===V||null===(L=V[T])||void 0===L?void 0:L[B])||(null===(q=C.attributes)||void 0===q||null===(W=q.__dynamic__)||void 0===W?void 0:W[T])},getChangedData:function getChangedData(C,T,B){var $=this.getChangedDataForRemovedItem(C,T,B);return this.getChangedDataForAddedItem(C,T,B)||$},getTitleWithAdvancedValues:function getTitleWithAdvancedValues(C,T){var B=C.attributes,$=C._previousAttributes;return this.compareSettings(B,$,"fallback")&&(T=T.replace(new RegExp($.fallback),"")),T&&B.fallback!==T?(this.compareSettings(B,$,"before")&&(T=T.replace($.before,"")),this.compareSettings(B,$,"after")&&(T=T.replace(new RegExp($.after+"$"),"")),T?(T=this.getNewSettingsValue(B,$,"before")+T,T+=this.getNewSettingsValue(B,$,"after")):B.fallback||""):B.fallback||""},compareSettings:function compareSettings(C,T,B){return T[B]&&T[B]!==C[B]},getNewSettingsValue:function getNewSettingsValue(C,T,B){return T[B]!==C[B]&&C[B]||""},getRepeaterItemActiveIndex:function getRepeaterItemActiveIndex(){return this.getContainer().renderer.view.model.changed.editSettings.changed.activeItemIndex||this.getContainer().renderer.view.model.changed.editSettings.attributes.activeItemIndex},tryHandleDynamicCoverSettings:function tryHandleDynamicCoverSettings(C,T){return!!this.isAdvancedDynamicSettings(T.attributes)&&(this.isRendering=!0,C.el.textContent=this.getTitleWithAdvancedValues(T,C.el.textContent),!0)},isAdvancedDynamicSettings:function isAdvancedDynamicSettings(C){return"before"in C&&"after"in C&&"fallback"in C}}),C.exports=Q},43940:C=>{"use strict";var T;T=Marionette.Behavior.extend({defaults:{handles:elementorCommon.config.isRTL?"w":"e"},events:{resizestart:"onResizeStart",resizestop:"onResizeStop",resize:"onResize"},initialize:function initialize(){Marionette.Behavior.prototype.initialize.apply(this,arguments),this.listenTo(elementor.channels.dataEditMode,"switch",this.onEditModeSwitched)},active:function active(){if(elementor.userCan("design")){this.deactivate();var C=_.clone(this.options);delete C.behaviorClass;var T=this.getChildViewContainer(),B=_.extend({},C);T.resizable(B)}},deactivate:function deactivate(){this.getChildViewContainer().resizable("instance")&&this.getChildViewContainer().resizable("destroy")},onEditModeSwitched:function onEditModeSwitched(C){"edit"===C?this.active():this.deactivate()},onRender:function onRender(){var C=this;_.defer((function(){C.onEditModeSwitched(elementor.channels.dataEditMode.request("activeMode"))}))},onDestroy:function onDestroy(){this.deactivate()},onResizeStart:function onResizeStart(C){C.stopPropagation(),this.view.$el.data("originalWidth",this.view.el.getBoundingClientRect().width),this.view.triggerMethod("request:resize:start",C)},onResizeStop:function onResizeStop(C){C.stopPropagation(),this.view.triggerMethod("request:resize:stop")},onResize:function onResize(C,T){C.stopPropagation(),this.view.triggerMethod("request:resize",T,C)},getChildViewContainer:function getChildViewContainer(){return this.$el}}),C.exports=T},81152:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203),L=V(B(73308)),q=V(B(59113)),W=B(6430);C.exports=Marionette.Behavior.extend({defaults:{context:"preview",groups:[],eventTargets:["el"]},events:function events(){var events={};return this.getOption("eventTargets").forEach((function(C){var T="contextmenu";"el"!==C&&(T+=" "+C),events[T]="onContextMenu"})),events},initialize:function initialize(){this.listenTo(this.view.options.model,"request:contextmenu",this.onRequestContextMenu)},initContextMenu:function initContextMenu(){var C=this,T=L.default.mac?"⌘":"^",B=this.getOption("groups"),V=_.findWhere(B,{name:"delete"}),q=B.indexOf(V);-1===q&&(q=B.length),"preview"===this.getOption("context")&&$e.components.get("document/elements").utils.showNavigator()&&B.splice(q,0,{name:"tools",actions:[{name:"navigator",icon:"eicon-navigator",title:elementorCommon.config.experimentalFeatures.editor_v2?$("Structure","elementor"):$("Navigator","elementor"),shortcut:T+"+I",callback:function callback(){return $e.route("navigator",{reOpen:!0,model:C.view.model})}}]}),this.contextMenu=new W({groups:B,context:this.getOption("context")}),this.contextMenu.getModal().on("hide",(function(){return C.onContextMenuHide()}))},getContextMenu:function getContextMenu(){var C,T;return this.contextMenu||this.initContextMenu(),"preview"!==this.getOption("context")||elementor.selection.has(null===(C=(T=this.view).getContainer)||void 0===C?void 0:C.call(T))||$e.run("document/elements/deselect-all"),this.contextMenu},onContextMenu:function onContextMenu(C){if(!$e.shortcuts.isControlEvent(C)){if("preview"===this.getOption("context"))if(!(this.view instanceof q.default||this.view.container&&this.view.container.isDesignable()))return;C.preventDefault(),C.stopPropagation(),this.view._parent&&this.view._parent.triggerMethod("toggleSortMode",!1),this.getContextMenu().show(C),elementor.channels.editor.reply("contextMenu:targetView",this.view)}},onRequestContextMenu:function onRequestContextMenu(C){var T=this.getContextMenu().getModal(),B=T.getSettings("iframe"),$=_.findWhere(this.contextMenu.getSettings("groups"),{name:"tools"});$.isVisible=!1,T.setSettings("iframe",null),this.onContextMenu(C),$.isVisible=!0,T.setSettings("iframe",B)},onContextMenuHide:function onContextMenuHide(){this.view._parent&&this.view._parent.triggerMethod("toggleSortMode",!0),elementor.channels.editor.reply("contextMenu:targetView",null)},onDestroy:function onDestroy(){this.contextMenu&&this.contextMenu.destroy()}})},35343:(C,T,B)=>{"use strict";var $,V=B(38003).__,L=B(73203)(B(93231));$=Marionette.Behavior.extend({editing:!1,$currentEditingArea:null,ui:function ui(){return{inlineEditingArea:"."+this.getOption("inlineEditingClass")}},events:function events(){return{"click @ui.inlineEditingArea":"onInlineEditingClick","input @ui.inlineEditingArea":"onInlineEditingUpdate"}},initialize:function initialize(){this.onInlineEditingBlur=this.onInlineEditingBlur.bind(this)},getEditingSettingKey:function getEditingSettingKey(){return this.$currentEditingArea.data().elementorSettingKey},startEditing:function startEditing(C){if(!this.editing&&this.view.container.isEditable()&&!this.view.model.isRemoteRequestActive()){var T=C.data().elementorSettingKey,B=T,$=T.split("."),L=3===$.length,q=this.view.getEditModel().get("settings");L&&(q=q.get($[0]).models[$[1]],B=$[2]);var W=q.get("__dynamic__");if(!(W&&W[B])){this.$currentEditingArea=C;var U=this.$currentEditingArea.data().elementorInlineEditingToolbar,H="advanced"===U?"advanced":"basic",G=this.view.getEditModel(),K=elementor.config.inlineEditing,Q=G.getSetting(this.getEditingSettingKey());"advanced"===H&&(Q=wp.editor.autop(Q)),this.$currentEditingArea.html(Q);var J=elementorFrontend.elements.window.ElementorInlineEditor;this.editing=!0,this.view.allowRender=!1,this.view.model.setHtmlCache(""),this.editor=new J({linksInNewWindow:!0,stay:!1,editor:this.$currentEditingArea[0],mode:H,list:"none"===U?[]:K.toolbar[U||"basic"],cleanAttrs:["id","class","name"],placeholder:V("Type Here","elementor")+"...",toolbarIconsPrefix:"eicon-editor-",toolbarIconsDictionary:{externalLink:{className:"eicon-editor-external-link"},list:{className:"eicon-editor-list-ul"},insertOrderedList:{className:"eicon-editor-list-ol"},insertUnorderedList:{className:"eicon-editor-list-ul"},createlink:{className:"eicon-editor-link"},unlink:{className:"eicon-editor-unlink"},blockquote:{className:"eicon-editor-quote"},p:{className:"eicon-editor-paragraph"},pre:{className:"eicon-editor-code"}}}),jQuery(this.editor._menu).children().on("mousedown",(function(C){C.preventDefault()})),this.$currentEditingArea.on("blur",this.onInlineEditingBlur),elementorCommon.elements.$body.on("mousedown",this.onInlineEditingBlur)}}},stopEditing:function stopEditing(){this.editing=!1,this.$currentEditingArea.off("blur",this.onInlineEditingBlur),elementorCommon.elements.$body.off("mousedown",this.onInlineEditingBlur),this.editor.destroy(),this.view.allowRender=!0,"advanced"===this.$currentEditingArea.data().elementorInlineEditingToolbar&&this.view.getEditModel().renderRemoteServer()},onInlineEditingClick:function onInlineEditingClick(C){var T=this,B=jQuery(C.currentTarget);setTimeout((function(){T.startEditing(B)}),30)},onInlineEditingBlur:function onInlineEditingBlur(C){var T=this;"mousedown"!==C.type?setTimeout((function(){var C=elementorFrontend.elements.window.getSelection();jQuery(C.focusNode).closest(".pen-input-wrapper").length||T.stopEditing()}),20):this.stopEditing()},onInlineEditingUpdate:function onInlineEditingUpdate(){var C=this.getEditingSettingKey(),T=this.view.getContainer(),B=C.split(".");3===B.length&&(T=T.children[B[1]],C=B[2]),$e.run("document/elements/settings",{container:T,settings:(0,L.default)({},C,this.editor.getContent()),options:{external:!0}})}}),C.exports=$},10367:C=>{"use strict";var T;T=Marionette.Behavior.extend({onRenderCollection:function onRenderCollection(){this.handleInnerTabs(this.view)},handleInnerTabs:function handleInnerTabs(C){var T=C.children.filter((function(C){return"tabs"===C.model.get("type")}));_.each(T,(function(T){T.$el.find(".elementor-control-content").remove();var B=T.model.get("name"),$=C.children.filter((function(C){return"tab"===C.model.get("type")&&C.model.get("tabs_wrapper")===B}));_.each($,(function(B,$){T._addChildView(B);var V=B.model.get("name"),L=C.children.filter((function(C){return V===C.model.get("inner_tab")}));0===$?B.$el.addClass("e-tab-active"):_.each(L,(function(C){C.$el.addClass("e-tab-close")}))}))}))},onChildviewControlTabClicked:function onChildviewControlTabClicked(C){var T="e-tab-close",B="e-tab-active",$=C.model.get("name"),V=this.view.children.filter((function(T){return"tab"!==T.model.get("type")&&C.model.get("tabs_wrapper")===T.model.get("tabs_wrapper")})),L=this.view.children.filter((function(T){return"tab"===T.model.get("type")&&C.model.get("tabs_wrapper")===T.model.get("tabs_wrapper")}));_.each(L,(function(C){C.$el.removeClass(B)})),C.$el.addClass(B),_.each(V,(function(C){C.model.get("inner_tab")===$?C.$el.removeClass(T):C.$el.addClass(T)})),elementor.getPanelView().updateScrollbar()}}),C.exports=T},92243:(C,T,B)=>{"use strict";var $,V=B(73203)(B(93231));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,V.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}$=Marionette.Behavior.extend({defaults:{elChildType:"widget"},events:{sortstart:"onSortStart",sortreceive:"onSortReceive",sortupdate:"onSortUpdate",sortover:"onSortOver",sortout:"onSortOut"},initialize:function initialize(){this.listenTo(elementor.channels.dataEditMode,"switch",this.onEditModeSwitched).listenTo(this.view.options.model,"request:sort:start",this.startSort).listenTo(this.view.options.model,"request:sort:update",this.updateSort).listenTo(this.view.options.model,"request:sort:receive",this.receiveSort)},onEditModeSwitched:function onEditModeSwitched(C){this.onToggleSortMode("edit"===C)},refresh:function refresh(){this.onEditModeSwitched(elementor.channels.dataEditMode.request("activeMode"))},onRender:function onRender(){var C=this;this.view.collection.on("update",(function(){return C.refresh()})),_.defer((function(){return C.refresh()}))},onDestroy:function onDestroy(){this.deactivate()},createPlaceholder:function createPlaceholder(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",B=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];C.css("display","");var $=C[0],V=$.clientWidth,L=$.clientHeight;B&&C.css("display","none"),jQuery("<div />").css(_objectSpread(_objectSpread({},C.css(["flex-basis","flex-grow","flex-shrink","position"])),{},{width:V,height:L})).addClass(T).insertAfter(C)},getSwappableOptions:function getSwappableOptions(){var C=this,T=this.getChildViewContainer(),B="e-swappable--item-placeholder";return{start:function start($,V){T.sortable("refreshPositions"),C.createPlaceholder(V.item,B)},stop:function stop(){T.find(".".concat(B)).remove()}}},onToggleSortMode:function onToggleSortMode(C){C?this.activate():this.deactivate()},applySortable:function applySortable(){if(elementor.userCan("design")){var C=this.getChildViewContainer(),T={placeholder:"elementor-sortable-placeholder elementor-"+this.getOption("elChildType")+"-placeholder",cursorAt:{top:20,left:25},helper:this._getSortableHelper.bind(this),cancel:"input, textarea, button, select, option, .elementor-inline-editing, .elementor-tab-title",start:function start(){C.sortable("refreshPositions")}},B=_.extend(T,this.view.getSortableOptions());this.isSwappable()&&(C.addClass("e-swappable"),B=_.extend(B,this.getSwappableOptions())),B.preventInit||C.sortable(B)}},activate:function activate(){this.getChildViewContainer().sortable("instance")?this.getChildViewContainer().sortable("enable"):this.applySortable()},_getSortableHelper:function _getSortableHelper(C,T){var B=this.view.collection.get({cid:T.data("model-cid")});return'<div style="height: 84px; width: 125px;" class="elementor-sortable-helper elementor-sortable-helper-'+B.get("elType")+'"><div class="icon"><i class="'+B.getIcon()+'"></i></div><div class="title-wrapper"><div class="title">'+B.getTitle()+"</div></div></div>"},getChildViewContainer:function getChildViewContainer(){return this.view.getChildViewContainer(this.view)},getSortedElementNewIndex:function getSortedElementNewIndex(C){return Object.values(C.parent().find("> .elementor-element")).indexOf(C[0])},deactivate:function deactivate(){var C=this.getChildViewContainer();C.sortable("instance")&&C.sortable("disable")},isSwappable:function isSwappable(){return!!this.view.getSortableOptions().swappable},startSort:function startSort(C,T){C.stopPropagation();var B=elementor.getContainer(T.item.attr("data-id"));elementor.channels.data.reply("dragging:model",B.model).reply("dragging:view",B.view).reply("dragging:parent:view",this.view).trigger("drag:start",B.model).trigger(B.model.get("elType")+":drag:start")},updateSort:function updateSort(C,T){void 0===T&&(T=C.item.index());var B=elementor.channels.data.request("dragging:view").getContainer();this.moveChild(B,T)},receiveSort:function receiveSort(C,T,B){if(C.stopPropagation(),this.view.isCollectionFilled())jQuery(T.sender).sortable("cancel");else{var $=elementor.channels.data.request("dragging:model"),V="section"===$.get("elType")&&$.get("isInner"),L="column"===this.view.getElementType()&&this.view.isInner();if(V&&L)jQuery(T.sender).sortable("cancel");else{void 0===B&&(B=T.item.index());var q=elementor.channels.data.request("dragging:view").getContainer();this.moveChild(q,B)}}},onSortStart:function onSortStart(C,T){if("column"===this.options.elChildType){var B=T.item.data("sortableItem").items,$=0;B.forEach((function(C){if(C.item[0]===T.item[0])return $=C.height,!1})),T.placeholder.height($)}this.startSort(C,T)},onSortOver:function onSortOver(C){C.stopPropagation();var T=elementor.channels.data.request("dragging:model");jQuery(C.target).addClass("elementor-draggable-over").attr({"data-dragged-element":T.get("elType"),"data-dragged-is-inner":T.get("isInner")}),this.$el.addClass("elementor-dragging-on-child")},onSortOut:function onSortOut(C){C.stopPropagation(),jQuery(C.target).removeClass("elementor-draggable-over").removeAttr("data-dragged-element data-dragged-is-inner"),this.$el.removeClass("elementor-dragging-on-child")},onSortReceive:function onSortReceive(C,T){this.receiveSort(C,T,this.getSortedElementNewIndex(T.item))},onSortUpdate:function onSortUpdate(C,T){C.stopPropagation(),this.getChildViewContainer()[0]===T.item.parent()[0]&&this.updateSort(T,this.getSortedElementNewIndex(T.item))},onAddChild:function onAddChild(C){C.$el.attr("data-model-cid",C.model.cid)},moveChild:function moveChild(C,T){$e.run("document/elements/move",{container:C,target:this.view.getContainer(),options:{at:T}})}}),C.exports=$},46341:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(51121)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"events",value:function events(){return{dragstart:"onDragStart",dragstop:"onDragStop"}}},{key:"initialize",value:function initialize(){(0,q.default)((0,H.default)(_default.prototype),"initialize",this).call(this),this.listenTo(elementor.channels.dataEditMode,"switch",this.toggle),this.view.options.draggable=this,this.isActive=!1}},{key:"activate",value:function activate(){this.isActive=!0,this.$el.draggable({addClasses:!1})}},{key:"deactivate",value:function deactivate(){this.$el.draggable("instance")&&(this.isActive=!1,this.$el.draggable("destroy"))}},{key:"toggle",value:function toggle(){var C=this.view.getEditModel().getSetting("_position");this.deactivate(),C&&this.view.getContainer().isDesignable()&&this.activate()}},{key:"onRender",value:function onRender(){var C=this;_.defer((function(){return C.toggle()}))}},{key:"onDestroy",value:function onDestroy(){this.deactivate()}},{key:"onDragStart",value:function onDragStart(C){C.stopPropagation(),this.view.model.trigger("request:edit")}},{key:"onDragStop",value:function onDragStop(C,T){var B=this;C.stopPropagation();var $=elementorFrontend.getCurrentDeviceMode(),V="desktop"===$?"":"_"+$,L=this.view.getEditModel(),q=L.getSetting("_offset_orientation_h"),W=L.getSetting("_offset_orientation_v"),U={},H=elementorFrontend.config.is_rtl,G=this.$el.offsetParent().width(),K=this.$el.outerWidth(!0),Q=T.position.left,J=H?G-Q-K:Q,Y=T.position.top,X="_offset_x",Z="_offset_y";"end"===q&&(J=G-J-K,X="_offset_x_end");var ee=L.getSetting(X+V).unit;J=elementor.helpers.elementSizeToUnit(this.$el,J,ee);var te=this.$el.offsetParent().height(),ne=this.$el.outerHeight(!0);"end"===W&&(Y=te-Y-ne,Z="_offset_y_end");var re=L.getSetting(Z+V).unit;Y=elementor.helpers.elementSizeToUnit(this.$el,Y,re),U[X+V]={size:J,unit:ee},U[Z+V]={size:Y,unit:re},$e.run("document/elements/settings",{container:this.view.container,settings:U,options:{external:!0}}),setTimeout((function(){B.$el.css({top:"",left:"",right:"",bottom:"",width:"",height:""})}),250)}}]),_default}(Marionette.Behavior);T.default=G},74985:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(93231)),L=$(B(78983)),q=$(B(42081)),W=$(B(51121)),U=$(B(58724)),H=$(B(71173)),G=$(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;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,V.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,U.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,L.default)(this,_default),T.apply(this,arguments)}return(0,q.default)(_default,[{key:"events",value:function events(){return{resizestart:"onResizeStart",resizestop:"onResizeStop",resize:"onResize"}}},{key:"initialize",value:function initialize(){(0,W.default)((0,G.default)(_default.prototype),"initialize",this).call(this),this.listenTo(elementor.channels.dataEditMode,"switch",this.toggle),this.view.options.resizeable=this}},{key:"getOptions",value:function getOptions(){var C="e, w";return this.isContainerItem()&&(C=elementorCommon.config.isRTL?"w":"e"),{handles:C}}},{key:"activate",value:function activate(){this.$el.resizable(this.getOptions())}},{key:"deactivate",value:function deactivate(){this.$el.resizable("instance")&&this.$el.resizable("destroy")}},{key:"toggle",value:function toggle(){this.deactivate(),this.view.container.isDesignable()&&!this.view.container.isGridContainer()&&this.activate()}},{key:"isContainer",value:function isContainer(){return"container"===this.view.model.get("elType")}},{key:"isContainerItem",value:function isContainerItem(){var C,T;return"container"===(null===(C=this.view.getContainer().parent)||void 0===C||null===(T=C.model)||void 0===T?void 0:T.get("elType"))}},{key:"isContainerActive",value:function isContainerActive(){return!!elementorCommon.config.experimentalFeatures.container}},{key:"getWidthKey",value:function getWidthKey(){return this.isContainer()?"width":"_element_custom_width"}},{key:"getDeviceSetting",value:function getDeviceSetting(C){var T=elementorFrontend.getCurrentDeviceMode();return C+("desktop"===T?"":"_"+T)}},{key:"getSetting",value:function getSetting(C){return this.view.getEditModel().getSetting(C)}},{key:"onRender",value:function onRender(){var C=this;_.defer((function(){return C.toggle()}))}},{key:"onDestroy",value:function onDestroy(){this.deactivate()}},{key:"onResizeStart",value:function onResizeStart(C){C.stopPropagation(),this.view.onResizeStart&&this.view.onResizeStart(C),this.isContainerItem()||this.view.model.trigger("request:edit")}},{key:"onResizeStop",value:function onResizeStop(C,T){var B,$=this;C.stopPropagation(),this.view.onResizeStop&&this.view.onResizeStop(C,T);var L=this.getDeviceSetting("_element_width"),q=this.getDeviceSetting(this.getWidthKey()),W=this.getSetting(q).unit,U=elementor.helpers.elementSizeToUnit(this.$el,T.size.width,W),H=_objectSpread(_objectSpread(_objectSpread({},this.isContainerActive()?{_flex_size:"none"}:{}),this.isContainer()?{content_width:"full"}:{}),{},(B={},(0,V.default)(B,L,"initial"),(0,V.default)(B,q,{unit:W,size:U}),B));$e.run("document/elements/settings",{container:this.view.container,settings:H,options:{external:!0}}),setTimeout((function(){$.$el.css({width:"",height:"",left:"","flex-shrink":"","flex-grow":"","flex-basis":""})}))}},{key:"onResize",value:function onResize(C,T){C.stopPropagation(),this.view.onResize&&this.view.onResize(C,T),this.isContainerItem()&&this.$el.css({left:"",right:"","flex-shrink":0,"flex-grow":0})}}]),_default}(Marionette.Behavior);T.default=K},20708:(C,T,B)=>{"use strict";var $=B(38003).__;C.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-empty-preview",className:"elementor-empty-view",events:{click:"onClickAdd"},behaviors:function behaviors(){return{contextMenu:{behaviorClass:B(81152),groups:this.getContextMenuGroups()}}},getContextMenuGroups:function getContextMenuGroups(){var C=this;return[{name:"general",actions:[{name:"paste",title:$("Paste","elementor"),isEnabled:function isEnabled(){return $e.components.get("document/elements").utils.isPasteEnabled(C._parent.getContainer())},callback:function callback(){return $e.run("document/ui/paste",{container:C._parent.getContainer()})}}]}]},onClickAdd:function onClickAdd(){$e.route("panel/elements/categories")}})},99722:(C,T,B)=>{"use strict";var $,V=B(38003).sprintf,L=B(38003).__,q=B(39872),W=B(83866),U=B(20708);$=W.extend({template:Marionette.TemplateCache.get("#tmpl-elementor-column-content"),emptyView:U,childViewContainer:"> .elementor-widget-wrap",toggleEditTools:!0,behaviors:function behaviors(){var behaviors=W.prototype.behaviors.apply(this,arguments);return _.extend(behaviors,{Sortable:{behaviorClass:B(92243),elChildType:"widget"},Resizable:{behaviorClass:B(43940)}}),elementor.hooks.applyFilters("elements/column/behaviors",behaviors,this)},className:function className(){return W.prototype.className.apply(this,arguments)+" elementor-column elementor-"+(this.isInner()?"inner":"top")+"-column"},tagName:function tagName(){return this.model.getSetting("html_tag")||"div"},ui:function ui(){var ui=W.prototype.ui.apply(this,arguments);return ui.columnInner="> .elementor-widget-wrap",ui.percentsTooltip="> .elementor-element-overlay .elementor-column-percents-tooltip",ui},getEditButtons:function getEditButtons(){var C=elementor.getElementData(this.model),T={};return T.edit={title:V(L("Edit %s","elementor"),C.title),icon:"column"},elementor.getPreferences("edit_buttons")&&(T.duplicate={title:V(L("Duplicate %s","elementor"),C.title),icon:"clone"},T.add={title:V(L("Add %s","elementor"),C.title),icon:"plus"}),T},initialize:function initialize(){W.prototype.initialize.apply(this,arguments),this.model.get("editSettings").set("defaultEditRoute","layout")},attachElContent:function attachElContent(){W.prototype.attachElContent.apply(this,arguments);var C=jQuery("<div>",{class:"elementor-column-percents-tooltip"});this.$el.children(".elementor-element-overlay").append(C)},getContextMenuGroups:function getContextMenuGroups(){var C=this,T=W.prototype.getContextMenuGroups.apply(this,arguments),B=T.indexOf(_.findWhere(T,{name:"general"}));return T.splice(B+1,0,{name:"addNew",actions:[{name:"addNew",icon:"eicon-plus",title:L("Add New Column","elementor"),callback:this.addNewColumn.bind(this),isEnabled:function isEnabled(){return C.model.collection.length<q.DEFAULT_MAX_COLUMNS&&!elementor.selection.isMultiple()}}]}),T},isDroppingAllowed:function isDroppingAllowed(){if(!this.getContainer().isEditable())return!1;var C=elementor.channels.panelElements.request("element:selected");if(!C)return!1;var T=C.model.get("elType");return"container"===T||("section"===T?!this.isInner():"widget"===T)},getPercentsForDisplay:function getPercentsForDisplay(){return(+this.model.getSetting("_inline_size")||this.getPercentSize()).toFixed(1)+"%"},changeSizeUI:function changeSizeUI(){var C=this,T=C.model.getSetting("_column_size");C.$el.attr("data-col",T),_.defer((function(){C.ui.percentsTooltip&&C.ui.percentsTooltip.text(C.getPercentsForDisplay())}))},getPercentSize:function getPercentSize(C){return C||(C=this.el.getBoundingClientRect().width),+(C/this.$el.parent().width()*100).toFixed(3)},getSortableOptions:function getSortableOptions(){return{connectWith:".elementor-widget-wrap",items:"> .elementor-element"}},changeChildContainerClasses:function changeChildContainerClasses(){var C="elementor-element-empty",T="elementor-element-populated";this.ui.columnInner&&(this.collection.isEmpty()?this.ui.columnInner.removeClass(T).addClass(C):this.ui.columnInner.removeClass(C).addClass(T))},addNewColumn:function addNewColumn(){$e.run("document/elements/create",{model:{elType:"column"},container:this.getContainer().parent,options:{at:this.$el.index()+1}})},onRender:function onRender(){var C=this,T=function getDropIndex(C,T){var B=jQuery(T.currentTarget).index();return"top"===C&&B--,B};W.prototype.onRender.apply(this,arguments),this.changeChildContainerClasses(),this.changeSizeUI(),this.$el.html5Droppable({items:" > .elementor-widget-wrap > .elementor-element, >.elementor-widget-wrap > .elementor-empty-view > .elementor-first-add",axis:["vertical"],groups:["elementor-element"],isDroppingAllowed:this.isDroppingAllowed.bind(this),currentElementClass:"elementor-html5dnd-current-element",placeholderClass:"elementor-sortable-placeholder elementor-widget-placeholder",hasDraggingOnChildClass:"elementor-dragging-on-child",onDropping:function onDropping(B,$){elementor.getPreviewView().onPanelElementDragEnd(),C.onDrop($,{side:B,at:T(B,$)})}})},onAddButtonClick:function onAddButtonClick(C){C.stopPropagation(),this.addNewColumn()}}),C.exports=$},96040:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(38003).sprintf,L=B(73203),q=L(B(93231)),W=L(B(57846)),U=L(B(74985)),H=L(B(48606)),G=L(B(45469)),K=B(63916),Q=B(32853),J=B(83866),Y=J.extend({template:Marionette.TemplateCache.get("#tmpl-elementor-container-content"),emptyView:G.default,destroyEmptyView:function destroyEmptyView(){if(this.isFlexContainer())return Marionette.CompositeView.prototype.destroyEmptyView.apply(this,arguments)},getChildViewContainer:function getChildViewContainer(){return this.childViewContainer=this.isBoxedWidth()?"> .e-con-inner":"",Marionette.CompositeView.prototype.getChildViewContainer.apply(this,arguments)},className:function className(){var C=this.model.get("isInner")?"e-child":"e-parent";return"".concat(J.prototype.className.apply(this)," e-con ").concat(C)},filterSettings:function filterSettings(C){if("container"===(null==C?void 0:C.elType)){(this.isBoxedWidth()||0!==this.getNestingLevel())&&(C.settings.content_width="full")}},childViewOptions:function childViewOptions(){return{emptyViewOwner:this}},tagName:function tagName(){return this.model.getSetting("html_tag")||"div"},ui:function ui(){var ui=J.prototype.ui.apply(this,arguments);return ui.percentsTooltip="> .elementor-element-overlay .elementor-column-percents-tooltip",ui},getCurrentUiStates:function getCurrentUiStates(){var C=elementor.channels.deviceMode.request("currentMode"),T="desktop"===C?"":"_"+C,B=this.getDirectionSettingKey()+T;return{directionMode:this.container.settings.get(B)||H.default.DIRECTION_DEFAULT}},onDeviceModeChange:function onDeviceModeChange(){K.SetDirectionMode.set(this.getContainer())},getDirectionSettingKey:function getDirectionSettingKey(){return"grid"===this.container.settings.get("container_type")?"grid_auto_flow":"flex_direction"},behaviors:function behaviors(){var behaviors=J.prototype.behaviors.apply(this,arguments);return _.extend(behaviors,{Sortable:{behaviorClass:B(92243),elChildType:"widget"},Resizable:{behaviorClass:U.default}}),elementor.hooks.applyFilters("elements/container/behaviors",behaviors,this)},initialize:function initialize(){J.prototype.initialize.apply(this,arguments),this.model.get("editSettings").set("defaultEditRoute","layout"),this.onDeviceModeChange=this.onDeviceModeChange.bind(this),elementor.listenTo(elementor.channels.deviceMode,"change",this.onDeviceModeChange)},onDestroy:function onDestroy(){J.prototype.onDestroy.apply(this,arguments),elementor.stopListening(elementor.channels.deviceMode,"change",this.onDeviceModeChange)},getSortableOptions:function getSortableOptions(){return{preventInit:!0}},getNestingLevel:function getNestingLevel(){if(this.nestingLevel)return this.nestingLevel;var C=this.container.parent;return"container"!==C.type?0:C.view.getNestingLevel()+1},isNestedElementContentContainer:function isNestedElementContentContainer(){var C=this.container.parent.model.get("widgetType");return C&&""!==C.trim()&&(0,Q.isWidgetSupportNesting)(C)},getDroppableAxis:function getDroppableAxis(){var C,T=H.default.DIRECTION_DEFAULT===H.default.DIRECTION_COLUMN,B=this.getContainer().settings.get(this.getDirectionSettingKey());return(C={},(0,q.default)(C,H.default.DIRECTION_COLUMN,"vertical"),(0,q.default)(C,H.default.DIRECTION_COLUMN_REVERSED,"vertical"),(0,q.default)(C,H.default.DIRECTION_ROW,"horizontal"),(0,q.default)(C,H.default.DIRECTION_ROW_REVERSED,"horizontal"),(0,q.default)(C,"",T?"vertical":"horizontal"),C)[B]},getDroppableOptions:function getDroppableOptions(){var C=this,T=this.isBoxedWidth()?"> .elementor-widget, > .e-con-full, > .e-con > .e-con-inner, > .elementor-empty-view > .elementor-first-add":"> .elementor-element, > .elementor-empty-view .elementor-first-add";return{axis:this.getDroppableAxis(),items:T,groups:["elementor-element"],horizontalThreshold:5,isDroppingAllowed:this.isDroppingAllowed.bind(this),currentElementClass:"elementor-html5dnd-current-element",placeholderClass:"elementor-sortable-placeholder elementor-widget-placeholder",hasDraggingOnChildClass:"e-dragging-over",getDropContainer:function getDropContainer(){return C.getContainer()},onDropping:function onDropping(T,B){B.stopPropagation(),elementor.getPreviewView().onPanelElementDragEnd();var $=elementor.channels.editor.request("element:dragged"),V=(null==$?void 0:$.parent)===C,L=jQuery(B.currentTarget).hasClass("e-con-inner"),q=L?B.currentTarget.parentElement.parentElement:B.currentTarget.parentElement,W=jQuery(q).find("> .elementor-element");V&&(W=W.not($.$el));var U=Object.values(W),H=L?U.indexOf(B.currentTarget.parentElement):U.indexOf(B.currentTarget);if(C.shouldIncrementIndex(T)&&H++,$){for(var G=$.getContainer().id,K=C.container;K;){if(K.id===G)return;K=K.parent}return elementor.channels.editor.reply("element:dragged",null),void $e.run("document/elements/move",{container:$.getContainer(),target:C.getContainer(),options:{at:H}})}C.onDrop(B,{at:H})}}},saveAsTemplate:function saveAsTemplate(){$e.route("library/save-template",{model:this.model})},addNewContainer:function addNewContainer(){var C="container"!==this.getContainer().getParentAncestry()[1].type?this.getContainer():this.getContainer().parent;$e.run("document/elements/create",{model:{elType:"container",settings:{content_width:"full"}},container:C})},getContextMenuGroups:function getContextMenuGroups(){var C=this,T=J.prototype.getContextMenuGroups.apply(this,arguments),B=T.indexOf(_.findWhere(T,{name:"clipboard"})),V=T.indexOf(_.findWhere(T,{name:"general"}));return T.splice(B+1,0,{name:"save",actions:[{name:"save",title:$("Save as Template","elementor"),callback:this.saveAsTemplate.bind(this),isEnabled:function isEnabled(){return!C.getContainer().isLocked()}}]}),T.splice(V+1,0,{name:"newContainerGroup",actions:[{name:"newContainer",icon:"eicon-plus",title:$("Add New Container","elementor"),callback:this.addNewContainer.bind(this)}]}),T},isDroppingAllowed:function isDroppingAllowed(){if(!this.getContainer().isEditable())return!1;var C=elementor.channels.panelElements.request("element:selected")||elementor.channels.editor.request("element:dragged");return!!C&&["widget","container"].includes(C.model.get("elType"))},isNested:function isNested(){return"document"!==this.getContainer().parent.model.get("elType")},getEditButtons:function getEditButtons(){var C=elementor.getElementData(this.model),T={};return $e.components.get("document/elements").utils.allowAddingWidgets()&&(T.add={title:V($("Add %s","elementor"),C.title),icon:"plus"},T.edit={title:V($("Edit %s","elementor"),C.title),icon:"handle"}),this.getContainer().isLocked()||(elementor.getPreferences("edit_buttons")&&$e.components.get("document/elements").utils.allowAddingWidgets()&&(T.duplicate={title:V($("Duplicate %s","elementor"),C.title),icon:"clone"}),T.remove={title:V($("Delete %s","elementor"),C.title),icon:"close"}),T},onAddButtonClick:function onAddButtonClick(){if(!this.addSectionView||this.addSectionView.isDestroyed){var C=new W.default({at:this.model.collection.indexOf(this.model)});C.render(),this.$el.before(C.$el),C.$el.hide(),setTimeout((function(){C.$el.slideDown(null,(function(){jQuery(this).css("display","")}))})),this.addSectionView=C}else this.addSectionView.fadeToDeath()},onRender:function onRender(){var C=this;J.prototype.onRender.apply(this,arguments),setTimeout((function(){C.nestingLevel=C.getNestingLevel(),C.$el[0].dataset.nestingLevel=C.nestingLevel,C.model.get("isInner")||C.model.set("isInner",C.isNestedElementContentContainer()||C.getNestingLevel()>0),C.isGridContainer()&&C.reInitEmptyView(),C.droppableInitialize(C.container.settings)}))},onRenderEmpty:function onRenderEmpty(){this.$el.addClass("e-empty")},onAddChild:function onAddChild(){this.$el.removeClass("e-empty"),this.isGridContainer()&&this.handleGridEmptyView()},renderOnChange:function renderOnChange(C){J.prototype.renderOnChange.apply(this,arguments),(C.changed.flex_direction||C.changed.content_width||C.changed.grid_auto_flow||C.changed.container_type)&&(this.isGridContainer()&&this.reInitEmptyView(),this.isFlexContainer()&&!this.isEmpty()&&this.getCorrectContainerElement().find("> .elementor-empty-view").remove(),this.droppableDestroy(),this.droppableInitialize(C)),C.changed.container_type&&this.updatePanelTitlesAndIcons()},updatePanelTitlesAndIcons:function updatePanelTitlesAndIcons(){var C=this.getPanelTitle(),T=this.getPanelIcon();this.model.set("icon",T),this.model.set("title",C),this.model.get("settings").set("presetTitle",C),this.model.get("settings").set("presetIcon",T),jQuery("#elementor-panel-header-title").html(V($("Edit %s","elementor"),C)),this.updateNeedHelpLink()},getPanelTitle:function getPanelTitle(){return this.isFlexContainer()?$("Container","elementor"):$("Grid","elementor")},getPanelIcon:function getPanelIcon(){return this.isFlexContainer()?"eicon-container":"eicon-container-grid"},onDragStart:function onDragStart(){this.droppableDestroy()},onDragEnd:function onDragEnd(){this.droppableInitialize(this.container.settings)},attachElContent:function attachElContent(){J.prototype.attachElContent.apply(this,arguments);var C=jQuery("<div>",{class:"elementor-column-percents-tooltip","data-side":elementorCommon.config.isRTL?"right":"left"});this.$el.children(".elementor-element-overlay").append(C)},getPercentSize:function getPercentSize(C){return C||(C=this.el.getBoundingClientRect().width),+(C/this.$el.parent().width()*100).toFixed(3)},getPercentsForDisplay:function getPercentsForDisplay(){return(+this.model.getSetting("width")||this.getPercentSize()).toFixed(1)+"%"},onResizeStart:function onResizeStart(){this.ui.percentsTooltip&&this.ui.percentsTooltip.show()},onResize:function onResize(){this.ui.percentsTooltip&&this.ui.percentsTooltip.text(this.getPercentsForDisplay())},onResizeStop:function onResizeStop(){this.ui.percentsTooltip&&this.ui.percentsTooltip.hide()},droppableDestroy:function droppableDestroy(){this.$el.html5Droppable("destroy"),this.$el.find("> .e-con-inner").html5Droppable("destroy")},droppableInitialize:function droppableInitialize(C){"boxed"===C.get("content_width")?this.$el.find("> .e-con-inner").html5Droppable(this.getDroppableOptions()):this.$el.html5Droppable(this.getDroppableOptions())},handleGridEmptyView:function handleGridEmptyView(){var C=this.getCorrectContainerElement(),T=C.find("> .elementor-empty-view");this.moveElementToLastChild(C,T)},moveElementToLastChild:function moveElementToLastChild(C,T){var B=C.get(0),$=T.get(0);B&&$&&B.lastChild!==$&&B.appendChild($)},getCorrectContainerElement:function getCorrectContainerElement(){return this.isBoxedWidth()?this.$el.find("> .e-con-inner"):this.$el},shouldIncrementIndex:function shouldIncrementIndex(C){return!!this.draggingOnBottomOrRightSide(C)&&!(this.isGridContainer()&&this.emptyViewIsCurrentlyBeingDraggedOver())},draggingOnBottomOrRightSide:function draggingOnBottomOrRightSide(C){return["bottom","right"].includes(C)},isGridContainer:function isGridContainer(){return"grid"===this.getContainer().settings.get("container_type")},isFlexContainer:function isFlexContainer(){return"flex"===this.getContainer().settings.get("container_type")},isBoxedWidth:function isBoxedWidth(){return"boxed"===this.getContainer().settings.get("content_width")},emptyViewIsCurrentlyBeingDraggedOver:function emptyViewIsCurrentlyBeingDraggedOver(){return this.getCorrectContainerElement().find("> .elementor-empty-view > .elementor-first-add.elementor-html5dnd-current-element").length>0},reInitEmptyView:function reInitEmptyView(){this.getCorrectContainerElement().find("> .elementor-empty-view").length||(delete this._showingEmptyView,this.showEmptyView(),this.handleGridEmptyView())},updateNeedHelpLink:function updateNeedHelpLink(){var C=jQuery("#elementor-panel__editor__help__link"),T=this.isGridContainer()?"https://go.elementor.com/widget-container-grid":"https://go.elementor.com/widget-container";C&&C.attr("href",T)}});C.exports=Y},84856:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=function EmptyComponent(){return V.default.createElement("div",{className:"elementor-first-add"},V.default.createElement("div",{className:"elementor-icon eicon-plus",onClick:function onClick(){return $e.route("panel/elements/categories")}}))};var V=$(B(87363))},45469:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(87363)),L=$(B(78983)),q=$(B(42081)),W=$(B(77266)),U=$(B(51121)),H=$(B(58724)),G=$(B(71173)),K=$(B(74910)),Q=$(B(93231)),J=$(B(66535)),Y=$(B(84856));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,H.default)(EmptyView,C);var T=_createSuper(EmptyView);function EmptyView(){var C;(0,L.default)(this,EmptyView);for(var B=arguments.length,$=new Array(B),V=0;V<B;V++)$[V]=arguments[V];return C=T.call.apply(T,[this].concat($)),(0,Q.default)((0,W.default)(C),"template","<div></div>"),(0,Q.default)((0,W.default)(C),"className","elementor-empty-view"),C}return(0,q.default)(EmptyView,[{key:"initialize",value:function initialize(C){(0,U.default)((0,K.default)(EmptyView.prototype),"initialize",this).call(this,C),this.ownerView=C.emptyViewOwner}},{key:"renderReactDefaultElement",value:function renderReactDefaultElement(C){var T,B=C.parent;if("widget"===B.model.get("elType")){var $=elementor.elementsManager.getElementTypeClass(B.model.get("widgetType"));if($){var L=$.getEmptyView();T=V.default.createElement(L,{container:C})}}else T=V.default.createElement(Y.default,{container:C});var q=J.default.render(T,this.el).unmount;this.unmount=q}},{key:"onRender",value:function onRender(){this.$el.addClass(this.className),this.renderReactDefaultElement(this.ownerView.container)}},{key:"onDestroy",value:function onDestroy(){this.unmount()}}]),EmptyView}(Marionette.ItemView);T.default=X},39872:(C,T,B)=>{"use strict";var $=B(38003).sprintf,V=B(38003).__,L=B(73203)(B(57846)),q=B(83866),W=q.extend({childViewContainer:function childViewContainer(){return"> .elementor-container"},template:Marionette.TemplateCache.get("#tmpl-elementor-section-content"),addSectionView:null,_checkIsFull:function _checkIsFull(){this.toggleSectionIsFull(),elementorDevTools.deprecation.deprecated("_checkIsFull()","2.9.0","toggleSectionIsFull()")},toggleSectionIsFull:function toggleSectionIsFull(){this.$el.toggleClass("elementor-section-filled",this.isCollectionFilled())},addChildModel:function addChildModel(C){var T=C instanceof Backbone.Model,B=this.isInner();return T?C.set("isInner",B):C.isInner=B,q.prototype.addChildModel.apply(this,arguments)},className:function className(){return q.prototype.className.apply(this,arguments)+" elementor-section elementor-"+(this.isInner()?"inner":"top")+"-section"},tagName:function tagName(){return this.model.getSetting("html_tag")||"section"},behaviors:function behaviors(){var behaviors=q.prototype.behaviors.apply(this,arguments);return _.extend(behaviors,{Sortable:{behaviorClass:B(92243),elChildType:"column"}}),elementor.hooks.applyFilters("elements/section/behaviors",behaviors,this)},initialize:function initialize(){q.prototype.initialize.apply(this,arguments),this.model.get("editSettings").set("defaultEditRoute","layout")},getEditButtons:function getEditButtons(){if(!$e.components.get("document/elements").utils.allowAddingWidgets())return{};var C=elementor.getElementData(this.model),T={};return this.isInner()||(T.add={title:$(V("Add %s","elementor"),C.title),icon:"plus"}),T.edit={title:$(V("Edit %s","elementor"),C.title),icon:"handle"},elementor.getPreferences("edit_buttons")&&(T.duplicate={title:$(V("Duplicate %s","elementor"),C.title),icon:"clone"}),T},getContextMenuGroups:function getContextMenuGroups(){var C=q.prototype.getContextMenuGroups.apply(this,arguments),T=C.indexOf(_.findWhere(C,{name:"clipboard"}));return C.splice(T+1,0,{name:"save",actions:[{name:"save",title:V("Save as Template","elementor"),isEnabled:function isEnabled(){return!elementor.selection.isMultiple()},callback:this.save.bind(this)}]}),C},getSortableOptions:function getSortableOptions(){return{connectWith:(this.isInner()?".elementor-inner-section":".elementor-top-section")+this.childViewContainer(),handle:"> .elementor-element-overlay .elementor-editor-element-edit",items:"> .elementor-column",forcePlaceholderSize:!0,tolerance:"pointer"}},getColumnPercentSize:function getColumnPercentSize(C,T){return+(T/C.parent().width()*100).toFixed(3)},getDefaultStructure:function getDefaultStructure(){return this.collection.length+"0"},getStructure:function getStructure(){return this.model.getSetting("structure")},getColumnAt:function getColumnAt(C){var T=this.collection.at(C);return T?this.children.findByModelCid(T.cid):null},getNextColumn:function getNextColumn(C){return this.getColumnAt(this.collection.indexOf(C.model)+1)},getPreviousColumn:function getPreviousColumn(C){return this.getColumnAt(this.collection.indexOf(C.model)-1)},getNeighborContainer:function getNeighborContainer(C){var T=C.parent.view,B=T.getNextColumn(C.view)||T.getPreviousColumn(C.view);return!!B&&B.getContainer()},setStructure:function setStructure(C){var T=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(+elementor.presetsFactory.getParsedStructure(C).columnsCount!==this.collection.length)throw new TypeError("The provided structure doesn't match the columns count.");$e.run("document/elements/settings",{container:this.getContainer(),settings:{structure:C},options:{external:!0}}),T&&this.adjustColumns()},adjustColumns:function adjustColumns(){var C=elementor.presetsFactory.getPresetByStructure(this.getStructure());this.children.each((function(T,B){var $=T.getContainer();$e.run("document/elements/settings",{container:$,settings:{_column_size:C.preset[B],_inline_size:null}})}))},resetLayout:function resetLayout(){var C=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.setStructure(this.getDefaultStructure(),C)},resetColumnsCustomSize:function resetColumnsCustomSize(){this.children.each((function(C){$e.run("document/elements/settings",{container:C.getContainer(),settings:{_inline_size:null},options:{external:!0}})}))},isCollectionFilled:function isCollectionFilled(){return 10<=this.collection.length},showChildrenPercentsTooltip:function showChildrenPercentsTooltip(C,T){C.ui.percentsTooltip.show(),C.ui.percentsTooltip.attr("data-side",elementorCommon.config.isRTL?"right":"left"),T.ui.percentsTooltip.show(),T.ui.percentsTooltip.attr("data-side",elementorCommon.config.isRTL?"left":"right")},hideChildrenPercentsTooltip:function hideChildrenPercentsTooltip(C,T){C.ui.percentsTooltip.hide(),T.ui.percentsTooltip.hide()},destroyAddSectionView:function destroyAddSectionView(){this.addSectionView&&!this.addSectionView.isDestroyed&&this.addSectionView.destroy()},onRender:function onRender(){q.prototype.onRender.apply(this,arguments),this.toggleSectionIsFull()},onAddButtonClick:function onAddButtonClick(){if(!this.addSectionView||this.addSectionView.isDestroyed){var C=new L.default({at:this.model.collection.indexOf(this.model)});C.render(),this.$el.before(C.$el),C.$el.hide(),setTimeout((function(){C.$el.slideDown(null,(function(){jQuery(this).css("display","")}))})),this.addSectionView=C}else this.addSectionView.fadeToDeath()},onChildviewRequestResizeStart:function onChildviewRequestResizeStart(C){var T=this.getNextColumn(C);if(T){this.showChildrenPercentsTooltip(C,T);var B=C.$el.find("iframe").add(T.$el.find("iframe"));elementor.helpers.disableElementEvents(B)}},onChildviewRequestResizeStop:function onChildviewRequestResizeStop(C){var T=this.getNextColumn(C);if(T){this.hideChildrenPercentsTooltip(C,T);var B=C.$el.find("iframe").add(T.$el.find("iframe"));elementor.helpers.enableElementEvents(B)}},onChildviewRequestResize:function onChildviewRequestResize(C,T){T.element.css({width:"",left:"initial"}),$e.run("document/elements/settings",{container:C.getContainer(),settings:{_inline_size:this.getColumnPercentSize(T.element,T.size.width)}})},onDestroy:function onDestroy(){q.prototype.onDestroy.apply(this,arguments),this.destroyAddSectionView()}});C.exports=W,C.exports.DEFAULT_INNER_SECTION_COLUMNS=2,C.exports.DEFAULT_MIN_COLUMN_SIZE=2,C.exports.DEFAULT_MAX_COLUMNS=10},97445:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203),L=V(B(46341)),q=V(B(74985)),W=V(B(72293)),U=B(83866),H=W.default.extend({_templateType:null,toggleEditTools:!0,events:function events(){var events=W.default.prototype.events.apply(this,arguments);return events.click="onClickEdit",events},behaviors:function behaviors(){var behaviors=W.default.prototype.behaviors.apply(this,arguments);return _.extend(behaviors,{InlineEditing:{behaviorClass:B(35343),inlineEditingClass:"elementor-inline-editing"},Draggable:{behaviorClass:L.default},Resizable:{behaviorClass:q.default}}),elementor.hooks.applyFilters("elements/widget/behaviors",behaviors,this)},getContextMenuGroups:function getContextMenuGroups(){var C=this,T=W.default.prototype.getContextMenuGroups.apply(this,arguments),B=T.indexOf(_.findWhere(T,{name:"clipboard"}));return T.splice(B+1,0,{name:"save",actions:[{name:"save",title:$("Save as a global","elementor"),shortcut:jQuery("<i>",{class:"eicon-pro-icon"}),promotionURL:"https://go.elementor.com/go-pro-global-widget-context-menu/",isEnabled:function isEnabled(){return"global"!==C.options.model.get("widgetType")&&!elementor.selection.isMultiple()}}]}),T},render:function render(){if(this.model.isRemoteRequestActive())return this.handleEmptyWidget(),void this.$el.addClass("elementor-element");this.isDestroyed||U.prototype.render.apply(this,arguments)},handleEmptyWidget:function handleEmptyWidget(){this.$el.addClass("elementor-widget-empty").append('<i class="elementor-widget-empty-icon '+this.getEditModel().getIcon()+'"></i>')},getTemplateType:function getTemplateType(){if(null===this._templateType){var C=this.getEditModel(),T=jQuery("#tmpl-elementor-"+C.get("widgetType")+"-content");this._templateType=T.length?"js":"remote"}return this._templateType},getHTMLContent:function getHTMLContent(C){return this.getEditModel().getHtmlCache()||C},attachElContent:function attachElContent(C){var T=this;return _.defer((function(){elementorFrontend.elements.window.jQuery(T.el).empty().append(T.getHandlesOverlay(),T.getHTMLContent(C)),T.bindUIElements()})),this},addInlineEditingAttributes:function addInlineEditingAttributes(C,T){this.addRenderAttribute(C,{class:"elementor-inline-editing","data-elementor-setting-key":C}),T&&this.addRenderAttribute(C,{"data-elementor-inline-editing-toolbar":T})},onRender:function onRender(){var C=this;W.default.prototype.onRender.apply(C,arguments),this.normalizeAttributes(),C.$el.imagesLoaded().always((function(){setTimeout((function(){var T=C.$el.children(".elementor-widget-container").length?C.$el.children(".elementor-widget-container"):C.$el;T.is(":visible")&&!T.outerHeight()&&C.handleEmptyWidget()}),200)}))},onClickEdit:function onClickEdit(C){var T;null!==(T=this.container)&&void 0!==T&&T.isEditable()&&this.onEditButtonClick(C)}});C.exports=H},10761:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ElementTypeNotFound=void 0;var V=$(B(42081)),L=$(B(78983)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(ElementTypeNotFound,C);var T=_createSuper(ElementTypeNotFound);function ElementTypeNotFound(C){return(0,L.default)(this,ElementTypeNotFound),T.call(this,"Element type not found: '".concat(C,"'"))}return(0,V.default)(ElementTypeNotFound)}((0,$(B(19952)).default)(Error));T.ElementTypeNotFound=H;var G=H;T.default=G},10588:(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(28247)),W=$(B(19775)),U=function(){function IntroductionTooltipsManager(){(0,V.default)(this,IntroductionTooltipsManager),this.registerTooltipWidget(),this.registerTooltips()}return(0,L.default)(IntroductionTooltipsManager,[{key:"registerTooltipWidget",value:function registerTooltipWidget(){DialogsManager.addWidgetType("tooltip",DialogsManager.getWidgetType("buttons").extend("tooltip",{buildWidget:function buildWidget(){var C=this;DialogsManager.getWidgetType("buttons").prototype.buildWidget.apply(this,arguments);var T=this.getElements();T.$title=jQuery("<div>",{class:"dialog-tooltip-widget__title"}),T.$closeButton=jQuery("<i>",{class:"eicon-close"}),T.$closeButton.on("click",(function(){return C.hide()})),T.header.append(T.$title,T.$closeButton)}}))}},{key:"registerTooltips",value:function registerTooltips(){[new q.default("globals_introduction"),new W.default("globals_introduction")].forEach((function(C){elementor.config.user.introduction[C.introductionKey]||(C.initTooltip(),C.bindEvent())}))}}]),IntroductionTooltipsManager}();T.default=U},28247:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(38003).sprintf,L=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(78983)),W=L(B(42081)),U=L(B(93231)),H=function(){function GlobalColorIntroduction(C){(0,q.default)(this,GlobalColorIntroduction),(0,U.default)(this,"introductionKey",void 0),this.introductionKey=C}return(0,W.default)(GlobalColorIntroduction,[{key:"bindEvent",value:function bindEvent(){var C=this;$e.routes.on("run:after",(function(T,B,$){var V,L;if($e.routes.isPartOf("panel/editor")){var q=C.getControlView($.activeControl);"color"===(null==q||null===(V=q.model)||void 0===V||null===(L=V.attributes)||void 0===L?void 0:L.type)&&(C.tooltip.show(q.el),C.tooltip.setViewed())}}))}},{key:"getControlView",value:function getControlView(C){if(!C)return null;var T=elementor.getPanelView().getCurrentPageView(),B=T.content?T.content.currentView:T;return $e.components.get("panel").getControlViewByPath(B,C)}},{key:"initTooltip",value:function initTooltip(){var C=this;this.tooltip=new elementorModules.editor.utils.Introduction({introductionKey:this.introductionKey,dialogType:"tooltip",dialogOptions:{headerMessage:$("Check out Global Colors","elementor"),message:V($("Save time by applying Global Colors to change the style of multiple elements at once. Click %s to see what Global Colors you already have.","elementor"),"<i class='eicon-globe'></i>"),position:{my:(elementorCommon.config.isRTL?"left":"right")+"0 top0",at:(elementorCommon.config.isRTL?"left":"right")+" top-10"},hide:{onOutsideClick:!1,onBackgroundClick:!1,onEscKeyPress:!1}}}),this.tooltip.getDialog().addButton({name:"action",text:$("Got it!","elementor"),classes:"elementor-button e-primary",callback:function callback(){return C.tooltip.getDialog().hide()}})}}]),GlobalColorIntroduction}();T.default=H},19775:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(38003).sprintf,L=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(78983)),W=L(B(42081)),U=L(B(93231)),H=function(){function GlobalFontIntroduction(C){(0,q.default)(this,GlobalFontIntroduction),(0,U.default)(this,"introductionKey",void 0),this.introductionKey=C}return(0,W.default)(GlobalFontIntroduction,[{key:"bindEvent",value:function bindEvent(){var C=this;$e.routes.on("run:after",(function(T,B,$){var V,L;if($e.routes.isPartOf("panel/editor")){var q=C.getControlView($.activeControl);"popover_toggle"===(null==q||null===(V=q.model)||void 0===V||null===(L=V.attributes)||void 0===L?void 0:L.type)&&(C.tooltip.show(q.el),C.tooltip.setViewed())}}))}},{key:"getControlView",value:function getControlView(C){if(!C)return null;var T=elementor.getPanelView().getCurrentPageView(),B=T.content?T.content.currentView:T;return $e.components.get("panel").getControlViewByPath(B,C)}},{key:"initTooltip",value:function initTooltip(){var C=this;this.tooltip=new elementorModules.editor.utils.Introduction({introductionKey:this.introductionKey,dialogType:"tooltip",dialogOptions:{headerMessage:$("Check out Global Fonts","elementor"),message:V($("Save time by applying Global Fonts to change the style of multiple elements at once. Click %s to see what Global Fonts you already have.","elementor"),"<i class='eicon-globe'></i>"),position:{my:(elementorCommon.config.isRTL?"left":"right")+"0 top0",at:(elementorCommon.config.isRTL?"left":"right")+" top-10"},hide:{onOutsideClick:!1,onBackgroundClick:!1,onEscKeyPress:!1}}}),this.tooltip.getDialog().addButton({name:"action",text:$("Got it!","elementor"),classes:"elementor-button e-primary",callback:function callback(){return C.tooltip.getDialog().hide()}})}}]),GlobalFontIntroduction}();T.default=H},89283:C=>{"use strict";C.exports=Marionette.Region.extend({storage:null,storageSizeKeys:null,constructor:function constructor(){Marionette.Region.prototype.constructor.apply(this,arguments);var C=elementorCommon.storage.get(this.getStorageKey());this.storage=C||this.getDefaultStorage(),this.storageSizeKeys=Object.keys(this.storage.size)},saveStorage:function saveStorage(C,T){this.storage[C]=T,elementorCommon.storage.set(this.getStorageKey(),this.storage)},saveSize:function saveSize(C){C||(C=elementor.helpers.getElementInlineStyle(this.$el,this.storageSizeKeys)),this.saveStorage("size",C)}})},93593:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Close=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Close,C);var T=_createSuper(Close);function Close(){return(0,V.default)(this,Close),T.apply(this,arguments)}return(0,L.default)(Close,[{key:"apply",value:function apply(){return this.component.close()}}]),Close}($e.modules.CommandBase);T.Close=H;var G=H;T.default=G},54495:(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,"Toggle",{enumerable:!0,get:function get(){return L.Toggle}});var $=B(93593),V=B(15900),L=B(98532)},15900:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Open=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Open,C);var T=_createSuper(Open);function Open(){return(0,V.default)(this,Open),T.apply(this,arguments)}return(0,L.default)(Open,[{key:"apply",value:function apply(){$e.route(this.component.getNamespace())}}]),Open}($e.modules.CommandBase);T.Open=H;var G=H;T.default=G},98532:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Toggle=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Toggle,C);var T=_createSuper(Toggle);function Toggle(){return(0,V.default)(this,Toggle),T.apply(this,arguments)}return(0,L.default)(Toggle,[{key:"apply",value:function apply(){this.component.isOpen?$e.run("navigator/close"):$e.run("navigator/open")}}]),Toggle}($e.modules.CommandBase);T.Toggle=H;var G=H;T.default=G},33524:(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(51121)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(19263)),Q=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(54495));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var J=function(C){(0,U.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"navigator"}},{key:"defaultRoutes",value:function defaultRoutes(){return{"":function _(){}}}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(Q)}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{toggle:{keys:"ctrl+i",dependency:function dependency(){return elementor.getPreviewContainer().isEditable()}}}}},{key:"open",value:function open(C){var T=C.model,B=void 0!==T&&T;return this.manager.open(B),!0}},{key:"close",value:function close(C){return!!(0,W.default)((0,G.default)(Component.prototype),"close",this).call(this)&&(this.manager.close(C),!0)}}]),Component}(K.default);T.default=J},36087:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-navigator__elements--empty"}},{key:"className",value:function className(){return"elementor-empty-view"}},{key:"onRender",value:function onRender(){this.$el.css("padding-inline-start",this.getOption("indent")+"px")}}]),_default}(Marionette.ItemView);T.default=H},60891:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(36087)),G=$(B(14391));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var K=function(C){(0,q.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-navigator__elements"}},{key:"ui",value:function ui(){return{item:"> .elementor-navigator__item",title:"> .elementor-navigator__item .elementor-navigator__element__title__text",toggle:"> .elementor-navigator__item > .elementor-navigator__element__toggle",toggleList:"> .elementor-navigator__item > .elementor-navigator__element__list-toggle",indicators:"> .elementor-navigator__item > .elementor-navigator__element__indicators",indicator:"> .elementor-navigator__item > .elementor-navigator__element__indicators > .elementor-navigator__element__indicator",elements:"> .elementor-navigator__elements",icon:"> .elementor-navigator__item .elementor-navigator__element__element-type"}}},{key:"events",value:function events(){return{contextmenu:"onContextMenu","click @ui.item":"onItemClick","keydown @ui.item":"onItemPress","click @ui.toggle":"onToggleClick","click @ui.toggleList":"onToggleListClick","click @ui.indicator":"onIndicatorClick","dblclick @ui.title":"onTitleDoubleClick","keydown @ui.title":"onTitleKeyDown","paste @ui.title":"onTitlePaste","sortstart @ui.elements":"onSortStart","sortover @ui.elements":"onSortOver","sortout @ui.elements":"onSortOut","sortstop @ui.elements":"onSortStop","sortupdate @ui.elements":"onSortUpdate","sortreceive @ui.elements":"onSortReceive"}}},{key:"getEmptyView",value:function getEmptyView(){return this.isRoot()?G.default:this.hasChildren()?H.default:null}},{key:"childViewOptions",value:function childViewOptions(){return{indent:this.getIndent()+10}}},{key:"className",value:function className(){var C=this.model.get("elType"),T="elementor-navigator__element";return C&&(T+=" elementor-navigator__element-"+C),this.hasChildren()&&(T+=" elementor-navigator__element--has-children"),T}},{key:"attributes",value:function attributes(){return{"data-id":this.model.id,"data-model-cid":this.model.cid}}},{key:"templateHelpers",value:function templateHelpers(){var C={};return this.isRoot()||(C.title=this.model.getTitle(),C.icon="section"===this.model.get("elType")?"":this.model.getIcon()),C}},{key:"initialize",value:function initialize(){this.collection=this.model.get("elements"),this.childViewContainer=".elementor-navigator__elements",this.listenTo(this.model,"change",this.onModelChange).listenTo(this.model.get("settings"),"change",this.onModelSettingsChange)}},{key:"getIndent",value:function getIndent(){return this.getOption("indent")||0}},{key:"isRoot",value:function isRoot(){return!this.model.get("elType")}},{key:"hasChildren",value:function hasChildren(){var C;return(null===(C=this.model.get("elements"))||void 0===C?void 0:C.length)||"widget"!==this.model.get("elType")}},{key:"toggleList",value:function toggleList(C,T){if(this.hasChildren()&&!this.isRoot()&&this.ui.item.hasClass("elementor-active")!==C){this.ui.item.toggleClass("elementor-active",C);var B="slideToggle";void 0!==C&&(B="slide"+(C?"Down":"Up")),this.ui.elements[B](300,T)}}},{key:"toggleHiddenClass",value:function toggleHiddenClass(){this.$el.toggleClass("elementor-navigator__element--hidden",!!this.model.get("hidden"))}},{key:"recursiveChildInvoke",value:function recursiveChildInvoke(C){for(var T=arguments,B=this,$=arguments.length,V=new Array($>1?$-1:0),L=1;L<$;L++)V[L-1]=arguments[L];this[C].apply(this,V),this.children.each((function(C){C instanceof B.constructor&&C.recursiveChildInvoke.apply(C,T)}))}},{key:"recursiveParentInvoke",value:function recursiveParentInvoke(C){for(var T=arguments.length,B=new Array(T>1?T-1:0),$=1;$<T;$++)B[$-1]=arguments[$];this._parent instanceof this.constructor&&(this._parent[C].apply(this._parent,B),this._parent.recursiveParentInvoke.apply(this._parent,arguments))}},{key:"recursiveChildAgreement",value:function recursiveChildAgreement(C){for(var T=arguments.length,B=new Array(T>1?T-1:0),$=1;$<T;$++)B[$-1]=arguments[$];if(!this[C].apply(this,B))return!1;for(var V=!0,L=0,q=Object.values(this.children._views);L<q.length;L++){var W=q[L];if(W instanceof this.constructor&&!W.recursiveChildAgreement.apply(W,arguments)){V=!1;break}}return V}},{key:"activateMouseInteraction",value:function activateMouseInteraction(){this.$el.on({mouseenter:this.onMouseEnter.bind(this),mouseleave:this.onMouseLeave.bind(this)})}},{key:"deactivateMouseInteraction",value:function deactivateMouseInteraction(){this.$el.off("mouseenter mouseleave")}},{key:"dragShouldBeIgnored",value:function dragShouldBeIgnored(C){return!this.model.isValidChild(C)}},{key:"addEditingClass",value:function addEditingClass(){this.ui.item.addClass("elementor-editing")}},{key:"removeEditingClass",value:function removeEditingClass(){this.ui.item.removeClass("elementor-editing")}},{key:"enterTitleEditing",value:function enterTitleEditing(){this.ui.title.attr("contenteditable",!0).focus(),document.execCommand("selectAll"),elementor.addBackgroundClickListener("navigator",{ignore:this.ui.title,callback:this.exitTitleEditing.bind(this)})}},{key:"exitTitleEditing",value:function exitTitleEditing(){this.ui.title.attr("contenteditable",!1);var C=this.model.get("settings"),T=C.get("_title"),B=this.ui.title.text().trim();T||C.unset("_title",{silent:!0}),C.set("_title",B),$e.internal("document/save/set-is-modified",{status:!0}),elementor.removeBackgroundClickListener("navigator")}},{key:"activateSortable",value:function activateSortable(){elementor.userCan("design")&&this.ui.elements.sortable({items:"> .elementor-navigator__element",placeholder:"ui-sortable-placeholder",axis:"y",forcePlaceholderSize:!0,connectWith:".elementor-navigator__element-"+this.model.get("elType")+" > .elementor-navigator__elements",cancel:'[contenteditable="true"], [data-locked="true"]'})}},{key:"renderIndicators",value:function renderIndicators(){var C=this,T=this.model.get("settings").attributes;this.ui.indicators.empty(),jQuery.each(elementor.navigator.indicators,(function(B,$){if($.settingKeys.some((function(C){return T[C]}))){var V=jQuery("<div>",{class:"elementor-navigator__element__indicator",title:$.title}).attr("data-section",$.section).html('<i class="eicon-'.concat($.icon,'"></i>'));C.ui.indicators.append(V),V.tipsy({delayIn:300,gravity:"s"})}}))}},{key:"updateSelection",value:function updateSelection(){Object.keys(elementor.selection.elements).includes(this.model.get("id"))?this.select():this.deselect()}},{key:"select",value:function select(){this.recursiveParentInvoke("toggleList",!0),this.addEditingClass(),elementor.helpers.scrollToView(this.$el,400,elementor.navigator.getLayout().elements.$el)}},{key:"deselect",value:function deselect(){this.removeEditingClass()}},{key:"onRender",value:function onRender(){this.activateSortable(),this.isRoot()||(this.ui.item.css("padding-inline-start",this.getIndent()+"px"),this.toggleHiddenClass(),this.renderIndicators())}},{key:"onModelChange",value:function onModelChange(){void 0!==this.model.changed.hidden&&this.toggleHiddenClass()}},{key:"onModelSettingsChange",value:function onModelSettingsChange(C){var T=this;void 0!==C.changed._title&&this.ui.title.text(this.model.getTitle()),void 0!==C.changed.presetTitle&&void 0===C._title&&this.ui.title.text(this.model.getTitle()),void 0!==C.changed.presetIcon&&this.ui.icon.html('<i class="'.concat(this.model.attributes.icon,'"></i>')),jQuery.each(elementor.navigator.indicators,(function(B,$){if(Object.keys(C.changed).filter((function(C){return $.settingKeys.includes(C)})).length)return T.renderIndicators(),!1}))}},{key:"onItemPress",value:function onItemPress(C){13!==C.keyCode?32===C.keyCode&&this.onToggleListClick(C):this.onItemClick(C)}},{key:"onItemClick",value:function onItemClick(C){this.model.trigger("request:edit",{append:C.ctrlKey||C.metaKey,scrollIntoView:!0})}},{key:"onToggleClick",value:function onToggleClick(C){C.stopPropagation(),this.model.trigger("request:toggleVisibility")}},{key:"onTitleDoubleClick",value:function onTitleDoubleClick(){this.enterTitleEditing()}},{key:"onTitleKeyDown",value:function onTitleKeyDown(C){13===C.which&&(C.preventDefault(),this.exitTitleEditing())}},{key:"onTitlePaste",value:function onTitlePaste(C){C.preventDefault(),document.execCommand("insertHTML",!1,C.originalEvent.clipboardData.getData("text/plain"))}},{key:"onToggleListClick",value:function onToggleListClick(C){C.stopPropagation(),this.toggleList()}},{key:"onSortStart",value:function onSortStart(C,T){this.model.trigger("request:sort:start",C,T),jQuery(T.item).children(".elementor-navigator__item").trigger("click"),elementor.navigator.getLayout().activateElementsMouseInteraction()}},{key:"onSortStop",value:function onSortStop(){elementor.navigator.getLayout().deactivateElementsMouseInteraction()}},{key:"onSortOver",value:function onSortOver(C){C.stopPropagation(),this.$el.addClass("elementor-dragging-on-child")}},{key:"onSortOut",value:function onSortOut(C){C.stopPropagation(),this.$el.removeClass("elementor-dragging-on-child")}},{key:"onSortUpdate",value:function onSortUpdate(C,T){C.stopPropagation(),this.ui.elements.is(T.item.parent())&&this.model.trigger("request:sort:update",T)}},{key:"onSortReceive",value:function onSortReceive(C,T){this.model.trigger("request:sort:receive",C,T)}},{key:"onMouseEnter",value:function onMouseEnter(C){var T=this;C.stopPropagation(),this.recursiveChildAgreement("dragShouldBeIgnored",elementor.channels.data.request("dragging:model"))||(this.autoExpandTimeout=setTimeout((function(){T.toggleList(!0,(function(){T.ui.elements.sortable("refreshPositions")}))}),500))}},{key:"onMouseLeave",value:function onMouseLeave(C){C.stopPropagation(),clearTimeout(this.autoExpandTimeout)}},{key:"onContextMenu",value:function onContextMenu(C){this.model.trigger("request:contextmenu",C)}},{key:"onEditRequest",value:function onEditRequest(){elementor.navigator.getLayout().elements.currentView.recursiveChildInvoke("removeEditingClass"),this.select(!0)}},{key:"onIndicatorClick",value:function onIndicatorClick(C){var T=C.currentTarget.dataset.section;setTimeout((function(){var C=elementor.getPanelView().currentPageView,B=C.getControlModel(T).get("tab");C.activateSection(T),C.activateTab(B),C.render()}))}}]),_default}(Marionette.CompositeView);T.default=K},47673:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910)),G=V(B(60891));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var K=function(C){(0,W.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,L.default)(this,_default),T.apply(this,arguments)}return(0,q.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-navigator"}},{key:"id",value:function id(){return"elementor-navigator__inner"}},{key:"ui",value:function ui(){return{toggleButton:"#elementor-navigator__toggle-all",toggleButtonIcon:"#elementor-navigator__toggle-all i",toggleButtonA11yText:"#elementor-navigator__toggle-all span",closeButton:"#elementor-navigator__close"}}},{key:"behaviors",value:function behaviors(){return elementor.hooks.applyFilters("navigator/layout/behaviors",{},this)}},{key:"events",value:function events(){return{"click @ui.toggleButton":"toggleElements","click @ui.closeButton":"onCloseButtonClick","keyup @ui.closeButton":"onCloseButtonKeyPress"}}},{key:"regions",value:function regions(){return{elements:"#elementor-navigator__elements"}}},{key:"toggleElements",value:function toggleElements(){var C="expand"===this.ui.toggleButton.data("elementor-action"),T=$(C?"Collapse all elements":"Expand all elements","elementor"),B=["eicon-collapse","eicon-expand"];this.ui.toggleButton.data("elementor-action",C?"collapse":"expand"),this.ui.toggleButtonIcon.removeClass(B[+C]).addClass(B[+!C]),this.ui.toggleButtonA11yText.text(T),this.elements.currentView.recursiveChildInvoke("toggleList",C)}},{key:"activateElementsMouseInteraction",value:function activateElementsMouseInteraction(){this.elements.currentView.recursiveChildInvoke("activateMouseInteraction")}},{key:"deactivateElementsMouseInteraction",value:function deactivateElementsMouseInteraction(){this.elements.currentView.recursiveChildInvoke("deactivateMouseInteraction")}},{key:"updateSelection",value:function updateSelection(){this.elements.currentView.recursiveChildInvoke("updateSelection")}},{key:"onShow",value:function onShow(){this.elements.show(new G.default({model:elementor.elementsModel}))}},{key:"onCloseButtonClick",value:function onCloseButtonClick(){$e.components.get("navigator").close()}},{key:"onCloseButtonKeyPress",value:function onCloseButtonKeyPress(C){13===C.keyCode&&this.onCloseButtonClick()}}]),_default}(Marionette.LayoutView);T.default=K},34693:(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(77266)),U=V(B(58724)),H=V(B(71173)),G=V(B(74910)),K=V(B(33524)),Q=V(B(47673));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var J=function(C){(0,U.default)(_default,C);var T=_createSuper(_default);function _default(C){var B;return(0,L.default)(this,_default),(B=T.call(this,C)).component=$e.components.register(new K.default({manager:(0,W.default)(B)})),B.isDocked=!1,B.setSize(),B.indicators={customPosition:{title:$("Custom Positioning","elementor"),icon:"cursor-move",settingKeys:["_position"],section:"_section_position"}},B.ensurePosition=B.ensurePosition.bind((0,W.default)(B)),B.listenTo(elementor.channels.dataEditMode,"switch",B.onEditModeSwitched),elementor.on("document:loaded",B.onDocumentLoaded.bind((0,W.default)(B))),elementor.on("document:unloaded",B.onDocumentUnloaded.bind((0,W.default)(B))),B}return(0,q.default)(_default,[{key:"getStorageKey",value:function getStorageKey(){return"navigator"}},{key:"getDefaultStorage",value:function getDefaultStorage(){return{visible:!0,size:{width:"",height:"",top:"",bottom:"",right:"",left:""}}}},{key:"getLayout",value:function getLayout(){return this.currentView}},{key:"getDraggableOptions",value:function getDraggableOptions(){return{iframeFix:!0,handle:"#elementor-navigator__header",drag:this.onDrag.bind(this),stop:this.onDragStop.bind(this)}}},{key:"getResizableOptions",value:function getResizableOptions(){var C=this;return{handles:"all",containment:"document",minWidth:150,maxWidth:500,minHeight:240,start:function start(){elementor.$previewWrapper.addClass("ui-resizable-resizing")},stop:function stop(){elementor.$previewWrapper.removeClass("ui-resizable-resizing"),C.isDocked?(C.storage.size.width=elementor.helpers.getElementInlineStyle(C.$el,["width"]).width,elementorCommon.storage.set("navigator",C.storage)):C.saveSize()},resize:function resize(T,B){C.setSize(B.size.width+"px")}}}},{key:"initLayout",value:function initLayout(){this.show(new Q.default),this.$el.draggable(this.getDraggableOptions()),this.$el.resizable(this.getResizableOptions())}},{key:"open",value:function open(C){this.$el.show(),this.setSize(),this.storage.docked&&this.dock(),C&&C.trigger("request:edit"),this.saveStorage("visible",!0),this.ensurePosition(),elementorCommon.elements.$window.on("resize",this.ensurePosition)}},{key:"close",value:function close(C){this.$el.hide(),this.isDocked&&this.undock(!0),C||this.saveStorage("visible",!1),this.$el.resizable("instance")&&this.$el.resizable("destroy"),elementorCommon.elements.$window.off("resize",this.ensurePosition)}},{key:"isOpen",value:function isOpen(){return this.$el.is(":visible")}},{key:"dock",value:function dock(){elementorCommon.elements.$body.addClass("elementor-navigator-docked"),this.setSize();var C=this.getResizableOptions();this.$el.css({height:"",top:"",bottom:"",left:"",right:""}),this.$el.resizable("instance")&&this.$el.resizable("destroy"),C.handles=elementorCommon.config.isRTL?"e":"w",this.$el.resizable(C),this.isDocked=!0,this.saveStorage("docked",!0)}},{key:"undock",value:function undock(C){elementorCommon.elements.$body.removeClass("elementor-navigator-docked"),this.setSize(),elementor.$previewWrapper.css(elementorCommon.config.isRTL?"left":"right",""),this.$el.resizable("instance")&&(this.$el.resizable("destroy"),this.$el.resizable(this.getResizableOptions())),this.isDocked=!1,C||this.saveStorage("docked",!1)}},{key:"setSize",value:function setSize(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.storage.size.width=C||(this.storage.size.width||elementorCommon.elements.$body.css("--e-editor-navigator-width")),elementorCommon.elements.$body.css("--e-editor-navigator-width",this.storage.size.width),this.$el.css("width","")}},{key:"ensurePosition",value:function ensurePosition(){if(!this.isDocked){var C=this.$el.offset();C.left>innerWidth&&this.$el.css({left:"",right:""}),C.top>innerHeight&&this.$el.css({top:"",bottom:""})}}},{key:"onDrag",value:function onDrag(C,T){if(this.isDocked)if(T.position.left===T.originalPosition.left){if(T.position.top!==T.originalPosition.top)return!1}else this.undock();else{0>T.position.top&&(T.position.top=0);var B=0>T.position.left,$=T.position.left+this.el.offsetWidth>innerWidth;elementorCommon.config.isRTL?$&&(T.position.left=innerWidth-this.el.offsetWidth):B&&(T.position.left=0),elementorCommon.elements.$body.toggleClass("elementor-navigator--dock-hint",elementorCommon.config.isRTL?B:$)}}},{key:"onDragStop",value:function onDragStop(C,T){if(!this.isDocked){this.saveSize();var B=T.position.left+this.el.offsetWidth;(0>T.position.left||B>innerWidth)&&this.dock(),elementorCommon.elements.$body.removeClass("elementor-navigator--dock-hint")}}},{key:"onEditModeSwitched",value:function onEditModeSwitched(C){["edit","picker"].includes(C)&&this.storage.visible?this.open():this.close(!0)}},{key:"onDocumentLoaded",value:function onDocumentLoaded(C){C.config.panel.has_elements&&(this.initLayout(),!1!==this.storage.visible&&$e.route("navigator"))}},{key:"onDocumentUnloaded",value:function onDocumentUnloaded(){this.component.isOpen&&this.component.close(!0)}}]),_default}(B(89283));T.default=J},14391:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-navigator__root--empty"}},{key:"className",value:function className(){return"elementor-nerd-box"}}]),_default}(Marionette.ItemView);T.default=H},56676:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ChangeDeviceMode=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(ChangeDeviceMode,C);var T=_createSuper(ChangeDeviceMode);function ChangeDeviceMode(){return(0,V.default)(this,ChangeDeviceMode),T.apply(this,arguments)}return(0,L.default)(ChangeDeviceMode,[{key:"apply",value:function apply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=elementor.breakpoints.getActiveBreakpointsList({largeToSmall:!0,withDesktop:!0}),B=C.device;if(!B){var $=elementor.channels.deviceMode.request("currentMode"),V=T.indexOf($);++V>=T.length&&(V=0),B=T[V]}elementor.changeDeviceMode(B)}}]),ChangeDeviceMode}($e.modules.CommandBase);T.ChangeDeviceMode=H;var G=H;T.default=G},37427:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Close=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Close,C);var T=_createSuper(Close);function Close(){return(0,V.default)(this,Close),T.apply(this,arguments)}return(0,L.default)(Close,[{key:"apply",value:function apply(){elementor.changeEditMode("preview")}}]),Close}($e.modules.CommandBase);T.Close=H;var G=H;T.default=G},52749:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.EditorPreferences=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(EditorPreferences,C);var T=_createSuper(EditorPreferences);function EditorPreferences(){return(0,V.default)(this,EditorPreferences),T.apply(this,arguments)}return(0,L.default)(EditorPreferences,[{key:"apply",value:function apply(){$e.route("panel/editor-preferences")}}]),EditorPreferences}($e.modules.CommandBase);T.EditorPreferences=H;var G=H;T.default=G},95042:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Exit=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Exit,C);var T=_createSuper(Exit);function Exit(){return(0,V.default)(this,Exit),T.apply(this,arguments)}return(0,L.default)(Exit,[{key:"apply",value:function apply(){$e.route("panel/menu")}}]),Exit}($e.modules.CommandBase);T.Exit=H;var G=H;T.default=G},1546:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"ChangeDeviceMode",{enumerable:!0,get:function get(){return $.ChangeDeviceMode}}),Object.defineProperty(T,"Close",{enumerable:!0,get:function get(){return q.Close}}),Object.defineProperty(T,"EditorPreferences",{enumerable:!0,get:function get(){return L.EditorPreferences}}),Object.defineProperty(T,"Exit",{enumerable:!0,get:function get(){return W.Exit}}),Object.defineProperty(T,"Open",{enumerable:!0,get:function get(){return U.Open}}),Object.defineProperty(T,"PageSettings",{enumerable:!0,get:function get(){return V.PageSettings}}),Object.defineProperty(T,"Publish",{enumerable:!0,get:function get(){return H.Publish}}),Object.defineProperty(T,"Save",{enumerable:!0,get:function get(){return G.Save}}),Object.defineProperty(T,"Toggle",{enumerable:!0,get:function get(){return K.Toggle}});var $=B(56676),V=B(35890),L=B(52749),q=B(37427),W=B(95042),U=B(31778),H=B(20491),G=B(51691),K=B(94002)},58391:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"OpenDefault",{enumerable:!0,get:function get(){return $.OpenDefault}}),Object.defineProperty(T,"StateLoading",{enumerable:!0,get:function get(){return V.StateLoading}}),Object.defineProperty(T,"StateReady",{enumerable:!0,get:function get(){return L.StateReady}});var $=B(71951),V=B(76073),L=B(91563)},71951:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.OpenDefault=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(OpenDefault,C);var T=_createSuper(OpenDefault);function OpenDefault(){return(0,V.default)(this,OpenDefault),T.apply(this,arguments)}return(0,L.default)(OpenDefault,[{key:"apply",value:function apply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return $e.route(elementor.documents.getCurrent().config.panel.default_route,C),Promise.resolve()}}]),OpenDefault}($e.modules.CommandInternalBase);T.OpenDefault=H;var G=H;T.default=G},76073:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.StateLoading=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(StateLoading,C);var T=_createSuper(StateLoading);function StateLoading(){return(0,V.default)(this,StateLoading),T.apply(this,arguments)}return(0,L.default)(StateLoading,[{key:"apply",value:function apply(){elementorCommon.elements.$body.addClass("elementor-panel-loading")}}]),StateLoading}($e.modules.CommandInternalBase);T.StateLoading=H;var G=H;T.default=G},91563:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.StateReady=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(StateReady,C);var T=_createSuper(StateReady);function StateReady(){return(0,V.default)(this,StateReady),T.apply(this,arguments)}return(0,L.default)(StateReady,[{key:"apply",value:function apply(){elementorCommon.elements.$body.removeClass("elementor-panel-loading"),this.component.stateReadyOnce||(this.component.stateReadyOnce=!0,$e.extras.hashCommands.runOnce())}}]),StateReady}($e.modules.CommandInternalBase);T.StateReady=H;var G=H;T.default=G},31778:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Open=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Open,C);var T=_createSuper(Open);function Open(){return(0,V.default)(this,Open),T.apply(this,arguments)}return(0,L.default)(Open,[{key:"apply",value:function apply(){elementor.changeEditMode("edit")}}]),Open}($e.modules.CommandBase);T.Open=H;var G=H;T.default=G},35890:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.PageSettings=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(PageSettings,C);var T=_createSuper(PageSettings);function PageSettings(){return(0,V.default)(this,PageSettings),T.apply(this,arguments)}return(0,L.default)(PageSettings,[{key:"apply",value:function apply(){$e.route("panel/page-settings/settings")}}]),PageSettings}($e.modules.CommandBase);T.PageSettings=H;var G=H;T.default=G},20491:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Publish=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Publish,C);var T=_createSuper(Publish);function Publish(){return(0,V.default)(this,Publish),T.apply(this,arguments)}return(0,L.default)(Publish,[{key:"apply",value:function apply(){$e.run("document/save/publish")}}]),Publish}($e.modules.CommandBase);T.Publish=H;var G=H;T.default=G},51691:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Save=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Save,C);var T=_createSuper(Save);function Save(){return(0,V.default)(this,Save),T.apply(this,arguments)}return(0,L.default)(Save,[{key:"apply",value:function apply(){$e.run("document/save/draft")}}]),Save}($e.modules.CommandBase);T.Save=H;var G=H;T.default=G},94002:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Toggle=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Toggle,C);var T=_createSuper(Toggle);function Toggle(){return(0,V.default)(this,Toggle),T.apply(this,arguments)}return(0,L.default)(Toggle,[{key:"apply",value:function apply(){elementor.getPanelView().modeSwitcher.currentView.toggleMode()}}]),Toggle}($e.modules.CommandBase);T.Toggle=H;var G=H;T.default=G},43033:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(77266)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(93231)),Q=$(B(42538)),J=$(B(48427)),Y=$(B(75238)),X=_interopRequireWildcard(B(1546)),Z=_interopRequireWildcard(B(58391));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,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}function _classPrivateFieldInitSpec(C,T,B){!function _checkPrivateRedeclaration(C,T){if(T.has(C))throw new TypeError("Cannot initialize the same private elements twice on an object")}(C,T),T.set(C,B)}var ee=new WeakMap,te=function(C){(0,U.default)(Component,C);var T=_createSuper(Component);function Component(){var C;(0,L.default)(this,Component);for(var B=arguments.length,$=new Array(B),V=0;V<B;V++)$[V]=arguments[V];return C=T.call.apply(T,[this].concat($)),(0,K.default)((0,W.default)(C),"stateReadyOnce",!1),_classPrivateFieldInitSpec((0,W.default)(C),ee,{writable:!0,value:!1}),C}return(0,q.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"panel"}},{key:"defaultRoutes",value:function defaultRoutes(){var C=this;return{menu:function menu(){return C.manager.setPage("menu")},"global-colors":function globalColors(){return C.manager.setPage("colorScheme")},"global-fonts":function globalFonts(){return C.manager.setPage("typographyScheme")},"editor-preferences":function editorPreferences(){return C.manager.setPage("editorPreferences_settings").activateTab("settings")}}}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return this.importCommands(Z)}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(X)}},{key:"defaultShortcuts",value:function defaultShortcuts(){var C=this;return{toggle:{keys:"ctrl+p",dependency:function dependency(){return!C.isUserInteractionsBlocked()}},save:{keys:"ctrl+s"},exit:{keys:"esc",dependency:function dependency(){return!jQuery(".dialog-widget:visible").length},scopes:["panel","preview"]},"change-device-mode":{keys:"ctrl+shift+m"},"page-settings":{keys:"ctrl+shift+y"},"editor-preferences":{keys:"ctrl+shift+u"}}}},{key:"blockUserInteractions",value:function blockUserInteractions(){elementor.panel.$el.addClass("e-panel-block-interactions"),(0,J.default)(this,ee,!0)}},{key:"unblockUserInteractions",value:function unblockUserInteractions(){elementor.panel.$el.removeClass("e-panel-block-interactions"),(0,J.default)(this,ee,!1)}},{key:"isUserInteractionsBlocked",value:function isUserInteractionsBlocked(){return(0,Q.default)(this,ee)}}]),Component}(Y.default);T.default=te},75483:(C,T,B)=>{"use strict";var $,V=B(38003).__,L=B(73203)(B(73308));$=Marionette.ItemView.extend({template:"#tmpl-elementor-mode-switcher-content",id:"elementor-mode-switcher-inner",ui:{previewButton:"#elementor-mode-switcher-preview-input",previewLabel:"#elementor-mode-switcher-preview",previewLabelIcon:"#elementor-mode-switcher-preview i",previewLabelA11yText:"#elementor-mode-switcher-preview .elementor-screen-only"},events:{"change @ui.previewButton":"onPreviewButtonChange","keyup @ui.previewLabelIcon":"onPreviewButtonKeyUp"},initialize:function initialize(){this.listenTo(elementor.channels.dataEditMode,"switch",this.onEditModeChanged)},getCurrentMode:function getCurrentMode(){return this.ui.previewButton.is(":checked")?"preview":"edit"},setMode:function setMode(C){this.ui.previewButton.prop("checked","preview"===C).trigger("change")},toggleMode:function toggleMode(){this.setMode(this.ui.previewButton.prop("checked")?"edit":"preview")},onRender:function onRender(){this.onEditModeChanged()},onPreviewButtonKeyUp:function onPreviewButtonKeyUp(C){13===C.keyCode&&(this.toggleMode(),this.onPreviewButtonChange())},onPreviewButtonChange:function onPreviewButtonChange(){var C=this.getCurrentMode();if("edit"===C)$e.run("panel/open");else{if("preview"!==C)throw Error("Invalid mode: '".concat(C,"'"));$e.run("panel/close")}},onEditModeChanged:function onEditModeChanged(C){var T=L.default.mac?"⌘":"Ctrl",B=V("preview"===C?"Show Panel":"Hide Panel","elementor");B+=" (".concat(T," + P)"),this.ui.previewLabel.attr("title",B),this.ui.previewLabelA11yText.text(B)}}),C.exports=$},77776:C=>{"use strict";C.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-footer-content",tagName:"nav",id:"elementor-panel-footer-tools",possibleRotateModes:["portrait","landscape"],ui:{menuButtons:".elementor-panel-footer-tool",settings:"#elementor-panel-footer-settings",deviceModeIcon:"#elementor-panel-footer-responsive",saveTemplate:"#elementor-panel-footer-sub-menu-item-save-template",history:"#elementor-panel-footer-history",navigator:"#elementor-panel-footer-navigator"},events:{"click @ui.menuButtons":"onMenuButtonsClick","click @ui.settings":"onSettingsClick","click @ui.deviceModeIcon":"onDeviceModeIconClick","click @ui.saveTemplate":"onSaveTemplateClick","click @ui.history":"onHistoryClick","click @ui.navigator":"onNavigatorClick"},behaviors:function behaviors(){var behaviors={saver:{behaviorClass:elementor.modules.components.saver.behaviors.FooterSaver}};return elementor.hooks.applyFilters("panel/footer/behaviors",behaviors,this)},initialize:function initialize(){this.listenTo(elementor.channels.deviceMode,"change",this.onDeviceModeChange)},addSubMenuItem:function addSubMenuItem(C,T){var B=jQuery("<div>",{id:"elementor-panel-footer-sub-menu-item-"+T.name,class:"elementor-panel-footer-sub-menu-item"}),$=jQuery("<i>",{class:"elementor-icon "+T.icon,"aria-hidden":!0}),V=jQuery("<div>",{class:"elementor-title"}).text(T.title);if(B.append($,V),T.description){var L=jQuery("<div>",{class:"elementor-description"}).text(T.description);B.append(L)}T.callback&&B.on("click",T.callback);var q=this.ui.menuButtons.filter("#elementor-panel-footer-"+C);if(T.before){var W=q.find("#elementor-panel-footer-sub-menu-item-"+T.before);if(W.length)return B.insertBefore(W)}var U=q.find(".elementor-panel-footer-sub-menu");return B.appendTo(U)},removeSubMenuItem:function removeSubMenuItem(C,T){return jQuery("#elementor-panel-footer-sub-menu-item-"+T.name).remove()},showSettingsPage:function showSettingsPage(){$e.route("panel/page-settings/settings")},onMenuButtonsClick:function onMenuButtonsClick(C){var T=jQuery(C.currentTarget);if(T.hasClass("elementor-toggle-state")&&!jQuery(C.target).closest(".elementor-panel-footer-sub-menu-item").length){var B=T.hasClass("e-open");this.ui.menuButtons.not(".elementor-leave-open").removeClass("e-open"),B||T.addClass("e-open")}},onSettingsClick:function onSettingsClick(){$e.route("panel/page-settings/settings")},onDeviceModeIconClick:function onDeviceModeIconClick(){if(elementor.isDeviceModeActive())elementor.changeDeviceMode("desktop"),elementor.exitDeviceMode();else{var C="default"===elementor.getPreferences("default_device_view")?"desktop":elementor.getPreferences("default_device_view");elementor.changeDeviceMode(C),"desktop"===C&&elementor.enterDeviceMode()}},onSaveTemplateClick:function onSaveTemplateClick(){$e.route("library/save-template")},onHistoryClick:function onHistoryClick(){$e.route("panel/history/actions")},onNavigatorClick:function onNavigatorClick(){$e.run("navigator/toggle")}})},79913:C=>{"use strict";var T;T=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-header",id:"elementor-panel-header",ui:{menuButton:"#elementor-panel-header-menu-button",menuIcon:"#elementor-panel-header-menu-button i",title:"#elementor-panel-header-title",addButton:"#elementor-panel-header-add-button"},events:{"click @ui.addButton":"onClickAdd","click @ui.menuButton":"onClickMenu"},behaviors:function behaviors(){return elementor.hooks.applyFilters("panel/header/behaviors",{},this)},setTitle:function setTitle(C){this.ui.title.html(C)},onClickAdd:function onClickAdd(){$e.route("panel/elements/categories")},onClickMenu:function onClickMenu(){$e.routes.is("panel/menu")?$e.route("panel/elements/categories"):$e.route("panel/menu")}}),C.exports=T},31302:(C,T,B)=>{"use strict";var $,V=B(73203),L=V(B(43033)),q=V(B(93731)),W=V(B(44729)),U=B(75483);$=Marionette.LayoutView.extend({template:"#tmpl-elementor-panel",id:"elementor-panel-inner",regions:{content:"#elementor-panel-content-wrapper",header:"#elementor-panel-header-wrapper",footer:"#elementor-panel-footer",modeSwitcher:"#elementor-mode-switcher"},pages:{},childEvents:{"click:add":function clickAdd(){$e.route("panel/elements/categories")},"editor:destroy":function editorDestroy(){$e.route("panel/elements/categories",{autoFocusSearch:!1})}},currentPageName:null,currentPageView:null,perfectScrollbar:null,initialize:function initialize(){$e.components.register(new L.default({manager:this})),$e.internal("panel/state-loading"),$e.components.register(new q.default({manager:this})),$e.components.register(new W.default({manager:this})),this.initPages()},buildPages:function buildPages(){return{elements:{view:B(20526),title:'<img src="'+elementorCommon.config.urls.assets+'images/logo-panel.svg">'},editor:{view:B(27108)},menu:{view:elementor.modules.layouts.panel.pages.menu.Menu,title:'<img src="'+elementorCommon.config.urls.assets+'images/logo-panel.svg">'}}},initPages:function initPages(){var C;this.getPages=function(T){return C||(C=this.buildPages()),T?C[T]:C},this.addPage=function(T,B){C||(C=this.buildPages()),C[T]=B}},getHeaderView:function getHeaderView(){return this.getChildView("header")},getFooterView:function getFooterView(){return this.getChildView("footer")},getCurrentPageName:function getCurrentPageName(){return this.currentPageName},getCurrentPageView:function getCurrentPageView(){return this.currentPageView},setPage:function setPage(C,T,B){var $=this.getPages();"elements"!==C||elementor.userCan("design")||$.page_settings&&(C="page_settings");var V=$[C];if(!V)throw new ReferenceError("Elementor panel doesn't have page named '"+C+"'");V.options&&(B=_.extend(V.options,B));var L=V.view;return V.getView&&(L=V.getView()),this.currentPageName=C,this.currentPageView=new L(B),this.showChildView("content",this.currentPageView),this.getHeaderView().setTitle(T||V.title),this.trigger("set:page",this.currentPageView).trigger("set:page:"+C,this.currentPageView),elementor.promotion.dialog&&elementor.promotion.dialog.hide(),this.currentPageView},onBeforeShow:function onBeforeShow(){var C=B(77776),T=B(79913);this.showChildView("modeSwitcher",new U),this.showChildView("header",new T),this.showChildView("footer",new C),this.updateScrollbar=_.throttle(this.updateScrollbar,100),this.getRegion("content").on("before:show",this.onEditorBeforeShow.bind(this)).on("empty",this.onEditorEmpty.bind(this)).on("show",this.updateScrollbar.bind(this))},onEditorBeforeShow:function onEditorBeforeShow(){_.defer(this.updateScrollbar.bind(this))},onEditorEmpty:function onEditorEmpty(){this.updateScrollbar()},updateScrollbar:function updateScrollbar(){if(!this.perfectScrollbar)return this.perfectScrollbar=new PerfectScrollbar(this.content.el,{suppressScrollX:!0}),void(this.perfectScrollbar.isRtl=!1);this.perfectScrollbar.update()}}),C.exports=$},27108:C=>{"use strict";var T,B=elementorModules.editor.views.ControlsStack;T=B.extend({template:Marionette.TemplateCache.get("#tmpl-editor-content"),id:"elementor-panel-page-editor",childViewContainer:"#elementor-controls",childViewOptions:function childViewOptions(){return{element:this.getOption("editedElementView"),container:this.getOption("editedElementView").getContainer(),elementSettingsModel:this.model.get("settings"),elementEditSettings:this.model.get("editSettings")}},getNamespaceArray:function getNamespaceArray(){var C=elementorModules.editor.views.ControlsStack.prototype.getNamespaceArray(),T=this.getOption("editedElementView").getEditModel(),B=T.get("elType");return C.push(B),"widget"===B&&C.push(T.get("widgetType")),C},initialize:function initialize(){B.prototype.initialize.apply(this,arguments);var C=this.model.get("editSettings");if(C){var T=C.get("panel");T&&(this.activeTab=T.activeTab,this.activeSection=T.activeSection)}},activateSection:function activateSection(){return B.prototype.activateSection.apply(this,arguments),this.model.get("editSettings").set("panel",{activeTab:this.activeTab,activeSection:this.activeSection}),this},openActiveSection:function openActiveSection(){B.prototype.openActiveSection.apply(this,arguments),elementor.channels.editor.trigger("section:activated",this.activeSection,this)},isVisibleSectionControl:function isVisibleSectionControl(C){return B.prototype.isVisibleSectionControl.apply(this,arguments)&&elementor.helpers.isActiveControl(C,this.model.get("settings").attributes,this.model.get("settings").controls)},scrollToEditedElement:function scrollToEditedElement(){elementor.helpers.scrollToView(this.getOption("editedElementView").$el)},onDestroy:function onDestroy(){this.model.trigger("editor:close"),this.triggerMethod("editor:destroy")},onDeviceModeChange:function onDeviceModeChange(){B.prototype.onDeviceModeChange.apply(this,arguments),this.scrollToEditedElement()},onChildviewSettingsChange:function onChildviewSettingsChange(C){var T=this.getOption("editedElementView"),B=T.model.get("elType");"widget"===B&&(B=T.model.get("widgetType")),elementor.channels.editor.trigger("change",C,T).trigger("change:"+B,C,T).trigger("change:"+B+":"+C.model.get("name"),C,T)}}),C.exports=T},23489:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Open",{enumerable:!0,get:function get(){return $.Open}});var $=B(90160)},90160:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Open=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Open,C);var T=_createSuper(Open);function Open(){return(0,V.default)(this,Open),T.apply(this,arguments)}return(0,L.default)(Open,[{key:"apply",value:function apply(C){this.component.setDefaultTab(C)?$e.route(this.component.getDefaultRoute(),C):(elementorDevTools.deprecation.deprecated("model.trigger( 'request:edit' )","2.9.0","editSettings.defaultEditRoute"),C.model.trigger("request:edit"));var T=C.model.get("elType"),B=C.model.get("widgetType");elementor.hooks.doAction("panel/open_editor/".concat(T),this.component.manager,C.model,C.view),elementor.hooks.doAction("panel/open_editor/".concat(T,"/").concat(B),this.component.manager,C.model,C.view)}}]),Open}($e.modules.CommandBase);T.Open=H;var G=H;T.default=G},44729:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(38003).sprintf,L=B(73203),q=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var W=L(B(78983)),U=L(B(42081)),H=L(B(51121)),G=L(B(58724)),K=L(B(71173)),Q=L(B(74910)),J=L(B(75238)),Y=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==q(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 L in C)if("default"!==L&&Object.prototype.hasOwnProperty.call(C,L)){var W=V?Object.getOwnPropertyDescriptor(C,L):null;W&&(W.get||W.set)?Object.defineProperty($,L,W):$[L]=C[L]}$.default=C,B&&B.set(C,$);return $}(B(23489)),X=B(63916);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 Z=function(C){(0,G.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,W.default)(this,Component),T.apply(this,arguments)}return(0,U.default)(Component,[{key:"__construct",value:function __construct(C){(0,H.default)((0,Q.default)(Component.prototype),"__construct",this).call(this,C),this.activeTabs={},this.activeModelId=null}},{key:"getNamespace",value:function getNamespace(){return"panel/editor"}},{key:"defaultTabs",value:function defaultTabs(){return{content:{title:$("Content","elementor")},style:{title:$("Style","elementor")},advanced:{title:$("Advanced","elementor")},layout:{title:$("Layout","elementor")}}}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(Y)}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return".elementor-panel-navigation"}},{key:"renderTab",value:function renderTab(C,T){var B,L,q,W=T.model,U=T.view,H=T.activeControl,G=null!=W&&null!==(B=W.attributes)&&void 0!==B&&null!==(L=B.custom)&&void 0!==L&&L.isPreset||null!=W&&null!==(q=W.changed)&&void 0!==q&&q.title?W.attributes.title:elementor.getElementData(W).title;W.attributes.settings.attributes.presetTitle&&(G=W.attributes.settings.attributes.presetTitle);var K=V($("Edit %s","elementor"),G);this.shouldRenderPage(C,T.model.id)&&(this.activeModelId=T.model.id,this.activeTabs[T.model.id]=C,elementor.getPanelView().setPage("editor",K,{tab:C,model:W,controls:elementor.getElementControls(W),editedElementView:U})),this.activateControl(H)}},{key:"shouldRenderPage",value:function shouldRenderPage(C,T){var B=elementor.getPanelView(),$="editor"===B.getCurrentPageName(),V=C===B.getCurrentPageView().activeTab,L=T===this.activeModelId;return!$||!V||!L}},{key:"setDefaultTab",value:function setDefaultTab(C){var T,B=C.model.get("editSettings");if(this.activeTabs[C.model.id]?T=this.activeTabs[C.model.id]:B&&B.get("defaultEditRoute")&&(T=B.get("defaultEditRoute")),T){var $=elementor.getElementData(C.model).tabs_controls;return $[T]||(T=Object.keys($)[0]),this.setDefaultRoute(T),!0}return!1}},{key:"onRoute",value:function onRoute(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,H.default)((0,Q.default)(Component.prototype),"onRoute",this).call(this,C);var B=T.view;null!=B&&B.getContainer()&&X.SetDirectionMode.set(B.getContainer())}},{key:"onCloseRoute",value:function onCloseRoute(C){(0,H.default)((0,Q.default)(Component.prototype),"onCloseRoute",this).call(this,C),$e.uiStates.remove("document/direction-mode")}}]),Component}(J.default);T.default=Z},19138:(C,T,B)=>{"use strict";var $,V=B(46617);$=Backbone.Collection.extend({model:V}),C.exports=$},21511:(C,T,B)=>{"use strict";var $,V=B(46617);$=Backbone.Collection.extend({model:V}),C.exports=$},93731:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(51121)),U=V(B(58724)),H=V(B(71173)),G=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,U.default)(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/elements"}},{key:"defaultTabs",value:function defaultTabs(){return{categories:{title:$("Elements","elementor")},global:{title:$("Global","elementor")}}}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return"#elementor-panel-elements-navigation"}},{key:"renderTab",value:function renderTab(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.manager.setPage("elements",null,T).showView(C)}},{key:"activateTab",value:function activateTab(C){(0,W.default)((0,G.default)(Component.prototype),"activateTab",this).call(this,C),elementor.editorEvents.dispatchEvent(elementor.editorEvents.config.names.v1[C],{location:elementor.editorEvents.config.locations.widgetPanel,secondaryLocation:elementor.editorEvents.config.secondaryLocations[C],trigger:elementor.editorEvents.config.triggers.click,element:elementor.editorEvents.config.elements.accordionSection})}}]),Component}(V(B(19263)).default);T.default=K},20526:(C,T,B)=>{"use strict";var $=B(73203),V=$(B(7501)),L=$(B(93231)),q=$(B(40131));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}var W,U=B(19138),H=B(21511),G=B(9951),K=elementor.modules.layouts.panel.pages.elements.views.Elements,Q=B(77106),J=B(56345);W=Marionette.LayoutView.extend({template:"#tmpl-elementor-panel-elements",id:"elementor-panel-page-elements",options:{autoFocusSearch:!0},regions:{elements:"#elementor-panel-elements-wrapper",search:"#elementor-panel-elements-search-area",notice:"#elementor-panel-elements-notice-area"},regionViews:{},elementsCollection:null,categoriesCollection:null,initialize:function initialize(){this.listenTo(elementor.channels.panelElements,"element:selected",this.destroy),this.initElementsCollection(),this.initCategoriesCollection(),this.initRegionViews()},initRegionViews:function initRegionViews(){var C={elements:{region:this.elements,view:K,options:{collection:this.elementsCollection}},categories:{region:this.elements,view:G,options:{collection:this.categoriesCollection}},search:{region:this.search,view:Q},global:{region:this.elements,view:J}};this.regionViews=elementor.hooks.applyFilters("panel/elements/regionViews",C,{notice:this.notice,elements:this.elements,search:this.search})},initElementsCollection:function initElementsCollection(){var C=this,T=new H;Object.entries(elementor.widgetsCache).forEach((function(C){var T=(0,q.default)(C,2),B=T[0],$=T[1];$.deprecation&&elementor.widgetsCache[$.deprecation.replacement]&&(elementor.widgetsCache[B].show_in_panel=!1)})),_.each(elementor.widgetsCache,(function(B){elementor.config.document.panel.widgets_settings[B.widget_type]&&(B=_.extend(B,elementor.config.document.panel.widgets_settings[B.widget_type])),C.shouldAddWidget(B)&&T.add(C.getCollectionItem(B))})),jQuery.each(elementor.config.promotionWidgets,(function(C,B){T.add({name:B.name,title:B.title,icon:B.icon,categories:JSON.parse(B.categories),editable:!1})})),elementorCommon.config.experimentalFeatures.container&&jQuery.each(elementor.config.elementsPresets,(function(B,$){var V=elementor.widgetsCache[$.replacements.custom.originalWidget],L=$.replacements,q=C.deepMerge(V,L);C.shouldAddWidget(q)&&T.add(C.getCollectionItem(q))})),this.elementsCollection=T},getCollectionItem:function getCollectionItem(C){return{title:C.title,elType:C.elType,categories:C.categories,keywords:C.keywords,icon:C.icon,widgetType:C.widget_type,custom:C.custom,editable:C.editable,hideOnSearch:C.hide_on_search}},initCategoriesCollection:function initCategoriesCollection(){var C={};this.elementsCollection.each((function(T){_.each(T.get("categories"),(function(B){C[B]||(C[B]=[]),C[B].push(T)}))}));var T=new U;_.each(elementor.config.document.panel.elements_categories,(function(B,$){var V;void 0===B.active&&(B.active=!0),void 0===B.icon&&(B.icon="font"),T.add({name:$,title:B.title,icon:B.icon,defaultActive:B.active,sort:B.sort,hideIfEmpty:void 0===B.hideIfEmpty||B.hideIfEmpty,items:C[$],promotion:null!==(V=B.promotion)&&void 0!==V?V:null})})),this.categoriesCollection=T},shouldAddWidget:function shouldAddWidget(C){var T=elementorCommon.config.experimentalFeatures.container;return C.show_in_panel&&("inner-section"!==C.name||!T)},deepMerge:function deepMerge(C,T){var B=function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,L.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}({},C);for(var $ in T)this.deepMergeKey(B,C,T,$);return B},deepMergeKey:function deepMergeKey(C,T,B,$){if(B.hasOwnProperty($)){var L="object"===(0,V.default)(B[$])&&null!==B[$]&&T.hasOwnProperty($)&&"object"===(0,V.default)(T[$])&&null!==T[$];C[$]=L?this.deepMerge(T[$],B[$]):B[$]}},showView:function showView(C){if($e.components.get("document/elements").utils.allowAddingWidgets()){var T=this.regionViews[C],B=T.options||{};T.region.show(new T.view(B))}},clearSearchInput:function clearSearchInput(){this.getChildView("search").clearInput()},changeFilter:function changeFilter(C){elementor.channels.panelElements.reply("filter:value",C).trigger("filter:change")},clearFilters:function clearFilters(){this.changeFilter(null),this.clearSearchInput()},focusSearch:function focusSearch(){elementor.userCan("design")&&this.search&&this.search.currentView&&this.search.currentView.ui.input.focus()},onChildviewChildrenRender:function onChildviewChildrenRender(){elementor.getPanelView().updateScrollbar()},onChildviewSearchChangeInput:function onChildviewSearchChangeInput(C){this.changeFilter(C.ui.input.val(),"search")},onDestroy:function onDestroy(){elementor.channels.panelElements.reply("filter:value",null)},onShow:function onShow(){this.showView("search"),this.options.autoFocusSearch&&setTimeout(this.focusSearch.bind(this))}}),C.exports=W},46617:C=>{"use strict";var T;T=Backbone.Model.extend({defaults:{title:"",categories:[],keywords:[],icon:"",elType:"widget",widgetType:""}}),C.exports=T},9951:(C,T,B)=>{"use strict";var $,V=B(97088);$=Marionette.CompositeView.extend({template:"#tmpl-elementor-panel-categories",childView:V,childViewContainer:"#elementor-panel-categories",id:"elementor-panel-elements-categories",initialize:function initialize(){this.listenTo(elementor.channels.panelElements,"filter:change",this.onPanelElementsFilterChange)},onPanelElementsFilterChange:function onPanelElementsFilterChange(){elementor.channels.panelElements.request("filter:value")&&elementor.getPanelView().getCurrentPageView().showView("elements")}}),C.exports=$},97088:(C,T,B)=>{"use strict";var $,V=B(21511);$=Marionette.CompositeView.extend({template:"#tmpl-elementor-panel-elements-category",className:"elementor-panel-category",ui:{title:".elementor-panel-category-title",items:".elementor-panel-category-items"},events:{"click @ui.title":"onTitleClick"},id:function id(){return"elementor-panel-category-"+this.model.get("name")},childView:B(25232),childViewContainer:".elementor-panel-category-items",initialize:function initialize(){var C=this.model.get("items")||[];if("a-z"===this.model.get("sort"))C=C.sort((function(C,T){return C.get("title")>T.get("title")?1:-1}));this.collection=new V(C)},behaviors:function behaviors(){return elementor.hooks.applyFilters("panel/category/behaviors",{},this)},onRender:function onRender(){var C=elementor.channels.panelElements.request("category:"+this.model.get("name")+":active");void 0===C&&(C=this.model.get("defaultActive")),!this.collection.length&&this.model.get("hideIfEmpty")&&this.$el.css("display","none"),C?this.$el.addClass("elementor-active"):this.ui.items.css("display","none")},onTitleClick:function onTitleClick(){var C;this.toggle(),elementor.editorEvents.dispatchEvent(null===(C=elementor.editorEvents.config.names[this.model.get("name")])||void 0===C?void 0:C.v1,{location:elementor.editorEvents.config.locations.widgetPanel,secondaryLocation:elementor.editorEvents.config.secondaryLocations[this.model.get("name")],trigger:elementor.editorEvents.config.triggers.accordionClick,element:elementor.editorEvents.config.elements.accordionSection})},toggle:function toggle(C){var T=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],B=this.ui.items,$="elementor-active",V=void 0!==C?!C:this.$el.hasClass($),L=V?"hide":"show",q=V?"slideUp":"slideDown",W=function updateScrollbar(){return elementor.getPanelView().updateScrollbar()};elementor.channels.panelElements.reply("category:"+this.model.get("name")+":active",!V),this.$el.toggleClass($,!V),T?B[q](300,W):B[L](0,W)}}),C.exports=$},25232:(C,T,B)=>{"use strict";var $=B(38003).sprintf,V=B(73203),L=V(B(93231)),q=V(B(40131)),W=V(B(81152));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<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,L.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}C.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-element-library-element",className:function className(){var className="elementor-element-wrapper";return this.isEditable()||(className+=" elementor-element--promotion"),className},events:function events(){var events={};return this.isEditable()||(events.mousedown="onMouseDown"),events},ui:{element:".elementor-element"},behaviors:function behaviors(){var C=elementor.hooks.applyFilters("panel/element/contextMenuGroups",[],this),behaviors={};return C.length&&(behaviors.contextMenu={behaviorClass:W.default,context:"panel",groups:C}),elementor.hooks.applyFilters("panel/element/behaviors",behaviors,this)},isEditable:function isEditable(){return!1!==this.model.get("editable")},onRender:function onRender(){var C=this;elementor.userCan("design")&&this.isEditable()&&(this.ui.element.on("click",(function(){return C.addToPage()})),this.ui.element.html5Draggable({onDragStart:function onDragStart(){elementor.channels.editor.reply("element:dragged",null),elementor.channels.panelElements.reply("element:selected",C).trigger("element:drag:start")},onDragEnd:function onDragEnd(){elementor.channels.panelElements.trigger("element:drag:end")},groups:["elementor-element"]}))},onMouseDown:function onMouseDown(){var C=this.model.get("title"),T=this.model.get("name")||this.model.get("widgetType"),B=elementor.config.promotion.elements;elementor.promotion.showDialog({title:$(B.title,C),content:$(B.content,C),targetElement:this.el,position:{blockStart:"-7"},actionButton:{url:$(B.action_button.url,T),text:B.action_button.text,classes:B.action_button.classes||["elementor-button","go-pro"]}})},addToPage:function addToPage(){var C,T,B,$=this.getSelectedElements();if(!($.length>1)){var V=(0,q.default)($,1)[0],L={addToDocument:{check:function check(){return!V},getArgs:function getArgs(){return{view:elementor.getPreviewView(),options:{}}}},addToFirstColumn:{check:function check(){return"section"===V.model.get("elType")},getArgs:function getArgs(){var C;return{view:null===(C=V.view.children)||void 0===C?void 0:C.findByIndex(0),options:{}}}},addToParent:{check:function check(){return"widget"===V.model.get("elType")},getArgs:function getArgs(){var C=V.parent,T=V.model;return{view:C.view,options:{at:C.model.get("elements").findIndex(T)+1}}}},default:{check:function check(){return!0},getArgs:function getArgs(){return{view:V.view,options:{}}}}},W=(0,Object.values(L).find((function(C){return(0,C.check)()})).getArgs)(),U=W.view,H=W.options,G=U.getContainer();if(!G)throw new Error("View doesn't support adding from panel",U);null!==(C=null===(T=this.model.attributes)||void 0===T||null===(B=T.custom)||void 0===B?void 0:B.isPreset)&&void 0!==C&&C&&this.model.set("settings",this.model.get("custom").preset_settings),$e.run("preview/drop",{container:G,options:_objectSpread(_objectSpread({},H),{},{scrollIntoView:!0}),model:this.model.toJSON()})}},getSelectedElements:function getSelectedElements(){return elementor.selection.getElements().filter((function(C){var T,B=C.view;return null===(T=elementor.documents.getCurrent().$element)||void 0===T?void 0:T[0].contains(B.$el[0])}))}})},79349:(C,T,B)=>{"use strict";var $;$=Marionette.CollectionView.extend({childView:B(25232),id:"elementor-panel-elements",className:"elementor-responsive-panel",initialize:function initialize(){this.listenTo(elementor.channels.panelElements,"filter:change",this.onFilterChanged)},filter:function filter(C){var T=elementor.channels.panelElements.request("filter:value");if(!T)return!0;if(C.get("hideOnSearch"))return!1;if(-1!==C.get("title").toLowerCase().indexOf(T.toLowerCase()))return!0;var B=elementor.channels.panelElements.request("filter:localized")||"";return _.any(C.get("keywords"),(function(C){var $=-1!==(C=C.toLowerCase()).indexOf(T.toLowerCase()),V=B&&-1!==C.indexOf(B.toLowerCase());return $||V}))},onFilterChanged:function onFilterChanged(){elementor.channels.panelElements.request("filter:value")||this.onFilterEmpty(),this._renderChildren(),this.triggerMethod("children:render")},onFilterEmpty:function onFilterEmpty(){$e.routes.refreshContainer("panel")}}),C.exports=$},56345:C=>{"use strict";C.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-global",id:"elementor-panel-global",initialize:function initialize(){elementor.getPanelView().getCurrentPageView().search.reset()}})},77106:(C,T,B)=>{"use strict";var $=B(73203)(B(91442)),V=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-element-search",localizedValue:"",localizedValueStore:new $.default,tagName:"search",id:"elementor-panel-elements-search-wrapper",ui:{input:"input"},events:{"keydown @ui.input":"onInputChanged","input @ui.input":"onInputChanged"},clearInput:function clearInput(){this.ui.input.val("")},onInputChanged:function onInputChanged(C){27===C.keyCode&&this.clearInput(),this.localizedValue=this.localizedValueStore.appendAndParseLocalizedData(C),elementor.channels.panelElements.reply("filter:localized",this.localizedValue),this.triggerMethod("search:change:input")}});C.exports=V},86723:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(27414));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(MenuPageView,C);var T=_createSuper(MenuPageView);function MenuPageView(){return(0,V.default)(this,MenuPageView),T.apply(this,arguments)}return(0,L.default)(MenuPageView,[{key:"id",value:function id(){return"elementor-panel-page-menu"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-panel-menu"}},{key:"getChildView",value:function getChildView(){return H.default}},{key:"childViewContainer",value:function childViewContainer(){return"#elementor-panel-page-menu-content"}},{key:"filter",value:function filter(C){return C.get("items").length}}]),MenuPageView}(Marionette.CompositeView);T.default=G,G.addItem=function(C,T,B,$){var V=C.findWhere({name:B});if(V){var L,q=V.get("items"),W=_.findWhere(q,{name:T.name});W&&q.splice(q.indexOf(W),1),$&&(L=_.findWhere(q,{name:$})),L?q.splice(q.indexOf(L),0,T):q.push(T)}}},88507:(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(40131)),W=V(B(10029)),U=V(B(93231)),H=V(B(78983)),G=V(B(42081)),K=V(B(58724)),Q=V(B(71173)),J=V(B(74910)),Y=V(B(86723));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,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 X=function(C){(0,K.default)(PanelMenu,C);var T=_createSuper(PanelMenu);function PanelMenu(){return(0,H.default)(this,PanelMenu),T.apply(this,arguments)}return(0,G.default)(PanelMenu,[{key:"initialize",value:function initialize(){this.collection=PanelMenu.getGroups()}},{key:"getArrowClass",value:function getArrowClass(){return"eicon-chevron-"+(elementorCommon.config.isRTL?"right":"left")}},{key:"onRender",value:function onRender(){elementor.getPanelView().getHeaderView().ui.menuIcon.removeClass("eicon-menu-bar").addClass(this.getArrowClass())}},{key:"onDestroy",value:function onDestroy(){elementor.getPanelView().getHeaderView().ui.menuIcon.removeClass(this.getArrowClass()).addClass("eicon-menu-bar")}}]),PanelMenu}(Y.default);T.default=X,X.groups=null,X.initGroups=function(){X.groups=new Backbone.Collection([]),X.groups.add({name:"more",title:$("More","elementor"),items:[]}),X.groups.add({name:"navigate_from_page",title:$("Navigate From Page","elementor"),items:[{name:"view-page",icon:"eicon-preview-thin",title:$("View Page","elementor"),type:"link",link:elementor.config.document.urls.permalink}]}),elementor.config.user.is_administrator&&X.addAdminMenu(),X.addExitItem()},X.addAdminMenu=function(){X.groups.add({name:"style",title:$("Settings","elementor"),items:[{name:"editor-preferences",icon:"eicon-user-preferences",title:$("User Preferences","elementor"),type:"page",callback:function callback(){return $e.route("panel/editor-preferences")}}]},{at:0}),X.addItem({name:"finder",icon:"eicon-search",title:$("Finder","elementor"),callback:function callback(){return $e.route("finder")}},"navigate_from_page","view-page"),X.addItem({name:"apps",icon:"eicon-apps",title:$("Add-ons","elementor"),type:"link",link:elementor.config.admin_apps_url,newTab:!0},"navigate_from_page","finder")},X.addExitItem=function(){var C;!elementor.config.user.introduction.exit_to&&elementor.config.user.is_administrator?(X.exitShouldRedirect=!1,C={callback:function callback(){return X.clickExitItem()}}):C={type:"link",link:X.getExitUrl()},X.addItem(function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,U.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}({name:"exit",icon:"eicon-exit",title:$("Exit","elementor")},C),"navigate_from_page")},X.clickExitItem=function(){elementor.getPreferences("exit_to")!==elementor.settings.editorPreferences.getEditedView().getContainer().controls.exit_to.default||X.exitShouldRedirect?window.location.href=X.getExitUrl():X.createExitIntroductionDialog().show()},X.createExitIntroductionDialog=function(){for(var C,T=document.querySelector("#tmpl-elementor-exit-dialog"),B=elementor.settings.editorPreferences.getEditedView().getContainer().controls.exit_to.options,V=new elementorModules.editor.utils.Introduction({introductionKey:"exit_to",dialogType:"confirm",dialogOptions:{id:"elementor-change-exit-preference-dialog",className:"dialog-exit-preferences",headerMessage:$('New options for "Exit to..."',"elementor"),message:T.innerHTML,position:{my:"center center",at:"center center"},strings:{confirm:$("Apply","elementor"),cancel:$("Decide Later","elementor")},effects:{show:"fadeIn",hide:"fadeOut"},onShow:function onShow(){V.setViewed(),elementor.config.user.introduction.exit_to=!0,X.exitShouldRedirect=!0},onConfirm:(C=(0,W.default)(L.default.mark((function _callee(){return L.default.wrap((function _callee$(C){for(;;)switch(C.prev=C.next){case 0:return $e.run("document/elements/settings",{container:elementor.settings.editorPreferences.getEditedView().getContainer(),settings:{exit_to:H.value},options:{external:!0}}),C.next=3,elementor.settings.editorPreferences.save();case 3:window.location.href=X.getExitUrl();case 4:case"end":return C.stop()}}),_callee)}))),function onConfirm(){return C.apply(this,arguments)}),onCancel:function onCancel(){window.location.href=X.getExitUrl()}}}),U=V.getDialog().getElements().message[0],H=U.querySelector("#exit-to-preferences"),G=U.querySelector("#user-preferences"),K=0,Q=Object.entries(B);K<Q.length;K++){var J=(0,q.default)(Q[K],2),Y=J[0],Z=J[1],ee=document.createElement("option");ee.innerText=Z,ee.value=Y,H.appendChild(ee)}return G.addEventListener("click",(function(C){C.preventDefault(),V.getDialog().hide(),$e.route("panel/editor-preferences"),X.addExitItem()})),V},X.getExitUrl=function(){switch(elementor.getPreferences("exit_to")){case"dashboard":return elementor.config.document.urls.main_dashboard;case"all_posts":return elementor.config.document.urls.all_post_type;default:return elementor.config.document.urls.exit_to_dashboard}},X.getGroups=function(){return X.groups||X.initGroups(),X.groups},X.addItem=function(C,T,B){Y.default.addItem(X.getGroups(),C,T,B)}},27414:(C,T,B)=>{"use strict";var $=B(3325);C.exports=Marionette.CompositeView.extend({template:"#tmpl-elementor-panel-menu-group",className:"elementor-panel-menu-group",childView:$,childViewContainer:".elementor-panel-menu-items",initialize:function initialize(){this.collection=new Backbone.Collection(this.model.get("items"))},onChildviewClick:function onChildviewClick(C){var T=C.model.get("callback");_.isFunction(T)&&T.call(C)}})},3325:C=>{"use strict";C.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-menu-item",tagName:"button",className:function className(){return"elementor-panel-menu-item elementor-panel-menu-item-"+this.model.get("name")},triggers:{click:{event:"click",preventDefault:!1}}})},83536:(C,T,B)=>{"use strict";var $=B(89283);C.exports=$.extend({el:"#elementor-panel",getStorageKey:function getStorageKey(){return"panel"},getDefaultStorage:function getDefaultStorage(){return{size:{width:""}}},constructor:function constructor(){$.prototype.constructor.apply(this,arguments);var C=B(31302);this.show(new C),this.resizable(),this.setSize(),this.listenTo(elementor.channels.dataEditMode,"switch",this.onEditModeSwitched)},setSize:function setSize(){var C=this.storage.size.width;elementorCommon.elements.$body.css("--e-editor-panel-width",C)},resizable:function resizable(){var C=this;C.$el.resizable({handles:elementorCommon.config.isRTL?"w":"e",minWidth:200,maxWidth:680,start:function start(){elementor.$previewWrapper.addClass("ui-resizable-resizing")},stop:function stop(T,B){elementor.$previewWrapper.removeClass("ui-resizable-resizing"),elementor.getPanelView().updateScrollbar(),C.saveSize({width:B.size.width+"px"})},resize:function resize(T,B){elementorCommon.elements.$body.css("--e-editor-panel-width",B.size.width+"px"),C.$el.css({width:"",left:""})}})},onEditModeSwitched:function onEditModeSwitched(C){"edit"===C&&this.setSize()}})},65863:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(ColorPicker,C);var T=_createSuper(ColorPicker);function ColorPicker(){var C;(0,L.default)(this,ColorPicker);for(var B=arguments.length,$=new Array(B),V=0;V<B;V++)$[V]=arguments[V];return(C=T.call.apply(T,[this].concat($))).createPicker(),C}return(0,q.default)(ColorPicker,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{picker:{theme:"monolith",position:"bottom-middle",components:{opacity:!0,hue:!0,interaction:{input:!0,hex:!0,rgba:!0,hsla:!0}}},classes:{active:"elementor-active",pickerHeader:"elementor-color-picker__header",pickerToolsContainer:"e-color-picker__tools",pickerTool:"e-control-tool",clearButton:"e-color-picker__clear",plusIcon:"eicon-plus"}}}},{key:"createPicker",value:function createPicker(){var C=this,T=this.getSettings("picker");T.default=T.default||null,this.picker=new Pickr(T),this.picker.setColor(T.default||"#020101"),this.color=this.processColor(),this.picker.on("change",(function(){return C.onPickerChange()})).on("clear",(function(){return C.onPickerClear()})).on("show",(function(){return C.onPickerShow()})).on("hide",(function(){return C.onPickerHide()})),this.$pickerAppContainer=jQuery(this.picker.getRoot().app),this.createPickerHeader()}},{key:"addTipsyToClearButton",value:function addTipsyToClearButton(){this.$clearButton.tipsy({title:function title(){return $("Clear","elementor")},gravity:function gravity(){return"s"}})}},{key:"processColor",value:function processColor(){var C=this.picker.getColor();return(1===C.a?C.toHEXA():C.toRGBA()).toString()}},{key:"getColor",value:function getColor(){return this.color}},{key:"createPickerHeader",value:function createPickerHeader(){var C=this.getSettings().classes,T=jQuery("<div>",{class:C.pickerHeader}).text($("Color Picker","elementor")),B=jQuery("<div>",{class:C.pickerToolsContainer}),V=this.getSettings("addButton");this.$pickerToolsContainer=B,V&&this.createAddButton(),this.createClearButton(),B.append(this.$clearButton,this.$addButton),T.append(B),this.$pickerAppContainer.prepend(T)}},{key:"createAddButton",value:function createAddButton(){var C=this,T=this.getSettings().classes;this.$addButton=jQuery("<button>",{class:T.pickerTool}).html(jQuery("<i>",{class:T.plusIcon})),this.$addButton.on("click",(function(){return C.onAddButtonClick()})),this.$addButton.tipsy({title:function title(){return $("Create New Global Color","elementor")},gravity:function gravity(){return"s"}})}},{key:"createClearButton",value:function createClearButton(){var C=this,T=this.getSettings().classes;this.$clearButton=jQuery("<button>",{class:T.clearButton+" "+T.pickerTool}).html('<i class="eicon-undo"></i>'),this.$clearButton.on("click",(function(){return C.picker._clearColor()})),this.addTipsyToClearButton()}},{key:"destroy",value:function destroy(){this.picker.destroyAndRemove()}},{key:"fixTipsyForFF",value:function fixTipsyForFF(C){C.data("tipsy").hide()}},{key:"introductionViewed",value:function introductionViewed(){return ColorPicker.droppingIntroductionViewed||elementor.config.user.introduction.colorPickerDropping}},{key:"toggleClearButtonState",value:function toggleClearButtonState(C){this.$clearButton.toggleClass("e-control-tool-disabled",!C)}},{key:"onPickerChange",value:function onPickerChange(){this.picker.applyColor();var C=this.processColor();if(C!==this.color){this.color=C;var T=this.getSettings("onChange");T&&T()}}},{key:"onPickerClear",value:function onPickerClear(){this.color="";var C=this.getSettings("onClear");C&&C()}},{key:"onPickerShow",value:function onPickerShow(){var C=this.picker.getRoot().interaction.result,onPickerShow=this.getSettings("onPickerShow");onPickerShow&&onPickerShow(),setTimeout((function(){C.select()}),100)}},{key:"onPickerHide",value:function onPickerHide(){var onPickerHide=this.getSettings("onPickerHide");onPickerHide&&onPickerHide()}},{key:"onAddButtonClick",value:function onAddButtonClick(){this.picker.hide();var C=this.getSettings("onAddButtonClick");C&&C(),this.fixTipsyForFF(this.$addButton)}}]),ColorPicker}(elementorModules.Module);T.default=G},97196:(C,T,B)=>{"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=function(){function Conditions(){(0,L.default)(this,Conditions)}return(0,q.default)(Conditions,[{key:"compare",value:function compare(C,T,B){switch(B){case"==":return C==T;case"!=":return C!=T;case"!==":return C!==T;case"in":return-1!==T.indexOf(C);case"!in":return-1===T.indexOf(C);case"contains":return-1!==C.indexOf(T);case"!contains":return-1===C.indexOf(T);case"<":return C<T;case"<=":return C<=T;case">":return C>T;case">=":return C>=T;default:return C===T}}},{key:"getOperator",value:function getOperator(C,T,B){var $;return Array.isArray(C)&&C.length?$=T?"!in":"in":Array.isArray(B)&&B.length?$=T?"!contains":"contains":T&&($="!=="),$}},{key:"getConditionValue",value:function getConditionValue(C,T,B){return"object"===(0,V.default)(C[T])&&B?C[T][B]:C[T]}},{key:"check",value:function check(C,T){var B=this,$="or"===C.relation,V=!$;return C.terms.forEach((function(C){var L;if(C.terms)L=B.check(C,T);else{var q=C.name.match(/([\w-]+)(?:\[([\w-]+)])?/),W=q[1],U=q[2],H=B.getConditionValue(T,W,U);L=void 0!==H&&B.compare(H,C.value,C.operator)}return $?(L&&(V=!0),!L):L?void 0:V=!1})),V}}]),Conditions}();T.default=W},48606:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ContainerHelper=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(93231));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,W.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}var U=function(){function ContainerHelper(){(0,L.default)(this,ContainerHelper)}return(0,q.default)(ContainerHelper,null,[{key:"createContainers",value:function createContainers(C,T){for(var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},$=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},V=[],L=0;L<C;L++)V.push(this.createContainer(T,B,$));return V}},{key:"createContainer",value:function createContainer(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0,B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},$=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return $e.run("document/elements/create",{container:T,model:_objectSpread({elType:"container",settings:C},$),options:B})}},{key:"setContainerSettings",value:function setContainerSettings(C,T){$e.run("document/elements/settings",{container:T,settings:C,options:{external:!0}})}},{key:"createContainerFromSizes",value:function createContainerFromSizes(C,T){var B,$=this,V=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},L=V.createWrapper,q=void 0===L||L,W={33:"33.3333",66:"66.6666"},U=C.reduce((function(C,T){return C+parseInt(T)}),0)>100,H=_objectSpread(_objectSpread({flex_direction:this.DIRECTION_ROW},U?{flex_wrap:"wrap"}:{}),{},{flex_gap:{unit:"px",size:0,column:"0",row:"0"}});return q?B=this.createContainer(H,T,V):($e.run("document/elements/settings",{container:T,settings:H}),B=T),C.forEach((function(C){C=W[C]||C,$.createContainer({flex_direction:$.DIRECTION_COLUMN,content_width:"full",width:{unit:"%",size:C}},B,{edit:!1})})),B}},{key:"createContainerFromPreset",value:function createContainerFromPreset(C){var T,B,V=arguments.length>1&&void 0!==arguments[1]?arguments[1]:elementor.getPreviewContainer(),L=arguments.length>2?arguments[2]:void 0,q=$e.internal("document/history/start-log",{type:"add",title:$("Container","elementor")}),W=L.createWrapper,U=void 0===W||W;try{switch(C){case"c100":T=ContainerHelper.createContainer({flex_direction:ContainerHelper.DIRECTION_COLUMN},V,L);break;case"r100":T=ContainerHelper.createContainer({flex_direction:ContainerHelper.DIRECTION_ROW},V,L);break;case"c100-c50-50":B={flex_direction:ContainerHelper.DIRECTION_ROW,flex_gap:{unit:"px",size:0,column:"0",row:"0"}},U?T=ContainerHelper.createContainer(B,V,L):($e.run("document/elements/settings",{container:V,settings:B}),T=V),B={content_width:"full",width:{unit:"%",size:"50"}},ContainerHelper.createContainer(B,T,{edit:!1});var H=ContainerHelper.createContainer(_objectSpread(_objectSpread({},B),{},{padding:{unit:"px",top:0,right:0,bottom:0,left:0,isLinked:!0},flex_gap:{unit:"px",size:0,column:"0",row:"0"}}),T,{edit:!1});ContainerHelper.createContainers(2,{},H,{edit:!1});break;default:var G=C.split("-");T=ContainerHelper.createContainerFromSizes(G,V,L)}$e.internal("document/history/end-log",{id:q})}catch(C){$e.internal("document/history/delete-log",{id:q})}return T}},{key:"openEditMode",value:function openEditMode(C){$e.run("document/elements/select",{container:C})}}]),ContainerHelper}();T.ContainerHelper=U,(0,W.default)(U,"DIRECTION_ROW","row"),(0,W.default)(U,"DIRECTION_COLUMN","column"),(0,W.default)(U,"DIRECTION_ROW_REVERSED","row-reverse"),(0,W.default)(U,"DIRECTION_COLUMN_REVERSED","column-reverse"),(0,W.default)(U,"DIRECTION_DEFAULT",U.DIRECTION_COLUMN),(0,W.default)(U,"CONTAINER_TYPE_GRID","grid");var H=U;T.default=H},6430:C=>{"use strict";C.exports=elementorModules.Module.extend({getDefaultSettings:function getDefaultSettings(){return{context:"preview",actions:{},classes:{list:"elementor-context-menu-list",group:"elementor-context-menu-list__group",groupPrefix:"elementor-context-menu-list__group-",item:"elementor-context-menu-list__item",itemTypePrefix:"elementor-context-menu-list__item-",itemTitle:"elementor-context-menu-list__item__title",itemShortcut:"elementor-context-menu-list__item__shortcut",iconShortcut:"elementor-context-menu-list__item__icon",itemDisabled:"elementor-context-menu-list__item--disabled",divider:"elementor-context-menu-list__divider",hidden:"elementor-hidden",promotionLink:"elementor-context-menu-list__item__shortcut--link-fullwidth"}}},buildActionItem:function buildActionItem(C){var T=this,B=T.getSettings("classes"),$=jQuery("<div>",{class:B.item+" "+B.itemTypePrefix+C.name,role:"menuitem",tabindex:"0"}),V=jQuery("<div>",{class:B.itemTitle}).text(C.title),L=jQuery("<div>",{class:B.iconShortcut});if(C.icon&&L.html(jQuery("<i>",{class:C.icon})),$.append(L,V),C.shortcut){var q=jQuery("<div>",{class:B.itemShortcut}).html(C.shortcut);$.append(q)}return C.callback&&($.on("click",(function(){T.runAction(C)})),$.on("keyup",(function(B){13!==B.keyCode&&32!==B.keyCode||T.runAction(C)}))),C.$item=$,$},buildActionsList:function buildActionsList(){var C=this,T=C.getSettings("classes"),B=C.getSettings("groups"),$=jQuery("<div>",{class:T.list,role:"menu"});return B.forEach((function(B){var V=jQuery("<div>",{class:T.group+" "+T.groupPrefix+B.name,role:"group"});B.actions.forEach((function(T){V.append(C.buildActionItem(T))})),$.append(V),B.$item=V})),$},toggleGroupVisibility:function toggleGroupVisibility(C,T){C.$item.toggleClass(this.getSettings("classes.hidden"),!T)},toggleActionVisibility:function toggleActionVisibility(C,T){C.$item.toggleClass(this.getSettings("classes.hidden"),!T)},toggleActionUsability:function toggleActionUsability(C,T){this.maybeAddPromotionLink(C),C.$item.toggleClass(this.getSettings("classes.itemDisabled"),!T)},maybeAddPromotionLink:function maybeAddPromotionLink(C){this.shouldAddPromotionLink(C)&&C.$item.find("div.elementor-context-menu-list__item__shortcut")[0].insertAdjacentHTML("beforeend","<a href='".concat(C.promotionURL,'\' target="_blank" class="').concat(this.getSettings("classes.promotionLink"),'"></a>'))},shouldAddPromotionLink:function shouldAddPromotionLink(C){return!(!C.promotionURL||C.$item.find("a.elementor-context-menu-list__item__shortcut--link-fullwidth")[0]||!C.$item.find("i.eicon-pro-icon")[0])},updateActionTitle:function updateActionTitle(C){"function"==typeof C.title&&C.$item.find("."+this.getSettings("classes").itemTitle).text(C.title())},isActionEnabled:function isActionEnabled(C){return!(!C.callback&&!C.groups)&&(!C.isEnabled||C.isEnabled())},isActionVisible:function isActionVisible(C){return"function"==typeof C.isVisible?C.isVisible():!1!==C.isVisible},runAction:function runAction(C){this.isActionEnabled(C)&&this.isActionVisible(C)&&(C.callback(),this.getModal().hide())},initModal:function initModal(){var C;this.getModal=function(){return C||(C=elementorCommon.dialogsManager.createWidget("simple",{className:"elementor-context-menu",message:this.buildActionsList(),iframe:"preview"===this.getSettings("context")?elementor.$preview:null,effects:{hide:"hide",show:"show"},hide:{onOutsideContextMenu:!0},position:{my:(elementorCommon.config.isRTL?"right":"left")+" top",collision:"fit"}})),C}},show:function show(C){var T=this,B=T.getModal();B.setSettings("position",{of:C}),T.getSettings("groups").forEach((function(C){var B=!1!==C.isVisible;T.toggleGroupVisibility(C,B),B&&C.actions.forEach((function(C){var B=T.isActionVisible(C);T.toggleActionVisibility(C,B),T.updateActionTitle(C),B&&T.toggleActionUsability(C,T.isActionEnabled(C))}))})),B.show()},destroy:function destroy(){this.getModal().destroy()},onInit:function onInit(){this.initModal()}})},12588:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(51121)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(ControlConditions,C);var T=_createSuper(ControlConditions);function ControlConditions(){return(0,V.default)(this,ControlConditions),T.apply(this,arguments)}return(0,L.default)(ControlConditions,[{key:"convertConditionToConditions",value:function convertConditionToConditions(C,T,B,$,V){var L,q,W,U=C.match(/([\w-]+(?:\[[\w-]+])?)?(!?)$/i),H=U[1],G=!!U[2],K=H.match(/([\w-]+)(?:\[([\w-]+)])?/),Q=K[1],J=K[2],Y=(null===(L=B.attributes)||void 0===L?void 0:L.responsive)||B.responsive,X=H;if(Y&&null!==(q=V[Q])&&void 0!==q&&q.responsive){var Z=this.getResponsiveControlDeviceSuffix(Y);X=Q+Z,J&&(X+="[".concat(J,"]")),W=$[Q+Z]}else W=$[H];return{name:X,operator:this.getOperator(T,G,W),value:T}}},{key:"getResponsiveControlDeviceSuffix",value:function getResponsiveControlDeviceSuffix(C){var T=C.max||C.min;return"desktop"===T?"":"_"+T}},{key:"getConditionValue",value:function getConditionValue(C,T,B){var $,V=null===($=C.__dynamic__)||void 0===$?void 0:$[T];return V||(0,q.default)((0,H.default)(ControlConditions.prototype),"getConditionValue",this).call(this,C,T,B)}},{key:"check",value:function check(C,T,B){var $=this,V="or"===C.relation,L=!V;return C.terms.forEach((function(C){var q;if(C.terms)q=$.check(C,T,B);else{var W=C.name.match(/([\w-]+)(?:\[([\w-]+)])?/),U=W[1],H=W[2],G=$.getConditionValue(T,U,H);if(!G)for(var K,Q=null===(K=B[U])||void 0===K?void 0:K.parent;Q;){var J;if(G=$.getConditionValue(T,Q,H))break;Q=null===(J=B[Q])||void 0===J?void 0:J.parent}q=void 0!==G&&$.compare(G,C.value,C.operator)}return V?(q&&(L=!0),!q):q?void 0:L=!1})),L}}]),ControlConditions}($(B(97196)).default);T.default=G},99292:(C,T,B)=>{"use strict";var $,V=B(73203)(B(40131)),L=B(34533);$=elementorModules.ViewModule.extend({stylesheet:null,getDefaultSettings:function getDefaultSettings(){return{id:0,context:null,settingsModel:null,dynamicParsing:{}}},getDefaultElements:function getDefaultElements(){var C="elementor-style-".concat(this.getSettings("id")),T=elementor.$previewContents.find("#".concat(C));return T.length||(T=jQuery("<style>",{id:C})),{$stylesheetElement:T}},initStylesheet:function initStylesheet(){var C=this,T=elementorFrontend.config.responsive.activeBreakpoints;this.stylesheet=new L,Object.entries(T).forEach((function(T){var B=(0,V.default)(T,2),$=B[0],L=B[1];C.stylesheet.addDevice($,L.value)}))},addStyleRules:function addStyleRules(C,T,B,$,V){var L=this,q=this.getSettings("settingsModel").parseDynamicSettings(T,this.getSettings("dynamicParsing"),C);_.each(C,(function(C){var W,U;if(C.styleFields&&C.styleFields.length&&L.addRepeaterControlsStyleRules(T[C.name],C.styleFields,C.fields,$,V),null!==(W=C.dynamic)&&void 0!==W&&W.active&&null!==(U=T.__dynamic__)&&void 0!==U&&U[C.name]&&L.addDynamicControlStyleRules(T.__dynamic__[C.name],C),C.selectors){var H,G=L.getSettings("context");G&&(H=G.model.get("settings").get("__globals__")),L.addControlStyleRules(C,q,B,$,V,H)}}))},addControlStyleRules:function addControlStyleRules(C,T,B,$,V,L){var q,W,U=this;if(L){var H=C.name;C.groupType&&(H=C.groupPrefix+C.groupType),q=L[H]}(q||void 0!==(W=this.getStyleControlValue(C,T)))&&_.each(C.selectors,(function(L,H){var G;if(q){var K=U.getSelectorGlobalValue(C,q);K&&("font"===C.type&&$e.data.get(q).then((function(C){elementor.helpers.enqueueFont(C.data.value.typography_font_family)})),G=L.replace(/(:)[^;]+(;?)/g,"$1"+K+"$2"))}else try{var Q;if(U.unitHasCustomSelector(C,W)&&(L=C.unit_selectors_dictionary[W.unit]),U.shouldDoUpgradeMap(C,W))null===(Q=C.upgrade_conversion_map)||void 0===Q||Q.new_keys.forEach((function(T){W[T]=""+W[C.upgrade_conversion_map.old_key]}));G=L.replace(/{{(?:([^.}]+)\.)?([^}| ]*)(?: *\|\| *(?:([^.}]+)\.)?([^}| ]*) *)*}}/g,(function($,V,L,q,H){var G=V&&!B[V],K="";if(G||(K=U.parsePropertyPlaceholder(C,W,B,T,L,V)),!K&&0!==K){if(H){var Q=(K=H).match(/^(['"])(.*)\1$/);if(Q)K=Q[2];else if(!isFinite(K)){if(q&&!B[q])return"";K=U.parsePropertyPlaceholder(C,W,B,T,H,q)}}if(!K&&0!==K){if(G)return"";throw""}}return"font"===C.type&&elementor.helpers.enqueueFont(K),"__EMPTY__"===K&&(K=""),K}))}catch(C){return}if(!_.isEmpty(G)){var J=/^(?:\([^)]+\)){1,2}/,Y=H.match(J),X={};if(Y){Y=Y[0],H=H.replace(J,"");var Z,ee=/\(([^)]+)\)/g,te=[];for(Z=ee.exec(Y);Z;)te.push(Z[1]),Z=ee.exec(Y);_.each(te,(function(C){if("desktop"!==C){var T=C.replace(/\+$/,"");X[T===C?"max":"min"]=T}}))}_.each($,(function(C,T){var B=C.source?C.source:C,$=new RegExp(B,"g");H=H.replace($,V[T])})),!Object.keys(X).length&&C.responsive&&"desktop"===(X=_.pick(elementorCommon.helpers.cloneObject(C.responsive),["min","max"])).max&&delete X.max,U.stylesheet.addRules(H,G,X)}}))},unitHasCustomSelector:function unitHasCustomSelector(C,T){return C.unit_selectors_dictionary&&void 0!==C.unit_selectors_dictionary[T.unit]},shouldDoUpgradeMap:function shouldDoUpgradeMap(C,T){return C.upgrade_conversion_map&&!!T.hasOwnProperty(C.upgrade_conversion_map.old_key)&&""!==T[C.upgrade_conversion_map.old_key]&&!T.hasOwnProperty(C.upgrade_conversion_map.new_keys[0])},parsePropertyPlaceholder:function parsePropertyPlaceholder(C,T,B,$,V,L){if(L){if(C.responsive&&B[L]){var q,W=elementor.conditions.getResponsiveControlDeviceSuffix(C.responsive);C=null!==(q=_.findWhere(B,{name:L+W}))&&void 0!==q?q:_.findWhere(B,{name:L})}else C=_.findWhere(B,{name:L});T=this.getStyleControlValue(C,$)}return elementor.getControlView(C.type).getStyleValue(V,T,C)},getStyleControlValue:function getStyleControlValue(C,T){var B,$,V,L,q=null===(B=this.getSettings())||void 0===B||null===($=B.context)||void 0===$?void 0:$.container,W=null==q?void 0:q.isGlobalApplied(C.name),U=(null===(V=T.__globals__)||void 0===V?void 0:V[C.name])||(null===(L=C.global)||void 0===L?void 0:L.default);if(W&&U)return this.getSelectorGlobalValue(C,U);var H=T[C.name];return C.selectors_dictionary&&(H=C.selectors_dictionary[H]||H),_.isNumber(H)||!_.isEmpty(H)?H:void 0},getSelectorGlobalValue:function getSelectorGlobalValue(C,T){var B=$e.data.commandExtractArgs(T),$=$e.data.getCache($e.components.get("globals"),B.command,B.args.query);if(null!=$&&$.value){var V,L=$.id;if(C.groupType){var q=elementor.breakpoints.getActiveMatchRegex(),W=C.name.replace(C.groupPrefix,"").replace(q,"");if(!$.value[elementor.config.kit_config.typography_prefix+W])return;W=W.replace("_","-"),V="var( --e-global-".concat(C.groupType,"-").concat(L,"-").concat(W," )"),elementor.config.ui.defaultGenericFonts&&C.groupPrefix+"font_family"===C.name&&(V+=", ".concat(elementor.config.ui.defaultGenericFonts))}else V="var( --e-global-".concat(C.type,"-").concat(L," )");return V}},addRepeaterControlsStyleRules:function addRepeaterControlsStyleRules(C,T,B,$,V){var L=this;T.forEach((function(T,q){var W=C.models[q];L.addStyleRules(T,W.attributes,B,$.concat(["{{CURRENT_ITEM}}"]),V.concat([".elementor-repeater-item-"+W.get("_id")]))}))},addDynamicControlStyleRules:function addDynamicControlStyleRules(C,T){var B=this;elementor.dynamicTags.parseTagsText(C,T.dynamic,(function(C,T,$){var V=elementor.dynamicTags.createTag(C,T,$);if(V){var L=V.model;L.getStyleControls().length&&B.addStyleRules(L.getStyleControls(),L.attributes,L.controls,["{{WRAPPER}}"],["#elementor-tag-"+C])}}))},addStyleToDocument:function addStyleToDocument(C){var T=elementor.$previewContents.find("head"),B="append",$=T;if(C){var V=T.children(C.of);V.length&&(B=C.at,$=V)}$[B](this.elements.$stylesheetElement);var L=elementor.hooks.applyFilters("editor/style/styleText","",this.getSettings("context"));this.elements.$stylesheetElement.text(this.stylesheet+L)},removeStyleFromDocument:function removeStyleFromDocument(){this.elements.$stylesheetElement.remove()},onInit:function onInit(){elementorModules.ViewModule.prototype.onInit.apply(this,arguments),this.initStylesheet()}}),C.exports=$},40548:(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=function(){function FilesUploadHandler(){(0,L.default)(this,FilesUploadHandler)}return(0,q.default)(FilesUploadHandler,null,[{key:"isUploadEnabled",value:function isUploadEnabled(C){return!["svg","application/json"].includes(C)||elementorCommon.config.filesUpload.unfilteredFiles}},{key:"setUploadTypeCaller",value:function setUploadTypeCaller(C){C.uploader.uploader.param("uploadTypeCaller","elementor-wp-media-upload")}},{key:"getUnfilteredFilesNonAdminDialog",value:function getUnfilteredFilesNonAdminDialog(){return elementorCommon.dialogsManager.createWidget("alert",{id:"e-unfiltered-files-disabled-dialog",headerMessage:$("Sorry, you can't upload that file yet","elementor"),message:$("This is because JSON files may pose a security risk.","elementor")+"<br><br>"+$("To upload them anyway, ask the site administrator to enable unfiltered file uploads.","elementor"),strings:{confirm:$("Got it","elementor")}})}},{key:"getUnfilteredFilesNotEnabledDialog",value:function getUnfilteredFilesNotEnabledDialog(C){var T=window.elementorAdmin||window.elementor;if(!T.config.user.is_administrator)return this.getUnfilteredFilesNonAdminDialog();return T.helpers.getSimpleDialog("e-enable-unfiltered-files-dialog",$("Enable Unfiltered File Uploads","elementor"),$("Before you enable unfiltered files upload, note that such files include a security risk. Elementor does run a process to remove possible malicious code, but there is still risk involved when using such files.","elementor"),$("Enable","elementor"),(function onConfirm(){elementorCommon.ajax.addRequest("enable_unfiltered_files_upload",{},!0),elementorCommon.config.filesUpload.unfilteredFiles=!0,C()}))}},{key:"getUnfilteredFilesNotEnabledImportTemplateDialog",value:function getUnfilteredFilesNotEnabledImportTemplateDialog(C){return(window.elementorAdmin||window.elementor).config.user.is_administrator?elementorCommon.dialogsManager.createWidget("confirm",{id:"e-enable-unfiltered-files-dialog-import-template",headerMessage:$("Enable Unfiltered File Uploads","elementor"),message:$("Before you enable unfiltered files upload, note that such files include a security risk. Elementor does run a process to remove possible malicious code, but there is still risk involved when using such files.","elementor")+"<br /><br />"+$("If you do not enable uploading unfiltered files, any SVG or JSON (including lottie) files used in the uploaded template will not be imported.","elementor"),position:{my:"center center",at:"center center"},strings:{confirm:$("Enable and Import","elementor"),cancel:$("Import Without Enabling","elementor")},onConfirm:function onConfirm(){elementorCommon.ajax.addRequest("enable_unfiltered_files_upload",{success:function success(){elementorCommon.config.filesUpload.unfilteredFiles=!0,C()}},!0)},onCancel:function onCancel(){return C()}}):this.getUnfilteredFilesNonAdminDialog()}}]),FilesUploadHandler}();T.default=W},23103:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.FontVariables=void 0;var V=$(B(40131)),L=$(B(78983)),q=$(B(42081)),W=function(){function FontVariables(){(0,L.default)(this,FontVariables),this.init()}return(0,q.default)(FontVariables,[{key:"init",value:function init(){var C=this;$e.routes.on("run:after",(function(T,B,$){"panel/editor"===T.getNamespace()&&C.onTypographyControlOpen($)})),$e.commands.on("run:after",(function(T,B,$){"document/elements/settings"===B&&C.onControlChanged($)}))}},{key:"onTypographyControlOpen",value:function onTypographyControlOpen(C){var T=this;if(null!=C&&C.activeControl){var B=elementor.getPanelView().getCurrentPageView(),$=B.collection.find((function(T){return C.activeControl===T.get("name")&&"typography"===T.get("groupType")}));if($){var L=$.get("groupPrefix"),q=B.collection.filter((function(C){return L===C.get("groupPrefix")})),W=q.find((function(C){return L===C.get("groupPrefix")&&"font"===C.get("type")})),U=W.get("name"),H=elementor.getCurrentElement().model.get("settings").get(U);if(H){var G=this.getFontOptions(H);if(G)for(var K=function _loop(){var C=(0,V.default)(J[Q],2),B=C[0],$=C[1],L=W.get("groupPrefix")+B;if(!q.find((function(C){return L===C.get("name")})))return"continue";T.applyFontVariableRange([],L,$)},Q=0,J=Object.entries(G);Q<J.length;Q++)K()}}}}},{key:"getCurrentControlData",value:function getCurrentControlData(C){var T;if(null==C||null===(T=C.container)||void 0===T||!T.controls)return null;var B=this.getCurrentSettingKey(C);return C.container.controls[B]}},{key:"getCurrentSettingKey",value:function getCurrentSettingKey(C){return Object.keys(C.settings)[0]}},{key:"getControlValue",value:function getControlValue(C){var T=this.getCurrentSettingKey(C);return C.settings[T]}},{key:"applyFontVariableRange",value:function applyFontVariableRange(C,T,B){var $=this,V=$e.components.get("panel").getControlViewByPath(elementor.getPanelView().getCurrentPageView(),T),L=V.model.get("range");L.px.min=B.min,L.px.max=B.max,V.model.set("range",L),V.render();var q=V.model.get("inheritors");q&&q.forEach((function(T){$.applyFontVariableRange(C,T,B)}))}},{key:"onControlChanged",value:function onControlChanged(C){var T=this.getCurrentControlData(C);if("font"===(null==T?void 0:T.type)){var B=C.container.controls,$=this.getFontOptions(this.getControlValue(C));if($)for(var L=0,q=Object.entries($);L<q.length;L++){var W=(0,V.default)(q[L],2),U=W[0],H=W[1],G=T.groupPrefix+U;B[G]&&this.applyFontVariableRange(B,G,H)}}}},{key:"getFontOptions",value:function getFontOptions(C){var T;return null!==(T=elementor.config)&&void 0!==T&&T.fontVariableRanges?elementor.config.fontVariableRanges[C]:null}}]),FontVariables}();T.FontVariables=W},38984:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(38003).sprintf,L=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(78983)),W=L(B(42081)),U=L(B(93231)),H=function(){function Heartbeat(C){var T=this;(0,q.default)(this,Heartbeat),(0,U.default)(this,"modal",null),(0,U.default)(this,"document",null),(0,U.default)(this,"getModal",(function(){return T.modal||(T.modal=T.initModal()),T.modal})),this.document=C,this.onSend=this.onSend.bind(this),this.onTick=this.onTick.bind(this),this.onRefreshNonce=this.onRefreshNonce.bind(this),this.bindEvents(),wp.heartbeat.connectNow()}return(0,W.default)(Heartbeat,[{key:"initModal",value:function initModal(){return elementorCommon.dialogsManager.createWidget("confirm",{headerMessage:$("Take Over","elementor"),strings:{confirm:$("Take Over","elementor"),cancel:$("Go Back","elementor")},defaultOption:"confirm",onConfirm:function onConfirm(){wp.heartbeat.enqueue("elementor_force_post_lock",!0),wp.heartbeat.connectNow()},onCancel:function onCancel(){parent.history.go(-1)}})}},{key:"showLockMessage",value:function showLockMessage(C){this.getModal().setMessage(V($("%s has taken over and is currently editing. Do you want to take over this page editing?","elementor"),C)).show()}},{key:"onSend",value:function onSend(C,T){T.elementor_post_lock={post_ID:this.document.id}}},{key:"onTick",value:function onTick(C,T){T.locked_user?(this.document.editor.isChanged&&$e.run("document/save/auto",{document:this.document}),this.showLockMessage(T.locked_user)):this.getModal().hide(),elementorCommon.ajax.addRequestConstant("_nonce",T.elementorNonce)}},{key:"onRefreshNonce",value:function onRefreshNonce(C,T){var B=T["elementor-refresh-nonces"];B&&(B.heartbeatNonce&&elementorCommon.ajax.addRequestConstant("_nonce",B.elementorNonce),B.heartbeatNonce&&(window.heartbeatSettings.nonce=B.heartbeatNonce))}},{key:"bindEvents",value:function bindEvents(){jQuery(document).on({"heartbeat-send":this.onSend,"heartbeat-tick":this.onTick,"heartbeat-tick.wp-refresh-nonces":this.onRefreshNonce})}},{key:"destroy",value:function destroy(){jQuery(document).off({"heartbeat-send":this.onSend,"heartbeat-tick":this.onTick,"heartbeat-tick.wp-refresh-nonces":this.onRefreshNonce})}}]),Heartbeat}();T.default=H},13692:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203),L=B(7501),q=V(B(40131)),W=V(B(65863)),U=V(B(72465)),H=V(B(48606)),G=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(31699));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)}var K=["article","aside","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];C.exports={container:H.default,document:U.default,_enqueuedFonts:{editor:[],preview:[]},_enqueuedIconFonts:[],_inlineSvg:[],elementsHierarchy:{document:{section:{column:{widget:null,section:null,container:{widget:null,container:null}}},container:{widget:null,container:null}}},enqueueCSS:function enqueueCSS(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},$='link[href="'+C+'"]',V=document.createElement("link");V.href=C,V.rel="stylesheet",V.type="text/css",B.crossOrigin&&(V.crossOrigin="anonymous"),T&&(T.find($).length||T.find("link").last().after(V))},enqueuePreviewStylesheet:function enqueuePreviewStylesheet(C){this.enqueueCSS(C,elementor.$previewContents)},enqueueEditorStylesheet:function enqueueEditorStylesheet(C){this.enqueueCSS(C,elementorCommon.elements.$document)},enqueueStylesheet:function enqueueStylesheet(C){elementorDevTools.deprecation.deprecated("elementor.helpers.enqueueStylesheet()","2.6.0","elementor.helpers.enqueuePreviewStylesheet()"),this.enqueuePreviewStylesheet(C)},fetchInlineSvg:function fetchInlineSvg(C){var T=arguments.length>1&&void 0!==arguments[1]&&arguments[1];fetch(C).then((function(C){return C.ok?C.text():""})).then((function(C){T&&T(C)}))},getInlineSvg:function getInlineSvg(C,T){if(C.id){if(Object.prototype.hasOwnProperty.call(this._inlineSvg,C.id))return this._inlineSvg[C.id];var B=this;this.fetchInlineSvg(C.url,(function($){$&&(B._inlineSvg[C.id]=$,T&&T.render(),elementor.channels.editor.trigger("svg:insertion",$,C.id))}))}},enqueueIconFonts:function enqueueIconFonts(C){var T=this;if(-1===this._enqueuedIconFonts.indexOf(C)&&!elementor.config.icons_update_needed){var B=this.getIconLibrarySettings(C);B&&(B.enqueue&&B.enqueue.forEach((function(C){T.enqueuePreviewStylesheet(C),T.enqueueEditorStylesheet(C)})),B.url&&(this.enqueuePreviewStylesheet(B.url),this.enqueueEditorStylesheet(B.url)),this._enqueuedIconFonts.push(C),elementor.channels.editor.trigger("fontIcon:insertion",C,B))}},getIconLibrarySettings:function getIconLibrarySettings(C){var T=elementor.config.icons.libraries.filter((function(T){return C===T.name}));return!(!T[0]||!T[0].name)&&T[0]},renderIcon:function renderIcon(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},$=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"i",V=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"value";if(!T||!T.library)return"object"===V?{rendered:!1}:void 0;var L=T.library,q=T.value;if("svg"===L)return"panel"===V?'<img src="'+q.url+'">':{rendered:!0,value:this.getInlineSvg(q,C)};var W=this.getIconLibrarySettings(L);if(W&&!Object.prototype.hasOwnProperty.call(W,"isCustom")){if(this.enqueueIconFonts(L),"panel"===V)return"<"+$+' class="'+q+'"></'+$+">";var U=$+elementorCommon.helpers.getUniqueId();C.addRenderAttribute(U,B),C.addRenderAttribute(U,"class",q);var H="<"+$+" "+C.getRenderAttributeString(U)+"></"+$+">";return"object"===V?{rendered:!0,value:H}:H}return elementor.channels.editor.trigger("Icon:insertion",L,q,B,$,C),"object"===V?{rendered:!1}:void 0},isIconMigrated:function isIconMigrated(C,T){return C.__fa4_migrated&&C.__fa4_migrated[T]},fetchFa4ToFa5Mapping:function fetchFa4ToFa5Mapping(){var C="fa4Tofa5Mapping",T=elementorCommon.storage.get(C);return T||jQuery.getJSON(elementor.config.fa4_to_fa5_mapping_url,(function(B){T=B,elementorCommon.storage.set(C,B)})),T},mapFa4ToFa5:function mapFa4ToFa5(C){var T=this.fetchFa4ToFa5Mapping();return T[C]?T[C]:{value:"fas"+C.replace("fa "," "),library:"fa-solid"}},enqueueFont:function enqueueFont(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"preview";if($e.devTools&&$e.devTools.log.info("enqueueFont font: '".concat(C,"', target: '").concat(T,"'")),-1===this._enqueuedFonts[T].indexOf(C)){var B,$=elementor.config.controls.font.options[C],V={ru_RU:"cyrillic",uk:"cyrillic",bg_BG:"cyrillic",vi:"vietnamese",el:"greek",he_IL:"hebrew"},L={};switch($){case"googlefonts":B="https://fonts.googleapis.com/css?family="+C+":100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic",V[elementor.config.locale]&&(B+="&subset="+V[elementor.config.locale]),L.crossOrigin=!0;break;case"earlyaccess":B="https://fonts.googleapis.com/earlyaccess/"+C.replace(/\s+/g,"").toLowerCase()+".css",L.crossOrigin=!0}_.isEmpty(B)||("editor"===T?this.enqueueCSS(B,elementorCommon.elements.$document):this.enqueueCSS(B,elementor.$previewContents,L)),this._enqueuedFonts[T].push(C),elementor.channels.editor.trigger("font:insertion",$,C)}},resetEnqueuedFontsCache:function resetEnqueuedFontsCache(){this._enqueuedFonts={editor:[],preview:[]},this._enqueuedIconFonts=[]},getElementChildType:function getElementChildType(C,T){var B=this;if(T||(T=this.elementsHierarchy),void 0!==T[C])return jQuery.isPlainObject(T[C])?Object.keys(T[C]):null;var $=null;return jQuery.each(T,(function(T,V){if(jQuery.isPlainObject(V)){var L=B.getElementChildType(C,V);return L?($=L,!1):void 0}})),$},getUniqueID:function getUniqueID(){return elementorDevTools.deprecation.deprecated("elementor.helpers.getUniqueID()","3.0.0","elementorCommon.helpers.getUniqueId()"),elementorCommon.helpers.getUniqueId()},getSocialNetworkNameFromIcon:function getSocialNetworkNameFromIcon(C,T){var B=arguments.length>2&&void 0!==arguments[2]&&arguments[2],$=arguments.length>4&&void 0!==arguments[4]&&arguments[4],V="",L="";return T&&!(arguments.length>3&&void 0!==arguments[3]?arguments[3]:null)?(V=T.replace("fa fa-",""),L='<i class="'+T+'"></i>'):C.value&&"svg"!==C.library?(V=(V=C.value.split(" ")[1])?V.replace("fa-",""):"",L=this.renderIcon(null,C,{},"i","panel")):L=this.renderIcon(null,C,{},"i","panel"),""!==V&&B&&(V=(V=V.split("-").join(" ")).replace(/\b\w/g,(function(C){return C.toUpperCase()}))),V=elementor.hooks.applyFilters("elementor/social_icons/network_name",V,C,T,B,$),$&&(V=L+" "+V),V},getSimpleDialog:function getSimpleDialog(C,T,B,V,L){return elementorCommon.dialogsManager.createWidget("confirm",{id:C,headerMessage:T,message:B,position:{my:"center center",at:"center center"},strings:{confirm:V,cancel:$("Cancel","elementor")},onConfirm:L})},maybeDisableWidget:function maybeDisableWidget(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!elementor.config.icons_update_needed)return!1;var T=elementor.channels.panelElements.request("element:selected"),B=C||T.model.get("widgetType"),V=elementor.widgetsCache[B];if(V){var L=function hasControlOfType(C,T){var B=!1;return jQuery.each(C,(function(C,$){return T===$.type?(B=!0,!1):(!$.is_repeater||!(B=hasControlOfType($.fields,T)))&&void 0})),B}(V.controls,"icons");if(L){return elementor.helpers.getSimpleDialog("elementor-enable-fa5-dialog",$("Elementor's New Icon Library","elementor"),$('Elementor v2.6 includes an upgrade from Font Awesome 4 to 5. In order to continue using icons, be sure to click "Update".',"elementor")+' <a href="https://go.elementor.com/fontawesome-migration/" target="_blank">'+$("Learn More","elementor")+"</a>",$("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(),!0}}return!1},stringReplaceAll:function stringReplaceAll(C,T){elementorDevTools.deprecation.deprecated("elementor.helpers.stringReplaceAll()","2.0.0","Use native JS `.replace()` method.");var B=new RegExp(Object.keys(T).join("|"),"gi");return C.replace(B,(function(C){return T[C]}))},isActiveControl:function isActiveControl(C,T,B){var $,V,L=C.condition||(null===($=C.get)||void 0===$?void 0:$.call(C,"condition")),W=C.conditions||(null===(V=C.get)||void 0===V?void 0:V.call(C,"conditions"));if(L){var U=[];Object.entries(L).forEach((function($){var V=(0,q.default)($,2),L=V[0],W=V[1],H=elementor.conditions.convertConditionToConditions(L,W,C,T,B);U.push(H)})),W={relation:"and",terms:W?U.concat(W):U}}return!(W&&!elementor.conditions.check(W,T,B))},cloneObject:function cloneObject(C){return elementorDevTools.deprecation.deprecated("elementor.helpers.cloneObject( object )","2.3.0","elementorCommon.helpers.cloneObject( object )"),elementorCommon.helpers.cloneObject(C)},disableElementEvents:function disableElementEvents(C){C.each((function(){var C=this.style.pointerEvents;"none"!==C&&jQuery(this).data("backup-pointer-events",C).css("pointer-events","none")}))},enableElementEvents:function enableElementEvents(C){C.each((function(){var C=jQuery(this),T=C.data("backup-pointer-events");void 0!==T&&C.removeData("backup-pointer-events").css("pointer-events",T)}))},wpColorPicker:function wpColorPicker(C){return elementorDevTools.deprecation.deprecated("elementor.helpers.wpColorPicker( $element )","2.8.0","new ColorPicker( { picker: { el: $element } } )"),new W.default({picker:{el:C}})},isInViewport:function isInViewport(C,T){var B=C.getBoundingClientRect();return T=T||document.documentElement,B.top>=0&&B.left>=0&&B.bottom<=(window.innerHeight||T.clientHeight)&&B.right<=(window.innerWidth||T.clientWidth)},scrollToView:function scrollToView(C,T,B){void 0===T&&(T=500);var $=B,V=elementorFrontend.elements.$window;B||(B=V,$=elementor.$previewContents.find("html, body")),setTimeout((function(){if(C[0].isConnected){var T=B.height(),L=B.scrollTop(),q=B===V?C.offset().top:C[0].offsetTop,W=q-L;if(!(W>0&&W<T)){var U=q-T/2;$.stop(!0).animate({scrollTop:U},1e3)}}}),T)},getElementInlineStyle:function getElementInlineStyle(C,T){var B={},$=C[0].style;return T.forEach((function(C){B[C]=void 0!==$[C]?$[C]:""})),B},cssWithBackup:function cssWithBackup(C,T,B){var $=this.getElementInlineStyle(C,Object.keys(B));C.data("css-backup-"+T,$).css(B)},recoverCSSBackup:function recoverCSSBackup(C,T){var B="css-backup-"+T;C.css(C.data(B)),C.removeData(B)},elementSizeToUnit:function elementSizeToUnit(C,T,B){var $=elementorFrontend.elements.window;switch(B){case"%":T/=C.offsetParent().width()/100;break;case"vw":T/=$.innerWidth/100;break;case"vh":T/=$.innerHeight/100}return Math.round(1e3*T)/1e3},compareVersions:function compareVersions(C,T,B){var $=function prepareVersion(C){return(C+="").replace(/[^\d.]+/,".-1.")};if((C=$(C))===(T=$(T)))return!B||/^={2,3}$/.test(B);for(var V=C.split(".").map(Number),L=T.split(".").map(Number),q=Math.max(V.length,L.length),W=0;W<q;W++){var U=V[W]||0,H=L[W]||0;if(U!==H)return elementor.conditions.compare(U,H,B)}},getModelLabel:function getModelLabel(C){var T;return C instanceof Backbone.Model||(C=new Backbone.Model(C)),C.get("labelSuffix")?T=C.get("title")+" "+C.get("labelSuffix"):"global"===C.get("widgetType")&&C.getTitle&&(T=C.getTitle()),T||(T=elementor.getElementData(C).title),T},hasPro:function hasPro(){return!!window.elementorPro},hasProAndNotConnected:function hasProAndNotConnected(){return elementor.helpers.hasPro()&&elementorProEditorConfig.urls.connect},validateHTMLTag:function validateHTMLTag(C){return K.includes(C.toLowerCase())?C:"div"},convertSizeToFrString:function convertSizeToFrString(C){return"number"!=typeof C||C<=0?C:Array.from({length:C},(function(){return"1fr"})).join(" ")},sanitize:function sanitize(C,T){return G.default.sanitize(C,T)},sanitizeUrl:function sanitizeUrl(C){return!!C&&(0,G.isValidAttribute)("a","href",C)?C:""}}},9599:C=>{"use strict";var T;T=function ImagesManager(){var C=this,T={},B=[],$=function getNormalizedSize(C){var T,B=C.size;if("custom"===B){var $=C.dimension;if(!$.width&&!$.height)return"full";T="custom_"+$.width+"x"+$.height}else T=B;return T},V={};C.updateOnReceiveImage=function(){var C=elementor.getPanelView().getCurrentPageView().getOption("editedElementView");C.$el.addClass("elementor-loading"),V[C.cid]=C,elementor.channels.editor.once("imagesManager:detailsReceived",(function(){_.isEmpty(V)||_(V).each((function(C){C.render(),C.$el.removeClass("elementor-loading")})),V={}}))},C.getImageUrl=function(T){C.registerItem(T);var B=C.getItem(T);if(!B){if("custom"===T.size)return void($e.routes.isPartOf("panel/editor")&&T.model&&C.updateOnReceiveImage());B=T.url}return B},C.getItem=function(C){var B=$(C),V=C.id;return!!B&&(!(!T[V]||!T[V][B])&&T[V][B])},C.registerItem=function(T){""!==T.id&&(C.getItem(T)||(B.push(T),C.debounceGetRemoteItems()))},C.getRemoteItems=function(){var C,V,L=[];if(0!==Object.keys(B).length){for(V in B){C=B[V];var q=$(C),W=C.id,U=!T[W]||0===Object.keys(T[W]).length;L.push({id:W,size:q,is_first_time:U})}elementorCommon.ajax.send("get_images_details",{data:{items:L},success:function success(C){var $,V;for($ in C)for(V in T[$]||(T[$]={}),C[$])T[$][V]=C[$][V];B=[],elementor.channels.editor.trigger("imagesManager:detailsReceived",C)}})}},C.debounceGetRemoteItems=_.debounce(C.getRemoteItems,300)},C.exports=new T},90381:(C,T)=>{"use strict";function _createForOfIteratorHelper(C,T){var B="undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(!B){if(Array.isArray(C)||(B=function _unsupportedIterableToArray(C,T){if(!C)return;if("string"==typeof C)return _arrayLikeToArray(C,T);var B=Object.prototype.toString.call(C).slice(8,-1);"Object"===B&&C.constructor&&(B=C.constructor.name);if("Map"===B||"Set"===B)return Array.from(C);if("Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return _arrayLikeToArray(C,T)}(C))||T&&C&&"number"==typeof C.length){B&&(C=B);var $=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<T;B++)$[B]=C[B];return $}Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;T.default=function _default(C,T){var B,$=_createForOfIteratorHelper(T=Array.isArray(T)?T:[T]);try{for($.s();!(B=$.n()).done;){var V=B.value;if(C.constructor.name===V.prototype[Symbol.toStringTag])return!0}}catch(C){$.e(C)}finally{$.f()}return!1}},91442:(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 LocalizedValueStore(){(0,V.default)(this,LocalizedValueStore),this.store=[]}return(0,L.default)(LocalizedValueStore,[{key:"appendAndParseLocalizedData",value:function appendAndParseLocalizedData(C){return this.isPaste(C)?this.resetStore():this.isInputValueShorterThanStoreLength(C)?this.rebuildStore(C):(this.isLetter(C)||this.isSpace(C))&&this.addCharToStore(C),this.store.map((function(C){return C.localized})).join("")}},{key:"resetStore",value:function resetStore(){this.store=[]}},{key:"isPaste",value:function isPaste(C){var T="insertFromPaste"===C.originalEvent.inputType,B="KeyV"===C.code&&C.ctrlKey;return T||B}},{key:"isInputValueShorterThanStoreLength",value:function isInputValueShorterThanStoreLength(C){var T;return(null===(T=C.target.value)||void 0===T?void 0:T.length)<this.store.length}},{key:"addCharToStore",value:function addCharToStore(C){var T=String.fromCharCode(C.keyCode);this.localizationRequired(T,C)||(T=C.originalEvent.key),this.store.push({original:C.originalEvent.key,localized:T})}},{key:"localizationRequired",value:function localizationRequired(C,T){return C.toLowerCase()!==T.originalEvent.key.toLowerCase()}},{key:"isSpace",value:function isSpace(C){return 32===C.keyCode||" "===C.originalEvent.data}},{key:"isLetter",value:function isLetter(C){return C.keyCode>=65&&C.keyCode<=90}},{key:"rebuildStore",value:function rebuildStore(C){var T=this,B=C.target.value.split("");this.store=B.map((function(C){return T.buildLocalizationElement(C)}))}},{key:"buildLocalizationElement",value:function buildLocalizationElement(C){return{original:C,localized:this.store.find((function(T){return T.original===C})).localized}}}]),LocalizedValueStore}();T.default=q},87726:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectors:{notice:"#e-notice-bar",close:"#e-notice-bar__close"}}}},{key:"getDefaultElements",value:function getDefaultElements(){var C=this.getSettings();return{$notice:jQuery(C.selectors.notice),$close:jQuery(C.selectors.close)}}},{key:"bindEvents",value:function bindEvents(){this.elements.$close.on("click",this.onCloseClick.bind(this))}},{key:"onCloseClick",value:function onCloseClick(){this.elements.$notice.slideUp(),elementorCommon.ajax.addRequest("notice_bar_dismiss")}}]),_default}(elementorModules.ViewModule);T.default=H},9548:(C,T,B)=>{"use strict";var $,V=B(38003).__;$={getPresetsDictionary:function getPresetsDictionary(){return{11:100/9,12:12.5,14:100/7,16:100/6,33:100/3,66:2/3*100,83:5/6*100}},getAbsolutePresetValues:function getAbsolutePresetValues(C){var T=structuredClone(C),B=this.getPresetsDictionary();return _.each(T,(function(C,$){B[C]&&(T[$]=B[C])})),T},getPresets:function getPresets(C,T){var B=structuredClone(elementor.config.elements.section.presets);return C&&(B=B[C]),T&&(B=B[T]),B},getPresetByStructure:function getPresetByStructure(C){var T=this.getParsedStructure(C);return this.getPresets(T.columnsCount,T.presetIndex)},getParsedGridStructure:function getParsedGridStructure(C){var T=(C+="").split("-");return{rows:T[0],columns:T[1]}},getParsedStructure:function getParsedStructure(C){return{columnsCount:(C+="").slice(0,-1),presetIndex:C.substr(-1)}},getPresetSVG:function getPresetSVG(C,T,B,$){T=T||100,B=B||50,$=$||2;var V=this.getAbsolutePresetValues(C),L=this._generatePresetSVGPath(V,T,B,$);return this._createSVGPreset(L,T,B)},_createSVGPreset:function _createSVGPreset(C,T,B){var $="http",V=document.createElementNS($+"://www.w3.org/2000/svg","svg");V.setAttributeNS($+"://www.w3.org/2000/xmlns/","xmlns:xlink",$+"://www.w3.org/1999/xlink"),V.setAttribute("viewBox","0 0 "+T+" "+B);var L=document.createElementNS($+"://www.w3.org/2000/svg","path");return L.setAttribute("d",C),V.appendChild(L),V},_generatePresetSVGPath:function _generatePresetSVGPath(C,T,B,$){for(var V=T-$*(C.length-1),L=0,q="",W=0;W<C.length;W++){W&&(q+=" ");var U=C[W]/100*V;q+="M"+ +(L+=U).toFixed(4)+",0",q+="V"+B,q+="H"+ +(L-U).toFixed(4),q+="V0Z",L+=$}return q},generateContainerPreset:function generateContainerPreset(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",B={"33-33-33":'\n\t\t\t\t<svg viewBox="0 0 90 44" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<rect x="0.5" width="29" height="44" />\n\t\t\t\t\t<rect x="30.5" width="29" height="44" />\n\t\t\t\t\t<rect x="60.5" width="29" height="44" />\n\t\t\t\t</svg>\n\t\t\t',"50-50":'\n\t\t\t\t<svg viewBox="0 0 90 44" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<rect x="0.5" width="44" height="44" />\n\t\t\t\t\t<rect x="45.5" width="44" height="44" />\n\t\t\t\t</svg>\n\t\t\t',"c100-c50-50":'\n\t\t\t\t<svg viewBox="0 0 90 44" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<rect x="0.5" width="44" height="44" />\n\t\t\t\t\t<rect x="45.5" width="44" height="21.5" />\n\t\t\t\t\t<rect x="45.5" y="22.5" width="44" height="21.5" />\n\t\t\t\t</svg>\n\t\t\t',"50-50-50-50":'\n\t\t\t\t<svg viewBox="0 0 90 44" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<rect x="0.5" width="44" height="21.5" />\n\t\t\t\t\t<rect x="45.5" width="44" height="21.5" />\n\t\t\t\t\t<rect x="0.5" y="22.5" width="44" height="21.5" />\n\t\t\t\t\t<rect x="45.5" y="22.5" width="44" height="21.5" />\n\t\t\t\t</svg>\n\t\t\t',"33-66":'\n\t\t\t\t<svg viewBox="0 0 89 44" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<rect width="29" height="44"/>\n\t\t\t\t\t<rect x="30" width="59" height="44"/>\n\t\t\t\t</svg>\n\t\t\t',"25-25-25-25":'\n\t\t\t\t<svg viewBox="0 0 89 44" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<rect width="21.5" height="44"/>\n\t\t\t\t\t<rect x="22.5" width="21.5" height="44"/>\n\t\t\t\t\t<rect x="45" width="21.5" height="44"/>\n\t\t\t\t\t<rect x="67.5" width="21.5" height="44"/>\n\t\t\t\t</svg>\n\t\t\t',"25-50-25":'\n\t\t\t\t<svg viewBox="0 0 89 44" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<rect width="21.5" height="44"/>\n\t\t\t\t\t<rect x="22.5" width="44" height="44"/>\n\t\t\t\t\t<rect x="67.5" width="21.5" height="44"/>\n\t\t\t\t</svg>\n\t\t\t',"50-50-100":'\n\t\t\t\t<svg viewBox="0 0 89 44" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<rect width="44" height="21.5"/>\n\t\t\t\t\t<rect x="45" width="44" height="21.5"/>\n\t\t\t\t\t<rect y="22.5" width="89" height="21.5"/>\n\t\t\t\t</svg>\n\t\t\t',"33-33-33-33-33-33":'\n\t\t\t\t<svg viewBox="0 0 89 44" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<rect width="29" height="21.5"/>\n\t\t\t\t\t<rect x="30" width="29" height="21.5"/>\n\t\t\t\t\t<rect x="60" width="29" height="21.5"/>\n\t\t\t\t\t<rect y="22.5" width="29" height="21.5"/>\n\t\t\t\t\t<rect x="30" y="22.5" width="29" height="21.5"/>\n\t\t\t\t\t<rect x="60" y="22.5" width="29" height="21.5"/>\n\t\t\t\t</svg>\n\t\t\t',"33-33-33-33-66":'\n\t\t\t\t<svg viewBox="0 0 89 44" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<rect width="29" height="21.5"/>\n\t\t\t\t\t<rect x="30" width="29" height="21.5"/>\n\t\t\t\t\t<rect x="60" width="29" height="21.5"/>\n\t\t\t\t\t<rect y="22.5" width="29" height="21.5"/>\n\t\t\t\t\t<rect x="30" y="22.5" width="59" height="21.5"/>\n\t\t\t\t</svg>\n\t\t\t',"66-33-33-66":'\n\t\t\t\t<svg viewBox="0 0 89 44" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<rect width="59" height="21.5"/>\n\t\t\t\t\t<rect x="60" width="29" height="21.5"/>\n\t\t\t\t\t<rect y="22.5" width="29" height="21.5"/>\n\t\t\t\t\t<rect x="30" y="22.5" width="59" height="21.5"/>\n\t\t\t\t</svg>\n\t\t\t',c100:'\n\t\t\t\t<svg viewBox="0 0 89 44" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<title>'.concat(V("Direction Column","elementor"),'</title>\n\t\t\t\t\t<rect width="89" height="44" />\n\t\t\t\t\t<path d="M43.956 24.644L42 22.748C41.848 22.596 41.672 22.52 41.472 22.52C41.28 22.52 41.108 22.596 40.956 22.748C40.804 22.9 40.728 23.076 40.728 23.276C40.728 23.476 40.804 23.652 40.956 23.804L44.304 27.056C44.456 27.208 44.628 27.284 44.82 27.284C45.02 27.284 45.196 27.208 45.348 27.056L48.504 23.852C48.656 23.7 48.732 23.524 48.732 23.324C48.732 23.124 48.656 22.948 48.504 22.796C48.352 22.644 48.176 22.568 47.976 22.568C47.776 22.568 47.6 22.644 47.448 22.796L45.456 24.848L45.504 17.048C45.504 16.848 45.428 16.676 45.276 16.532C45.124 16.38 44.948 16.304 44.748 16.304C44.548 16.304 44.372 16.38 44.22 16.532C44.076 16.676 44.004 16.848 44.004 17.048L43.956 24.644Z"/>\n\t\t\t\t</svg>\n\t\t\t'),r100:'\n\t\t\t\t<svg class="exclude-rtl-scale" viewBox="0 0 89 44" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<title>'.concat(V("Direction Row","elementor"),'</title>\n\t\t\t\t\t<rect width="89" height="44"/>\n\t\t\t\t\t<path d="M47.856 23.352L45.948 25.296C45.796 25.448 45.72 25.624 45.72 25.824C45.72 26.024 45.796 26.2 45.948 26.352C46.1 26.504 46.276 26.58 46.476 26.58C46.676 26.58 46.852 26.504 47.004 26.352L50.256 23.004C50.408 22.852 50.484 22.676 50.484 22.476C50.484 22.276 50.408 22.1 50.256 21.948L47.052 18.804C46.9 18.652 46.724 18.576 46.524 18.576C46.324 18.576 46.148 18.652 45.996 18.804C45.844 18.956 45.768 19.132 45.768 19.332C45.768 19.524 45.844 19.696 45.996 19.848L48.048 21.852L40.248 21.804C40.048 21.804 39.872 21.88 39.72 22.032C39.576 22.176 39.504 22.348 39.504 22.548C39.504 22.748 39.576 22.924 39.72 23.076C39.872 23.228 40.048 23.304 40.248 23.304L47.856 23.352Z"/>\n\t\t\t\t</svg>\n\t\t\t'),default:"\n\t\t\t\t<div style=\"--text:'".concat(T,'\'" class="e-preset--container">\n\t\t\t\t\t<svg viewBox="0 0 90 44" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t\t<rect width="89" height="44" transform="translate(0.5)" />\n\t\t\t\t\t\t<rect x="3" y="2.5" width="84" height="39" rx="2.5" stroke="#FCFCFC" stroke-linejoin="round" stroke-dasharray="3 2"/>\n\t\t\t\t\t</svg>\n\t\t\t\t</div>\n\t\t\t')};return B[C]||B.default},getContainerPresets:function getContainerPresets(){return["c100","r100","50-50","33-66","25-25-25-25","25-50-25","50-50-50-50","50-50-100","c100-c50-50","33-33-33-33-33-33","33-33-33-33-66","66-33-33-66"]},generateContainerGridPreset:function generateContainerGridPreset(C){return{"1-2":'\n\t\t\t\t<svg width="92" height="46" viewBox="0 0 92 46" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<g opacity="0.8">\n\t\t\t\t\t\t<rect x="0.941406" y="1" width="90" height="44.5" fill="white" stroke="#515962" stroke-dasharray="3 3"/>\n\t\t\t\t\t\t<path d="M45.9414 1.12402V45.3768" stroke="#515962" stroke-dasharray="3 3"/>\n\t\t\t\t\t</g>\n\t\t\t\t</svg>\n\t\t\t',"2-1":'\n\t\t\t\t<svg width="92" height="47" viewBox="0 0 92 47" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<rect x="91.2227" y="1.35059" width="44.5" height="90" transform="rotate(90 91.2227 1.35059)" fill="white" stroke="#515962" stroke-dasharray="3 3"/>\n\t\t\t\t\t<path d="M91.0957 23.6006L1.34961 23.6006" stroke="#515962" stroke-dasharray="3 3"/>\n\t\t\t\t</svg>\n\t\t\t',"1-3":'\n\t\t\t\t<svg width="92" height="46" viewBox="0 0 92 46" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<g opacity="0.8">\n\t\t\t\t\t\t<rect x="0.941895" y="0.944336" width="90" height="44.5" fill="white" stroke="#515962" stroke-dasharray="3 3"/>\n\t\t\t\t\t\t<path d="M30.9419 1.19824V45.4443" stroke="#515962" stroke-dasharray="3 3"/>\n\t\t\t\t\t\t<path d="M60.9419 1.19824V45.4443" stroke="#515962" stroke-dasharray="3 3"/>\n\t\t\t\t\t</g>\n\t\t\t\t</svg>\n\t\t\t',"3-1":'\n\t\t\t\t<svg width="92" height="46" viewBox="0 0 92 46" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<g opacity="0.8">\n\t\t\t\t\t\t<rect x="90.9419" y="0.944336" width="44.5" height="90" transform="rotate(90 90.9419 0.944336)" fill="white" stroke="#515962" stroke-dasharray="3 3"/>\n\t\t\t\t\t\t<path d="M90.6155 15.5654L1.26713 15.5654" stroke="#515962" stroke-dasharray="3 3"/>\n\t\t\t\t\t\t<path d="M90.6155 30.1875L1.26713 30.1875" stroke="#515962" stroke-dasharray="3 3"/>\n\t\t\t\t\t</g>\n\t\t\t\t</svg>\n\t\t\t',"2-2":'\n\t\t\t\t<svg width="92" height="46" viewBox="0 0 92 46" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<g opacity="0.8">\n\t\t\t\t\t\t<rect x="0.941895" y="0.944336" width="90" height="44.5" fill="white" stroke="#515962" stroke-dasharray="3 3"/>\n\t\t\t\t\t\t<path d="M45.9419 1.19727V45.4443" stroke="#515962" stroke-dasharray="3 3"/>\n\t\t\t\t\t\t<path d="M90.9419 23.3213L0.941896 23.3213" stroke="#515962" stroke-dasharray="3 3"/>\n\t\t\t\t\t</g>\n\t\t\t\t</svg>\n\t\t\t',"2-3":'\n\t\t\t\t<svg width="92" height="46" viewBox="0 0 92 46" fill="none" xmlns="http://www.w3.org/2000/svg">\n\t\t\t\t\t<rect opacity="0.8" x="90.9419" y="0.944336" width="44.5" height="90" transform="rotate(90 90.9419 0.944336)" fill="white" stroke="#515962" stroke-dasharray="3 3"/>\n\t\t\t\t\t<path d="M0.941895 22.3711L90.9419 22.3711" stroke="#515962" stroke-dasharray="3 3"/>\n\t\t\t\t\t<path d="M60.9419 45.4443L60.9419 1.56836" stroke="#515962" stroke-dasharray="3 3"/>\n\t\t\t\t\t<path d="M30.9419 45.4443L30.9419 1.56836" stroke="#515962" stroke-dasharray="3 3"/>\n\t\t\t\t</svg>\n\t\t\t'}[C]},getContainerGridPresets:function getContainerGridPresets(){return["1-2","2-1","1-3","3-1","2-2","2-3"]}},C.exports=$},85099:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(77266)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(93231));function 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<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,G.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var K=function(C){(0,W.default)(_default,C);var T=_createSuper(_default);function _default(){var C;return(0,V.default)(this,_default),C=T.call(this),(0,G.default)((0,q.default)(C),"defaultOptions",{title:"",content:"",targetElement:null,position:{blockStart:null,inlineStart:null},actionButton:{url:null,text:null,classes:["elementor-button","e-accent"]}}),(0,G.default)((0,q.default)(C),"elements",{$title:null,$titleBadge:null,$closeButton:null,$header:null}),C.initDialog(),C}return(0,L.default)(_default,[{key:"initDialog",value:function initDialog(){var C=this;this.dialog=elementor.dialogsManager.createWidget("buttons",{id:"elementor-element--promotion__dialog",effects:{show:"show",hide:"hide"},hide:{onOutsideClick:!1},position:{my:(elementorCommon.config.isRTL?"right":"left")+"+5 top"}}),this.elements.$header=this.dialog.getElements("header"),this.elements.$title=jQuery("<div>",{id:"elementor-element--promotion__dialog__title"}),this.elements.$titleBadge=jQuery("<i>",{class:"eicon-pro-icon"}),this.elements.$closeButton=jQuery("<i>",{class:"eicon-close"}),this.elements.$closeButton.on("click",(function(){return C.dialog.hide()})),this.elements.$header.append(this.elements.$title,this.elements.$titleBadge,this.elements.$closeButton)}},{key:"createButton",value:function createButton(C){var T=this.dialog.getElements("action");T&&T.remove(),this.dialog.addButton({name:"action",text:C.text,classes:C.classes.join(" "),callback:function callback(){return open(C.url,"_blank")}})}},{key:"parseOptions",value:function parseOptions(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _objectSpread(_objectSpread(_objectSpread({},this.defaultOptions),C),{},{position:_objectSpread(_objectSpread({},this.defaultOptions.position),(null==C?void 0:C.position)||{}),actionButton:_objectSpread(_objectSpread({},this.defaultOptions.actionButton),(null==C?void 0:C.actionButton)||{})})}},{key:"showDialog",value:function showDialog(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.dialog||this.initDialog(),C=this.parseOptions(C),this.createButton(C.actionButton),this.elements.$title.text(C.title);var T=elementorCommon.config.isRTL?"left":"right";return this.dialog.setMessage(C.content).setSettings("position",{of:C.targetElement,at:"".concat(T).concat(C.position.inlineStart||""," top").concat(C.position.blockStart||"")}),this.dialog.show()}}]),_default}(elementorModules.Module);T.default=K},92093:(C,T)=>{"use strict";function setQueryParam(C,T){var B=new URL(window.location.href);null===T?B.searchParams.delete(C):B.searchParams.set(C,T),history.replaceState({},"",B)}Object.defineProperty(T,"__esModule",{value:!0}),T.getQueryParam=function getQueryParam(C){return new URLSearchParams(window.location.search).get(C)},T.removeQueryParam=function removeQueryParam(C){setQueryParam(C,null)},T.setQueryParam=setQueryParam},91795:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(51121)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(Select2,C);var T=_createSuper(Select2);function Select2(){return(0,V.default)(this,Select2),T.apply(this,arguments)}return(0,L.default)(Select2,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{selectors:{plusButton:".select2-selection__e-plus-button",select2InlineSearch:".select2-selection__rendered .select2-search--inline"},classes:{plusButton:"select2-selection__e-plus-button",select2Choice:"select2-selection__choice"}}}},{key:"isAllSelected",value:function isAllSelected(){var C=this,isAllSelected=!1;return this.select2.dataAdapter.query({},(function(T){var B=T.results.length;C.elements.$element.select2("data").length===B&&(isAllSelected=!0)})),isAllSelected}},{key:"addPlusButton",value:function addPlusButton(){var C=this.getSettings("classes"),T=C.plusButton,B=[C.select2Choice,T].join(" ");this.elements.$plusButton=jQuery("<li>",{class:B}).text("+"),this.elements.$plusButton.insertBefore(this.elements.$inlineSearch)}},{key:"togglePlusButton",value:function togglePlusButton(){this.isAllSelected()?this.elements.$plusButton&&this.elements.$plusButton.remove():this.addPlusButton()}},{key:"addSelect2Events",value:function addSelect2Events(){var C=this;this.select2.on("select",(function(){return C.onSelectionChange()})),this.select2.on("unselect",(function(){return C.onSelectionChange()}))}},{key:"onSelectionChange",value:function onSelectionChange(){this.togglePlusButton()}},{key:"extendBaseFunctionality",value:function extendBaseFunctionality(){var C=this.select2.options.options;C.multiple&&!C.ajax&&(this.togglePlusButton(),this.addSelect2Events())}},{key:"initSelect2Elements",value:function initSelect2Elements(){var C=this.getSettings("selectors.select2InlineSearch");this.elements.$element=this.select2.$element,this.elements.$container=this.select2.$container,this.elements.$inlineSearch=this.elements.$container.find(C)}},{key:"destroy",value:function destroy(){this.elements.$element.select2("destroy")}},{key:"onInit",value:function onInit(){for(var C,T=arguments.length,B=new Array(T),$=0;$<T;$++)B[$]=arguments[$];(C=(0,q.default)((0,H.default)(Select2.prototype),"onInit",this)).call.apply(C,[this].concat(B));var V=this.getSettings(),L=V.$element,W=V.options;this.select2=L.select2(W).data("select2"),this.initSelect2Elements(),this.extendBaseFunctionality()}}]),Select2}(elementorModules.ViewModule);T.default=G},34533:C=>{"use strict";var T,B;T=jQuery,(B=function Stylesheet(){var C=this,B={},$={},V={},L=function hashToQuery(C){var T={};return(C=C.split("-").filter(String)).forEach((function(C){var B=C.split(/_(.+)/),$=B[0],L=B[1];T[$]="max"===$?V[L]:elementorFrontend.breakpoints.getDeviceMinBreakpoint(L)})),T};this.addDevice=function(T,B){V[T]=B;var $=Object.keys(V);if($.length<2)return C;$.sort((function(C,T){return V[C]-V[T]}));var L={};return $.forEach((function(C){L[C]=V[C]})),V=L,C},this.addRawCSS=function(C,T){$[C]=T},this.addRules=function($,V,q){var W="all";if(_.isEmpty(q)||(W=function queryToHash(C){var B=[];return T.each(C,(function(C){B.push(C+"_"+this)})),B.join("-")}(q)),B[W]||function addQueryHash(C){B[C]={};var T=Object.keys(B);if(!(T.length<2)){T.sort((function(C,T){var B,$;if("all"===C)return-1;if("all"===T)return 1;var V=L(C),q=L(T);if(V.max&&q.max)return q.max-V.max;if(V.min&&q.min)return q.min-V.min;var W=null!==(B=V.max)&&void 0!==B?B:V.min;return(null!==($=q.max)&&void 0!==$?$:q.min)-W}));var $={};T.forEach((function(C){$[C]=B[C]})),B=$}}(W),V){if(B[W][$]||(B[W][$]={}),"string"==typeof V){V=V.split(";").filter(String);var U={};try{T.each(V,(function(){var C=this.split(/:(.*)?/);U[C[0].trim()]=C[1].trim().replace(";","")}))}catch(C){return}V=U}return T.extend(B[W][$],V),C}var H=$.match(/[^{]+\{[^}]+}/g);T.each(H,(function(){var T=this.match(/([^{]+)\{([^}]+)}/);T&&C.addRules(T[1].trim(),T[2].trim(),q)}))},this.getRules=function(){return B},this.empty=function(){B={},$={}},this.toString=function(){var C="";return T.each(B,(function(B){var $=Stylesheet.parseRules(this);"all"!==B&&($=function getQueryHashStyleFormat(C){var B=L(C),$=[];return T.each(B,(function(C){$.push("("+C+"-width:"+this+"px)")})),"@media"+$.join(" and ")}(B)+"{"+$+"}"),C+=$})),T.each($,(function(){C+=this})),C}}).parseRules=function(C){var $="";return T.each(C,(function(C){var T=B.parseProperties(this);T&&($+=C+"{"+T+"}")})),$},B.parseProperties=function(C){var B="";return T.each(C,(function(C){this&&(B+=C+":"+this+";")})),B},C.exports=B},59113:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910)),G=V(B(93231)),K=V(B(48606)),Q=V(B(73308));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var J=function(C){(0,W.default)(AddSectionBase,C);var T=_createSuper(AddSectionBase);function AddSectionBase(){return(0,L.default)(this,AddSectionBase),T.apply(this,arguments)}return(0,q.default)(AddSectionBase,[{key:"template",value:function template(){return Marionette.TemplateCache.get("#tmpl-elementor-add-section")}},{key:"attributes",value:function attributes(){return{"data-view":AddSectionBase.VIEW_CHOOSE_ACTION}}},{key:"ui",value:function ui(){return{addNewSection:".elementor-add-new-section",closeButton:".elementor-add-section-close",backButton:".elementor-add-section-back",addSectionButton:".elementor-add-section-button",addTemplateButton:".elementor-add-template-button",selectPreset:".elementor-select-preset",presets:".elementor-preset",containerPresets:".e-con-preset",flexPresetButton:".flex-preset-button",gridPresetButton:".grid-preset-button",chooseGridPreset:".e-con-choose-grid-preset"}}},{key:"events",value:function events(){var C=this;return{"click @ui.addSectionButton":"onAddSectionButtonClick","click @ui.addTemplateButton":"onAddTemplateButtonClick","click @ui.closeButton":"onCloseButtonClick","click @ui.backButton":function clickUiBackButton(){return C.setView(AddSectionBase.getSelectType())},"click @ui.presets":"onPresetSelected","click @ui.containerPresets":"onContainerPresetSelected","click @ui.flexPresetButton":function clickUiFlexPresetButton(){return C.setView(AddSectionBase.VIEW_CONTAINER_FLEX_PRESET)},"click @ui.gridPresetButton":function clickUiGridPresetButton(){return C.setView(AddSectionBase.VIEW_CONTAINER_GRID_PRESET)},"click @ui.chooseGridPreset":"onGridPresetSelected"}}},{key:"behaviors",value:function behaviors(){var behaviors={contextMenu:{behaviorClass:B(81152),groups:this.getContextMenuGroups(),eventTargets:[".elementor-add-section-inner"]}};return elementor.hooks.applyFilters("views/add-section/behaviors",behaviors,this)}},{key:"className",value:function className(){return"elementor-add-section elementor-visible-desktop"}},{key:"setView",value:function setView(C){this.$el.attr("data-view",C)}},{key:"showSelectPresets",value:function showSelectPresets(){this.setView(AddSectionBase.getSelectType())}},{key:"closeSelectPresets",value:function closeSelectPresets(){this.setView(AddSectionBase.VIEW_CHOOSE_ACTION)}},{key:"getTemplatesModalOptions",value:function getTemplatesModalOptions(){return{importOptions:{at:this.getOption("at")}}}},{key:"getContextMenuGroups",value:function getContextMenuGroups(){var C=this,T=function hasContent(){return elementor.elements.length>0},B=Q.default.mac?"⌘":"^";return[{name:"paste",actions:[{name:"paste",title:$("Paste","elementor"),shortcut:B+"+V",isEnabled:function isEnabled(){return $e.components.get("document/elements").utils.isPasteEnabled(elementor.getPreviewContainer())},callback:function callback(){return $e.run("document/ui/paste",{container:elementor.getPreviewContainer(),options:{at:C.getOption("at"),rebuild:!0},onAfter:function onAfter(){return C.onAfterPaste()}})}},{name:"paste_area",icon:"eicon-import-export",title:$("Paste from other site","elementor"),callback:function callback(){return $e.run("document/elements/paste-area",{container:elementor.getPreviewContainer(),options:{at:C.getOption("at"),rebuild:!0}})}}]},{name:"content",actions:[{name:"copy_all_content",title:$("Copy All Content","elementor"),isEnabled:T,callback:function callback(){return $e.run("document/elements/copy-all")}},{name:"delete_all_content",title:$("Delete All Content","elementor"),isEnabled:T,callback:function callback(){return $e.run("document/elements/empty")}}]}]}},{key:"onAddSectionButtonClick",value:function onAddSectionButtonClick(){this.showSelectPresets()}},{key:"onAddTemplateButtonClick",value:function onAddTemplateButtonClick(){$e.run("library/open",this.getTemplatesModalOptions())}},{key:"onRender",value:function onRender(){this.$el.html5Droppable(function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,G.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}({axis:["vertical"],groups:["elementor-element"],placeholder:!1,currentElementClass:"elementor-html5dnd-current-element",hasDraggingOnChildClass:"elementor-dragging-on-child"},this.getDroppableOptions()))}},{key:"getDroppableOptions",value:function getDroppableOptions(){var C=this;return{isDroppingAllowed:function isDroppingAllowed(){var C,T,B;return!(null!==(C=elementor.channels.editor.request("element:dragged"))&&void 0!==C&&null!==(T=C.el)&&void 0!==T&&null!==(B=T.dataset)&&void 0!==B&&B.id)},onDropping:function onDropping(T,B){elementor.getPreviewView().onDrop(B,{side:T,at:C.getOption("at")})}}}},{key:"onGridPresetSelected",value:function onGridPresetSelected(C){this.closeSelectPresets();var T=C.currentTarget.dataset.structure,B=elementor.presetsFactory.getParsedGridStructure(T),V=!!this.options.at||0===this.options.at,L=K.default.createContainer({container_type:K.default.CONTAINER_TYPE_GRID,grid_columns_grid:{unit:"fr",size:B.columns},grid_rows_grid:{unit:"fr",size:B.rows},grid_rows_grid_mobile:{unit:"fr",size:B.rows}},elementor.getPreviewContainer(),this.options,{title:$("Grid","elementor"),custom:{isPreset:!0,preset_settings:{presetIcon:"eicon-container-grid"}}});return V&&this.destroy(),L}},{key:"onPresetSelected",value:function onPresetSelected(C){this.closeSelectPresets();var T=C.currentTarget.dataset.structure,B=elementor.presetsFactory.getParsedStructure(T);$e.run("document/elements/create",{model:{elType:"section"},container:elementor.getPreviewContainer(),columns:B.columnsCount,structure:T,options:Object.assign({},this.options)})}},{key:"onContainerPresetSelected",value:function onContainerPresetSelected(C){return this.closeSelectPresets(),K.default.createContainerFromPreset(C.currentTarget.dataset.preset,elementor.getPreviewContainer(),this.options)}},{key:"onDropping",value:function onDropping(){elementor.getPreviewView().addElementFromPanel()}},{key:"onAfterPaste",value:function onAfterPaste(){}}],[{key:"getSelectType",value:function getSelectType(){return AddSectionBase.IS_CONTAINER_ACTIVE?AddSectionBase.getSelectTypePreset():"select-preset"}},{key:"getSelectTypePreset",value:function getSelectTypePreset(){return AddSectionBase.IS_CONTAINER_ACTIVE?"select-type":"select-container-preset"}}]),AddSectionBase}(Marionette.ItemView);(0,G.default)(J,"IS_CONTAINER_ACTIVE",!!elementorCommon.config.experimentalFeatures.container),(0,G.default)(J,"VIEW_CHOOSE_ACTION","choose-action"),(0,G.default)(J,"VIEW_CONTAINER_FLEX_PRESET","select-container-preset"),(0,G.default)(J,"VIEW_CONTAINER_GRID_PRESET","select-container-preset-grid");var Y=J;T.default=Y},4312:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(AddSectionView,C);var T=_createSuper(AddSectionView);function AddSectionView(){return(0,V.default)(this,AddSectionView),T.apply(this,arguments)}return(0,L.default)(AddSectionView,[{key:"id",get:function get(){return"elementor-add-new-section"}},{key:"onCloseButtonClick",value:function onCloseButtonClick(){this.closeSelectPresets()}}]),AddSectionView}($(B(59113)).default);T.default=H},57846:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(51121)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(AddSectionView,C);var T=_createSuper(AddSectionView);function AddSectionView(){return(0,V.default)(this,AddSectionView),T.apply(this,arguments)}return(0,L.default)(AddSectionView,[{key:"className",value:function className(){return(0,q.default)((0,H.default)(AddSectionView.prototype),"className",this).call(this)+" elementor-add-section-inline"}},{key:"fadeToDeath",value:function fadeToDeath(){var C=this;C.$el.slideUp((function(){C.destroy()}))}},{key:"onAfterPaste",value:function onAfterPaste(){(0,q.default)((0,H.default)(AddSectionView.prototype),"onAfterPaste",this).call(this),this.destroy()}},{key:"onCloseButtonClick",value:function onCloseButtonClick(){this.fadeToDeath()}},{key:"onPresetSelected",value:function onPresetSelected(C){(0,q.default)((0,H.default)(AddSectionView.prototype),"onPresetSelected",this).call(this,C),this.destroy()}},{key:"onContainerPresetSelected",value:function onContainerPresetSelected(C){(0,q.default)((0,H.default)(AddSectionView.prototype),"onContainerPresetSelected",this).call(this,C),this.destroy()}},{key:"onAddTemplateButtonClick",value:function onAddTemplateButtonClick(){(0,q.default)((0,H.default)(AddSectionView.prototype),"onAddTemplateButtonClick",this).call(this),this.destroy()}},{key:"getDroppableOptions",value:function getDroppableOptions(){var C=this;return{onDropping:function onDropping(T,B){(0,q.default)((0,H.default)(AddSectionView.prototype),"getDroppableOptions",C).call(C).onDropping(T,B),C.destroy()}}}},{key:"onDropping",value:function onDropping(){var C=this.getDroppableOptions();(0,q.default)((0,H.default)(AddSectionView.prototype),"onDropping",this).call(this),C.onDropping&&C.onDropping()}}]),AddSectionView}($(B(59113)).default);T.default=G},47071:(C,T,B)=>{"use strict";var $=B(73203)(B(40131));C.exports=Marionette.CompositeView.extend({templateHelpers:function templateHelpers(){return{view:this}},getBehavior:function getBehavior(C){return this._behaviors[Object.keys(this.behaviors()).indexOf(C)]},initialize:function initialize(){this.collection=this.model.get("elements")},addChildModel:function addChildModel(C,T){return this.collection.add(C,T,!0)},addElement:function addElement(C,T){if(!this.isCollectionFilled()){T=jQuery.extend({trigger:!1,edit:!0,onBeforeAdd:null,onAfterAdd:null},T);var B,$,V=this.getChildType();if(C instanceof Backbone.Model?$=(B=C).get("elType"):(B={id:elementorCommon.helpers.getUniqueId(),elType:V[0],settings:{},elements:[]},C&&jQuery.extend(B,C),$=B.elType),-1===V.indexOf($))return this.children.last().addElement(B,T);T.clone&&(B=this.cloneItem(B)),T.trigger&&elementor.channels.data.trigger(T.trigger.beforeAdd,B),T.onBeforeAdd&&T.onBeforeAdd(),this.filterSettings&&this.filterSettings(B);var L=this.addChildModel(B,{at:T.at}),q=this.children.findByModel(L);return T.onAfterAdd&&T.onAfterAdd(L,q),T.trigger&&elementor.channels.data.trigger(T.trigger.afterAdd,B),T.edit&&elementor.documents.getCurrent().history.getActive()&&(q.getContainer(),L.trigger("request:edit",{scrollIntoView:T.scrollIntoView})),q}},createElementFromContainer:function createElementFromContainer(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.createElementFromModel(C.model,T)},createElementFromModel:function createElementFromModel(C){var T,B,$=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(C instanceof Backbone.Model&&(C=C.toJSON()),!elementor.helpers.maybeDisableWidget(C.widgetType)){"section"===(C=Object.assign(C,C.custom)).elType&&(C.isInner=!0),null!==(T=null===(B=C)||void 0===B?void 0:B.isPreset)&&void 0!==T&&T&&(C.settings=C.preset_settings);var V=$e.internal("document/history/start-log",{type:this.getHistoryType($.event),title:elementor.helpers.getModelLabel(C)}),L=this.getContainer();if($.shouldWrap){var q=elementorCommon.config.experimentalFeatures.container;L=$e.run("document/elements/create",{model:{elType:q?"container":"section"},container:L,columns:Number(!q),options:{at:$.at,scrollIntoView:$.scrollIntoView}}),q||(L=L.view.children.findByIndex(0).getContainer())}var W=$e.run("document/elements/create",{container:L,model:C,options:$});return $e.internal("document/history/end-log",{id:V}),W}},onDrop:function onDrop(C,T){var B,V=C.originalEvent.dataTransfer.files;if(V.length)$e.run("editor/browser-import/import",{input:V,target:this.getContainer(),options:{event:C,target:{at:T.at}}});else{var L={};L.model=Object.fromEntries(Object.entries(null===(B=elementor.channels.panelElements.request("element:selected"))||void 0===B?void 0:B.model.attributes).filter((function(C){var T=(0,$.default)(C,1)[0];return["elType","widgetType","custom"].includes(T)}))),L.container=this.getContainer(),L.options=T,$e.run("preview/drop",L)}},getHistoryType:function getHistoryType(C){if(C)switch(C.originalEvent&&(C=C.originalEvent),C.constructor.name){case"DragEvent":return"import";case"ClipboardEvent":return"paste"}return"add"},cloneItem:function cloneItem(C){var T=this;return C instanceof Backbone.Model?C.clone():(C.id=elementorCommon.helpers.getUniqueId(),C.settings._element_id="",C.elements.forEach((function(B,$){C.elements[$]=T.cloneItem(B)})),C)},lookup:function lookup(){var C=this;return C.isDisconnected()&&(C=$e.components.get("document").utils.findViewById(C.model.id)),C},isDisconnected:function isDisconnected(){return this.isDestroyed||!this.el.isConnected},isCollectionFilled:function isCollectionFilled(){return!1}}),Marionette.CollectionView.prototype.buildChildView=function(C,T,B){var $=new T(_.extend({model:C},B));return $._parent=this,Marionette.MonitorDOMRefresh($),$},Marionette.CompositeView.prototype.attachBuffer=function(C,T){var B,$,V,L,q=this.getChildViewContainer(C);if(null!==(B=this.model)&&void 0!==B&&null!==($=B.config)&&void 0!==$&&$.support_improved_repeaters&&null!==(V=this.model)&&void 0!==V&&null!==(L=V.config)&&void 0!==L&&L.is_interlaced){var W,U,H,G=q.find(null===(W=this.model)||void 0===W||null===(U=W.config)||void 0===U||null===(H=U.defaults)||void 0===H?void 0:H.child_container_placeholder_selector);_.each(G,(function(C){C.appendChild(T.childNodes[0]),T.appendChild(C)}))}q.append(T)}},38648:(C,T,B)=>{"use strict";var $,V=B(47071);$=V.extend({getChildView:function getChildView(C){var T;switch(C.get("elType")){case"section":T=B(39872);break;case"container":T=B(96040)}return T},behaviors:function behaviors(){var behaviors={Sortable:{behaviorClass:B(92243),elChildType:"section"}};return elementor.hooks.applyFilters("elements/base-section-container/behaviors",behaviors,this)},getSortableOptions:function getSortableOptions(){return{handle:"> .elementor-element-overlay .elementor-editor-element-edit",items:"> .elementor-section, > .e-con"}},getChildType:function getChildType(){return["section","container"]},initialize:function initialize(){V.prototype.initialize.apply(this,arguments),this.listenTo(elementor.channels.panelElements,"element:drag:start",this.onPanelElementDragStart).listenTo(elementor.channels.panelElements,"element:drag:end",this.onPanelElementDragEnd)},onPanelElementDragStart:function onPanelElementDragStart(){this.$el.find(".elementor-background-video-embed").hide(),elementor.helpers.disableElementEvents(this.$el.find("iframe"))},onPanelElementDragEnd:function onPanelElementDragEnd(){this.$el.find(".elementor-background-video-embed").show(),elementor.helpers.enableElementEvents(this.$el.find("iframe"))}}),C.exports=$},59010:(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(93231)),q=V(B(78983)),W=V(B(42081)),U=function(){function ControlsPopover(C){(0,q.default)(this,ControlsPopover),this.child=C,this.$popover=jQuery("<div>",{class:"elementor-controls-popover"}),C.$el.before(this.$popover),this.$popover.append(C.$el),this.popoverToggleView=C._parent.children.findByIndex(C._index-1),"typography"===this.child.model.attributes.groupType&&this.createPopoverHeader()}return(0,W.default)(ControlsPopover,[{key:"addChild",value:function addChild(C){this.$popover.append(C.$el)}},{key:"createPopoverHeader",value:function createPopoverHeader(){var C=this,T=this.$popover.prev().find(".elementor-control-popover-toggle-reset-label");this.$popoverHeader=jQuery("<div>",{class:"e-group-control-header"}).html("<span>"+$("Typography","elementor")+"</span>"),this.$headerControlsWrapper=jQuery("<div>",{class:"e-control-tools"}),T.addClass("e-control-tool").on("click",(function(){return C.onResetButtonClick()})),this.$headerControlsWrapper.append(T),this.$popoverHeader.append(this.$headerControlsWrapper);var B=this.popoverToggleView.model.get("global");null!=B&&B.active&&this.createAddButton(),this.$popover.prepend(this.$popoverHeader).addClass("e-controls-popover--typography")}},{key:"onResetButtonClick",value:function onResetButtonClick(){this.$popover.hide();var C=this.child.model.get("groupPrefix")+"typography",T={container:this.child.options.container,settings:(0,L.default)({},C,"")};this.child.options.container.globals.get(C)?$e.run("document/globals/disable",T):$e.run("document/elements/settings",T)}},{key:"onAddButtonClick",value:function onAddButtonClick(){this.popoverToggleView.onAddGlobalButtonClick()}},{key:"createAddButton",value:function createAddButton(){var C=this;this.$addButton=jQuery("<button>",{class:"e-control-tool"}).html(jQuery("<i>",{class:"eicon-plus"})),this.$headerControlsWrapper.append(this.$addButton),this.$addButton.on("click",(function(){return C.onAddButtonClick()})),this.$addButton.tipsy({title:function title(){return $("Create New Global Font","elementor")},gravity:function gravity(){return"s"}})}},{key:"destroy",value:function destroy(){this.$popover.remove()}}]),ControlsPopover}();T.default=U},99533:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V,L=$(B(59010)),q=V=Marionette.CompositeView.extend({classes:{popover:"elementor-controls-popover"},activeTab:null,activeSection:null,className:function className(){return"elementor-controls-stack"},templateHelpers:function templateHelpers(){return{elementData:elementor.getElementData(this.model)}},childViewOptions:function childViewOptions(){return{elementSettingsModel:this.model}},ui:function ui(){return{tabs:".elementor-panel-navigation-tab",reloadButton:".elementor-update-preview-button"}},events:function events(){return{"click @ui.reloadButton":"onReloadButtonClick"}},modelEvents:{destroy:"onModelDestroy"},behaviors:{HandleInnerTabs:{behaviorClass:B(10367)}},initialize:function initialize(C){this.initCollection(),C.tab&&(this.activeTab=C.tab,this.activateFirstSection()),this.listenTo(elementor.channels.deviceMode,"change",this.onDeviceModeChange)},onDestroy:function onDestroy(){this.stopListening(elementor.channels.deviceMode,"change",this.onDeviceModeChange)},initCollection:function initCollection(){this.collection=new Backbone.Collection(_.values(elementor.mergeControlsSettings(this.getOption("controls"))))},filter:function filter(C){if(C.get("tab")!==this.activeTab)return!1;if("section"===C.get("type"))return!0;var T=C.get("section");return!T||T===this.activeSection},getControlViewByModel:function getControlViewByModel(C){return this.children.findByModelCid(C.cid)},getControlViewByName:function getControlViewByName(C){return this.getControlViewByModel(this.getControlModel(C))},getControlModel:function getControlModel(C){return this.collection.findWhere({name:C})},isVisibleSectionControl:function isVisibleSectionControl(C){return this.activeTab===C.get("tab")},activateTab:function activateTab(C){return this.activeTab=C,this.activateFirstSection(),this._renderChildren(),this},activateSection:function activateSection(C){return this.activeSection=C,this},activateFirstSection:function activateFirstSection(){var C,T=this,B=T.collection.filter((function(C){return"section"===C.get("type")&&T.isVisibleSectionControl(C)}));if(B[0]?C=B[0].get("name"):(T.activeSection=null,C=null),!B.filter((function(C){return T.activeSection===C.get("name")}))[0])return T.activateSection(C),this},getChildView:function getChildView(C){var T=C.get("type");return elementor.getControlView(T)},getNamespaceArray:function getNamespaceArray(){return[elementor.getPanelView().getCurrentPageName()]},openActiveSection:function openActiveSection(){var C=this.activeSection,T=this.children.filter((function(T){return C===T.model.get("name")}));if(T[0]){T[0].$el.addClass("e-open");var B=this.getNamespaceArray();B.push(C,"activated"),elementor.channels.editor.trigger(B.join(":"),this)}},onRenderCollection:function onRenderCollection(){this.openActiveSection(),V.handlePopovers(this)},onModelDestroy:function onModelDestroy(){this.destroy()},onReloadButtonClick:function onReloadButtonClick(){elementor.reloadPreview()},onDeviceModeChange:function onDeviceModeChange(){"desktop"===elementor.channels.deviceMode.request("currentMode")&&this.$el.removeClass("elementor-responsive-switchers-open")},onChildviewControlSectionClicked:function onChildviewControlSectionClicked(C){var T=C.$el.hasClass("e-open");this.activateSection(T?null:C.model.get("name")),this._renderChildren()},onChildviewResponsiveSwitcherClick:function onChildviewResponsiveSwitcherClick(C,T){"desktop"===T&&this.$el.toggleClass("elementor-responsive-switchers-open")}},{handlePopovers:function handlePopovers(C){var T;this.removePopovers(C),C.popovers=[],C.children.each((function(B){T&&T.addChild(B);var $=B.model.get("popover");$&&($.start&&(T=new L.default(B),C.popovers.push(T)),$.end&&(T=null))}))},removePopovers:function removePopovers(C){var T;null===(T=C.popovers)||void 0===T||T.forEach((function(C){return C.destroy()}))}});T.default=q},72800:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203),L=V(B(93231)),q=V(B(4312));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<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,L.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}var W=B(38648),U=W.extend({initialize:function initialize(){this.$childViewContainer=jQuery("<div>",{class:"elementor-section-wrap"}),this.config={allowEdit:!0},W.prototype.initialize.apply(this,arguments)},setConfig:function setConfig(C){this.config=Object.assign(this.config,C)},getChildViewContainer:function getChildViewContainer(){return this.$childViewContainer},behaviors:function behaviors(){var C=W.prototype.behaviors.apply(this,arguments),behaviors={contextMenu:{behaviorClass:B(81152),groups:this.getContextMenuGroups()}};return jQuery.extend(C,behaviors)},getContainer:function getContainer(){return elementor.settings.page.getEditedView().getContainer()},getContextMenuGroups:function getContextMenuGroups(){var C=this,T=function hasContent(){return elementor.elements.length>0};return[{name:"paste",actions:[{name:"paste",title:$("Paste","elementor"),isEnabled:function isEnabled(){return $e.components.get("document/elements").utils.isPasteEnabled(C.getContainer())},callback:function callback(T){return $e.run("document/ui/paste",{container:C.getContainer(),options:{at:T,rebuild:!0}})}}]},{name:"content",actions:[{name:"copy_all_content",title:$("Copy All Content","elementor"),isEnabled:T,callback:function callback(){return $e.run("document/elements/copy-all")}},{name:"delete_all_content",title:$("Delete All Content","elementor"),isEnabled:T,callback:function callback(){return $e.run("document/elements/empty")}}]}]},createElementFromModel:function createElementFromModel(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return W.prototype.createElementFromModel.call(this,C,_objectSpread(_objectSpread({},T),{},{shouldWrap:"container"!==C.elType}))},addElementFromPanel:function addElementFromPanel(C){if(this.config.allowEdit&&!elementor.helpers.maybeDisableWidget()){var T=!!elementorCommon.config.experimentalFeatures.container,B=elementor.channels.panelElements.request("element:selected"),$=$e.internal("document/history/start-log",{type:"add",title:elementor.helpers.getModelLabel(B.model)}),V=$e.run("document/elements/create",{model:{elType:T?"container":"section"},container:elementor.getPreviewContainer(),columns:1,options:_objectSpread({at:this.getOption("at")},C)});T?"container"!==B.model.get("elType")&&V.view.addElementFromPanel(C):V.view.children.findByIndex(0).addElementFromPanel(C),$e.internal("document/history/end-log",{id:$})}},shouldRenderAddNewSectionArea:function shouldRenderAddNewSectionArea(){return this.config.allowEdit&&elementor.userCan("design")},onRender:function onRender(){if(this.$el.html(this.$childViewContainer),this.shouldRenderAddNewSectionArea()){var C=new q.default;C.render(),this.$el.append(C.$el)}}});C.exports=U},42618:(C,T,B)=>{"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(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(27597)),K=$(B(90381));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var Q=function(C){(0,W.default)(ArgsObject,C);var T=_createSuper(ArgsObject);function ArgsObject(C){var B;return(0,L.default)(this,ArgsObject),(B=T.call(this)).args=C,B}return(0,q.default)(ArgsObject,[{key:"requireArgument",value:function requireArgument(C){var T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.args;if(!Object.prototype.hasOwnProperty.call(T,C))throw Error("".concat(C," is required."))}},{key:"requireArgumentType",value:function requireArgumentType(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,B),(0,V.default)(B[C])!==T)throw Error("".concat(C," invalid type: ").concat(T,"."))}},{key:"requireArgumentInstance",value:function requireArgumentInstance(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,B),!(B[C]instanceof T||(0,K.default)(B[C],T)))throw Error("".concat(C," invalid instance."))}},{key:"requireArgumentConstructor",value:function requireArgumentConstructor(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.args;if(this.requireArgument(C,B),B[C].constructor.toString()!==T.prototype.constructor.toString())throw Error("".concat(C," invalid constructor type."))}}],[{key:"getInstanceType",value:function getInstanceType(){return"ArgsObject"}}]),ArgsObject}(G.default);T.default=Q},27597:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(51121)),W=$(B(74910)),U=function(C){function InstanceType(){var C=this;(0,V.default)(this,InstanceType);for(var T=this instanceof InstanceType?this.constructor:void 0,B=[];T.__proto__&&T.__proto__.name;)B.push(T.__proto__),T=T.__proto__;B.reverse().forEach((function(T){return C instanceof T}))}return(0,L.default)(InstanceType,null,[{key:C,value:function value(C){var T=(0,q.default)((0,W.default)(InstanceType),Symbol.hasInstance,this).call(this,C);if(C&&!C.constructor.getInstanceType)return T;if(C&&(C.instanceTypes||(C.instanceTypes=[]),T||this.getInstanceType()===C.constructor.getInstanceType()&&(T=!0),T)){var B=this.getInstanceType===InstanceType.getInstanceType?"BaseInstanceType":this.getInstanceType();-1===C.instanceTypes.indexOf(B)&&C.instanceTypes.push(B)}return!T&&C&&(T=C.instanceTypes&&Array.isArray(C.instanceTypes)&&-1!==C.instanceTypes.indexOf(this.getInstanceType())),T}},{key:"getInstanceType",value:function getInstanceType(){elementorModules.ForceMethodImplementation()}}]),InstanceType}(Symbol.hasInstance);T.default=U},1192:(C,T,B)=>{"use strict";var $=B(73203)(B(7501)),V=function Module(){var C,T=jQuery,B=arguments,V=this,L={};this.getItems=function(C,T){if(T){var B=T.split("."),$=B.splice(0,1);if(!B.length)return C[$];if(!C[$])return;return this.getItems(C[$],B.join("."))}return C},this.getSettings=function(T){return this.getItems(C,T)},this.setSettings=function(B,L,q){if(q||(q=C),"object"===(0,$.default)(B))return T.extend(q,B),V;var W=B.split("."),U=W.splice(0,1);return W.length?(q[U]||(q[U]={}),V.setSettings(W.join("."),L,q[U])):(q[U]=L,V)},this.getErrorMessage=function(C,T){var B;if("forceMethodImplementation"===C)B="The method '".concat(T,"' must to be implemented in the inheritor child.");else B="An error occurs";return B},this.forceMethodImplementation=function(C){throw new Error(this.getErrorMessage("forceMethodImplementation",C))},this.on=function(C,B){return"object"===(0,$.default)(C)?(T.each(C,(function(C){V.on(C,this)})),V):(C.split(" ").forEach((function(C){L[C]||(L[C]=[]),L[C].push(B)})),V)},this.off=function(C,T){if(!L[C])return V;if(!T)return delete L[C],V;var B=L[C].indexOf(T);return-1!==B&&(delete L[C][B],L[C]=L[C].filter((function(C){return C}))),V},this.trigger=function(C){var B="on"+C[0].toUpperCase()+C.slice(1),$=Array.prototype.slice.call(arguments,1);V[B]&&V[B].apply(V,$);var q=L[C];return q?(T.each(q,(function(C,T){T.apply(V,$)})),V):V},function init(){V.__construct.apply(V,B),function ensureClosureMethods(){T.each(V,(function(C){var T=V[C];"function"==typeof T&&(V[C]=function(){return T.apply(V,arguments)})}))}(),function initSettings(){C=V.getDefaultSettings();var $=B[0];$&&T.extend(!0,C,$)}(),V.trigger("init")}()};V.prototype.__construct=function(){},V.prototype.getDefaultSettings=function(){return{}},V.prototype.getConstructorID=function(){return this.constructor.name},V.extend=function(C){var T=jQuery,B=this,$=function child(){return B.apply(this,arguments)};return T.extend($,B),($.prototype=Object.create(T.extend({},B.prototype,C))).constructor=$,$.__super__=B.prototype,$},C.exports=V},74375:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(93231)),L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,V.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(Breakpoints,C);var T=_createSuper(Breakpoints);function Breakpoints(C){var B;return(0,L.default)(this,Breakpoints),(B=T.call(this)).responsiveConfig=C,B}return(0,q.default)(Breakpoints,[{key:"getActiveBreakpointsList",value:function getActiveBreakpointsList(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};C=_objectSpread(_objectSpread({},{largeToSmall:!1,withDesktop:!1}),C);var T=Object.keys(this.responsiveConfig.activeBreakpoints);if(C.withDesktop){var B=-1===T.indexOf("widescreen")?T.length:T.length-1;T.splice(B,0,"desktop")}return C.largeToSmall&&T.reverse(),T}},{key:"getBreakpointValues",value:function getBreakpointValues(){var C=this.responsiveConfig.activeBreakpoints,T=[];return Object.values(C).forEach((function(C){T.push(C.value)})),T}},{key:"getDesktopPreviousDeviceKey",value:function getDesktopPreviousDeviceKey(){var C=this.responsiveConfig.activeBreakpoints,T=Object.keys(C),B=T.length;return"min"===C[T[B-1]].direction?T[B-2]:T[B-1]}},{key:"getDesktopMinPoint",value:function getDesktopMinPoint(){return this.responsiveConfig.activeBreakpoints[this.getDesktopPreviousDeviceKey()].value+1}},{key:"getDeviceMinBreakpoint",value:function getDeviceMinBreakpoint(C){if("desktop"===C)return this.getDesktopMinPoint();var T,B=this.responsiveConfig.activeBreakpoints,$=Object.keys(B);if($[0]===C)T=320;else if("widescreen"===C)T=B[C]?B[C].value:this.responsiveConfig.breakpoints.widescreen;else{var V=$.indexOf(C);T=B[$[V-1]].value+1}return T}},{key:"getActiveMatchRegex",value:function getActiveMatchRegex(){return new RegExp(this.getActiveBreakpointsList().map((function(C){return"_"+C})).join("|")+"$")}}]),Breakpoints}(elementorModules.Module);T.default=G},36404:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Events=void 0;var V=$(B(78983)),L=$(B(42081)),q=function(){function Events(){(0,V.default)(this,Events)}return(0,L.default)(Events,null,[{key:"dispatch",value:function dispatch(C,T){var B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,$=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;C=C instanceof jQuery?C[0]:C,$&&C.dispatchEvent(new CustomEvent($,{detail:B})),C.dispatchEvent(new CustomEvent(T,{detail:B}))}}]),Events}();T.Events=q;var W=q;T.default=W},99469:C=>{"use strict";C.exports=function EventManager(){var C,T=Array.prototype.slice,B={actions:{},filters:{}};function _removeHook(C,T,$,V){var L,q,W;if(B[C][T])if($)if(L=B[C][T],V)for(W=L.length;W--;)(q=L[W]).callback===$&&q.context===V&&L.splice(W,1);else for(W=L.length;W--;)L[W].callback===$&&L.splice(W,1);else B[C][T]=[]}function _addHook(C,T,$,V,L){var q={callback:$,priority:V,context:L},W=B[C][T];if(W){var U=!1;if(jQuery.each(W,(function(){if(this.callback===$)return U=!0,!1})),U)return;W.push(q),W=function _hookInsertSort(C){for(var T,B,$,V=1,L=C.length;V<L;V++){for(T=C[V],B=V;($=C[B-1])&&$.priority>T.priority;)C[B]=C[B-1],--B;C[B]=T}return C}(W)}else W=[q];B[C][T]=W}function _runHook(C,T,$){var V,L,q=B[C][T];if(!q)return"filters"===C&&$[0];if(L=q.length,"filters"===C)for(V=0;V<L;V++)$[0]=q[V].callback.apply(q[V].context,$);else for(V=0;V<L;V++)q[V].callback.apply(q[V].context,$);return"filters"!==C||$[0]}return C={removeFilter:function removeFilter(T,B){return"string"==typeof T&&_removeHook("filters",T,B),C},applyFilters:function applyFilters(){var B=T.call(arguments),$=B.shift();return"string"==typeof $?_runHook("filters",$,B):C},addFilter:function addFilter(T,B,$,V){return"string"==typeof T&&"function"==typeof B&&_addHook("filters",T,B,$=parseInt($||10,10),V),C},removeAction:function removeAction(T,B){return"string"==typeof T&&_removeHook("actions",T,B),C},doAction:function doAction(){var B=T.call(arguments),$=B.shift();return"string"==typeof $&&_runHook("actions",$,B),C},addAction:function addAction(T,B,$,V){return"string"==typeof T&&"function"==typeof B&&_addHook("actions",T,B,$=parseInt($||10,10),V),C}},C}},67010:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.showJsonUploadWarningMessageIfNeeded=function showJsonUploadWarningMessageIfNeeded(C){var T=C.introductionMap,B=C.IntroductionClass,V=C.waitForSetViewed,H=void 0!==V&&V;U||(U=function createGenericWarningModal(C){var T,B,V="e-generic-warning-modal-for-json-upload",L=new C({introductionKey:W,dialogType:"confirm",dialogOptions:{id:V,headerMessage:$("Warning: JSON files may be unsafe","elementor"),message:$("Uploading JSON files from unknown sources can be harmful and put your site at risk. For maximum safety, only install JSON files from trusted sources.","elementor"),effects:{show:"fadeIn",hide:"fadeOut"},hide:{onBackgroundClick:!0,onButtonClick:!1},strings:{confirm:$("Continue","elementor"),cancel:$("Cancel","elementor")}}}),q=function createCheckboxAndLabel(C){var T="".concat(C,"-dont-show-again"),B=document.createElement("input");B.type="checkbox",B.name=T,B.id=T;var V=document.createElement("label");return V.htmlFor=T,V.textContent=$("Do not show this message again","elementor"),V.style.display="block",V.style.marginTop="20px",V.style.marginBottom="20px",V.prepend(B),{checkbox:B,label:V}}(V),U=q.checkbox,H=q.label;return L.getDialog().addElement("checkbox-dont-show-again",U),null===(T=L.getDialog().getElements("message"))||void 0===T||null===(B=T.append)||void 0===B||B.call(T,H),L}(B));if(U.setIntroductionMap(T),U.introductionViewed)return Promise.resolve();var G=U.getDialog();return new Promise((function(C,T){G.onHide=function(){T()},G.onConfirm=(0,q.default)(L.default.mark((function _callee(){return L.default.wrap((function _callee$(T){for(;;)switch(T.prev=T.next){case 0:if(!G.getElements("checkbox-dont-show-again").prop("checked")){T.next=7;break}if(!H){T.next=6;break}return T.next=4,U.setViewed();case 4:T.next=7;break;case 6:U.setViewed();case 7:C(),G.hide();case 9:case"end":return T.stop()}}),_callee)}))),G.onCancel=function(){G.hide()},U.show()}))};var L=V(B(50824)),q=V(B(10029)),W="upload_json_warning_generic_message",U=null},99956:(C,T,B)=>{"use strict";var $=B(73203)(B(93231));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,$.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}C.exports=elementorModules.Module.extend({initToast:function initToast(){var C=elementorCommon.dialogsManager.createWidget("buttons",{id:"elementor-toast",position:{my:"center bottom",at:"center bottom-10",of:"#elementor-panel-content-wrapper",autoRefresh:!0},hide:{onClick:!0,auto:!0,autoDelay:1e4},effects:{show:function show(){var T=C.getElements("widget");T.show(),C.refreshPosition();var B=parseInt(T.css("top"),10);T.hide().css("top",B+100),T.animate({opacity:"show",height:"show",paddingBottom:"show",paddingTop:"show",top:B},{easing:"linear",duration:300})},hide:function hide(){var T=C.getElements("widget"),B=parseInt(T.css("top"),10);T.animate({opacity:"hide",height:"hide",paddingBottom:"hide",paddingTop:"hide",top:B+100},{easing:"linear",duration:300})}},button:{tag:"div"}});this.getToast=function(){return C}},showToast:function showToast(C){var T=this.getToast();return T.setMessage(C.message),T.getElements("buttonsWrapper").empty(),this.isPositionValid(null==C?void 0:C.position)||this.positionToWindow(),C.buttons&&C.buttons.forEach((function(C){T.addButton(C)})),C.classes&&T.getElements("widget").addClass(C.classes),C.sticky&&T.setSettings({hide:{auto:!1,onClick:!1}}),T.show()},isPositionValid:function isPositionValid(C){var T,B=null!==(T=null==C?void 0:C.of)&&void 0!==T?T:this.getToast().getSettings("position").of;return!!B&&!!document.querySelector(B)},positionToWindow:function positionToWindow(){var C=this.getToast(),T=_objectSpread(_objectSpread({},C.getSettings("position")),{},{my:"right top",at:"right-10 top+42",of:""});C.setSettings("position",T),C.getElements("widget").addClass("dialog-position-window")},onInit:function onInit(){this.initToast()}})},66535:(C,T,B)=>{"use strict";var $=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;_interopRequireWildcard(B(87363));var V=_interopRequireWildcard(B(61533)),L=B(37634);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}var q={render:function render(C,T){var B;try{var $=(0,L.createRoot)(T);$.render(C),B=function unmountFunction(){$.unmount()}}catch($){V.render(C,T),B=function unmountFunction(){V.unmountComponentAtNode(T)}}return{unmount:B}}};T.default=q},56827:(C,T)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.isTierAtLeast=T.TIERS_PRIORITY=T.TIERS=void 0;var B=Object.freeze(["free","essential","essential-oct2023","advanced","expert","agency"]);T.TIERS_PRIORITY=B;var $=Object.freeze(B.reduce((function(C,T){return C[T]=T,C}),{}));T.TIERS=$;T.isTierAtLeast=function isTierAtLeast(C,T){var $=B.indexOf(C),V=B.indexOf(T);return-1!==$&&-1!==V&&$>=V}},73308:(C,T)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var B=function matchUserAgent(C){return $.indexOf(C)>=0},$=navigator.userAgent,V=!!window.opr&&!!opr.addons||!!window.opera||B(" OPR/"),L=B("Firefox"),q=/^((?!chrome|android).)*safari/i.test($)||/constructor/i.test(window.HTMLElement)||"[object SafariRemoteNotification]"===(!window.safari||"undefined"!=typeof safari&&safari.pushNotification).toString(),W=/Trident|MSIE/.test($)&&!!document.documentMode,U=!W&&!!window.StyleMedia||B("Edg"),H=!!window.chrome&&B("Chrome")&&!(U||V),G=B("Chrome")&&!!window.CSS,K=B("AppleWebKit")&&!G,Q={isTouchDevice:"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,appleWebkit:K,blink:G,chrome:H,edge:U,firefox:L,ie:W,mac:B("Macintosh"),opera:V,safari:q,webkit:B("AppleWebKit")};T.default=Q},99107:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"className",value:function className(){return"elementor-templates-modal__header"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-templates-modal__header"}},{key:"regions",value:function regions(){return{logoArea:".elementor-templates-modal__header__logo-area",tools:"#elementor-template-library-header-tools",menuArea:".elementor-templates-modal__header__menu-area"}}},{key:"ui",value:function ui(){return{closeModal:".elementor-templates-modal__header__close"}}},{key:"events",value:function events(){return{"click @ui.closeModal":"onCloseModalClick"}}},{key:"templateHelpers",value:function templateHelpers(){return{closeType:this.getOption("closeType")}}},{key:"onCloseModalClick",value:function onCloseModalClick(){this._parent._parent._parent.hideModal(),this.isFloatingButtonLibraryClose()&&($e.internal("document/save/set-is-modified",{status:!1}),window.location.href=elementor.config.admin_floating_button_admin_url)}},{key:"isFloatingButtonLibraryClose",value:function isFloatingButtonLibraryClose(){var C,T,B;return window.elementor&&(null===(C=elementor.config)||void 0===C?void 0:C.admin_floating_button_admin_url)&&"floating-buttons"===(null===(T=elementor.config)||void 0===T||null===(B=T.document)||void 0===B?void 0:B.type)&&(this.$el.closest(".dialog-lightbox-widget-content").find(".elementor-template-library-template-floating_button").length||this.$el.closest(".dialog-lightbox-widget-content").find("#elementor-template-library-preview").length||this.$el.closest(".dialog-lightbox-widget-content").find("#elementor-template-library-templates-empty").length)}}]),_default}(Marionette.LayoutView);T.default=H},56525:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(99107)),G=$(B(31352)),K=$(B(20311));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var Q=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:"el",value:function el(){return this.getModal().getElements("widget")}},{key:"regions",value:function regions(){return{modalHeader:".dialog-header",modalContent:".dialog-lightbox-content",modalLoading:".dialog-lightbox-loading"}}},{key:"initialize",value:function initialize(){this.modalHeader.show(new H.default(this.getHeaderOptions()))}},{key:"getModal",value:function getModal(){return this.modal||this.initModal(),this.modal}},{key:"initModal",value:function initModal(){var C={className:"elementor-templates-modal",closeButton:!1,draggable:!1,hide:{onOutsideClick:!1,onEscKeyPress:!1}};jQuery.extend(!0,C,this.getModalOptions()),this.modal=elementorCommon.dialogsManager.createWidget("lightbox",C),this.modal.getElements("message").append(this.modal.addElement("content"),this.modal.addElement("loading")),C.draggable&&this.draggableModal()}},{key:"showModal",value:function showModal(){this.getModal().show()}},{key:"hideModal",value:function hideModal(){this.getModal().hide()}},{key:"draggableModal",value:function draggableModal(){var C=this.getModal().getElements("widgetContent");C.draggable({containment:"parent",stop:function stop(){C.height("")}}),C.css("position","absolute")}},{key:"getModalOptions",value:function getModalOptions(){return{}}},{key:"getLogoOptions",value:function getLogoOptions(){return{}}},{key:"getHeaderOptions",value:function getHeaderOptions(){return{closeType:"normal"}}},{key:"getHeaderView",value:function getHeaderView(){return this.modalHeader.currentView}},{key:"showLoadingView",value:function showLoadingView(){this.modalLoading.show(new K.default),this.modalLoading.$el.show(),this.modalContent.$el.hide()}},{key:"hideLoadingView",value:function hideLoadingView(){this.modalContent.$el.show(),this.modalLoading.$el.hide()}},{key:"showLogo",value:function showLogo(){this.getHeaderView().logoArea.show(new G.default(this.getLogoOptions()))}}]),_default}(Marionette.LayoutView);T.default=Q},20311:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"id",value:function id(){return"elementor-template-library-loading"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-template-library-loading"}}]),_default}(Marionette.ItemView);T.default=H},31352:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-templates-modal__header__logo"}},{key:"className",value:function className(){return"elementor-templates-modal__header__logo"}},{key:"events",value:function events(){return{click:"onClick"}}},{key:"templateHelpers",value:function templateHelpers(){return{title:this.getOption("title")}}},{key:"onClick",value:function onClick(){var C=this.getOption("click");C&&C()}}]),_default}(Marionette.ItemView);T.default=H},81341:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Back=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(77266)),U=V(B(58724)),H=V(B(71173)),G=V(B(74910)),K=V(B(93231));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var Q=function(C){(0,U.default)(Back,C);var T=_createSuper(Back);function Back(){var C;(0,L.default)(this,Back);for(var B=arguments.length,$=new Array(B),V=0;V<B;V++)$[V]=arguments[V];return C=T.call.apply(T,[this].concat($)),(0,K.default)((0,W.default)(C),"document",null),(0,K.default)((0,W.default)(C),"confirmDialog",null),(0,K.default)((0,W.default)(C),"unsavedChangesDialog",[]),C}return(0,q.default)(Back,[{key:"apply",value:function apply(){if(1!==$e.routes.getHistory("panel").length){if(this.isGlobalRoute()){var C=elementor.config.kit_id;if(this.document=elementor.documents.get(C),this.isDocumentChanged())return void this.resolveChanges().then((function(){return $e.routes.back("panel")}))}return $e.routes.back("panel")}this.getCloseConfirmDialog(event).show()}},{key:"getCloseConfirmDialog",value:function getCloseConfirmDialog(C){if(!this.confirmDialog){var T={id:"elementor-kit-warn-on-close",headerMessage:$("Exit","elementor"),message:$("Would you like to exit?","elementor"),position:{my:"center center",at:"center center"},strings:{confirm:$("Exit","elementor"),cancel:$("Cancel","elementor")},onConfirm:function onConfirm(){$e.run("panel/global/close")}};this.confirmDialog=elementorCommon.dialogsManager.createWidget("confirm",T)}return this.confirmDialog.setSettings("hide",{onEscKeyPress:!C}),this.confirmDialog}},{key:"isGlobalRoute",value:function isGlobalRoute(){var C=$e.routes.getHistory("panel");return/global\/\bglobal-colors|global-typography\b/.test(C[C.length-1].route)}},{key:"isDocumentChanged",value:function isDocumentChanged(){return this.document&&this.document.editor.isChanged}},{key:"resolveChanges",value:function resolveChanges(){var C=this;return new Promise((function(T){C.getUnsavedChangesDialog(T).show()}))}},{key:"getUnsavedChangesDialog",value:function getUnsavedChangesDialog(C){if(this.document){var T=this.document;if(!this.unsavedChangesDialog[T]){var B={id:"elementor-".concat(T,"-save-changes"),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")},onConfirm:function onConfirm(){$e.run("document/save/update").then((function(){C()}))},onCancel:function onCancel(){$e.run("document/save/discard",{document:T}).then((function(){C()}))}};this.unsavedChangesDialog[T]=elementorCommon.dialogsManager.createWidget("confirm",B)}return this.unsavedChangesDialog[T].setSettings("hide",{onEscKeyPress:!event}),this.unsavedChangesDialog[T]}C()}}]),Back}($e.modules.CommandBase);T.Back=Q;var J=Q;T.default=J},26914:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Close=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Close,C);var T=_createSuper(Close);function Close(){return(0,V.default)(this,Close),T.apply(this,arguments)}return(0,L.default)(Close,[{key:"apply",value:function apply(C){var T=this,B=C.mode;return elementor.config.initial_document.id===parseInt(elementor.config.kit_id)?$e.run("panel/global/exit"):($e.internal("panel/state-loading"),$e.run("editor/documents/switch",{mode:B,id:elementor.config.initial_document.id,onClose:function onClose(C){C.isDraft()&&(elementor.toggleDocumentCssFiles(C,!0),elementor.settings.page.destroyControlsCSS()),$e.components.get("panel/global").close(),$e.routes.clearHistory(T.component.getServiceName()),elementor.documents.invalidateCache(elementor.config.kit_id)}}).finally((function(){return $e.internal("panel/state-ready")})))}}]),Close}($e.modules.CommandBase);T.Close=H;var G=H;T.default=G},85184:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Exit=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Exit,C);var T=_createSuper(Exit);function Exit(){return(0,V.default)(this,Exit),T.apply(this,arguments)}return(0,L.default)(Exit,[{key:"apply",value:function apply(){return $e.run("editor/documents/close",{id:elementor.config.kit_id,onClose:function onClose(C){location=C.config.urls.exit_to_dashboard}})}}]),Exit}($e.modules.CommandBase);T.Exit=H;var G=H;T.default=G},46293:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Back",{enumerable:!0,get:function get(){return $.Back}}),Object.defineProperty(T,"Close",{enumerable:!0,get:function get(){return V.Close}}),Object.defineProperty(T,"Exit",{enumerable:!0,get:function get(){return L.Exit}}),Object.defineProperty(T,"Open",{enumerable:!0,get:function get(){return q.Open}});var $=B(81341),V=B(26914),L=B(85184),q=B(67676)},67676:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Open=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Open,C);var T=_createSuper(Open);function Open(){return(0,V.default)(this,Open),T.apply(this,arguments)}return(0,L.default)(Open,[{key:"apply",value:function apply(){var C=elementor.documents.get(elementor.config.kit_id);return C&&"open"===C.editor.status?jQuery.Deferred().resolve():($e.routes.clearHistory(this.component.getServiceName()),this.component.toggleHistoryClass(),$e.internal("panel/state-loading"),$e.run("editor/documents/switch",{id:elementor.config.kit_id,mode:"autosave"}).finally((function(){return $e.internal("panel/state-ready")})))}}],[{key:"getInfo",value:function getInfo(){return{isSafe:!0}}}]),Open}($e.modules.CommandBase);T.Open=H;var G=H;T.default=G},92553:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(77266)),U=$(B(51121)),H=$(B(58724)),G=$(B(71173)),K=$(B(74910)),Q=$(B(93231)),J=_interopRequireWildcard(B(2642)),Y=_interopRequireWildcard(B(46293)),X=$(B(21893));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,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,H.default)(_default,C);var T=_createSuper(_default);function _default(){var C;(0,L.default)(this,_default);for(var B=arguments.length,$=new Array(B),V=0;V<B;V++)$[V]=arguments[V];return C=T.call.apply(T,[this].concat($)),(0,Q.default)((0,W.default)(C),"pages",{}),C}return(0,q.default)(_default,[{key:"__construct",value:function __construct(C){(0,U.default)((0,K.default)(_default.prototype),"__construct",this).call(this,C),elementor.on("panel:init",(function(){C.manager.addPanelPages(),C.manager.addPanelMenuItem()})),elementor.hooks.addFilter("panel/header/behaviors",C.manager.addHeaderBehavior),elementor.addControlView("global-style-repeater",X.default)}},{key:"getNamespace",value:function getNamespace(){return"panel/global"}},{key:"defaultRoutes",value:function defaultRoutes(){var C=this;return{menu:function menu(){elementor.getPanelView().setPage("kit_menu"),C.currentTab="menu"}}}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(Y)}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{open:{keys:"ctrl+k",dependency:function dependency(){return"kit"!==elementor.documents.getCurrent().config.type}},back:{keys:"esc",scopes:["panel"],dependency:function dependency(){return elementor.documents.isCurrent(elementor.config.kit_id)&&!jQuery(".dialog-widget:visible").length}}}}},{key:"defaultHooks",value:function defaultHooks(){return this.importHooks(J)}},{key:"renderTab",value:function renderTab(C,T){C!==this.currentTab&&(this.currentTab=C,elementor.getPanelView().setPage("kit_settings").content.currentView.activateTab(C)),this.activateControl(T.activeControl)}}]),_default}($(B(75238)).default);T.default=Z},93172:(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(93231)),q=V(B(78983)),W=V(B(42081)),U=V(B(58724)),H=V(B(71173)),G=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,U.default)(GlobalControlSelect,C);var T=_createSuper(GlobalControlSelect);function GlobalControlSelect(){return(0,q.default)(this,GlobalControlSelect),T.apply(this,arguments)}return(0,W.default)(GlobalControlSelect,[{key:"getClassNames",value:function getClassNames(){return{previewItemsContainer:"e-global__preview-items-container",previewItem:"e-global__preview-item",selectedPreviewItem:"e-global__preview-item--selected",manageButton:"e-global__manage-button",popover:"e-global__popover",popoverToggle:"e-global__popover-toggle",popoverToggleActive:"e-global__popover-toggle--active",controlGlobal:"e-control-global",globalPopoverContainer:"e-global__popover-container",globalPopoverTitle:"e-global__popover-title",globalPopoverTitleText:"e-global__popover-title-text",globalPopoverInfo:"e-global__popover-info",globalPopoverInfoTooltip:"e-global__popover-info-tooltip",confirmAddNewGlobal:"e-global__confirm-add",confirmMessageText:".e-global__confirm-message-text"}}},{key:"registerUiElements",value:function registerUiElements(){var C=this.popover.getElements("widget");this.ui.manageGlobalsButton=C.find(".".concat(this.getClassNames().manageButton))}},{key:"registerPreviewElements",value:function registerPreviewElements(){var C=this.popover.getElements("widget"),T=this.getClassNames();this.ui.globalPreviewItems=C.find(".".concat(T.previewItem))}},{key:"registerEvents",value:function registerEvents(){var C=this;this.ui.globalPopoverToggle.on("click",(function(T){return C.toggleGlobalPopover(T)})),this.ui.manageGlobalsButton.on("click",(function(){var T=C.view.getGlobalMeta().route,B={route:$e.routes.getHistory("panel").reverse()[0].route,container:C.view.options.container};$e.run("panel/global/open",B).then((function(){return $e.route(T)})),C.popover.hide()}))}},{key:"addPreviewItemsClickListener",value:function addPreviewItemsClickListener(){var C=this;this.ui.$globalPreviewItemsContainer.on("click",".".concat(this.getClassNames().previewItem),(function(T){return C.applySavedGlobalValue(T.currentTarget.dataset.globalId)}))}},{key:"fetchGlobalValue",value:function fetchGlobalValue(){var C=this;return $e.data.get(this.view.getGlobalKey()).then((function(T){return C.view.globalValue=T.data.value,C.onValueTypeChange(),elementor.kitManager.renderGlobalVariables(),C.view.applySavedValue(),T.data})).catch((function(T){var B;if(404!==(null==T||null===(B=T.data)||void 0===B?void 0:B.status))return Promise.reject(T);C.disableGlobalValue(!1)}))}},{key:"setCurrentActivePreviewItem",value:function setCurrentActivePreviewItem(){var C=this.getClassNames().selectedPreviewItem,T=elementor.config.globals.defaults_enabled[this.view.getGlobalMeta().controlType];this.activePreviewItem&&this.resetActivePreviewItem();var B,$=this.view.getGlobalKey();$||this.view.getControlValue()||!T||($=null===(B=this.view.model.get("global"))||void 0===B?void 0:B.default);if($){var V=$e.data.commandExtractArgs($).args.query.id,L=this.ui.globalPreviewItems.filter('[data-global-id="'.concat(V,'"]'));L&&(this.activePreviewItem=L,this.activePreviewItem.addClass(C))}else this.activePreviewItem=null}},{key:"resetActivePreviewItem",value:function resetActivePreviewItem(){this.activePreviewItem&&this.activePreviewItem.removeClass(this.getClassNames().selectedPreviewItem),this.activePreviewItem=null}},{key:"applySavedGlobalValue",value:function applySavedGlobalValue(C){this.setGlobalValue(C),this.fetchGlobalValue(),this.popover.hide()}},{key:"onValueTypeChange",value:function onValueTypeChange(){this.updateCurrentGlobalName()}},{key:"updateCurrentGlobalName",value:function updateCurrentGlobalName(C){var T=this,B=this.getClassNames(),V="";if(C)V=C;else{C=this.view.getControlValue();var L,q=this.view.getGlobalKey();if(!q&&!C&&elementor.config.globals.defaults_enabled[this.view.getGlobalMeta().controlType])q=null===(L=this.view.model.get("global"))||void 0===L?void 0:L.default;if(q)return $e.data.get(q).then((function(C){var B="";B=C.data.title?C.data.title:$("Default","elementor"),T.updateCurrentGlobalName(B)})),void this.ui.globalPopoverToggle.addClass(B.popoverToggleActive);V=$(C?"Custom":"Default","elementor"),this.ui.globalPopoverToggle.removeClass(B.popoverToggleActive)}this.globalName=V}},{key:"onRender",value:function onRender(){var C=this;this.printGlobalToggleButton(),this.initGlobalPopover(),this.view.getGlobalKey()?setTimeout((function(){return C.fetchGlobalValue()}),50):this.onValueTypeChange(),this.$el.addClass(this.getClassNames().controlGlobal)}},{key:"toggleGlobalPopover",value:function toggleGlobalPopover(){var C=this;this.popover.isVisible()?this.popover.hide():(this.ui.$globalPreviewItemsContainer&&this.ui.$globalPreviewItemsContainer.remove(),this.view.getGlobalsList().then((function(T){C.addGlobalsListToPopover(T),C.registerPreviewElements(),C.addPreviewItemsClickListener(),C.popover.show(),C.setCurrentActivePreviewItem()})))}},{key:"buildGlobalPopover",value:function buildGlobalPopover(){var C=this,T=this.getClassNames(),B=jQuery("<div>",{class:T.globalPopoverContainer}),$=jQuery("<div>",{class:T.globalPopoverTitle}).html('<div class="'+T.globalPopoverInfo+'"><i class="eicon-info-circle"></i></div><span class="'+T.globalPopoverTitleText+'">'+this.getOption("popoverTitle")+"</span>"),V=jQuery("<div>",{class:T.manageButton}).html('<i class="eicon-cog"></i>');return $.append(V),B.append($),this.manageButtonTooltipText=this.getOption("manageButtonText"),V.tipsy({title:function title(){return C.manageButtonTooltipText},offset:3,gravity:function gravity(){return"s"}}),B}},{key:"printGlobalToggleButton",value:function printGlobalToggleButton(){var C=this,T=jQuery("<div>",{class:this.getClassNames().popoverToggle+" elementor-control-unit-1"}),B=jQuery("<i>",{class:"eicon-globe"}),$=jQuery("<span>",{class:"elementor-control-spinner"}).html('<i class="eicon-spinner eicon-animation-spin"></i></span>');T.append(B),this.$el.find(".elementor-control-input-wrapper").prepend(T),this.ui.globalPopoverToggle=T,this.ui.globalPopoverToggleIcon=B,this.ui.$globalsLoadingSpinner=$,this.ui.globalPopoverToggleIcon.tipsy({title:function title(){return C.globalName},offset:7,gravity:function gravity(){return"s"}}),T.before($),this.ui.$globalsLoadingSpinner.hide()}},{key:"initGlobalPopover",value:function initGlobalPopover(){this.popover=elementorCommon.dialogsManager.createWidget("simple",{className:this.getClassNames().popover,message:this.buildGlobalPopover(),effects:{show:"show",hide:"hide"},hide:{onOutsideClick:!1},position:{my:"right top",at:"right bottom+5",of:this.ui.globalPopoverToggle,collision:"fit flip",autoRefresh:!0}}),this.registerUiElementsAndEvents(),this.createGlobalInfoTooltip()}},{key:"addGlobalsListToPopover",value:function addGlobalsListToPopover(C){var T=jQuery("<div>",{class:"e-global__preview-items-container"});this.view.buildGlobalsList(C,T),this.popover.getElements("widget").find(".".concat(this.getClassNames().globalPopoverTitle)).after(T),this.ui.$globalPreviewItemsContainer=T}},{key:"registerUiElementsAndEvents",value:function registerUiElementsAndEvents(){this.registerUiElements(),this.registerEvents()}},{key:"onAddGlobalToList",value:function onAddGlobalToList(C){var T=this,B=this.getClassNames();this.confirmNewGlobalModal=elementorCommon.dialogsManager.createWidget("confirm",{className:B.confirmAddNewGlobal,headerMessage:this.getOption("newGlobalConfirmTitle"),message:C,strings:{confirm:$("Create","elementor"),cancel:$("Cancel","elementor")},hide:{onBackgroundClick:!1},onConfirm:function onConfirm(){return T.onConfirmNewGlobal()},onShow:function onShow(){var C=T.confirmNewGlobalModal.getElements("widget");T.ui.globalNameInput=C.find("input").focus(),T.ui.confirmMessageText=C.find(B.confirmMessageText),T.ui.globalNameInput.on("input",(function(){return T.onAddGlobalConfirmInputChange()}))}}),this.confirmNewGlobalModal.show()}},{key:"onAddGlobalConfirmInputChange",value:function onAddGlobalConfirmInputChange(){if(this.view.globalsList){for(var C,T=0,B=Object.values(this.view.globalsList);T<B.length;T++){var $=B[T];if(this.ui.globalNameInput.val()===$.title){C=this.view.getNameAlreadyExistsMessage();break}C=this.view.getConfirmTextMessage()}this.ui.confirmMessageText.html(C)}}},{key:"onConfirmNewGlobal",value:function onConfirmNewGlobal(){var C=this.view.getGlobalMeta();C.title=this.ui.globalNameInput.val(),this.createNewGlobal(C)}},{key:"createNewGlobal",value:function createNewGlobal(C){var T=this;this.ui.$globalsLoadingSpinner.show(),$e.run(C.commandName+"/create",{container:this.view.container,setting:C.key,title:C.title}).then((function(C){T.applySavedGlobalValue(C.data.id),T.ui.$globalsLoadingSpinner.hide()}))}},{key:"setGlobalValue",value:function setGlobalValue(C){var T="",B={};T=this.view.getGlobalKey()?"document/globals/settings":"document/globals/enable",B[this.view.model.get("name")]=this.view.getGlobalCommand()+"?id="+C,$e.run(T,{container:this.view.options.container,settings:B})}},{key:"onUnsetGlobalValue",value:function onUnsetGlobalValue(){this.disableGlobalValue()}},{key:"onUnlinkGlobalDefault",value:function onUnlinkGlobalDefault(){var C=this,T=this.view.getGlobalMeta();$e.run("document/globals/unlink",{container:this.view.container,globalValue:this.view.model.get("global").default,setting:T.key,options:{external:!0}}).then((function(){C.onValueTypeChange(),C.view.globalValue=null,C.resetActivePreviewItem()}))}},{key:"createGlobalInfoTooltip",value:function createGlobalInfoTooltip(){var C=this,T=this.getClassNames(),B=this.popover.getElements("widget").find(".".concat(T.globalPopoverInfo));this.globalInfoTooltip=elementorCommon.dialogsManager.createWidget("simple",{className:T.globalPopoverInfoTooltip,message:this.getOption("tooltipText"),effects:{show:"show",hide:"hide"},position:{my:"left bottom",at:"left top+9",of:this.popover.getElements("widget"),autoRefresh:!0}}),B.on({mouseenter:function mouseenter(){return C.globalInfoTooltip.show()},mouseleave:function mouseleave(){return C.globalInfoTooltip.hide()}})}},{key:"disableGlobalValue",value:function disableGlobalValue(){var C=this,T=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],B=this.view.getGlobalMeta();return $e.run("document/globals/disable",{container:this.view.container,settings:(0,L.default)({},B.key,""),options:{restore:T}}).then((function(){C.onValueTypeChange(),C.view.globalValue=null,C.resetActivePreviewItem()}))}}]),GlobalControlSelect}(Marionette.Behavior);T.default=K},50819:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.BaseGlobalsUpdate=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(BaseGlobalsUpdate,C);var T=_createSuper(BaseGlobalsUpdate);function BaseGlobalsUpdate(){return(0,V.default)(this,BaseGlobalsUpdate),T.apply(this,arguments)}return(0,L.default)(BaseGlobalsUpdate,[{key:"getContainerType",value:function getContainerType(){return"document"}},{key:"getConditions",value:function getConditions(){return $e.routes.isPartOf("panel/global")}},{key:"getRepeaterName",value:function getRepeaterName(){elementorModules.ForceMethodImplementation()}},{key:"applyModel",value:function applyModel(C,T,B){elementorModules.ForceMethodImplementation()}},{key:"apply",value:function apply(C,T){var B=this,$=C.containers,V=void 0===$?[C.container]:$,L=Object.assign({},T.data),q=L.id,W=L.value;delete L.id,delete L.value,L._id=q,this.applyModel(L,W),V.forEach((function(C){$e.run("document/repeater/insert",{container:C,model:L,name:B.getRepeaterName()})}))}}]),BaseGlobalsUpdate}($e.modules.hookData.After);T.BaseGlobalsUpdate=H;var G=H;T.default=G},46390:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.KitGlobalsUpdateColors=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(KitGlobalsUpdateColors,C);var T=_createSuper(KitGlobalsUpdateColors);function KitGlobalsUpdateColors(){return(0,V.default)(this,KitGlobalsUpdateColors),T.apply(this,arguments)}return(0,L.default)(KitGlobalsUpdateColors,[{key:"getCommand",value:function getCommand(){return"globals/colors/create"}},{key:"getId",value:function getId(){return"globals-update-colors-/globals/colors/create"}},{key:"getRepeaterName",value:function getRepeaterName(){return"custom_colors"}},{key:"applyModel",value:function applyModel(C,T){C.color=T}}]),KitGlobalsUpdateColors}($(B(50819)).default);T.KitGlobalsUpdateColors=H;var G=H;T.default=G},74266:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.KitGlobalsUpdateTypography=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(KitGlobalsUpdateTypography,C);var T=_createSuper(KitGlobalsUpdateTypography);function KitGlobalsUpdateTypography(){return(0,V.default)(this,KitGlobalsUpdateTypography),T.apply(this,arguments)}return(0,L.default)(KitGlobalsUpdateTypography,[{key:"getCommand",value:function getCommand(){return"globals/typography/create"}},{key:"getId",value:function getId(){return"globals-update-typography-/globals/typography/create"}},{key:"getRepeaterName",value:function getRepeaterName(){return"custom_typography"}},{key:"applyModel",value:function applyModel(C,T){Object.assign(C,T)}}]),KitGlobalsUpdateTypography}($(B(50819)).default);T.KitGlobalsUpdateTypography=H;var G=H;T.default=G},2642:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"KitAddMenuItems",{enumerable:!0,get:function get(){return X.KitAddMenuItems}}),Object.defineProperty(T,"KitAfterSave",{enumerable:!0,get:function get(){return q.KitAfterSave}}),Object.defineProperty(T,"KitBackToRouteHistory",{enumerable:!0,get:function get(){return J.KitBackToRouteHistory}}),Object.defineProperty(T,"KitDeleteGlobalsCache",{enumerable:!0,get:function get(){return L.KitDeleteGlobalsCache}}),Object.defineProperty(T,"KitGlobalsUpdateColors",{enumerable:!0,get:function get(){return $.KitGlobalsUpdateColors}}),Object.defineProperty(T,"KitGlobalsUpdateTypography",{enumerable:!0,get:function get(){return V.KitGlobalsUpdateTypography}}),Object.defineProperty(T,"KitRemoveEditorActiveCSSDocumentsOpen",{enumerable:!0,get:function get(){return K.KitRemoveEditorActiveCSSDocumentsOpen}}),Object.defineProperty(T,"KitRemoveEditorActiveCSSPanelOpen",{enumerable:!0,get:function get(){return Q.KitRemoveEditorActiveCSSPanelOpen}}),Object.defineProperty(T,"KitRemovePreviewDeletedVariables",{enumerable:!0,get:function get(){return Y.KitRemovePreviewDeletedVariables}}),Object.defineProperty(T,"KitSaveRouteHistory",{enumerable:!0,get:function get(){return G.KitSaveRouteHistory}}),Object.defineProperty(T,"KitUpdateBreakpointsPreview",{enumerable:!0,get:function get(){return W.KitUpdateBreakpointsPreview}}),Object.defineProperty(T,"KitUpdateLightboxPreview",{enumerable:!0,get:function get(){return U.KitUpdateLightboxPreview}}),Object.defineProperty(T,"KitUpdateStretchContainer",{enumerable:!0,get:function get(){return H.KitUpdateStretchContainer}});var $=B(46390),V=B(74266),L=B(43474),q=B(41616),W=B(3877),U=B(66834),H=B(32692),G=B(12514),K=B(97949),Q=B(4348),J=B(80633),Y=B(24974),X=B(62740)},3877:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.KitUpdateBreakpointsPreview=void 0;var V=$(B(40131)),L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(KitUpdateBreakpointsPreview,C);var T=_createSuper(KitUpdateBreakpointsPreview);function KitUpdateBreakpointsPreview(){return(0,L.default)(this,KitUpdateBreakpointsPreview),T.apply(this,arguments)}return(0,q.default)(KitUpdateBreakpointsPreview,[{key:"getCommand",value:function getCommand(){return"document/elements/settings"}},{key:"getId",value:function getId(){return"kit-update-breakpoints-preview"}},{key:"getContainerType",value:function getContainerType(){return"document"}},{key:"getConditions",value:function getConditions(){return"kit"===elementor.documents.getCurrent().config.type}},{key:"apply",value:function apply(C){var T=C.settings;if(T.active_breakpoints)return elementor.documents.currentDocument.config.settings.settings.active_breakpoints=T.active_breakpoints,void(elementor.activeBreakpointsUpdated=!0);Object.entries(T).forEach((function(C){var T=(0,V.default)(C,2),B=T[0],$=T[1];if(B.startsWith("viewport_")){var L=B.replace("viewport_","");$||($=elementorFrontend.config.responsive.breakpoints[L].default_value),elementorFrontend.config.responsive.breakpoints[L].value=$}})),elementor.updatePreviewResizeOptions(!0)}}]),KitUpdateBreakpointsPreview}($e.modules.hookUI.After);T.KitUpdateBreakpointsPreview=G},66834:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.KitUpdateLightboxPreview=void 0;var V=$(B(40131)),L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(KitUpdateLightboxPreview,C);var T=_createSuper(KitUpdateLightboxPreview);function KitUpdateLightboxPreview(){return(0,L.default)(this,KitUpdateLightboxPreview),T.apply(this,arguments)}return(0,q.default)(KitUpdateLightboxPreview,[{key:"getCommand",value:function getCommand(){return"document/elements/settings"}},{key:"getId",value:function getId(){return"kit-update-lightbox-preview"}},{key:"getContainerType",value:function getContainerType(){return"document"}},{key:"getConditions",value:function getConditions(){return"kit"===elementor.documents.getCurrent().config.type}},{key:"apply",value:function apply(C){var T=C.settings;Object.entries(T).forEach((function(C){var T=(0,V.default)(C,2),B=T[0],$=T[1];-1!==B.indexOf("lightbox")&&(elementorFrontend.config.kit[B]=$)}))}}]),KitUpdateLightboxPreview}($e.modules.hookUI.After);T.KitUpdateLightboxPreview=G;var K=G;T.default=K},32692:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.KitUpdateStretchContainer=void 0;var V=$(B(40131)),L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(KitUpdateStretchContainer,C);var T=_createSuper(KitUpdateStretchContainer);function KitUpdateStretchContainer(){return(0,L.default)(this,KitUpdateStretchContainer),T.apply(this,arguments)}return(0,q.default)(KitUpdateStretchContainer,[{key:"getCommand",value:function getCommand(){return"document/elements/settings"}},{key:"getId",value:function getId(){return"kit-update-stretch-container"}},{key:"getContainerType",value:function getContainerType(){return"document"}},{key:"getConditions",value:function getConditions(){return"kit"===elementor.documents.getCurrent().config.type}},{key:"apply",value:function apply(C){var T=C.settings;Object.entries(T).forEach((function(C){var T=(0,V.default)(C,2),B=T[0],$=T[1];"stretched_section_container"===B&&(elementorFrontend.config.kit[B]=$,elementor.channels.editor.trigger("kit:change:stretchContainer"))}))}}]),KitUpdateStretchContainer}($e.modules.hookUI.After);T.KitUpdateStretchContainer=G;var K=G;T.default=K},24974:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.KitRemovePreviewDeletedVariables=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(77266)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(93231));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var K=function(C){(0,W.default)(KitRemovePreviewDeletedVariables,C);var T=_createSuper(KitRemovePreviewDeletedVariables);function KitRemovePreviewDeletedVariables(){var C;(0,V.default)(this,KitRemovePreviewDeletedVariables);for(var B=arguments.length,$=new Array(B),L=0;L<B;L++)$[L]=arguments[L];return C=T.call.apply(T,[this].concat($)),(0,G.default)((0,q.default)(C),"controls",["custom_colors","custom_typography"]),C}return(0,L.default)(KitRemovePreviewDeletedVariables,[{key:"getCommand",value:function getCommand(){return"document/repeater/remove"}},{key:"getId",value:function getId(){return"kit-remove-preview-deleted-variables"}},{key:"getContainerType",value:function getContainerType(){return"document"}},{key:"getConditions",value:function getConditions(C){return this.controls.includes(C.name)&&"kit"===elementor.documents.getCurrent().config.type}},{key:"apply",value:function apply(C){var T=this;this.component=$e.components.get("panel/global"),this.component.tempStyle=this.component.tempStyle||{};var B=C.containers,$=void 0===B?[C.container]:B,V="elementor-style-page-".concat(elementor.config.kit_id);$.forEach((function(B){var $=B.repeaters[C.name].children[C.index];Object.values(elementor.$previewContents[0].styleSheets).filter((function(C){return V!==C.ownerNode.id&&C.ownerNode.innerHTML.includes($.id)})).forEach((function(C){T.component.tempStyle[$.id]=T.extractVariables(C.cssRules,$.id)}))}))}},{key:"extractVariables",value:function extractVariables(C,T){var B={};return Object.values(C).forEach((function(C){if(C.style){B[C.selectorText]={};for(var $=0;$<C.style.length;$++){var V=C.style[$],L=C.style[V];L.includes(T)&&(B[C.selectorText][V]=L)}Object.keys(B[C.selectorText]).forEach((function(T){C.style[T]=""}))}})),B}}]),KitRemovePreviewDeletedVariables}($e.modules.hookUI.Before);T.KitRemovePreviewDeletedVariables=K},41616:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.KitAfterSave=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(KitAfterSave,C);var T=_createSuper(KitAfterSave);function KitAfterSave(){return(0,L.default)(this,KitAfterSave),T.apply(this,arguments)}return(0,q.default)(KitAfterSave,[{key:"getCommand",value:function getCommand(){return"document/save/save"}},{key:"getConditions",value:function getConditions(C){var T=C.status,B=C.document,$=void 0===B?elementor.documents.getCurrent():B;return"publish"===T&&"kit"===$.config.type}},{key:"getId",value:function getId(){return"kit-footer-saver-after-save"}},{key:"apply",value:function apply(C){(this.clearDocumentCache(),this.clearDynamicTagsCache(),"publish"===C.status&&elementor.notifications.showToast({message:$("Your changes have been updated.","elementor"),buttons:[{name:"back_to_editor",text:$("Back to Editor","elementor"),callback:function callback(){$e.run("panel/global/close")}}]}),elementor.activeBreakpointsUpdated)&&elementorCommon.dialogsManager.createWidget("alert",{id:"elementor-save-kit-refresh-page",headerMessage:$("Reload Elementor Editor","elementor"),message:$("You have made modifications to the list of Active Breakpoints. For these changes to take effect, you need to reload Elementor Editor.","elementor"),position:{my:"center center",at:"center center"},strings:{confirm:$("Reload Now","elementor")},onConfirm:function onConfirm(){return location.reload()}}).show()}},{key:"clearDocumentCache",value:function clearDocumentCache(){Object.keys(elementor.documents.documents).forEach((function(C){elementor.documents.invalidateCache(C)}))}},{key:"clearDynamicTagsCache",value:function clearDynamicTagsCache(){elementor.dynamicTags.cleanCache(),elementor.dynamicTags.loadCacheRequests()}}]),KitAfterSave}(V(B(48310)).default);T.KitAfterSave=G;var K=G;T.default=K},43474:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.KitDeleteGlobalsCache=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(KitDeleteGlobalsCache,C);var T=_createSuper(KitDeleteGlobalsCache);function KitDeleteGlobalsCache(){return(0,V.default)(this,KitDeleteGlobalsCache),T.apply(this,arguments)}return(0,L.default)(KitDeleteGlobalsCache,[{key:"getCommand",value:function getCommand(){return"document/save/save"}},{key:"getConditions",value:function getConditions(C){var T=C.status,B=C.document,$=void 0===B?elementor.documents.getCurrent():B;return"publish"===T&&"kit"===$.config.type}},{key:"getId",value:function getId(){return"document/save/save::update-globals-cache"}},{key:"apply",value:function apply(){$e.components.get("globals").refreshGlobalData()}}]),KitDeleteGlobalsCache}($(B(48310)).default);T.KitDeleteGlobalsCache=H;var G=H;T.default=G},62740:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.KitAddMenuItems=void 0;var V=$(B(40131)),L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(KitAddMenuItems,C);var T=_createSuper(KitAddMenuItems);function KitAddMenuItems(){return(0,L.default)(this,KitAddMenuItems),T.apply(this,arguments)}return(0,q.default)(KitAddMenuItems,[{key:"getCommand",value:function getCommand(){return"editor/documents/attach-preview"}},{key:"getId",value:function getId(){return"kit-add-menu-item"}},{key:"getConditions",value:function getConditions(){return"kit"===elementor.documents.getCurrent().config.type&&!Object.keys($e.components.get("panel/global").getTabs()).length}},{key:"apply",value:function apply(){var C=elementor.documents.getCurrent();Object.entries(C.config.tabs).forEach((function(C){var T=(0,V.default)(C,2),B=T[0],$=T[1];$e.components.get("panel/global").addTab(B,$)}))}}]),KitAddMenuItems}($e.modules.hookUI.Before);T.KitAddMenuItems=G;var K=G;T.default=K},97949:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.KitRemoveEditorActiveCSSDocumentsOpen=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(KitRemoveEditorActiveCSSDocumentsOpen,C);var T=_createSuper(KitRemoveEditorActiveCSSDocumentsOpen);function KitRemoveEditorActiveCSSDocumentsOpen(){return(0,V.default)(this,KitRemoveEditorActiveCSSDocumentsOpen),T.apply(this,arguments)}return(0,L.default)(KitRemoveEditorActiveCSSDocumentsOpen,[{key:"getCommand",value:function getCommand(){return"editor/documents/open"}},{key:"getId",value:function getId(){return"kit-remove-editor-active-css--editor/documents/open"}},{key:"getConditions",value:function getConditions(){return"kit"===elementor.documents.getCurrent().config.type}},{key:"apply",value:function apply(){setTimeout((function(){elementorFrontend.elements.$body.removeClass("elementor-editor-active")}))}}]),KitRemoveEditorActiveCSSDocumentsOpen}($e.modules.hookUI.After);T.KitRemoveEditorActiveCSSDocumentsOpen=H;var G=H;T.default=G},6451:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(BaseOpenClose,C);var T=_createSuper(BaseOpenClose);function BaseOpenClose(){return(0,V.default)(this,BaseOpenClose),T.apply(this,arguments)}return(0,L.default)(BaseOpenClose,[{key:"initialize",value:function initialize(){var C=this;elementor.on("preview:loaded",(function(){C.component=$e.components.get("panel/global")}))}}]),BaseOpenClose}($e.modules.hookUI.After);T.default=H},80633:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.KitBackToRouteHistory=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(KitBackToRouteHistory,C);var T=_createSuper(KitBackToRouteHistory);function KitBackToRouteHistory(){return(0,V.default)(this,KitBackToRouteHistory),T.apply(this,arguments)}return(0,L.default)(KitBackToRouteHistory,[{key:"getCommand",value:function getCommand(){return"panel/global/close"}},{key:"getId",value:function getId(){return"back-to-route-history-/panel/global/close"}},{key:"getConditions",value:function getConditions(){return this.component.routeHistory}},{key:"apply",value:function apply(){var C=this.component.routeHistory;delete this.component.routeHistory,C.container&&$e.data.get("globals/index").then((function(){C.container=C.container.lookup(),C.container.model.trigger("request:edit",{scrollIntoView:!0}),$e.route(C.route,{model:C.container.model,view:C.container.view})}))}}]),KitBackToRouteHistory}($(B(6451)).default);T.KitBackToRouteHistory=H;var G=H;T.default=G},12514:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.KitSaveRouteHistory=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(KitSaveRouteHistory,C);var T=_createSuper(KitSaveRouteHistory);function KitSaveRouteHistory(){return(0,V.default)(this,KitSaveRouteHistory),T.apply(this,arguments)}return(0,L.default)(KitSaveRouteHistory,[{key:"getCommand",value:function getCommand(){return"panel/global/open"}},{key:"getId",value:function getId(){return"save-route-history--/panel/global/open"}},{key:"getConditions",value:function getConditions(C){return!!C.route}},{key:"apply",value:function apply(C){this.component.routeHistory=C}}]),KitSaveRouteHistory}($(B(6451)).default);T.KitSaveRouteHistory=H;var G=H;T.default=G},4348:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.KitRemoveEditorActiveCSSPanelOpen=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(KitRemoveEditorActiveCSSPanelOpen,C);var T=_createSuper(KitRemoveEditorActiveCSSPanelOpen);function KitRemoveEditorActiveCSSPanelOpen(){return(0,V.default)(this,KitRemoveEditorActiveCSSPanelOpen),T.apply(this,arguments)}return(0,L.default)(KitRemoveEditorActiveCSSPanelOpen,[{key:"getCommand",value:function getCommand(){return"panel/open"}},{key:"getId",value:function getId(){return"kit-remove-editor-active-css--/panel/open"}},{key:"getConditions",value:function getConditions(){return"kit"===elementor.documents.getCurrent().config.type}},{key:"apply",value:function apply(){setTimeout((function(){elementorFrontend.elements.$body.removeClass("elementor-editor-active")}))}}]),KitRemoveEditorActiveCSSPanelOpen}($e.modules.hookUI.After);T.KitRemoveEditorActiveCSSPanelOpen=H;var G=H;T.default=G},45767:(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(77266)),U=V(B(51121)),H=V(B(58724)),G=V(B(71173)),K=V(B(74910)),Q=V(B(93231)),J=V(B(92553)),Y=V(B(39732)),X=V(B(72322)),Z=V(B(52998)),ee=V(B(93172)),te=V(B(99292));function ownKeys(C,T){var B=Object.keys(C);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(C);T&&($=$.filter((function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable}))),B.push.apply(B,$)}return B}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,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 ne=function(C){(0,H.default)(Manager,C);var T=_createSuper(Manager);function Manager(){var C;(0,L.default)(this,Manager);for(var B=arguments.length,$=new Array(B),V=0;V<B;V++)$[V]=arguments[V];return C=T.call.apply(T,[this].concat($)),(0,Q.default)((0,W.default)(C),"loadingTriggers",{preview:!1,globals:!1}),(0,Q.default)((0,W.default)(C),"variablesCSS",null),C}return(0,q.default)(Manager,[{key:"initialize",value:function initialize(){var C=this;elementor.on("preview:loaded",(function(){C.loadingTriggers.preview=!0,C.renderGlobalsDefaultCSS()})),elementor.on("document:loaded",(function(){C.renderGlobalVariables()})),elementor.once("globals:loaded",(function(){C.loadingTriggers.globals=!0,C.renderGlobalsDefaultCSS()})),elementor.hooks.addFilter("controls/base/behaviors",this.addGlobalsBehavior),elementor.config.user.can_edit_kit&&$e.components.register(new J.default({manager:this}))}},{key:"addPanelPages",value:function addPanelPages(){elementor.getPanelView().addPage("kit_settings",{view:Y.default,title:$("Site Settings","elementor")}),elementor.getPanelView().addPage("kit_menu",{view:X.default,title:$("Site Settings","elementor")})}},{key:"addPanelMenuItem",value:function addPanelMenuItem(){var C=elementor.modules.layouts.panel.pages.menu.Menu;C.addItem({name:"global-settings",icon:"eicon-global-settings",title:$("Site Settings","elementor"),type:"page",callback:function callback(){$e.run("panel/global/open",{route:$e.routes.getHistory("panel").reverse()[0].route})}},"style","editor-preferences"),C.addItem({name:"site-editor",icon:"eicon-theme-builder",title:$("Theme Builder","elementor"),type:"page",callback:function callback(){return $e.run("app/open")}},"style","editor-preferences")}},{key:"addHeaderBehavior",value:function addHeaderBehavior(C){return C.kit={behaviorClass:Z.default},C}},{key:"addGlobalsBehavior",value:function addGlobalsBehavior(C,T){if(T.isGlobalActive){var B=T.isGlobalActive();return"color"===T.options.model.get("type")&&B&&(C.globals={behaviorClass:ee.default,popoverTitle:$("Global Colors","elementor"),manageButtonText:$("Manage Global Colors","elementor"),tooltipText:$("Global Colors help you work smarter. Save a color, and use it anywhere throughout your site. Access and edit your global colors by clicking the Manage button.","elementor"),newGlobalConfirmTitle:$("Create New Global Color","elementor")}),"popover_toggle"===T.options.model.get("type")&&"typography"===T.options.model.get("groupType")&&B&&(C.globals={behaviorClass:ee.default,popoverTitle:$("Global Fonts","elementor"),manageButtonText:$("Manage Global Fonts","elementor"),tooltipText:$("Global Fonts help you work smarter. Save a Typography, and use it anywhere throughout your site. Access and edit your Global Fonts by clicking the Manage button.","elementor"),newGlobalConfirmTitle:$("Create New Global Font","elementor")}),C}}},{key:"renderGlobalVariables",value:function renderGlobalVariables(){var C=this;this.variablesCSS||(this.variablesCSS=new te.default({id:"e-kit-variables",settingsModel:new elementorModules.editor.elements.models.BaseSettings({},{})})),"kit"!==elementor.documents.getCurrent().config.type?$e.data.get("globals/index").then((function(T){var B=T.data;B.colors&&Object.values(B.colors).forEach((function(T){var B=elementor.config.kit_config.design_system_controls.colors,$={_id:T.id,color:T.value};C.variablesCSS.addStyleRules(B,$,B,["{{WRAPPER}}"],["body"])})),B.typography&&Object.values(B.typography).forEach((function(T){var B=elementor.config.kit_config.design_system_controls.typography,$=function _objectSpread(C){for(var T=1;T<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,Q.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}({_id:T.id},T.value);T.value.typography_font_family&&elementor.helpers.enqueueFont(T.value.typography_font_family),C.variablesCSS.addStyleRules(B,$,B,["{{WRAPPER}}"],["body"])})),C.variablesCSS.addStyleToDocument()})):this.variablesCSS.removeStyleFromDocument()}},{key:"renderGlobalsDefaultCSS",value:function renderGlobalsDefaultCSS(){if(this.loadingTriggers.preview&&this.loadingTriggers.globals){var C=new te.default({id:"e-global-style"}),T=elementor.config.globals.defaults_enabled.colors,B=elementor.config.globals.defaults_enabled.typography;(T||B)&&(Object.values(elementor.widgetsCache).forEach((function($){if($.controls){var V=[],L={};Object.values($.controls).forEach((function(C){var q,W,U="color"===C.type,H="typography"===C.groupType;if(!(U&&!T||H&&!B)){var G=C;C.groupType&&(G=$.controls[C.groupPrefix+C.groupType]),null!==(q=C.global)&&void 0!==q&&q.default&&(L[C.name]=G.global.default),null!==(W=G.global)&&void 0!==W&&W.default&&V.push(C)}})),V.forEach((function(T){C.addControlStyleRules(T,$.controls,$.controls,["{{WRAPPER}}"],[".elementor-widget-"+$.widget_type],L)}))}})),C.addStyleToDocument())}}},{key:"onInit",value:function onInit(){var C=this;(0,U.default)((0,K.default)(Manager.prototype),"onInit",this).call(this),elementorCommon.elements.$window.on("elementor:loaded",(function(){elementor.config.initial_document.panel.support_kit&&C.initialize()}))}}]),Manager}(elementorModules.editor.utils.Module);T.default=ne},65085:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"id",value:function id(){return"elementor-kit-panel-content"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-kit-panel-content"}},{key:"childViewContainer",value:function childViewContainer(){return"#elementor-kit-panel-content-controls"}},{key:"onBeforeShow",value:function onBeforeShow(){var C=$e.components.get("panel/global").getActiveTabConfig();elementor.hooks.doAction("panel/".concat(C.group,"/tab/before-show"),{id:C.id})}},{key:"onBeforeDestroy",value:function onBeforeDestroy(){var C=$e.components.get("panel/global").getActiveTabConfig();elementor.hooks.doAction("panel/".concat(C.group,"/tab/before-destroy"),{id:C.id})}},{key:"childViewOptions",value:function childViewOptions(){var C=this.getOption("container");return{elementSettingsModel:C.settings,container:C}}}]),_default}(elementorModules.editor.views.ControlsStack);T.default=H},52998:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910)),G=B(24743);function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var K=function(C){(0,W.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,L.default)(this,_default),T.apply(this,arguments)}return(0,q.default)(_default,[{key:"ui",value:function ui(){return{buttonClose:"#elementor-panel-header-kit-close",buttonBack:"#elementor-panel-header-kit-back"}}},{key:"events",value:function events(){return{"click @ui.buttonClose":"onClickClose","click @ui.buttonBack":"onClickBack"}}},{key:"onBeforeShow",value:function onBeforeShow(){this.$el.prepend(elementor.compileTemplate(G.buttonBack,{Back:$("Back","elementor")})),this.$el.append(elementor.compileTemplate(G.buttonClose,{Close:$("Close","elementor")}))}},{key:"onClickClose",value:function onClickClose(){$e.run("panel/global/close")}},{key:"onClickBack",value:function onClickBack(){$e.run("panel/global/back")}}]),_default}(Marionette.Behavior);T.default=K},24743:(C,T)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.buttonClose=T.buttonBack=void 0;var B="eicon-chevron-"+(elementorCommon.config.isRTL?"right":"left"),$='\n<button id="elementor-panel-header-kit-back" class="elementor-header-button">\n\t<i class="elementor-icon '.concat(B,' tooltip-target" aria-hidden="true" data-tooltip="{{ Back }}"></i>\n\t<span class="elementor-screen-only">{{ Back }}</span>\n</button>\n');T.buttonBack=$;T.buttonClose='\n<button id="elementor-panel-header-kit-close" class="elementor-header-button">\n\t<i class="elementor-icon eicon-close tooltip-target" aria-hidden="true" data-tooltip="{{ Close }}"></i>\n\t<span class="elementor-screen-only">{{ Close }}</span>\n</button>\n'},72322:(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(40131)),q=V(B(78983)),W=V(B(42081)),U=V(B(58724)),H=V(B(71173)),G=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,U.default)(PanelMenu,C);var T=_createSuper(PanelMenu);function PanelMenu(){return(0,q.default)(this,PanelMenu),T.apply(this,arguments)}return(0,W.default)(PanelMenu,[{key:"initialize",value:function initialize(){this.collection=PanelMenu.getGroups()}}]),PanelMenu}(V(B(86723)).default);T.default=K,K.groups=null,K.createGroupItems=function(C){var T=$e.components.get("panel/global").getTabs();return Object.entries(T).filter((function(T){var B=(0,L.default)(T,2)[1];return C===B.group})).map((function(C){var T=(0,L.default)(C,2),B=T[0],$=T[1];return{name:B,icon:$.icon,title:$.title,callback:function callback(){return $e.route("panel/global/"+B)}}}))},K.initGroups=function(){var C=K.createGroupItems("settings"),T={name:"settings-additional-settings",icon:"eicon-tools",title:$("Additional Settings","elementor"),type:"link",link:elementor.config.admin_settings_url,newTab:!0};C.push(T),K.groups=new Backbone.Collection([{name:"design_system",title:$("Design System","elementor"),items:K.createGroupItems("global")},{name:"theme_style",title:$("Theme Style","elementor"),items:K.createGroupItems("theme-style")},{name:"settings",title:$("Settings","elementor"),items:C}])},K.getGroups=function(){return K.groups||K.initGroups(),K.groups}},39732:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(65085)),L=Marionette.LayoutView.extend({id:"elementor-kit-panel",template:"#tmpl-elementor-kit-panel",regions:{content:"#elementor-kit__panel-content__wrapper"},onBeforeShow:function onBeforeShow(){var C=elementor.documents.getCurrent().container,T={container:C,model:C.model,controls:C.settings.controls,name:"kit"};this.showChildView("content",new V.default(T))}});T.default=L},51047:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(38003).sprintf,L=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var q=L(B(78983)),W=L(B(42081)),U=L(B(51121)),H=L(B(58724)),G=L(B(71173)),K=L(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,K.default)(C);if(T){var V=(0,K.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,G.default)(this,B)}}var Q=function(C){(0,H.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,q.default)(this,_default),T.apply(this,arguments)}return(0,W.default)(_default,[{key:"ui",value:function ui(){var ui=(0,U.default)((0,K.default)(_default.prototype),"ui",this).call(this);return ui.sortButton=".elementor-repeater-tool-sort",ui}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-global-style-repeater-row"}},{key:"events",value:function events(){return{"click @ui.removeButton":"onRemoveButtonClick","keyup @ui.removeButton":"onRemoveButtonPress"}}},{key:"updateColorValue",value:function updateColorValue(){this.$colorValue.text(this.model.get("color"))}},{key:"getDisabledRemoveButtons",value:function getDisabledRemoveButtons(){return this.ui.disabledRemoveButtons||(this.ui.disabledRemoveButtons=this.$el.find(".elementor-repeater-tool-remove--disabled")),this.ui.disabledRemoveButtons}},{key:"getRemoveButton",value:function getRemoveButton(){return this.ui.removeButton.add(this.getDisabledRemoveButtons())}},{key:"triggers",value:function triggers(){return{}}},{key:"onChildviewRender",value:function onChildviewRender(C){var T="color"===C.model.get("type"),B="popover_toggle"===C.model.get("type"),L=C.$el.find(".elementor-control-input-wrapper"),q="",W="";if(T&&(this.$colorValue=jQuery("<div>",{class:"e-global-colors__color-value elementor-control-unit-3"}),L.prepend(this.getRemoveButton(),this.$colorValue).prepend(this.ui.sortButton),q="color",W=$("Color","elementor"),this.updateColorValue()),B&&(L.append(this.getRemoveButton()).append(this.ui.sortButton),q="font",W=$("Font","elementor")),T||B){var U=this.getDisabledRemoveButtons();this.ui.removeButton.data("e-global-type",q),this.ui.removeButton.tipsy({title:function title(){return V($("Delete Global %s","elementor"),W)},gravity:function gravity(){return"s"}}),U.tipsy({title:function title(){return V($("System %s can't be deleted","elementor"),W)},gravity:function gravity(){return"s"}})}}},{key:"onModelChange",value:function onModelChange(C){void 0!==C.changed.color&&this.updateColorValue()}},{key:"onRemoveButtonClick",value:function onRemoveButtonClick(){var C=this,T=this.ui.removeButton.data("e-global-type"),B=$("font"===T?"Font":"Color","elementor"),L=$("font"===T?"font":"color","elementor"),q=V($("You're about to delete a Global %1$s. Note that if it's being used anywhere on your site, it will inherit a default %1$s.","elementor"),B,L);this.confirmDeleteModal=elementorCommon.dialogsManager.createWidget("confirm",{className:"e-global__confirm-delete",headerMessage:V($("Delete Global %s","elementor"),B),message:'<i class="eicon-info-circle"></i> '+q,strings:{confirm:$("Delete","elementor"),cancel:$("Cancel","elementor")},hide:{onBackgroundClick:!1},onConfirm:function onConfirm(){C.trigger("click:remove")}}),this.confirmDeleteModal.show()}},{key:"onRemoveButtonPress",value:function onRemoveButtonPress(C){13!==C.keyCode&&32!==C.keyCode||(C.currentTarget.click(),C.stopPropagation())}}]),_default}(L(B(98550)).default);T.default=Q},21893:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(51121)),U=V(B(58724)),H=V(B(71173)),G=V(B(74910)),K=V(B(1142)),Q=V(B(51047));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var J=function(C){(0,U.default)(_default,C);var T=_createSuper(_default);function _default(){var C;(0,L.default)(this,_default);for(var B=arguments.length,$=new Array(B),V=0;V<B;V++)$[V]=arguments[V];return(C=T.call.apply(T,[this].concat($))).childView=Q.default,C}return(0,q.default)(_default,[{key:"templateHelpers",value:function templateHelpers(){var templateHelpers=(0,W.default)((0,G.default)(_default.prototype),"templateHelpers",this).call(this);return templateHelpers.addButtonText="custom_colors"===this.model.get("name")?$("Add Color","elementor"):$("Add Style","elementor"),templateHelpers}},{key:"getDefaults",value:function getDefaults(){var C=(0,W.default)((0,G.default)(_default.prototype),"getDefaults",this).call(this);return C.title="".concat($("New Item","elementor")," #").concat(this.children.length+1),C}},{key:"getSortableParams",value:function getSortableParams(){var C=(0,W.default)((0,G.default)(_default.prototype),"getSortableParams",this).call(this);return C.placeholder="e-sortable-placeholder",C.cursor="move",C}}]),_default}(K.default);T.default=J},31253:(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=function(){function Event(C){var T,B,$,L,W,U;(0,V.default)(this,Event),(0,q.default)(this,"appType","Editor"),this.user_id=null,this.subscription_id=null===(T=elementor.config.editor_events)||void 0===T?void 0:T.subscription_id,this.url=null===(B=elementor.config.editor_events)||void 0===B?void 0:B.site_url,this.WpVersion=null===($=elementor.config.editor_events)||void 0===$?void 0:$.wp_version,this.ClientId=null===(L=elementor.config.editor_events)||void 0===L?void 0:L.site_key,this.AppVersion=null===(W=elementor.config.editor_events)||void 0===W?void 0:W.elementor_version,this.SiteLanguage=null===(U=elementor.config.editor_events)||void 0===U?void 0:U.site_language,this.attachData(C)}return(0,L.default)(Event,[{key:"attachData",value:function attachData(C){for(var T in C)this[T]=C[T]}}]),Event}();T.default=W},40227:(C,T)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var B={triggers:{click:"Click",accordionClick:"Accordion Click",toggleClick:"Toggle Click",dropdownClick:"Click Dropdown"},locations:{widgetPanel:"Widget Panel",topBar:"Top Bar",elementorEditor:"Elementor Editor"},secondaryLocations:{layout:"Layout Section",basic:"Basic Section","pro-elements":"Pro Section",general:"General Section","theme-elements":"Site Section","theme-elements-single":"Single Section","woocommerce-elements":"WooCommerce Section",wordpress:"WordPress Section",categories:"Widgets Tab",global:"Globals Tab","whats-new":"What’s New","document-settings":"Document Settings icon","preview-page":"Preview Page","publish-button":"Publish Button","widget-panel":"Widget Panel Icon",finder:"Finder",help:"Help",elementorLogoDropdown:"top_bar_elementor_logo_dropdown",elementorLogo:"Elementor Logo",notes:"Notes",siteSettings:"Site Settings",structure:"Structure",documentNameDropdown:"Document Name dropdown",responsiveControls:"Responsive controls",launchpad:"launchpad",checklistHeader:"Checklist Header",checklistSteps:"Checklist Steps",userPreferences:"User Preferences"},elements:{accordionSection:"Accordion section",buttonIcon:"Button Icon",mainCta:"Main CTA",button:"Button",link:"Link",dropdown:"Dropdown",toggle:"Toggle"},names:{v1:{layout:"v1_widgets_tab_layout_section",basic:"v1_widgets_tab_basic_section","pro-elements":"v1_widgets_tab_pro_section",general:"v1_widgets_tab_general_section","theme-elements":"v1_widgets_tab_site_section","theme-elements-single":"v1_widgets_tab_single_section","woocommerce-elements":"v1_widgets_tab_woocommerce_section",wordpress:"v1_widgets_tab_wordpress_section",categories:"v1_widgets_tab",global:"v1_globals_tab"},topBar:{whatsNew:"top_bar_whats_new",documentSettings:"top_bar_document_settings_icon",previewPage:"top_bar_preview_page",publishButton:"top_bar_publish_button",widgetPanel:"top_bar_widget_panel_icon",finder:"top_bar_finder",help:"top_bar_help",history:"top_bar_elementor_logo_dropdown_history",userPreferences:"top_bar_elementor_logo_dropdown_user_preferences",keyboardShortcuts:"top_bar_elementor_logo_dropdown_keyboard_shortcuts",exitToWordpress:"top_bar_elementor_logo_dropdown_exit_to_wordpress",themeBuilder:"top_bar_elementor_logo_dropdown_theme_builder",notes:"top_bar_notes",siteSettings:"top_bar_site_setting",structure:"top_bar_structure",documentNameDropdown:"top_bar_document_name_dropdown",responsiveControls:"top_bar_responsive_controls",launchpadOn:"top_bar_checklist_icon_show",launchpadOff:"top_bar_checklist_icon_hide"},elementorEditor:{checklistHeaderClose:"checklist_header_close_icon",userPreferences:{checklistShow:"checklist_userpreferences_toggle_show",checklistHide:"checklist_userpreferences_toggle_hide"}}}};T.default=B},14091:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(40227)),G=$(B(31679)),K=$(B(31253));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var Q=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(){var C,T;(this.config=H.default,null!==(C=elementor.config.editor_events)&&void 0!==C&&C.can_send_events)&&G.default.init(null===(T=elementor.config.editor_events)||void 0===T?void 0:T.token,{persistence:"localStorage"})}},{key:"dispatchEvent",value:function dispatchEvent(C,T){var B;if(null!==(B=elementor.config.editor_events)&&void 0!==B&&B.can_send_events){var $=new K.default(T);G.default.track(C,$)}}}]),_default}(elementorModules.Module);T.default=Q},29089:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Apply=void 0;var L=V(B(93231)),q=V(B(78983)),W=V(B(42081)),U=V(B(58724)),H=V(B(71173)),G=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var K=function(C){(0,U.default)(Apply,C);var T=_createSuper(Apply);function Apply(){return(0,q.default)(this,Apply),T.apply(this,arguments)}return(0,W.default)(Apply,[{key:"validateArgs",value:function validateArgs(C){this.requireArgumentType("value","string",C)}},{key:"apply",value:function apply(C){var T=C.value,B=C.trigger;if(this.setColor(T),B){var V=B.swatch.dataset.text;B.swatch.dataset.text=$("Selected","elementor"),setTimeout((function(){B.swatch.dataset.text=V}),1e3),B.palette.addEventListener("mouseleave",(function handler(C){C.currentTarget.removeEventListener("mouseleave",handler),$e.run("elements-color-picker/end")}))}else $e.run("elements-color-picker/end")}},{key:"setColor",value:function setColor(C){$e.run("document/elements/settings",{container:this.component.currentPicker.container,settings:(0,L.default)({},this.component.currentPicker.control,C),options:{external:!0}}),this.component.currentPicker.initialColor=C}}]),Apply}($e.modules.CommandBase);T.Apply=K},98745:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.End=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=B(1919);function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(End,C);var T=_createSuper(End);function End(){return(0,V.default)(this,End),T.apply(this,arguments)}return(0,L.default)(End,[{key:"apply",value:function apply(){var C;this.component.inactivate(),elementor.$previewContents[0].querySelectorAll(".e-element-color-picker").forEach((function(C){jQuery(C).tipsy("hide"),C.remove()}));var T=elementor.$previewContents[0].querySelectorAll(".elementor-element");(0,H.removeNamespaceHandler)(T,"click.color-picker"),(0,H.removeNamespaceHandler)(elementor.$previewWrapper[0],"mouseleave.color-picker"),null===(C=this.component.currentPicker.trigger)||void 0===C||C.classList.remove("e-control-tool-disabled"),this.component.resetPicker(),$e.uiStates.remove("elements-color-picker/color-picking")}}]),End}($e.modules.CommandBase);T.End=G},36814:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.EnterPreview=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(EnterPreview,C);var T=_createSuper(EnterPreview);function EnterPreview(){return(0,V.default)(this,EnterPreview),T.apply(this,arguments)}return(0,L.default)(EnterPreview,[{key:"apply",value:function apply(C){this.component.renderUI(C.value)}}]),EnterPreview}($e.modules.CommandBase);T.EnterPreview=H},15937:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.ExitPreview=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(ExitPreview,C);var T=_createSuper(ExitPreview);function ExitPreview(){return(0,V.default)(this,ExitPreview),T.apply(this,arguments)}return(0,L.default)(ExitPreview,[{key:"apply",value:function apply(){var C=this.component.currentPicker.initialColor;null!==C&&this.component.renderUI(C)}}]),ExitPreview}($e.modules.CommandBase);T.ExitPreview=H},14406:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Apply",{enumerable:!0,get:function get(){return $.Apply}}),Object.defineProperty(T,"End",{enumerable:!0,get:function get(){return V.End}}),Object.defineProperty(T,"EnterPreview",{enumerable:!0,get:function get(){return L.EnterPreview}}),Object.defineProperty(T,"ExitPreview",{enumerable:!0,get:function get(){return q.ExitPreview}}),Object.defineProperty(T,"ShowSwatches",{enumerable:!0,get:function get(){return W.ShowSwatches}}),Object.defineProperty(T,"Start",{enumerable:!0,get:function get(){return U.Start}});var $=B(29089),V=B(98745),L=B(36814),q=B(15937),W=B(46327),U=B(75493)},46327:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.ShowSwatches=void 0;var L=V(B(40131)),q=V(B(78983)),W=V(B(42081)),U=V(B(58724)),H=V(B(71173)),G=V(B(74910)),K=B(72102);function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var Q=function(C){(0,U.default)(ShowSwatches,C);var T=_createSuper(ShowSwatches);function ShowSwatches(C){var B;return(0,q.default)(this,ShowSwatches),(B=T.call(this,C)).colors={},B.classes={picker:"e-element-color-picker",tooltip:"e-element-color-picker__tooltip",swatch:"e-element-color-picker__swatch",hidden:"e-picker-hidden"},B.selectors={picker:".".concat(B.classes.picker),tooltip:".".concat(B.classes.tooltip)},B.container=null,B.backgroundImages=[],B}return(0,W.default)(ShowSwatches,[{key:"validateArgs",value:function validateArgs(C){this.requireArgument("event",C)}},{key:"apply",value:function apply(C){var T=this,B=C.event,$=B.currentTarget.dataset.id,V=B.currentTarget.getBoundingClientRect(),L=Math.round(B.clientX-V.left)+"px",q=Math.round(B.clientY-V.top)+"px";this.container=elementor.getContainer($);var W=elementor.$previewContents[0].querySelector(this.selectors.picker);W&&(this.removeTooltip(W),W.remove()),B.stopPropagation(),setTimeout((function(){"img"===B.target.tagName.toLowerCase()?T.extractColorsFromImage(B.target):(T.extractColorsFromSettings(),T.extractColorsFromRepeaters(),T.extractColorsFromImages()),T.initSwatch(L,q)}),100)}},{key:"extractColorsFromSettings",value:function extractColorsFromSettings(){var C=this,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.container;Object.keys(T.settings.attributes).map((function(B){var $;if(!C.reachedColorsLimit()&&B in T.controls){var V="color"===(null===($=T.controls[B])||void 0===$?void 0:$.type),L=B.includes("background_image");if((V||L)&&function isActive(){return elementor.helpers.isActiveControl(T.controls[B],T.settings.attributes,T.settings.controls)}())if(L)C.addTempBackgroundImage(T.getSetting(B));else{var q=T.getSetting(B),W=T.globals.get(B);if(W){var U=W.match(/id=(.+)/i);if(U){var H="--e-global-color-".concat(U[1]);q=getComputedStyle(T.view.$el[0]).getPropertyValue(H)}}q&&!Object.values(C.colors).includes(q)&&(C.colors["".concat(T.id," - ").concat(B)]=q)}}}))}},{key:"extractColorsFromRepeaters",value:function extractColorsFromRepeaters(){var C=this;Object.values(this.container.repeaters).forEach((function(T){T.children.forEach((function(T){C.extractColorsFromSettings(T)}))}))}},{key:"addTempBackgroundImage",value:function addTempBackgroundImage(C){var T=C.url;if(T){var B=document.createElement("img");B.src=T,this.backgroundImages.push(B)}}},{key:"extractColorsFromImage",value:function extractColorsFromImage(C){var T,B=this,$=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",V=new ColorThief;try{T=V.getPalette(C)}catch(C){return}T.forEach((function(C,T){if(!B.reachedColorsLimit()){var V=(0,K.rgbToHex)(C[0],C[1],C[2]);Object.values(B.colors).includes(V)||(B.colors["palette-".concat($,"-").concat(T)]=V)}}))}},{key:"extractColorsFromImages",value:function extractColorsFromImages(){var C=this;this.backgroundImages.forEach((function(T,B){C.extractColorsFromImage(T,B)})),this.backgroundImages=[]}},{key:"addColorSwatches",value:function addColorSwatches(C){var T=this;Object.entries(this.colors).forEach((function(B){var $=(0,L.default)(B,2)[1],V=document.createElement("div");V.classList.add(T.classes.swatch),V.style="--color: ".concat($),V.dataset.text=$.replace("#",""),V.addEventListener("mouseenter",(function(){$e.run("elements-color-picker/enter-preview",{value:$})})),V.addEventListener("mouseleave",(function(){$e.run("elements-color-picker/exit-preview")})),V.addEventListener("click",(function(T){$e.run("elements-color-picker/apply",{value:$,trigger:{palette:C,swatch:T.target}}),T.stopPropagation()})),C.append(V)}))}},{key:"addTooltip",value:function addTooltip(C){jQuery(C).tipsy({gravity:"s",className:this.classes.tooltip,trigger:"manual",title:function title(){return $("Select a color from any image, or from an element whose color you've manually defined.","elementor")}}).tipsy("show");var T=document.querySelector(this.selectors.tooltip);elementor.$previewWrapper[0].appendChild(T),T.style.pointerEvents="none"}},{key:"removeTooltip",value:function removeTooltip(C){jQuery(C).tipsy("hide")}},{key:"initSwatch",value:function initSwatch(){var C=this,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,B=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,$=Object.entries(this.colors).length,V=document.createElement("div");V.dataset.count=$,V.classList.add(this.classes.picker,this.classes.hidden),V.style="\n\t\t\t--count: ".concat($,";\n\t\t\t--left: ").concat(T,";\n\t\t\t--top: ").concat(B,";\n\t\t"),this.container.view.$el[0].append(V);var L=elementorModules.utils.Scroll.scrollObserver({callback:function callback(T){L.unobserve(V),T.isInViewport||(V.style.setProperty("--left","unset"),V.style.setProperty("--right","0")),V.classList.remove(C.classes.hidden)},root:this.container.view.$el[0],offset:"0px -".concat(parseInt(V.getBoundingClientRect().width),"px 0px")});L.observe(V),0===$?this.addTooltip(V):this.addColorSwatches(V),this.container.view.$el[0].addEventListener("mouseleave",(function(){C.removeTooltip(V),setTimeout((function(){V.remove()}),300)}),{once:!0})}},{key:"reachedColorsLimit",value:function reachedColorsLimit(){return 5<=Object.keys(this.colors).length}}]),ShowSwatches}($e.modules.CommandBase);T.ShowSwatches=Q},75493:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Start=void 0;var V=$(B(93231)),L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=B(1919),K=B(62487);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<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,V.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var Q=function(C){(0,W.default)(Start,C);var T=_createSuper(Start);function Start(){return(0,L.default)(this,Start),T.apply(this,arguments)}return(0,q.default)(Start,[{key:"apply",value:function apply(C){this.component.activate(),$e.uiStates.set("elements-color-picker/color-picking",K.COLOR_PICKING_ON),this.component.currentPicker=_objectSpread(_objectSpread({},C),{},{initialColor:C.container.getSetting(C.control)}),this.component.currentPicker.trigger.classList.add("e-control-tool-disabled");var T=elementor.$previewContents[0].querySelectorAll(".elementor-element");(0,G.addNamespaceHandler)(T,"click.color-picker",(function(C){C.preventDefault(),$e.run("elements-color-picker/show-swatches",{event:C})})),(0,G.addNamespaceHandler)(elementor.$previewWrapper[0],"mouseleave.color-picker",(function(){$e.run("elements-color-picker/end")}))}}]),Start}($e.modules.CommandBase);T.Start=Q},29673:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(77266)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(93231)),Q=$(B(19263)),J=_interopRequireWildcard(B(14406)),Y=_interopRequireWildcard(B(95115));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,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var X=function(C){(0,U.default)(Component,C);var T=_createSuper(Component);function Component(){var C;(0,L.default)(this,Component);for(var B=arguments.length,$=new Array(B),V=0;V<B;V++)$[V]=arguments[V];return C=T.call.apply(T,[this].concat($)),(0,K.default)((0,W.default)(C),"currentPicker",C.getDefaultPicker()),C}return(0,q.default)(Component,[{key:"getDefaultPicker",value:function getDefaultPicker(){return{kit:null,container:null,control:null,trigger:null,initialColor:null}}},{key:"resetPicker",value:function resetPicker(){this.currentPicker=this.getDefaultPicker()}},{key:"renderUI",value:function renderUI(C){var T=this.currentPicker,B=T.container,$=T.control,V=T.kit;B.settings.set($,C);var L=B.view;if(null!=L&&L.renderUI&&L.renderUI(),V){var q=V.config.id,W="--e-global-color-".concat(B.id);elementor.$previewContents[0].querySelector(".elementor-kit-".concat(q)).style.setProperty(W,C)}}},{key:"getNamespace",value:function getNamespace(){return"elements-color-picker"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(J)}},{key:"defaultUiStates",value:function defaultUiStates(){return this.importUiStates(Y)}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{end:{keys:"esc",scopes:[this.getNamespace()]}}}}]),Component}(Q.default);T.default=X},52101:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(51121)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(29673));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var K=function(C){(0,W.default)(ElementsColorPicker,C);var T=_createSuper(ElementsColorPicker);function ElementsColorPicker(){return(0,V.default)(this,ElementsColorPicker),T.apply(this,arguments)}return(0,L.default)(ElementsColorPicker,[{key:"onInit",value:function onInit(){(0,q.default)((0,H.default)(ElementsColorPicker.prototype),"onInit",this).call(this),$e.components.register(new G.default)}}]),ElementsColorPicker}(elementorModules.ViewModule);T.default=K},62487:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.ColorPicking=T.COLOR_PICKING_ON=void 0;var V=$(B(93231)),L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(63432));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var K="on";T.COLOR_PICKING_ON=K;var Q=function(C){(0,W.default)(ColorPicking,C);var T=_createSuper(ColorPicking);function ColorPicking(){return(0,L.default)(this,ColorPicking),T.apply(this,arguments)}return(0,q.default)(ColorPicking,[{key:"getId",value:function getId(){return"color-picking"}},{key:"getScopes",value:function getScopes(){return[elementor.$previewContents[0].body]}},{key:"getOptions",value:function getOptions(){return(0,V.default)({},K,"")}},{key:"onChange",value:function onChange(C,T){var B=K===T,$=B?"picker":"edit";elementor.changeEditMode($),this.toggleScopesClass("elementor-edit-area-active",B)}},{key:"toggleScopesClass",value:function toggleScopesClass(C,T){this.getScopes().forEach((function(B){B.classList.toggle(C,T)}))}}]),ColorPicking}(G.default);T.ColorPicking=Q},95115:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"ColorPicking",{enumerable:!0,get:function get(){return $.ColorPicking}});var $=B(62487)},1919:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.removeNamespaceHandler=T.addNamespaceHandler=void 0;var V=$(B(40131));T.addNamespaceHandler=function addNamespaceHandler(C,T,B){var $=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},L=T.split("."),q=(0,V.default)(L,1)[0];Symbol.iterator in Object(C)||(C=[C]),C.forEach((function(C){C.nsEvents||(C.nsEvents={}),C.addEventListener(q,B,$),C.nsEvents[T]=B}))};T.removeNamespaceHandler=function removeNamespaceHandler(C,T){var B=T.split("."),$=(0,V.default)(B,1)[0];Symbol.iterator in Object(C)||(C=[C]),C.forEach((function(C){var B,V;C.removeEventListener($,null===(B=C.nsEvents)||void 0===B?void 0:B[T]),null===(V=C.nsEvents)||void 0===V||delete V[T]}))}},20180:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.Index=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Index,C);var T=_createSuper(Index);function Index(){return(0,V.default)(this,Index),T.apply(this,arguments)}return(0,L.default)(Index,null,[{key:"getEndpointFormat",value:function getEndpointFormat(){return"favorites/{type}"}}]),Index}($e.modules.CommandData);T.Index=H},22032:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(CommandsBase,C);var T=_createSuper(CommandsBase);function CommandsBase(){return(0,V.default)(this,CommandsBase),T.apply(this,arguments)}return(0,L.default)(CommandsBase,[{key:"validateArgs",value:function validateArgs(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.requireArgumentType("type","string",C),this.requireArgumentType("favorite","string",C)}}]),CommandsBase}($e.modules.CommandBase);T.default=H},53370:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Create=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Create,C);var T=_createSuper(Create);function Create(){return(0,V.default)(this,Create),T.apply(this,arguments)}return(0,L.default)(Create,[{key:"apply",value:function apply(C){var T;return null===(T=this.component.manager.typeInstance(C.type))||void 0===T?void 0:T.create(C.favorite)}}]),Create}($(B(22032)).default);T.Create=H;var G=H;T.default=G},59146:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Delete=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Delete,C);var T=_createSuper(Delete);function Delete(){return(0,V.default)(this,Delete),T.apply(this,arguments)}return(0,L.default)(Delete,[{key:"apply",value:function apply(C){var T;return null===(T=this.component.manager.typeInstance(C.type))||void 0===T?void 0:T.delete(C.favorite)}}]),Delete}($(B(22032)).default);T.Delete=H;var G=H;T.default=G},93051:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Create",{enumerable:!0,get:function get(){return $.Create}}),Object.defineProperty(T,"Delete",{enumerable:!0,get:function get(){return V.Delete}}),Object.defineProperty(T,"Toggle",{enumerable:!0,get:function get(){return L.Toggle}});var $=B(53370),V=B(59146),L=B(13967)},13967:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Toggle=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Toggle,C);var T=_createSuper(Toggle);function Toggle(){return(0,V.default)(this,Toggle),T.apply(this,arguments)}return(0,L.default)(Toggle,[{key:"apply",value:function apply(C){var T;return null===(T=this.component.manager.typeInstance(C.type))||void 0===T?void 0:T.toggle(C.favorite)}}]),Toggle}($e.modules.CommandBase);T.Toggle=H;var G=H;T.default=G},46893:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=_interopRequireWildcard(B(93051)),K=_interopRequireWildcard(B(20180));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==V(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}return $.default=C,B&&B.set(C,$),$}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var Q=function(C){(0,W.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,L.default)(this,Component),T.apply(this,arguments)}return(0,q.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"favorites"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(G)}},{key:"defaultData",value:function defaultData(){return this.importCommands(K)}}]),Component}($e.modules.ComponentBase);T.default=Q},50645:(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 FavoriteType(){(0,V.default)(this,FavoriteType)}return(0,L.default)(FavoriteType,[{key:"getName",value:function getName(){}},{key:"create",value:function create(C){}},{key:"delete",value:function _delete(C){}},{key:"toggle",value:function toggle(C){}}]),FavoriteType}();T.default=q},70524:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(77266)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(93231)),K=$(B(46893)),Q=$(B(46548)),J=B(90098);function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var Y=function(C){(0,W.default)(FavoritesModule,C);var T=_createSuper(FavoritesModule);function FavoritesModule(){var C;return(0,V.default)(this,FavoritesModule),C=T.call(this),(0,G.default)((0,q.default)(C),"types",{}),[Q.default].forEach((function(T){return C.register(T)})),C}return(0,L.default)(FavoritesModule,[{key:"onElementorInit",value:function onElementorInit(){elementor.config.user.introduction["favorites-notice"]||(0,J.registerHooks)()}},{key:"onElementorLoaded",value:function onElementorLoaded(){this.component=$e.components.register(new K.default({manager:this}))}},{key:"typeInstance",value:function typeInstance(C){if(void 0===this.types[C])throw new Error("Type '".concat(C,"' is not found"));return this.types[C]}},{key:"register",value:function register(C){var T=new C;this.types[T.getName()]=T}}]),FavoritesModule}(elementorModules.editor.utils.Module);T.default=Y},90098:(C,T,B)=>{"use strict";function onRoute(C,T){"panel/elements/categories"===T&&elementor.getPanelView().getCurrentPageView().showView("favoritesNotice")}function onFilter(C,T){var $=T.notice;return C.favoritesNotice={region:$,view:B(51131)},C}Object.defineProperty(T,"__esModule",{value:!0}),T.registerHooks=function registerHooks(){elementor.hooks.addFilter("panel/elements/regionViews",onFilter),$e.routes.on("run:after",onRoute)},T.unregisterHooks=function unregisterHooks(){elementor.hooks.removeFilter("panel/elements/regionViews",onFilter),$e.routes.off("run:after",onRoute)}},4469:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(PanelCategoryBehavior,C);var T=_createSuper(PanelCategoryBehavior);function PanelCategoryBehavior(){return(0,V.default)(this,PanelCategoryBehavior),T.apply(this,arguments)}return(0,L.default)(PanelCategoryBehavior,[{key:"onRender",value:function onRender(){this.isFavoritesCategory()&&(this.view.collection.length||this.$el.hide())}},{key:"isFavoritesCategory",value:function isFavoritesCategory(){return"favorites"===this.view.options.model.get("name")}}]),PanelCategoryBehavior}(Marionette.Behavior);T.default=H},46548:(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(77266)),U=V(B(58724)),H=V(B(71173)),G=V(B(74910)),K=V(B(50645)),Q=V(B(4469));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var J=function(C){(0,U.default)(Widgets,C);var T=_createSuper(Widgets);function Widgets(){var C;return(0,L.default)(this,Widgets),C=T.call(this),elementor.hooks.addFilter("panel/category/behaviors",C.addCategoryBehavior.bind((0,W.default)(C))),elementor.hooks.addFilter("panel/element/contextMenuGroups",C.addContextMenuGroups.bind((0,W.default)(C))),C}return(0,q.default)(Widgets,[{key:"getName",value:function getName(){return"widgets"}},{key:"create",value:function create(C){var T=this.getWidgetCache(C);if(void 0!==T){T.categories.push(this.getCategorySlug());var B=$e.data.create("favorites/index",{},{type:this.getName(),favorite:C});return this.refreshCategories(),B}return!1}},{key:"delete",value:function _delete(C){var T=this.getWidgetCache(C);if(void 0!==T){T.categories.splice(T.categories.indexOf(this.getCategorySlug()),1);var B=$e.data.delete("favorites/index",{type:this.getName(),favorite:C});return this.refreshCategories(),B}return!1}},{key:"toggle",value:function toggle(C){if(void 0!==this.getWidgetCache(C)){var T={type:this.getName(),favorite:C};return this.isFavorite(C)?$e.run("favorites/delete",T):$e.run("favorites/create",T)}return!1}},{key:"isFavorite",value:function isFavorite(C){var T=this.getWidgetCache(C);return void 0!==T&&T.categories.includes(this.getCategorySlug())}},{key:"getCategorySlug",value:function getCategorySlug(){return"favorites"}},{key:"addCategoryBehavior",value:function addCategoryBehavior(C){return Object.assign({},C,{favoriteWidgets:{behaviorClass:Q.default}})}},{key:"addContextMenuGroups",value:function addContextMenuGroups(C,T){var B=this,V=T.options.model.get("widgetType")||T.options.model.get("elType");return C.concat([{name:"favorite-toggle",actions:[{name:"toggle",icon:this.isFavorite(V)?"eicon-heart-o":"eicon-heart",title:this.isFavorite(V)?$("Remove from Favorites","elementor"):$("Add to Favorites","elementor"),callback:function callback(){B.toggle(V),B.isFavorite(V)&&elementor.notifications.showToast({message:$("Added","elementor")})}}]}])}},{key:"refreshCategories",value:function refreshCategories(){var C=elementor.getPanelView().perfectScrollbar.element,T=C.scrollTop,B=C.scrollHeight;$e.route("panel/elements/categories",{refresh:!0,onAfter:function onAfter(){C.scrollTop=T+(C.scrollHeight-B)}})}},{key:"getWidgetCache",value:function getWidgetCache(C){return elementor.widgetsCache[C]}}]),Widgets}(K.default);T.default=J},51131:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(90098).unregisterHooks,L=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-elements-notice",id:"elementor-panel-notice-wrapper",ui:{notice:".elementor-panel-notice"},notice:{message:$("For easy access, favorite the widgets you use most often by right clicking > Add to favorites.","elementor"),hrefText:$("Got It","elementor"),classes:"elementor-panel-alert elementor-panel-alert-info"},events:{"click @ui.notice a":"onNoticeClick"},onNoticeClick:function onNoticeClick(){this.destroy();V(),elementorCommon.ajax.addRequest("introduction_viewed",{data:{introductionKey:"favorites-notice"}})},onRender:function onRender(){var C=document.createElement("span");C.innerText=this.notice.message;var T=document.createElement("a");T.href="#",T.innerText=this.notice.hrefText,C.append(T),this.ui.notice.addClass(this.notice.classes),this.ui.notice.append(C)}});C.exports=L},95750:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(FloatingBarsLibraryModule,C);var T=_createSuper(FloatingBarsLibraryModule);function FloatingBarsLibraryModule(){return(0,V.default)(this,FloatingBarsLibraryModule),T.apply(this,arguments)}return(0,L.default)(FloatingBarsLibraryModule,[{key:"onElementorLoaded",value:function onElementorLoaded(){elementor.channels.editor.on("section:activated",this.hideAdvancedTab.bind(this))}},{key:"hideAdvancedTab",value:function hideAdvancedTab(C,T){var B;if(((null==T||null===(B=T.model)||void 0===B?void 0:B.get("widgetType"))||"").startsWith("floating-bars")){var $=(null==T?void 0:T.el.querySelector(".elementor-tab-control-advanced"))||!1;$&&($.style.display="none")}}},{key:"onElementorInit",value:function onElementorInit(){"floating-bars"===new URLSearchParams(window.location.search).get("floating_element")&&elementor.hooks.addFilter("elementor/editor/template-library/template/classes",(function(C){return C.replace("elementor-template-library-template-floating_button","elementor-template-library-template-floating_bar")}),10,1)}}]),FloatingBarsLibraryModule}(elementorModules.editor.utils.Module);T.default=H},9884:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==V(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}$.default=C,B&&B.set(C,$);return $}(B(58970));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var K=function(C){(0,W.default)(LinksPageComponent,C);var T=_createSuper(LinksPageComponent);function LinksPageComponent(){return(0,L.default)(this,LinksPageComponent),T.apply(this,arguments)}return(0,q.default)(LinksPageComponent,[{key:"getNamespace",value:function getNamespace(){return"document/floating-buttons"}},{key:"defaultHooks",value:function defaultHooks(){return this.importHooks(G)}}]),LinksPageComponent}($e.modules.ComponentBase);T.default=K},58970:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"AfterSelect",{enumerable:!0,get:function get(){return q.AfterSelect}}),Object.defineProperty(T,"DeleteParentIfWidget",{enumerable:!0,get:function get(){return U.DeleteParentIfWidget}}),Object.defineProperty(T,"FloatingButtonsAddLibraryTab",{enumerable:!0,get:function get(){return $.FloatingButtonsAddLibraryTab}}),Object.defineProperty(T,"FloatingButtonsRemoveLibraryTab",{enumerable:!0,get:function get(){return V.FloatingButtonsRemoveLibraryTab}}),Object.defineProperty(T,"OpenLibraryAfterDelete",{enumerable:!0,get:function get(){return L.OpenLibraryAfterDelete}}),Object.defineProperty(T,"SelectLoadingButtonOnOpen",{enumerable:!0,get:function get(){return W.SelectLoadingButtonOnOpen}});var $=B(79275),V=B(38835),L=B(35546),q=B(84246),W=B(41380),U=B(23788)},35546:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.OpenLibraryAfterDelete=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(OpenLibraryAfterDelete,C);var T=_createSuper(OpenLibraryAfterDelete);function OpenLibraryAfterDelete(){return(0,V.default)(this,OpenLibraryAfterDelete),T.apply(this,arguments)}return(0,L.default)(OpenLibraryAfterDelete,[{key:"getCommand",value:function getCommand(){return"document/elements/delete"}},{key:"getId",value:function getId(){return"open-library-after-delete"}},{key:"getConditions",value:function getConditions(C){var T,B,$,V,L,q,W=null==C||null===(T=C.container)||void 0===T||null===(B=T.document)||void 0===B||null===($=B.config)||void 0===$?void 0:$.type;W||(W=null==C||null===(V=C.containers[0])||void 0===V||null===(L=V.document)||void 0===L||null===(q=L.config)||void 0===q?void 0:q.type);return"floating-buttons"===W}},{key:"apply",value:function apply(){$e.run("library/open")}}]),OpenLibraryAfterDelete}($(B(30112)).default);T.OpenLibraryAfterDelete=H;var G=H;T.default=G},23788:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.DeleteParentIfWidget=void 0;var V=$(B(40131)),L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(DeleteParentIfWidget,C);var T=_createSuper(DeleteParentIfWidget);function DeleteParentIfWidget(){return(0,L.default)(this,DeleteParentIfWidget),T.apply(this,arguments)}return(0,q.default)(DeleteParentIfWidget,[{key:"getCommand",value:function getCommand(){return"document/elements/delete"}},{key:"getId",value:function getId(){return"delete-parent-if-widget"}},{key:"getConditions",value:function getConditions(C){var T=C.containers;return(void 0===T?[C.container]:T).some((function(C){var T,B;return"floating-buttons"===(null==C||null===(T=C.document)||void 0===T||null===(B=T.config)||void 0===B?void 0:B.type)&&"widget"===C.model.get("elType")}))}},{key:"apply",value:function apply(C){var T=C.containers,B=void 0===T?[C.container]:T,$=(0,V.default)(B,1)[0];if($){var L=$.parent;L&&$e.run("document/elements/delete",{container:L})}}}]),DeleteParentIfWidget}($(B(30112)).default);T.DeleteParentIfWidget=G;var K=G;T.default=K},84246:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.AfterSelect=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(AfterSelect,C);var T=_createSuper(AfterSelect);function AfterSelect(){return(0,V.default)(this,AfterSelect),T.apply(this,arguments)}return(0,L.default)(AfterSelect,[{key:"getCommand",value:function getCommand(){return"document/elements/select"}},{key:"getId",value:function getId(){return"prevent-container-selection"}},{key:"getConditions",value:function getConditions(C){var T,B,$,V,L,q,W=null==C||null===(T=C.container)||void 0===T||null===(B=T.document)||void 0===B||null===($=B.config)||void 0===$?void 0:$.type;W||(W=null==C||null===(V=C.containers[0])||void 0===V||null===(L=V.document)||void 0===L||null===(q=L.config)||void 0===q?void 0:q.type);return"floating-buttons"===W}},{key:"apply",value:function apply(C){var T=C.container.type;switch(void 0===T?"":T){case"section":case"container":$e.run("document/elements/select",{container:C.container.children[0],append:!1})}}}]),AfterSelect}($(B(30112)).default);T.AfterSelect=H;var G=H;T.default=G},41380:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.SelectLoadingButtonOnOpen=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(SelectLoadingButtonOnOpen,C);var T=_createSuper(SelectLoadingButtonOnOpen);function SelectLoadingButtonOnOpen(){return(0,V.default)(this,SelectLoadingButtonOnOpen),T.apply(this,arguments)}return(0,L.default)(SelectLoadingButtonOnOpen,[{key:"getCommand",value:function getCommand(){return"editor/documents/attach-preview"}},{key:"getId",value:function getId(){return"elementor-floating-buttons-select-on-open"}},{key:"getConditions",value:function getConditions(){var C,T,B;return"floating-buttons"===(null===(C=elementor)||void 0===C||null===(T=C.config)||void 0===T||null===(B=T.document)||void 0===B?void 0:B.type)}},{key:"apply",value:function apply(){var C,T,B,$,V=null===(C=elementor)||void 0===C||null===(T=C.documents)||void 0===T||null===(B=T.currentDocument)||void 0===B||null===($=B.container)||void 0===$?void 0:$.children;Array.isArray(V)&&V.length?$e.run("document/elements/select",{container:V[0],append:!1}):$e.run("library/open")}}]),SelectLoadingButtonOnOpen}($e.modules.hookUI.After);T.SelectLoadingButtonOnOpen=H;var G=H;T.default=G},38835:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.FloatingButtonsRemoveLibraryTab=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(FloatingButtonsRemoveLibraryTab,C);var T=_createSuper(FloatingButtonsRemoveLibraryTab);function FloatingButtonsRemoveLibraryTab(){return(0,V.default)(this,FloatingButtonsRemoveLibraryTab),T.apply(this,arguments)}return(0,L.default)(FloatingButtonsRemoveLibraryTab,[{key:"getCommand",value:function getCommand(){return"editor/documents/unload"}},{key:"getId",value:function getId(){return"elementor-floating-buttons-remove-library-tab"}},{key:"getConditions",value:function getConditions(C){return"floating-buttons"===C.document.config.type}},{key:"apply",value:function apply(){$e.components.get("library").removeTab("templates/floating-buttons"),$e.components.get("library").addTab("templates/pages"),$e.components.get("library").addTab("templates/blocks")}}]),FloatingButtonsRemoveLibraryTab}($e.modules.hookUI.After);T.FloatingButtonsRemoveLibraryTab=H;var G=H;T.default=G},79275:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.FloatingButtonsAddLibraryTab=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(FloatingButtonsAddLibraryTab,C);var T=_createSuper(FloatingButtonsAddLibraryTab);function FloatingButtonsAddLibraryTab(){return(0,L.default)(this,FloatingButtonsAddLibraryTab),T.apply(this,arguments)}return(0,q.default)(FloatingButtonsAddLibraryTab,[{key:"getCommand",value:function getCommand(){return"editor/documents/open"}},{key:"getId",value:function getId(){return"elementor-floating-buttons-add-library-tab"}},{key:"getConditions",value:function getConditions(C){return"floating-buttons"===elementor.documents.get(C.id).config.type}},{key:"getSubtype",value:function getSubtype(){return"floating-bars"===new URLSearchParams(window.location.search).get("floating_element")?"Floating Bar":"Floating Button"}},{key:"getTitle",value:function getTitle(){return"floating-bars"===new URLSearchParams(window.location.search).get("floating_element")?$("Floating Bars","elementor"):$("Floating Buttons","elementor")}},{key:"apply",value:function apply(){$e.components.get("library").addTab("templates/floating-buttons",{title:this.getTitle(),filter:{source:"remote",type:"floating_button",subtype:this.getSubtype()}},2),$e.components.get("library").removeTab("templates/blocks"),$e.components.get("library").removeTab("templates/pages")}}]),FloatingButtonsAddLibraryTab}($e.modules.hookUI.After);T.FloatingButtonsAddLibraryTab=G;var K=G;T.default=K},88006:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(9884));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(FloatingButtonsLibraryModule,C);var T=_createSuper(FloatingButtonsLibraryModule);function FloatingButtonsLibraryModule(){return(0,V.default)(this,FloatingButtonsLibraryModule),T.apply(this,arguments)}return(0,L.default)(FloatingButtonsLibraryModule,[{key:"onElementorLoaded",value:function onElementorLoaded(){this.component=$e.components.register(new H.default({manager:this})),elementor.channels.editor.on("section:activated",this.hideAdvancedTab.bind(this))}},{key:"hideAdvancedTab",value:function hideAdvancedTab(C,T){var B;if(((null==T||null===(B=T.model)||void 0===B?void 0:B.get("widgetType"))||"").startsWith("contact-buttons")){var $=(null==T?void 0:T.el.querySelector(".elementor-tab-control-advanced"))||!1;$&&($.style.display="none")}}},{key:"onElementorInit",value:function onElementorInit(){var C=this;elementor.hooks.addFilter("elements/base/behaviors",(function(T){if(C.isFloatingButtonDocument()){var B=T.contextMenu.groups;T.contextMenu.groups=B.map(C.filterOutUnsupportedActions()).filter((function(C){return C.actions.length}))}return T}),1e3),elementor.hooks.addFilter("elementor/editor/template-library/template/promotion-link-search-params",(function(C,T){if("floating_button"===T.type)try{var B=new URLSearchParams(C);return B.has("utm_source")&&B.set("utm_source","template-library-floating-buttons"),B.toString()}catch(T){return C}return C}),1e3)}},{key:"filterOutUnsupportedActions",value:function filterOutUnsupportedActions(){return function(C){var T=elementor.helpers.hasPro()?["edit","delete","resetStyle"]:["edit","delete","resetStyle","save"];return{name:C.name,actions:C.actions.filter((function(C){return T.includes(C.name)}))}}}},{key:"isFloatingButtonDocument",value:function isFloatingButtonDocument(){return"floating-buttons"===elementor.config.document.type}}]),FloatingButtonsLibraryModule}(elementorModules.editor.utils.Module);T.default=G},28868:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(Component,C);var T=_createSuper(Component);function Component(){return(0,L.default)(this,Component),T.apply(this,arguments)}return(0,q.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"panel/history"}},{key:"defaultTabs",value:function defaultTabs(){return{actions:{title:$("Actions","elementor")},revisions:{title:$("Revisions","elementor")}}}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{actions:{keys:"ctrl+shift+h"}}}},{key:"renderTab",value:function renderTab(C){elementor.getPanelView().setPage("historyPage").showView(C)}},{key:"activate",value:function activate(){$e.components.activate(this.getTabRoute(this.currentTab))}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return"#elementor-panel-elements-navigation"}}]),Component}(V(B(19263)).default);T.default=G},84755:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(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"panel/history/actions"}},{key:"defaultCommands",value:function defaultCommands(){return{do:function _do(C){return $e.run("document/history/do",C)},undo:function undo(){return $e.run("document/history/undo")},redo:function redo(){return $e.run("document/history/redo")}}}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{undo:{keys:"ctrl+z",exclude:["input"],scopes:["panel","navigator"]},redo:{keys:"ctrl+shift+z, ctrl+y",exclude:["input"],scopes:["panel","navigator"]}}}}]),Component}($(B(19263)).default);T.default=H},16310:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-panel-history-no-items"}},{key:"id",value:function id(){return"elementor-panel-history-no-items"}},{key:"onDestroy",value:function onDestroy(){this._parent.$el.removeClass("elementor-empty")}}]),_default}(Marionette.ItemView);T.default=H},8471:C=>{"use strict";C.exports=Backbone.Model.extend({defaults:{id:0,type:"",status:"not_applied",title:"",subTitle:"",action:"",history:{}},initialize:function initialize(){this.set("items",new Backbone.Collection)}})},35733:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"tagName",value:function tagName(){return"button"}},{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-panel-history-item"}},{key:"className",value:function className(){return"elementor-history-item elementor-history-item-"+this.model.get("status")}},{key:"triggers",value:function triggers(){return{click:"click"}}}]),_default}(Marionette.ItemView);T.default=H},48673:(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(93231)),U=V(B(8471)),H=function(){function HistoryManager(C){(0,L.default)(this,HistoryManager),(0,W.default)(this,"currentItemID",null),(0,W.default)(this,"items",new Backbone.Collection([],{model:U.default})),(0,W.default)(this,"active",!0),(0,W.default)(this,"translations",{add:$("Added","elementor"),change:$("Edited","elementor"),disable:$("Disabled","elementor"),duplicate:$("Duplicate","elementor"),enable:$("Enabled","elementor"),import:$("Imported","elementor"),move:$("Moved","elementor"),paste:$("Pasted","elementor"),paste_style:$("Style Pasted","elementor"),remove:$("Removed","elementor"),reset_settings:$("Settings Reset","elementor"),reset_style:$("Style Reset","elementor"),selected:$("Selected","elementor")}),this.document=C,this.currentItem=new Backbone.Model({id:0})}return(0,q.default)(HistoryManager,[{key:"getActionLabel",value:function getActionLabel(C){return this.translations[C.type]?this.translations[C.type]:C.type}},{key:"navigate",value:function navigate(C){var T=this.items.find((function(C){return"not_applied"===C.get("status")})),B=this.items.indexOf(T),$=C?B-1:B+1;!C&&!T||$<0||$>=this.items.length||this.doItem($)}},{key:"setActive",value:function setActive(C){this.active=C}},{key:"getActive",value:function getActive(){return this.active}},{key:"getItems",value:function getItems(){return this.items}},{key:"startItem",value:function startItem(C){return this.currentItemID=this.addItem(C),this.currentItemID}},{key:"endItem",value:function endItem(C){this.currentItemID===C&&(this.currentItemID=null)}},{key:"deleteItem",value:function deleteItem(C){var T=this.items.findWhere({id:C});this.items.remove(T),this.currentItemID=null}},{key:"isItemStarted",value:function isItemStarted(){return null!==this.currentItemID}},{key:"getCurrentId",value:function getCurrentId(){return this.currentItemID}},{key:"addItem",value:function addItem(C){if(this.getActive()){for(this.items.length||this.items.add({status:"not_applied",title:$("Editing Started","elementor"),subTitle:"",action:"",editing_started:!0});this.items.length&&"applied"===this.items.first().get("status");)this.items.shift();var T=this.currentItemID?this.currentItemID:(new Date).getTime(),B=this.items.findWhere({id:T});return B||(B=new U.default({id:T,title:C.title,subTitle:C.subTitle,action:this.getActionLabel(C),type:C.type}),this.startItemTitle="",this.startItemAction=""),B.get("items").add(C,{at:0}),this.items.add(B,{at:0}),this.updateCurrentItem(B),T}}},{key:"doItem",value:function doItem(C){this.setActive(!1);var T=this.items.at(C);"not_applied"===T.get("status")?this.undoItem(C):this.redoItem(C),this.setActive(!0);var B,$=elementor.getPanelView().getCurrentPageView().getOption("editedElementView");if($e.routes.isPartOf("panel/editor")&&$)$.isDestroyed?$e.route("panel/history/actions"):B=$;else if(T instanceof Backbone.Model&&T.get("items").length){var V=T.get("items").first();if(V.get("restore")){var L="sub-add"===V.get("type")?V.get("data").containerToRestore:V.get("container")||V.get("containers");Array.isArray(L)&&(L=L[0]),L&&(B=L.lookup().view)}}$e.internal("document/save/set-is-modified",{status:T.get("id")!==this.document.editor.lastSaveHistoryId}),this.updateCurrentItem(T),B&&!elementor.helpers.isInViewport(B.$el[0],elementor.$previewContents.find("html")[0])&&elementor.helpers.scrollToView(B.$el)}},{key:"undoItem",value:function undoItem(C){for(var T=0;T<C;T++){var B=this.items.at(T);"not_applied"===B.get("status")&&(B.get("items").each((function(C){var T=C.get("restore");T&&T(C)})),B.set("status","applied"))}}},{key:"redoItem",value:function redoItem(C){for(var T=this.items.length-1;T>=C;T--){var B=this.items.at(T);if("applied"===B.get("status")){var $=_.toArray(B.get("items").models).reverse();_($).each((function(C){var T=C.get("restore");T&&T(C,!0)})),B.set("status","not_applied")}}}},{key:"updateCurrentItem",value:function updateCurrentItem(C){this.currentItem=C,this.updatePanelPageCurrentItem()}},{key:"updatePanelPageCurrentItem",value:function updatePanelPageCurrentItem(){$e.routes.is("panel/history/actions")&&elementor.getPanelView().getCurrentPageView().getCurrentTab().updateCurrentItem()}}]),HistoryManager}();T.default=H},97789:(C,T,B)=>{"use strict";var $=B(73203),V=$(B(35733)),L=$(B(16310));C.exports=Marionette.CompositeView.extend({id:"elementor-panel-history",template:"#tmpl-elementor-panel-history-tab",childView:V.default,childViewContainer:"#elementor-history-list",emptyView:L.default,currentItem:null,updateCurrentItem:function updateCurrentItem(){var C=this;this.children.length<=1||_.defer((function(){var T=C.collection.find((function(C){return"not_applied"===C.get("status")})),B=C.children.findByModel(T);if(B){var $="elementor-history-item-current";C.currentItem&&C.currentItem.removeClass($),C.currentItem=B.$el,C.currentItem.addClass($)}}))},onRender:function onRender(){this.updateCurrentItem()},onRenderEmpty:function onRenderEmpty(){this.$el.addClass("elementor-empty")},onChildviewClick:function onChildviewClick(C,T){if(C.$el!==this.currentItem){var B=T.model.collection.findIndex(T.model);$e.run("panel/history/actions/do",{index:B})}}})},18414:(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(28868)),U=V(B(84755)),H=V(B(29153)),G=V(B(17228)),K=function(){function Manager(){(0,L.default)(this,Manager),elementorCommon.elements.$window.on("elementor:loaded",this.init)}return(0,q.default)(Manager,[{key:"init",value:function init(){$e.components.register(new W.default),$e.components.register(new U.default),$e.components.register(new H.default),elementor.on("panel:init",(function(){elementor.getPanelView().addPage("historyPage",{view:G.default,title:$("History","elementor")})}))}},{key:"history",get:function get(){return elementorDevTools.deprecation.deprecated("elementor.history.history","2.9.0","elementor.documents.getCurrent().history"),elementor.documents.getCurrent().history}},{key:"revisions",get:function get(){return elementorDevTools.deprecation.deprecated("elementor.history.revisions","2.9.0","elementor.documents.getCurrent().revisions"),elementor.documents.getCurrent().revisions}}]),Manager}();T.default=K},17228:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(16779)),L=$(B(58234)),q=$(B(98855)),W=B(97789),U=Marionette.LayoutView.extend({template:"#tmpl-elementor-panel-history-page",regions:{content:"#elementor-panel-history-content"},ui:{tabs:".elementor-panel-navigation-tab"},regionViews:{},currentTab:null,document:null,initialize:function initialize(C){this.document=C.document||elementor.documents.getCurrent(),this.initRegionViews()},initRegionViews:function initRegionViews(){var C=this,T=this.document.history.getItems();this.regionViews={actions:{view:function view(){return W},options:{collection:T,history:this.document.history}},revisions:{view:function view(){var T=C.document.revisions.getItems();return T?1===T.length&&"current"===T.models[0].get("type")?q.default:L.default:V.default},options:{document:this.document}}}},getCurrentTab:function getCurrentTab(){return this.currentTab},showView:function showView(C){var T=this.regionViews[C],B=T.options||{},$=T.view();this.currentTab&&this.currentTab.constructor===$||(this.currentTab=new $(B),this.content.show(this.currentTab))}});T.default=U},29138:(C,T,B)=>{"use strict";var $=B(95297);C.exports=Backbone.Collection.extend({model:$,comparator:function comparator(C){return-C.get("timestamp")}})},39667:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Down=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Down,C);var T=_createSuper(Down);function Down(){return(0,V.default)(this,Down),T.apply(this,arguments)}return(0,L.default)(Down,[{key:"apply",value:function apply(){this.component.navigate()}}]),Down}($e.modules.CommandBase);T.Down=H;var G=H;T.default=G},17302:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Down",{enumerable:!0,get:function get(){return $.Down}}),Object.defineProperty(T,"Up",{enumerable:!0,get:function get(){return V.Up}});var $=B(39667),V=B(75625)},75625:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Up=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Up,C);var T=_createSuper(Up);function Up(){return(0,V.default)(this,Up),T.apply(this,arguments)}return(0,L.default)(Up,[{key:"apply",value:function apply(){this.component.navigate(!0)}}]),Up}($e.modules.CommandBase);T.Up=H;var G=H;T.default=G},29153:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=$(B(19263)),K=_interopRequireWildcard(B(17302)),Q=_interopRequireWildcard(B(94367));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==V(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}return $.default=C,B&&B.set(C,$),$}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var J=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/history/revisions"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(K)}},{key:"defaultHooks",value:function defaultHooks(){return this.importHooks(Q)}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{up:{keys:"up",scopes:[this.getNamespace()]},down:{keys:"down",scopes:[this.getNamespace()]}}}},{key:"navigate",value:function navigate(C){elementor.documents.getCurrent().revisions.getItems().length>1&&elementor.getPanelView().getCurrentPageView().currentTab.navigate(C)}}]),Component}(G.default);T.default=J},36235:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.RevisionsAfterSave=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(RevisionsAfterSave,C);var T=_createSuper(RevisionsAfterSave);function RevisionsAfterSave(){return(0,V.default)(this,RevisionsAfterSave),T.apply(this,arguments)}return(0,L.default)(RevisionsAfterSave,[{key:"getCommand",value:function getCommand(){return"document/save/save"}},{key:"getId",value:function getId(){return"revisions-after-save"}},{key:"apply",value:function apply(C,T){var B=T.data,$=elementor.documents.getCurrent().revisions;B.latest_revisions&&$.addRevisions(B.latest_revisions),$.requestRevisions((function(){if(B.revisions_ids){var C=$.revisions.filter((function(C){return-1!==B.revisions_ids.indexOf(C.get("id"))}));$.revisions.reset(C)}}))}}]),RevisionsAfterSave}($(B(48310)).default);T.RevisionsAfterSave=H;var G=H;T.default=G},94367:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"RevisionsAfterSave",{enumerable:!0,get:function get(){return $.RevisionsAfterSave}});var $=B(36235)},11666:(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(29138),U=function(){function RevisionsManager(C){(0,V.default)(this,RevisionsManager),(0,q.default)(this,"document",void 0),(0,q.default)(this,"revisions",void 0),this.document=C}return(0,L.default)(RevisionsManager,[{key:"getItems",value:function getItems(){return this.revisions}},{key:"requestRevisions",value:function requestRevisions(C){var T=this;this.revisions?C(this.revisions):elementorCommon.ajax.addRequest("get_revisions",{success:function success(B){T.revisions=new W(B),T.revisions.on("update",T.onRevisionsUpdate.bind(T)),C(T.revisions)}})}},{key:"setEditorData",value:function setEditorData(C){elementor.getPreviewView().collection.reset(C)}},{key:"getRevisionDataAsync",value:function getRevisionDataAsync(C,T){return _.extend(T,{data:{id:C}}),elementorCommon.ajax.addRequest("get_revision_data",T)}},{key:"addRevisions",value:function addRevisions(C){var T=this;this.requestRevisions((function(){C.forEach((function(C){var B=T.revisions.findWhere({id:C.id});B&&T.revisions.remove(B,{silent:!0}),T.revisions.add(C,{silent:!0})})),T.revisions.trigger("update")}))}},{key:"deleteRevision",value:function deleteRevision(C,T){var B={data:{id:C.get("id")},success:function success(){T.success&&T.success(),C.destroy()}};T.error&&(B.error=T.error),elementorCommon.ajax.addRequest("delete_revision",B)}},{key:"onRevisionsUpdate",value:function onRevisionsUpdate(){$e.routes.is("panel/history/revisions")&&$e.routes.refreshContainer("panel")}}]),RevisionsManager}();T.default=U},95297:C=>{"use strict";var T;(T=Backbone.Model.extend()).prototype.sync=function(){return null},C.exports=T},98855:C=>{"use strict";C.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-revisions-no-revisions",id:"elementor-panel-revisions-no-revisions",className:"elementor-nerd-box"})},16779:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(_default,C);var T=_createSuper(_default);function _default(){return(0,V.default)(this,_default),T.apply(this,arguments)}return(0,L.default)(_default,[{key:"getTemplate",value:function getTemplate(){return"#tmpl-elementor-panel-revisions-loading"}},{key:"id",value:function id(){return"elementor-panel-revisions-loading"}},{key:"onRender",value:function onRender(){this.options.document.revisions.requestRevisions((function(){setTimeout((function(){return $e.routes.refreshContainer("panel")}))}))}}]),_default}(Marionette.ItemView);T.default=H},58234:(C,T,B)=>{"use strict";C.exports=Marionette.CompositeView.extend({id:"elementor-panel-revisions",template:"#tmpl-elementor-panel-revisions",childView:B(92561),childViewContainer:"#elementor-revisions-list",ui:{discard:".elementor-button.e-revision-discard",apply:".elementor-button.e-revision-save"},events:{"click @ui.discard":"onDiscardClick","click @ui.apply":"onApplyClick"},isRevisionApplied:!1,currentPreviewId:null,currentPreviewItem:null,document:null,initialize:function initialize(C){this.document=C.document,this.collection=this.document.revisions.getItems(),this.listenTo(elementor.channels.editor,"saved",this.onEditorSaved),this.currentPreviewId=elementor.config.document.revisions.current_id},getRevisionViewData:function getRevisionViewData(C){var T=this;this.document.revisions.getRevisionDataAsync(C.model.get("id"),{success:function success(B){T.document.config.panel.has_elements&&T.document.revisions.setEditorData(B.elements),elementor.settings.page.model.set(B.settings),T.setRevisionsButtonsActive(!0),C.$el.removeClass("elementor-revision-item-loading"),T.enterReviewMode()},error:function error(B){C.$el.removeClass("elementor-revision-item-loading"),T.currentPreviewItem=null,T.currentPreviewId=null,alert(B)}})},setRevisionsButtonsActive:function setRevisionsButtonsActive(C){this.isDestroyed||this.ui.apply.add(this.ui.discard).prop("disabled",!C)},deleteRevision:function deleteRevision(C){var T=this;C.$el.addClass("elementor-revision-item-loading"),this.document.revisions.deleteRevision(C.model,{success:function success(){C.model.get("id")===T.currentPreviewId&&T.onDiscardClick(),T.currentPreviewId=null},error:function error(){C.$el.removeClass("elementor-revision-item-loading"),alert("An error occurred.")}})},enterReviewMode:function enterReviewMode(){elementor.changeEditMode("review")},exitReviewMode:function exitReviewMode(){elementor.changeEditMode("edit")},navigate:function navigate(C){if(this.currentPreviewId&&this.currentPreviewItem&&!(this.children.length<=1)){var T=this.collection.indexOf(this.currentPreviewItem.model),B=C?T-1:T+1;B<0&&(B=this.collection.length-1),B>=this.collection.length&&(B=0),this.children.findByIndex(B).ui.detailsArea.trigger("click")}},onEditorSaved:function onEditorSaved(){this.exitReviewMode(),this.setRevisionsButtonsActive(!1),this.currentPreviewId=elementor.config.document.revisions.current_id},onApplyClick:function onApplyClick(){$e.internal("document/save/set-is-modified",{status:!0}),$e.run("document/save/auto",{force:!0}),this.isRevisionApplied=!0,this.currentPreviewId=null,this.document.history.getItems().reset()},onDiscardClick:function onDiscardClick(){this.document.config.panel.has_elements&&this.document.revisions.setEditorData(elementor.config.document.elements),$e.internal("document/save/set-is-modified",{status:this.isRevisionApplied}),this.isRevisionApplied=!1,this.setRevisionsButtonsActive(!1),this.currentPreviewId=null,this.exitReviewMode()},onDestroy:function onDestroy(){this.currentPreviewId&&this.currentPreviewId!==elementor.config.document.revisions.current_id&&this.onDiscardClick()},onRenderCollection:function onRenderCollection(){if(this.currentPreviewId){var C=this.collection.findWhere({id:this.currentPreviewId});C&&(this.currentPreviewItem=this.children.findByModelCid(C.cid),this.currentPreviewItem.$el.addClass("elementor-revision-current-preview"))}},onChildviewDetailsAreaClick:function onChildviewDetailsAreaClick(C){var T=this,B=C.model.get("id");B!==this.currentPreviewId&&(this.currentPreviewItem&&this.currentPreviewItem.$el.removeClass("elementor-revision-current-preview elementor-revision-item-loading"),C.$el.addClass("elementor-revision-current-preview elementor-revision-item-loading"),(null===this.currentPreviewId||elementor.config.document.revisions.current_id===this.currentPreviewId)&&elementor.saver.isEditorChanged()?$e.internal("document/save/save",{status:"autosave",onSuccess:function onSuccess(){T.getRevisionViewData(C)}}):this.getRevisionViewData(C),this.currentPreviewItem=C,this.currentPreviewId=B)}})},92561:C=>{"use strict";C.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-panel-revisions-revision-item",className:"elementor-revision-item",ui:{detailsArea:".elementor-revision-item__details"},triggers:{"click @ui.detailsArea":"detailsArea:click"}})},35102:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910)),G=function _interopRequireWildcard(C,T){if(!T&&C&&C.__esModule)return C;if(null===C||"object"!==V(C)&&"function"!=typeof C)return{default:C};var B=_getRequireWildcardCache(T);if(B&&B.has(C))return B.get(C);var $={},L=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in C)if("default"!==q&&Object.prototype.hasOwnProperty.call(C,q)){var W=L?Object.getOwnPropertyDescriptor(C,q):null;W&&(W.get||W.set)?Object.defineProperty($,q,W):$[q]=C[q]}$.default=C,B&&B.set(C,$);return $}(B(70737));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var K=function(C){(0,W.default)(LandingPageComponent,C);var T=_createSuper(LandingPageComponent);function LandingPageComponent(){return(0,L.default)(this,LandingPageComponent),T.apply(this,arguments)}return(0,q.default)(LandingPageComponent,[{key:"getNamespace",value:function getNamespace(){return"document/landing-page"}},{key:"defaultHooks",value:function defaultHooks(){return this.importHooks(G)}}]),LandingPageComponent}($e.modules.ComponentBase);T.default=K},70737:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"LandingPageAddLibraryTab",{enumerable:!0,get:function get(){return $.LandingPageAddLibraryTab}}),Object.defineProperty(T,"LandingPageRemoveLibraryTab",{enumerable:!0,get:function get(){return V.LandingPageRemoveLibraryTab}});var $=B(78392),V=B(57254)},57254:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.LandingPageRemoveLibraryTab=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(LandingPageRemoveLibraryTab,C);var T=_createSuper(LandingPageRemoveLibraryTab);function LandingPageRemoveLibraryTab(){return(0,V.default)(this,LandingPageRemoveLibraryTab),T.apply(this,arguments)}return(0,L.default)(LandingPageRemoveLibraryTab,[{key:"getCommand",value:function getCommand(){return"editor/documents/unload"}},{key:"getId",value:function getId(){return"elementor-landing-pages-remove-library-tab"}},{key:"getConditions",value:function getConditions(C){return"landing-page"===C.document.config.type}},{key:"apply",value:function apply(){$e.components.get("library").removeTab("templates/landing-pages"),$e.components.get("library").addTab("templates/pages")}}]),LandingPageRemoveLibraryTab}($e.modules.hookUI.After);T.LandingPageRemoveLibraryTab=H;var G=H;T.default=G},78392:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.LandingPageAddLibraryTab=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(LandingPageAddLibraryTab,C);var T=_createSuper(LandingPageAddLibraryTab);function LandingPageAddLibraryTab(){return(0,L.default)(this,LandingPageAddLibraryTab),T.apply(this,arguments)}return(0,q.default)(LandingPageAddLibraryTab,[{key:"getCommand",value:function getCommand(){return"editor/documents/open"}},{key:"getId",value:function getId(){return"elementor-landing-pages-add-library-tab"}},{key:"getConditions",value:function getConditions(C){return"landing-page"===elementor.documents.get(C.id).config.type}},{key:"apply",value:function apply(){$e.components.get("library").addTab("templates/landing-pages",{title:$("Landing Pages","elementor"),filter:{source:"remote",type:"lp"}},2),$e.components.get("library").removeTab("templates/pages")}}]),LandingPageAddLibraryTab}($e.modules.hookUI.After);T.LandingPageAddLibraryTab=G;var K=G;T.default=K},69994:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(35102));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(LandingPageLibraryModule,C);var T=_createSuper(LandingPageLibraryModule);function LandingPageLibraryModule(){return(0,V.default)(this,LandingPageLibraryModule),T.apply(this,arguments)}return(0,L.default)(LandingPageLibraryModule,[{key:"onElementorLoaded",value:function onElementorLoaded(){this.component=$e.components.register(new H.default({manager:this}))}}]),LandingPageLibraryModule}(elementorModules.editor.utils.Module);T.default=G},11064:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(LinkInBioLibraryModule,C);var T=_createSuper(LinkInBioLibraryModule);function LinkInBioLibraryModule(){return(0,V.default)(this,LinkInBioLibraryModule),T.apply(this,arguments)}return(0,L.default)(LinkInBioLibraryModule,[{key:"onElementorInit",value:function onElementorInit(){elementor.hooks.addFilter("elementor/editor/template-library/template/promotion-link-search-params",(function(C,T){if("Link in Bio"===T.subtype)try{var B=new URLSearchParams(C);return B.has("utm_source")&&B.set("utm_source","template-library-link-in-bio"),B.toString()}catch(T){return C}return C}),1e3)}}]),LinkInBioLibraryModule}(elementorModules.editor.utils.Module);T.default=H},32853:(C,T,B)=>{"use strict";var $=B(38003).sprintf;function isWidgetSupportNesting(C){var T=elementor.widgetsCache[C];return!!T&&T.support_nesting}function isWidgetSupportAtomicRepeaters(C){var T=elementor.widgetsCache[C];return!!T&&T.support_improved_repeaters}Object.defineProperty(T,"__esModule",{value:!0}),T.extractNestedItemTitle=function extractNestedItemTitle(C,T){var B=C.view.model.config.defaults.elements_title;return $(B,T)},T.findChildContainerOrFail=function findChildContainerOrFail(C,T){var B=C.view.children.findByIndex(T);if(!B)throw new Error("Child container was not found for the current repeater item.");return B.getContainer()},T.isWidgetSupportAtomicRepeaters=isWidgetSupportAtomicRepeaters,T.isWidgetSupportNesting=isWidgetSupportNesting,T.shouldUseAtomicRepeaters=function shouldUseAtomicRepeaters(C){return isWidgetSupportNesting(C)&&isWidgetSupportAtomicRepeaters(C)},T.sortViewsByModels=function sortViewsByModels(C){var T=C.model.get("elements").models,B=C.view.children,$={};return T.forEach((function(C,T){var V=B.findByModel(C);V._index=T,$[V.cid]=V})),$},T.widgetNodes=function widgetNodes(C){var T=elementor.widgetsCache[C];if(!T)return!1;return{targetContainer:T.target_container,node:T.node}}},31318:(C,T,B)=>{"use strict";var $=B(38003).__,V=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=V(B(78983)),q=V(B(42081)),W=V(B(58724)),U=V(B(71173)),H=V(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(PromotionBehavior,C);var T=_createSuper(PromotionBehavior);function PromotionBehavior(){return(0,L.default)(this,PromotionBehavior),T.apply(this,arguments)}return(0,q.default)(PromotionBehavior,[{key:"ui",value:function ui(){return{displayConditionsButton:".eicon-flow.e-control-display-conditions-promotion",scrollingEffectsButton:".e-control-scrolling-effects-promotion",mouseEffectsButton:".e-control-mouse-effects-promotion",stickyEffectsButton:".e-control-sticky-effects-promotion"}}},{key:"events",value:function events(){return{"click @ui.displayConditionsButton":"onClickControlButtonDisplayConditions","click @ui.scrollingEffectsButton":"onClickControlButtonScrollingEffects","click @ui.mouseEffectsButton":"onClickControlButtonMouseEffects","click @ui.stickyEffectsButton":"onClickControlButtonStickyEffects"}}},{key:"onClickControlButtonDisplayConditions",value:function onClickControlButtonDisplayConditions(C){C.stopPropagation();var T={title:$("Display Conditions","elementor"),content:$("Upgrade to Elementor Pro Advanced to get the Display Conditions Feature as well as additional professional and ecommerce widgets","elementor"),targetElement:this.el,actionButton:{url:"https://go.elementor.com/go-pro-display-conditions/",text:$("Upgrade Now","elementor")}};elementor.promotion.showDialog(T)}},{key:"onClickControlButtonScrollingEffects",value:function onClickControlButtonScrollingEffects(C){C.stopPropagation();var T={title:$("Scrolling Effects","elementor"),content:$("Get Scrolling Effects such as <br /> vertical/horizontal scroll, transparency,<br /> and more with Elementor Pro.","elementor"),targetElement:this.el,actionButton:{url:"https://go.elementor.com/go-pro-scrolling-effects-advanced/",text:$("Upgrade Now","elementor")}};elementor.promotion.showDialog(T)}},{key:"onClickControlButtonMouseEffects",value:function onClickControlButtonMouseEffects(C){C.stopPropagation();var T={title:$("Mouse Effects","elementor"),content:$("Add a Mouse Track or 3d Tilt effect with<br />Elementor Pro.","elementor"),targetElement:this.el,actionButton:{url:"https://go.elementor.com/go-pro-motion-effects-advanced/",text:$("Upgrade Now","elementor")}};elementor.promotion.showDialog(T)}},{key:"onClickControlButtonStickyEffects",value:function onClickControlButtonStickyEffects(C){C.stopPropagation();var T={title:$("Sticky","elementor"),content:$("Make any element on your page sticky and<br />keep them in sight at the top or bottom of<br />the screen.","elementor"),targetElement:this.el,actionButton:{url:"https://go.elementor.com/go-pro-sticky-element-advanced/",text:$("Upgrade Now","elementor")}};elementor.promotion.showDialog(T)}}]),PromotionBehavior}(Marionette.Behavior);T.default=G},53710:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(31318));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var G=function(C){(0,q.default)(Module,C);var T=_createSuper(Module);function Module(){return(0,V.default)(this,Module),T.apply(this,arguments)}return(0,L.default)(Module,[{key:"onElementorInit",value:function onElementorInit(){var C;null!==(C=elementor.config)&&void 0!==C&&C.promotionWidgets&&elementor.config.promotionWidgets.length&&(elementor.hooks.addFilter("element/view",(function(C,T){var $=T.get("widgetType");return elementor.config.promotionWidgets.find((function(C){return $===C.name}))?B(51352).Z:C})),elementor.hooks.addFilter("controls/base/behaviors",this.registerControlBehavior))}},{key:"registerControlBehavior",value:function registerControlBehavior(C,T){return["display_conditions_pro","scrolling_effects_pro","mouse_effects_pro","sticky_pro"].includes(T.options.model.get("name"))?(C||(C={}),C.promotions={behaviorClass:H.default},C):C}}]),Module}(elementorModules.editor.utils.Module);T.default=G},51352:(C,T,B)=>{"use strict";var $=B(73203);T.Z=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(51121)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(View,C);var T=_createSuper(View);function View(){return(0,V.default)(this,View),T.apply(this,arguments)}return(0,L.default)(View,[{key:"events",value:function events(){return{"click .e-promotion-delete":"onRemoveButtonClick","click .e-promotion-go-pro":"onGoProButtonClick"}}},{key:"className",value:function className(){return(0,q.default)((0,H.default)(View.prototype),"className",this).call(this).replace(/elementor-element-edit-mode/g,"")+" e-widget-pro-promotion"}},{key:"getHandlesOverlay",value:function getHandlesOverlay(){return""}},{key:"getContextMenuGroups",value:function getContextMenuGroups(){return(0,q.default)((0,H.default)(View.prototype),"getContextMenuGroups",this).call(this).filter((function(C){return"clipboard"!==C.name&&"save"!==C.name&&"general"!==C.name}))}},{key:"onGoProButtonClick",value:function onGoProButtonClick(C){C.preventDefault(),C.stopPropagation(),window.open(C.currentTarget.href,"_blank")}}]),View}(elementor.modules.elements.views.Widget);T.Z=G},63432:(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(40647)),W=function(){function UiStateBase(C){(0,V.default)(this,UiStateBase),this.component=C,this.id=this.getId(),this.options=this.getOptions(),this.currentState=null}return(0,L.default)(UiStateBase,[{key:"set",value:function set(C){if(C&&!Object.prototype.hasOwnProperty.call(this.options,C))throw"Option '".concat(C,"' for state '").concat(this.id,"' is invalid.");var T=this.options[C],B=this.currentState;this.currentState=C,this.onChange(B,C),"function"==typeof T&&T(B,C)}},{key:"getCurrent",value:function getCurrent(){return this.currentState}},{key:"getId",value:function getId(){(0,q.default)()}},{key:"getPrefix",value:function getPrefix(){var C;return(null===(C=this.component)||void 0===C?void 0:C.getNamespace())||""}},{key:"getPrefixedId",value:function getPrefixedId(){var C=this.getPrefix();return C?"".concat(C,"/").concat(this.getId()):this.getId()}},{key:"getOptions",value:function getOptions(){return{on:"",off:""}}},{key:"onChange",value:function onChange(C,T){}},{key:"getScopes",value:function getScopes(){return[window.document.body]}}]),UiStateBase}();T.default=W},83024:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(74774)),G=$(B(70170));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var K=function(C){(0,q.default)(CommandBase,C);var T=_createSuper(CommandBase);function CommandBase(){return(0,V.default)(this,CommandBase),T.apply(this,arguments)}return(0,L.default)(CommandBase,[{key:"onBeforeRun",value:function onBeforeRun(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runUIBefore(this.command,C)}},{key:"onAfterRun",value:function onAfterRun(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0;$e.hooks.runUIAfter(this.command,C,T)}},{key:"onBeforeApply",value:function onBeforeApply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$e.hooks.runDataDependency(this.command,C)}},{key:"onAfterApply",value:function onAfterApply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},T=arguments.length>1?arguments[1]:void 0;$e.hooks.runDataAfter(this.command,C,T)}},{key:"onCatchApply",value:function onCatchApply(C){this.runCatchHooks(C)}},{key:"runCatchHooks",value:function runCatchHooks(C){$e.hooks.runDataCatch(this.command,this.args,C),$e.hooks.runUICatch(this.command,this.args,C)}},{key:"requireContainer",value:function requireContainer(){var C=this,T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.args;if(G.default.deprecated("requireContainer()","3.7.0","Extend `$e.modules.editor.CommandContainerBase` or `$e.modules.editor.CommandContainerInternalBase`"),!T.container&&!T.containers)throw Error("container or containers are required.");if(T.container&&T.containers)throw Error("container and containers cannot go together please select one of them.");(T.containers||[T.container]).forEach((function(T){C.requireArgumentInstance("container",elementorModules.editor.Container,{container:T})}))}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandBase"}}]),CommandBase}(H.default);T.default=K},46867:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(CommandCallbackBase,C);var T=_createSuper(CommandCallbackBase);function CommandCallbackBase(){return(0,V.default)(this,CommandCallbackBase),T.apply(this,arguments)}return(0,L.default)(CommandCallbackBase,[{key:"apply",value:function apply(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.constructor.getCallback()(C)}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandCallbackBase"}},{key:"getCallback",value:function getCallback(){return this.registerConfig.callback}}]),CommandCallbackBase}($(B(83024)).default);T.default=H},74774:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910)),H=$(B(93231)),G=$(B(42618)),K=$(B(70170));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var Q=function(C){(0,q.default)(CommandInfra,C);var T=_createSuper(CommandInfra);function CommandInfra(){var C,B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,V.default)(this,CommandInfra),!(C=T.call(this,B)).constructor.registerConfig)throw RangeError("Doing it wrong: Each command type should have `registerConfig`.");return C.command=C.constructor.getCommand(),C.component=C.constructor.getComponent(),C.initialize(B),B=C.args,C.validateArgs(B),C}return(0,L.default)(CommandInfra,[{key:"currentCommand",get:function get(){return K.default.deprecated("this.currentCommand","3.7.0","this.command"),this.command}},{key:"initialize",value:function initialize(){}},{key:"validateArgs",value:function validateArgs(){}},{key:"apply",value:function apply(){elementorModules.ForceMethodImplementation()}},{key:"run",value:function run(){return this.apply(this.args)}},{key:"onBeforeRun",value:function onBeforeRun(){}},{key:"onAfterRun",value:function onAfterRun(){}},{key:"onBeforeApply",value:function onBeforeApply(){}},{key:"onAfterApply",value:function onAfterApply(){}},{key:"onCatchApply",value:function onCatchApply(C){}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandInfra"}},{key:"getInfo",value:function getInfo(){return{}}},{key:"getCommand",value:function getCommand(){return this.registerConfig.command}},{key:"getComponent",value:function getComponent(){return this.registerConfig.component}},{key:"setRegisterConfig",value:function setRegisterConfig(C){this.registerConfig=Object.freeze(C)}}]),CommandInfra}(G.default);T.default=Q,(0,H.default)(Q,"registerConfig",null)},25683:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Close=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Close,C);var T=_createSuper(Close);function Close(){return(0,V.default)(this,Close),T.apply(this,arguments)}return(0,L.default)(Close,[{key:"apply",value:function apply(){this.component.close()}}]),Close}($(B(83024)).default);T.Close=H;var G=H;T.default=G},53832:(C,T,B)=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0}),Object.defineProperty(T,"Close",{enumerable:!0,get:function get(){return $.Close}}),Object.defineProperty(T,"Open",{enumerable:!0,get:function get(){return V.Open}}),Object.defineProperty(T,"Toggle",{enumerable:!0,get:function get(){return L.Toggle}});var $=B(25683),V=B(57273),L=B(7493)},57273:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Open=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Open,C);var T=_createSuper(Open);function Open(){return(0,V.default)(this,Open),T.apply(this,arguments)}return(0,L.default)(Open,[{key:"apply",value:function apply(){$e.route(this.component.getNamespace())}}]),Open}($(B(83024)).default);T.Open=H;var G=H;T.default=G},7493:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Toggle=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Toggle,C);var T=_createSuper(Toggle);function Toggle(){return(0,V.default)(this,Toggle),T.apply(this,arguments)}return(0,L.default)(Toggle,[{key:"apply",value:function apply(){this.component.isOpen?this.component.close():$e.route(this.component.getNamespace())}}]),Toggle}($(B(83024)).default);T.Toggle=H;var G=H;T.default=G},19263:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(93231)),L=$(B(40131)),q=$(B(78983)),W=$(B(42081)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(46867)),Q=B(71177),J=$(B(1192)),Y=$(B(40647)),X=$(B(70170));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<arguments.length;T++){var B=null!=arguments[T]?arguments[T]:{};T%2?ownKeys(Object(B),!0).forEach((function(T){(0,V.default)(C,T,B[T])})):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(B)):ownKeys(Object(B)).forEach((function(T){Object.defineProperty(C,T,Object.getOwnPropertyDescriptor(B,T))}))}return C}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var Z=function(C){(0,U.default)(ComponentBase,C);var T=_createSuper(ComponentBase);function ComponentBase(){return(0,q.default)(this,ComponentBase),T.apply(this,arguments)}return(0,W.default)(ComponentBase,[{key:"__construct",value:function __construct(){var C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};C.manager&&(this.manager=C.manager),this.commands=this.defaultCommands(),this.commandsInternal=this.defaultCommandsInternal(),this.hooks=this.defaultHooks(),this.routes=this.defaultRoutes(),this.tabs=this.defaultTabs(),this.shortcuts=this.defaultShortcuts(),this.utils=this.defaultUtils(),this.data=this.defaultData(),this.uiStates=this.defaultUiStates(),this.states=this.defaultStates(),this.defaultRoute="",this.currentTab=""}},{key:"registerAPI",value:function registerAPI(){var C=this;Object.entries(this.getTabs()).forEach((function(T){return C.registerTabRoute(T[0])})),Object.entries(this.getRoutes()).forEach((function(T){var B=(0,L.default)(T,2),$=B[0],V=B[1];return C.registerRoute($,V)})),Object.entries(this.getCommands()).forEach((function(T){var B=(0,L.default)(T,2),$=B[0],V=B[1];return C.registerCommand($,V)})),Object.entries(this.getCommandsInternal()).forEach((function(T){var B=(0,L.default)(T,2),$=B[0],V=B[1];return C.registerCommandInternal($,V)})),Object.values(this.getHooks()).forEach((function(T){return C.registerHook(T)})),Object.entries(this.getData()).forEach((function(T){var B=(0,L.default)(T,2),$=B[0],V=B[1];return C.registerData($,V)})),Object.values(this.getUiStates()).forEach((function(T){return C.registerUiState(T)})),Object.entries(this.getStates()).forEach((function(T){var B=(0,L.default)(T,2),$=B[0],V=B[1];return C.registerState($,V)}))}},{key:"getNamespace",value:function getNamespace(){(0,Y.default)()}},{key:"getRootContainer",value:function getRootContainer(){return X.default.deprecated("getRootContainer()","3.7.0","getServiceName()"),this.getServiceName()}},{key:"getServiceName",value:function getServiceName(){return this.getNamespace().split("/")[0]}},{key:"store",get:function get(){return $e.store.get(this.getNamespace())}},{key:"defaultTabs",value:function defaultTabs(){return{}}},{key:"defaultRoutes",value:function defaultRoutes(){return{}}},{key:"defaultCommands",value:function defaultCommands(){return{}}},{key:"defaultCommandsInternal",value:function defaultCommandsInternal(){return{}}},{key:"defaultHooks",value:function defaultHooks(){return{}}},{key:"defaultUiStates",value:function defaultUiStates(){return{}}},{key:"defaultStates",value:function defaultStates(){return{}}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{}}},{key:"defaultUtils",value:function defaultUtils(){return{}}},{key:"defaultData",value:function defaultData(){return{}}},{key:"getCommands",value:function getCommands(){return this.commands}},{key:"getCommandsInternal",value:function getCommandsInternal(){return this.commandsInternal}},{key:"getHooks",value:function getHooks(){return this.hooks}},{key:"getUiStates",value:function getUiStates(){return this.uiStates}},{key:"getStates",value:function getStates(){return this.states}},{key:"getRoutes",value:function getRoutes(){return this.routes}},{key:"getTabs",value:function getTabs(){return this.tabs}},{key:"getShortcuts",value:function getShortcuts(){return this.shortcuts}},{key:"getData",value:function getData(){return this.data}},{key:"registerCommand",value:function registerCommand(C,T){var B;switch(arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default"){case"default":B=$e.commands;break;case"internal":B=$e.commandsInternal;break;case"data":B=$e.data;break;default:throw new Error("Invalid commands type: '".concat(C,"'"))}var $=this.getNamespace()+"/"+C,V={command:$,component:this};!!T.getInstanceType&&T.getInstanceType()||($e.devTools&&$e.devTools.log.warn("Attach command-callback-base, on command: '".concat($,"', context is unknown type.")),V.callback=T,T=function(C){(0,U.default)(context,C);var T=_createSuper(context);function context(){return(0,q.default)(this,context),T.apply(this,arguments)}return(0,W.default)(context)}(K.default)),T.setRegisterConfig(V),B.register(this,C,T)}},{key:"registerHook",value:function registerHook(C){return C.register()}},{key:"registerCommandInternal",value:function registerCommandInternal(C,T){this.registerCommand(C,T,"internal")}},{key:"registerUiState",value:function registerUiState(C){$e.uiStates.register(C)}},{key:"registerState",value:function registerState(C,T){C=this.getNamespace()+(C?"/".concat(C):"");var B=(0,Q.createSlice)(_objectSpread(_objectSpread({},T),{},{name:C}));$e.store.register(C,B)}},{key:"registerRoute",value:function registerRoute(C,T){$e.routes.register(this,C,T)}},{key:"registerData",value:function registerData(C,T){this.registerCommand(C,T,"data")}},{key:"unregisterRoute",value:function unregisterRoute(C){$e.routes.unregister(this,C)}},{key:"registerTabRoute",value:function registerTabRoute(C){var T=this;this.registerRoute(C,(function(B){return T.activateTab(C,B)}))}},{key:"dependency",value:function dependency(){return!0}},{key:"open",value:function open(){return!0}},{key:"close",value:function close(){return!!this.isOpen&&(this.isOpen=!1,this.inactivate(),$e.routes.clearCurrent(this.getNamespace()),$e.routes.clearHistory(this.getServiceName()),!0)}},{key:"activate",value:function activate(){$e.components.activate(this.getNamespace())}},{key:"inactivate",value:function inactivate(){$e.components.inactivate(this.getNamespace())}},{key:"isActive",value:function isActive(){return $e.components.isActive(this.getNamespace())}},{key:"onRoute",value:function onRoute(C){this.toggleRouteClass(C,!0),this.toggleHistoryClass(),this.activate(),this.trigger("route/open",C)}},{key:"onCloseRoute",value:function onCloseRoute(C){this.toggleRouteClass(C,!1),this.inactivate(),this.trigger("route/close",C)}},{key:"setDefaultRoute",value:function setDefaultRoute(C){this.defaultRoute=this.getNamespace()+"/"+C}},{key:"getDefaultRoute",value:function getDefaultRoute(){return this.defaultRoute}},{key:"removeTab",value:function removeTab(C){delete this.tabs[C],this.unregisterRoute(C)}},{key:"hasTab",value:function hasTab(C){return!!this.tabs[C]}},{key:"addTab",value:function addTab(C,T,B){var $=this;if(this.tabs[C]=T,void 0!==B){var V={},L=Object.keys(this.tabs);L.pop(),L.splice(B,0,C),L.forEach((function(C){V[C]=$.tabs[C]})),this.tabs=V}this.registerTabRoute(C)}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return""}},{key:"getTabRoute",value:function getTabRoute(C){return this.getNamespace()+"/"+C}},{key:"renderTab",value:function renderTab(C){}},{key:"activateTab",value:function activateTab(C,T){var B=this;this.renderTab(C,T),jQuery(this.getTabsWrapperSelector()+" .elementor-component-tab").off("click").on("click",(function(C){$e.route(B.getTabRoute(C.currentTarget.dataset.tab),T)})).removeClass("elementor-active").filter('[data-tab="'+C+'"]').addClass("elementor-active")}},{key:"getActiveTabConfig",value:function getActiveTabConfig(){return this.tabs[this.currentTab]||{}}},{key:"getBodyClass",value:function getBodyClass(C){return"e-route-"+C.replace(/\//g,"-")}},{key:"normalizeCommandName",value:function normalizeCommandName(C){return C.replace(/[A-Z]/g,(function(C,T){return(T>0?"-":"")+C.toLowerCase()}))}},{key:"importCommands",value:function importCommands(C){var T=this,B={};return Object.entries(C).forEach((function(C){var $=(0,L.default)(C,2),V=$[0],q=$[1],W=T.normalizeCommandName(V);B[W]=q})),B}},{key:"importHooks",value:function importHooks(C){var T={};for(var B in C){var $=new C[B];T[$.getId()]=$}return T}},{key:"importUiStates",value:function importUiStates(C){var T=this,B={};return Object.values(C).forEach((function(C){var $=new C(T);B[$.getId()]=$})),B}},{key:"setUiState",value:function setUiState(C,T){$e.uiStates.set("".concat(this.getNamespace(),"/").concat(C),T)}},{key:"toggleRouteClass",value:function toggleRouteClass(C,T){document.body.classList.toggle(this.getBodyClass(C),T)}},{key:"toggleHistoryClass",value:function toggleHistoryClass(){document.body.classList.toggle("e-routes-has-history",!!$e.routes.getHistory(this.getServiceName()).length)}}]),ComponentBase}(J.default);T.default=Z},19076:(C,T,B)=>{"use strict";var $=B(73203),V=B(7501);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var L=$(B(78983)),q=$(B(42081)),W=$(B(51121)),U=$(B(58724)),H=$(B(71173)),G=$(B(74910)),K=$(B(19263)),Q=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(53832)),J=$(B(40647));function _getRequireWildcardCache(C){if("function"!=typeof WeakMap)return null;var T=new WeakMap,B=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(C){return C?B:T})(C)}function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,G.default)(C);if(T){var V=(0,G.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,H.default)(this,B)}}var Y=function(C){(0,U.default)(ComponentModalBase,C);var T=_createSuper(ComponentModalBase);function ComponentModalBase(){return(0,L.default)(this,ComponentModalBase),T.apply(this,arguments)}return(0,q.default)(ComponentModalBase,[{key:"registerAPI",value:function registerAPI(){var C=this;(0,W.default)((0,G.default)(ComponentModalBase.prototype),"registerAPI",this).call(this),$e.shortcuts.register("esc",{scopes:[this.getNamespace()],callback:function callback(){return C.close()}})}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(Q)}},{key:"defaultRoutes",value:function defaultRoutes(){return{"":function _(){}}}},{key:"open",value:function open(){var C=this;if(!this.layout){var T=this.getModalLayout();this.layout=new T({component:this}),this.layout.getModal().on("hide",(function(){return C.close()}))}return this.layout.showModal(),!0}},{key:"close",value:function close(){return!!(0,W.default)((0,G.default)(ComponentModalBase.prototype),"close",this).call(this)&&(this.layout.getModal().hide(),!0)}},{key:"getModalLayout",value:function getModalLayout(){(0,J.default)()}}]),ComponentModalBase}(K.default);T.default=Y},68691:(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(40647)),U=function(){function HookBase(){(0,V.default)(this,HookBase),(0,q.default)(this,"type",void 0),(0,q.default)(this,"command",void 0),(0,q.default)(this,"id",void 0),this.initialize(),this.type=this.getType(),this.command=this.getCommand(),this.id=this.getId()}return(0,L.default)(HookBase,[{key:"initialize",value:function initialize(){}},{key:"register",value:function register(){(0,W.default)()}},{key:"getType",value:function getType(){(0,W.default)()}},{key:"getCommand",value:function getCommand(){(0,W.default)()}},{key:"getId",value:function getId(){(0,W.default)()}},{key:"getContainerType",value:function getContainerType(){}},{key:"getConditions",value:function getConditions(){return!0}},{key:"apply",value:function apply(C){(0,W.default)()}},{key:"run",value:function run(){var C=(arguments.length<=0?void 0:arguments[0]).options,T=void 0===C?{}:C;return!(!T.callbacks||!1!==T.callbacks[this.id])||(!this.getConditions.apply(this,arguments)||($e.devTools&&$e.devTools.log.callbacks().active(this.type,this.command,this.id),this.apply.apply(this,arguments)))}}]),HookBase}();T.default=U},48310:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.After=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(After,C);var T=_createSuper(After);function After(){return(0,V.default)(this,After),T.apply(this,arguments)}return(0,L.default)(After,[{key:"register",value:function register(){$e.hooks.registerDataAfter(this)}}]),After}($(B(94957)).default);T.After=H;var G=H;T.default=G},94957:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Base=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Base,C);var T=_createSuper(Base);function Base(){return(0,V.default)(this,Base),T.apply(this,arguments)}return(0,L.default)(Base,[{key:"getType",value:function getType(){return"data"}}]),Base}($(B(68691)).default);T.Base=H;var G=H;T.default=G},34507:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Dependency=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Dependency,C);var T=_createSuper(Dependency);function Dependency(){return(0,V.default)(this,Dependency),T.apply(this,arguments)}return(0,L.default)(Dependency,[{key:"register",value:function register(){$e.hooks.registerDataDependency(this)}}]),Dependency}($(B(94957)).default);T.Dependency=H;var G=H;T.default=G},30112:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.After=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(After,C);var T=_createSuper(After);function After(){return(0,V.default)(this,After),T.apply(this,arguments)}return(0,L.default)(After,[{key:"register",value:function register(){$e.hooks.registerUIAfter(this)}}]),After}($(B(12794)).default);T.After=H;var G=H;T.default=G},12794:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Base=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Base,C);var T=_createSuper(Base);function Base(){return(0,V.default)(this,Base),T.apply(this,arguments)}return(0,L.default)(Base,[{key:"getType",value:function getType(){return"ui"}}]),Base}($(B(68691)).default);T.Base=H;var G=H;T.default=G},26266:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Before=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Before,C);var T=_createSuper(Before);function Before(){return(0,V.default)(this,Before),T.apply(this,arguments)}return(0,L.default)(Before,[{key:"register",value:function register(){$e.hooks.registerUIBefore(this)}}]),Before}($(B(12794)).default);T.Before=H;var G=H;T.default=G},52294:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.Catch=void 0;var V=$(B(78983)),L=$(B(42081)),q=$(B(58724)),W=$(B(71173)),U=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,U.default)(C);if(T){var V=(0,U.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,W.default)(this,B)}}var H=function(C){(0,q.default)(Catch,C);var T=_createSuper(Catch);function Catch(){return(0,V.default)(this,Catch),T.apply(this,arguments)}return(0,L.default)(Catch,[{key:"register",value:function register(){$e.hooks.registerUICatch(this)}}]),Catch}($(B(12794)).default);T.Catch=H;var G=H;T.default=G},17341:(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 Console(){(0,V.default)(this,Console)}return(0,L.default)(Console,null,[{key:"error",value:function error(C){$e.devTools&&$e.devTools.log.error(C),C instanceof $e.modules.HookBreak||console.error(C)}},{key:"warn",value:function warn(){for(var C,T='font-size: 12px; background-image: url("'.concat(elementorWebCliConfig.urls.assets,'images/logo-icon.png"); background-repeat: no-repeat; background-size: contain;'),B=arguments.length,$=new Array(B),V=0;V<B;V++)$[V]=arguments[V];$.unshift("%c %c",T,""),(C=console).warn.apply(C,$)}}]),Console}();T.default=q},70170:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=void 0;var V=$(B(40131)),L=$(B(78983)),q=$(B(42081)),W=$(B(17341)),U=function deprecatedMessage(C,T,B,$){var V="`".concat(T,"` is ").concat(C," deprecated since ").concat(B);$&&(V+=" - Use `".concat($,"` instead")),W.default.warn(V)},H=function(){function Deprecation(){(0,L.default)(this,Deprecation)}return(0,q.default)(Deprecation,null,[{key:"deprecated",value:function deprecated(C,T,B){this.isHardDeprecated(T)?function hardDeprecated(C,T,B){U("hard",C,T,B)}(C,T,B):function softDeprecated(C,T,B){elementorWebCliConfig.isDebug&&U("soft",C,T,B)}(C,T,B)}},{key:"parseVersion",value:function parseVersion(C){var T=C.split(".");if(T.length<3||T.length>4)throw new RangeError("Invalid Semantic Version string provided");var B=(0,V.default)(T,4),$=B[0],L=B[1],q=B[2],W=B[3],U=void 0===W?"":W;return{major1:parseInt($),major2:parseInt(L),minor:parseInt(q),build:U}}},{key:"getTotalMajor",value:function getTotalMajor(C){var T=parseInt("".concat(C.major1).concat(C.major2,"0"));return T=Number((T/10).toFixed(0)),C.major2>9&&(T=C.major2-9),T}},{key:"compareVersion",value:function compareVersion(C,T){var B=this;return[this.parseVersion(C),this.parseVersion(T)].map((function(C){return B.getTotalMajor(C)})).reduce((function(C,T){return C-T}))}},{key:"isSoftDeprecated",value:function isSoftDeprecated(C){return this.compareVersion(C,elementorWebCliConfig.version)<=4}},{key:"isHardDeprecated",value:function isHardDeprecated(C){var T=this.compareVersion(C,elementorWebCliConfig.version);return T<0||T>=8}}]),Deprecation}();T.default=H},40647:(C,T,B)=>{"use strict";var $=B(73203);Object.defineProperty(T,"__esModule",{value:!0}),T.default=T.ForceMethodImplementation=void 0;var V=$(B(42081)),L=$(B(78983)),q=$(B(77266)),W=$(B(58724)),U=$(B(71173)),H=$(B(74910));function _createSuper(C){var T=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(C){return!1}}();return function _createSuperInternal(){var B,$=(0,H.default)(C);if(T){var V=(0,H.default)(this).constructor;B=Reflect.construct($,arguments,V)}else B=$.apply(this,arguments);return(0,U.default)(this,B)}}var G=function(C){(0,W.default)(ForceMethodImplementation,C);var T=_createSuper(ForceMethodImplementation);function ForceMethodImplementation(){var C,B=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,L.default)(this,ForceMethodImplementation),C=T.call(this,"".concat(B.isStatic?"static ":"").concat(B.fullName,"() should be implemented, please provide '").concat(B.functionName||B.fullName,"' functionality.")),Error.captureStackTrace((0,q.default)(C),ForceMethodImplementation),C}return(0,V.default)(ForceMethodImplementation)}((0,$(B(19952)).default)(Error));T.ForceMethodImplementation=G;T.default=function _default(){var C=Error().stack.split("\n")[2].trim(),T=C.startsWith("at new")?"constructor":C.split(" ")[1],B={};if(B.functionName=T,B.fullName=T,B.functionName.includes(".")){var $=B.functionName.split(".");B.className=$[0],B.functionName=$[1]}else B.isStatic=!0;throw new G(B)}},31699:function(C){C.exports=function(){"use strict";const{entries:C,setPrototypeOf:T,isFrozen:B,getPrototypeOf:$,getOwnPropertyDescriptor:V}=Object;let{freeze:L,seal:q,create:W}=Object,{apply:U,construct:H}="undefined"!=typeof Reflect&&Reflect;L||(L=function freeze(C){return C}),q||(q=function seal(C){return C}),U||(U=function apply(C,T,B){return C.apply(T,B)}),H||(H=function construct(C,T){return new C(...T)});const G=unapply(Array.prototype.forEach),K=unapply(Array.prototype.pop),Q=unapply(Array.prototype.push),J=unapply(String.prototype.toLowerCase),Y=unapply(String.prototype.toString),X=unapply(String.prototype.match),Z=unapply(String.prototype.replace),ee=unapply(String.prototype.indexOf),te=unapply(String.prototype.trim),ne=unapply(Object.prototype.hasOwnProperty),re=unapply(RegExp.prototype.test),oe=unconstruct(TypeError),ie=unapply(Number.isNaN);function unapply(C){return function(T){for(var B=arguments.length,$=new Array(B>1?B-1:0),V=1;V<B;V++)$[V-1]=arguments[V];return U(C,T,$)}}function unconstruct(C){return function(){for(var T=arguments.length,B=new Array(T),$=0;$<T;$++)B[$]=arguments[$];return H(C,B)}}function addToSet(C,$){let V=arguments.length>2&&void 0!==arguments[2]?arguments[2]:J;T&&T(C,null);let L=$.length;for(;L--;){let T=$[L];if("string"==typeof T){const C=V(T);C!==T&&(B($)||($[L]=C),T=C)}C[T]=!0}return C}function cleanArray(C){for(let T=0;T<C.length;T++)ne(C,T)||(C[T]=null);return C}function clone(T){const B=W(null);for(const[$,V]of C(T))ne(T,$)&&(Array.isArray(V)?B[$]=cleanArray(V):V&&"object"==typeof V&&V.constructor===Object?B[$]=clone(V):B[$]=V);return B}function lookupGetter(C,T){for(;null!==C;){const B=V(C,T);if(B){if(B.get)return unapply(B.get);if("function"==typeof B.value)return unapply(B.value)}C=$(C)}function fallbackValue(){return null}return fallbackValue}const ae=L(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),le=L(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ue=L(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),se=L(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),ce=L(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),de=L(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),fe=L(["#text"]),pe=L(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),me=L(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ve=L(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),he=L(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ge=q(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ye=q(/<%[\w\W]*|[\w\W]*%>/gm),_e=q(/\${[\w\W]*}/gm),be=q(/^data-[\-\w.\u00B7-\uFFFF]/),Ce=q(/^aria-[\-\w]+$/),we=q(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ke=q(/^(?:\w+script|data):/i),Se=q(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Re=q(/^html$/i),Pe=q(/^[a-z][.\w]*(-[.\w]+)+$/i);var xe=Object.freeze({__proto__:null,MUSTACHE_EXPR:ge,ERB_EXPR:ye,TMPLIT_EXPR:_e,DATA_ATTR:be,ARIA_ATTR:Ce,IS_ALLOWED_URI:we,IS_SCRIPT_OR_DATA:ke,ATTR_WHITESPACE:Se,DOCTYPE_NAME:Re,CUSTOM_ELEMENT:Pe});const Oe={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Te=function getGlobal(){return"undefined"==typeof window?null:window},Ie=function _createTrustedTypesPolicy(C,T){if("object"!=typeof C||"function"!=typeof C.createPolicy)return null;let B=null;const $="data-tt-policy-suffix";T&&T.hasAttribute($)&&(B=T.getAttribute($));const V="dompurify"+(B?"#"+B:"");try{return C.createPolicy(V,{createHTML:C=>C,createScriptURL:C=>C})}catch(C){return console.warn("TrustedTypes policy "+V+" could not be created."),null}};function createDOMPurify(){let T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Te();const DOMPurify=C=>createDOMPurify(C);if(DOMPurify.version="3.1.3",DOMPurify.removed=[],!T||!T.document||T.document.nodeType!==Oe.document)return DOMPurify.isSupported=!1,DOMPurify;let{document:B}=T;const $=B,V=$.currentScript,{DocumentFragment:q,HTMLTemplateElement:U,Node:H,Element:ge,NodeFilter:ye,NamedNodeMap:_e=T.NamedNodeMap||T.MozNamedAttrMap,HTMLFormElement:be,DOMParser:Ce,trustedTypes:ke}=T,Se=ge.prototype,Pe=lookupGetter(Se,"cloneNode"),Me=lookupGetter(Se,"nextSibling"),Ee=lookupGetter(Se,"childNodes"),je=lookupGetter(Se,"parentNode");if("function"==typeof U){const C=B.createElement("template");C.content&&C.content.ownerDocument&&(B=C.content.ownerDocument)}let De,Be="";const{implementation:Ae,createNodeIterator:Ne,createDocumentFragment:$e,getElementsByTagName:Ve}=B,{importNode:Le}=$;let Fe={};DOMPurify.isSupported="function"==typeof C&&"function"==typeof je&&Ae&&void 0!==Ae.createHTMLDocument;const{MUSTACHE_EXPR:qe,ERB_EXPR:ze,TMPLIT_EXPR:We,DATA_ATTR:Ue,ARIA_ATTR:He,IS_SCRIPT_OR_DATA:Ge,ATTR_WHITESPACE:Ke,CUSTOM_ELEMENT:Qe}=xe;let{IS_ALLOWED_URI:Je}=xe,Ye=null;const Xe=addToSet({},[...ae,...le,...ue,...ce,...fe]);let Ze=null;const et=addToSet({},[...pe,...me,...ve,...he]);let tt=Object.seal(W(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),nt=null,rt=null,ot=!0,it=!0,at=!1,lt=!0,ut=!1,st=!0,ct=!1,dt=!1,ft=!1,pt=!1,mt=!1,vt=!1,ht=!0,gt=!1;const yt="user-content-";let _t=!0,bt=!1,Ct={},wt=null;const kt=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let St=null;const Rt=addToSet({},["audio","video","img","source","image","track"]);let Pt=null;const xt=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ot="http://www.w3.org/1998/Math/MathML",Tt="http://www.w3.org/2000/svg",It="http://www.w3.org/1999/xhtml";let Mt=It,Et=!1,jt=null;const Dt=addToSet({},[Ot,Tt,It],Y);let Bt=null;const At=["application/xhtml+xml","text/html"],Nt="text/html";let $t=null,Vt=null;const Lt=255,Ft=B.createElement("form"),qt=function isRegexOrFunction(C){return C instanceof RegExp||C instanceof Function},zt=function _parseConfig(){let C=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Vt||Vt!==C){if(C&&"object"==typeof C||(C={}),C=clone(C),Bt=-1===At.indexOf(C.PARSER_MEDIA_TYPE)?Nt:C.PARSER_MEDIA_TYPE,$t="application/xhtml+xml"===Bt?Y:J,Ye=ne(C,"ALLOWED_TAGS")?addToSet({},C.ALLOWED_TAGS,$t):Xe,Ze=ne(C,"ALLOWED_ATTR")?addToSet({},C.ALLOWED_ATTR,$t):et,jt=ne(C,"ALLOWED_NAMESPACES")?addToSet({},C.ALLOWED_NAMESPACES,Y):Dt,Pt=ne(C,"ADD_URI_SAFE_ATTR")?addToSet(clone(xt),C.ADD_URI_SAFE_ATTR,$t):xt,St=ne(C,"ADD_DATA_URI_TAGS")?addToSet(clone(Rt),C.ADD_DATA_URI_TAGS,$t):Rt,wt=ne(C,"FORBID_CONTENTS")?addToSet({},C.FORBID_CONTENTS,$t):kt,nt=ne(C,"FORBID_TAGS")?addToSet({},C.FORBID_TAGS,$t):{},rt=ne(C,"FORBID_ATTR")?addToSet({},C.FORBID_ATTR,$t):{},Ct=!!ne(C,"USE_PROFILES")&&C.USE_PROFILES,ot=!1!==C.ALLOW_ARIA_ATTR,it=!1!==C.ALLOW_DATA_ATTR,at=C.ALLOW_UNKNOWN_PROTOCOLS||!1,lt=!1!==C.ALLOW_SELF_CLOSE_IN_ATTR,ut=C.SAFE_FOR_TEMPLATES||!1,st=!1!==C.SAFE_FOR_XML,ct=C.WHOLE_DOCUMENT||!1,pt=C.RETURN_DOM||!1,mt=C.RETURN_DOM_FRAGMENT||!1,vt=C.RETURN_TRUSTED_TYPE||!1,ft=C.FORCE_BODY||!1,ht=!1!==C.SANITIZE_DOM,gt=C.SANITIZE_NAMED_PROPS||!1,_t=!1!==C.KEEP_CONTENT,bt=C.IN_PLACE||!1,Je=C.ALLOWED_URI_REGEXP||we,Mt=C.NAMESPACE||It,tt=C.CUSTOM_ELEMENT_HANDLING||{},C.CUSTOM_ELEMENT_HANDLING&&qt(C.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(tt.tagNameCheck=C.CUSTOM_ELEMENT_HANDLING.tagNameCheck),C.CUSTOM_ELEMENT_HANDLING&&qt(C.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(tt.attributeNameCheck=C.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),C.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof C.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(tt.allowCustomizedBuiltInElements=C.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ut&&(it=!1),mt&&(pt=!0),Ct&&(Ye=addToSet({},fe),Ze=[],!0===Ct.html&&(addToSet(Ye,ae),addToSet(Ze,pe)),!0===Ct.svg&&(addToSet(Ye,le),addToSet(Ze,me),addToSet(Ze,he)),!0===Ct.svgFilters&&(addToSet(Ye,ue),addToSet(Ze,me),addToSet(Ze,he)),!0===Ct.mathMl&&(addToSet(Ye,ce),addToSet(Ze,ve),addToSet(Ze,he))),C.ADD_TAGS&&(Ye===Xe&&(Ye=clone(Ye)),addToSet(Ye,C.ADD_TAGS,$t)),C.ADD_ATTR&&(Ze===et&&(Ze=clone(Ze)),addToSet(Ze,C.ADD_ATTR,$t)),C.ADD_URI_SAFE_ATTR&&addToSet(Pt,C.ADD_URI_SAFE_ATTR,$t),C.FORBID_CONTENTS&&(wt===kt&&(wt=clone(wt)),addToSet(wt,C.FORBID_CONTENTS,$t)),_t&&(Ye["#text"]=!0),ct&&addToSet(Ye,["html","head","body"]),Ye.table&&(addToSet(Ye,["tbody"]),delete nt.tbody),C.TRUSTED_TYPES_POLICY){if("function"!=typeof C.TRUSTED_TYPES_POLICY.createHTML)throw oe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof C.TRUSTED_TYPES_POLICY.createScriptURL)throw oe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');De=C.TRUSTED_TYPES_POLICY,Be=De.createHTML("")}else void 0===De&&(De=Ie(ke,V)),null!==De&&"string"==typeof Be&&(Be=De.createHTML(""));L&&L(C),Vt=C}},Wt=addToSet({},["mi","mo","mn","ms","mtext"]),Ut=addToSet({},["foreignobject","annotation-xml"]),Ht=addToSet({},["title","style","font","a","script"]),Gt=addToSet({},[...le,...ue,...se]),Kt=addToSet({},[...ce,...de]),Qt=function _checkValidNamespace(C){let T=je(C);T&&T.tagName||(T={namespaceURI:Mt,tagName:"template"});const B=J(C.tagName),$=J(T.tagName);return!!jt[C.namespaceURI]&&(C.namespaceURI===Tt?T.namespaceURI===It?"svg"===B:T.namespaceURI===Ot?"svg"===B&&("annotation-xml"===$||Wt[$]):Boolean(Gt[B]):C.namespaceURI===Ot?T.namespaceURI===It?"math"===B:T.namespaceURI===Tt?"math"===B&&Ut[$]:Boolean(Kt[B]):C.namespaceURI===It?!(T.namespaceURI===Tt&&!Ut[$])&&!(T.namespaceURI===Ot&&!Wt[$])&&!Kt[B]&&(Ht[B]||!Gt[B]):!("application/xhtml+xml"!==Bt||!jt[C.namespaceURI]))},Jt=function _forceRemove(C){Q(DOMPurify.removed,{element:C});try{C.parentNode.removeChild(C)}catch(T){C.remove()}},Yt=function _removeAttribute(C,T){try{Q(DOMPurify.removed,{attribute:T.getAttributeNode(C),from:T})}catch(C){Q(DOMPurify.removed,{attribute:null,from:T})}if(T.removeAttribute(C),"is"===C&&!Ze[C])if(pt||mt)try{Jt(T)}catch(C){}else try{T.setAttribute(C,"")}catch(C){}},Xt=function _initDocument(C){let T=null,$=null;if(ft)C="<remove></remove>"+C;else{const T=X(C,/^[\r\n\t ]+/);$=T&&T[0]}"application/xhtml+xml"===Bt&&Mt===It&&(C='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+C+"</body></html>");const V=De?De.createHTML(C):C;if(Mt===It)try{T=(new Ce).parseFromString(V,Bt)}catch(C){}if(!T||!T.documentElement){T=Ae.createDocument(Mt,"template",null);try{T.documentElement.innerHTML=Et?Be:V}catch(C){}}const L=T.body||T.documentElement;return C&&$&&L.insertBefore(B.createTextNode($),L.childNodes[0]||null),Mt===It?Ve.call(T,ct?"html":"body")[0]:ct?T.documentElement:L},Zt=function _createNodeIterator(C){return Ne.call(C.ownerDocument||C,C,ye.SHOW_ELEMENT|ye.SHOW_COMMENT|ye.SHOW_TEXT|ye.SHOW_PROCESSING_INSTRUCTION|ye.SHOW_CDATA_SECTION,null)},en=function _isClobbered(C){return C instanceof be&&(void 0!==C.__depth&&"number"!=typeof C.__depth||void 0!==C.__removalCount&&"number"!=typeof C.__removalCount||"string"!=typeof C.nodeName||"string"!=typeof C.textContent||"function"!=typeof C.removeChild||!(C.attributes instanceof _e)||"function"!=typeof C.removeAttribute||"function"!=typeof C.setAttribute||"string"!=typeof C.namespaceURI||"function"!=typeof C.insertBefore||"function"!=typeof C.hasChildNodes)},tn=function _isNode(C){return"function"==typeof H&&C instanceof H},nn=function _executeHook(C,T,B){Fe[C]&&G(Fe[C],(C=>{C.call(DOMPurify,T,B,Vt)}))},rn=function _sanitizeElements(C){let T=null;if(nn("beforeSanitizeElements",C,null),en(C))return Jt(C),!0;const B=$t(C.nodeName);if(nn("uponSanitizeElement",C,{tagName:B,allowedTags:Ye}),C.hasChildNodes()&&!tn(C.firstElementChild)&&re(/<[/\w]/g,C.innerHTML)&&re(/<[/\w]/g,C.textContent))return Jt(C),!0;if(C.nodeType===Oe.progressingInstruction)return Jt(C),!0;if(st&&C.nodeType===Oe.comment&&re(/<[/\w]/g,C.data))return Jt(C),!0;if(!Ye[B]||nt[B]){if(!nt[B]&&an(B)){if(tt.tagNameCheck instanceof RegExp&&re(tt.tagNameCheck,B))return!1;if(tt.tagNameCheck instanceof Function&&tt.tagNameCheck(B))return!1}if(_t&&!wt[B]){const T=je(C)||C.parentNode,B=Ee(C)||C.childNodes;if(B&&T)for(let $=B.length-1;$>=0;--$){const V=Pe(B[$],!0);V.__removalCount=(C.__removalCount||0)+1,T.insertBefore(V,Me(C))}}return Jt(C),!0}return C instanceof ge&&!Qt(C)?(Jt(C),!0):"noscript"!==B&&"noembed"!==B&&"noframes"!==B||!re(/<\/no(script|embed|frames)/i,C.innerHTML)?(ut&&C.nodeType===Oe.text&&(T=C.textContent,G([qe,ze,We],(C=>{T=Z(T,C," ")})),C.textContent!==T&&(Q(DOMPurify.removed,{element:C.cloneNode()}),C.textContent=T)),nn("afterSanitizeElements",C,null),!1):(Jt(C),!0)},on=function _isValidAttribute(C,T,$){if(ht&&("id"===T||"name"===T)&&($ in B||$ in Ft||"__depth"===$||"__removalCount"===$))return!1;if(it&&!rt[T]&&re(Ue,T));else if(ot&&re(He,T));else if(!Ze[T]||rt[T]){if(!(an(C)&&(tt.tagNameCheck instanceof RegExp&&re(tt.tagNameCheck,C)||tt.tagNameCheck instanceof Function&&tt.tagNameCheck(C))&&(tt.attributeNameCheck instanceof RegExp&&re(tt.attributeNameCheck,T)||tt.attributeNameCheck instanceof Function&&tt.attributeNameCheck(T))||"is"===T&&tt.allowCustomizedBuiltInElements&&(tt.tagNameCheck instanceof RegExp&&re(tt.tagNameCheck,$)||tt.tagNameCheck instanceof Function&&tt.tagNameCheck($))))return!1}else if(Pt[T]);else if(re(Je,Z($,Ke,"")));else if("src"!==T&&"xlink:href"!==T&&"href"!==T||"script"===C||0!==ee($,"data:")||!St[C])if(at&&!re(Ge,Z($,Ke,"")));else if($)return!1;return!0},an=function _isBasicCustomElement(C){return"annotation-xml"!==C&&X(C,Qe)},ln=function _sanitizeAttributes(C){nn("beforeSanitizeAttributes",C,null);const{attributes:T}=C;if(!T)return;const B={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ze};let $=T.length;for(;$--;){const V=T[$],{name:L,namespaceURI:q,value:W}=V,U=$t(L);let H="value"===L?W:te(W);if(B.attrName=U,B.attrValue=H,B.keepAttr=!0,B.forceKeepAttr=void 0,nn("uponSanitizeAttribute",C,B),H=B.attrValue,B.forceKeepAttr)continue;if(Yt(L,C),!B.keepAttr)continue;if(!lt&&re(/\/>/i,H)){Yt(L,C);continue}if(st&&re(/((--!?|])>)|<\/(style|title)/i,H)){Yt(L,C);continue}ut&&G([qe,ze,We],(C=>{H=Z(H,C," ")}));const Q=$t(C.nodeName);if(on(Q,U,H)){if(!gt||"id"!==U&&"name"!==U||(Yt(L,C),H=yt+H),De&&"object"==typeof ke&&"function"==typeof ke.getAttributeType)if(q);else switch(ke.getAttributeType(Q,U)){case"TrustedHTML":H=De.createHTML(H);break;case"TrustedScriptURL":H=De.createScriptURL(H)}try{q?C.setAttributeNS(q,L,H):C.setAttribute(L,H),en(C)?Jt(C):K(DOMPurify.removed)}catch(C){}}}nn("afterSanitizeAttributes",C,null)},un=function _sanitizeShadowDOM(C){let T=null;const B=Zt(C);for(nn("beforeSanitizeShadowDOM",C,null);T=B.nextNode();){if(nn("uponSanitizeShadowNode",T,null),rn(T))continue;const C=je(T);T.nodeType===Oe.element&&(C&&C.__depth?T.__depth=(T.__removalCount||0)+C.__depth+1:T.__depth=1),(T.__depth>=Lt||T.__depth<0||ie(T.__depth))&&Jt(T),T.content instanceof q&&(T.content.__depth=T.__depth,_sanitizeShadowDOM(T.content)),ln(T)}nn("afterSanitizeShadowDOM",C,null)};return DOMPurify.sanitize=function(C){let T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},B=null,V=null,L=null,W=null;if(Et=!C,Et&&(C="\x3c!--\x3e"),"string"!=typeof C&&!tn(C)){if("function"!=typeof C.toString)throw oe("toString is not a function");if("string"!=typeof(C=C.toString()))throw oe("dirty is not a string, aborting")}if(!DOMPurify.isSupported)return C;if(dt||zt(T),DOMPurify.removed=[],"string"==typeof C&&(bt=!1),bt){if(C.nodeName){const T=$t(C.nodeName);if(!Ye[T]||nt[T])throw oe("root node is forbidden and cannot be sanitized in-place")}}else if(C instanceof H)B=Xt("\x3c!----\x3e"),V=B.ownerDocument.importNode(C,!0),V.nodeType===Oe.element&&"BODY"===V.nodeName||"HTML"===V.nodeName?B=V:B.appendChild(V);else{if(!pt&&!ut&&!ct&&-1===C.indexOf("<"))return De&&vt?De.createHTML(C):C;if(B=Xt(C),!B)return pt?null:vt?Be:""}B&&ft&&Jt(B.firstChild);const U=Zt(bt?C:B);for(;L=U.nextNode();){if(rn(L))continue;const C=je(L);L.nodeType===Oe.element&&(C&&C.__depth?L.__depth=(L.__removalCount||0)+C.__depth+1:L.__depth=1),(L.__depth>=Lt||L.__depth<0||ie(L.__depth))&&Jt(L),L.content instanceof q&&(L.content.__depth=L.__depth,un(L.content)),ln(L)}if(bt)return C;if(pt){if(mt)for(W=$e.call(B.ownerDocument);B.firstChild;)W.appendChild(B.firstChild);else W=B;return(Ze.shadowroot||Ze.shadowrootmode)&&(W=Le.call($,W,!0)),W}let K=ct?B.outerHTML:B.innerHTML;return ct&&Ye["!doctype"]&&B.ownerDocument&&B.ownerDocument.doctype&&B.ownerDocument.doctype.name&&re(Re,B.ownerDocument.doctype.name)&&(K="<!DOCTYPE "+B.ownerDocument.doctype.name+">\n"+K),ut&&G([qe,ze,We],(C=>{K=Z(K,C," ")})),De&&vt?De.createHTML(K):K},DOMPurify.setConfig=function(){zt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),dt=!0},DOMPurify.clearConfig=function(){Vt=null,dt=!1},DOMPurify.isValidAttribute=function(C,T,B){Vt||zt({});const $=$t(C),V=$t(T);return on($,V,B)},DOMPurify.addHook=function(C,T){"function"==typeof T&&(Fe[C]=Fe[C]||[],Q(Fe[C],T))},DOMPurify.removeHook=function(C){if(Fe[C])return K(Fe[C])},DOMPurify.removeHooks=function(C){Fe[C]&&(Fe[C]=[])},DOMPurify.removeAllHooks=function(){Fe={}},DOMPurify}return createDOMPurify()}()},61468:C=>{"use strict";function Mime(){this._types=Object.create(null),this._extensions=Object.create(null);for(let C=0;C<arguments.length;C++)this.define(arguments[C]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}Mime.prototype.define=function(C,T){for(let B in C){let $=C[B].map((function(C){return C.toLowerCase()}));B=B.toLowerCase();for(let C=0;C<$.length;C++){const V=$[C];if("*"!==V[0]){if(!T&&V in this._types)throw new Error('Attempt to change mapping for "'+V+'" extension from "'+this._types[V]+'" to "'+B+'". Pass `force=true` to allow this, otherwise remove "'+V+'" from the list of extensions for "'+B+'".');this._types[V]=B}}if(T||!this._extensions[B]){const C=$[0];this._extensions[B]="*"!==C[0]?C:C.substr(1)}}},Mime.prototype.getType=function(C){let T=(C=String(C)).replace(/^.*[/\\]/,"").toLowerCase(),B=T.replace(/^.*\./,"").toLowerCase(),$=T.length<C.length;return(B.length<T.length-1||!$)&&this._types[B]||null},Mime.prototype.getExtension=function(C){return(C=/^\s*([^;\s]*)/.test(C)&&RegExp.$1)&&this._extensions[C.toLowerCase()]||null},C.exports=Mime},9879:(C,T,B)=>{"use strict";let $=B(61468);C.exports=new $(B(35661),B(21266))},21266:C=>{C.exports={"application/prs.cww":["cww"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.sap.vds":["vds"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}},35661:C=>{C.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}},31679:C=>{"use strict";var T,B={DEBUG:!1,LIB_VERSION:"2.50.0"};if("undefined"==typeof window){var $={hostname:""};T={navigator:{userAgent:""},document:{location:$,referrer:""},screen:{width:0,height:0},location:$}}else T=window;var V,L,q,W,U,H,G,K,Q,J,Y,X=Array.prototype,Z=Function.prototype,ee=Object.prototype,te=X.slice,ne=ee.toString,re=ee.hasOwnProperty,oe=T.console,ie=T.navigator,ae=T.document,le=T.opera,ue=T.screen,se=ie.userAgent,ce=Z.bind,de=X.forEach,fe=X.indexOf,pe=X.map,me=Array.isArray,ve={},he={trim:function(C){return C.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},ge={log:function(){if(B.DEBUG&&!he.isUndefined(oe)&&oe)try{oe.log.apply(oe,arguments)}catch(C){he.each(arguments,(function(C){oe.log(C)}))}},warn:function(){if(B.DEBUG&&!he.isUndefined(oe)&&oe){var C=["Mixpanel warning:"].concat(he.toArray(arguments));try{oe.warn.apply(oe,C)}catch(T){he.each(C,(function(C){oe.warn(C)}))}}},error:function(){if(B.DEBUG&&!he.isUndefined(oe)&&oe){var C=["Mixpanel error:"].concat(he.toArray(arguments));try{oe.error.apply(oe,C)}catch(T){he.each(C,(function(C){oe.error(C)}))}}},critical:function(){if(!he.isUndefined(oe)&&oe){var C=["Mixpanel error:"].concat(he.toArray(arguments));try{oe.error.apply(oe,C)}catch(T){he.each(C,(function(C){oe.error(C)}))}}}},log_func_with_prefix=function(C,T){return function(){return arguments[0]="["+T+"] "+arguments[0],C.apply(ge,arguments)}},console_with_prefix=function(C){return{log:log_func_with_prefix(ge.log,C),error:log_func_with_prefix(ge.error,C),critical:log_func_with_prefix(ge.critical,C)}};he.bind=function(C,T){var B,$;if(ce&&C.bind===ce)return ce.apply(C,te.call(arguments,1));if(!he.isFunction(C))throw new TypeError;return B=te.call(arguments,2),$=function(){if(!(this instanceof $))return C.apply(T,B.concat(te.call(arguments)));var V={};V.prototype=C.prototype;var L=new V;V.prototype=null;var q=C.apply(L,B.concat(te.call(arguments)));return Object(q)===q?q:L},$},he.each=function(C,T,B){if(null!=C)if(de&&C.forEach===de)C.forEach(T,B);else if(C.length===+C.length){for(var $=0,V=C.length;$<V;$++)if($ in C&&T.call(B,C[$],$,C)===ve)return}else for(var L in C)if(re.call(C,L)&&T.call(B,C[L],L,C)===ve)return},he.extend=function(C){return he.each(te.call(arguments,1),(function(T){for(var B in T)void 0!==T[B]&&(C[B]=T[B])})),C},he.isArray=me||function(C){return"[object Array]"===ne.call(C)},he.isFunction=function(C){try{return/^\s*\bfunction\b/.test(C)}catch(C){return!1}},he.isArguments=function(C){return!(!C||!re.call(C,"callee"))},he.toArray=function(C){return C?C.toArray?C.toArray():he.isArray(C)||he.isArguments(C)?te.call(C):he.values(C):[]},he.map=function(C,T,B){if(pe&&C.map===pe)return C.map(T,B);var $=[];return he.each(C,(function(C){$.push(T.call(B,C))})),$},he.keys=function(C){var T=[];return null===C||he.each(C,(function(C,B){T[T.length]=B})),T},he.values=function(C){var T=[];return null===C||he.each(C,(function(C){T[T.length]=C})),T},he.include=function(C,T){var B=!1;return null===C?B:fe&&C.indexOf===fe?-1!=C.indexOf(T):(he.each(C,(function(C){if(B||(B=C===T))return ve})),B)},he.includes=function(C,T){return-1!==C.indexOf(T)},he.inherit=function(C,T){return C.prototype=new T,C.prototype.constructor=C,C.superclass=T.prototype,C},he.isObject=function(C){return C===Object(C)&&!he.isArray(C)},he.isEmptyObject=function(C){if(he.isObject(C)){for(var T in C)if(re.call(C,T))return!1;return!0}return!1},he.isUndefined=function(C){return void 0===C},he.isString=function(C){return"[object String]"==ne.call(C)},he.isDate=function(C){return"[object Date]"==ne.call(C)},he.isNumber=function(C){return"[object Number]"==ne.call(C)},he.isElement=function(C){return!(!C||1!==C.nodeType)},he.encodeDates=function(C){return he.each(C,(function(T,B){he.isDate(T)?C[B]=he.formatDate(T):he.isObject(T)&&(C[B]=he.encodeDates(T))})),C},he.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},he.formatDate=function(C){function pad(C){return C<10?"0"+C:C}return C.getUTCFullYear()+"-"+pad(C.getUTCMonth()+1)+"-"+pad(C.getUTCDate())+"T"+pad(C.getUTCHours())+":"+pad(C.getUTCMinutes())+":"+pad(C.getUTCSeconds())},he.strip_empty_properties=function(C){var T={};return he.each(C,(function(C,B){he.isString(C)&&C.length>0&&(T[B]=C)})),T},he.truncate=function(C,T){var B;return"string"==typeof C?B=C.slice(0,T):he.isArray(C)?(B=[],he.each(C,(function(C){B.push(he.truncate(C,T))}))):he.isObject(C)?(B={},he.each(C,(function(C,$){B[$]=he.truncate(C,T)}))):B=C,B},he.JSONEncode=function(C){var quote=function(C){var T=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,B={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return T.lastIndex=0,T.test(C)?'"'+C.replace(T,(function(C){var T=B[C];return"string"==typeof T?T:"\\u"+("0000"+C.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+C+'"'},str=function(C,T){var B="",$=0,V="",L="",q=0,W=B,U=[],H=T[C];switch(H&&"object"==typeof H&&"function"==typeof H.toJSON&&(H=H.toJSON(C)),typeof H){case"string":return quote(H);case"number":return isFinite(H)?String(H):"null";case"boolean":case"null":return String(H);case"object":if(!H)return"null";if(B+=" ",U=[],"[object Array]"===ne.apply(H)){for(q=H.length,$=0;$<q;$+=1)U[$]=str($,H)||"null";return L=0===U.length?"[]":B?"[\n"+B+U.join(",\n"+B)+"\n"+W+"]":"["+U.join(",")+"]",B=W,L}for(V in H)re.call(H,V)&&(L=str(V,H))&&U.push(quote(V)+(B?": ":":")+L);return L=0===U.length?"{}":B?"{"+U.join(",")+W+"}":"{"+U.join(",")+"}",B=W,L}};return str("",{"":C})},he.JSONDecode=(U={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},H=function(C){var T=new SyntaxError(C);throw T.at=V,T.text=q,T},G=function(C){return C&&C!==L&&H("Expected '"+C+"' instead of '"+L+"'"),L=q.charAt(V),V+=1,L},K=function(){var C,T="";for("-"===L&&(T="-",G("-"));L>="0"&&L<="9";)T+=L,G();if("."===L)for(T+=".";G()&&L>="0"&&L<="9";)T+=L;if("e"===L||"E"===L)for(T+=L,G(),"-"!==L&&"+"!==L||(T+=L,G());L>="0"&&L<="9";)T+=L,G();if(C=+T,isFinite(C))return C;H("Bad number")},Q=function(){var C,T,B,$="";if('"'===L)for(;G();){if('"'===L)return G(),$;if("\\"===L)if(G(),"u"===L){for(B=0,T=0;T<4&&(C=parseInt(G(),16),isFinite(C));T+=1)B=16*B+C;$+=String.fromCharCode(B)}else{if("string"!=typeof U[L])break;$+=U[L]}else $+=L}H("Bad string")},J=function(){for(;L&&L<=" ";)G()},W=function(){switch(J(),L){case"{":return function(){var C,T={};if("{"===L){if(G("{"),J(),"}"===L)return G("}"),T;for(;L;){if(C=Q(),J(),G(":"),Object.hasOwnProperty.call(T,C)&&H('Duplicate key "'+C+'"'),T[C]=W(),J(),"}"===L)return G("}"),T;G(","),J()}}H("Bad object")}();case"[":return function(){var C=[];if("["===L){if(G("["),J(),"]"===L)return G("]"),C;for(;L;){if(C.push(W()),J(),"]"===L)return G("]"),C;G(","),J()}}H("Bad array")}();case'"':return Q();case"-":return K();default:return L>="0"&&L<="9"?K():function(){switch(L){case"t":return G("t"),G("r"),G("u"),G("e"),!0;case"f":return G("f"),G("a"),G("l"),G("s"),G("e"),!1;case"n":return G("n"),G("u"),G("l"),G("l"),null}H('Unexpected "'+L+'"')}()}},function(C){var T;return q=C,V=0,L=" ",T=W(),J(),L&&H("Syntax error"),T}),he.base64Encode=function(C){var T,B,$,V,L,q="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",W=0,U=0,H="",G=[];if(!C)return C;C=he.utf8Encode(C);do{T=(L=C.charCodeAt(W++)<<16|C.charCodeAt(W++)<<8|C.charCodeAt(W++))>>18&63,B=L>>12&63,$=L>>6&63,V=63&L,G[U++]=q.charAt(T)+q.charAt(B)+q.charAt($)+q.charAt(V)}while(W<C.length);switch(H=G.join(""),C.length%3){case 1:H=H.slice(0,-2)+"==";break;case 2:H=H.slice(0,-1)+"="}return H},he.utf8Encode=function(C){var T,B,$,V,L="";for(T=B=0,$=(C=(C+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,V=0;V<$;V++){var q=C.charCodeAt(V),W=null;q<128?B++:W=q>127&&q<2048?String.fromCharCode(q>>6|192,63&q|128):String.fromCharCode(q>>12|224,q>>6&63|128,63&q|128),null!==W&&(B>T&&(L+=C.substring(T,B)),L+=W,T=B=V+1)}return B>T&&(L+=C.substring(T,C.length)),L},he.UUID=(Y=function(){var C,B=1*new Date;if(T.performance&&T.performance.now)C=T.performance.now();else for(C=0;B==1*new Date;)C++;return B.toString(16)+Math.floor(C).toString(16)},function(){var C=(ue.height*ue.width).toString(16);return Y()+"-"+Math.random().toString(16).replace(".","")+"-"+function(){var C,T,B=se,$=[],V=0;function xor(C,T){var B,V=0;for(B=0;B<T.length;B++)V|=$[B]<<8*B;return C^V}for(C=0;C<B.length;C++)T=B.charCodeAt(C),$.unshift(255&T),$.length>=4&&(V=xor(V,$),$=[]);return $.length>0&&(V=xor(V,$)),V.toString(16)}()+"-"+C+"-"+Y()});var ye=["ahrefsbot","ahrefssiteaudit","baiduspider","bingbot","bingpreview","chrome-lighthouse","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandexbot","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];he.isBlockedUA=function(C){var T;for(C=C.toLowerCase(),T=0;T<ye.length;T++)if(-1!==C.indexOf(ye[T]))return!0;return!1},he.HTTPBuildQuery=function(C,T){var B,$,V=[];return he.isUndefined(T)&&(T="&"),he.each(C,(function(C,T){B=encodeURIComponent(C.toString()),$=encodeURIComponent(T),V[V.length]=$+"="+B})),V.join(T)},he.getQueryParam=function(C,T){T=T.replace(/[[]/,"\\[").replace(/[\]]/,"\\]");var B=new RegExp("[\\?&]"+T+"=([^&#]*)").exec(C);if(null===B||B&&"string"!=typeof B[1]&&B[1].length)return"";var $=B[1];try{$=decodeURIComponent($)}catch(C){ge.error("Skipping decoding for malformed query param: "+$)}return $.replace(/\+/g," ")},he.cookie={get:function(C){for(var T=C+"=",B=ae.cookie.split(";"),$=0;$<B.length;$++){for(var V=B[$];" "==V.charAt(0);)V=V.substring(1,V.length);if(0===V.indexOf(T))return decodeURIComponent(V.substring(T.length,V.length))}return null},parse:function(C){var T;try{T=he.JSONDecode(he.cookie.get(C))||{}}catch(C){}return T},set_seconds:function(C,T,B,$,V,L,q){var W="",U="",H="";if(q)W="; domain="+q;else if($){var G=extract_domain(ae.location.hostname);W=G?"; domain=."+G:""}if(B){var K=new Date;K.setTime(K.getTime()+1e3*B),U="; expires="+K.toGMTString()}L&&(V=!0,H="; SameSite=None"),V&&(H+="; secure"),ae.cookie=C+"="+encodeURIComponent(T)+U+"; path=/"+W+H},set:function(C,T,B,$,V,L,q){var W="",U="",H="";if(q)W="; domain="+q;else if($){var G=extract_domain(ae.location.hostname);W=G?"; domain=."+G:""}if(B){var K=new Date;K.setTime(K.getTime()+24*B*60*60*1e3),U="; expires="+K.toGMTString()}L&&(V=!0,H="; SameSite=None"),V&&(H+="; secure");var Q=C+"="+encodeURIComponent(T)+U+"; path=/"+W+H;return ae.cookie=Q,Q},remove:function(C,T,B){he.cookie.set(C,"",-1,T,!1,!1,B)}};var _e=null,localStorageSupported=function(C,T){if(null!==_e&&!T)return _e;var B=!0;try{C=C||window.localStorage;var $="__mplss_"+cheap_guid(8);C.setItem($,"xyz"),"xyz"!==C.getItem($)&&(B=!1),C.removeItem($)}catch(C){B=!1}return _e=B,B};he.localStorage={is_supported:function(C){var T=localStorageSupported(null,C);return T||ge.error("localStorage unsupported; falling back to cookie store"),T},error:function(C){ge.error("localStorage error: "+C)},get:function(C){try{return window.localStorage.getItem(C)}catch(C){he.localStorage.error(C)}return null},parse:function(C){try{return he.JSONDecode(he.localStorage.get(C))||{}}catch(C){}return null},set:function(C,T){try{window.localStorage.setItem(C,T)}catch(C){he.localStorage.error(C)}},remove:function(C){try{window.localStorage.removeItem(C)}catch(C){he.localStorage.error(C)}}},he.register_event=function(){function fixEvent(C){return C&&(C.preventDefault=fixEvent.preventDefault,C.stopPropagation=fixEvent.stopPropagation),C}return fixEvent.preventDefault=function(){this.returnValue=!1},fixEvent.stopPropagation=function(){this.cancelBubble=!0},function(C,T,B,$,V){if(C)if(C.addEventListener&&!$)C.addEventListener(T,B,!!V);else{var L="on"+T,q=C[L];C[L]=function makeHandler(C,T,B){var handler=function($){if($=$||fixEvent(window.event)){var V,L,q=!0;return he.isFunction(B)&&(V=B($)),L=T.call(C,$),!1!==V&&!1!==L||(q=!1),q}};return handler}(C,B,q)}else ge.error("No valid element provided to register_event")}}();var be=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');he.dom_query=function(){function getAllChildren(C){return C.all?C.all:C.getElementsByTagName("*")}var C=/[\t\r\n]/g;function hasClass(T,B){var $=" "+B+" ";return(" "+T.className+" ").replace(C," ").indexOf($)>=0}function getElementsBySelector(C){if(!ae.getElementsByTagName)return[];var T,B,$,V,L,q,W,U,H,G,K=C.split(" "),Q=[ae];for(q=0;q<K.length;q++)if((T=K[q].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){$=(B=T.split("#"))[0];var J=B[1],Y=ae.getElementById(J);if(!Y||$&&Y.nodeName.toLowerCase()!=$)return[];Q=[Y]}else if(T.indexOf(".")>-1){$=(B=T.split("."))[0];var X=B[1];for($||($="*"),V=[],L=0,W=0;W<Q.length;W++)for(H="*"==$?getAllChildren(Q[W]):Q[W].getElementsByTagName($),U=0;U<H.length;U++)V[L++]=H[U];for(Q=[],G=0,W=0;W<V.length;W++)V[W].className&&he.isString(V[W].className)&&hasClass(V[W],X)&&(Q[G++]=V[W])}else{var Z=T.match(be);if(Z){$=Z[1];var ee,te=Z[2],ne=Z[3],re=Z[4];for($||($="*"),V=[],L=0,W=0;W<Q.length;W++)for(H="*"==$?getAllChildren(Q[W]):Q[W].getElementsByTagName($),U=0;U<H.length;U++)V[L++]=H[U];switch(Q=[],G=0,ne){case"=":ee=function(C){return C.getAttribute(te)==re};break;case"~":ee=function(C){return C.getAttribute(te).match(new RegExp("\\b"+re+"\\b"))};break;case"|":ee=function(C){return C.getAttribute(te).match(new RegExp("^"+re+"-?"))};break;case"^":ee=function(C){return 0===C.getAttribute(te).indexOf(re)};break;case"$":ee=function(C){return C.getAttribute(te).lastIndexOf(re)==C.getAttribute(te).length-re.length};break;case"*":ee=function(C){return C.getAttribute(te).indexOf(re)>-1};break;default:ee=function(C){return C.getAttribute(te)}}for(Q=[],G=0,W=0;W<V.length;W++)ee(V[W])&&(Q[G++]=V[W])}else{for($=T,V=[],L=0,W=0;W<Q.length;W++)for(H=Q[W].getElementsByTagName($),U=0;U<H.length;U++)V[L++]=H[U];Q=V}}return Q}return function(C){return he.isElement(C)?[C]:he.isObject(C)&&!he.isUndefined(C.length)?C:getElementsBySelector.call(this,C)}}();var Ce=["utm_source","utm_medium","utm_campaign","utm_content","utm_term"],we=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","ttclid","twclid","wbraid"];he.info={campaignParams:function(C){var T="",B={};return he.each(Ce,(function($){(T=he.getQueryParam(ae.URL,$)).length?B[$]=T:void 0!==C&&(B[$]=C)})),B},clickParams:function(){var C="",T={};return he.each(we,(function(B){(C=he.getQueryParam(ae.URL,B)).length&&(T[B]=C)})),T},marketingParams:function(){return he.extend(he.info.campaignParams(),he.info.clickParams())},searchEngine:function(C){return 0===C.search("https?://(.*)google.([^/?]*)")?"google":0===C.search("https?://(.*)bing.com")?"bing":0===C.search("https?://(.*)yahoo.com")?"yahoo":0===C.search("https?://(.*)duckduckgo.com")?"duckduckgo":null},searchInfo:function(C){var T=he.info.searchEngine(C),B="yahoo"!=T?"q":"p",$={};if(null!==T){$.$search_engine=T;var V=he.getQueryParam(C,B);V.length&&($.mp_keyword=V)}return $},browser:function(C,T,B){return T=T||"",B||he.includes(C," OPR/")?he.includes(C,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(C)?"BlackBerry":he.includes(C,"IEMobile")||he.includes(C,"WPDesktop")?"Internet Explorer Mobile":he.includes(C,"SamsungBrowser/")?"Samsung Internet":he.includes(C,"Edge")||he.includes(C,"Edg/")?"Microsoft Edge":he.includes(C,"FBIOS")?"Facebook Mobile":he.includes(C,"Chrome")?"Chrome":he.includes(C,"CriOS")?"Chrome iOS":he.includes(C,"UCWEB")||he.includes(C,"UCBrowser")?"UC Browser":he.includes(C,"FxiOS")?"Firefox iOS":he.includes(T,"Apple")?he.includes(C,"Mobile")?"Mobile Safari":"Safari":he.includes(C,"Android")?"Android Mobile":he.includes(C,"Konqueror")?"Konqueror":he.includes(C,"Firefox")?"Firefox":he.includes(C,"MSIE")||he.includes(C,"Trident/")?"Internet Explorer":he.includes(C,"Gecko")?"Mozilla":""},browserVersion:function(C,T,B){var $={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/}[he.info.browser(C,T,B)];if(void 0===$)return null;var V=C.match($);return V?parseFloat(V[V.length-2]):null},os:function(){var C=se;return/Windows/i.test(C)?/Phone/.test(C)||/WPDesktop/.test(C)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(C)?"iOS":/Android/.test(C)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(C)?"BlackBerry":/Mac/i.test(C)?"Mac OS X":/Linux/.test(C)?"Linux":/CrOS/.test(C)?"Chrome OS":""},device:function(C){return/Windows Phone/i.test(C)||/WPDesktop/.test(C)?"Windows Phone":/iPad/.test(C)?"iPad":/iPod/.test(C)?"iPod Touch":/iPhone/.test(C)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(C)?"BlackBerry":/Android/.test(C)?"Android":""},referringDomain:function(C){var T=C.split("/");return T.length>=3?T[2]:""},currentUrl:function(){return T.location.href},properties:function(C){return"object"!=typeof C&&(C={}),he.extend(he.strip_empty_properties({$os:he.info.os(),$browser:he.info.browser(se,ie.vendor,le),$referrer:ae.referrer,$referring_domain:he.info.referringDomain(ae.referrer),$device:he.info.device(se)}),{$current_url:he.info.currentUrl(),$browser_version:he.info.browserVersion(se,ie.vendor,le),$screen_height:ue.height,$screen_width:ue.width,mp_lib:"web",$lib_version:B.LIB_VERSION,$insert_id:cheap_guid(),time:he.timestamp()/1e3},he.strip_empty_properties(C))},people_properties:function(){return he.extend(he.strip_empty_properties({$os:he.info.os(),$browser:he.info.browser(se,ie.vendor,le)}),{$browser_version:he.info.browserVersion(se,ie.vendor,le)})},mpPageViewProperties:function(){return he.strip_empty_properties({current_page_title:ae.title,current_domain:T.location.hostname,current_url_path:T.location.pathname,current_url_protocol:T.location.protocol,current_url_search:T.location.search})}};var cheap_guid=function(C){var T=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return C?T.substring(0,C):T},ke=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,Se=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,extract_domain=function(C){var T=Se,B=C.split("."),$=B[B.length-1];($.length>4||"com"===$||"org"===$)&&(T=ke);var V=C.match(T);return V?V[0]:""},Re=null,Pe=null;"undefined"!=typeof JSON&&(Re=JSON.stringify,Pe=JSON.parse),Re=Re||he.JSONEncode,Pe=Pe||he.JSONDecode,he.toArray=he.toArray,he.isObject=he.isObject,he.JSONEncode=he.JSONEncode,he.JSONDecode=he.JSONDecode,he.isBlockedUA=he.isBlockedUA,he.isEmptyObject=he.isEmptyObject,he.info=he.info,he.info.device=he.info.device,he.info.browser=he.info.browser,he.info.browserVersion=he.info.browserVersion,he.info.properties=he.info.properties;var DomTracker=function(){};DomTracker.prototype.create_properties=function(){},DomTracker.prototype.event_handler=function(){},DomTracker.prototype.after_track_handler=function(){},DomTracker.prototype.init=function(C){return this.mp=C,this},DomTracker.prototype.track=function(C,T,B,$){var V=this,L=he.dom_query(C);if(0!==L.length)return he.each(L,(function(C){he.register_event(C,this.override_event,(function(C){var L={},q=V.create_properties(B,this),W=V.mp.get_config("track_links_timeout");V.event_handler(C,this,L),window.setTimeout(V.track_callback($,q,L,!0),W),V.mp.track(T,q,V.track_callback($,q,L))}))}),this),!0;ge.error("The DOM query ("+C+") returned 0 elements")},DomTracker.prototype.track_callback=function(C,T,B,$){$=$||!1;var V=this;return function(){B.callback_fired||(B.callback_fired=!0,C&&!1===C($,T)||V.after_track_handler(T,B,$))}},DomTracker.prototype.create_properties=function(C,T){return"function"==typeof C?C(T):he.extend({},C)};var LinkTracker=function(){this.override_event="click"};he.inherit(LinkTracker,DomTracker),LinkTracker.prototype.create_properties=function(C,T){var B=LinkTracker.superclass.create_properties.apply(this,arguments);return T.href&&(B.url=T.href),B},LinkTracker.prototype.event_handler=function(C,T,B){B.new_tab=2===C.which||C.metaKey||C.ctrlKey||"_blank"===T.target,B.href=T.href,B.new_tab||C.preventDefault()},LinkTracker.prototype.after_track_handler=function(C,T){T.new_tab||setTimeout((function(){window.location=T.href}),0)};var FormTracker=function(){this.override_event="submit"};he.inherit(FormTracker,DomTracker),FormTracker.prototype.event_handler=function(C,T,B){B.element=T,C.preventDefault()},FormTracker.prototype.after_track_handler=function(C,T){setTimeout((function(){T.element.submit()}),0)};var xe=console_with_prefix("lock"),SharedLock=function(C,T){T=T||{},this.storageKey=C,this.storage=T.storage||window.localStorage,this.pollIntervalMS=T.pollIntervalMS||100,this.timeoutMS=T.timeoutMS||2e3};SharedLock.prototype.withLock=function(C,T,B){B||"function"==typeof T||(B=T,T=null);var $=B||(new Date).getTime()+"|"+Math.random(),V=(new Date).getTime(),L=this.storageKey,q=this.pollIntervalMS,W=this.timeoutMS,U=this.storage,H=L+":X",G=L+":Y",K=L+":Z",reportError=function(C){T&&T(C)},delay=function(C){if((new Date).getTime()-V>W)return xe.error("Timeout waiting for mutex on "+L+"; clearing lock. ["+$+"]"),U.removeItem(K),U.removeItem(G),void loop();setTimeout((function(){try{C()}catch(C){reportError(C)}}),q*(Math.random()+.1))},waitFor=function(C,T){C()?T():delay((function(){waitFor(C,T)}))},getSetY=function(){var C=U.getItem(G);if(C&&C!==$)return!1;if(U.setItem(G,$),U.getItem(G)===$)return!0;if(!localStorageSupported(U,!0))throw new Error("localStorage support dropped while acquiring lock");return!1},loop=function(){U.setItem(H,$),waitFor(getSetY,(function(){U.getItem(H)!==$?delay((function(){U.getItem(G)===$?waitFor((function(){return!U.getItem(K)}),criticalSection):loop()})):criticalSection()}))},criticalSection=function(){U.setItem(K,"1");try{C()}finally{U.removeItem(K),U.getItem(G)===$&&U.removeItem(G),U.getItem(H)===$&&U.removeItem(H)}};try{if(!localStorageSupported(U,!0))throw new Error("localStorage support check failed");loop()}catch(C){reportError(C)}};var Oe=console_with_prefix("batch"),RequestQueue=function(C,T){T=T||{},this.storageKey=C,this.storage=T.storage||window.localStorage,this.reportError=T.errorReporter||he.bind(Oe.error,Oe),this.lock=new SharedLock(C,{storage:this.storage}),this.pid=T.pid||null,this.memQueue=[]};RequestQueue.prototype.enqueue=function(C,T,B){var $={id:cheap_guid(),flushAfter:(new Date).getTime()+2*T,payload:C};this.lock.withLock(he.bind((function lockAcquired(){var T;try{var V=this.readFromStorage();V.push($),(T=this.saveToStorage(V))&&this.memQueue.push($)}catch(B){this.reportError("Error enqueueing item",C),T=!1}B&&B(T)}),this),he.bind((function lockFailure(C){this.reportError("Error acquiring storage lock",C),B&&B(!1)}),this),this.pid)},RequestQueue.prototype.fillBatch=function(C){var T=this.memQueue.slice(0,C);if(T.length<C){var B=this.readFromStorage();if(B.length){var $={};he.each(T,(function(C){$[C.id]=!0}));for(var V=0;V<B.length;V++){var L=B[V];if((new Date).getTime()>L.flushAfter&&!$[L.id]&&(L.orphaned=!0,T.push(L),T.length>=C))break}}}return T};var filterOutIDsAndInvalid=function(C,T){var B=[];return he.each(C,(function(C){C.id&&!T[C.id]&&B.push(C)})),B};RequestQueue.prototype.removeItemsByID=function(C,T){var B={};he.each(C,(function(C){B[C]=!0})),this.memQueue=filterOutIDsAndInvalid(this.memQueue,B);var $=he.bind((function(){var T;try{var $=this.readFromStorage();if($=filterOutIDsAndInvalid($,B),T=this.saveToStorage($)){$=this.readFromStorage();for(var V=0;V<$.length;V++){var L=$[V];if(L.id&&B[L.id])return this.reportError("Item not removed from storage"),!1}}}catch(B){this.reportError("Error removing items",C),T=!1}return T}),this);this.lock.withLock((function lockAcquired(){var C=$();T&&T(C)}),he.bind((function lockFailure(C){var B=!1;if(this.reportError("Error acquiring storage lock",C),!localStorageSupported(this.storage,!0)&&!(B=$()))try{this.storage.removeItem(this.storageKey)}catch(C){this.reportError("Error clearing queue",C)}T&&T(B)}),this),this.pid)};var updatePayloads=function(C,T){var B=[];return he.each(C,(function(C){var $=C.id;if($ in T){var V=T[$];null!==V&&(C.payload=V,B.push(C))}else B.push(C)})),B};RequestQueue.prototype.updatePayloads=function(C,T){this.memQueue=updatePayloads(this.memQueue,C),this.lock.withLock(he.bind((function lockAcquired(){var B;try{var $=this.readFromStorage();$=updatePayloads($,C),B=this.saveToStorage($)}catch(T){this.reportError("Error updating items",C),B=!1}T&&T(B)}),this),he.bind((function lockFailure(C){this.reportError("Error acquiring storage lock",C),T&&T(!1)}),this),this.pid)},RequestQueue.prototype.readFromStorage=function(){var C;try{(C=this.storage.getItem(this.storageKey))&&(C=Pe(C),he.isArray(C)||(this.reportError("Invalid storage entry:",C),C=null))}catch(T){this.reportError("Error retrieving queue",T),C=null}return C||[]},RequestQueue.prototype.saveToStorage=function(C){try{return this.storage.setItem(this.storageKey,Re(C)),!0}catch(C){return this.reportError("Error saving queue",C),!1}},RequestQueue.prototype.clear=function(){this.memQueue=[],this.storage.removeItem(this.storageKey)};var Te=console_with_prefix("batch"),RequestBatcher=function(C,T){this.errorReporter=T.errorReporter,this.queue=new RequestQueue(C,{errorReporter:he.bind(this.reportError,this),storage:T.storage}),this.libConfig=T.libConfig,this.sendRequest=T.sendRequestFunc,this.beforeSendHook=T.beforeSendHook,this.stopAllBatching=T.stopAllBatchingFunc,this.batchSize=this.libConfig.batch_size,this.flushInterval=this.libConfig.batch_flush_interval_ms,this.stopped=!this.libConfig.batch_autostart,this.consecutiveRemovalFailures=0,this.itemIdsSentSuccessfully={}};RequestBatcher.prototype.enqueue=function(C,T){this.queue.enqueue(C,this.flushInterval,T)},RequestBatcher.prototype.start=function(){this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},RequestBatcher.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},RequestBatcher.prototype.clear=function(){this.queue.clear()},RequestBatcher.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},RequestBatcher.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},RequestBatcher.prototype.scheduleFlush=function(C){this.flushInterval=C,this.stopped||(this.timeoutID=setTimeout(he.bind(this.flush,this),this.flushInterval))},RequestBatcher.prototype.flush=function(C){try{if(this.requestInProgress)return void Te.log("Flush: Request already in progress");C=C||{};var T=this.libConfig.batch_request_timeout_ms,$=(new Date).getTime(),V=this.batchSize,L=this.queue.fillBatch(V),q=[],W={};if(he.each(L,(function(C){var T=C.payload;if(this.beforeSendHook&&!C.orphaned&&(T=this.beforeSendHook(T)),T){T.event&&T.properties&&(T.properties=he.extend({},T.properties,{mp_sent_by_lib_version:B.LIB_VERSION}));var $=!0,V=C.id;V?(this.itemIdsSentSuccessfully[V]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:C,batchSize:L.length,timesSent:this.itemIdsSentSuccessfully[V]}),$=!1):this.reportError("[dupe] found item with no ID",{item:C}),$&&q.push(T)}W[C.id]=T}),this),q.length<1)return void this.resetFlush();this.requestInProgress=!0;var U=he.bind((function(B){this.requestInProgress=!1;try{var q=!1;if(C.unloading)this.queue.updatePayloads(W);else if(he.isObject(B)&&"timeout"===B.error&&(new Date).getTime()-$>=T)this.reportError("Network timeout; retrying"),this.flush();else if(he.isObject(B)&&B.xhr_req&&(B.xhr_req.status>=500||429===B.xhr_req.status||"timeout"===B.error)){var U=2*this.flushInterval,H=B.xhr_req.responseHeaders;if(H){var G=H["Retry-After"];G&&(U=1e3*parseInt(G,10)||U)}U=Math.min(6e5,U),this.reportError("Error; retry in "+U+" ms"),this.scheduleFlush(U)}else if(he.isObject(B)&&B.xhr_req&&413===B.xhr_req.status)if(L.length>1){var K=Math.max(1,Math.floor(V/2));this.batchSize=Math.min(this.batchSize,K,L.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush()}else this.reportError("Single-event request too large; dropping",L),this.resetBatchSize(),q=!0;else q=!0;q&&(this.queue.removeItemsByID(he.map(L,(function(C){return C.id})),he.bind((function(C){C?(this.consecutiveRemovalFailures=0,this.flush()):(this.reportError("Failed to remove items from queue"),++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush())}),this)),he.each(L,he.bind((function(C){var T=C.id;T?(this.itemIdsSentSuccessfully[T]=this.itemIdsSentSuccessfully[T]||0,this.itemIdsSentSuccessfully[T]++,this.itemIdsSentSuccessfully[T]>5&&this.reportError("[dupe] item ID sent too many times",{item:C,batchSize:L.length,timesSent:this.itemIdsSentSuccessfully[T]})):this.reportError("[dupe] found item with no ID while removing",{item:C})}),this)))}catch(C){this.reportError("Error handling API response",C),this.resetFlush()}}),this),H={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:T};C.unloading&&(H.transport="sendBeacon"),Te.log("MIXPANEL REQUEST:",q),this.sendRequest(q,H,U)}catch(C){this.reportError("Error flushing request queue",C),this.resetFlush()}},RequestBatcher.prototype.reportError=function(C,T){if(Te.error.apply(Te.error,arguments),this.errorReporter)try{T instanceof Error||(T=new Error(C)),this.errorReporter(C,T)}catch(T){Te.error(T)}};var Ie="__mp_opt_in_out_";function optIn(C,T){_optInOut(!0,C,T)}function optOut(C,T){_optInOut(!1,C,T)}function hasOptedIn(C,T){return"1"===_getStorageValue(C,T)}function hasOptedOut(C,B){if(function _hasDoNotTrackFlagOn(C){if(C&&C.ignoreDnt)return!1;var B=C&&C.window||T,$=B.navigator||{},V=!1;return he.each([$.doNotTrack,$.msDoNotTrack,B.doNotTrack],(function(C){he.includes([!0,1,"1","yes"],C)&&(V=!0)})),V}(B))return ge.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var $="0"===_getStorageValue(C,B);return $&&ge.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),$}function addOptOutCheckMixpanelLib(C){return _addOptOutCheck(C,(function(C){return this.get_config(C)}))}function addOptOutCheckMixpanelPeople(C){return _addOptOutCheck(C,(function(C){return this._get_config(C)}))}function addOptOutCheckMixpanelGroup(C){return _addOptOutCheck(C,(function(C){return this._get_config(C)}))}function clearOptInOut(C,T){_getStorage(T=T||{}).remove(_getStorageKey(C,T),!!T.crossSubdomainCookie,T.cookieDomain)}function _getStorage(C){return"localStorage"===(C=C||{}).persistenceType?he.localStorage:he.cookie}function _getStorageKey(C,T){return((T=T||{}).persistencePrefix||Ie)+C}function _getStorageValue(C,T){return _getStorage(T).get(_getStorageKey(C,T))}function _optInOut(C,T,B){he.isString(T)&&T.length?(_getStorage(B=B||{}).set(_getStorageKey(T,B),C?1:0,he.isNumber(B.cookieExpiration)?B.cookieExpiration:null,!!B.crossSubdomainCookie,!!B.secureCookie,!!B.crossSiteCookie,B.cookieDomain),B.track&&C&&B.track(B.trackEventName||"$opt_in",B.trackProperties,{send_immediately:!0})):ge.error("gdpr."+(C?"optIn":"optOut")+" called with an invalid token")}function _addOptOutCheck(C,T){return function(){var B=!1;try{var $=T.call(this,"token"),V=T.call(this,"ignore_dnt"),L=T.call(this,"opt_out_tracking_persistence_type"),q=T.call(this,"opt_out_tracking_cookie_prefix"),W=T.call(this,"window");$&&(B=hasOptedOut($,{ignoreDnt:V,persistenceType:L,persistencePrefix:q,window:W}))}catch(C){ge.error("Unexpected error when checking tracking opt-out status: "+C)}if(!B)return C.apply(this,arguments);var U=arguments[arguments.length-1];"function"==typeof U&&U(0)}}var Me="$set",Ee="$set_once",je="$unset",De="$add",Be="$append",Ae="$union",Ne="$remove",$e={set_action:function(C,T){var B={},$={};return he.isObject(C)?he.each(C,(function(C,T){this._is_reserved_property(T)||($[T]=C)}),this):$[C]=T,B[Me]=$,B},unset_action:function(C){var T={},B=[];return he.isArray(C)||(C=[C]),he.each(C,(function(C){this._is_reserved_property(C)||B.push(C)}),this),T[je]=B,T},set_once_action:function(C,T){var B={},$={};return he.isObject(C)?he.each(C,(function(C,T){this._is_reserved_property(T)||($[T]=C)}),this):$[C]=T,B[Ee]=$,B},union_action:function(C,T){var B={},$={};return he.isObject(C)?he.each(C,(function(C,T){this._is_reserved_property(T)||($[T]=he.isArray(C)?C:[C])}),this):$[C]=he.isArray(T)?T:[T],B[Ae]=$,B},append_action:function(C,T){var B={},$={};return he.isObject(C)?he.each(C,(function(C,T){this._is_reserved_property(T)||($[T]=C)}),this):$[C]=T,B[Be]=$,B},remove_action:function(C,T){var B={},$={};return he.isObject(C)?he.each(C,(function(C,T){this._is_reserved_property(T)||($[T]=C)}),this):$[C]=T,B[Ne]=$,B},delete_action:function(){var C={$delete:""};return C}},MixpanelGroup=function(){};he.extend(MixpanelGroup.prototype,$e),MixpanelGroup.prototype._init=function(C,T,B){this._mixpanel=C,this._group_key=T,this._group_id=B},MixpanelGroup.prototype.set=addOptOutCheckMixpanelGroup((function(C,T,B){var $=this.set_action(C,T);return he.isObject(C)&&(B=T),this._send_request($,B)})),MixpanelGroup.prototype.set_once=addOptOutCheckMixpanelGroup((function(C,T,B){var $=this.set_once_action(C,T);return he.isObject(C)&&(B=T),this._send_request($,B)})),MixpanelGroup.prototype.unset=addOptOutCheckMixpanelGroup((function(C,T){var B=this.unset_action(C);return this._send_request(B,T)})),MixpanelGroup.prototype.union=addOptOutCheckMixpanelGroup((function(C,T,B){he.isObject(C)&&(B=T);var $=this.union_action(C,T);return this._send_request($,B)})),MixpanelGroup.prototype.delete=addOptOutCheckMixpanelGroup((function(C){var T=this.delete_action();return this._send_request(T,C)})),MixpanelGroup.prototype.remove=addOptOutCheckMixpanelGroup((function(C,T,B){var $=this.remove_action(C,T);return this._send_request($,B)})),MixpanelGroup.prototype._send_request=function(C,T){C.$group_key=this._group_key,C.$group_id=this._group_id,C.$token=this._get_config("token");var B=he.encodeDates(C);return this._mixpanel._track_or_batch({type:"groups",data:B,endpoint:this._get_config("api_host")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},T)},MixpanelGroup.prototype._is_reserved_property=function(C){return"$group_key"===C||"$group_id"===C},MixpanelGroup.prototype._get_config=function(C){return this._mixpanel.get_config(C)},MixpanelGroup.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},MixpanelGroup.prototype.remove=MixpanelGroup.prototype.remove,MixpanelGroup.prototype.set=MixpanelGroup.prototype.set,MixpanelGroup.prototype.set_once=MixpanelGroup.prototype.set_once,MixpanelGroup.prototype.union=MixpanelGroup.prototype.union,MixpanelGroup.prototype.unset=MixpanelGroup.prototype.unset,MixpanelGroup.prototype.toString=MixpanelGroup.prototype.toString;var MixpanelPeople=function(){};he.extend(MixpanelPeople.prototype,$e),MixpanelPeople.prototype._init=function(C){this._mixpanel=C},MixpanelPeople.prototype.set=addOptOutCheckMixpanelPeople((function(C,T,B){var $=this.set_action(C,T);return he.isObject(C)&&(B=T),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),$[Me]=he.extend({},he.info.people_properties(),$[Me]),this._send_request($,B)})),MixpanelPeople.prototype.set_once=addOptOutCheckMixpanelPeople((function(C,T,B){var $=this.set_once_action(C,T);return he.isObject(C)&&(B=T),this._send_request($,B)})),MixpanelPeople.prototype.unset=addOptOutCheckMixpanelPeople((function(C,T){var B=this.unset_action(C);return this._send_request(B,T)})),MixpanelPeople.prototype.increment=addOptOutCheckMixpanelPeople((function(C,T,B){var $={},V={};return he.isObject(C)?(he.each(C,(function(C,T){if(!this._is_reserved_property(T)){if(isNaN(parseFloat(C)))return void ge.error("Invalid increment value passed to mixpanel.people.increment - must be a number");V[T]=C}}),this),B=T):(he.isUndefined(T)&&(T=1),V[C]=T),$[De]=V,this._send_request($,B)})),MixpanelPeople.prototype.append=addOptOutCheckMixpanelPeople((function(C,T,B){he.isObject(C)&&(B=T);var $=this.append_action(C,T);return this._send_request($,B)})),MixpanelPeople.prototype.remove=addOptOutCheckMixpanelPeople((function(C,T,B){he.isObject(C)&&(B=T);var $=this.remove_action(C,T);return this._send_request($,B)})),MixpanelPeople.prototype.union=addOptOutCheckMixpanelPeople((function(C,T,B){he.isObject(C)&&(B=T);var $=this.union_action(C,T);return this._send_request($,B)})),MixpanelPeople.prototype.track_charge=addOptOutCheckMixpanelPeople((function(C,T,B){if(he.isNumber(C)||(C=parseFloat(C),!isNaN(C)))return this.append("$transactions",he.extend({$amount:C},T),B);ge.error("Invalid value passed to mixpanel.people.track_charge - must be a number")})),MixpanelPeople.prototype.clear_charges=function(C){return this.set("$transactions",[],C)},MixpanelPeople.prototype.delete_user=function(){if(this._identify_called()){var C={$delete:this._mixpanel.get_distinct_id()};return this._send_request(C)}ge.error("mixpanel.people.delete_user() requires you to call identify() first")},MixpanelPeople.prototype.toString=function(){return this._mixpanel.toString()+".people"},MixpanelPeople.prototype._send_request=function(C,T){C.$token=this._get_config("token"),C.$distinct_id=this._mixpanel.get_distinct_id();var B=this._mixpanel.get_property("$device_id"),$=this._mixpanel.get_property("$user_id"),V=this._mixpanel.get_property("$had_persisted_distinct_id");B&&(C.$device_id=B),$&&(C.$user_id=$),V&&(C.$had_persisted_distinct_id=V);var L=he.encodeDates(C);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:L,endpoint:this._get_config("api_host")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},T):(this._enqueue(C),he.isUndefined(T)||(this._get_config("verbose")?T({status:-1,error:null}):T(-1)),he.truncate(L,255))},MixpanelPeople.prototype._get_config=function(C){return this._mixpanel.get_config(C)},MixpanelPeople.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},MixpanelPeople.prototype._enqueue=function(C){Me in C?this._mixpanel.persistence._add_to_people_queue(Me,C):Ee in C?this._mixpanel.persistence._add_to_people_queue(Ee,C):je in C?this._mixpanel.persistence._add_to_people_queue(je,C):De in C?this._mixpanel.persistence._add_to_people_queue(De,C):Be in C?this._mixpanel.persistence._add_to_people_queue(Be,C):Ne in C?this._mixpanel.persistence._add_to_people_queue(Ne,C):Ae in C?this._mixpanel.persistence._add_to_people_queue(Ae,C):ge.error("Invalid call to _enqueue():",C)},MixpanelPeople.prototype._flush_one_queue=function(C,T,B,$){var V=this,L=he.extend({},this._mixpanel.persistence.load_queue(C)),q=L;he.isUndefined(L)||!he.isObject(L)||he.isEmptyObject(L)||(V._mixpanel.persistence._pop_from_people_queue(C,L),V._mixpanel.persistence.save(),$&&(q=$(L)),T.call(V,q,(function(T,$){0===T&&V._mixpanel.persistence._add_to_people_queue(C,L),he.isUndefined(B)||B(T,$)})))},MixpanelPeople.prototype._flush=function(C,T,B,$,V,L,q){var W=this;this._flush_one_queue(Me,this.set,C),this._flush_one_queue(Ee,this.set_once,$),this._flush_one_queue(je,this.unset,L,(function(C){return he.keys(C)})),this._flush_one_queue(De,this.increment,T),this._flush_one_queue(Ae,this.union,V);var U=this._mixpanel.persistence.load_queue(Be);if(!he.isUndefined(U)&&he.isArray(U)&&U.length)for(var H,append_callback=function(C,T){0===C&&W._mixpanel.persistence._add_to_people_queue(Be,H),he.isUndefined(B)||B(C,T)},G=U.length-1;G>=0;G--)U=this._mixpanel.persistence.load_queue(Be),H=U.pop(),W._mixpanel.persistence.save(),he.isEmptyObject(H)||W.append(H,append_callback);var K=this._mixpanel.persistence.load_queue(Ne);if(!he.isUndefined(K)&&he.isArray(K)&&K.length)for(var Q,remove_callback=function(C,T){0===C&&W._mixpanel.persistence._add_to_people_queue(Ne,Q),he.isUndefined(q)||q(C,T)},J=K.length-1;J>=0;J--)K=this._mixpanel.persistence.load_queue(Ne),Q=K.pop(),W._mixpanel.persistence.save(),he.isEmptyObject(Q)||W.remove(Q,remove_callback)},MixpanelPeople.prototype._is_reserved_property=function(C){return"$distinct_id"===C||"$token"===C||"$device_id"===C||"$user_id"===C||"$had_persisted_distinct_id"===C},MixpanelPeople.prototype.set=MixpanelPeople.prototype.set,MixpanelPeople.prototype.set_once=MixpanelPeople.prototype.set_once,MixpanelPeople.prototype.unset=MixpanelPeople.prototype.unset,MixpanelPeople.prototype.increment=MixpanelPeople.prototype.increment,MixpanelPeople.prototype.append=MixpanelPeople.prototype.append,MixpanelPeople.prototype.remove=MixpanelPeople.prototype.remove,MixpanelPeople.prototype.union=MixpanelPeople.prototype.union,MixpanelPeople.prototype.track_charge=MixpanelPeople.prototype.track_charge,MixpanelPeople.prototype.clear_charges=MixpanelPeople.prototype.clear_charges,MixpanelPeople.prototype.delete_user=MixpanelPeople.prototype.delete_user,MixpanelPeople.prototype.toString=MixpanelPeople.prototype.toString;var Ve,Le,Fe="__mps",qe="__mpso",ze="__mpus",We="__mpa",Ue="__mpap",He="__mpr",Ge="__mpu",Ke="$people_distinct_id",Qe="__alias",Je="__timers",Ye=[Fe,qe,ze,We,Ue,He,Ge,Ke,Qe,Je],MixpanelPersistence=function(C){this.props={},this.campaign_params_saved=!1,C.persistence_name?this.name="mp_"+C.persistence_name:this.name="mp_"+C.token+"_mixpanel";var T=C.persistence;"cookie"!==T&&"localStorage"!==T&&(ge.critical("Unknown persistence type "+T+"; falling back to cookie"),T=C.persistence="cookie"),"localStorage"===T&&he.localStorage.is_supported()?this.storage=he.localStorage:this.storage=he.cookie,this.load(),this.update_config(C),this.upgrade(C),this.save()};MixpanelPersistence.prototype.properties=function(){var C={};return this.load(),he.each(this.props,(function(T,B){he.include(Ye,B)||(C[B]=T)})),C},MixpanelPersistence.prototype.load=function(){if(!this.disabled){var C=this.storage.parse(this.name);C&&(this.props=he.extend({},C))}},MixpanelPersistence.prototype.upgrade=function(C){var T,B,$=C.upgrade;$&&(T="mp_super_properties","string"==typeof $&&(T=$),B=this.storage.parse(T),this.storage.remove(T),this.storage.remove(T,!0),B&&(this.props=he.extend(this.props,B.all,B.events))),C.cookie_name||"mixpanel"===C.name||(T="mp_"+C.token+"_"+C.name,(B=this.storage.parse(T))&&(this.storage.remove(T),this.storage.remove(T,!0),this.register_once(B))),this.storage===he.localStorage&&(B=he.cookie.parse(this.name),he.cookie.remove(this.name),he.cookie.remove(this.name,!0),B&&this.register_once(B))},MixpanelPersistence.prototype.save=function(){this.disabled||this.storage.set(this.name,he.JSONEncode(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},MixpanelPersistence.prototype.load_prop=function(C){return this.load(),this.props[C]},MixpanelPersistence.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},MixpanelPersistence.prototype.clear=function(){this.remove(),this.props={}},MixpanelPersistence.prototype.register_once=function(C,T,B){return!!he.isObject(C)&&(void 0===T&&(T="None"),this.expire_days=void 0===B?this.default_expiry:B,this.load(),he.each(C,(function(C,B){this.props.hasOwnProperty(B)&&this.props[B]!==T||(this.props[B]=C)}),this),this.save(),!0)},MixpanelPersistence.prototype.register=function(C,T){return!!he.isObject(C)&&(this.expire_days=void 0===T?this.default_expiry:T,this.load(),he.extend(this.props,C),this.save(),!0)},MixpanelPersistence.prototype.unregister=function(C){this.load(),C in this.props&&(delete this.props[C],this.save())},MixpanelPersistence.prototype.update_search_keyword=function(C){this.register(he.info.searchInfo(C))},MixpanelPersistence.prototype.update_referrer_info=function(C){this.register_once({$initial_referrer:C||"$direct",$initial_referring_domain:he.info.referringDomain(C)||"$direct"},"")},MixpanelPersistence.prototype.get_referrer_info=function(){return he.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},MixpanelPersistence.prototype.update_config=function(C){this.default_expiry=this.expire_days=C.cookie_expiration,this.set_disabled(C.disable_persistence),this.set_cookie_domain(C.cookie_domain),this.set_cross_site(C.cross_site_cookie),this.set_cross_subdomain(C.cross_subdomain_cookie),this.set_secure(C.secure_cookie)},MixpanelPersistence.prototype.set_disabled=function(C){this.disabled=C,this.disabled?this.remove():this.save()},MixpanelPersistence.prototype.set_cookie_domain=function(C){C!==this.cookie_domain&&(this.remove(),this.cookie_domain=C,this.save())},MixpanelPersistence.prototype.set_cross_site=function(C){C!==this.cross_site&&(this.cross_site=C,this.remove(),this.save())},MixpanelPersistence.prototype.set_cross_subdomain=function(C){C!==this.cross_subdomain&&(this.cross_subdomain=C,this.remove(),this.save())},MixpanelPersistence.prototype.get_cross_subdomain=function(){return this.cross_subdomain},MixpanelPersistence.prototype.set_secure=function(C){C!==this.secure&&(this.secure=!!C,this.remove(),this.save())},MixpanelPersistence.prototype._add_to_people_queue=function(C,T){var B=this._get_queue_key(C),$=T[C],V=this._get_or_create_queue(Me),L=this._get_or_create_queue(Ee),q=this._get_or_create_queue(je),W=this._get_or_create_queue(De),U=this._get_or_create_queue(Ae),H=this._get_or_create_queue(Ne,[]),G=this._get_or_create_queue(Be,[]);B===Fe?(he.extend(V,$),this._pop_from_people_queue(De,$),this._pop_from_people_queue(Ae,$),this._pop_from_people_queue(je,$)):B===qe?(he.each($,(function(C,T){T in L||(L[T]=C)})),this._pop_from_people_queue(je,$)):B===ze?he.each($,(function(C){he.each([V,L,W,U],(function(T){C in T&&delete T[C]})),he.each(G,(function(T){C in T&&delete T[C]})),q[C]=!0})):B===We?(he.each($,(function(C,T){T in V?V[T]+=C:(T in W||(W[T]=0),W[T]+=C)}),this),this._pop_from_people_queue(je,$)):B===Ge?(he.each($,(function(C,T){he.isArray(C)&&(T in U||(U[T]=[]),U[T]=U[T].concat(C))})),this._pop_from_people_queue(je,$)):B===He?(H.push($),this._pop_from_people_queue(Be,$)):B===Ue&&(G.push($),this._pop_from_people_queue(je,$)),ge.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),ge.log(T),this.save()},MixpanelPersistence.prototype._pop_from_people_queue=function(C,T){var B=this.props[this._get_queue_key(C)];he.isUndefined(B)||he.each(T,(function(T,$){C===Be||C===Ne?he.each(B,(function(C){C[$]===T&&delete C[$]})):delete B[$]}),this)},MixpanelPersistence.prototype.load_queue=function(C){return this.load_prop(this._get_queue_key(C))},MixpanelPersistence.prototype._get_queue_key=function(C){return C===Me?Fe:C===Ee?qe:C===je?ze:C===De?We:C===Be?Ue:C===Ne?He:C===Ae?Ge:void ge.error("Invalid queue:",C)},MixpanelPersistence.prototype._get_or_create_queue=function(C,T){var B=this._get_queue_key(C);return T=he.isUndefined(T)?{}:T,this.props[B]||(this.props[B]=T)},MixpanelPersistence.prototype.set_event_timer=function(C,T){var B=this.load_prop(Je)||{};B[C]=T,this.props[Je]=B,this.save()},MixpanelPersistence.prototype.remove_event_timer=function(C){var T=(this.load_prop(Je)||{})[C];return he.isUndefined(T)||(delete this.props[Je][C],this.save()),T};var IDENTITY_FUNC=function(C){return C},NOOP_FUNC=function(){},Xe="mixpanel",Ze="base64",et="$device:",tt=T.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,nt=!tt&&-1===se.indexOf("MSIE")&&-1===se.indexOf("Mozilla"),rt=null;ie.sendBeacon&&(rt=function(){return ie.sendBeacon.apply(ie,arguments)});var ot={track:"track/",engage:"engage/",groups:"groups/",record:"record/"},it={api_host:"https://api-js.mixpanel.com",api_routes:ot,api_method:"POST",api_transport:"XHR",api_payload_format:Ze,app_host:"https://mixpanel.com",cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:NOOP_FUNC,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:NOOP_FUNC,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_sessions_percent:0,record_idle_timeout_ms:18e5,record_max_ms:864e5,record_mask_text_selector:"*",recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"},at=!1,MixpanelLib=function(){},create_mplib=function(C,T,$){var V,L=$===Xe?Le:Le[$];if(L&&0===Ve)V=L;else{if(L&&!he.isArray(L))return void ge.error("You have already initialized "+$);V=new MixpanelLib}if(V._cached_groups={},V._init(C,T,$),V.people=new MixpanelPeople,V.people._init(V),!V.get_config("skip_first_touch_marketing")){var q=he.info.campaignParams(null),W={},U=!1;he.each(q,(function(C,T){W["initial_"+T]=C,C&&(U=!0)})),U&&V.people.set_once(W)}return B.DEBUG=B.DEBUG||V.get_config("debug"),!he.isUndefined(L)&&he.isArray(L)&&(V._execute_array.call(V.people,L.people),V._execute_array(L)),V};MixpanelLib.prototype.init=function(C,T,B){if(he.isUndefined(B))this.report_error("You must name your new library: init(token, config, name)");else{if(B!==Xe){var $=create_mplib(C,T,B);return Le[B]=$,$._loaded(),$}this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet")}},MixpanelLib.prototype._init=function(C,B,$){B=B||{},this.__loaded=!0,this.config={};var V={};"api_payload_format"in B||(B.api_host||it.api_host).match(/\.mixpanel\.com/)&&(V.api_payload_format="json");if(this.set_config(he.extend({},it,V,B,{name:$,token:C,callback_fn:($===Xe?$:Xe+"."+$)+"._jsc"})),this._jsc=NOOP_FUNC,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests)if(he.localStorage.is_supported(!0)&&tt){if(this.init_batchers(),rt&&T.addEventListener){var L=he.bind((function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})}),this);T.addEventListener("pagehide",(function(C){C.persisted&&L()})),T.addEventListener("visibilitychange",(function(){"hidden"===ae.visibilityState&&L()}))}}else this._batch_requests=!1,ge.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),he.each(this.get_batcher_configs(),(function(C){ge.log("Clearing batch queue "+C.queue_key),he.localStorage.remove(C.queue_key)}));this.persistence=this.cookie=new MixpanelPersistence(this.config),this.unpersisted_superprops={},this._gdpr_init();var q=he.UUID();this.get_distinct_id()||this.register_once({distinct_id:et+q,$device_id:q},"");var W=this.get_config("track_pageview");W&&this._init_url_change_tracking(W),this.get_config("record_sessions_percent")>0&&100*Math.random()<=this.get_config("record_sessions_percent")&&this.start_session_recording()},MixpanelLib.prototype.start_session_recording=addOptOutCheckMixpanelLib((function(){if(T.MutationObserver){var C=he.bind((function(){this._recorder=this._recorder||new T.__mp_recorder(this),this._recorder.startRecording()}),this);if(he.isUndefined(T.__mp_recorder)){var B=ae.createElement("script");B.type="text/javascript",B.async=!0,B.onload=C,B.src=this.get_config("recorder_src"),ae.head.appendChild(B)}else C()}else ge.critical("Browser does not support MutationObserver; skipping session recording")})),MixpanelLib.prototype.stop_session_recording=function(){this._recorder?this._recorder.stopRecording():ge.critical("Session recorder module not loaded")},MixpanelLib.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var C=he.info.campaignParams(null);he.each(C,function(C,T){this.unregister(T)}.bind(this))}},MixpanelLib.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(ae.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(he.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(ae.referrer)},MixpanelLib.prototype._dom_loaded=function(){he.each(this.__dom_loaded_queue,(function(C){this._track_dom.apply(this,C)}),this),this.has_opted_out_tracking()||he.each(this.__request_queue,(function(C){this._send_request.apply(this,C)}),this),delete this.__dom_loaded_queue,delete this.__request_queue},MixpanelLib.prototype._track_dom=function(C,T){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!at)return this.__dom_loaded_queue.push([C,T]),!1;var B=(new C).init(this);return B.track.apply(B,T)},MixpanelLib.prototype._init_url_change_tracking=function(C){var B="";if(this.track_pageview()&&(B=he.info.currentUrl()),he.include(["full-url","url-with-path-and-query-string","url-with-path"],C)){T.addEventListener("popstate",(function(){T.dispatchEvent(new Event("mp_locationchange"))})),T.addEventListener("hashchange",(function(){T.dispatchEvent(new Event("mp_locationchange"))}));var $=T.history.pushState;"function"==typeof $&&(T.history.pushState=function(C,B,V){$.call(T.history,C,B,V),T.dispatchEvent(new Event("mp_locationchange"))});var V=T.history.replaceState;"function"==typeof V&&(T.history.replaceState=function(C,B,$){V.call(T.history,C,B,$),T.dispatchEvent(new Event("mp_locationchange"))}),T.addEventListener("mp_locationchange",function(){var T=he.info.currentUrl(),$=!1;("full-url"===C?$=T!==B:"url-with-path-and-query-string"===C?$=T.split("#")[0]!==B.split("#")[0]:"url-with-path"===C&&($=T.split("#")[0].split("?")[0]!==B.split("#")[0].split("?")[0]),$)&&(this.track_pageview()&&(B=T))}.bind(this))}},MixpanelLib.prototype._prepare_callback=function(C,T){if(he.isUndefined(C))return null;if(tt){return function(B){C(B,T)}}var B=this._jsc,$=""+Math.floor(1e8*Math.random()),V=this.get_config("callback_fn")+"["+$+"]";return B[$]=function(V){delete B[$],C(V,T)},V},MixpanelLib.prototype._send_request=function(C,T,B,$){var V=!0;if(nt)return this.__request_queue.push(arguments),V;var L={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},q=null;$||!he.isFunction(B)&&"string"!=typeof B||($=B,B=null),B=he.extend(L,B||{}),tt||(B.method="GET");var W="POST"===B.method,U=rt&&W&&"sendbeacon"===B.transport.toLowerCase(),H=B.verbose;T.verbose&&(H=!0),this.get_config("test")&&(T.test=1),H&&(T.verbose=1),this.get_config("img")&&(T.img=1),tt||($?T.callback=$:(H||this.get_config("test"))&&(T.callback="(function(){})")),T.ip=this.get_config("ip")?1:0,T._=(new Date).getTime().toString(),W&&(q="data="+encodeURIComponent(T.data),delete T.data),C+="?"+he.HTTPBuildQuery(T);var G=this;if("img"in T){var K=ae.createElement("img");K.src=C,ae.body.appendChild(K)}else if(U){try{V=rt(C,q)}catch(C){G.report_error(C),V=!1}try{$&&$(V?1:0)}catch(C){G.report_error(C)}}else if(tt)try{var Q=new XMLHttpRequest;Q.open(B.method,C,!0);var J=this.get_config("xhr_headers");if(W&&(J["Content-Type"]="application/x-www-form-urlencoded"),he.each(J,(function(C,T){Q.setRequestHeader(T,C)})),B.timeout_ms&&void 0!==Q.timeout){Q.timeout=B.timeout_ms;var Y=(new Date).getTime()}Q.withCredentials=!0,Q.onreadystatechange=function(){var C;if(4===Q.readyState)if(200===Q.status){if($)if(H){var T;try{T=he.JSONDecode(Q.responseText)}catch(C){if(G.report_error(C),!B.ignore_json_errors)return;T=Q.responseText}$(T)}else $(Number(Q.responseText))}else C=Q.timeout&&!Q.status&&(new Date).getTime()-Y>=Q.timeout?"timeout":"Bad HTTP status: "+Q.status+" "+Q.statusText,G.report_error(C),$&&$(H?{status:0,error:C,xhr_req:Q}:0)},Q.send(q)}catch(C){G.report_error(C),V=!1}else{var X=ae.createElement("script");X.type="text/javascript",X.async=!0,X.defer=!0,X.src=C;var Z=ae.getElementsByTagName("script")[0];Z.parentNode.insertBefore(X,Z)}return V},MixpanelLib.prototype._execute_array=function(C){var T,B=[],$=[],V=[];he.each(C,(function(C){C&&(T=C[0],he.isArray(T)?V.push(C):"function"==typeof C?C.call(this):he.isArray(C)&&"alias"===T?B.push(C):he.isArray(C)&&-1!==T.indexOf("track")&&"function"==typeof this[T]?V.push(C):$.push(C))}),this);var execute=function(C,T){he.each(C,(function(C){if(he.isArray(C[0])){var B=T;he.each(C,(function(C){B=B[C[0]].apply(B,C.slice(1))}))}else this[C[0]].apply(this,C.slice(1))}),T)};execute(B,this),execute($,this),execute(V,this)},MixpanelLib.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},MixpanelLib.prototype.get_batcher_configs=function(){var C="__mpq_"+this.get_config("token"),T=this.get_config("api_routes");return this._batcher_configs=this._batcher_configs||{events:{type:"events",endpoint:"/"+T.track,queue_key:C+"_ev"},people:{type:"people",endpoint:"/"+T.engage,queue_key:C+"_pp"},groups:{type:"groups",endpoint:"/"+T.groups,queue_key:C+"_gr"}},this._batcher_configs},MixpanelLib.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var C=he.bind((function(C){return new RequestBatcher(C.queue_key,{libConfig:this.config,sendRequestFunc:he.bind((function(T,B,$){this._send_request(this.get_config("api_host")+C.endpoint,this._encode_data_for_request(T),B,this._prepare_callback($,T))}),this),beforeSendHook:he.bind((function(T){return this._run_hook("before_send_"+C.type,T)}),this),errorReporter:this.get_config("error_reporter"),stopAllBatchingFunc:he.bind(this.stop_batch_senders,this)})}),this),T=this.get_batcher_configs();this.request_batchers={events:C(T.events),people:C(T.people),groups:C(T.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()},MixpanelLib.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,he.each(this.request_batchers,(function(C){C.start()})))},MixpanelLib.prototype.stop_batch_senders=function(){this._batch_requests=!1,he.each(this.request_batchers,(function(C){C.stop(),C.clear()}))},MixpanelLib.prototype.push=function(C){this._execute_array([C])},MixpanelLib.prototype.disable=function(C){void 0===C?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(C)},MixpanelLib.prototype._encode_data_for_request=function(C){var T=he.JSONEncode(C);return this.get_config("api_payload_format")===Ze&&(T=he.base64Encode(T)),{data:T}},MixpanelLib.prototype._track_or_batch=function(C,T){var B=he.truncate(C.data,255),$=C.endpoint,V=C.batcher,L=C.should_send_immediately,q=C.send_request_options||{};T=T||NOOP_FUNC;var W=!0,U=he.bind((function(){return q.skip_hooks||(B=this._run_hook("before_send_"+C.type,B)),B?(ge.log("MIXPANEL REQUEST:"),ge.log(B),this._send_request($,this._encode_data_for_request(B),q,this._prepare_callback(T,B))):null}),this);return this._batch_requests&&!L?V.enqueue(B,(function(C){C?T(1,B):U()})):W=U(),W&&B},MixpanelLib.prototype.track=addOptOutCheckMixpanelLib((function(C,T,B,$){$||"function"!=typeof B||($=B,B=null);var V=(B=B||{}).transport;V&&(B.transport=V);var L=B.send_immediately;if("function"!=typeof $&&($=NOOP_FUNC),he.isUndefined(C))this.report_error("No event name provided to mixpanel.track");else{if(!this._event_is_disabled(C)){(T=he.extend({},T)).token=this.get_config("token");var q=this.persistence.remove_event_timer(C);if(!he.isUndefined(q)){var W=(new Date).getTime()-q;T.$duration=parseFloat((W/1e3).toFixed(3))}this._set_default_superprops();var U=this.get_config("track_marketing")?he.info.marketingParams():{};if(this._recorder){var H=this._recorder.replayId;H&&(T.$mp_replay_id=H)}T=he.extend({},he.info.properties({mp_loader:this.get_config("mp_loader")}),U,this.persistence.properties(),this.unpersisted_superprops,T);var G=this.get_config("property_blacklist");he.isArray(G)?he.each(G,(function(C){delete T[C]})):this.report_error("Invalid value for property_blacklist config: "+G);var K={event:C,properties:T};return this._track_or_batch({type:"events",data:K,endpoint:this.get_config("api_host")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:L,send_request_options:B},$)}$(0)}})),MixpanelLib.prototype.set_group=addOptOutCheckMixpanelLib((function(C,T,B){he.isArray(T)||(T=[T]);var $={};return $[C]=T,this.register($),this.people.set(C,T,B)})),MixpanelLib.prototype.add_group=addOptOutCheckMixpanelLib((function(C,T,B){var $=this.get_property(C),V={};return void 0===$?(V[C]=[T],this.register(V)):-1===$.indexOf(T)&&($.push(T),V[C]=$,this.register(V)),this.people.union(C,T,B)})),MixpanelLib.prototype.remove_group=addOptOutCheckMixpanelLib((function(C,T,B){var $=this.get_property(C);if(void 0!==$){var V=$.indexOf(T);V>-1&&($.splice(V,1),this.register({group_key:$})),0===$.length&&this.unregister(C)}return this.people.remove(C,T,B)})),MixpanelLib.prototype.track_with_groups=addOptOutCheckMixpanelLib((function(C,T,B,$){var V=he.extend({},T||{});return he.each(B,(function(C,T){null!=C&&(V[T]=C)})),this.track(C,V,$)})),MixpanelLib.prototype._create_map_key=function(C,T){return C+"_"+JSON.stringify(T)},MixpanelLib.prototype._remove_group_from_cache=function(C,T){delete this._cached_groups[this._create_map_key(C,T)]},MixpanelLib.prototype.get_group=function(C,T){var B=this._create_map_key(C,T),$=this._cached_groups[B];return void 0!==$&&$._group_key===C&&$._group_id===T||(($=new MixpanelGroup)._init(this,C,T),this._cached_groups[B]=$),$},MixpanelLib.prototype.track_pageview=addOptOutCheckMixpanelLib((function(C,T){"object"!=typeof C&&(C={});var B=(T=T||{}).event_name||"$mp_web_page_view",$=he.extend(he.info.mpPageViewProperties(),he.info.campaignParams(),he.info.clickParams()),V=he.extend({},$,C);return this.track(B,V)})),MixpanelLib.prototype.track_links=function(){return this._track_dom.call(this,LinkTracker,arguments)},MixpanelLib.prototype.track_forms=function(){return this._track_dom.call(this,FormTracker,arguments)},MixpanelLib.prototype.time_event=function(C){he.isUndefined(C)?this.report_error("No event name provided to mixpanel.time_event"):this._event_is_disabled(C)||this.persistence.set_event_timer(C,(new Date).getTime())};var lt={persistent:!0},options_for_register=function(C){var T;return T=he.isObject(C)?C:he.isUndefined(C)?{}:{days:C},he.extend({},lt,T)};MixpanelLib.prototype.register=function(C,T){var B=options_for_register(T);B.persistent?this.persistence.register(C,B.days):he.extend(this.unpersisted_superprops,C)},MixpanelLib.prototype.register_once=function(C,T,B){var $=options_for_register(B);$.persistent?this.persistence.register_once(C,T,$.days):(void 0===T&&(T="None"),he.each(C,(function(C,B){this.unpersisted_superprops.hasOwnProperty(B)&&this.unpersisted_superprops[B]!==T||(this.unpersisted_superprops[B]=C)}),this))},MixpanelLib.prototype.unregister=function(C,T){(T=options_for_register(T)).persistent?this.persistence.unregister(C):delete this.unpersisted_superprops[C]},MixpanelLib.prototype._register_single=function(C,T){var B={};B[C]=T,this.register(B)},MixpanelLib.prototype.identify=function(C,T,B,$,V,L,q,W){var U=this.get_distinct_id();if(C&&U!==C){if("string"==typeof C&&0===C.indexOf(et))return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:C})}if(!this.get_property("$device_id")){var H=U;this.register_once({$had_persisted_distinct_id:!0,$device_id:H},"")}C!==U&&C!==this.get_property(Qe)&&(this.unregister(Qe),this.register({distinct_id:C})),this._flags.identify_called=!0,this.people._flush(T,B,$,V,L,q,W),C!==U&&this.track("$identify",{distinct_id:C,$anon_distinct_id:U},{skip_hooks:!0})},MixpanelLib.prototype.reset=function(){this.persistence.clear(),this._flags.identify_called=!1;var C=he.UUID();this.register_once({distinct_id:et+C,$device_id:C},"")},MixpanelLib.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},MixpanelLib.prototype.alias=function(C,T){if(C===this.get_property(Ke))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var B=this;return he.isUndefined(T)&&(T=this.get_distinct_id()),C!==T?(this._register_single(Qe,C),this.track("$create_alias",{alias:C,distinct_id:T},{skip_hooks:!0},(function(){B.identify(C)}))):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(C),-1)},MixpanelLib.prototype.name_tag=function(C){this._register_single("mp_name_tag",C)},MixpanelLib.prototype.set_config=function(C){he.isObject(C)&&(he.extend(this.config,C),C.batch_size&&he.each(this.request_batchers,(function(C){C.resetBatchSize()})),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),B.DEBUG=B.DEBUG||this.get_config("debug"))},MixpanelLib.prototype.get_config=function(C){return this.config[C]},MixpanelLib.prototype._run_hook=function(C){var T=(this.config.hooks[C]||IDENTITY_FUNC).apply(this,te.call(arguments,1));return void 0===T&&(this.report_error(C+" hook did not return a value"),T=null),T},MixpanelLib.prototype.get_property=function(C){return this.persistence.load_prop([C])},MixpanelLib.prototype.toString=function(){var C=this.get_config("name");return C!==Xe&&(C=Xe+"."+C),C},MixpanelLib.prototype._event_is_disabled=function(C){return he.isBlockedUA(se)||this._flags.disable_all_events||he.include(this.__disabled_events,C)},MixpanelLib.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&he.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):this.has_opted_in_tracking()||!this.get_config("opt_out_tracking_by_default")&&!he.cookie.get("mp_optout")||(he.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},MixpanelLib.prototype._gdpr_update_persistence=function(C){var T;if(C&&C.clear_persistence)T=!0;else{if(!C||!C.enable_persistence)return;T=!1}this.get_config("disable_persistence")||this.persistence.disabled===T||this.persistence.set_disabled(T),T?this.stop_batch_senders():this._batchers_were_started&&this.start_batch_senders()},MixpanelLib.prototype._gdpr_call_func=function(C,T){return T=he.extend({track:he.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},T),he.localStorage.is_supported()||(T.persistence_type="cookie"),C(this.get_config("token"),{track:T.track,trackEventName:T.track_event_name,trackProperties:T.track_properties,persistenceType:T.persistence_type,persistencePrefix:T.cookie_prefix,cookieDomain:T.cookie_domain,cookieExpiration:T.cookie_expiration,crossSiteCookie:T.cross_site_cookie,crossSubdomainCookie:T.cross_subdomain_cookie,secureCookie:T.secure_cookie,ignoreDnt:T.ignore_dnt})},MixpanelLib.prototype.opt_in_tracking=function(C){C=he.extend({enable_persistence:!0},C),this._gdpr_call_func(optIn,C),this._gdpr_update_persistence(C)},MixpanelLib.prototype.opt_out_tracking=function(C){(C=he.extend({clear_persistence:!0,delete_user:!0},C)).delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(optOut,C),this._gdpr_update_persistence(C)},MixpanelLib.prototype.has_opted_in_tracking=function(C){return this._gdpr_call_func(hasOptedIn,C)},MixpanelLib.prototype.has_opted_out_tracking=function(C){return this._gdpr_call_func(hasOptedOut,C)},MixpanelLib.prototype.clear_opt_in_out_tracking=function(C){C=he.extend({enable_persistence:!0},C),this._gdpr_call_func(clearOptInOut,C),this._gdpr_update_persistence(C)},MixpanelLib.prototype.report_error=function(C,T){ge.error.apply(ge.error,arguments);try{T||C instanceof Error||(C=new Error(C)),this.get_config("error_reporter")(C,T)}catch(T){ge.error(T)}},MixpanelLib.prototype.init=MixpanelLib.prototype.init,MixpanelLib.prototype.reset=MixpanelLib.prototype.reset,MixpanelLib.prototype.disable=MixpanelLib.prototype.disable,MixpanelLib.prototype.time_event=MixpanelLib.prototype.time_event,MixpanelLib.prototype.track=MixpanelLib.prototype.track,MixpanelLib.prototype.track_links=MixpanelLib.prototype.track_links,MixpanelLib.prototype.track_forms=MixpanelLib.prototype.track_forms,MixpanelLib.prototype.track_pageview=MixpanelLib.prototype.track_pageview,MixpanelLib.prototype.register=MixpanelLib.prototype.register,MixpanelLib.prototype.register_once=MixpanelLib.prototype.register_once,MixpanelLib.prototype.unregister=MixpanelLib.prototype.unregister,MixpanelLib.prototype.identify=MixpanelLib.prototype.identify,MixpanelLib.prototype.alias=MixpanelLib.prototype.alias,MixpanelLib.prototype.name_tag=MixpanelLib.prototype.name_tag,MixpanelLib.prototype.set_config=MixpanelLib.prototype.set_config,MixpanelLib.prototype.get_config=MixpanelLib.prototype.get_config,MixpanelLib.prototype.get_property=MixpanelLib.prototype.get_property,MixpanelLib.prototype.get_distinct_id=MixpanelLib.prototype.get_distinct_id,MixpanelLib.prototype.toString=MixpanelLib.prototype.toString,MixpanelLib.prototype.opt_out_tracking=MixpanelLib.prototype.opt_out_tracking,MixpanelLib.prototype.opt_in_tracking=MixpanelLib.prototype.opt_in_tracking,MixpanelLib.prototype.has_opted_out_tracking=MixpanelLib.prototype.has_opted_out_tracking,MixpanelLib.prototype.has_opted_in_tracking=MixpanelLib.prototype.has_opted_in_tracking,MixpanelLib.prototype.clear_opt_in_out_tracking=MixpanelLib.prototype.clear_opt_in_out_tracking,MixpanelLib.prototype.get_group=MixpanelLib.prototype.get_group,MixpanelLib.prototype.set_group=MixpanelLib.prototype.set_group,MixpanelLib.prototype.add_group=MixpanelLib.prototype.add_group,MixpanelLib.prototype.remove_group=MixpanelLib.prototype.remove_group,MixpanelLib.prototype.track_with_groups=MixpanelLib.prototype.track_with_groups,MixpanelLib.prototype.start_batch_senders=MixpanelLib.prototype.start_batch_senders,MixpanelLib.prototype.stop_batch_senders=MixpanelLib.prototype.stop_batch_senders,MixpanelLib.prototype.start_session_recording=MixpanelLib.prototype.start_session_recording,MixpanelLib.prototype.stop_session_recording=MixpanelLib.prototype.stop_session_recording,MixpanelLib.prototype.DEFAULT_API_ROUTES=ot,MixpanelPersistence.prototype.properties=MixpanelPersistence.prototype.properties,MixpanelPersistence.prototype.update_search_keyword=MixpanelPersistence.prototype.update_search_keyword,MixpanelPersistence.prototype.update_referrer_info=MixpanelPersistence.prototype.update_referrer_info,MixpanelPersistence.prototype.get_cross_subdomain=MixpanelPersistence.prototype.get_cross_subdomain,MixpanelPersistence.prototype.clear=MixpanelPersistence.prototype.clear;var ut={},override_mp_init_func=function(){Le.init=function(C,B,$){if($)return Le[$]||(Le[$]=ut[$]=create_mplib(C,B,$),Le[$]._loaded()),Le[$];var V=Le;ut[Xe]?V=ut[Xe]:C&&((V=create_mplib(C,B,Xe))._loaded(),ut[Xe]=V),Le=V,1===Ve&&(T[Xe]=Le),he.each(ut,(function(C,T){T!==Xe&&(Le[T]=C)})),Le._=he}};var st=function init_as_module(){return Ve=0,Le=new MixpanelLib,override_mp_init_func(),Le.init(),function(){function dom_loaded_handler(){dom_loaded_handler.done||(dom_loaded_handler.done=!0,at=!0,nt=!1,he.each(ut,(function(C){C._dom_loaded()})))}if(ae.addEventListener)"complete"===ae.readyState?dom_loaded_handler():ae.addEventListener("DOMContentLoaded",dom_loaded_handler,!1);else if(ae.attachEvent){ae.attachEvent("onreadystatechange",dom_loaded_handler);var C=!1;try{C=null===T.frameElement}catch(C){}ae.documentElement.doScroll&&C&&function do_scroll_check(){try{ae.documentElement.doScroll("left")}catch(C){return void setTimeout(do_scroll_check,1)}dom_loaded_handler()}()}he.register_event(T,"load",dom_loaded_handler,!0)}(),Le}();C.exports=st},58772:(C,T,B)=>{"use strict";var $=B(90331);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,C.exports=function(){function shim(C,T,B,V,L,q){if(q!==$){var W=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw W.name="Invariant Violation",W}}function getShim(){return shim}shim.isRequired=shim;var C={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return C.PropTypes=C,C}},23615:(C,T,B)=>{C.exports=B(58772)()},90331:C=>{"use strict";C.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},37634:(C,T,B)=>{"use strict";var $=B(61533);T.createRoot=$.createRoot,T.hydrateRoot=$.hydrateRoot},87363:C=>{"use strict";C.exports=React},61533:C=>{"use strict";C.exports=ReactDOM},38003:C=>{"use strict";C.exports=wp.i18n},98106:C=>{C.exports=function _arrayLikeToArray(C,T){(null==T||T>C.length)&&(T=C.length);for(var B=0,$=new Array(T);B<T;B++)$[B]=C[B];return $},C.exports.__esModule=!0,C.exports.default=C.exports},17358:C=>{C.exports=function _arrayWithHoles(C){if(Array.isArray(C))return C},C.exports.__esModule=!0,C.exports.default=C.exports},34102:(C,T,B)=>{var $=B(98106);C.exports=function _arrayWithoutHoles(C){if(Array.isArray(C))return $(C)},C.exports.__esModule=!0,C.exports.default=C.exports},57374:C=>{C.exports=function _assertClassBrand(C,T,B){if("function"==typeof C?C===T:C.has(T))return arguments.length<3?T:B;throw new TypeError("Private element is not present on this object")},C.exports.__esModule=!0,C.exports.default=C.exports},77266:C=>{C.exports=function _assertThisInitialized(C){if(void 0===C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C},C.exports.__esModule=!0,C.exports.default=C.exports},10029:C=>{function asyncGeneratorStep(C,T,B,$,V,L,q){try{var W=C[L](q),U=W.value}catch(C){return void B(C)}W.done?T(U):Promise.resolve(U).then($,V)}C.exports=function _asyncToGenerator(C){return function(){var T=this,B=arguments;return new Promise((function($,V){var L=C.apply(T,B);function _next(C){asyncGeneratorStep(L,$,V,_next,_throw,"next",C)}function _throw(C){asyncGeneratorStep(L,$,V,_next,_throw,"throw",C)}_next(void 0)}))}},C.exports.__esModule=!0,C.exports.default=C.exports},21594:C=>{C.exports=function _classApplyDescriptorGet(C,T){return T.get?T.get.call(C):T.value},C.exports.__esModule=!0,C.exports.default=C.exports},20218:C=>{C.exports=function _classApplyDescriptorSet(C,T,B){if(T.set)T.set.call(C,B);else{if(!T.writable)throw new TypeError("attempted to set read only private field");T.value=B}},C.exports.__esModule=!0,C.exports.default=C.exports},78983:C=>{C.exports=function _classCallCheck(C,T){if(!(C instanceof T))throw new TypeError("Cannot call a class as a function")},C.exports.__esModule=!0,C.exports.default=C.exports},42538:(C,T,B)=>{var $=B(21594),V=B(28665);C.exports=function _classPrivateFieldGet(C,T){var B=V(T,C);return $(C,B)},C.exports.__esModule=!0,C.exports.default=C.exports},28665:(C,T,B)=>{var $=B(57374);C.exports=function _classPrivateFieldGet2(C,T){return C.get($(C,T))},C.exports.__esModule=!0,C.exports.default=C.exports},48427:(C,T,B)=>{var $=B(20218),V=B(28665);C.exports=function _classPrivateFieldSet(C,T,B){var L=V(T,C);return $(C,L,B),B},C.exports.__esModule=!0,C.exports.default=C.exports},76824:(C,T,B)=>{var $=B(96196),V=B(14161);C.exports=function _construct(C,T,B){if(V())return Reflect.construct.apply(null,arguments);var L=[null];L.push.apply(L,T);var q=new(C.bind.apply(C,L));return B&&$(q,B.prototype),q},C.exports.__esModule=!0,C.exports.default=C.exports},42081:(C,T,B)=>{var $=B(74040);function _defineProperties(C,T){for(var B=0;B<T.length;B++){var V=T[B];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(C,$(V.key),V)}}C.exports=function _createClass(C,T,B){return T&&_defineProperties(C.prototype,T),B&&_defineProperties(C,B),Object.defineProperty(C,"prototype",{writable:!1}),C},C.exports.__esModule=!0,C.exports.default=C.exports},93231:(C,T,B)=>{var $=B(74040);C.exports=function _defineProperty(C,T,B){return(T=$(T))in C?Object.defineProperty(C,T,{value:B,enumerable:!0,configurable:!0,writable:!0}):C[T]=B,C},C.exports.__esModule=!0,C.exports.default=C.exports},73119:C=>{function _extends(){return C.exports=_extends=Object.assign?Object.assign.bind():function(C){for(var T=1;T<arguments.length;T++){var B=arguments[T];for(var $ in B)Object.prototype.hasOwnProperty.call(B,$)&&(C[$]=B[$])}return C},C.exports.__esModule=!0,C.exports.default=C.exports,_extends.apply(this,arguments)}C.exports=_extends,C.exports.__esModule=!0,C.exports.default=C.exports},51121:(C,T,B)=>{var $=B(79443);function _get(){return"undefined"!=typeof Reflect&&Reflect.get?(C.exports=_get=Reflect.get.bind(),C.exports.__esModule=!0,C.exports.default=C.exports):(C.exports=_get=function _get(C,T,B){var V=$(C,T);if(V){var L=Object.getOwnPropertyDescriptor(V,T);return L.get?L.get.call(arguments.length<3?C:B):L.value}},C.exports.__esModule=!0,C.exports.default=C.exports),_get.apply(this,arguments)}C.exports=_get,C.exports.__esModule=!0,C.exports.default=C.exports},74910:C=>{function _getPrototypeOf(T){return C.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(C){return C.__proto__||Object.getPrototypeOf(C)},C.exports.__esModule=!0,C.exports.default=C.exports,_getPrototypeOf(T)}C.exports=_getPrototypeOf,C.exports.__esModule=!0,C.exports.default=C.exports},58724:(C,T,B)=>{var $=B(96196);C.exports=function _inherits(C,T){if("function"!=typeof T&&null!==T)throw new TypeError("Super expression must either be null or a function");C.prototype=Object.create(T&&T.prototype,{constructor:{value:C,writable:!0,configurable:!0}}),Object.defineProperty(C,"prototype",{writable:!1}),T&&$(C,T)},C.exports.__esModule=!0,C.exports.default=C.exports},73203:C=>{C.exports=function _interopRequireDefault(C){return C&&C.__esModule?C:{default:C}},C.exports.__esModule=!0,C.exports.default=C.exports},94346:C=>{C.exports=function _isNativeFunction(C){try{return-1!==Function.toString.call(C).indexOf("[native code]")}catch(T){return"function"==typeof C}},C.exports.__esModule=!0,C.exports.default=C.exports},14161:C=>{function _isNativeReflectConstruct(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(T){}return(C.exports=_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!T},C.exports.__esModule=!0,C.exports.default=C.exports)()}C.exports=_isNativeReflectConstruct,C.exports.__esModule=!0,C.exports.default=C.exports},68:C=>{C.exports=function _iterableToArray(C){if("undefined"!=typeof Symbol&&null!=C[Symbol.iterator]||null!=C["@@iterator"])return Array.from(C)},C.exports.__esModule=!0,C.exports.default=C.exports},40608:C=>{C.exports=function _iterableToArrayLimit(C,T){var B=null==C?null:"undefined"!=typeof Symbol&&C[Symbol.iterator]||C["@@iterator"];if(null!=B){var $,V,L,q,W=[],U=!0,H=!1;try{if(L=(B=B.call(C)).next,0===T){if(Object(B)!==B)return;U=!1}else for(;!(U=($=L.call(B)).done)&&(W.push($.value),W.length!==T);U=!0);}catch(C){H=!0,V=C}finally{try{if(!U&&null!=B.return&&(q=B.return(),Object(q)!==q))return}finally{if(H)throw V}}return W}},C.exports.__esModule=!0,C.exports.default=C.exports},56894:C=>{C.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},C.exports.__esModule=!0,C.exports.default=C.exports},91282:C=>{C.exports=function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},C.exports.__esModule=!0,C.exports.default=C.exports},71173:(C,T,B)=>{var $=B(7501).default,V=B(77266);C.exports=function _possibleConstructorReturn(C,T){if(T&&("object"===$(T)||"function"==typeof T))return T;if(void 0!==T)throw new TypeError("Derived constructors may only return object or undefined");return V(C)},C.exports.__esModule=!0,C.exports.default=C.exports},21337:(C,T,B)=>{var $=B(7501).default;function _regeneratorRuntime(){"use strict";C.exports=_regeneratorRuntime=function _regeneratorRuntime(){return B},C.exports.__esModule=!0,C.exports.default=C.exports;var T,B={},V=Object.prototype,L=V.hasOwnProperty,q=Object.defineProperty||function(C,T,B){C[T]=B.value},W="function"==typeof Symbol?Symbol:{},U=W.iterator||"@@iterator",H=W.asyncIterator||"@@asyncIterator",G=W.toStringTag||"@@toStringTag";function define(C,T,B){return Object.defineProperty(C,T,{value:B,enumerable:!0,configurable:!0,writable:!0}),C[T]}try{define({},"")}catch(T){define=function define(C,T,B){return C[T]=B}}function wrap(C,T,B,$){var V=T&&T.prototype instanceof Generator?T:Generator,L=Object.create(V.prototype),W=new Context($||[]);return q(L,"_invoke",{value:makeInvokeMethod(C,B,W)}),L}function tryCatch(C,T,B){try{return{type:"normal",arg:C.call(T,B)}}catch(C){return{type:"throw",arg:C}}}B.wrap=wrap;var K="suspendedStart",Q="suspendedYield",J="executing",Y="completed",X={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var Z={};define(Z,U,(function(){return this}));var ee=Object.getPrototypeOf,te=ee&&ee(ee(values([])));te&&te!==V&&L.call(te,U)&&(Z=te);var ne=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(Z);function defineIteratorMethods(C){["next","throw","return"].forEach((function(T){define(C,T,(function(C){return this._invoke(T,C)}))}))}function AsyncIterator(C,T){function invoke(B,V,q,W){var U=tryCatch(C[B],C,V);if("throw"!==U.type){var H=U.arg,G=H.value;return G&&"object"==$(G)&&L.call(G,"__await")?T.resolve(G.__await).then((function(C){invoke("next",C,q,W)}),(function(C){invoke("throw",C,q,W)})):T.resolve(G).then((function(C){H.value=C,q(H)}),(function(C){return invoke("throw",C,q,W)}))}W(U.arg)}var B;q(this,"_invoke",{value:function value(C,$){function callInvokeWithMethodAndArg(){return new T((function(T,B){invoke(C,$,T,B)}))}return B=B?B.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(C,B,$){var V=K;return function(L,q){if(V===J)throw new Error("Generator is already running");if(V===Y){if("throw"===L)throw q;return{value:T,done:!0}}for($.method=L,$.arg=q;;){var W=$.delegate;if(W){var U=maybeInvokeDelegate(W,$);if(U){if(U===X)continue;return U}}if("next"===$.method)$.sent=$._sent=$.arg;else if("throw"===$.method){if(V===K)throw V=Y,$.arg;$.dispatchException($.arg)}else"return"===$.method&&$.abrupt("return",$.arg);V=J;var H=tryCatch(C,B,$);if("normal"===H.type){if(V=$.done?Y:Q,H.arg===X)continue;return{value:H.arg,done:$.done}}"throw"===H.type&&(V=Y,$.method="throw",$.arg=H.arg)}}}function maybeInvokeDelegate(C,B){var $=B.method,V=C.iterator[$];if(V===T)return B.delegate=null,"throw"===$&&C.iterator.return&&(B.method="return",B.arg=T,maybeInvokeDelegate(C,B),"throw"===B.method)||"return"!==$&&(B.method="throw",B.arg=new TypeError("The iterator does not provide a '"+$+"' method")),X;var L=tryCatch(V,C.iterator,B.arg);if("throw"===L.type)return B.method="throw",B.arg=L.arg,B.delegate=null,X;var q=L.arg;return q?q.done?(B[C.resultName]=q.value,B.next=C.nextLoc,"return"!==B.method&&(B.method="next",B.arg=T),B.delegate=null,X):q:(B.method="throw",B.arg=new TypeError("iterator result is not an object"),B.delegate=null,X)}function pushTryEntry(C){var T={tryLoc:C[0]};1 in C&&(T.catchLoc=C[1]),2 in C&&(T.finallyLoc=C[2],T.afterLoc=C[3]),this.tryEntries.push(T)}function resetTryEntry(C){var T=C.completion||{};T.type="normal",delete T.arg,C.completion=T}function Context(C){this.tryEntries=[{tryLoc:"root"}],C.forEach(pushTryEntry,this),this.reset(!0)}function values(C){if(C||""===C){var B=C[U];if(B)return B.call(C);if("function"==typeof C.next)return C;if(!isNaN(C.length)){var V=-1,q=function next(){for(;++V<C.length;)if(L.call(C,V))return next.value=C[V],next.done=!1,next;return next.value=T,next.done=!0,next};return q.next=q}}throw new TypeError($(C)+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,q(ne,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),q(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,G,"GeneratorFunction"),B.isGeneratorFunction=function(C){var T="function"==typeof C&&C.constructor;return!!T&&(T===GeneratorFunction||"GeneratorFunction"===(T.displayName||T.name))},B.mark=function(C){return Object.setPrototypeOf?Object.setPrototypeOf(C,GeneratorFunctionPrototype):(C.__proto__=GeneratorFunctionPrototype,define(C,G,"GeneratorFunction")),C.prototype=Object.create(ne),C},B.awrap=function(C){return{__await:C}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,H,(function(){return this})),B.AsyncIterator=AsyncIterator,B.async=function(C,T,$,V,L){void 0===L&&(L=Promise);var q=new AsyncIterator(wrap(C,T,$,V),L);return B.isGeneratorFunction(T)?q:q.next().then((function(C){return C.done?C.value:q.next()}))},defineIteratorMethods(ne),define(ne,G,"Generator"),define(ne,U,(function(){return this})),define(ne,"toString",(function(){return"[object Generator]"})),B.keys=function(C){var T=Object(C),B=[];for(var $ in T)B.push($);return B.reverse(),function next(){for(;B.length;){var C=B.pop();if(C in T)return next.value=C,next.done=!1,next}return next.done=!0,next}},B.values=values,Context.prototype={constructor:Context,reset:function reset(C){if(this.prev=0,this.next=0,this.sent=this._sent=T,this.done=!1,this.delegate=null,this.method="next",this.arg=T,this.tryEntries.forEach(resetTryEntry),!C)for(var B in this)"t"===B.charAt(0)&&L.call(this,B)&&!isNaN(+B.slice(1))&&(this[B]=T)},stop:function stop(){this.done=!0;var C=this.tryEntries[0].completion;if("throw"===C.type)throw C.arg;return this.rval},dispatchException:function dispatchException(C){if(this.done)throw C;var B=this;function handle($,V){return q.type="throw",q.arg=C,B.next=$,V&&(B.method="next",B.arg=T),!!V}for(var $=this.tryEntries.length-1;$>=0;--$){var V=this.tryEntries[$],q=V.completion;if("root"===V.tryLoc)return handle("end");if(V.tryLoc<=this.prev){var W=L.call(V,"catchLoc"),U=L.call(V,"finallyLoc");if(W&&U){if(this.prev<V.catchLoc)return handle(V.catchLoc,!0);if(this.prev<V.finallyLoc)return handle(V.finallyLoc)}else if(W){if(this.prev<V.catchLoc)return handle(V.catchLoc,!0)}else{if(!U)throw new Error("try statement without catch or finally");if(this.prev<V.finallyLoc)return handle(V.finallyLoc)}}}},abrupt:function abrupt(C,T){for(var B=this.tryEntries.length-1;B>=0;--B){var $=this.tryEntries[B];if($.tryLoc<=this.prev&&L.call($,"finallyLoc")&&this.prev<$.finallyLoc){var V=$;break}}V&&("break"===C||"continue"===C)&&V.tryLoc<=T&&T<=V.finallyLoc&&(V=null);var q=V?V.completion:{};return q.type=C,q.arg=T,V?(this.method="next",this.next=V.finallyLoc,X):this.complete(q)},complete:function complete(C,T){if("throw"===C.type)throw C.arg;return"break"===C.type||"continue"===C.type?this.next=C.arg:"return"===C.type?(this.rval=this.arg=C.arg,this.method="return",this.next="end"):"normal"===C.type&&T&&(this.next=T),X},finish:function finish(C){for(var T=this.tryEntries.length-1;T>=0;--T){var B=this.tryEntries[T];if(B.finallyLoc===C)return this.complete(B.completion,B.afterLoc),resetTryEntry(B),X}},catch:function _catch(C){for(var T=this.tryEntries.length-1;T>=0;--T){var B=this.tryEntries[T];if(B.tryLoc===C){var $=B.completion;if("throw"===$.type){var V=$.arg;resetTryEntry(B)}return V}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(C,B,$){return this.delegate={iterator:values(C),resultName:B,nextLoc:$},"next"===this.method&&(this.arg=T),X}},B}C.exports=_regeneratorRuntime,C.exports.__esModule=!0,C.exports.default=C.exports},96196:C=>{function _setPrototypeOf(T,B){return C.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(C,T){return C.__proto__=T,C},C.exports.__esModule=!0,C.exports.default=C.exports,_setPrototypeOf(T,B)}C.exports=_setPrototypeOf,C.exports.__esModule=!0,C.exports.default=C.exports},40131:(C,T,B)=>{var $=B(17358),V=B(40608),L=B(35068),q=B(56894);C.exports=function _slicedToArray(C,T){return $(C)||V(C,T)||L(C,T)||q()},C.exports.__esModule=!0,C.exports.default=C.exports},79443:(C,T,B)=>{var $=B(74910);C.exports=function _superPropBase(C,T){for(;!Object.prototype.hasOwnProperty.call(C,T)&&null!==(C=$(C)););return C},C.exports.__esModule=!0,C.exports.default=C.exports},9833:(C,T,B)=>{var $=B(34102),V=B(68),L=B(35068),q=B(91282);C.exports=function _toConsumableArray(C){return $(C)||V(C)||L(C)||q()},C.exports.__esModule=!0,C.exports.default=C.exports},56027:(C,T,B)=>{var $=B(7501).default;C.exports=function toPrimitive(C,T){if("object"!=$(C)||!C)return C;var B=C[Symbol.toPrimitive];if(void 0!==B){var V=B.call(C,T||"default");if("object"!=$(V))return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===T?String:Number)(C)},C.exports.__esModule=!0,C.exports.default=C.exports},74040:(C,T,B)=>{var $=B(7501).default,V=B(56027);C.exports=function toPropertyKey(C){var T=V(C,"string");return"symbol"==$(T)?T:String(T)},C.exports.__esModule=!0,C.exports.default=C.exports},7501:C=>{function _typeof(T){return C.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(C){return typeof C}:function(C){return C&&"function"==typeof Symbol&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},C.exports.__esModule=!0,C.exports.default=C.exports,_typeof(T)}C.exports=_typeof,C.exports.__esModule=!0,C.exports.default=C.exports},35068:(C,T,B)=>{var $=B(98106);C.exports=function _unsupportedIterableToArray(C,T){if(C){if("string"==typeof C)return $(C,T);var B=Object.prototype.toString.call(C).slice(8,-1);return"Object"===B&&C.constructor&&(B=C.constructor.name),"Map"===B||"Set"===B?Array.from(C):"Arguments"===B||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B)?$(C,T):void 0}},C.exports.__esModule=!0,C.exports.default=C.exports},19952:(C,T,B)=>{var $=B(74910),V=B(96196),L=B(94346),q=B(76824);function _wrapNativeSuper(T){var B="function"==typeof Map?new Map:void 0;return C.exports=_wrapNativeSuper=function _wrapNativeSuper(C){if(null===C||!L(C))return C;if("function"!=typeof C)throw new TypeError("Super expression must either be null or a function");if(void 0!==B){if(B.has(C))return B.get(C);B.set(C,Wrapper)}function Wrapper(){return q(C,arguments,$(this).constructor)}return Wrapper.prototype=Object.create(C.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),V(Wrapper,C)},C.exports.__esModule=!0,C.exports.default=C.exports,_wrapNativeSuper(T)}C.exports=_wrapNativeSuper,C.exports.__esModule=!0,C.exports.default=C.exports},50824:(C,T,B)=>{var $=B(21337)();C.exports=$;try{regeneratorRuntime=$}catch(C){"object"==typeof globalThis?globalThis.regeneratorRuntime=$:Function("r","regeneratorRuntime = r")($)}}},T={};function __webpack_require__(B){var $=T[B];if(void 0!==$)return $.exports;var V=T[B]={exports:{}};return C[B].call(V.exports,V,V.exports,__webpack_require__),V.exports}__webpack_require__.d=(C,T)=>{for(var B in T)__webpack_require__.o(T,B)&&!__webpack_require__.o(C,B)&&Object.defineProperty(C,B,{enumerable:!0,get:T[B]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(C){if("object"==typeof window)return window}}(),__webpack_require__.o=(C,T)=>Object.prototype.hasOwnProperty.call(C,T),__webpack_require__.r=C=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})};(()=>{"use strict";var C;(C=jQuery).fn.elementorSerializeObject=function(){var T=this.serializeArray(),B={},$=function parseObject(C,T,B){var $=/^[^\[\]]+\[]/.test(T),V=/^[^\[\]]+\[[^\[\]]+]/.test(T),L=T.replace(/\[.*/,"");if($)C[L]||(C[L]=[]);else{if(!V)return void(C.push?C.push(B):C[L]=B);C[L]||(C[L]={})}var q=T.match(/\[[^\[\]]*]/g);return q[0]=q[0].replace(/\[|]/g,""),parseObject(C[L],q.join(""),B)};return C.each(T,(function(){$(B,this.name,this.value)})),B}})(),(()=>{"use strict";var C,T,B;C=jQuery,T=function hasFullDataTransferSupport(C){try{return C.originalEvent.dataTransfer.setData("test","test"),C.originalEvent.dataTransfer.clearData("test"),!0}catch(C){return!1}},B={html5Draggable:function Draggable(B){var $=this,V={},L={},q={element:"",groups:null,onDragStart:null,onDragEnd:null},W=function onDragEnd(C){"function"==typeof V.onDragEnd&&V.onDragEnd.call(L.$element,C,$)},U=function onDragStart(C){var B={groups:V.groups||[]};T(C)&&C.originalEvent.dataTransfer.setData(JSON.stringify(B),!0),"function"==typeof V.onDragStart&&V.onDragStart.call(L.$element,C,$)};this.destroy=function(){L.$element.off("dragstart",U),L.$element.removeAttr("draggable")},function init(){!function initSettings(){C.extend(!0,V,q,B)}(),function initElementsCache(){L.$element=C(V.element)}(),function buildElements(){L.$element.attr("draggable",!0)}(),function attachEvents(){L.$element.on("dragstart",U).on("dragend",W)}()}()},html5Droppable:function Droppable(B){var $,V,L=this,q={},W={},U=!1,H={element:"",items:">",horizontalThreshold:0,horizontalSensitivity:"10%",axis:["vertical","horizontal"],placeholder:!0,currentElementClass:"html5dnd-current-element",placeholderClass:"html5dnd-placeholder",hasDraggingOnChildClass:"html5dnd-has-dragging-on-child",groups:null,isDroppingAllowed:null,onDragEnter:null,onDragging:null,onDropping:null,onDragLeave:null},G=function hasVerticalDetection(){return-1!==q.axis.indexOf("vertical")},K=function checkHorizontal(C,T,B){var V;if(!function hasHorizontalDetection(){return-1!==q.axis.indexOf("horizontal")}())return!1;if(!G()){var L=q.horizontalThreshold,W=$.getBoundingClientRect(),U=W.left,H=W.right;return T-L<=U?"left":T+L>=H||C>B/2?"right":"left"}return!!(V=q.horizontalSensitivity.match(/\d+/))&&(V=V[0],/%$/.test(q.horizontalSensitivity)&&(V=B/V),C>B-V?"right":C<V&&"left")},Q=function setSide(T){var B=C($),L=B.outerHeight()-W.$placeholder.outerHeight(),q=B.outerWidth();if(T=T.originalEvent,!(V=K(T.offsetX,T.clientX,q)))if(G()){var U=$.getBoundingClientRect();V=T.clientY>U.top+L/2?"bottom":"top"}else V=null},J=function insertPlaceholder(){var T;if(q.placeholder){var B=C($),L=B.parents(".e-grid.e-con--row").length,U=B.hasClass("elementor-first-add");if(null===(T=B.closest(".e-con").parent().closest(".e-con").find(".elementor-widget-placeholder"))||void 0===T||T.remove(),L&&W.$placeholder.removeClass("e-dragging-left e-dragging-right"),!L||U){var H=B.parents(".e-con--row").length,G=B.hasClass("e-con-inner");if(!H||U){var K="top"===V?"prependTo":"appendTo";W.$placeholder[K]($)}else{var Q=["bottom","right"].includes(V)?"after":"before";(G?B.closest(".e-con"):B)[Q](W.$placeholder)}}else{var J=["bottom","right"].includes(V)?"appendTo":"prependTo";W.$placeholder.addClass("e-dragging-"+V)[J]($)}}},Y=function onDragEnter(B){if(B.stopPropagation(),!$){$=this;var H=W.$element.parents(),G=W.$element.children();G.find("."+q.currentElementClass).removeClass(q.currentElementClass),H.add(G).each((function(){var T=C(this).data("html5Droppable");T&&T.doDragLeave()})),Q(B),$e.internal("editor/browser-import/validate",{input:B.originalEvent.dataTransfer.items}).then((function(H){U=function isDroppingAllowed(C){var B,W,U;return!(q.groups&&T(C)&&(B=C.originalEvent.dataTransfer.types,U=!1,(B=Array.prototype.slice.apply(B)).forEach((function(C){try{if(!(W=JSON.parse(C)).groups.slice)return;q.groups.forEach((function(C){if(-1!==W.groups.indexOf(C))return U=!0,!1}))}catch(C){}})),!U)||"function"==typeof q.isDroppingAllowed&&!q.isDroppingAllowed.call($,V,C,L))}(B)||H,U&&(J(),W.$element.addClass(q.hasDraggingOnChildClass),C($).addClass(q.currentElementClass),"function"==typeof q.onDragEnter&&q.onDragEnter.call($,V,B,L))}))}},X=function onDragOver(C){C.stopPropagation(),$||Y.call(this,C);var T=V;Q(C),U&&(C.preventDefault(),T!==V&&J(),"function"==typeof q.onDragging&&q.onDragging.call(this,V,C,L))},Z=function onDragLeave(T){var B=this.getBoundingClientRect();("dragleave"!==T.type||T.clientX<B.left||T.clientX>=B.right||T.clientY<B.top||T.clientY>=B.bottom)&&(C($).removeClass(q.currentElementClass),L.doDragLeave(),U=!1)},ee=function onDrop(C){C.preventDefault(),Q(C),U&&q.onDropping&&q.onDropping(V,C)};this.doDragLeave=function(){q.placeholder&&W.$placeholder.remove(),W.$element.removeClass(q.hasDraggingOnChildClass),"function"==typeof q.onDragLeave&&q.onDragLeave.call($,event,L),$=V=null},this.destroy=function(){W.$element.off("dragenter",q.items,Y).off("dragover",q.items,X).off("drop",q.items,ee).off("dragleave drop",q.items,Z)},function init(){!function initSettings(){C.extend(q,H,B)}(),function initElementsCache(){W.$element=C(q.element),W.$placeholder=C("<div>",{class:q.placeholderClass})}(),function attachEvents(){W.$element.on("dragenter",q.items,Y).on("dragover",q.items,X).on("drop",q.items,ee).on("dragleave drop",q.items,Z)}()}()}},C.each(B,(function(T,B){C.fn[T]=function($){return $=$||{},this.each((function(){var V=C.data(this,T);V instanceof B?"destroy"===$&&(V.destroy(),C.removeData(this,T)):"destroy"!==$&&($.element=this,C.data(this,T,new B($)))})),this}}))})(),(()=>{"use strict";var C=__webpack_require__(73203);var T=C(__webpack_require__(78983)),B=C(__webpack_require__(42081)),$=C(__webpack_require__(51121)),V=C(__webpack_require__(58724)),L=C(__webpack_require__(71173)),q=C(__webpack_require__(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,L.default)(this,B)}}var W=function(C){(0,V.default)(Editor,C);var L=_createSuper(Editor);function Editor(){return(0,T.default)(this,Editor),L.apply(this,arguments)}return(0,B.default)(Editor,[{key:"onStart",value:function onStart(C){NProgress.start(),NProgress.inc(.2),(0,$.default)((0,q.default)(Editor.prototype),"onStart",this).call(this,C)}},{key:"onPreviewLoaded",value:function onPreviewLoaded(){NProgress.done(),(0,$.default)((0,q.default)(Editor.prototype),"onPreviewLoaded",this).call(this)}}]),Editor}(C(__webpack_require__(41351)).default);window.elementor=new W})()})();