View file File name : editor.min.js Content :/*! elementor-pro - v3.22.0 - 16-06-2024 */ (()=>{var e,t,o={8200:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({elementType:null,__construct(e){this.elementType=e,this.addEditorListener()},updateOptions(e,t){const o=this.getEditorControlView(e);o&&(this.getEditorControlModel(e).set("options",t),o.render())},addEditorListener(){var e=this;if(e.onElementChange){var t="change";"global"!==e.elementType&&(t+=":"+e.elementType),elementor.channels.editor.on(t,(function(t,o){e.onElementChange(t.model.get("name"),t,o)}))}},addControlSpinner(e){const t=this.getEditorControlView(e).$el;if(t.find(".elementor-control-spinner").length)return;t.find(":input").attr("disabled",!0),t.find(".elementor-control-title").after('<span class="elementor-control-spinner"><i class="eicon-spinner eicon-animation-spin"></i> </span>')},removeControlSpinner(e){const t=this.getEditorControlView(e).$el;t.find(":input").attr("disabled",!1),t.find(".elementor-control-spinner").remove()},addControlError(e,t,o=".elementor-control-content"){const r=this.getEditorControlView(e).$el;r.find(".e-control-error").length&&r.find(".e-control-error").remove(),r.find(o).first().after(`<span class="elementor-control-field-description e-control-error">${t}</span>`)},removeControlError(e){this.getEditorControlView(e).$el.find(".e-control-error").remove()},resetControlIndicators(e){this.removeControlSpinner(e),this.removeControlError(e)},addSectionListener(e,t){const o=this;elementor.channels.editor.on("section:activated",(function(r,n){var i=n.getOption("editedElementView").getEditModel(),a=i.get("elType"),s=arguments;"widget"===a&&(a=i.get("widgetType")),o.elementType===a&&e===r&&setTimeout((function(){t.apply(o,s)}),10)}))}})},8865:e=>{"use strict";e.exports=elementorModules.editor.views.ControlsStack.extend({activeTab:"content",activeSection:"settings",initialize(){this.collection=new Backbone.Collection(_.values(this.options.controls))},filter(e){if("section"===e.get("type"))return!0;var t=e.get("section");return!t||t===this.activeSection},childViewOptions(){return{elementSettingsModel:this.model}}})},945:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTierAtLeast=t.TIERS_PRIORITY=void 0;const o=t.TIERS_PRIORITY=Object.freeze(["free","essential","essential-oct2023","advanced","expert","agency"]);t.isTierAtLeast=(e,t)=>{const r=o.indexOf(e),n=o.indexOf(t);return-1!==r&&-1!==n&&r>=n}},5030:(e,t,o)=>{"use strict";var r=o(8003).__;Object.defineProperty(t,"__esModule",{value:!0}),t.SAVE_CONTEXT=t.EDIT_CONTEXT=void 0,t.createElement=createElement,t.default=function addDocumentHandle({element:e,id:t,title:o=r("Template","elementor-pro")},l=a,d=null,u=null){if(a===l){if(!t||!e)throw Error("`id` and `element` are required.");if(function isCurrentlyEditing(e){return e.classList.contains(i)}(e)||function hasHandle(e){return!!e.querySelector(`:scope > .${n}`)}(e))return}const c=function createHandleElement({title:e,onClick:t},o,i=null){const l=["header","footer"].includes(i?.dataset.elementorType)?"%s":r("Edit %s","elementor-pro"),d=createElement({tag:"div",classNames:[`${n}__inner`],children:[createElement({tag:"i",classNames:[getHandleIcon(o)]}),createElement({tag:"div",classNames:[`${a===o?n:s}__title`],children:[document.createTextNode(a===o?l.replace("%s",e):r("Save %s","elementor-pro").replace("%s",e))]})]}),u=[n];a!==o&&u.push(s);const c=createElement({tag:"div",classNames:u,children:[d]});return c.addEventListener("click",t),c}({title:o,onClick:()=>async function onDocumentClick(e,t,o=null,r=null){a===t?(window.top.$e.internal("panel/state-loading"),await window.top.$e.run("editor/documents/switch",{id:parseInt(e),onClose:o,selector:r}),window.top.$e.internal("panel/state-ready")):(elementorCommon.api.internal("panel/state-loading"),elementorCommon.api.run("editor/documents/switch",{id:elementor.config.initial_document.id,mode:"save",shouldScroll:!1,selector:r}).finally((()=>elementorCommon.api.internal("panel/state-ready"))))}(t,l,d,u)},l,e);e.prepend(c),a===l&&(e.dataset.editableElementorDocument=t)},o(3517);const n="elementor-document-handle",i="elementor-edit-mode",a=t.EDIT_CONTEXT="edit",s="elementor-document-save-back-handle",l=t.SAVE_CONTEXT="save";function getHandleIcon(e){let t="eicon-edit";return l===e&&(t=elementorFrontend.config.is_rtl?"eicon-arrow-right":"eicon-arrow-left"),t}function createElement({tag:e,classNames:t=[],children:o=[]}){const r=document.createElement(e);return r.classList.add(...t),o.forEach((e=>r.appendChild(e))),r}},1471:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ConditionsConfig=void 0;class ConditionsConfig extends $e.modules.CommandData{static signature="site-editor/conditions-config";static getEndpointFormat(){return"site-editor/conditions-config/{id}"}}t.ConditionsConfig=ConditionsConfig;t.default=ConditionsConfig},6338:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ConditionsConfig",{enumerable:!0,get:function(){return n.ConditionsConfig}}),Object.defineProperty(t,"Templates",{enumerable:!0,get:function(){return r.Templates}}),Object.defineProperty(t,"TemplatesConditions",{enumerable:!0,get:function(){return i.TemplatesConditions}}),Object.defineProperty(t,"TemplatesConditionsConflicts",{enumerable:!0,get:function(){return a.TemplatesConditionsConflicts}});var r=o(4837),n=o(1471),i=o(801),a=o(7691)},7691:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TemplatesConditionsConflicts=void 0;class TemplatesConditionsConflicts extends $e.modules.CommandData{static signature="site-editor/templates-conditions-conflicts";static getEndpointFormat(){return`${TemplatesConditionsConflicts.signature}/{id}`}}t.TemplatesConditionsConflicts=TemplatesConditionsConflicts;t.default=TemplatesConditionsConflicts},801:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TemplatesConditions=void 0;class TemplatesConditions extends $e.modules.CommandData{static signature="site-editor/templates-conditions";static getEndpointFormat(){return"site-editor/templates-conditions/{id}"}}t.TemplatesConditions=TemplatesConditions;t.default=TemplatesConditions},4837:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Templates=void 0;class Templates extends $e.modules.CommandData{static signature="site-editor/templates";static getEndpointFormat(){return"site-editor/templates/{id}"}}t.Templates=Templates;t.default=Templates},1717:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(6338));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class Component extends $e.modules.ComponentBase{static namespace="site-editor";getNamespace(){return this.constructor.namespace}defaultData(){return this.importCommands(r)}}t.default=Component},3118:(e,t,o)=>{"use strict";var r=o(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(o(1717)),i=o(6338);class Module extends elementorModules.editor.utils.Module{onElementorInit(){elementor.documents.getCurrent().config.support_site_editor&&($e.components.register(new n.default),$e.data.deleteCache($e.components.get(n.default.namespace),i.Templates.signature))}}t.default=Module},716:(e,t,o)=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({onElementorInit(){var e=o(2211);this.assets={font:new e}}})},2211:(e,t,o)=>{"use strict";o(3517),e.exports=elementorModules.Module.extend({_enqueuedFonts:[],_enqueuedTypekit:!1,onFontChange(e,t){"custom"!==e&&"typekit"!==e||-1===this._enqueuedFonts.indexOf(t)&&("typekit"===e&&this._enqueuedTypekit||this.getCustomFont(e,t))},getCustomFont(e,t){elementorPro.ajax.addRequest("assets_manager_panel_action_data",{unique_id:"font_"+e+t,data:{service:"font",type:e,font:t},success(e){e.font_face&&elementor.$previewContents.find("style").last().after('<style type="text/css">'+e.font_face+"</style>"),e.font_url&&elementor.$previewContents.find("link").last().after('<link href="'+e.font_url+'" rel="stylesheet" type="text/css">')}}),this._enqueuedFonts.push(t),"typekit"===e&&(this._enqueuedTypekit=!0)},onInit(){elementor.channels.editor.on("font:insertion",this.onFontChange.bind(this))}})},9206:(e,t,o)=>{"use strict";var r=o(8003).__;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.editor.utils.Module{addCustomCss(e,t){if(!t)return;const o=t.model,r=o.get("settings").get("custom_css");let n=".elementor-element.elementor-element-"+o.get("id");return"document"===o.get("elType")&&(n=elementor.config.document.settings.cssWrapperSelector),r&&(e+=r.replace(/selector/g,n)),e}onElementorInit(){elementor.hooks.addFilter("editor/style/styleText",this.addCustomCss),elementor.on("navigator:init",this.onNavigatorInit.bind(this))}onNavigatorInit(){elementor.navigator.indicators.customCSS={icon:"code-bold",settingKeys:["custom_css"],title:r("Custom CSS","elementor-pro"),section:"section_custom_css"}}}t.default=_default},5795:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({onElementorInit(){elementor.channels.editor.on("section:activated",this.onSectionActivated)},onSectionActivated(e,t){var o=t.getOption("editedElementView");if("flip-box"===o.model.get("widgetType")){var r=-1!==["section_side_b_content","section_style_b"].indexOf(e);o.$el.toggleClass("elementor-flip-box--flipped",r);var n=o.$el.find(".elementor-flip-box__back");r&&n.css("transition","none"),r||setTimeout((function(){n.css("transition","")}),10)}}})},8804:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(8019));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class Component extends $e.modules.ComponentBase{getNamespace(){return"forms"}defaultHooks(){return this.importHooks(r)}}t.default=Component},6002:(e,t,o)=>{"use strict";var r=o(8003).__;e.exports=elementor.modules.controls.Repeater.extend({onBeforeRender(){this.$el.hide()},updateMap(e){var t=this,o={};t.collection.each((function(e){o[e.get("remote_id")]=e.get("local_id")})),t.collection.reset(),_.each(e,(function(e){var r={remote_id:e.remote_id,remote_label:e.remote_label,remote_type:e.remote_type?e.remote_type:"",remote_required:!!e.remote_required&&e.remote_required,local_id:o[e.remote_id]?o[e.remote_id]:""};t.collection.add(r)})),t.render()},onRender(){elementor.modules.controls.Base.prototype.onRender.apply(this,arguments);var e=this;e.children.each((function(t){var o=t.children.last(),n={"":"- "+r("None","elementor")+" -"},i=t.model.get("remote_label");t.model.get("remote_required")&&(i+='<span class="elementor-required">*</span>'),_.each(e.elementSettingsModel.get("form_fields").models,(function(e,o){var r=t.model.get("remote_type");"text"!==r&&r!==e.get("field_type")||(n[e.get("custom_id")]=e.get("field_label")||"Field #"+(o+1))})),o.model.set("label",i),o.model.set("options",n),o.render(),t.$el.find(".elementor-repeater-row-tools").hide(),t.$el.find(".elementor-repeater-row-controls").removeClass("elementor-repeater-row-controls").find(".elementor-control").css({paddingBottom:0})})),e.$el.find(".elementor-button-wrapper").remove(),e.children.length&&e.$el.show()}})},4566:(e,t,o)=>{"use strict";var r=o(3203)(o(7810));e.exports=class extends elementor.modules.controls.Repeater{className(){let e=super.className();return e+=" elementor-control-type-repeater",e}getChildView(){return r.default}initialize(...e){super.initialize(...e);const t=this.container.settings.get("form_fields");this.listenTo(t,"change",(e=>this.onFormFieldChange(e))).listenTo(t,"remove",(e=>this.onFormFieldRemove(e)))}getFirstChild(){return this.children.findByModel(this.collection.models[0])}lockFirstStep(){const e=this.getFirstChild();if("step"!==e.model.get("field_type"))return;1<this.collection.where({field_type:"step"}).length&&(e.toggleFieldTypeControl(!1),e.toggleTools(!1)),e.toggleSort(!1)}onFormFieldChange(e){const t=e.changed.field_type;if(!t||"step"!==t&&"step"!==e._previousAttributes.field_type)return;const o="step"===t;this.children.findByModel(e).toggleStepField(o),this.onStepFieldChanged(o)}onFormFieldRemove(e){"step"===e.get("field_type")&&this.onStepFieldChanged(!1)}onStepFieldChanged(e){if(e)return void this.lockFirstStep();const t=this.collection.where({field_type:"step"});if(t.length>1)return;const o=this.getFirstChild();if(1===t.length)return o.toggleTools(!0),void o.toggleFieldTypeControl(!0);o.toggleSort(!0)}onAddChild(e){super.onAddChild(e),"step"===e.model.get("field_type")&&(this.lockFirstStep(),e.toggleStepField(!0))}}},7810:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementor.modules.controls.RepeaterRow{toggleFieldTypeControl(e){const t=this.collection.findWhere({name:"field_type"});this.children.findByModel(t).$el.toggle(e)}toggleStepField(e){this.$el.toggleClass("elementor-repeater-row--form-step",e)}toggleTools(e){this.ui.removeButton.add(this.ui.duplicateButton).toggle(e)}}t.default=_default},5781:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({renderField(e,t,o,r){var n=_.escape(t.css_classes),i="",a="",s="";return t.required&&(i="required"),t.acceptance_text&&(a='<label for="form_field_'+o+'">'+t.acceptance_text+"</label>"),t.checked_by_default&&(s=' checked="checked"'),'<div class="elementor-field-subgroup"><span class="elementor-field-option"><input size="1" type="checkbox"'+s+' class="elementor-acceptance-field elementor-field elementor-size-'+r.input_size+" "+n+'" name="form_field_'+o+'" id="form_field_'+o+'" '+i+" > "+a+"</span></div>"},onInit(){elementor.hooks.addFilter("elementor_pro/forms/content_template/field/acceptance",this.renderField,10,4)}})},3463:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({renderField(e,t,o,r){var n=_.escape(t.css_classes),i="",a="",s="",l="";return t.required&&(i="required"),t.min_date&&(a=' min="'+t.min_date+'"'),t.max_date&&(s=' max="'+t.max_date+'"'),t.placeholder&&(l=' placeholder="'+t.placeholder+'"'),"yes"===t.use_native_date&&(n+=" elementor-use-native"),'<input size="1"'+a+s+l+' pattern="[0-9]{4}-[0-9]{2}-[0-9]{2}" type="date" class="elementor-field-textual elementor-date-field elementor-field elementor-size-'+r.input_size+" "+n+'" name="form_field_'+o+'" id="form_field_'+o+'" '+i+" >"},onInit(){elementor.hooks.addFilter("elementor_pro/forms/content_template/field/date",this.renderField,10,4)}})},6326:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({renderField(e,t,o,r){var n=_.escape(t.css_classes),i="",a="";return t.required&&(i="required"),t.placeholder&&(a=' placeholder="'+t.placeholder+'"'),n="elementor-field-textual "+n,'<input size="1" type="'+t.field_type+'" class="elementor-field-textual elementor-field elementor-size-'+r.input_size+" "+n+'" name="form_field_'+o+'" id="form_field_'+o+'" '+i+" "+a+' pattern="[0-9()-]" >'},onInit(){elementor.hooks.addFilter("elementor_pro/forms/content_template/field/tel",this.renderField,10,4)}})},9395:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({renderField(e,t,o,r){var n=_.escape(t.css_classes),i="",a="";return t.required&&(i="required"),t.placeholder&&(a=' placeholder="'+t.placeholder+'"'),"yes"===t.use_native_time&&(n+=" elementor-use-native"),'<input size="1" type="time"'+a+' class="elementor-field-textual elementor-time-field elementor-field elementor-size-'+r.input_size+" "+n+'" name="form_field_'+o+'" id="form_field_'+o+'" '+i+" >"},onInit(){elementor.hooks.addFilter("elementor_pro/forms/content_template/field/time",this.renderField,10,4)}})},4146:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({renderField(e,t,o,r){var n=_.escape(t.css_classes),i="",a="",s="form_field_";return t.required&&(i="required"),t.allow_multiple_upload&&(a=' multiple="multiple"',s+="[]"),'<input size="1" type="file" class="elementor-file-field elementor-field elementor-size-'+r.input_size+" "+n+'" name="'+s+'" id="form_field_'+o+'" '+i+a+" >"},onInit(){elementor.hooks.addFilter("elementor_pro/forms/content_template/field/upload",this.renderField,10,4)}})},3186:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormFieldsSanitizeCustomId=void 0;class FormFieldsSanitizeCustomId extends $e.modules.hookData.Dependency{ID_SANITIZE_FILTER=/[^\w]/g;getCommand(){return"document/elements/settings"}getId(){return"elementor-pro-forms-fields-sanitize-custom-id"}getContainerType(){return"repeater"}getConditions(e){return void 0!==e.settings.custom_id}apply(e){const{containers:t=[e.container],settings:o}=e,{custom_id:r}=o;return!r.match(this.ID_SANITIZE_FILTER)||(t.forEach((e=>{const t=e.panel.getControlView("form_fields").children.findByModel(e.settings).children.find((e=>"custom_id"===e.model.get("name")));t.render(),t.$el.find("input").trigger("focus")})),!1)}}t.FormFieldsSanitizeCustomId=FormFieldsSanitizeCustomId;t.default=FormFieldsSanitizeCustomId},5389:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormFieldsSetCustomId=void 0;class FormFieldsSetCustomId extends $e.modules.hookData.After{getCommand(){return"document/repeater/insert"}getId(){return"elementor-pro-forms-fields-set-custom-id"}getContainerType(){return"widget"}getConditions(e){return"form_fields"===e.name}apply(e,t){const{containers:o=[e.container]}=e,r=$e.commands.isCurrentFirstTrace("document/repeater/duplicate");return o.forEach((e=>{const o=e.repeaters.form_fields.children.find((e=>!!e&&t.get("_id")===e.id));!r&&o.settings.get("custom_id")||$e.run("document/elements/settings",{container:o,settings:{custom_id:"field_"+o.id},options:{external:!0}})})),!0}}t.FormFieldsSetCustomId=FormFieldsSetCustomId;t.default=FormFieldsSetCustomId},9469:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormFieldsAddFirstStep=void 0;class FormFieldsAddFirstStep extends $e.modules.hookData.After{getCommand(){return"document/elements/settings"}getId(){return"elementor-pro-forms-fields-first-step"}getContainerType(){return"repeater"}getConditions(e){const{containers:t=[e.container]}=e;return"form"===t[0].parent.parent.model.get("widgetType")&&"step"===e.settings.field_type}apply(e){const{containers:t=[e.container]}=e;return t.forEach((e=>{"step"!==e.parent.children[0].settings.get("field_type")&&$e.run("document/repeater/insert",{container:e.parent.parent,name:"form_fields",model:{field_type:"step"},options:{at:0,external:!0}})})),!0}}t.FormFieldsAddFirstStep=FormFieldsAddFirstStep;t.default=FormFieldsAddFirstStep},2650:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormSanitizeId=void 0;class FormSanitizeId extends $e.modules.hookData.Dependency{ID_SANITIZE_FILTER=/[^\w]/g;getCommand(){return"document/elements/settings"}getId(){return"elementor-pro-forms-sanitize-id"}getContainerType(){return"widget"}getConditions(e){return void 0!==e.settings.form_id}apply(e){const{container:t,settings:o}=e,{form_id:r}=o;if(r.match(this.ID_SANITIZE_FILTER)){const e=t.panel.getControlView("form_id");return e.render(),e.$el.find("input").trigger("focus"),!1}return!0}}t.FormSanitizeId=FormSanitizeId;t.default=FormSanitizeId},3267:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FormFieldsAddFirstStep",{enumerable:!0,get:function(){return i.FormFieldsAddFirstStep}}),Object.defineProperty(t,"FormFieldsSanitizeCustomId",{enumerable:!0,get:function(){return r.FormFieldsSanitizeCustomId}}),Object.defineProperty(t,"FormFieldsSetCustomId",{enumerable:!0,get:function(){return n.FormFieldsSetCustomId}}),Object.defineProperty(t,"FormSanitizeId",{enumerable:!0,get:function(){return a.FormSanitizeId}});var r=o(3186),n=o(5389),i=o(9469),a=o(2650)},8019:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(3267);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var n=o(200);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},7234:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormFieldsUpdateShortCode=void 0;class FormFieldsUpdateShortCode extends $e.modules.hookUI.After{getCommand(){return"document/elements/settings"}getId(){return"elementor-pro-forms-fields-update-shortcode"}getContainerType(){return"repeater"}getConditions(e){return!(!$e.routes.isPartOf("panel/editor")||void 0===e.settings.custom_id)}apply(e){const{containers:t=[e.container]}=e;t.forEach((e=>{e.panel.getControlView("form_fields").children.find((t=>e.id===t.model.get("_id"))).children.find((e=>"shortcode"===e.model.get("name"))).render()}))}}t.FormFieldsUpdateShortCode=FormFieldsUpdateShortCode;t.default=FormFieldsUpdateShortCode},200:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FormFieldsUpdateShortCode",{enumerable:!0,get:function(){return r.FormFieldsUpdateShortCode}});var r=o(7234)},4552:(e,t,o)=>{"use strict";var r=o(8003).__;o(3517);var n=o(2220);e.exports=n.extend({fields:{},getName:()=>"activecampaign",onElementChange(e){switch(e){case"activecampaign_api_credentials_source":case"activecampaign_api_key":case"activecampaign_api_url":this.onApiUpdate();break;case"activecampaign_list":this.onListUpdate()}},onApiUpdate(){const e=this,t=e.getEditorControlView("activecampaign_api_key"),o=e.getEditorControlView("activecampaign_api_url"),r=e.getEditorControlView("activecampaign_api_credentials_source");if("default"!==r.getControlValue()&&(""===t.getControlValue()||""===o.getControlValue()))return e.updateOptions("activecampaign_list",[]),void e.getEditorControlView("activecampaign_list").setValue("");e.addControlSpinner("activecampaign_list");const n=this.getCacheKey({controls:[r.getControlValue(),o.getControlValue(),t.getControlValue()]});e.getActiveCampaignCache("lists","activecampaign_list",n).done((function(t){e.updateOptions("activecampaign_list",t.lists),e.fields=t.fields}))},onListUpdate(){this.updateFieldsMapping()},updateFieldsMapping(){if(this.getEditorControlView("activecampaign_list").getControlValue()){var e=[{remote_label:r("Email","elementor"),remote_type:"email",remote_id:"email",remote_required:!0},{remote_label:r("First Name","elementor"),remote_type:"text",remote_id:"first_name",remote_required:!1},{remote_label:r("Last Name","elementor"),remote_type:"text",remote_id:"last_name",remote_required:!1},{remote_label:r("Phone","elementor"),remote_type:"text",remote_id:"phone",remote_required:!1},{remote_label:r("Organization name","elementor"),remote_type:"text",remote_id:"orgname",remote_required:!1}];for(var t in this.fields)Object.prototype.hasOwnProperty.call(this.fields,t)&&e.push(this.fields[t]);this.getEditorControlView("activecampaign_fields_map").updateMap(e)}},getActiveCampaignCache(e,t,o,r){if(_.has(this.cache[e],o)){var n={};return n[e]=this.cache[e][o],jQuery.Deferred().resolve(n)}return r=_.extend({},r,{service:"activecampaign",activecampaign_action:t,api_key:this.getEditorControlView("activecampaign_api_key").getControlValue(),api_url:this.getEditorControlView("activecampaign_api_url").getControlValue(),api_cred:this.getEditorControlView("activecampaign_api_credentials_source").getControlValue()}),this.fetchCache(e,o,r)}})},2220:(e,t,o)=>{"use strict";var r=o(8200);e.exports=r.extend({__construct(){this.cache={},r.prototype.__construct.apply(this,arguments)},getName:()=>"",getCacheKey(e){return JSON.stringify({service:this.getName(),data:e})},fetchCache(e,t,o,r=!1){return elementorPro.ajax.addRequest("forms_panel_action_data",{unique_id:"integrations_"+this.getName(),data:o,success:o=>{this.cache[e]=_.extend({},this.cache[e]),this.cache[e][t]=o[e]}},r)},onInit(){this.addSectionListener("section_"+this.getName(),this.onSectionActive)},onSectionActive(){this.onApiUpdate()},onApiUpdate(){}})},3433:(e,t,o)=>{"use strict";var r=o(8003).__,n=o(2220);e.exports=n.extend({getName:()=>"convertkit",onElementChange(e){switch(e){case"convertkit_api_key_source":case"convertkit_custom_api_key":this.onApiUpdate();break;case"convertkit_form":this.onListUpdate()}},onApiUpdate(){var e=this,t=e.getEditorControlView("convertkit_api_key_source"),o=e.getEditorControlView("convertkit_custom_api_key");if("default"!==t.getControlValue()&&""===o.getControlValue())return e.updateOptions("convertkit_form",[]),void e.getEditorControlView("convertkit_form").setValue("");e.addControlSpinner("convertkit_form");const r=this.getCacheKey({type:"data",controls:[t.getControlValue(),o.getControlValue()]});e.getConvertKitCache("data","convertkit_get_forms",r).done((function(t){e.updateOptions("convertkit_form",t.data.forms),e.updateOptions("convertkit_tags",t.data.tags)}))},onListUpdate(){this.updateFieldsMapping()},updateFieldsMapping(){if(this.getEditorControlView("convertkit_form").getControlValue()){var e=[{remote_label:r("Email","elementor"),remote_type:"email",remote_id:"email",remote_required:!0},{remote_label:r("First Name","elementor"),remote_type:"text",remote_id:"first_name",remote_required:!1}];this.getEditorControlView("convertkit_fields_map").updateMap(e)}},getConvertKitCache(e,t,o,r){if(_.has(this.cache[e],o)){var n={};return n[e]=this.cache[e][o],jQuery.Deferred().resolve(n)}return r=_.extend({},r,{service:"convertkit",convertkit_action:t,api_key:this.getEditorControlView("convertkit_api_key_source").getControlValue(),custom_api_key:this.getEditorControlView("convertkit_custom_api_key").getControlValue()}),this.fetchCache(e,o,r)}})},4772:(e,t,o)=>{"use strict";var r=o(8003).__,n=o(2220);e.exports=n.extend({getName:()=>"drip",onElementChange(e){switch(e){case"drip_api_token_source":case"drip_custom_api_token":this.onApiUpdate();break;case"drip_account":this.onDripAccountsUpdate()}},onApiUpdate(){var e=this,t=e.getEditorControlView("drip_api_token_source"),o=e.getEditorControlView("drip_custom_api_token");if("default"!==t.getControlValue()&&""===o.getControlValue())return e.updateOptions("drip_account",[]),void e.getEditorControlView("drip_account").setValue("");e.addControlSpinner("drip_account"),this.getCacheKey({type:"accounts",controls:[t.getControlValue(),o.getControlValue()]}),e.getDripCache("accounts","accounts",t.getControlValue()).done((function(t){e.updateOptions("drip_account",t.accounts)}))},onDripAccountsUpdate(){this.updateFieldsMapping()},updateFieldsMapping(){if(this.getEditorControlView("drip_account").getControlValue()){var e={remote_label:r("Email","elementor"),remote_type:"email",remote_id:"email",remote_required:!0};this.getEditorControlView("drip_fields_map").updateMap([e])}},getDripCache(e,t,o,r){if(_.has(this.cache[e],o)){var n={};return n[e]=this.cache[e][o],jQuery.Deferred().resolve(n)}return r=_.extend({},r,{service:"drip",drip_action:t,api_token:this.getEditorControlView("drip_api_token_source").getControlValue(),custom_api_token:this.getEditorControlView("drip_custom_api_token").getControlValue()}),this.fetchCache(e,o,r)}})},9228:(e,t,o)=>{"use strict";var r=o(2220);e.exports=r.extend({getName:()=>"getresponse",onElementChange(e){switch(e){case"getresponse_custom_api_key":case"getresponse_api_key_source":this.onApiUpdate();break;case"getresponse_list":this.onGetResonseListUpdate()}},onApiUpdate(){var e=this,t=e.getEditorControlView("getresponse_api_key_source"),o=e.getEditorControlView("getresponse_custom_api_key");if("default"!==t.getControlValue()&&""===o.getControlValue())return e.updateOptions("getresponse_list",[]),void e.getEditorControlView("getresponse_list").setValue("");e.addControlSpinner("getresponse_list");const r=this.getCacheKey({type:"lists",controls:[t.getControlValue(),o.getControlValue()]});e.getCache("lists","lists",r).done((function(t){e.updateOptions("getresponse_list",t.lists)}))},onGetResonseListUpdate(){this.updatGetResonseList()},updatGetResonseList(){var e=this,t=e.getEditorControlView("getresponse_list");if(!t.getControlValue())return;e.addControlSpinner("getresponse_fields_map");const o=this.getCacheKey({type:"fields",controls:[t.getControlValue()]});e.getCache("fields","get_fields",o,{getresponse_list:t.getControlValue()}).done((function(t){e.getEditorControlView("getresponse_fields_map").updateMap(t.fields)}))},getCache(e,t,o,r){if(_.has(this.cache[e],o)){var n={};return n[e]=this.cache[e][o],jQuery.Deferred().resolve(n)}return r=_.extend({},r,{service:"getresponse",getresponse_action:t,api_key:this.getEditorControlView("getresponse_api_key_source").getControlValue(),custom_api_key:this.getEditorControlView("getresponse_custom_api_key").getControlValue()}),this.fetchCache(e,o,r)},onSectionActive(){r.prototype.onSectionActive.apply(this,arguments),this.updatGetResonseList()}})},8326:(e,t,o)=>{"use strict";var r=o(2220);e.exports=r.extend({getName:()=>"mailchimp",onElementChange(e){switch(e){case"mailchimp_api_key_source":case"mailchimp_api_key":this.onApiUpdate();break;case"mailchimp_list":this.onMailchimpListUpdate()}},onApiUpdate(){var e=this,t=e.getEditorControlView("mailchimp_api_key"),o=e.getEditorControlView("mailchimp_api_key_source");if("default"!==o.getControlValue()&&""===t.getControlValue())return e.updateOptions("mailchimp_list",[]),void e.getEditorControlView("mailchimp_list").setValue("");e.resetControlIndicators("mailchimp_list"),e.addControlSpinner("mailchimp_list");const r=this.getCacheKey({type:"lists",controls:[t.getControlValue(),o.getControlValue()]});e.getMailchimpCache("lists","lists",r).done((function(t){e.updateOptions("mailchimp_list",t.lists),e.updatMailchimpList()})).fail((function(t){e.addControlError("mailchimp_list",t)})).always((function(){e.removeControlSpinner("mailchimp_list")}))},onMailchimpListUpdate(){this.updateOptions("mailchimp_groups",[]),this.getEditorControlView("mailchimp_groups").setValue(""),this.updatMailchimpList()},updatMailchimpList(){var e=this,t=e.getEditorControlView("mailchimp_list");if(!t.getControlValue())return;e.resetControlIndicators("mailchimp_groups"),e.addControlSpinner("mailchimp_groups"),this.getCacheKey({type:"list_details",controls:[t.getControlValue()]}),e.getMailchimpCache("list_details","list_details",t.getControlValue(),{mailchimp_list:t.getControlValue()}).done((function(t){e.updateOptions("mailchimp_groups",t.list_details.groups),e.getEditorControlView("mailchimp_fields_map").updateMap(t.list_details.fields)})).fail((function(t){e.addControlError("mailchimp_groups",t)})).always((function(){e.removeControlSpinner("mailchimp_groups")}));const o={type:"fields",action:"fields",cacheKey:t.getControlValue(),args:{mailchimp_list:t.getControlValue()},immediately:!0};e.getMailchimpCache(...Object.values(o)).done((function(t){e.getEditorControlView("mailchimp_fields_map").updateMap(t.fields)}))},getMailchimpCache(e,t,o,r,n=!1){if(_.has(this.cache[e],o)){var i={};return i[e]=this.cache[e][o],jQuery.Deferred().resolve(i)}return r=_.extend({},r,{service:"mailchimp",mailchimp_action:t,api_key:this.getEditorControlView("mailchimp_api_key").getControlValue(),use_global_api_key:this.getEditorControlView("mailchimp_api_key_source").getControlValue()}),this.fetchCache(e,o,r,n)},onSectionActive(){r.prototype.onSectionActive.apply(this,arguments),this.onApiUpdate()}})},2502:(e,t,o)=>{"use strict";var r=o(8003).__;o(3517);const n=o(2220);e.exports=n.extend({fields:{},getName:()=>"mailerlite",onElementChange(e){switch(e){case"mailerlite_api_key_source":case"mailerlite_custom_api_key":this.onMailerliteApiKeyUpdate();break;case"mailerlite_group":this.updateFieldsMapping()}},onMailerliteApiKeyUpdate(){var e=this,t=e.getEditorControlView("mailerlite_custom_api_key"),o=e.getEditorControlView("mailerlite_api_key_source");if("default"!==o.getControlValue()&&""===t.getControlValue())return e.updateOptions("mailerlite_group",[]),void e.getEditorControlView("mailerlite_group").setValue("");e.addControlSpinner("mailerlite_group");const r=this.getCacheKey({type:"groups",controls:[t.getControlValue(),o.getControlValue()]});e.getMailerliteCache("groups","groups",r).done((function(t){e.updateOptions("mailerlite_group",t.groups),e.fields=t.fields}))},updateFieldsMapping(){if(!this.getEditorControlView("mailerlite_group").getControlValue())return;const e=[{remote_label:r("Email","elementor"),remote_type:"email",remote_id:"email",remote_required:!0},{remote_label:r("Name","elementor"),remote_type:"text",remote_id:"name",remote_required:!1},{remote_label:r("Last Name","elementor"),remote_type:"text",remote_id:"last_name",remote_required:!1},{remote_label:r("Company","elementor"),remote_type:"text",remote_id:"company",remote_required:!1},{remote_label:r("Phone","elementor"),remote_type:"text",remote_id:"phone",remote_required:!1},{remote_label:r("Country","elementor"),remote_type:"text",remote_id:"country",remote_required:!1},{remote_label:r("State","elementor"),remote_type:"text",remote_id:"state",remote_required:!1},{remote_label:r("City","elementor"),remote_type:"text",remote_id:"city",remote_required:!1},{remote_label:r("Zip","elementor"),remote_type:"text",remote_id:"zip",remote_required:!1}];for(const t in this.fields)Object.prototype.hasOwnProperty.call(this.fields,t)&&e.push(this.fields[t]);this.getEditorControlView("mailerlite_fields_map").updateMap(e)},getMailerliteCache(e,t,o,r){if(_.has(this.cache[e],o)){const t={};return t[e]=this.cache[e][o],jQuery.Deferred().resolve(t)}return r=_.extend({},r,{service:"mailerlite",mailerlite_action:t,custom_api_key:this.getEditorControlView("mailerlite_custom_api_key").getControlValue(),api_key:this.getEditorControlView("mailerlite_api_key_source").getControlValue()}),this.fetchCache(e,o,r)},onSectionActive(){n.prototype.onSectionActive.apply(this,arguments),this.onMailerliteApiKeyUpdate()}})},7635:(e,t,o)=>{"use strict";var r=o(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(o(8804));class FormsModule extends elementorModules.editor.utils.Module{onElementorInit(){const e=o(8005),t=o(1679),r=o(2502),n=o(8326),i=o(4772),a=o(4552),s=o(9228),l=o(3433);this.replyToField=new e,this.mailchimp=new n("form"),this.recaptcha=new t("form"),this.drip=new i("form"),this.activecampaign=new a("form"),this.getresponse=new s("form"),this.convertkit=new l("form"),this.mailerlite=new r("form");const d=o(9395),u=o(3463),c=o(5781),p=o(4146),m=o(6326);this.Fields={time:new d("form"),date:new u("form"),tel:new m("form"),acceptance:new c("form"),upload:new p("form")},elementor.addControlView("Fields_map",o(6002)),elementor.addControlView("form-fields-repeater",o(4566))}onElementorInitComponents(){$e.components.register(new n.default({manager:this}))}}t.default=FormsModule},1679:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({enqueueRecaptchaJs(e,t){elementorFrontend.elements.$body.find('[src="'+e+'"]').length||elementorFrontend.elements.$body.append('<script src="'+e+'" id="recaptcha-'+t+'"<\/script>')},renderField(e,t){return e+='<div class="elementor-field '+t.field_type+' ">',e+=this.getDataSettings(t),e+="</div>"},getDataSettings(e){const t=elementorPro.config.forms[e.field_type];if(!t.enabled)return'<div class="elementor-alert elementor-alert-info">'+t.setup_message+"</div>";let o='data-sitekey="'+t.site_key+'" data-type="'+t.type+'"';switch(t.type){case"v3":o+=' data-action="form" data-size="invisible" data-badge="'+e.recaptcha_badge+'"';break;case"v2_checkbox":o+=' data-theme="'+e.recaptcha_style+'"',o+=' data-size="'+e.recaptcha_size+'"'}return this.enqueueRecaptchaJs("https://www.google.com/recaptcha/api.js?render=explicit",t.type),'<div class="elementor-g-recaptcha'+_.escape(e.css_classes)+'" '+o+"></div>"},filterItem:e=>("recaptcha"===e.field_type&&(e.field_label=!1),e),onInit(){elementor.hooks.addFilter("elementor_pro/forms/content_template/item",this.filterItem),elementor.hooks.addFilter("elementor_pro/forms/content_template/field/recaptcha",this.renderField,10,2),elementor.hooks.addFilter("elementor_pro/forms/content_template/field/recaptcha_v3",this.renderField,10,2)}})},8005:(e,t,o)=>{"use strict";var r=o(8003).sprintf,n=o(8003).__;e.exports=function(){var e,t,o,refreshReplyToElement=function(){var t=e.children.findByModelCid(o.cid);t&&t.render()},updateReplyToOptions=function(){var e,i=t.get("settings").get("form_fields").where({field_type:"email"});i=_.reject(i,{field_label:""}),e=_.map(i,(function(e){return{id:e.get("custom_id"),label:r(n("%s Field","elementor-pro"),e.get("field_label"))}})),o.set("options",{"":o.get("options")[""]}),_.each(e,(function(e){o.get("options")[e.id]=e.label})),refreshReplyToElement()},updateDefaultReplyTo=function(e){o.get("options")[""]=e.get("email_from"),refreshReplyToElement()},onFormFieldsChange=function(e){e.get("custom_id")&&"email"===e.get("field_type")&&updateReplyToOptions(),e.changed.email_from&&updateDefaultReplyTo(e)},onPanelShow=function(r,n){e=r.getCurrentPageView(),t=n,o=e.collection.findWhere({name:"email_reply_to"});var i=t.get("settings");i.on("change",onFormFieldsChange),updateDefaultReplyTo(i),updateReplyToOptions()};elementor.hooks.addAction("panel/open_editor/widget/form",onPanelShow)}},8956:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Templates",{enumerable:!0,get:function(){return r.Templates}});var r=o(8179)},8179:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Templates=void 0;class Templates extends $e.modules.CommandData{static getEndpointFormat(){return"global-widget/templates"}onAfterApply(e={},t){$e.data.deleteCache(this.component,"document/global/global-widget/templates",e.query),Object.entries(t.data).forEach((([e,t])=>{$e.data.setCache(this.component,`document/global/global-widget/templates/${e}`,{},t)}))}}t.Templates=Templates;t.default=Templates},1827:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SaveTemplates",{enumerable:!0,get:function(){return r.SaveTemplates}});var r=o(8065)},8065:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SaveTemplates=void 0,o(3517);class SaveTemplates extends $e.modules.CommandInternalBase{apply(){const e=this.getCurrentTemplatesModels(this.component.changedContainersId);if(e.length)return new Promise(((t,o)=>{elementorCommon.ajax.addRequest("update_templates",{data:{templates:e.map((e=>({id:e.get("id"),content:JSON.stringify([e.toJSON()]),source:"local",type:"widget"})))},error:o,success:()=>{this.component.changedContainersId={},e.forEach((e=>{const t=e.get("settings");$e.data.setCache(this.component,`document/global/global-widget/templates/${e.id}`,{},{settings:t})})),t(e)}})}))}getCurrentTemplatesModels(e){const t=[];return Object.entries(e).forEach((([e,o])=>{$e.data.getCache(this.component,`document/global/global-widget/templates/${e}`)||$e.devTools&&$e.devTools.log.warn(`$e.data.getCache( component, \`document/global/global-widget/templates/${e}\` ) - not found.`);const r=elementor.getContainer(o);r&&t.push(new Backbone.Model({id:e,elType:"widget",widgetType:r.model.get("widgetType"),settings:r.settings.toJSON({remove:"default"}),templateID:e}))})),t}}t.SaveTemplates=SaveTemplates;t.default=SaveTemplates},6112:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Link",{enumerable:!0,get:function(){return r.Link}}),Object.defineProperty(t,"Unlink",{enumerable:!0,get:function(){return n.Unlink}});var r=o(3670),n=o(3432)},3670:(e,t,o)=>{"use strict";var r=o(8003).__;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Link=void 0;class Link extends $e.modules.editor.document.CommandHistoryBase{validateArgs(e){this.requireContainer(e),this.requireArgumentConstructor("data",Object,e);const{containers:t=[e.container]}=e;t.forEach((e=>{if("global"===e.model.get("widgetType"))throw Error(`Invalid container, id: '${e.id}' is already global.`)}))}getHistory(e){const{data:t}=e;return{title:elementor.widgetsCache[t.widgetType].title,subTitle:t.title,type:r("Linked to Global","elementor-pro")}}apply(e){const{data:t,containers:o=[e.container]}=e;o.forEach((e=>{const o=e.model,r=o.collection.indexOf(o);t.elType=t.type,t.settings=o.get("settings").attributes,t.widgetType=o.get("widgetType");const n=elementorPro.modules.globalWidget.addGlobalWidget(t.template_id,t).attributes;$e.data.setCache(this.component,`document/global/global-widget/templates/${t.template_id}`,{},t),$e.run("document/elements/create",{container:e.parent,model:{id:elementorCommon.helpers.getUniqueId(),elType:n.elType,widgetType:n.widgetType,templateID:t.template_id},options:{at:r}}),$e.run("document/elements/delete",{container:e})})),$e.route("panel/elements/global")}}t.Link=Link;t.default=Link},3432:(e,t,o)=>{"use strict";var r=o(8003).__;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Unlink=void 0;class Unlink extends $e.modules.editor.document.CommandHistoryBase{validateArgs(e){this.requireContainer(e)}getHistory(e){const{containers:t=[e.container]}=e;return{title:elementor.helpers.getModelLabel(t[0].model),type:r("Unlink Widget","elementor-pro")}}async apply(e){const{containers:t=[e.container]}=e,o=t.map((e=>e.model.get("templateID"))),{data:r}=await $e.data.get("document/global/templates",{ids:o});t.forEach((e=>{const t=e.model.get("templateID"),o=elementorPro.modules.globalWidget.createGlobalModel(t,r[t]);$e.run("document/elements/create",{container:e.parent,model:{id:elementorCommon.helpers.getUniqueId(),elType:"widget",widgetType:o.get("widgetType"),settings:elementorCommon.helpers.cloneObject(o.get("settings").attributes),defaultEditSettings:elementorCommon.helpers.cloneObject(o.get("editSettings").attributes)},options:{at:e.model.collection.indexOf(e.model),edit:!0}}),$e.run("document/elements/delete",{container:e})}))}}t.Unlink=Unlink;t.default=Unlink},1311:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_interopRequireWildcard(o(6112)),n=_interopRequireWildcard(o(1827)),i=_interopRequireWildcard(o(8956)),a=_interopRequireWildcard(o(723));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class Component extends $e.modules.ComponentBase{notLoadedTemplatesIds=[];lastChangedContainers=null;changedContainersId={};registerAPI(){super.registerAPI(),$e.routes.on("run:after",((e,t)=>{"panel/elements/global"===t&&this.onRoutePanelElementsGlobal()}))}getNamespace(){return"document/global"}defaultCommands(){return this.importCommands(r)}defaultCommandsInternal(){return this.importCommands(n)}defaultData(){return this.importCommands(i)}defaultHooks(){return this.importHooks(a)}onRoutePanelElementsGlobal(){this.notLoadedTemplatesIds.length&&$e.data.get("document/global/templates",{ids:this.notLoadedTemplatesIds}).then((()=>{this.notLoadedTemplatesIds=[]}))}updateGlobalsRecursive(e){const t=["dynamic","globals","settings"];elementor.getPreviewContainer().forEachChildrenRecursive((o=>{e!==o&&parseInt(o.model.get("templateID"))===parseInt(e.model.get("templateID"))&&(t.forEach((t=>{const r=e[t];if(r instanceof Backbone.Model){const n="settings"===t?e.settings.attributes:r.changed;Object.entries(n).forEach((([e,r])=>{o[t].set(e,r)}))}})),o.render())}))}}t.default=Component},2448:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseGlobalWidgetPrepareUpdate=void 0;class BaseGlobalWidgetPrepareUpdate extends $e.modules.hookData.After{getConditions(e){const{containers:t=[e.container]}=e;return t.some((e=>e.renderer?.model?.get("templateID")))}apply(e){const{containers:t=[e.container]}=e,o=$e.components.get("document/global"),r=t.filter((e=>e.renderer?.model?.get("templateID")));o.lastChangedContainers=r.map((e=>e.renderer)),r.forEach((e=>{o.changedContainersId[e.renderer.model.get("templateID")]=e.renderer.id}))}}t.BaseGlobalWidgetPrepareUpdate=BaseGlobalWidgetPrepareUpdate;t.default=BaseGlobalWidgetPrepareUpdate},3561:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GlobalWidgetPrepareUpdateElementSetSettings=void 0;var r=o(2448);class GlobalWidgetPrepareUpdateElementSetSettings extends r.BaseGlobalWidgetPrepareUpdate{getCommand(){return"document/elements/set-settings"}getId(){return"elementor-pro-global-widget-prepare-update-element-set-settings"}}t.GlobalWidgetPrepareUpdateElementSetSettings=GlobalWidgetPrepareUpdateElementSetSettings;t.default=GlobalWidgetPrepareUpdateElementSetSettings},2290:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GlobalWidgetDoUpdate=void 0;class GlobalWidgetDoUpdate extends $e.modules.hookData.After{getCommand(){return"document/history/end-log"}getId(){return"elementor-pro-global-widget-do-update"}getConditions(){return $e.components.get("document/global").lastChangedContainers}apply(){const e=$e.components.get("document/global");e.lastChangedContainers.forEach((t=>e.updateGlobalsRecursive(t))),e.lastChangedContainers=null}}t.GlobalWidgetDoUpdate=GlobalWidgetDoUpdate;t.default=GlobalWidgetDoUpdate},8833:(e,t,o)=>{"use strict";var r=o(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GlobalWidgetPrepareUpdateRepeaterInsert=void 0;var n=r(o(2448));class GlobalWidgetPrepareUpdateRepeaterInsert extends n.default{getCommand(){return"document/repeater/insert"}getId(){return"elementor-pro-global-widget-prepare-update-repeater-insert"}}t.GlobalWidgetPrepareUpdateRepeaterInsert=GlobalWidgetPrepareUpdateRepeaterInsert;t.default=GlobalWidgetPrepareUpdateRepeaterInsert},7295:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GlobalWidgetPrepareUpdateRepeaterRemove=void 0;var r=o(2448);class GlobalWidgetPrepareUpdateRepeaterRemove extends r.BaseGlobalWidgetPrepareUpdate{getCommand(){return"document/repeater/remove"}getId(){return"elementor-pro-global-widget-prepare-update-repeater-remove"}}t.GlobalWidgetPrepareUpdateRepeaterRemove=GlobalWidgetPrepareUpdateRepeaterRemove;t.default=GlobalWidgetPrepareUpdateRepeaterRemove},5080:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GlobalWidgetSaveTemplates=void 0;class GlobalWidgetSaveTemplates extends $e.modules.hookData.After{getCommand(){return"document/save/save"}getId(){return"elementor-pro-global-widget-save-templates"}getConditions(e){if(!Object.keys($e.components.get("document/global").changedContainersId).length)return!1;const{document:t=elementor.documents.getCurrent()}=e;return t.config.panel.has_elements&&e.status&&-1!==["private","publish"].indexOf(e.status)}apply(){$e.internal("document/global/save-templates")}}t.GlobalWidgetSaveTemplates=GlobalWidgetSaveTemplates;t.default=GlobalWidgetSaveTemplates},5538:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GlobalWidgetLoadTemplates=void 0,o(3517);class GlobalWidgetLoadTemplates extends $e.modules.hookData.After{static calledOnce=!1;initialize(){setTimeout((()=>{this.component=$e.components.get("document/global")}))}getCommand(){return"editor/documents/attach-preview"}getId(){return"elementor-pro-global-widget-load-templates"}getConditions(){return!GlobalWidgetLoadTemplates.calledOnce}apply(){GlobalWidgetLoadTemplates.calledOnce=!0,Object.entries(elementorPro.config.widget_templates).forEach((([e,t])=>{elementorPro.modules.globalWidget.addGlobalWidget(e,t),this.addTemplateToCache(e)}))}addTemplateToCache(e){const t=elementor.getPreviewContainer().findChildrenRecursive((t=>parseInt(t.model.get("templateID"))===parseInt(e)));if(!t)return this.component.notLoadedTemplatesIds.push(e);const o={id:t.model.get("templateID"),elType:"widget",widgetType:t.model.get("widgetType"),settings:t.settings.toJSON({remove:"default"}),templateID:t.model.get("templateID")};$e.data.setCache(this.component,`document/global/global-widget/templates/${e}`,{},o)}}t.GlobalWidgetLoadTemplates=GlobalWidgetLoadTemplates;t.default=GlobalWidgetLoadTemplates},1391:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GlobalWidgetDoUpdate",{enumerable:!0,get:function(){return a.GlobalWidgetDoUpdate}}),Object.defineProperty(t,"GlobalWidgetLoadTemplates",{enumerable:!0,get:function(){return l.GlobalWidgetLoadTemplates}}),Object.defineProperty(t,"GlobalWidgetPrepareUpdateElementSetSettings",{enumerable:!0,get:function(){return r.GlobalWidgetPrepareUpdateElementSetSettings}}),Object.defineProperty(t,"GlobalWidgetPrepareUpdateRepeaterInsert",{enumerable:!0,get:function(){return n.GlobalWidgetPrepareUpdateRepeaterInsert}}),Object.defineProperty(t,"GlobalWidgetPrepareUpdateRepeaterRemove",{enumerable:!0,get:function(){return i.GlobalWidgetPrepareUpdateRepeaterRemove}}),Object.defineProperty(t,"GlobalWidgetSaveTemplates",{enumerable:!0,get:function(){return s.GlobalWidgetSaveTemplates}});var r=o(3561),n=o(8833),i=o(7295),a=o(2290),s=o(5080),l=o(5538)},723:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(1391);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var n=o(5324);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},1835:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GlobalWidgetHistoryUpdate=void 0;class GlobalWidgetHistoryUpdate extends $e.modules.hookUI.After{getCommand(){return"document/elements/set-settings"}getId(){return"elementor-pro-global-widget-history-update"}getContainerType(){return"widget"}getConditions(e){const{containers:t=[e.container]}=e;return!elementor.documents.getCurrent().history.getActive()&&t.some((e=>e.model.get("templateID")))}apply(e){const{containers:t=[e.container]}=e;t.forEach((e=>$e.components.get("document/global").updateGlobalsRecursive(e)))}}t.GlobalWidgetHistoryUpdate=GlobalWidgetHistoryUpdate;t.default=GlobalWidgetHistoryUpdate},5324:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GlobalWidgetHistoryUpdate",{enumerable:!0,get:function(){return r.GlobalWidgetHistoryUpdate}});var r=o(1835)},2044:(e,t,o)=>{"use strict";var r=o(8003).__,n=o(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(o(1311));class Module extends elementorModules.editor.utils.Module{panelWidgets=new Backbone.Collection;addGlobalWidget(e,t){return this.panelWidgets.add(this.createGlobalModel(e,t))}createGlobalModel(e,t){t=Object.assign({},t,{id:e,categories:[],icon:elementor.widgetsCache[t.widgetType].icon,widgetType:t.widgetType,custom:{templateID:e}});const o=new elementor.modules.elements.models.Element(t);return o.set("id",e),o}setWidgetType(){elementor.hooks.addFilter("element/view",(function(e,t){return t.get("templateID")?o(9584).Z:e})),elementor.hooks.addFilter("element/model",(function(e,t){return t.templateID?o(6171).Z:e}))}registerTemplateType(){elementor.templates.registerTemplateType("widget",{showInLibrary:!1,saveDialog:{title:r("Save your widget as a global widget","elementor-pro"),description:r("You'll be able to add this global widget to multiple areas on your site, and edit it from one single place.","elementor-pro")},prepareSavedData:e=>(e.widgetType=e.content[0].widgetType,e),ajaxParams:{success:this.onWidgetTemplateSaved.bind(this)}})}addPanelPage(){elementor.getPanelView().addPage("globalWidget",{view:o(8595)})}getGlobalModels(e){return elementorCommon.helpers.softDeprecated("elementorPro.modules.globalWidget.getGlobalModels( id )","3.5.0","$e.data.getCache( `document/global/global-widget/templates/${ id }` )"),$e.data.getCache(this.component,`document/global/global-widget/templates/${e}`)}saveTemplates(){elementorCommon.helpers.softDeprecated("elementorPro.modules.globalWidget.saveTemplates()","3.5.0","$e.internal( 'document/global/save-templates' )"),$e.internal("document/global/save-templates")}requestGlobalModelSettings(e,t){elementorCommon.helpers.softDeprecated("elementorPro.modules.globalWidget.requestGlobalModelSettings()","3.5.0","$e.data.get( 'document/global/templates' )"),$e.data.get("document/global/templates",{ids:e.id}).then((e=>{t(e)}))}setWidgetContextMenuSaveAction(){elementor.hooks.addFilter("elements/widget/contextMenuGroups",((e,t)=>{const o=_.findWhere(e,{name:"save"});if(!o)return e;const r=_.findWhere(o.actions,{name:"save"});if(elementorPro.config.should_show_promotion){const t='<i class="eicon-advanced"></i><a class="elementor-context-menu-list__item__shortcut--link-fullwidth" href="https://go.elementor.com/go-pro-advanced-global-widget-context-menu/" target="_blank" rel="noopener noreferrer"></a>';return r.shortcut=jQuery(t),r.isEnabled=()=>!1,delete r.callback,e}return r.callback=t.save.bind(t),delete r.shortcut,e}))}filterRegionViews(e){return elementorPro.config.should_show_promotion?(_.extend(e.global,{view:o(2411),options:{}}),e):(_.extend(e.global,{view:o(1304),options:{collection:this.panelWidgets}}),e)}onElementorInit(){elementor.on("panel:init",(()=>{elementor.hooks.addFilter("panel/elements/regionViews",this.filterRegionViews.bind(this))})),this.registerTemplateType(),this.setWidgetContextMenuSaveAction(),this.setWidgetType()}onElementorInitComponents(){$e.components.register(new i.default),$e.data.get("document/global/templates",{},{refresh:!0})}onElementorPreviewLoaded(e){e&&(this.addPanelPage(),$e.routes.register("panel/editor","global",(e=>{elementor.getPanelView().setPage("globalWidget","Global Editing",{editedView:e.view})})))}onWidgetTemplateSaved(e){elementor.templates.layout.hideModal();const t=elementor.getContainer(elementor.templates.layout.modalContent.currentView.model.id);$e.run("document/global/link",{container:t,data:e})}}t.default=Module},1304:(e,t,o)=>{"use strict";e.exports=elementor.modules.layouts.panel.pages.elements.views.Elements.extend({id:"elementor-global-templates",getEmptyView(){return this.collection.length?null:o(9898)},onFilterEmpty(){}})},9898:e=>{"use strict";var t=elementor.modules.layouts.panel.pages.elements.views.Global;e.exports=t.extend({template:"#tmpl-elementor-panel-global-widget-no-templates",id:"elementor-panel-global-widget-no-templates",className:"elementor-nerd-box elementor-panel-nerd-box e-responsive-panel-stretch"})},8595:(e,t,o)=>{"use strict";var r=o(8003).__;e.exports=Marionette.ItemView.extend({id:"elementor-panel-global-widget",template:"#tmpl-elementor-panel-global-widget",ui:{editButton:"#elementor-global-widget-locked-edit .elementor-button",unlinkButton:"#elementor-global-widget-locked-unlink .elementor-button",loading:"#elementor-global-widget-loading"},events:{"click @ui.editButton":"onEditButtonClick","click @ui.unlinkButton":"onUnlinkButtonClick"},initialize(){this.initUnlinkDialog()},buildUnlinkDialog(){var e=this;return elementorCommon.dialogsManager.createWidget("confirm",{id:"elementor-global-widget-unlink-dialog",headerMessage:r("Unlink Widget","elementor-pro"),message:r("This will make the widget stop being global. It'll be reverted into being just a regular widget.","elementor-pro"),position:{my:"center center",at:"center center"},strings:{confirm:r("Unlink","elementor-pro"),cancel:r("Cancel","elementor-pro")},onConfirm(){e.getOption("editedView").unlink()}})},initUnlinkDialog(){var e;this.getUnlinkDialog=function(){return e||(e=this.buildUnlinkDialog()),e}},editGlobalModel(){var e=this.getOption("editedView");$e.run("panel/editor/open",{model:e.getEditModel(),view:e})},onEditButtonClick(){this.editGlobalModel()},onUnlinkButtonClick(){this.getUnlinkDialog().show()}})},2411:e=>{"use strict";var t=elementor.modules.layouts.panel.pages.elements.views.Global;e.exports=t.extend({template:"#tmpl-elementor-promotion",id:"tmpl-elementor-promotion",className:"elementor-nerd-box elementor-panel-nerd-box e-responsive-panel-stretch"})},6171:(e,t)=>{"use strict";t.Z=void 0;const o=elementor.modules.elements.models.Element;t.Z=class Model extends o{initSettings(){if($e.commands.is("document/elements/create"))return this.initSettingsFromTemplate();super.initSettings()}initEditSettings(){super.initEditSettings(),this.get("editSettings").set("editTab","global")}initSettingsFromTemplate(){const e=this.get("templateID"),t=$e.components.get("document/global"),o=$e.data.getCache(t,`document/global/global-widget/templates/${e}`)||this.attributes,r=elementorPro.modules.globalWidget.createGlobalModel(e,o);this.set("settings",r.get("settings")),elementorFrontend.config.elements.data[this.cid]=this.get("settings")}}},9584:(e,t,o)=>{"use strict";var r=o(8003).__;t.Z=void 0;const n=elementor.modules.elements.views.Widget;t.Z=class View extends n{className(){return super.className()+" elementor-global-widget elementor-global-"+this.model.get("templateID")}addInlineEditingAttributes(){}unlink(){$e.run("document/global/unlink",{container:this.getContainer()})}onEditRequest(){$e.route("panel/editor/global",{view:this})}getContextMenuGroups(){return super.getContextMenuGroups().filter((e=>"save"!==e.name))}getContainer(){if(this.container)return this.container;const e=super.getContainer();return e.label=e.label+" ("+r("global","elementor-pro")+")",e}render(){super.render(),setTimeout(this.removeInlineAddingAttributes.bind(this))}removeInlineAddingAttributes(){const e=this.el.querySelector(".elementor-inline-editing");e&&e.classList.remove("elementor-inline-editing")}}},5961:(e,t,o)=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({onElementorPreviewLoaded(){var e=o(5999);this.editButton=new e}})},5999:(e,t,o)=>{"use strict";var r=o(8003).__;e.exports=function(){var e=this;e.onPanelShow=function(t){var o=t.content.currentView.collection.findWhere({name:"template_id"});e.templateIdView=t.content.currentView.children.findByModelCid(o.cid),e.templateIdView.elementSettingsModel.on("change",e.onTemplateIdChange),e.templateIdView.on("render",e.onTemplateIdChange)},e.onTemplateIdChange=function(){var t=e.templateIdView.elementSettingsModel.get("template_id"),o=e.templateIdView.$el.find(".elementor-edit-template");if(t){var n=ElementorConfig.home_url+"?p="+t+"&elementor";o.length?o.prop("href",n):(o=jQuery("<a />",{target:"_blank",class:"elementor-button elementor-edit-template",href:n,html:'<i class="eicon-pencil" /> '+r("Edit Template","elementor-pro")}),e.templateIdView.$el.find(".elementor-control-input-wrapper").after(o))}else o.remove()},e.init=function(){elementor.hooks.addAction("panel/open_editor/widget/template",e.onPanelShow)},e.init()}},1932:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class LoopBuilderBehavior extends Marionette.Behavior{ui(){return{postSourceControlSelector:'[data-setting="post_taxonomy_query_post_type"]',productSourceControlSelector:'[data-setting="product_taxonomy_query_post_type"]'}}events(){return{"change @ui.postSourceControlSelector":"onApplySourceChange","change @ui.productSourceControlSelector":"onApplySourceChange"}}onApplySourceChange(e){const t=e.target?.value||this.getDefaultSourceType();this.getOption("updateTaxonomyTabsIdControls")(t,!0)}onRender(){const e=this.getOption("getSourceControlValue")();this.getOption("updateTaxonomyTabsIdControls")(e)}getDefaultSourceType(){const e=this.getOption("getSkinType")();return this.getOption("getDefaultSourceType")(e)}}t.default=LoopBuilderBehavior},8002:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(2024));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class LoopBuilderComponent extends $e.modules.ComponentBase{getNamespace(){return"document/loop"}defaultHooks(){return this.importHooks(r)}}t.default=LoopBuilderComponent},2024:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoopBuilderAddLibraryTab",{enumerable:!0,get:function(){return r.LoopBuilderAddLibraryTab}}),Object.defineProperty(t,"LoopBuilderRemoveLibraryTab",{enumerable:!0,get:function(){return n.LoopBuilderRemoveLibraryTab}});var r=o(4913),n=o(5919)},5919:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LoopBuilderRemoveLibraryTab=void 0;class LoopBuilderRemoveLibraryTab extends $e.modules.hookUI.After{getCommand(){return"editor/documents/unload"}getId(){return"elementor-loop-items-remove-library-tab"}getConditions(e){const{document:t}=e;return"loop-item"===t?.config?.type}apply(){$e.components.get("library").removeTab("templates/loop-items"),$e.components.get("library").addTab("templates/blocks"),$e.components.get("library").addTab("templates/pages")}}t.LoopBuilderRemoveLibraryTab=LoopBuilderRemoveLibraryTab;t.default=LoopBuilderRemoveLibraryTab},4913:(e,t,o)=>{"use strict";var r=o(8003).__;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LoopBuilderAddLibraryTab=void 0;class LoopBuilderAddLibraryTab extends $e.modules.hookUI.After{getCommand(){return"editor/documents/open"}getId(){return"elementor-loop-items-add-library-tab"}getConditions(e){const t=elementor.documents?.get(e.id);return"loop-item"===t?.config?.type}apply(){$e.components.get("library").addTab("templates/loop-items",{title:r("Loop","elementor"),filter:{source:"remote",type:"lb",subtype:elementor.config.document.settings.settings.source}},0),$e.components.get("library").removeTab("templates/blocks"),$e.components.get("library").removeTab("templates/pages")}}t.LoopBuilderAddLibraryTab=LoopBuilderAddLibraryTab;t.default=LoopBuilderAddLibraryTab},9429:(e,t,o)=>{"use strict";var r=o(3203),n=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(5030)),i=r(o(8002)),a=r(o(1932));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class loopBuilderModule extends elementorModules.editor.utils.Module{taxonomyQueryOptions=["post_taxonomy","product_taxonomy"];onElementorFrontendInit(){elementor.hooks.addFilter("controls/base/behaviors",this.registerControlBehavior),elementorFrontend.elements.$body.on("click",".e-loop-empty-view__box-cta",(()=>{this.createTemplate()})),this.createDocumentSaveHandles(),elementor.on("document:loaded",this.createDocumentSaveHandles.bind(this))}registerControlBehavior=(e={},t)=>["post_taxonomy_query_post_type","product_taxonomy_query_post_type"].includes(t.options.model.get("name"))?(e.loopBuilder={behaviorClass:a.default,getSourceControlValue:this.getSourceControlValue,updateTaxonomyTabsIdControls:this.updateTaxonomyTabsIdControls},e):e;createTemplate(){setTimeout((()=>{elementor.getPanelView().getCurrentPageView().activateSection("section_layout")._renderChildren(),this.getEditorControlView("template_id").createTemplate()}))}createDocumentSaveHandles(){Object.entries(elementorFrontend.config?.elements?.data).forEach((([e,t])=>{const o=elementor.getElementData(t);if(!o?.is_loop)return;const r=t.attributes.template_id;if(!r)return;const i=`.elementor-element[data-model-cid="${e}"]`,a=`[data-elementor-type="loop-item"].elementor-${r}`,s=elementorFrontend.elements.$body.find(`${i} ${a}`).first()[0];s&&(0,n.default)({element:s,id:0,title:"& Back"},n.SAVE_CONTEXT,null,".elementor-"+elementor.config.initial_document.id)}))}onElementorLoaded(){elementor.on("document:loaded",this.onDocumentLoaded.bind(this)),elementor.on("document:unload",this.onDocumentUnloaded.bind(this)),this.component=$e.components.register(new i.default({manager:this}))}onDocumentLoaded=e=>{e.config.theme_builder&&elementor.channels.editor.on("elementorLoopBuilder:ApplySourceChange",this.onApplySourceChange)};onDocumentUnloaded=e=>{e.config.theme_builder&&elementor.channels.editor.off("elementorLoopBuilder:ApplySourceChange",this.onApplySourceChange)};onApplySourceChange=()=>{this.saveAndRefresh().then((()=>{location.reload()}))};async saveAndRefresh(){await $e.run("document/save/update",{force:!0})}getCtaStyles=()=>{const e=document.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",`${elementorAppProConfig.baseUrl}/assets/css/loop-grid-cta.css`),e};getCtaContent=e=>{const t=document.createElement("div");return t.classList.add("e-loop-empty-view__container","elementor-grid",e),t.innerHTML=Marionette.Renderer.render("#tmpl-"+e+"-cta"),t};getSourceControlValue=()=>{const e=this.getSkinType(),t=this.getEditorControlView(`${e}_query_post_type`);return t?t.getControlValue():e.includes("product")?"product_cat":"category"};getSkinType=()=>this.getEditorControlView("section_layout").options.container.settings.get("_skin");getTemplateType=e=>e.split("_")[0];onApplySkinChange=()=>{const e=this.getSkinType();if(!this.taxonomyQueryOptions.includes(e))return;const t=this.getDefaultSourceType(e);this.updateTaxonomyTabsIdControls(t,!0)};getDefaultSourceType=e=>({post:"post",product:"product",post_taxonomy:"category",product_taxonomy:"product_cat"}[e]);updateTaxonomyTabsIdControls=(e,t=!1)=>{const o=this.getSkinType();if(!this.taxonomyQueryOptions.includes(o))return;const r=elementorPro.modules.loopBuilder.getEditorControlView("section_query");[r.model.collection.findWhere({name:`${o}_posts_ids`}),r.model.collection.findWhere({name:`${o}_exclude_ids`})].forEach((o=>{const r=elementor.getPanelView()?.getCurrentPageView()?.children?.findByModel(o);this.updateControlQuery({control:o,controlView:r,postType:e,shouldResetControlValues:t})}))};updateControlQuery=({control:e,controlView:t,postType:o,shouldResetControlValues:r})=>{e.set({autocomplete:{object:"tax",query:{taxonomy:o}}}),t&&r&&(t.setValue([]),t.applySavedValue())}}e.exports=loopBuilderModule},8756:(e,t,o)=>{"use strict";var r=o(8003).__;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.editor.utils.Module{onElementorInit(){elementor.on("navigator:init",this.onNavigatorInit.bind(this))}onNavigatorInit(){elementor.navigator.indicators.motionFX={icon:"flash",title:r("Motion Effects","elementor-pro"),settingKeys:["motion_fx_motion_fx_scrolling","motion_fx_motion_fx_mouse","background_motion_fx_motion_fx_scrolling","background_motion_fx_motion_fx_mouse"],section:"section_effects"}}}t.default=_default},4644:(e,t,o)=>{"use strict";var r=o(8003).__;Object.defineProperty(t,"__esModule",{value:!0}),t.notesContextMenu=t.default=void 0;class notesContextMenu{constructor(){["widget","section","column","container"].forEach((e=>{elementor.hooks.addFilter(`elements/${e}/contextMenuGroups`,this.notesContextMenuAddGroup)}))}notesContextMenuAddGroup(e){const t=_.findWhere(e,{name:"notes"}),o=e.indexOf(t),n={name:"open_notes",title:r("Notes","elementor-pro"),shortcut:"⇧+C",isEnabled:()=>!0,callback:()=>$e.route("notes")};if(elementorPro.config.should_show_promotion){const e='<i class="eicon-advanced"></i><a class="elementor-context-menu-list__item__shortcut--link-fullwidth" href="https://go.elementor.com/go-pro-advanced-notes-context-menu/" target="_blank" rel="noopener noreferrer"></a>';n.shortcut=jQuery(e),n.isEnabled=()=>!1,delete n.callback}if(-1===o){const t=_.findWhere(e,{name:"delete"}),o=e.indexOf(t),r=-1!==o?o:e.length;return e.splice(r,0,{name:"notes",actions:[n]}),e}const i=_.findWhere(t.actions,{name:"open_notes"}),a=t.actions.indexOf(i);return e[o].actions[a]=n,e}}t.notesContextMenu=notesContextMenu;t.default=notesContextMenu},5292:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Animate=void 0;class Animate extends $e.modules.CommandBase{apply(){const e=elementor.$previewContents[0].querySelector("e-page-transition");e&&e.animate()}}t.Animate=Animate;t.default=Animate},8431:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Animate",{enumerable:!0,get:function(){return r.Animate}});var r=o(5292)},7251:(e,t,o)=>{"use strict";var r=o(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=_interopRequireWildcard(o(8431)),i=_interopRequireWildcard(o(5142)),a=r(o(350));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class Component extends $e.modules.ComponentBase{constructor(){super(),this.routesHooks={},this.initRouteHooks()}initRouteHooks(){this.routesHooks.pageTransitionPreview=new a.default,$e.routes.on("run:after",((e,t)=>{this.routesHooks.pageTransitionPreview.run(e,t)}))}getNamespace(){return"page-transitions"}defaultHooks(){return this.importHooks(i)}defaultCommands(){return this.importCommands(n)}}t.default=Component},1033:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.AnimatePageTransition=void 0;class AnimatePageTransition extends $e.modules.hookData.After{prefix="settings_page_transitions_";settings=["entrance_animation","exit_animation"];getCommand(){return"document/elements/settings"}getId(){return"animate-page-transitions--document/elements/settings"}getContainerType(){return"document"}getConditions(e){return Object.keys(e.settings).some((e=>(e=e.replace(this.prefix,""),this.settings.includes(e))))}apply(){$e.run("page-transitions/animate")}}t.AnimatePageTransition=AnimatePageTransition;t.default=AnimatePageTransition},8460:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnimatePageTransition",{enumerable:!0,get:function(){return r.AnimatePageTransition}}),Object.defineProperty(t,"ReRenderPageTransition",{enumerable:!0,get:function(){return n.ReRenderPageTransition}});var r=o(1033),n=o(3008)},3008:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ReRenderPageTransition=void 0;var r=o(352);class ReRenderPageTransition extends $e.modules.hookData.After{prefix="settings_page_transitions_";settings=["entrance_animation","preloader_type","preloader_icon","preloader_image","preloader_animation_type"];getCommand(){return"document/elements/settings"}getId(){return"re-render-page-transitions--document/elements/settings"}getContainerType(){return"document"}getConditions(e){return Object.keys(e.settings).some((e=>(e=e.replace(this.prefix,""),this.settings.includes(e))))}apply(e){(0,r.renderPageTransition)(e.container)}}t.ReRenderPageTransition=ReRenderPageTransition;t.default=ReRenderPageTransition},5142:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(8460);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},350:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(352);t.default=class PageTransitionPreview{run(e,t){"panel/global/settings-page-transitions"===t?((0,r.renderPageTransition)(elementor.documents.getCurrent().container),this.togglePageTransitionPreview(!0)):this.togglePageTransitionPreview(!1)}togglePageTransitionPreview(e=!0){const t=elementor.$previewContents[0].body.querySelector("e-page-transition");t&&t.classList.toggle("e-page-transition--preview",e)}}},352:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPageTransitionSettings=getPageTransitionSettings,t.renderPageTransition=function renderPageTransition(e){let t=elementor.$previewContents[0].querySelector("e-page-transition");const r=!!e.settings.get(`${o}entrance_animation`),n=!!e.settings.get(`${o}preloader_type`),i=r||n;t||(t=document.createElement("e-page-transition"),t.classList.add("e-page-transition--preview"),elementor.$previewContents[0].body.append(t));t.toggleAttribute("disabled",!i);const a=getPageTransitionSettings(e);Object.entries(a).forEach((([e,r])=>{e=(e=e.replace(o,"")).replaceAll("_","-"),r?"string"!=typeof r?Object.entries(r).forEach((([o,r])=>{let n=e;"value"!==o&&(n=`${e}-${o}`),t.setAttribute(n,r)})):t.setAttribute(e,r):t.removeAttribute(e)}))};const o="settings_page_transitions_";function getPageTransitionSettings(e){const t=Object.entries(e.settings.getActiveControls()).filter((([e,t])=>e.startsWith(o)&&!t.selectors)),r={};return t.forEach((([t])=>{r[t]=e.settings.get(t)})),r}},2897:(e,t,o)=>{"use strict";var r=o(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(o(7251));class _default extends elementorModules.editor.utils.Module{onInit(){$e.components.register(new n.default),this.bindEvents()}bindEvents(){window.elementor?this.onAnimateButtonClick():jQuery(window).on("elementor:init",(()=>this.onAnimateButtonClick()))}onAnimateButtonClick(){elementor.channels.editor.on("elementorPageTransitions:animate",(()=>{$e.run("page-transitions/animate")}))}}t.default=_default},5107:(e,t,o)=>{"use strict";var r=o(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(o(9824));class StripeModule extends elementorModules.editor.utils.Module{onElementorInit(){this.stripeButton=new n.default("stripe-button")}}t.default=StripeModule},9824:(e,t,o)=>{"use strict";const r=o(8200);e.exports=r.extend({__construct(){r.prototype.__construct.apply(this,arguments)},getName:()=>"stripe-button",onInit(){elementor.channels.editor.on("editor:widget:stripe-button:section_stripe_account:activated",this.onSectionActive)},onSectionActive(){return elementorPro.ajax.addRequest("get_stripe_tax_rates",{success:e=>{this.updateOptions("stripe_test_env_tax_rates_list",e.test_api_key),this.updateOptions("stripe_live_env_tax_rates_list",e.live_api_key)}},!0)}})},7190:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(4797));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class PopupComponent extends $e.modules.ComponentBase{onPageSettingsCloseHandler=null;getNamespace(){return"document/popup"}defaultHooks(){return this.importHooks(r)}}t.default=PopupComponent},1986:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.editor.views.ControlsStack{constructor(...e){super(...e),this.template=_.noop,this.activeTab="content",this.listenTo(this.model,"change",this.onModelChange)}getNamespaceArray(){return["popup","display-settings"]}className(){return super.className()+" elementor-popup__display-settings"}toggleGroup(e,t){t.toggleClass("elementor-active",!!this.model.get(e))}onRenderTemplate(){this.activateFirstSection()}onRender(){const e=this.getOption("name");let t;this.children.each((o=>{if("heading"!==o.model.get("type"))return void(t&&t.append(o.$el));const r=o.model.get("name").replace("_heading","");t=jQuery("<div>",{id:`elementor-popup__${e}-controls-group--${r}`,class:"elementor-popup__display-settings_controls_group"});const n=jQuery("<div>",{class:"elementor-popup__display-settings_controls_group__icon"}),i=jQuery("<img>",{src:elementorPro.config.urls.modules+`popup/assets/images/${e}/${r}.svg`});n.html(i),t.html(n),o.$el.before(t),t.append(o.$el),this.toggleGroup(r,t)}))}onModelChange(){const e=Object.keys(this.model.changed)[0],t=this.getControlViewByName(e);"switcher"===t.model.get("type")&&this.toggleGroup(e,t.$el.parent())}}t.default=_default},4419:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PopupSave",{enumerable:!0,get:function(){return r.PopupSave}});var r=o(7314)},7314:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PopupSave=void 0;class PopupSave extends $e.modules.hookData.After{getCommand(){return"document/save/save"}getId(){return"elementor-pro-popup-save"}getConditions(){return"popup"===elementor.config.document.type}apply(){const e={};jQuery.each(elementorPro.modules.popup.displaySettingsTypes,((t,o)=>{e[t]=o.model.toJSON({remove:["default"]})})),elementorPro.ajax.addRequest("popup_save_display_settings",{data:{settings:e}})}}t.PopupSave=PopupSave;t.default=PopupSave},4797:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(4419);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var n=o(3468);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},6139:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PopupRemoveLibraryTab=void 0;class PopupRemoveLibraryTab extends $e.modules.hookUI.After{getCommand(){return"editor/documents/unload"}getId(){return"elementor-pro-popup-remove-library-tab"}getConditions(e){const{document:t}=e;return"popup"===t.config.type}apply(){$e.components.get("library").removeTab("templates/popups")}}t.PopupRemoveLibraryTab=PopupRemoveLibraryTab;t.default=PopupRemoveLibraryTab},2959:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PopupRemoveTriggers=void 0;class PopupRemoveTriggers extends $e.modules.hookUI.After{getCommand(){return"editor/documents/unload"}getId(){return"elementor-pro-popup-remove-triggers"}getConditions(e){const{document:t}=e;return"popup"===t.config.type}apply(){this.removePanelFooterSubmenuItems(),this.removePublishTabs()}removePanelFooterSubmenuItems(){const e=elementorPro.modules.popup.displaySettingsTypes;jQuery.each(e,(e=>{elementor.getPanelView().footer.currentView.removeSubMenuItem("saver-options",{name:e})}))}removePublishTabs(){const e=$e.components.get("theme-builder-publish"),t=elementorPro.modules.popup.displaySettingsTypes;jQuery.each(t,(t=>{e.removeTab(t)}))}}t.PopupRemoveTriggers=PopupRemoveTriggers;t.default=PopupRemoveTriggers},3719:(e,t,o)=>{"use strict";var r=o(8003).__;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PopupAddLibraryTab=void 0;class PopupAddLibraryTab extends $e.modules.hookUI.After{getCommand(){return"editor/documents/open"}getId(){return"elementor-pro-popup-add-library-tab"}getConditions(e){return"popup"===elementor.documents.get(e.id).config.type}apply(){$e.components.get("library").addTab("templates/popups",{title:r("Popups","elementor-pro"),filter:{source:"remote",type:"popup"}},1)}}t.PopupAddLibraryTab=PopupAddLibraryTab;t.default=PopupAddLibraryTab},2631:(e,t,o)=>{"use strict";var r=o(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.PopupAddTriggers=void 0;var n=r(o(1986));class PopupAddTriggers extends $e.modules.hookUI.After{getCommand(){return"editor/documents/open"}getId(){return"elementor-pro-popup-add-triggers"}getConditions(e){return"popup"===elementor.documents.get(e.id).config.type}apply(){elementor.panel?this.addUI():elementor.once("preview:loaded",this.addUI.bind(this))}addUI(){$e.routes.commands["theme-builder-publish/triggers"]||(this.addPanelFooterSubmenuItems(),this.addPublishTabs())}addPublishTabs(){const e=elementor.config.document.displaySettings,t=$e.components.get("theme-builder-publish"),o=elementorPro.modules.popup;jQuery.each(o.displaySettingsTypes,((o,r)=>{r.model=new elementorModules.editor.elements.models.BaseSettings(e[o].settings,{controls:e[o].controls}),t.addTab(o,{View:n.default,viewOptions:{name:o,id:`elementor-popup-${o}__controls`,model:r.model,controls:r.model.controls},name:o,title:r.title,description:r.publishScreenDescription,image:elementorPro.config.urls.modules+`popup/assets/images/${o}-tab.svg`})}))}addPanelFooterSubmenuItems(){const e=$e.components.get("theme-builder-publish"),t=elementorPro.modules.popup.displaySettingsTypes;jQuery.each(t,((t,o)=>{elementor.getPanelView().footer.currentView.addSubMenuItem("saver-options",{before:"save-template",name:t,icon:o.icon,title:o.title,callback:()=>$e.route(e.getTabRoute(t))})}))}}t.PopupAddTriggers=PopupAddTriggers;t.default=PopupAddTriggers},3468:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PopupAddLibraryTab",{enumerable:!0,get:function(){return r.PopupAddLibraryTab}}),Object.defineProperty(t,"PopupAddTriggers",{enumerable:!0,get:function(){return n.PopupAddTriggers}}),Object.defineProperty(t,"PopupRemoveLibraryTab",{enumerable:!0,get:function(){return i.PopupRemoveLibraryTab}}),Object.defineProperty(t,"PopupRemoveTriggers",{enumerable:!0,get:function(){return a.PopupRemoveTriggers}});var r=o(3719),n=o(2631),i=o(6139),a=o(2959)},3928:(e,t,o)=>{"use strict";var r=o(8003).__,n=o(3203)(o(7190));class PopupModule extends elementorModules.editor.utils.Module{constructor(...e){super(...e),this.displaySettingsTypes={triggers:{icon:"eicon-click",title:r("Triggers","elementor-pro"),publishScreenDescription:r("What action the user needs to do for the popup to open.","elementor-pro")},timing:{icon:"eicon-cog",title:r("Advanced Rules","elementor-pro"),publishScreenDescription:r("Requirements that have to be met for the popup to open.","elementor-pro")}}}onElementorLoaded(){this.component=$e.components.register(new n.default({manager:this}))}}e.exports=PopupModule},3569:(e,t,o)=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({onElementorPreviewLoaded(){elementor.addControlView("Query",o(4124)),o.e(315).then(o.bind(o,6315)).then((({default:e})=>elementor.addControlView("template_query",e)))}})},4124:(e,t,o)=>{"use strict";var r=o(8003).__;e.exports=elementor.modules.controls.Select2.extend({cache:null,isTitlesReceived:!1,getSelect2Placeholder:()=>({id:"",text:r("All","elementor-pro")}),getControlValueByName(e){const t=this.model.get("group_prefix")+e;return this.elementSettingsModel.attributes[t]},getQueryDataDeprecated(){return{filter_type:this.model.get("filter_type"),object_type:this.model.get("object_type"),include_type:this.model.get("include_type"),query:this.model.get("query")}},getQueryData(){const e=elementorCommon.helpers.cloneObject(this.model.get("autocomplete"));return _.isEmpty(e.query)&&(e.query={}),"cpt_tax"===e.object&&(e.object="tax",(_.isEmpty(e.query)||_.isEmpty(e.query.post_type))&&(e.query.post_type=this.getControlValueByName("post_type"))),{autocomplete:e}},getSelect2DefaultOptions(){const e=this;return jQuery.extend(elementor.modules.controls.Select2.prototype.getSelect2DefaultOptions.apply(this,arguments),{ajax:{transport(t,o,r){let n={},i="panel_posts_control_filter_autocomplete";return!_.isEmpty(e.model.get("filter_type"))?(n=e.getQueryDataDeprecated(),i="panel_posts_control_filter_autocomplete_deprecated"):n=e.getQueryData(),n.q=t.data.q,elementorPro.ajax.addRequest(i,{data:n,success:o,error:r})},data:e=>({q:e.term,page:e.page}),cache:!0},escapeMarkup:e=>e,minimumInputLength:1})},getValueTitles(){const e=this,t={},o=!_.isEmpty(this.model.get("filter_type"));let r=this.getControlValue(),n="query_control_value_titles",i="autocomplete",a={};o?(i="filter_type",a=this.model.get(i).object,t.filter_type=a,t.object_type=e.model.get("object_type"),t.include_type=e.model.get("include_type"),t.unique_id=""+e.cid+a,n="query_control_value_titles_deprecated"):(a=this.model.get(i).object,t.get_titles=e.getQueryData().autocomplete,t.unique_id=""+e.cid+a),r&&a&&(_.isArray(r)||(r=[r]),elementorCommon.ajax.loadObjects({action:n,ids:r,data:t,before(){e.addControlSpinner()},success(t){e.isTitlesReceived=!0,e.model.set("options",t),e.render()}}))},addControlSpinner(){this.ui.select.prop("disabled",!0),this.$el.find(".elementor-control-title").after('<span class="elementor-control-spinner"> <i class="eicon-spinner eicon-animation-spin"></i> </span>')},onReady(){this.isTitlesReceived||this.getValueTitles()}})},2981:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(3144));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class _default extends $e.modules.ComponentBase{getNamespace(){return"screenshots"}defaultHooks(){return this.importHooks(r)}}t.default=_default},878:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.DeleteScreenshot=void 0;class DeleteScreenshot extends $e.modules.hookData.After{getCommand(){return"document/save/save"}getConditions(e){const{status:t}=e,o=elementor.documents.getCurrent().config;return"publish"===t&&o.support_site_editor}getId(){return"document/save/save::delete-screenshot"}apply(){const e=elementor.documents.getCurrent().id;return elementorCommon.ajax.addRequest("screenshot_delete",{unique_id:`delete_screenshot_${e}`,data:{post_id:e}})}}t.DeleteScreenshot=DeleteScreenshot;t.default=DeleteScreenshot},3144:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DeleteScreenshot",{enumerable:!0,get:function(){return r.DeleteScreenshot}});var r=o(878)},4184:(e,t,o)=>{"use strict";var r=o(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(o(2981));class Module extends elementorModules.editor.utils.Module{onElementorInit(){$e.components.register(new n.default)}}t.default=Module},9555:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(461));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class ScrollSnapComponent extends $e.modules.ComponentBase{getNamespace(){return"scroll-snap"}defaultHooks(){return this.importHooks(r)}}t.default=ScrollSnapComponent},1651:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FocusPreview=void 0;class FocusPreview extends $e.modules.hookData.After{getCommand(){return"document/elements/settings"}getId(){return"focus-preview--document/elements/settings"}getConditions(e){return""!==e.settings.scroll_snap_padding?.size}apply(){setTimeout((()=>{elementor.$preview[0].contentWindow.scrollBy(0,0)}),100)}}t.FocusPreview=FocusPreview;t.default=FocusPreview},461:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FocusPreview",{enumerable:!0,get:function(){return r.FocusPreview}});var r=o(1651)},7921:(e,t,o)=>{"use strict";var r=o(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(o(9555));class Module extends elementorModules.editor.utils.Module{onInit(){super.onInit(),$e.components.register(new n.default)}}t.default=Module},8483:e=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({config:elementorPro.config.shareButtonsNetworks,networksClassDictionary:{google:"fab fa-google-plus",pocket:"fab fa-get-pocket",email:"fas fa-envelope",print:"fas fa-print"},getNetworkClass(e){let t=this.networksClassDictionary[e]||"fab fa-"+e;return elementor.config.icons_update_needed&&(t="fa "+t),t},getNetworkTitle(e){return e.text||this.getNetworkData(e)?.title},getNetworkData(e){return this.config[e.button]},hasCounter(e,t){return"icon"!==t.view&&"yes"===t.show_counter&&this.config[e].has_counter}})},6052:e=>{"use strict";e.exports=elementor.modules.controls.RepeaterRow.extend({template:"#tmpl-elementor-theme-builder-conditions-repeater-row",childViewContainer:".elementor-theme-builder-conditions-repeater-row-controls",conflictCheckedOnFirstRender:!1,id(){return"elementor-condition-id-"+this.model.get("_id")},onBeforeRender(){var e=this.collection.findWhere({name:"sub_name"}),t=this.collection.findWhere({name:"sub_id"}),o=this.config.conditions[this.model.attributes.sub_name];e.attributes.groups=this.getOptions(),o&&o.controls&&_(o.controls).each((function(e){t.set(e),t.set("name","sub_id")}))},initialize(){elementor.modules.controls.RepeaterRow.prototype.initialize.apply(this,arguments),this.config=elementor.config.document.theme_builder},updateOptions(){(this.model.changed.name&&this.model.set({sub_name:"",sub_id:""}),this.model.changed.name||this.model.changed.sub_name)&&(this.model.set("sub_id","",{silent:!0}),this.collection.findWhere({name:"sub_id"}).set({type:"select",options:{"":"All"}}),this.render());this.model.changed.type&&this.setTypeAttribute()},getOptions(){var e=this,t=e.config.conditions[this.model.get("name")];if(t){var o={"":t.all_label};return _(t.sub_conditions).each((function(t,r){var n,i=e.config.conditions[t];i&&(i.sub_conditions.length?((n={label:i.label,options:{}}).options[t]=i.all_label,_(i.sub_conditions).each((function(t){n.options[t]=e.config.conditions[t].label})),o["key"+r]=n):o[t]=i.label)})),o}},setTypeAttribute(){var e=this.children.findByModel(this.collection.findWhere({name:"type"}));e.$el.attr("data-elementor-condition-type",e.getControlValue())},checkConflicts(){var e=this.model.get("_id"),t="elementor-condition-id-"+e,o="elementor-conditions-conflict-message-"+e,r=jQuery("#"+o);jQuery("#"+t).removeClass("elementor-error"),r.remove(),elementorPro.ajax.addRequest("theme_builder_conditions_check_conflicts",{unique_id:t,data:{condition:this.model.toJSON()},success(e){_.isEmpty(e)||jQuery("#"+t).addClass("elementor-error").after('<div id="'+o+'" class="elementor-conditions-conflict-message">'+e+"</div>")}})},onRender(){var e=this.collection.findWhere({name:"name"}),t=this.collection.findWhere({name:"sub_name"}),o=this.collection.findWhere({name:"sub_id"}),r=this.children.findByModel(e),n=this.children.findByModel(t),i=this.children.findByModel(o),a=this.config.conditions[this.model.attributes.name],s=this.config.conditions[this.model.attributes.sub_name],l=this.config.types[this.config.settings.template_type];l.condition_type!==r.getControlValue()||"general"===r.getControlValue()||_.isEmpty(a.sub_conditions)||r.$el.hide(),(!a||_.isEmpty(a.sub_conditions)&&_.isEmpty(a.controls)||!r.getControlValue()||"general"===r.getControlValue())&&n.$el.hide(),s&&!_.isEmpty(s.controls)&&n.getControlValue()||i.$el.hide(),"singular"===l.condition_type&&""===n.getControlValue()&&n.setValue("post"),this.setTypeAttribute(),this.conflictCheckedOnFirstRender||(this.checkConflicts(),this.conflictCheckedOnFirstRender=!0)},onModelChange(){this.updateOptions(),this.checkConflicts()}})},6746:(e,t,o)=>{"use strict";var r=o(8003).__,n=o(3203)(o(6052));e.exports=elementor.modules.controls.Repeater.extend({childView:n.default,updateActiveRow(){},initialize(){elementor.modules.controls.Repeater.prototype.initialize.apply(this,arguments),this.config=elementor.config.document.theme_builder,this.updateConditionsOptions(this.config.settings.template_type)},updateConditionsOptions(e){var t=this,o=t.config.types[e].condition_type,r={};_([o]).each((function(e,o){var n=t.config.conditions[e],i={label:n.label,options:{}};i.options[e]=n.all_label,_(n.sub_conditions).each((function(e){i.options[e]=t.config.conditions[e].label})),r[o]=i}));var n=this.model.get("fields");n[1].default=o,"general"===o?n[1].groups=r:n[2].groups=r},onRender(){this.ui.btnAddRow.text(r("Add Condition","elementor-pro"))}})},1590:(e,t,o)=>{"use strict";var r=o(8865);e.exports=r.extend({id:"elementor-theme-builder-conditions-view",template:"#tmpl-elementor-theme-builder-conditions-view",childViewContainer:"#elementor-theme-builder-conditions-controls",childViewOptions(){return{elementSettingsModel:this.model}}})},4242:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ThemeBuilderSaveAndReload",{enumerable:!0,get:function(){return r.ThemeBuilderSaveAndReload}}),Object.defineProperty(t,"ThemeBuilderUpdatePreviewOptions",{enumerable:!0,get:function(){return n.ThemeBuilderUpdatePreviewOptions}});var r=o(7629),n=o(1824)},7629:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThemeBuilderSaveAndReload=void 0;class ThemeBuilderSaveAndReload extends $e.modules.hookData.After{getCommand(){return"document/elements/settings"}getId(){return"elementor-pro-theme-builder-save-and-reload"}getContainerType(){return"document"}getConditions(e){return e.settings&&e.settings.page_template}apply(){$e.run("document/save/auto",{force:!0,onSuccess:()=>{elementor.reloadPreview(),elementor.once("preview:loaded",(()=>{$e.route("panel/page-settings/settings")}))}})}}t.ThemeBuilderSaveAndReload=ThemeBuilderSaveAndReload;t.default=ThemeBuilderSaveAndReload},1824:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThemeBuilderUpdatePreviewOptions=void 0;class ThemeBuilderUpdatePreviewOptions extends $e.modules.hookData.After{getCommand(){return"document/elements/settings"}getId(){return"elementor-pro-theme-builder-update-preview-options"}getContainerType(){return"document"}getConditions(e){return e.settings&&e.settings.preview_type}apply(e){const{containers:t=[e.container]}=e,{themeBuilder:o}=elementorPro.modules;$e.run("document/elements/settings",{containers:t,settings:{preview_id:"",preview_search_term:""}}),$e.routes.is("panel/page-settings/settings")&&o.updatePreviewIdOptions(!0)}}t.ThemeBuilderUpdatePreviewOptions=ThemeBuilderUpdatePreviewOptions;t.default=ThemeBuilderUpdatePreviewOptions},2539:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThemeBuilderSaveConditions=void 0;class ThemeBuilderSaveConditions extends $e.modules.hookData.After{getCommand(){return"document/save/save"}getId(){return"elementor-pro-theme-builder-save-conditions"}getConditions(){return!!elementor.config.document.theme_builder}apply(){const{conditionsModel:e}=elementorPro.modules.themeBuilder;elementorPro.ajax.addRequest("theme_builder_save_conditions",{data:e.toJSON({remove:["default"]}),success:()=>{elementor.config.document.theme_builder.settings.conditions=e.get("conditions")}})}}t.ThemeBuilderSaveConditions=ThemeBuilderSaveConditions;t.default=ThemeBuilderSaveConditions},1588:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThemeBuilderShowConditions=void 0;class ThemeBuilderShowConditions extends $e.modules.hookData.Dependency{getCommand(){return"document/save/default"}getId(){return"elementor-pro-theme-builder-show-conditions"}getConditions(e){const{force:t=!1}=e;if(t)return!1;let o=!1;const r=elementor.config.document.theme_builder;if(r){const e=r.settings.conditions.length,t=r.settings.location,n="draft"===elementor.settings.page.model.get("post_status");!t||e&&!n||(o=!0)}return o}apply(){return $e.route("theme-builder-publish/conditions"),!1}}t.ThemeBuilderShowConditions=ThemeBuilderShowConditions;t.default=ThemeBuilderShowConditions},708:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThemeBuilderPreviewBreak=void 0;class ThemeBuilderPreviewBreak extends $e.modules.hookData.Dependency{getCommand(){return"editor/documents/preview"}getId(){return"elementor-pro-theme-builder-preview-break"}getConditions(e){return!e.force&&!!elementor.documents.get(e.id).config.theme_builder}apply(){return!1}}t.ThemeBuilderPreviewBreak=ThemeBuilderPreviewBreak;t.default=ThemeBuilderPreviewBreak},689:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={ThemeBuilderSaveConditions:!0,ThemeBuilderShowConditions:!0,ThemeBuilderPreviewBreak:!0};Object.defineProperty(t,"ThemeBuilderPreviewBreak",{enumerable:!0,get:function(){return s.ThemeBuilderPreviewBreak}}),Object.defineProperty(t,"ThemeBuilderSaveConditions",{enumerable:!0,get:function(){return i.ThemeBuilderSaveConditions}}),Object.defineProperty(t,"ThemeBuilderShowConditions",{enumerable:!0,get:function(){return a.ThemeBuilderShowConditions}});var n=o(4242);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var i=o(2539),a=o(1588),s=o(708)},4325:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(689);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var n=o(3034);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},4754:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThemeBuilderToggleMenuConditions=void 0;class ThemeBuilderToggleMenuConditions extends $e.modules.hookUI.After{getCommand(){return"document/elements/settings"}getId(){return"elementor-pro-theme-builder-toggle-menu-conditions"}getContainerType(){return"document"}getConditions(e){return e.settings&&e.settings.location}apply(){const{themeBuilder:e}=elementorPro.modules;e.ui.menuConditions.toggle(!!elementor.config.document.theme_builder.settings.location)}}t.ThemeBuilderToggleMenuConditions=ThemeBuilderToggleMenuConditions;t.default=ThemeBuilderToggleMenuConditions},6596:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThemeBuilderRemoveEditorUI=void 0;class ThemeBuilderRemoveEditorUI extends $e.modules.hookUI.After{getCommand(){return"editor/documents/unload"}getId(){return"elementor-pro-theme-builder-remove-editor-ui"}getConditions(e){const{document:t}=e;return t.config.theme_builder}apply(){this.removePanelFooterSubmenuItems(),this.removePublishTabs()}removePanelFooterSubmenuItems(){const e=elementor.getPanelView().footer.currentView,t=e._behaviors[Object.keys(e.behaviors()).indexOf("saver")];elementor.getPanelView().footer.currentView.removeSubMenuItem("saver-options",{name:"conditions"}),t.ui.buttonPreview.tipsy("enable").removeClass("elementor-panel-footer-theme-builder-buttons-wrapper elementor-toggle-state")}removePublishTabs(){$e.components.get("theme-builder-publish").removeTab("conditions")}}t.ThemeBuilderRemoveEditorUI=ThemeBuilderRemoveEditorUI;t.default=ThemeBuilderRemoveEditorUI},6735:(e,t,o)=>{"use strict";var r=o(8003).__,n=o(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ThemeBuilderAddEditorUI=void 0;var i=n(o(1590));class ThemeBuilderAddEditorUI extends $e.modules.hookUI.After{getCommand(){return"editor/documents/open"}getId(){return"elementor-pro-theme-builder-add-editor-ui"}getConditions(e){return elementor.documents.get(e.id).config.theme_builder}apply(){elementor.panel?this.addUI():elementor.once("preview:loaded",this.addUI.bind(this))}addUI(){this.addRepeaterControlView(),this.addPanelFooterSubmenuItems(),this.addPublishTabs()}addRepeaterControlView(){elementor.addControlView("Conditions_repeater",o(6746))}addPublishTabs(){const e=$e.components.get("theme-builder-publish"),t=elementor.config.document.theme_builder,o=t.settings;e.manager.conditionsModel=new elementorModules.editor.elements.models.BaseSettings(o,{controls:t.template_conditions.controls}),e.addTab("conditions",{title:r("Conditions","elementor-pro"),View:i.default,viewOptions:{model:e.manager.conditionsModel,controls:e.manager.conditionsModel.controls},name:"conditions",description:r("Apply current template to these pages.","elementor-pro"),image:elementorPro.config.urls.modules+"theme-builder/assets/images/conditions-tab.svg"})}addPanelFooterSubmenuItems(){const e=elementor.getPanelView().footer.currentView,t=e._behaviors[Object.keys(e.behaviors()).indexOf("saver")];e.ui.menuConditions=e.addSubMenuItem("saver-options",{before:"save-template",name:"conditions",icon:"eicon-flow",title:r("Display Conditions","elementor-pro"),callback:()=>$e.route("theme-builder-publish/conditions")}),e.ui.menuConditions.toggle(!!elementor.config.document.theme_builder.settings.location),t.ui.buttonPreview.tipsy("disable").html(jQuery("#tmpl-elementor-theme-builder-button-preview").html()).addClass("elementor-panel-footer-theme-builder-buttons-wrapper elementor-toggle-state")}}t.ThemeBuilderAddEditorUI=ThemeBuilderAddEditorUI;t.default=ThemeBuilderAddEditorUI},3034:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ThemeBuilderAddEditorUI",{enumerable:!0,get:function(){return r.ThemeBuilderAddEditorUI}}),Object.defineProperty(t,"ThemeBuilderFooterSaverAfterSave",{enumerable:!0,get:function(){return a.ThemeBuilderFooterSaverAfterSave}}),Object.defineProperty(t,"ThemeBuilderRemoveEditorUI",{enumerable:!0,get:function(){return n.ThemeBuilderRemoveEditorUI}}),Object.defineProperty(t,"ThemeBuilderToggleMenuConditions",{enumerable:!0,get:function(){return i.ThemeBuilderToggleMenuConditions}});var r=o(6735),n=o(6596),i=o(4754),a=o(3471)},3471:(e,t,o)=>{"use strict";var r=o(8003).__;Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeBuilderFooterSaverAfterSave=void 0;class ThemeBuilderFooterSaverAfterSave extends $e.modules.hookUI.After{getCommand(){return"document/save/save"}getId(){return"theme-builder-footer-saver-after-save"}getConditions(){return elementor.config.document.support_site_editor}apply(e,t){const{status:o}=e;t.statusChanged&&this.onPageStatusChange(o)}onPageStatusChange(e){if("publish"!==e)return;const t={classes:"e-theme-builder-save-toaster",message:elementor.config.document.panel.messages.publish_notification,buttons:[{name:"open_site_editor",text:'<i class="eicon-external-link-square"></i><span class="e-theme-builder-toaster-button-text">'+r("Open Site Editor","elementor-pro")+"</span>",callback(){$e.run("app/open")}},{name:"view_live_site",text:'<i class="eicon-preview-medium"></i><span class="e-theme-builder-toaster-button-text">'+r("View Live Site","elementor-pro")+"</span>",callback(){open(elementor.config.document.urls.permalink)}}]};elementor.notifications.showToast(t)}}t.ThemeBuilderFooterSaverAfterSave=ThemeBuilderFooterSaverAfterSave},4291:(e,t,o)=>{"use strict";var r=o(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(o(4363));class ThemeBuilderModule extends elementorModules.editor.utils.Module{__construct(...e){super.__construct(...e),Object.defineProperty(elementorPro.config,"theme_builder",{get:()=>(elementorCommon.helpers.softDeprecated("theme_builder","2.9.0","elementor.config.document.theme_builder"),elementor.config.document.theme_builder)})}onElementorLoaded(){this.component=$e.components.register(new n.default({manager:this})),elementor.on("document:loaded",this.onDocumentLoaded.bind(this)),elementor.on("document:unload",this.onDocumentUnloaded.bind(this)),this.onApplyPreview=this.onApplyPreview.bind(this),this.onSectionPreviewSettingsActive=this.onSectionPreviewSettingsActive.bind(this),elementor.channels.editor.on("elementorProSiteLogo:change",this.openSiteIdentity)}onDocumentLoaded(e){e.config.theme_builder&&(elementor.getPanelView().on("set:page:page_settings",this.updatePreviewIdOptions),elementor.channels.editor.on("elementorThemeBuilder:ApplyPreview",this.onApplyPreview),elementor.channels.editor.on("page_settings:preview_settings:activated",this.onSectionPreviewSettingsActive))}onDocumentUnloaded(e){e.config.theme_builder&&(elementor.getPanelView().off("set:page:page_settings",this.updatePreviewIdOptions),elementor.channels.editor.off("elementorThemeBuilder:ApplyPreview",this.onApplyPreview),elementor.channels.editor.off("page_settings:preview_settings:activated",this.onSectionPreviewSettingsActive))}saveAndReload(){$e.run("document/save/auto",{force:!0,onSuccess:()=>{elementor.dynamicTags.cleanCache();elementor.config.initial_document.id===elementor.documents.getCurrentId()?elementor.reloadPreview():$e.internal("editor/documents/attach-preview")}})}onApplyPreview(){this.saveAndReload()}onSectionPreviewSettingsActive(){this.updatePreviewIdOptions(!0)}updatePreviewIdOptions=e=>{let t=elementor.settings.page.model.get("preview_type");if(!t)return;t=t.split("/");const o=elementor.getPanelView().getCurrentPageView(),r=o.collection.findWhere({name:"preview_id"}),n=t[0],i=t[1];if("author"===t[1]?r.set({autocomplete:{object:"author"}}):this.isTemplateTypeTaxonomyLoop(n)?r.set({autocomplete:{object:"tax",query:{taxonomy:i}}}):"single"===n?r.set({autocomplete:{object:"post",query:{post_type:i}}}):r.set({autocomplete:{object:""}}),!0===e){const e=o.children.findByModel(r);e.render(),e.$el.toggle(!!r.get("autocomplete").object)}};isTemplateTypeTaxonomyLoop(e){return["post_taxonomy","product_taxonomy"].includes(e)}async openSiteIdentity(){await $e.run("panel/global/open"),$e.route("panel/global/settings-site-identity")}}t.default=ThemeBuilderModule},4363:(e,t,o)=>{"use strict";var r=o(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(o(8053)),i=r(o(765)),a=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(4325));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class Component extends $e.modules.ComponentModalBase{getNamespace(){return"theme-builder-publish"}getModalLayout(){return i.default}defaultCommands(){return{next:()=>{const e=Object.keys(this.tabs)[this.currentTabIndex+1];e&&$e.route(this.getTabRoute(e))},save:()=>{$e.run("document/save/default",{force:!0}),this.layout.hideModal()},"preview-settings":()=>{const e=elementor.getPanelView();$e.route("panel/page-settings/settings"),e.getCurrentPageView().activateSection("preview_settings")._renderChildren()}}}defaultHooks(){return this.importHooks(a)}getTabsWrapperSelector(){return"#elementor-publish__tabs"}renderTab(e){const t=this.getTabs(),o=Object.keys(t),r=t[e];this.currentTabIndex=o.indexOf(e);const n=!o[this.currentTabIndex+1];this.layout.modalContent.currentView.screen.show(new r.View(r.viewOptions)),this.layout.modal.getElements("next").toggle(!n),this.layout.modal.getElements("publish").toggleClass("e-primary",n)}activateTab(e){$e.routes.saveState(this.getNamespace()),super.activateTab(e)}open(){return super.open(),this.layoutContent||(this.layout.showLogo(),this.layout.modalContent.show(new n.default({component:this})),this.layoutContent=!0),!0}}t.default=Component},8053:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends Marionette.LayoutView{id(){return"elementor-publish"}getTemplate(){return Marionette.TemplateCache.get("#tmpl-elementor-component-publish")}regions(){return{screen:"#elementor-publish__screen"}}templateHelpers(){return{tabs:this.getOption("component").getTabs()}}}t.default=_default},765:(e,t,o)=>{"use strict";var r=o(8003).__;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.common.views.modal.Layout{getModalOptions(){return{id:"elementor-publish__modal",hide:{onButtonClick:!1}}}getLogoOptions(){return{title:r("Publish Settings","elementor-pro")}}initModal(){super.initModal(),this.modal.addButton({name:"publish",text:r("Save & Close","elementor-pro"),callback:()=>$e.run("theme-builder-publish/save")}),this.modal.getElements("publish").addClass("e-btn-txt"),this.modal.addButton({name:"next",text:r("Next","elementor-pro"),callback:()=>$e.run("theme-builder-publish/next")});const e=this.modal.getElements("publish");this.modal.getElements("next").addClass("e-primary").add(e).addClass("elementor-button").removeClass("dialog-button")}}t.default=_default},5809:e=>{"use strict";e.exports=function(){var e=this;e.onPanelShow=function(e,t){var o=t.get("settings");o.controls._skin.default||o.set("_skin","theme_comments")},e.init=function(){elementor.hooks.addAction("panel/open_editor/widget/post-comments",e.onPanelShow)},e.init()}},7467:(e,t,o)=>{"use strict";e.exports=elementorModules.editor.utils.Module.extend({onElementorPreviewLoaded(){var e=o(5809);this.commentsSkin=new e}})},5319:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(8218));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class VideoPlaylistComponent extends $e.modules.ComponentBase{getNamespace(){return"video-playlist"}defaultHooks(){return this.importHooks(r)}}t.default=VideoPlaylistComponent},1803:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ActiveTab=void 0;class ActiveTab extends $e.modules.hookData.After{getCommand(){return"document/elements/settings"}getId(){return"active-tab--document/elements/settings"}getContainerType(){return"repeater"}getConditions(e){return e.settings.inner_tab_content_1||e.settings.inner_tab_content_2}apply(e){e.settings.inner_tab_content_1?e.container.view.model.get("editSettings").set("innerActiveIndex",0):e.settings.inner_tab_content_2&&e.container.view.model.get("editSettings").set("innerActiveIndex",1)}}t.ActiveTab=ActiveTab;t.default=ActiveTab},8218:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ActiveTab",{enumerable:!0,get:function(){return r.ActiveTab}});var r=o(1803)},5078:(e,t,o)=>{"use strict";var r=o(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(o(5319));class Module extends elementorModules.editor.utils.Module{onInit(){super.onInit(),$e.components.register(new n.default)}onElementorLoaded(){elementor.channels.editor.on("elementorPlaylistWidget:setVideoData",(e=>{$e.run("document/elements/settings",{container:e.container,settings:{thumbnail:{url:e.currentItem.thumbnail?e.currentItem.thumbnail.url:""},title:e.currentItem.video_title?e.currentItem.video_title:"",duration:e.currentItem.duration?e.currentItem.duration:""},options:{external:!0}})}))}}t.default=Module},2933:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_getRequireWildcardCache(t);if(o&&o.has(e))return o.get(e);var r={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(8960));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function(e){return e?o:t})(e)}class Component extends $e.modules.ComponentBase{getNamespace(){return"woocommerce"}defaultHooks(){return this.importHooks(r)}}t.default=Component},1499:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoocommerceCreateWidgetActivateSettingsModal=void 0;class WoocommerceCreateWidgetActivateSettingsModal extends $e.modules.hookData.After{getCommand(){return"document/elements/create"}getId(){return"elementor-pro-woocommerce-create-widget-activate-settings-modal"}getContainerType(){return"column"}getConditions(e,t){return Object.prototype.hasOwnProperty.call(elementorPro.modules.woocommerce.pageSettingsWidgets,t.model.get("widgetType"))}apply(e,t){elementorPro.modules.woocommerce.onCreateWidget(t)}}t.WoocommerceCreateWidgetActivateSettingsModal=WoocommerceCreateWidgetActivateSettingsModal},5561:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoocommerceDeleteWidgetDeactivateSettingsModal=void 0;class WoocommerceDeleteWidgetDeactivateSettingsModal extends $e.modules.hookData.After{getCommand(){return"document/elements/delete"}getId(){return"elementor-pro-woocommerce-delete-widget-deactivate-settings-modal"}getContainerType(){return"widget"}getConditions(e,t){return Object.prototype.hasOwnProperty.call(elementorPro.modules.woocommerce.pageSettingsWidgets,t.model.get("widgetType"))}apply(e,t){elementorPro.modules.woocommerce.onDeleteWidget(t)}}t.WoocommerceDeleteWidgetDeactivateSettingsModal=WoocommerceDeleteWidgetDeactivateSettingsModal},679:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"WoocommerceCreateWidgetActivateSettingsModal",{enumerable:!0,get:function(){return n.WoocommerceCreateWidgetActivateSettingsModal}}),Object.defineProperty(t,"WoocommerceDeleteWidgetDeactivateSettingsModal",{enumerable:!0,get:function(){return i.WoocommerceDeleteWidgetDeactivateSettingsModal}}),Object.defineProperty(t,"WoocommerceNotices",{enumerable:!0,get:function(){return a.WoocommerceNotices}}),Object.defineProperty(t,"WoocommerceSaveShowModal",{enumerable:!0,get:function(){return r.WoocommerceSaveShowModal}});var r=o(8318),n=o(1499),i=o(5561),a=o(6103)},6103:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoocommerceNotices=void 0;class WoocommerceNotices extends $e.modules.hookData.After{getCommand(){return"document/elements/settings"}getId(){return"woocommerce-notices"}getConditions(e){return"kit"===elementor.documents.getCurrent().config.type&&Array.isArray(e.settings.woocommerce_notices_elements)}apply(e){const{woocommerce:t}=elementorPro.modules;t.renderMockNotices(e.settings.woocommerce_notices_elements)}}t.WoocommerceNotices=WoocommerceNotices},8318:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WoocommerceSaveShowModal=void 0;class WoocommerceSaveShowModal extends $e.modules.hookData.After{getCommand(){return"document/save/save"}getId(){return"elementor-pro-woocommerce-save-show-modal"}getConditions(e){return e.status&&-1!==["private","publish"].indexOf(e.status)}apply(){elementorPro.modules.woocommerce.onUpdateDocument()}}t.WoocommerceSaveShowModal=WoocommerceSaveShowModal},8960:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(679);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}))},2778:(e,t,o)=>{"use strict";var r=o(8003).__,n=o(3203);o(3517);var i=n(o(2933));class WoocommerceModule extends elementorModules.editor.utils.Module{constructor(...e){super(...e),this.pageSettingsWidgets={"woocommerce-checkout-page":{headerMessage:r("Want to save this as your checkout page?","elementor-pro"),message:r("Changes you make here will override your existing WooCommerce settings.","elementor-pro"),confirmMessage:r("You've updated your checkout page.","elementor-pro"),cancelMessage:r("<h3>Set up a checkout page</h3><br>Without a checkout page, visitors can't complete transactions on your site. To set one up, go to Site Settings.","elementor-pro"),failedMessage:r("<h3>Sorry, something went wrong.</h3><br>To define a checkout page for your site, head over to Site Settings.","elementor-pro"),optionName:"woocommerce_checkout_page_id",woocommercePageName:"checkout"},"woocommerce-cart":{headerMessage:r("Want to save this as your cart page?","elementor-pro"),message:r("Changes you make here will override your existing WooCommerce settings.","elementor-pro"),confirmMessage:r("You've updated your cart page.","elementor-pro"),cancelMessage:r("<h3>Set up a cart page</h3><br>The cart page shows an order summary. To set one up, go to Site Settings.","elementor-pro"),failedMessage:r("<h3>Sorry, something went wrong.</h3><br>To define a cart page for your site, head over to Site Settings.","elementor-pro"),optionName:"woocommerce_cart_page_id",woocommercePageName:"cart"},"woocommerce-my-account":{headerMessage:r("Want to save this as your my account page?","elementor-pro"),message:r("Changes you make here will override your existing WooCommerce settings.","elementor-pro"),confirmMessage:r("You've updated your my account page.","elementor-pro"),cancelMessage:r("<h3>Set up a My Account page</h3><br>Without it, customers can't update their billing details, review past orders, etc. To set up My Account, go to Site Settings.","elementor-pro"),failedMessage:r("<h3>Sorry, something went wrong.</h3><br>To define a my account page for your site, head over to Site Settings.","elementor-pro"),optionName:"woocommerce_myaccount_page_id",woocommercePageName:"myaccount"},"woocommerce-purchase-summary":{headerMessage:r("Want to save this as your purchase summary page?","elementor-pro"),message:r("Changes you make here will override your WooCommerce default purchase summary page.","elementor-pro"),confirmMessage:r("You've updated your summary page.","elementor-pro"),cancelMessage:r("<h3>Set up a purchase summary page</h3><br>This page shows payment and order details. To set one up, go to Site Settings.","elementor-pro"),failedMessage:r("<h3>Sorry, something went wrong.</h3><br>To define a purchase summary page for your site, head over to Site Settings.","elementor-pro"),optionName:"elementor_woocommerce_purchase_summary_page_id",woocommercePageName:"summary"}},this.createdPageSettingsWidgets=[]}addWooCommerceClassToLoopWrapper(e){e.$element.addClass("woocommerce")}onElementorInit(){elementor.hooks.addAction("editor/widgets/loop-grid/on-init",this.addWooCommerceClassToLoopWrapper)}onElementorFrontendInit(){elementorFrontend.elements.$body.on("added_to_cart",((e,t)=>{if(this.didManuallyTriggerAddToCartEvent(t))return!1})),"loop-item"===elementor.documents.currentDocument.config.type&&"product"===elementor.documents.currentDocument.config.settings.settings.source&&elementor.on("document:loaded",(()=>{elementor.$previewContents[0].querySelector(".e-loop-item").classList.add("woocommerce")}))}didManuallyTriggerAddToCartEvent(e=null){return e?.e_manually_triggered}onElementorLoaded(){this.component=$e.components.register(new i.default({manager:this}));const e=["section_woocommerce_notices","woocommerce_message_notices","woocommerce_info_notices","woocommerce_error_notices"];for(const t of e)elementor.channels.editor.on("kit_settings:"+t+":activated",(()=>{this.renderMockNotices(elementor.documents.getCurrent().container.settings.get("woocommerce_notices_elements"))}));elementor.channels.editor.on("editor:widget:woocommerce-cart:section_additional_options:activated",(()=>{this.onTemplateIdChange("additional_template_select")})),elementor.channels.editor.on("editor:widget:woocommerce-my-account:section_additional_options:activated",(()=>{this.onTemplateIdChange("customize_dashboard_select")}))}renderMockNotices(e){const t=elementor.$previewContents.find(".woocommerce-notices-wrapper");if(e.length<=0)return void t.remove();let o="";for(const t of e){o+="e-"+t.replace("_","-")+"-notice "}elementorFrontend.elements.$body.addClass(o.trim()),t.addClass("elementor-loading"),jQuery(".elementor-select2").attr("disabled","disabled"),elementorPro.ajax.addRequest("woocommerce_mock_notices",{data:{notice_elements:e},success(e){t.remove(),elementor.$previewContents.find(".elementor-editor-preview").prepend(e),t.removeClass("elementor-loading"),jQuery(".elementor-select2").removeAttr("disabled")}})}onTemplateIdChange(e){const t=elementor.getPanelView().getCurrentPageView(),o=t.getOption("editedElementView").getEditModel().get("settings").get(e),r=t.$el.find(".elementor-edit-template");if(o){const e=ElementorConfig.home_url+"?p="+o+"&elementor";r.prop("href",e).removeClass("e-control-tool-disabled").show()}else r.addClass("e-control-tool-disabled").hide()}onCreateWidget(e){const t=e.model.get("widgetType");void 0===this.createdPageSettingsWidgets[t]&&(this.createdPageSettingsWidgets[t]=0),this.createdPageSettingsWidgets[t]++}onDeleteWidget(e){const t=e.model.get("widgetType");this.createdPageSettingsWidgets[t]--,this.createdPageSettingsWidgets[t]||delete this.createdPageSettingsWidgets[t]}onUpdateDocument(){elementorFrontend.elements.$body.trigger("added_to_cart",[{e_manually_triggered:!0}]);const e=Object.keys(this.createdPageSettingsWidgets),t=e[e.length-1],o=elementor.documents.getCurrent().id;if(1!==e.length)return;const n=this.pageSettingsWidgets[t];o!==elementorPro.config.woocommerce.woocommercePages[n.woocommercePageName]&&(elementorCommon.dialogsManager.createWidget("confirm",{id:"elementor-woocommerce-save-pages",className:"e-global__confirm-add",headerMessage:n.headerMessage,message:n.message,position:{my:"center center",at:"center center"},strings:{confirm:r("Save","elementor-pro"),cancel:r("No thanks","elementor-pro")},onConfirm:()=>this.onConfirmModal(n),onCancel:()=>this.onCancelModal(n)}).show(),this.createdPageSettingsWidgets=[])}onConfirmModal(e){elementorPro.ajax.addRequest("woocommerce_update_page_option",{data:{option_name:e.optionName},success:()=>{elementor.notifications.showToast({message:e.confirmMessage})},error:()=>this.showPagesSettingsToast(e.failedMessage)})}onCancelModal(e){this.showPagesSettingsToast(e.cancelMessage)}showPagesSettingsToast(e){const t=[];elementor.notifications.initToast(),t.push({name:"take_me_there",text:r("Take me there","elementor"),callback:()=>this.openSiteSettingsTab("settings-woocommerce")}),elementor.notifications.showToast({message:e,buttons:t})}openSiteSettingsTab(e="",t=""){elementorCommon.elements.$body.hasClass("elementor-editor-preview")&&elementor.exitPreviewMode();"panel/global/menu"===elementor.documents.currentDocument.config.panel.default_route?$e.run("panel/global/close"):$e.run("editor/documents/switch",{id:elementor.config.kit_id,mode:"autosave"}).then((()=>{e&&$e.route("panel/global/"+e)})).then((()=>{if(t){const e=jQuery(".elementor-control-"+t);e.length&&e.trigger("click")}}))}}e.exports=WoocommerceModule},7363:e=>{"use strict";e.exports=React},8003:e=>{"use strict";e.exports=wp.i18n},3203:e=>{e.exports=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},1575:(e,t,o)=>{"use strict";var r=o(5893),n=o(5545),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(n(e)+" is not a function")}},9972:(e,t,o)=>{"use strict";var r=o(5287),n=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(n(e)+" is not an object")}},2971:(e,t,o)=>{"use strict";var r=o(9405),n=o(9961),i=o(9969),createMethod=function(e){return function(t,o,a){var s,l=r(t),d=i(l),u=n(a,d);if(e&&o!=o){for(;d>u;)if((s=l[u++])!=s)return!0}else for(;d>u;u++)if((e||u in l)&&l[u]===o)return e||u||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},8576:(e,t,o)=>{"use strict";var r=o(3877),n=o(5289),i=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(n(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},3048:(e,t,o)=>{"use strict";var r=o(6406),n=r({}.toString),i=r("".slice);e.exports=function(e){return i(n(e),8,-1)}},779:(e,t,o)=>{"use strict";var r=o(4130),n=o(6627),i=o(10),a=o(7144);e.exports=function(e,t,o){for(var s=n(t),l=a.f,d=i.f,u=0;u<s.length;u++){var c=s[u];r(e,c)||o&&r(o,c)||l(e,c,d(t,c))}}},9251:(e,t,o)=>{"use strict";var r=o(3877),n=o(7144),i=o(9637);e.exports=r?function(e,t,o){return n.f(e,t,i(1,o))}:function(e,t,o){return e[t]=o,e}},9637:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7205:(e,t,o)=>{"use strict";var r=o(5893),n=o(7144),i=o(3911),a=o(3630);e.exports=function(e,t,o,s){s||(s={});var l=s.enumerable,d=void 0!==s.name?s.name:t;if(r(o)&&i(o,d,s),s.global)l?e[t]=o:a(t,o);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=o:n.f(e,t,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},3630:(e,t,o)=>{"use strict";var r=o(7802),n=Object.defineProperty;e.exports=function(e,t){try{n(r,e,{value:t,configurable:!0,writable:!0})}catch(o){r[e]=t}return t}},3877:(e,t,o)=>{"use strict";var r=o(5306);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},811:e=>{"use strict";var t="object"==typeof document&&document.all,o=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:o}},9800:(e,t,o)=>{"use strict";var r=o(7802),n=o(5287),i=r.document,a=n(i)&&n(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},9060:e=>{"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},2626:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7245:(e,t,o)=>{"use strict";var r,n,i=o(7802),a=o(2626),s=i.process,l=i.Deno,d=s&&s.versions||l&&l.version,u=d&&d.v8;u&&(n=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(n=+r[1]),e.exports=n},4286:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2390:(e,t,o)=>{"use strict";var r=o(7802),n=o(10).f,i=o(9251),a=o(7205),s=o(3630),l=o(779),d=o(5031);e.exports=function(e,t){var o,u,c,p,m,g=e.target,f=e.global,_=e.stat;if(o=f?r:_?r[g]||s(g,{}):(r[g]||{}).prototype)for(u in t){if(p=t[u],c=e.dontCallGetSet?(m=n(o,u))&&m.value:o[u],!d(f?u:g+(_?".":"#")+u,e.forced)&&void 0!==c){if(typeof p==typeof c)continue;l(p,c)}(e.sham||c&&c.sham)&&i(p,"sham",!0),a(o,u,p,e)}}},5306:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},7219:(e,t,o)=>{"use strict";var r=o(5306);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},1550:(e,t,o)=>{"use strict";var r=o(7219),n=Function.prototype.call;e.exports=r?n.bind(n):function(){return n.apply(n,arguments)}},9656:(e,t,o)=>{"use strict";var r=o(3877),n=o(4130),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=n(i,"name"),l=s&&"something"===function something(){}.name,d=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:d}},6406:(e,t,o)=>{"use strict";var r=o(7219),n=Function.prototype,i=n.call,a=r&&n.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},1570:(e,t,o)=>{"use strict";var r=o(7802),n=o(5893);e.exports=function(e,t){return arguments.length<2?(o=r[e],n(o)?o:void 0):r[e]&&r[e][t];var o}},6628:(e,t,o)=>{"use strict";var r=o(1575),n=o(7707);e.exports=function(e,t){var o=e[t];return n(o)?void 0:r(o)}},7802:function(e,t,o){"use strict";var check=function(e){return e&&e.Math===Math&&e};e.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof o.g&&o.g)||function(){return this}()||this||Function("return this")()},4130:(e,t,o)=>{"use strict";var r=o(6406),n=o(5864),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return i(n(e),t)}},3421:e=>{"use strict";e.exports={}},3075:(e,t,o)=>{"use strict";var r=o(3877),n=o(5306),i=o(9800);e.exports=!r&&!n((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},5366:(e,t,o)=>{"use strict";var r=o(6406),n=o(5306),i=o(3048),a=Object,s=r("".split);e.exports=n((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?s(e,""):a(e)}:a},5088:(e,t,o)=>{"use strict";var r=o(6406),n=o(5893),i=o(4830),a=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},9930:(e,t,o)=>{"use strict";var r,n,i,a=o(5585),s=o(7802),l=o(5287),d=o(9251),u=o(4130),c=o(4830),p=o(139),m=o(3421),g="Object already initialized",f=s.TypeError,_=s.WeakMap;if(a||c.state){var h=c.state||(c.state=new _);h.get=h.get,h.has=h.has,h.set=h.set,r=function(e,t){if(h.has(e))throw new f(g);return t.facade=e,h.set(e,t),t},n=function(e){return h.get(e)||{}},i=function(e){return h.has(e)}}else{var b=p("state");m[b]=!0,r=function(e,t){if(u(e,b))throw new f(g);return t.facade=e,d(e,b,t),t},n=function(e){return u(e,b)?e[b]:{}},i=function(e){return u(e,b)}}e.exports={set:r,get:n,has:i,enforce:function(e){return i(e)?n(e):r(e,{})},getterFor:function(e){return function(t){var o;if(!l(t)||(o=n(t)).type!==e)throw new f("Incompatible receiver, "+e+" required");return o}}}},5289:(e,t,o)=>{"use strict";var r=o(3048);e.exports=Array.isArray||function isArray(e){return"Array"===r(e)}},5893:(e,t,o)=>{"use strict";var r=o(811),n=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}},5031:(e,t,o)=>{"use strict";var r=o(5306),n=o(5893),i=/#|\.prototype\./,isForced=function(e,t){var o=s[a(e)];return o===d||o!==l&&(n(t)?r(t):!!t)},a=isForced.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=isForced.data={},l=isForced.NATIVE="N",d=isForced.POLYFILL="P";e.exports=isForced},7707:e=>{"use strict";e.exports=function(e){return null==e}},5287:(e,t,o)=>{"use strict";var r=o(5893),n=o(811),i=n.all;e.exports=n.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},99:e=>{"use strict";e.exports=!1},103:(e,t,o)=>{"use strict";var r=o(1570),n=o(5893),i=o(2075),a=o(345),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return n(t)&&i(t.prototype,s(e))}},9969:(e,t,o)=>{"use strict";var r=o(9099);e.exports=function(e){return r(e.length)}},3911:(e,t,o)=>{"use strict";var r=o(6406),n=o(5306),i=o(5893),a=o(4130),s=o(3877),l=o(9656).CONFIGURABLE,d=o(5088),u=o(9930),c=u.enforce,p=u.get,m=String,g=Object.defineProperty,f=r("".slice),_=r("".replace),h=r([].join),b=s&&!n((function(){return 8!==g((function(){}),"length",{value:8}).length})),v=String(String).split("String"),y=e.exports=function(e,t,o){"Symbol("===f(m(t),0,7)&&(t="["+_(m(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),o&&o.getter&&(t="get "+t),o&&o.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?g(e,"name",{value:t,configurable:!0}):e.name=t),b&&o&&a(o,"arity")&&e.length!==o.arity&&g(e,"length",{value:o.arity});try{o&&a(o,"constructor")&&o.constructor?s&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=c(e);return a(r,"source")||(r.source=h(v,"string"==typeof t?t:"")),e};Function.prototype.toString=y((function toString(){return i(this)&&p(this).source||d(this)}),"toString")},1402:e=>{"use strict";var t=Math.ceil,o=Math.floor;e.exports=Math.trunc||function trunc(e){var r=+e;return(r>0?o:t)(r)}},7144:(e,t,o)=>{"use strict";var r=o(3877),n=o(3075),i=o(7475),a=o(9972),s=o(3662),l=TypeError,d=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c="enumerable",p="configurable",m="writable";t.f=r?i?function defineProperty(e,t,o){if(a(e),t=s(t),a(o),"function"==typeof e&&"prototype"===t&&"value"in o&&m in o&&!o[m]){var r=u(e,t);r&&r[m]&&(e[t]=o.value,o={configurable:p in o?o[p]:r[p],enumerable:c in o?o[c]:r[c],writable:!1})}return d(e,t,o)}:d:function defineProperty(e,t,o){if(a(e),t=s(t),a(o),n)try{return d(e,t,o)}catch(e){}if("get"in o||"set"in o)throw new l("Accessors not supported");return"value"in o&&(e[t]=o.value),e}},10:(e,t,o)=>{"use strict";var r=o(3877),n=o(1550),i=o(1940),a=o(9637),s=o(9405),l=o(3662),d=o(4130),u=o(3075),c=Object.getOwnPropertyDescriptor;t.f=r?c:function getOwnPropertyDescriptor(e,t){if(e=s(e),t=l(t),u)try{return c(e,t)}catch(e){}if(d(e,t))return a(!n(i.f,e,t),e[t])}},7397:(e,t,o)=>{"use strict";var r=o(5079),n=o(4286).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return r(e,n)}},6855:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},2075:(e,t,o)=>{"use strict";var r=o(6406);e.exports=r({}.isPrototypeOf)},5079:(e,t,o)=>{"use strict";var r=o(6406),n=o(4130),i=o(9405),a=o(2971).indexOf,s=o(3421),l=r([].push);e.exports=function(e,t){var o,r=i(e),d=0,u=[];for(o in r)!n(s,o)&&n(r,o)&&l(u,o);for(;t.length>d;)n(r,o=t[d++])&&(~a(u,o)||l(u,o));return u}},1940:(e,t)=>{"use strict";var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!o.call({1:2},1);t.f=n?function propertyIsEnumerable(e){var t=r(this,e);return!!t&&t.enumerable}:o},1253:(e,t,o)=>{"use strict";var r=o(1550),n=o(5893),i=o(5287),a=TypeError;e.exports=function(e,t){var o,s;if("string"===t&&n(o=e.toString)&&!i(s=r(o,e)))return s;if(n(o=e.valueOf)&&!i(s=r(o,e)))return s;if("string"!==t&&n(o=e.toString)&&!i(s=r(o,e)))return s;throw new a("Can't convert object to primitive value")}},6627:(e,t,o)=>{"use strict";var r=o(1570),n=o(6406),i=o(7397),a=o(6855),s=o(9972),l=n([].concat);e.exports=r("Reflect","ownKeys")||function ownKeys(e){var t=i.f(s(e)),o=a.f;return o?l(t,o(e)):t}},6762:(e,t,o)=>{"use strict";var r=o(7707),n=TypeError;e.exports=function(e){if(r(e))throw new n("Can't call method on "+e);return e}},139:(e,t,o)=>{"use strict";var r=o(9231),n=o(6350),i=r("keys");e.exports=function(e){return i[e]||(i[e]=n(e))}},4830:(e,t,o)=>{"use strict";var r=o(7802),n=o(3630),i="__core-js_shared__",a=r[i]||n(i,{});e.exports=a},9231:(e,t,o)=>{"use strict";var r=o(99),n=o(4830);(e.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE",source:"https://github.com/zloirock/core-js"})},4053:(e,t,o)=>{"use strict";var r=o(7245),n=o(5306),i=o(7802).String;e.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},9961:(e,t,o)=>{"use strict";var r=o(5930),n=Math.max,i=Math.min;e.exports=function(e,t){var o=r(e);return o<0?n(o+t,0):i(o,t)}},9405:(e,t,o)=>{"use strict";var r=o(5366),n=o(6762);e.exports=function(e){return r(n(e))}},5930:(e,t,o)=>{"use strict";var r=o(1402);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},9099:(e,t,o)=>{"use strict";var r=o(5930),n=Math.min;e.exports=function(e){return e>0?n(r(e),9007199254740991):0}},5864:(e,t,o)=>{"use strict";var r=o(6762),n=Object;e.exports=function(e){return n(r(e))}},6090:(e,t,o)=>{"use strict";var r=o(1550),n=o(5287),i=o(103),a=o(6628),s=o(1253),l=o(7936),d=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!n(e)||i(e))return e;var o,l=a(e,u);if(l){if(void 0===t&&(t="default"),o=r(l,e,t),!n(o)||i(o))return o;throw new d("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},3662:(e,t,o)=>{"use strict";var r=o(6090),n=o(103);e.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}},5545:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},6350:(e,t,o)=>{"use strict";var r=o(6406),n=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++n+i,36)}},345:(e,t,o)=>{"use strict";var r=o(4053);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7475:(e,t,o)=>{"use strict";var r=o(3877),n=o(5306);e.exports=r&&n((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5585:(e,t,o)=>{"use strict";var r=o(7802),n=o(5893),i=r.WeakMap;e.exports=n(i)&&/native code/.test(String(i))},7936:(e,t,o)=>{"use strict";var r=o(7802),n=o(9231),i=o(4130),a=o(6350),s=o(4053),l=o(345),d=r.Symbol,u=n("wks"),c=l?d.for||d:d&&d.withoutSetter||a;e.exports=function(e){return i(u,e)||(u[e]=s&&i(d,e)?d[e]:c("Symbol."+e)),u[e]}},3517:(e,t,o)=>{"use strict";var r=o(2390),n=o(5864),i=o(9969),a=o(8576),s=o(9060);r({target:"Array",proto:!0,arity:1,forced:o(5306)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function push(e){var t=n(this),o=i(t),r=arguments.length;s(o+r);for(var l=0;l<r;l++)t[o]=arguments[l],o++;return a(t,o),o}})}},r={};function __webpack_require__(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return o[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.m=o,__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((t,o)=>(__webpack_require__.f[o](e,t),t)),[])),__webpack_require__.u=e=>733===e?"mega-menu-editor.319a739ef1260a2b2da1.bundle.min.js":35===e?"nested-carousel-editor.6337dab68af203be7c04.bundle.min.js":253===e?"loop-filter-editor.21982d6e76a4fba12cd5.bundle.min.js":982===e?"off-canvas-editor.f188d072365885d9b0dd.bundle.min.js":315===e?"1b816ba777b14157325b.bundle.min.js":void 0,__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="elementor-pro:",__webpack_require__.l=(o,r,n,i)=>{if(e[o])e[o].push(r);else{var a,s;if(void 0!==n)for(var l=document.getElementsByTagName("script"),d=0;d<l.length;d++){var u=l[d];if(u.getAttribute("src")==o||u.getAttribute("data-webpack")==t+n){a=u;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,__webpack_require__.nc&&a.setAttribute("nonce",__webpack_require__.nc),a.setAttribute("data-webpack",t+n),a.src=o),e[o]=[r];var onScriptComplete=(t,r)=>{a.onerror=a.onload=null,clearTimeout(c);var n=e[o];if(delete e[o],a.parentNode&&a.parentNode.removeChild(a),n&&n.forEach((e=>e(r))),t)return t(r)},c=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=onScriptComplete.bind(null,a.onerror),a.onload=onScriptComplete.bind(null,a.onload),s&&document.head.appendChild(a)}},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");if(o.length)for(var r=o.length-1;r>-1&&!e;)e=o[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={50:0};__webpack_require__.f.j=(t,o)=>{var r=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{var n=new Promise(((o,n)=>r=e[t]=[o,n]));o.push(r[2]=n);var i=__webpack_require__.p+__webpack_require__.u(t),a=new Error;__webpack_require__.l(i,(o=>{if(__webpack_require__.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var n=o&&("load"===o.type?"missing":o.type),i=o&&o.target&&o.target.src;a.message="Loading chunk "+t+" failed.\n("+n+": "+i+")",a.name="ChunkLoadError",a.type=n,a.request=i,r[1](a)}}),"chunk-"+t,t)}};var webpackJsonpCallback=(t,o)=>{var r,n,[i,a,s]=o,l=0;if(i.some((t=>0!==e[t]))){for(r in a)__webpack_require__.o(a,r)&&(__webpack_require__.m[r]=a[r]);if(s)s(__webpack_require__)}for(t&&t(o);l<i.length;l++)n=i[l],__webpack_require__.o(e,n)&&e[n]&&e[n][0](),e[n]=0},t=self.webpackChunkelementor_pro=self.webpackChunkelementor_pro||[];t.forEach(webpackJsonpCallback.bind(null,0)),t.push=webpackJsonpCallback.bind(null,t.push.bind(t))})(),(()=>{"use strict";var e=__webpack_require__(8003).__,t=__webpack_require__(3203),o=t(__webpack_require__(9206)),r=t(__webpack_require__(8756)),n=t(__webpack_require__(3928)),i=t(__webpack_require__(2044)),a=t(__webpack_require__(4291)),s=t(__webpack_require__(7635)),l=t(__webpack_require__(4184)),d=t(__webpack_require__(3118)),u=t(__webpack_require__(5078)),c=t(__webpack_require__(2778)),p=t(__webpack_require__(7921)),m=t(__webpack_require__(5107)),g=t(__webpack_require__(9429)),f=__webpack_require__(945),_=t(__webpack_require__(4644)),h=t(__webpack_require__(2897)),b=Marionette.Application.extend({config:{},modules:{},initModules(){var e=__webpack_require__(3569),t=__webpack_require__(5961),f=__webpack_require__(5795),_=__webpack_require__(8483),b=__webpack_require__(716),v=__webpack_require__(7467);this.modules={queryControl:new e,forms:new s.default,library:new t,customCSS:new o.default,globalWidget:new i.default,flipBox:new f,motionFX:new r.default,shareButtons:new _,assetsManager:new b,themeElements:new v,themeBuilder:new a.default,siteEditor:new d.default,screenshots:new l.default,woocommerce:new c.default,stripe:new m.default,loopBuilder:new g.default,pageTransitions:new h.default,popup:new n.default,videoPlaylistModule:new u.default,ScrollSnapModule:new p.default},elementorCommon.config.experimentalFeatures["mega-menu"]&&elementorCommon.elements.$window.on("elementor/nested-element-type-loaded",(async()=>{this.modules.megaMenu=new((await __webpack_require__.e(733).then(__webpack_require__.bind(__webpack_require__,2133))).default)})),elementorCommon.config.experimentalFeatures["nested-elements"]&&elementorCommon.elements.$window.on("elementor/nested-element-type-loaded",(async()=>{this.modules.nestedCarousel=new((await __webpack_require__.e(35).then(__webpack_require__.bind(__webpack_require__,5679))).default)})),elementorCommon.config.experimentalFeatures["taxonomy-filter"]&&__webpack_require__.e(253).then(__webpack_require__.bind(__webpack_require__,9999)).then((({default:e})=>{this.modules.loopFilter=new e})),elementorCommon.config.experimentalFeatures["nested-elements"]&&elementorCommon.elements.$window.on("elementor/nested-element-type-loaded",(async()=>{this.modules.offCanvas=new((await __webpack_require__.e(982).then(__webpack_require__.bind(__webpack_require__,3160))).default)}))},ajax:{prepareArgs:e=>(e[0]="pro_"+e[0],e),send(){return elementorCommon.ajax.send.apply(elementorCommon.ajax,this.prepareArgs(arguments))},addRequest(){return elementorCommon.ajax.addRequest.apply(elementorCommon.ajax,this.prepareArgs(arguments))}},translate(e,t){return elementorCommon.translate(e,null,t,this.config.i18n)},onStart(){this.config=elementorProEditorConfig,this.initModules(),jQuery(window).on("elementor:init",(()=>this.onElementorInit())).on("elementor/connect/success/editor-pro-activate",this.onActivateSuccess)},onElementorInit(){elementor.on("preview:loaded",(()=>this.onElementorPreviewLoaded())),elementorPro.libraryRemoveGetProButtons(),elementorCommon.debug.addURLToWatch("elementor-pro/assets"),elementorPro.config.should_show_promotion&&new _.default},onElementorPreviewLoaded(){elementor.$preview[0].contentWindow.elementorPro=this},libraryRemoveGetProButtons(){elementor.hooks.addFilter("elementor/editor/template-library/template/action-button",((e,t)=>{if(!t.accessTier||!elementor.config?.library_connect?.current_access_tier)return this.getProButtonViewIdBC(e,t);if(t.accessTier!==elementor.config.library_connect.base_access_tier&&!elementorPro.config.isActive)return"#tmpl-elementor-pro-template-library-activate-license-button";return(0,f.isTierAtLeast)(elementor.config.library_connect.current_access_tier,t.accessTier)?"#tmpl-elementor-template-library-insert-button":e}))},getProButtonViewIdBC:(e,t)=>t.accessLevel>0&&!elementorPro.config.isActive?"#tmpl-elementor-pro-template-library-activate-license-button":t.accessLevel>elementor.config.library_connect.current_access_level?e:"#tmpl-elementor-template-library-insert-button",onActivateSuccess(){elementor.noticeBar.onCloseClick(),elementor.config.library_connect.is_connected=!0,elementorPro.config.isActive=!0,elementor.notifications.showToast({message:e("Connected Successfully","elementor")})}});window.elementorPro=new b,elementorPro.start()})()})();