/*! For license information please see editor.min.js.LICENSE.txt */
(()=>{var r={4:r=>{"use strict";r.exports=Marionette.ItemView.extend({template:"#tmpl-elementor-template-library-header-back",id:"elementor-template-library-header-preview-back",events:{"click .elementor-template-library-header-back-button":"onClick"},onClick:function onClick(){$e.routes.restoreState("library")}})},133:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var p=c(u(61790)),m=c(u(58155)),v=c(u(39805)),g=c(u(40989)),h=c(u(15118)),y=c(u(29402)),C=c(u(87861)),b=c(u(85707)),w=c(u(36881)),k=c(u(12466)),S=c(u(95115)),R=c(u(23083)),P=c(u(23862));function _createForOfIteratorHelper(r,l){var u="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray(r,l){if(r){if("string"==typeof r)return _arrayLikeToArray(r,l);var u={}.toString.call(r).slice(8,-1);return"Object"===u&&r.constructor&&(u=r.constructor.name),"Map"===u||"Set"===u?Array.from(r):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?_arrayLikeToArray(r,l):void 0}}(r))||l&&r&&"number"==typeof r.length){u&&(r=u);var c=0,p=function F(){};return{s:p,n:function n(){return c>=r.length?{done:!0}:{done:!1,value:r[c++]}},e:function e(r){throw r},f:p}}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 m,v=!0,g=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return v=r.done,r},e:function e(r){g=!0,m=r},f:function f(){try{v||null==u.return||u.return()}finally{if(g)throw m}}}}function _arrayLikeToArray(r,l){(null==l||l>r.length)&&(l=r.length);for(var u=0,c=Array(l);u0&&void 0!==arguments[0]?arguments[0]:{},u=_createForOfIteratorHelper(l.readers||{});try{for(u.s();!(r=u.n()).done;){var c,p,m=r.value;(null===(c=null===(p=m.isActive)||void 0===p?void 0:p.call(m))||void 0===c||c)&&this.registerFileReader(m)}}catch(r){u.e(r)}finally{u.f()}var v,g=_createForOfIteratorHelper(l.parsers||{});try{for(g.s();!(v=g.n()).done;){var h=v.value;this.registerFileParser(h)}}catch(r){g.e(r)}finally{g.f()}}},{key:"createSession",value:(x=(0,m.default)(p.default.mark(function _callee(r,l){var u,c=arguments;return p.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(u=c.length>2&&void 0!==c[2]?c[2]:{},r instanceof S.default){p.next=2;break}return p.next=1,this.getNormalizer().normalize(r);case 1:r=p.sent;case 2:return p.abrupt("return",new P.default(this,r,l,u));case 3:case"end":return p.stop()}},_callee,this)})),function createSession(r,l){return x.apply(this,arguments)})},{key:"registerFileReader",value:function registerFileReader(r){this.readers[r.getName()]=r}},{key:"registerFileParser",value:function registerFileParser(r){var l,u=_createForOfIteratorHelper(r.getReaders());try{for(u.s();!(l=u.n()).done;){var c=l.value;this.readers[c]&&(this.parsers[c]||(this.parsers[c]={}),this.parsers[c][r.getName()]=r)}}catch(r){u.e(r)}finally{u.f()}}},{key:"getReaderOf",value:(c=(0,m.default)(p.default.mark(function _callee2(r){var l,u,c,m,v,g,h,y=arguments;return p.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:l=y.length>1&&void 0!==y[1]&&y[1],u=r.getFile(),c=r.getReader(),m=this.getReaders(c),v=0,g=Object.values(m);case 1:if(!(v1&&void 0!==y[1]&&y[1],p.next=1,this.getReaderOf(r,!0);case 1:if(u=p.sent,c=r.getParser(),!u){p.next=5;break}m=this.getParsers(u.constructor.getName(),c),v=0,g=Object.values(m);case 2:if(!(v0&&void 0!==arguments[0]?arguments[0]:[];return(l=Array.isArray(l)?l:[l]).length?Object.fromEntries(l.filter(function(l){return l in r.readers}).map(function(l){return[l,r.readers[l]]})):this.readers}},{key:"getParsers",value:function getParsers(r){var l=this,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(u=Array.isArray(u)?u:[u]).length?Object.fromEntries(u.filter(function(u){return u in l.parsers[r]}).map(function(u){return[u,l.parsers[r][u]]})):this.parsers[r]||{}}}]);var l,u,c,x}(elementorModules.editor.utils.Module)},174:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}l.default=function(r){function CreateBase(){return(0,p.default)(this,CreateBase),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,CreateBase,arguments)}return(0,h.default)(CreateBase,r),(0,m.default)(CreateBase,[{key:"validateArgs",value:function validateArgs(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.requireContainer(r),this.requireArgumentType("setting","string",r),this.requireArgumentType("title","string",r)}}])}($e.modules.editor.CommandContainerBase)},273:(r,l,u)=>{"use strict";var c,p=u(96784),m=p(u(10564)),v=p(u(18821));c=u(35741).extend({applySavedValue:function applySavedValue(){var r=this.getControlValue(),l=this.$("[data-setting]"),u=this;_.each(r,function(r,c){var p=l.filter(function(){return c===this.dataset.setting});u.setInputValue(p,r)})},getControlValue:function getControlValue(r){var l=this.container.settings.get(this.model.get("name"));if(!jQuery.isPlainObject(l))return{};if(r){var u=l[r];return void 0===u&&(u=""),u}return elementorCommon.helpers.cloneObject(l)},getCleanControlValue:function getCleanControlValue(r){var l=this,u=Object.fromEntries(Object.entries(this.getControlValue()).filter(function(r){var u=(0,v.default)(r,2),c=u[0],p=u[1];return p&&l.model.get("default")[c]!==p}));return r?null==u?void 0:u[r]:Object.keys(u).length?u:void 0},setValue:function setValue(r,l){var u=this.getControlValue();"object"===(0,m.default)(r)?_.each(r,function(r,l){u[l]=r}):u[r]=l,this.setSettingsModel(u)},updateElementModel:function updateElementModel(r,l){var u=l.dataset.setting;this.setValue(u,r)}},{getStyleValue:function getStyleValue(r,l){return _.isObject(l)?l[r.toLowerCase()]:""}}),r.exports=c},390:r=>{"use strict";var l,u;l=jQuery,(u=function Stylesheet(){var r=this,c={},p={},m={},v=function hashToQuery(r){var l={};return(r=r.split("-").filter(String)).forEach(function(r){var u=r.split(/_(.+)/),c=u[0],p=u[1];l[c]="max"===c?m[p]:elementorFrontend.breakpoints.getDeviceMinBreakpoint(p)}),l};this.addDevice=function(l,u){m[l]=u;var c=Object.keys(m);if(c.length<2)return r;c.sort(function(r,l){return m[r]-m[l]});var p={};return c.forEach(function(r){p[r]=m[r]}),m=p,r},this.addRawCSS=function(r,l){p[r]=l},this.addRules=function(u,p,m){var g="all";if(_.isEmpty(m)||(g=function queryToHash(r){var u=[];return l.each(r,function(r){u.push(r+"_"+this)}),u.join("-")}(m)),c[g]||function addQueryHash(r){c[r]={};var l=Object.keys(c);if(!(l.length<2)){l.sort(function(r,l){var u,c;if("all"===r)return-1;if("all"===l)return 1;var p=v(r),m=v(l);if(p.max&&m.max)return m.max-p.max;if(p.min&&m.min)return m.min-p.min;var g=null!==(u=p.max)&&void 0!==u?u:p.min;return(null!==(c=m.max)&&void 0!==c?c:m.min)-g});var u={};l.forEach(function(r){u[r]=c[r]}),c=u}}(g),p){if(c[g][u]||(c[g][u]={}),"string"==typeof p){p=p.split(";").filter(String);var h={};try{l.each(p,function(){var r=this.split(/:(.*)?/);h[r[0].trim()]=r[1].trim().replace(";","")})}catch(r){return}p=h}return l.extend(c[g][u],p),r}var y=u.match(/[^{]+\{[^}]+}/g);l.each(y,function(){var l=this.match(/([^{]+)\{([^}]+)}/);l&&r.addRules(l[1].trim(),l[2].trim(),m)})},this.getRules=function(){return c},this.empty=function(){c={},p={}},this.toString=function(){var r="";return l.each(c,function(c){var p=u.parseRules(this);"all"!==c&&(p=function getQueryHashStyleFormat(r){var u=v(r),c=[];return l.each(u,function(r){c.push("("+r+"-width:"+this+"px)")}),"@media"+c.join(" and ")}(c)+"{"+p+"}"),r+=p}),l.each(p,function(){r+=this}),r}}).parseRules=function(r){var c="";return l.each(r,function(r){var l=u.parseProperties(this);l&&(c+=r+"{"+l+"}")}),c},u.parseProperties=function(r){var u="";return l.each(r,function(r){this&&(u+=r+":"+this+";")}),u},r.exports=u},505:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}l.default=function(r){function _default(){return(0,p.default)(this,_default),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,_default,arguments)}return(0,h.default)(_default,r),(0,m.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")}}])}(Marionette.ItemView)},641:(r,l,u)=>{"use strict";var c=u(96784)(u(10564)),p=function Module(){var r,l=jQuery,u=arguments,p=this,m={};this.getItems=function(r,l){if(l){var u=l.split("."),c=u.splice(0,1);if(!u.length)return r[c];if(!r[c])return;return this.getItems(r[c],u.join("."))}return r},this.getSettings=function(l){return this.getItems(r,l)},this.setSettings=function(u,m,v){if(v||(v=r),"object"===(0,c.default)(u))return l.extend(v,u),p;var g=u.split("."),h=g.splice(0,1);return g.length?(v[h]||(v[h]={}),p.setSettings(g.join("."),m,v[h])):(v[h]=m,p)},this.getErrorMessage=function(r,l){var u;if("forceMethodImplementation"===r)u="The method '".concat(l,"' must to be implemented in the inheritor child.");else u="An error occurs";return u},this.forceMethodImplementation=function(r){throw new Error(this.getErrorMessage("forceMethodImplementation",r))},this.on=function(r,u){return"object"===(0,c.default)(r)?(l.each(r,function(r){p.on(r,this)}),p):(r.split(" ").forEach(function(r){m[r]||(m[r]=[]),m[r].push(u)}),p)},this.off=function(r,l){if(!m[r])return p;if(!l)return delete m[r],p;var u=m[r].indexOf(l);return-1!==u&&(delete m[r][u],m[r]=m[r].filter(function(r){return r})),p},this.trigger=function(r){var u="on"+r[0].toUpperCase()+r.slice(1),c=Array.prototype.slice.call(arguments,1);p[u]&&p[u].apply(p,c);var v=m[r];return v?(l.each(v,function(r,l){l.apply(p,c)}),p):p},function init(){p.__construct.apply(p,u),function ensureClosureMethods(){l.each(p,function(r){var l=p[r];"function"==typeof l&&(p[r]=function(){return l.apply(p,arguments)})})}(),function initSettings(){r=p.getDefaultSettings();var c=u[0];c&&l.extend(!0,r,c)}(),p.trigger("init")}()};p.prototype.__construct=function(){},p.prototype.getDefaultSettings=function(){return{}},p.prototype.getConstructorID=function(){return this.constructor.name},p.extend=function(r){var l=jQuery,u=this,c=function child(){return u.apply(this,arguments)};return l.extend(c,u),(c.prototype=Object.create(l.extend({},u.prototype,r))).constructor=c,c.__super__=u.prototype,c},r.exports=p},679:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.Disable=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861)),y=c(u(79249));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var C=l.Disable=function(r){function Disable(){return(0,p.default)(this,Disable),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,Disable,arguments)}return(0,h.default)(Disable,r),(0,m.default)(Disable,[{key:"apply",value:function apply(r){var l=r.settings,u=r.containers;(void 0===u?[r.container]:u).forEach(function(r){r=r.lookup(),Object.keys(l).forEach(function(l){r.dynamic.unset(l)}),$e.internal("document/elements/set-settings",{container:r,settings:{__dynamic__:r.dynamic.toJSON()}})})}}])}(y.default);l.default=C},923:(r,l,u)=>{"use strict";var c=u(12470).__,p=u(12470).sprintf,m=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;m(u(64537));var v=m(u(39805)),g=m(u(40989)),h=m(u(15118)),y=m(u(29402)),C=m(u(41621)),b=m(u(87861)),w=m(u(64560));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}l.default=function(r){function _default(){return(0,v.default)(this,_default),function _callSuper(r,l,u){return l=(0,y.default)(l),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,y.default)(r).constructor):l.apply(r,u))}(this,_default,arguments)}return(0,b.default)(_default,r),(0,g.default)(_default,[{key:"ui",value:function ui(){var ui=function _superPropGet(r,l,u,c){var p=(0,C.default)((0,y.default)(1&c?r.prototype:r),l,u);return 2&c&&"function"==typeof p?function(r){return p.apply(u,r)}:p}(_default,"ui",this,3)([]);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(r){var l="color"===r.model.get("type"),u="popover_toggle"===r.model.get("type"),m=r.$el.find(".elementor-control-input-wrapper"),v="",g="";if(l&&(this.$colorValue=jQuery("",{class:"e-global-colors__color-value elementor-control-unit-3"}),m.prepend(this.getRemoveButton(),this.$colorValue).prepend(this.ui.sortButton),v="color",g=c("Color","elementor"),this.updateColorValue()),u&&(m.append(this.getRemoveButton()).append(this.ui.sortButton),v="font",g=c("Font","elementor")),l||u){var h=this.getDisabledRemoveButtons();this.ui.removeButton.data("e-global-type",v),this.ui.removeButton.tipsy({title:function title(){return p(c("Delete Global %s","elementor"),g)},gravity:function gravity(){return"s"}}),h.tipsy({title:function title(){return p(c("System %s can't be deleted","elementor"),g)},gravity:function gravity(){return"s"}})}}},{key:"onModelChange",value:function onModelChange(r){void 0!==r.changed.color&&this.updateColorValue()}},{key:"onRemoveButtonClick",value:function onRemoveButtonClick(){var r=this,l=this.ui.removeButton.data("e-global-type"),u=c("font"===l?"Font":"Color","elementor"),m=c("font"===l?"font":"color","elementor"),v=p(c("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"),u,m);this.confirmDeleteModal=elementorCommon.dialogsManager.createWidget("confirm",{className:"e-global__confirm-delete",headerMessage:p(c("Delete Global %s","elementor"),u),message:'
'+v,strings:{confirm:c("Delete","elementor"),cancel:c("Cancel","elementor")},hide:{onBackgroundClick:!1},onConfirm:function onConfirm(){r.trigger("click:remove")}}),this.confirmDeleteModal.show()}},{key:"onRemoveButtonPress",value:function onRemoveButtonPress(r){13!==r.keyCode&&32!==r.keyCode||(r.currentTarget.click(),r.stopPropagation())}}])}(w.default)},1116:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861)),y=c(u(85707)),C=c(u(65145)),b=c(u(2355));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var w=function(r){function FavoritesModule(){var r;return(0,p.default)(this,FavoritesModule),r=function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,FavoritesModule),(0,y.default)(r,"types",{}),[b.default].forEach(function(l){return r.register(l)}),r}return(0,h.default)(FavoritesModule,r),(0,m.default)(FavoritesModule,[{key:"onElementorLoaded",value:function onElementorLoaded(){this.component=$e.components.register(new C.default({manager:this}))}},{key:"typeInstance",value:function typeInstance(r){if(void 0===this.types[r])throw new Error("Type '".concat(r,"' is not found"));return this.types[r]}},{key:"register",value:function register(r){var l=new r;this.types[l.getName()]=l}}])}(elementorModules.editor.utils.Module);l.default=w},1130:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.CopyAll=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var y=l.CopyAll=function(r){function CopyAll(){return(0,p.default)(this,CopyAll),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,CopyAll,arguments)}return(0,h.default)(CopyAll,r),(0,m.default)(CopyAll,[{key:"apply",value:function apply(){$e.run("document/elements/copy",{containers:Object.values(elementor.getPreviewView().children._views).map(function(r){return r.getContainer()})})}}])}($e.modules.CommandBase);l.default=y},1132:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.Image=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861)),y=c(u(36160));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}l.Image=function(r){function Image(){return(0,p.default)(this,Image),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,Image,arguments)}return(0,h.default)(Image,r),(0,m.default)(Image,null,[{key:"getName",value:function getName(){return"image"}},{key:"mimeTypes",get:function get(){return["image\\/\\w+"]}}])}(y.default)},1683:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.FontVariables=void 0;var p=c(u(18821)),m=c(u(39805)),v=c(u(40989));l.FontVariables=function(){return(0,v.default)(function FontVariables(){(0,m.default)(this,FontVariables),this.init()},[{key:"init",value:function init(){var r=this;$e.routes.on("run:after",function(l,u,c){"panel/editor"===l.getNamespace()&&r.onTypographyControlOpen(c)}),$e.commands.on("run:after",function(l,u,c){"document/elements/settings"===u&&r.onControlChanged(c)})}},{key:"onTypographyControlOpen",value:function onTypographyControlOpen(r){var l=this;if(null!=r&&r.activeControl){var u=elementor.getPanelView().getCurrentPageView(),c=u.collection.find(function(l){return r.activeControl===l.get("name")&&"typography"===l.get("groupType")});if(c){var m=c.get("groupPrefix"),v=u.collection.filter(function(r){return m===r.get("groupPrefix")}),g=v.find(function(r){return m===r.get("groupPrefix")&&"font"===r.get("type")}),h=g.get("name"),y=elementor.getCurrentElement().model.get("settings").get(h);if(y){var C=this.getFontOptions(y);if(C)for(var b=function _loop(){var r=(0,p.default)(k[w],2),u=r[0],c=r[1],m=g.get("groupPrefix")+u;if(!v.find(function(r){return m===r.get("name")}))return 1;l.applyFontVariableRange([],m,c)},w=0,k=Object.entries(C);w
{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.SwitchToActiveDocument=void 0;var p=c(u(61790)),m=c(u(58155)),v=c(u(39805)),g=c(u(40989)),h=c(u(15118)),y=c(u(29402)),C=c(u(87861)),b=c(u(85707)),w=u(21299);function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var k=l.SwitchToActiveDocument=function(r){function SwitchToActiveDocument(){return(0,v.default)(this,SwitchToActiveDocument),function _callSuper(r,l,u){return l=(0,y.default)(l),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,y.default)(r).constructor):l.apply(r,u))}(this,SwitchToActiveDocument,arguments)}return(0,C.default)(SwitchToActiveDocument,r),(0,g.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:(l=(0,m.default)(p.default.mark(function _callee(){var r,l;return p.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(this.constructor.calledOnce=!0,r=parseInt((0,w.getQueryParam)("active-document")),l=r===elementor.documents.getCurrentId(),!isNaN(r)&&!l){u.next=1;break}return u.abrupt("return");case 1:return u.prev=1,u.next=2,$e.run("editor/documents/switch",{id:r,mode:"autosave"});case 2:u.next=4;break;case 3:u.prev=3,u.catch(1),$e.run("editor/documents/switch",{id:elementor.config.initial_document.id,mode:"autosave"}),(0,w.removeQueryParam)("active-document");case 4:case"end":return u.stop()}},_callee,this,[[1,3]])})),function apply(){return l.apply(this,arguments)})}]);var l}($e.modules.hookUI.After);(0,b.default)(k,"calledOnce",!1);l.default=k},2248:(r,l,u)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"FooterSaverAfterSave",{enumerable:!0,get:function get(){return c.FooterSaverAfterSave}}),Object.defineProperty(l,"FooterSaverBeforeSave",{enumerable:!0,get:function get(){return p.FooterSaverBeforeSave}}),Object.defineProperty(l,"FooterSaverCatchSave",{enumerable:!0,get:function get(){return m.FooterSaverCatchSave}});var c=u(84618),p=u(66705),m=u(10363)},2355:(r,l,u)=>{"use strict";var c=u(12470).__,p=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var m=p(u(39805)),v=p(u(40989)),g=p(u(15118)),h=p(u(29402)),y=p(u(87861)),C=p(u(98637)),b=p(u(74828));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}l.default=function(r){function Widgets(){var r;return(0,m.default)(this,Widgets),r=function _callSuper(r,l,u){return l=(0,h.default)(l),(0,g.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,h.default)(r).constructor):l.apply(r,u))}(this,Widgets),elementor.hooks.addFilter("panel/category/behaviors",r.addCategoryBehavior.bind(r)),elementor.hooks.addFilter("panel/element/contextMenuGroups",r.addContextMenuGroups.bind(r)),r}return(0,y.default)(Widgets,r),(0,v.default)(Widgets,[{key:"getName",value:function getName(){return"widgets"}},{key:"create",value:function create(r){var l=this.getWidgetCache(r);if(void 0!==l){l.categories.push(this.getCategorySlug());var u=$e.data.create("favorites/index",{},{type:this.getName(),favorite:r});return this.refreshCategories(),u}return!1}},{key:"delete",value:function _delete(r){var l=this.getWidgetCache(r);if(void 0!==l){l.categories.splice(l.categories.indexOf(this.getCategorySlug()),1);var u=$e.data.delete("favorites/index",{type:this.getName(),favorite:r});return this.refreshCategories(),u}return!1}},{key:"toggle",value:function toggle(r){if(void 0!==this.getWidgetCache(r)){var l={type:this.getName(),favorite:r};return this.isFavorite(r)?$e.run("favorites/delete",l):$e.run("favorites/create",l)}return!1}},{key:"isFavorite",value:function isFavorite(r){var l=this.getWidgetCache(r);return void 0!==l&&l.categories.includes(this.getCategorySlug())}},{key:"getCategorySlug",value:function getCategorySlug(){return"favorites"}},{key:"addCategoryBehavior",value:function addCategoryBehavior(r){return Object.assign({},r,{favoriteWidgets:{behaviorClass:b.default}})}},{key:"addContextMenuGroups",value:function addContextMenuGroups(r,l){var u=this,p=l.options.model.get("widgetType")||l.options.model.get("elType");return r.concat([{name:"favorite-toggle",actions:[{name:"toggle",icon:this.isFavorite(p)?"eicon-heart-o":"eicon-heart",title:this.isFavorite(p)?c("Remove from Favorites","elementor"):c("Add to Favorites","elementor"),callback:function callback(){u.toggle(p),u.isFavorite(p)&&elementor.notifications.showToast({message:c("Added","elementor")})}}]}])}},{key:"refreshCategories",value:function refreshCategories(){var r=elementor.getPanelView().perfectScrollbar.element,l=r.scrollTop,u=r.scrollHeight;$e.route("panel/elements/categories",{refresh:!0,onAfter:function onAfter(){r.scrollTop=l+(r.scrollHeight-u)}})}},{key:"getWidgetCache",value:function getWidgetCache(r){return elementor.widgetsCache[r]}}])}(C.default)},2477:r=>{"use strict";r.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()}}})},2799:(r,l,u)=>{"use strict";var c=u(12470).__,p=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var m=p(u(39805)),v=p(u(40989)),g=p(u(4692)),h=p(u(53839)),y=p(u(96789)),C=p(u(72805));l.default=function(){return(0,v.default)(function Manager(){(0,m.default)(this,Manager),elementorCommon.elements.$window.on("elementor:loaded",this.init)},[{key:"init",value:function init(){$e.components.register(new g.default),$e.components.register(new h.default),$e.components.register(new y.default),elementor.on("panel:init",function(){elementor.getPanelView().addPage("historyPage",{view:C.default,title:c("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}}])}()},3231:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var p=c(u(39805)),m=c(u(40989));l.default=function(){return(0,m.default)(function BaseStorage(r){if((0,p.default)(this,BaseStorage),BaseStorage===(this instanceof BaseStorage?this.constructor:void 0))throw new TypeError("Cannot construct BaseStorage instances directly");this.provider=r},[{key:"clear",value:function clear(){return this.provider.clear()}},{key:"getItem",value:function getItem(r){var l=this.provider.getItem(r);return null!==l?JSON.parse(l):l}},{key:"key",value:function key(r){return this.provider.key(r)}},{key:"removeItem",value:function removeItem(r){return this.provider.removeItem(r)}},{key:"setItem",value:function setItem(r,l){return this.provider.setItem(r,JSON.stringify(l))}},{key:"getAll",value:function getAll(){var r=this,l=Object.keys(this.provider),u={};return l.forEach(function(l){u[l]=r.getItem(l)}),u}}])}()},3596:(r,l,u)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var c=u(54212);l.default=Marionette.CompositeView.extend({id:"elementor-panel-revisions",template:"#tmpl-elementor-panel-revisions",childView:u(41218),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(r){this.document=r.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(r){var l=this;this.document.revisions.getRevisionDataAsync(r.model.get("id"),{success:function success(u){var p=(0,c.filterUnknownElements)(u);l.document.config.panel.has_elements&&l.document.revisions.setEditorData(p.elements),elementor.settings.page.model.set(p.settings),l.setRevisionsButtonsActive(!0),r.$el.removeClass("elementor-revision-item-loading"),l.enterReviewMode()},error:function error(u){r.$el.removeClass("elementor-revision-item-loading"),l.currentPreviewItem=null,l.currentPreviewId=null,alert(u)}})},setRevisionsButtonsActive:function setRevisionsButtonsActive(r){this.isDestroyed||this.ui.apply.add(this.ui.discard).prop("disabled",!r)},deleteRevision:function deleteRevision(r){var l=this;r.$el.addClass("elementor-revision-item-loading"),this.document.revisions.deleteRevision(r.model,{success:function success(){r.model.get("id")===l.currentPreviewId&&l.onDiscardClick(),l.currentPreviewId=null},error:function error(){r.$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(r){if(this.currentPreviewId&&this.currentPreviewItem&&!(this.children.length<=1)){var l=this.collection.indexOf(this.currentPreviewItem.model),u=r?l-1:l+1;u<0&&(u=this.collection.length-1),u>=this.collection.length&&(u=0),this.children.findByIndex(u).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 r=this.collection.findWhere({id:this.currentPreviewId});r&&(this.currentPreviewItem=this.children.findByModelCid(r.cid),this.currentPreviewItem.$el.addClass("elementor-revision-current-preview"))}},onChildviewDetailsAreaClick:function onChildviewDetailsAreaClick(r){var l=this,u=r.model.get("id");u!==this.currentPreviewId&&(this.currentPreviewItem&&this.currentPreviewItem.$el.removeClass("elementor-revision-current-preview elementor-revision-item-loading"),r.$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(){l.getRevisionViewData(r)}}):this.getRevisionViewData(r),this.currentPreviewItem=r,this.currentPreviewId=u)}})},3872:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861)),y=c(u(8589)),C=u(75504);function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}l.default=function(r){function Document(){return(0,p.default)(this,Document),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,Document,arguments)}return(0,h.default)(Document,r),(0,m.default)(Document,[{key:"isValidChild",value:function isValidChild(r){var l=r.get("elType");return(0,C.getAllElementTypes)().includes(l)}}])}(y.default)},3976:(r,l,u)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"Apply",{enumerable:!0,get:function get(){return c.Apply}}),Object.defineProperty(l,"End",{enumerable:!0,get:function get(){return p.End}}),Object.defineProperty(l,"EnterPreview",{enumerable:!0,get:function get(){return m.EnterPreview}}),Object.defineProperty(l,"ExitPreview",{enumerable:!0,get:function get(){return v.ExitPreview}}),Object.defineProperty(l,"ShowSwatches",{enumerable:!0,get:function get(){return g.ShowSwatches}}),Object.defineProperty(l,"Start",{enumerable:!0,get:function get(){return h.Start}});var c=u(20328),p=u(99653),m=u(78307),v=u(97571),g=u(86688),h=u(71916)},4046:r=>{"use strict";var l;l=function ImagesManager(){var r=this,l={},u=[],c=function getNormalizedSize(r){var l,u=r.size;if("custom"===u){var c=r.dimension;if(!c.width&&!c.height)return"full";l="custom_"+c.width+"x"+c.height}else l=u;return l},p={};r.updateOnReceiveImage=function(){var r=elementor.getPanelView().getCurrentPageView().getOption("editedElementView");r.$el.addClass("elementor-loading"),p[r.cid]=r,elementor.channels.editor.once("imagesManager:detailsReceived",function(){_.isEmpty(p)||_(p).each(function(r){r.render(),r.$el.removeClass("elementor-loading")}),p={}})},r.getImageUrl=function(l){r.registerItem(l);var u=r.getItem(l);if(!u){if("custom"===l.size)return void($e.routes.isPartOf("panel/editor")&&l.model&&r.updateOnReceiveImage());u=l.url}return u},r.getItem=function(r){var u=c(r),p=r.id;return!!u&&(!(!l[p]||!l[p][u])&&l[p][u])},r.registerItem=function(l){""!==l.id&&(r.getItem(l)||(u.push(l),r.debounceGetRemoteItems()))},r.getRemoteItems=function(){var r,p,m=[];if(0!==Object.keys(u).length){for(p in u){r=u[p];var v=c(r),g=r.id,h=!l[g]||0===Object.keys(l[g]).length;m.push({id:g,size:v,is_first_time:h})}elementorCommon.ajax.send("get_images_details",{data:{items:m},success:function success(r){var c,p;for(c in r)for(p in l[c]||(l[c]={}),r[c])l[c][p]=r[c][p];u=[],elementor.channels.editor.trigger("imagesManager:detailsReceived",r)}})}},r.debounceGetRemoteItems=_.debounce(r.getRemoteItems,300)},r.exports=new l},4526:(r,l,u)=>{"use strict";var c=u(12470).__,p=u(96784),m=u(10564);Object.defineProperty(l,"__esModule",{value:!0}),l.renderIconManager=l.default=void 0;var v=function _interopRequireWildcard(r,l){if("function"==typeof WeakMap)var u=new WeakMap,c=new WeakMap;return function _interopRequireWildcard(r,l){if(!l&&r&&r.__esModule)return r;var p,v,g={__proto__:null,default:r};if(null===r||"object"!=m(r)&&"function"!=typeof r)return g;if(p=l?c:u){if(p.has(r))return p.get(r);p.set(r,g)}for(var h in r)"default"!==h&&{}.hasOwnProperty.call(r,h)&&((v=(p=Object.defineProperty)&&Object.getOwnPropertyDescriptor(r,h))&&(v.get||v.set)?p(g,h,v):g[h]=r[h]);return g}(r,l)}(u(41594)),g=p(u(78304)),h=p(u(39805)),y=p(u(40989)),C=p(u(15118)),b=p(u(29402)),w=p(u(87861)),k=p(u(85707)),S=p(u(62688)),R=p(u(18791)),P=p(u(43162)),x=p(u(59332));function ownKeys(r,l){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(r);l&&(c=c.filter(function(l){return Object.getOwnPropertyDescriptor(r,l).enumerable})),u.push.apply(u,c)}return u}function _objectSpread(r){for(var l=1;l0&&void 0!==arguments[0])||arguments[0];return r.props.icons.map(function(u){if(l^r.isNativeTab(u))return"";var c=u.name===r.state.activeTab,p="elementor-icons-manager__tab-link";return c&&(p+=" elementor-active"),v.default.createElement("div",{className:p,key:u.name,onClick:function onClick(){c||r.setState({activeTab:u.name})}},v.default.createElement("i",{className:u.labelIcon}),u.label)})}),(0,k.default)(r,"getActiveTabIcons",function(l){if(l.name)return r.getActiveTabIcons(l.name);if(r.cache[l])return r.cache[l].icons;if("recommended"===l)return r.state.iconTabs[0].icons;if("all"===l)return r.getAllIcons();if(!r.state.loaded[l]){var u=r.props.icons.filter(function(r){return l===r.name});return elementor.iconManager.library.initIconType(_objectSpread({},u[0]),function(l){r.cache[l.name]=l,r.updateLoaded(l.name)})}return elementor.iconManager.store.getIcons(l)}),(0,k.default)(r,"getAllIcons",function(){if(r.cache.all)return r.cache.all.icons;var l={};return r.props.icons.forEach(function(u){"all"!==u.name&&"recommended"!==u.name&&(l[u.name]=r.getActiveTabIcons(u.name))}),r.cache.all={icons:l},l}),(0,k.default)(r,"handleSearch",function(l){var u=l.target.value;if(u&&""!==u){if(u=u.toLocaleLowerCase(),r.state.filter===u)return}else u="";r.setState({filter:u})}),(0,k.default)(r,"setSelected",function(l){elementor.iconManager.setSettings("selectedIcon",l),r.setState({selected:l})}),(0,k.default)(r,"getSelected",function(){var l=r.state.selected;return""===l.value&&r.props.selected&&r.props.selected.value&&(l={value:r.props.selected.value,library:r.props.selected.library}),l}),(0,k.default)(r,"render",function(){var l=r.getActiveTab(),u=l.name?l.name:l,c=r.props.showSearch,p=void 0===c||c,m=r.state.filter;if("GoPro"!==l){if(!u||!r.state.loaded[u])return"Loading";l&&(l.icons=r.getActiveTabIcons(l))}var h=r.getSelected();return v.default.createElement(v.Fragment,null,v.default.createElement("div",{id:"elementor-icons-manager__sidebar",className:"elementor-templates-modal__sidebar"},v.default.createElement("div",{id:"elementor-icons-manager__tab-links"},r.getIconTabsLinks(),r.getUploadCustomButton(),r.getIconTabsLinks(!1))),v.default.createElement("div",{id:"elementor-icons-manager__main",className:"elementor-templates-modal__content"},"GoPro"===u?v.default.createElement(x.default,null):v.default.createElement(v.Fragment,null,p?r.getSearchHTML():"",v.default.createElement("div",{id:"elementor-icons-manager__tab__wrapper",ref:r.scrollViewRef},v.default.createElement("div",{id:"elementor-icons-manager__tab__title"},l.label),v.default.createElement("div",{id:"elementor-icons-manager__tab__content_wrapper"},v.default.createElement("input",{type:"hidden",name:"icon_value",id:"icon_value",value:h.value}),v.default.createElement("input",{type:"hidden",name:"icon_type",id:"icon_type",value:h.library}),r.state.loaded[l.name]?v.default.createElement(P.default,(0,g.default)({setSelected:r.setSelected,selected:h,filter:m,key:l.name,parentRef:r.scrollViewRef},l)):"Loading")))))}),r}return(0,w.default)(IconsManager,r),(0,y.default)(IconsManager,[{key:"updateLoaded",value:function updateLoaded(r){var l=this.state.loaded;l[r]=!0,this.setState({loaded:l})}},{key:"isNativeTab",value:function isNativeTab(r){return("all"===r.name||"recommended"===r.name||"fa-"===r.name.substr(0,3))&&r.native}},{key:"getUploadCustomButton",value:function getUploadCustomButton(){var r=this,l=function onClick(){"GoPro"!==r.state.activeTab&&r.setState({activeTab:"GoPro"})};return this.props.customIconsURL&&(l=function onClick(){window.open(r.props.customIconsURL,"_blank")}),v.default.createElement("div",{id:"elementor-icons-manager__upload"},v.default.createElement("div",{id:"elementor-icons-manager__upload__title"},c("My Libraries","elementor")),v.default.createElement("button",{id:"elementor-icons-manager__upload__button",className:"elementor-button",onClick:l},c("Upload","elementor")))}},{key:"getSearchHTML",value:function getSearchHTML(){return v.default.createElement("div",{id:"elementor-icons-manager__search"},v.default.createElement("input",{placeholder:"Filter by name...",onInput:this.handleSearch}),v.default.createElement("i",{className:"eicon-search"}))}}])}(v.Component);l.default=O,l.renderIconManager=function renderIconManager(r){var l=document.querySelector("#elementor-icons-manager-modal .dialog-content");return R.default.render(v.default.createElement(O,(0,g.default)({},r,{containerElement:l})),l)};O.propTypes={activeTab:S.default.any,customIconsURL:S.default.string,icons:S.default.any,loaded:S.default.any,modalView:S.default.any,recommended:S.default.oneOfType([S.default.bool,S.default.object]),selected:S.default.any,showSearch:S.default.bool}},4692:(r,l,u)=>{"use strict";var c=u(12470).__,p=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var m=p(u(39805)),v=p(u(40989)),g=p(u(15118)),h=p(u(29402)),y=p(u(87861)),C=p(u(40397));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}l.default=function(r){function Component(){return(0,m.default)(this,Component),function _callSuper(r,l,u){return l=(0,h.default)(l),(0,g.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,h.default)(r).constructor):l.apply(r,u))}(this,Component,arguments)}return(0,y.default)(Component,r),(0,v.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"panel/history"}},{key:"defaultTabs",value:function defaultTabs(){return{actions:{title:c("Actions","elementor")},revisions:{title:c("Revisions","elementor")}}}},{key:"defaultShortcuts",value:function defaultShortcuts(){return{actions:{keys:"ctrl+shift+h",dependency:function dependency(){return"edit"===elementor.channels.dataEditMode.request("activeMode")}}}}},{key:"renderTab",value:function renderTab(r){elementor.getPanelView().setPage("historyPage").showView(r)}},{key:"activate",value:function activate(){$e.components.activate(this.getTabRoute(this.currentTab))}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return"#elementor-panel-elements-navigation"}}])}(C.default)},5043:(r,l,u)=>{"use strict";var c=u(96784),p=u(10564);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var m=c(u(39805)),v=c(u(40989)),g=c(u(15118)),h=c(u(29402)),y=c(u(41621)),C=c(u(87861)),b=c(u(40397)),w=function _interopRequireWildcard(r,l){if("function"==typeof WeakMap)var u=new WeakMap,c=new WeakMap;return function _interopRequireWildcard(r,l){if(!l&&r&&r.__esModule)return r;var m,v,g={__proto__:null,default:r};if(null===r||"object"!=p(r)&&"function"!=typeof r)return g;if(m=l?c:u){if(m.has(r))return m.get(r);m.set(r,g)}for(var h in r)"default"!==h&&{}.hasOwnProperty.call(r,h)&&((v=(m=Object.defineProperty)&&Object.getOwnPropertyDescriptor(r,h))&&(v.get||v.set)?m(g,h,v):g[h]=r[h]);return g}(r,l)}(u(96451));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}l.default=function(r){function Component(){return(0,m.default)(this,Component),function _callSuper(r,l,u){return l=(0,h.default)(l),(0,g.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,h.default)(r).constructor):l.apply(r,u))}(this,Component,arguments)}return(0,C.default)(Component,r),(0,v.default)(Component,[{key:"__construct",value:function __construct(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function _superPropGet(r,l,u,c){var p=(0,y.default)((0,h.default)(1&c?r.prototype:r),l,u);return 2&c&&"function"==typeof p?function(r){return p.apply(u,r)}:p}(Component,"__construct",this,3)([r])}},{key:"getNamespace",value:function getNamespace(){return"globals/typography"}},{key:"defaultCommands",value:function defaultCommands(){return this.importCommands(w)}}])}(b.default)},5110:(r,l,u)=>{"use strict";var c;c=u(95384).extend({triggers:{click:{event:"control:tab:clicked",stopPropagation:!1}}}),r.exports=c},5301:(r,l,u)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"Copy",{enumerable:!0,get:function get(){return c.Copy}}),Object.defineProperty(l,"CopyAll",{enumerable:!0,get:function get(){return p.CopyAll}}),Object.defineProperty(l,"Create",{enumerable:!0,get:function get(){return m.Create}}),Object.defineProperty(l,"Delete",{enumerable:!0,get:function get(){return v.Delete}}),Object.defineProperty(l,"Deselect",{enumerable:!0,get:function get(){return g.Deselect}}),Object.defineProperty(l,"DeselectAll",{enumerable:!0,get:function get(){return h.DeselectAll}}),Object.defineProperty(l,"Duplicate",{enumerable:!0,get:function get(){return y.Duplicate}}),Object.defineProperty(l,"Empty",{enumerable:!0,get:function get(){return C.Empty}}),Object.defineProperty(l,"Import",{enumerable:!0,get:function get(){return b.Import}}),Object.defineProperty(l,"Move",{enumerable:!0,get:function get(){return R.Move}}),Object.defineProperty(l,"Paste",{enumerable:!0,get:function get(){return w.Paste}}),Object.defineProperty(l,"PasteArea",{enumerable:!0,get:function get(){return k.PasteArea}}),Object.defineProperty(l,"PasteInteractions",{enumerable:!0,get:function get(){return S.PasteInteractions}}),Object.defineProperty(l,"PasteStyle",{enumerable:!0,get:function get(){return P.PasteStyle}}),Object.defineProperty(l,"ResetSettings",{enumerable:!0,get:function get(){return x.ResetSettings}}),Object.defineProperty(l,"ResetStyle",{enumerable:!0,get:function get(){return O.ResetStyle}}),Object.defineProperty(l,"Select",{enumerable:!0,get:function get(){return T.Select}}),Object.defineProperty(l,"SelectAll",{enumerable:!0,get:function get(){return E.SelectAll}}),Object.defineProperty(l,"Settings",{enumerable:!0,get:function get(){return M.Settings}}),Object.defineProperty(l,"ToggleSelection",{enumerable:!0,get:function get(){return I.ToggleSelection}});var c=u(76896),p=u(1130),m=u(29077),v=u(31938),g=u(97058),h=u(28108),y=u(66924),C=u(47432),b=u(92608),w=u(45818),k=u(61534),S=u(80294),R=u(31888),P=u(45746),x=u(25946),O=u(45938),T=u(30561),E=u(39183),M=u(77240),I=u(95786)},5502:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861)),y=c(u(33751));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}l.default=function(r){function InnerSection(){return(0,p.default)(this,InnerSection),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,InnerSection,arguments)}return(0,h.default)(InnerSection,r),(0,m.default)(InnerSection,[{key:"getType",value:function getType(){return"inner-section"}}])}(y.default)},5527:(r,l,u)=>{"use strict";var c=u(12470).sprintf,p=u(12470).__,m=u(96784),v=m(u(61790)),g=m(u(58155)),h=m(u(26938)),y=u(77287),C=u(28541),b=u(62219),w=u(10684),k=u(27373),S=Marionette.CompositeView.extend({tagName:"main",template:"#tmpl-elementor-template-library-templates",id:"elementor-template-library-templates",childViewContainer:"#elementor-template-library-templates-container",reorderOnSort:!0,emptyView:function emptyView(){return new(u(90083))},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",searchInputIcon:"#elementor-template-library-filter-text-wrapper i",loadMoreAnchor:"#elementor-template-library-load-more-anchor",sourceFilterRadiogroup:".elementor-template-library-filter-select-source",selectSourceFilter:".elementor-template-library-filter-select-source .source-option",addNewFolder:"#elementor-template-library-add-new-folder",addNewFolderDivider:".elementor-template-library-filter-toolbar-side-actions .divider",selectGridView:"#elementor-template-library-view-grid",selectListView:"#elementor-template-library-view-list",bulkSelectionActionBar:".bulk-selection-action-bar",bulkActionBarDelete:".bulk-selection-action-bar .bulk-delete",bulkSelectedCount:".bulk-selection-action-bar .selected-count",bulkSelectAllCheckbox:"#bulk-select-all",clearBulkSelections:".bulk-selection-action-bar .clear-bulk-selections",bulkMove:".bulk-selection-action-bar .bulk-move",bulkCopy:".bulk-selection-action-bar .bulk-copy",quota:".quota-progress-container .quota-progress-bar",quotaFill:".quota-progress-container .quota-progress-bar .quota-progress-bar-fill",quotaValue:".quota-progress-container .quota-progress-bar-value",quotaWarning:".quota-progress-container .progress-bar-container .quota-warning",quotaUpgrade:".quota-progress-container .progress-bar-container .quota-warning a",quotaStatus:"#elementor-template-library-quota-status",navigationContainer:"#elementor-template-library-navigation-container",sourceOptionBadges:".source-option-badge.variant-b-only",cloudBadge:".source-option-badge.cloud-badge",siteBadge:".source-option-badge.site-badge",sortStatus:"#elementor-template-library-sort-status",loadStatus:"#elementor-template-library-load-status"},events:{"input @ui.textFilter":"onTextFilterInput","change @ui.selectFilter":"onSelectFilterChange","change @ui.myFavoritesFilter":"onMyFavoritesFilterChange","mousedown @ui.orderLabels":"onOrderLabelsClick","click @ui.selectSourceFilter":"onSelectSourceFilterChange","keydown @ui.selectSourceFilter":"onSelectSourceFilterKeyDown","click @ui.addNewFolder":"onCreateNewFolderClick","click @ui.selectGridView":"onSelectGridViewClick","click @ui.selectListView":"onSelectListViewClick","change @ui.bulkSelectAllCheckbox":"onBulkSelectAllCheckbox","click @ui.clearBulkSelections":"onClearBulkSelections","mouseenter @ui.bulkMove":"onHoverBulkAction","mouseenter @ui.bulkCopy":"onHoverBulkAction","click @ui.bulkMove":"onClickBulkMove","click @ui.bulkActionBarDelete":"onBulkDeleteClick","click @ui.bulkCopy":"onClickBulkCopy","click @ui.quotaUpgrade":"onQuotaUpgradeClicked","mouseenter @ui.cloudBadge":"showCloudBadgeTooltip","mouseenter @ui.siteBadge":"showSiteBadgeTooltip","mouseleave @ui.cloudBadge":"hideCloudBadgeTooltip","mouseleave @ui.siteBadge":"hideSiteBadgeTooltip"},className:"no-bulk-selections",resetQuotaBarStyles:function resetQuotaBarStyles(){this.ui.quota.removeClass(["quota-progress-bar-normal","quota-progress-bar-warning","quota-progress-bar-alert"]),this.ui.quotaFill.removeClass(["quota-progress-bar-fill-normal","quota-progress-bar-fill-warning","quota-progress-bar-fill-alert"])},setQuotaBarStyles:function setQuotaBarStyles(r){this.ui.quota.addClass("quota-progress-bar-".concat(r)),this.ui.quotaFill.addClass("quota-progress-bar-fill-".concat(r))},handleQuotaWarning:function handleQuotaWarning(r,l){var u=C.QUOTA_WARNINGS[r];u&&(this.ui.quotaWarning.html(c(u,l)),this.ui.quotaWarning.show())},handleQuotaBar:function handleQuotaBar(){var r,l,u,m=null===(r=elementorAppConfig)||void 0===r||null===(r=r["cloud-library"])||void 0===r?void 0:r.quota,v=m?Math.round(m.currentUsage/m.threshold*100):0;this.ui.quotaFill.css("width","".concat(v,"%")),this.ui.quotaValue.text("".concat(null==m||null===(l=m.currentUsage)||void 0===l?void 0:l.toLocaleString(),"/").concat(null==m||null===(u=m.threshold)||void 0===u?void 0:u.toLocaleString())),this.ui.quotaWarning.hide(),this.resetQuotaBarStyles();var g=this.resolveQuotaState(v);if(this.handleQuotaWarning(g,v),this.setQuotaBarStyles(g),this.ui.quota.length&&this.ui.quota.attr({"aria-valuenow":v}),m&&this.ui.quotaStatus.length){var h=c(p("%1$s of %2$s templates used","elementor"),m.currentUsage.toLocaleString(),m.threshold.toLocaleString());this.ui.quotaStatus.text(h)}},resolveQuotaState:function resolveQuotaState(r){return r<80?C.QUOTA_BAR_STATES.NORMAL:r<100?C.QUOTA_BAR_STATES.WARNING:C.QUOTA_BAR_STATES.ALERT},onClearBulkSelections:function onClearBulkSelections(){elementor.templates.clearBulkSelectionItems(),elementor.templates.layout.handleBulkActionBar(),elementor.templates.layout.selectAllCheckboxNormal(),this.deselectAllBulkItems()},deselectAllBulkItems:function deselectAllBulkItems(){"list"===elementor.templates.getViewSelection()||"local"===elementor.templates.getFilter("source")?this.ui.bulkSelectAllCheckbox.prop("checked",!1).trigger("change"):document.querySelectorAll(".bulk-selected-item").forEach(function(r){r.classList.remove("bulk-selected-item"),r.setAttribute("aria-selected","false"),r.setAttribute("tabindex","-1");var l=r.querySelector(".bulk-selection-item-checkbox");l&&(l.checked=!1,l.setAttribute("aria-checked","false"))})},onBulkSelectAllCheckbox:function onBulkSelectAllCheckbox(){var r=this.$("#bulk-select-all:checked").length>0;r&&elementor.templates.layout.selectAllCheckboxNormal(),this.updateBulkSelectedItems(r),elementor.templates.layout.handleBulkActionBarUi()},updateBulkSelectedItems:function updateBulkSelectedItems(r){document.querySelectorAll(".bulk-selection-item-checkbox").forEach(function(l){l.checked=r,l.setAttribute("aria-checked",String(r));var u=l.dataset.template_id,c=l.dataset.type,p=l.closest(".elementor-template-library-template");r?(elementor.templates.addBulkSelectionItem(u,c),null==p||p.classList.add("bulk-selected-item")):(elementor.templates.removeBulkSelectionItem(u,c),null==p||p.classList.remove("bulk-selected-item")),p&&(p.setAttribute("aria-selected",String(r)),p.setAttribute("tabindex",r?"0":"-1"))})},onBulkDeleteClick:function onBulkDeleteClick(){var r=this;this.ui.bulkActionBarDelete.toggleClass("disabled"),elementor.templates.onBulkDeleteClick().finally(function(){r.ui.bulkActionBarDelete.toggleClass("disabled"),elementor.templates.layout.handleBulkActionBar()})},comparators:{title:function title(r){return r.get("title").toLowerCase()},popularityIndex:function popularityIndex(r){var popularityIndex=r.get("popularityIndex");return popularityIndex||(popularityIndex=r.get("date")),-popularityIndex},trendIndex:function trendIndex(r){var trendIndex=r.get("trendIndex");return trendIndex||(trendIndex=r.get("date")),-trendIndex}},getChildView:function getChildView(r){var l={local:b,remote:w,cloud:k},u=r.get("source")?r.get("source"):"local";return elementor.hooks.applyFilters("templates/source/is-remote","remote"===u,u)?w:l[u]||b},initialize:function initialize(){this.handleQuotaBar=this.handleQuotaBar.bind(this),this.handleQuotaUpdate=this.handleQuotaUpdate.bind(this),this.handleSourceFilterChange=this.handleSourceFilterChange.bind(this),this.listenTo(elementor.channels.templates,"filter:change",this._renderChildren),this.listenTo(elementor.channels.templates,"filter:change",this.handleSourceOptionBadges),this.listenTo(elementor.channels.templates,"filter:change",this.handleSourceFilterChange),this.listenTo(elementor.channels.templates,"quota:updated",this.handleQuotaUpdate),this.debouncedSearchTemplates=_.debounce(this.searchTemplates,300)},handleQuotaUpdate:function handleQuotaUpdate(){var r,l=this;"cloud"===(null!==(r=elementor.templates.getFilter("source"))&&void 0!==r?r:"local")&&$e.components.get("cloud-library").utils.getQuotaConfig().then(function(){l.handleQuotaBar()})},handleSourceFilterChange:function handleSourceFilterChange(r){if("source"===r){var l,u=null!==(l=elementor.templates.getFilter("source"))&&void 0!==l?l:"local";this.updateSourceFilterAriaAttributes(u)}},updateSourceFilterAriaAttributes:function updateSourceFilterAriaAttributes(r){this.ui.selectSourceFilter.length&&this.ui.selectSourceFilter.each(function(){var l=jQuery(this),u=l.data("source")===r;l.attr({"aria-checked":u?"true":"false",tabindex:u?"0":"-1"})})},filter:function filter(r){if("cloud"===elementor.templates.getFilter("source"))return!0;var l=elementor.templates.getFilterTerms(),u=!0;return jQuery.each(l,function(l){var c=elementor.templates.getFilter(l);if(c){if(this.callback){var p=this.callback.call(r,c);return p||(u=!1),p}var m=c===r.get(l);return m||(u=!1),m}}),u},order:function order(r,l){var u=this.comparators[r]||r;"cloud"!==elementor.templates.getFilter("source")?(l&&(u=this.reverseOrder(u)),this.collection.comparator=u,this.collection.sort(),this.announceSortStatus(r,l)):this.handleCloudOrder(r,l)},announceSortStatus:function announceSortStatus(r,l){var u={title:p("Name","elementor"),type:p("Type","elementor"),author:p("Created By","elementor"),date:p("Creation Date","elementor")},c=p(l?"descending":"ascending","elementor"),m=u[r]||r,v=p("Sorted by","elementor")+" "+m+", "+c;this.ui.sortStatus.length&&this.ui.sortStatus.text(v)},announceLoadStatus:function announceLoadStatus(r){var l=r+" "+p("more templates loaded","elementor");this.ui.loadStatus.length&&this.ui.loadStatus.text(l)},handleCloudOrder:function handleCloudOrder(r,l){var u=this;elementor.templates.setFilter("orderby",r),elementor.templates.setFilter("order",l?"desc":"asc"),this.onClearBulkSelections(),this.collection.reset(),elementor.templates.layout.showLoadingView(),elementor.templates.loadMore({onUpdate:function onUpdate(){elementor.templates.layout.hideLoadingView(),u.announceSortStatus(r,l)},search:this.ui.textFilter.val(),refresh:!0})},reverseOrder:function reverseOrder(r){if("function"!=typeof r){var l=r;r=function comparator(r){return r.get(l)}}return function(l,u){var c=r(l);if(void 0===c)return-1;var p=r(u);return void 0===p||cp?-1:0}},addSourceData:function addSourceData(){var r=this.children.isEmpty();this.$el.attr("data-template-source",r?"empty":elementor.templates.getFilter("source"))},addViewData:function addViewData(){var r=elementor.templates.getViewSelection();this.$el.attr("data-template-view",r)},setFiltersUI:function setFiltersUI(){if(!this.select2Instance&&this.$(this.ui.selectFilter).length){var r=this.$(this.ui.selectFilter),l={placeholder:p("Category","elementor"),allowClear:!0,width:150,dropdownParent:this.$el};this.select2Instance=new h.default({$element:r,options:l})}},setMasonrySkin:function setMasonrySkin(){var r=new elementorModules.utils.Masonry({container:this.$childViewContainer,items:this.$childViewContainer.children()});this.$childViewContainer.imagesLoaded(r.run.bind(r))},toggleFilterClass:function toggleFilterClass(){this.$el.toggleClass("elementor-templates-filter-active",!(!elementor.templates.getFilter("text")&&!elementor.templates.getFilter("favorite")))},isPageOrLandingPageTemplates:function isPageOrLandingPageTemplates(){var r=elementor.templates.getFilter("type");return"page"===r||"lp"===r},onDestroy:function onDestroy(){this.removeScrollListener&&this.removeScrollListener()},shouldShowVariantB:function shouldShowVariantB(){return(0,g.default)(v.default.mark(function _callee(){var r;return v.default.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=1,elementor.templates.eventManager.getSaveTemplateExperimentVariant();case 1:return r=l.sent,l.abrupt("return","B"===r);case 2:case"end":return l.stop()}},_callee)}))()},handleSourceOptionBadges:function handleSourceOptionBadges(){var r=this;return(0,g.default)(v.default.mark(function _callee2(){var l;return v.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=1,r.shouldShowVariantB();case 1:if(u.sent){u.next=2;break}return r.ui.sourceOptionBadges.hide(),u.abrupt("return");case 2:l=elementor.templates.getFilter("source"),r.$(".source-option-badge.site-badge").toggle("local"===l),r.$(".source-option-badge.cloud-badge").toggle("cloud"===l);case 3:case"end":return u.stop()}},_callee2)}))()},onRender:function onRender(){elementor.templates.clearBulkSelectionItems();var r=elementor.templates.getFilter("source"),l=elementor.templates.getFilter("type");if("remote"===r&&"page"!==l&&"lb"!==l&&this.setFiltersUI(),"cloud"===r){var u=elementor.templates.getFilter("parentId")?elementorCommon.eventsManager.config.secondaryLocations.templateLibrary.cloudTabFolder:elementorCommon.eventsManager.config.secondaryLocations.templateLibrary.cloudTab;elementor.templates.eventManager.sendPageViewEvent({location:u}),this.handleQuotaBar()}"local"===r&&elementor.templates.eventManager.sendPageViewEvent({location:elementorCommon.eventsManager.config.secondaryLocations.templateLibrary.siteTab}),this.handleSourceOptionBadges()},onRenderCollection:function onRenderCollection(){this.addSourceData(),this.toggleFilterClass();var r=elementor.templates.getFilter("source");"remote"!==r||this.isPageOrLandingPageTemplates()||this.setMasonrySkin(),"cloud"===r&&(this.handleLoadMore(),this.addViewData(),this.handleQuotaUpdate()),this.handleSourceOptionBadges()},onBeforeRenderEmpty:function onBeforeRenderEmpty(){this.addSourceData()},onTextFilterInput:function onTextFilterInput(){var r=elementor.templates.getFilter("source");["cloud","local"].includes(r)&&(elementor.templates.clearBulkSelectionItems(),elementor.templates.layout.handleBulkActionBar()),"cloud"!==r?elementor.templates.setFilter("text",this.ui.textFilter.val()):this.debouncedSearchTemplates(r)},searchTemplates:function searchTemplates(r){var l=this;return(0,g.default)(v.default.mark(function _callee3(){return v.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return l.showLoadingSpinner(),u.prev=1,u.next=2,elementor.templates.searchTemplates({source:r,search:l.ui.textFilter.val()});case 2:return u.prev=2,l.showSearchIcon(),u.finish(2);case 3:case"end":return u.stop()}},_callee3,null,[[1,,2,3]])}))()},showLoadingSpinner:function showLoadingSpinner(){this.ui.searchInputIcon.removeClass("eicon-search").addClass("eicon-loading eicon-animation-spin")},showSearchIcon:function showSearchIcon(){this.ui.searchInputIcon.removeClass("eicon-loading eicon-animation-spin").addClass("eicon-search")},onSelectFilterChange:function onSelectFilterChange(r){var l=jQuery(r.currentTarget),u=l.data("elementor-filter");elementor.templates.setFilter(u,l.val())},onSelectSourceFilterChange:function onSelectSourceFilterChange(r){elementor.templates.onSelectSourceFilterChange(r)},onSelectSourceFilterKeyDown:function onSelectSourceFilterKeyDown(r){var l=this;(0,y.rovingTabindex)({event:r,$items:this.ui.selectSourceFilter,orientation:"both",activateOnFocus:!0,homeEnd:!1,onActivate:function onActivate(r,u){l._restoreFocusToSourceFilter=!0,u.trigger("click")}})&&(this._restoreFocusToSourceFilter=!0)},onSelectGridViewClick:function onSelectGridViewClick(){elementor.templates.onSelectViewChange("grid")},onSelectListViewClick:function onSelectListViewClick(){elementor.templates.onSelectViewChange("list")},onMyFavoritesFilterChange:function onMyFavoritesFilterChange(){elementor.templates.setFilter("favorite",this.ui.myFavoritesFilter[0].checked)},onOrderLabelsClick:function onOrderLabelsClick(r){var l,u=jQuery(r.currentTarget.control);l=u[0].checked?!u.hasClass("elementor-template-library-order-reverse"):"asc"!==u.data("default-ordering-direction"),u.prop("checked",!0),u.toggleClass("elementor-template-library-order-reverse",l),this.order(u.val(),l)},handleLoadMore:function handleLoadMore(){var r,l=this;this.removeScrollListener&&this.removeScrollListener();var u=null===(r=elementor)||void 0===r||null===(r=r.templates)||void 0===r||null===(r=r.layout)||void 0===r?void 0:r.modal.getElements("message"),c=function listener(){var r=u.scrollTop()/(u[0].scrollHeight-u.outerHeight())*100,c=elementor.templates.canLoadMore()&&!elementor.templates.isLoading();if(!(r<90)&&c){l.ui.loadMoreAnchor.toggleClass("elementor-visibility-hidden"),elementor.templates.layout.selectAllCheckboxMinus();var p=l.collection.length;elementor.templates.loadMore({onUpdate:function onUpdate(){l.ui.loadMoreAnchor.toggleClass("elementor-visibility-hidden");var r=l.collection.length-p;r>0&&l.announceLoadStatus(r)},search:l.ui.textFilter.val()})}};u.on("scroll",c);var p=function focusListener(r){if(elementor.templates.canLoadMore()&&!elementor.templates.isLoading()&&l.$childViewContainer&&l.$childViewContainer.length){var u=l.$childViewContainer.children(),c=u.length;if(!(c<2)){var p=jQuery(r.target);if(u.index(p.closest(u))>=c-2){l.ui.loadMoreAnchor.toggleClass("elementor-visibility-hidden"),elementor.templates.layout.selectAllCheckboxMinus();var m=l.collection.length;elementor.templates.loadMore({onUpdate:function onUpdate(){l.ui.loadMoreAnchor.toggleClass("elementor-visibility-hidden");var r=l.collection.length-m;r>0&&l.announceLoadStatus(r)},search:l.ui.textFilter.val()})}}}};u.on("focusin",p),this.removeScrollListener=function(){u.off("scroll",c),u.off("focusin",p)}},onCreateNewFolderClick:function onCreateNewFolderClick(){var r=elementor.templates.getFilter("source");"cloud"===r&&elementor.templates.createFolder({source:r},{onSuccess:function onSuccess(){$e.routes.refreshContainer("library")}})},onHoverBulkAction:function onHoverBulkAction(){this.hasFolderInBulkSelection()||this.hasLockedTemplatesInBulkSelection()?(this.ui.bulkMove.find("i").css("cursor","not-allowed"),this.ui.bulkCopy.find("i").css("cursor","not-allowed")):(this.ui.bulkMove.find("i").css("cursor","pointer"),this.ui.bulkCopy.find("i").css("cursor","pointer"))},onClickBulkMove:function onClickBulkMove(){this.hasFolderInBulkSelection()||this.hasLockedTemplatesInBulkSelection()||$e.route("library/save-template",{model:this.model,context:C.SAVE_CONTEXTS.BULK_MOVE})},hasFolderInBulkSelection:function hasFolderInBulkSelection(){var r=elementor.templates.getBulkSelectionItems();return this.collection.some(function(l){var u=l.get("template_id"),c=l.get("type");return r.has(u)&&"folder"===c})},hasLockedTemplatesInBulkSelection:function hasLockedTemplatesInBulkSelection(){var r=elementor.templates.getBulkSelectionItems();return this.collection.some(function(l){var u=l.get("template_id");return r.has(u)&&l.isLocked()})},onClickBulkCopy:function onClickBulkCopy(){this.hasFolderInBulkSelection()||this.hasLockedTemplatesInBulkSelection()||$e.route("library/save-template",{model:this.model,context:C.SAVE_CONTEXTS.BULK_COPY})},onQuotaUpgradeClicked:function onQuotaUpgradeClicked(){var r,l=null===(r=elementorAppConfig)||void 0===r||null===(r=r["cloud-library"])||void 0===r?void 0:r.quota,u=l?Math.round(l.currentUsage/l.threshold*100):0;elementor.templates.eventManager.sendUpgradeClickedEvent({secondaryLocation:elementorCommon.eventsManager.config.secondaryLocations.templateLibrary.quotaBar,upgrade_position:"quota bar ".concat(u?u+"%":"")})},showCloudBadgeTooltip:function showCloudBadgeTooltip(){this.cloudBadgeDialog&&this.cloudBadgeDialog.hide();var r=elementor.config.library_connect.is_connected?elementor.config.library_connect.user_email:p("connected","elementor"),l=c(p("Only %s Elementor account can access Cloud Templates from any connected site.","elementor"),r);this.cloudBadgeDialog=elementor.dialogsManager.createWidget("buttons",{id:"elementor-library--cloud-upgrade__dialog",effects:{show:"show",hide:"hide"},position:{of:this.ui.cloudBadge,at:"top-50"}}).setMessage(l),this.cloudBadgeDialog.getElements("widget").addClass("variant-b"),this.cloudBadgeDialog.getElements("header").remove(),this.cloudBadgeDialog.getElements("buttonsWrapper").remove(),this.cloudBadgeDialog.show()},hideCloudBadgeTooltip:function hideCloudBadgeTooltip(){this.cloudBadgeDialog&&this.cloudBadgeDialog.hide()},showSiteBadgeTooltip:function showSiteBadgeTooltip(){this.siteBadgeDialog&&this.siteBadgeDialog.hide();var r=p("Authorized users on this site can access Site Templates.","elementor");this.siteBadgeDialog=elementor.dialogsManager.createWidget("buttons",{id:"elementor-library--site-info__dialog",effects:{show:"show",hide:"hide"},position:{of:this.ui.siteBadge,at:"top-35"}}).setMessage(r),this.siteBadgeDialog.getElements("widget").addClass("variant-b"),this.siteBadgeDialog.getElements("header").remove(),this.siteBadgeDialog.getElements("buttonsWrapper").remove(),this.siteBadgeDialog.show()},hideSiteBadgeTooltip:function hideSiteBadgeTooltip(){this.siteBadgeDialog&&this.siteBadgeDialog.hide()}});r.exports=S},5566:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var p=c(u(85707)),m=c(u(39805)),v=c(u(40989)),g=c(u(15118)),h=c(u(29402)),y=c(u(87861)),C=c(u(53274)),b=c(u(17680));function ownKeys(r,l){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(r);l&&(c=c.filter(function(l){return Object.getOwnPropertyDescriptor(r,l).enumerable})),u.push.apply(u,c)}return u}function _objectSpread(r){for(var l=1;l .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.isNavigatorContainer()?b.default:this.hasChildren()?C.default:null}},{key:"childViewOptions",value:function childViewOptions(){return{indent:this.getIndent()+10}}},{key:"className",value:function className(){var r="elementor-navigator__element",l=this.model.get("elType");return this.isNavigatorContainer()||(r+=" elementor-navigator__element-"+l,this.isExcludedNestableElement()||(r+=" "+w)),this.hasChildren()&&(r+=" elementor-navigator__element--has-children"),r}},{key:"getSortableClassName",value:function getSortableClassName(){var r=this.model.get("elType");return this.isExcludedNestableElement()?"elementor-navigator__element-"+r:w}},{key:"attributes",value:function attributes(){return{"data-id":this.model.id,"data-model-cid":this.model.cid}}},{key:"templateHelpers",value:function templateHelpers(){var r={};return this.isNavigatorContainer()||(r.title=this.model.getTitle(),r.icon="section"===this.model.get("elType")?"":this.model.getIcon()),r}},{key:"isProPromotion",value:function isProPromotion(){var r,l=this.model.get("elType");return!(null===(r=elementor.widgetsCache)||void 0===r||null===(r=r[l])||void 0===r||null===(r=r.meta)||void 0===r||!r.is_pro_promotion)}},{key:"shouldShowChildrenInStructure",value:function shouldShowChildrenInStructure(){return!this.isProPromotion()&&elementor.hooks.applyFilters("navigator/element/show-children",!0,this.model)}},{key:"initialize",value:function initialize(){this.collection=this.isProPromotion()?new Backbone.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),this.listenTo(this.model,"change:editor_settings",this.onModelEditorSettingsChange),this.listenTo(this.model,"title_external_change",this.onTitleExternalChange),this.listenTo(this.model,"navigator:add",this.onNavigatorAdd),this._onRefreshChildrenRequest=this._onRefreshChildrenRequest.bind(this),window.addEventListener("elementor/navigator/refresh-children",this._onRefreshChildrenRequest)}},{key:"onDestroy",value:function onDestroy(){window.removeEventListener("elementor/navigator/refresh-children",this._onRefreshChildrenRequest)}},{key:"_onRefreshChildrenRequest",value:function _onRefreshChildrenRequest(r){var l,u=null==r||null===(l=r.detail)||void 0===l?void 0:l.elementId;u&&this.model.get("id")!==u||(this.render(),this.syncNavigatorStructureState(),this.updateSelection())}},{key:"addChild",value:function addChild(r,l,u){if(this.shouldShowChildrenInStructure())return Marionette.CompositeView.prototype.addChild.call(this,r,l,u)}},{key:"onNavigatorAdd",value:function onNavigatorAdd(r,l){this._onCollectionAdd(r,this.collection,l||{})}},{key:"onTitleExternalChange",value:function onTitleExternalChange(){this.ui.title.text(this.model.getTitle())}},{key:"onModelEditorSettingsChange",value:function onModelEditorSettingsChange(r,l){var u;void 0!==(null===(u=r.changed)||void 0===u||null===(u=u.editor_settings)||void 0===u?void 0:u.title)&&this.ui.title.text(l.title),window.dispatchEvent(new CustomEvent("elementor/element/update_editor_settings",{detail:{element:r,editorSettings:l}}))}},{key:"getIndent",value:function getIndent(){return this.getOption("indent")||0}},{key:"isExcludedNestableElement",value:function isExcludedNestableElement(){return["section","column"].includes(this.model.get("elType"))}},{key:"isNavigatorContainer",value:function isNavigatorContainer(){return!this.model.get("elType")}},{key:"hasChildren",value:function hasChildren(){var r;return!!this.shouldShowChildrenInStructure()&&((null===(r=this.model.get("elements"))||void 0===r?void 0:r.length)||"widget"!==this.model.get("elType"))}},{key:"toggleList",value:function toggleList(r,l){if(this.hasChildren()&&!this.isNavigatorContainer()&&this.ui.item.hasClass("elementor-active")!==r){this.ui.item.toggleClass("elementor-active",r);var u="slideToggle";void 0!==r&&(u="slide"+(r?"Down":"Up")),this.ui.elements[u](300,l)}}},{key:"toggleHiddenClass",value:function toggleHiddenClass(){this.$el.toggleClass("elementor-navigator__element--hidden",this.model.getVisibility())}},{key:"recursiveChildInvoke",value:function recursiveChildInvoke(r){for(var l=arguments,u=this,c=arguments.length,p=new Array(c>1?c-1:0),m=1;m1?l-1:0),c=1;c1?l-1:0),c=1;c .elementor-navigator__element",placeholder:"ui-sortable-placeholder",axis:"y",forcePlaceholderSize:!0,connectWith:"."+this.getSortableClassName()+" > .elementor-navigator__elements",cancel:'[contenteditable="true"], [data-locked="true"]'})}},{key:"renderIndicators",value:function renderIndicators(){var r=this,l=this.model.get("settings").attributes;this.ui.indicators.empty(),jQuery.each(elementor.navigator.indicators,function(u,c){if(c.settingKeys.some(function(r){return l[r]})){var p=jQuery("",{class:"elementor-navigator__element__indicator",title:c.title}).attr("data-section",c.section).html('
'));r.ui.indicators.append(p),p.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.isNavigatorContainer()||(this.ui.item.css("padding-inline-start",this.getIndent()+"px"),this.toggleHiddenClass(),this.renderIndicators(),this.syncNavigatorStructureState())}},{key:"onModelChange",value:function onModelChange(){var r;void 0===this.model.changed.hidden&&void 0===(null===(r=this.model.changed.editor_settings)||void 0===r?void 0:r.is_hidden)||this.toggleHiddenClass()}},{key:"onModelSettingsChange",value:function onModelSettingsChange(r){var l=this;void 0!==r.changed._title&&this.ui.title.text(this.model.getTitle()),void 0!==r.changed.presetTitle&&void 0===r._title&&this.ui.title.text(this.model.getTitle()),void 0!==r.changed.presetIcon&&this.ui.icon.html('
')),jQuery.each(elementor.navigator.indicators,function(u,c){if(Object.keys(r.changed).filter(function(r){return c.settingKeys.includes(r)}).length)return l.renderIndicators(),!1})}},{key:"syncNavigatorStructureState",value:function syncNavigatorStructureState(){this.isNavigatorContainer()||this.$el.toggleClass("elementor-navigator__element--has-children",!!this.hasChildren())}},{key:"onItemPress",value:function onItemPress(r){13!==r.keyCode?32===r.keyCode&&this.onToggleListClick(r):this.onItemClick(r)}},{key:"onItemClick",value:function onItemClick(r){window.dispatchEvent(new CustomEvent("elementor/navigator/item/click",{detail:{id:this.model.get("id"),type:this.model.get("elType")}})),this.model.trigger("request:edit",{append:r.ctrlKey||r.metaKey,scrollIntoView:!0})}},{key:"onToggleClick",value:function onToggleClick(r){r.stopPropagation(),this.model.trigger("request:toggleVisibility")}},{key:"onTitleDoubleClick",value:function onTitleDoubleClick(){this.enterTitleEditing()}},{key:"onTitleKeyDown",value:function onTitleKeyDown(r){13===r.which&&(r.preventDefault(),this.exitTitleEditing())}},{key:"onTitlePaste",value:function onTitlePaste(r){r.preventDefault(),document.execCommand("insertHTML",!1,r.originalEvent.clipboardData.getData("text/plain"))}},{key:"onToggleListClick",value:function onToggleListClick(r){r.stopPropagation(),this.toggleList()}},{key:"onSortStart",value:function onSortStart(r,l){this.model.trigger("request:sort:start",r,l),jQuery(l.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(r){r.stopPropagation(),this.$el.addClass("elementor-dragging-on-child")}},{key:"onSortOut",value:function onSortOut(r){r.stopPropagation(),this.$el.removeClass("elementor-dragging-on-child")}},{key:"onSortUpdate",value:function onSortUpdate(r,l){r.stopPropagation(),this.ui.elements.is(l.item.parent())&&this.model.trigger("request:sort:update",l)}},{key:"onSortReceive",value:function onSortReceive(r,l){this.model.trigger("request:sort:receive",r,l)}},{key:"onMouseEnter",value:function onMouseEnter(r){var l=this;r.stopPropagation(),this.recursiveChildAgreement("dragShouldBeIgnored",elementor.channels.data.request("dragging:model"))||(this.autoExpandTimeout=setTimeout(function(){l.toggleList(!0,function(){l.ui.elements.sortable("refreshPositions")})},500))}},{key:"onMouseLeave",value:function onMouseLeave(r){r.stopPropagation(),clearTimeout(this.autoExpandTimeout)}},{key:"onContextMenu",value:function onContextMenu(r){this.model.trigger("request:contextmenu",r,{location:elementorCommon.eventsManager.config.locations.structurePanel})}},{key:"onEditRequest",value:function onEditRequest(){elementor.navigator.getLayout().elements.currentView.recursiveChildInvoke("removeEditingClass"),this.select(!0)}},{key:"onIndicatorClick",value:function onIndicatorClick(r){var l=r.currentTarget.dataset.section;setTimeout(function(){var r=elementor.getPanelView().currentPageView,u=r.getControlModel(l).get("tab");r.activateSection(l),r.activateTab(u),r.render()})}}])}(Marionette.CompositeView)},5659:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.Json=void 0;var p=c(u(61790)),m=c(u(58155)),v=c(u(39805)),g=c(u(40989)),h=c(u(15118)),y=c(u(29402)),C=c(u(87861)),b=c(u(36160));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}l.Json=function(r){function Json(){return(0,v.default)(this,Json),function _callSuper(r,l,u){return l=(0,y.default)(l),(0,h.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,y.default)(r).constructor):l.apply(r,u))}(this,Json,arguments)}return(0,C.default)(Json,r),(0,g.default)(Json,[{key:"getData",value:(u=(0,m.default)(p.default.mark(function _callee(){return p.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(this._data){r.next=2;break}return r.next=1,this.getContent().then(function(r){return JSON.parse(r)});case 1:this._data=r.sent;case 2:return r.abrupt("return",this._data);case 3:case"end":return r.stop()}},_callee,this)})),function getData(){return u.apply(this,arguments)})}],[{key:"getName",value:function getName(){return"json"}},{key:"isActive",value:function isActive(){var r,l;return elementor.config.user.is_administrator||null!==(r=null===(l=elementor.config.user.restrictions)||void 0===l?void 0:l.includes("json-upload"))&&void 0!==r&&r}},{key:"mimeTypes",get:function get(){return["application/json"]}},{key:"resolve",value:(l=(0,m.default)(p.default.mark(function _callee2(r){return p.default.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,JSON.parse(r),l.abrupt("return","application/json");case 1:return l.prev=1,l.catch(0),l.abrupt("return",!1);case 2:case"end":return l.stop()}},_callee2,null,[[0,1]])})),function resolve(r){return l.apply(this,arguments)})}]);var l,u}(b.default)},5703:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.StartLog=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(41621)),y=c(u(87861)),C=c(u(26368));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var b=l.StartLog=function(r){function StartLog(){return(0,p.default)(this,StartLog),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,StartLog,arguments)}return(0,y.default)(StartLog,r),(0,m.default)(StartLog,[{key:"initialize",value:function initialize(r){!function _superPropGet(r,l,u,c){var p=(0,h.default)((0,g.default)(1&c?r.prototype:r),l,u);return 2&c&&"function"==typeof p?function(r){return p.apply(u,r)}:p}(StartLog,"initialize",this,3)([r]),this.history.isItemStarted()||r.id?this.isSubItem=!0:this.args=this.component.normalizeLogTitle(r)}},{key:"validateArgs",value:function validateArgs(r){this.isSubItem||(this.requireArgumentType("type","string",r),this.requireArgumentType("title","string",r))}},{key:"apply",value:function apply(r){return this.isSubItem?($e.internal("document/history/log-sub-item",r),null):this.history.startItem(r)}}])}(C.default);l.default=b},5896:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var p=c(u(85707)),m=c(u(39805)),v=c(u(40989)),g=c(u(15118)),h=c(u(29402)),y=c(u(87861));function ownKeys(r,l){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(r);l&&(c=c.filter(function(l){return Object.getOwnPropertyDescriptor(r,l).enumerable})),u.push.apply(u,c)}return u}function _objectSpread(r){for(var l=1;l
0&&void 0!==arguments[0]?arguments[0]:{};r=_objectSpread(_objectSpread({},{largeToSmall:!1,withDesktop:!1}),r);var l=Object.keys(this.responsiveConfig.activeBreakpoints);if(r.withDesktop){var u=-1===l.indexOf("widescreen")?l.length:l.length-1;l.splice(u,0,"desktop")}return r.largeToSmall&&l.reverse(),l}},{key:"getBreakpointValues",value:function getBreakpointValues(){var r=this.responsiveConfig.activeBreakpoints,l=[];return Object.values(r).forEach(function(r){l.push(r.value)}),l}},{key:"getDesktopPreviousDeviceKey",value:function getDesktopPreviousDeviceKey(){var r=this.responsiveConfig.activeBreakpoints,l=Object.keys(r),u=l.length;return"min"===r[l[u-1]].direction?l[u-2]:l[u-1]}},{key:"getDesktopMinPoint",value:function getDesktopMinPoint(){return this.responsiveConfig.activeBreakpoints[this.getDesktopPreviousDeviceKey()].value+1}},{key:"getDeviceMinBreakpoint",value:function getDeviceMinBreakpoint(r){if("desktop"===r)return this.getDesktopMinPoint();var l,u=this.responsiveConfig.activeBreakpoints,c=Object.keys(u);if(c[0]===r)l=320;else if("widescreen"===r)l=u[r]?u[r].value:this.responsiveConfig.breakpoints.widescreen;else{var p=c.indexOf(r);l=u[c[p-1]].value+1}return l}},{key:"getActiveMatchRegex",value:function getActiveMatchRegex(){return new RegExp(this.getActiveBreakpointsList().map(function(r){return"_"+r}).join("|")+"$")}}])}(elementorModules.Module)},6229:(r,l,u)=>{"use strict";var c,p=u(35741),m=u(64560);c=p.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:m,childViewContainer:".elementor-repeater-fields-wrapper",templateHelpers:function templateHelpers(){return{itemActions:this.model.get("item_actions"),data:_.extend({},this.model.toJSON(),{controlValue:[]})}},childViewOptions:function childViewOptions(r,l){return{container:this.getOption("container").repeaters[this.model.get("name")].children[l],controlFields:this.model.get("fields"),titleField:this.model.get("title_field"),itemActions:this.model.get("item_actions")}},createItemModel:function createItemModel(r,l,u){return l.controls=u.model.get("fields"),new elementorModules.editor.elements.models.BaseSettings(r,l)},fillCollection:function fillCollection(){var r=this.container?this.container.settings:this.elementSettingsModel,l=this.model.get("name");this.collection=r.get(l),this.collection instanceof Backbone.Collection||(this.collection=new Backbone.Collection(this.collection,{model:_.partial(this.createItemModel,_,_,this)}),r.set(l,this.collection,{silent:!0}))},initialize:function initialize(){p.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(r){if(this.currentEditableChild){var l=this.currentEditableChild.getChildViewContainer(this.currentEditableChild);l.removeClass("editable"),l.find(".elementor-wp-editor").each(function(){tinymce.get(this.id).fire("hide")})}this.currentEditableChild!==r?(r.getChildViewContainer(r).addClass("editable"),this.currentEditableChild=r,this.updateActiveRow()):delete this.currentEditableChild},toggleClasses:function toggleClasses(){this.toggleMinRowsClass(),this.toggleMaxRowsClass()},toggleMaxRowsClass:function toggleMaxRowsClass(){var r=this.model.get("max_items");r&&Number.isInteger(r)&&this.$el.toggleClass("elementor-repeater-has-maximum-rows",r<=this.collection.length)},getMinItems:function getMinItems(){var r=0;return this.model.get("min_items")&&Number.isInteger(this.model.get("min_items"))?r=this.model.get("min_items"):this.model.get("prevent_empty")&&(r=1),r},toggleMinRowsClass:function toggleMinRowsClass(){var r=this.getMinItems();r&&this.$el.toggleClass("elementor-repeater-has-minimum-rows",r>=this.collection.length)},updateActiveRow:function updateActiveRow(){var r=1;this.currentEditableChild&&(r=this.currentEditableChild.itemIndex),this.setEditSetting("activeItemIndex",r)},updateChildIndexes:function updateChildIndexes(){var r=this.collection;this.children.each(function(l){l.updateIndex(r.indexOf(l.model)+1),l.setTitle()})},getSortableParams:function getSortableParams(){return{axis:"y",handle:".elementor-repeater-row-tools",items:" > :not(.elementor-repeater-row--disable-sort)",cancel:""}},onRender:function onRender(){p.prototype.onRender.apply(this,arguments),this.model.get("item_actions").sort&&this.ui.fieldContainer.sortable(this.getSortableParams()),this.toggleClasses()},onSortStart:function onSortStart(r,l){l.item.data("oldIndex",l.item.index())},onSortStop:function onSortStop(r,l){var u=this;if(-1!==l.item.index()){var c=u.children.findByIndex(l.item.index()),p=c.children._views;jQuery.each(p,function(){if("wysiwyg"===this.model.get("type"))return c.render(),delete u.currentEditableChild,!1})}},onSortUpdate:function onSortUpdate(r,l){var u=l.item.data("oldIndex"),c=l.item.index();$e.run("document/repeater/move",{container:this.options.container,name:this.model.get("name"),sourceIndex:u,targetIndex:c})},onAddChild:function onAddChild(){this.updateChildIndexes(),this.updateActiveRow(),this.toggleClasses()},updateContainer:function updateContainer(r){this.options.container.repeaters[this.model.get("name")].children.filter(function(l){return l.id===r.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"),r,r.collection.indexOf(r)))},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 r={};return _.each(this.model.get("fields"),function(l){r[l.name]=l.default}),r},getChildControlView:function getChildControlView(r){return this.getControlViewByModel(this.getControlModel(r))},getControlViewByModel:function getControlViewByModel(r){return this.children.findByModelCid(r.cid)},getControlModel:function getControlModel(r){return this.collection.findWhere({_id:r})},onButtonAddRowClick:function onButtonAddRowClick(){var r=$e.run("document/repeater/insert",{container:this.options.container,name:this.model.get("name"),model:this.getDefaults()}),l=this.children.findByModel(r);this.editRow(l),this.toggleClasses()},onChildviewClickRemove:function onChildviewClickRemove(r){r===this.currentEditableChild&&delete this.currentEditableChild,$e.run("document/repeater/remove",{container:this.options.container,name:this.model.get("name"),index:r._index}),this.updateActiveRow(),this.updateChildIndexes(),this.toggleClasses()},onChildviewClickDuplicate:function onChildviewClickDuplicate(r){$e.run("document/repeater/duplicate",{container:this.options.container,name:this.model.get("name"),index:r._index}),this.toggleClasses()},onChildviewClickEdit:function onChildviewClickEdit(r){this.editRow(r)},onAfterExternalChange:function onAfterExternalChange(){this.fillCollection(),p.prototype.onAfterExternalChange.apply(this,arguments)}}),r.exports=c},6284:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861)),y=c(u(77894));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}l.default=function(r){function ResetLayoutBase(){return(0,p.default)(this,ResetLayoutBase),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,ResetLayoutBase,arguments)}return(0,h.default)(ResetLayoutBase,r),(0,m.default)(ResetLayoutBase,[{key:"getConditions",value:function getConditions(){return!$e.commands.isCurrentFirstTrace("document/elements/move")}},{key:"apply",value:function apply(r,l){Array.isArray(l)||(l=[l]),l.forEach(function(r){return r.parent.view.resetLayout(!1)})}}])}(y.default)},6342:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.SectionColumnsSetStructure=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861)),y=c(u(77894));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var C=l.SectionColumnsSetStructure=function(r){function SectionColumnsSetStructure(){return(0,p.default)(this,SectionColumnsSetStructure),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,SectionColumnsSetStructure,arguments)}return(0,h.default)(SectionColumnsSetStructure,r),(0,m.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(r){var l=r.containers,u=void 0===l?[r.container]:l,c=r.target;return u.some(function(r){return r.parent!==c})}},{key:"apply",value:function apply(r){var l=r.containers,u=void 0===l?[r.container]:l,c=r.target;return u.forEach(function(r){return r.parent.view.resetLayout()}),c.view.resetLayout(),!0}}])}(y.default);l.default=C},6412:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.Default=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861)),y=c(u(54270));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var C=l.Default=function(r){function Default(){return(0,p.default)(this,Default),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,Default,arguments)}return(0,h.default)(Default,r),(0,m.default)(Default,[{key:"apply",value:function apply(){var r,l=this.document;switch(l.container.settings.get("post_status")){case"publish":case"future":case"private":r=$e.run("document/save/update",{document:l});break;case"draft":r=l.config.user.can_publish?$e.run("document/save/publish",{document:l}):$e.run("document/save/pending",{document:l});break;case"pending":case void 0:r=l.config.user.can_publish?$e.run("document/save/publish",{document:l}):$e.run("document/save/update",{document:l})}return r}}])}(y.default);l.default=C},6418:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(30897));function _createForOfIteratorHelper(r,l){var u="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray(r,l){if(r){if("string"==typeof r)return _arrayLikeToArray(r,l);var u={}.toString.call(r).slice(8,-1);return"Object"===u&&r.constructor&&(u=r.constructor.name),"Map"===u||"Set"===u?Array.from(r):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?_arrayLikeToArray(r,l):void 0}}(r))||l&&r&&"number"==typeof r.length){u&&(r=u);var c=0,p=function F(){};return{s:p,n:function n(){return c>=r.length?{done:!0}:{done:!1,value:r[c++]}},e:function e(r){throw r},f:p}}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 m,v=!0,g=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return v=r.done,r},e:function e(r){g=!0,m=r},f:function f(){try{v||null==u.return||u.return()}finally{if(g)throw m}}}}function _arrayLikeToArray(r,l){(null==l||l>r.length)&&(l=r.length);for(var u=0,c=Array(l);u{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"Create",{enumerable:!0,get:function get(){return c.Create}});var c=u(31158)},6880:(r,l,u)=>{var c=u(67114);function AsyncGenerator(r){var l,u;function resume(l,u){try{var p=r[l](u),m=p.value,v=m instanceof c;Promise.resolve(v?m.v:m).then(function(u){if(v){var c="return"===l?"return":"next";if(!m.k||u.done)return resume(c,u);u=r[c](u).value}settle(p.done?"return":"normal",u)},function(r){resume("throw",r)})}catch(r){settle("throw",r)}}function settle(r,c){switch(r){case"return":l.resolve({value:c,done:!0});break;case"throw":l.reject(c);break;default:l.resolve({value:c,done:!1})}(l=l.next)?resume(l.key,l.arg):u=null}this._invoke=function(r,c){return new Promise(function(p,m){var v={key:r,arg:c,resolve:p,reject:m,next:null};u?u=u.next=v:(l=u=v,resume(r,c))})},"function"!=typeof r.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(r){return this._invoke("next",r)},AsyncGenerator.prototype.throw=function(r){return this._invoke("throw",r)},AsyncGenerator.prototype.return=function(r){return this._invoke("return",r)},r.exports=function _wrapAsyncGenerator(r){return function(){return new AsyncGenerator(r.apply(this,arguments))}},r.exports.__esModule=!0,r.exports.default=r.exports},6958:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.Colors=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var y=l.Colors=function(r){function Colors(){return(0,p.default)(this,Colors),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,Colors,arguments)}return(0,h.default)(Colors,r),(0,m.default)(Colors,null,[{key:"getEndpointFormat",value:function getEndpointFormat(){return"globals/colors/{id}"}}])}($e.modules.CommandData);l.default=y},7320:(r,l,u)=>{"use strict";var c=u(12470).__,p=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.Remove=void 0;var m=p(u(39805)),v=p(u(40989)),g=p(u(15118)),h=p(u(29402)),y=p(u(87861)),C=u(62161);function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var b=l.Remove=function(r){function Remove(){return(0,m.default)(this,Remove),function _callSuper(r,l,u){return l=(0,h.default)(l),(0,g.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,h.default)(r).constructor):l.apply(r,u))}(this,Remove,arguments)}return(0,y.default)(Remove,r),(0,v.default)(Remove,[{key:"validateArgs",value:function validateArgs(r){this.requireContainer(r),this.requireArgumentType("name","string",r),this.requireArgument("index",r)}},{key:"getHistory",value:function getHistory(r){var l=r.containers;return{containers:void 0===l?[r.container]:l,type:"remove",subTitle:c("Item","elementor")}}},{key:"apply",value:function apply(r){var l=this,u=r.name,c=r.containers,p=void 0===c?[r.container]:c,m=r.isRestored,v=void 0!==m&&m,g=null===r.index?-1:r.index,h=[];return p.forEach(function(r){var c=(r=r.lookup()).settings.get(u),p=c.at(g),m=r.repeaters[u],y=r.settings.get("widgetType");if(l.isHistoryActive()&&$e.internal("document/history/log-sub-item",{container:r,data:{name:u,model:p,index:g},restore:l.constructor.restore}),h.push(m.children.splice(g,1)),c.remove(p),(0,C.shouldUseAtomicRepeaters)(y)&&!v){var b=r.view.$el[0];(0,C.widgetNodes)(y).targetContainer.forEach(function(r){b.querySelector(r).children[g].remove()})}else m.render()}),1===h.length?h[0]:h}}],[{key:"restore",value:function restore(r,l){var u=r.get("data"),c=r.get("container");l?$e.run("document/repeater/remove",{container:c,name:u.name,index:u.index,isRestored:!0}):$e.run("document/repeater/insert",{container:c,model:u.model,name:u.name,options:{at:u.index},isRestored:!0})}}])}($e.modules.editor.document.CommandHistoryBase);l.default=b},7454:(r,l,u)=>{"use strict";var c=u(12470).__,p=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.Save=void 0;var m=p(u(61790)),v=p(u(58155)),g=p(u(39805)),h=p(u(40989)),y=p(u(15118)),C=p(u(29402)),b=p(u(87861));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var w=l.Save=function(r){function Save(){return(0,g.default)(this,Save),function _callSuper(r,l,u){return l=(0,C.default)(l),(0,y.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,C.default)(r).constructor):l.apply(r,u))}(this,Save,arguments)}return(0,b.default)(Save,r),(0,h.default)(Save,[{key:"apply",value:(l=(0,v.default)(m.default.mark(function _callee(r){var l,u,c,p,v,g,h,y,C,b,w,k,S,R,P,x,O,T=this;return m.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(u=r.status,c=void 0===u?"draft":u,p=r.force,v=void 0!==p&&p,g=r.onSuccess,h=void 0===g?null:g,y=r.document,C=void 0===y?elementor.documents.getCurrent():y,v||!C.editor.isSaving){m.next=1;break}return m.abrupt("return",jQuery.Deferred().reject("Document already in save progress"));case 1:if(b=C.container,null===(l=elementorCommon.config.experimentalFeatures)||void 0===l||!l.e_components){m.next=2;break}return m.next=2,null===(w=(k=elementorCommon).__beforeSave)||void 0===w?void 0:w.call(k,{container:b,status:c});case 2:return S=b.settings.toJSON({remove:["default"]}),R=b.settings.get("post_status"),this.addPersistentSettingsToPayload(S,b),elementor.saver.trigger("before:save",r).trigger("before:save:"+c,r),C.editor.isSaving=!0,C.editor.isChangedDuringSave=!1,S.post_status=c,P=[],elementor.config.document.panel.has_elements&&(P=b.model.get("elements").toJSON({remove:["default","editSettings","defaultEditSettings"]})),x={status:c,oldStatus:R,elements:P,document:C,currentHistoryId:C.history.currentItem.get("id")},O=elementorCommon.ajax.addRequest("save_builder",{data:{status:c,elements:P,settings:S},error:function error(r){return T.onSaveError(r,c,C)}}).then(function(r){return T.onSaveSuccess(r,x,h)}),elementor.saver.trigger("save",r),m.abrupt("return",O);case 3:case"end":return m.stop()}},_callee,this)})),function apply(r){return l.apply(this,arguments)})},{key:"onSaveSuccess",value:function onSaveSuccess(r,l){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,c=l.status,p=l.oldStatus,m=l.elements,v=l.document,g=l.currentHistoryId;this.onAfterAjax(v),v.editor.lastSaveHistoryId=g,elementor.documents.invalidateCache(v.id);var h=c!==p,y={data:r,statusChanged:h};return v!==elementor.documents.getCurrent()||(v.editor.isChangedDuringSave||(v.editor.isSaved=!0),"autosave"!==c&&(h&&$e.run("document/elements/settings",{container:elementor.settings.page.getEditedView().getContainer(),settings:{post_status:c},options:{external:!0}}),v.editor.isChangedDuringSave||$e.internal("document/save/set-is-modified",{status:!1})),r.config&&jQuery.extend(!0,v.config,r.config.document),v.config.elements&&(v.config.elements=m),elementor.channels.editor.trigger("saved",r),elementor.saver.trigger("after:save",r).trigger("after:save:"+c,r),h&&elementor.saver.trigger("page:status:change",c,p),_.isFunction(u)&&u.call(this,y)),y}},{key:"onSaveError",value:function onSaveError(r,l,u){var p;this.onAfterAjax(u),elementor.saver.trigger("after:saveError",r).trigger("after:saveError:"+l,r),_.isString(r)?p=r:r.statusText?(p=elementor.createAjaxErrorMessage(r),0===r.readyState&&(p+=" "+c("Saving has been disabled until you’re reconnected.","elementor"))):r[0]&&r[0].code&&(p=c("Server Error","elementor")+" "+r[0].code),elementor.notifications.showToast({message:p})}},{key:"onAfterAjax",value:function onAfterAjax(r){r.editor.isSaving=!1}},{key:"addPersistentSettingsToPayload",value:function addPersistentSettingsToPayload(r,l){var u;null===(u=elementor)||void 0===u||null===(u=u.config)||void 0===u||null===(u=u.persistent_keys)||void 0===u||u.forEach(function(u){l.settings.defaults.hasOwnProperty(u)&&!r.hasOwnProperty(u)&&(r[u]=l.settings.defaults[u])})}}]);var l}($e.modules.CommandInternalBase);l.default=w},7470:(r,l,u)=>{"use strict";var c=u(75206);l.createRoot=c.createRoot,l.hydrateRoot=c.hydrateRoot},7778:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.AfterSelect=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861)),y=c(u(61856));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var C=l.AfterSelect=function(r){function AfterSelect(){return(0,p.default)(this,AfterSelect),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,AfterSelect,arguments)}return(0,h.default)(AfterSelect,r),(0,m.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(r){var l,u,c=null==r||null===(l=r.container)||void 0===l||null===(l=l.document)||void 0===l||null===(l=l.config)||void 0===l?void 0:l.type;c||(c=null==r||null===(u=r.containers[0])||void 0===u||null===(u=u.document)||void 0===u||null===(u=u.config)||void 0===u?void 0:u.type);return"floating-buttons"===c}},{key:"apply",value:function apply(r){var l=r.container.type;switch(void 0===l?"":l){case"section":case"container":$e.run("document/elements/select",{container:r.container.children[0],append:!1})}}}])}(y.default);l.default=C},7787:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.Exit=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var y=l.Exit=function(r){function Exit(){return(0,p.default)(this,Exit),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,Exit,arguments)}return(0,h.default)(Exit,r),(0,m.default)(Exit,[{key:"apply",value:function apply(){return $e.run("editor/documents/close",{id:elementor.config.kit_id,onClose:function onClose(r){location=r.config.urls.exit_to_dashboard}})}}])}($e.modules.CommandBase);l.default=y},7895:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var y=u(62133);l.default=function(r){function BreakpointValidator(){return(0,p.default)(this,BreakpointValidator),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,BreakpointValidator,arguments)}return(0,h.default)(BreakpointValidator,r),(0,m.default)(BreakpointValidator,[{key:"getDefaultSettings",value:function getDefaultSettings(){return{validationTerms:{max:5120}}}},{key:"getPanelActiveBreakpoints",value:function getPanelActiveBreakpoints(){var r=elementor.documents.currentDocument.config.settings.settings.active_breakpoints.map(function(r){return r.replace("viewport_","")}),l={};return r.forEach(function(r){l[r]=elementorFrontend.config.responsive.breakpoints[r]}),l}},{key:"initBreakpointProperties",value:function initBreakpointProperties(){var r,l,u=this.getSettings("validationTerms"),c=this.getPanelActiveBreakpoints(),p=Object.keys(c);this.breakpointIndex=p.indexOf(u.breakpointName),this.topBreakpoint=null===(r=c[p[this.breakpointIndex+1]])||void 0===r?void 0:r.value,this.bottomBreakpoint=null===(l=c[p[this.breakpointIndex-1]])||void 0===l?void 0:l.value}},{key:"validationMethod",value:function validationMethod(r){var l=this.getSettings("validationTerms"),u=y.prototype.validationMethod.call(this,r);return(_.isFinite(r)||""===r)&&(this.validateMinMaxForBreakpoint(r,l)||u.push("Value is not between the breakpoints above or under the edited breakpoint")),u}},{key:"validateMinMaxForBreakpoint",value:function validateMinMaxForBreakpoint(r,l){var u=elementorFrontend.config.responsive.breakpoints[l.breakpointName].default_value,c=!0;return this.initBreakpointProperties(),"mobile"===l.breakpointName&&320===this.bottomBreakpoint&&(this.bottomBreakpoint-=1),this.bottomBreakpoint&&(""!==r&&r<=this.bottomBreakpoint&&(c=!1),""===r&&u<=this.bottomBreakpoint&&(c=!1)),this.topBreakpoint&&(""!==r&&r>=this.topBreakpoint&&(c=!1),""===r&&u>=this.topBreakpoint&&(c=!1)),c}}])}(y)},8004:(r,l,u)=>{"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"ChangeDeviceMode",{enumerable:!0,get:function get(){return c.ChangeDeviceMode}}),Object.defineProperty(l,"Close",{enumerable:!0,get:function get(){return v.Close}}),Object.defineProperty(l,"EditorPreferences",{enumerable:!0,get:function get(){return m.EditorPreferences}}),Object.defineProperty(l,"Exit",{enumerable:!0,get:function get(){return g.Exit}}),Object.defineProperty(l,"Open",{enumerable:!0,get:function get(){return h.Open}}),Object.defineProperty(l,"PageSettings",{enumerable:!0,get:function get(){return p.PageSettings}}),Object.defineProperty(l,"Publish",{enumerable:!0,get:function get(){return y.Publish}}),Object.defineProperty(l,"Save",{enumerable:!0,get:function get(){return C.Save}}),Object.defineProperty(l,"Toggle",{enumerable:!0,get:function get(){return b.Toggle}});var c=u(84633),p=u(41111),m=u(79132),v=u(21068),g=u(95677),h=u(31782),y=u(48283),C=u(52859),b=u(88810)},8165:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.Open=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var y=l.Open=function(r){function Open(){return(0,p.default)(this,Open),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,Open,arguments)}return(0,h.default)(Open,r),(0,m.default)(Open,[{key:"apply",value:function apply(r){$e.route(this.component.getNamespace(),r)}}])}($e.modules.CommandBase);l.default=y},8323:(r,l,u)=>{"use strict";var c=u(12470).__,p=u(96784)(u(85707)),m=u(47838);r.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 r=elementor.helpers.hasPro()&&!elementor.helpers.hasProAndNotConnected(),l=this.getOption("tags").length>0;return!r||l},renderTools:function renderTools(){var r=this;if(this.shouldRenderTools()){var l=jQuery(Marionette.Renderer.render("#tmpl-elementor-control-dynamic-switcher"));l.on("click",function(l){return r.onDynamicSwitcherClick(l)}),this.$el.find(".elementor-control-dynamic-switcher-wrapper").append(l),this.ui.dynamicSwitcher=l,"color"===this.view.model.get("type")&&(this.view.colorPicker?this.moveDynamicSwitcherToColorPicker():setTimeout(function(){return r.moveDynamicSwitcherToColorPicker()})),this.ui.dynamicSwitcher.tipsy({title:function title(){return this.getAttribute("data-tooltip")},gravity:"s"})}},moveDynamicSwitcherToColorPicker:function moveDynamicSwitcherToColorPicker(){var r=this.view.colorPicker.$pickerToolsContainer;this.ui.dynamicSwitcher.removeClass("elementor-control-unit-1").addClass("e-control-tool");var l=r.find(".elementor-control-element-color-picker");l.length?this.ui.dynamicSwitcher.insertBefore(l):r.append(this.ui.dynamicSwitcher)},toggleDynamicClass:function toggleDynamicClass(){this.$el.toggleClass("elementor-control-dynamic-value",this.isDynamicMode())},isDynamicMode:function isDynamicMode(){var r=this.view.container.settings.get("__dynamic__");return!(!r||!r[this.view.model.get("name")])},createTagsList:function createTagsList(){var r=_.groupBy(this.getOption("tags"),"group"),l=elementor.dynamicTags.getConfig("groups"),u=this.ui.tagsList=jQuery("",{class:"elementor-tags-list"}),c=jQuery("
",{class:"elementor-tags-list__inner"});if(u.append(c),jQuery.each(l,function(l){var u=r[l];if(u){var p=jQuery("
",{class:"elementor-tags-list__group-title"}).text(this.title);c.append(p),u.forEach(function(r){var l=jQuery("
",{class:"elementor-tags-list__item"});l.text(r.title).attr("data-tag-name",r.name),c.append(l)})}}),!elementor.helpers.hasPro()&&Object.keys(r).length){var p=Marionette.Renderer.render("#tmpl-elementor-dynamic-tags-promo",{promotionUrl:elementor.config.dynamicPromotionURL.replace("%s",this.view.model.get("name"))});c.append(p)}c.on("click",".elementor-tags-list__item",this.onTagsListItemClick.bind(this)),elementorCommon.elements.$body.append(u)},getTagsList:function getTagsList(){return this.ui.tagsList||this.createTagsList(),this.ui.tagsList},toggleTagsList:function toggleTagsList(){var r=this.getTagsList();if(r.is(":visible"))r.hide();else{var l=elementorCommon.config.isRTL?"left":"right";r.show().position({my:"".concat(l," top"),at:"".concat(l," bottom+5"),of:this.ui.dynamicSwitcher})}},setTagView:function setTagView(r,l,u){this.tagView&&this.tagView.destroy();var c=this.tagView=new m({id:r,name:l,settings:u,controlName:this.view.model.get("name"),dynamicSettings:this.getOption("dynamicSettings")}),p=this.view.options.container,v=p.controls[c.options.controlName].label;c.options.container=new elementorModules.editor.Container({type:"dynamic",id:r,model:c.model,settings:c.model,view:c,parent:p,label:p.label+" "+v,controls:c.model.options.controls,renderer:p}),c.render(),this.$el.find(".elementor-control-tag-area").after(c.el),this.listenTo(c,"remove",this.onTagViewRemove.bind(this))},setDefaultTagView:function setDefaultTagView(){var r=elementor.dynamicTags.tagTextToTagData(this.getDynamicValue());this.setTagView(r.id,r.name,r.settings)},tagViewToTagText:function tagViewToTagText(){var r=this.tagView;return elementor.dynamicTags.tagDataToTagText(r.getOption("id"),r.getOption("name"),r.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 r=elementor.helpers.hasProAndNotConnected(),l={title:c("Dynamic Content","elementor"),content:c("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:r?elementorProEditorConfig.urls.connect:elementor.config.dynamicPromotionURL.replace("%s",this.view.model.get("name")),text:c(r?"Connect & Activate":"Upgrade","elementor")}};elementor.promotion.showDialog(l)},onRender:function onRender(){this.$el.addClass("elementor-control-dynamic"),this.renderTools(),this.toggleDynamicClass(),this.isDynamicMode()&&this.setDefaultTagView()},onDynamicSwitcherClick:function onDynamicSwitcherClick(r){r.stopPropagation(),this.getOption("tags").length?this.toggleTagsList():this.showPromotion()},onTagsListItemClick:function onTagsListItemClick(r){var l=jQuery(r.currentTarget);this.setTagView(elementorCommon.helpers.getUniqueId(),l.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,p.default)({},this.view.model.get("name"),this.tagViewToTagText())}):$e.run("document/dynamic/enable",{container:this.view.options.container,settings:(0,p.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,p.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()}})},8513:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(85707)),g=u(38940);l.default=function(){return(0,m.default)(function RevisionsManager(r){(0,p.default)(this,RevisionsManager),(0,v.default)(this,"document",void 0),(0,v.default)(this,"revisions",void 0),this.document=r},[{key:"getItems",value:function getItems(){return this.revisions}},{key:"requestRevisions",value:function requestRevisions(r){var l=this;this.revisions?r(this.revisions):elementorCommon.ajax.addRequest("get_revisions",{success:function success(u){l.revisions=new g(u),l.revisions.on("update",l.onRevisionsUpdate.bind(l)),r(l.revisions)}})}},{key:"setEditorData",value:function setEditorData(r){elementor.getPreviewView().collection.reset(r)}},{key:"getRevisionDataAsync",value:function getRevisionDataAsync(r,l){return _.extend(l,{data:{id:r}}),elementorCommon.ajax.addRequest("get_revision_data",l)}},{key:"addRevisions",value:function addRevisions(r){var l=this;this.requestRevisions(function(){r.forEach(function(r){var u=l.revisions.findWhere({id:r.id});u&&l.revisions.remove(u,{silent:!0}),l.revisions.add(r,{silent:!0})}),l.revisions.trigger("update")})}},{key:"deleteRevision",value:function deleteRevision(r,l){var u={data:{id:r.get("id")},success:function success(){l.success&&l.success(),r.destroy()}};l.error&&(u.error=l.error),elementorCommon.ajax.addRequest("delete_revision",u)}},{key:"onRevisionsUpdate",value:function onRevisionsUpdate(){$e.routes.is("panel/history/revisions")&&$e.routes.refreshContainer("panel")}}])}()},8589:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}l.default=function(r){function BaseElementModel(){return(0,p.default)(this,BaseElementModel),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,BaseElementModel,arguments)}return(0,h.default)(BaseElementModel,r),(0,m.default)(BaseElementModel,[{key:"isValidChild",value:function isValidChild(r){elementorModules.ForceMethodImplementation({attributes:this.attributes})}}])}(Backbone.Model)},8813:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(41621)),y=c(u(87861)),C=c(u(95480));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}function _superPropGet(r,l,u,c){var p=(0,h.default)((0,g.default)(1&c?r.prototype:r),l,u);return 2&c&&"function"==typeof p?function(r){return p.apply(u,r)}:p}l.default=function(r){function CommandHistoryBase(){return(0,p.default)(this,CommandHistoryBase),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,CommandHistoryBase,arguments)}return(0,y.default)(CommandHistoryBase,r),(0,m.default)(CommandHistoryBase,[{key:"initialize",value:function initialize(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=r.options,u=(void 0===l?{}:l).useHistory;(void 0===u||u)&&(this.history=this.getHistory(r),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(r){_superPropGet(CommandHistoryBase,"onBeforeRun",this,3)([r]),this.history&&this.isHistoryActive()&&(this.historyId=$e.internal("document/history/start-log",this.history))}},{key:"onAfterRun",value:function onAfterRun(r,l){_superPropGet(CommandHistoryBase,"onAfterRun",this,3)([r,l]),this.history&&this.isHistoryActive()&&$e.internal("document/history/end-log",{id:this.historyId})}},{key:"onAfterApply",value:function onAfterApply(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0;_superPropGet(CommandHistoryBase,"onAfterApply",this,3)([r,l]),this.isDataChanged()&&$e.internal("document/save/set-is-modified",{status:!0})}},{key:"onCatchApply",value:function onCatchApply(r){r instanceof $e.modules.HookBreak&&this.historyId&&$e.internal("document/history/delete-log",{id:this.historyId}),_superPropGet(CommandHistoryBase,"onCatchApply",this,3)([r])}},{key:"isDataChanged",value:function isDataChanged(){return!0}}],[{key:"getInstanceType",value:function getInstanceType(){return"CommandHistoryBase"}}])}(C.default)},9297:(r,l,u)=>{"use strict";var c=u(12470).__,p=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var m=p(u(39805)),v=p(u(40989)),g=p(u(15118)),h=p(u(29402)),y=p(u(41621)),C=p(u(87861)),b=p(u(40397));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}l.default=function(r){function Component(){return(0,m.default)(this,Component),function _callSuper(r,l,u){return l=(0,h.default)(l),(0,g.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,h.default)(r).constructor):l.apply(r,u))}(this,Component,arguments)}return(0,C.default)(Component,r),(0,v.default)(Component,[{key:"getNamespace",value:function getNamespace(){return"panel/elements"}},{key:"defaultTabs",value:function defaultTabs(){return{categories:{title:c("Elements","elementor")},global:{title:c("Global","elementor")}}}},{key:"getTabsWrapperSelector",value:function getTabsWrapperSelector(){return"#elementor-panel-elements-navigation"}},{key:"renderTab",value:function renderTab(r){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.manager.setPage("elements",null,l).showView(r)}},{key:"activateTab",value:function activateTab(r){!function _superPropGet(r,l,u,c){var p=(0,y.default)((0,h.default)(1&c?r.prototype:r),l,u);return 2&c&&"function"==typeof p?function(r){return p.apply(u,r)}:p}(Component,"activateTab",this,3)([r]),elementorCommon.eventsManager.dispatchEvent(elementorCommon.eventsManager.config.names.v1[r],{location:elementorCommon.eventsManager.config.locations.widgetPanel,secondaryLocation:elementorCommon.eventsManager.config.secondaryLocations[r],trigger:elementorCommon.eventsManager.config.triggers.click,element:elementorCommon.eventsManager.config.elements.accordionSection})}}])}(b.default)},9366:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.KitUpdateLightboxPreview=void 0;var p=c(u(18821)),m=c(u(39805)),v=c(u(40989)),g=c(u(15118)),h=c(u(29402)),y=c(u(87861));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var C=l.KitUpdateLightboxPreview=function(r){function KitUpdateLightboxPreview(){return(0,m.default)(this,KitUpdateLightboxPreview),function _callSuper(r,l,u){return l=(0,h.default)(l),(0,g.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,h.default)(r).constructor):l.apply(r,u))}(this,KitUpdateLightboxPreview,arguments)}return(0,y.default)(KitUpdateLightboxPreview,r),(0,v.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(r){var l=r.settings;Object.entries(l).forEach(function(r){var l=(0,p.default)(r,2),u=l[0],c=l[1];-1!==u.indexOf("lightbox")&&(elementorFrontend.config.kit[u]=c)})}}])}($e.modules.hookUI.After);l.default=C},9535:(r,l,u)=>{var c=u(89736);function _regenerator(){var l,u,p="function"==typeof Symbol?Symbol:{},m=p.iterator||"@@iterator",v=p.toStringTag||"@@toStringTag";function i(r,p,m,v){var h=p&&p.prototype instanceof Generator?p:Generator,y=Object.create(h.prototype);return c(y,"_invoke",function(r,c,p){var m,v,h,y=0,C=p||[],b=!1,w={p:0,n:0,v:l,a:d,f:d.bind(l,4),d:function d(r,u){return m=r,v=0,h=l,w.n=u,g}};function d(r,c){for(v=r,h=c,u=0;!b&&y&&!p&&u3?(p=S===c)&&(h=m[(v=m[4])?5:(v=3,3)],m[4]=m[5]=l):m[0]<=k&&((p=r<2&&kc||c>S)&&(m[4]=r,m[5]=c,w.n=S,v=0))}if(p||r>1)return g;throw b=!0,c}return function(p,C,k){if(y>1)throw TypeError("Generator is already running");for(b&&1===C&&d(C,k),v=C,h=k;(u=v<2?l:h)||!b;){m||(v?v<3?(v>1&&(w.n=-1),d(v,h)):w.n=h:w.v=h);try{if(y=2,m){if(v||(p="next"),u=m[p]){if(!(u=u.call(m,h)))throw TypeError("iterator result is not an object");if(!u.done)return u;h=u.value,v<2&&(v=0)}else 1===v&&(u=m.return)&&u.call(m),v<2&&(h=TypeError("The iterator does not provide a '"+p+"' method"),v=1);m=l}else if((u=(b=w.n<0)?h:r.call(c,w))!==g)break}catch(r){m=l,v=1,h=r}finally{y=1}}return{value:u,done:b}}}(r,m,v),!0),y}var g={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}u=Object.getPrototypeOf;var h=[][m]?u(u([][m]())):(c(u={},m,function(){return this}),u),y=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(h);function f(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,GeneratorFunctionPrototype):(r.__proto__=GeneratorFunctionPrototype,c(r,v,"GeneratorFunction")),r.prototype=Object.create(y),r}return GeneratorFunction.prototype=GeneratorFunctionPrototype,c(y,"constructor",GeneratorFunctionPrototype),c(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",c(GeneratorFunctionPrototype,v,"GeneratorFunction"),c(y),c(y,v,"Generator"),c(y,m,function(){return this}),c(y,"toString",function(){return"[object Generator]"}),(r.exports=_regenerator=function _regenerator(){return{w:i,m:f}},r.exports.__esModule=!0,r.exports.default=r.exports)()}r.exports=_regenerator,r.exports.__esModule=!0,r.exports.default=r.exports},10281:(r,l,u)=>{"use strict";var c=u(96784),p=u(10564);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var m=c(u(39805)),v=c(u(40989)),g=c(u(15118)),h=c(u(29402)),y=c(u(87861)),C=function _interopRequireWildcard(r,l){if("function"==typeof WeakMap)var u=new WeakMap,c=new WeakMap;return function _interopRequireWildcard(r,l){if(!l&&r&&r.__esModule)return r;var m,v,g={__proto__:null,default:r};if(null===r||"object"!=p(r)&&"function"!=typeof r)return g;if(m=l?c:u){if(m.has(r))return m.get(r);m.set(r,g)}for(var h in r)"default"!==h&&{}.hasOwnProperty.call(r,h)&&((v=(m=Object.defineProperty)&&Object.getOwnPropertyDescriptor(r,h))&&(v.get||v.set)?m(g,h,v):g[h]=r[h]);return g}(r,l)}(u(53621));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}l.default=function(r){function LinksPageComponent(){return(0,m.default)(this,LinksPageComponent),function _callSuper(r,l,u){return l=(0,h.default)(l),(0,g.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,h.default)(r).constructor):l.apply(r,u))}(this,LinksPageComponent,arguments)}return(0,y.default)(LinksPageComponent,r),(0,v.default)(LinksPageComponent,[{key:"getNamespace",value:function getNamespace(){return"document/floating-buttons"}},{key:"defaultHooks",value:function defaultHooks(){return this.importHooks(C)}}])}($e.modules.ComponentBase)},10361:(r,l,u)=>{"use strict";var c=u(96784),p=u(10564);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var m=c(u(39805)),v=c(u(40989)),g=c(u(15118)),h=c(u(29402)),y=c(u(41621)),C=c(u(87861)),b=c(u(40397)),w=_interopRequireWildcard(u(68130)),k=_interopRequireWildcard(u(46789)),S=_interopRequireWildcard(u(21170));function _interopRequireWildcard(r,l){if("function"==typeof WeakMap)var u=new WeakMap,c=new WeakMap;return(_interopRequireWildcard=function _interopRequireWildcard(r,l){if(!l&&r&&r.__esModule)return r;var m,v,g={__proto__:null,default:r};if(null===r||"object"!=p(r)&&"function"!=typeof r)return g;if(m=l?c:u){if(m.has(r))return m.get(r);m.set(r,g)}for(var h in r)"default"!==h&&{}.hasOwnProperty.call(r,h)&&((v=(m=Object.defineProperty)&&Object.getOwnPropertyDescriptor(r,h))&&(v.get||v.set)?m(g,h,v):g[h]=r[h]);return g})(r,l)}function _createForOfIteratorHelper(r,l){var u="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray(r,l){if(r){if("string"==typeof r)return _arrayLikeToArray(r,l);var u={}.toString.call(r).slice(8,-1);return"Object"===u&&r.constructor&&(u=r.constructor.name),"Map"===u||"Set"===u?Array.from(r):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?_arrayLikeToArray(r,l):void 0}}(r))||l&&r&&"number"==typeof r.length){u&&(r=u);var c=0,p=function F(){};return{s:p,n:function n(){return c>=r.length?{done:!0}:{done:!1,value:r[c++]}},e:function e(r){throw r},f:p}}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 m,v=!0,g=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return v=r.done,r},e:function e(r){g=!0,m=r},f:function f(){try{v||null==u.return||u.return()}finally{if(g)throw m}}}}function _arrayLikeToArray(r,l){(null==l||l>r.length)&&(l=r.length);for(var u=0,c=Array(l);u3&&void 0!==arguments[3])||arguments[3],m=[];for(var v in l._views){var g=l._views[v];if(c===g.model.get(u)&&(m.push(g),!p))return m;if(g.children){var h=r.utils.findViewRecursive(g.children,u,c,p);if(h.length&&(m=m.concat(h),!p))return m}}return m},findViewById:function findViewById(l){var u=r.utils.findViewRecursive(elementor.getPreviewView().children,"id",l,!1);return!!u&&u[0]},findContainerById:function findContainerById(l){var u=r.utils.findViewById(l);return u&&(u=u.getContainer()),u},findModelById:function findModelById(l){var u,c,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:elementor.elementsModel.get("elements"),m=_createForOfIteratorHelper(null!==(u=null==p?void 0:p.models)&&void 0!==u?u:[]);try{for(m.s();!(c=m.n()).done;){var v=c.value,g=v.get("id")===l?v:r.utils.findModelById(l,v.get("elements"));if(g)return g}}catch(r){m.e(r)}finally{m.f()}return null},addModelToParent:function addModelToParent(l,u,c){var p=r.utils.findModelById(l);if(!p)return!1;var m=p.get("elements");return!!m&&(m.add(u,{at:null==c?void 0:c.at,silent:!0}),!0)},removeModelFromParent:function removeModelFromParent(l,u){var c=r.utils.findModelById(l);if(!c)return!1;var p=c.get("elements");if(!p)return!1;var m=p.findWhere({id:u});return!!m&&(p.remove(m,{silent:!0}),!0)}}}}])}(b.default)},10363:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.FooterSaverCatchSave=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861)),y=c(u(66777));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var C=l.FooterSaverCatchSave=function(r){function FooterSaverCatchSave(){return(0,p.default)(this,FooterSaverCatchSave),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,FooterSaverCatchSave,arguments)}return(0,h.default)(FooterSaverCatchSave,r),(0,m.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")}}])}(y.default);l.default=C},10564:r=>{function _typeof(l){return r.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},r.exports.__esModule=!0,r.exports.default=r.exports,_typeof(l)}r.exports=_typeof,r.exports.__esModule=!0,r.exports.default=r.exports},10644:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var p=c(u(61790)),m=c(u(58155)),v=c(u(39805)),g=c(u(40989)),h=c(u(85707));l.default=function(){return(0,g.default)(function FileParserBase(r){(0,v.default)(this,FileParserBase),(0,h.default)(this,"reader",void 0),(0,h.default)(this,"tasks",[]),this.reader=r},[{key:"parse",value:(l=(0,m.default)(p.default.mark(function _callee(){return p.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:case"end":return r.stop()}},_callee)})),function parse(){return l.apply(this,arguments)})}],[{key:"getName",value:function getName(){return""}},{key:"getReaders",value:function getReaders(){return[]}},{key:"validate",value:(r=(0,m.default)(p.default.mark(function _callee2(r){return p.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",!1);case 1:case"end":return r.stop()}},_callee2)})),function validate(l){return r.apply(this,arguments)})}]);var r,l}()},10684:(r,l,u)=>{"use strict";var c,p=u(54454),m=u(58907);c=m.extend({template:"#tmpl-elementor-template-library-template-remote",attributes:function attributes(){return jQuery.extend(m.prototype.attributes.apply(this,arguments),{tabindex:"0","aria-label":this.model.get("title")||""})},ui:function ui(){return jQuery.extend(m.prototype.ui.apply(this,arguments),{favoriteCheckbox:".elementor-template-library-template-favorite-input"})},events:function events(){return jQuery.extend(m.prototype.events.apply(this,arguments),{"change @ui.favoriteCheckbox":"onFavoriteCheckboxChange"})},onPreviewButtonClick:function onPreviewButtonClick(r){r.stopPropagation(),$e.route("library/preview",{model:this.model})},onFavoriteCheckboxChange:function onFavoriteCheckboxChange(){var r,l=this.ui.favoriteCheckbox[0].checked;this.model.set("favorite",l),elementor.templates.markAsFavorite(this.model,l);var u=null===(r=elementor.config.library_connect)||void 0===r?void 0:r.base_access_tier,c=this.model.get("accessTier");p.EditorOneEventManager.sendELibraryFavorite({assetId:this.model.get("template_id"),assetName:this.model.get("title"),libraryType:this.model.get("type")||this.model.get("source"),isFavorite:l,proRequired:u!==c}),!l&&elementor.templates.getFilter("favorite")&&elementor.channels.templates.trigger("filter:change")}}),r.exports=c},10739:r=>{r.exports=function _objectWithoutPropertiesLoose(r,l){if(null==r)return{};var u={};for(var c in r)if({}.hasOwnProperty.call(r,c)){if(-1!==l.indexOf(c))continue;u[c]=r[c]}return u},r.exports.__esModule=!0,r.exports.default=r.exports},10906:(r,l,u)=>{var c=u(91819),p=u(20365),m=u(37744),v=u(78687);r.exports=function _toConsumableArray(r){return c(r)||p(r)||m(r)||v()},r.exports.__esModule=!0,r.exports.default=r.exports},10943:(r,l,u)=>{"use strict";var c=u(96784),p=u(10564);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var m=c(u(39805)),v=c(u(40989)),g=c(u(15118)),h=c(u(29402)),y=c(u(41621)),C=c(u(87861)),b=c(u(40397)),w=c(u(5043)),k=c(u(67738)),S=function _interopRequireWildcard(r,l){if("function"==typeof WeakMap)var u=new WeakMap,c=new WeakMap;return function _interopRequireWildcard(r,l){if(!l&&r&&r.__esModule)return r;var m,v,g={__proto__:null,default:r};if(null===r||"object"!=p(r)&&"function"!=typeof r)return g;if(m=l?c:u){if(m.has(r))return m.get(r);m.set(r,g)}for(var h in r)"default"!==h&&{}.hasOwnProperty.call(r,h)&&((v=(m=Object.defineProperty)&&Object.getOwnPropertyDescriptor(r,h))&&(v.get||v.set)?m(g,h,v):g[h]=r[h]);return g}(r,l)}(u(76468));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}function _superPropGet(r,l,u,c){var p=(0,y.default)((0,h.default)(1&c?r.prototype:r),l,u);return 2&c&&"function"==typeof p?function(r){return p.apply(u,r)}:p}l.default=function(r){function Component(){return(0,m.default)(this,Component),function _callSuper(r,l,u){return l=(0,h.default)(l),(0,g.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,h.default)(r).constructor):l.apply(r,u))}(this,Component,arguments)}return(0,C.default)(Component,r),(0,v.default)(Component,[{key:"__construct",value:function __construct(){var r=this,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_superPropGet(Component,"__construct",this,3)([l]),elementorCommon.elements.$window.on("elementor:loaded",function(){return r.refreshGlobalData()})}},{key:"getNamespace",value:function getNamespace(){return"globals"}},{key:"registerAPI",value:function registerAPI(){$e.components.register(new w.default({manager:this})),$e.components.register(new k.default({manager:this})),_superPropGet(Component,"registerAPI",this,3)([])}},{key:"defaultData",value:function defaultData(){return this.importCommands(S)}},{key:"refreshGlobalData",value:function refreshGlobalData(){$e.data.deleteCache($e.components.get("globals"),"globals/index")}},{key:"populateGlobalData",value:function populateGlobalData(){$e.data.get("globals/index")}}])}(b.default)},11018:r=>{r.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.")},r.exports.__esModule=!0,r.exports.default=r.exports},11141:(r,l)=>{"use strict";function showGlobalStylesDialog(){return new Promise(function(r,l){var u=!1,c=elementorCommon.dialogsManager.createWidget("lightbox",{id:"elementor-global-styles-dialog",headerMessage:"",message:wp.template("elementor-global-styles-dialog")(),position:{my:"center",at:"center"},hide:{onBackgroundClick:!1},onShow:function onShow(){!function setupDialogEventListeners(r,l,u){var c=r.getElements("message"),p=c.find("#elementor-global-styles-match"),m=c.find("#elementor-global-styles-keep"),v=c.find("#elementor-global-styles-create"),g=c.find(".elementor-global-styles-dialog__checkbox-container"),h=c.find("#elementor-global-styles-insert"),y=c.find("#elementor-global-styles-cancel");p.off(".elementorGlobalStyles").on("change.elementorGlobalStyles",function(){g.hide()}),m.off(".elementorGlobalStyles").on("change.elementorGlobalStyles",function(){g.show()}),h.off(".elementorGlobalStyles").on("click.elementorGlobalStyles",function(){var r;r=p.is(":checked")?"match_site":v.is(":checked")?"keep_create":"keep_flatten",l({mode:r})}),y.off(".elementorGlobalStyles").on("click.elementorGlobalStyles",function(){u(new Error("User cancelled"))})}(c,function(l){u||(u=!0,r(l),c.hide())},function(r){u||(u=!0,l(r),c.hide())})},onHide:function onHide(){u||(u=!0,l(new Error("Dialog closed")))}});c.show()})}Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,l.showGlobalStylesDialog=showGlobalStylesDialog;l.default=showGlobalStylesDialog},11327:(r,l,u)=>{var c=u(10564).default;r.exports=function toPrimitive(r,l){if("object"!=c(r)||!r)return r;var u=r[Symbol.toPrimitive];if(void 0!==u){var p=u.call(r,l||"default");if("object"!=c(p))return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===l?String:Number)(r)},r.exports.__esModule=!0,r.exports.default=r.exports},11698:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.UndoAll=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861));function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var y=l.UndoAll=function(r){function UndoAll(){return(0,p.default)(this,UndoAll),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,UndoAll,arguments)}return(0,h.default)(UndoAll,r),(0,m.default)(UndoAll,[{key:"apply",value:function apply(r){var l=r.document;l.history.doItem(l.history.getItems().length-1)}}])}($e.modules.CommandBase);l.default=y},11859:(r,l,u)=>{"use strict";var c=u(96784);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.RemoveActiveDocumentQueryParam=void 0;var p=c(u(39805)),m=c(u(40989)),v=c(u(15118)),g=c(u(29402)),h=c(u(87861)),y=u(21299);function _isNativeReflectConstruct(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(r){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!r})()}var C=l.RemoveActiveDocumentQueryParam=function(r){function RemoveActiveDocumentQueryParam(){return(0,p.default)(this,RemoveActiveDocumentQueryParam),function _callSuper(r,l,u){return l=(0,g.default)(l),(0,v.default)(r,_isNativeReflectConstruct()?Reflect.construct(l,u||[],(0,g.default)(r).constructor):l.apply(r,u))}(this,RemoveActiveDocumentQueryParam,arguments)}return(0,h.default)(RemoveActiveDocumentQueryParam,r),(0,m.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(r){var l=parseInt((0,y.getQueryParam)("active-document"));l===parseInt(r.id)&&(0,y.removeQueryParam)("active-document"),r.previous_active_document_id=l}}])}($e.modules.hookUI.After);l.default=C},12466:(r,l,u)=>{"use strict";var c=u(96784),p=u(10564);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var m=c(u(10564)),v=_interopRequireWildcard(u(82649)),g=_interopRequireWildcard(u(34169));function _interopRequireWildcard(r,l){if("function"==typeof WeakMap)var u=new WeakMap,c=new WeakMap;return(_interopRequireWildcard=function _interopRequireWildcard(r,l){if(!l&&r&&r.__esModule)return r;var m,v,g={__proto__:null,default:r};if(null===r||"object"!=p(r)&&"function"!=typeof r)return g;if(m=l?c:u){if(m.has(r))return m.get(r);m.set(r,g)}for(var h in r)"default"!==h&&{}.hasOwnProperty.call(r,h)&&((v=(m=Object.defineProperty)&&Object.getOwnPropertyDescriptor(r,h))&&(v.get||v.set)?m(g,h,v):g[h]=r[h]);return g})(r,l)}var h=function recursiveValues(r){return Object.values(r).map(function(r){return"object"===(0,m.default)(r)?Object.values(r):r})};l.default={readers:h(v),parsers:h(g).flat()}},12470:r=>{"use strict";r.exports=wp.i18n},12496:(r,l,u)=>{"use strict";var c,p=u(96784)(u(18821)),m=u(390);c=elementorModules.ViewModule.extend({stylesheet:null,getDefaultSettings:function getDefaultSettings(){return{id:0,context:null,settingsModel:null,dynamicParsing:{}}},getDefaultElements:function getDefaultElements(){var r="elementor-style-".concat(this.getSettings("id")),l=elementor.$previewContents.find("#".concat(r));return l.length||(l=jQuery("