/home/techb158/balacoffee.com/wp-content/themes/Divi/js
Edit: /home/techb158/balacoffee.com/wp-content/themes/Divi/js/scripts.min.js (369288B)
/*! For license information please see scripts.min.js.LICENSE.txt */
!function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=95)}([function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i,o=window;try{i=!!window.top.document&&window.top}catch(t){i=!1}i&&i.__Cypress__?window.parent===i?o=window:o=window.parent:i&&(o=i,window.self)},function(t,e,n){var i=n(10),o=n(29),a=n(30),r=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":r&&r in Object(t)?o(t):a(t)}},function(t,e){var n=Array.isArray;t.exports=n},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){var i=n(14),o="object"==typeof self&&self&&self.Object===Object&&self,a=i||o||Function("return this")();t.exports=a},function(t,e,n){var i=n(1),o=n(3);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==i(t)}},function(t,e,n){var i=n(18)(Object,"create");t.exports=i},function(t,e,n){var i=n(77);t.exports=function(t,e){for(var n=t.length;n--;)if(i(t[n][0],e))return n;return-1}},function(t,e,n){var i=n(83);t.exports=function(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}},function(t,e,n){var i=n(55);t.exports=function(t,e,n){var o=null==t?void 0:i(t,e);return void 0===o?n:o}},function(t,e,n){var i=n(4).Symbol;t.exports=i},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){var i=n(13),o=n(15);t.exports=function(t){return null!=t&&o(t.length)&&!i(t)}},function(t,e,n){var i=n(1),o=n(11);t.exports=function(t){if(!o(t))return!1;var e=i(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(28))},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,o=Array(i);++n
-1:!!d&&i(t,e,n)>-1}},function(t,e){t.exports=jQuery},function(t,e){!function(){"use strict";function t(i){if(!i)throw new Error("No options passed to Waypoint constructor");if(!i.element)throw new Error("No element option passed to Waypoint constructor");if(!i.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,i),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=i.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),n[this.key]=this,e+=1}var e=0,n={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete n[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var i in n)e.push(n[i]);for(var o=0,a=e.length;a>o;o++)e[o][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.invokeAll("enable")},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=o.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+n,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,i[t.waypointContextKey]=this,n+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var n=0,i={},o=window.Waypoint,a=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete i[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",(function(){e.didResize||(e.didResize=!0,o.requestAnimationFrame(t))}))},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",(function(){(!e.didScroll||o.isTouch)&&(e.didScroll=!0,o.requestAnimationFrame(t))}))},e.prototype.handleResize=function(){o.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var n in e){var i=e[n],o=i.newScroll>i.oldScroll?i.forward:i.backward;for(var a in this.waypoints[n]){var r=this.waypoints[n][a],s=i.oldScroll=r.triggerPoint;(s&&c||!s&&!c)&&(r.queueTrigger(o),t[r.group.id]=r.group)}}for(var l in t)t[l].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?o.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?o.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var n in this.waypoints[e])t.push(this.waypoints[e][n]);for(var i=0,o=t.length;o>i;i++)t[i].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,n=e?void 0:this.adapter.offset(),i={};for(var a in this.handleScroll(),t={horizontal:{contextOffset:e?0:n.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:n.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var r=t[a];for(var s in this.waypoints[a]){var c,l,d,u,p=this.waypoints[a][s],_=p.options.offset,f=p.triggerPoint,h=0,v=null==f;p.element!==p.element.window&&(h=p.adapter.offset()[r.offsetProp]),"function"==typeof _?_=_.apply(p):"string"==typeof _&&(_=parseFloat(_),p.options.offset.indexOf("%")>-1&&(_=Math.ceil(r.contextDimension*_/100))),c=r.contextScroll-r.contextOffset,p.triggerPoint=h+c-_,l=f=r.oldScroll,u=!l&&!d,!v&&(l&&d)?(p.queueTrigger(r.backward),i[p.group.id]=p.group):(!v&&u||v&&r.oldScroll>=p.triggerPoint)&&(p.queueTrigger(r.forward),i[p.group.id]=p.group)}}return o.requestAnimationFrame((function(){for(var t in i)i[t].flushTriggers()})),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in i)i[t].refresh()},e.findByElement=function(t){return i[t.waypointContextKey]},window.onload=function(){a&&a(),e.refreshAll()},o.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},o.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function n(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}var i={vertical:{},horizontal:{}},o=window.Waypoint;n.prototype.add=function(t){this.waypoints.push(t)},n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},n.prototype.flushTriggers=function(){for(var n in this.triggerQueues){var i=this.triggerQueues[n],o="up"===n||"left"===n;i.sort(o?e:t);for(var a=0,r=i.length;r>a;a+=1){var s=i[a];(s.options.continuous||a===i.length-1)&&s.trigger([n])}}this.clearTriggerQueues()},n.prototype.next=function(e){this.waypoints.sort(t);var n=o.Adapter.inArray(e,this.waypoints);return n===this.waypoints.length-1?null:this.waypoints[n+1]},n.prototype.previous=function(e){this.waypoints.sort(t);var n=o.Adapter.inArray(e,this.waypoints);return n?this.waypoints[n-1]:null},n.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},n.prototype.remove=function(t){var e=o.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},n.prototype.first=function(){return this.waypoints[0]},n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},n.findOrCreate=function(t){return i[t.axis][t.name]||new n(t)},o.Group=n}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,n=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(e,n){t.prototype[n]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[n].apply(this.$element,t)}})),e.each(["extend","inArray","isEmptyObject"],(function(n,i){t[i]=e[i]})),n.adapters.push({name:"jquery",Adapter:t}),n.Adapter=t}(),function(){"use strict";function t(t){return function(){var n=[],i=arguments[0];return"function"==typeof arguments[0]&&((i=t.extend({},arguments[1])).handler=arguments[0]),this.each((function(){var o=t.extend({},i,{element:this});"string"==typeof o.context&&(o.context=t(this).closest(o.context)[0]),n.push(new e(o))})),n}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}()},function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t,e){for(var n in e)t[n]=e[n]}(window,function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==n(t)&&t&&t.__esModule)return t;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)i.d(o,a,function(e){return t[e]}.bind(null,a));return o},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/",i(i.s=1468)}({1:function(t,e,n){var i=n(89);t.exports=function(t,e,n){var o=null==t?void 0:i(t,e);return void 0===o?n:o}},100:function(t,e,n){var i=n(213),o=n(225),a=n(227),r=n(228),s=n(229);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t<=9007199254740991}},110:function(t,e,i){var o=i(3),a=i(48),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(t,e){if(o(t))return!1;var i=n(t);return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!a(t))||s.test(t)||!r.test(t)||null!=e&&t in Object(e)}},116:function(t,e,n){var i=n(84),o=n(254),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!i(t))return o(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e}},117:function(t,e,n){var i=n(47);t.exports=function(t){return"function"==typeof t?t:i}},118:function(t,e){t.exports=function(t,e){for(var n=-1,i=e.length,o=t.length;++n=0?i=setTimeout(l,e-d):(i=null,n||(s=t.apply(a,o),i||(a=o=null)))};return function(){a=this,o=arguments,r=c;var d=n&&!i;return i||(i=setTimeout(l,e)),d&&(s=t.apply(a,o),a=o=null),s}},r.length){var c=r.find(".et_builder_inner_content").children(".et_pb_section--fixed"),l=et_pb_debounce((function(t){s=0,n.each(c,(function(t,e){var i=n(e).outerHeight(!0);s+=i;var o=n(e).offset().top;o<0&&Math.abs(o)>s?s=0:o<0&&(s+=o)}))}),300);n(window).on("resize",l)}window.et_pb_smooth_scroll=function(t,e,i,a){var c=t.offset().top,l=n(window).width(),d=0,u=0,p="",_="",f=r.find(".et_pb_section");if(!(0,o.isTargetStickyState)(t)){d=n("body").hasClass("et_fixed_nav")&&l>980?(n("#top-header").outerHeight()||0)+(n("#main-header").outerHeight()||0)-1:0,n("#wpadminbar").length&&l>600&&(d+=n("#wpadminbar").outerHeight()||0),r.length&&(f.hasClass("et_pb_section--fixed")&&(p=Math.ceil(parseFloat(f.css("left"))),_=Math.ceil(parseFloat(f.css("right"))),l<980&&(d+=90)),0===p+_&&(d+=s));var h=(0,o.getClosestStickyModuleOffsetTop)(t);h&&(d+=h),u=e?0:Math.round(c)-d,void 0===a&&(a="swing"),n("html, body").animate({scrollTop:u},i,a)}},window.et_pb_form_placeholders_init=function(e){e.find('input:text, input[type="email"], input[type="url"], textarea').each((function(e,n){var i=t(n),o=i.siblings("label"),a=i.siblings("label").text();o.length&&(o.hide(),i.siblings("span.required")&&(a+=i.siblings("span.required").text(),i.siblings("span.required").hide()),i.val(a))})).on("focus",(function(){var e=t(this).siblings("label").text();t(this).siblings("span.required").length&&(e+=t(this).siblings("span.required").text()),t(this).val()===e&&t(this).val("")})).on("blur",(function(){var e=t(this).siblings("label").text();t(this).siblings("span.required").length&&(e+=t(this).siblings("span.required").text()),""===t(this).val()&&t(this).val(e)}))},window.et_duplicate_menu=function(t,e,o,a,r){e.each((function(){var e,s=n(this);if(!s.find("#".concat(o)).length&&(""!==t&&t.clone().attr("id",o).removeClass().attr("class",a).appendTo(s),(e=s.find("> ul")).find(".menu_slide").remove(),e.find(".et_pb_menu__logo-slot").remove(),e.find("li").first().addClass("et_first_mobile_item"),e.find("a").on("click",(function(){n(this).parents(".et_mobile_menu").siblings(".mobile_menu_bar").trigger("click")})),"no_click_event"!==r)){i.isBuilder&&s.off("click");var c=s.closest(".et_pb_section"),l=s.closest(".et_pb_row"),d="0px"!==c.css("border-radius"),u="0px"!==l.css("border-radius");s.on("click",".mobile_menu_bar",(function(){return n(".mobile_nav.opened .mobile_menu_bar").not(n(this)).trigger("click"),s.hasClass("closed")?(s.removeClass("closed").addClass("opened"),(d||u)&&(c.css("overflow","visible"),l.css("overflow","visible")),e.stop().slideDown(500)):(s.removeClass("opened").addClass("closed"),e.stop().slideUp(500),(d||u)&&setTimeout((function(){c.css("overflow","hidden"),l.css("overflow","hidden")}),500)),!1}))}})),n("#mobile_menu .centered-inline-logo-wrap").remove()},window.et_pb_remove_placeholder_text=function(e){e.find("input:text, textarea").each((function(e,n){var i=t(n),o=i.siblings("label");i.siblings("label").text(),o.length&&o.is(":hidden")&&o.text()==i.val()&&i.val("")}))},window.et_fix_fullscreen_section=function(){var t=n(a?e.top_window:window);n("section.et_pb_fullscreen").each((function(){var e=n(this);et_calc_fullscreen_section.bind(e),t.on("resize",et_calc_fullscreen_section.bind(e))}))},window.et_bar_counters_init=function(t){t.length&&t.css({width:"".concat(parseFloat(t.attr("data-width")),"%")})},window.et_fix_pricing_currency_position=function(t){setTimeout((function(){var e=void 0!==t?t:n(".et_pb_pricing_table");e.length&&e.each((function(){var t=n(this).find(".et_pb_et_price"),e=!!t.length&&t.find(".et_pb_dollar_sign"),i=!!t.length&&t.find(".et_pb_sum");e&&i&&e.css({marginLeft:"".concat(-e.width(),"px")})}))}),1)},window.et_pb_set_responsive_grid=function(t,e){setTimeout((function(){var i=t.innerWidth(),o=t.find(e),a=o.outerWidth(!0),r=a-o.outerWidth(),s=Math.round((i+r)/a),c=1,l=1,d=n();if(o.removeClass("last_in_row first_in_row on_last_row"),o.filter(":visible").each((function(){var t=n(this);t.hasClass("inactive")||(l===c?(t.addClass("first_in_row"),d=t):0==c%s&&(t.addClass("last_in_row"),l=c+1),c++)})),d.length){var u=d.parents(".et_pb_module");if(u.is(":last-child")){var p=d.parents(".et_pb_column")[0];n(p).find(".et_pb_grid_item").removeClass("on_last_row");var _=u.find(".et_pb_gallery_pagination");0===_.length&&(_=u.find(".et_pb_portofolio_pagination")),(0===_.length||_.length>0&&!_.is(":visible"))&&(s>1&&d.addClass("on_last_row"),d.nextAll().addClass("on_last_row"))}}}),1)},window.et_pb_set_tabs_height=function(t){void 0===t&&(t=n(".et_pb_tabs")),t.length&&t.each((function(){var t=n(this).find(".et_pb_tabs_controls"),e=t.find("li"),i=0,o=n(this).parents(".et_pb_column_1_3, .et_pb_column_1_4, .et_pb_column_3_8").length>0,a=parseFloat(n(window).width())<768,r=o||a;r&&n(this).addClass("et_pb_tabs_vertically_stacked"),e.length&&(t.children("li").removeAttr("style"),e.each((function(){var t=n(this).outerHeight();r||t>i&&(i=t)}))),0!==i&&t.children("li").css("height","".concat(i,"px"))}))},window.et_pb_box_shadow_apply_overlay=function(t){void 0!==document.body.style.pointerEvents&&(void 0===document.documentMode||document.documentMode>=11)?n(t).each((function(){n(this).children(".box-shadow-overlay").length||n(this).addClass("has-box-shadow-overlay").prepend('')})):n(t).addClass(".et-box-shadow-no-overlay")},window.et_pb_init_nav_menu=function(t){t.each((function(){var t=n(this);t.data("et-is-menu-ready")||(t.find("li").on("mouseenter",(function(){window.et_pb_toggle_nav_menu(n(this),"open")})).on("mouseleave",(function(){window.et_pb_toggle_nav_menu(n(this),"close",0)})),n("body").on("touchend",(function(t){n(t.target).closest("ul.nav, ul.menu").length<1&&n(".et-hover").length>0&&window.et_pb_toggle_nav_menu(n(".et-hover"),"close")})),t.find("li.menu-item-has-children").on("touchend",(function(t){var e=n(t.target).closest(".menu-item");if(e.hasClass("menu-item-has-children")){var i=n(this),o=e.closest(".mega-menu-parent.et-touch-hover").length>0;if(i.hasClass("et-touch-hover")||o)void 0!==i.find(">a").attr("href")&&(window.location=i.find(">a").attr("href"));else{var a=n(t.target),r=a.closest(".menu-item").siblings(".et-touch-hover");if(a.closest(".et-touch-hover").length<1&&window.et_pb_toggle_nav_menu(n(".et-hover"),"close",0),i.addClass("et-touch-hover"),r.length>0){var s=r.find(".et-touch-hover");window.et_pb_toggle_nav_menu(r,"close"),window.et_pb_toggle_nav_menu(s,"close")}window.et_pb_toggle_nav_menu(i,"open")}t.preventDefault(),t.stopPropagation()}})),t.find("li.mega-menu").each((function(){var t=n(this),e=t.children("ul").children("li").length;e<4&&t.addClass("mega-menu-parent mega-menu-parent-".concat(e))})),t.data("et-is-menu-ready","ready"))}))},window.et_pb_toggle_nav_menu=function(t,e,n){if("open"===e)t.closest("li.mega-menu").length&&!t.hasClass("mega-menu")||(t.addClass("et-show-dropdown"),t.removeClass("et-hover").addClass("et-hover"));else{var i=void 0!==n?n:200;t.removeClass("et-show-dropdown"),t.removeClass("et-touch-hover"),setTimeout((function(){t.hasClass("et-show-dropdown")||t.removeClass("et-hover")}),i)}},window.et_pb_apply_sticky_image_effect=function(t){var e=t.closest(".et_pb_row"),n=e.closest(".et_pb_section"),i=t.closest(".et_pb_column"),o="et_pb_section_sticky",a="et_pb_section_sticky_mobile",r=n.children(".et_pb_row").last(),s=e.children(".et_pb_column").last(),c=i.children(".et_pb_module").last();return!e.is(r)||(r.addClass("et-last-child"),!t.is(c)||(n.hasClass(o)||n.addClass(o),i.addClass("et_pb_row_sticky"),void(!n.hasClass(a)&&i.is(s)&&n.addClass(a))))},window.et_pb_menu_inject_inline_centered_logo=function(t){var e=n(t).find("nav > ul > li"),i=Math.round(e.length/2),o=window.et_pb_menu_inject_item(t,i,!0);return o&&n(o).addClass("et_pb_menu__logo-slot"),o},window.et_pb_menu_inject_item=function(t,e,i){i=void 0===i||i,e=Math.max(e,0);var o=n(t).find("nav > ul").first();if(0===o.length)return null;var a=o.find("> li"),r=n("");if(0===a.length)o.append(r);else{var s=i?"before":"after",c=i?a.eq(e):a.eq(a.length-1-e);0===c.length&&(s=i?"after":"before",c=i?a.last():a.first()),c[s](r)}return r.get(0)},window.et_pb_reposition_menu_module_dropdowns=et_pb_debounce((function(t){n(t||".et_pb_menu, .et_pb_fullwidth_menu").each((function(){var t=n(this).find(".et_pb_row").first();if(0===t.length)return!0;var e=t.offset().top,i=n(this).attr("class").replace(/^.*?(et_pb(?:_fullwidth)?_menu_\d+[^\s]*).*$/i,"$1"),o=n(this).find(".et_pb_menu__menu ul").first().hasClass("upwards"),a="";n(this).find(".et_pb_menu__menu > nav > ul > li.mega-menu.menu-item-has-children").each((function(){var r=n(this),s=r.attr("class").replace(/^.*?(menu-item-\d+).*$/i,"$1"),c=".".concat(i," li.").concat(s," > .sub-menu");if(o){var l=Math.floor(e+t.outerHeight()-r.offset().top)-1;a+="".concat(c,"{ bottom: ").concat(l.toString(),"px !important; }")}else l=Math.floor(r.offset().top+r.outerHeight()-e)-1,a+="".concat(c,"{ top: ").concat(l.toString(),"px !important; }")}));var r=n("style.et-menu-style-".concat(i)).first();0===r.length&&((r=n("")).addClass("et-menu-style"),r.addClass("et-menu-style-".concat(i)),r.appendTo(n("head")));var s=r.html();a!==s&&r.html(a)}))}),200)}(t)}).call(this,n(8))},1469:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.trimTransitionValue=e.isTargetStickyState=e.getStickyStyles=e.getLimitSelector=e.getLimit=e.getClosestStickyModuleOffsetTop=e.filterInvalidModules=void 0;var i=p(n(69)),o=p(n(9)),a=p(n(1)),r=p(n(144)),s=p(n(6)),c=p(n(5)),l=p(n(37)),d=p(n(8)),u=n(401);function p(t){return t&&t.__esModule?t:{default:t}}function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function f(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},n={};return(0,o.default)(t,(function(t,i){(0,d.default)(t.selector).parents(".et_pb_sticky_module").length>0||(!(0,c.default)(e)&&e[i]?n[i]=f(f({},e[i]),t):n[i]=t)})),n},e.getStickyStyles=function(t,e,n){var i=e.clone().addClass("et_pb_sticky et_pb_sticky_style_dom").attr({"data-sticky-style-dom-id":t,style:""}).css({opacity:0,transition:"none",animation:"none"});i.find("img").each((function(t){var n=(0,d.default)(this),i=e.find("img").eq(t),o=(0,a.default)(i,[0,"naturalWidth"],e.find("img").eq(t).outerWidth()),r=(0,a.default)(i,[0,"naturalHeight"],e.find("img").eq(t).outerHeight());n.attr({scrset:"",src:'data:image/svg+xml;utf8,')})})),e.after(i);var o=function(t){var o="margin".concat(t),a=e.hasClass("et_pb_sticky")?n:e;return parseFloat(i.css(o))-parseFloat(a.css(o))},r=e.parent().hasClass("et_pb_equal_columns");r&&(e.hide(),n.hide());var s={height:i.outerHeight(),width:i.outerWidth(),marginRight:o("Right"),marginLeft:o("Left"),padding:i.css("padding")};return r&&(e.show(),n.show()),(0,d.default)('.et_pb_sticky_style_dom[data-sticky-style-dom-id="'.concat(t,'"]')).remove(),s},e.trimTransitionValue=function(t,e){(0,l.default)(t)||(t="");var n=t.split(", "),o=(0,i.default)(n,(function(t){return!(0,s.default)(e,(0,r.default)(t.split(" ")))}));return(0,c.default)(o)?"none":o.join(", ")},e.getClosestStickyModuleOffsetTop=function(t){var e=t.offset();e.right=e.left+t.outerWidth();var n=null,i=0,r=(0,a.default)(window.ET_FE,"stores.sticky.modules",{});if((0,o.default)(r,(function(i){if((0,s.default)(["top_bottom","top"],i.position)&&!t.is((0,a.default)(i,"selector"))&&!((0,a.default)(i,"offsets.right",0)e.right||(0,a.default)(i,"offsets.top",0)>e.top)){var o=(0,a.default)(i,"bottomLimitSettings.offsets.bottom");o&&od))return!1;var p=c.get(t),_=c.get(e);if(p&&_)return p==e&&_==t;var f=-1,h=!0,v=2&n?new i:void 0;for(c.set(t,e),c.set(e,t);++f-1}},224:function(t,e,n){var i=n(73);t.exports=function(t,e){var n=this.__data__,o=i(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},225:function(t,e,n){var i=n(74);t.exports=function(t){var e=i(this,t).delete(t);return this.size-=e?1:0,e}},226:function(t,e){t.exports=function(t){var e=n(t);return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},227:function(t,e,n){var i=n(74);t.exports=function(t){return i(this,t).get(t)}},228:function(t,e,n){var i=n(74);t.exports=function(t){return i(this,t).has(t)}},229:function(t,e,n){var i=n(74);t.exports=function(t,e){var n=i(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},23:function(t,e){t.exports=function(t){return null!=t&&"object"==n(t)}},230:function(t,e,n){var i=n(312),o=n(211);t.exports=function(t,e){return null!=t&&o(t,e,i)}},231:function(t,e){var n=/\s/;t.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},232:function(t,e,n){var i=n(42);t.exports=function(t,e){return i(e,(function(e){return t[e]}))}},246:function(t,e){t.exports=function(t){return function(e,n,i){for(var o=-1,a=Object(e),r=i(e),s=r.length;s--;){var c=r[t?s:++o];if(!1===n(a[c],c,a))break}return e}}},247:function(t,e,n){var i=n(38);t.exports=function(t,e){return function(n,o){if(null==n)return n;if(!i(n))return t(n,o);for(var a=n.length,r=e?a:-1,s=Object(n);(e?r--:++r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=C&&t.hasClass("et_pb_sticky")&&"fixed"!==t.css("position"),o=t.data("et-offsets"),r=t.data("et-offsets-device"),s=(0,a.default)(window.ET_FE,"stores.window.breakpoint","");if(i&&void 0!==o&&r===s)return o;var c=t.offset();if(void 0===c)return{};var l=C?t.children('.et-fb-custom-css-output[data-sticky-has-transform="on"]').length>0:t.hasClass("et_pb_sticky--has-transform"),d=void 0===c.top?0:c.top,u=void 0===c.left?0:c.left;if(l){var p=t.parent().offset(),_={top:c.top-p.top,left:c.left-p.left},f={top:t[0].offsetTop,left:t[0].offsetLeft};d+=f.top-_.top,c.top=d,u+=f.left-_.left,c.left=u}return c.right=u+e,c.bottom=d+n,t.data("et-offsets",c),""!==s&&t.data("et-offsets-device",c),c},e.maybeIncreaseEmitterMaxListeners=function(t,e){var n=t.listenerCount(e),i=t.getMaxListeners();n===i&&t.setMaxListeners(i+1)},e.maybeDecreaseEmitterMaxListeners=function(t,e){var n=t.listenerCount(e);t.getMaxListeners()>10&&t.setMaxListeners(n)},e.registerFrontendComponent=function(t,e,n){void 0===window.ET_FE&&(window.ET_FE={}),"object"!==l(window.ET_FE[t])&&(window.ET_FE[t]={}),window.ET_FE[t][e]=n},e.setImportantInlineValue=function(t,e,n){t.css(e,"");var i=t.attr("style");t.attr("style","".concat(i," ").concat(e,": ").concat(n," !important;"))}},402:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.top_window=e.is_iframe=void 0;var i=window;e.top_window=i;var o,a=!1;e.is_iframe=a;try{o=!!window.top.document&&window.top}catch(t){o=!1}o&&o.__Cypress__?window.parent===o?(e.top_window=i=window,e.is_iframe=a=!1):(e.top_window=i=window.parent,e.is_iframe=a=!0):o&&(e.top_window=i=o,e.is_iframe=a=o!==window.self)},42:function(t,e){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,o=Array(i);++n-1:!!d&&i(t,e,n)>-1}},61:function(t,e,n){var i=n(255),o=n(99),a=n(256),r=n(190),s=n(174),c=n(35),l=n(138),d="[object Map]",u="[object Promise]",p="[object Set]",_="[object WeakMap]",f="[object DataView]",h=l(i),v=l(o),b=l(a),g=l(r),m=l(s),w=c;(i&&w(new i(new ArrayBuffer(1)))!=f||o&&w(new o)!=d||a&&w(a.resolve())!=u||r&&w(new r)!=p||s&&w(new s)!=_)&&(w=function(t){var e=c(t),n="[object Object]"==e?t.constructor:void 0,i=n?l(n):"";if(i)switch(i){case h:return f;case v:return d;case b:return u;case g:return p;case m:return _}return e}),t.exports=w},66:function(t,e,n){var i=n(3),o=n(110),a=n(152),r=n(25);t.exports=function(t,e){return i(t)?t:o(t,e)?[t]:a(r(t))}},69:function(t,e,n){var i=n(132),o=n(349),a=n(31),r=n(3);t.exports=function(t,e){return(r(t)?i:o)(t,a(e,3))}},72:function(t,e,n){var i=n(44)(Object,"create");t.exports=i},73:function(t,e,n){var i=n(55);t.exports=function(t,e){for(var n=t.length;n--;)if(i(t[n][0],e))return n;return-1}},74:function(t,e,n){var i=n(226);t.exports=function(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}},76:function(t,e,i){(function(t){var o=i(20),a=i(209),r=e&&!e.nodeType&&e,s=r&&"object"==n(t)&&t&&!t.nodeType&&t,c=s&&s.exports===r?o.Buffer:void 0,l=(c?c.isBuffer:void 0)||a;t.exports=l}).call(this,i(103)(t))},77:function(t,e){var i=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var o=n(t);return!!(e=null==e?9007199254740991:e)&&("number"==o||"symbol"!=o&&i.test(t))&&t>-1&&t%1==0&&tt.length)&&(e=t.length);for(var n=0,i=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:window;return"https:"===t.location.protocol}},{key:"getName",value:function(t,e){return"et-".concat(t,"-post-").concat(this.postID,"-").concat(e)}},{key:"set",value:function(t,e,n){var i=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(t,e),(0,O.default)(n)?e:n,i,this.path,!1,this.secure(o))}},{key:"get",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;return n.wpCookies.get(this.getName(t,e))}},{key:"remove",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;n.wpCookies.remove(this.getName(t,e),this.path,!1,this.secure(n))}}])&&tt(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}());e.cookies=st;var ct=window,lt=ct.document,dt=null,ut=null;t(window).on("et_fb_init",(function(){ct=window.ET_Builder.Frames.app,lt=ct.document}));var pt={applyMixinsSafely:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i2&&void 0!==arguments[2])||arguments[2];if((0,_.default)(t,"attrs._deleted"))return!0;if(n){var i=(0,_.default)(t,"address","").split(".");if(i.length>1){var o=pt.getModuleAddressSequence(i),a=!1;if((0,d.default)(o,(function(t){var n=(0,l.default)(e,{address:t});(0,_.default)(n,"attrs._deleted")&&(a=!0)})),a)return!0}}return!1},getComponentType:function(t){var e=t.props||t,n=(0,_.default)(e,"type"),i="module";switch(!0){case"et_pb_section"===n:i="section";break;case(0,v.default)(ot,n):i="row";break;case(0,v.default)(at,n):i="column"}return i},getModuleSectionType:function(t,e){var n=t.props||t,i=(0,h.default)((0,_.default)(n,"address").split(".")),o=(0,l.default)(e,{address:i});return pt.isOn((0,_.default)(o,"attrs.fullwidth"))?"fullwidth":pt.isOn((0,_.default)(o,"attrs.specialty"))?"specialty":"regular"},getModuleAncestor:function(t,e,n){var i,o=e.props||e,a=pt.getModuleSectionType(o,n),r=pt.getModuleAddressSequence((0,_.default)(o,"address",""));return(0,d.default)(r,(function(e){var o=(0,l.default)(n,{address:e}),r=(0,_.default)(o,"type","");"specialty"===a?0===r.replace("et_pb_","").indexOf(t)&&(i=o):r.replace("et_pb_","")===t&&(i=o)})),i},is:function(t,e){var n=e.props||e,i=!1;switch(t){case"section":i="section"===We(n);break;case"row":i="row"===We(n);break;case"row-inner":i="et_pb_row_inner"===(0,_.default)(n,"type");break;case"column":i="column"===We(n);break;case"column-inner":i="et_pb_column_inner"===(0,_.default)(n,"type");break;case"module":i="module"===We(n)&&!(0,_.default)(n,"is_module_child");break;case"fullwidth":i=mt((0,_.default)(n,"attrs.fullwidth"));break;case"regular":i="section"===We(n)&&!mt((0,_.default)(n,"attrs.fullwidth"))&&!mt((0,_.default)(n,"attrs.specialty"));break;case"specialty":i=mt((0,_.default)(n,"attrs.specialty"));break;case"disabled":i=mt((0,_.default)(n,"attrs.disabled"));break;case"locked":i=mt((0,_.default)(n,"attrs.locked"));break;case"removed":i="et-fb-removed-component"===(0,_.default)(n,"component_path","");break;default:i=(0,_.default)(n,t)}return i},isOn:Q.isOn,isOff:Q.isOff,isOnOff:Q.isOnOff,isYes:Q.isYes,isNo:Q.isNo,isDefault:Q.isDefault,isMobileDevice:function(){if(null===dt)try{document.createEvent("TouchEvent"),dt=pt.$appWindow().width()<=1024}catch(t){dt=!1}return dt},isFileExtension:Q.isFileExtension,isIEOrEdge:function(){return document.documentMode||window.StyleMedia},isIE:function(){return pt.$appWindow("body").hasClass("ie")},isBlockEditor:function(){return(0,f.default)(window,"wp.blocks")},isResponsiveView:function(t){return(0,v.default)(["tablet","phone"],t)},isRealMobileDevice:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},getConditionalDefault:function(t,e,n,i){if(!(0,g.default)(t)||!(0,k.default)((0,_.default)(t,"1")))return t;var o=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,o,a=[],r=!0,s=!1;try{for(n=n.call(t);!(r=(i=n.next()).done)&&(a.push(i.value),!e||a.length!==e);r=!0);}catch(t){s=!0,o=t}finally{try{r||null==n.return||n.return()}finally{if(s)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return X(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?X(t,e):void 0}}(t,e)||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.")}()}(t,2),a=o[0],r=o[1];i&&(a=U.default.getHoverField(a));var s=n?n.resolve(a):(0,_.default)(e,a);return(0,O.default)(s)&&(s=(0,T.default)(r)[0]),(0,_.default)(r,s)},getValueOrConditionalDefault:function(t,e,n){var i=(0,_.default)(e,t);return(0,O.default)(i)||""===i?pt.getConditionalDefault((0,_.default)(n,t),e):i},condition:function(t){return(0,_.default)(ETBuilderBackend,["conditionalTags",t])},hasNumericValue:Q.hasNumericValue,hasValue:Q.hasValue,get:Q.get,getResponsiveStatus:function(t){var e=(0,j.default)(t)?t.split("|"):["off","desktop"];return!(0,O.default)(e[0])&&pt.isOn(e[0])},getResponsiveLastMode:function(t){var e=(0,j.default)(t)?t.split("|"):["off","desktop"];return(0,_.default)(e,[1],"desktop")},parseShortcode:function(e,n,i){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=this,r=document.documentMode,s="et-fb-preview-".concat((0,I.default)(),"-").concat(Math.floor(1e3*Math.random()+1)),c="".concat(ETBuilderBackend.site_url,"/?et_pb_preview=true&et_pb_preview_nonce=").concat(ETBuilderBackend.nonces.preview,"&iframe_id=").concat(s);setTimeout((function(){var l=t('*[data-shortcode-id="'.concat(i,'"]')),d=l.length?"".concat(l.width(),"px"):"100%",u=t("",{id:s,src:c,style:"position: absolute; bottom: 0; left: 0; opacity: 0; pointer-events: none; width: ".concat(d,"; height: 100%;")}),p=!1,_={et_pb_preview_nonce:ETBuilderBackend.nonces.preview,is_fb_preview:!0,shortcode:e},f=o||t("body");f.append(u),u.on("load",(function(){if(!p){var t=f.find("#".concat(s))[0];!(0,O.default)(r)&&r<10&&(_=JSON.stringify(_)),t.contentWindow.postMessage(_,c),p=!0;var e=window.addEventListener?"addEventListener":"attachEvent";(0,window[e])("attachEvent"==e?"onmessage":"message",(function(t){t.data.iframe_id===s&&(0,j.default)(t.data.html)&&a.hasValue(t.data)&&(n(t.data),o||u.remove())}),!1)}}))}),0)},renderExtendedIcon:function(t){var e=pt.getExtendedIconData(t);return 0===e.unicode.indexOf("")?pt.decodeIconUnicode(e.unicode):e.unicode},maybeFaIconType:function(t){return"divi"!==pt.getExtendedIconData(t).type},getExtendedIconFontFamily:function(t){return"divi"!==pt.getExtendedIconData(t).type?"FontAwesome":"ETmodules"},getExtendedIconFontWeight:function(t){return Number.parseInt(pt.getExtendedIconData(t).fontWeight)},maybeBlackExtendedIconFontWeight:function(t){return pt.maybeBlackFontWeightIcon(pt.getExtendedIconData(t).fontWeight)},maybeNormalExtendedIconFontWeight:function(t){return pt.maybeNormalFontWeightIcon(pt.getExtendedIconData(t).fontWeight)},maybeBlackFontWeightIcon:function(t){return 900===Number.parseInt(t)},maybeNormalFontWeightIcon:function(t){return 400===Number.parseInt(t)},decodeIconUnicode:function(e){return void 0===e||(0,m.default)(e)?null:t.parseHTML((0,V.default)(e))[0].nodeValue},convertIconUnicodeToCssValue:function(t){var e=pt.getExtendedIconData(t),n="";if(1===e.unicode.length){if("divi"!==e.type)return'"\\'.concat(e.unicode,'"');for(var i=ETBuilderBackend.fontIconsExtended,o=0;o1&&void 0!==arguments[1]?arguments[1]:"hover_icon",n=["","_phone","_tablet","__hover","__sticky"],i=J({},t);return n.forEach((function(t){void 0!==i["".concat(e).concat(t)]&&pt.maybeExtendedFontIconRaw(i["".concat(e).concat(t)])&&(i["".concat(e,"_font_family").concat(t)]=pt.getExtendedIconFontFamily(i["".concat(e).concat(t)]),i["".concat(e,"_font_weight").concat(t)]=pt.getExtendedIconData(i["".concat(e).concat(t)]).fontWeight,i["".concat(e).concat(t)]=pt.convertIconUnicodeToCssValue(i["".concat(e).concat(t)]),void 0!==i["".concat(e,"_last_edited")]&&(i["".concat(e,"_font_family_last_edited")]=i["".concat(e,"_last_edited")],i["".concat(e,"_font_weight_last_edited")]=i["".concat(e,"_last_edited")]),"__hover"===t&&void 0!==i["".concat(e,"__hover_enabled")]&&(i["".concat(e,"_font_family__hover_enabled")]=i["".concat(e,"__hover_enabled")],i["".concat(e,"_font_weight__hover_enabled")]=i["".concat(e,"__hover_enabled")]),"__sticky"===t&&void 0!==i["".concat(e,"__sticky_enabled")]&&(i["".concat(e,"_font_family__sticky_enabled")]=i["".concat(e,"__sticky_enabled")],i["".concat(e,"_font_weight__sticky_enabled")]=i["".concat(e,"__sticky_enabled")]))})),{attrs:i,font_family_attr_name:"".concat(e,"_font_family"),font_weight_attr_name:"".concat(e,"_font_weight")}},getExtendedIconData:function(t){if(pt.maybeExtendedFontIconRaw(t)){var e=t.split("||");return{unicode:e[0],type:e[1],fontWeight:void 0!==e[2]?e[2]:400}}return!1},maybeExtendedFontIconRaw:function(t){return!(0,m.default)(t)&&"string"==typeof t&&0=i?"em":"px"),isNaN(i)?"":i.toString()+o},getCorners:Q.getCorners,getCorner:Q.getCorner,gradientFieldsMapping:function(t){var e={repeat:"color_gradient_repeat",type:"color_gradient_type",direction:"color_gradient_direction",radialDirection:"color_gradient_direction_radial",stops:"color_gradient_stops",unit:"color_gradient_unit",overlaysImage:"color_gradient_overlays_image",colorStart:"color_gradient_start",startPosition:"color_gradient_start_position",colorEnd:"color_gradient_end",endPosition:"color_gradient_end_position"};return t?(0,_.default)(e,t):e},gradientDefault:function(){return{type:ETBuilderBackend.defaults.backgroundOptions.type,direction:ETBuilderBackend.defaults.backgroundOptions.direction,radialDirection:ETBuilderBackend.defaults.backgroundOptions.radialDirection,stops:ETBuilderBackend.defaults.backgroundOptions.stops,overlaysImage:ETBuilderBackend.defaults.backgroundOptions.overlaysImage,colorStart:ETBuilderBackend.defaults.backgroundOptions.colorStart,startPosition:ETBuilderBackend.defaults.backgroundOptions.startPosition,colorEnd:ETBuilderBackend.defaults.backgroundOptions.colorEnd,endPosition:ETBuilderBackend.defaults.backgroundOptions.endPosition}},getSpacing:Q.getSpacing,closestElement:Q.closestElement,getBreakpoints:function(){return["desktop","tablet","phone"]},getPrevBreakpoint:function(t){return pt.getBreakpoints()[(0,b.default)(pt.getBreakpoints(),t)-1]},getNextBreakpoint:function(t){return pt.getBreakpoints()[(0,b.default)(pt.getBreakpoints(),t)+1]},getPreviewModes:function(){return["wireframe","zoom","desktop","tablet","phone"]},getGradient:function(t,e){var n,i,o=(t=(0,a.default)(pt.gradientDefault(),(0,M.default)(t,Q.hasValue))).stops.replace(/\|/g,", ");switch(t.type){case"conic":n="conic",i="from ".concat(t.direction," at ").concat(t.radialDirection);break;case"elliptical":n="radial",i="ellipse at ".concat(t.radialDirection);break;case"radial":case"circular":n="radial",i="circle at ".concat(t.radialDirection);break;default:n="linear",i=t.direction}return n=mt(t.repeat)?"repeating-".concat(n):n,-1!==t.stops.indexOf("gcid-")&&(0,d.default)(e,(function(t){-1!==o.indexOf(t[0])&&(o=o.replaceAll(t[0],t[1].color))})),"".concat(n,"-gradient( ").concat(i,", ").concat(o," )")},removeClassNameByPrefix:function(e,n){var i=t(void 0===n?"body":n),o=i.attr("class"),a=new RegExp("".concat(e,"[^\\s]+"),"g");if(!(0,O.default)(o)){var r=o.replace(a,"");i.attr("class",r.trim())}},getKeyboardList:function(t){var e;switch(t){case"sectionLayout":e=["49","50","51"];break;case"rowLayout":e=["49","50","51","52","53","54","55","56","57","48","189"];break;case"arrowDirections":e=["38","39","40","37"];break;default:e=!1}return e},getRowLayouts:function(t,e){var n="et_pb_row"===t?ETBuilderBackend.columnLayouts.regular:[];if("et_pb_row_inner"===t&&!(0,O.default)(e)){var i=ETBuilderBackend.columnLayouts.specialty[e];n=(0,S.default)((0,F.default)(i.columns),(function(t){var e=t+1;return 1===e?"4_4":(0,S.default)((0,F.default)(e),(function(){return"1_".concat(e)})).join(",")}))}return n},maybeLoadFont:function(e,n){var i=pt.$topWindow("head").add(t("head")),o=ETBuilderBackend.et_builder_fonts_data,a=ETBuilderBackend.customFonts,r=ETBuilderBackend.removedFonts,s=ETBuilderBackend.useGoogleFonts,c=(0,T.default)(ETBuilderBackend.websafeFonts),l=void 0!==o[e]&&void 0!==o[e].styles?":".concat(o[e].styles):"",u=void 0!==o[e]&&void 0!==o[e].character_set?"&".concat(o[e].character_set):"",p=(0,_.default)(r,"".concat(e,".parent_font"),!1)?r[e].parent_font:e,f=e?pt.fontnameToClass(e):"";if((0,O.default)(a[e])){if(i.find("link#".concat(f)).length||!s||(0,v.default)(c,e))return;e=p.replace(/ /g,"+"),i.append(''))}else{if(i.find("style#".concat(f)).length)return;var h=(0,_.default)(a[e],"font_url",""),b=(0,j.default)(h)?"src: url('".concat(h,"');"):"";if(""===b&&!(0,j.default)(h)){var g={eot:{url:(0,_.default)(h,"eot",!1),format:"embedded-opentype"},woff2:{url:(0,_.default)(h,"woff2",!1),format:"woff2"},woff:{url:(0,_.default)(h,"woff",!1),format:"woff"},ttf:{url:(0,_.default)(h,"ttf",!1),format:"truetype"},otf:{url:(0,_.default)(h,"otf",!1),format:"opentype"}};g.eot.url&&(b="src: url('".concat(g.eot.url,"'); src: url('").concat(g.eot.url,"?#iefix') format('embedded-opentype')")),(0,d.default)(g,(function(t,e){"eot"!==e&&t.url&&(b+=""===b?"src: ":", ",b+="url('".concat(t.url,"') format('").concat(t.format,"')"))}))}i.append('"))}},fontnameToClass:function(t){return"et_gf_".concat(t.replace(/ /g,"_").toLowerCase())},callWindow:function(t){if((0,f.default)(window,t)){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:pt.appDocument();return ct.jQuery(t)},$appWindow:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pt.appWindow();return ct.jQuery(t)},$topDocument:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pt.topDocument();return pt.topWindow().jQuery(t)},$topWindow:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pt.topWindow();return pt.topWindow().jQuery(t)},$TBViewport:function(){return pt.$topWindow(".et-common-visual-builder").first()},$TBScrollTarget:function(){return pt.$TBViewport().find("#et-fb-app")},topViewportWidth:function(){return pt.isTB()?pt.$TBViewport().width():pt.topWindow().innerWidth},topViewportHeight:function(){return pt.isTB()?pt.$TBViewport().height():pt.$topWindow().height()},viewportScrollTop:function(){var t=pt.appWindow().ET_Builder.API.State.View_Mode;return pt.isTB()?pt.$TBScrollTarget().scrollTop():pt.isBFB()||t.isPhone()||t.isTablet()||t.isZoom()?pt.$topWindow().scrollTop():pt.$appWindow().scrollTop()},getTopWindowWidth:function(){return pt.isBFB()?pt.$topWindow("#et_pb_layout").width():pt.$topWindow().width()},getAppWindowWidth:function(){return pt.$appWindow().width()},getBuilderAvailableWidth:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(pt.isBFB())return pt.topDocument().getElementById("et_pb_layout").clientWidth;var o=e&&t,a=(0,_.default)(pt.appWindow(),"ET_Builder.API.State.View_Mode",{}),r=pt.maybeGetScrollbarWidth(a.current),s=pt.getTopWindowWidth();return r&&pt.isTB()&&(s-=r),o&&(0,v.default)(["left","right"],n)&&(s-=i),s},appDocument:function(){return lt},appWindow:function(){return ct},topDocument:function(){return pt.topWindow().document},topWindow:function(){return $.top_window},hasFixedHeader:function(){return(0,v.default)(["fixed","absolute"],t("header").css("position"))},isElementInViewport:function(e){if(e.length>0&&(e=e[0]),!(0,m.default)(e)){var n=e.ownerDocument?e.ownerDocument.defaultView:e.defaultView,i=n.jQuery&&n.jQuery(n),o=n.frameElement?n.frameElement.getBoundingClientRect():{};if(i){var a=e.getBoundingClientRect(),r=a.top;a.height,o.top&&(r-=Math.abs(o.top));var s=i.height(),c=0;return pt.hasFixedHeader()&&(c=t("header").height()),r<=s&&r>=c}}},getCommentsMarkup:function(t,e){(0,O.default)(t);var n=ETBuilderBackend.commentsModuleMarkup;if("h1"!==t&&(n=(n=n.replace("