/*! For license information please see bundle.js.LICENSE.txt */ !function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var n,r,a=t[0],i=t[1],l=0,u=[];le.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:window;return"https:"===e.location.protocol}},{key:"getName",value:function(e,t){return"et-".concat(e,"-post-").concat(this.postID,"-").concat(t)}},{key:"set",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:300,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:window;o.wpCookies.set(this.getName(e,t),(0,E.default)(n)?t:n,r,this.path,!1,this.secure(o))}},{key:"get",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;return n.wpCookies.get(this.getName(e,t))}},{key:"remove",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;n.wpCookies.remove(this.getName(e,t),this.path,!1,this.secure(n))}}],n&&ee(t.prototype,n),r&&ee(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),ue=new le;t.cookies=ue;var se=window,de=se.document,ce=null,fe=null;e(window).on("et_fb_init",(function(){se=window.ET_Builder.Frames.app,de=se.document}));var pe={applyMixinsSafely:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r2&&void 0!==arguments[2])||arguments[2];if((0,f.default)(e,"attrs._deleted"))return!0;if(n){var r=(0,f.default)(e,"address","").split(".");if(r.length>1){var o=pe.getModuleAddressSequence(r),a=!1;if((0,s.default)(o,(function(e){var n=(0,u.default)(t,{address:e});(0,f.default)(n,"attrs._deleted")&&(a=!0)})),a)return!0}}return!1},getComponentType:function(e){var t=e.props||e,n=(0,f.default)(t,"type"),r="module";switch(!0){case"et_pb_section"===n:r="section";break;case(0,_.default)(oe,n):r="row";break;case(0,_.default)(ae,n):r="column"}return r},getModuleSectionType:function(e,t){var n=e.props||e,r=(0,h.default)((0,f.default)(n,"address").split(".")),o=(0,u.default)(t,{address:r});return pe.isOn((0,f.default)(o,"attrs.fullwidth"))?"fullwidth":pe.isOn((0,f.default)(o,"attrs.specialty"))?"specialty":"regular"},getModuleAncestor:function(e,t,n){var r,o=t.props||t,a=pe.getModuleSectionType(o,n),i=pe.getModuleAddressSequence((0,f.default)(o,"address",""));return(0,s.default)(i,(function(t){var o=(0,u.default)(n,{address:t}),i=(0,f.default)(o,"type","");if("specialty"===a)0===i.replace("et_pb_","").indexOf(e)&&(r=o);else i.replace("et_pb_","")===e&&(r=o)})),r},is:function(e,t){var n=t.props||t,r=!1;switch(e){case"section":r="section"===It(n);break;case"row":r="row"===It(n);break;case"row-inner":r="et_pb_row_inner"===(0,f.default)(n,"type");break;case"column":r="column"===It(n);break;case"column-inner":r="et_pb_column_inner"===(0,f.default)(n,"type");break;case"module":r="module"===It(n)&&!(0,f.default)(n,"is_module_child");break;case"fullwidth":r=ve((0,f.default)(n,"attrs.fullwidth"));break;case"regular":r="section"===It(n)&&!ve((0,f.default)(n,"attrs.fullwidth"))&&!ve((0,f.default)(n,"attrs.specialty"));break;case"specialty":r=ve((0,f.default)(n,"attrs.specialty"));break;case"disabled":r=ve((0,f.default)(n,"attrs.disabled"));break;case"locked":r=ve((0,f.default)(n,"attrs.locked"));break;case"removed":r="et-fb-removed-component"===(0,f.default)(n,"component_path","");break;default:r=(0,f.default)(n,e)}return r},isOn:z.isOn,isOff:z.isOff,isOnOff:z.isOnOff,isYes:z.isYes,isNo:z.isNo,isDefault:z.isDefault,isMobileDevice:function(){if(null===ce)try{document.createEvent("TouchEvent"),ce=pe.$appWindow().width()<=1024}catch(e){ce=!1}return ce},isFileExtension:z.isFileExtension,isIEOrEdge:function(){return document.documentMode||window.StyleMedia},isIE:function(){return pe.$appWindow("body").hasClass("ie")},isBlockEditor:function(){return(0,p.default)(window,"wp.blocks")},isResponsiveView:function(e){return(0,_.default)(["tablet","phone"],e)},isRealMobileDevice:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},getConditionalDefault:function(e,t,n,r){if(!(0,g.default)(e)||!(0,k.default)((0,f.default)(e,"1")))return e;var o=Q(e,2),a=o[0],i=o[1];r&&(a=G.default.getHoverField(a));var l=n?n.resolve(a):(0,f.default)(t,a);return(0,E.default)(l)&&(l=(0,C.default)(i)[0]),(0,f.default)(i,l)},getValueOrConditionalDefault:function(e,t,n){var r=(0,f.default)(t,e);return(0,E.default)(r)||""===r?pe.getConditionalDefault((0,f.default)(n,e),t):r},condition:function(e){return(0,f.default)(ETBuilderBackend,["conditionalTags",e])},hasNumericValue:z.hasNumericValue,hasValue:z.hasValue,get:z.get,getResponsiveStatus:function(e){var t=(0,S.default)(e)?e.split("|"):["off","desktop"];return!(0,E.default)(t[0])&&pe.isOn(t[0])},getResponsiveLastMode:function(e){var t=(0,S.default)(e)?e.split("|"):["off","desktop"];return(0,f.default)(t,[1],"desktop")},parseShortcode:function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=this,i=document.documentMode,l="et-fb-preview-".concat((0,A.default)(),"-").concat(Math.floor(1e3*Math.random()+1)),u="".concat(ETBuilderBackend.site_url,"/?et_pb_preview=true&et_pb_preview_nonce=").concat(ETBuilderBackend.nonces.preview,"&iframe_id=").concat(l);setTimeout((function(){var s=e('*[data-shortcode-id="'.concat(r,'"]')),d=s.length?"".concat(s.width(),"px"):"100%",c=e("

')}))),e):""},_handleModification:function(){this.setState({hasChanges:!0})},_onNodeChange:function(e,t){if(!1!==this.state.showPopover){var n=!(0,c.default)(t.selection.getContent());this.setState({editor:t,isSelected:n});var r={active:!0,hasChanges:this.state.hasChanges,editor:t,module:this,posX:this.state.posX,posY:this.state.posY,viewportX:this.state.viewportX,viewportY:this.state.viewportY,isSelected:n,selection:t.selection.getNode()};S.default.updateInlineEditorProps(r)}},_onMouseDown:function(e,t){if(2!==e.button){var n={active:!0,hasChanges:this.state.hasChanges,posX:e.pageX,posY:e.pageY,viewportX:e.screenX,viewportY:e.screenY,editor:t,module:this,selecting:!0};S.default.updateInlineEditorProps(n,!1,!0),this._listenOutsideMouseUp(),this._maybeOnMouseUp=!0}},_onOutsideMouseUp:function(e){2!==e.button&&(e.preventDefault(),this._removeListenerMouseUp(),this._onMouseUp(k.default.getInlineEditorProps()))},_onInsideMouseUp:function(e,t){if(this._maybeOnMouseUp&&2!==e.button){var n=P(P({},k.default.getInlineEditorProps()),{},{posX:e.pageX,posY:e.pageY,viewportX:e.screenX,viewportY:e.screenY,editor:t});this._removeListenerMouseUp(),this._onMouseUp(n)}},_listenOutsideMouseUp:function(){O.default.$appDocument().on("mouseup",this._onOutsideMouseUp),O.default.$topDocument().on("mouseup",this._onOutsideMouseUp)},_removeListenerMouseUp:function(){this._maybeOnMouseUp=!1,O.default.$appDocument().off("mouseup",this._onOutsideMouseUp),O.default.$topDocument().off("mouseup",this._onOutsideMouseUp)},_onMouseUp:function(t){var n=this,r=t.editor;if(r&&!1===this.state.showPopover&&(e(r.bodyElement).prop("contentEditable",!0),e(r.bodyElement).trigger("focus"),setTimeout((function(){return S.default.setEditedModule(n,!0)}),0),!(0,c.default)(this.state.shortcodeHTML)&&!this.state.shortcodesDecoded)){var o=this.getContent();r.setContent(o,{format:"raw"})}var a=r&&!(0,c.default)(r.selection.getContent()),i=r&&r.selection.getNode(),l={active:!0,hasChanges:this.state.hasChanges,posX:t.posX,posY:t.posY,viewportX:t.viewportX,viewportY:t.viewportY,editor:r,module:this,selecting:!1,isSelected:a,selection:i};S.default.updateInlineEditorProps(l,!1,!1),this.setState({showPopover:!0,shortcodesDecoded:!0,editor:r,isSelected:a,posX:t.posX,posY:t.posY,viewportX:t.viewportX,viewportY:t.viewportY})},_onFocusout:function(e,t){if(k.default.getInlineEditorLastClick())return this.buttonClicked=!0,void e.preventDefault();this.buttonClicked=!1,this.disablePopup(t)},_onFocus:function(e,t){this.editor=t,this.props.rawContentProcessor&&this.local_version++},_onBlur:function(e,t){if(this.buttonClicked)return e.preventDefault(),void((0,b.default)((0,y.default)(t,"focus"))&&t.focus());this.disablePopup(t)},_onContextMenu:function(){this.setState({rightClick:!0})}}),W=F;t.default=W}).call(this,n(8))},function(e,t,n){"use strict";for(var r=[],o=0;o<256;++o)r[o]=(o+256).toString(16).substr(1);t.a=function(e,t){var n=t||0,o=r;return[o[e[n++]],o[e[n++]],o[e[n++]],o[e[n++]],"-",o[e[n++]],o[e[n++]],"-",o[e[n++]],o[e[n++]],"-",o[e[n++]],o[e[n++]],"-",o[e[n++]],o[e[n++]],o[e[n++]],o[e[n++]],o[e[n++]],o[e[n++]]].join("")}},function(e,t,n){e.exports=n(424)},function(e,t,n){var r=n(45),o=n(540),a=n(46),i=n(541),l=a((function(e){var t=r(e,i);return t.length&&t[0]===e[0]?o(t):[]}));e.exports=l},function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}o.default=e,n&&n.set(e,o);return o}(n(0)),a=l(n(3)),i=l(n(13));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n=0&&e.slice(n,u)==t}},function(e,t,n){var r=n(23);e.exports=function(){return r.Date.now()}},function(e,t,n){var r=n(529)("wks"),o=n(467),a=n(309).Symbol,i="function"==typeof a;(e.exports=function(e){return r[e]||(r[e]=i&&a[e]||(i?a:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(35),o=n(223),a=n(12),i=n(140),l=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,d=u.toString,c=s.hasOwnProperty,f=RegExp("^"+d.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||o(e))&&(r(e)?f:l).test(i(e))}},function(e,t,n){var r=n(23)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),l=i.length;l--;){var u=i[e?l:++o];if(!1===n(a[u],u,a))break}return t}}},function(e,t,n){var r=n(38);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var a=n.length,i=t?a:-1,l=Object(n);(t?i--:++i=t?e:t)),e}},function(e,t,n){var r=n(44),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){var r=n(154),o=n(74),a=n(70),i=n(12),l=n(53);e.exports=function(e,t,n,u){if(!i(e))return e;for(var s=-1,d=(t=o(t,e)).length,c=d-1,f=e;null!=f&&++s'.concat(t,""))}function q(e){var t=".et-fb-preview--desktop .et-fb-has-scrollbar #wpadminbar,\n .et-fb-preview--wireframe .et-fb-has-scrollbar #wpadminbar {\n width: calc(100% - ".concat(e,");\n }\n\n .et-fb-preview--animating #wpadminbar {\n width: 100%;\n }"),n=(0,h.$topWindow)("head style.et_fb_adminbar_style");n.length?n.text(t):(0,h.$topWindow)("head").append('"))}var Y=function(){function t(n){var y=this;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),k(this,"$admin_menu",void 0),k(this,"$admin_sidebar",void 0),k(this,"$admin_content",void 0),k(this,"$admin_menu_names",void 0),k(this,"$in_viewport",e()),k(this,"current_mode",_.default.getPreviewMode()),k(this,"current_width",0),k(this,"current_height",0),k(this,"current_translate",{iframe_translate_x:0,iframe_translate_y:0}),k(this,"is_DFM",!1),k(this,"is_animating",!1),k(this,"is_zoom",!1),k(this,"is_mobile_preview",!1),k(this,"is_large_layout",!1),k(this,"is_animation_enabled",!1),k(this,"is_modal_snapped",!1),k(this,"is_iframe",(0,h.topWindow)()!==self),k(this,"mode_widths",this.modeWidths()),k(this,"previous_mode",void 0),k(this,"was_zoom",!1),k(this,"bfbAdminMenuManuallyFolded",!1),k(this,"scrollIntoViewSettings",{block:"center",scrollMode:"if-needed"}),k(this,"scrollbarWidthCache",null),k(this,"snapLocationCache",null),k(this,"_animate",(function(e){M=(0,h.$topWindow)("#et-fb-app-frame, #et-bfb-app-frame, #et_fb_rv_shadow");var t=(0,h.$topWindow)("#et-fb-app-frame, #et-bfb-app-frame"),n=(0,h.$topWindow)("#et_fb_rv_shadow"),r=window.getComputedStyle(t[0],null);y.current_translate=(0,p.default)(e,["iframe_translate_x","iframe_translate_y"]);var o="translate(".concat(e.iframe_translate_x,"px, ").concat(e.iframe_translate_y,"px)"),a="";if((y.is_zoom||y.was_zoom)&&(o+=" scale(".concat(e.iframe_scale,")"),a="top center"),M.css({width:(0,d.default)(e.iframe_width)?"".concat(e.iframe_width,"px"):e.iframe_width,transform:o,transformOrigin:a}),n.css({height:"calc(".concat(t[0].offsetHeight,"px - ").concat(r.getPropertyValue("padding-top"),")")}),y.isResponsiveViewMode()){var i=(0,h.$topWindow)(".et-fb-responsive-view-controls-drag-left"),l=(0,h.$topWindow)(".et-fb-responsive-view-controls-drag-right"),u=t.eq(0).outerWidth()/2,c=_.default.getSnappedModalActive(),f=_.default.getSnappedModalLocation(),m={paddingTop:0,margin:"auto",left:0,right:0};c&&(0,s.default)(["left","right"],f)&&(m.margin="initial","left"===f&&(m.left="initial"),"right"===f&&(m.right="initial")),n.css(m),i.css({marginLeft:"".concat(0-u-i.eq(0).outerWidth(),"px")}),l.css({marginLeft:"".concat(u,"px")})}else M.css({paddingTop:"",marginTop:""});(0,h.isBFB)()||(y._scrollIntoView(S[0],y.scrollIntoViewSettings),!y.$in_viewport[0]||y._is_using_wheel||_.default.getModalSnapped("bottom")||y._scrollIntoView(y.$in_viewport[0],y.scrollIntoViewSettings)),(0,h.isBFB)()&&y.animate_admin&&(y.$admin_menu.width(e.admin_menu_width),y.$admin_content.css("margin-".concat(D),(0,d.default)(e.admin_menu_width)?"".concat(e.admin_menu_width,"px"):e.admin_menu_width),y.$admin_menu_names.css("text-indent",(0,d.default)(e[D])?"".concat(e[D],"px"):e[D]),y.$admin_menu_names.css("left",0),S.parents("#post-body").css("margin-".concat(V),"".concat(e.postbox_margin,"px")),S.parents("#et_pb_layout").width(y.is_zoom||y.is_mobile_preview?"":e.iframe_width))})),k(this,"_complete",(function(){if(y._is_animating&&(y._is_animating=!1,T.removeClass("et-fb-preview--animating"),B.removeClass("et-fb-preview--animating"),(0,h.$topWindow)().trigger("et-preview-animation-complete"),(0,h.isBFB)()||(0,u.default)((0,h.appWindow)(),"et_change_primary_nav_position",f.default)(0)),M=(0,h.$topWindow)("#et-fb-app-frame, #et-bfb-app-frame, #et_fb_rv_shadow"),(0,h.isBFB)()&&!y.is_mobile_preview&&S.width("").parents("#et_pb_layout").width(""),(0,h.isBFB)())F===(0,u.default)(y,"animation_config.to.admin_menu_width")&&(y.is_modal_snapped||S.parents("#post-body").css("margin-".concat(V),"")),y.animate_admin&&(y.$admin_menu.css("width",""),y.$admin_menu_names.css("text-indent",""),y.$admin_menu_names.css("left",""),y.$admin_content.css("margin-".concat(D),""));else{if(y._scrollIntoView(S[0],y.scrollIntoViewSettings),y.$in_viewport[0]&&!y._is_using_wheel)if(_.default.getModalSnapped("bottom")){var t=e(y.$in_viewport[0]),n=(0,u.default)(y,"animation_config.from.iframe_width",0),o=(0,u.default)(y,"animation_config.to.iframe_width",0);setTimeout((function(){var n=parseInt((0,h.$topWindow)().innerHeight()),r=(0,h.getAdminBarHeight)(),o=(0,h.getFixedHeaderHeight)(),a=n-r-(parseInt(_.default.getAppPreference("modal_dimension_height"))+g.default.modal.headerHeight+g.default.modal.footerHeight)-o;e((0,h.$topWindow)("html, body").animate({scrollTop:parseInt(t.offset().top)-a/2},50))}),n>o?0:200)}else y._scrollIntoView(y.$in_viewport[0],y.scrollIntoViewSettings);if(_.default.getModalSnapped("bottom")&&!y.is_zoom)if((0,h.$topWindow)().innerWidth()<=S.width()&&0<(0,u.default)(S.offset(),"left",0))M.css("transform","");else{var a=(0,h.parseInlineCssIntoObject)(S.attr("style")),i="translate(".concat((0,u.default)(y,"animation_config.to.iframe_translate_x"),"px, ").concat((0,u.default)(y,"animation_config.to.iframe_translate_y"),"px)");i!==a.transform&&M.css("transform",i)}}y._toggleStyleOverrides(!0),(0,h.isTB)()&&(y.is_mobile_preview||_.default.getModalSnapped("left")||_.default.getModalSnapped("right")||M.width("")),y.$in_viewport=r()})),k(this,"_animationEnabled",(function(){return _.default.getAppPreference("builder_animation")})),k(this,"_isBFBMobile",(function(){if(!(0,h.isBFB)())return!1;var e=(0,u.default)(m.default,"wpAdmin.oneColumnLayout");return(0,h.$topWindow)().innerWidth()0&&void 0!==arguments[0]?arguments[0]:"top";"top"===e?(U=R.closest(".ui-sortable").attr("id"),H=R.index(),R.insertAfter(x),(0,h.$topWindow)(".meta-box-sortables").sortable("refreshPositions")):U&&!1!==H&&((0,h.$topWindow)("#".concat(U," .postbox")).length<=H?R.appendTo("#".concat(U)):R.insertBefore((0,h.$topWindow)("#".concat(U," .postbox")).eq(H)),(0,h.$topWindow)(".meta-box-sortables").sortable("refreshPositions"),U=!1,H=!1),(0,h.topWindow)().dispatchEvent(new CustomEvent("ETBFBMetaboxSortStopped",{}))})),k(this,"_maybeToggleDistractionFreeMode",(function(e){(0,h.isTB)()||(!y.is_DFM||"wireframe"!==y.current_mode&&"open"!==e?y.is_DFM||"wireframe"===y.current_mode&&"folded"!==e||(y.is_DFM=!0,A.addClass("folded"),A.addClass("et-bfb-distraction-free-mode"),y._repositionPublishMbox("top")):(y.is_DFM=!1,y.bfbAdminMenuManuallyFolded||A.removeClass("folded"),A.removeClass("et-bfb-distraction-free-mode"),y._repositionPublishMbox("original")))})),k(this,"_toggleStyleOverrides",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e&&!(0,h.isBFB)()&&y.handleAppFrameResize(),(0,h.isTB)())E.css("overflow","hidden").parent().css("overflow","hidden");else{M=(0,h.$topWindow)("#et-fb-app-frame, #et-bfb-app-frame, #et_fb_rv_shadow");var t=(0,h.$topWindow)("#et-fb-app-frame, #et-bfb-app-frame"),n=(0,h.$topWindow)("#et_fb_rv_shadow"),r=window.getComputedStyle(t[0],null);if(y.is_mobile_preview||y.is_zoom)(0,h.isBFB)()||(E.css("overflow","hidden").parent().css("overflow","hidden"),A.parent().css("overflow-y","auto").css("overflow-x","hidden"),n.height("calc(".concat(t[0].offsetHeight,"px - ").concat(r.getPropertyValue("padding-top"),")")));else if((0,h.isBFB)())S.parents("#et_pb_layout").width("");else if((e||y._is_using_wheel)&&(E.css("overflow","").parent().css("overflow",""),A.css("overflow","").parent().css("overflow-y","").css("overflow-x",""),e))if(_.default.getModalSnapped()&&!_.default.getModalSnapped("bottom")){var o=function(){var e=(0,h.$topDocument)(".et-fb-modal--snapped")[0];M.width((0,h.$topWindow)().width()-e.offsetWidth)};o(),setTimeout(o,100)}else M.width("")}})),k(this,"_updateDOMForCurrentMode",(function(){var e=[B];(0,h.isTB)()||e.push(T),(0,l.default)(e,(function(e){e.removeClass((function(e,t){return(t.match(/(^|\s)et-fb-preview--\S+/g)||[]).join(" ")})).addClass(y.mode_class)})),"desktop"!==y.current_mode?(0,h.isLimitedMode)()&&!(0,h.isBFB)()&&0===A.find(".et-fb-preview__overlay").length&&(A.append('
'),A.addClass("et_pb_3rd_party_theme")):A.hasClass("et_divi_theme")||A.find(".et-fb-preview__overlay").remove()})),k(this,"_updateProperties",(function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"toggle";S||(S=(0,h.$topWindow)(window.frameElement),C=(0,h.$topWindow)("#et_fb_rv_shadow"),E=S.contents().find("body"));var u="wireframe"!==e,d=(0,c.default)(y.previous_mode);"toggle"===l&&(y.previous_mode=y.current_mode),y.current_mode=e,y.mode_widths=y.modeWidths(),y.current_mode_width=n||y.mode_widths[e],y.is_zoom="zoom"===y.current_mode,y.was_zoom="zoom"===y.previous_mode,y.is_mobile_preview=(0,s.default)(["tablet","phone"],y.current_mode),y.was_mobile_preview=(0,s.default)(["tablet","phone"],y.previous_mode),y.is_modal_snapped=_.default.getModalSnapped(),y.animate_admin=(u!==y.is_DFM||(0,s.default)([y.current_mode,y.previous_mode],"wireframe"))&&!y._isBFBMobile();var f=w({iframe_width:S.width()||S.parent().width(),iframe_scale:y.was_zoom?.5:1},y.current_translate);if(y.is_mobile_preview){var p=y.getSanitizedAppFrameWidth(y.current_mode_width,!1,!1,e),m=y.current_mode_width>p;y.current_mode_width=m?p:y.current_mode_width}(0,h.isBFB)()&&!u&&y.was_mobile_preview&&(0,a.default)(f,{iframe_width:x.width()});var g=w({iframe_width:y.current_mode_width,iframe_scale:y.is_zoom?.5:1},y.cssTranslate());if(!(0,h.isBFB)()&&!(0,h.isTB)()&&y.is_zoom){var b=2*(0,h.$topWindow)("#wpadminbar").outerHeight();g.paddingTop="".concat(b,"px")}(0,h.isBFB)()&&y.animate_admin&&(y.$admin_menu=(0,h.$topWindow)("#adminmenuback, #adminmenuwrap, #adminmenu"),y.$admin_sidebar=(0,h.$topWindow)("#postbox-container-1"),y.$admin_content=(0,h.$topWindow)("#wpcontent"),y.$admin_menu_names=(0,h.$topWindow)("#adminmenu .wp-menu-name, #collapse-button .collapse-button-label"),(0,a.default)(f,k({admin_menu_width:y.$admin_menu.width(),postbox_margin:parseInt(I.css("margin-right"))},D,u||d?0:-124)),(0,a.default)(g,k({admin_menu_width:u||y.bfbAdminMenuManuallyFolded?36:F,postbox_margin:u||y.is_modal_snapped||W()?0:300},D,u?-124:0)));var v=t&&y._animationEnabled(),O=y.was_mobile_preview||y.was_zoom,M=O?(0,h.$topWindow)().scrollTop():(0,h.$appWindow)().scrollTop();if(y.animation_config={from:f,to:g,ease:o.easing.cubicBezier(.23,1,.32,1),duration:v?400:0},(0,h.isTB)()&&(M=(0,h.viewportScrollTop)()),y.keep_module_in_viewport=0!==M,y.$in_viewport=r(),y.keep_module_in_viewport){var P=(0,h.$appWindow)(".et_pb_module").removeClass("et-pb-in-viewport");y.$in_viewport=r((0,i.default)(P,(function(e){return(0,h.isElementInViewport)(e)}))).addClass("et-pb-in-viewport")}})),k(this,"_scrollIntoView",(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(L){var r=!(0,h.isBFB)()&&(0,s.default)(["wireframe","desktop"],y.current_mode)?"app":"top",o=y.is_zoom?.5:y.was_zoom?2:1,a=(0,h.topWindow)().innerHeight,i="app"===r?(0,h.appWindow)().pageYOffset:(0,h.topWindow)().pageYOffset,l=i+a,u=.3*a,d=e(t).offset().top*o,c=d+e(t).height()*o,f=d<=i&&c>=l,p=d>=i+u&&d<=l-u,_=!(f||p);if(_){var m="app"===r?(0,h.appWindow)():(0,h.topWindow)();m.scrollTo({top:d-a/2})}}else t.scrollIntoView(n)})),k(this,"activate",(function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"toggle";if(y.current_mode===e&&!n)return y.current_mode_width;if(y.is_animating)return y.current_mode_width;y._updateProperties(e,r,a,i),(0,h.isBFB)()&&(0,h.$topWindow)("#collapse-menu").toggleClass("et_pb_hidden","wireframe"!==y.current_mode),(0,h.isTB)()||t||(y.animation_config.to=w(w({},y.animation_config.to),{},{iframe_width:y.animation_config.from.iframe_width,iframe_translate_x:y.animation_config.from.iframe_translate_x,iframe_translate_y:y.animation_config.from.iframe_translate_y}));var l=y._isLargeLayout(),u=r&&y._animationEnabled();if(T.toggleClass("et-fb-large-layout",l).toggleClass("et-fb-animation-disabled",!u),(0,h.isBFB)()&&"wireframe"!==e){var c=(0,h.$topWindow)("#postbox-container-2"),f=x.offset().top-parseInt(x.css("margin-top"),10);G=c.offset().top!==f}if(!(0,h.isBFB)()){if(!(0,h.isTB)()){var p=(0,h.getAdminBarHeight)();j.removeClass("et_fb_thin_admin_bar"),32===p&&j.addClass("et_fb_thin_admin_bar"),B.css({marginTop:"0px"})}(0,s.default)(["zoom","desktop"],e)&&(0,h.$appWindow)().trigger("resize")}if(y._maybeToggleDistractionFreeMode(),y._updateDOMForCurrentMode(),G){var _=x.offset().top-parseInt(x.css("margin-top"),10);T.animate({scrollTop:_-20},300)}return u&&!l&&"wireframe"!==e?(y._toggleStyleOverrides(),y.$in_viewport[0]&&!(0,h.isBFB)()&&y._scrollIntoView(y.$in_viewport[0]),y.is_animating=y._is_animating=!0,(0,h.isBFB)()&&!y._isBFBMobile()&&(T.addClass("et-fb-preview--animating"),B.addClass("et-fb-preview--animating")),setTimeout((function(){return y.is_animating=!1}),y.animation_config.duration),y._is_using_wheel=!1,(0,o.tween)(y.animation_config).start({update:y._animate,complete:y._complete})):(y._animate(y.animation_config.to),y._is_using_wheel=!1,y._complete(),y.is_mobile_preview&&!y.was_mobile_preview&&setTimeout((function(){(0,h.$topWindow)("#et_fb_rv_shadow").css("width",(0,d.default)(y.animation_config.to.iframe_width)?"".concat(y.animation_config.to.iframe_width,"px"):y.animation_config.to.iframe_width)}),25)),y.current_mode_width})),k(this,"cssTranslate",(function(e,t,n,r){e=(0,c.default)(e)?y.is_modal_snapped:e,t=t||y.current_mode_width,n=n||y.mode_widths.modal,r=r||(0,b.getModalPreferredSnapSettings)().snapLocation;var o={iframe_translate_x:0,iframe_translate_y:0};if((0,h.isBFB)()||!e||!(0,s.default)(["tablet","phone","zoom"],y.current_mode))return o;var a=(0,h.topViewportWidth)();return a-=t,a-=(0,h.maybeGetScrollbarWidth)(y.current_mode),"bottom"!==r&&(a-=n),a&&(a/=2),"left"===r?o.iframe_translate_x=00&&void 0!==arguments[0]?arguments[0]:"left",t=_.default.getModalSnapped(e);return(0,s.default)(["left","right"],e)&&t?_.default.getSnappedModalWidth():0})),k(this,"getContainerStyles",(function(e,t){var n=(0,s.default)(["left","right"],t),r=(0,h.$topWindow)((0,h.appWindow)().frameElement).width(),o={margin:"initial"},a=e.height?(0,h.$topWindow)().height()-e.height:(0,h.$topWindow)().height();(0,h.isBFB)()&&n&&((0,h.$topWindow)("#post-body").css("margin-right",0),(0,h.$topWindow)("body").css("margin-right","".concat(e.width,"px")));var i=y.getSanitizedAppFrameWidth(r,e.width,t),l=y.getContainerStylesTransform(i,e.width,t);switch(t){case"left":o.width=i,o.left="initial",o.right=0,o.transform=l;break;case"right":o.width=i,o.left=0,o.right="initial",o.transform=l;break;case"top":o.height=a,o.left=0,o.right="initial",o.top="initial",o.bottom=0;break;case"bottom":if(o.height=a,o.left=0,o.right=0,o.bottom="initial",o.transform=l,(0,h.isBFB)()||!(0,h.isTB)()&&!(0,s.default)(["phone","tablet","zoom"],y.current_mode))o.minHeight="auto";else{var u="zoom"===y.current_mode?2*parseInt(e.height):parseInt(e.height);o.margin="0 auto ".concat(u,"px")}}return o})),k(this,"getContainerStylesTransform",(function(e,t,n){var r=(0,s.default)(["left","right","top","bottom"],n),o=!(0,h.isBFB)()&&r;y.current_translate=y.cssTranslate(o,e,t,n);var a="zoom"===y.current_mode?.5:1,i="".concat(y.current_translate.iframe_translate_x,"px"),l="".concat(y.current_translate.iframe_translate_y,"px");return"scale(".concat(a,") translate(").concat(i,", ").concat(l,")")})),k(this,"getResponsiveWidths",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.PORTRAIT;return t.LANDSCAPE===e?{phone:_.default.getResponsivePhoneHeight(),tablet:_.default.getResponsiveTabletHeight()}:{phone:_.default.getResponsivePhoneWidth(),tablet:_.default.getResponsiveTabletWidth()}})),k(this,"getViewModeByWidth",(function(e){return[{maxWidth:parseInt(_.default.getResponsiveTabletWidth())-1,name:"phone"},{maxWidth:parseInt(_.default.getResponsiveMaximumWidth()),name:"tablet"},{maxWidth:Number.MAX_SAFE_INTEGER,name:"desktop"}].find((function(t){return t.maxWidth>=e})).name})),k(this,"getSanitizedAppFrameWidth",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e)return!1;var o=r||y.current_mode,a=(0,h.getIntegerValue)(e),i=00&&void 0!==arguments[0]?arguments[0]:0;if(!1===e)return!1;var t=(0,h.getIntegerValue)(e);return 0<=t&&t})),k(this,"handleAppFrameResize",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e&&(0,s.default)(["zoom","phone","tablet"],y.current_mode)){var n=_.default.isSettingsModalOpen()||!!_.default.getExtendStylesModal(),r=_.default.getSnappedModalWidth(),o=_.default.getSnappedModalLocation(),a=y.cssTranslate(n,e,r,o);if(M=(0,h.$topWindow)("#et-fb-app-frame, #et-bfb-app-frame, #et_fb_rv_shadow"),y.current_translate=a,!(0,h.isBFB)()&&!(0,h.isTB)()&&"zoom"===y.current_mode){var i=2*(0,h.$topWindow)("#wpadminbar").outerHeight();a.paddingTop="".concat(i,"px")}var l="scale(".concat("zoom"===y.current_mode?.5:1,")"),u="translate(".concat(a.iframe_translate_x,"px, ").concat(a.iframe_translate_y,"px)"),d=t||"".concat(l," ").concat(u),c=w({transform:d,width:(0,h.getFormattedPx)(e)},a);M.css(c)}if((0,h.isBFB)())return null;var f=y.optimumByWidth(y.current_mode,e),p=y.isResponsiveCompatibleViewMode(y.current_mode);return p&&f!==y.current_mode&&_.default.emitModuleSettingsChange(),setTimeout((function(){var e=(0,h.maybeGetScrollbarWidth)(y.current_mode),t=(0,h.getFormattedPx)(e,!1),n=t!==y.scrollbarWidthCache,r=_.default.getSnappedModalLocation(),o=r!==y.snapLocationCache;n&&(z(t),q(t)),(0,h.isTB)()&&(n||o)&&(C=(0,h.$topWindow)("#et_fb_rv_shadow"),_.default.getModalSnapped()&&(0,s.default)(["left","right"],r)?C.css({left:"left"===r?"initial":"0",right:"right"===r?"initial":"".concat(t)}):C.css({left:"-".concat(t),right:"0px"})),n&&(y.scrollbarWidthCache=t),o&&(y.snapLocationCache=r)}),50),null})),k(this,"handleTopWindowResize",(function(e){if(y.$admin_content&&0!==y.$admin_content.length){(0,h.$topWindow)().width()>(0,u.default)(m.default,"wpAdmin.mobileAdminBar")?y.$admin_content.css("margin-left","".concat(y.$admin_menu.width(),"px")):y.$admin_content.css("margin-left","");var t="0px"===S.parents("#post-body").css("margin-".concat(V));y._isBFBMobile()&&"wireframe"===y.current_mode&&!t&&S.parents("#post-body").css("margin-".concat(V),"")}})),k(this,"handleTopDocumentColumnChange",(function(e){"wireframe"===y.current_mode&&y._repositionPublishMbox(y._isOneColumn()?"top":"original")})),k(this,"handleBFBAdminMenuManuallyFoldedChange",(function(e){y.bfbAdminMenuManuallyFolded=(0,h.$topWindow)("body").hasClass("folded"),A.toggleClass("et-manually-folded",y.bfbAdminMenuManuallyFolded)})),k(this,"initialize",(function(e){return y.preview_mode=e,y._updateDOMForCurrentMode(),(0,h.isBFB)()&&y.handleBFBAdminMenuManuallyFoldedChange(),y.activate(e,!0,!0,!A.hasClass("folded")||"wireframe"!==e),(0,h.isBFB)()&&("wireframe"===e&&y.handleTopDocumentColumnChange(),(0,h.$topWindow)().on("resize",y.handleTopWindowResize),(0,h.$topDocument)().on("postboxes-columnchange",y.handleTopDocumentColumnChange),(0,h.$topWindow)("#collapse-button").on("click",y.handleBFBAdminMenuManuallyFoldedChange)),(0,h.$appWindow)().off("wheel.ETBuilderPreviewModes"),(0,h.$topWindow)().off("wheel.ETBuilderPreviewModes"),(0,h.$appWindow)().on("wheel.ETBuilderPreviewModes",y.onWheel),(0,h.$topWindow)().on("wheel.ETBuilderPreviewModes",y.onWheel),y})),k(this,"isAnimating",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return e?y.is_animating:y._is_animating})),k(this,"optimumByWidth",(function(e,t){if(!t)return e;if(!y.isResponsiveCompatibleViewMode(e))return e;var n=e,r=y.getSanitizedAppFrameWidth(t,_.default.getSnappedModalWidth(),_.default.getSnappedModalLocation(),n);return _.default.getResponsiveMaximumWidth()>=r&&(n="tablet"),_.default.getResponsiveTabletWidth()>r&&(n="phone"),n})),k(this,"onWheel",(function(e){return y._is_using_wheel=!0})),k(this,"setContainerStyle",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];M=(0,h.$topWindow)("#et-fb-app-frame, #et-bfb-app-frame, #et_fb_rv_shadow");var n=(0,h.$appWindow)("body"),r=(0,h.$topWindow)("#et_fb_rv_shadow"),o=(0,h.isBFB)()?n:M;if(t||(y.is_animating=y._is_animating=!0),o.css(e),r.css({height:"".concat(n.outerHeight(),"px")}),(0,h.isBFB)()){var a=680+A.find("#adminmenu").width();A.toggleClass("et-bfb-small-screen",e.width&&e.width<=a)}t?y.handleAppFrameResize(e.width,e.transform):y.is_animating=y._is_animating=!1})),k(this,"waitForAnimation",(function(){return y._is_animating?new Promise((function(e){var t=setInterval((function(){y._is_animating||(clearInterval(t),e())}),50)})):Promise.resolve()})),P||(P=this,this.is_iframe?void(this.current_mode=n||this.current_mode):P)}var n,y,v;return n=t,y=[{key:"mode_class",get:function(){return"et-fb-preview--".concat(this.current_mode)}},{key:"isResponsiveViewMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current_mode;return(0,s.default)(["tablet","phone"],e)}},{key:"isResponsiveCompatibleViewMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current_mode;return(0,s.default)(["desktop","tablet","phone"],e)}},{key:"isSpecialScrollingViewMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.current_mode;return(0,s.default)(["tablet","phone","zoom"],e)}},{key:"modeWidths",value:function(){var e,t,n,r=this,o=(0,h.topViewportWidth)(),a=_.default.getModalSnapped(),i=(0,b.getModalPreferredDimensions)(),l=(0,b.getModalPreferredSnapSettings)(),d=_.default.getBuilderDefaultsTabletView(),c=_.default.getBuilderDefaultsPhoneView(),f=d.width,p=c.width,g=0,y=0;if(a&&(0,s.default)(["left","right"],l.snapLocation)&&(g=i.width),(0,h.isTB)()&&(y=(0,h.maybeGetScrollbarWidth)(this.current_mode)),(0,h.isBFB)()){var v="wireframe"!==this.current_mode,w=v||a||this._isBFBMobile?42:64,O=v||a||this._isBFBMobile?0:278;e=t=n=o-(o<(0,u.default)(m.default,"wpAdmin.mobileAdminBar")?0:o<(0,u.default)(m.default,"wpAdmin.autoFoldAdminMenu")||v||r.bfbAdminMenuManuallyFolded?36:F)-w-O-g}else e=t=n=o-g-y;return{wireframe:e,zoom:t,desktop:n,tablet:f,phone:p,modal:g}}},{key:"resetCurrentTranslate",value:function(){this.current_translate={iframe_translate_x:0,iframe_translate_y:0}}}],v=[{key:"instance",value:function(e){return P||(P=new t(e)),P}}],y&&O(n.prototype,y),v&&O(n,v),Object.defineProperty(n,"prototype",{writable:!1}),t}();k(Y,"PORTRAIT","portrait"),k(Y,"LANDSCAPE","landscape");var $=Y;t.default=$}).call(this,n(8),n(8))},function(e,t,n){var r=n(96);e.exports=function(e){return r(e)&&e!=+e}},function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=ue(n(0)),a=ue(n(3)),i=ue(n(162)),l=ue(n(9)),u=ue(n(137)),s=ue(n(5)),d=ue(n(11)),c=ue(n(4)),f=ue(n(462)),p=ue(n(7)),h=ue(n(42)),_=ue(n(125)),m=ue(n(278)),g=ue(n(10)),b=ue(n(371)),y=ue(n(31)),v=ue(n(1)),w=ue(n(56)),O=ue(n(34)),k=ue(n(85)),S=ue(n(126)),E=ue(n(135)),C=ue(n(17)),M=ue(n(129)),P=ue(n(107)),T=ue(n(37)),A=ue(n(134)),B=ue(n(28)),j=ue(n(148)),x=n(110),R=n(621),I=n(808),N=n(94),L=ue(n(6)),D=ue(n(14)),V=ue(n(164)),F=ue(n(2)),W=n(589),U=ue(n(18)),H=le(n(39)),G=ue(n(15)),z=ue(n(1102)),q=ue(n(450)),Y=le(n(354)),$=le(n(57)),K=le(n(95)),X=ue(n(1107)),Z=ue(n(1108)),Q=ue(n(1109)),J=ue(n(1110)),ee=ue(n(1111)),te=n(720),ne=n(49),re=n(630),oe=(ue(n(29)),["extra"]),ae=["extra"];function ie(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(ie=function(e){return e?n:t})(e)}function le(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=ie(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}return o.default=e,n&&n.set(e,o),o}function ue(e){return e&&e.__esModule?e:{default:e}}function se(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||ce(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function de(e){return function(e){if(Array.isArray(e))return fe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ce(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e,t){if(e){if("string"==typeof e)return fe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fe(e,t):void 0}}function fe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function me(e,t){for(var n=0;n0&&!o.endsWith(";"),u=o+(l?";":"")+U.default.getValueOnHover(n.key,r,""),s=(0,d.default)(n.selector)?"":n.selector;if(e=s,""!==u&&-1===e.indexOf("%%order_class%%")&&("custom_css_main_element"===n.key&&(0,d.default)(n.selector)||n.no_space_before_selector||(s=" ".concat(s)),e=i+s),""!==u?"custom_css_free_form"===n.key?t.setFreeFormCss(e,u.slice(0,-1)):t.updateStylesArray(e,u):"custom_css_free_form"===n.key&&t.setFreeFormCss(e,u),H.default.isEnabled(n.key,r)){var c=H.default.getValue(n.key,r,"").split("||").join("");if(""!==c){var f=H.default.addStickyToSelectors(e,a);t.updateStylesArray(f,c)}}}))}},{key:"setFreeFormCss",value:function(e,t){var n="";F.default.condition("et_is_builder_plugin_active")&&(n=".et-db #et-boc .et-l");var r=new RegExp(/selector|\.selector|#selector/,"gi");this.freeFormCSS=t.replace(r,"".concat(n," ").concat(e.trim()))}},{key:"isSectionOrRowWithMenu",value:function(){var e=(0,p.default)(["et_pb_section","et_pb_row"],(0,v.default)(this,"props.type")),t=this.props.module_content&&$.containsModules(this.props.module_content,["et_pb_menu","et_pb_fullwidth_menu"]);return e&&t}},{key:"processAdvancedCSS",value:function(e){var t=this,n=ke(this),r=(0,d.default)(n)||(0,d.default)(n.advanced_common)?n:n.advanced_common,o=(0,g.default)({},this.props.attrs),a=(0,d.default)(n)||(0,d.default)(n.advanced_defaults)?{}:n.advanced_defaults,i=this.getMainElementSelector(),f=D.default.getComponentDefaults(this.props.type),h=[],m=this.allAttrsJson,C=(0,v.default)(this,"props.module_address",""),j=H.default.isStickyModule(C,o),x=H.default.canHaveStickyStyle(C,o),W=!(0,v.default)(this,"props.wrapperSettings.order_class_wrapper",!1)&&j;if(void 0!==r){var q=function(g){var O=arguments.length>1&&void 0!==arguments[1]&&arguments[1],E=(0,v.default)(r,g);if(E){var A=O||g;if(!(0,p.default)((0,v.default)(t,"props.skipOptions",[]),A)){var D=(0,v.default)(E,"css.important",""),q="all"===D||"plugin_only"===D&&F.default.condition("et_is_builder_plugin_active"),Y=q||(0,v.default)(E,"css.important",!1),$=Y?" !important":"",X=void 0!==E.css&&void 0!==E.css.main&&""!==E.css.main?E.css.main:i;switch(A){case"border":var Z=["et_pb_audio","et_pb_blurb","et_pb_cta","et_pb_circle_counter","et_pb_countdown_timer","et_pb_signup","et_pb_login","et_pb_number_counter","et_pb_team_member","et_pb_post_title","et_pb_search","et_pb_shop","et_pb_sidebar","et_pb_tabs","et_pb_testimonial","et_pb_text","et_pb_toggle"];(0,l.default)(G.default.getDevicesList(),(function(e){var r="desktop"===e,u=U.default.isHoverMode(),c=!r&&!u,f=g.replace("border",""),h="border_radii".concat(f),_=("border_styles".concat(f),U.default.getSplitValueOnHover(h,o)),m=u&&F.default.hasValue(_),b=G.default.isResponsiveEnabled(o,h),y="";r||!b||m?(r||u)&&(y=(0,B.default)(_||o[h]),(0,v.default)(a,h)):y=String(G.default.getAnyValue(o,"".concat(h,"_").concat(e),"",!0));var O=(0,v.default)(X,"border_styles",i);if(O=O.replace(/%%parent_class%%/g,".".concat(t.props.type.replace("_item",""))),t._isDependsShowAllowed(E,o)){var C=function(e){var t=e.split("|"),n=F.default.get(t[1],"0"),r=F.default.get(t[2],"0"),o=F.default.get(t[3],"0"),a=F.default.get(t[4],"0");return"border-radius: ".concat(n," ").concat(r," ").concat(o," ").concat(a).concat($)},M=(0,d.default)(X.border_radii)||(0,s.default)(X.border_radii)?i:X.border_radii,P=M=M.replace(/%%parent_class%%/g,".".concat(t.props.type.replace("_item",""))),T=t.getBreakpointByDevice(e);if(F.default.hasValue(y)&&y!==(0,v.default)(a,h)){var A=C(y);"et_pb_video"===(0,v.default)(t,"props.type")&&(M+=" .et_pb_with_border",O+=" .et_pb_with_border",t.updateStylesArray(M,"position: relative",T)),(0,p.default)(["et_pb_social_media_follow","et_pb_social_media_follow_network"],(0,v.default)(t,"props.type"))||t.isSectionOrRowWithMenu()||t.updateStylesArray(M,"overflow: hidden",T),t.updateStylesArray(M,A,T),F.default.isOn((0,v.default)(o,"parallax"))&&(0,p.default)(["et_pb_section","et_pb_row","et_pb_audio","et_pb_blurb","et_pb_cta","et_pb_circle_counter","et_pb_countdown_timer","et_pb_signup","et_pb_login","et_pb_number_counter","et_pb_team_member","et_pb_post_title","et_pb_search","et_pb_shop","et_pb_sidebar","et_pb_tabs","et_pb_testimonial","et_pb_text","et_pb_toggle"],(0,v.default)(t,"props.type"))&&t.updateStylesArray("%%order_class%% > .et_parallax_bg_wrap",A,T)}if(r&&x&&H.default.isEnabled(h,o)){var R=C(H.default.getValue(h,o,""));P=H.default.addStickyToSelectors(P,j),"et_pb_video"===(0,v.default)(t,"props.type")&&(P+=" .et_pb_with_border",t.updateStylesArray(P,"position: relative",T)),(0,p.default)(["et_pb_social_media_follow","et_pb_social_media_follow_network"],(0,v.default)(t,"props.type"))||t.isSectionOrRowWithMenu()||t.updateStylesArray(P,"overflow: hidden",T),t.updateStylesArray(P,R,T),F.default.isOn((0,v.default)(o,"parallax"))&&(0,p.default)(Z,(0,v.default)(t,"props.type"))&&t.updateStylesArray(H.default.addStickyToOrderClass("%%order_class%% > .et_parallax_bg_wrap",j),R,T)}}if(t._isDependsShowAllowed(E,o)){var I=["width","style","color"],N={},L={};if(!(0,v.default)(n,"border_styles".concat(f,".composite_structure")))return;(0,l.default)(["top","right","bottom","left"],(function(t){(0,l.default)(I,(function(n){var a=function(t,n){var a="border_".concat(n,"_all").concat(f),i="border_".concat(n,"_").concat(t).concat(f),l=G.default.isResponsiveEnabled(o,a),s=G.default.isResponsiveEnabled(o,i),d=(U.default.isEnabled(a,o),U.default.isEnabled(i,o)),p="";c&&l?p=G.default.getAnyValue(o,"".concat(a,"_").concat(e)):u?p=U.default.getHoverOrNormalOnHover(a,o):r&&(p=(0,v.default)(o,a,""));var h="";return c?h=s?G.default.getAnyValue(o,"".concat(i,"_").concat(e),"",!0):(0,v.default)(o,i,""):u?h=d?U.default.getHoverOrNormalOnHover(i,o):(0,v.default)(o,i,""):r&&(h=(0,v.default)(o,i,"")),h||p}(t,n);if(r&&x){var i=function(e,t){var n="border_".concat(t,"_all").concat(f),r="border_".concat(t,"_").concat(e).concat(f),a=x&&H.default.isEnabled(n,o),i=x&&H.default.isEnabled(r,o),l=a?H.default.getValue(n,o):"";return(i?H.default.getValue(r,o):"")||l}(t,n);i&&("width"===n&&(i=F.default.processRangeValue(i)),(0,w.default)(L,[n,t],i))}if(a){if("color"===n&&"off"===a)return;"width"===n&&(a=F.default.processRangeValue(a)),(0,w.default)(N,[n,t],a)}}))}));var D=function(n,r){var o;(0,l.default)(r,(function(r,a){var i=(0,k.default)(r),u=4===i.length;u&&1===(0,S.default)(i).length?o="border-".concat(a,":").concat(i[0]).concat($,";"):u&&r.top===r.bottom&&r.left===r.right?o="border-".concat(a,":").concat(r.top," ").concat(r.left).concat($,";"):u?o="border-".concat(a,":").concat(r.top," ").concat(r.right," ").concat(r.bottom," ").concat(r.left).concat($,";"):(o="",(0,l.default)(r,(function(e,t){return o+="border-".concat(t,"-").concat(a,":").concat(e).concat($,";")})));var s=t.getBreakpointByDevice(e);t.updateStylesArray(n,o,s)}))};if(D(O,N),r&&!(0,s.default)(L)){var V="";V=O.indexOf(",")>-1?H.default.addStickyToOrderClass(O):".et_pb_sticky".concat(j?"":" ").concat(O),D(V,L)}}}));break;case"text":var Q=(0,v.default)(E,"css.text_orientation");if(F.default.hasValue(Q)){var J=F.default.getTextOrientation((0,v.default)(a,"text_orientation","")),ee=F.default.getTextOrientation(o.text_orientation);F.default.hasValue(ee)&&J!==ee&&t.updateStylesArray(Q,"text-align: ".concat(ee));var te=F.default.getTextOrientation(G.default.getAnyValue(o,"text_orientation_tablet",J));F.default.hasValue(te)&&t.updateStylesArray(Q,"text-align: ".concat(te),G.default.getBreakpointByDevice("tablet"));var ne=F.default.getTextOrientation(G.default.getAnyValue(o,"text_orientation_phone",J));F.default.hasValue(ne)&&t.updateStylesArray(Q,"text-align: ".concat(ne),G.default.getBreakpointByDevice("phone"))}break;case"margin_padding":var re=["top","right","bottom","left"],oe=Y&&"all"===E.css.important,ae="et_pb_image"===t.props.type,ie=F.default.isOn(t.props.attrs.always_center_on_mobile),le={margin:{},padding:{}};le.margin.desktop=String(U.default.getSplitValueOnHover("custom_margin",o,"|")||(0,v.default)(o,"custom_margin","")).split("|"),F.default.getResponsiveStatus(o.custom_margin_last_edited)&&(le.margin.tablet=void 0!==o.custom_margin_tablet&&""!==o.custom_margin_tablet?o.custom_margin_tablet.split("|"):"",le.margin.phone=void 0!==o.custom_margin_phone&&""!==o.custom_margin_phone?o.custom_margin_phone.split("|"):""),le.padding.desktop=String(U.default.getSplitValueOnHover("custom_padding",o,"|")||(0,v.default)(o,"custom_padding","")).split("|"),F.default.getResponsiveStatus(o.custom_padding_last_edited)&&(le.padding.tablet=void 0!==o.custom_padding_tablet&&""!==o.custom_padding_tablet?o.custom_padding_tablet.split("|"):"",le.padding.phone=void 0!==o.custom_padding_phone&&""!==o.custom_padding_phone?o.custom_padding_phone.split("|"):""),(0,l.default)(["margin","padding"],(function(e){var n="custom_".concat(e),r=H.default.getValue(n,o,"").split("|"),a=x&&H.default.isEnabled(n,o),i="margin"===e?(0,v.default)(E,"css.margin",X):(0,v.default)(E,"css.padding",X),d=$;Y&&!oe&&(d=-1!==(0,u.default)(E.css.important,n)?" !important":""),(0,s.default)(le[e])||(0,l.default)(le[e],(function(n,f){if(!(0,s.default)(n)||!(0,s.default)(r)){"padding"===e&&!F.default.getResponsiveStatus(o.custom_padding_last_edited)&&"desktop"===f&&F.default.hasValue(o.padding_mobile)&&F.default.isOff(o.padding_mobile)&&(f="desktop_only"),(0,c.default)(n)&&2===(0,_.default)(n)&&(n=[n[0],"",n[1],""]);var h=t.getBreakpointByDevice(f),m=(0,v.default)(o,"module_alignment","");(0,l.default)(re,(function(o,l){var s=(0,p.default)([1,3],l);ae&&ie&&s&&(i=".et_always_center_on_mobile".concat(i,", ").concat(i));var c=(0,v.default)(n,l,"");if("margin"===e){if("left"===m&&"right"===o)return;if("center"===m&&-1!==(0,u.default)(["left","right"],o))return;if("right"===m&&"left"===o)return}var _=(0,v.default)(E,["css","".concat(e,"-").concat(o)],!1);if(""!==c){var g=K.default.isAcceptableCSSStringValue(e,c)?c:F.default.processRangeValue(c),b="".concat(e,"-").concat(o,": ").concat(g).concat(d,";");_&&t.updateStylesArray(_,b,h),t.updateStylesArray(i,b,h)}if(a&&(0,p.default)(["desktop","desktop_only"],f)){var y=(0,v.default)(r,l,c);if(c!==y){var w=K.default.isAcceptableCSSStringValue(e,y)?y:F.default.processRangeValue(y),O="".concat(e,"-").concat(o,": ").concat(w).concat(d,";");_&&t.updateStylesArray(H.default.addStickyToSelectors(_,j),O,h),t.updateStylesArray(H.default.addStickyToSelectors(i,j),O,h)}}}))}}))}));break;case"image_icon":var ue=(0,v.default)(r,"image_icon.image_icon"),se=(0,v.default)(ue,"css.important",""),ce="all"===se||"plugin_only"===se&&F.default.condition("et_is_builder_plugin_active"),fe=ce||(0,v.default)(ue,"css.important",!1),pe=fe?" !important":"",_e=void 0!==ue.css&&void 0!==ue.css.main&&""!==ue.css.main?ue.css.main:i,me=["top","right","bottom","left"],ge=fe&&"all"===ue.css.important,be={margin:{},padding:{}};be.margin.desktop=String(U.default.getSplitValueOnHover("image_icon_custom_margin",o,"|")||(0,v.default)(o,"image_icon_custom_margin","")).split("|"),F.default.getResponsiveStatus(o.image_icon_custom_margin_last_edited)&&(be.margin.tablet=void 0!==o.image_icon_custom_margin_tablet&&""!==o.image_icon_custom_margin_tablet?o.image_icon_custom_margin_tablet.split("|"):"",be.margin.phone=void 0!==o.image_icon_custom_margin_phone&&""!==o.image_icon_custom_margin_phone?o.image_icon_custom_margin_phone.split("|"):""),be.padding.desktop=String(U.default.getSplitValueOnHover("image_icon_custom_padding",o,"|")||(0,v.default)(o,"image_icon_custom_padding","")).split("|"),F.default.getResponsiveStatus(o.image_icon_custom_padding_last_edited)&&(be.padding.tablet=void 0!==o.image_icon_custom_padding_tablet&&""!==o.image_icon_custom_padding_tablet?o.image_icon_custom_padding_tablet.split("|"):"",be.padding.phone=void 0!==o.image_icon_custom_padding_phone&&""!==o.image_icon_custom_padding_phone?o.image_icon_custom_padding_phone.split("|"):""),(0,l.default)(["margin","padding"],(function(e){var n="image_icon_custom_".concat(e),r=H.default.getValue(n,o,"").split("|"),a=x&&H.default.isEnabled(n,o),i="margin"===e?(0,v.default)(ue,"css.margin",_e):(0,v.default)(ue,"css.padding",_e),d=pe;fe&&!ge&&(d=-1!==(0,u.default)(ue.css.important,n)?" !important":""),(0,s.default)(be[e])||(0,l.default)(be[e],(function(n,u){if(!(0,s.default)(n)||!(0,s.default)(r)){"padding"===e&&!F.default.getResponsiveStatus(o.image_icon_custom_padding_last_edited)&&"desktop"===u&&F.default.hasValue(o.padding_mobile)&&F.default.isOff(o.padding_mobile)&&(u="desktop_only"),(0,c.default)(n)&&2===(0,_.default)(n)&&(n=[n[0],"",n[1],""]);var f=t.getBreakpointByDevice(u);(0,l.default)(me,(function(o,l){var s=(0,v.default)(n,l,""),c=(0,v.default)(ue,["css","".concat(e,"-").concat(o)],!1);if(""!==s){var h=K.default.isAcceptableCSSStringValue(e,s)?s:F.default.processRangeValue(s),_="".concat(e,"-").concat(o,": ").concat(h).concat(d,";");c&&t.updateStylesArray(c,_,f),t.updateStylesArray(i,_,f)}if(a&&(0,p.default)(["desktop","desktop_only"],u)){var m=(0,v.default)(r,l,s);if(s!==m){var g=K.default.isAcceptableCSSStringValue(e,m)?m:F.default.processRangeValue(m),b="".concat(e,"-").concat(o,": ").concat(g).concat(d,";");c&&t.updateStylesArray(H.default.addStickyToSelectors(c,j),b,f),t.updateStylesArray(H.default.addStickyToSelectors(i,j),b,f)}}}))}}))}));break;case"background":var ye=U.default.isHoverMode()&&U.default.isEnabled("background",o),ve=H.default.isStickyMode()&&H.default.canHaveStickyStyle(C,o)&&H.default.isEnabled("background",o),we=G.default.isResponsiveEnabled(o,"background"),ke=!(0,d.default)(t.props.parentAttrs)&&!(0,s.default)(t.props.parentAttrs),Se=function(e,t){var n=(0,v.default)(f,e);return ye||ve?n:G.default.getDefaultValue(o,G.default.getFieldName(e,t),n)},Ee=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=(0,p.default)(["hover","sticky"],t)?"desktop":t,l=G.default.getFieldName(e,i),u="desktop"===i||we,s=u?G.default.getAnyValue(o,l,n,r):"";return ye||"sticky"===t?(ke&&(n=G.default.getAnyValue(o,l,"",!0)||n),a&&(s=(0,v.default)(o,e,n)),ye?(0,v.default)(o,U.default.getHoverField(e))||s:"sticky"===t?(0,v.default)(o,H.default.getStickyField(e))||s:n):s},Ce=(0,v.default)(E,"has_background_color_toggle",!1),Me=(0,v.default)(E,"use_background_color",!0),Pe=(0,v.default)(E,"use_background_color_gradient",!0),Te=(0,v.default)(E,"use_background_image",!0),Ae=(0,v.default)(E,"use_background_color_reset",!0),Be=(0,v.default)(E,"use_background_mask",!0),je=(0,v.default)(E,"use_background_pattern",!0),xe={desktop:!1,tablet:!1,phone:!1},Re="",Ie=!1,Ne=(0,P.default)((0,v.default)(t,"props.dynamic",{}),"value"),Le={desktop:!1,tablet:!1,phone:!1},De={desktop:!1,tablet:!1,phone:!1};(0,p.default)(ETBuilderBackend.modulesFeaturedImageBackground,(0,v.default)(t,"props.type"))&&F.default.isOn(o.featured_image)&&"background"===o.featured_placement&&F.default.hasValue(ETBuilderBackend.currentPage.thumbnailUrl)&&(e=ETBuilderBackend.currentPage.thumbnailUrl,Ie=!0);var Ve=function(n){var r=[],a=(0,p.default)(["hover","sticky"],n)?"desktop":n,i="desktop"===a,l=G.default.getBreakpointByDevice(a),u=!!(0,p.default)(["hover","sticky"],n)&&(0,v.default)(E,["css",n],!1);(0,T.default)(u)&&u.includes(":hover")&&(u=u.replace(":hover",""));var d=(0,v.default)(t,"props.main_css_element","%%order_class%%"),c=(0,v.default)(E,"css.main",d),h=u||c,_=V.default.getColors(!0),m=G.default.getInheritanceBackgroundValue(o,"use_background_color_gradient",n,"background"),g=(0,v.default)(m,"value"),b=Ee("use_background_color",n,"",!0),y=F.default.isOff(b),w=G.default.getInheritanceBackgroundValue(o,"background_color",n,"background"),O="";"hover"===n?O="transparent":i||"sticky"===n||(O="initial");var k=""!==w.value?w.value:O;if(!Ie&&(e="",!(0,s.default)(Ne))){var S=(0,M.default)(o,["background_enable_image","background_enable_image_tablet","background_enable_image_phone","background_enable_image__hover","background_enable_image__sticky"]),C=he(he({},Ne),S),P=G.default.getInheritanceBackgroundValue(C,"background_image",n,"background");e=""!==P.value?P.value:e}var A="",B=[],j=!1,x=!1,L=!1,D=!1,W=!1;if(Pe&&"fields_only"!==Pe&&F.default.isOn(g)){x=!0;var U=F.default.getGradient({repeat:Ee("background_color_gradient_repeat",n,"",!0),type:Ee("background_color_gradient_type",n,"",!0),direction:Ee("background_color_gradient_direction",n,"",!0),radialDirection:Ee("background_color_gradient_direction_radial",n,"",!0),stops:Ee("background_color_gradient_stops",n,"",!0),unit:Ee("background_color_gradient_unit",n,"",!0)},_);B.push(U)}else F.default.isOff(g)&&(W=!0);var H=Ee("parallax",n,"",!0),z=F.default.hasValue(e)&&!F.default.isOn(H);if(xe[a]=z,Te&&"fields_only"!==Te&&z){j=!0,B.push("url(".concat(e,")"));var q=!0;i||ye||(q="tablet"===a?xe.desktop:xe.tablet);var Y="background_size",K=(0,v.default)(f,Y),X=Ee(Y,n,K,!0,!0);if((0,N.hasValue)(X)){var Z="background_image_width",Q=(0,v.default)(f,Z),J=Ee(Z,n,Q,!0,!0),ee="background_image_height",te=(0,v.default)(f,ee),ne=Ee(ee,n,te,!0,!0),re=(0,R.getBackgroundSizeCss)(X,J,ne);re.size&&r.push({selector:h,declaration:"background-size: ".concat(re.size),breakpoint:l})}var oe=(0,v.default)(f,"background_repeat"),ae=Ee("background_repeat",n,oe,!0,!0);(0,N.hasValue)(ae)&&(0,N.hasValue)(X)&&"stretch"!==X&&r.push({selector:h,declaration:"background-repeat: ".concat(ae),breakpoint:l});var ie=(0,v.default)(f,"background_position"),le=(q&&Se("background_position",a),Ee("background_position",n,ie,!0,!0));if((0,N.hasValue)(le)&&(0,N.hasValue)(X)&&"stretch"!==X&&(0,N.hasValue)(ae)&&"space"!==ae){var ue=(0,v.default)(f,"background_horizontal_offset"),se=Ee("background_horizontal_offset",n,ue,!0,!0),de=(0,v.default)(f,"background_vertical_offset"),ce=Ee("background_vertical_offset",n,de,!0,!0),fe=(0,R.getBackgroundPositionCss)(le,se,ce);r.push({selector:h,declaration:"background-position: ".concat(fe.position),breakpoint:l})}var pe=(0,v.default)(f,"background_blend"),_e=Ee("background_blend",n,pe,!q,!0),me=Ee("background_blend",n,"",!0,!0);(0,N.hasValue)(me)&&((0,N.hasValue)(_e)&&r.push({selector:h,declaration:"background-blend-mode: ".concat(_e),breakpoint:l}),x&&j&&"fields_only"!==Ae&&me!==pe&&(L=!0,r.push({selector:h,declaration:"background-color: initial".concat($,";"),breakpoint:l})),Re=me)}else(0,N.hasValue)(e)||((0,N.hasValue)(Re)&&(r.push({selector:h,declaration:"background-blend-mode: normal",breakpoint:l}),Re=""),D=!0);if(B.length>0){var ge=Ee("background_color_gradient_overlays_image",n,"off",!0);F.default.isOn(ge)||B.reverse(),B=B.join(", "),(0,N.isOn)(ge)&&(0,N.isOn)(H)&&(B="initial"),r.push({selector:h,declaration:"background-image: ".concat(B).concat($,";"),breakpoint:l})}else"et_pb_counter"!==t.props.type&&W&&D&&r.push({selector:h,declaration:"background-image: initial ".concat($,";"),breakpoint:l});var be=Me&&"fields_only"!==Me,ve=F.default.hasValue(k)&&!y&&!L,we=Ce&&y&&!i;if(be)if(ve){var Oe=V.default.getColorValue(k)||k;A="background-color:".concat(Oe).concat($,";"),r.push({selector:h,declaration:A,breakpoint:l})}else we&&(A="background-color: initial ".concat($,";"),r.push({selector:h,declaration:A,breakpoint:l}));var ke=je&&"fields_only"!==je,Ve=G.default.getInheritanceBackgroundValue(o,"background_pattern_style",n,"background"),Fe=(0,N.hasValue)(Ve.value);if(De[a]=Fe,ke&&Fe){var We=(0,v.default)(E,"css.pattern",(0,R.addToOrderClass)(h,"> .et_pb_background_pattern")),Ue="background_pattern_transform",He=(0,v.default)(f,Ue),Ge=Ee(Ue,n,He,!0,!0),ze=(0,R.getTransformState)(Ge,"horizontal"),qe=(0,R.getTransformState)(Ge,"vertical"),Ye=(0,R.getTransformState)(Ge,"rotate"),$e=(0,R.getTransformState)(Ge,"invert");r.push({selector:We,declaration:"transform: ".concat((0,R.getTransformCSS)(ze,qe)),breakpoint:l});var Ke="background_pattern_color",Xe=(0,v.default)(f,Ke),Ze=Ee(Ke,n,Xe,!0,!0),Qe=V.default.getColorValue(Ze)||Ze,Je=(0,I.getSvgPattern)(Ve.value,Qe,"default",Ye,$e);r.push({selector:We,declaration:'background-image: url("data:image/svg+xml;utf8,'.concat(Je,'")'),breakpoint:l});var et="background_pattern_size",tt=(0,v.default)(f,et),nt=Ee(et,n,tt,!0,!0);if((0,N.hasValue)(nt)){var rt="background_pattern_width",ot=(0,v.default)(f,rt),at=Ee(rt,n,ot,!0,!0),it="background_pattern_height",lt=(0,v.default)(f,it),ut=Ee(it,n,lt,!0,!0),st=(0,R.getBackgroundSizeCss)(nt,at,ut);st.size&&r.push({selector:We,declaration:"background-size: ".concat(st.size),breakpoint:l})}var dt="background_pattern_repeat",ct=(0,v.default)(f,dt),ft=Ee(dt,n,ct,!0,!0);(0,N.hasValue)(ft)&&(0,N.hasValue)(nt)&&"stretch"!==nt&&r.push({selector:We,declaration:"background-repeat: ".concat(ft),breakpoint:l});var pt="background_pattern_repeat_origin",ht=(0,v.default)(f,pt),_t=Ee(pt,n,ht,!0,!0);if((0,N.hasValue)(_t)&&(0,N.hasValue)(nt)&&"stretch"!==nt&&(0,N.hasValue)(ft)&&"space"!==ft){var mt="background_pattern_horizontal_offset",gt=(0,v.default)(f,mt),bt=Ee(mt,n,gt,!0,!0),yt="background_pattern_vertical_offset",vt=(0,v.default)(f,yt),wt=Ee(yt,n,vt,!0,!0),Ot=(0,R.getBackgroundPositionCss)(_t,bt,wt);r.push({selector:We,declaration:"background-position: ".concat(Ot.position),breakpoint:l})}var kt="background_pattern_blend_mode",St=(0,v.default)(f,kt),Et=Ee(kt,n,St,!0,!0);(0,N.hasValue)(Et)&&r.push({selector:We,declaration:"mix-blend-mode: ".concat(Et),breakpoint:l})}var Ct=Be&&"fields_only"!==Be,Mt=G.default.getInheritanceBackgroundValue(o,"background_mask_style",n,"background"),Pt=(0,N.hasValue)(Mt.value);if(Le[a]=Pt,Ct&&Pt){var Tt=(0,v.default)(E,"css.mask",(0,R.addToOrderClass)(h,"> .et_pb_background_mask")),At="background_mask_transform",Bt=(0,v.default)(f,At),jt=Ee(At,n,Bt,!0,!0),xt=(0,R.getTransformState)(jt,"horizontal"),Rt=(0,R.getTransformState)(jt,"vertical"),It=(0,R.getTransformState)(jt,"rotate"),Nt=(0,R.getTransformState)(jt,"invert");r.push({selector:Tt,declaration:"transform: ".concat((0,R.getTransformCSS)(xt,Rt)),breakpoint:l});var Lt="background_mask_color",Dt=(0,v.default)(f,Lt),Vt=Ee(Lt,n,Dt,!0,!0),Ft=V.default.getColorValue(Vt)||Vt,Wt="background_mask_aspect_ratio",Ut=(0,v.default)(f,Wt),Ht=Ee(Wt,n,Ut,!0,!0),Gt="background_mask_size",zt=(0,v.default)(f,Gt),qt=Ee(Gt,n,zt,!0,!0);if((0,N.hasValue)(qt)){var Yt="background_mask_width",$t=(0,v.default)(f,Yt),Kt=Ee(Yt,n,$t,!0,!0),Xt="background_mask_height",Zt=(0,v.default)(f,Xt),Qt=Ee(Xt,n,Zt,!0,!0),Jt=(0,R.getBackgroundSizeCss)(qt,Kt,Qt,"mask");Jt.size&&r.push({selector:Tt,declaration:"background-size: ".concat(Jt.size),breakpoint:l})}var en=(0,I.getSvgMask)(Mt.value,Ft,Ht,It,Nt,qt);r.push({selector:Tt,declaration:'background-image: url("data:image/svg+xml;utf8,'.concat(en,'")'),breakpoint:l});var tn="background_mask_position",nn=(0,v.default)(f,tn),rn=Ee(tn,n,nn,!0,!0);if((0,N.hasValue)(rn)&&(0,N.hasValue)(qt)&&"stretch"!==qt){var on="background_mask_horizontal_offset",an=(0,v.default)(f,on),ln=Ee(on,n,an,!0,!0),un="background_mask_vertical_offset",sn=(0,v.default)(f,un),dn=Ee(un,n,sn,!0,!0),cn=(0,R.getBackgroundPositionCss)(rn,ln,dn);r.push({selector:Tt,declaration:"background-position: ".concat(cn.position),breakpoint:l})}var fn="background_mask_blend_mode",pn=(0,v.default)(f,fn),hn=Ee(fn,n,pn,!0,!0);(0,N.hasValue)(hn)&&r.push({selector:Tt,declaration:"mix-blend-mode: ".concat(hn),breakpoint:l})}return r};if((0,l.default)(G.default.getDevicesList(),(function(e){if("desktop"===e||G.default.isResponsiveEnabled(o,"background")){var n=e;ye&&(n="hover");var r=Ve(n);(0,l.default)(r,(function(e){t.updateStylesArray.apply(t,de((0,k.default)(e)))}))}})),x&&H.default.isEnabled("background",o)){var Fe=Ve("sticky");(0,l.default)(Fe,(function(e){var n=H.default.addStickyToOrderClass(e.selector,j);t.updateStylesArray(n,e.declaration,"general")}))}break;case"fonts":var We=["font","font_size","text_color","text_align","letter_spacing","line_height","all_caps"];(0,l.default)(E,(function(e,n){Y=!(void 0===e.css||!e.css.important&&!e.css.use_important);var r=(0,d.default)(e.sub_toggle)?"":e.sub_toggle;"quote"===r?We.push("border_weight","border_color"):(0,p.default)(["ul","ol"],r)&&We.push("type","position","item_indent"),$=Y?" !important":"";var a=(0,d.default)(e.css)||(0,d.default)(e.css.main)?X:e.css.main;F.default.condition("et_is_builder_plugin_active")&&(0,v.default)(e,"css.limited_main",!1)&&(a=e.css.limited_main),(0,l.default)(We,(function(i){var d="".concat(n,"_").concat(i);if(-1!==m.indexOf(d)&&!(0,v.default)(e,"hide_".concat(i),!1)){var h=i.replace("_","-"),_={},g=void 0!==e.css&&void 0!==e.css[t._prepareSlug(i)]?e.css[t._prepareSlug(i)]:a,y=void 0!==e.css&&void 0!==e.css.placeholder,w="",O=(0,v.default)(e,"css.important",""),k="all"===O||("plugin_only"===O||(0,c.default)(O)&&(0,p.default)(O,"plugin_all"))&&F.default.condition("et_is_builder_plugin_active"),S=!1,E="",C=function e(t){switch(t){case"phone":return(0,v.default)(_,"tablet",e("tablet"));case"tablet":return(0,v.default)(_,"desktop",e());default:return(0,v.default)(f,d,"")}},M=H.default.getValue(d,o,"");_.desktop=U.default.getHoverOrNormalOnHover(d,o)||"",F.default.getResponsiveStatus(o["".concat(d,"_last_edited")])&&(_.tablet=(0,v.default)(o,"".concat(d,"_tablet"),""),_.phone=(0,v.default)(o,"".concat(d,"_phone"),"")),""===M&&""===_.desktop&&""===_.tablet&&""===_.phone||(0,l.default)(_,(function(f,_){if("text-color"===h&&f===C(_)){var m=(0,v.default)(e,"text_color.old_option_ref","");f=""!==m&&(0,v.default)(t.props.attrs,m,!1)?(0,v.default)(t.props.attrs,m,""):""}"text-align"===h&&(f=F.default.getTextOrientation(f),M=F.default.getTextOrientation(M));var O=""!==f&&C(_)!==f,P="desktop"===_&&""!==M,T=t.getBreakpointByDevice(_);if(O||P){if(Y){var A=i;switch(i){case"font_size":A="size";break;case"letter_spacing":case"line_height":A=h}S=!(!k&&-1===(0,u.default)(e.css.important,A)),E=S?" !important":""}if("text_color"===i&&(E=" !important"),"font"===i){var B=(0,s.default)(C())?"||||":C();if("||||"!==B){var R=B.split("|"),I=f.split("|");if(R.length===I.length){var N=[];(0,l.default)(R,(function(e,t){var n=e;!(0,s.default)(e)&&(0,s.default)(I[t])||(n=""),N.push(n)})),(0,s.default)(N)||N.length!==R.length||(B=N.join("|"))}}F.default.hasValue(f)&&(w=F.default.setElementFont(f,S,B)),T=z.default.getBreakpointByFontValue(o,d,_,T)}else if("all_caps"===i)F.default.isOn(o["".concat(n,"_all_caps")])&&(w="text-transform: uppercase".concat(E,";"));else{"text-color"===h&&(h="color"),"quote"===r?"border-weight"===h&&(h="border-width"):(0,p.default)(["ul","ol"],r)&&("type"===h?(h="list-style-type",E=" !important"):"position"===h?h="list-style-position":"item-indent"===h&&(h="padding-left",E=" !important")),(0,p.default)(["font_size","letter_spacing","line_height"],i)&&(f=F.default.processRangeValue(f,i),M=F.default.processRangeValue(M,i));var L=x&&H.default.isEnabled(d,o)&&F.default.hasValue(M);if("desktop"===_&&L){var D=(0,b.default)(H.default.addStickyToSelectors(g,j)),V="".concat(h,":").concat(M).concat(E,";");(0,l.default)(D,(function(e){t.updateStylesArray(e,V,"general")}))}F.default.hasValue(f)&&(w="".concat(h,":").concat(f).concat(E,";"))}"line_height"===i&&g!==a&&t.updateStylesArray(a,w,T);var W=g;if("list-style-type"===h&&(W=g.replace(/li/g,"").trim()),Array.isArray(W)?(0,l.default)(W,(function(e){t.updateStylesArray(e,w,T)})):(t.updateStylesArray(W,w,T),y&&(0,l.default)(["::-webkit-input-placeholder","::-moz-placeholder","::-ms-input-placeholder"],(function(e){t.updateStylesArray(W+e,w,T)}))),"desktop"!==_&&"font"===i){var U=G.default.getDefaultValue(o,"".concat(d,"_").concat(_)),q=F.default.setResetFontStyle(f,U,S),$=(0,c.default)(W)?W.join(", "):W;(0,s.default)(q)||t.updateStylesArray($,q,T)}}}))}}))}));break;case"button":(0,l.default)(E,(function(e,n){if($=(0,v.default)(e,"css.important",!1)?" !important":"",(0,v.default)(e,"use_alignment",!1)){var r=(0,v.default)(e,"css.alignment","");if(F.default.hasValue(r)&&F.default.hasValue(r)){var a=G.default.getPropertyValues(o,"".concat(n,"_alignment"));(0,l.default)(a,(function(e,n){if(F.default.hasValue(e)){var o=G.default.getBreakpointByDevice(n);t.updateStylesArray(r,"text-align: ".concat(e,";"),o)}}))}}if("on"===o["custom_".concat(n)]){var i=(0,v.default)(e,"hide_icon",!1),u=(0,v.default)(e,"hide_custom_padding",!1),c=["text_size","text_color","border_width","border_color","border_radius","font","letter_spacing","use_icon","icon","icon_color","icon_placement","on_hover",U.default.getHoverField("bg_color"),U.default.getHoverField("text_size"),U.default.getHoverField("text_color"),U.default.getHoverField("border_color"),U.default.getHoverField("border_width"),U.default.getHoverField("border_radius"),U.default.getHoverField("letter_spacing")],h=["text_size","text_color","border_width","border_color","border_radius","icon_color","letter_spacing"],_=L.default.getHoverMode()&&U.default.isEnabled("".concat(n,"_text_size"),o)?U.default.hoverSuffix():"",m=(0,v.default)(o,"".concat(n,"_text_size").concat(_))||"20px",g=(0,d.default)(e.css)||(0,d.default)(e.css.main)?"".concat(X," .et_pb_button"):e.css.main,b=ETBuilderBackend.builderOptions.all_buttons_icon,y=F.default.condition("is_bfb");F.default.condition("et_is_builder_plugin_active")&&(0,v.default)(e,"css.limited_main",!1)&&(g=e.css.limited_main);var w=g;if(!F.default.condition("et_is_builder_plugin_active")){var O="body #page-container".concat(y?"-bfb":"");w=F.default.appendPrependCommaSeparatedSelectors(w,O,"prefix",!0)}(0,l.default)(c,(function(e){var r=o["".concat(n,"_").concat(e)],a="",i="",l="",u="";switch(e){case"text_color":a="color",i=" !important";break;case"text_size":a="font-size",i=" !important";break;case"use_icon":case"icon":case"icon_color":case"icon_placement":case"on_hover":r="";break;case U.default.getHoverField("bg_color"):case U.default.getHoverField("text_size"):case U.default.getHoverField("text_color"):case U.default.getHoverField("border_color"):case U.default.getHoverField("border_radius"):case U.default.getHoverField("border_width"):case U.default.getHoverField("letter_spacing"):if(!U.default.isEnabled("".concat(n,"_").concat(e),o))break;U.default.getHoverField("bg_color")===e?(a="background-color",i=" !important"):U.default.getHoverField("text_size")===e?(a="font-size",i=" !important"):U.default.getHoverField("text_color")===e?(a="color",i=" !important"):U.default.getHoverField("letter_spacing")===e?(a="letter-spacing",i=" !important"):(a=e.replace(U.default.hoverSuffix(),"").replace("_","-"),i=U.default.getHoverField("border_color")===e?" !important":""),u=L.default.getHoverMode()?"":":hover";break;default:a=e.replace("_","-"),"border_width"!==e&&U.default.getHoverField("border_width")!==e||(i=" !important")}if(""!==r&&(0,p.default)([U.default.getHoverField("border_radius"),"border_radius"],e)&&F.default.condition("et_is_builder_plugin_active")&&(i=" !important"),x&&h.includes(e)){var s="".concat(n,"_").concat(e),c=H.default.addStickyToOrderClass(w,W),_=H.default.getValue(s,o);if(isNaN(parseFloat(_))||(_=F.default.processRangeValue(_)),F.default.hasValue(_)&&F.default.hasValue(a)){var m="".concat(a,": ").concat(_).concat(i);t.updateStylesArray(c,m)}}if((!(0,d.default)(r)&&""!==r&&""!==a||"font"===e)&&(0,v.default)(f,"".concat(n,"_").concat(e),"")!==r){l="font"===e?F.default.setElementFont(r,!0):""!==l||isNaN(parseFloat(r))?"".concat(a,":").concat(r).concat(i):"".concat(a,":").concat(F.default.processRangeValue(r)).concat(i);var g=F.default.appendPrependCommaSeparatedSelectors(w,u,"suffix",!1);t.updateStylesArray(g,l)}})),(0,l.default)(["text_size","text_color","border_width","border_color","border_radius","font","icon_color","letter_spacing"],(function(e){var r=o["".concat(n,"_").concat(e,"_last_edited")],a=F.default.getResponsiveStatus(r)?["tablet","phone"]:[];(0,l.default)(a,(function(r){var a="desktop"===r?"":"_".concat(r),i=o["".concat(n,"_").concat(e).concat(a)],l=t.getBreakpointByDevice(r),u="",s="",d="";if(!("desktop"!==r&&U.default.isHoverMode()&&U.default.isEnabled("".concat(n,"_").concat(e),o)||("text_size"===e&&"desktop"===r&&(i=m),""===i||i===(0,v.default)(f,"".concat(n,"_").concat(e),"")))){switch(e){case"text_size":u="font-size";break;case"text_color":u="color";break;case U.default.getHoverField("letter_spacing"):if(!U.default.isEnabled("".concat(n,"_").concat(e),o))break;u=U.default.getHoverField("letter_spacing")===e?"letter-spacing":e.replace(U.default.hoverSuffix(),"").replace("_","-"),d=L.default.getHoverMode()?"":":hover";break;default:u=e.replace("_","-")}if((0,p.default)(["border_width","border_radius"],e)&&(i=F.default.processRangeValue(i)),(0,p.default)(["letter_spacing",U.default.getHoverField("letter_spacing")],e)&&(i=K.default.sanitizeInputUnit(i)),i!==(0,v.default)(f,"".concat(n,"_").concat(e),"")){s="".concat(u,":").concat(i," !important"),"font"===e&&(s=F.default.setElementFont(i,!0));var c=F.default.appendPrependCommaSeparatedSelectors(w,d,"suffix",!1);t.updateStylesArray(c,s,l),":hover"!==d&&t.updateStylesArray(w,s,l)}}}))}));var k="".concat(n,"_bg"),S={};S["use_".concat(k,"_color_gradient")]="".concat(k,"_use_color_gradient"),S["".concat(k)]="".concat(k,"_color");var E=(0,R.getBackgroundStyle)({basePropName:k,propNameAliases:S,address:C,attrs:o,important:(0,v.default)(e,"css.important",!1)?" !important":"",renderSlug:(0,v.default)(t,"props.type",""),selector:w,selectorSticky:H.default.addStickyToOrderClass(w,W),use_background_video:!1,use_background_pattern:!1,use_background_mask:!1});(0,s.default)(E)||(0,l.default)(E,(function(e){var n=e.selector,r=e.declaration,o=e.device;t.updateStylesArray(n,r,G.default.getBreakpointByDevice(o))}));var M="";(0,l.default)(G.default.getDevicesList(),(function(e){var r=G.default.getBreakpointByDevice(e),a=G.default.getPropertyValue(o,"".concat(n,"_on_hover"),o["".concat(n,"_on_hover")],e,!1,!0),l="left"===G.default.getPropertyValue(o,"".concat(n,"_icon_placement"),o["".concat(n,"_icon_placement")],e,!1,!0),c=l?":before":":after",f=G.default.getPropertyValue(o,"".concat(n,"_icon"),o["".concat(n,"_icon")],e,!1,!0),p=(0,s.default)(f)?"35":F.default.processFontIcon(f),h=G.default.getPropertyValue(o,"".concat(n,"_icon_color"),"",e,!0),_=o["".concat(n,"_use_icon")];if(i&&(_="off"),!("default"===_&&F.default.isNo(b)||u)){var y="et_pb_button"===t.props.type?"custom_padding":"".concat(n,"_custom_padding"),O=G.default.getFieldName(y,e),k=G.default.getAnyValue(o,y,"",!0,e),S=G.default.getDefaultValue(o,O);k=k.split("|"),S=S.split("|");var E=(0,v.default)(k,"1"),C=(0,v.default)(k,"3"),P=(0,v.default)(S,"1"),T=(0,v.default)(S,"3"),A="",B="";E||!P&&!(0,d.default)(P)||(A="1em",B=l?"0.7em":"2em","off"===a&&(A=l?"0.7em":"2em",B=""));var j="",R="";C||!T&&!(0,d.default)(T)||(j="1em",R=l?"2em":"0.7em","off"===a&&(j=l?"2em":"0.7em",R=""));var I=!F.default.isOff(o.button_use_icon)&&F.default.isNo(b)?" !important":"";t.updateStylesArray(w,"padding-left: ".concat(j," ").concat(I,"; padding-right: ").concat(A," ").concat(I,";"),r);var N=F.default.appendPrependCommaSeparatedSelectors(w,":hover","suffix",!1);t.updateStylesArray(N,"padding-left: ".concat(R," ").concat(I,"; padding-right: ").concat(B," ").concat(I,";"),r)}if("off"===_){if(u)return;var L=(0,v.default)(o,"custom_padding","");if("et_pb_button"!==(0,v.default)(t,"props.type","")&&(L=(0,v.default)(o,"".concat(n,"_custom_padding"),"")),(0,s.default)(L))t.updateStylesArray(g,"padding: 0.3em 1em !important;");else{var D=L.split("|");(0,s.default)((0,v.default)(D,"1",""))&&t.updateStylesArray(g,"padding-right: 1em !important;"),(0,s.default)((0,v.default)(D,"3",""))&&t.updateStylesArray(g,"padding-left: 1em !important;")}var V=F.default.appendPrependCommaSeparatedSelectors(w,":after","suffix",!1);t.updateStylesArray(V,"display:none !important;")}else{var U="",z="",q="desktop"!==e&&M!==p?"-".concat(e):"",Y=G.default.getPreviousDevice(e),$=G.default.getValue(o,"".concat(n,"_icon"),"",Y),K=G.default.getValue(o,"".concat(n,"_icon"),"",e),X=G.default.getDefaultValue(o,"".concat(n,"_icon_").concat(e));if("desktop"!==e&&(0,s.default)(K)&&!(0,s.default)(X)&&(q="desktop"===Y||"phone"===e&&(0,s.default)($)?"":"-".concat(Y)),U+=(0,s.default)(h)?"":"color: ".concat(h,";"),"desktop"===e&&x){var Z=H.default.getValue("".concat(n,"_icon_color"),o,h),Q=F.default.appendPrependCommaSeparatedSelectors(w,c,"suffix",!1),J=H.default.addStickyToOrderClass(Q,W);F.default.hasValue(Z)&&h!==Z&&t.updateStylesArray(J,"color: ".concat(Z,";"),r)}if(""!==p){var ee=l?"margin-right":"margin-left",te=l?"right":"left",ne=F.default.isOff(a)&&!l,re=F.default.isOn(a)||ne?"0.3em":"0";if(U+="line-height: inherit;",U+="font-size:inherit !important;","off"!==a){var oe=l?"right":"left";U+="margin-left: ".concat(l?"-1.3em":"-1em","; ").concat(oe,": auto;")}z+="".concat(ee,": ").concat(re,"; ").concat(te,": auto;")}if(l){if("35"!==p){var ae="content: attr(data-icon".concat(q,");"),ie=F.default.appendPrependCommaSeparatedSelectors(w,":after","suffix",!1);t.updateStylesArray(ie,"display: none;",r);var le=F.default.appendPrependCommaSeparatedSelectors(w,":before","suffix",!1);t.updateStylesArray(le,"".concat(ae," font-family: '").concat(F.default.getExtendedIconFontFamily(f),"' !important;"),r),t.updateStylesArray(le,"".concat(ae," font-weight: ").concat(F.default.getExtendedIconFontWeight(f)," !important;"),r)}if(F.default.condition("et_is_builder_plugin_active")){var ue=F.default.appendPrependCommaSeparatedSelectors(w,".et_pb_row","prefix",!0),se=F.default.appendPrependCommaSeparatedSelectors(ue,":hover","suffix",!1);t.updateStylesArray(se,"padding-right: 1em; padding-left: 2em;",r)}}else if("35"!==p){var de="content: attr(data-icon".concat(q,");"),ce=F.default.appendPrependCommaSeparatedSelectors(w,":before","suffix",!1),fe=F.default.appendPrependCommaSeparatedSelectors(w,":after","suffix",!1);t.updateStylesArray(ce,"display: none;",r),t.updateStylesArray(fe,"".concat(de," font-family: '").concat(F.default.getExtendedIconFontFamily(f),"' !important;"),r),t.updateStylesArray(fe,"".concat(de," font-weight: ").concat(F.default.getExtendedIconFontWeight(f)," !important;"),r)}if("off"===a){var pe=l?"right":"left";U+="margin-left: ".concat(l?"-1.3em":".3em","; ").concat(pe,": auto;")}if(U+="off"!==a?"opacity:0;":"opacity:1;",U+="display: inline-block;",z+="off"!==a?"opacity: 1;":"",""!==f){var he=m;U+="font-size:".concat("1.6em",";");var _e=F.default.appendPrependCommaSeparatedSelectors(w,"body.et_button_custom_icon #page-container","prefix",!0),me=F.default.appendPrependCommaSeparatedSelectors(_e,c,"suffix",!1);t.updateStylesArray(me,"font-size:".concat(he,";"),r)}var ge=F.default.appendPrependCommaSeparatedSelectors(w,c,"suffix",!1);if(t.updateStylesArray(ge,U,r),"default"!==o["".concat(n,"_use_icon")]||!F.default.isNo(b)){var be=F.default.appendPrependCommaSeparatedSelectors(w,":hover","suffix",!1),ye=F.default.appendPrependCommaSeparatedSelectors(be,c,"suffix",!1);t.updateStylesArray(ye,z,r)}}M=p}))}}));break;case"form_field":(0,l.default)(E,(function(e,n){var r,a=F.default.condition("et_is_builder_plugin_active"),i=L.default.getHoverMode(),u=(0,v.default)(e,"placeholder",!0),s=(0,v.default)(e,"css.important",""),c=(0,v.default)(e,"css.limited_main",!1),h=a&&c?c:(0,v.default)(e,"css.main","".concat(X," .input")),_=(0,v.default)(e,"css.hover","".concat(X," .input:hover")),m=(0,v.default)(e,"css.focus","".concat(X," .input:focus")),g=(0,v.default)(e,"css.focus_hover","".concat(X," .input:focus:hover")),b=(0,v.default)(e,"css.alternating_background_color","".concat(X)),w=(0,v.default)(e,"css.alternating_background_color_hover","".concat(X)),O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,y.default)(["::placeholder","::-webkit-input-placeholder","::-moz-placeholder","::-ms-input-placeholder"],(function(t){var n=h.indexOf(",")>-1?"".concat(X," .input"):h;return"".concat(n).concat(e).concat(t)}))},k=(0,v.default)(e,"css.placeholder",O()),S=(0,v.default)(e,"css.placeholder_hover",O(":hover")),E=(0,v.default)(e,"css.placeholder_focus",O(":focus")),C=(0,v.default)(e,"css.placeholder_focus_hover",O(":focus:hover")),M=u?"".concat(h,", ").concat(k):h,P=u?"".concat(_,", ").concat(S):_,T=u?"".concat(m,", ").concat(E):m,A=u?"".concat(g,", ").concat(C):g,B=(Oe(r={text_color:{css:"form_text_color",property:"color",selector:M,placeholder:k,responsive:!0,sticky:x}},U.default.getHoverField("text_color"),{css:i?"form_text_color":"form_text_color_hover",property:"color",selector:i?M:P,placeholder:i?k:S}),Oe(r,"focus_text_color",{css:"focus_text_color",property:"color",selector:T,placeholder:E,responsive:!0,sticky:x}),Oe(r,U.default.getHoverField("focus_text_color"),{css:i?"focus_text_color":"focus_text_color_hover",property:"color",selector:i?T:A,placeholder:i?E:C}),Oe(r,"background_color",{css:"background_color",property:"background-color",selector:h,responsive:!0,sticky:x}),Oe(r,"alternating_background_color",{css:"alternating_background_color",property:"background-color",selector:b,responsive:!0,sticky:x}),Oe(r,U.default.getHoverField("alternating_background_color"),{css:i?"alternating_background_color":"alternating_background_color_hover",property:"background-color",selector:i?w:b}),Oe(r,U.default.getHoverField("background_color"),{css:i?"background_color":"background_color_hover",property:"background-color",selector:i?h:_}),Oe(r,"focus_background_color",{css:"focus_background_color",property:"background-color",selector:m,responsive:!0,sticky:x}),Oe(r,U.default.getHoverField("focus_background_color"),{css:i?"focus_background_color":"focus_background_color_hover",property:"background-color",selector:i?m:g}),r);(0,l.default)(B,(function(r,i){var u=(0,v.default)(r,"sticky",!1),c=(0,v.default)(f,"".concat(n,"_").concat(i),""),h=(0,v.default)(o,"".concat(n,"_").concat(i),c),_=u?H.default.getValue("".concat(n,"_").concat(i),o,h):h,m=F.default.hasValue(h)&&h!==c,g=F.default.hasValue(_)&&_!==h;if(g||m){var b=r.property,y=(0,p.default)(s,r.css),w="background-color"===b&&a||y?" !important":"",O=(0,v.default)(e,"css.".concat(r.css),"");if(""===O?O=r.selector:"color"===b&&(O="".concat(O,", ").concat(r.placeholder)),u&&g){var k=H.default.addStickyToOrderClass(O,j);t.updateStylesArray(k,"".concat(b,":").concat(_).concat(w))}if(F.default.hasValue(h)&&(0,d.default)(r.responsive))t.updateStylesArray(O,"".concat(b,":").concat(h).concat(w));else{var S=(0,v.default)(o,"".concat(n,"_").concat(i,"_last_edited"),""),E=F.default.getResponsiveStatus(S)?["desktop","tablet","phone"]:["desktop"];(0,l.default)(E,(function(e){var r="desktop"===e?"":"_".concat(e),l=t.getBreakpointByDevice(e),u=(0,v.default)(o,"".concat(n,"_").concat(i).concat(r),"");("background-color"===b&&a||y)&&(u+=" !important");var s="".concat(b,":").concat(u);t.updateStylesArray(O,s,l)}))}}}))}))}h.push(g)}}};q("fonts"),q("text_shadow"),q("background"),q("text"),(0,l.default)((0,v.default)(r,"borders",{}),(function(e,t){var n="default"===t?"border":"border_".concat(t);q(n,"border")})),q("filters"),q("max_width"),q("margin_padding"),q("button"),q("form_field"),q("box_shadow"),q("animation"),q("image_icon");var Y=(0,E.default)(r,h);(0,l.default)(Y,(function(e,t){q(t)}));var $=(0,g.default)({},this.props),X=(0,g.default)({},this.props.attrs)||{},Z=L.default.getPreviewMode(),Q="desktop"===Z,J=G.default.getBreakpointByDevice(Z);if((0,O.default)($,"module_class")&&"none"!==(0,v.default)($,"attrs.animation_style","none")){var ee=".".concat((0,v.default)($,"module_class"),".et_animated"),te=G.default.getAnyValue(X,"animation_duration","1000ms",!0,Z);if(!(0,s.default)(te)){var ne="animation-duration: ".concat(te);this.updateStylesArray(ee,ne,J)}var re=G.default.getAnyValue(X,"animation_speed_curve","ease-in-out",!0,Z);if(!(0,s.default)(re)){var oe="animation-timing-function: ".concat(re);this.updateStylesArray(ee,oe,J)}var ae=G.default.getAnyValue(X,"animation_delay",(0,v.default)(a,"animation_delay"),!0,Z);if(!(0,s.default)(ae)){var ie="animation-delay: ".concat(ae);this.updateStylesArray(ee,ie,J)}for(var le=(0,v.default)($,"attrs.animation_style","none"),ue=G.default.getAnyValue(X,"animation_intensity_".concat(le),50,!0,Z),se={},ce=isNaN(parseInt(ue))?50:parseInt(ue),fe=["slide","zoom","flip","fold","roll"],pe=!1,_e=!1,me=0;me0?(a&&t.push("!important"),"transform: ".concat(t.join(" "),";")):""},b=["desktop"];!i&&(0,d.default)(this.positionLocations.hover)||(b=["hover"]),!f&&(0,d.default)(this.positionLocations.sticky)||b.push("sticky"),(l||"none"!==h&&u||!(0,d.default)(this.positionLocations.tablet)||!(0,d.default)(this.positionLocations.phone))&&(b.push("tablet"),b.push("phone")),b.forEach((function(t){var r="",u="",d=t;((0,p.default)("phone","tablet",t)&&!l||"hover"===t&&!i)&&(d="desktop");var f=[],g=[];if(_.forEach((function(e){var t=[];t.push(e.substring(0,e.length-1)),t.push(e.substring(e.length-1));var r=function(e,t){var r="transform_".concat(e[0]),o=(0,v.default)({X:0,Y:1,Z:2},e[1]),a=!1,i=(0,v.default)(n,r,!1);return"sticky"===t?(a=(0,v.default)(n,r,!1),i=H.default.getValue(r,n,!1)):"hover"===t?(a=(0,v.default)(n,r,!1),i=(0,v.default)(n,"".concat(r,"__hover"),!1)):"tablet"===t?(a=(0,v.default)(n,r,!1),i=(0,v.default)(n,"".concat(r,"_tablet"),!1)):"phone"===t&&(a=(0,v.default)(n,"".concat(r,"_tablet"),!1),i=(0,v.default)(n,"".concat(r,"_phone"),!1),F.default.hasValue(a)||(a=(0,v.default)(n,r,!1))),!F.default.hasValue(i)&&F.default.hasValue(a)&&(i=a),F.default.hasValue(i)?i.split("|")[o]:""}(t,d);F.default.hasValue(r)&&("origin"===t[0]?("originY"===e&&0===g.length&&g.push("50%"),g.push(r)):("scale"===t[0]&&(r=parseFloat(r)/100),f[e]=r))})),e.positionLocations.hasOwnProperty("".concat(t))){var b=e.positionLocations["".concat(t)];f.hasOwnProperty("translateX")||((0,p.default)(["top_center","bottom_center","center_center"],b)?f.translateX="-50%":"desktop"!==t&&(f.translateX="0px")),f.hasOwnProperty("translateY")||((0,p.default)(["center_left","center_right","center_center"],b)?f.translateY="-50%":"desktop"!==t&&(f.translateY="0px"))}if((0,C.default)(f).length>0||g.length>0){if("none"!==h&&"fade"!==h){var y=he({},f),w=(0,p.default)(["hover","sticky"],t)?"desktop":t,O=G.default.getAnyValue(n,"animation_direction","center",!0,w),k=(0,v.default)(n,"animation_intensity_".concat(h),50),S=isNaN(parseInt(k))?50:parseInt(k),E="et_pb_".concat(h,"_").concat(O,"_").concat(e.props.module_class),M="@keyframes ".concat(E),P=".".concat(e.props.module_class,".et_animated"),T="animation-name: ".concat(E,";"),A="",B="";switch("slide"===h&&"center"===O&&(h="zoom"),h){case"zoom":var j=.01*(100-S);y.scaleX=j*parseFloat((0,v.default)(f,"scaleX",1)),y.scaleY=j*parseFloat((0,v.default)(f,"scaleY",1)),B=m(y),r=m(f),u=0===g.length?"transform-origin: ".concat(O,";"):"transform-origin:".concat(g.join(" "),";"),A="0%{".concat(B,"}"),A+="100%{opacity:1;".concat(r,"}"),T+="".concat(u);break;case"slide":var x=(0,v.default)(f,"translateY","0%"),R=(0,v.default)(f,"translateX","0%");switch(O){case"top":y.translateY="calc(".concat(-2*S,"% + ").concat(x,")"),y.translateX=R;break;case"bottom":y.translateY="calc(".concat(2*S,"% + ").concat(x,")"),y.translateX=R;break;case"left":y.translateX="calc(".concat(-2*S,"% + ").concat(R,")"),y.translateY=x;break;case"right":y.translateX="calc(".concat(2*S,"% + ").concat(R,")"),y.translateY=x}B=m(y),r=m(f),A="0%{".concat(B,"}"),A+="100%{opacity:1;".concat(r,"}");break;case"bounce":var I=(0,v.default)(f,"translateX","0px"),N=(0,v.default)(f,"translateY","0px");switch(O){case"center":var L=parseFloat((0,v.default)(f,"scaleX",1)),D=parseFloat((0,v.default)(f,"scaleY",1));A="from, 20%, 40%, 60%, 80%, to {animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);}",y.scaleX=.3*L,y.scaleY=.3*D,A+="0%{".concat(m(y),"}"),y.scaleX=1.1*L,y.scaleY=1.1*D,A+="20%{".concat(m(y),"}"),y.scaleX=.9*L,y.scaleY=.9*D,A+="40%{".concat(m(y),"}"),y.scaleX=1.03*L,y.scaleY=1.03*D,A+="60%{".concat(m(y),"}"),y.scaleX=.97*L,y.scaleY=.97*D,A+="80%{".concat(m(y),"}"),r=m(f),A+="100%{opacity: 1;".concat(r,"}");break;case"top":A="from, 60%, 75%, 90%, to {animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);}",y.translateY="calc(-200px + ".concat(N,")"),A+="0%{".concat(m(y),"}"),y.translateY="calc(25px + ".concat(N,")"),A+="60%{".concat(m(y),"}"),y.translateY="calc(-10px + ".concat(N,")"),A+="75%{".concat(m(y),"}"),y.translateY="calc(5px + ".concat(N,")"),A+="90%{".concat(m(y),"}"),r=m(f),A+="100%{opacity: 1;".concat(r,"}");break;case"bottom":A="from, 60%, 75%, 90%, to {animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);}",y.translateY="calc(200px + ".concat(N,")"),A+="0%{".concat(m(y),"}"),y.translateY="calc(-25px + ".concat(N,")"),A+="60%{".concat(m(y),"}"),y.translateY="calc(10px + ".concat(N,")"),A+="75%{".concat(m(y),"}"),y.translateY="calc(-5px + ".concat(N,")"),A+="90%{".concat(m(y),"}"),r=m(f),A+="100%{opacity: 1;".concat(r,"}");break;case"left":A="from, 60%, 75%, 90%, to {animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);}",y.translateX="calc(-200px + ".concat(I,")"),A+="0%{".concat(m(y),"}"),y.translateX="calc(25px + ".concat(I,")"),A+="60%{".concat(m(y),"}"),y.translateX="calc(-10px + ".concat(I,")"),A+="75%{".concat(m(y),"}"),y.translateX="calc(5px + ".concat(I,")"),A+="90%{".concat(m(y),"}"),r=m(f),A+="100%{opacity: 1;".concat(r,"}");break;case"right":A="from, 60%, 75%, 90%, to {animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);}",y.translateX="calc(200px + ".concat(I,")"),A+="0%{".concat(m(y),"}"),y.translateX="calc(-25px + ".concat(I,")"),A+="60%{".concat(m(y),"}"),y.translateX="calc(10px + ".concat(I,")"),A+="75%{".concat(m(y),"}"),y.translateX="calc(-5px + ".concat(I,")"),A+="90%{".concat(m(y),"}"),r=m(f),A+="100%{opacity: 1;".concat(r,"}")}break;case"flip":var V=Math.ceil(.9*S);switch(y.perspective="2000px",O){default:case"top":V+=parseFloat((0,v.default)(f,"rotateX",0)),y.rotateX="".concat(V,"deg");break;case"bottom":V*=-1,V+=parseFloat((0,v.default)(f,"rotateX",0)),y.rotateX="".concat(V,"deg");break;case"left":V*=-1,V+=parseFloat((0,v.default)(f,"rotateY",0)),y.rotateY="".concat(V,"deg");break;case"right":V+=parseFloat((0,v.default)(f,"rotateY",0)),y.rotateY="".concat(V,"deg")}B=m(y),r=m(f),A="0%{".concat(B,"}"),A+="100%{opacity:1;".concat(r,"}");break;case"fold":var W=Math.ceil(.9*S);switch(y.perspective="2000px",O){case"top":W*=-1,W+=parseFloat((0,v.default)(f,"rotateX",0)),y.rotateX="".concat(W,"deg");break;case"bottom":W+=parseFloat((0,v.default)(f,"rotateX",0)),y.rotateX="".concat(W,"deg");break;case"left":W+=parseFloat((0,v.default)(f,"rotateY",0)),y.rotateY="".concat(W,"deg");break;default:W*=-1,W+=parseFloat((0,v.default)(f,"rotateY",0)),y.rotateY="".concat(W,"deg")}B=m(y),r=m(f),A="0%{".concat(B,"}"),A+="100%{opacity:1;".concat(r,"}"),u=0===g.length?"transform-origin: ".concat(O,";"):"transform-origin:".concat(g.join(" "),";"),T+="".concat(u);break;case"roll":var U=parseFloat((0,v.default)(f,"rotateZ",0)),z=Math.ceil(3.6*S);y.rotateZ="".concat("bottom"===O||"right"===O?-1*z+U:z+U,"deg"),B=m(y),r=m(f),A="0%{".concat(B,"}"),A+="100%{opacity:1;".concat(r,"}"),u=0===g.length?"transform-origin: ".concat(O,";"):"transform-origin:".concat(g.join(" "),";"),T+="".concat(u)}F.default.hasValue(A)&&(e.updateStylesArray(M,A,e.getBreakpointByDevice(t)),e.updateStylesArray(P,T,e.getBreakpointByDevice(t)))}Object.keys(f).length>0&&""===r&&(r=m(f)),g.length>0&&""===u&&(a&&g.push("!important"),u="transform-origin:".concat(g.join(" "),";"));var q="sticky"===t?H.default.addStickyToSelectors(o,c):o;e.updateStylesArray(q,r+u,e.getBreakpointByDevice(t));var Y=[];F.default.hasValue(f.translateX)&&Y.push("translateX(".concat(f.translateX,")")),F.default.hasValue(f.translateY)&&Y.push("translateY(".concat(f.translateY,")")),0===Y.length&&Y.push("none"),e.updateStylesArray("".concat(q,".et_pb_hovered,").concat(q,".et-fb-dragged,").concat(q,".et_pb_hovered_child"),"transform:".concat(Y.join(" "),";").concat(u,"transition:none;"),e.getBreakpointByDevice(t)),"sticky"!==t&&H.default.isStickyModule(s,n)&&(e.hasTransformInStickyModule="on")}}))}}},{key:"processPosition",value:function(){var e=this,t=ke(this),n=(0,v.default)(t,"advanced_common.position_fields",{}),r=(0,v.default)(t,"advanced_common.z_index",{}),o=(0,v.default)(this,"props.attrs",{}),a=(0,v.default)(this,"props.module_address",""),i=H.default.isStickyModule(a,o),l=H.default.canHaveStickyStyle(a,o);if(this.positionLocations={},!1!==r||!1!==n){var u=!1,s=!1,c=["desktop"];if(!1!==r){var f=(0,v.default)(r,"default",""),h=(0,v.default)(r,"css.main","%%order_class%%"),_=!1!==(0,v.default)(r,"important",!1)?" !important":"";c=["desktop"],U.default.isHoverMode()&&U.default.isEnabled("z_index",o)&&(c=["hover"]),F.default.getResponsiveStatus((0,v.default)(o,"z_index_last_edited",!1))&&(c=[].concat(de(c),["tablet","phone"])),l&&(c=[].concat(de(c),["sticky"])),c.forEach((function(t){var n=(0,re.anyOption)(o,"z_index",f,t,!1);if("sticky"===t){var r=(0,re.anyOption)(o,"z_index",f,"desktop",!1);h=H.default.addStickyToSelectors(h,i),n=H.default.getValue("z_index",o,r),_=" !important"}if(!F.default.hasValue(n))return!1;e.updateStylesArray(h,"z-index: ".concat(n).concat(_,";"),e.getBreakpointByDevice(t)),u=!0}))}if(!1!==n){var m=(0,v.default)(n,"css.main",this.getMainElementSelector()),g=(0,v.default)(n,"default","none"),b=!1!==(0,v.default)(n,"important",!1)?" !important":"",y="top_left";c=["desktop"],U.default.isHoverMode()&&U.default.isEnabled("positioning",o)&&(c=["hover"]),l&&(c=[].concat(de(c),["sticky"])),F.default.getResponsiveStatus((0,v.default)(o,"positioning_last_edited",!1))&&(c=[].concat(de(c),["tablet","phone"]));var w=(0,re.allActiveValues)(o,"positioning",g,!0);c.forEach((function(t){var n=w["".concat(t)],r=(0,re.anyDefault)(o,"positioning",g,t),a=(0,p.default)(["fixed","absolute"],n)||"desktop"!==t?" !important":b,l=n;if("none"===n?(l="relative",a=" !important",e.positionLocations["".concat(t)]="default"):e.positionLocations["".concat(t)]=(0,re.anyOption)(o,"position_origin".concat((0,re.positionSuffix)(n)),"top_left",t,!0),r!==l){var u="sticky"===t?H.default.addStickyToSelectors(m,i):m;e.updateStylesArray(u,"position: ".concat(l).concat(a,";"),e.getBreakpointByDevice(t)),s=!0}}));var O={horizontal:F.default.getResponsiveStatus((0,v.default)(o,"horizontal_offset_last_edited",!1)),vertical:F.default.getResponsiveStatus((0,v.default)(o,"vertical_offset_last_edited",!1))},k={horizontal:U.default.isHoverMode()&&U.default.isEnabled("horizontal_offset",o),vertical:U.default.isHoverMode()&&U.default.isEnabled("vertical_offset",o)},S={horizontal:l&&H.default.isEnabled("horizontal_offset",o),vertical:l&&H.default.isEnabled("vertical_offset",o)};if(O.horizontal||O.vertical||k.horizontal||k.vertical||S.horizontal||S.vertical){var E=w.desktop;y="none"===E?"default":(0,re.anyOption)(o,"position_origin".concat((0,re.positionSuffix)(E)),"top_left","desktop",!0)}(O.horizontal||O.vertical)&&((0,d.default)(this.positionLocations.tablet)&&(this.positionLocations.tablet=y),(0,d.default)(this.positionLocations.phone)&&(this.positionLocations.phone=y)),(k.horizontal||k.vertical)&&(0,d.default)(this.positionLocations.hover)&&(this.positionLocations.hover=y,delete this.positionLocations.desktop),(S.horizontal||S.vertical&&(0,d.default)(this.positionLocations.sticky))&&(this.positionLocations.sticky=y);var M=(0,C.default)(this.positionLocations);M.length>0&&M.forEach((function(t){var n=e.positionLocations["".concat(t)],r="sticky"===t?H.default.addStickyToSelectors(m,i):m,a=e.replaceOrderClass(r);if(L.default.filterScrollCSS((function(e){return!(e.selector===a&&e.view===t)})),"default"===n)return e.updateStylesArray(r,"top:0px; right:auto; bottom:auto; left:0px;",e.getBreakpointByDevice(t)),L.default.pushScrollCSS({selector:a,property:"top",value:"notFixed",view:t}),!1;["horizontal","vertical"].forEach((function(i){var l="".concat(i,"_offset"),u="hover"===t&&k["".concat(i)],s="sticky"===t&&S["".concat(i)],d=(0,p.default)(["tablet","phone"],t)&&O["".concat(i)],c=n.split("_"),f=d?t:"desktop";u?f="hover":s&&(f="sticky");var h=(0,re.anyOption)(o,l,"0px",f,!0),_="left",m="right";"horizontal"===i?"center"===c[1]?h="50%":"right"===c[1]&&(_="right",m="left"):(_="top",m="bottom","center"===c[0]?h="50%":"bottom"===c[0]&&(_="bottom",m="top"));var g="vh"===K.default.getUnit(h)?"".concat((0,K.vhToPx)(F.default.$topWindow().height(),parseFloat(h)),"px"):h,b=w["".concat(t)];if((0,re.inFullHeightIframe)()&&(0,p.default)(["top","bottom"],_)){var y="fixed"===b?h:"notFixed";L.default.pushScrollCSS({selector:a,property:_,value:y,view:t}),"fixed"!==b&&e.updateStylesArray(r,"".concat(_,": ").concat(g,";"),e.getBreakpointByDevice(t))}else{if("fixed"===b&&"top"===_){var v=F.default.getAdminBarHeight();v>0&&(g="calc(".concat(g," + ").concat(v,"px)"))}e.updateStylesArray(r,"".concat(_,": ").concat(g,";"),e.getBreakpointByDevice(t))}e.updateStylesArray(r,"".concat(m,": auto;"),e.getBreakpointByDevice(t))}))}))}!u||!1!==n&&s||this.updateStylesArray("%%order_class%%","position: relative;")}}},{key:"processBoxShadow",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=(0,g.default)({},this.props.attrs)||{},r=U.default.isHoverMode(),o=G.default.getDevicesList(),a=(0,v.default)(this,"props.module_address",""),i=(0,v.default)(this,"props.wrapperSettings.order_class_wrapper",!1),u=!i&&H.default.isStickyModule(a,n),d=H.default.canHaveStickyStyle(a,n),c=function(t){return t.split(",").map((function(e){return e.trim()})).map((function(t){return e.replaceOrderClass(t)}))},f=function(t,a,i){var c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],f=a?"!important":"",p=(0,s.default)(c)?o:c,h="";if((0,l.default)(p,(function(o){var a=(0,te.getStyleFromAttrs)(n,i,r,o);if(!(0,s.default)(a)&&"none"!==a&&a!==h){h=a;var l=e.getBreakpointByDevice(o);e.updateStylesArray(t,"box-shadow: ".concat(a," ").concat(f,";"),l)}})),d){var _=(0,te.getStyleFromAttrs)(n,i,!1,"sticky"),m=H.default.addStickyToOrderClass(t,u);(0,s.default)(_)||"none"===_||e.updateStylesArray(m,"box-shadow: ".concat(_," ").concat(f,";"))}},h=function(t,a){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",f=arguments.length>3&&void 0!==arguments[3]&&arguments[3],p=arguments.length>4&&void 0!==arguments[4]&&arguments[4],h=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],_=a?"!important":"",m=(0,s.default)(h)?o:h,g=!(0,s.default)(n.background_video_mp4)||!(0,s.default)(n.background_video_webm),b="";if((0,l.default)(m,(function(o){var a=(0,te.getStyleFromAttrs)(n,i,r,o),l=a.search("inset")>-1,u=c(t),d=u.map((function(e){return"".concat(e,">.box-shadow-overlay, ").concat(e,".et-box-shadow-no-overlay")})).join(", ");if(!(0,s.default)(a)&&"none"!==a&&a!==b){b=a;var h=e.getBreakpointByDevice(o);!p&&(l||f)||g?(setTimeout((function(e){return u.map(et_pb_box_shadow_apply_overlay)}),0),e.updateStylesArray(t,"box-shadow: none ".concat(_,";"),h),e.updateStylesArray(d,"box-shadow: ".concat(a," ").concat(_,";"),h)):(e.updateStylesArray(d,"box-shadow: none ".concat(_,";"),h),e.updateStylesArray(t,"box-shadow: ".concat(a," ").concat(_,";"),h))}})),d){var y=(0,te.getStyleFromAttrs)(n,i,!1,"sticky"),v=y.search("inset")>-1,w=H.default.addStickyToOrderClass(t,u),O=c(w),k=O.map((function(e){return"".concat(e,">.box-shadow-overlay, ").concat(e,".et-box-shadow-no-overlay")})).join(", ");(0,s.default)(y)||"none"===y||(!p&&(v||f)||g?(e.updateStylesArray(w,"box-shadow: none ".concat(_,";")),e.updateStylesArray(k,"box-shadow: ".concat(y," ").concat(_,";"))):(e.updateStylesArray(k,"box-shadow: none ".concat(_,";")),e.updateStylesArray(w,"box-shadow: ".concat(y," ").concat(_,";"))))}},_=""!==t?t:this.props.type;switch(_){case"et_pb_section":(0,l.default)(o,(function(t){var r=(0,te.getStyleFromAttrs)(n,"",!1,t);if(!(0,s.default)(r)&&"none"!==r){var o=e.getBreakpointByDevice(t);r.search("inset")<0&&e.updateStylesArray("%%order_class%%","z-index: 10;",o),h("%%order_class%%",!1,void 0,void 0,!0,[t])}}));break;case"et_pb_accordion_item":f("%%order_class%%",!0);break;case"et_pb_video_slider":h("%%order_class%%>.et_pb_slider, %%order_class%%>.et_pb_carousel .et_pb_carousel_item");break;case"et_pb_counter":h("%%order_class%% .et_pb_counter_container",!0);break;case"et_pb_tabs":if((0,l.default)(o,(function(t){var r=(0,te.getStyleFromAttrs)(n);if(!(0,s.default)(r)&&"none"!==r){var o=e.getBreakpointByDevice(t),a=r.search("inset")>-1?"%%order_class%% .et-pb-active-slide, %%order_class%% .et_pb_active_content":"%%order_class%%";e.updateStylesArray(a,"box-shadow: ".concat(r,";"),o)}})),d){var m=(0,te.getStyleFromAttrs)(n,"",!1,"sticky");if(!(0,s.default)(m)&&"none"!==m){var b=m.search("inset")>-1?H.default.addStickyToOrderClass("%%order_class%% .et-pb-active-slide, %%order_class%% .et_pb_active_content",u):H.default.addStickyToOrderClass("%%order_class%%",u);this.updateStylesArray(b,"box-shadow: ".concat(m,";"))}}break;case"et_pb_blog":"off"===(0,v.default)(n,"fullwidth")?h("%%order_class%% article.et_pb_post"):h("%%order_class%%"),this.processBoxShadow("blog");break;default:var y=""!==t?"et_pb_".concat(t):this.props.type,w=(0,v.default)(ke(this),"advanced_common.box_shadow");w&&(0,l.default)(w,(function(e,r){if(""===t||"default"!==r){var o="default"===r?"":"_".concat(r),a=(0,v.default)(e,"css.main","%%order_class%%"),i=(0,v.default)(e,"css.important",!1),u=(0,v.default)(e,"show_if",{}),d=(0,v.default)(e,"show_if_not",{}),c=D.default.getComponentDefaults(y);if(!(0,s.default)(u)){var _=!1;if((0,l.default)(u,(function(e,t){(0,v.default)(n,t,(0,v.default)(c,t,""))!==e&&(_=!0)})),_)return}if(!(0,s.default)(d)){var m=!1;if((0,l.default)(d,(function(e,t){(0,v.default)(n,t,(0,v.default)(c,t,""))===e&&(m=!0)})),m)return}(0,p.default)(["always","inset"],(0,v.default)(e,"css.overlay"))?h(a,i,o):f(a,i,o)}}))}}},{key:"processHoverTransitions",value:function(){var e=this,t=this.props,n=t.type,r=t.attrs,o=this.props.module_address,a=-1===this.allAttrsJson.indexOf(U.default.hoverSuffix()),i=-1===this.allAttrsJson.indexOf(H.default.stickySuffix());if(!a||!i){var u=(0,g.default)({},r)||{},d=(0,v.default)(ETBuilderBackend,"transitionsMap.".concat(n),{}),c=[],f=[];if((0,l.default)(d,(function(e,t){var n=U.default.isEnabled(t,u),r=H.default.isEnabled(t,u),o=F.default.isOn((0,v.default)(u,"sticky_transition"));(n||o&&r)&&(c=(0,S.default)([].concat(de(c),de((0,C.default)(e)))),f=(0,S.default)([].concat(de(f),de((0,m.default)((0,k.default)(e))))))})),!(0,s.default)(c)){var h=function(e,t,n,r){return"desktop"!==r&&G.default.isResponsiveEnabled(e,t)?G.default.getAnyValue(u,"".concat(t,"_").concat(r),n,!0):n},_=(0,v.default)(u,"hover_transition_duration","300ms"),b=(0,v.default)(u,"hover_transition_speed_curve","ease"),y=(0,v.default)(u,"hover_transition_delay","0ms"),w=(0,v.default)(this.props,"parentAttrs",{}),O=(0,v.default)(w,"hover_transition_duration","300ms"),E=(0,v.default)(w,"hover_transition_speed_curve","ease"),M=(0,v.default)(w,"hover_transition_delay","0ms");(0,l.default)(G.default.getDevicesList(),(function(t){var n=h(u,"hover_transition_duration",_,t),r=h(u,"hover_transition_speed_curve",b,t),a=h(u,"hover_transition_delay",y,t);n="300ms"===n?h(w,"hover_transition_duration",O,t):n,r="ease"===r?h(w,"hover_transition_speed_curve",E,t):r,a="0ms"===a?h(w,"hover_transition_delay",M,t):a,(0,H.isStickyModule)(o,u)&&(0,p.default)(c,"width")&&!(0,p.default)(c,"left")&&c.push("left");var i=c.reduce((function(e,t){return[].concat(de(e),["".concat(t," ").concat(n," ").concat(r," ").concat(a)])}),[]),l="transition: ".concat(i.join(", "),";");e.updateStylesArray(f.join(", "),l,G.default.getBreakpointByDevice(t))}))}}}},{key:"setElementFont",value:function(e,t,n){var r="";if(""===e||(0,d.default)(e))return"";var o=e.split("|"),a=(void 0===n?"||||||||":n).split("|");if(!(0,s.default)(o)){var i=o[0],l=""!==o[1]?o[1]:"",u="on"===o[2],c="on"===o[3],f="on"===o[4],p="on"===o[5],h="on"===o[6],_=(0,d.default)(o[7])?"":o[7],m=(0,d.default)(o[8])?"":o[8],g=""!==a[1]?a[1]:"",b="on"===a[2],y="on"===a[3],v="on"===a[4],w="on"===a[5],O="on"===a[6];l="on"===l?"700":l,g="on"===g?"700":g,""!==i&&"Default"!==i&&(F.default.maybeRequestFont(i),r+=this.setElementFontFamily(i,t)),r+=this.setElementFontStyle("font-weight",""!==g,""!==l,"normal",l,t),r+=this.setElementFontStyle("font-style",b,u,"normal","italic",t),r+=this.setElementFontStyle("text-transform",y,c,"none","uppercase",t),r+=this.setElementFontStyle("text-decoration",v,f,"none","underline",t),r+=this.setElementFontStyle("font-variant",w,p,"none","small-caps",t),r+=this.setElementFontStyle("text-decoration",O,h,"none","line-through",t),r+=this.setElementFontStyle("text-decoration-style",!1,""!==m,"solid",m,t),r+=this.setElementFontStyle("-webkit-text-decoration-color",!1,""!==_,"",_,t),r=(r+=this.setElementFontStyle("text-decoration-color",!1,""!==_,"",_,t)).trim()}return r}},{key:"setElementFontStyle",value:function(e,t,n,r,o,a){var i="",l=a?" !important":"";return n&&!t?i="".concat(e,":").concat(o).concat(l,";"):!n&&t&&(i="".concat(e,":").concat(r).concat(l,";")),i}},{key:"setElementFontFamily",value:function(e,t){var n,r,o=(0,O.default)(ETBuilderBackend.customFonts,e,!1)?ETBuilderBackend.customFonts:ETBuilderBackend.et_builder_fonts_data,a=t?" !important":"",i=ETBuilderBackend.removedFonts,l="",u="";return r=void 0!==o[e]&&void 0!==o[e].add_ms_version?"'".concat(e," MS', "):"",(0,v.default)(i,e,!1)&&(l=i[e].styles,e=i[e].parent_font),""!==l&&(u=" font-weight:".concat(l,";")),n=void 0!==o[e]?this.getWebsafeFontStack(o[e].type):"serif","".concat("font-family:'").concat(e,"',").concat(r).concat(n).concat(a,";").concat(u)}},{key:"getWebsafeFontStack",value:function(e){var t=void 0!==e?e:"sans-serif",n=t;switch(t){case"sans-serif":n="Helvetica, Arial, Lucida, sans-serif";break;case"serif":n='Georgia, "Times New Roman", serif';break;case"cursive":n="cursive"}return n}},{key:"processAdditionalCSS",value:function(){var e=this;if(void 0!==this.props.additional_css&&!(0,s.default)(this.props.additional_css)){var t=this.props.additional_css;(0,l.default)(t,(function(t){(0,s.default)(t)||(0,l.default)(t,(function(t){if(void 0!==t.selector&&void 0!==t.declaration){var n=(0,d.default)(t.declaration)?"":t.declaration.split("||").join("");e.updateStylesArray(t.selector,n,e.getBreakpointByDevice(t.device))}}))}))}}},{key:"getBreakpointByDevice",value:function(e){switch(e){case"desktop_only":return"min_width_981";case"tablet":return"max_width_980";case"tablet_only":return"768_980";case"phone":return"max_width_767";default:return"general"}}},{key:"maybeWrapStyleSelector",value:function(e){if(!F.default.condition("is_custom_post_type")&&!F.default.isLimitedMode())return e;var t=this.getOrderClass(),n=".et[_-](?:pb|fb)[_-]|".concat(t),r=new RegExp("^(html[^ ]*)?(?: *)(body[^ ]*)?(?: *)(.*?)(?: *)([^ ]*(?:".concat(n,").+)")),o=e.match(r);if(!o)return e;var a=se(o,5),l=(a[0],a[1]),u=a[2],s=a[3],d=a[4];return u||(u=""),ETBuilderBackend.css.wrapperPrefix===s&&(u+=s,s=""),(0,i.default)([l,"".concat(u).concat(ETBuilderBackend.css.wrapperPrefix),s,ETBuilderBackend.css.layoutPrefix,d]).join(" ")}},{key:"updateStylesArray",value:function(e,t,n){var r=this;K.default.sanitizeCSSSelector(e).map((function(e){return r.updateStyles(e,t,n)}))}},{key:"updateStyles",value:function(e,t,n){var r=this;if(!(0,d.default)(e)){var o=this.props.type;if((0,s.default)(o)||(e=(0,x.applyFilters)("".concat(o.split("_").join("."),".css.selector"),e,o)),n=void 0!==n?n:"general",e=this.replaceOrderClass(e),F.default.condition("is_wrapped_styles")&&!(0,d.default)(e)){var a=e.split(",");e=(0,y.default)(a,(function(e){return e=(0,f.default)(e),r.maybeWrapStyleSelector(e)})).join(", ")}(0,s.default)(o)||(e=(0,x.applyFilters)("".concat(o.split("_").join("."),".processed.css.selector"),e,o)),void 0===this.processed_css_object[n]&&(this.processed_css_object[n]={}),void 0===this.processed_css_object[n][e]?this.processed_css_object[n][e]=[t]:this.processed_css_object[n][e].push(t)}}},{key:"constructCSSString",value:function(e){var t="";if(X.default.processAdvancedCSS(this),this.processAdvancedCSS(e),Z.default.processAdvancedCSS(this),Q.default.processAdvancedCSS(this),J.default.processAdvancedCSS(this),ee.default.processAdvancedCSS(this),this.processCustomCSS(),this.processAdditionalCSS(),!(0,s.default)(this.processed_css_object)){var n=this.processed_css_object;(0,l.default)(Ee,(function(e,r){void 0!==n[e[0]]&&("general"!==e[0]&&(t+="".concat(e[1],"{")),(0,l.default)(n[e[0]],(function(e,n){(0,s.default)(e)||(t+="".concat(n,"{"),(0,l.default)(e,(function(e,n){void 0!==e&&(e=e.trim(),t+=e,e.length-1!==e.lastIndexOf(";")&&(t+=";"))})),t+="}")})),"general"!==e[0]&&(t+="} "))}),this)}this.freeFormCSS&&(t+=this.freeFormCSS);var r=L.default.getPreviewMode();return(0,W.renderVhAsPx)(t,r)}},{key:"render",value:function(){this.processed_css_object={},this.allAttrsJson=JSON.stringify(this.props.attrs);var e=this.constructCSSString(this.props.dynamic.background_image.value);return(0,s.default)(e)?null:o.default.createElement("style",{type:"text/css",className:"et-fb-custom-css-output","data-sticky-has-transform":this.hasTransformInStickyModule},e)}}],n&&me(t.prototype,n),r&&me(t,r),Object.defineProperty(t,"prototype",{writable:!1}),ne}(o.default.Component);Pe.propTypes=Me,Pe.defaultProps=Ce;var Te=(0,ne.withDynamicContent)({background_image:{attribute:"background_image",type:"image"},background_image_tablet:{attribute:"background_image_tablet",type:"image"},background_image_phone:{attribute:"background_image_phone",type:"image"},background_image__hover:{attribute:"background_image__hover",type:"image"},background_image__sticky:{attribute:"background_image__sticky",type:"image"},button_bg_image:{attribute:"button_bg_image",type:"image"},button_bg_image_tablet:{attribute:"button_bg_image_tablet",type:"image"},button_bg_image_phone:{attribute:"button_bg_image_phone",type:"image"},button_bg_image__hover:{attribute:"button_bg_image__hover",type:"image"},button_bg_image__sticky:{attribute:"button_bg_image__sticky",type:"image"}},(function(e){return e.attrs||Ce.attrs}))(Pe);t.default=Te},function(e,t,n){var r=n(171)(Object.keys,Object);e.exports=r},function(e,t,n){var r=n(44)(n(23),"DataView");e.exports=r},function(e,t,n){var r=n(61),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,l=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[l]=n:delete e[l]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r,o=n(203),a=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!a&&a in e}},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(44)(n(23),"Promise");e.exports=r},function(e,t,n){var r=n(36),o=n(30);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},function(e,t,n){var r=n(36),o=n(100),a=n(30),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&o(e.length)&&!!i[r(e)]}},function(e,t,n){var r=n(149);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(230),o=n(77),a=n(99);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||o),string:new r}}},function(e,t,n){var r=n(231),o=n(232),a=n(233),i=n(234),l=n(235);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1}},function(e,t,n){var r=n(78);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(79);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(79);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(79);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(79);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t,n){var r=n(108),o=n(118);e.exports=function(e,t,n,a){var i=n.length,l=i,u=!a;if(null==e)return!l;for(e=Object(e);i--;){var s=n[i];if(u&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i=200){var _=t?null:l(e);if(_)return u(_);f=!1,d=i,h=new r}else h=t?[]:p;e:for(;++s-1}},function(e,t,n){var r=n(46),o=n(87);e.exports=function(e){return r((function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,l=a>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,l&&o(n[0],n[1],l)&&(i=a<3?void 0:i,a=1),t=Object(t);++r0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(179),o=n(310),a=n(80);e.exports=function(e){return r(e,a,o)}},function(e,t,n){var r=n(122);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},function(e,t,n){"use strict";e.exports=b;var r=n(703),o=n(488),a=n(267),i=n(702),l=n(704),u=n(705),s=n(706),d=n(707),c=n(583),f=n(708),p=n(584),h=n(710),_=n(711),m=n(489),g=n(1036);function b(e){r.call(this),this.options=e||{},this._tokenStream=null}b.DEFAULT_TYPE=0,b.COMBINATOR_TYPE=1,b.MEDIA_FEATURE_TYPE=2,b.MEDIA_QUERY_TYPE=3,b.PROPERTY_NAME_TYPE=4,b.PROPERTY_VALUE_TYPE=5,b.PROPERTY_VALUE_PART_TYPE=6,b.SELECTOR_TYPE=7,b.SELECTOR_PART_TYPE=8,b.SELECTOR_SUB_PART_TYPE=9,b.prototype=function(){var e,t=new r,n={__proto__:null,constructor:b,DEFAULT_TYPE:0,COMBINATOR_TYPE:1,MEDIA_FEATURE_TYPE:2,MEDIA_QUERY_TYPE:3,PROPERTY_NAME_TYPE:4,PROPERTY_VALUE_TYPE:5,PROPERTY_VALUE_PART_TYPE:6,SELECTOR_TYPE:7,SELECTOR_PART_TYPE:8,SELECTOR_SUB_PART_TYPE:9,_stylesheet:function(){var e,t,n,r=this._tokenStream;for(this.fire("startstylesheet"),this._charset(),this._skipCruft();r.peek()===m.IMPORT_SYM;)this._import(),this._skipCruft();for(;r.peek()===m.NAMESPACE_SYM;)this._namespace(),this._skipCruft();for(n=r.peek();n>m.EOF;){try{switch(n){case m.MEDIA_SYM:this._media(),this._skipCruft();break;case m.PAGE_SYM:this._page(),this._skipCruft();break;case m.FONT_FACE_SYM:this._font_face(),this._skipCruft();break;case m.KEYFRAMES_SYM:this._keyframes(),this._skipCruft();break;case m.VIEWPORT_SYM:this._viewport(),this._skipCruft();break;case m.DOCUMENT_SYM:this._document(),this._skipCruft();break;case m.SUPPORTS_SYM:this._supports(),this._skipCruft();break;case m.UNKNOWN_SYM:if(r.get(),this.options.strict)throw new o("Unknown @ rule.",r.LT(0).startLine,r.LT(0).startCol);for(this.fire({type:"error",error:null,message:"Unknown @ rule: "+r.LT(0).value+".",line:r.LT(0).startLine,col:r.LT(0).startCol}),e=0;r.advance([m.LBRACE,m.RBRACE])===m.LBRACE;)e++;for(;e;)r.advance([m.RBRACE]),e--;break;case m.S:this._readWhitespace();break;default:if(!this._ruleset())switch(n){case m.CHARSET_SYM:throw t=r.LT(1),this._charset(!1),new o("@charset not allowed here.",t.startLine,t.startCol);case m.IMPORT_SYM:throw t=r.LT(1),this._import(!1),new o("@import not allowed here.",t.startLine,t.startCol);case m.NAMESPACE_SYM:throw t=r.LT(1),this._namespace(!1),new o("@namespace not allowed here.",t.startLine,t.startCol);default:r.get(),this._unexpectedToken(r.token())}}}catch(e){if(!(e instanceof o)||this.options.strict)throw e;this.fire({type:"error",error:e,message:e.message,line:e.line,col:e.col})}n=r.peek()}n!==m.EOF&&this._unexpectedToken(r.token()),this.fire("endstylesheet")},_charset:function(e){var t,n,r,o=this._tokenStream;o.match(m.CHARSET_SYM)&&(n=o.token().startLine,r=o.token().startCol,this._readWhitespace(),o.mustMatch(m.STRING),t=o.token().value,this._readWhitespace(),o.mustMatch(m.SEMICOLON),!1!==e&&this.fire({type:"charset",charset:t,line:n,col:r}))},_import:function(e){var t,n,r,o=this._tokenStream;o.mustMatch(m.IMPORT_SYM),n=o.token(),this._readWhitespace(),o.mustMatch([m.STRING,m.URI]),t=o.token().value.replace(/^(?:url\()?["']?([^"']+?)["']?\)?$/,"$1"),this._readWhitespace(),r=this._media_query_list(),o.mustMatch(m.SEMICOLON),this._readWhitespace(),!1!==e&&this.fire({type:"import",uri:t,media:r,line:n.startLine,col:n.startCol})},_namespace:function(e){var t,n,r,o,a=this._tokenStream;a.mustMatch(m.NAMESPACE_SYM),t=a.token().startLine,n=a.token().startCol,this._readWhitespace(),a.match(m.IDENT)&&(r=a.token().value,this._readWhitespace()),a.mustMatch([m.STRING,m.URI]),o=a.token().value.replace(/(?:url\()?["']([^"']+)["']\)?/,"$1"),this._readWhitespace(),a.mustMatch(m.SEMICOLON),this._readWhitespace(),!1!==e&&this.fire({type:"namespace",prefix:r,uri:o,line:t,col:n})},_supports:function(e){var t,n,r=this._tokenStream;if(r.match(m.SUPPORTS_SYM)){for(t=r.token().startLine,n=r.token().startCol,this._readWhitespace(),this._supports_condition(),this._readWhitespace(),r.mustMatch(m.LBRACE),this._readWhitespace(),!1!==e&&this.fire({type:"startsupports",line:t,col:n});this._ruleset(););r.mustMatch(m.RBRACE),this._readWhitespace(),this.fire({type:"endsupports",line:t,col:n})}},_supports_condition:function(){var e,t=this._tokenStream;if(t.match(m.IDENT))"not"===(e=t.token().value.toLowerCase())?(t.mustMatch(m.S),this._supports_condition_in_parens()):t.unget();else for(this._supports_condition_in_parens(),this._readWhitespace();t.peek()===m.IDENT;)"and"!==(e=t.LT(1).value.toLowerCase())&&"or"!==e||(t.mustMatch(m.IDENT),this._readWhitespace(),this._supports_condition_in_parens(),this._readWhitespace())},_supports_condition_in_parens:function(){var e=this._tokenStream;e.match(m.LPAREN)?(this._readWhitespace(),e.match(m.IDENT)?"not"===e.token().value.toLowerCase()?(this._readWhitespace(),this._supports_condition(),this._readWhitespace(),e.mustMatch(m.RPAREN)):(e.unget(),this._supports_declaration_condition(!1)):(this._supports_condition(),this._readWhitespace(),e.mustMatch(m.RPAREN))):this._supports_declaration_condition()},_supports_declaration_condition:function(e){var t=this._tokenStream;!1!==e&&t.mustMatch(m.LPAREN),this._readWhitespace(),this._declaration(),t.mustMatch(m.RPAREN)},_media:function(){var e,t,n,r=this._tokenStream;for(r.mustMatch(m.MEDIA_SYM),e=r.token().startLine,t=r.token().startCol,this._readWhitespace(),n=this._media_query_list(),r.mustMatch(m.LBRACE),this._readWhitespace(),this.fire({type:"startmedia",media:n,line:e,col:t});;)if(r.peek()===m.PAGE_SYM)this._page();else if(r.peek()===m.FONT_FACE_SYM)this._font_face();else if(r.peek()===m.VIEWPORT_SYM)this._viewport();else if(r.peek()===m.DOCUMENT_SYM)this._document();else if(r.peek()===m.SUPPORTS_SYM)this._supports();else if(r.peek()===m.MEDIA_SYM)this._media();else if(!this._ruleset())break;r.mustMatch(m.RBRACE),this._readWhitespace(),this.fire({type:"endmedia",media:n,line:e,col:t})},_media_query_list:function(){var e=this._tokenStream,t=[];for(this._readWhitespace(),e.peek()!==m.IDENT&&e.peek()!==m.LPAREN||t.push(this._media_query());e.match(m.COMMA);)this._readWhitespace(),t.push(this._media_query());return t},_media_query:function(){var e=this._tokenStream,t=null,n=null,r=null,o=[];if(e.match(m.IDENT)&&("only"!==(n=e.token().value.toLowerCase())&&"not"!==n?(e.unget(),n=null):r=e.token()),this._readWhitespace(),e.peek()===m.IDENT?(t=this._media_type(),null===r&&(r=e.token())):e.peek()===m.LPAREN&&(null===r&&(r=e.LT(1)),o.push(this._media_expression())),null===t&&0===o.length)return null;for(this._readWhitespace();e.match(m.IDENT);)"and"!==e.token().value.toLowerCase()&&this._unexpectedToken(e.token()),this._readWhitespace(),o.push(this._media_expression());return new u(n,t,o,r.startLine,r.startCol)},_media_type:function(){return this._media_feature()},_media_expression:function(){var e,t,n=this._tokenStream,r=null;return n.mustMatch(m.LPAREN),e=this._media_feature(),this._readWhitespace(),n.match(m.COLON)&&(this._readWhitespace(),t=n.LT(1),r=this._expression()),n.mustMatch(m.RPAREN),this._readWhitespace(),new l(e,r?new a(r,t.startLine,t.startCol):null)},_media_feature:function(){var e=this._tokenStream;return this._readWhitespace(),e.mustMatch(m.IDENT),a.fromToken(e.token())},_page:function(){var e,t,n=this._tokenStream,r=null,o=null;n.mustMatch(m.PAGE_SYM),e=n.token().startLine,t=n.token().startCol,this._readWhitespace(),n.match(m.IDENT)&&"auto"===(r=n.token().value).toLowerCase()&&this._unexpectedToken(n.token()),n.peek()===m.COLON&&(o=this._pseudo_page()),this._readWhitespace(),this.fire({type:"startpage",id:r,pseudo:o,line:e,col:t}),this._readDeclarations(!0,!0),this.fire({type:"endpage",id:r,pseudo:o,line:e,col:t})},_margin:function(){var e,t,n=this._tokenStream,r=this._margin_sym();return!!r&&(e=n.token().startLine,t=n.token().startCol,this.fire({type:"startpagemargin",margin:r,line:e,col:t}),this._readDeclarations(!0),this.fire({type:"endpagemargin",margin:r,line:e,col:t}),!0)},_margin_sym:function(){var e=this._tokenStream;return e.match([m.TOPLEFTCORNER_SYM,m.TOPLEFT_SYM,m.TOPCENTER_SYM,m.TOPRIGHT_SYM,m.TOPRIGHTCORNER_SYM,m.BOTTOMLEFTCORNER_SYM,m.BOTTOMLEFT_SYM,m.BOTTOMCENTER_SYM,m.BOTTOMRIGHT_SYM,m.BOTTOMRIGHTCORNER_SYM,m.LEFTTOP_SYM,m.LEFTMIDDLE_SYM,m.LEFTBOTTOM_SYM,m.RIGHTTOP_SYM,m.RIGHTMIDDLE_SYM,m.RIGHTBOTTOM_SYM])?a.fromToken(e.token()):null},_pseudo_page:function(){var e=this._tokenStream;return e.mustMatch(m.COLON),e.mustMatch(m.IDENT),e.token().value},_font_face:function(){var e,t,n=this._tokenStream;n.mustMatch(m.FONT_FACE_SYM),e=n.token().startLine,t=n.token().startCol,this._readWhitespace(),this.fire({type:"startfontface",line:e,col:t}),this._readDeclarations(!0),this.fire({type:"endfontface",line:e,col:t})},_viewport:function(){var e,t,n=this._tokenStream;n.mustMatch(m.VIEWPORT_SYM),e=n.token().startLine,t=n.token().startCol,this._readWhitespace(),this.fire({type:"startviewport",line:e,col:t}),this._readDeclarations(!0),this.fire({type:"endviewport",line:e,col:t})},_document:function(){var e,t=this._tokenStream,n=[],r="";for(t.mustMatch(m.DOCUMENT_SYM),e=t.token(),/^@\-([^\-]+)\-/.test(e.value)&&(r=RegExp.$1),this._readWhitespace(),n.push(this._document_function());t.match(m.COMMA);)this._readWhitespace(),n.push(this._document_function());t.mustMatch(m.LBRACE),this._readWhitespace(),this.fire({type:"startdocument",functions:n,prefix:r,line:e.startLine,col:e.startCol});for(var o=!0;o;)switch(t.peek()){case m.PAGE_SYM:this._page();break;case m.FONT_FACE_SYM:this._font_face();break;case m.VIEWPORT_SYM:this._viewport();break;case m.MEDIA_SYM:this._media();break;case m.KEYFRAMES_SYM:this._keyframes();break;case m.DOCUMENT_SYM:this._document();break;default:o=Boolean(this._ruleset())}t.mustMatch(m.RBRACE),e=t.token(),this._readWhitespace(),this.fire({type:"enddocument",functions:n,prefix:r,line:e.startLine,col:e.startCol})},_document_function:function(){var e,t=this._tokenStream;return t.match(m.URI)?(e=t.token().value,this._readWhitespace()):e=this._function(),e},_operator:function(e){var t=this._tokenStream,n=null;return(t.match([m.SLASH,m.COMMA])||e&&t.match([m.PLUS,m.STAR,m.MINUS]))&&(n=t.token(),this._readWhitespace()),n?c.fromToken(n):null},_combinator:function(){var e,t=this._tokenStream,n=null;return t.match([m.PLUS,m.GREATER,m.TILDE])&&(e=t.token(),n=new i(e.value,e.startLine,e.startCol),this._readWhitespace()),n},_unary_operator:function(){var e=this._tokenStream;return e.match([m.MINUS,m.PLUS])?e.token().value:null},_property:function(){var e,t,n,r,o=this._tokenStream,a=null,i=null;return o.peek()===m.STAR&&this.options.starHack&&(o.get(),i=(t=o.token()).value,n=t.startLine,r=t.startCol),o.match(m.IDENT)&&("_"===(e=(t=o.token()).value).charAt(0)&&this.options.underscoreHack&&(i="_",e=e.substring(1)),a=new s(e,i,n||t.startLine,r||t.startCol),this._readWhitespace()),a},_ruleset:function(){var e,t=this._tokenStream;try{e=this._selectors_group()}catch(e){if(!(e instanceof o)||this.options.strict)throw e;if(this.fire({type:"error",error:e,message:e.message,line:e.line,col:e.col}),t.advance([m.RBRACE])!==m.RBRACE)throw e;return!0}return e&&(this.fire({type:"startrule",selectors:e,line:e[0].line,col:e[0].col}),this._readDeclarations(!0),this.fire({type:"endrule",selectors:e,line:e[0].line,col:e[0].col})),e},_selectors_group:function(){var e,t=this._tokenStream,n=[];if(null!==(e=this._selector()))for(n.push(e);t.match(m.COMMA);)this._readWhitespace(),null!==(e=this._selector())?n.push(e):this._unexpectedToken(t.LT(1));return n.length?n:null},_selector:function(){var e=this._tokenStream,t=[],n=null,r=null,o=null;if(null===(n=this._simple_selector_sequence()))return null;for(t.push(n);;)if(null!==(r=this._combinator()))t.push(r),null===(n=this._simple_selector_sequence())?this._unexpectedToken(e.LT(1)):t.push(n);else{if(!this._readWhitespace())break;o=new i(e.token().value,e.token().startLine,e.token().startCol),r=this._combinator(),null===(n=this._simple_selector_sequence())?null!==r&&this._unexpectedToken(e.LT(1)):(null!==r?t.push(r):t.push(o),t.push(n))}return new f(t,t[0].line,t[0].col)},_simple_selector_sequence:function(){var e,t,n=this._tokenStream,r=null,o=[],a="",i=[function(){return n.match(m.HASH)?new h(n.token().value,"id",n.token().startLine,n.token().startCol):null},this._class,this._attrib,this._pseudo,this._negation],l=0,u=i.length,s=null;for(e=n.LT(1).startLine,t=n.LT(1).startCol,(r=this._type_selector())||(r=this._universal()),null!==r&&(a+=r);n.peek()!==m.S;){for(;l1&&e.unget()),null)},_class:function(){var e,t=this._tokenStream;return t.match(m.DOT)?(t.mustMatch(m.IDENT),e=t.token(),new h("."+e.value,"class",e.startLine,e.startCol-1)):null},_element_name:function(){var e,t=this._tokenStream;return t.match(m.IDENT)?(e=t.token(),new h(e.value,"elementName",e.startLine,e.startCol)):null},_namespace_prefix:function(){var e=this._tokenStream,t="";return e.LA(1)!==m.PIPE&&e.LA(2)!==m.PIPE||(e.match([m.IDENT,m.STAR])&&(t+=e.token().value),e.mustMatch(m.PIPE),t+="|"),t.length?t:null},_universal:function(){var e,t=this._tokenStream,n="";return(e=this._namespace_prefix())&&(n+=e),t.match(m.STAR)&&(n+="*"),n.length?n:null},_attrib:function(){var e,t,n=this._tokenStream,r=null;return n.match(m.LBRACKET)?(r=(t=n.token()).value,r+=this._readWhitespace(),(e=this._namespace_prefix())&&(r+=e),n.mustMatch(m.IDENT),r+=n.token().value,r+=this._readWhitespace(),n.match([m.PREFIXMATCH,m.SUFFIXMATCH,m.SUBSTRINGMATCH,m.EQUALS,m.INCLUDES,m.DASHMATCH])&&(r+=n.token().value,r+=this._readWhitespace(),n.mustMatch([m.IDENT,m.STRING]),r+=n.token().value,r+=this._readWhitespace()),n.mustMatch(m.RBRACKET),new h(r+"]","attribute",t.startLine,t.startCol)):null},_pseudo:function(){var e,t,n=this._tokenStream,r=null,a=":";if(n.match(m.COLON)){if(n.match(m.COLON)&&(a+=":"),n.match(m.IDENT)?(r=n.token().value,e=n.token().startLine,t=n.token().startCol-a.length):n.peek()===m.FUNCTION&&(e=n.LT(1).startLine,t=n.LT(1).startCol-a.length,r=this._functional_pseudo()),!r){var i=n.LT(1).startLine,l=n.LT(0).startCol;throw new o("Expected a `FUNCTION` or `IDENT` after colon at line "+i+", col "+l+".",i,l)}r=new h(a+r,"pseudo",e,t)}return r},_functional_pseudo:function(){var e=this._tokenStream,t=null;return e.match(m.FUNCTION)&&(t=e.token().value,t+=this._readWhitespace(),t+=this._expression(),e.mustMatch(m.RPAREN),t+=")"),t},_expression:function(){for(var e=this._tokenStream,t="";e.match([m.PLUS,m.MINUS,m.DIMENSION,m.NUMBER,m.STRING,m.IDENT,m.LENGTH,m.FREQ,m.ANGLE,m.TIME,m.RESOLUTION,m.SLASH]);)t+=e.token().value,t+=this._readWhitespace();return t.length?t:null},_negation:function(){var e,t,n,r=this._tokenStream,o="",a=null;return r.match(m.NOT)&&(o=r.token().value,e=r.token().startLine,t=r.token().startCol,o+=this._readWhitespace(),o+=n=this._negation_arg(),o+=this._readWhitespace(),r.match(m.RPAREN),o+=r.token().value,(a=new h(o,"not",e,t)).args.push(n)),a},_negation_arg:function(){var e,t,n=this._tokenStream,r=[this._type_selector,this._universal,function(){return n.match(m.HASH)?new h(n.token().value,"id",n.token().startLine,n.token().startCol):null},this._class,this._attrib,this._pseudo],o=null,a=0,i=r.length;for(e=n.LT(1).startLine,t=n.LT(1).startCol;a0?new d(t,t[0].line,t[0].col):null},_term:function(e){var t,n,r,o,a=this._tokenStream,i=null,l=null,u=null;return null!==(t=this._unary_operator())&&(r=a.token().startLine,o=a.token().startCol),a.peek()===m.IE_FUNCTION&&this.options.ieFilters?(i=this._ie_function(),null===t&&(r=a.token().startLine,o=a.token().startCol)):e&&a.match([m.LPAREN,m.LBRACE,m.LBRACKET])?(l=(n=a.token()).endChar,i=n.value+this._expr(e).text,null===t&&(r=a.token().startLine,o=a.token().startCol),a.mustMatch(m.type(l)),i+=l,this._readWhitespace()):a.match([m.NUMBER,m.PERCENTAGE,m.LENGTH,m.ANGLE,m.TIME,m.FREQ,m.STRING,m.IDENT,m.URI,m.UNICODE_RANGE])?(i=a.token().value,null===t&&(r=a.token().startLine,o=a.token().startCol,u=c.fromToken(a.token())),this._readWhitespace()):null===(n=this._hexcolor())?(null===t&&(r=a.LT(1).startLine,o=a.LT(1).startCol),null===i&&(i=a.LA(3)===m.EQUALS&&this.options.ieFilters?this._ie_function():this._function())):(i=n.value,null===t&&(r=n.startLine,o=n.startCol)),null!==u?u:null!==i?new c(null!==t?t+i:i,r,o):null},_function:function(){var e,t=this._tokenStream,n=null;if(t.match(m.FUNCTION)){if(n=t.token().value,this._readWhitespace(),n+=this._expr(!0),this.options.ieFilters&&t.peek()===m.EQUALS)do{for(this._readWhitespace()&&(n+=t.token().value),t.LA(0)===m.COMMA&&(n+=t.token().value),t.match(m.IDENT),n+=t.token().value,t.match(m.EQUALS),n+=t.token().value,e=t.peek();e!==m.COMMA&&e!==m.S&&e!==m.RPAREN;)t.get(),n+=t.token().value,e=t.peek()}while(t.match([m.COMMA,m.S]));t.match(m.RPAREN),n+=")",this._readWhitespace()}return n},_ie_function:function(){var e,t=this._tokenStream,n=null;if(t.match([m.IE_FUNCTION,m.FUNCTION])){n=t.token().value;do{for(this._readWhitespace()&&(n+=t.token().value),t.LA(0)===m.COMMA&&(n+=t.token().value),t.match(m.IDENT),n+=t.token().value,t.match(m.EQUALS),n+=t.token().value,e=t.peek();e!==m.COMMA&&e!==m.S&&e!==m.RPAREN;)t.get(),n+=t.token().value,e=t.peek()}while(t.match([m.COMMA,m.S]));t.match(m.RPAREN),n+=")",this._readWhitespace()}return n},_hexcolor:function(){var e,t=this._tokenStream,n=null;if(t.match(m.HASH)){if(e=(n=t.token()).value,!/#[a-f0-9]{3,6}/i.test(e))throw new o("Expected a hex color but found '"+e+"' at line "+n.startLine+", col "+n.startCol+".",n.startLine,n.startCol);this._readWhitespace()}return n},_keyframes:function(){var e,t,n,r=this._tokenStream,o="";for(r.mustMatch(m.KEYFRAMES_SYM),e=r.token(),/^@\-([^\-]+)\-/.test(e.value)&&(o=RegExp.$1),this._readWhitespace(),n=this._keyframe_name(),this._readWhitespace(),r.mustMatch(m.LBRACE),this.fire({type:"startkeyframes",name:n,prefix:o,line:e.startLine,col:e.startCol}),this._readWhitespace(),t=r.peek();t===m.IDENT||t===m.PERCENTAGE;)this._keyframe_rule(),this._readWhitespace(),t=r.peek();this.fire({type:"endkeyframes",name:n,prefix:o,line:e.startLine,col:e.startCol}),this._readWhitespace(),r.mustMatch(m.RBRACE),this._readWhitespace()},_keyframe_name:function(){var e=this._tokenStream;return e.mustMatch([m.IDENT,m.STRING]),a.fromToken(e.token())},_keyframe_rule:function(){var e=this._key_list();this.fire({type:"startkeyframerule",keys:e,line:e[0].line,col:e[0].col}),this._readDeclarations(!0),this.fire({type:"endkeyframerule",keys:e,line:e[0].line,col:e[0].col})},_key_list:function(){var e=this._tokenStream,t=[];for(t.push(this._key()),this._readWhitespace();e.match(m.COMMA);)this._readWhitespace(),t.push(this._key()),this._readWhitespace();return t},_key:function(){var e,t=this._tokenStream;if(t.match(m.PERCENTAGE))return a.fromToken(t.token());if(t.match(m.IDENT)){if(e=t.token(),/from|to/i.test(e.value))return a.fromToken(e);t.unget()}this._unexpectedToken(t.LT(1))},_skipCruft:function(){for(;this._tokenStream.match([m.S,m.CDO,m.CDC]););},_readDeclarations:function(e,t){var n,r=this._tokenStream;this._readWhitespace(),e&&r.mustMatch(m.LBRACE),this._readWhitespace();try{for(;;){if(r.match(m.SEMICOLON)||t&&this._margin());else{if(!this._declaration())break;if(!r.match(m.SEMICOLON))break}this._readWhitespace()}r.mustMatch(m.RBRACE),this._readWhitespace()}catch(e){if(!(e instanceof o)||this.options.strict)throw e;if(this.fire({type:"error",error:e,message:e.message,line:e.line,col:e.col}),(n=r.advance([m.SEMICOLON,m.RBRACE]))===m.SEMICOLON)this._readDeclarations(!1,t);else if(n!==m.RBRACE)throw e}},_readWhitespace:function(){for(var e=this._tokenStream,t="";e.match(m.S);)t+=e.token().value;return t},_unexpectedToken:function(e){throw new o("Unexpected token '"+e.value+"' at line "+e.startLine+", col "+e.startCol+".",e.startLine,e.startCol)},_verifyEnd:function(){this._tokenStream.LA(1)!==m.EOF&&this._unexpectedToken(this._tokenStream.LT(1))},_validateProperty:function(e,t){g.validate(e,t)},parse:function(e){this._tokenStream=new _(e,m),this._stylesheet()},parseStyleSheet:function(e){return this.parse(e)},parseMediaQuery:function(e){this._tokenStream=new _(e,m);var t=this._media_query();return this._verifyEnd(),t},parsePropertyValue:function(e){this._tokenStream=new _(e,m),this._readWhitespace();var t=this._expr();return this._readWhitespace(),this._verifyEnd(),t},parseRule:function(e){this._tokenStream=new _(e,m),this._readWhitespace();var t=this._ruleset();return this._readWhitespace(),this._verifyEnd(),t},parseSelector:function(e){this._tokenStream=new _(e,m),this._readWhitespace();var t=this._selector();return this._readWhitespace(),this._verifyEnd(),t},parseStyleAttribute:function(e){e+="}",this._tokenStream=new _(e,m),this._readDeclarations()}};for(e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t}()},function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.vhSanitize=t.shouldSpacingRender=t.shouldSizingRender=t.shouldPaddingRender=t.shouldOuterMarginRender=t.shouldMarginRender=t.shouldInnerMarginRender=t.shouldDraggableComponentRender=t.renderIndicator=t.nilOnNegative=t.isWidthEnabled=t.isSizingEnabled=t.isPaddingEnabled=t.isNegative=t.isMarginEnabled=t.isHeightEnabled=t.inverse=t.getRelativeSelector=t.emptyOnNaN=t.dragAxis=t.add=t.abs=void 0;var o=w(n(1)),a=w(n(31)),i=w(n(162)),l=w(n(7)),u=w(n(6)),s=v(n(168)),d=w(n(6)),c=v(n(354)),f=v(n(389)),p=v(n(450)),h=v(n(57)),_=n(193),m=n(95),g=w(n(2)),b=n(284);function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}return o.default=e,n&&n.set(e,o),o}function w(e){return e&&e.__esModule?e:{default:e}}var O=function(e){var t=h.getAttrs(e),n=p.getValueX(t),r=p.getValueY(t),a=[p.OVERFLOW_HIDDEN,p.OVERFLOW_SCROLL],i="on||||"!==(0,o.default)(t,"border_radii"),s=h.isModule(e,u.default.getHoveredModule()),d=u.default.isDragEditedModule(e);return i&&!s&&!d||(0,l.default)(a,n)||(0,l.default)(a,r)};t.inverse=function(e){return-1*e};t.add=function(e,t){return e+(0,m.getNumber)(t,0)+(0,m.getUnit)(t)};t.dragAxis=function(e){switch(e){case _.TOP:case _.BOTTOM:return"onDragY";case _.LEFT:case _.RIGHT:return"onDragX";default:return""}};t.emptyOnNaN=function(e){return isNaN(parseInt(e))?"":e};var k=function(e){return!u.default.isProductTourActive()&&(!(!u.default.isAllowedAction("edit_module")||!u.default.isAllowedAction("advanced_settings"))&&(!!h.isEditable(e)&&(!h.isRemoved(e)&&(!u.default.abIsMode("select_subject")&&!u.default.abIsMode("select_goal")))))};t.isSizingEnabled=k;t.isWidthEnabled=function(e){var t=c.getWidthHelper(h.getType(e),h.getAttrs(e));return k(e)&&t.supports()&&t.isEnabled()};var S=function(e){var t=h.getType(e),n=h.getAttrs(e),r=f.getPaddingHelper(t,n);return r.supports()&&r.supportsDraggable()};t.isPaddingEnabled=S;var E=function(e){var t=h.getType(e),n=h.getAttrs(e),r=f.getMarginHelper(t,n);return r.supports()&&r.supportsDraggable()};t.isMarginEnabled=E;t.isHeightEnabled=function(e){var t=c.getHeightHelper(h.getType(e),h.getAttrs(e));return k(e)&&t.supports()&&t.isEnabled()};var C=function(e){var t=u.default.isDoingDragEdit(),n=u.default.isDragEditedModule(e),r=(h.isRow(e)||h.isInnerRow(e))&&!h.hasChildren(e),o="post_content"===d.default.getActiveThemeBuilderArea();return(!(0,b.isPostContentModule)(e.props.type)||!o)&&(!h.isLockedParent(e)&&(!u.default.getQuickActionsContext()&&(!h.getProps(e).is_module_child&&(!h.isLocked(e)&&(!h.isRemoved(e)&&(!u.default.isSettingsModalOpen()&&(!(t&&!n)&&(!(u.default.isSettingsModalOpen()&&!r)&&(!u.default.abIsMode("select_subject")&&!u.default.abIsMode("select_goal")&&!h.isEdited(e))))))))))};t.shouldDraggableComponentRender=C;t.shouldSizingRender=function(e){if(!C(e))return!1;if(u.default.isMultiItemSelected(h.getAddress(e)))return!0;if("grid"===h.getProps(e).eventMode)return!0;if((h.isRow(e)||h.isInnerRow(e))&&!h.hasChildren(e))return!0;var t=u.default.getHoveredModule();if((h.isRow(e)||h.isInnerRow(e))&&(h.isColumn(t)||h.isInnerColumn(t))&&!h.hasChildren(t))return!0;var n="et_pb_section"===h.getType(e)?"state":"props",r=!1!==(0,o.default)(e,"".concat(n,".hovered")),a=!0===(0,o.default)(e,"".concat(n,".child_hovered")),i=u.default.isDragEditedModule(e),l=h.isEditable(e),s="click"===h.getProps(e).eventMode;return!(!r&&!a||!s&&l)||!!(r&&!a||i)};var M=function(e){if(!C(e))return!1;var t=s.isDragging(),n=u.default.isDragEditedModule(e);if(t&&!n)return!1;if(h.isRemoved(e))return!1;if(!h.isEditable(e))return!1;if(!u.default.isAllowedAction("edit_module")||!u.default.isAllowedAction("advanced_settings"))return!1;if(u.default.isProductTourActive())return!1;var r="click"===(0,o.default)(e,"props.eventMode"),a=(0,o.default)(e,"props.clickModeActiveModule")===h.getAddress(e),i=h.isParentOf(h.getAddress(e),(0,o.default)(e,"props.clickModeActiveModule"));return!(!t&&r&&!a&&!i)};t.shouldSpacingRender=M;t.shouldPaddingRender=function(e){if(!M(e)||!S(e))return!1;var t=u.default.isDragEditedModule(e),n=s.getModule()||u.default.getHoveredModule(),r=h.isModule(e,n),a=r||h.isChildOf(h.getAddress(e),h.getAddress(n)),i=u.default.getActiveOutline();return!(!i||!h.isModule((0,o.default)(i,"object"),e))||!!(a||r||t)};var P=function(e){if(!M(e)||!E(e))return!1;var t=s.getModule()||u.default.getHoveredModule();if(h.isParentOf(h.getAddress(e),h.getAddress(t)))return!1;var n=u.default.isDragEditedModule(e);if(n&&s.getType()!==s.TYPE_MARGIN)return!1;if("et_pb_section"===h.getType(e)){var r=parseInt(h.getAddress(e)),o=parseInt(h.getAddress(t));return!isNaN(r)&&(0,l.default)([r-1,r,r+1],o)}return!(!h.getProps(e).hovered&&!h.getProps(e).hoveredParent&&!n)};t.shouldMarginRender=P;t.shouldInnerMarginRender=function(e){return!O(e)&&P(e)};t.shouldOuterMarginRender=function(e){return O(e)&&P(e)};var T=function(e){return parseFloat(e)<0};t.isNegative=T;t.abs=function(e){return isNaN(parseFloat(e))?e:Math.abs(parseFloat(e))+(0,m.getUnit)(e)};t.nilOnNegative=function(e){return T(e)?"0px":e};t.renderIndicator=function(e){var t=parseInt(e)||0;switch((0,m.getUnit)(e||"")){case"px":return Math.abs(t)>30;case"pt":return Math.abs(t)>20;case"mm":return Math.abs(t)>7;case"rem":case"em":return Math.abs(t)>2;case"cm":case"in":return Math.abs(t)>0;default:return Math.abs(t)>1}};t.getRelativeSelector=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,i.default)((0,a.default)(e.split(","),(function(e){return(e.split("%%order_class%%")[1]||"").trim()}))).join(",")};t.vhSanitize=function(e){var t=u.default.getPreviewMode(),n=g.default.isBFB()||g.default.isTB();return t&&"wireframe"!==t&&(n||"desktop"!==t)&&"vh"===(0,m.getUnit)(e)?"".concat((0,m.vhToPx)(g.default.topViewportHeight(),parseFloat(e)),"px"):e}},function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=_(n(0)),a=_(n(13)),i=_(n(1)),l=_(n(34)),u=_(n(7)),s=(_(n(28)),_(n(47))),d=_(n(59)),c=_(n(63)),f=(_(n(43)),_(n(22))),p=(_(n(6)),_(n(14))),h=n(138);function _(e){return e&&e.__esModule?e:{default:e}}function m(e,t){for(var n=0;nl)&&void 0===e.nsecs&&(_=0),_>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=h,u=_,o=f;var g=(1e4*(268435455&(h+=122192928e5))+_)%4294967296;d[s++]=g>>>24&255,d[s++]=g>>>16&255,d[s++]=g>>>8&255,d[s++]=255&g;var b=h/4294967296*1e4&268435455;d[s++]=b>>>8&255,d[s++]=255&b,d[s++]=b>>>24&15|16,d[s++]=b>>>16&255,d[s++]=f>>>8|128,d[s++]=255&f;for(var y=0;y<6;++y)d[s+y]=c[y];return t||Object(i.a)(d)};var d=function(e,t,n){var r=function(e,r,o,a){var l=o&&a||0;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=new Array(e.length),n=0;n>16)+(t>>16)+(n>>16)<<16|65535&n}function f(e,t,n,r,o,a){return c((i=c(c(t,e),c(r,a)))<<(l=o)|i>>>32-l,n);var i,l}function p(e,t,n,r,o,a,i){return f(t&n|~t&r,e,t,o,a,i)}function h(e,t,n,r,o,a,i){return f(t&r|n&~r,e,t,o,a,i)}function _(e,t,n,r,o,a,i){return f(t^n^r,e,t,o,a,i)}function m(e,t,n,r,o,a,i){return f(n^(t|~r),e,t,o,a,i)}var g=d("v3",48,(function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Array(t.length);for(var n=0;n>5]>>>t%32&255,r=parseInt(i.charAt(n>>>4&15)+i.charAt(15&n),16),o.push(r);return o}(function(e,t){var n,r,o,a,i;e[t>>5]|=128<>>9<<4)]=t;var l=1732584193,u=-271733879,s=-1732584194,d=271733878;for(n=0;n>2)-1]=void 0,t=0;t>5]|=(255&e[t/8])<>>32-t}var w=d("v5",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var r=unescape(encodeURIComponent(e));e=new Array(r.length);for(var o=0;o>>0;_=h,h=p,p=v(f,30)>>>0,f=c,c=g}n[0]=n[0]+c>>>0,n[1]=n[1]+f>>>0,n[2]=n[2]+p>>>0,n[3]=n[3]+h>>>0,n[4]=n[4]+_>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(550)),o=i(n(2)),a=i(n(802));function i(e){return e&&e.__esModule?e:{default:e}}var l=o.default.condition("is_bfb"),u=o.default.isTB(),s=o.default.getAdminBarHeight(),d=(0,r.default)(a.default,{topbar:{desktop:s,mobile:u?0:46},tooltipModal:{top:l?5:u?44:s+30,bottom:l?117:100}});t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canAddSiblings=void 0,t.getModuleOrderClass=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return"".concat(e,"_").concat(t).concat(n)},t.hasContextMenu=function(e){return!0},t.isClonable=function(e){return!i(e)},t.isCopyable=function(e){return!i(e)},t.isLocked=t.isInteractable=t.isEditable=void 0,t.isPostContentModule=i,t.isSavable=function(e){return!i(e)},t.isSplitTestable=function(e){return!i(e)};var r=a(n(11)),o=a(n(6));function a(e){return e&&e.__esModule?e:{default:e}}function i(e){return-1!==ETBuilderBackend.themeBuilder.postContentModules.indexOf(e)}var l=function(e,t){return!(!e&&!t)};t.isLocked=l;t.isEditable=function(e,t,n,a,i){var l=!n,s=o.default.isAllowedAction("edit_global_library"),d=!0;return(0,r.default)(i)||(d=o.default.isAllowedAction(i)),(d=d&&o.default.isAllowedAction("edit_module"))&&u(e,t,a)&&(l||s)};var u=function(e,t,n){var r=!n,a=o.default.isAllowedAction("edit_global_library");return!l(e,t)&&(r||a)};t.isInteractable=u;t.canAddSiblings=function(e,t,n){var r=!e,a=!t,i=o.default.isAllowedAction("edit_global_library"),l=o.default.isEditingLibraryItem(n);return r&&(a||i)&&!l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=K(n(1)),o=K(n(11)),a=K(n(942)),i=K(n(298)),l=K(n(448)),u=K(n(683)),s=K(n(564)),d=K(n(950)),c=K(n(951)),f=K(n(952)),p=K(n(953)),h=K(n(684)),_=K(n(954)),m=K(n(955)),g=K(n(956)),b=K(n(957)),y=K(n(958)),v=K(n(959)),w=K(n(960)),O=K(n(961)),k=K(n(685)),S=K(n(962)),E=K(n(963)),C=K(n(964)),M=K(n(965)),P=K(n(966)),T=K(n(967)),A=K(n(968)),B=K(n(969)),j=K(n(970)),x=K(n(971)),R=K(n(972)),I=K(n(973)),N=K(n(974)),L=K(n(975)),D=K(n(976)),V=K(n(977)),F=K(n(978)),W=K(n(979)),U=K(n(980)),H=K(n(981)),G=K(n(982)),z=K(n(983)),q=K(n(984)),Y=K(n(566)),$=K(n(985));function K(e){return e&&e.__esModule?e:{default:e}}function X(e,t){for(var n=0;n>>0)?(e=s(e))&&("string"==typeof t||null!=t&&!l(t))&&!(t=r(t))&&a(e)?o(u(e),0,n):e.split(t,n):[]}},,function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(92);e.exports=function(e){return function(t){return r(t,e)}}},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t,n){var r=n(91),o=n(17);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(133);function o(e,t,n){var a=r(e,8,void 0,void 0,void 0,void 0,void 0,t=n?void 0:t);return a.placeholder=o.placeholder,a}o.placeholder={},e.exports=o},function(e,t,n){var r=n(348),o=n(75),a=n(101),i=a&&a.isRegExp,l=i?o(i):r;e.exports=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEnabled=t.hoverSuffix=t.getHoverField=t.getHoverEnabledField=t.getFieldBaseName=t.enabledSuffix=t.default=void 0;var r=i(n(5)),o=i(n(37)),a=i(n(1));function i(e){return e&&e.__esModule?e:{default:e}}var l="__hover",u="__hover_enabled",s=function(){return l};t.hoverSuffix=s;var d=function(){return u};t.enabledSuffix=d;var c=function(e){return!(0,r.default)(e)&&(0,o.default)(e)?e.split(l).shift():e};t.getFieldBaseName=c;var f=function(e){return"".concat(c(e)).concat(l)};t.getHoverField=f;var p=function(e){return"".concat(c(e)).concat(u)};t.getHoverEnabledField=p;var h=function(e,t){return 0===(0,a.default)(t,p(e),"").indexOf("on")};t.isEnabled=h;var _={isEnabled:h,hoverSuffix:s,enabledSuffix:d,getFieldBaseName:c,getHoverField:f,getHoverEnabledField:p};t.default=_},function(e,t,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,a=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function l(){l.init.call(this)}e.exports=l,e.exports.once=function(e,t){return new Promise((function(n,r){function o(n){e.removeListener(t,a),r(n)}function a(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}g(e,t,a,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&g(e,"error",t,n)}(e,o,{once:!0})}))},l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var u=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function d(e){return void 0===e._maxListeners?l.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var o,a,i,l;if(s(n),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),i=a[t]),void 0===i)i=a[t]=n,++e._eventsCount;else if("function"==typeof i?i=a[t]=r?[n,i]:[i,n]:r?i.unshift(n):i.push(n),(o=d(e))>0&&i.length>o&&!i.warned){i.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=i.length,l=u,console&&console.warn&&console.warn(l)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function h(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(i=t[0]),i instanceof Error)throw i;var l=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw l.context=i,l}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)a(u,this,t);else{var s=u.length,d=m(u,s);for(n=0;n=0;a--)if(n[a]===t||n[a].listener===t){i=n[a].listener,o=a;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},l.prototype.listeners=function(e){return h(this,e,!0)},l.prototype.rawListeners=function(e){return h(this,e,!1)},l.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):_.call(e,t)},l.prototype.listenerCount=_,l.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){var r;!function(){"use strict";var o=function e(t){var n,r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element"),o={use_static:!1};function a(e){var t=Object.getPrototypeOf(e);return t?Object.create(t):{}}function i(e,t,n){Object.defineProperty(e,t,{enumerable:!1,configurable:!1,writable:!1,value:n})}function l(e,t){i(e,t,(function(){throw new m("The "+t+" method cannot be invoked on an Immutable data structure.")}))}"object"!=typeof(n=t)||Array.isArray(n)||null===n||void 0!==t.use_static&&(o.use_static=Boolean(t.use_static));var u="__immutable_invariants_hold";function s(e){return"object"!=typeof e||(null===e||Boolean(Object.getOwnPropertyDescriptor(e,u)))}function d(e,t){return e===t||e!=e&&t!=t}function c(e){return!(null===e||"object"!=typeof e||Array.isArray(e)||e instanceof Date)}var f=["setPrototypeOf"],p=f.concat(["push","pop","sort","splice","shift","unshift","reverse"]),h=["keys"].concat(["map","filter","slice","concat","reduce","reduceRight"]),_=f.concat(["setDate","setFullYear","setHours","setMilliseconds","setMinutes","setMonth","setSeconds","setTime","setUTCDate","setUTCFullYear","setUTCHours","setUTCMilliseconds","setUTCMinutes","setUTCMonth","setUTCSeconds","setYear"]);function m(e){this.name="MyError",this.message=e,this.stack=(new Error).stack}function g(e,t){for(var n in i(e,u,!0),t)t.hasOwnProperty(n)&&l(e,t[n]);return Object.freeze(e),e}function b(e,t){var n=e[t];i(e,t,(function(){return z(n.apply(e,arguments))}))}function y(e,t,n){var r=n&&n.deep;if(e in this&&(r&&this[e]!==t&&c(t)&&c(this[e])&&(t=z.merge(this[e],t,{deep:!0,mode:"replace"})),d(this[e],t)))return this;var o=C.call(this);return o[e]=z(t),O(o)}m.prototype=new Error,m.prototype.constructor=Error;var v=z([]);function w(e,t,n){var r=e[0];if(1===e.length)return y.call(this,r,t,n);var o,a=e.slice(1),i=this[r];if("object"==typeof i&&null!==i)o=z.setIn(i,a,t);else{var l=a[0];o=""!==l&&isFinite(l)?w.call(v,a,t):N.call(I,a,t)}if(r in this&&i===o)return this;var u=C.call(this);return u[r]=o,O(u)}function O(e){for(var t in h){if(h.hasOwnProperty(t))b(e,h[t])}o.use_static||(i(e,"flatMap",S),i(e,"asObject",M),i(e,"asMutable",C),i(e,"set",y),i(e,"setIn",w),i(e,"update",D),i(e,"updateIn",F),i(e,"getIn",W));for(var n=0,r=e.length;n1&&void 0!==arguments[1]&&arguments[1];return t?this.i18n.optionsGroups:this.i18n.optionsGroup}},{key:"goToAction",value:function(e){O.default.quickAccessSwitchTab(e.toggleGroupId),O.default.quickAccessActive({toggleId:e.toggleId,toggleGroupId:e.toggleGroupId})}},{key:"getNestedAllowedGroup",value:function(e,t){if(!this.getNestedAction(e,t))return[];var n=e.type,r=e.nested_option,o=this.getNestedOptionAlias(n,"option_type");return["option"===o&&r?r:o,n]}}],n&&E(t.prototype,n),r&&E(t,r),Object.defineProperty(t,"prototype",{writable:!1}),P}(g.default),x=j;t.default=x},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]="number"==typeof e[n]?e[n]:e[n].val);return t},e.exports=t.default},function(e,t,n){(function(t){(function(){var n,r,o,a,i,l;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=t&&t.hrtime?(e.exports=function(){return(n()-i)/1e6},r=t.hrtime,a=(n=function(){var e;return 1e9*(e=r())[0]+e[1]})(),l=1e9*t.uptime(),i=a-l):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(this,n(390))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),o=new Uint8Array(16);function a(){if(!r)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}},function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=u(n(0)),a=u(n(3)),i=u(n(13)),l=u(n(2));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nn.length||1>t.length||t.length!==n.length)&&t.every((function(e,t){return Object.keys(e).every((function(r){return"key"===r?e[r].toLowerCase()===n[t][r]:e[r]===n[t][r]}))}))}function f(){for(var e=arguments.length,t=new Array(e),r=0;rn.length||1>t.length)&&t.every((function(e){return n.some((function(t){return Object.keys(e).every((function(n){return"key"===n?e[n].toLowerCase()===t[n]:e[n]===t[n]}))}))}))}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.strict,n=void 0!==t&&t,r=e.location,o="number"==typeof r?{key:"Meta",location:r}:{key:"Meta"};return n?c(o):f(o)}function h(){n.length=0}return{onKeyDown:s,onKeyUp:d,addListener:function(n,r){var o=n.keyDownCallback,a=n.keyUpCallback;o&&(e=o),a&&(t=a);for(var i=arguments.length,l=new Array(i>2?i-2:0),u=2;u1?r-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:{},t=e.strict,n=void 0!==t&&t,r=e.location,o="number"==typeof r?{key:"Alt",location:r}:{key:"Alt"};return n?c(o):f(o)},isPressedCtrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.strict,n=void 0!==t&&t,r=e.location,o="number"==typeof r?{key:"Control",location:r}:{key:"Control"};return n?c(o):f(o)},isPressedMeta:p,isPressedShift:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.strict,n=void 0!==t&&t,r=e.location,o="number"==typeof r?{key:"Shift",location:r}:{key:"Shift"};return n?c(o):f(o)},isPressedCommand:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.strict,n=void 0!==t&&t,r=e.location;return p({strict:n,location:r})},reset:h}}(),d=s;t.default=d},function(e,t){e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(119),o=n(213),a=n(142),i=n(167),l=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,a(e)),e=o(e);return t}:i;e.exports=l},function(e,t,n){var r=n(86),o=n(38);e.exports=function(e,t){var n=-1,a=o(e)?Array(e.length):[];return r(e,(function(e,r,o){a[++n]=t(e,r,o)})),a}},function(e,t,n){var r=n(121),o=n(62);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},function(e,t,n){(function(e){var r=n(23),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o?r.Buffer:void 0,l=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=l?l(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(97)(e))},function(e,t,n){var r=n(262);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t,n){var r=n(155),o=n(213),a=n(90);e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:r(o(e))}},function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},function(e,t,n){var r=n(50),o=n(318),a=o?function(e,t){return o.set(e,t),e}:r;e.exports=a},function(e,t,n){var r=n(173),o=r&&new r;e.exports=o},function(e,t,n){var r=n(320),o=n(321),a=n(430),i=n(182),l=n(322),u=n(192),s=n(436),d=n(156),c=n(23);e.exports=function e(t,n,f,p,h,_,m,g,b,y){var v=128&n,w=1&n,O=2&n,k=24&n,S=512&n,E=O?void 0:i(t);return function C(){for(var M=arguments.length,P=Array(M),T=M;T--;)P[T]=arguments[T];if(k)var A=u(C),B=a(P,A);if(p&&(P=r(P,p,h,k)),_&&(P=o(P,_,m,k)),M-=B,k&&M1&&P.reverse(),v&&bp,y=(0,i.default)(a,_);return y&&oparseInt(l))return 1;if(parseInt(i)1?(0,c.default)(E).join("."):"root",M=e("root"!==C?'[data-address="'.concat(C,'"]'):".et_fb_preview_container"),P=t.split(".").length,T=m.split(".").length,A=!!v||P!==T;return{draggedAddress:m,$itemTarget:k,shouldMultiUpdate:M.length>0&&t!==m&&A,highestLevel:!!(0,a.default)(l)}},getAfterItemType:function(e,t,n){var r="";if((0,f.default)(["paste"],e)&&!(0,a.default)(n)){if((0,f.default)(["et_pb_row","et_pb_row_inner","et_pb_column","et_pb_column_inner"],t))r="module";else if("et_pb_section"===t){var o=S.default.isOn(n.props.attrs.specialty),i=S.default.isOn(n.props.attrs.fullwidth);r="row",o?r="module":i&&(r="fullwidth_module")}}else r=t;return r},getMainOrderedItems:function(e,t){if((0,a.default)(e))return null;var n=[],r=[],o=[];return(0,l.default)(e,(function(e){var a=P(e,t);"before-partner"!==a?"after-partner"!==a?"above"!==a?n.unshift(e):n.push(e):o.push(e):r.push(e)})),e=r.concat(o,n)},getSourceDestinationRelation:function(e,t){var n=e.split("."),r=(0,c.default)(n),o=parseInt((0,h.default)(n)),a=t.split("."),l=(0,c.default)(a),u=parseInt((0,h.default)(a));return(0,i.default)(r,l)?o<=u?"above":"below":"after"===T(r,l)?"after-partner":"before-partner"},getPartnerType:function(e,t){for(var n=Math.max(e.length,t.length),r=0,a=0,i=0;iparseInt(a))return"after";if(parseInt(r)1&&r.length>1&&(0,l.default)(u,(function(e){if((0,a.default)(n))n=e;else{var t={};(0,l.default)(e,(function(e,r){if("background"!==r||(0,o.default)(n[r]))!(0,o.default)(n[r])&&(0,i.default)(e,n[r])&&(t[r]=e);else{var a=n[r];(0,i.default)(a.title,e.title)&&(t[r]=e)}})),n=t}}))}return n},generateSelectedAttrs:function(e,t,n){var r=O.default.getMultiSelectItemsData();if((0,v.default)(r).length<=1)return t;var u=k.default.getComponentDefaults(e),s={};return(0,l.default)(r,(function(e){var r=(0,p.default)(e,"props.attrs");if((0,a.default)(s))s=r;else{var d={};(0,l.default)(s,(function(e,a){if(!(0,o.default)(r[a])){var l=(0,p.default)(u,a,"");(0,o.default)(n[a])||(l=t[a]);var s=e;(0,i.default)(e,r[a])||(s=l),d[a]=s}})),s=d}})),s},generateSelectedContent:function(e,t){var n=O.default.getMultiSelectItemsData();if((0,v.default)(n).length<=1)return e;if(!(0,o.default)(t.content))return e;var r="";return(0,l.default)(n,(function(e){var t=(0,p.default)(e,"props.content","");if(!(0,a.default)(r))return(0,i.default)(t,r)?void 0:(r="",!1);r=t})),r},generateSelectedFieldsItem:function(e,t){if((0,a.default)(e)){e=t;(0,l.default)(["use_custom_fields"],(function(t){(0,o.default)(e[t])||delete e[t]}))}else{var n={};(0,l.default)(e,(function(e,r){(0,o.default)(t[r])||(n[r]=e)})),e=(0,a.default)(n)?e:n}return e},generateMultiItemsToggles:function(e){if(O.default.getMultiSelectInfo("toggles_checked"))return!1;var t={},n=O.default.getMultiSelectElementsName();(0,a.default)(e)||(0,a.default)(n)||(0,l.default)(n,(function(n){if(!(0,o.default)(e[n])){var r=e[n];if((0,a.default)(t))t=r;else{var i={};(0,l.default)(r,(function(e,n){(0,o.default)(t[n])||(i[n]=e)})),t=i}}})),w.default.multiSelectUpdateToggles(t,!0)},shouldActivateClickMode:function(e){if((0,a.default)(e))return!1;var t=e.shiftKey,n=e.ctrlKey,r=e.metaKey;if(!t&&!n&&!r)return!1;var o=O.default.getEventMode();return!!(0,f.default)(["hover","default"],o)&&("wireframe"!==("wireframe"!==O.default.getPreviewMode())&&""===O.default.getMultiSelectInfo("lastMode"))},shouldItemSelected:function(e,t,n){var r="click"===O.default.getEventMode(),o="wireframe"===O.default.getPreviewMode();if(j(e)&&(r||o))return!(0,p.default)(n,"props.isFilterActive")&&!(0,p.default)(n,"props.skipLayer")&&(!(0,S.is)("removed",n)&&(w.default.resetClickModeActiveModule(t),w.default.multiSelectSelectedItem(t,n,e.shiftKey),!0));if(O.default.getMultiSelectInfo("blurredTab")&&(w.default.multiSelectUpdateInfo("blurredTab",!1),x(e)&&!O.default.getQuickActionsContext()))return w.default.multiSelectChangeMode("click",!1),!0;var i=O.default.getMultiSelectInfo("action");if((0,f.default)(["edit-wireframe","edit-label"],i))return!1;var l=O.default.getModuleEdit();return!!(0,a.default)(l)&&(w.default.multiSelectBackupRestore("backup"),w.default.multiSelectReset(!0),!1)},shouldMultiItemMixed:function(e,t,n){var r=O.default.getMultiSelectCheckedInfo(),i=O.default.getMultiSelectGroupRaw(),l={shouldForce:!1,isItemsMixed:!1,newConnectWith:"",newChildSlug:""};if((0,a.default)(i)){if(!(0,o.default)(n)&&n.length>0){var u={et_pb_column:"module",et_pb_column_inner:"module",et_pb_section:"row"};n.hasClass("et_pb_specialty_column")&&(u.et_pb_column="row-inner");var s=n.data("dragOptions");(0,o.default)(s)||(0,o.default)(u[t])||u[t]==s.childSlug||(l.shouldForce=!0)}return l}var d=(0,f.default)(r,e);if((0,v.default)(i).length<=2){if(d){var c=r.indexOf(e);c>-1&&r.splice(c,1),l.shouldForce=!0}return l}var p=!1,h=(e=(0,g.default)(e)).split(".");if("et_pb_column"===t&&2===h.length&&n?n.hasClass("et_pb_column_single")&&!(0,o.default)(i.columns)?(0,o.default)(i.columnsSpecialty)&&(0,o.default)(i.section)||(p=(0,f.default)(i.columns,e)):!n.hasClass("et_pb_specialty_column")||(0,o.default)(i.columnsSpecialty)||(0,o.default)(i.section)||(p=(0,f.default)(i.columnsSpecialty,e)):(0,f.default)(["et_pb_column","et_pb_column_inner"],t)&&!(0,o.default)(i.columns)?p=(0,f.default)(i.columns,e):"et_pb_section"!==t||(0,o.default)(i.sections)||(0,o.default)(i.section)||(p=(0,f.default)(i.sections,e)),p)l.isItemsMixed=!0,d||(r.push(e),l.shouldForce=!0);else if(d){var _=r.indexOf(e);_>-1&&r.splice(_,1),l.shouldForce=!0}if(!(0,o.default)(i.row)&&!(0,f.default)(["et_pb_section"],t)){var m=(0,g.default)(e).split(".");"et_pb_column_inner"===t||"et_pb_column"===t&&2===m.length?(l.newConnectWith=".et_pb_specialty_column:not(.et_pb_parent_locked)",l.newChildSlug="row-inner"):(l.newConnectWith=".et_pb_section:not(.et_pb_fullwidth_section, .et_section_specialty)",l.newChildSlug="row")}return(0,o.default)(i.section)||(l.newConnectWith=".et_fb_preview_container",l.newChildSlug="section"),setTimeout((function(){w.default.multiSelectUpdateInfo("checked",r)}),0),l},preparePushItem:function(e,t,n,r){var o={selected:r.selected,removed:r.removed,lastPushed:"",lastRemoved:e};t&&(o.selected="",o.removed=e);var a=!0;return-1===n.indexOf(e)&&(t&&(o.selected=e,o.removed=""),o.lastPushed=e,o.lastRemoved="",a=!1),{itemsSelection:o,isItemExist:a}},preparePushItems:function(e,t,n){var r=!0,i={},l=0,u=0,c="";(0,o.default)(t.selected)||(c=t.selected);var f=c.split("."),p=(0,a.default)(f)?"":c.substring(0,c.length-2),h=0,_=e.split("."),m=0,g=(0,d.default)(e,p)&&f.length===_.length;if((0,a.default)(c)||!g)return{isShiftSelection:r=!1,parentItems:i,bottomLimit:l,topLimit:u,lastItemAddress:c};switch(f.length){case 1:i=n,h=f[0],m=_[0];break;case 2:i=n[f[0]].content,h=f[1],m=_[1];break;case 3:i=n[f[0]].content[f[1]].content,h=f[2],m=_[2];break;case 4:i=n[f[0]].content[f[1]].content[f[2]].content,h=f[3],m=_[3];break;case 5:i=n[f[0]].content[f[1]].content[f[2]].content[f[3]].content,h=f[4],m=_[4];break;case 6:i=n[f[0]].content[f[1]].content[f[2]].content[f[3]].content[f[4]].content,h=f[5],m=_[5];break;case 7:i=n[f[0]].content[f[1]].content[f[2]].content[f[3]].content[f[4]].content[f[5]].content,h=f[6],m=_[6];break;case 8:i=n[f[0]].content[f[1]].content[f[2]].content[f[3]].content[f[4]].content[f[5]].content[f[6]].content,h=f[7],m=_[7];break;case 9:i=n[f[0]].content[f[1]].content[f[2]].content[f[3]].content[f[4]].content[f[5]].content[f[6]].content[f[7]].content,h=f[8],m=_[8];break;case 10:i=n[f[0]].content[f[1]].content[f[2]].content[f[3]].content[f[4]].content[f[5]].content[f[6]].content[f[7]].content[f[8]].content,h=f[9],m=_[9]}return l=h=(0,s.default)(h),u=m=(0,s.default)(m),h>m&&(l=m,u=h),{isShiftSelection:r,parentItems:i,bottomLimit:l,topLimit:u,lastItemAddress:c}},preparePushAddressGroup:function(e,t,n,r){var i="",l="",u="",s="",d="",p=!0;switch(t.length){case 1:s="section",d="section";break;case 2:s="row",d="row",i=(0,c.default)(t).join("."),(0,o.default)(r.section)||(0,f.default)(r.section,i)&&(s=""),(0,o.default)(n[i])||(p=!1);break;case 3:if(d="module",(0,o.default)(e)||(0,a.default)(e))break;s="module","row-inner"===e.component_path&&(s="row",d="row-inner"),i=(0,_.default)(t),(0,o.default)(r.section)||(0,f.default)(r.section,i)&&(s=""),(0,o.default)(n[i])||(p=!1);break;case 4:s="module",d="module",u=(l=(0,c.default)(t,2)).join("."),(0,o.default)(r.row)||(0,f.default)(r.row,u)&&(s=""),(0,o.default)(n[u])||(p=!1),i=(0,c.default)(l).join("."),(0,o.default)(r.section)||(0,f.default)(r.section,i)&&(s=""),(0,o.default)(n[i])||(p=!1);break;case 5:if(d="module",(0,o.default)(e)||(0,a.default)(e))break;if(e.is_module_child)break;s="module",u=(l=(0,c.default)(t,2)).join("."),(0,o.default)(r.row)||(0,f.default)(r.row,u)&&(s=""),(0,o.default)(n[u])||(p=!1),i=(0,_.default)(t),(0,o.default)(r.section)||(0,f.default)(r.section,i)&&(s=""),(0,o.default)(n[i])||(p=!1)}return{shouldInsert:p,rawContainer:d,container:s}},prepareRemoveAddressGroup:function(e,t){var n="",r="";switch(t.length){case 1:n="section",r="section";break;case 2:n="row",r="row";break;case 3:if(r="row",(0,o.default)(e)||(0,a.default)(e))break;if((0,o.default)(e.section_parent))break;if("specialty"!==e.section_parent)break;n="row";break;case 4:n="module",r="module";break;case 5:if(r="module",(0,o.default)(e)||(0,a.default)(e))break;if(e.is_module_child)break;n="module"}return{container:n,rawContainer:r}},updateGroupOnPush:function(e,t,n,r){var a=S.default.intentionallyCloneDeep(e);return a.section=null,"row"===t&&(a.row=null),(0,l.default)(a,(function(t){(0,l.default)(t,(function(t){if((0,d.default)(t,n)&&t!==n){var a=t.split("."),i=2===a.length?"row":"module";3!==a.length||(0,o.default)(r.is_module_child)||(i=3===a.length?"row":"module");var l=e[i].indexOf(t);l>-1&&e[i].splice(l,1)}}))})),e},updateGroupOnRemove:function(e,t,n,r){return(0,l.default)(e,(function(e){if((0,d.default)(e,n)&&e!==n){var a=e.split("."),i=2===a.length?"row":"module";if(3!==a.length||(0,o.default)(r.is_module_child)||(i=3===a.length?"row":"module"),a.length<=1)return;(0,o.default)(t[i])&&(t[i]=[]),t[i].push(e)}})),t},handleMissingOriginalItem:function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=e('[data-address="'.concat(t,'"]'));if(0===a.length||o&&a.length>0){var i=t.split("."),l=(0,c.default)(i),u=parseInt((0,h.default)(i))+1;l.push((0,g.default)(u));var s=e('[data-address="'.concat(l.join("."),'"]'));0===s.length?n.append(r):r.insertBefore(s)}}},P=M.getSourceDestinationRelation,T=M.getPartnerType,A=M.getItemAboveBelow,B=M.getItemTarget,j=M.isItemSelection,x=M.shouldActivateClickMode,R=M;t.default=R}).call(this,n(8))},function(e,t,n){var r=n(271);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(291),o=n(211),a=n(50),i=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:a;e.exports=i},function(e,t,n){var r=n(12),o=n(90),a=n(342),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=o(e),n=[];for(var l in e)("constructor"!=l||!t&&i.call(e,l))&&n.push(l);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r2&&void 0!==arguments[2]?arguments[2]:"";return S(e,g,i.Height,t,n)};var E=function(e,t){v=k(e,t,l.Width,v)};t.registerWidthHelper=E;t.getWidthHelper=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return S(e,v,l.Width,t,n)};t.registerMaxHeightHelper=function(e,t){y=k(e,t,c.MaxHeight,y)};t.registerMinHeightHelper=function(e,t){b=k(e,t,d.MinHeight,b)};t.getMinHeightHelper=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return S(e,b,d.MinHeight,t,n)};t.getMaxHeightHelper=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return S(e,y,c.MaxHeight,t,n)};var C=function(e,t){w=k(e,t,u.MaxWidth,w)};t.registerMaxWidthHelper=C;t.getMaxWidthHelper=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return S(e,w,u.MaxWidth,t,n)};t.registerAlignmentHelper=function(e,t){w=k(e,t,s.Alignment,O)};t.getAlignmentHelper=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return S(e,O,s.Alignment,t,n)},E("et_pb_image",f.ImageWidth),C("et_pb_image",f.ImageMaxWidth)},function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}o.default=e,n&&n.set(e,o);return o}(n(0)),a=m(n(27)),i=m(n(622)),l=m(n(3)),u=m(n(41)),s=m(n(7)),d=m(n(42)),c=m(n(2)),f=m(n(39)),p=m(n(22)),h=m(n(6)),_=["forwardedRef"];function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t=0&&o-r<=n}(o,l,_,d),g=function(e,t,n,r){var o=e.bottom-Math.abs(t.top);return o+r>=0&&o<=n+r}(o,l,_,d),b=function(e,t,n,r){var o=e.bottom-Math.abs(t.top);return e.top-Math.abs(t.top)+r<0&&o>=n+r}(o,l,_,d);return p?!!(m||g||b):!!(b||m&&g)}},{key:"render",value:function(){var e=this.props,n=e.forwardedRef,r=y(e,_),a=this.state.isInViewport;return o.default.createElement(t,b({},r,{ref:n,isInViewport:a}))}}])&&O(r.prototype,i),l&&O(r,l),Object.defineProperty(r,"prototype",{writable:!1}),g}(o.Component);return n.propTypes={previewMode:l.default.string},n.defaultProps={previewMode:"desktop"},n.displayName="WithVisibilitySensor(".concat(t.displayName||t.name||"Component",")"),(0,i.default)(n,t),o.default.forwardRef((function(e,t){return o.default.createElement(n,b({},e,{forwardedRef:t}))}))}};t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setImportantInlineValue=t.registerFrontendComponent=t.maybeIncreaseEmitterMaxListeners=t.maybeDecreaseEmitterMaxListeners=t.isVB=t.isTB=t.isLBP=t.isLBB=t.isFE=t.isExtraTheme=t.isDiviTheme=t.isBuilderType=t.isBuilder=t.isBlockEditor=t.isBFB=t.is=t.getOffsets=t.getBuilderUtilsParams=t.getBuilderType=void 0;var r=l(n(7)),o=l(n(1)),a=l(n(8)),i=n(357);function l(e){return e&&e.__esModule?e:{default:e}}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}var s=function(){return window.et_builder_utils_params?window.et_builder_utils_params:i.top_window.et_builder_utils_params?i.top_window.et_builder_utils_params:{}};t.getBuilderUtilsParams=s;var d=function(){return(0,o.default)(s(),"builderType","")};t.getBuilderType=d;var c=function(e){return e===d()};t.isBuilderType=c;var f=function(e){return(0,o.default)(s(),"condition.".concat(e))};t.is=f;var p=c("fe");t.isFE=p;var h=c("vb");t.isVB=h;var _=c("bfb");t.isBFB=_;var m=c("tb");t.isTB=m;var g=c("lbb");t.isLBB=g;var b=f("diviTheme");t.isDiviTheme=b;var y=f("extraTheme");t.isExtraTheme=y;var v=c("lbp");t.isLBP=v;var w=0<(0,a.default)(i.top_window.document).find(".edit-post-layout__content").length;t.isBlockEditor=w;var O=(0,r.default)(["vb","bfb","tb","lbb"],d());t.isBuilder=O;t.getOffsets=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=O&&e.hasClass("et_pb_sticky")&&"fixed"!==e.css("position"),a=e.data("et-offsets"),i=e.data("et-offsets-device"),l=(0,o.default)(window.ET_FE,"stores.window.breakpoint","");if(r&&void 0!==a&&i===l)return a;var u=e.offset();if(void 0===u)return{};var s=O?e.children('.et-fb-custom-css-output[data-sticky-has-transform="on"]').length>0:e.hasClass("et_pb_sticky--has-transform"),d=void 0===u.top?0:u.top,c=void 0===u.left?0:u.left;if(s){var f=e.parent().offset(),p={top:u.top-f.top,left:u.left-f.left},h={top:e[0].offsetTop,left:e[0].offsetLeft};d+=h.top-p.top,u.top=d,c+=h.left-p.left,u.left=c}return u.right=c+t,u.bottom=d+n,e.data("et-offsets",u),""!==l&&e.data("et-offsets-device",u),u};t.maybeIncreaseEmitterMaxListeners=function(e,t){var n=e.listenerCount(t),r=e.getMaxListeners();n===r&&e.setMaxListeners(r+1)};t.maybeDecreaseEmitterMaxListeners=function(e,t){var n=e.listenerCount(t);e.getMaxListeners()>10&&e.setMaxListeners(n)};t.registerFrontendComponent=function(e,t,n){void 0===window.ET_FE&&(window.ET_FE={}),"object"!==u(window.ET_FE[e])&&(window.ET_FE[e]={}),window.ET_FE[e][t]=n};t.setImportantInlineValue=function(e,t,n){e.css(t,"");var r=e.attr("style");e.attr("style","".concat(r," ").concat(t,": ").concat(n," !important;"))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.top_window=t.is_iframe=void 0;var r=window;t.top_window=r;var o,a=!1;t.is_iframe=a;try{o=!!window.top.document&&window.top}catch(e){o=!1}o&&o.__Cypress__?window.parent===o?(t.top_window=r=window,t.is_iframe=a=!1):(t.top_window=r=window.parent,t.is_iframe=a=!0):o&&(t.top_window=r=o,t.is_iframe=a=o!==window.self)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateRefType=t.toString=t.shouldComponentUpdate=t.isScriptTopOnly=t.isScriptExcluded=t.isJson=t.isElementExcluded=t.doesDomElementContain=t.default=t.decodeHtmlEntities=t.composeRef=void 0;var r=a(n(42)),o=a(n(1));a(n(12));function a(e){return e&&e.__esModule?e:{default:e}}var i={toString:function(e){return e&&"function"==typeof e.toString?e.toString():Array.isArray(e)?e.join(","):null==e?"":""+e},decodeHtmlEntities:function(e){return i.toString(e).replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)}))},shouldComponentUpdate:function(e,t,n){return!(0,r.default)(t,e.props)||!(0,r.default)(n,e.state)},isScriptExcluded:function(e){var t=window.ET_Builder.Preboot.scripts,n=t.allowlist,r=t.blocklist,o=e.nodeName,a=e.innerHTML,i=e.src,l=e.className;return"SCRIPT"===o&&(l?r.className.test(l):a?!n.innerHTML.test(a)&&r.innerHTML.test(a):r.src.test(i))},isScriptTopOnly:function(e){var t=window.ET_Builder.Preboot.scripts.topOnly,n=e.nodeName,r=e.src;return"SCRIPT"===n&&t.src.test(r)},isElementExcluded:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,o.default)(window,"et_fb_preboot.is_BFB",!1),r=(0,o.default)(window,"et_fb_preboot.is_TB",!1),a=!n&&!r,i=(0,o.default)(window,"window.ET_Builder.Preboot.elements.blocklist",{}),l=(0,o.default)(window,"window.ET_Builder.Preboot.elements.iframeBlocklist",{}),u=e.className;if(u){var s=!t||!a,d=!!i.className&&i.className.test(u),c=!(!s||!l.className)&&l.className.test(u);return d||c}return!1},doesDomElementContain:function(e,t){for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1},composeRef:function(){for(var e=arguments.length,t=new Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n9007199254740991)return[];var n=i,u=l(e,i);t=o(t),e-=i;for(var s=r(u,t);++n-1?l[u?t[s]:s]:void 0}}},function(e,t,n){var r=n(92),o=n(111);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},function(e,t,n){var r=n(104);e.exports=function(e,t){for(var n=e.length;n--&&r(t,e[n],0)>-1;);return n}},function(e,t,n){var r=n(471),o=n(680),a=n(681),i=RegExp("['\u2019]","g");e.exports=function(e){return function(t){return r(a(o(t).replace(i,"")),e,"")}}},function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=d(n(1)),a=d(n(7)),i=d(n(4)),l=d(n(9)),u=d(n(72)),s=d(n(214));function d(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n1)for(var n=1;n.5?c/(2-i-l):c/(i+l),i){case r:u=(o-a)/c+(o1&&(n-=1),6*n<1?t+6*(e-t)*n:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}},{key:"hslToRgb",value:function(e,t,n){var r=e/360,o=t/100,a=n/100,i=a,l=a,u=a;if(0!==o){var s=a<.5?a*(1+o):a+o-a*o,d=2*a-s;i=this._adjustHslValue(s,d,r+1/3),l=this._adjustHslValue(s,d,r),u=this._adjustHslValue(s,d,r-1/3)}return[Math.round(255*i),Math.round(255*l),Math.round(255*u)]}},{key:"hexToRgb",value:function(e){var t,n=e.replace("#",""),r=new RegExp("(.{".concat(n.length/3,"})"),"g");if(n=n.match(r),!(0,i.default)(n)){for(var o=0;o1&&void 0!==arguments[1]&&arguments[1];return e.map((function(e){var n=e.color,r=e.position,o=e.unit,a=t&&d.default.getColorValue(n)||n;return"".concat(a," ").concat(r).concat(o)})).join("|")}},{key:"luma",value:function(e,t,n){return.2126*e+.7152*t+.0722*n}}],(n=null)&&p(t.prototype,n),f&&p(t,f),Object.defineProperty(t,"prototype",{writable:!1}),e}();h(y,"transparent","rgba(255,255,255,0)"),h(y,"validUnits",["%","px","em","rem","ex","ch","pc","pt","cm","mm","in","vh","vw","vmin","vmax"]);var v=y;t.default=v},function(e,t,n){var r=n(121),o=n(128),a=n(32);e.exports=function(e,t){var n={};return t=a(t,3),o(e,(function(e,o,a){r(n,t(e,o,a),e)})),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldModuleGenerateWithAI=t.shouldAvoidFieldForAI=t.isAIContentField=t.getPageSettingsAIFields=t.getClosestModuleAIFields=t.getAIComponent=t.childOfAISupportedModules=t.aiSupportedToggles=t.aiSupportedImageFields=t.aiStructureElements=t.aiAutofillModuleSettings=void 0;var r=g(n(11)),o=g(n(125)),a=g(n(7)),i=g(n(4)),l=g(n(1)),u=g(n(9)),s=g(n(215)),d=g(n(559)),c=g(n(65)),f=g(n(22)),p=g(n(6)),h=g(n(14)),_=n(511),m=n(138);function g(e){return e&&e.__esModule?e:{default:e}}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t ".concat(z)).each((function(t){var n=e(this),r=e(this).attr("data-address");if(H.isPostContentModule){var o=d.parent().parent().parent();M=o.attr("data-address")}var a="root"===M?t:"".concat(M,".").concat(t);if((0,p.default)(r)===(0,p.default)(P))return u=a,"root"===M&&H.startingAddress&&(u=a+H.startingAddress),(0,i.default)(ETBuilderBackend.modulesShowOnCancelDropClassname,(function(e){n.hasClass(e)&&setTimeout((function(){n.show()}),1e3)})),!1})),e(t.target).hasClass("et_fb_uneditable_module")&&(u=void 0);var K=I?G.$items:r.item,X=O?y.default.$topWindow(K):y.default.$appWindow(K);if((0,c.default)(u))return g.default.getModuleDropping()?(X.stop().css({display:"",height:"",opacity:""}),_.default.multiSelectReset(!1),!1):(X.stop().css({display:"none",height:"",opacity:""}),setTimeout((function(){X.css({display:""})}),1e3),_.default.cancelDraggingModule(),!1);e(r.placeholder).stop().show();var Q=function(){if(e(r.placeholder).hide(),X.stop().css({display:"",height:"",opacity:"",position:"",left:"",top:""}),g.default.isProductTourActive()){var t=g.default.getProductTourDropAddress();if("not_set"!==t&&t!==u)return _.default.cancelDraggingModule(),_.default.multiSelectReset(!1),!1}r.sender&&e(r.sender[0]).sortable("cancel");var n=(0,p.default)(C)===(0,p.default)(u),o=Y.hasClass("et_pb_fullwidth_section")&&!n;if(n||Y.sortable("cancel"),0!==(!O&&y.default.$appWindow('[data-address="'.concat(C,'"]')).length)&&0!==(O&&y.default.$topWindow('[data-address="'.concat(C,'"]')).length)||e(r.sender).append(r.item),T||o){var a=T?R:Y;m.default.handleMissingOriginalItem((0,p.default)(P),a,r.item)}if((O&&!n||!O)&&(r.sender&&e(r.sender[0]).sortable("destroy"),Y.hasClass("ui-sortable")&&Y.sortable("destroy")),e(r.item).hasClass("et_pb_section")&&e(".et_pb_section:ui-sortable").sortable("destroy"),e(".et_fb_invisible_empty_col_placeholder").remove(),d.hasClass("et_pb_column_dropzone")){var i=f.data("row-address"),s=f.data("zone-index");_.default.moveModuleToNewColumn(C,i,s)}else n?(_.default.cancelDraggingModule(C),_.default.multiSelectReset(!0),T&&m.default.handleMissingOriginalItem((0,p.default)(P),R,r.item,!0)):(I?_.default.multiSelectEndDraggingItems(C,u):_.default.endDraggingModule(C,u),O&&(setTimeout((function(){var e=b.default.getActiveLayer();(0,v.isOn)((0,l.default)(e,"props.scrollToLayerOnBuilder"))&&(0,w.scrollToLayerOnBuilder)(e)}),200),clearTimeout(V)));y.default.appWindow().et_reinit_waypoint_modules(),X.each((function(){Z(e(this),!0)}))};if(a){e(r.item).removeClass("et-wireframe-dragged-item"),e(r.item).is(".et_pb_row")&&e(r.item).children(".et-fb-skeleton").css({width:""}),F.length&&F.css({position:"","z-index":""}),S.length&&(S.closest(".et_pb_row").css("z-index",""),S=!1),k.length&&k.css("z-index","");var J=y.default.$appWindow(t.target).closest(".et-fb-skeleton__content"),ee=J.outerHeight();J.css("minHeight","".concat(ee,"px")),setTimeout((function(){y.default.$appWindow(t.target).closest(".et-fb-skeleton__content").css("minHeight",""),Q()}),50)}else e(r.placeholder).stop().animate({height:0,opacity:0},{duration:500,easing:"easeOutCubic",complete:Q})},q=!1,Y=(0,c.default)(n.parent)?t:t.find(n.parent);(0,c.default)(n.preSortableInit)||n.preSortableInit(Y,n,t);(0,c.default)(n.update)&&(n.update=f.default);var $=Y.hasClass("et-fb-skeleton__content")?Y.parent(".et-fb-skeleton").parent():Y;Y.hasClass("et-fb-skeleton__content")?$.data("dragOptions",(0,o.default)(n)):Y.data("dragOptions",(0,o.default)(n));var K=function(t,n,r){var o=H.offset(),i=o.left,l=i+Math.floor(H.outerWidth())-j,u=o.top,s=u+Math.floor(H.outerHeight())-x;a&&(i=0,l=y.default.$appDocument().width()-j,u=0,s=y.default.$appDocument().height()-x);var c,f,p=e(window).scrollTop(),h=(c=n+B,f=r+A,{left:Math.max(i,Math.min(l,c)),top:Math.max(u,Math.min(s,f))});t.css({position:"fixed",left:(0,d.default)(h.left)?"".concat(h.left,"px"):h.left,top:"".concat(h.top-p,"px")})},X=function(){R&&(L(Y),R=!1)},Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.hasClass("et-module-has-before-component")||e.hasClass("et-module-has-after-component")){var n=e.attr("_key")||"",r=".et-module-before-component-".concat(n,", .et-module-after-component-").concat(n),o=t?{height:"",opacity:"",display:""}:{height:"0px",opacity:0,display:"none"};e.siblings(r).css(o)}},Q={start:function(t,r){if(a){var o=e(r.helper).find(".et-fb-skeleton").first();j=o.width(),x=o.height();var i=e(r.placeholder).offset();B=i.left-t.pageX,A=i.top-t.pageY,x+A<0&&(A=0-x/2)}else j=40,x=40,B=-20,A=-20;if(y.default.condition("is_bfb")&&a){var l=U.width();W.addClass("et_bfb_module_drag--start"),l<768&&W.addClass("et_bfb_module_drag--responsive")}e("body").addClass("et-fb-body--drag");var u=e(r.item[0]).attr("data-address"),s=g.default.isMultiItemSelected(u);if(t.altKey&&!s&&_.default.copyDraggedModule(u),G.$items=r.item,s){var d=m.default.generateObjectItemsSelector(),c=d.generatedString,f=d.generatedSelector;G.$items=f;var p=O?y.default.$topWindow(c):y.default.$appWindow(c);p.css({height:"0px",opacity:0,display:"none"}),p.each((function(){Z(e(this))}))}else _.default.multiSelectReset(!1);var h=e(r.item[0]);if(a){e(r.item).addClass("et-wireframe-dragged-item");var b=e(r.item).is(".et_pb_module")||!e(r.item).children(".et-fb-skeleton").length?e(r.item):e(r.item).children(".et-fb-skeleton"),v=!C&&E>0?E:b.height(),w=(b.width(),b.css("marginBottom"));if(e(r.item).is(".et_pb_row")&&b.width(e(r.placeholder).outerWidth()),e(r.placeholder).css({height:"".concat(v,"px"),marginBottom:w}),e(":ui-sortable").sortable("refreshPositions"),F.length&&F.css({position:"relative","z-index":20}),b.closest(".et_pb_row").length&&(S=b.closest(".et_pb_row")).css("z-index",30),b.closest(".et_pb_section").length&&(k=b.closest(".et_pb_section")).css("z-index",50),!y.default.condition("is_bfb")&&b.hasClass("et-fb-skeleton--section")){var M=b.closest(".et_pb_section").width(),P=b.closest(".et-fb-post-content").width();r.helper.closest(".et_pb_section").css({marginLeft:"".concat((P-M)/2,"px")})}}else h.show(),h.data("orig-height",h.innerHeight()),h.slideUp({start:function(){h.css({opacity:1})},duration:500,easing:"easeOutCubic",progress:function(e,t,n){h.css({opacity:1-t})},complete:function(){h.css({height:"0px",opacity:0}),e(r.placeholder[0]).animate({height:n.placeholderHeight||"20px",opacity:1},{duration:500,easing:"easeOutCubic"}),O&&(R=!0),e(":ui-sortable").sortable("refreshPositions")}}),Z(h);return!0,_.default.startDraggingModule(),!0},sort:function(e,t){if(!O){K(t.helper,e.pageX,e.pageY);var n=M||C||(0,u.default)(["zoom","tablet","phone"],g.default.getPreviewMode()),r=n?y.default.$topWindow("html, body"):y.default.$appWindow("html, body");M&&(r=y.default.$TBScrollTarget());var o="zoom"===g.default.getPreviewMode(),i=C&&a?t.item:t.helper,l=!C||!a||U.width()+2==y.default.$topWindow("body").width()&&U.hasClass("et_bfb_module_drag"),s=y.default.getAdminBarHeight(),d=M?0:y.default.$topWindow("#et-fb-app").offset().top,c=C?U.offset().top:0,f=y.default.topViewportHeight();I(),P=setInterval((function(){var u,p,h,_,m,g=(u=r.scrollTop()+40+s-d-c,p=r.scrollTop()+f-40-d-c,h=0,_=0,m=(parseInt(i.css("top"))-A)*(o?.5:1),C?m-=s:n||(m+=r.scrollTop()),mp&&(_=m-p,h=1),{intensity:_,multiplier:h});if(l&&0!==g.multiplier){var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return 20+e*(t?1.5:2)}(g.intensity,a),y=Math.floor(b*g.multiplier*.15);T+=y*(o?2:1),r.scrollTop(r.scrollTop()+y),K(t.helper,e.pageX,e.pageY+T)}}),13)}},stop:z,receive:z,update:n.update,items:"> ".concat(n.child),cancel:".et-fb-padding-indicator, .et-fb-editable-element, .et-fb-popover-tinymce, .et-pb-draggable-spacing, .et-pb-draggable-margin, .et-fb-draggable-handle, .et-fb-draggable-position, .gm-style, .et_fb_locked_module, .et_fb_uninteractable_module, input, textarea",connectWith:n.connectWith,handle:n.isItemsMixed||O?n.handle:"".concat(n.handle,", > *"),forcePlaceholderSize:!0,tolerance:"intersect",delay:100,placeholder:{element:function(t){var n,r=e(this),o=(r.hasClass("et-fb-skeleton__content")?r.parent(".et-fb-skeleton").parent():r).data("dragOptions");switch(!0){case O:n="et-fb-lv";break;case a:n="et-fb-wireframe";break;default:n="et-fb"}var i=["".concat(n,"-sortable-placeholder"),"".concat(n,"-sortable-placeholder--").concat(o.childSlug)];return t.hasClass("et_pb_fullwidth_section")&&i.push("".concat(n,"-sortable-placeholder--").concat(o.childSlug,"-fullwidth")),t.hasClass("et_section_specialty")&&i.push("".concat(n,"-sortable-placeholder--").concat(o.childSlug,"-specialty")),e('
'))[0]},update:function(t,n){if(a&&!y.default.condition("is_bfb")){var r=(0,l.default)(t,["currentItem",0]);if(r){var o=E>0?E:e(r).height();n[0].style.minHeight="".concat(o,"px")}}}},helper:function(t,n){if(a){if(y.default.condition("is_bfb"))return n;var r=n.is(".et_pb_module")||!n.children(".et-fb-skeleton").length?n:n.children(".et-fb-skeleton");return E=r.height(),n.clone().css("position","absolute").addClass("et-wireframe-dragged-item")}var o=e(this),i=(o.hasClass("et-fb-skeleton__content")?o.parent(".et-fb-skeleton").parent():o).data("dragOptions"),l="";1===o.find("> ".concat(i.child)).length&&!O&&e('
').css({visibility:"hidden",height:"1px"}).appendTo(o),"section"===i.childSlug&&(n.hasClass("et_pb_fullwidth_section")?l=" et-fb-sortable-helper--section--fullwidth":n.hasClass("et_section_specialty")&&(l=" et-fb-sortable-helper--section--specialty"));var u=O?' ':' ';return e('
').concat(u,"
"))},change:function(e,t){n.isItemsMixed&&(t.placeholder.parent().hasClass("et_fb_container_mixed")?t.placeholder.css("display","none"):t.placeholder.css("display",""))},beforeStop:function(e,t){if(n.isItemsMixed){var r=t.placeholder.parent();q=!!r.hasClass("et_fb_container_mixed")}I()},forceHelperSize:!0,cursorAt:a?{}:{left:20,top:20},appendTo:O?y.default.$topWindow("#et-fb-layers-view-container"):"#et-fb-app",scroll:O,refreshPositions:!0,zIndex:999999,over:function(e,t){var n=O?y.default.$topWindow(e.target):y.default.$appWindow(e.target),r=n.hasClass("et_pb_column_dropzone")?n.closest(".et-fb-column-divider"):n;y.default.$appWindow(".et_pb_drag_over").removeClass("et_pb_drag_over"),y.default.$topWindow(".et_pb_drag_over").removeClass("et_pb_drag_over"),r.addClass("et_pb_drag_over")},disabled:(0,l.default)(n,"disabled",!1)};O?(Y.off(".layerSortable"),Y.sortable(Q),Y.on("sortstart.layerSortable",X),Y.on("sort.layerSortable",X),Y.on("sort.layerSortable",(function(t,n){void 0!==V&&clearTimeout(V),V=setTimeout((function(){var r=t.pageX-40,o=t.pageY-6,a=e(y.default.topDocument().elementFromPoint(r,o)),i=a.hasClass("et-fb-layers-view")?void 0:a.closest(".et-fb-layers-view--layer");if(function(e,t){if((0,c.default)(t)||t.length<1)return!1;var n=e.hasClass("et_pb_module"),r=e.hasClass("et_pb_column"),o=e.hasClass("et_pb_row"),a=e.closest(".et_pb_fullwidth_section").length>0,i=t.hasClass("et_pb_column"),l=t.hasClass("et_pb_row"),u=t.hasClass("et_pb_section"),s=t.closest(".et_pb_fullwidth_section").length>0,d=t.hasClass("et-fb-locked"),f=t.hasClass("et-fb-layers-view--expanded");return!d&&!f&&a===s&&(!(!o||!u)||(!(!r||!l&&!u)||!(!n||!(i||l||u))))}(n.item,i)){var l=!(0,c.default)(i)&&i.length?i.find("> .et-fb-layers-view--header > .et-fb-layers-view--toggle:not(.et-fb-layers-view--toggle-expanded)").find(".et-fb-button"):void 0;if(!(0,c.default)(l)&&l.length){var u=new Event("click",{bubbles:!0});l[0].dispatchEvent(u),setTimeout((function(){var t=e(n.item),r=t.hasClass("et_pb_module")?t.parent().data("dragOptions"):t.data("dragOptions");i.hasClass("et_section_specialty")?D(r,Q,i.find(".et_pb_column"),X):i.hasClass("et_pb_row")?(D(r,Q,i,X),D(r,Q,i.find(".et_pb_column"),X)):D(r,Q,i,X),L(i),L(Y)}),250)}}}),500)}))):Y.sortable(Q)};var r=O(n(10)),o=O(n(116)),a=O(n(41)),i=O(n(9)),l=O(n(1)),u=O(n(7)),s=O(n(5)),d=O(n(96)),c=O(n(11)),f=(O(n(17)),O(n(40))),p=O(n(28)),h=O(n(462)),_=O(n(22)),m=O(n(337)),g=O(n(6)),b=O(n(619)),y=O(n(2)),v=n(94),w=n(509);function O(e){return e&&e.__esModule?e:{default:e}}var k=!1,S=!1,E=0,C=y.default.isBFB(),M=y.default.isTB(),P=!1,T=0,A=0,B=0,j=0,x=0,R=!1;function I(){clearInterval(P),P=!1,T=0}var N=(0,a.default)((function(){y.default.$appWindow(".et_pb_drag_over").removeClass("et_pb_drag_over"),y.default.$topWindow(".et_pb_drag_over").removeClass("et_pb_drag_over")}),100),L=function(e){e.length&&e.hasClass("ui-sortable")&&(e.sortable("refresh"),e.sortable("refreshPositions"))},D=function(e,t,n,a){if(0!==n.length){var i=(0,r.default)(e,{isSection:n.hasClass("et_pb_section"),isRow:n.hasClass("et_pb_row"),isColumn:n.hasClass("et_pb_column")});(0,c.default)(i.preSortableInit)||i.preSortableInit(n,i,n),n.off(".makeElementSortable"),n.data("dragOptions",(0,o.default)(i)),n.sortable(t),n.on("sortstart.makeElementSortable",a),n.on("sort.makeElementSortable",a)}}}).call(this,n(8))},function(e,t,n){var r=n(54)("tail",n(367),n(130));r.placeholder=n(48),e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(282);function o(e,t){for(var n=0;n4&&void 0!==arguments[4]?arguments[4]:30,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:100,l=r(e,n,0,t.offset().top,t.parent().width(),o,30,30,a,i);return{position:{left:l.left,top:l.top},size:{width:l.width,height:l.height},flags:{fitsInBottomSpace:l.fitsInBottomSpace,fitsInBottomAndTopSpace:l.fitsInBottomAndTopSpace,fitsWithScroll:l.fitsWithScroll}}};var n=function(e,t,n,r,o,a){var i=t<=Math.min(r,n-o)-a,l=t<=n-o-a,u=Math.max(o,e),s=t;return i||(l?(u-=t-(r-a),s=t):(u=o,s=n-o-a)),{position:u,size:s,fitsInAfterSpace:i,fitsInBeforeAndAfterSpace:l}},r=function(t,r,o,a,i,l){var u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,d=arguments.length>8&&void 0!==arguments[8]?arguments[8]:30,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:30,f=t.scrollLeft(),p=t.scrollTop(),h=t.width(),_=t.height(),m=h-((o=o>=f?o:f+u)-f),g=_-((a=a>=p?a:p+d)-p),b=r.parents().filter((function(){var t=e(this).css("transform");return"none"!==t&&t.length>0})).first(),y=n(o-f,i,h,m,u,s),v=y.position,w=y.size,O=y.fitsInAfterSpace,k=y.fitsInBeforeAndAfterSpace,S=n(a-p,l,_,g,d,c),E=S.position,C=S.size,M=S.fitsInAfterSpace,P=S.fitsInBeforeAndAfterSpace;return b.length>0&&(v-=b.offset().left-f,E-=b.offset().top-p),{left:v,top:E,width:w,height:C,fitsInRightSpace:O,fitsInRightAndLeftSpace:k,fitsInBottomSpace:M,fitsInBottomAndTopSpace:P,fitsWithScroll:!M&&!P}};t.getViewportAdaptableRectangle=r;var o=-1;t.getScrollbarWidth=function(){if(0e.document.body.clientHeight}}).call(this,n(8))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.maybeConvertModuleType=t.getRerenderAliases=void 0;var r=i(n(1)),o=i(n(47)),a=i(n(2));function i(e){return e&&e.__esModule?e:{default:e}}var l={et_pb_section:function(e){var t=e.props.attrs,n=t.fullwidth,r=void 0===n?"off":n,o=t.specialty,i=void 0===o?"off":o;if(a.default.isOn(r))return"et_pb_section_fullwidth";if(a.default.isOn(i))return"et_pb_section_specialty";return"et_pb_section"},et_pb_slide:function(e){if("et_pb_fullwidth_slider"===e.props.parent_slug)return"et_pb_slide_fullwidth";return"et_pb_slide"},et_pb_column:s,et_pb_column_inner:s},u={et_pb_column:["et_pb_column_inner"],et_pb_column_inner:["et_pb_row"]};function s(e){return"specialty"===e.props.section_parent?"et_pb_column_specialty":"et_pb_column"}t.maybeConvertModuleType=function(e){var t=e.props.type,n=(0,r.default)(l,t,!1);return n?n(e):t};t.getRerenderAliases=function(e){var t=e.props.type;return(0,o.default)([t],(0,r.default)(u,t,[]))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=O(n(1)),o=O(n(5)),a=O(n(11)),i=O(n(4)),l=O(n(146)),u=O(n(7)),s=O(n(47)),d=O(n(17)),c=O(n(135)),f=O(n(124)),p=O(n(31)),h=O(n(9)),_=O(n(58)),m=O(n(72)),g=O(n(14)),b=O(n(285)),y=O(n(6)),v=O(n(160)),w=O(n(59));function O(e){return e&&e.__esModule?e:{default:e}}function k(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2?n-2:1,o&&o<=n?r:i(r,n)):r}},mixin:function(e){return function(t){var n=this;if(!B(n))return e(n,Object(t));var r=[];return P(x(t),(function(e){B(t[e])&&r.push([e,n.prototype[e]])})),e(n,Object(t)),P(r,(function(e){var t=e[1];B(t)?n.prototype[e[0]]=t:delete n.prototype[e[0]]})),n}},nthArg:function(e){return function(t){var n=t<0?1:I(t)+1;return M(e(t),n)}},rearg:function(e){return function(t,n){var r=n?n.length:0;return M(e(t,n),r)}},runInContext:function(n){return function(r){return e(t,n(r),d)}}};function V(e,t){if(p){var n=r.iterateeRearg[e];if(n)return function(e,t){return G(e,(function(e){var n=t.length;return function(e,t){return 2==t?function(t,n){return e.apply(void 0,arguments)}:function(t){return e.apply(void 0,arguments)}}(R(i(e,n),t),n)}))}(t,n);var o=!c&&r.iterateeAry[e];if(o)return function(e,t){return G(e,(function(e){return"function"==typeof e?i(e,t):e}))}(t,o)}return t}function F(e,t,n){if(_&&(v||!r.skipFixed[e])){var o=r.methodSpread[e],i=o&&o.start;return void 0===i?S(t,n):function(e,t){return function(){for(var n=arguments.length,r=n-1,o=Array(n);n--;)o[n]=arguments[n];var i=o[t],l=o.slice(0,t);return i&&a.apply(l,i),t!=r&&a.apply(l,o.slice(t+1)),e.apply(this,l)}}(t,i)}return t}function W(e,t,n){return g&&n>1&&(w||!r.skipRearg[e])?R(t,r.methodRearg[e]||r.aryRearg[n]):t}function U(e,t){for(var n=-1,r=(t=N(t)).length,o=r-1,a=C(Object(e)),i=a;null!=i&&++n1?M(t,n):t}(0,o=V(a,o),e),!1}})),!o})),o||(o=i),o==t&&(o=y?M(o,1):function(){return t.apply(this,arguments)}),o.convert=H(a,t),o.placeholder=t.placeholder=n,o}if(!f)return z(n,s,b);var q=s,Y=[];return P(L,(function(e){P(r.aryMethod[e],(function(e){var t=q[r.remap[e]||e];t&&Y.push([e,z(e,t,q)])}))})),P(x(q),(function(e){var t=q[e];if("function"==typeof t){for(var n=Y.length;n--;)if(Y[n][0]==e)return;t.convert=H(e,t),Y.push([e,t])}})),P(Y,(function(e){q[e[0]]=e[1]})),q.convert=function(e){return q.runInContext.convert(e)(void 0)},q.placeholder=q,P(x(q),(function(e){P(r.realToAlias[e]||[],(function(t){q[t]=q[e]}))})),q}},function(e,t){t.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},t.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},t.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},t.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},t.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},t.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},t.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},t.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},t.realToAlias=function(){var e=Object.prototype.hasOwnProperty,n=t.aliasToReal,r={};for(var o in n){var a=n[o];e.call(r,a)?r[a].push(o):r[a]=[o]}return r}(),t.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},t.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},t.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},function(e,t,n){e.exports={ary:n(345),assign:n(292),clone:n(116),curry:n(293),forEach:n(102),isArray:n(4),isError:n(327),isFunction:n(35),isWeakMap:n(378),iteratee:n(379),keys:n(112),rearg:n(380),toInteger:n(33),toPath:n(381)}},function(e,t,n){var r=n(182),o=n(23);e.exports=function(e,t,n){var a=1&t,i=r(e);return function t(){var r=this&&this!==o&&this instanceof t?i:e;return r.apply(a?n:this,arguments)}}},function(e,t,n){var r=n(109),o=n(182),a=n(319),i=n(322),l=n(192),u=n(156),s=n(23);e.exports=function(e,t,n){var d=o(e);return function o(){for(var c=arguments.length,f=Array(c),p=c,h=l(o);p--;)f[p]=arguments[p];var _=c<3&&f[0]!==h&&f[c-1]!==h?[]:u(f,h);if((c-=_.length)1?"& ":"")+t[o],t=t.join(r>2?", ":" "),e.replace(n,"{\n/* [wrapped with "+t+"] */\n")}},function(e,t,n){var r=n(102),o=n(260),a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];e.exports=function(e,t){return r(a,(function(n){var r="_."+n[0];t&n[1]&&!o(e,r)&&e.push(r)})),e.sort()}},function(e,t,n){var r=n(105),o=n(70),a=Math.min;e.exports=function(e,t){for(var n=e.length,i=a(t.length,n),l=r(e);i--;){var u=t[i];e[i]=o(u,n)?l[u]:void 0}return e}},function(e,t,n){var r=n(109),o=n(182),a=n(23);e.exports=function(e,t,n,i){var l=1&t,u=o(e);return function t(){for(var o=-1,s=arguments.length,d=-1,c=i.length,f=Array(c+s),p=this&&this!==a&&this instanceof t?u:e;++d=200&&(c=u,f=!1,t=new r(t));e:for(;++d=0;d--)"."===(i=u[d])?u.splice(d,1):".."===i?s++:s>0&&(""===i?(u.splice(d+1,s),s=0):(u.splice(d,2),s--));return""===(n=u.join("/"))&&(n=l?"/":"."),r?(r.path=n,a(r)):n}function l(e,t){""===e&&(e="."),""===t&&(t=".");var n=o(t),l=o(e);if(l&&(e=l.path||"/"),n&&!n.scheme)return l&&(n.scheme=l.scheme),a(n);if(n||t.match(r))return t;if(l&&!l.host&&!l.path)return l.host=t,a(l);var u="/"===t.charAt(0)?t:i(e.replace(/\/+$/,"")+"/"+t);return l?(l.path=u,a(l)):u}t.urlParse=o,t.urlGenerate=a,t.normalize=i,t.join=l,t.isAbsolute=function(e){return"/"===e.charAt(0)||n.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var u=!("__proto__"in Object.create(null));function s(e){return e}function d(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function c(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=u?s:function(e){return d(e)?"$"+e:e},t.fromSetString=u?s:function(e){return d(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=c(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:c(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=c(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:c(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=c(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:c(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var r=o(n);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var u=r.path.lastIndexOf("/");u>=0&&(r.path=r.path.substring(0,u+1))}t=l(a(r),t)}return i(t)}},function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=N(n(146)),a=N(n(199)),i=N(n(58)),l=N(n(9)),u=N(n(1)),s=N(n(34)),d=N(n(7)),c=N(n(197)),f=N(n(4)),p=N(n(5)),h=N(n(42)),_=N(n(96)),m=N(n(11)),g=N(n(17)),b=N(n(31)),y=N(n(72)),v=N(n(304)),w=N(n(28)),O=N(n(126)),k=N(n(6)),S=N(n(406)),E=N(n(14)),C=N(n(285)),M=n(449),P=N(n(2)),T=N(n(22)),A=N(n(295)),B=N(n(561)),j=N(n(562)),x=N(n(160)),R=n(94),I=n(464);function N(e){return e&&e.__esModule?e:{default:e}}function L(e){return function(e){if(Array.isArray(e))return D(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return D(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1,i=(0,s.default)(t,"option")&&(0,f.default)(t.option)&&t.option.length>1,l=a?e.option.filter((function(e){return e===x.default.getBaseName(e,!0)})):[],_=i?t.option.filter((function(e){return e===x.default.getBaseName(e,!0)})):[];if(!(0,p.default)(l)&&!(0,p.default)(_)&&(0,h.default)(l,_))return["paste_options","".concat(this.i18n.paste," ").concat(r)];if((0,d.default)(this.crossCopyOptions,t.option_family)&&(0,h.default)(e.option_family,t.option_family))return["paste_similar_options","".concat(this.i18n.paste," ").concat(r)];if(!(0,p.default)((0,c.default)(e.option,t.option))&&e.option_family===t.option_family&&(0,d.default)(this.likePasteOptions,t.option_family))return["paste_options","".concat(this.i18n.paste," ").concat(r)];if("composite"===e.option_family&&!(0,p.default)((0,c.default)(this.compositeOptions,e.option))){var m=E.default.getComponentAllFields(e.module_slug),b=(0,u.default)(m,"border_styles.composite_structure",{}),y=(0,g.default)(b).reduce((function(e,t){return F(F({},e),function(e,t){return(0,u.default)(e,"".concat(t,".controls"),{})}(b,t))}),{}),v=(0,g.default)(y);if(!(0,p.default)((0,c.default)(v,t.option)))return["paste_options","".concat(this.i18n.paste," ").concat(r)]}var w=this.getNestedAction(t,e);return!!w&&["option_option"===w?"paste_similar_options":"paste_options","".concat(this.i18n.paste," ").concat(r)]}},{key:"isCopiedValueAcceptible",value:function(e,t,n){var r="et_pb_row_inner"===(0,u.default)(e,"original_slug",(0,u.default)(e,"module_slug",""));if("column-structure"===(0,u.default)(e,"option_family","")&&r){var o=(0,u.default)(n,"[0].value","");return this.checkColumnStructureCompatibility(e.specialty_layout,o)}return!0}},{key:"checkColumnStructureCompatibility",value:function(e,t){var n=["4_4","1_2,1_2","1_3,1_3,1_3"];return(0,d.default)(["2_3,1_3","1_3,2_3"],e)&&n.push("1_4,1_4,1_4,1_4"),(0,d.default)(n,t)}},{key:"preparePayload",value:function(e,t){var n=e.props,r=n.optionLabel,i=n.optionFamily,s=n.tabSlug,c=n.toggleId,f=n.toggleGroupId,h=n.mode,_=n.optionContextMenu,g=e.props.optionId;if((0,d.default)(this.optionsBlocklist,g))return{};g=A.default.getFieldBaseName(g);var v=!1;if((0,y.default)(g,"button")&&(v=C.default.getHelper("button_option")),v&&v.constructor!==this.constructor)return v.preparePayload(e,t);var O=t.props,k=O.address,S=O.type,M=E.default.getComponentFieldCopyWith(S,g),P=(0,y.default)(g,"button")&&!(0,y.default)(g,"button_bg")?this.getComponentFieldDependsOn(S,g):[],T=(0,o.default)(M,g,P);if("composite_tab"===i&&(T=g.split(" "),"css"===f&&(T=(0,b.default)(T,(function(e){return"custom_css_".concat(e)}))),(0,l.default)(T,(function(e){var n=(0,u.default)(t,"props.attrs.".concat(e,"_last_edited"));(0,p.default)(n)||0!==(0,w.default)(n).indexOf("on")||(T=[].concat(L(T),["".concat(e,"_phone"),"".concat(e,"_tablet"),"".concat(e,"_last_edited")]))}))),"composite"===i&&(0,d.default)(["custom_css","css"],f)&&(T="custom_css_".concat(g)),(0,d.default)(["et_pb_row","et_pb_row_inner","et_pb_section"],S)&&(0,d.default)(["padding_1","padding_2","padding_3","padding_4","padding_5","padding_6"],g)){var B=g.substr(g.length-1);T=["padding_top_".concat(B),"padding_right_".concat(B),"padding_bottom_".concat(B),"padding_left_".concat(B),"padding_top_bottom_link_".concat(B),"padding_left_right_link_".concat(B),"padding_".concat(B)]}if((0,a.default)(g,"text_shadow_style")&&!(0,p.default)(T)){var x=L(T);(0,l.default)(x,(function(e){T=[].concat(L(T),["".concat(e,"_phone"),"".concat(e,"_tablet"),"".concat(e,"_last_edited")])}))}var R=(0,u.default)(t,"props.attrs.".concat(g,"_last_edited"));(0,p.default)(R)||0!==(0,w.default)(R).indexOf("on")||(T=[].concat(L(T),["".concat(g,"_phone"),"".concat(g,"_tablet"),"".concat(g,"_last_edited")]));var I=(0,d.default)(E.default.getBackgroundFieldsNames(),g),N=(0,d.default)(E.default.getBackgroundFieldsNames(!1,"button_bg"),g);(I||N)&&(M?(0,l.default)(T,(function(e){"hover"!==h&&T.push(j.default.getFieldName(e,h))})):(T=[g],"hover"!==h&&T.push(j.default.getFieldName(g,h))));var D="button_bg_color"===g&&"background-field"===i;if("background"===g&&"background"===i||D){var V=D?"button_bg":"background";T=E.default.getBackgroundFieldsNames(!0,V)}if(T&&(0,y.default)(T[0],"background")&&(0,y.default)(i,"background-")){var F=/_\d+$/.test(g)?g.replace(/^.*(_\d+)$/,"$1"):"";switch(i){case"background-gradient":T=["use_background_color_gradient".concat(F),"background_color_gradient_repeat".concat(F),"background_color_gradient_type".concat(F),"background_color_gradient_direction".concat(F),"background_color_gradient_direction_radial".concat(F),"background_color_gradient_stops".concat(F),"background_color_gradient_unit".concat(F),"background_color_gradient_overlays_image".concat(F),"background_color_gradient_start".concat(F),"background_color_gradient_end".concat(F),"background_color_gradient_start_position".concat(F),"background_color_gradient_end_position".concat(F)];break;case"background-image":T=["background_enable_image".concat(F),"bg_img".concat(F),"background_image".concat(F),"background_url".concat(F),"parallax".concat(F),"parallax_method".concat(F),"background_size".concat(F),"background_image_width".concat(F),"background_image_height".concat(F),"background_position".concat(F),"background_horizontal_offset".concat(F),"background_vertical_offset".concat(F),"background_repeat".concat(F),"background_blend".concat(F)];break;case"background-video":T=["background_enable_video_mp4".concat(F),"background_enable_video_webm".concat(F),"background_video_mp4".concat(F),"background_video_webm".concat(F),"background_video_width".concat(F),"background_video_height".concat(F),"allow_player_pause".concat(F),"background_video_pause_outside_viewport".concat(F)];break;case"background-pattern":T=["background_enable_pattern_style".concat(F),"background_pattern_style".concat(F),"background_pattern_color".concat(F),"background_pattern_transform".concat(F),"background_pattern_size".concat(F),"background_pattern_width".concat(F),"background_pattern_height".concat(F),"background_pattern_repeat_origin".concat(F),"background_pattern_horizontal_offset".concat(F),"background_pattern_vertical_offset".concat(F),"background_pattern_repeat".concat(F),"background_pattern_blend_mode".concat(F)];break;case"background-mask":T=["background_enable_mask_style".concat(F),"background_mask_style".concat(F),"background_mask_color".concat(F),"background_mask_transform".concat(F),"background_mask_aspect_ratio".concat(F),"background_mask_size".concat(F),"background_mask_width".concat(F),"background_mask_height".concat(F),"background_mask_position".concat(F),"background_mask_horizontal_offset".concat(F),"background_mask_vertical_offset".concat(F),"background_mask_blend_mode".concat(F)];break;default:T=["background_enable_color".concat(F),"background_color".concat(F)]}}var W=(0,u.default)(t.props,"specialty_layout",""),U=this.getNestedOptionType(g),H=!!(0,m.default)(_)||_;return{type:this.getType(),optionTitle:r,option:T,option_family:i,option_mode:h,module_address:k,module_slug:S,tabSlug:s,toggleId:c,toggleGroupId:f,specialty_layout:W,nested_option:U,context_menu:H}}},{key:"getOptions",value:function(e,t){return!(0,p.default)(e)&&("transform"===e.option_family?["transform_styles_last_edited","transform_styles__hover_enabled"].concat(e.option):(0,f.default)(e.option)?e.option:[e.option])}},{key:"getOptionsToPaste",value:function(e,t,n){return"option_group"===this.getNestedAction(e,t)?this.getNestedOptionsToPaste(e,t,n):n}},{key:"getOptionsToUnset",value:function(e,t,n){return"option_group"===this.getNestedAction(e,t)?[]:n}},{key:"getColumnSuffix",value:function(e){var t=e.option,n=e.option_family,r={custom_padding:{fieldName:"padding_",prefix:!1},background:{fieldName:"background_",prefix:!0},"background-color":{fieldName:"background_color",prefix:!0},"background-gradient":{fieldName:"background_color_gradient",prefix:!0},"background-image":{fieldName:"background_image",prefix:!0},"background-pattern":{fieldName:"background_pattern_style",prefix:!0},"background-mask":{fieldName:"background_mask_style",prefix:!0},"background-video":{fieldName:"background_video",prefix:!0}};if(!(0,f.default)(t))return"";var o=(0,u.default)(r,[n,"fieldName"],n),a=(0,u.default)(r,[n,"prefix"],!1),l=new RegExp(/_\d+/,"g"),s=(0,i.default)(t,(function(e){return a?(0,y.default)(e,o):(0,d.default)(e,o)})),c=l.exec(s);return(0,u.default)(c,"0","")}},{key:"isBackgroundOptionFamily",value:function(e){var t=e.option_family;return(0,d.default)(["background-color","background-gradient","background-image","background-pattern","background-mask","background-video","background"],t)}},{key:"paddingFields",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,R.hasValue)(e)?parseInt(e,10):"",r=(0,R.hasValue)(n)?"_".concat(n):"",o=["padding_top".concat(r),"padding_right".concat(r),"padding_bottom".concat(r),"padding_left".concat(r),"padding_top_bottom_link".concat(r),"padding_left_right_link".concat(r)];return t&&o.push("padding".concat(r)),t?o:["padding".concat(r)]}},{key:"getPaddingFields",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return[].concat(L(this.paddingFields(1,e)),L(this.paddingFields(2,e)),L(this.paddingFields(3,e)),L(this.paddingFields(4,e)),L(this.paddingFields(5,e)),L(this.paddingFields(6,e)))}},{key:"backgroundEnabledFields",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=(0,R.hasValue)(e)?"_".concat(e):"";return["background_enable_color".concat(t),"background_enable_image".concat(t),"background_enable_pattern_style".concat(t),"background_enable_mask_style".concat(t),"background_enable_video_mp4".concat(t),"background_enable_video_webm".concat(t)]}},{key:"getBackgroundEnableFields",value:function(e){return this.isBackgroundOptionFamily(e)?[].concat(L(this.backgroundEnabledFields()),L(this.backgroundEnabledFields(1)),L(this.backgroundEnabledFields(2)),L(this.backgroundEnabledFields(3)),L(this.backgroundEnabledFields(4)),L(this.backgroundEnabledFields(5)),L(this.backgroundEnabledFields(6))):L(this.backgroundEnabledFields())}},{key:"getTargetOptionsToPaste",value:function(e){var t=(0,u.default)(e,"option",[]),n=this.getModuleAddress(e),r=k.default.getComponentAtAddress(n),o=this.getModuleSlug(e),a=(0,I.getCompositeFieldAttrs)(o,t),i=(0,O.default)([].concat(L(t),L(a))),s=[];return(0,l.default)(i,(function(e){e===x.default.getBaseName(e,!0)&&(s.push(e),x.default.isHoverEnabled(e,r)&&(s.push(x.default.getHoverName(e)),s.push(x.default.getHoverEnabledName(e))),x.default.isStickyEnabled(e,r)&&(s.push(x.default.getStickyName(e)),s.push(x.default.getStickyEnabledName(e))),x.default.isResponsiveEnabled(e,r)&&(s.push(x.default.getTabletName(e)),s.push(x.default.getPhoneName(e)),s.push(x.default.getResponsiveEnabledName(e))))})),s}},{key:"getBackgroundOptionsToPaste",value:function(e,t,n){var r=this.getColumnSuffix(e),a=this.getColumnSuffix(t),i=""!==a&&""===r,s=["background_enable_color","background_enable_image","background_enable_video_mp4","background_enable_video_webm"],c=["_tablet","_phone","_last_edited"],f=[A.default.hoverSuffix(),A.default.enabledSuffix(),B.default.stickySuffix(),B.default.enabledSuffix()],p=(0,o.default)(f,c),h=new RegExp("".concat(p.join("|")),"g"),_=[];return(0,l.default)(n,(function(e){var t=e.name,n=e.value,o=t.replace("".concat(r),"".concat(a)),l=(0,u.default)(t.match(h),"0"),f=t.replace("".concat(r),"");if(i){if(o=l?"".concat(f).concat(a).concat(l):"".concat(f).concat(a),!l&&""===r)switch(f){case"bg_img":o=!1;break;case"background_image":o="bg_img".concat(a)}}else if(l||""!==a)l||"background_image"!==f||(o=!1);else switch(f){case"bg_img":o="background_image";break;case"background_image":o=!1}var p=!(0,R.hasValue)(o),m=""!==a&&!l&&(0,d.default)(s,f),g=""!==a&&(0,d.default)(c,l);p||m||g||_.push({name:o,value:n})})),_}},{key:"getPaddingOptionsToPaste",value:function(e,t,n){var r=this,o=this.getTargetOptionsToPaste(t),a=this.getColumnSuffix(e),s=this.getColumnSuffix(t),c=""!==a&&""!==s,f=""!==a&&""===s,p=""===a&&""!==s,h=[A.default.hoverSuffix(),A.default.enabledSuffix(),B.default.stickySuffix(),B.default.enabledSuffix(),"_tablet","_phone","_last_edited"],_=new RegExp("".concat(h.join("|")),"g"),m=[];if(f)(0,l.default)(o,(function(e){var t=(0,u.default)(e.match(_),"0");if((0,d.default)(e,"custom_padding")&&!t){var r=[];(0,l.default)(n,(function(e){var t=((0,u.default)(e,"value","")||"").trim();r.push(t)})),m.push({name:e,value:r.length?(0,v.default)(r,6).join("|"):""})}else if((0,d.default)(e,"custom_padding")){var o=t?"padding".concat(a).concat(t):"padding".concat(a),s=(0,i.default)(n,(function(e){return o===e.name}));m.push({name:e,value:(0,u.default)(s,"value",!1)||""})}}));else if(c)(0,l.default)(n,(function(e){var t=e.name,n=e.value,r=(0,u.default)(t.match(_),"0"),i=r?t.replace("".concat(a).concat(r),"".concat(s).concat(r)):t.replace("".concat(a),"".concat(s));(0,d.default)(o,i)&&m.push({name:i,value:n||""})}));else if(p)(0,l.default)(n,(function(e){var t=e.name,n=e.value,i=(0,u.default)(t.match(_),"0"),c=i?t.replace("".concat(a).concat(i),"".concat(s).concat(i)):t.replace("".concat(a),"".concat(s));if((0,d.default)(c,"custom_padding")&&!i){c=!1;var f=(n||"").trim().split("|"),p=r.paddingFields(s,!0);(0,l.default)(p,(function(e,t){m.push({name:"".concat(e).concat(s),value:(f.length?f[t]:"")||""})}))}(0,d.default)(o,c)&&m.push({name:c,value:n||""})}));else if(this.isNestedOptions(e,t)){var g=this.getNestedOptionsToPaste(e,t,n);(0,l.default)(g,(function(e){var t=e.name,n=e.value;(0,d.default)(o,t)&&m.push({name:t,value:n||""})}))}return m}},{key:"getSimilarNestedOptionsToPaste",value:function(e,t,n){var r=e.toggleId,o=e.nested_option,a=t.toggleId;if(o!==t.nested_option)return[];var i=this.getTargetOptionsToPaste(t),u=this.getNestedAction(e,t),s=o===r?"":"_".concat(r),c=o===a?"":"_".concat(a),f=""!==c&&""===s,p=[];if("option_option"===u&&"filters"===o){var h=o===r?"filter_":"child_filter_",_=o===a?"filter_":"child_filter_";(0,l.default)(n,(function(e){var t=e.name,n=e.value,r=t.replace("".concat(h),"".concat(_));(0,d.default)(i,r)&&p.push({name:r,value:n||""})}))}else(0,l.default)(n,(function(e){var t=e.name,n=e.value,r=t.replace("".concat(s),"".concat(c));f&&(r="".concat(t).concat(c)),(0,d.default)(i,r)&&p.push({name:r,value:n||""})}));return p}},{key:"getSimilarOptions",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(t){var r=(0,u.default)(t,"option_family",""),o=(0,u.default)(e,"option_family","");if(""!==r&&""!==o&&r===o){if(this.isBackgroundOptionFamily(t))return this.getBackgroundOptionsToPaste(t,e,n);if("custom_padding"===o)return this.getPaddingOptionsToPaste(t,e,n);if("option_option"===this.getNestedAction(t,e))return this.getSimilarNestedOptionsToPaste(t,e,n)}}return[]}},{key:"getOptionsBlocklist",value:function(e){return[]}},{key:"getComponentFieldDependsOn",value:function(e,t){var n=this;t=(0,f.default)(t)?t:[t];var r=[];return(0,l.default)(t,(function(t){var a=E.default.getComponentFieldDependsOn(e,t);r=(0,o.default)(r,a),(0,l.default)(a,(function(t){var a=n.getComponentFieldDependsOn(e,t);r=(0,o.default)(r,a)}))})),r=(0,o.default)(r,["custom_button"]),(0,O.default)(r)}},{key:"getType",value:function(){return"option"}},{key:"getTitle",value:function(e){return(0,u.default)(e,"optionTitle",this.i18n.option)}},{key:"getTypeName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?this.i18n.options:this.i18n.option}},{key:"goToAction",value:function(e){T.default.quickAccessSwitchTab(e.toggleGroupId),T.default.quickAccessActive({toggleId:e.toggleId,toggleGroupId:e.toggleGroupId})}},{key:"getOptionSuffixes",value:function(e,t){var n=(0,u.default)(e,"option_mode","desktop"),r=(0,u.default)(e,"option",[]),o=(0,u.default)(t,"attrs",{}),a=(0,u.default)(r,"0",""),i="hover"===n,l="sticky"===n,s=["",A.default.hoverSuffix(),A.default.enabledSuffix(),B.default.stickySuffix(),B.default.enabledSuffix()],c=(0,d.default)(E.default.getBackgroundFieldsNames(),a),f=(0,d.default)(E.default.getBackgroundFieldsNames(!1,"button_bg"),a);if(c||f){var p=f?"button_bg_color":"background";return i&&A.default.isEnabled(p,o)?[A.default.hoverSuffix()]:l&&B.default.isEnabled(p,o)?[B.default.stickySuffix()]:[""]}return s}},{key:"getNestedOptionType",value:function(e){return e=this.getNestedOptionAlias(e,"group"),(0,i.default)(this.getNestedSupportedGroup(),(function(t){return e.includes(t)}))||!1}}],n&&U(t.prototype,n),r&&U(t,r),Object.defineProperty(t,"prototype",{writable:!1}),D}(S.default),X=K;t.default=X},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSettingExcluded=void 0;var r=a(n(1)),o=a(n(4));function a(e){return e&&e.__esModule?e:{default:e}}var i={by_toggle_name:{general:{admin_label:"admin_label",main_content:"main_content",link_options:"link_options",column_structure:"column_structure",spam:"spam"}},by_setting_name:{custom_css:{classes:{module_id:"module_id"}}},by_component:{et_pb_audio:{general:{image:"image",audio:"audio"}},et_pb_blurb:{general:{image:"image"}},et_pb_button:{general:{link:"link"}},et_pb_contact_form:{general:{email:"email",redirect:"redirect"}},et_pb_contact_field:{general:{field_options:"field_options",conditional_logic:"conditional_logic"}},et_pb_signup:{general:{provider:"provider",fields:"fields",success_action:"success_action"}},et_pb_image:{general:{link:"link"}},et_pb_login:{general:{redirect:"redirect"}},et_pb_map:{general:{map:"map"}},et_pb_map_pin:{general:{map:"map"}},et_pb_team_member:{general:{image:"image"}},et_pb_post_nav:{general:{categories:"categories"}},et_pb_search:{general:{exceptions:"exceptions"}},et_pb_slide:{general:{image_video:"image_video"}},et_pb_slide_fullwidth:{general:{image_video:"image_video"}},et_pb_social_media_follow_network:{general:{link:"link"}},et_pb_testimonial:{general:{image:"image"}},et_pb_toggle:{general:{state:"state"}},et_pb_video:{general:{overlay:"overlay"}},et_pb_video_slider_item:{general:{overlay:"overlay"}},et_pb_fullwidth_header:{general:{images:"images"}},et_pb_fullwidth_image:{general:{link:"link"}},et_pb_fullwidth_map:{general:{map:"map"}}}};t.isSettingExcluded=function(e,t,n,a){return e="css"===(e="design"===e?"advanced":e)?"custom_css":e,(0,o.default)(n)&&(n=n[0]),(0,r.default)(i,"by_toggle_name.".concat(e,".").concat(t),!1)||(0,r.default)(i,"by_component.".concat(a,".").concat(e,".").concat(t),!1)||(0,r.default)(i,"by_setting_name.".concat(e,".").concat(t,".").concat(n),!1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getValueY=t.getValueX=t.getOverflowValues=t.getFieldY=t.getFieldX=t.default=t.OVERFLOW_VISIBLE=t.OVERFLOW_SCROLL=t.OVERFLOW_HIDDEN=t.OVERFLOW_DEFAULT=t.OVERFLOW_AUTO=void 0;var r,o=(r=n(1))&&r.__esModule?r:{default:r};t.OVERFLOW_DEFAULT="";var a="visible";t.OVERFLOW_VISIBLE=a;var i="hidden";t.OVERFLOW_HIDDEN=i;var l="scroll";t.OVERFLOW_SCROLL=l;var u="auto";t.OVERFLOW_AUTO=u;var s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"".concat(e,"overflow-x")};t.getFieldX=s;var d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"".concat(e,"overflow-y")};t.getFieldY=d;var c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return(0,o.default)(e,s(n),t)};t.getValueX=c;var f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return(0,o.default)(e,d(n),t)};t.getValueY=f;var p=function(){return["",u,i,l,a]};t.getOverflowValues=p;var h={OVERFLOW_DEFAULT:"",OVERFLOW_AUTO:u,OVERFLOW_HIDDEN:i,OVERFLOW_SCROLL:l,OVERFLOW_VISIBLE:a,getFieldX:s,getFieldY:d,getValueX:c,getValueY:f,getOverflowValues:p};t.default=h},function(e,t,n){"use strict";t.__esModule=!0,t.default={noWobble:{stiffness:170,damping:26},gentle:{stiffness:120,damping:14},wobbly:{stiffness:180,damping:12},stiff:{stiffness:210,damping:20}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=O(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}o.default=e,n&&n.set(e,o);return o}(n(0)),a=w(n(3)),i=w(n(13)),l=w(n(196)),u=w(n(1)),s=w(n(5)),d=w(n(42)),c=w(n(40)),f=n(94),p=w(n(164)),h=w(n(18)),_=w(n(29)),m=w(n(15)),g=w(n(39)),b=w(n(2)),y=n(60),v=n(49);function w(e){return e&&e.__esModule?e:{default:e}}function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(O=function(e){return e?n:t})(e)}function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u.ORDER_CLASS;return"".concat(e," .et-pb-slider-arrows .et-pb-arrow-prev, ").concat(e," .et-pb-slider-arrows .et-pb-arrow-next")};t.getArrowsSelector=m;var g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u.ORDER_CLASS;return"".concat(e," .et-pb-controllers a, ").concat(e," .et-pb-controllers .et-pb-active-control")};t.getDotsSelector=g;var b=function(){return"arrows_custom_color"};t.getArrowsFieldName=b;var y=function(){return"dot_nav_custom_color"};t.getDotsFieldName=y;t.getArrowsCssStyle=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=(0,c.generateStyles)({address:n,attrs:e,name:"arrows_custom_color",selector:m(t),cssProperty:"color",stickyPseudoSelectorLocation:s.default.hasValue(t)?"prefix":"order_class"});return r};t.getDotsCssStyle=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=(0,c.generateStyles)({address:n,attrs:e,name:"dot_nav_custom_color",selector:g(t),cssProperty:"background-color",stickyPseudoSelectorLocation:s.default.hasValue(t)?"prefix":"order_class"});return r};t.getAttrsForSlide=function(){return["use_bg_overlay","bg_overlay_color","bg_overlay_color_last_edited","bg_overlay_color_tablet","bg_overlay_color_phone","use_text_overlay","text_overlay_color","text_overlay_color_last_edited","text_overlay_color_tablet","text_overlay_color_phone","text_border_radius","text_border_radius_last_edited","text_border_radius_tablet","text_border_radius_phone"]};t.reapplyModuleBackgroundOnSlide=function(e){var t=h(h({},{address:"",slidePostId:0,postFeaturedImage:!1,renderSlug:"",attrs:{},orderClassname:""}),e),n=t.address,u=t.orderClassname,c=t.renderSlug,f=(0,r.default)(t.attrs),p="et_pb_post_slide-".concat(t.slidePostId);return!!t.postFeaturedImage&&(!!(l.default.isResponsiveEnabled(f,"show_image")?(0,a.default)(l.default.getPropertyValues(f,"show_image"),"on"):s.default.isOn((0,o.default)(f,"show_image")))&&("background"===(0,o.default)(f,"image_placement")&&((l.default.isResponsiveEnabled(f,"parallax")?(0,a.default)(l.default.getPropertyValues(f,"parallax"),"on"):s.default.isOn((0,o.default)(f,"parallax")))?void 0:(t.postFeaturedImage&&((0,i.default)(f,"background_image",t.postFeaturedImage),(0,i.default)(f,"background_enable_image","on"),l.default.isResponsiveEnabled(f,"background")&&((0,i.default)(f,"background_image_last_edited",""),(0,i.default)(f,"background_image_tablet",t.postFeaturedImage),(0,i.default)(f,"background_image_phone",t.postFeaturedImage))),(0,d.getBackgroundStyle)({address:n,attrs:f,renderSlug:c,selector:".".concat(u," .").concat(p)})))))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStarRatingStyle=t.getRatingWidthStyle=t.getRatingAlignmentStyle=void 0;var r=p(n(5)),o=p(n(9)),a=p(n(1)),i=p(n(7)),l=p(n(17)),u=p(n(336)),s=p(n(15)),d=n(138),c=n(2),f=p(n(14));function p(e){return e&&e.__esModule?e:{default:e}}var h=function(e){return{width:"calc(5.4em + (".concat(e," * 4))")}};t.getRatingWidthStyle=h;var _=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop";if("desktop"===t&&(0,i.default)(["left","justify"],e))return{};var n={center:{left:"auto",right:"auto"},right:{left:"auto",right:"0"}},r=(0,a.default)(n,[e,"left"],"0"),o=(0,a.default)(n,[e,"right"],"auto");return{"margin-left":"".concat(r," !important"),"margin-right":"".concat(o," !important")}};t.getRatingAlignmentStyle=_;t.getStarRatingStyle=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%%order_class%% .star-rating",n=[],a=["rating_letter_spacing","rating_text_align"];return(0,o.default)(a,(function(a){var i=s.default.getPropertyValues(e,a,"",!0),l={};(0,o.default)(i,(function(e,t){if(!(0,r.default)(e))switch(a){case"rating_letter_spacing":l[t]=h(e);break;case"rating_text_align":l[t]=_(e,t)}})),n.push(s.default.generateResponsiveCSS(l,t))})),n},(0,d.addAppFilter)("et.builder.get.woo.default.columns","et.builder.get.woo.default.columns",(function(){var e=f.default.getCurrentPage("page_layout");return e&&"et_full_width_page"!==e?"3":"4"})),(0,d.addAppFilter)("et.builder.get.woo.default.product","et.builder.get.woo.default.product",(function(){var e=f.default.postType,t=(0,c.condition)("is_layout_post_type");return"product"===e||t?"current":"latest"})),(0,d.addAppFilter)("et.builder.get.woo.default.tabs","et.builder.get.woo.default.tabs",(function(){var e=f.default.getCurrentPage("woocommerceTabs")||{},t=(0,l.default)(e);return(0,u.default)(t,"|")})),(0,d.addAppFilter)("et.builder.get.woo.default.page.type","et.builder.get.woo.default.page.type",(function(){var e,t,n;return null!==(e=null===(t=ETBuilderBackend)||void 0===t||null===(n=t.conditionalTags)||void 0===n?void 0:n.is_tb)&&void 0!==e&&e?"product":"undefined"!=typeof wc_cart_params?"cart":"undefined"!=typeof wc_checkout_params&&"product"!==ETBuilderBackend.postType?"checkout":"product"}))},function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.toValue=t.split=t.set=t.parse=t.merge=t.hasValue=t.get=t.DELIMITER=void 0;var o=c(n(515)),a=c(n(28)),i=c(n(370)),l=c(n(304)),u=c(n(96)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}o.default=e,n&&n.set(e,o);return o}(n(94));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}function f(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nt)return(0,l.default)(n,t);var r=(0,i.default)(t-n.length,(function(){return""}));return[].concat(f(n),f(r))};t.parse=m;var g=function(e,t){var n=s.hasValue(e)?e:"",r=(0,a.default)(n).split(_);return m(r,t)};t.split=g;t.toValue=function(e,t){return m(e,t).join(_)};t.hasValue=function(e,t){return g(e,t).filter(s.hasValue).length>0};t.merge=function(e,t,n){var r=g(e,n),a=g(t,n);return(0,o.default)(r,a,h).join(_)};t.get=function(e,t,n){return s.get(g(t,n)[e],"")};t.set=function(e,t,n,r){var o=g(n,r);return!(0,u.default)(t)||0>t||t>=o.length?n:(o[t]=s.get(e,""),o.join(_))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=b(n(184)),o=b(n(40)),a=b(n(35)),i=b(n(11)),l=b(n(217)),u=b(n(137)),s=b(n(1)),d=b(n(0)),c=b(n(27)),f=b(n(270)),p=b(n(13)),h=b(n(16)),_=b(n(8)),m=b(n(2)),g=(b(n(22)),b(n(95)));function b(e){return e&&e.__esModule?e:{default:e}}function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;tthis.props.valueMax&&(t=this.props.valueMax),t!==this.state.value&&(this.props._onChange(this.props.name,t),this.setState({value:t}))}});t.default=v},function(e,t,n){var r=n(46),o=n(62),a=n(87),i=n(80),l=Object.prototype,u=l.hasOwnProperty,s=r((function(e,t){e=Object(e);var n=-1,r=t.length,s=r>2?t[2]:void 0;for(s&&a(t[0],t[1],s)&&(r=1);++ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1;);return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=/%%|%(?:(\d+)\$)?((?:[-+#0 ]|'[\s\S])*)(\d+)?(?:\.(\d*))?([\s\S])/g,t=arguments,n=0,r=t[n++],o=function(e,t,n,r){n||(n=" ");var o=e.length>=t?"":new Array(1+t-e.length>>>0).join(n);return r?e+o:o+e},a=function(e,t,n,r,a){var i=r-e.length;return i>0&&(e=n||"0"!==a?o(e,r,a,n):[e.slice(0,t.length),o("",i,"0",!0),e.slice(t.length)].join("")),e},i=function(e,t,n,r,i,l){return e=o((e>>>0).toString(t),i||0,"0",!1),a(e,"",n,r,l)},l=function(e,t,n,r,o){return null!=r&&(e=e.slice(0,r)),a(e,"",t,n,o)},u=function(e,r,u,s,d,c){var f,p,h,_,m;if("%%"===e)return"%";var g,b,y=" ",v=!1,w="";for(g=0,b=u.length;g-1?6:void 0,r&&0==+r)throw new Error("Argument number must be greater than zero");if(r&&+r>=t.length)throw new Error("Too few arguments");switch(m=r?t[+r]:t[n++],c){case"%":return"%";case"s":return l("".concat(m),v,s,d,y);case"c":return l(String.fromCharCode(+m),v,s,d,y);case"b":return i(m,2,v,s,d,y);case"o":return i(m,8,v,s,d,y);case"x":return i(m,16,v,s,d,y);case"X":return i(m,16,v,s,d,y).toUpperCase();case"u":return i(m,10,v,s,d,y);case"i":case"d":return f=+m||0,m=(p=(f=Math.round(f-f%1))<0?"-":w)+o(String(Math.abs(f)),d,"0",!1),v&&"0"===y&&(y=" "),a(m,p,v,s,y);case"e":case"E":case"f":case"F":case"g":case"G":return p=(f=+m)<0?"-":w,h=["toExponential","toFixed","toPrecision"]["efg".indexOf(c.toLowerCase())],_=["toString","toUpperCase"]["eEfFgG".indexOf(c)%2],m=p+Math.abs(f)[h](d),a(m,p,v,s,y)[_]();default:return""}};try{return r.replace(e,u)}catch(e){return!1}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isYes=t.isOnOff=t.isOn=t.isOff=t.isNo=t.isDefault=void 0,t.sanitizedPreviously=function(e){return e};t.isOn=function(e){return"on"===e};t.isOff=function(e){return"off"===e};t.isOnOff=function(e){return"on"===e||"off"===e};t.isYes=function(e){return"yes"===e};t.isNo=function(e){return"no"===e};t.isDefault=function(e){return"default"===e}},function(e,t,n){var r=n(904),o=n(657),a=n(113),i=n(4);e.exports=function(e,t){return(i(e)?r:o)(e,a(t))}},function(e,t,n){var r=n(55);e.exports=function(e,t,n){for(var o=-1,a=e.length;++o1&&void 0!==arguments[1])||arguments[1],n=ETBuilderBackend.i18n.history.meta,r="";if((0,u.default)(e.verb)||(t&&(0,f.default)(n.verb,e.verb)&&(e.verb=n.verb[e.verb]),r+="".concat(e.verb," ")),!(0,u.default)(e.noun)){switch(!0){case e.noun.indexOf("regular")>0:e.noun="section";break;case e.noun.indexOf("specialty_layout")>0:e.noun="specialty_section";break;case e.noun.indexOf("column_inner")>0:e.noun="column";break;case e.noun.indexOf("row")>0:e.noun="row"}t&&(0,f.default)(n.noun,e.noun)?e.noun=n.noun[e.noun]:t&&!(0,u.default)((0,s.default)(ETBuilderBackend.modules,{label:e.noun}))&&(e.noun=(0,s.default)(ETBuilderBackend.modules,{label:e.noun}).title),r+=e.noun}return(0,u.default)(e.addition)||(t&&(0,f.default)(n.addition,e.addition)&&(e.addition=n.addition[e.addition]),r+=" ".concat(e.addition)),(0,h.decode)(r)},_getTime:function(){return(new Date).toLocaleTimeString()},onChange:function(e){C.push(e)},callCallbacks:function(){(0,p.default)(C,(function(e){return e()}))},_throttle:(0,a.default)((function(e){e()}),1e3),_shortThrottle:(0,a.default)((function(e){e()}),300)};t.default=M},function(e,t,n){var r=n(557);e.exports=function(e,t){var n=-1,o=e.length,a=o-1;for(t=void 0===t?o:t;++n"},{name:"COMMA",text:","},{name:"TILDE",text:"~"},{name:"NOT"},{name:"TOPLEFTCORNER_SYM",text:"@top-left-corner"},{name:"TOPLEFT_SYM",text:"@top-left"},{name:"TOPCENTER_SYM",text:"@top-center"},{name:"TOPRIGHT_SYM",text:"@top-right"},{name:"TOPRIGHTCORNER_SYM",text:"@top-right-corner"},{name:"BOTTOMLEFTCORNER_SYM",text:"@bottom-left-corner"},{name:"BOTTOMLEFT_SYM",text:"@bottom-left"},{name:"BOTTOMCENTER_SYM",text:"@bottom-center"},{name:"BOTTOMRIGHT_SYM",text:"@bottom-right"},{name:"BOTTOMRIGHTCORNER_SYM",text:"@bottom-right-corner"},{name:"LEFTTOP_SYM",text:"@left-top"},{name:"LEFTMIDDLE_SYM",text:"@left-middle"},{name:"LEFTBOTTOM_SYM",text:"@left-bottom"},{name:"RIGHTTOP_SYM",text:"@right-top"},{name:"RIGHTMIDDLE_SYM",text:"@right-middle"},{name:"RIGHTBOTTOM_SYM",text:"@right-bottom"},{name:"RESOLUTION",state:"media"},{name:"IE_FUNCTION"},{name:"CHAR"},{name:"PIPE",text:"|"},{name:"SLASH",text:"/"},{name:"MINUS",text:"-"},{name:"STAR",text:"*"},{name:"LBRACE",endChar:"}",text:"{"},{name:"RBRACE",text:"}"},{name:"LBRACKET",endChar:"]",text:"["},{name:"RBRACKET",text:"]"},{name:"EQUALS",text:"="},{name:"COLON",text:":"},{name:"SEMICOLON",text:";"},{name:"LPAREN",endChar:")",text:"("},{name:"RPAREN",text:")"},{name:"DOT",text:"."}];!function(){var e=[],t=Object.create(null);r.UNKNOWN=-1,r.unshift({name:"EOF"});for(var n=0,o=r.length;n5?{stiffness:2500,damping:80}:{stiffness:360,damping:20},i=(0,u.default)(r.data.formatBlock)?"":r.data.formatBlock;return r.data.iconColor=!0===e.isButtonActive(r.data.buttonCommand,i)?"#42E1A7":"#FFFFFF",0===o?{key:r.key,data:r.data,style:{opacity:(0,l.spring)(1,a)}}:{key:r.key,data:r.data,style:{opacity:(0,l.spring)(n[o-1].style.opacity,a)}}}))}},(function(e){return o.default.createElement(f.default,{className:"et-fb-inline-editor__default-menu"},e.map((function(e){return o.default.createElement(p.default,{key:e.key,className:e.data.className,buttonCommand:e.data.buttonCommand,formatBlock:e.data.formatBlock,inverse:!0,linkToMenu:e.data.linkToMenu,_onClick:n,style:e.style,tooltip:e.data.tooltip},o.default.createElement(h.default,{icon:e.data.icon,color:e.data.iconColor}))})))}))}}])&&k(t.prototype,n),r&&k(t,r),Object.defineProperty(t,"prototype",{writable:!1}),m}(o.Component);t.default=B,B.propTypes=P,B.defaultProps={items:[]},B.buttonNameToStyleMapping=T,B.tagStylesList=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sizing=void 0;var r=s(n(1)),o=s(n(28)),a=s(n(2)),i=s(n(295)),l=s(n(561)),u=s(n(14));function s(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:"";d(this,e),this.getType=function(){return t},this.getProps=function(){return n},this.getPrefix=function(){return r}}var t,n,s;return t=e,n=[{key:"supports",value:function(){var e=u.default.getComponentAdvancedField(this.getType(),"advanced_common");return!1!==(0,r.default)(e,"".concat(this.getFeatureName(),".use_").concat(this.getFieldName()),!0)}},{key:"getFeatureName",value:function(){return""}},{key:"getFieldName",value:function(){return""}},{key:"getRawField",value:function(){return this.getPrefix()+this.getFieldName()}},{key:"getRawFieldEnabled",value:function(){return""}},{key:"getField",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.getRawField();if(!this.isEnabled(e))return t;switch(e){case"hover":return i.default.getHoverField(t);case"sticky":return l.default.getStickyField(t);case"tablet":return"".concat(t,"_tablet");case"phone":return"".concat(t,"_phone");default:return t}}},{key:"getEnabledField",value:function(){return"".concat(this.getRawFieldEnabled())}},{key:"isFeatureEnabled",value:function(){return a.default.isOn((0,r.default)(this.getProps(),this.getEnabledField()))}},{key:"isEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.getProps();switch(e){case"hover":return this.isFeatureEnabled()&&i.default.isEnabled(this.getRawField(),t);case"sticky":return this.isFeatureEnabled()&&l.default.isEnabled(this.getRawField(),t);case"phone":case"tablet":return this.isFeatureEnabled()&&"on"===(0,r.default)(t,"".concat(this.getRawField(),"_last_edited"),"").split("|")[0];default:return this.isFeatureEnabled()}}},{key:"getValue",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!this.isEnabled(e))return"";var t=this.getDefaultValue(e),n=(0,o.default)((0,r.default)(this.getProps(),this.getField(e)));return n===t?"":n}},{key:"getRawValue",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,o.default)((0,r.default)(this.getProps(),this.getField(e)))}},{key:"getValueOrDefault",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.isFeatureEnabled()?e&&!this.isEnabled(e)?this.getValueOrDefault():this.getValue(e)||this.getDefaultValue(e):""}},{key:"getRawValueOrDefault",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.isFeatureEnabled()?this.getRawValue(e)||this.getDefaultValue(e):""}},{key:"getDefaultValue",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.getRawField(),n=u.default.getComponentAdvancedField(this.getType(),t);if(!this.isEnabled(e))return(0,o.default)((0,r.default)(n,"default","auto"));switch(e){case"hover":case"sticky":return this.getValueOrDefault();case"tablet":return(0,o.default)((0,r.default)(n,"default_tablet"))||this.getValueOrDefault();case"phone":return(0,o.default)((0,r.default)(n,"default_phone"))||this.getValueOrDefault("tablet");default:return(0,o.default)((0,r.default)(n,"default","auto"))}}},{key:"getDefaultUnit",value:function(){var e=u.default.getComponentAdvancedField(this.getType(),this.getRawField());return(0,r.default)(e,"default_unit","px")}}],n&&c(t.prototype,n),s&&c(t,s),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.Sizing=f},function(e,t,n){"use strict";n.r(t),function(e,r){n.d(t,"cancelAnimationFrame",(function(){return h})),n.d(t,"requestAnimationFrame",(function(){return p}));let o=1;const a="object"==typeof self&&self.self==self?self:"object"==typeof e&&e.global==e?e:{},i=Date.now();let l={},u=Date.now();const s=e=>{if("function"!=typeof e)throw new TypeError(e+" is not a function");const t=Date.now(),n=t-u,r=n>16?0:16-n,s=o++;return l[s]=e,Object.keys(l).length>1||setTimeout((()=>{u=t;const e=l;l={},Object.keys(e).forEach((t=>e[t](a.performance&&"function"==typeof a.performance.now?a.performance.now():Date.now()-i)))}),r),s},d=e=>{delete l[e]},c=e=>"string"!=typeof e?s:""===e?a.requestAnimationFrame:a[e+"RequestAnimationFrame"],f=((e,t)=>{let n=0;for(;void 0!==e[n];){if(t(e[n]))return e[n];n+=1}})(["","webkit","moz","ms","o"],(e=>!!c(e))),p=c(f),h="string"!=typeof(_=f)?d:""===_?a.cancelAnimationFrame:a[_+"CancelAnimationFrame"]||a[_+"CancelRequestAnimationFrame"];var _;a.requestAnimationFrame=p,a.cancelAnimationFrame=h,r.exports&&(r.exports={requestAnimationFrame:p,cancelAnimationFrame:h});var m={requestAnimationFrame:p,cancelAnimationFrame:h};t.default=m}.call(this,n(89),n(838)(e))},function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=k(n(360)),a=k(n(56)),i=k(n(200)),l=k(n(37)),u=k(n(12)),s=k(n(42)),d=k(n(5)),c=k(n(7)),f=k(n(1)),p=k(n(9)),h=k(n(41)),_=k(n(116)),m=k(n(8)),g=k(n(6)),b=k(n(14)),y=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=O(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}o.default=e,n&&n.set(e,o);return o}(n(39)),v=n(15),w=n(2);function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(O=function(e){return e?n:t})(e)}function k(e){return e&&e.__esModule?e:{default:e}}function S(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n100&&l<=100?"100%":d}A(t,a.getField(n),d)}));t.updateWidth=B;var j=(0,a.default)((function(e,t){var n=s.default.getPreviewMode(),r=(0,b.getHeightDynamicHelper)(f.getType(t),f.getAttrs(t)),o=parseFloat(r.getValueOrDefault(n))||parseFloat(T("height",t)),a=(0,_.getUnit)(r.getValue(n)||r.getDefaultValue(n)),i=(0,g.toFixed)(1,(0,g.max)(0,o+P(e,a)))+a;A(t,r.getField(n),i)}));t.updateHeight=j;var x=function(e,t,n,r){var o=s.default.getPreviewMode(),a=e.getValue(o),i=e.getEdgeValue(t,o),l=(0,_.getUnit)(i),u=(0,_.getNumber)(i,0),c=(0,g.toFixed)(1,P(n,l)+u),f=c+l,p=d.default.isPressedAlt({strict:!0}),m=d.default.isPressed({key:"Shift"},{key:"Alt"});if(p&&!e.getEdgeLink(t,o)){var b=e.getEdgeValue((0,h.getPairEdge)(t),o);(0,_.getUnit)(b)===l&&parseFloat(b)>>1,s=e[u];null!==s&&!a(s)&&(n?s<=t:s1&&void 0!==arguments[1]&&arguments[1];if(g.default.isSettingsModalOpen("settings_modal")){var n=g.default.getActiveModule();(0,s.default)(n,"props.address")!==(0,s.default)(e,"props.address")&&_.default.closeSettings(n)}t&&(0,s.default)(e,"module")&&_.default.closeSettings(e.module)},getColorCode:function(e){var t,n=e.props||e,r=(0,y.getComponentType)(e);switch(r){case"module":t=h.default.inverse;break;case"column":t=h.default.cadetBlue;break;case"row":t=h.default.success;break;case"section":t=h.default.info}if("section"===r)switch(!0){case(0,y.is)("fullwidth",n):t=h.default.primary;break;case(0,y.is)("specialty",n):t=h.default.warning}switch(!0){case N(e)&&!L(e):t=h.default.globalitem;break;case L(e):t=h.default.danger}return t},getColumnLimit:function(e){var t=e.props||e;return(0,y.is)("row-inner",t)?(0,l.default)(["2_3,1_3","1_3,2_3"],(0,s.default)(t,"specialty_layout",""))||"2_3"===(0,s.default)(t,"content.[0].attrs.saved_specialty_column_type","")?4:3:6},getLayerName:function(e){var t=e.props||e;if((0,y.is)("removed",e)){var n=(0,s.default)(t,"type");return n.includes("et_pb_wc")?b.default.getModuleNameBySlug(n):n}var r="";if((0,l.default)(["et_pb_section","et_pb_row","et_pb_row_inner","et_pb_column","et_pb_column_inner"],(0,s.default)(t,"type")))r=(0,d.default)(ETBuilderBackend.structureModules,{slug:(0,s.default)(t,"type")}).name;else{var o=(0,d.default)(ETBuilderBackend.modules,{label:(0,s.default)(t,"type")});(0,u.default)(o,"title")&&(r=o.title)}return r},handleAddLayerButton:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=(0,s.default)(r,"isParent",!1),a=(0,s.default)(e,o?"props.parentModule":"props.editingModule"),i=(0,s.default)(a,"props.address"),l=(0,s.default)(e,"props.editingModule"),u=(0,s.default)(e,"props.parentModule"),d=(0,y.getComponentType)(a),f=g.default.getEventMode(),p="wireframe"===g.default.getPreviewMode();if(T(t,!0),_.default.cancelTooltip(),"column"===d&&!o){var h=(0,s.default)(e,"props.additionalAttrs");return _.default.setActiveLayer(a),_.default.buttonClick(e,l,u,h),void setTimeout((function(){return W(a)}),(0,s.default)(r,"scrollTimeout",100))}H("click"),_.default.setClickModeActiveModule(i),_.default.moduleActive(a),setTimeout((function(){var t,r="[data-address='".concat(i,"']"),s=y.default.$appWindow("html");if(o)t=s.find(r).find(".et-fb-add-wrap").find("button");else{var h=".et-fb-".concat(d,"-button-wrap--add");t=p&&"module"===d?s.find(r).parent().find("div:last-child").find(h):s.find(r).find(h)}if(0===t.length)return p?(_.default.toggleModuleParentsInWireFrame(a,"off"),H(f),void setTimeout((function(){return n(e)}),100)):void H(f);var m={position:(0,c.default)({},t.offset(),{element:t})};_.default.buttonClick(e,l,u,m)}),100),setTimeout((function(){return H(f)}),100)},hasChildLayers:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"module";return!(0,a.default)(e)&&!(0,y.is)(t,e)&&((0,i.default)(e.content)&&!(0,a.default)(e.content))},highlightLayerOnBuilder:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.props||e;if(!(0,a.default)(e)&&!g.default.getModuleDragging()){var r=(0,s.default)(n,"address")||e,o=y.default.$appWindow("[data-address='".concat(r,"']"));if(0!==o.length){var i=g.default.getAppPreference("builder_animation"),u=function(){var t=f.getAttrs(e),n=[p.OVERFLOW_HIDDEN,p.OVERFLOW_SCROLL,p.OVERFLOW_AUTO],r=(0,l.default)(n,p.getValueX(t)),o=(0,l.default)(n,p.getValueY(t));return r||o};o.toggleClass("et-fb-layers-view__highlight",t),o.toggleClass("et-fb-layers-view__highlight--overflow",t&&u()),o.toggleClass("et-fb-layers-view__highlight--animated",t&&i)}}},isLayerGlobal:function(e){var t=e.props||e;return g.default.isLibraryPostType()&&"global"===ETBuilderBackend.layoutScope||(0,v.hasValue)((0,s.default)(t,"attrs.global_module"))||(0,v.hasValue)((0,s.default)(t,"globalParent"))},isLayerLocked:function(e){var t=e.props||e;return(0,w.isLocked)((0,v.isOn)((0,s.default)(t,"attrs.locked")),(0,s.default)(t,"lockedParent"))},isLibraryItem:function(e){return(0,y.is)("module",e)&&g.default.isEditingLibraryItem("module")||(0,y.is)("row",e)&&g.default.isEditingLibraryItem("row")||(0,y.is)("section",e)&&g.default.isEditingLibraryItem("section")},isLibraryParent:function(e){return!(!(0,y.is)("section",e)||!g.default.isEditingLibraryItem("row")&&!g.default.isEditingLibraryItem("module"))||((0,y.is)("row",e)||(0,y.is)("column",e))&&g.default.isEditingLibraryItem("module")},isLockedParent:function(e){var t=e.props||e;return(0,v.isOn)((0,s.default)(t,"attrs.locked"))&&!(0,s.default)(t,"lockedParent")},scrollToLayerOnBuilder:function(e,t){var n=e.props||e;(0,a.default)(e)||y.default.scrollToAddress((0,s.default)(n,"address",e),t,g.default.getPreviewMode())},scrollToLayerOnModal:function(e){clearTimeout(o);var t=e.props||e;if(!(0,a.default)(e)){var n=(0,s.default)(t,"address")||e;o=setTimeout((function(){var e="[data-address='".concat(n,"']"),t=y.default.$topWindow(".et-fb-modal__layers-view").find(".et-fb-tabs"),r=y.default.$topWindow(e),o=t.find(".et-fb-layers-view");if(0!==r.length){var a=r.offset().top-o.offset().top;t.animate({scrollTop:a},300)}}),300)}},switchEventMode:function(e){_.default.buttonClick({props:{buttonName:m.default.ACTIVATE_EVENT_MODE}},void 0,void 0,{eventMode:e})},prepareProps:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return C(C({},e),t)}},T=P.forceSettingsClose,A=P.getColorCode,B=P.getColumnLimit,j=P.getLayerName,x=P.handleAddLayerButton,R=P.hasChildLayers,I=P.highlightLayerOnBuilder,N=P.isLayerGlobal,L=P.isLayerLocked,D=P.isLibraryItem,V=P.isLibraryParent,F=P.isLockedParent,W=P.scrollToLayerOnBuilder,U=P.scrollToLayerOnModal,H=P.switchEventMode,G=P.prepareProps;t.prepareProps=G,t.switchEventMode=H,t.scrollToLayerOnModal=U,t.scrollToLayerOnBuilder=W,t.isLockedParent=F,t.isLibraryParent=V,t.isLibraryItem=D,t.isLayerLocked=L,t.isLayerGlobal=N,t.highlightLayerOnBuilder=I,t.hasChildLayers=R,t.handleAddLayerButton=x,t.getLayerName=j,t.getColumnLimit=B,t.getColorCode=A,t.forceSettingsClose=T;var z=P;t.default=z},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decryptToken=function(e,t){return e.match(/.{1,2}/g).map((function(e){return parseInt(e,16)})).map((function(e){return(n=t,n.split("").map((function(e){return e.charCodeAt(0)}))).reduce((function(e,t){return e^t}),e);var n})).map((function(e){return String.fromCharCode(e)})).join("")},t.getActiveFolderEndpoint=function(e){var t=e((0,O.state)(r||(r=E(["teamSidebar.activeFolder.folder.endpoint"])))),n=e((0,O.state)(o||(o=E(["teamSidebar.activeFolder.folderType"])))),a="";n&&"myFolders"!==n&&(a="".concat(t,"/cloud/v1"));return a},t.getActiveFolderId=function(e,t){var n=e((0,O.state)(i||(i=E(["teamSidebar.activeFolder.folder.id"]))));if((t||e((0,O.state)(l||(l=E(["app.tab"])))))!==e((0,O.state)(u||(u=E(["preferences.cloudTab"])))))return"predefined";return n?(0,v.default)(n):"1"},t.getActiveFolderName=function(e){return e((0,O.state)(h||(h=E(["teamSidebar.activeFolder.folder.name"]))))||""},t.getBaseUrlByFolderId=function(e,t){var n,r="",o=e((0,O.state)(a||(a=E(["teamSidebar.sharedFolders"])))),i=(0,b.default)(o,(function(e){return t===e.id}));""!==(n=(0,g.default)(i,"endpoint",""))&&(r="".concat(n,"/cloud/v1"));return r},t.hasTeamPermissions=function(e,t){var n=e((0,O.state)(s||(s=E(["teamSidebar.activeFolder.folderType"])))),r={use:e((0,O.state)(d||(d=E(["teamSidebar.activeFolder.folder.permissions.",""])),k.PERMISSION_USE)),add:e((0,O.state)(c||(c=E(["teamSidebar.activeFolder.folder.permissions.",""])),k.PERMISSION_ADD)),edit:e((0,O.state)(f||(f=E(["teamSidebar.activeFolder.folder.permissions.",""])),k.PERMISSION_EDIT)),delete:e((0,O.state)(p||(p=E(["teamSidebar.activeFolder.folder.permissions.",""])),k.PERMISSION_DELETE))};return"myFolders"===n||(0,y.default)(t,(function(e){return r[e]}))},t.parseJWT=function(e){try{return(0,w.default)(e)}catch(e){return"invalid-token"}},t.showPremadeLayoutsCopyModal=function(e){var t=e((0,O.state)(_||(_=E(["teamSidebar.sharedFolders"]))));return(0,m.default)(t,(function(e){return e.permissions.add}))},t.uniqItems=function(e){return e.filter((function(e,t){var n=e.id,r=e.item_location||"local";return!this.has(t=n+r)&&this.add(t)}),new Set)};var r,o,a,i,l,u,s,d,c,f,p,h,_,m=S(n(69)),g=S(n(1)),b=S(n(58)),y=S(n(334)),v=S(n(28)),w=S(n(927)),O=n(1463),k=n(672);function S(e){return e&&e.__esModule?e:{default:e}}function E(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHTMLByAddress=function(e){var t=new DOMParser,n=s(),r=t.parseFromString(n,"text/html").querySelector('[data-address="'.concat(e,'"]'));if(r)return r.outerHTML;return""},t.getHTMLByClassName=p,t.getMaxCharacterLimit=function(e){var t=getComputedStyle(e),n=parseInt(t.width),r=function(e){var t=document.createElement("canvas").getContext("2d");return t.font=e,t.measureText("A").width}(t.font);return Math.floor(n/r)+20},t.getModuleHTML=function(e){var t=o.default.getShortcodeObjAtAddress(e);return p("".concat(t.type,"_").concat(t._order))},t.getPageHTML=s,t.getPageHTMLMarkupOnly=function(){var e=d(s());return e=(e=f(e)).replace(/(\r\n|\n|\r|\t)/gm,"")},t.getSectionHTML=function(e){var t=o.default.getSections(),n=e.split(".");if(!n.length)return"";var r=t[n[0]];return p("".concat(r.type,"_").concat(r.address))},t.parseAndExtractInnerHtml=f,t.prepareModuleHTML=function(e){if(!e)return"";var t=e.replace(/(\r\n|\n|\r|\t)/gm,""),n=document.createElement("div");n.innerHTML=t;return function e(t){t.childNodes.forEach((function(n){n.nodeType===Node.TEXT_NODE?t.removeChild(n):n.nodeType===Node.ELEMENT_NODE&&e(n)}))}(n),n.querySelectorAll("img").forEach((function(e){e.removeAttribute("src"),e.removeAttribute("srcset"),e.removeAttribute("decoding"),e.removeAttribute("loading"),e.removeAttribute("title"),e.removeAttribute("alt"),e.removeAttribute("sizes")})),n.querySelectorAll("[style]").forEach((function(e){return e.removeAttribute("style")})),n.querySelectorAll("script").forEach((function(e){return e.remove()})),n.querySelectorAll("style").forEach((function(e){return e.remove()})),n.querySelectorAll("svg").forEach((function(e){return e.remove()})),["h1","h2","h3","h4","h5","h6","p"].forEach((function(e){n.querySelectorAll(e).forEach((function(e){e.querySelectorAll("span").forEach((function(e){for(var t=e.parentNode;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)}))}))})),n.querySelectorAll("*").forEach((function(e){Array.from(e.classList).forEach((function(t){/\d/.test(t)&&t.includes("et_pb")&&e.classList.remove(t)}))})),n.innerHTML},t.removeTagsContentWithLoremIpsum=function(e){var t=new RegExp(">([^<]*)\\b(".concat("lorem|ipsum|dolor|sit|amet|consectetur|adipiscing|elit|nunc|fringilla|nisl|neque|vitae|accumsan|eros|posuere|vel|pulvinar|nulla|sed|sodales|felis|ante|auctor|molestie|vivamus|pharetra|tempor|erat|semper|vestibulum|primis|faucibus|orci|luctus|ultrices|cubilia|curae|tortor|pretium|mollis|enim|non|maximus|tellus|ultricies|ligula|imperdiet|duis|euamet|quam|ullamcorper|consequat|donec|porttitor|libero|ex|vulputate|laoreet|lectus|interdum|mattis|maecenas|leo|scelerisque|aenean|dictum|nullam|arcu|lobortis|aliquam|augue|finibus|venenatis|eget|urna|quis|velit|fusce|tristique|cursus|morbi|sapien|suscipit|nibh|cras|efficitur|fermentum|commodo|proin|ligula|facilisis|mauris|tempus|ligula|risus|phasellus|vitae|eleifend|tellus|gravida|condimentum|vitae|placerat|malesuada|fermentum|commodo|scelerisque|augue|feugiat|ornare|tempor|dictum|ultrices|vestibulum|metus|felis|condimentum|mollis|quam|vel|erat|tellus|aliquam|pulvinar|massa|tristique|condimentum|blandit|rutrum|lacus|auctor|lorem|id|porttitor|imperdiet|volutpat|duis|consequat|tincidunt|euismod|sodales|malesuada|placerat|vitae|tincidunt|maximus|aliquam|tincidunt|fermentum|commodo|proin|scelerisque|luctus|proin|dolor|commodo|vulputate|nulla|mi|varius|iuculis|dignissim|quis|vivamus|placerat|suspendisse|egestas|diam",")\\b([^<]*)]*>/gi,""))).replace(/&([a-z\d]+|#[xX][a-f\d]+);/gi,"")).replace(/(\r\n|\n|\r|\t)/gm,"")},t.stripHeadingAttributes=c,t.stripSpanTagsWithinHeadingAndParagraph=u,t.stripStyleTag=d;var r=a(n(37)),o=a(n(6));function a(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;r--){var o=n[r];o.parentNode.removeChild(o)}return t.documentElement.innerHTML}function c(e){for(var t=(new DOMParser).parseFromString(e,"text/html"),n=t.body.childNodes,r=n.length-1;r>=0;r--){var o=n[r];if(o.nodeType===Node.ELEMENT_NODE)if("H1"!==o.tagName&&"H2"!==o.tagName&&"H3"!==o.tagName&&"H4"!==o.tagName&&"H5"!==o.tagName&&"H6"!==o.tagName){for(;o.firstChild;)o.parentNode.insertBefore(o.firstChild,o);o.parentNode.removeChild(o)}else for(var a=o.attributes,i=a.length-1;i>=0;i--)o.removeAttribute(a[i].name)}return t.body.innerHTML}function f(e){return(new DOMParser).parseFromString(e,"text/html").documentElement.innerHTML}function p(e){for(var t=new DOMParser,n=s(),r=t.parseFromString(n,"text/html").getElementsByClassName(e),o=0;o1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,o(e,n)}));e.exports=a},function(e,t,n){var r=n(36),o=n(30);e.exports=function(e){return!0===e||!1===e||o(e)&&"[object Boolean]"==r(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shortcodeObjectSaveEssentials=t.shortcodeObjectAppEssentials=t.default=void 0;var r=M(n(10)),o=M(n(146)),a=M(n(9)),i=M(n(1)),l=(M(n(34)),M(n(5))),u=M(n(12)),s=M(n(4)),d=M(n(11)),c=M(n(96)),f=(M(n(31)),M(n(135))),p=M(n(305)),h=M(n(129)),_=M(n(124)),m=M(n(72)),g=M(n(56)),b=M(n(7)),y=M(n(617)),v=n(618),w=M(n(2)),O=M(n(6)),k=M(n(14)),S=n(405),E=M(n(160)),C=n(138);function M(e){return e&&e.__esModule?e:{default:e}}function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;t||(t=w.default.getModuleEdit()),this.loadGlobalPresetsHistory(),I.clear(),Y.updateGlobalPresetsSubHistory(),w.default.isSettingsModalOpen("settings_modal")?this.switchSettingsModalFace("back"):(D=d.default.set(D,"settingsModalActiveFace","back"),q.openSettingsModal(w.default.getContextMenuModule())),t.isModuleItem&&(D=d.default.set(D,"isEditingModuleChild",!0)),L=e},maybeShowForbiddenWarning:function(){var e=p.ETBuilderComponentDefinitionStore.getCurrentUserRole();return!(0,s.default)(z,e)&&(_.default.showCoreModal("globalPresetsSaveForbidden"),!0)},saveModulePresetSettings:function(e){this.maybeShowForbiddenWarning()||(I.getLength()>1?this.showGlobalPresetsSubmitDialog(e):(this.switchSettingsModalFace("front"),I.clear()))},updateModuleGlobalPresetsSetting:function(e,t,n){var r=this,o=(0,S.getRerenderAliases)(e);w.default.rerenderModules(o),w.default.updateGlobalPresetsSubHistory(n),k.default.utils.handleStatus(t,(0,l.default)(e,"props.attrs",{}),o,p.ETBuilderComponentDefinitionStore.getComponentAdvancedFields(e),(function(){r.rerenderModules(o),w.default.emitSectionsContentChange()})),w.default.emitSectionsContentChange()},rollbackGlobalPresetsSubHistory:function(){if(I.getLength()>1){var e=I.jumpTo(0),t=this.getModuleEdit();I.clear(),setTimeout((function(){return y.default.globalPresetsHistoryJump(e,t)}),0)}},updateGlobalPresetsSubHistory:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=""===e?null:this.getHistoryDebounceRate(e);I.add(p.ETBuilderComponentDefinitionStore.getGlobalPresets(),t)},globalPresetsSubHistoryUndo:function(){var e=I.undo(),t=this.getModuleEdit();setTimeout((function(){return y.default.globalPresetsHistoryJump(e,t)}),0)},globalPresetsSubHistoryRedo:function(){var e=I.redo(),t=this.getModuleEdit();setTimeout((function(){return y.default.globalPresetsHistoryJump(e,t)}),0)},globalPresetsHistoryUndo:function(){if(!D.history.isLoading){var e=N.undo().settings;setTimeout((function(){return y.default.globalPresetsHistoryJump(e,"all")}),0)}},globalPresetsHistoryRedo:function(){if(!D.history.isLoading){var e=N.redo().settings;setTimeout((function(){return y.default.globalPresetsHistoryJump(e,"all")}),0)}},globalPresetsHistoryJumpTo:function(e){if(!D.history.isLoading){var t=N.jumpTo(e).settings;setTimeout((function(){return y.default.globalPresetsHistoryJump(t,"all")}),0)}},_getModulePluralName:function(e){var t=ETBuilderBackend.i18n.tooltips;return w.default.isStructureElement(e.props)?(0,i.default)(ETBuilderBackend.structureModules,{slug:e.props.type}).namePlural:"".concat((0,O.default)(e)," ").concat(t.globalPresets.modules)},showGlobalPresetsSubmitDialog:function(e){var t=ETBuilderBackend.i18n.tooltips,n=w.default.isStructureElement(e.props)?(0,i.default)(ETBuilderBackend.structureModules,{slug:e.props.type}).name:"".concat((0,O.default)(e)," ").concat(t.globalPresets.module),r=(0,c.decode)(_.default.sprintf(t.globalPresets.text.madeChanges,n)),o=this._getModulePluralName(e),a=(0,c.decode)(_.default.sprintf(t.globalPresets.text.wishToProceed.saveDefaults,o)),l={isVisible:!0,type:x,confirmationAction:h.default.GLOBAL_PRESETS_CONFIRM_SAVE,confirmationText:"".concat(r," ").concat(a),actionPayload:{}};D=d.default.set(D,"submitDialog",l),this.emitGlobalPresetsStateChange()},_getUpdateModulePresetStylesConfirmText:function(e){var t=ETBuilderBackend.i18n.tooltips.globalPresets.text.wishToProceed;return _.default.sprintf(t.applyStylesToActivePreset,this._getModulePluralName(e),this.getCurrentModulePresetName(e))},showApplyStylesToActivePresetConfirmDialog:function(e){var t={isVisible:!0,type:w.default.isSettingsModalOpen("settings_modal")?x:R,confirmationAction:h.default.GLOBAL_PRESETS_CONFIRM_APPLY_STYLES_TO_ACTIVE_PRESET,confirmationText:this._getUpdateModulePresetStylesConfirmText(e),actionPayload:{}};D=d.default.set(D,"submitDialog",t),this.emitGlobalPresetsStateChange()},showUpdateWithCurrentStylesConfirmDialog:function(e,t){this.simulateCurrentModuleHovered();var n=this.getModuleEdit(),r={isVisible:!0,type:w.default.isSettingsModalOpen("settings_modal")?x:R,confirmationAction:h.default.GLOBAL_PRESETS_CONFIRM_UPDATE_PRESET_WITH_CURRENT_STYLES,confirmationText:this._getUpdateModulePresetStylesConfirmText(n),actionPayload:{presetName:e,presetId:t}};D=d.default.set(D,"submitDialog",r),this.emitGlobalPresetsStateChange()},showDeletePresetConfirmDialog:function(e,t){var n=ETBuilderBackend.i18n.tooltips.globalPresets.text.wishToProceed,r=this.getModuleEdit(),o=_.default.sprintf(n.deletePreset,e,(0,O.default)(r)),a={isVisible:!0,type:x,confirmationAction:h.default.GLOBAL_PRESETS_CONFIRM_DELETE_PRESET,confirmationText:o,actionPayload:{presetId:t}};D=d.default.set(D,"submitDialog",a),this.emitGlobalPresetsStateChange()},_getAssignPresetToDefaultConfirmText:function(e){var t=ETBuilderBackend.i18n.tooltips.globalPresets.text.wishToProceed,n=this.getModuleEdit();return _.default.sprintf(t.assignPresetToDefault,"".concat(e,""),this._getModulePluralName(n),(0,O.default)(n))},showAssignPresetToDefaultConfirmDialog:function(e,t){var n={isVisible:!0,type:x,confirmationAction:h.default.GLOBAL_PRESETS_CONFIRM_ASSIGN_PRESET_TO_DEFAULT,confirmationText:this._getAssignPresetToDefaultConfirmText(e),actionPayload:{presetId:t}};D=d.default.set(D,"submitDialog",n),this.emitGlobalPresetsStateChange()},showSavePresetSettingsConfirmDialog:function(){var e=D.presetSettingsPopup,t=e.presetId,n=e.presetName,r=e.presetDefaultName,o=e.isPresetDefault,a=e.isMakingClone,i=e.isMakingPresetFromCurrentStyles?h.default.GLOBAL_PRESETS_CONFIRM_CREATE_PRESET_FROM_CURRENT_STYLES:h.default.GLOBAL_PRESETS_CONFIRM_SAVE_PRESET_SETTINGS,l=(0,_.stripHTMLTags)(n),u={isVisible:!0,type:x,confirmationAction:i,confirmationText:this._getAssignPresetToDefaultConfirmText(l),actionPayload:{presetId:t,presetName:l||r,isPresetDefault:m.isOn(o),isMakingClone:a}};D=d.default.set(D,"submitDialog",u),this.closePresetSettingsModal(),this.emitGlobalPresetsStateChange()},saveSubHistory:function(e){var t=I.getCurrent();D.isModuleCustomizerFullyMigrated||(t=d.default.merge(D.customDefaultsUnmigrated,t,{deep:!0}),D=d.default.set(D,"isModuleCustomizerFullyMigrated",!0),D=d.default.without(D,"customDefaultsUnmigrated"),setTimeout((function(){y.default.globalPresetsHistoryJump(t,"all")}),0));var n=v.getLabel({verb:"edited",noun:e.props.type});N.add({settings:t,time:Date.now(),label:n}),I.clear(),D=d.default.setIn(D,["history","isSaving"],!0),this.saveGlobalPresetsHistory()},confirmGlobalPresetsSubmitDialog:function(e){this.saveSubHistory(e),this.setGlobalPresetsSubmitDialogInProgress()},setGlobalPresetsSubmitDialogInProgress:function(){D=d.default.setIn(D,["submitDialog","showSpinner"],!0),this.emitGlobalPresetsStateChange()},closeGlobalPresetsSubmitDialog:function(){D=d.default.setIn(D,["submitDialog","isVisible"],!1),D=d.default.setIn(D,["submitDialog","presetId"],null),D=d.default.setIn(D,["submitDialog","showSpinner"],!1),this.emitGlobalPresetsStateChange()},completeHistorySaving:function(){D=d.default.setIn(D,["history","isSaving"],!1),this.closeGlobalPresetsSubmitDialog(),this.switchSettingsModalFace("front")},completeHistoryLoading:function(){N.setLimit(100),D=d.default.setIn(D,["history","isLoading"],!1),D=d.default.setIn(D,["history","lastIndex"],N.getCurrentIndex()),this.emitGlobalPresetsStateChange()},reloadHistory:function(){D=d.default.setIn(D,["history","isLoading"],!0),D=d.default.setIn(D,["history","lastIndex"],0),D=d.default.setIn(D,["history","wasLoaded"],!1),this.emitGlobalPresetsStateChange(),this.loadGlobalPresetsHistory()},handleHistoryLoadError:function(){_.default.showCoreModal("globalPresetsLoadFailure"),D=d.default.setIn(D,["history","isLoading"],!1),this.emitGlobalPresetsStateChange()},handleHistorySaveError:function(e){console.error(e),_.default.showCoreModal("globalPresetsSaveFailure"),D=d.default.setIn(D,["history","isSaving"],!1),D=d.default.setIn(D,["submitDialog","showSpinner"],!1),this.emitGlobalPresetsStateChange()},handleGlobalPresetsHistoryJump:function(e){"all"===e?this.rerenderModules("all"):e&&this.rerenderModules((0,S.getRerenderAliases)(e)),this.emitSectionsContentChange()},globalPresetsBeforeHistoryOpen:function(){D=d.default.setIn(D,["history","lastIndex"],N.getCurrentIndex())},globalPresetsBeforeHistoryClose:function(){if(!D.history.isLoading&&(D=d.default.set(D,"historyModalActiveTab",""),N.getCurrentIndex()!==D.history.lastIndex)){var e=N.jumpTo(D.history.lastIndex).settings;setTimeout((function(){return y.default.globalPresetsHistoryJump(e,"all")}),0)}},globalPresetsApplyHistoryChanges:function(){D.history.isLoading||(D=d.default.set(D,"historyModalActiveTab",""),N.getCurrentIndex()!==D.history.lastIndex&&(this.maybeShowForbiddenWarning()?this.globalPresetsHistoryJumpTo(D.history.lastIndex):(D=d.default.setIn(D,["history","isSaving"],!0),this.saveGlobalPresetsHistory())))},simulateCurrentModuleHovered:function(){var e=w.default.getMouseHoveredElement();(0,u.default)(e)||q.setLastHoveredElement(e)},confirmCreatePresetFromCurrentStyles:function(e,t){this.setGlobalPresetsSubmitDialogInProgress();var n=e.props.type,r="default";(q.performResetOptions((function(e,t){return!(0,E.isSettingExcluded)(t,e.toggle_slug,e.name,n)}),!1),t)||(r=p.ETBuilderComponentDefinitionStore.getModulePresetsList(e).sort((function(e,t){return t.created-e.created}))[0].id);q.updateModuleSetting({module:e,setting:p._module_preset,newValue:r}),this.rerenderModules((0,S.getRerenderAliases)(e)),w.default.emitSectionsContentChange(),"back"===D.settingsModalActiveFace&&(D=d.default.set(D,"presetsDropdownVisible",!0)),I.getLength()>1&&this.saveSubHistory(e);var o=v.getLabel({verb:"presetCreated",noun:e.props.type});N.add({settings:p.ETBuilderComponentDefinitionStore.getGlobalPresets(),time:Date.now(),label:o}),this.saveGlobalPresetsHistory(),this.closePresetSettingsModal(),this.openModuleGlobalPresets()},beforeApplyStylesToActivePreset:function(){this.simulateCurrentModuleHovered();var e=w.default.getModuleEdit();this.showApplyStylesToActivePresetConfirmDialog(e)},applyStylesToActivePreset:function(e){var t=e.props.type;q.performResetOptions((function(e,n){return!(0,E.isSettingExcluded)(n,e.toggle_slug,e.name,t)}));var n=this.getLastHoveredElement(),r=v.getLabel({verb:"edited",noun:n.payload.module_slug}),o=p.ETBuilderComponentDefinitionStore.getGlobalPresets();D.isModuleCustomizerFullyMigrated||(o=d.default.merge(D.customDefaultsUnmigrated,o,{deep:!0}),D=d.default.set(D,"isModuleCustomizerFullyMigrated",!0),D=d.default.without(D,"customDefaultsUnmigrated"),setTimeout((function(){y.default.globalPresetsHistoryJump(o,"all")}),0)),N.add({settings:o,time:Date.now(),label:r}),this.rerenderModules((0,S.getRerenderAliases)(e)),this.setGlobalPresetsSubmitDialogInProgress(),this.emitSectionsContentChange(),this.saveGlobalPresetsHistory()},confirmUpdatePresetWithCurrentStyles:function(e,t){if(p.ETBuilderComponentDefinitionStore.getModulePresetId(e)===t)this.applyStylesToActivePreset(e);else{I.getLength()>1&&this.saveSubHistory(e);var n=v.getLabel({verb:"edited",noun:e.props.type});N.add({settings:p.ETBuilderComponentDefinitionStore.getGlobalPresets(),time:Date.now(),label:n}),this.rerenderModules((0,S.getRerenderAliases)(e)),this.setGlobalPresetsSubmitDialogInProgress(),this.emitSectionsContentChange(),this.saveGlobalPresetsHistory()}},resetGlobalPresets:function(e){I.add(p.ETBuilderComponentDefinitionStore.getGlobalPresets()),this.rerenderModules((0,S.getRerenderAliases)(e)),this.emitSectionsContentChange()},setHistoryModalActiveTab:function(e){"global-history"===e&&this.loadGlobalPresetsHistory(),D=d.default.set(D,"historyModalActiveTab",e)},handleBackToParentAction:function(){D=d.default.set(D,"isEditingModuleChild",!1),setTimeout((function(){return y.default.closeSettings(!0)}),0)},handleChildItemEdit:function(e){D=d.default.set(D,"isEditingModuleChild",!0),setTimeout((function(){y.default.buttonClick({props:{buttonName:h.default.MODULE_ITEM_EDIT}},e)}),0)},importGlobalPresets:function(){var e=p.ETBuilderComponentDefinitionStore.getGlobalPresets(),t=v.getLabel({verb:"imported"});N.add({settings:e,time:Date.now(),label:t}),D=d.default.setIn(D,["history","isSaving"],!0),this.saveGlobalPresetsHistory()},loadGlobalPresetsHistory:function(){var e=this;D.history.wasLoaded||(D=d.default.setIn(D,["history","wasLoaded"],!0),b.default.instance().load().then((function(){return e.completeHistoryLoading()})).catch((function(){return e.handleHistoryLoadError()})))},saveGlobalPresetsHistory:function(){var e=this;b.default.instance().save().then((function(t){t.success?e.completeHistorySaving():e.handleHistorySaveError(t.data.error)})).catch((function(t){return e.handleHistorySaveError(t)}))},downloadGlobalPresetsBackup:function(){var e="data:text/json;charset=utf-8,".concat(encodeURIComponent(N.toJSON())),t=_.default.$topWindow(".et-builder-global-presets-save-failure-download")[0];t.setAttribute("href",e),t.setAttribute("download","global-defaults-backup.json"),t.trigger("click")},prepareToAddNewPreset:function(){var e=w.default.getModuleEdit(),t=(0,p.generateDefaultPresetName)(e),n=A(A({},D.presetSettingsPopup),{},{isVisible:!0,presetName:t,presetDefaultName:t});D=d.default.set(D,"presetSettingsPopup",n)},addNewPreset:function(){this.prepareToAddNewPreset(),this.emitPresetSettingsChange()},showNewPresetFromCurrentStylesDialog:function(){this.simulateCurrentModuleHovered(),this.prepareToAddNewPreset(),D=d.default.setIn(D,["presetSettingsPopup","isMakingPresetFromCurrentStyles"],!0),this.emitPresetSettingsChange()},editPresetSettings:function(e){var t=p.ETBuilderComponentDefinitionStore.i18n.modals.globalPresets.presets,n=w.default.getModuleEdit(),r=p.ETBuilderComponentDefinitionStore.getModulePresetsList(n).sort((function(e,t){return e.created-t.created})),o=r.findIndex((function(t){return t.id===e})),a=(0,O.default)(n),i="".concat(t.moduleNamePreset," ").concat(o+1).replace("%s",a),l=r[o],u=l.name,s=l.isDefault,c=A(A({},D.presetSettingsPopup),{},{isVisible:!0,presetId:e,presetName:u,presetDefaultName:i,isPresetDefault:m.toOnOff(s),isAssignToDefaultHidden:s,previousDefaultPresetId:p.ETBuilderComponentDefinitionStore.getModuleDefaultPresetId(n),previousPresetName:u});D=d.default.set(D,"presetSettingsPopup",c),this.emitPresetSettingsChange()},closePresetSettingsModal:function(){D=d.default.set(D,"presetSettingsPopup",{isVisible:!1,presetId:null,presetName:"",presetDefaultName:"",isPresetDefault:"off",isAssignToDefaultHidden:!1,isMakingClone:!1,isMakingPresetFromCurrentStyles:!1,previousDefaultPresetId:"",previousPresetName:""}),a.default.hide(),this.emitPresetSettingsChange()},confirmSavePresetSettings:function(e,t,n,r){this.setGlobalPresetsSubmitDialogInProgress();var o=D.presetSettingsPopup,a=o.previousDefaultPresetId,i=o.isMakingClone,l=o.previousPresetName;if(r&&t!==a){q.updateModuleSetting({module:e,setting:p._module_preset,newValue:"default"}),I.getLength()>1&&this.saveSubHistory(e);var u=v.getLabel({verb:"presetAssignedAsDefault",noun:e.props.type});N.add({settings:p.ETBuilderComponentDefinitionStore.getGlobalPresets(),time:Date.now(),label:u}),this.saveGlobalPresetsHistory(),this.openModuleGlobalPresets()}else if(null===t||i){var s=p.ETBuilderComponentDefinitionStore.getModulePresetsList(e).sort((function(e,t){return t.created-e.created}));q.updateModuleSetting({module:e,setting:p._module_preset,newValue:s[0].id}),I.getLength()>1&&this.saveSubHistory(e);var c=v.getLabel({verb:"presetCreated",noun:e.props.type});N.add({settings:p.ETBuilderComponentDefinitionStore.getGlobalPresets(),time:Date.now(),label:c}),this.saveGlobalPresetsHistory(),this.openModuleGlobalPresets()}else if(n!==l){I.getLength()>1&&this.saveSubHistory(e);var f=v.getLabel({verb:"presetNameChanged",noun:e.props.type});N.add({settings:p.ETBuilderComponentDefinitionStore.getGlobalPresets(),time:Date.now(),label:f}),this.saveGlobalPresetsHistory()}this.rerenderModules((0,S.getRerenderAliases)(e)),w.default.emitSectionsContentChange(),"back"===D.settingsModalActiveFace&&(D=d.default.set(D,"presetsDropdownVisible",!0)),this.closePresetSettingsModal()},onModulePresetChange:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=w.default.getModuleEdit(),r=e,o=this.getCurrentModulePresetId(n,!1);if(o===r){if(!t)return;r="default"}q.updateModuleSetting({module:n,setting:p._module_preset,newValue:r}),I.getLength()>1&&this.saveSubHistory(n),this.emitPresetSettingsChange(),this.emitModulePresetChange(),w.default.emitSectionsContentChange()},onPresetSettingChange:function(e,t){D=d.default.setIn(D,["presetSettingsPopup",e],t),this.emitPresetSettingsChange()},getCurrentModulePresetId:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.props.address,r=q.getShortcodeObjAtAddress(n),o=(0,l.default)(r,"attrs.".concat(p._module_preset));return"default"===o?"default":o&&p.ETBuilderComponentDefinitionStore.isModulePresetExist(e,o)?o:t?p.ETBuilderComponentDefinitionStore.getModuleDefaultPresetId(e):"default"},getCurrentModulePresetName:function(e){var t=ETBuilderBackend.i18n.modals.globalPresets.presets,n=this.getCurrentModulePresetId(e),r=p.ETBuilderComponentDefinitionStore.getModulePresetsList(e);return r.length<=1||"default"===n?"".concat((0,O.default)(e)," ").concat(t.defaultPreset):r.find((function(e){return e.id===n})).name},confirmAssignPresetToDefault:function(e){this.setGlobalPresetsSubmitDialogInProgress();var t=v.getLabel({verb:"presetAssignedAsDefault",noun:e.props.type});N.add({settings:p.ETBuilderComponentDefinitionStore.getGlobalPresets(),time:Date.now(),label:t}),this.saveGlobalPresetsHistory(),this.rerenderModules((0,S.getRerenderAliases)(e)),this.emitPresetSettingsChange(),w.default.emitSectionsContentChange()},clonePreset:function(e){var t=w.default.getModuleEdit(),n=(0,p.generateDefaultPresetName)(t),r={isVisible:!0,presetId:e,presetName:n,presetDefaultName:n,isMakingClone:!0,previousDefaultPresetId:p.ETBuilderComponentDefinitionStore.getModuleDefaultPresetId(t)};D=d.default.set(D,"presetSettingsPopup",r),this.emitPresetSettingsChange()},confirmDeletePreset:function(){this.setGlobalPresetsSubmitDialogInProgress();var e=w.default.getModuleEdit(),t=v.getLabel({verb:"presetDeleted",noun:e.props.type});N.add({settings:p.ETBuilderComponentDefinitionStore.getGlobalPresets(),time:Date.now(),label:t}),this.saveGlobalPresetsHistory(),this.rerenderModules((0,S.getRerenderAliases)(e)),this.emitPresetSettingsChange(),w.default.emitSectionsContentChange()},openPresetsDropdown:function(){D=d.default.set(D,"presetsDropdownVisible",!0),this.emitPresetSettingsChange()},closePresetsDropdown:function(){D=d.default.set(D,"presetsDropdownVisible",!1),this.emitPresetSettingsChange()},editPresetStyles:function(e){this.openModuleGlobalPresets(),this.onModulePresetChange(e,!1)},resetGlobalPresetsState:function(){D=d.default.set(D,"presetsDropdownVisible",!1),D=d.default.set(D,"presetSettingsPopup",{isVisible:!1,presetId:null,presetName:"",presetDefaultName:"",isPresetDefault:"off",isAssignToDefaultHidden:!1,isMakingClone:!1,isMakingPresetFromCurrentStyles:!1,previousDefaultPresetId:"",previousPresetName:""}),this.emitPresetSettingsChange()},completeSettingsModalFlipAnimation:function(){null!==L&&(L(),L=null),D=d.default.set(D,"isModalFlipping",!1),this.emitSettingsModalFaceChange()}},$=(B(o={},h.default.INIT_GLOBAL_PRESETS_STORE,(function(e){e.initGlobalPresetsStore()})),B(o,h.default.OPEN_GLOBAL_PRESETS,(function(e,t){var n=t.module,r=t.resolve;e.openModuleGlobalPresets(r,n)})),B(o,h.default.COMPLETE_SETTINGS_MODAL_FLIP_ANIMATION,(function(e){e.completeSettingsModalFlipAnimation()})),B(o,h.default.UPDATE_MODULE_PRESET_SETTING,(function(e,t){var n=t.module,r=t.setting,o=t.settingType;f.default.waitFor([p.ETBuilderComponentDefinitionStore._dispatchToken]),e.updateModuleGlobalPresetsSetting(n,r,o)})),B(o,h.default.GLOBAL_PRESETS_HISTORY_LOAD,(function(e){e.loadGlobalPresetsHistory()})),B(o,h.default.GLOBAL_PRESETS_HISTORY_SAVE,(function(e){e.saveGlobalPresetsHistory()})),B(o,h.default.GLOBAL_PRESETS_HISTORY_JUMP,(function(e,t){var n=t.module;f.default.waitFor([p.ETBuilderComponentDefinitionStore._dispatchToken]),e.handleGlobalPresetsHistoryJump(n)})),B(o,h.default.BUTTON_GLOBAL_PRESETS_OPEN,(function(e){e.openModuleGlobalPresets()})),B(o,h.default.BUTTON_GLOBAL_PRESETS_CLOSE,(function(e){e.rollbackGlobalPresetsSubHistory(),e.switchSettingsModalFace("front")})),B(o,h.default.BUTTON_SAVE_MODULE_PRESET_SETTINGS,(function(e,t){var n=t.actionModule;e.saveModulePresetSettings(n)})),B(o,h.default.GLOBAL_PRESETS_HISTORY_SAVE_ERROR,(function(e,t){var n=t.error;e.handleHistorySaveError(n)})),B(o,h.default.BUTTON_GLOBAL_PRESETS_SUBHISTORY_UNDO,(function(e){e.globalPresetsSubHistoryUndo()})),B(o,h.default.BUTTON_GLOBAL_PRESETS_SUBHISTORY_REDO,(function(e){e.globalPresetsSubHistoryRedo()})),B(o,h.default.GLOBAL_PRESETS_CONFIRM_SAVE,(function(e,t){var n=t.module;e.confirmGlobalPresetsSubmitDialog(n)})),B(o,h.default.BUTTON_GLOBAL_PRESETS_APPLY_STYLES_TO_CURRENT_PRESET,(function(e){e.beforeApplyStylesToActivePreset()})),B(o,h.default.GLOBAL_PRESETS_SHOW_NEW_PRESET_FROM_CURRENT_STYLES_DIALOG,(function(e){e.showNewPresetFromCurrentStylesDialog()})),B(o,h.default.GLOBAL_PRESETS_CONFIRM_CREATE_PRESET_FROM_CURRENT_STYLES,(function(e,t){var n=t.module,r=t.actionPayload;f.default.waitFor([p.ETBuilderComponentDefinitionStore._dispatchToken]),e.confirmCreatePresetFromCurrentStyles(n,r.isPresetDefault)})),B(o,h.default.GLOBAL_PRESETS_CONFIRM_APPLY_STYLES_TO_ACTIVE_PRESET,(function(e,t){var n=t.module;f.default.waitFor([p.ETBuilderComponentDefinitionStore._dispatchToken]),e.applyStylesToActivePreset(n)})),B(o,h.default.GLOBAL_PRESETS_CONFIRM_UPDATE_PRESET_WITH_CURRENT_STYLES,(function(e,t){var n=t.module,r=t.actionPayload;e.simulateCurrentModuleHovered(),f.default.waitFor([p.ETBuilderComponentDefinitionStore._dispatchToken]),e.confirmUpdatePresetWithCurrentStyles(n,r.presetId)})),B(o,h.default.BUTTON_GLOBAL_PRESETS_BACK_TO_PARENT,(function(e){e.handleBackToParentAction()})),B(o,h.default.RESET_MODULE_PRESET_SETTINGS,(function(e,t){var n=t.module;f.default.waitFor([p.ETBuilderComponentDefinitionStore._dispatchToken]),e.resetGlobalPresets(n)})),B(o,h.default.BUTTON_GLOBAL_PRESETS_CONFIRMATION_DIALOG_CLOSE,(function(e){e.closeGlobalPresetsSubmitDialog()})),B(o,h.default.BUTTON_GLOBAL_PRESETS_HISTORY_JUMP_TO,(function(e,t){var n=t.actionButton.props.historyIndex;e.globalPresetsHistoryJumpTo(n)})),B(o,h.default.BUTTON_GLOBAL_PRESETS_HISTORY_UNDO,(function(e){e.globalPresetsHistoryUndo()})),B(o,h.default.BUTTON_GLOBAL_PRESETS_HISTORY_REDO,(function(e){e.globalPresetsHistoryRedo()})),B(o,h.default.BUTTON_GLOBAL_PRESETS_CHILD_ITEM_EDIT,(function(e,t){var n=t.actionModule;e.handleChildItemEdit(n)})),B(o,h.default.GLOBAL_PRESETS_HISTORY_SAVED,(function(e){e.completeHistorySaving()})),B(o,h.default.GLOBAL_PRESETS_HISTORY_RELOAD,(function(e){e.reloadHistory()})),B(o,h.default.MODAL_HISTORY_SET_ACTIVE_TAB,(function(e,t){var n=t.tab;e.setHistoryModalActiveTab(n)})),B(o,h.default.GLOBAL_PRESETS_IMPORT,(function(e){f.default.waitFor([p.ETBuilderComponentDefinitionStore._dispatchToken]),e.importGlobalPresets()})),B(o,h.default.GLOBAL_PRESETS_DOWNLOAD_BACKUP,(function(e){e.downloadGlobalPresetsBackup()})),B(o,h.default.BUTTON_GLOBAL_PRESETS_ADD_NEW_PRESET,(function(e){e.addNewPreset()})),B(o,h.default.BUTTON_GLOBAL_PRESETS_EDIT_PRESET_SETTINGS,(function(e,t){var n=t.preset;e.editPresetSettings(n)})),B(o,h.default.BUTTON_GLOBAL_PRESETS_UPDATE_PRESET_WITH_CURRENT_STYLES,(function(e,t){var n=t.presetName,r=t.presetId;e.showUpdateWithCurrentStylesConfirmDialog(n,r)})),B(o,h.default.BUTTON_GLOBAL_PRESETS_PRESET_SETTINGS_CLOSE,(function(e){e.closePresetSettingsModal()})),B(o,h.default.BUTTON_GLOBAL_PRESETS_SAVE_PRESET_SETTINGS,(function(e){e.showSavePresetSettingsConfirmDialog()})),B(o,h.default.GLOBAL_PRESETS_CONFIRM_SAVE_PRESET_SETTINGS,(function(e,t){var n=t.module,r=t.actionPayload;f.default.waitFor([p.ETBuilderComponentDefinitionStore._dispatchToken]);var o=r.presetId,a=r.presetName,i=r.isPresetDefault;e.confirmSavePresetSettings(n,o,a,i)})),B(o,h.default.GLOBAL_PRESETS_MODULE_PRESET_CHANGE,(function(e,t){var n=t.preset;e.onModulePresetChange(n)})),B(o,h.default.GLOBAL_PRESETS_PRESET_SETTING_CHANGE,(function(e,t){var n=t.name,r=t.value;e.onPresetSettingChange(n,r)})),B(o,h.default.GLOBAL_PRESETS_ASSIGN_PRESET_TO_DEFAULT,(function(e,t){var n=t.presetName,r=t.presetId;f.default.waitFor([p.ETBuilderComponentDefinitionStore._dispatchToken]),e.showAssignPresetToDefaultConfirmDialog(n,r)})),B(o,h.default.GLOBAL_PRESETS_CONFIRM_ASSIGN_PRESET_TO_DEFAULT,(function(e,t){var n=t.module;f.default.waitFor([p.ETBuilderComponentDefinitionStore._dispatchToken]),e.confirmAssignPresetToDefault(n)})),B(o,h.default.BUTTON_GLOBAL_PRESETS_CLONE_PRESET,(function(e,t){var n=t.preset;e.clonePreset(n)})),B(o,h.default.BUTTON_GLOBAL_PRESETS_DELETE_PRESET,(function(e,t){var n=t.presetName,r=t.presetId;e.showDeletePresetConfirmDialog(n,r)})),B(o,h.default.GLOBAL_PRESETS_CONFIRM_DELETE_PRESET,(function(e){f.default.waitFor([p.ETBuilderComponentDefinitionStore._dispatchToken]),e.confirmDeletePreset()})),B(o,h.default.GLOBAL_PRESETS_OPEN_PRESETS_DROPDOWN,(function(e){e.openPresetsDropdown()})),B(o,h.default.GLOBAL_PRESETS_CLOSE_PRESETS_DROPDOWN,(function(e){e.closePresetsDropdown()})),B(o,h.default.GLOBAL_PRESETS_EDIT_PRESET_STYLES,(function(e,t){var n=t.preset;e.editPresetStyles(n)})),o);t.handlers=$,_.default.$appWindow().on("et_fb_shortcode_object_loaded",(function(){y.default.initGlobalPresetsStore()}));var K={passMainStorePrivateFunctions:function(e){q=A({},e)},handlers:$,store:Y,SETTINGS_MODAL_DEFAULT_FACE:j,CONFIRMATION_DIALOG_TYPE_DEFAULT:x,CONFIRMATION_DIALOG_TYPE_CORE:R};t.default=K},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pasteSimilarOptions=t.pasteOptions=t.getOptionsToCopy=void 0,t.removeFieldFromGlobalColors=function(e,t,n){var o=r.default.getGlobalColorsInfo(t);o=r.default.removeFieldFromGlobalColorsInfo(e,o),n({module:{props:t},setting:"global_colors_info",newValue:JSON.stringify(o)})},t.resetOptions=void 0;var r=R(n(164)),o=R(n(10)),a=R(n(146)),i=R(n(306)),l=R(n(199)),u=R(n(9)),s=R(n(1)),d=R(n(34)),c=R(n(7)),f=R(n(197)),p=R(n(4)),h=R(n(5)),_=R(n(12)),m=R(n(11)),g=R(n(17)),b=R(n(107)),y=R(n(305)),v=R(n(446)),w=R(n(335)),O=R(n(56)),k=R(n(47)),S=R(n(126)),E=R(n(487)),C=n(138),M=R(n(6)),P=R(n(14)),T=R(n(285)),A=R(n(295)),B=R(n(160)),j=R(n(2)),x=n(464);function R(e){return e&&e.__esModule?e:{default:e}}function I(e){return function(e){if(Array.isArray(e))return N(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return N(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(0,u.default)((0,w.default)(y),(function(e){var r=e+1,o=(0,g.default)((0,s.default)(P.default.columnSettingFields,"general",{}));(0,u.default)(o,(function(e){var o=e.replace("%s",r);l.push(o),n.isGroupOption("background",t)&&_.push(o)}))}))}var v=n.getOptionsBlocklist((0,i.default)(t.payload,l)),C="et_pb_counter"===(0,s.default)(a,"type"),R=[];(0,u.default)((0,S.default)(_),(function(e){if(!(0,c.default)(v,B.default.getBaseName(e)))if((0,c.default)(d,e)){var t=(0,s.default)(a,"content",!1);R.push({name:"".concat(e),value:C?(0,s.default)(a,"attrs.".concat(e),t):t})}else{var n={attrs:P.default.getModulePresetSettings({props:a})},r=b?n:a;R.push({name:e,value:(0,s.default)(r,"attrs.".concat(e),!1)})}}));var N=(0,s.default)(a,["attrs",A.default.getHoverEnabledField("background")],!1);!1!==N&&R.push({name:A.default.getHoverEnabledField("background"),value:N});var L=(0,E.default)(R,"name"),D=n.getRemovableOptions(t,M.default.getAllowedComponentAdvancedFields({props:a}),L,p),V=j.default.intentionallyCloneDeep(t);return C&&"option"===V.type&&"content"===V.elementId&&((0,O.default)(V,"elementId","title"),(0,O.default)(V,"payload.option",["title"])),(0,h.default)(m)||(0,O.default)(V,"global_colors_info",m),{item:V,options:L,options_to_unset:(0,k.default)(D,p,l)}};t.pasteOptions=function(e,t,n){return L(e,t,n,!1)};t.pasteSimilarOptions=function(e,t,n){return L(e,t,n,!0)};t.resetOptions=function(e){var t=e.updateContentCallback,n=e.updateSettingCallback,o=e.setViewModeCallback,i=e.generateNewColumnsContentCallback,d=e.predicate,f=e.resetChildOptions,_=void 0===f||f,g=M.default.getLastHoveredElement();if((0,h.default)(g))return{};var b=[];b.push(g);var y=T.default.getHelper(g.payload.type).getModuleAddress(g.payload),w=M.default.getComponentAtAddress(y),O=[];_&&"module"===g.type&&!(0,m.default)(w.child_slug)&&(0,p.default)(w.content)&&(0,u.default)(w.content,(function(e){var t=T.default.getHelper("child_item").preparePayload({props:e});b.push({type:"child_item",payload:t})}));var k=function(e,t){if((0,c.default)(["wireframe","desktop"],M.default.getPreviewMode()))return!1;var n=["content","raw_content"],r=[];(0,u.default)(e,(function(e){var o=T.default.getHelper(e.payload.type),a=o.getOptionsToReset(e.payload,t),i=o.getModuleAddress(e.payload),l=M.default.getComponentAtAddress(i),s=o.getOptionsBlocklist(e.payload),d=o.getOptionSuffixes(e.payload,l);(0,u.default)(a,(function(e){(0,c.default)(n,e)||(0,c.default)(s,e)||(r.push(e),(0,u.default)(d,(function(t){r.push("".concat(e).concat(t))})))}))}));var o=!1;return(0,u.default)(r,(function(e){if((0,l.default)(e,"_last_edited"))return o=!0})),o}(b,d);return k&&o("desktop"),(0,u.default)(b,(function(e){var o=function(e,t,n,o,i){var l=T.default.getHelper(e.payload.type),d=l.getOptionsToReset(e.payload,i),f=l.getModuleAddress(e.payload),p=M.default.getComponentAtAddress(f),h=(0,x.getCompositeFieldAttrs)(p.type,d),_=l.getOptionsBlocklist(e.payload),m=["content","raw_content"],g="options_group"===(0,s.default)(e,"payload.type","")?(0,s.default)(e,"payload.toggleId",""):"",b=l.getOptionSuffixes(e.payload,p),y=(r.default.getModuleAttrsUsingGlobalColors(p),[]);"admin_label"===g&&(0,v.default)(_,"admin_label");return(0,u.default)(h,(function(e){(0,u.default)(b,(function(t){n({module:{props:p},setting:"".concat(e).concat(t),newValue:"",unsetSetting:!0}),(0,C.doAction)("et.builder.module.preset.setting.reset","".concat(e).concat(t),p,n)}))})),(0,u.default)(d,(function(r){(0,c.default)(_,r)||(0,u.default)(b,(function(i){if(A.default.enabledSuffix()===i&&"background_color"===r&&(r="background"),(0,c.default)(m,"".concat(r).concat(i)))"et_pb_counter"===(0,s.default)(p,"type")?(n({module:{props:p},setting:"".concat(r).concat(i),newValue:"",unsetSetting:!0}),t({props:p},"")):t({props:p},"");else if(n({module:{props:p},setting:"".concat(r).concat(i),newValue:"",unsetSetting:!0}),(0,C.doAction)("et.builder.module.preset.setting.reset","".concat(r).concat(i),p,n),"column_structure"===r&&""===i){var u=T.default.getDefaultsHelper(l.getModuleSlug(e.payload)).getDefaults(e.payload,p),d=(0,s.default)(u,"".concat(r).concat(i),""),f=o({props:p},d);t({props:p},f)}y=(0,a.default)(y,P.default.getComponentFieldComputedAffects(p.type,r))}))})),y}(e,t,n,i,d);O=(0,a.default)(O,o)})),{module:{props:M.default.getComponentAtAddress(y)},affected_options:(0,S.default)(O)}};var L=function(e,t,n,i){var p=M.default.getOptionsClipboard(),v=M.default.getLastHoveredElement();if(((0,c.default)(["module","fullwidth_module"],v.type)||(0,c.default)(["et_pb_column","et_pb_column_inner"],v.module_slug))&&(0,_.default)(v.payload.fields)){var w=P.default.getComponentAllFields(v.elementId),k=(0,b.default)((0,y.default)(w,(function(e){return!(0,d.default)(e,"type")})),(function(e){return""}));v.payload.fields=(0,o.default)(k,v.payload.fields)}if((0,h.default)(p.item))return!1;var C=!1,B=T.default.getHelper(v.payload.type),x=T.default.getHelper(p.item.payload.type),R=(0,s.default)(p,"item.type"),I=(0,s.default)(p,"item.payload.module_slug"),N=(0,s.default)(v,"type"),L=P.default.getComponentAllFields(v.payload.module_slug),D=(0,d.default)(v,"payload.module_slug")?(0,g.default)(L):[];if("option"===R){var V=B.getOptionsAlias((0,s.default)(p,"item.payload")),F=[];(0,u.default)(V,(function(e){F.push({name:e,value:!1})}));var W="option"===N&&!(0,h.default)((0,f.default)((0,s.default)(v,"payload.option"),F)),U="options_group"===N&&!(0,h.default)((0,f.default)((0,s.default)(v,"payload.fields"),F)),H="tab"===N&&!(0,h.default)((0,f.default)((0,g.default)((0,s.default)(v,"payload.fields")),F)),G=(0,c.default)(["module","fullwidth_module"],N)&&!(0,h.default)((0,f.default)(D,F));if(W||U||H||G){var z=M.default.getAllowedComponentAdvancedFields({props:{type:I}}),q=[];(0,u.default)(p.options,(function(e){var t=(0,s.default)(z,[A.default.getFieldBaseName(e.name),"toggle_slug"],"options_group"),n=T.default.getHelper(t).getOptionsToPaste(p.item.payload,v.payload,[{name:e,value:!1}]);q=(0,a.default)(q,n)})),(0,O.default)(p,"options",(0,E.default)(q,"name")),q=[],(0,u.default)(p.options_to_unset,(function(e){var t=(0,s.default)(z,[e,"toggle_slug"]),n=T.default.getHelper(t).getOptionsToPaste(p.item.payload,v.payload,[{name:e,value:!1}]);q=(0,a.default)(q,n)})),(0,O.default)(p,"options_to_unset",(0,E.default)(q,"name"))}}var Y=B.getModuleAddress(v.payload),$=M.default.getComponentAtAddress(Y),K=["content","raw_content"],X=[],Z=(0,s.default)($,"attrs.global_colors_info"),Q=j.default.isJson(Z)?JSON.parse(Z):Z,J=(0,s.default)(p,"item.global_colors_info");if(!(0,m.default)(J)){var ee=J;(0,m.default)(Q)||(ee=r.default.mergeGlobalColorsInfos(J,Q)),delete $.attrs.global_colors_info,(0,O.default)($,"attrs.global_colors_info",JSON.stringify(ee))}if(p.options=x.getOptionsToPaste(p.item.payload,v.payload,p.options),p.options_to_unset=x.getOptionsToUnset(p.item.payload,v.payload,p.options_to_unset),i){var te=B.getSimilarOptions(v.payload,p.item.payload,p.options);(0,u.default)(te,(function(r){var o=r.name,i=r.value;!1!==r.value&&((0,c.default)(K,r)?C|=e({props:$},i):(0,h.default)(r.value)?t({module:{props:$},setting:o,newValue:"",unsetSetting:!0}):C|=t({module:{props:$},setting:o,newValue:r.value,unsetSetting:!1,forceRerender:!0,forceUpdate:!0}),X=(0,a.default)(X,P.default.getComponentFieldComputedAffects($.type,o)),n($,o,r.value))}))}else{(0,u.default)(p.options_to_unset,(function(e){t({module:{props:$},setting:e,newValue:"",unsetSetting:!0})})),$=M.default.getComponentAtAddress(Y);var ne="et_pb_counter"===(0,s.default)($,"type"),re=(0,s.default)($,"is_module_child",!1);(0,u.default)(p.options,(function(r){if(!1!==r.value){var o=r.name;ne&&"title"===o?o="content":re&&(0,l.default)(o,"text_shadow_style")&&""===r.value&&(r.value="none"),(0,c.default)(K,o)?C|=ne?t({module:{props:$},setting:o,newValue:r.value,unsetSetting:!1,forceRerender:!0}):e({props:$},r.value):(0,h.default)(r.value)?t({module:{props:$},setting:o,newValue:"",unsetSetting:!0}):C|=t({module:{props:$},setting:o,newValue:r.value,unsetSetting:!1,forceRerender:!0,forceUpdate:!0}),X=(0,a.default)(X,P.default.getComponentFieldComputedAffects($.type,o)),n($,o,r.value),"options_group"!==R||(0,m.default)(L,"option.affects")||($=M.default.getComponentAtAddress(Y))}}))}return!!C&&{module:{props:M.default.getComponentAtAddress(Y)},affected_options:(0,S.default)(X)}}},function(e,t,n){var r=n(102),o=n(155),a=n(128),i=n(32),l=n(213),u=n(4),s=n(73),d=n(35),c=n(12),f=n(83);e.exports=function(e,t,n){var p=u(e),h=p||s(e)||f(e);if(t=i(t,4),null==n){var _=e&&e.constructor;n=h?p?new _:[]:c(e)&&d(_)?o(l(e)):{}}return(h?r:a)(e,(function(e,r,o){return t(n,e,r,o)})),n}},function(e,t,n){var r=n(291),o=n(731),a=n(50),i=Object.prototype.toString,l=o((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=i.call(t)),e[t]=n}),r(a));e.exports=l},function(e,t,n){e.exports=n(9)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t._ABTestingSet=void 0;var r=a(n(22)),o=a(n(6));function a(e){return e&&e.__esModule?e:{default:e}}var i={_ABTestingSet:function(e){o.default.abIsMode("select_subject",e.props.themeBuilderArea)?r.default.abSetSubject(e):o.default.abIsMode("select_goal",e.props.themeBuilderArea)?r.default.abSetGoal(e):o.default.abIsMode("select_winner",e.props.themeBuilderArea)&&r.default.abSetWinner(e)}},l=i._ABTestingSet;t._ABTestingSet=l;var u=i;t.default=u},function(e,t,n){var r=n(1207),o=n(28),a=/[&<>"']/g,i=RegExp(a.source);e.exports=function(e){return(e=o(e))&&i.test(e)?e.replace(a,r):e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(407),o=n(309),a="__core-js_shared__",i=o[a]||(o[a]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(636)?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(526),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(529)("keys"),o=n(467);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(465).f,o=n(339),a=n(201)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t,n){var r=n(86);e.exports=function(e,t){var n;return r(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(458)),o=c(n(5)),a=c(n(1)),i=c(n(7)),l=c(n(9)),u=c(n(126)),s=n(358),d=c(n(8));function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"self",p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"self";f(this,t),h(this,"$base",void 0),h(this,"$target",void 0),h(this,"active_frames",{}),h(this,"exclude_scripts",/document\.location *=|apex\.live|(crm\.zoho|hotjar|googletagmanager|maps\.googleapis)\.com/i),h(this,"frames",[]),h(this,"_copyResourcesToFrame",(function(t){var o=n.$base("html"),a=o.find("body"),i=a.find("style, link"),l=o.find("head").find("style, link"),u=a.find("_script"),s=n.getFrameWindow(t);(0,r.default)(s,n.base_window);var d=t.contents().find("body");d.parent().addClass("et-core-frame__html"),l.each((function(){d.prev().append(e(this).clone())})),i.each((function(){d.append(e(this).clone())})),u.each((function(){var t=s.document.createElement("script");t.src=e(this).attr("src"),s.document.body.appendChild(t)}))})),h(this,"_createElement",(function(t,r){if(!(0,s.isElementExcluded)(t)){n._filterBaseElementContent(t);var o=r.importNode(t,!0),a=e(o).find("link, script, style");return e(o).find("#et-fb-app-frame, #et-bfb-app-frame, #wpadminbar").remove(),n._filterElementContent(o),a.each((function(t,o){var a=e(o),i=a.parent(),l=n._createResourceElement(o,r);a.remove(),l&&n._appendChildSafely(i[0],l)})),o}})),h(this,"_createFrame",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"body",o=n.$target("