Popups for Divi - Version 3.0.2

Version Description

Download this release

Release Info

Developer stracker.phil
Plugin Icon 128x128 Popups for Divi
Version 3.0.2
Comparing to
See all releases

Code changes from version 3.0.1 to 3.0.2

Files changed (4) hide show
  1. constants.php +0 -11
  2. plugin.php +4 -6
  3. readme.txt +5 -2
  4. scripts/front.min.js +1 -1
constants.php CHANGED
@@ -35,7 +35,6 @@ define( 'DIVI_POPUP_PATH', plugin_dir_path( DIVI_POPUP_PLUGIN_FILE ) );
35
  define( 'DIVI_POPUP_URL', plugin_dir_url( DIVI_POPUP_PLUGIN_FILE ) );
36
 
37
 
38
- /* start divimode block */
39
  /**
40
  * Store-key from where the plugin was downloaded.
41
  *
@@ -43,14 +42,4 @@ define( 'DIVI_POPUP_URL', plugin_dir_url( DIVI_POPUP_PLUGIN_FILE ) );
43
  * @var string
44
  */
45
  define( 'DIVI_POPUP_STORE', 'dm' );
46
- /* end divimode block */
47
 
48
- /* start etmarket block */
49
- /**
50
- * Store-key from where the plugin was downloaded.
51
- *
52
- * @since 3.0.2
53
- * @var string
54
- */
55
- define( 'DIVI_POPUP_STORE', 'et' );
56
- /* end etmarket block */
35
  define( 'DIVI_POPUP_URL', plugin_dir_url( DIVI_POPUP_PLUGIN_FILE ) );
36
 
37
 
 
38
  /**
39
  * Store-key from where the plugin was downloaded.
40
  *
42
  * @var string
43
  */
44
  define( 'DIVI_POPUP_STORE', 'dm' );
 
45
 
 
 
 
 
 
 
 
 
 
plugin.php CHANGED
@@ -2,25 +2,24 @@
2
  /**
3
  * Enables JS popups within Divi.
4
  *
5
- * @formatter:off
6
  * @package Popups_For_Divi
7
  * @author Philipp Stracker
8
  * @copyright 2020 Philipp Stracker
9
  * @license GPL-2.0-or-later
10
  *
11
  * Plugin Name: Popups for Divi
12
- * Plugin URI: https://divimode.com/divi-popup/?utm_source=wpadmin&utm_medium=link&utm_campaign=popups-for-divi
13
  * Description: Finally, a simple and intuitive way to add custom popups to your Divi pages!
 
14
  * Author: divimode.com
15
  * Author URI: https://divimode.com/?utm_source=wpadmin&utm_medium=link&utm_campaign=popups-for-divi
16
  * Created: 30.12.2017
17
- * Version: 3.0.1
18
  * Text Domain: divi-popup
19
  * Domain Path: /lang
20
  * License: GPL v2 or later
21
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
22
  *
23
- * Copyright (C) 2020 Philipp Stracker
24
  *
25
  * This program is free software; you can redistribute it and/or
26
  * modify it under the terms of the GNU General Public License
@@ -35,7 +34,6 @@
35
  * You should have received a copy of the GNU General Public License
36
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
37
  *
38
- * @formatter:on
39
  */
40
 
41
  defined( 'ABSPATH' ) || die();
@@ -45,7 +43,7 @@ defined( 'ABSPATH' ) || die();
45
  *
46
  * @var string
47
  */
48
- const DIVI_POPUP_VERSION = '3.0.1';
49
 
50
  /**
51
  * Absolute path and file name of the main plugin file.
2
  /**
3
  * Enables JS popups within Divi.
4
  *
 
5
  * @package Popups_For_Divi
6
  * @author Philipp Stracker
7
  * @copyright 2020 Philipp Stracker
8
  * @license GPL-2.0-or-later
9
  *
10
  * Plugin Name: Popups for Divi
 
11
  * Description: Finally, a simple and intuitive way to add custom popups to your Divi pages!
12
+ * Plugin URI: https://divimode.com/divi-popup/?utm_source=wpadmin&utm_medium=link&utm_campaign=popups-for-divi
13
  * Author: divimode.com
14
  * Author URI: https://divimode.com/?utm_source=wpadmin&utm_medium=link&utm_campaign=popups-for-divi
15
  * Created: 30.12.2017
16
+ * Version: 3.0.2
17
  * Text Domain: divi-popup
18
  * Domain Path: /lang
19
  * License: GPL v2 or later
20
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
21
  *
22
+ * Copyright (C) 2017 Philipp Stracker
23
  *
24
  * This program is free software; you can redistribute it and/or
25
  * modify it under the terms of the GNU General Public License
34
  * You should have received a copy of the GNU General Public License
35
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
36
  *
 
37
  */
38
 
39
  defined( 'ABSPATH' ) || die();
43
  *
44
  * @var string
45
  */
46
+ const DIVI_POPUP_VERSION = '3.0.2';
47
 
48
  /**
49
  * Absolute path and file name of the main plugin file.
readme.txt CHANGED
@@ -173,14 +173,17 @@ When you need additional features, then please have a look at our the Premium pl
173
 
174
  == Changelog ==
175
 
 
 
 
 
 
176
  = Version 3.0.1 =
177
  * Change: Change plugin file structure for easier maintenance.
178
  * Change: Major improvements in the JS API - bugfixes, clean-up, improvements.
179
  * Change: Integrate divimode admin notifications.
180
  * Fix: Removed debugging output in JavaScript console.
181
 
182
- Plugin tested with WordPress 5.7.2 and Divi 4.9.7
183
-
184
  = Version 2.3.4 =
185
  * Change: Rename JS and CSS assets to comply with the naming conventions of Divi.
186
  * Fix: Certain websites experienced a delay between triggering a Popup and the Popup becoming visible.
173
 
174
  == Changelog ==
175
 
176
+ = Version 3.0.2 =
177
+ * Fix: The plugin does not trigger "Constant already defined / headers already sent" warnings anymore.
178
+
179
+ Plugin tested with WordPress 5.7.2 and Divi 4.9.7
180
+
181
  = Version 3.0.1 =
182
  * Change: Change plugin file structure for easier maintenance.
183
  * Change: Major improvements in the JS API - bugfixes, clean-up, improvements.
184
  * Change: Integrate divimode admin notifications.
185
  * Fix: Removed debugging output in JavaScript console.
186
 
 
 
187
  = Version 2.3.4 =
188
  * Change: Rename JS and CSS assets to comply with the naming conventions of Divi.
189
  * Fix: Certain websites experienced a delay between triggering a Popup and the Popup becoming visible.
scripts/front.min.js CHANGED
@@ -1 +1 @@
1
- var divimode_front=function(){"use strict";!function(e,t,i){var a=t.DiviArea=t.DiviArea||{},n=a.Utils=a.Utils||{},r=a.Debug=a.Debug||{},o=a.Hooks=a.Hooks||{},s=!1,l=null,d=null,c=0;function p(t,i,a){var n,r;for(Array.isArray(t)&&(t=e(t).map(e.fn.toArray)),t=e(t),i=i.split(/\s+/),n=0;n<t.length;n++)for(r=0;r<i.length;r++)a(t[n],i[r])}function u(e){var i=n.getOption("storageMethod").toString().toLowerCase();return"none"!==(i=(i=a.applyFilters("storage_method",i,e)).toString().toLowerCase().trim())&&"cookie"!==i&&"local"!==i&&(i="auto"),"auto"===i&&(i=t.localStorage?"local":"cookie"),i}n.getOption=function(e){var t=null;if(void 0!==DiviAreaConfig[e])t=DiviAreaConfig[e];else{var i=e.toLowerCase().replace(/[^a-z0-9]/g,"");for(var a in DiviAreaConfig)if(DiviAreaConfig.hasOwnProperty(a)&&a.toLowerCase().replace(/[^a-z0-9]/g,"")===i){t=DiviAreaConfig[a];break}}var r=n.sanitizeHookName(e);return o.silent().applyFilters("get_option_"+r,t)},n.toBool=function(e,t){return void 0===t&&(t=!0),null==e?!!t:!0===e||!1===e?e:("string"==typeof e&&(e=e.toLowerCase()),0!==e&&"0"!==e&&"n"!==e[0]&&"f"!==e[0]&&"off"!==e&&(1===e||"1"===e||"y"===e[0]||"t"===e[0]||"on"===e||!!t))},n.toMilliseconds=function(e){var t,i=parseFloat(e,10),a=e.match(/m?s/);switch(a&&(a=a[0]),a){case"s":t=1e3*i;break;case"ms":t=i;break;default:t=0}return t},n.sanitizeHookName=function(e){return e.toLowerCase().replace(/-/g,"_").replace(/[^a-z0-9_]+/,"")},n.showOnViewport=function(i){var a=e(t).innerWidth();return!i||!!(a<768?Array.isArray(i)?i[2]:i.getData("onmobile"):a<981?Array.isArray(i)?i[1]:i.getData("ontablet"):Array.isArray(i)?i[0]:i.getData("ondesktop"))},n.getPositionType=function(e){if("HTML"===e.prop("tagName"))return"static";var t=e.css("position");return"fixed"===t?"fixed":"absolute"===t?"absolute":n.getPositionType(e.offsetParent())},n.isTrue=function(e,t){if(void 0===e)return!!t;if(null===e||!1===e||0===e)return!1;if(!0===e||1===e)return!0;if(!isNaN(e))return 0!==parseInt(e);if("string"==typeof e){return-1!==["1","on","yes","true","active","checked"].indexOf(e.toLowerCase())}return n.isEmpty(e)},n.setLocalData=function(e,t,i){e=e.replace(/^_da_/,""),i&&!isNaN(i)||(i=525600);var r=n.sanitizeHookName(e),o=u(e);if(t=a.applyFilters("set_data",t,e),t=a.applyFilters("set_data_"+r,t,e),i=a.applyFilters("set_data_expire",i,e,t),i=a.applyFilters("set_data_expire_"+r,i,e,t),!1===t||i<0)"local"===o?localStorage.removeItem("_da_"+e):"cookie"===o&&n.setCookie("_da_"+e,null,-1);else if("local"===o){var s=new Date;s=s.setMinutes(s.getMinutes()+i),localStorage.setItem("_da_"+e,s+":"+t)}else"cookie"===o&&n.setCookie("_da_"+e,t,i)},n.getLocalData=function(e){var t="",i=u(e=e.replace(/^_da_/,""));if("local"===i){var r=localStorage.getItem("_da_"+e);if(r){var o=r.split(":"),s=parseInt(o.shift()),l=o.join(":");s>new Date?t=l:localStorage.removeItem("_da_"+e)}}else"cookie"===i&&(t=n.getCookie("_da_"+e));var d=n.sanitizeHookName(e);return t=a.applyFilters("get_data",t,e),t=a.applyFilters("get_data_"+d,t,e)},n.setCookie=function(e,t,a){var n=escape(t);if(a>0){var r=new Date;r.setMinutes(r.getMinutes()+a),n+="; expires="+r.toUTCString()}else a<0&&(n+="; expires=expires=Thu, 01 Jan 1970 00:00:01 GMT");i.cookie=e+"="+n+"; path=/"},n.getCookie=function(e){var t,a,n,r=i.cookie.split(";");for(t=0;t<r.length;t++)if(a=r[t].substr(0,r[t].indexOf("=")),n=r[t].substr(r[t].indexOf("=")+1),(a=a.replace(/^\s+|\s+$/g,""))===e)return unescape(n);return!1},n.getUrlParam=function(e){if(null===d){d={};var i=t.location.search.slice(1);if(i)for(var a=(i=i.split("#")[0]).split("&"),n=0;n<a.length;n++){var r=a[n].split("="),o=r[0],s=void 0===r[1]||r[1];if(o=o.toLowerCase(),"string"==typeof s&&(s=s.toLowerCase()),o.match(/\[(\d+)?\]$/)){var l=o.replace(/\[(\d+)?\]/,"");if(d[l]||(d[l]=[]),o.match(/\[\d+\]$/)){var c=/\[(\d+)\]/.exec(o)[1];d[l][c]=s}else d[l].push(s)}else d[o]?d[o]&&"string"==typeof d[o]?(d[o]=[d[o]],d[o].push(s)):d[o].push(s):d[o]=s}}return e?d[e]:Object.assign({},d)},n.getWindow=function(t){return e.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)},n.getClientRect=function(i){var a={top:0,left:0,width:0,height:0,bottom:0,right:0};if(!i.length)return a;var n,r=(i=i[0]).ownerDocument.documentElement,o=t.pageXOffset||r.scrollLeft,s=t.pageYOffset||r.scrollTop;if(!e.contains(r,i))return a;try{n=i.getBoundingClientRect()}catch(e){}return!n||n.right===n.left&&n.top===n.bottom||(a.top=n.top+s-(r.clientTop||0),a.left=n.left+o-(r.clientLeft||0),a.width=n.right-n.left,a.height=n.bottom-n.top,a.bottom=a.top+a.height,a.right=a.left+a.width),a},n.bindPassiveEvent=function(e,t,i){var a;a=!!s&&{passive:!1,capture:!1},p(e,t,(function(e,t){e.addEventListener(t,i,a)}))},n.unbindPassiveEvent=function(e,t,i){var a;a=!!s&&{passive:!1,capture:!1},p(e,t,(function(e,t){e.removeEventListener(t,i,a)}))},n.observePosition=function(e,t){if(e&&e.length){e.data("da-pos-observer")||e.data("da-pos-observer",{cb:[]});var i=e.data("da-pos-observer"),a={};if(!i.observer){i.observer=setInterval((function(){var t=n.getClientRect(e);a.left===t.left&&a.top===t.top&&a.width===t.width&&a.height===t.height||function(t){for(var a=0;a<i.cb.length;a++)i.cb[a].call(e[0],t)}(a=t)}),120)}i.cb.push(t)}},n.unobservePosition=function(e,t){if(e&&e.length&&e.data("da-pos-observer")){for(var i=e.data("da-pos-observer"),a=i.cb.length-1;a>=0;a--)t===i.cb[a]&&i.cb.splice(a,1);i.cb.length||(clearInterval(i.observer),i.observer=0)}},n.init=function(){var n,o={popupSelector:".et_pb_section.popup",fullHeightClass:"full-height",openPopupClass:"da-overlay-visible",overlayClass:"da-overlay",modalIndicatorClass:"is-modal",blockingIndicatorClass:"is-blocking",exitIndicatorClass:"on-exit",hoverTriggerClass:"on-hover",clickTriggerClass:"on-click",activePopupClass:"is-open",noCloseClass:"no-close",altCloseClass:"close-alt",notMobileClass:"not-mobile",notTabletClass:"not-tablet",notDesktopClass:"not-desktop",withCloseClass:"with-close",withLoaderClass:"with-loader",singletonClass:"single",darkModeClass:"dark",noShadowClass:"with-shadow",closeButtonClass:"da-close",popupWrapperClass:"area-outer-wrap",defaultShowCloseButton:!0,idAttrib:"data-popup",triggerClassPrefix:"show-popup-",baseContext:"body",triggerCloseClass:"close",zIndex:1e6,onExitDelay:2e3,animateSpeed:300,debug:!1,debugVerbose:!1,storageMethod:"auto",areaPrefix:"",ajaxUrl:"/wp-admin/admin-ajax.php",initializeOnEvent:"et_pb_after_init_modules"},l="";if(function(){try{var e={get passive(){return s=!0,!1}};t.addEventListener("test",null,e),t.removeEventListener("test",null,e)}catch(e){s=!1}}(),e.support.getBoundingClientRect="getBoundingClientRect"in i.documentElement,(n=t.DiviAreaConfig)&&"object"==typeof n||(n=o),t.DiviPopupData)for(l in DiviPopupData)DiviPopupData.hasOwnProperty(l)&&(n[l]=DiviPopupData[l]);for(l in o)void 0===n[l]&&(n[l]=o[l]);for(l in n)n.hasOwnProperty(l)&&n[l].replace&&(n[l]=n[l].replace(/^[\s\xA0]+|[\s\xA0]+$/g,""));n.zIndex=parseInt(n.zIndex.toString())||o.zIndex,n.onExitDelay=parseInt(n.onExitDelay.toString())||o.onExitDelay,n.animateSpeed=parseInt(n.animateSpeed.toString())||o.animateSpeed,n.debug=!!n.debug,n.defaultShowCloseButton=!!n.defaultShowCloseButton,(!n.triggerClassPrefix||n.triggerClassPrefix.length<3)&&(n.triggerClassPrefix=!1),"body"===n.baseContext&&(1===e("#et_builder_outer_content").length?(n.baseContext="#et_builder_outer_content",r.info("🎚 Divi plugin detected.","Inject Areas into #et_builder_outer_content")):1===e("body.et_divi_theme #page-container").length?(n.baseContext="#page-container",r.info("🎚 Divi theme detected.","Inject Areas into #page-container")):1===e(".et-db #et-boc").length&&(n.baseContext=".et-db #et-boc",r.info("🎚 Divi theme detected.","Inject Areas into #et-boc"))),"body"===n.baseContext||e(n.baseContext).length||(n.baseContext="body",r.info("🎚 Invalid baseContext given.","Inject Areas into body instead.")),t.DiviAreaConfig=t.DiviPopupData=a.applyFilters("init_options",n)},n.initErrorLogging=function(e){var i=function(e,t,i){if(!e[t]||!e[t].__dm_orig__){var a=e[t],n=void 0;for(var r in e[t]=function(){var e=!1;try{e=i.apply(this,arguments)}finally{!e&&a&&(n=a.apply(this,arguments))}return n},a)a.hasOwnProperty(r)&&(e[t][r]=a[r]);e[t].__dm_orig__=a}},n=function(){var e=arguments,i=!1;if(arguments[0]&&"[DiviAreas]"===arguments[0])return!1;for(var n=0;n<arguments.length;n++)if("object"==typeof e[n]&&e[n]&&e[n].message&&e[n].stack){i=e[n];break}if(i){var r=[],o=i.stack.toString().split("\n");if(r.push("divimode.com Anonymized Error Report"),r.push("-".repeat(30)),r.push(i.name),i.message?r.push(i.message):r.push("-"),r.push(""),o&&o.length>1)for(var s=0;s<o.length;s++){var l=o[s];if(l.match(/(\/wp-includes\/|\/jquery\.js)/))break;l.match(/\.js/)&&(l=(l=(l=l.replace(/^\s+|\s+$/g,"")).replace(/https?:.*?\/wp-content/g,"")).replace(/\.js\?[\w=&_\-\.]*/g,".js"),r.push(l))}if(a.info&&(r.push(""),r.push("js api:"+a.info)),t.DiviAreaConfig&&DiviAreaConfig.sys&&DiviAreaConfig.sys.plugin)for(var d in r.push(""),DiviAreaConfig.sys)try{r.push(d+": "+DiviAreaConfig.sys[d])}catch(e){}r.push("-".repeat(30));var c=console.error.__dm_orig__||console.error;return console.log(""),c("✋ "+r.join("\n| ")),console.log(""),!0}return!1};i(e,"onerror",n),i(e.console,"error",n)},n.toPixel=function(e,a,n){if(l||((l={}).PPI=void 0,l.getPPI=function(){return l.PPI=l.PPI||l.getSizeBrutal("in",i.body),l.PPI},l.parseUnit=function(e){var t=[0,""];return e=String(e),t[0]=parseFloat(e,10),t[1]=e.match(/[\d.\-\+]*\s*(.*)/)[1]||"",t},l.getPropertyInPx=function(e,t){var i=l.parseUnit(getComputedStyle(e).getPropertyValue(t));return i[0]*l.conversionFactor(i[1],e)},l.getSizeBrutal=function(e,t){var a=i.createElement("div");a.style.height="128"+e,t.appendChild(a);var n=l.getPropertyInPx(a,"height")/128;return t.removeChild(a),n},l.conversionFactor=function(e,a){switch(e=(e+""||"px").trim().toLowerCase()){case"%":return a.clientHeight/100;case"ch":case"ex":return l.getSizeBrutal(e,a);case"em":return l.getPropertyInPx(a,"font-size");case"rem":return l.getPropertyInPx(i.body,"font-size");case"vw":return t.innerWidth/100;case"vh":return t.innerHeight/100;case"vmin":return Math.min(t.innerWidth,t.innerHeight)/100;case"vmax":return Math.max(t.innerWidth,t.innerHeight)/100;case"in":return l.getPPI();case"cm":return l.getPPI()/2.54;case"mm":return l.getPPI()/25.4;case"pt":return l.getPPI()/72;case"pc":return l.getPPI()/6;case"px":return 1}return 0}),!e)return 0;if((n=n||i.body)!==t&&n!==i||(n=i.body),!isNaN(e)){if(a){var r=l.conversionFactor(a,n);return"number"==typeof r?e*r:0}return e}return 0},n.getStyleDef=function(e,o,s){var l,d,c="",p=!1,u=[],f=[],h="StyleDef "+o;if(r.profile(h,{el:e}),l=t.innerWidth<=980?t.innerWidth>767?"tablet":"phone":"desktop","string"==typeof e){var g=e.split(" "),v=a.getArea(g.shift());if(!v)return r.profile(h,!1),"";e=v.get(g.join(" "))[0]}if(e&&e instanceof jQuery&&(e=e.get(0)),!e||t.HTMLElement&&!e instanceof HTMLElement)return r.profile(h,!1),"";if(e.style&&""!==e.style[o])return r.profile(h,"Use inline style"),r.profile(h,!1),e.style[o];if(e._DAStyles||(e._DAStyles={}),!e._DAStyles[l])for(e._DAStyles[l]=[],r.profile(h,'Before "_getRelevantRules()"'),function(e){var t,a,n;for(d=0;d<i.styleSheets.length;d++)for(y(i.styleSheets[d]);t=u.shift();)if(t.styleSheet)y(t.styleSheet);else if(t.media)y(t);else if(t.selectorText)for(n=t.selectorText.split(","),a=0;a<n.length;a++)if(n[a]&&!(n[a].indexOf(":")>0)){try{if(!e.matches(n[a]))continue}catch(e){continue}f.push(t);break}}(e),r.profile(h,'After "_getRelevantRules()"'),d=f.length-1;d>=0;d--)e._DAStyles[l].push({selectorText:f[d].selectorText,style:f[d].style});for(r.profile(h,"Start to evaluate relevant rules"),d=0;d<e._DAStyles[l].length;d++){var m=e._DAStyles[l][d];if((!s||!s.length||-1===s.indexOf(m.selectorText))&&""!==m.style[o]){var b=n.getCssSpecificity(m.selectorText,m.style[o]);n.compareCssSpecificity(b,p)>0&&(p=b,c=m.style[o])}}return r.profile(h,!1),c;function y(e){try{var i=e.media&&e.media.mediaText;if(e.disabled||i&&!t.matchMedia(i).matches)return;Array.prototype.unshift.apply(u,function(e){if(null==e)return[];try{return"function"==typeof Array.from?Array.from(e):[].slice.call(e)}catch(e){return[]}}(e.cssRules))}catch(e){}}},n.getCssSpecificity=function(e,t){var i=e.split(",");if(i.length>1){for(var a,r=[],o=0;o<i.length;o++)a=n.getCssSpecificity(i[o]),n.compareCssSpecificity(a,r)>0&&(r=a);return r}var s,l=e,d={a:0,b:0,c:0};function c(e,t){var i,a,n,r,o;if(e.test(l))for(a=0,n=(i=l.match(e)).length;a<n;a+=1)d[t]+=1,r=i[a],l.indexOf(r),o=r.length,l=l.replace(r,Array(o+1).join(" "))}function p(e){var t,i,a,n;if(e.test(l))for(i=0,a=(t=l.match(e)).length;i<a;i+=1)n=t[i],l=l.replace(n,Array(n.length+1).join("A"))}s="string"==typeof t&&t.indexOf("!important")>0;p(/\\[0-9A-Fa-f]{6}\s?/g),p(/\\[0-9A-Fa-f]{1,5}\s/g),p(/\\./g);var u=/{[^]*/gm;if(u.test(l))for(var f=l.match(u),h=0,g=f.length;h<g;h+=1)l=l.replace(f[h],Array(f[h].length+1).join(" "));return c(/(\[[^\]]+\])/g,"b"),c(/(#[^#\s\+>~\.\[:\)]+)/g,"a"),c(/(\.[^\s\+>~\.\[:\)]+)/g,"b"),c(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,"c"),c(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,"b"),c(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,"b"),l=(l=(l=(l=(l=(l=l.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," ")).replace(/:not/g," ")).replace(/:local/g," ")).replace(/:global/g," ")).replace(/[\(\)]/g," "),c(/([^\s\+>~\.\[:]+)/g,"c"),[s?1:0,d.a,d.b,d.c]},n.compareCssSpecificity=function(e,t){for(var i=0;i<4;i+=1){var a=parseInt(isNaN(e[i])?0:e[i]),n=parseInt(isNaN(t[i])?0:t[i]);if(a<n)return-1;if(a>n)return 1}return 0},n.getUniqueId=function(){if(!c){c=16777215&+new Date;var e=Math.floor(256*Math.random())<<24>>>0;c=(c|e)>>>0}return(++c).toString(16).padStart(8,"0")}}(jQuery,window,document),window.DiviAreaItem=function(e,t){var i,a,n,r,o,s,l,d,c,p=jQuery,u=window.DiviArea,f=u.Core,h=u.Utils,g=u.Debug,v=u.UI,m=u.Data,b=this,y=window.ResizeObserver||window.WebKitResizeObserver,A=p(e),_={},w={hideclose:!1,showclose:!0,notmobile:!1,onmobile:!0,nottablet:!1,ontablet:!0,notdesktop:!1,ondesktop:!0,closealt:!1,notmodal:!0,ismodal:!1,notblocking:!1,isblocking:!1,triggerexit:!1,shadow:!0,noshadow:!1,darkmode:!1,singleton:!1,static:!1,withloader:!1,pushcontent:!1},D={hideclose:"showclose",notdesktop:"ondesktop",notmobile:"onmobile",notmodal:"ismodal",notblocking:"isblocking",nottablet:"ontablet",shadow:"noshadow",dynamic:"static"},C={},x=null,k=null,I=0,O=null,P=null,T=null,S={};function H(){for(var e in i=A.attr("id"),n=h.sanitizeHookName(i),r=L(t),o=A.closest(document.documentElement).length,s=o&&A[0].getClientRects().length,a=[],l={},d=!1,c=h.getUniqueId(),g.debug("Area Type",b.theType()),g.debug("Area ID",b.theId()),g.debug("Area Hook",b.theKey()),X(A),b.setData("zIndex",0),b.setData("container",p("body")),b.setData("hasShowAnim",!0),b.setData("position","center-center"),b.setData("positionV","center"),b.setData("positionH","center"),b.setData("overflow","clip"),b.setData("size","auto"),b.setData("animationSpeedIn",h.getOption("animateSpeed")),b.setData("animationSpeedOut",h.getOption("animateSpeed")),w)void 0!==A.data("da-"+e)?(b.setData(h.toBool(A.data("da-"+e))),A.removeAttr("data-da-"+e)):void 0!==A.data(e)?(b.setData(h.toBool(A.data(e))),A.removeAttr("data-"+e)):b.setData(e,w[e]);var u={};for(var f in u[h.getOption("notMobileClass")]=["onmobile",!1],u[h.getOption("notTabletClass")]=["ontablet",!1],u[h.getOption("notDesktopClass")]=["ondesktop",!1],u[h.getOption("noCloseClass")]=["showclose",!1],u[h.getOption("withCloseClass")]=["showclose",!0],u[h.getOption("altCloseClass")]=["closealt",!0],u[h.getOption("modalIndicatorClass")]=["ismodal",!0],u[h.getOption("blockingIndicatorClass")]=["isblocking",!0],u[h.getOption("exitIndicatorClass")]=["triggerexit",!0],u[h.getOption("noShadowClass")]=["noshadow",!0],u[h.getOption("darkModeClass")]=["darkmode",!0],u[h.getOption("singletonClass")]=["singleton",!0],u[h.getOption("withLoaderClass")]=["withloader",!0],u)if(A.hasClass(f)){var m=u[f];b.setData(m[0],m[1]),A.removeClass(f)}v.initializeAreaAnimation(b),E(),M(),z(),b.addActionOnce("pre_init_area",N),b.addAction("setup_area",q,2),b.addAction("cleanup_area",q),y&&(O=new y((function(){var e=A[0].scrollHeight-A[0].clientHeight;e>0&&e-A[0].scrollTop<1&&(A[0].scrollTop-=1),l.width=0,l.height=0,l.contentWidth=0,l.contentHeight=0,Y("resize",B)}),{box:"border-box"}),P=new y((function(){l.wrapperWidth=0,l.wrapperHeight=0,Y("resize",B)}),{box:"border-box"})),A.on("resize",(function(){return Y("resize",B)})),x.on("resize",(function(){return Y("resize",B)})),K()}function z(){A.attr("data-da-area",i),x.attr("data-da-area",i),x.attr("data-da-registered",1),x.attr("data-da-type",b.theType()),x.attr("data-da-close-btn",b.getData("showclose")?"yes":"no"),x.attr("data-da-close-bg",b.getData("closeAlt")?"none":"solid"),x.attr("data-da-loader",b.getData("withLoader")?"yes":"no"),x.attr("data-da-shadow",b.getData("shadow")?"yes":"no"),x.attr("data-da-color",b.getData("darkMode")?"dark":"light"),x.attr("data-da-overflow",b.getData("overflow")),x.attr("data-da-size",b.getData("size"));var e=b.getData("wrapClasses");e&&x.addClass(e),Y("position",b.setPosition),b.doAction("refresh_area")}function F(){if(b.isVisible()){A.find("."+h.getOption("closeButtonClass")).off(".da");var e=function(e,t){return g.debug("Click on",t,"close-button"),b.doAction("close_area",b,t),e.preventDefault(),!1};x.find("div ."+h.getOption("triggerCloseClass")).off(".da").on("click.da",(function(t){return e(t,"custom")})),k.find("a").off(".da").on("click.da",(function(t){return e(t,"default")})),p(window).on("resize",U),b.addAction("close_area",W)}else x.find("div ."+h.getOption("triggerCloseClass")).off(".da"),k.find("a").off(".da"),p(window).off("resize",U),b.removeAction("close_area")}function N(){for(var e=b.theId(!0),t=b.getNames(),i=h.getOption("areaPrefix"),a=h.getOption("triggerClassPrefix"),n=h.getOption("idAttrib"),r=h.getOption("hoverTriggerClass"),o=['[href="'+b.theId()+'"]','[href="#popup:'+e+'"]',"."+e,"."+a+e,"["+n+'="'+e+'"]'],s=0;s<t.length;s++){var l=t[s],d=t[s].replace(i,"");o.push('[href="#'+l+'"]'),o.push("."+l),o.push("["+n+'="'+l+'"]'),o.push('[href="#'+d+'"]'),o.push("."+d),o.push("["+n+'="'+d+'"]')}for(var c=[],p=0;p<o.length;p++)c.push(o[p]+"."+r);b.addTrigger("on-hover","hover",{selector:c}),b.addTrigger("on-click","click",{selector:o}),b.getData("triggerexit")&&b.addTrigger("on-exit","exit")}function j(e){b.isVisible()?b.getData("hasShowAnim")?(g.info("✨ Animate the area (show)",b.theId()),v.animateArea(b,"show",(function(){return function(e){b.getData("showclose")&&(g.debug("Show the default close button"),k.show()),e()}(e)}))):e():b.getData("hasShowAnim")?(k.hide(),g.info("✨ Animate the area (hide)",b.theId()),v.animateArea(b,"hide",e)):e()}function M(){if(!k){var e=h.getOption("closeButtonClass"),t=e+"-wrap";k=p("<span>").addClass(t).appendTo(x),p("<a>").attr("href","#close").addClass(e).html("&times;").appendTo(k),k.hide(),b.doAction("area_close_button",k)}}function E(){if(!x){var e=h.getOption("popupWrapperClass");(x=A.parent()).hasClass(e)||(A.wrap("<div>"),(x=A.parent()).addClass(e)),x.detach().appendTo("body"),X(x),b.doAction("area_wrap",x,b)}}function V(){var e=this;I&&clearTimeout(I),I=setTimeout((function(){I=0,e.inDom()&&z()}),20)}function L(e){return e.toLowerCase().trim().replace(/-/g,"")}function W(e,t){var i=this,a=!1;if(a=i.applyFilters("ignore_close_area",a,i,t))return g.debug("Ignored, manually cancelled in filter"),!0;u.hide(i)}function U(){l.windowWidth=0,l.windowHeight=0,l.wrapperWidth=0,l.wrapperHeight=0,Y("resize",B)}function B(){if(b.isVisible()){var e=b.getSize(),t=[e.width,e.height,e.contentWidth,e.contentHeight,e.windowWidth,e.windowHeight].join("-");if(_._resizeState!==t){if(_._resizeState=t,k.css({width:e.width,height:e.height}),(b.isType("popup")||b.isType("flyin"))&&"show"!==b.getData("overflow")&&"full_height"!==b.getData("size")&&"full_screen"!==b.getData("size")){var i="auto"===b.getData("size")?20:0;if(x.attr("data-da-size-full-height"))e.windowHeight-e.contentHeight>=i&&(x.removeAttr("data-da-size-full-height"),x.removeClass(h.getOption("fullHeightClass")));else e.windowHeight-e.contentHeight<i&&(x.attr("data-da-size-full-height",1),x.addClass(h.getOption("fullHeightClass")))}Y("position",b.setPosition)}}}function R(e,t){var i,a="";if(t||""===(a=h.getStyleDef(x[0],e))&&(a=h.getStyleDef(A[0],e)),""===a){var n=x.find(".et_pb_section");for(i=0;i<n.length&&!a;i++)a=h.getStyleDef(n[i],e,['[class*="et_pb_section_dap_"]'])}return a}function Q(){var e=R("width",!1),t=R("max-width",!0);e&&"auto"!==e||(b.isType("popup")||x.css("width","100%"),A.css("width","100%")),t&&A.css("max-width",t)}function Y(e,t){var i=this;S[e]||(S[e]=window.setTimeout((function(){S[e]=!1,t.apply(i)}),4))}function X(e){e.data("isArea",!0),e.data("area",b),e.data("areaConfig",_),e.getArea=function(){return b},e[0].DiviAreaItem=b,e[0].DiviAreaConfig=_}function K(){u.Pro&&u.Pro.trackEvent&&(b.getData("static")||b.applyFilters("disable_tracking",b.getData("disable-tracking"))||u.Pro.initTracking(b))}function q(e){void 0===e&&(e=!1),e&&e.type?b.setData("event",e):b.setData("event",!1)}function $(){}this.theId=function(e){return e?i:"#"+i},this.postId=function(){var e=h.getOption("areaPrefix");if(!e||0!==i.indexOf(e))return 0;var t=parseInt(i.replace(e,""));return isNaN(t)?0:t},this.theSession=function(){return c},this.theKey=function(){return n},this.hasId=function(e){var t=h.getOption("areaPrefix");if(e=e.toString().replace(/^#/,""),i===e)return!0;var n=this.postId().toString();if(n&&n===e)return!0;for(var r=0;r<a.length;r++){if(a[r]===e)return!0;if(a[r].replace(t,"")===e)return!0}return!1},this.theType=function(){return r},this.isType=function(e){if(!e)return!0;if("string"!=typeof e)throw new Error("DiviAreaItem.isType() expects a string parameter. Given value is a "+typeof e);if((e=L(e))===r)return!0;if("any"===e||"all"===e)return!0;for(var t=0===e.indexOf("not:"),i=e.replace(/^not:\s*/,"").split(/\s*,\s*/),a=0;a<i.length;a++)if(i[a]===r)return!t;return t},this.addName=function(e){if("string"==typeof e)-1===a.indexOf(e)&&(a.push(e.replace(/^#/,"")),b.isPrepared()&&Y("triggers",N));else if(Array.isArray(e))for(var t=0;t<e.length;t++)this.addName(e[t])},this.getNames=function(){return a.slice()},this.allIds=function(){return[this.theId(!0)].concat(a)},this.show=function(e){this.setData("opencount",this.getData("opencount")+1||1),g.group("Show Area",this.theId()),this.setData("hasShowAnim",!this.isVisible()),this.doAction("setup_area",e),f.attachArea(this),f.reOrderAreas(),g.group()},this.trigger=function(e,t){var i=this,a=this.isPrepared(!0);this.applyFilters("before_trigger",!1,e)||function(e){var t=new Promise((function(e){return e()}));return t=(t=t.then((function(){return new Promise((function(e,t){h.showOnViewport(b)?e():t("Area is not available on this device")}))}))).then((function(){return new Promise((function(e,t){u.isClosed(b)?t("Area is still marked as closed"):e()}))})),e&&e.dev&&(t=t.then((function(){return new Promise((function(t,i){h.showOnViewport(e.dev)?t():i("Do not trigger area on current device")}))}))),b.applyFilters("area_trigger_conditions",t)}(this).then((function(){i.applyFilters("before_trigger_show",!1,e)||i.show(e)})).catch((function(e){g.info.apply(g,["Trigger failed",i.theId()].concat(e)),a||i.detach()}))},this.hide=function(){this.setData("hasShowAnim",!0),this.doAction("cleanup_area"),this.setData("event",void 0),g.debug("Close Area and unlink event handlers:",this.theId()),f.detachArea(this),f.reOrderAreas()},this.get=function(e){return e?p(e,A):A},this.getWrap=function(){return x},this.getCloseButton=function(){return k},this.focus=function(){var e=h.getOption("activePopupClass");f.activateContainer(A),b.hasClass(e)||(b.addClass(e),b.doAction("focus_area"))},this.blur=function(){var e=h.getOption("activePopupClass");b.hasClass(e)&&(b.removeClass(e),b.doAction("blur_area"))},this.attach=function(){if(V(),b.isPrepared(!0)||(s=!1),b.inDom()&&b.isVisible())return b;o=!0;var e=b.findHook();return A.hide(),e?("replace"===e.position&&!0===e.target.data("isArea")?(e.target.blur(),e.target.data("area").detach(!1),e=b.findHook()):"before"===e.position&&(e.target=e.target.prev()),e.target.after(x.detach()),x.attr("data-inline-pos",e.position),"replace"===e.position&&(T=e.target.detach())):x.detach().appendTo(b.getData("container")),x.closest("#et-boc").length||(x.wrap('<div id="et-boc" class="dynamic">'),x.wrap('<div class="et-l dynamic">')),Y("position",b.setPosition),b.setVisible(!0,(function(){if(g.debug("Prepare Size-Observer and position the Area"),O){var e=h.getOption("closeButtonClass")+"-wrap";A.children().each((function(t,i){-1===i.className.indexOf(e)&&O.observe(i)})),O.observe(A[0]),P.observe(x[0])}Y("position",b.setPosition),g.debug("Area.attach() is completed for Area",b.theId())})),b},this.detach=function(e){if(void 0===e&&(e=!0),b.isPrepared()&&!b.inDom())return b;return b.isPrepared(!0)||(s=!0),O&&O.disconnect(),P&&P.disconnect(),b.setVisible(!1,(function(){g.debug("Remove Area from DOM",b.theId());var e=x.parent();T&&(x.after(T),T=null),A.hide(),x.detach(),x.removeAttr("data-inline-pos"),e.hasClass("dynamic")&&!e.children().length&&e.parent().remove(),g.debug("Area.detach() is completed for Area",b.theId())}),e),b},this.findHook=function(){var e='[data-area-hook="'+b.getData("hookid")+'"]',t=p(e);return!!t.length&&{position:t.data("area-place"),target:t.nextAll(':not([data-area-hook]):not([data-inline-pos="before"]):not([data-inline-pos="after"])').first()}},this.setVisible=function(e,t,a){if(void 0===a&&(a=!0),e=!!e,b.isPrepared()&&b.isVisible()===e)return b;"function"!=typeof t&&(t=$),s=e;var n=e?"Show":"Hide";return F(),a&&b.isPrepared()?(g.debug(n+" the prepared Area: Trigger animation",i),j(t)):(g.debug(n+" the Area without animation",i),t()),b.isVisible()?(Q(),b.doAction("show_area")):(b.doAction("hide_area"),c=h.getUniqueId()),b},this.setPosition=function(){var e={},t={};if(!b.isVisible()||!b.inDom())return b;if(b.getData("maxheight")&&(e.overflow="auto",e.maxHeight="100%",t.maxHeight=b.getData("maxheight")),b.getData("maxwidth")&&(e.maxWidth="100%",t.maxWidth=b.getData("maxwidth")),t.zIndex=b.getData("zindex"),b.doAction("resize_area"),b.isType("inline")||b.isType("hover"))x.removeAttr("data-da-position"),x.removeAttr("data-da-position-h"),x.removeAttr("data-da-position-v");else{var i=b.getData("positionh"),a=b.getData("positionv"),n=b.getData("size"),r=b.getSize(),o={minX:0,minY:0,maxX:r.windowWidth,maxY:r.windowHeight};if(x.attr("data-da-position",b.getData("position")),x.attr("data-da-position-h",i),x.attr("data-da-position-v",a),b.isType("flyin")&&(o.minY=parseInt(p("html").css("margin-top"))),b.doAction("position_boundary",o),o.minX>o.maxX){var s=o.maxX;o.maxX=o.minX,o.minX=s}if(o.minY>o.maxY){var l=o.maxY;o.maxY=o.minY,o.minY=l}if("full_width"===n||"full_screen"===n)t.left=o.minX,t.right=o.maxX,t.width="auto";else switch(i){case"left":t.left=o.minX;break;case"right":t.right=parseInt(r.windowWidth-o.maxX);break;case"center":t.left=parseInt(o.minX+(o.maxX-o.minX-r.wrapperWidth)/2)}if("full_height"===n||"full_screen"===n)t.top=o.minY,t.bottom=o.maxY,t.height="auto";else if(!x.attr("data-da-size-full-height"))switch(a){case"top":t.top=o.minY;break;case"bottom":t.bottom=parseInt(r.windowHeight-o.maxY);break;case"center":t.top=parseInt(o.minY+(o.maxY-o.minY-r.wrapperHeight)/2)}b.doAction("position_area",t,e)}return A.css(e),x.css(t),b},this.setTriggerEvent=function(e){return q(e),b},this.addTrigger=function(e,t,i,a){function n(){var n=m.createNewTrigger(t,b,i,a);n?(n.id=e,C[n.id]=n,p(n.start),g.info("Trigger added to Area",b.theId(),n.id)):g.info("Could not create trigger!",b.theId(),t,"Args:",i)}b.removeTrigger(C[e]),u.Pro&&a?u.Pro.checkConditions(this,a).then(n).catch((function(e){g.info.apply(g,["Trigger not added, because condition failed",b.theId(),t,"Reason:"].concat(e))})):n()},this.removeTrigger=function(e){C[e]&&(C[e].stop(),delete C[e])},this.getTrigger=function(e){return e?C[e]:C},this.isVisible=function(){return s},this.inDom=function(){return o},this.isPrepared=function(e){void 0===e&&(e=!1);var t=d;return!d&&e&&(o=!0,d=!0,setTimeout((function(){return b.doAction("area_prepared")}))),t},this.getSize=function(){var e=b.isVisible();if(l&&void 0!==l.width||(l={}),l.width||(l.width=e?A[0].clientWidth:0),l.height||(l.height=e?A[0].clientHeight:0),l.contentWidth||(l.contentWidth=e?A[0].scrollWidth:0),!l.contentHeight&&(l.contentHeight=0,e))if(A.hasClass("et_pb_section")){var t=window.getComputedStyle(A[0]);l.contentHeight+=parseInt(t["border-top-width"]),l.contentHeight+=parseInt(t["padding-top"]),l.contentHeight+=parseInt(t["padding-bottom"]),l.contentHeight+=parseInt(t["border-bottom-width"]),A.children().each((function(){l.contentHeight+=this.offsetHeight}))}else l.contentHeight=A[0].scrollHeight;return l.wrapperWidth||(l.wrapperWidth=e?x[0].offsetWidth:0),l.wrapperHeight||(l.wrapperHeight=e?x[0].offsetHeight:0),l.windowWidth||(l.windowWidth=window.innerWidth),l.windowHeight||(l.windowHeight=window.innerHeight),l},this.getData=function(e){var t;return e?(e=e.toLowerCase().replace(/[^a-z0-9]/g,""),D.hasOwnProperty(e)?(e=D[e],t=!_[e]):t=_[e]):t=Object.keys(_).filter((function(e){return"string"==typeof e&&"_"!==e[0]})).reduce((function(e,t){return e[t]=_[t],e}),{}),t},this.setData=function(e,t){if(void 0===t)return this;if(e=e.toLowerCase().replace(/[^a-z0-9]/g,""),w.hasOwnProperty(e))t=h.toBool(t,w[e]),D.hasOwnProperty(e)&&(e=D[e],t=!t);else switch(e){case"fixzindex":case"zindex":t=parseInt(t);break;case"closedelay":t=parseFloat(t);break;case"position":-1!==t.indexOf("top")?_.positionv="top":-1!==t.indexOf("bottom")?_.positionv="bottom":_.positionv="center",-1!==t.indexOf("left")?_.positionh="left":-1!==t.indexOf("right")?_.positionh="right":_.positionh="center",t=_.positionv+"-"+_.positionh;break;case"positionh":if("left"!==t&&"right"!==t&&"center"!==t)return b;break;case"positionv":if("top"!==t&&"bottom"!==t&&"center"!==t)return b;break;case"container":(t=p(t).first()).length||(t=p("body"));break;case"attachto":t=!!t&&p(t).first()}switch(_[e]=t,e){case"positionh":case"positionv":_.position=_.positionv+"-"+_.positionh}return V(),b},this.doAction=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];Array.isArray(t)||(t=[]),t.push(b),DiviArea.doAction.apply(DiviArea,[[e,e+"_"+b.theKey()]].concat(t))},this.applyFilters=function(e,t){for(var i=[],a=arguments.length-2;a-- >0;)i[a]=arguments[a+2];return Array.isArray(i)||(i=[]),i.push(b),DiviArea.applyFilters.apply(DiviArea,[[e,e+"_"+b.theKey()],t].concat(i))},this.addFilter=function(e,t,i,a){DiviArea.addFilter(e+"_"+b.theKey(),t,i,a)},this.addAction=function(e,t,i,a){DiviArea.addAction(e+"_"+b.theKey(),t,i,a)},this.removeFilter=function(e,t){DiviArea.removeFilter(e+"_"+b.theKey(),t)},this.removeAction=function(e,t){DiviArea.removeAction(e+"_"+b.theKey(),t)},this.addActionOnce=function(e,t,i,a){DiviArea.addActionOnce(e+"_"+b.theKey(),t,i,a)},this.trackEvent=function(e,t){u.Pro&&u.Pro.trackEvent&&u.Pro.trackEvent(this,e,t)},this.hasClass=A.hasClass.bind(A),this.addClass=A.addClass.bind(A),this.removeClass=A.removeClass.bind(A),this.attr=A.attr.bind(A),this.removeAttr=A.removeAttr.bind(A),this.find=A.find.bind(A),this.css=A.css.bind(A),this.on=A.on.bind(A),this.off=A.off.bind(A),function(e){for(var t in H=H.bind(e),z=z.bind(e),F=F.bind(e),j=j.bind(e),V=V.bind(e),E=E.bind(e),M=M.bind(e),W=W.bind(e),U=U.bind(e),B=B.bind(e),R=R.bind(e),Q=Q.bind(e),Y=Y.bind(e),X=X.bind(e),K=K.bind(e),e)e.hasOwnProperty(t)&&"function"==typeof e[t]&&(e[t]=e[t].bind(e))}(b),H()},window.DiviAreaTrigger=function(e,t,i){var a,n,r,o=jQuery,s=window.DiviArea.Utils,l=this,d={once:!1,single:!0,selector:[]},c=!1;function p(){}function u(){if(a=!0,t.once=s.isTrue(t.once,d.once),t.single=s.isTrue(t.single,d.single),t.selector&&("string"==typeof t.selector||Array.isArray(t.selector))||(t.selector=d.selector),Array.isArray(t.selector)?t.selector=t.selector:"string"==typeof t.selector&&(t.selector=t.selector.split(",")),"string"==typeof t.hashes?t.hashes=t.hashes.split(","):Array.isArray(t.hashes)?t.hashes=t.hashes:t.hashes=[],t.hashes.map((function(e){return e.toString().trim()})),t.delay=Math.max(50,(1e3*parseFloat(t.delay)||0)+20),void 0===t.distance?t.distance=-1:"string"==typeof t.distance&&-1!==t.distance.indexOf("%")&&(t.percent=t.distance,t.distance=-1),void 0===t.percent&&(t.percent=-1),-1!==t.percent&&(t.percent=Math.max(0,Math.min(100,parseFloat(t.percent)||0))),-1!==t.distance)if("string"==typeof t.distance){var e=t.distance.match(/(-?[\d.]+)([a-z]*)/);t.distance=[Math.max(0,Math.min(100,parseFloat(e[1]))),e[2]]}else t.distance=[parseFloat(t.distance),"px"];delete l.setArgDefault}function f(e){return(!(e=o(e))||!e.length||!e instanceof jQuery)&&(e=o(document)),e}this.parseDiviLinks=function(t){void 0===t&&(t="");var i=window.et_link_options_data;if(i&&i.length)for(var a=i.length-1;a>=0;a--){var n=i[a];e.hasId(n.url)&&(n.dap_class||(n.dap_class=n.class,delete n.class,i[a]=n),n.dap_class&&this.addSelector("."+n.dap_class+t))}},this.setArgDefault=function(e,t){d[e]=t},this._setup=function(e){n="function"==typeof e.start?e.start:p,r="function"==typeof e.stop?e.stop:p,delete l._setup},this.isActive=function(){return c},this.getType=function(){return type},this.getArgs=function(e){return!0!==a&&u(),e&&"string"==typeof e?"selector"===e?t[e].join(","):t[e]:t},this.addSelector=function(e){!0!==a&&u(),-1===t.selector.indexOf(e)&&t.selector.push(e)},this.bindEvent=function(t,i){var a="data-trigger-"+i;return t.not(".et_pb_section.popup,.area-outer-wrap,.divi-area-wrap").not("["+a+"]").attr(a,e.theId(!0)).off(i).on(i,this.run)},this.unbindEvent=function(e,t){var i="data-trigger-"+t;return e.filter("["+i+"]").removeAttr(i).off(t,this.run)},this.start=function(e){n(f(e)),c=!0},this.stop=function(e){r(f(e)),c=!1},this.run=function(t){if(t&&t.type){if("click"===t.type){var a=o(t.target);if("A"===a.prop("tagName")&&a.attr("href").length&&!a.attr("data-trigger-click"))return!0}t.preventDefault(),t.stopImmediatePropagation()}return l.getArgs("once")?(e.getData("opencount")||e.trigger(t,i),l.stop()):e.trigger(t,i),!1}};var e,t,i,a,n,r,o,s={isPro:!1,version:"3.0.1",lib:"DiviPopup",app:"Popups for Divi",_notice:"You can disable the debug output by disabling WP_DEBUG"};e=jQuery,t=window.DiviArea||{},i=t.Core=t.Core||{},a=t.Utils=t.Utils||{},n=t.Debug=t.Debug||{},r=t.Data=t.Data||{},o=0,t.init=function(){var e=s;for(var r in e)e.hasOwnProperty(r)&&!this.hasOwnProperty(r)&&"_"!==r[0]&&(this[r]=e[r]);this.info=this.lib+"-"+this.version,this.loaded=!0,n.info("🚀 Initialize "+this.app,"- JS API:",this.info),n.info("ℹ️",e._notice),n.debug("Details about the Debug Mode","https://divimode.com/knowledge-base/debug-options/"),a.init(),t.UI.init(),i.smartInit()},t.markClosed=function(e,i){var r=t.getArea(e);r&&(e=r.theId(!0)),a.getOption("debug")&&n.info("📌 Mark Area as closed for "+i+" minutes:",e),a.setLocalData(e,"1",i)},t.isClosed=function(e){var i=t.getArea(e);i&&(e=i.theId(!0));var o=a.getLocalData(e);if(a.getOption("debug")){var s=r.sanitizeId(e);"1"===o?n.info("📌 Area is still closed:",s):n.info("📌 Area is not closed:",s)}return"1"===o},t.register=function(a,s,l,d){var c;if(void 0===s&&(s={}),void 0===l&&(l=!1),"string"!=typeof a||e(a).length||(a=r.sanitizeId(a)),a&&(c=e(a)),!c||1!==c.length)return n.error("Cannot find the Area element:",a),!1;var p=t.getArea(a);if(p)return p;if("string"!=typeof a&&((a=c.attr("id"))&&!t.getArea(a)||(a=c.data("id")),a&&!t.getArea(a)||(a="dynamic-area-"+ ++o),c.attr("id",a)),c.length&&s.selector&&(c=c.filter(s.selector),delete s.selector),!c.length)return n.error("Cannot find the Area element:",a),!1;if(c.length>1)return n.error("Multiple matching elements found, but require exactly one:",a,c),!1;if("function"!=typeof l||d||(d=l,l=!1),!l){if(c.data("da-type"))l=c.data("da-type"),c.removeAttr("data-da-type");else if(c.data("type"))l=c.data("type"),c.removeAttr("data-type");else for(var u=c[0].className.split(/\s+/),f=0;f<u.length;f++)if(0===u[f].indexOf("divi-area-type-")){l=u[f].replace("divi-area-type-",""),c.removeClass(u[f]);break}if(!l)return n.error("Cannot determine the type for this Area",a,c),!1}if(n.group("Register Area | "+l+" | "+a),s.areaHook&&s.hookId&&"inline"===l){var h=e(s.areaHook).first();if(h.length){var g=e("<span>");g.attr("data-area-hook",s.hookId),g.attr("data-area-place",s.areaPlace),h.before(g)}else n.error("Inline hook not found:",s.areaHook)}var v=r.createArea(c,l,a);return s.alternateid?v.addName(s.alternateid):s.alternateId?v.addName(s.alternateId):s.ids&&v.addName(s.ids),delete s.alternateid,delete s.alternateId,delete s.ids,Object.keys(s).forEach((function(e){v.setData(e,s[e])})),v.setData("wrapClasses","et-l entry-content"),v.setData("container",i.getContext()),v.applyFilters("pre_init_area",!1)||(v.isType("inline")&&v.getData("static")?(i.initContainer(v),t.show(a,"static")):v.detach()),n.info("➕ Registered new area:",a,"("+l+")"),n.group(),"function"==typeof d&&d(v),v.doAction("init_area"),v},t.show=function(e,i){if(!e)return!1;var a=t.getArea(e);return a?(a.show(i),!0):(n.error("Could not find an area with the ID:",e),!1)},t.hide=function(e){var t=r.getVisibleArea(e);t&&t.hide()},function(e,t,i){var a=t.DiviArea||{},n=a.Core=a.Core||{},r=a.Utils=a.Utils||{},o=a.Data=a.Data||{},s=a.Debug=a.Debug||{},l=e(i),d=!1,c=null,p=!1,u=!1,f=e("body");function h(){(c=e(r.getOption("baseContext"))).length>1&&(c=c.filter(":visible").length?c.filter(":visible").first():c.first()),c.length?s.debug('Base context "'+r.getOption("baseContext")+'" found'):(s.error('Could not find the popup container "'+r.getOption("baseContext")+'"'),s.debug("Use the body-tag as default context."),c=f),c.closest("#et-boc").length||(c.append('<div id="et-boc" class="dm-base-context"></div>'),c=c.find(".dm-base-context#et-boc").first()),c.closest(".et-l").length||(c.append('<div class="et-l dm-base-context"></div>'),c=c.find(".dm-base-context.et-l").first()),s.debug("Base context container:",c)}function g(e,t){o.isArea(e)||(e=o.getVisibleArea())&&(s.debug("Close the top-most area"),e.doAction("close_area",e,"default"))}function v(e){if(27===e.keyCode)return function(){s.info("⚡️ ESC-key pressed");var e=!1,t=o.getVisibleArea(null,"popup");return t?(e=t.getData("isblocking"),(e=a.applyFilters("ignore_esc_key",e))?(s.debug("Ignored, manually cancelled in filter"),!0):(s.debug("Close top-most popup"),a.doAction("close_area",null,"esc"),!1)):(s.debug("Ignored, no popup is visible"),!0)}()}function m(){var e=a.applyFilters("trigger_exit_intent",[]);e&&e.length}function b(e,t){var i=[];if(t.isType("popup")&&"show"===e&&t.getData("singleton")&&(o.loopVisibleAreas("popup",(function(e){e.theId()!==t.theId()&&i.push(e.theId())})),s.debug("Singleton Popup detected. Close all open Popups:",i)),"hide"===e?t.doAction("before_hide_area",t,i):t.doAction("before_show_area",t,i),i.length)for(var r in s.debug("Hide following areas:",i),i)if(i.hasOwnProperty(r)){var l=a.getArea(i[r]);l&&l.inDom()&&n.detachArea(l)}}function y(i,a){void 0===a&&(a=0),t.recaptcha_test=i;var n=t.grecaptcha,r=t.__recaptcha_api;if(n&&i&&i.length)if(r&&n.render&&n.execute){var o=((e('script[src*="google.com/recaptcha/api.js"]').attr("src")||"").split("?")[1]||"").split("&");try{var l=p("onload"),d=p("render"),c=t.etCore&&etme.api&&etme.api.spam&&etme.api.spam.recaptcha&&etme.api.spam.recaptcha.isEnabled&&etme.api.spam.recaptcha.isEnabled()?etme.api.spam.recaptcha:null;c&&i.find(".et_pb_recaptcha_enabled").length&&c.init(),l&&"function"==typeof t[l]&&t[l](),i.find("form [data-sitekey]").length>0&&i.find("form").each((function(){var i=e(this),a=i.find("[data-sitekey]");if(a.length&&!i.find('iframe[src*="/recaptcha/"]').length){var r={sitekey:a.attr("data-sitekey"),type:a.attr("data-type"),size:a.attr("data-size"),theme:a.attr("data-theme"),badge:a.attr("data-badge"),tabindex:a.attr("data-tabindex")},o=a.attr("data-callback"),s=a.attr("data-expired-callback");o&&"function"==typeof t[o]&&(r.callback=t[o]),s&&"function"==typeof t[s]&&(r["expired-callback"]=t[s]);var l=n.render(a[0],r);t.recaptchaWidgets&&recaptchaWidgets.push(l)}})),d.length>10&&n.execute(d,{action:"homepage"}).then((function(e){i.find('form [name="g-recaptcha-response"]').val(e)}))}catch(e){s.debug("ReCaptcha init failed:",e)}}else a<5&&(isNaN(a)&&(a=0),setTimeout((function(){return y(i,a+1)}),250));function p(e){var t=o.filter((function(t){return 0===t.indexOf(e+"=")}))[0];return t=t?t.replace(/^.*?=/,""):""}}function A(t){var i=e(t.target).closest("[data-da-type][data-da-registered]");if(i.length){var a=r.getOption("fullHeightClass");if(i.hasClass(a)||"show"===i.attr("data-da-overflow"))return!0}return t.preventDefault(),t.stopPropagation(),!1}function _(e,t){var i=r.getOption("hoverTriggerClass"),n=r.getOption("clickTriggerClass");e.parseDiviLinks(":not(."+i+")"),e.parseDiviLinks("."+n);var o=e.getArgs("selector");a.addAction("dom_changed",(function(t){e.isActive()&&e.start(t)})),this.start=function(t){if(o){var i=t.find(o);e.bindEvent(i,"click")}},this.stop=function(t){if(o&&e.isActive()){var i=t.find(o);e.unbindEvent(i,"click")}}}function w(e,t){var i=r.getOption("hoverTriggerClass");e.parseDiviLinks("."+i);var n=e.getArgs("selector");a.addAction("dom_changed",(function(t){e.isActive()&&e.start(t)})),this.start=function(t){if(n){var i=t.find(n);e.bindEvent(i,"mouseenter")}},this.stop=function(t){if(n&&e.isActive()){var i=t.find(n);e.unbindEvent(i,"mouseenter")}}}function D(e,t){var i=10;function n(i){return i.length&&e.getArgs("single")||(i.push(t),e.run(0)),i}t.isType("popup")?i-=5:t.isType("inline")&&(i+=5),e.setArgDefault("once",!0),this.start=function(){e.stop(),a.addFilter("trigger_exit_intent",n,i)},this.stop=function(){e.isActive()&&a.removeFilter("trigger_exit_intent",n)}}n.smartInit=function(){var o=r.getOption("initializeOnEvent");function s(){p||setTimeout(n.init,1)}o?(e(t).add(i).one(o,(function(){setTimeout(n.init,1)})),t.addEventListener("error",s),a.addAction("load",(function(){t.removeEventListener("error",s)})),setTimeout(n.init,350)):setTimeout(n.init,1)},n.init=function(){p||(p=!0,s.debug("Initialize the app"),a.doAction("load"),h(),function(){var t=e(".et_pb_fullscreen_nav_container #mobile_menu_slide");if(!t.length)return;t.parent().css({minHeight:t.outerHeight()})}(),a.registerTriggerType("click",_),a.registerTriggerType("hover",w),a.registerTriggerType("exit",D),setTimeout((function(){!function(){function n(e){var n;"input"!==e.target.tagName.toLowerCase()&&"textarea"!==e.target.tagName.toLowerCase()&&"select"!==e.target.tagName.toLowerCase()&&(n=Math.max(i.documentElement.clientWidth,t.innerWidth||0),e.clientX>=n-50||e.clientY>=50||e.toElement||e.relatedTarget||(s.info("⚡️ Exit-intent detected (mouse leave)"),a.doAction("exit_intent","mouse-leave")))}e(t).on("mouseleave.da",n)}(),a.addAction("exit_intent",m)}),r.getOption("onExitDelay")),a.addAction("ready",(function(){a.addAction("close_area",g),function(e){var i=t.MutationObserver||t.WebKitMutationObserver,a=t.addEventListener,r=n.getContext(),o=!1;function l(){o||(o=setTimeout((function(){o=!1,s.debug("DOM changed"),e()}),50))}if(i){new i((function(e){if(e[0].addedNodes.length||e[0].removedNodes.length)return l()})).observe(r[0],{childList:!0,subtree:!0})}else a&&(r.addEventListener("DOMNodeInserted",l,!1),r.addEventListener("DOMNodeRemoved",l,!1))}(n.activateContainer),l.on("keyup",v)}),1),a.addAction("ready",(function(){n.activateContainer()}),9),a.doAction("ready"),"function"==typeof t.et_pb_side_nav_page_init&&(e(t).off("scroll",et_pb_window_side_nav_scroll_init),e("#main-content .et_pb_side_nav").off("click",".et_pb_side_nav a").remove(),et_pb_side_nav_page_init()))},n.getContext=function(){return c&&c.length||h(),c},n.reOrderAreas=function(){var e=o.countVisibleAreas("popup"),t=o.countVisibleAreas("flyin"),i=o.countVisibleAreas("hover");if(e?f.addClass("da-popup-visible"):(a.hideOverlay(),f.removeClass("da-popup-visible")),t?f.addClass("da-flyin-visible"):f.removeClass("da-flyin-visible"),i?f.addClass("da-hover-visible"):f.removeClass("da-hover-visible"),o.countVisibleAreas()){var n=r.getOption("zIndex"),l=o.countVisibleAreas("not: inline"),d=o.countVisibleAreas("popup"),c=[],p=0,u=0,h={};if(s.debug("Refresh the z-index of visible areas"),o.loopVisibleAreas("not:inline",(function(e){return e.blur()})),o.getVisibleArea().focus(),o.loopVisibleAreas("not: inline",(function(e){var t,i=e.getData("fixZIndex");e.isType("popup")?(u++,t=n+l-d+u,e.hasClass(r.getOption("activePopupClass"))&&(h.overlay=t,t+=1)):(p++,t=n+p),isNaN(i)||(t=i),h[e.theId()]=t})),(h=a.applyFilters("reorder_areas",h)).overlay&&!isNaN(h.overlay)){var g=a.showOverlay(h.overlay);c.push({id:"-",type:"overlay","z-index":g})}for(var v in h)h.hasOwnProperty(v)&&m(v);s.info("👓 List of visible Areas:"),s.table(c)}function m(e){if("overlay"!==e){var t=a.getArea(e);if(t){var i=t.applyFilters("apply_z_index",h[e],t);i&&!isNaN(i)&&t.setData("zindex",i),t.isType("popup")&&t.attach(),c.push({id:t.theId(),type:t.theType(),"z-index":t.getData("zindex")||null})}}}},n.activateContainer=function(t){!t?t=f:o.isArea(t)&&(t=t.get()),function(t){t.find(r.getOption("popupSelector")).not("[data-da-area]").filter("[id],."+r.getOption("exitIndicatorClass")).each((function(){var t=e(this);s.debug("Found an On-Page Popup Area:",t.attr("id")),a.register(t,{},"popup")}))}(t),d||(d=!0,setTimeout((function(){a.doAction("dom_changed",t),d=!1}),100)),n.initContainer(t)},n.initContainer=function(i){var n,o=a.getArea(i);if(o)return i=o.get(),n=o.getData("post_id"),!0!==i.data("_daInitDone")&&(i.data("_daInitDone",!0),f.trigger("post-load"),i.find("img[loading=lazy]").attr("loading","eager"),"function"==typeof t.et_fix_pricing_currency_position&&et_fix_pricing_currency_position(i.find(".et_pb_pricing_table")),n&&i.find(".et_pb_newsletter_form").length&&i.find(".et_pb_newsletter_form [name=et_pb_signup_post_id]").val(n),y(i),function(t){var i=t.getArea();t.find("img").on("load",(function(){return t.trigger("resize")})),"show"!==i.getData("overflow")&&t.find(".et_pb_row").each((function(){var t=e(this),i=r.getStyleDef(t[0],"height"),a=r.getStyleDef(t[0],"max-height");i&&(t.css("height","auto"),r.getStyleDef(t[0],"min-height")||t.css("min-height",i)),a&&t.css("max-height","none")}));t.trigger("resize")}(i),function(t){function i(){var i=e(this),n=i.attr("href").split("#")[1];try{t.find('[id="'+n+'"],a[name="'+n+'"]').length&&i.off("click").on("click",a)}catch(e){}}function a(i){var a=e(this).attr("href").split("#")[1],n=t.find('[id="'+a+'"],a[name="'+a+'"]').first();return t.animate({scrollTop:n.position().top},400),i.preventDefault(),!1}t.find('[href*="#"]').each(i)}(i)),void 0!==t.et_reinit_waypoint_modules&&t.et_reinit_waypoint_modules(),i},n.attachArea=function(e){u||(u=!0,b("show",e),u=!1),o.addVisibleArea(e),e.attach()},n.detachArea=function(e){if(u||(u=!0,b("hide",e),u=!1),e.inDom()){if(!o.isArea(e)||!e.inDom())return;e.removeClass("__is_animating"),o.removeVisibleArea(e),e.blur(),e.detach()}},n.disableBodyScroll=function(){if(!0!==f.data("da-disable-scroll")){f.data("da-disable-scroll",!0),r.bindPassiveEvent([f,a.getOverlay()],"mousewheel touchmove",A);var n=t.innerWidth-i.body.clientWidth;f.addClass(r.getOption("openPopupClass")),n&&(f.css("padding-right",n),f.hasClass("et_boxed_layout")||e(".et_fixed_nav #main-header").css("padding-right",n)),a.doAction("disabled_scrolling")}},n.enableBodyScroll=function(){!0===f.data("da-disable-scroll")&&(f.data("da-disable-scroll",!1),r.unbindPassiveEvent([f,a.getOverlay()],"mousewheel touchmove",A),f.removeClass(r.getOption("openPopupClass")),f.css("padding-right",""),e(".et_fixed_nav #main-header").css("padding-right",""),a.doAction("enabled_scrolling"))},n.closeMainMenu=function(){e(".et_pb_fullscreen_menu_active").length?e(".et_toggle_fullscreen_menu").first().trigger("click"):e(".et_pb_slide_menu_active").length&&e(".et_toggle_slide_menu").first().trigger("click")}}(jQuery,window,document),function(e){var t=window.DiviArea||{},i=t.Data=t.Data||{},a=(t.Core=t.Core||{},t.Utils=t.Utils||{}),n=window.DiviAreaItem,r=window.DiviAreaTrigger;delete window.DiviAreaItem,delete window.DiviAreaTrigger;var o={},s=[],l={};i.sanitizeId=function(e,t){if(!e)return"";if(e instanceof n)return e.theId();if(e instanceof jQuery)return"#"+e.attr("id");if(e&&"string"==typeof e){if(t){var i=new RegExp("^#"+t+":");e=e.replace(i,"#")}"#"!==e[0]&&(e="#"+e)}return"string"==typeof e&&e.length>1?e:""},i.getRealId=function(e){var t=i.getArea(e);return t?t.theId():""},i.getArea=function(e){if(void 0===e)return i.getVisibleArea();if(e instanceof n)return e;if(e.DiviAreaItem&&e.DiviAreaItem instanceof n)return e.DiviAreaItem;if("function"==typeof e.getArea)return e.getArea();if(e instanceof jQuery&&!0===e.data("isArea"))return e.data("area");if("string"==typeof e||"number"==typeof e)for(var t in o){var a=o[t];if(a.hasId(e))return a}return!1},i.createArea=function(t,a,r){return(t=e(t)).length?(r=i.sanitizeId(r),o[r]=new n(t,a),o[r]):""},i.isArea=function(e){return e&&e instanceof n},i.getAllIds=function(e){var t=[];if(e||(e="all"),i.isArea(e))return e.allIds();for(var a in o){var n=o[a];n.isType(e)&&t.push.apply(t,n.allIds())}return t},i.loopAllAreas=function(e,t){if("function"==typeof t){var i=e;e=t,t=i}for(var a in t||(t="all"),o){var n=o[a];n.isType(t)&&e(n,a)}},i.countVisibleAreas=function(e){if(!e||"any"===e)return s.length;var t=0;return i.loopVisibleAreas(e,(function(){return t++})),t},i.addVisibleArea=function(e){if(!(e=t.getArea(e)))return!1;if(i.removeVisibleArea(e),e.isType("popup")||!i.countVisibleAreas("popup"))s.push(e);else for(var a=0;a<s.length;a++)if(s[a].isType("popup")){s.splice(a,0,e);break}},i.removeVisibleArea=function(e){if(!(e=t.getArea(e)))return!1;for(var i=e.theId(),a=s.length-1;a>=0;a--){s[a].theId()===i&&s.splice(a,1)}},i.getVisibleArea=function(e,i){var a=s.length-1;if(!e&&!i)return s[a];if(e){var n=t.getArea(e);return!!n&&(!!n.isType(i)&&(!!n.isVisible()&&n))}for(var r=a;r>=0;r--){var o=s[r];if(o.isType(i))return o}return!1},i.loopVisibleAreas=function(e,t,i){for(var a=s.length,n=i?a-1:0,r=0;r<a;r++){var o=s[n];n+=i?-1:1,o.isType(e)&&t(o,r)}},i.registerTriggerType=function(e,t){l[e]=function(e,i,a){r.call(this,e,i,a),this._setup(new t(this,e))}},i.getTriggerTypes=function(){return Object.assign({},l)},i.createNewTrigger=function(e,t,i,n){var r=!1;return l[e]&&(i&&"object"==typeof i||(i={}),(r=new l[e](t,i,n))&&"function"==typeof r.start&&"function"==typeof r.stop?r.id=e+"_"+a.getUniqueId():r=!1),r}}(jQuery),function(e){var t=window.DiviArea||{},i=t.Core=t.Core||{},a=t.Utils=t.Utils||{},n=t.Data=t.Data||{},r=t.Debug=t.Debug||{},o=null,s=!1;function l(e){r.info("⚡️ Click on background overlay"),e.preventDefault(),t.doAction("click_overlay",o);var i=n.getVisibleArea(null,"popup");return i?i.getData("ismodal")?(r.debug("Ignore click:",'Top-most popup is marked as "modal"'),!1):t.applyFilters("ignore_overlay_click",!1)?(r.debug("Ignore click:","Manually cancelled via filter"),!1):(t.doAction("close_area",null,"overlay"),n.countVisibleAreas("popup")||t.hideOverlay(),!1):(r.debug("Ignore click:","No visible Popups found"),!1)}t.showOverlay=function(e){var o=t.getOverlay();return e&&!isNaN(e)||(e=a.getOption("zIndex"),e+=Math.max(0,n.countVisibleAreas())),o.css({zIndex:e}),s||(s=!0,r.info("⤴️ Show background overlay"),i.disableBodyScroll(),o.detach().appendTo(i.getContext()),o.fadeIn(a.getOption("animateSpeed")),t.doAction("show_overlay",o),i.closeMainMenu()),e},t.hideOverlay=function(){s&&(s=!1,r.info("⤵️ Hide background overlay"),o.hide().detach(),i.enableBodyScroll(),t.doAction("hide_overlay",o))},t.getOverlay=function(){return null===o&&((o=e("<div />")).addClass(a.getOption("overlayClass")),o.on("click.popup",l),t.doAction("init_overlay",o)),o}}(jQuery),function(e,t){var i=t.DiviArea||{},a=i.UI=i.UI||{},n=i.Debug=i.Debug||{},r={};function o(e,t){var i;return i="show"===t?parseInt(e.getData("animationSpeedIn")):parseInt(e.getData("animationSpeedOut")),(isNaN(i)||i<0)&&(i=0),i}function s(e){return e.push(".et_fixed_nav #main-header"),e}function l(t,i,a,r){var o,s="da-push-"+t,l="margin-"+t,c="top"===t||"bottom"===t?"v":"h";if(n.debug("Add Container Space (push content)",t,i+"px"),"top"===t?o=e("body"):(o=e("#page-container")).length||(o=e("body")),void 0===o.data(s)){var p=parseInt(o.css(l));isNaN(p)&&(p=0),o.data(s,p)}isNaN(i)&&(i=0);var u=parseInt(o.data(s))+i;isNaN(u)&&(u=i),u<0&&(u=0);var f=!u;if(o.data(s,u),d(o,l,u,a,f),"h"===c){var h=parseInt(o.css("width"));i>0&&o.css("width",h),d(o,"width",h-i,a,f)}e(r).each((function(){var n=e(this),r=parseInt(n.css(t)),o=(isNaN(r)?0:r)+i;if(i>0&&n.css(t,r),"h"===c){var s=parseInt(n.css("width"));i>0&&n.css("width",s),d(n,"width",s-i,a,f)}d(n,t,o,a,f)}))}function d(e,t,i,a,r,o){void 0===r&&(r=!1),void 0===o&&(o="ease-in-out"),n.debug(" Push Content",e.prop("tagName")+"#"+e.attr("id"),t+": "+e.css(t)+" → "+i+"px");var s=e.css("transition");e.css("transition",s+", "+t+" "+a+"ms "+o),e.css(t,i+"px"),setTimeout((function(){e.css("transition",""),r&&e.css(t,"")}),a+20)}function c(e,t,i){i=i||e.data("et_waypoint_max_instances")||1;var a=e.data("et_waypoint")||[];if(a.length<i){var n=e.waypoint(t);n&&n.length>0&&(a.push(n[0]),e.data("et_waypoint",a))}else for(var r=0;r<a.length;r++)a[r].context.refresh()}a.init=function(){i.addAction("push_fixed_elements_top",s),i.addAction("push_fixed_elements_left",s),i.addAction("push_fixed_elements_right",s)},a.animateArea=function(e,i,a){var s=!1,d=!1,p=!1,u=function(){n.debug("Area animation is complete",i,e.theId()),"function"==typeof a&&a()};if(e.isType("flyin"))t.TweenLite&&(d=!0),p=!!e.getData("pushContent");else if("hide"===i)return void u();e.hasClass("et_pb_section")&&jQuery.fn.waypoint&&"yes"!==et_pb_custom.ignore_waypoints&&function(e){var t=e.attr("data-animation"),i=!1;if(!t)return!1;if(!(i=r[t]))return!1;jQuery("body").css("overflow-x","hidden"),jQuery("#page-container").css("overflow-y","hidden"),e.attr({"data-animation-style":i.style,"data-animation-repeat":"once"===i.repeat?"":"infinite","data-animation-duration":i.duration,"data-animation-delay":i.delay,"data-animation-intensity":i.intensity,"data-animation-starting-opacity":i.starting_opacity,"data-animation-speed-curve":i.speed_curve}),c(e,{offset:"100%",handler:function(){!function(e){var t=e.attr("data-animation-style"),i=e.attr("data-animation-repeat"),a=e.attr("data-animation-duration"),n=e.attr("data-animation-delay"),r=e.attr("data-animation-intensity"),o=e.attr("data-animation-starting-opacity"),s=e.attr("data-animation-speed-curve");!function(e){for(var t=[],i=e.get(0).attributes,a=0;a<i.length;a++)"data-animation-"===i[a].name.substring(0,15)&&t.push(i[a].name);jQuery.each(t,(function(t,i){e.removeAttr(i)}))}(e);var l=isNaN(parseInt(o))?0:.01*parseInt(o);-1===jQuery.inArray(s,["linear","ease","ease-in","ease-out","ease-in-out"])&&(s="ease-in-out"),e.css({"animation-duration":a,"animation-delay":n,opacity:l,"animation-timing-function":s});for(var d={},c=isNaN(parseInt(r))?50:parseInt(r),p=["slide","zoom","flip","fold","roll"],u=!1,f=!1,h=0;h<p.length;h++){var g=p[h];if(t&&t.substr(0,g.length)===g){u=g,""!==(f=t.substr(g.length,t.length))&&(f=f.toLowerCase());break}}!1!==u&&!1!==f&&(d=function(e,t,i){var a={};switch(e){case"slide":switch(t){case"top":a={transform:"translate3d(0, "+(n=-2*i)+"%, 0)"};break;case"right":a={transform:"translate3d("+(n=2*i)+"%, 0, 0)"};break;case"bottom":a={transform:"translate3d(0, "+(n=2*i)+"%, 0)"};break;case"left":var n=-2*i;a={transform:"translate3d("+n+"%, 0, 0)"};break;default:a={transform:"scale3d("+(r=.01*(100-i))+", "+r+", "+r+")"}}break;case"zoom":var r=.01*(100-i);switch(t){case"top":case"right":case"bottom":case"left":default:a={transform:"scale3d("+r+", "+r+", "+r+")"}}break;case"flip":switch(t){case"right":a={transform:"perspective(2000px) rotateY("+(o=Math.ceil(.9*i))+"deg)"};break;case"left":a={transform:"perspective(2000px) rotateY("+(o=-1*Math.ceil(.9*i))+"deg)"};break;case"top":default:a={transform:"perspective(2000px) rotateX("+(o=Math.ceil(.9*i))+"deg)"};break;case"bottom":a={transform:"perspective(2000px) rotateX("+(o=-1*Math.ceil(.9*i))+"deg)"}}break;case"fold":switch(t){case"top":a={transform:"perspective(2000px) rotateX("+(o=-1*Math.ceil(.9*i))+"deg)"};break;case"bottom":a={transform:"perspective(2000px) rotateX("+(o=Math.ceil(.9*i))+"deg)"};break;case"left":a={transform:"perspective(2000px) rotateY("+(o=Math.ceil(.9*i))+"deg)"};break;case"right":default:a={transform:"perspective(2000px) rotateY("+(o=-1*Math.ceil(.9*i))+"deg)"}}break;case"roll":switch(t){case"right":case"bottom":a={transform:"rotateZ("+(o=-1*Math.ceil(3.6*i))+"deg)"};break;case"top":case"left":a={transform:"rotateZ("+(o=Math.ceil(3.6*i))+"deg)"};break;default:var o=Math.ceil(3.6*i);a={transform:"rotateZ("+o+"deg)"}}}return a}(u,f,c)),jQuery.isEmptyObject(d)||e.css(d),e.addClass("et_animated"),e.addClass(t),e.addClass(i)}(jQuery(this.element))}})}(e.get())&&(s=!0),d?function(e,i,a){n.debug("Animate Area using GSAP");var r={},s={},l=e.get();l.css({opacity:"show"===i?0:1,transition:"all 0s"}),l.show(),t.setTimeout((function(){var n=e.getData("positionH"),d=e.getData("positionV"),c=o(e,i);"left"===n?(r.left=-1*l.outerWidth(),s.left=0):"right"===n?(r.right=-1*l.outerWidth(),s.right=0):"top"===d?(r.top=-1*l.outerHeight(),s.top=0):"bottom"===d&&(r.bottom=-1*l.outerHeight(),s.bottom=0),r.opacity=1,s.opacity=1,"show"===i?(l.css(r),TweenLite.to(l,c/1e3,{css:s})):(l.css(s),TweenLite.to(l,c/1e3,{css:r})),t.setTimeout(a,c)}),5)}(e,i,u):s?function(e,i,a){n.debug("Animate Area using a Divi Animation");var r=e.get();r.show(),r.css({opacity:0}),t.setTimeout((function(){r.css({opacity:""}),c(r,{offset:"100%",handler:function(){r.addClass("et-animated"),a()}},2)}),10)}(e,0,u):function(e,t,i){var a=e.get(),r=o(e,t);"show"===t?(n.debug("Animate Area using jQuery fadeIn",r),a.fadeIn(r,i)):"hide"===t&&(n.debug("Animate Area using jQuery fadeOut",r),a.fadeOut(r,i))}(e,i,u),p&&setTimeout((function(){return function(e,t){n.debug("Push content:",t);var i=e.getData("positionH"),a=e.getData("positionV"),r=o(e,t),s=e.getSize(),d="",c=0;"right"===i||"left"===i?(c=s.width,d=i):"top"!==a&&"bottom"!==a||(c=s.height,d=a);if(d){var p=e.applyFilters("push_fixed_elements_"+d,[],d);l(d,"show"===t?c:-1*c,r,p)}else n.debug("Could not determine edge to push",a,i)}(e,i)})),n.debug("Animate Area finished - animation might continue asynchronously")},a.initializeAreaAnimation=function(e){if(!t.et_animation_data||!t.et_animation_data.length>0)return!1;e.removeClass("et-waypoint"),e.removeClass("et-animated");for(var i=0;i<et_animation_data.length;i++){var a=!1,n=et_animation_data[i];if(n&&(n.class&&e.hasClass(n.class)&&n.style&&n.repeat&&n.duration&&n.delay&&n.intensity&&n.starting_opacity&&n.speed_curve))return a=n.class,e.addClass("pfd-waypoint"),e.attr("data-animation",a),r[a]=n,et_animation_data[i].class=void 0,!0}return!1}}(jQuery,window),function(e){var t=e.DiviArea||{},i=t.Debug=t.Debug||{},a=t.Hooks=t.Hooks||{},n=e.console,r=!1,o={},s=[],l=e.DiviAreaConfig;i.group=function(e){if(l.debug&&n.group){var t=!r||e&&e!==r;if(r&&(n.groupEnd(),r=!1),e&&t){var i=Array.prototype.slice.call(arguments);i.unshift("[DiviAreas]"),n.group.apply(this,i),r=e}}},i.profile=function(t,i){if(l.debug&&l.debugVerbose&&e.performance&&performance.now){var a=performance.now(),r=["[DiviAreas Timer]"];if(o[t]&&!0!==i){if(o[t]){var d=a-o[t],c=d.toFixed(4).padStart(8)+" ms";!1===i||void 0===i?(r.push("End |",t,"|",c),delete o[t],s.push({group:t,duration:c,value:d})):i&&r.push("Log |",t,"|",c,"|",i)}}else o[t]=a,r.push("Start |",t),i&&r.push("|",i);r.length>1&&n.log.apply(this,r)}},i.profileSummary=function(){if(l.debug&&l.debugVerbose)if(s.length){var e=s.reduce((function(e,t){return("number"==typeof e?e:0)+t.value}))/s.length;n.table(s),n.log("Average:",e.toFixed(4).padStart(8)+" ms /",s.length+" entries")}else n.log("No profile data collected yet")},i.table=function(){if(l.debug){var e=Array.prototype.slice.call(arguments);Array.isArray(e[0])||(e=[e]),n.table?n.table.apply(this,e):n.log.apply(this,e)}},i.verbose=function(){if(l.debug&&l.debugVerbose){var e=Array.prototype.slice.call(arguments);e.unshift("color:#cfd8dc;font-style:italic"),e.unshift("[DiviAreas] %c%s"),n.debug.apply(this,e)}},i.debug=function(){if(l.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#90a4ae"),e.unshift("[DiviAreas] %c%s"),n.debug.apply(this,e)}},i.info=function(){if(l.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#0288d1;background:#fafcfe"),e.unshift("[DiviAreas] %c%s"),n.log.apply(this,e)}},i.error=function(){var e=Array.prototype.slice.call(arguments);e.unshift("[DiviAreas]"),n.error.apply(this,e)},i.sysInfo=function(){var i=["\n----------"];if(i.push("Please copy-paste this information into your support ticket:"),i.push("----------\n"),t.lib&&t.version&&i.push(" • js_api: "+t.lib+" "+t.version),e.DiviAreaConfig&&DiviAreaConfig.sys)for(var a in DiviAreaConfig.sys)if(DiviAreaConfig.sys.hasOwnProperty(a))try{i.push(" • "+a+": "+" ".repeat(Math.max(0,11-a.length))+DiviAreaConfig.sys[a])}catch(e){}i.push(" • jQuery: v"+jQuery.fn.jquery),i.push(" • browser: "+navigator.userAgent),i.push("\n----------\n"),console.log(i.join("\n"))};var d=!0,c={};c.silent=a.silent,c.removeFilter=a.removeFilter,c.removeAction=a.removeAction,c.applyFilters=a.applyFilters,c.doAction=a.doAction,c.addFilter=a.addFilter,c.addAction=a.addAction,c.addActionOnce=a.addActionOnce,a.silent=function(){return d=!1,c.silent.apply(this,arguments)},t.removeFilter=a.removeFilter=function(e){return d&&i.debug("Remove Filter:",e),d=!0,c.removeFilter.apply(this,arguments)},t.removeAction=a.removeAction=function(e){return d&&i.debug("Remove Action:",e),d=!0,c.removeAction.apply(this,arguments)},t.applyFilters=a.applyFilters=function(e){if(d){Array.isArray(e)||(e=[e]),i.info("📢️ Apply Filters:",e.join(" → "));for(var t=0;t<e.length;t++)i.debug(' ⚙ App.addFilter("'+e[t]+'", callback)')}return d=!0,c.applyFilters.apply(this,arguments)},t.doAction=a.doAction=function(e){if(d){Array.isArray(e)||(e=[e]),i.info("📢️ Do Action:",e.join(" → "));for(var t=0;t<e.length;t++)i.debug(' ⚙ App.addAction("'+e[t]+'", callback)')}return d=!0,c.doAction.apply(this,arguments)},t.addFilter=a.addFilter=function(e){return d&&i.debug("Add Filter:",e),d=!0,c.addFilter.apply(this,arguments)},t.addAction=a.addAction=function(e){return d&&i.debug("Add Action:",e),d=!0,c.addAction.apply(this,arguments)},t.addActionOnce=a.addActionOnce=function(e){return d&&i.debug("Add Action Once:",e),d=!0,c.addActionOnce.apply(this,arguments)}}(window),function(){var e=window.DiviArea||{},t=e.Debug=e.Debug||{},i=e.Utils=e.Utils||{},a=e.Data=e.Data||{};e.openPopup=function(i){t.error("DiviArea.openPopup() is deprecated. Please use DiviArea.show() instead"),e.show(i)},e.openArea=function(i){t.error("DiviArea.openArea() is deprecated. Please use DiviArea.show() instead"),e.show(i)},e.closePopup=function(i){t.error("DiviArea.closeArea() is deprecated. Please use DiviArea.hide() instead"),e.hide(i)},e.closeArea=function(i){t.error("DiviArea.closeArea() is deprecated. Please use DiviArea.hide() instead"),e.hide(i)},a.configArea=function(i,a,n){t.error("DiviArea.configArea() is deprecated. Please use DiviArea.setData() instead");var r=e.getArea(i);if(r)if("object"==typeof a)for(var o in a)a.hasOwnProperty(o)&&r.setData(o,a[o]);else r.setData(a,n)},e.Hooks.silent().addAction("init_area",(function(t){e.Hooks.silent().doAction("init_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("show_area",(function(t){e.Hooks.silent().doAction("show_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("hide_area",(function(t){e.Hooks.silent().doAction("hide_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("close_area",(function(t,i){t&&e.Hooks.silent().doAction("close_area-"+t.theKey(),t,i)}),1),e.Hooks.silent().addAction("blur_area",(function(t){e.Hooks.silent().doAction("blur_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("focus_area",(function(t){e.Hooks.silent().doAction("focus_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("before_show_area",(function(t,i){e.Hooks.silent().doAction("before_show_area-"+t.theKey(),t,i)}),1),e.Hooks.silent().addAction("before_hide_area",(function(t,i){e.Hooks.silent().doAction("before_hide_area-"+t.theKey(),t,i)}),1),e.Hooks.silent().addFilter("ignore_close_area",(function(t,i,a){return t=e.Hooks.silent().applyFilters("before_close_area",t,i,a),t=e.Hooks.silent().applyFilters("before_close_area-"+i.theKey(),t,i,a)}),1),e.Hooks.silent().addFilter("ignore_esc_key",(function(t){return t=e.Hooks.silent().applyFilters("esc_key_pressed",t)}),1),e.Hooks.silent().addAction("area_close_button",(function(e){e.addClass("evr-close_wrap"),e.find(">a").addClass("evr-close")}),1),e.Hooks.silent().addAction("area_wrap",(function(e){e.addClass("popup_outer_wrap")}),1),e.Hooks.silent().addAction("init_overlay",(function(e){e.addClass("evr_fb_popup_modal")}),1),e.Hooks.silent().addAction("refresh_area",(function(e){var t={notmobile:i.getOption("notMobileClass"),nottablet:i.getOption("notTabletClass"),notdesktop:i.getOption("notDesktopClass"),showclose:i.getOption("withCloseClass"),hideclose:i.getOption("noCloseClass"),closealt:i.getOption("altCloseClass"),ismodal:i.getOption("modalIndicatorClass"),noshadow:i.getOption("noShadowClass"),darkmode:i.getOption("darkModeClass"),singleton:i.getOption("singletonClass")};for(var a in t)e.getData(a)?e.addClass(t[a]):e.removeClass(t[a])}),1),e.listAreas=a.getAllIds,e.configArea=a.configArea,e.getArea=a.getArea,e.registerTriggerType=a.registerTriggerType}(),DiviArea.init();return{}}();
1
+ var divimode_front=function(){"use strict";!function(e,t,i){var a=t.DiviArea=t.DiviArea||{},n=a.Utils=a.Utils||{},r=a.Debug=a.Debug||{},o=a.Hooks=a.Hooks||{},s=!1,l=null,d=null,c=0;function p(t,i,a){var n,r;for(Array.isArray(t)&&(t=e(t).map(e.fn.toArray)),t=e(t),i=i.split(/\s+/),n=0;n<t.length;n++)for(r=0;r<i.length;r++)a(t[n],i[r])}function u(e){var i=n.getOption("storageMethod").toString().toLowerCase();return"none"!==(i=(i=a.applyFilters("storage_method",i,e)).toString().toLowerCase().trim())&&"cookie"!==i&&"local"!==i&&(i="auto"),"auto"===i&&(i=t.localStorage?"local":"cookie"),i}n.getOption=function(e){var t=null;if(void 0!==DiviAreaConfig[e])t=DiviAreaConfig[e];else{var i=e.toLowerCase().replace(/[^a-z0-9]/g,"");for(var a in DiviAreaConfig)if(DiviAreaConfig.hasOwnProperty(a)&&a.toLowerCase().replace(/[^a-z0-9]/g,"")===i){t=DiviAreaConfig[a];break}}var r=n.sanitizeHookName(e);return o.silent().applyFilters("get_option_"+r,t)},n.toBool=function(e,t){return void 0===t&&(t=!0),null==e?!!t:!0===e||!1===e?e:("string"==typeof e&&(e=e.toLowerCase()),0!==e&&"0"!==e&&"n"!==e[0]&&"f"!==e[0]&&"off"!==e&&(1===e||"1"===e||"y"===e[0]||"t"===e[0]||"on"===e||!!t))},n.toMilliseconds=function(e){var t,i=parseFloat(e,10),a=e.match(/m?s/);switch(a&&(a=a[0]),a){case"s":t=1e3*i;break;case"ms":t=i;break;default:t=0}return t},n.sanitizeHookName=function(e){return e.toLowerCase().replace(/-/g,"_").replace(/[^a-z0-9_]+/,"")},n.showOnViewport=function(i){var a=e(t).innerWidth();return!i||!!(a<768?Array.isArray(i)?i[2]:i.getData("onmobile"):a<981?Array.isArray(i)?i[1]:i.getData("ontablet"):Array.isArray(i)?i[0]:i.getData("ondesktop"))},n.getPositionType=function(e){if("HTML"===e.prop("tagName"))return"static";var t=e.css("position");return"fixed"===t?"fixed":"absolute"===t?"absolute":n.getPositionType(e.offsetParent())},n.isTrue=function(e,t){if(void 0===e)return!!t;if(null===e||!1===e||0===e)return!1;if(!0===e||1===e)return!0;if(!isNaN(e))return 0!==parseInt(e);if("string"==typeof e){return-1!==["1","on","yes","true","active","checked"].indexOf(e.toLowerCase())}return n.isEmpty(e)},n.setLocalData=function(e,t,i){e=e.replace(/^_da_/,""),i&&!isNaN(i)||(i=525600);var r=n.sanitizeHookName(e),o=u(e);if(t=a.applyFilters("set_data",t,e),t=a.applyFilters("set_data_"+r,t,e),i=a.applyFilters("set_data_expire",i,e,t),i=a.applyFilters("set_data_expire_"+r,i,e,t),!1===t||i<0)"local"===o?localStorage.removeItem("_da_"+e):"cookie"===o&&n.setCookie("_da_"+e,null,-1);else if("local"===o){var s=new Date;s=s.setMinutes(s.getMinutes()+i),localStorage.setItem("_da_"+e,s+":"+t)}else"cookie"===o&&n.setCookie("_da_"+e,t,i)},n.getLocalData=function(e){var t="",i=u(e=e.replace(/^_da_/,""));if("local"===i){var r=localStorage.getItem("_da_"+e);if(r){var o=r.split(":"),s=parseInt(o.shift()),l=o.join(":");s>new Date?t=l:localStorage.removeItem("_da_"+e)}}else"cookie"===i&&(t=n.getCookie("_da_"+e));var d=n.sanitizeHookName(e);return t=a.applyFilters("get_data",t,e),t=a.applyFilters("get_data_"+d,t,e)},n.setCookie=function(e,t,a){var n=escape(t);if(a>0){var r=new Date;r.setMinutes(r.getMinutes()+a),n+="; expires="+r.toUTCString()}else a<0&&(n+="; expires=expires=Thu, 01 Jan 1970 00:00:01 GMT");i.cookie=e+"="+n+"; path=/"},n.getCookie=function(e){var t,a,n,r=i.cookie.split(";");for(t=0;t<r.length;t++)if(a=r[t].substr(0,r[t].indexOf("=")),n=r[t].substr(r[t].indexOf("=")+1),(a=a.replace(/^\s+|\s+$/g,""))===e)return unescape(n);return!1},n.getUrlParam=function(e){if(null===d){d={};var i=t.location.search.slice(1);if(i)for(var a=(i=i.split("#")[0]).split("&"),n=0;n<a.length;n++){var r=a[n].split("="),o=r[0],s=void 0===r[1]||r[1];if(o=o.toLowerCase(),"string"==typeof s&&(s=s.toLowerCase()),o.match(/\[(\d+)?\]$/)){var l=o.replace(/\[(\d+)?\]/,"");if(d[l]||(d[l]=[]),o.match(/\[\d+\]$/)){var c=/\[(\d+)\]/.exec(o)[1];d[l][c]=s}else d[l].push(s)}else d[o]?d[o]&&"string"==typeof d[o]?(d[o]=[d[o]],d[o].push(s)):d[o].push(s):d[o]=s}}return e?d[e]:Object.assign({},d)},n.getWindow=function(t){return e.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)},n.getClientRect=function(i){var a={top:0,left:0,width:0,height:0,bottom:0,right:0};if(!i.length)return a;var n,r=(i=i[0]).ownerDocument.documentElement,o=t.pageXOffset||r.scrollLeft,s=t.pageYOffset||r.scrollTop;if(!e.contains(r,i))return a;try{n=i.getBoundingClientRect()}catch(e){}return!n||n.right===n.left&&n.top===n.bottom||(a.top=n.top+s-(r.clientTop||0),a.left=n.left+o-(r.clientLeft||0),a.width=n.right-n.left,a.height=n.bottom-n.top,a.bottom=a.top+a.height,a.right=a.left+a.width),a},n.bindPassiveEvent=function(e,t,i){var a;a=!!s&&{passive:!1,capture:!1},p(e,t,(function(e,t){e.addEventListener(t,i,a)}))},n.unbindPassiveEvent=function(e,t,i){var a;a=!!s&&{passive:!1,capture:!1},p(e,t,(function(e,t){e.removeEventListener(t,i,a)}))},n.observePosition=function(e,t){if(e&&e.length){e.data("da-pos-observer")||e.data("da-pos-observer",{cb:[]});var i=e.data("da-pos-observer"),a={};if(!i.observer){i.observer=setInterval((function(){var t=n.getClientRect(e);a.left===t.left&&a.top===t.top&&a.width===t.width&&a.height===t.height||function(t){for(var a=0;a<i.cb.length;a++)i.cb[a].call(e[0],t)}(a=t)}),120)}i.cb.push(t)}},n.unobservePosition=function(e,t){if(e&&e.length&&e.data("da-pos-observer")){for(var i=e.data("da-pos-observer"),a=i.cb.length-1;a>=0;a--)t===i.cb[a]&&i.cb.splice(a,1);i.cb.length||(clearInterval(i.observer),i.observer=0)}},n.init=function(){var n,o={popupSelector:".et_pb_section.popup",fullHeightClass:"full-height",openPopupClass:"da-overlay-visible",overlayClass:"da-overlay",modalIndicatorClass:"is-modal",blockingIndicatorClass:"is-blocking",exitIndicatorClass:"on-exit",hoverTriggerClass:"on-hover",clickTriggerClass:"on-click",activePopupClass:"is-open",noCloseClass:"no-close",altCloseClass:"close-alt",notMobileClass:"not-mobile",notTabletClass:"not-tablet",notDesktopClass:"not-desktop",withCloseClass:"with-close",withLoaderClass:"with-loader",singletonClass:"single",darkModeClass:"dark",noShadowClass:"with-shadow",closeButtonClass:"da-close",popupWrapperClass:"area-outer-wrap",defaultShowCloseButton:!0,idAttrib:"data-popup",triggerClassPrefix:"show-popup-",baseContext:"body",triggerCloseClass:"close",zIndex:1e6,onExitDelay:2e3,animateSpeed:300,debug:!1,debugVerbose:!1,storageMethod:"auto",areaPrefix:"",ajaxUrl:"/wp-admin/admin-ajax.php",initializeOnEvent:"et_pb_after_init_modules"},l="";if(function(){try{var e={get passive(){return s=!0,!1}};t.addEventListener("test",null,e),t.removeEventListener("test",null,e)}catch(e){s=!1}}(),e.support.getBoundingClientRect="getBoundingClientRect"in i.documentElement,(n=t.DiviAreaConfig)&&"object"==typeof n||(n=o),t.DiviPopupData)for(l in DiviPopupData)DiviPopupData.hasOwnProperty(l)&&(n[l]=DiviPopupData[l]);for(l in o)void 0===n[l]&&(n[l]=o[l]);for(l in n)n.hasOwnProperty(l)&&n[l].replace&&(n[l]=n[l].replace(/^[\s\xA0]+|[\s\xA0]+$/g,""));n.zIndex=parseInt(n.zIndex.toString())||o.zIndex,n.onExitDelay=parseInt(n.onExitDelay.toString())||o.onExitDelay,n.animateSpeed=parseInt(n.animateSpeed.toString())||o.animateSpeed,n.debug=!!n.debug,n.defaultShowCloseButton=!!n.defaultShowCloseButton,(!n.triggerClassPrefix||n.triggerClassPrefix.length<3)&&(n.triggerClassPrefix=!1),"body"===n.baseContext&&(1===e("#et_builder_outer_content").length?(n.baseContext="#et_builder_outer_content",r.info("🎚 Divi plugin detected.","Inject Areas into #et_builder_outer_content")):1===e("body.et_divi_theme #page-container").length?(n.baseContext="#page-container",r.info("🎚 Divi theme detected.","Inject Areas into #page-container")):1===e(".et-db #et-boc").length&&(n.baseContext=".et-db #et-boc",r.info("🎚 Divi theme detected.","Inject Areas into #et-boc"))),"body"===n.baseContext||e(n.baseContext).length||(n.baseContext="body",r.info("🎚 Invalid baseContext given.","Inject Areas into body instead.")),t.DiviAreaConfig=t.DiviPopupData=a.applyFilters("init_options",n)},n.initErrorLogging=function(e){var i=function(e,t,i){if(!e[t]||!e[t].__dm_orig__){var a=e[t],n=void 0;for(var r in e[t]=function(){var e=!1;try{e=i.apply(this,arguments)}finally{!e&&a&&(n=a.apply(this,arguments))}return n},a)a.hasOwnProperty(r)&&(e[t][r]=a[r]);e[t].__dm_orig__=a}},n=function(){var e=arguments,i=!1;if(arguments[0]&&"[DiviAreas]"===arguments[0])return!1;for(var n=0;n<arguments.length;n++)if("object"==typeof e[n]&&e[n]&&e[n].message&&e[n].stack){i=e[n];break}if(i){var r=[],o=i.stack.toString().split("\n");if(r.push("divimode.com Anonymized Error Report"),r.push("-".repeat(30)),r.push(i.name),i.message?r.push(i.message):r.push("-"),r.push(""),o&&o.length>1)for(var s=0;s<o.length;s++){var l=o[s];if(l.match(/(\/wp-includes\/|\/jquery\.js)/))break;l.match(/\.js/)&&(l=(l=(l=l.replace(/^\s+|\s+$/g,"")).replace(/https?:.*?\/wp-content/g,"")).replace(/\.js\?[\w=&_\-\.]*/g,".js"),r.push(l))}if(a.info&&(r.push(""),r.push("js api:"+a.info)),t.DiviAreaConfig&&DiviAreaConfig.sys&&DiviAreaConfig.sys.plugin)for(var d in r.push(""),DiviAreaConfig.sys)try{r.push(d+": "+DiviAreaConfig.sys[d])}catch(e){}r.push("-".repeat(30));var c=console.error.__dm_orig__||console.error;return console.log(""),c("✋ "+r.join("\n| ")),console.log(""),!0}return!1};i(e,"onerror",n),i(e.console,"error",n)},n.toPixel=function(e,a,n){if(l||((l={}).PPI=void 0,l.getPPI=function(){return l.PPI=l.PPI||l.getSizeBrutal("in",i.body),l.PPI},l.parseUnit=function(e){var t=[0,""];return e=String(e),t[0]=parseFloat(e,10),t[1]=e.match(/[\d.\-\+]*\s*(.*)/)[1]||"",t},l.getPropertyInPx=function(e,t){var i=l.parseUnit(getComputedStyle(e).getPropertyValue(t));return i[0]*l.conversionFactor(i[1],e)},l.getSizeBrutal=function(e,t){var a=i.createElement("div");a.style.height="128"+e,t.appendChild(a);var n=l.getPropertyInPx(a,"height")/128;return t.removeChild(a),n},l.conversionFactor=function(e,a){switch(e=(e+""||"px").trim().toLowerCase()){case"%":return a.clientHeight/100;case"ch":case"ex":return l.getSizeBrutal(e,a);case"em":return l.getPropertyInPx(a,"font-size");case"rem":return l.getPropertyInPx(i.body,"font-size");case"vw":return t.innerWidth/100;case"vh":return t.innerHeight/100;case"vmin":return Math.min(t.innerWidth,t.innerHeight)/100;case"vmax":return Math.max(t.innerWidth,t.innerHeight)/100;case"in":return l.getPPI();case"cm":return l.getPPI()/2.54;case"mm":return l.getPPI()/25.4;case"pt":return l.getPPI()/72;case"pc":return l.getPPI()/6;case"px":return 1}return 0}),!e)return 0;if((n=n||i.body)!==t&&n!==i||(n=i.body),!isNaN(e)){if(a){var r=l.conversionFactor(a,n);return"number"==typeof r?e*r:0}return e}return 0},n.getStyleDef=function(e,o,s){var l,d,c="",p=!1,u=[],f=[],h="StyleDef "+o;if(r.profile(h,{el:e}),l=t.innerWidth<=980?t.innerWidth>767?"tablet":"phone":"desktop","string"==typeof e){var g=e.split(" "),v=a.getArea(g.shift());if(!v)return r.profile(h,!1),"";e=v.get(g.join(" "))[0]}if(e&&e instanceof jQuery&&(e=e.get(0)),!e||t.HTMLElement&&!e instanceof HTMLElement)return r.profile(h,!1),"";if(e.style&&""!==e.style[o])return r.profile(h,"Use inline style"),r.profile(h,!1),e.style[o];if(e._DAStyles||(e._DAStyles={}),!e._DAStyles[l])for(e._DAStyles[l]=[],r.profile(h,'Before "_getRelevantRules()"'),function(e){var t,a,n;for(d=0;d<i.styleSheets.length;d++)for(y(i.styleSheets[d]);t=u.shift();)if(t.styleSheet)y(t.styleSheet);else if(t.media)y(t);else if(t.selectorText)for(n=t.selectorText.split(","),a=0;a<n.length;a++)if(n[a]&&!(n[a].indexOf(":")>0)){try{if(!e.matches(n[a]))continue}catch(e){continue}f.push(t);break}}(e),r.profile(h,'After "_getRelevantRules()"'),d=f.length-1;d>=0;d--)e._DAStyles[l].push({selectorText:f[d].selectorText,style:f[d].style});for(r.profile(h,"Start to evaluate relevant rules"),d=0;d<e._DAStyles[l].length;d++){var m=e._DAStyles[l][d];if((!s||!s.length||-1===s.indexOf(m.selectorText))&&""!==m.style[o]){var b=n.getCssSpecificity(m.selectorText,m.style[o]);n.compareCssSpecificity(b,p)>0&&(p=b,c=m.style[o])}}return r.profile(h,!1),c;function y(e){try{var i=e.media&&e.media.mediaText;if(e.disabled||i&&!t.matchMedia(i).matches)return;Array.prototype.unshift.apply(u,function(e){if(null==e)return[];try{return"function"==typeof Array.from?Array.from(e):[].slice.call(e)}catch(e){return[]}}(e.cssRules))}catch(e){}}},n.getCssSpecificity=function(e,t){var i=e.split(",");if(i.length>1){for(var a,r=[],o=0;o<i.length;o++)a=n.getCssSpecificity(i[o]),n.compareCssSpecificity(a,r)>0&&(r=a);return r}var s,l=e,d={a:0,b:0,c:0};function c(e,t){var i,a,n,r,o;if(e.test(l))for(a=0,n=(i=l.match(e)).length;a<n;a+=1)d[t]+=1,r=i[a],l.indexOf(r),o=r.length,l=l.replace(r,Array(o+1).join(" "))}function p(e){var t,i,a,n;if(e.test(l))for(i=0,a=(t=l.match(e)).length;i<a;i+=1)n=t[i],l=l.replace(n,Array(n.length+1).join("A"))}s="string"==typeof t&&t.indexOf("!important")>0;p(/\\[0-9A-Fa-f]{6}\s?/g),p(/\\[0-9A-Fa-f]{1,5}\s/g),p(/\\./g);var u=/{[^]*/gm;if(u.test(l))for(var f=l.match(u),h=0,g=f.length;h<g;h+=1)l=l.replace(f[h],Array(f[h].length+1).join(" "));return c(/(\[[^\]]+\])/g,"b"),c(/(#[^#\s\+>~\.\[:\)]+)/g,"a"),c(/(\.[^\s\+>~\.\[:\)]+)/g,"b"),c(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,"c"),c(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,"b"),c(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,"b"),l=(l=(l=(l=(l=(l=l.replace(/[\*\s\+>~]/g," ")).replace(/[#\.]/g," ")).replace(/:not/g," ")).replace(/:local/g," ")).replace(/:global/g," ")).replace(/[\(\)]/g," "),c(/([^\s\+>~\.\[:]+)/g,"c"),[s?1:0,d.a,d.b,d.c]},n.compareCssSpecificity=function(e,t){for(var i=0;i<4;i+=1){var a=parseInt(isNaN(e[i])?0:e[i]),n=parseInt(isNaN(t[i])?0:t[i]);if(a<n)return-1;if(a>n)return 1}return 0},n.getUniqueId=function(){if(!c){c=16777215&+new Date;var e=Math.floor(256*Math.random())<<24>>>0;c=(c|e)>>>0}return(++c).toString(16).padStart(8,"0")}}(jQuery,window,document),window.DiviAreaItem=function(e,t){var i,a,n,r,o,s,l,d,c,p=jQuery,u=window.DiviArea,f=u.Core,h=u.Utils,g=u.Debug,v=u.UI,m=u.Data,b=this,y=window.ResizeObserver||window.WebKitResizeObserver,A=p(e),_={},w={hideclose:!1,showclose:!0,notmobile:!1,onmobile:!0,nottablet:!1,ontablet:!0,notdesktop:!1,ondesktop:!0,closealt:!1,notmodal:!0,ismodal:!1,notblocking:!1,isblocking:!1,triggerexit:!1,shadow:!0,noshadow:!1,darkmode:!1,singleton:!1,static:!1,withloader:!1,pushcontent:!1},D={hideclose:"showclose",notdesktop:"ondesktop",notmobile:"onmobile",notmodal:"ismodal",notblocking:"isblocking",nottablet:"ontablet",shadow:"noshadow",dynamic:"static"},C={},x=null,k=null,I=0,O=null,P=null,T=null,S={};function H(){for(var e in i=A.attr("id"),n=h.sanitizeHookName(i),r=L(t),o=A.closest(document.documentElement).length,s=o&&A[0].getClientRects().length,a=[],l={},d=!1,c=h.getUniqueId(),g.debug("Area Type",b.theType()),g.debug("Area ID",b.theId()),g.debug("Area Hook",b.theKey()),X(A),b.setData("zIndex",0),b.setData("container",p("body")),b.setData("hasShowAnim",!0),b.setData("position","center-center"),b.setData("positionV","center"),b.setData("positionH","center"),b.setData("overflow","clip"),b.setData("size","auto"),b.setData("animationSpeedIn",h.getOption("animateSpeed")),b.setData("animationSpeedOut",h.getOption("animateSpeed")),w)void 0!==A.data("da-"+e)?(b.setData(h.toBool(A.data("da-"+e))),A.removeAttr("data-da-"+e)):void 0!==A.data(e)?(b.setData(h.toBool(A.data(e))),A.removeAttr("data-"+e)):b.setData(e,w[e]);var u={};for(var f in u[h.getOption("notMobileClass")]=["onmobile",!1],u[h.getOption("notTabletClass")]=["ontablet",!1],u[h.getOption("notDesktopClass")]=["ondesktop",!1],u[h.getOption("noCloseClass")]=["showclose",!1],u[h.getOption("withCloseClass")]=["showclose",!0],u[h.getOption("altCloseClass")]=["closealt",!0],u[h.getOption("modalIndicatorClass")]=["ismodal",!0],u[h.getOption("blockingIndicatorClass")]=["isblocking",!0],u[h.getOption("exitIndicatorClass")]=["triggerexit",!0],u[h.getOption("noShadowClass")]=["noshadow",!0],u[h.getOption("darkModeClass")]=["darkmode",!0],u[h.getOption("singletonClass")]=["singleton",!0],u[h.getOption("withLoaderClass")]=["withloader",!0],u)if(A.hasClass(f)){var m=u[f];b.setData(m[0],m[1]),A.removeClass(f)}v.initializeAreaAnimation(b),E(),M(),z(),b.addActionOnce("pre_init_area",N),b.addAction("setup_area",q,2),b.addAction("cleanup_area",q),y&&(O=new y((function(){var e=A[0].scrollHeight-A[0].clientHeight;e>0&&e-A[0].scrollTop<1&&(A[0].scrollTop-=1),l.width=0,l.height=0,l.contentWidth=0,l.contentHeight=0,Y("resize",B)}),{box:"border-box"}),P=new y((function(){l.wrapperWidth=0,l.wrapperHeight=0,Y("resize",B)}),{box:"border-box"})),A.on("resize",(function(){return Y("resize",B)})),x.on("resize",(function(){return Y("resize",B)})),K()}function z(){A.attr("data-da-area",i),x.attr("data-da-area",i),x.attr("data-da-registered",1),x.attr("data-da-type",b.theType()),x.attr("data-da-close-btn",b.getData("showclose")?"yes":"no"),x.attr("data-da-close-bg",b.getData("closeAlt")?"none":"solid"),x.attr("data-da-loader",b.getData("withLoader")?"yes":"no"),x.attr("data-da-shadow",b.getData("shadow")?"yes":"no"),x.attr("data-da-color",b.getData("darkMode")?"dark":"light"),x.attr("data-da-overflow",b.getData("overflow")),x.attr("data-da-size",b.getData("size"));var e=b.getData("wrapClasses");e&&x.addClass(e),Y("position",b.setPosition),b.doAction("refresh_area")}function F(){if(b.isVisible()){A.find("."+h.getOption("closeButtonClass")).off(".da");var e=function(e,t){return g.debug("Click on",t,"close-button"),b.doAction("close_area",b,t),e.preventDefault(),!1};x.find("div ."+h.getOption("triggerCloseClass")).off(".da").on("click.da",(function(t){return e(t,"custom")})),k.find("a").off(".da").on("click.da",(function(t){return e(t,"default")})),p(window).on("resize",U),b.addAction("close_area",W)}else x.find("div ."+h.getOption("triggerCloseClass")).off(".da"),k.find("a").off(".da"),p(window).off("resize",U),b.removeAction("close_area")}function N(){for(var e=b.theId(!0),t=b.getNames(),i=h.getOption("areaPrefix"),a=h.getOption("triggerClassPrefix"),n=h.getOption("idAttrib"),r=h.getOption("hoverTriggerClass"),o=['[href="'+b.theId()+'"]','[href="#popup:'+e+'"]',"."+e,"."+a+e,"["+n+'="'+e+'"]'],s=0;s<t.length;s++){var l=t[s],d=t[s].replace(i,"");o.push('[href="#'+l+'"]'),o.push("."+l),o.push("["+n+'="'+l+'"]'),o.push('[href="#'+d+'"]'),o.push("."+d),o.push("["+n+'="'+d+'"]')}for(var c=[],p=0;p<o.length;p++)c.push(o[p]+"."+r);b.addTrigger("on-hover","hover",{selector:c}),b.addTrigger("on-click","click",{selector:o}),b.getData("triggerexit")&&b.addTrigger("on-exit","exit")}function j(e){b.isVisible()?b.getData("hasShowAnim")?(g.info("✨ Animate the area (show)",b.theId()),v.animateArea(b,"show",(function(){return function(e){b.getData("showclose")&&(g.debug("Show the default close button"),k.show()),e()}(e)}))):e():b.getData("hasShowAnim")?(k.hide(),g.info("✨ Animate the area (hide)",b.theId()),v.animateArea(b,"hide",e)):e()}function M(){if(!k){var e=h.getOption("closeButtonClass"),t=e+"-wrap";k=p("<span>").addClass(t).appendTo(x),p("<a>").attr("href","#close").addClass(e).html("&times;").appendTo(k),k.hide(),b.doAction("area_close_button",k)}}function E(){if(!x){var e=h.getOption("popupWrapperClass");(x=A.parent()).hasClass(e)||(A.wrap("<div>"),(x=A.parent()).addClass(e)),x.detach().appendTo("body"),X(x),b.doAction("area_wrap",x,b)}}function V(){var e=this;I&&clearTimeout(I),I=setTimeout((function(){I=0,e.inDom()&&z()}),20)}function L(e){return e.toLowerCase().trim().replace(/-/g,"")}function W(e,t){var i=this,a=!1;if(a=i.applyFilters("ignore_close_area",a,i,t))return g.debug("Ignored, manually cancelled in filter"),!0;u.hide(i)}function U(){l.windowWidth=0,l.windowHeight=0,l.wrapperWidth=0,l.wrapperHeight=0,Y("resize",B)}function B(){if(b.isVisible()){var e=b.getSize(),t=[e.width,e.height,e.contentWidth,e.contentHeight,e.windowWidth,e.windowHeight].join("-");if(_._resizeState!==t){if(_._resizeState=t,k.css({width:e.width,height:e.height}),(b.isType("popup")||b.isType("flyin"))&&"show"!==b.getData("overflow")&&"full_height"!==b.getData("size")&&"full_screen"!==b.getData("size")){var i="auto"===b.getData("size")?20:0;if(x.attr("data-da-size-full-height"))e.windowHeight-e.contentHeight>=i&&(x.removeAttr("data-da-size-full-height"),x.removeClass(h.getOption("fullHeightClass")));else e.windowHeight-e.contentHeight<i&&(x.attr("data-da-size-full-height",1),x.addClass(h.getOption("fullHeightClass")))}Y("position",b.setPosition)}}}function R(e,t){var i,a="";if(t||""===(a=h.getStyleDef(x[0],e))&&(a=h.getStyleDef(A[0],e)),""===a){var n=x.find(".et_pb_section");for(i=0;i<n.length&&!a;i++)a=h.getStyleDef(n[i],e,['[class*="et_pb_section_dap_"]'])}return a}function Q(){var e=R("width",!1),t=R("max-width",!0);e&&"auto"!==e||(b.isType("popup")||x.css("width","100%"),A.css("width","100%")),t&&A.css("max-width",t)}function Y(e,t){var i=this;S[e]||(S[e]=window.setTimeout((function(){S[e]=!1,t.apply(i)}),4))}function X(e){e.data("isArea",!0),e.data("area",b),e.data("areaConfig",_),e.getArea=function(){return b},e[0].DiviAreaItem=b,e[0].DiviAreaConfig=_}function K(){u.Pro&&u.Pro.trackEvent&&(b.getData("static")||b.applyFilters("disable_tracking",b.getData("disable-tracking"))||u.Pro.initTracking(b))}function q(e){void 0===e&&(e=!1),e&&e.type?b.setData("event",e):b.setData("event",!1)}function $(){}this.theId=function(e){return e?i:"#"+i},this.postId=function(){var e=h.getOption("areaPrefix");if(!e||0!==i.indexOf(e))return 0;var t=parseInt(i.replace(e,""));return isNaN(t)?0:t},this.theSession=function(){return c},this.theKey=function(){return n},this.hasId=function(e){var t=h.getOption("areaPrefix");if(e=e.toString().replace(/^#/,""),i===e)return!0;var n=this.postId().toString();if(n&&n===e)return!0;for(var r=0;r<a.length;r++){if(a[r]===e)return!0;if(a[r].replace(t,"")===e)return!0}return!1},this.theType=function(){return r},this.isType=function(e){if(!e)return!0;if("string"!=typeof e)throw new Error("DiviAreaItem.isType() expects a string parameter. Given value is a "+typeof e);if((e=L(e))===r)return!0;if("any"===e||"all"===e)return!0;for(var t=0===e.indexOf("not:"),i=e.replace(/^not:\s*/,"").split(/\s*,\s*/),a=0;a<i.length;a++)if(i[a]===r)return!t;return t},this.addName=function(e){if("string"==typeof e)-1===a.indexOf(e)&&(a.push(e.replace(/^#/,"")),b.isPrepared()&&Y("triggers",N));else if(Array.isArray(e))for(var t=0;t<e.length;t++)this.addName(e[t])},this.getNames=function(){return a.slice()},this.allIds=function(){return[this.theId(!0)].concat(a)},this.show=function(e){this.setData("opencount",this.getData("opencount")+1||1),g.group("Show Area",this.theId()),this.setData("hasShowAnim",!this.isVisible()),this.doAction("setup_area",e),f.attachArea(this),f.reOrderAreas(),g.group()},this.trigger=function(e,t){var i=this,a=this.isPrepared(!0);this.applyFilters("before_trigger",!1,e)||function(e){var t=new Promise((function(e){return e()}));return t=(t=t.then((function(){return new Promise((function(e,t){h.showOnViewport(b)?e():t("Area is not available on this device")}))}))).then((function(){return new Promise((function(e,t){u.isClosed(b)?t("Area is still marked as closed"):e()}))})),e&&e.dev&&(t=t.then((function(){return new Promise((function(t,i){h.showOnViewport(e.dev)?t():i("Do not trigger area on current device")}))}))),b.applyFilters("area_trigger_conditions",t)}(this).then((function(){i.applyFilters("before_trigger_show",!1,e)||i.show(e)})).catch((function(e){g.info.apply(g,["Trigger failed",i.theId()].concat(e)),a||i.detach()}))},this.hide=function(){this.setData("hasShowAnim",!0),this.doAction("cleanup_area"),this.setData("event",void 0),g.debug("Close Area and unlink event handlers:",this.theId()),f.detachArea(this),f.reOrderAreas()},this.get=function(e){return e?p(e,A):A},this.getWrap=function(){return x},this.getCloseButton=function(){return k},this.focus=function(){var e=h.getOption("activePopupClass");f.activateContainer(A),b.hasClass(e)||(b.addClass(e),b.doAction("focus_area"))},this.blur=function(){var e=h.getOption("activePopupClass");b.hasClass(e)&&(b.removeClass(e),b.doAction("blur_area"))},this.attach=function(){if(V(),b.isPrepared(!0)||(s=!1),b.inDom()&&b.isVisible())return b;o=!0;var e=b.findHook();return A.hide(),e?("replace"===e.position&&!0===e.target.data("isArea")?(e.target.blur(),e.target.data("area").detach(!1),e=b.findHook()):"before"===e.position&&(e.target=e.target.prev()),e.target.after(x.detach()),x.attr("data-inline-pos",e.position),"replace"===e.position&&(T=e.target.detach())):x.detach().appendTo(b.getData("container")),x.closest("#et-boc").length||(x.wrap('<div id="et-boc" class="dynamic">'),x.wrap('<div class="et-l dynamic">')),Y("position",b.setPosition),b.setVisible(!0,(function(){if(g.debug("Prepare Size-Observer and position the Area"),O){var e=h.getOption("closeButtonClass")+"-wrap";A.children().each((function(t,i){-1===i.className.indexOf(e)&&O.observe(i)})),O.observe(A[0]),P.observe(x[0])}Y("position",b.setPosition),g.debug("Area.attach() is completed for Area",b.theId())})),b},this.detach=function(e){if(void 0===e&&(e=!0),b.isPrepared()&&!b.inDom())return b;return b.isPrepared(!0)||(s=!0),O&&O.disconnect(),P&&P.disconnect(),b.setVisible(!1,(function(){g.debug("Remove Area from DOM",b.theId());var e=x.parent();T&&(x.after(T),T=null),A.hide(),x.detach(),x.removeAttr("data-inline-pos"),e.hasClass("dynamic")&&!e.children().length&&e.parent().remove(),g.debug("Area.detach() is completed for Area",b.theId())}),e),b},this.findHook=function(){var e='[data-area-hook="'+b.getData("hookid")+'"]',t=p(e);return!!t.length&&{position:t.data("area-place"),target:t.nextAll(':not([data-area-hook]):not([data-inline-pos="before"]):not([data-inline-pos="after"])').first()}},this.setVisible=function(e,t,a){if(void 0===a&&(a=!0),e=!!e,b.isPrepared()&&b.isVisible()===e)return b;"function"!=typeof t&&(t=$),s=e;var n=e?"Show":"Hide";return F(),a&&b.isPrepared()?(g.debug(n+" the prepared Area: Trigger animation",i),j(t)):(g.debug(n+" the Area without animation",i),t()),b.isVisible()?(Q(),b.doAction("show_area")):(b.doAction("hide_area"),c=h.getUniqueId()),b},this.setPosition=function(){var e={},t={};if(!b.isVisible()||!b.inDom())return b;if(b.getData("maxheight")&&(e.overflow="auto",e.maxHeight="100%",t.maxHeight=b.getData("maxheight")),b.getData("maxwidth")&&(e.maxWidth="100%",t.maxWidth=b.getData("maxwidth")),t.zIndex=b.getData("zindex"),b.doAction("resize_area"),b.isType("inline")||b.isType("hover"))x.removeAttr("data-da-position"),x.removeAttr("data-da-position-h"),x.removeAttr("data-da-position-v");else{var i=b.getData("positionh"),a=b.getData("positionv"),n=b.getData("size"),r=b.getSize(),o={minX:0,minY:0,maxX:r.windowWidth,maxY:r.windowHeight};if(x.attr("data-da-position",b.getData("position")),x.attr("data-da-position-h",i),x.attr("data-da-position-v",a),b.isType("flyin")&&(o.minY=parseInt(p("html").css("margin-top"))),b.doAction("position_boundary",o),o.minX>o.maxX){var s=o.maxX;o.maxX=o.minX,o.minX=s}if(o.minY>o.maxY){var l=o.maxY;o.maxY=o.minY,o.minY=l}if("full_width"===n||"full_screen"===n)t.left=o.minX,t.right=o.maxX,t.width="auto";else switch(i){case"left":t.left=o.minX;break;case"right":t.right=parseInt(r.windowWidth-o.maxX);break;case"center":t.left=parseInt(o.minX+(o.maxX-o.minX-r.wrapperWidth)/2)}if("full_height"===n||"full_screen"===n)t.top=o.minY,t.bottom=o.maxY,t.height="auto";else if(!x.attr("data-da-size-full-height"))switch(a){case"top":t.top=o.minY;break;case"bottom":t.bottom=parseInt(r.windowHeight-o.maxY);break;case"center":t.top=parseInt(o.minY+(o.maxY-o.minY-r.wrapperHeight)/2)}b.doAction("position_area",t,e)}return A.css(e),x.css(t),b},this.setTriggerEvent=function(e){return q(e),b},this.addTrigger=function(e,t,i,a){function n(){var n=m.createNewTrigger(t,b,i,a);n?(n.id=e,C[n.id]=n,p(n.start),g.info("Trigger added to Area",b.theId(),n.id)):g.info("Could not create trigger!",b.theId(),t,"Args:",i)}b.removeTrigger(C[e]),u.Pro&&a?u.Pro.checkConditions(this,a).then(n).catch((function(e){g.info.apply(g,["Trigger not added, because condition failed",b.theId(),t,"Reason:"].concat(e))})):n()},this.removeTrigger=function(e){C[e]&&(C[e].stop(),delete C[e])},this.getTrigger=function(e){return e?C[e]:C},this.isVisible=function(){return s},this.inDom=function(){return o},this.isPrepared=function(e){void 0===e&&(e=!1);var t=d;return!d&&e&&(o=!0,d=!0,setTimeout((function(){return b.doAction("area_prepared")}))),t},this.getSize=function(){var e=b.isVisible();if(l&&void 0!==l.width||(l={}),l.width||(l.width=e?A[0].clientWidth:0),l.height||(l.height=e?A[0].clientHeight:0),l.contentWidth||(l.contentWidth=e?A[0].scrollWidth:0),!l.contentHeight&&(l.contentHeight=0,e))if(A.hasClass("et_pb_section")){var t=window.getComputedStyle(A[0]);l.contentHeight+=parseInt(t["border-top-width"]),l.contentHeight+=parseInt(t["padding-top"]),l.contentHeight+=parseInt(t["padding-bottom"]),l.contentHeight+=parseInt(t["border-bottom-width"]),A.children().each((function(){l.contentHeight+=this.offsetHeight}))}else l.contentHeight=A[0].scrollHeight;return l.wrapperWidth||(l.wrapperWidth=e?x[0].offsetWidth:0),l.wrapperHeight||(l.wrapperHeight=e?x[0].offsetHeight:0),l.windowWidth||(l.windowWidth=window.innerWidth),l.windowHeight||(l.windowHeight=window.innerHeight),l},this.getData=function(e){var t;return e?(e=e.toLowerCase().replace(/[^a-z0-9]/g,""),D.hasOwnProperty(e)?(e=D[e],t=!_[e]):t=_[e]):t=Object.keys(_).filter((function(e){return"string"==typeof e&&"_"!==e[0]})).reduce((function(e,t){return e[t]=_[t],e}),{}),t},this.setData=function(e,t){if(void 0===t)return this;if(e=e.toLowerCase().replace(/[^a-z0-9]/g,""),w.hasOwnProperty(e))t=h.toBool(t,w[e]),D.hasOwnProperty(e)&&(e=D[e],t=!t);else switch(e){case"fixzindex":case"zindex":t=parseInt(t);break;case"closedelay":t=parseFloat(t);break;case"position":-1!==t.indexOf("top")?_.positionv="top":-1!==t.indexOf("bottom")?_.positionv="bottom":_.positionv="center",-1!==t.indexOf("left")?_.positionh="left":-1!==t.indexOf("right")?_.positionh="right":_.positionh="center",t=_.positionv+"-"+_.positionh;break;case"positionh":if("left"!==t&&"right"!==t&&"center"!==t)return b;break;case"positionv":if("top"!==t&&"bottom"!==t&&"center"!==t)return b;break;case"container":(t=p(t).first()).length||(t=p("body"));break;case"attachto":t=!!t&&p(t).first()}switch(_[e]=t,e){case"positionh":case"positionv":_.position=_.positionv+"-"+_.positionh}return V(),b},this.doAction=function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];Array.isArray(t)||(t=[]),t.push(b),DiviArea.doAction.apply(DiviArea,[[e,e+"_"+b.theKey()]].concat(t))},this.applyFilters=function(e,t){for(var i=[],a=arguments.length-2;a-- >0;)i[a]=arguments[a+2];return Array.isArray(i)||(i=[]),i.push(b),DiviArea.applyFilters.apply(DiviArea,[[e,e+"_"+b.theKey()],t].concat(i))},this.addFilter=function(e,t,i,a){DiviArea.addFilter(e+"_"+b.theKey(),t,i,a)},this.addAction=function(e,t,i,a){DiviArea.addAction(e+"_"+b.theKey(),t,i,a)},this.removeFilter=function(e,t){DiviArea.removeFilter(e+"_"+b.theKey(),t)},this.removeAction=function(e,t){DiviArea.removeAction(e+"_"+b.theKey(),t)},this.addActionOnce=function(e,t,i,a){DiviArea.addActionOnce(e+"_"+b.theKey(),t,i,a)},this.trackEvent=function(e,t){u.Pro&&u.Pro.trackEvent&&u.Pro.trackEvent(this,e,t)},this.hasClass=A.hasClass.bind(A),this.addClass=A.addClass.bind(A),this.removeClass=A.removeClass.bind(A),this.attr=A.attr.bind(A),this.removeAttr=A.removeAttr.bind(A),this.find=A.find.bind(A),this.css=A.css.bind(A),this.on=A.on.bind(A),this.off=A.off.bind(A),function(e){for(var t in H=H.bind(e),z=z.bind(e),F=F.bind(e),j=j.bind(e),V=V.bind(e),E=E.bind(e),M=M.bind(e),W=W.bind(e),U=U.bind(e),B=B.bind(e),R=R.bind(e),Q=Q.bind(e),Y=Y.bind(e),X=X.bind(e),K=K.bind(e),e)e.hasOwnProperty(t)&&"function"==typeof e[t]&&(e[t]=e[t].bind(e))}(b),H()},window.DiviAreaTrigger=function(e,t,i){var a,n,r,o=jQuery,s=window.DiviArea.Utils,l=this,d={once:!1,single:!0,selector:[]},c=!1;function p(){}function u(){if(a=!0,t.once=s.isTrue(t.once,d.once),t.single=s.isTrue(t.single,d.single),t.selector&&("string"==typeof t.selector||Array.isArray(t.selector))||(t.selector=d.selector),Array.isArray(t.selector)?t.selector=t.selector:"string"==typeof t.selector&&(t.selector=t.selector.split(",")),"string"==typeof t.hashes?t.hashes=t.hashes.split(","):Array.isArray(t.hashes)?t.hashes=t.hashes:t.hashes=[],t.hashes.map((function(e){return e.toString().trim()})),t.delay=Math.max(50,(1e3*parseFloat(t.delay)||0)+20),void 0===t.distance?t.distance=-1:"string"==typeof t.distance&&-1!==t.distance.indexOf("%")&&(t.percent=t.distance,t.distance=-1),void 0===t.percent&&(t.percent=-1),-1!==t.percent&&(t.percent=Math.max(0,Math.min(100,parseFloat(t.percent)||0))),-1!==t.distance)if("string"==typeof t.distance){var e=t.distance.match(/(-?[\d.]+)([a-z]*)/);t.distance=[Math.max(0,Math.min(100,parseFloat(e[1]))),e[2]]}else t.distance=[parseFloat(t.distance),"px"];delete l.setArgDefault}function f(e){return(!(e=o(e))||!e.length||!e instanceof jQuery)&&(e=o(document)),e}this.parseDiviLinks=function(t){void 0===t&&(t="");var i=window.et_link_options_data;if(i&&i.length)for(var a=i.length-1;a>=0;a--){var n=i[a];e.hasId(n.url)&&(n.dap_class||(n.dap_class=n.class,delete n.class,i[a]=n),n.dap_class&&this.addSelector("."+n.dap_class+t))}},this.setArgDefault=function(e,t){d[e]=t},this._setup=function(e){n="function"==typeof e.start?e.start:p,r="function"==typeof e.stop?e.stop:p,delete l._setup},this.isActive=function(){return c},this.getType=function(){return type},this.getArgs=function(e){return!0!==a&&u(),e&&"string"==typeof e?"selector"===e?t[e].join(","):t[e]:t},this.addSelector=function(e){!0!==a&&u(),-1===t.selector.indexOf(e)&&t.selector.push(e)},this.bindEvent=function(t,i){var a="data-trigger-"+i;return t.not(".et_pb_section.popup,.area-outer-wrap,.divi-area-wrap").not("["+a+"]").attr(a,e.theId(!0)).off(i).on(i,this.run)},this.unbindEvent=function(e,t){var i="data-trigger-"+t;return e.filter("["+i+"]").removeAttr(i).off(t,this.run)},this.start=function(e){n(f(e)),c=!0},this.stop=function(e){r(f(e)),c=!1},this.run=function(t){if(t&&t.type){if("click"===t.type){var a=o(t.target);if("A"===a.prop("tagName")&&a.attr("href").length&&!a.attr("data-trigger-click"))return!0}t.preventDefault(),t.stopImmediatePropagation()}return l.getArgs("once")?(e.getData("opencount")||e.trigger(t,i),l.stop()):e.trigger(t,i),!1}};var e,t,i,a,n,r,o,s={isPro:!1,version:"3.0.2",lib:"DiviPopup",app:"Popups for Divi",_notice:"You can disable the debug output by disabling WP_DEBUG"};e=jQuery,t=window.DiviArea||{},i=t.Core=t.Core||{},a=t.Utils=t.Utils||{},n=t.Debug=t.Debug||{},r=t.Data=t.Data||{},o=0,t.init=function(){var e=s;for(var r in e)e.hasOwnProperty(r)&&!this.hasOwnProperty(r)&&"_"!==r[0]&&(this[r]=e[r]);this.info=this.lib+"-"+this.version,this.loaded=!0,n.info("🚀 Initialize "+this.app,"- JS API:",this.info),n.info("ℹ️",e._notice),n.debug("Details about the Debug Mode","https://divimode.com/knowledge-base/debug-options/"),a.init(),t.UI.init(),i.smartInit()},t.markClosed=function(e,i){var r=t.getArea(e);r&&(e=r.theId(!0)),a.getOption("debug")&&n.info("📌 Mark Area as closed for "+i+" minutes:",e),a.setLocalData(e,"1",i)},t.isClosed=function(e){var i=t.getArea(e);i&&(e=i.theId(!0));var o=a.getLocalData(e);if(a.getOption("debug")){var s=r.sanitizeId(e);"1"===o?n.info("📌 Area is still closed:",s):n.info("📌 Area is not closed:",s)}return"1"===o},t.register=function(a,s,l,d){var c;if(void 0===s&&(s={}),void 0===l&&(l=!1),"string"!=typeof a||e(a).length||(a=r.sanitizeId(a)),a&&(c=e(a)),!c||1!==c.length)return n.error("Cannot find the Area element:",a),!1;var p=t.getArea(a);if(p)return p;if("string"!=typeof a&&((a=c.attr("id"))&&!t.getArea(a)||(a=c.data("id")),a&&!t.getArea(a)||(a="dynamic-area-"+ ++o),c.attr("id",a)),c.length&&s.selector&&(c=c.filter(s.selector),delete s.selector),!c.length)return n.error("Cannot find the Area element:",a),!1;if(c.length>1)return n.error("Multiple matching elements found, but require exactly one:",a,c),!1;if("function"!=typeof l||d||(d=l,l=!1),!l){if(c.data("da-type"))l=c.data("da-type"),c.removeAttr("data-da-type");else if(c.data("type"))l=c.data("type"),c.removeAttr("data-type");else for(var u=c[0].className.split(/\s+/),f=0;f<u.length;f++)if(0===u[f].indexOf("divi-area-type-")){l=u[f].replace("divi-area-type-",""),c.removeClass(u[f]);break}if(!l)return n.error("Cannot determine the type for this Area",a,c),!1}if(n.group("Register Area | "+l+" | "+a),s.areaHook&&s.hookId&&"inline"===l){var h=e(s.areaHook).first();if(h.length){var g=e("<span>");g.attr("data-area-hook",s.hookId),g.attr("data-area-place",s.areaPlace),h.before(g)}else n.error("Inline hook not found:",s.areaHook)}var v=r.createArea(c,l,a);return s.alternateid?v.addName(s.alternateid):s.alternateId?v.addName(s.alternateId):s.ids&&v.addName(s.ids),delete s.alternateid,delete s.alternateId,delete s.ids,Object.keys(s).forEach((function(e){v.setData(e,s[e])})),v.setData("wrapClasses","et-l entry-content"),v.setData("container",i.getContext()),v.applyFilters("pre_init_area",!1)||(v.isType("inline")&&v.getData("static")?(i.initContainer(v),t.show(a,"static")):v.detach()),n.info("➕ Registered new area:",a,"("+l+")"),n.group(),"function"==typeof d&&d(v),v.doAction("init_area"),v},t.show=function(e,i){if(!e)return!1;var a=t.getArea(e);return a?(a.show(i),!0):(n.error("Could not find an area with the ID:",e),!1)},t.hide=function(e){var t=r.getVisibleArea(e);t&&t.hide()},function(e,t,i){var a=t.DiviArea||{},n=a.Core=a.Core||{},r=a.Utils=a.Utils||{},o=a.Data=a.Data||{},s=a.Debug=a.Debug||{},l=e(i),d=!1,c=null,p=!1,u=!1,f=e("body");function h(){(c=e(r.getOption("baseContext"))).length>1&&(c=c.filter(":visible").length?c.filter(":visible").first():c.first()),c.length?s.debug('Base context "'+r.getOption("baseContext")+'" found'):(s.error('Could not find the popup container "'+r.getOption("baseContext")+'"'),s.debug("Use the body-tag as default context."),c=f),c.closest("#et-boc").length||(c.append('<div id="et-boc" class="dm-base-context"></div>'),c=c.find(".dm-base-context#et-boc").first()),c.closest(".et-l").length||(c.append('<div class="et-l dm-base-context"></div>'),c=c.find(".dm-base-context.et-l").first()),s.debug("Base context container:",c)}function g(e,t){o.isArea(e)||(e=o.getVisibleArea())&&(s.debug("Close the top-most area"),e.doAction("close_area",e,"default"))}function v(e){if(27===e.keyCode)return function(){s.info("⚡️ ESC-key pressed");var e=!1,t=o.getVisibleArea(null,"popup");return t?(e=t.getData("isblocking"),(e=a.applyFilters("ignore_esc_key",e))?(s.debug("Ignored, manually cancelled in filter"),!0):(s.debug("Close top-most popup"),a.doAction("close_area",null,"esc"),!1)):(s.debug("Ignored, no popup is visible"),!0)}()}function m(){var e=a.applyFilters("trigger_exit_intent",[]);e&&e.length}function b(e,t){var i=[];if(t.isType("popup")&&"show"===e&&t.getData("singleton")&&(o.loopVisibleAreas("popup",(function(e){e.theId()!==t.theId()&&i.push(e.theId())})),s.debug("Singleton Popup detected. Close all open Popups:",i)),"hide"===e?t.doAction("before_hide_area",t,i):t.doAction("before_show_area",t,i),i.length)for(var r in s.debug("Hide following areas:",i),i)if(i.hasOwnProperty(r)){var l=a.getArea(i[r]);l&&l.inDom()&&n.detachArea(l)}}function y(i,a){void 0===a&&(a=0),t.recaptcha_test=i;var n=t.grecaptcha,r=t.__recaptcha_api;if(n&&i&&i.length)if(r&&n.render&&n.execute){var o=((e('script[src*="google.com/recaptcha/api.js"]').attr("src")||"").split("?")[1]||"").split("&");try{var l=p("onload"),d=p("render"),c=t.etCore&&etme.api&&etme.api.spam&&etme.api.spam.recaptcha&&etme.api.spam.recaptcha.isEnabled&&etme.api.spam.recaptcha.isEnabled()?etme.api.spam.recaptcha:null;c&&i.find(".et_pb_recaptcha_enabled").length&&c.init(),l&&"function"==typeof t[l]&&t[l](),i.find("form [data-sitekey]").length>0&&i.find("form").each((function(){var i=e(this),a=i.find("[data-sitekey]");if(a.length&&!i.find('iframe[src*="/recaptcha/"]').length){var r={sitekey:a.attr("data-sitekey"),type:a.attr("data-type"),size:a.attr("data-size"),theme:a.attr("data-theme"),badge:a.attr("data-badge"),tabindex:a.attr("data-tabindex")},o=a.attr("data-callback"),s=a.attr("data-expired-callback");o&&"function"==typeof t[o]&&(r.callback=t[o]),s&&"function"==typeof t[s]&&(r["expired-callback"]=t[s]);var l=n.render(a[0],r);t.recaptchaWidgets&&recaptchaWidgets.push(l)}})),d.length>10&&n.execute(d,{action:"homepage"}).then((function(e){i.find('form [name="g-recaptcha-response"]').val(e)}))}catch(e){s.debug("ReCaptcha init failed:",e)}}else a<5&&(isNaN(a)&&(a=0),setTimeout((function(){return y(i,a+1)}),250));function p(e){var t=o.filter((function(t){return 0===t.indexOf(e+"=")}))[0];return t=t?t.replace(/^.*?=/,""):""}}function A(t){var i=e(t.target).closest("[data-da-type][data-da-registered]");if(i.length){var a=r.getOption("fullHeightClass");if(i.hasClass(a)||"show"===i.attr("data-da-overflow"))return!0}return t.preventDefault(),t.stopPropagation(),!1}function _(e,t){var i=r.getOption("hoverTriggerClass"),n=r.getOption("clickTriggerClass");e.parseDiviLinks(":not(."+i+")"),e.parseDiviLinks("."+n);var o=e.getArgs("selector");a.addAction("dom_changed",(function(t){e.isActive()&&e.start(t)})),this.start=function(t){if(o){var i=t.find(o);e.bindEvent(i,"click")}},this.stop=function(t){if(o&&e.isActive()){var i=t.find(o);e.unbindEvent(i,"click")}}}function w(e,t){var i=r.getOption("hoverTriggerClass");e.parseDiviLinks("."+i);var n=e.getArgs("selector");a.addAction("dom_changed",(function(t){e.isActive()&&e.start(t)})),this.start=function(t){if(n){var i=t.find(n);e.bindEvent(i,"mouseenter")}},this.stop=function(t){if(n&&e.isActive()){var i=t.find(n);e.unbindEvent(i,"mouseenter")}}}function D(e,t){var i=10;function n(i){return i.length&&e.getArgs("single")||(i.push(t),e.run(0)),i}t.isType("popup")?i-=5:t.isType("inline")&&(i+=5),e.setArgDefault("once",!0),this.start=function(){e.stop(),a.addFilter("trigger_exit_intent",n,i)},this.stop=function(){e.isActive()&&a.removeFilter("trigger_exit_intent",n)}}n.smartInit=function(){var o=r.getOption("initializeOnEvent");function s(){p||setTimeout(n.init,1)}o?(e(t).add(i).one(o,(function(){setTimeout(n.init,1)})),t.addEventListener("error",s),a.addAction("load",(function(){t.removeEventListener("error",s)})),setTimeout(n.init,350)):setTimeout(n.init,1)},n.init=function(){p||(p=!0,s.debug("Initialize the app"),a.doAction("load"),h(),function(){var t=e(".et_pb_fullscreen_nav_container #mobile_menu_slide");if(!t.length)return;t.parent().css({minHeight:t.outerHeight()})}(),a.registerTriggerType("click",_),a.registerTriggerType("hover",w),a.registerTriggerType("exit",D),setTimeout((function(){!function(){function n(e){var n;"input"!==e.target.tagName.toLowerCase()&&"textarea"!==e.target.tagName.toLowerCase()&&"select"!==e.target.tagName.toLowerCase()&&(n=Math.max(i.documentElement.clientWidth,t.innerWidth||0),e.clientX>=n-50||e.clientY>=50||e.toElement||e.relatedTarget||(s.info("⚡️ Exit-intent detected (mouse leave)"),a.doAction("exit_intent","mouse-leave")))}e(t).on("mouseleave.da",n)}(),a.addAction("exit_intent",m)}),r.getOption("onExitDelay")),a.addAction("ready",(function(){a.addAction("close_area",g),function(e){var i=t.MutationObserver||t.WebKitMutationObserver,a=t.addEventListener,r=n.getContext(),o=!1;function l(){o||(o=setTimeout((function(){o=!1,s.debug("DOM changed"),e()}),50))}if(i){new i((function(e){if(e[0].addedNodes.length||e[0].removedNodes.length)return l()})).observe(r[0],{childList:!0,subtree:!0})}else a&&(r.addEventListener("DOMNodeInserted",l,!1),r.addEventListener("DOMNodeRemoved",l,!1))}(n.activateContainer),l.on("keyup",v)}),1),a.addAction("ready",(function(){n.activateContainer()}),9),a.doAction("ready"),"function"==typeof t.et_pb_side_nav_page_init&&(e(t).off("scroll",et_pb_window_side_nav_scroll_init),e("#main-content .et_pb_side_nav").off("click",".et_pb_side_nav a").remove(),et_pb_side_nav_page_init()))},n.getContext=function(){return c&&c.length||h(),c},n.reOrderAreas=function(){var e=o.countVisibleAreas("popup"),t=o.countVisibleAreas("flyin"),i=o.countVisibleAreas("hover");if(e?f.addClass("da-popup-visible"):(a.hideOverlay(),f.removeClass("da-popup-visible")),t?f.addClass("da-flyin-visible"):f.removeClass("da-flyin-visible"),i?f.addClass("da-hover-visible"):f.removeClass("da-hover-visible"),o.countVisibleAreas()){var n=r.getOption("zIndex"),l=o.countVisibleAreas("not: inline"),d=o.countVisibleAreas("popup"),c=[],p=0,u=0,h={};if(s.debug("Refresh the z-index of visible areas"),o.loopVisibleAreas("not:inline",(function(e){return e.blur()})),o.getVisibleArea().focus(),o.loopVisibleAreas("not: inline",(function(e){var t,i=e.getData("fixZIndex");e.isType("popup")?(u++,t=n+l-d+u,e.hasClass(r.getOption("activePopupClass"))&&(h.overlay=t,t+=1)):(p++,t=n+p),isNaN(i)||(t=i),h[e.theId()]=t})),(h=a.applyFilters("reorder_areas",h)).overlay&&!isNaN(h.overlay)){var g=a.showOverlay(h.overlay);c.push({id:"-",type:"overlay","z-index":g})}for(var v in h)h.hasOwnProperty(v)&&m(v);s.info("👓 List of visible Areas:"),s.table(c)}function m(e){if("overlay"!==e){var t=a.getArea(e);if(t){var i=t.applyFilters("apply_z_index",h[e],t);i&&!isNaN(i)&&t.setData("zindex",i),t.isType("popup")&&t.attach(),c.push({id:t.theId(),type:t.theType(),"z-index":t.getData("zindex")||null})}}}},n.activateContainer=function(t){!t?t=f:o.isArea(t)&&(t=t.get()),function(t){t.find(r.getOption("popupSelector")).not("[data-da-area]").filter("[id],."+r.getOption("exitIndicatorClass")).each((function(){var t=e(this);s.debug("Found an On-Page Popup Area:",t.attr("id")),a.register(t,{},"popup")}))}(t),d||(d=!0,setTimeout((function(){a.doAction("dom_changed",t),d=!1}),100)),n.initContainer(t)},n.initContainer=function(i){var n,o=a.getArea(i);if(o)return i=o.get(),n=o.getData("post_id"),!0!==i.data("_daInitDone")&&(i.data("_daInitDone",!0),f.trigger("post-load"),i.find("img[loading=lazy]").attr("loading","eager"),"function"==typeof t.et_fix_pricing_currency_position&&et_fix_pricing_currency_position(i.find(".et_pb_pricing_table")),n&&i.find(".et_pb_newsletter_form").length&&i.find(".et_pb_newsletter_form [name=et_pb_signup_post_id]").val(n),y(i),function(t){var i=t.getArea();t.find("img").on("load",(function(){return t.trigger("resize")})),"show"!==i.getData("overflow")&&t.find(".et_pb_row").each((function(){var t=e(this),i=r.getStyleDef(t[0],"height"),a=r.getStyleDef(t[0],"max-height");i&&(t.css("height","auto"),r.getStyleDef(t[0],"min-height")||t.css("min-height",i)),a&&t.css("max-height","none")}));t.trigger("resize")}(i),function(t){function i(){var i=e(this),n=i.attr("href").split("#")[1];try{t.find('[id="'+n+'"],a[name="'+n+'"]').length&&i.off("click").on("click",a)}catch(e){}}function a(i){var a=e(this).attr("href").split("#")[1],n=t.find('[id="'+a+'"],a[name="'+a+'"]').first();return t.animate({scrollTop:n.position().top},400),i.preventDefault(),!1}t.find('[href*="#"]').each(i)}(i)),void 0!==t.et_reinit_waypoint_modules&&t.et_reinit_waypoint_modules(),i},n.attachArea=function(e){u||(u=!0,b("show",e),u=!1),o.addVisibleArea(e),e.attach()},n.detachArea=function(e){if(u||(u=!0,b("hide",e),u=!1),e.inDom()){if(!o.isArea(e)||!e.inDom())return;e.removeClass("__is_animating"),o.removeVisibleArea(e),e.blur(),e.detach()}},n.disableBodyScroll=function(){if(!0!==f.data("da-disable-scroll")){f.data("da-disable-scroll",!0),r.bindPassiveEvent([f,a.getOverlay()],"mousewheel touchmove",A);var n=t.innerWidth-i.body.clientWidth;f.addClass(r.getOption("openPopupClass")),n&&(f.css("padding-right",n),f.hasClass("et_boxed_layout")||e(".et_fixed_nav #main-header").css("padding-right",n)),a.doAction("disabled_scrolling")}},n.enableBodyScroll=function(){!0===f.data("da-disable-scroll")&&(f.data("da-disable-scroll",!1),r.unbindPassiveEvent([f,a.getOverlay()],"mousewheel touchmove",A),f.removeClass(r.getOption("openPopupClass")),f.css("padding-right",""),e(".et_fixed_nav #main-header").css("padding-right",""),a.doAction("enabled_scrolling"))},n.closeMainMenu=function(){e(".et_pb_fullscreen_menu_active").length?e(".et_toggle_fullscreen_menu").first().trigger("click"):e(".et_pb_slide_menu_active").length&&e(".et_toggle_slide_menu").first().trigger("click")}}(jQuery,window,document),function(e){var t=window.DiviArea||{},i=t.Data=t.Data||{},a=(t.Core=t.Core||{},t.Utils=t.Utils||{}),n=window.DiviAreaItem,r=window.DiviAreaTrigger;delete window.DiviAreaItem,delete window.DiviAreaTrigger;var o={},s=[],l={};i.sanitizeId=function(e,t){if(!e)return"";if(e instanceof n)return e.theId();if(e instanceof jQuery)return"#"+e.attr("id");if(e&&"string"==typeof e){if(t){var i=new RegExp("^#"+t+":");e=e.replace(i,"#")}"#"!==e[0]&&(e="#"+e)}return"string"==typeof e&&e.length>1?e:""},i.getRealId=function(e){var t=i.getArea(e);return t?t.theId():""},i.getArea=function(e){if(void 0===e)return i.getVisibleArea();if(e instanceof n)return e;if(e.DiviAreaItem&&e.DiviAreaItem instanceof n)return e.DiviAreaItem;if("function"==typeof e.getArea)return e.getArea();if(e instanceof jQuery&&!0===e.data("isArea"))return e.data("area");if("string"==typeof e||"number"==typeof e)for(var t in o){var a=o[t];if(a.hasId(e))return a}return!1},i.createArea=function(t,a,r){return(t=e(t)).length?(r=i.sanitizeId(r),o[r]=new n(t,a),o[r]):""},i.isArea=function(e){return e&&e instanceof n},i.getAllIds=function(e){var t=[];if(e||(e="all"),i.isArea(e))return e.allIds();for(var a in o){var n=o[a];n.isType(e)&&t.push.apply(t,n.allIds())}return t},i.loopAllAreas=function(e,t){if("function"==typeof t){var i=e;e=t,t=i}for(var a in t||(t="all"),o){var n=o[a];n.isType(t)&&e(n,a)}},i.countVisibleAreas=function(e){if(!e||"any"===e)return s.length;var t=0;return i.loopVisibleAreas(e,(function(){return t++})),t},i.addVisibleArea=function(e){if(!(e=t.getArea(e)))return!1;if(i.removeVisibleArea(e),e.isType("popup")||!i.countVisibleAreas("popup"))s.push(e);else for(var a=0;a<s.length;a++)if(s[a].isType("popup")){s.splice(a,0,e);break}},i.removeVisibleArea=function(e){if(!(e=t.getArea(e)))return!1;for(var i=e.theId(),a=s.length-1;a>=0;a--){s[a].theId()===i&&s.splice(a,1)}},i.getVisibleArea=function(e,i){var a=s.length-1;if(!e&&!i)return s[a];if(e){var n=t.getArea(e);return!!n&&(!!n.isType(i)&&(!!n.isVisible()&&n))}for(var r=a;r>=0;r--){var o=s[r];if(o.isType(i))return o}return!1},i.loopVisibleAreas=function(e,t,i){for(var a=s.length,n=i?a-1:0,r=0;r<a;r++){var o=s[n];n+=i?-1:1,o.isType(e)&&t(o,r)}},i.registerTriggerType=function(e,t){l[e]=function(e,i,a){r.call(this,e,i,a),this._setup(new t(this,e))}},i.getTriggerTypes=function(){return Object.assign({},l)},i.createNewTrigger=function(e,t,i,n){var r=!1;return l[e]&&(i&&"object"==typeof i||(i={}),(r=new l[e](t,i,n))&&"function"==typeof r.start&&"function"==typeof r.stop?r.id=e+"_"+a.getUniqueId():r=!1),r}}(jQuery),function(e){var t=window.DiviArea||{},i=t.Core=t.Core||{},a=t.Utils=t.Utils||{},n=t.Data=t.Data||{},r=t.Debug=t.Debug||{},o=null,s=!1;function l(e){r.info("⚡️ Click on background overlay"),e.preventDefault(),t.doAction("click_overlay",o);var i=n.getVisibleArea(null,"popup");return i?i.getData("ismodal")?(r.debug("Ignore click:",'Top-most popup is marked as "modal"'),!1):t.applyFilters("ignore_overlay_click",!1)?(r.debug("Ignore click:","Manually cancelled via filter"),!1):(t.doAction("close_area",null,"overlay"),n.countVisibleAreas("popup")||t.hideOverlay(),!1):(r.debug("Ignore click:","No visible Popups found"),!1)}t.showOverlay=function(e){var o=t.getOverlay();return e&&!isNaN(e)||(e=a.getOption("zIndex"),e+=Math.max(0,n.countVisibleAreas())),o.css({zIndex:e}),s||(s=!0,r.info("⤴️ Show background overlay"),i.disableBodyScroll(),o.detach().appendTo(i.getContext()),o.fadeIn(a.getOption("animateSpeed")),t.doAction("show_overlay",o),i.closeMainMenu()),e},t.hideOverlay=function(){s&&(s=!1,r.info("⤵️ Hide background overlay"),o.hide().detach(),i.enableBodyScroll(),t.doAction("hide_overlay",o))},t.getOverlay=function(){return null===o&&((o=e("<div />")).addClass(a.getOption("overlayClass")),o.on("click.popup",l),t.doAction("init_overlay",o)),o}}(jQuery),function(e,t){var i=t.DiviArea||{},a=i.UI=i.UI||{},n=i.Debug=i.Debug||{},r={};function o(e,t){var i;return i="show"===t?parseInt(e.getData("animationSpeedIn")):parseInt(e.getData("animationSpeedOut")),(isNaN(i)||i<0)&&(i=0),i}function s(e){return e.push(".et_fixed_nav #main-header"),e}function l(t,i,a,r){var o,s="da-push-"+t,l="margin-"+t,c="top"===t||"bottom"===t?"v":"h";if(n.debug("Add Container Space (push content)",t,i+"px"),"top"===t?o=e("body"):(o=e("#page-container")).length||(o=e("body")),void 0===o.data(s)){var p=parseInt(o.css(l));isNaN(p)&&(p=0),o.data(s,p)}isNaN(i)&&(i=0);var u=parseInt(o.data(s))+i;isNaN(u)&&(u=i),u<0&&(u=0);var f=!u;if(o.data(s,u),d(o,l,u,a,f),"h"===c){var h=parseInt(o.css("width"));i>0&&o.css("width",h),d(o,"width",h-i,a,f)}e(r).each((function(){var n=e(this),r=parseInt(n.css(t)),o=(isNaN(r)?0:r)+i;if(i>0&&n.css(t,r),"h"===c){var s=parseInt(n.css("width"));i>0&&n.css("width",s),d(n,"width",s-i,a,f)}d(n,t,o,a,f)}))}function d(e,t,i,a,r,o){void 0===r&&(r=!1),void 0===o&&(o="ease-in-out"),n.debug(" Push Content",e.prop("tagName")+"#"+e.attr("id"),t+": "+e.css(t)+" → "+i+"px");var s=e.css("transition");e.css("transition",s+", "+t+" "+a+"ms "+o),e.css(t,i+"px"),setTimeout((function(){e.css("transition",""),r&&e.css(t,"")}),a+20)}function c(e,t,i){i=i||e.data("et_waypoint_max_instances")||1;var a=e.data("et_waypoint")||[];if(a.length<i){var n=e.waypoint(t);n&&n.length>0&&(a.push(n[0]),e.data("et_waypoint",a))}else for(var r=0;r<a.length;r++)a[r].context.refresh()}a.init=function(){i.addAction("push_fixed_elements_top",s),i.addAction("push_fixed_elements_left",s),i.addAction("push_fixed_elements_right",s)},a.animateArea=function(e,i,a){var s=!1,d=!1,p=!1,u=function(){n.debug("Area animation is complete",i,e.theId()),"function"==typeof a&&a()};if(e.isType("flyin"))t.TweenLite&&(d=!0),p=!!e.getData("pushContent");else if("hide"===i)return void u();e.hasClass("et_pb_section")&&jQuery.fn.waypoint&&"yes"!==et_pb_custom.ignore_waypoints&&function(e){var t=e.attr("data-animation"),i=!1;if(!t)return!1;if(!(i=r[t]))return!1;jQuery("body").css("overflow-x","hidden"),jQuery("#page-container").css("overflow-y","hidden"),e.attr({"data-animation-style":i.style,"data-animation-repeat":"once"===i.repeat?"":"infinite","data-animation-duration":i.duration,"data-animation-delay":i.delay,"data-animation-intensity":i.intensity,"data-animation-starting-opacity":i.starting_opacity,"data-animation-speed-curve":i.speed_curve}),c(e,{offset:"100%",handler:function(){!function(e){var t=e.attr("data-animation-style"),i=e.attr("data-animation-repeat"),a=e.attr("data-animation-duration"),n=e.attr("data-animation-delay"),r=e.attr("data-animation-intensity"),o=e.attr("data-animation-starting-opacity"),s=e.attr("data-animation-speed-curve");!function(e){for(var t=[],i=e.get(0).attributes,a=0;a<i.length;a++)"data-animation-"===i[a].name.substring(0,15)&&t.push(i[a].name);jQuery.each(t,(function(t,i){e.removeAttr(i)}))}(e);var l=isNaN(parseInt(o))?0:.01*parseInt(o);-1===jQuery.inArray(s,["linear","ease","ease-in","ease-out","ease-in-out"])&&(s="ease-in-out"),e.css({"animation-duration":a,"animation-delay":n,opacity:l,"animation-timing-function":s});for(var d={},c=isNaN(parseInt(r))?50:parseInt(r),p=["slide","zoom","flip","fold","roll"],u=!1,f=!1,h=0;h<p.length;h++){var g=p[h];if(t&&t.substr(0,g.length)===g){u=g,""!==(f=t.substr(g.length,t.length))&&(f=f.toLowerCase());break}}!1!==u&&!1!==f&&(d=function(e,t,i){var a={};switch(e){case"slide":switch(t){case"top":a={transform:"translate3d(0, "+(n=-2*i)+"%, 0)"};break;case"right":a={transform:"translate3d("+(n=2*i)+"%, 0, 0)"};break;case"bottom":a={transform:"translate3d(0, "+(n=2*i)+"%, 0)"};break;case"left":var n=-2*i;a={transform:"translate3d("+n+"%, 0, 0)"};break;default:a={transform:"scale3d("+(r=.01*(100-i))+", "+r+", "+r+")"}}break;case"zoom":var r=.01*(100-i);switch(t){case"top":case"right":case"bottom":case"left":default:a={transform:"scale3d("+r+", "+r+", "+r+")"}}break;case"flip":switch(t){case"right":a={transform:"perspective(2000px) rotateY("+(o=Math.ceil(.9*i))+"deg)"};break;case"left":a={transform:"perspective(2000px) rotateY("+(o=-1*Math.ceil(.9*i))+"deg)"};break;case"top":default:a={transform:"perspective(2000px) rotateX("+(o=Math.ceil(.9*i))+"deg)"};break;case"bottom":a={transform:"perspective(2000px) rotateX("+(o=-1*Math.ceil(.9*i))+"deg)"}}break;case"fold":switch(t){case"top":a={transform:"perspective(2000px) rotateX("+(o=-1*Math.ceil(.9*i))+"deg)"};break;case"bottom":a={transform:"perspective(2000px) rotateX("+(o=Math.ceil(.9*i))+"deg)"};break;case"left":a={transform:"perspective(2000px) rotateY("+(o=Math.ceil(.9*i))+"deg)"};break;case"right":default:a={transform:"perspective(2000px) rotateY("+(o=-1*Math.ceil(.9*i))+"deg)"}}break;case"roll":switch(t){case"right":case"bottom":a={transform:"rotateZ("+(o=-1*Math.ceil(3.6*i))+"deg)"};break;case"top":case"left":a={transform:"rotateZ("+(o=Math.ceil(3.6*i))+"deg)"};break;default:var o=Math.ceil(3.6*i);a={transform:"rotateZ("+o+"deg)"}}}return a}(u,f,c)),jQuery.isEmptyObject(d)||e.css(d),e.addClass("et_animated"),e.addClass(t),e.addClass(i)}(jQuery(this.element))}})}(e.get())&&(s=!0),d?function(e,i,a){n.debug("Animate Area using GSAP");var r={},s={},l=e.get();l.css({opacity:"show"===i?0:1,transition:"all 0s"}),l.show(),t.setTimeout((function(){var n=e.getData("positionH"),d=e.getData("positionV"),c=o(e,i);"left"===n?(r.left=-1*l.outerWidth(),s.left=0):"right"===n?(r.right=-1*l.outerWidth(),s.right=0):"top"===d?(r.top=-1*l.outerHeight(),s.top=0):"bottom"===d&&(r.bottom=-1*l.outerHeight(),s.bottom=0),r.opacity=1,s.opacity=1,"show"===i?(l.css(r),TweenLite.to(l,c/1e3,{css:s})):(l.css(s),TweenLite.to(l,c/1e3,{css:r})),t.setTimeout(a,c)}),5)}(e,i,u):s?function(e,i,a){n.debug("Animate Area using a Divi Animation");var r=e.get();r.show(),r.css({opacity:0}),t.setTimeout((function(){r.css({opacity:""}),c(r,{offset:"100%",handler:function(){r.addClass("et-animated"),a()}},2)}),10)}(e,0,u):function(e,t,i){var a=e.get(),r=o(e,t);"show"===t?(n.debug("Animate Area using jQuery fadeIn",r),a.fadeIn(r,i)):"hide"===t&&(n.debug("Animate Area using jQuery fadeOut",r),a.fadeOut(r,i))}(e,i,u),p&&setTimeout((function(){return function(e,t){n.debug("Push content:",t);var i=e.getData("positionH"),a=e.getData("positionV"),r=o(e,t),s=e.getSize(),d="",c=0;"right"===i||"left"===i?(c=s.width,d=i):"top"!==a&&"bottom"!==a||(c=s.height,d=a);if(d){var p=e.applyFilters("push_fixed_elements_"+d,[],d);l(d,"show"===t?c:-1*c,r,p)}else n.debug("Could not determine edge to push",a,i)}(e,i)})),n.debug("Animate Area finished - animation might continue asynchronously")},a.initializeAreaAnimation=function(e){if(!t.et_animation_data||!t.et_animation_data.length>0)return!1;e.removeClass("et-waypoint"),e.removeClass("et-animated");for(var i=0;i<et_animation_data.length;i++){var a=!1,n=et_animation_data[i];if(n&&(n.class&&e.hasClass(n.class)&&n.style&&n.repeat&&n.duration&&n.delay&&n.intensity&&n.starting_opacity&&n.speed_curve))return a=n.class,e.addClass("pfd-waypoint"),e.attr("data-animation",a),r[a]=n,et_animation_data[i].class=void 0,!0}return!1}}(jQuery,window),function(e){var t=e.DiviArea||{},i=t.Debug=t.Debug||{},a=t.Hooks=t.Hooks||{},n=e.console,r=!1,o={},s=[],l=e.DiviAreaConfig;i.group=function(e){if(l.debug&&n.group){var t=!r||e&&e!==r;if(r&&(n.groupEnd(),r=!1),e&&t){var i=Array.prototype.slice.call(arguments);i.unshift("[DiviAreas]"),n.group.apply(this,i),r=e}}},i.profile=function(t,i){if(l.debug&&l.debugVerbose&&e.performance&&performance.now){var a=performance.now(),r=["[DiviAreas Timer]"];if(o[t]&&!0!==i){if(o[t]){var d=a-o[t],c=d.toFixed(4).padStart(8)+" ms";!1===i||void 0===i?(r.push("End |",t,"|",c),delete o[t],s.push({group:t,duration:c,value:d})):i&&r.push("Log |",t,"|",c,"|",i)}}else o[t]=a,r.push("Start |",t),i&&r.push("|",i);r.length>1&&n.log.apply(this,r)}},i.profileSummary=function(){if(l.debug&&l.debugVerbose)if(s.length){var e=s.reduce((function(e,t){return("number"==typeof e?e:0)+t.value}))/s.length;n.table(s),n.log("Average:",e.toFixed(4).padStart(8)+" ms /",s.length+" entries")}else n.log("No profile data collected yet")},i.table=function(){if(l.debug){var e=Array.prototype.slice.call(arguments);Array.isArray(e[0])||(e=[e]),n.table?n.table.apply(this,e):n.log.apply(this,e)}},i.verbose=function(){if(l.debug&&l.debugVerbose){var e=Array.prototype.slice.call(arguments);e.unshift("color:#cfd8dc;font-style:italic"),e.unshift("[DiviAreas] %c%s"),n.debug.apply(this,e)}},i.debug=function(){if(l.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#90a4ae"),e.unshift("[DiviAreas] %c%s"),n.debug.apply(this,e)}},i.info=function(){if(l.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#0288d1;background:#fafcfe"),e.unshift("[DiviAreas] %c%s"),n.log.apply(this,e)}},i.error=function(){var e=Array.prototype.slice.call(arguments);e.unshift("[DiviAreas]"),n.error.apply(this,e)},i.sysInfo=function(){var i=["\n----------"];if(i.push("Please copy-paste this information into your support ticket:"),i.push("----------\n"),t.lib&&t.version&&i.push(" • js_api: "+t.lib+" "+t.version),e.DiviAreaConfig&&DiviAreaConfig.sys)for(var a in DiviAreaConfig.sys)if(DiviAreaConfig.sys.hasOwnProperty(a))try{i.push(" • "+a+": "+" ".repeat(Math.max(0,11-a.length))+DiviAreaConfig.sys[a])}catch(e){}i.push(" • jQuery: v"+jQuery.fn.jquery),i.push(" • browser: "+navigator.userAgent),i.push("\n----------\n"),console.log(i.join("\n"))};var d=!0,c={};c.silent=a.silent,c.removeFilter=a.removeFilter,c.removeAction=a.removeAction,c.applyFilters=a.applyFilters,c.doAction=a.doAction,c.addFilter=a.addFilter,c.addAction=a.addAction,c.addActionOnce=a.addActionOnce,a.silent=function(){return d=!1,c.silent.apply(this,arguments)},t.removeFilter=a.removeFilter=function(e){return d&&i.debug("Remove Filter:",e),d=!0,c.removeFilter.apply(this,arguments)},t.removeAction=a.removeAction=function(e){return d&&i.debug("Remove Action:",e),d=!0,c.removeAction.apply(this,arguments)},t.applyFilters=a.applyFilters=function(e){if(d){Array.isArray(e)||(e=[e]),i.info("📢️ Apply Filters:",e.join(" → "));for(var t=0;t<e.length;t++)i.debug(' ⚙ App.addFilter("'+e[t]+'", callback)')}return d=!0,c.applyFilters.apply(this,arguments)},t.doAction=a.doAction=function(e){if(d){Array.isArray(e)||(e=[e]),i.info("📢️ Do Action:",e.join(" → "));for(var t=0;t<e.length;t++)i.debug(' ⚙ App.addAction("'+e[t]+'", callback)')}return d=!0,c.doAction.apply(this,arguments)},t.addFilter=a.addFilter=function(e){return d&&i.debug("Add Filter:",e),d=!0,c.addFilter.apply(this,arguments)},t.addAction=a.addAction=function(e){return d&&i.debug("Add Action:",e),d=!0,c.addAction.apply(this,arguments)},t.addActionOnce=a.addActionOnce=function(e){return d&&i.debug("Add Action Once:",e),d=!0,c.addActionOnce.apply(this,arguments)}}(window),function(){var e=window.DiviArea||{},t=e.Debug=e.Debug||{},i=e.Utils=e.Utils||{},a=e.Data=e.Data||{};e.openPopup=function(i){t.error("DiviArea.openPopup() is deprecated. Please use DiviArea.show() instead"),e.show(i)},e.openArea=function(i){t.error("DiviArea.openArea() is deprecated. Please use DiviArea.show() instead"),e.show(i)},e.closePopup=function(i){t.error("DiviArea.closeArea() is deprecated. Please use DiviArea.hide() instead"),e.hide(i)},e.closeArea=function(i){t.error("DiviArea.closeArea() is deprecated. Please use DiviArea.hide() instead"),e.hide(i)},a.configArea=function(i,a,n){t.error("DiviArea.configArea() is deprecated. Please use DiviArea.setData() instead");var r=e.getArea(i);if(r)if("object"==typeof a)for(var o in a)a.hasOwnProperty(o)&&r.setData(o,a[o]);else r.setData(a,n)},e.Hooks.silent().addAction("init_area",(function(t){e.Hooks.silent().doAction("init_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("show_area",(function(t){e.Hooks.silent().doAction("show_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("hide_area",(function(t){e.Hooks.silent().doAction("hide_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("close_area",(function(t,i){t&&e.Hooks.silent().doAction("close_area-"+t.theKey(),t,i)}),1),e.Hooks.silent().addAction("blur_area",(function(t){e.Hooks.silent().doAction("blur_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("focus_area",(function(t){e.Hooks.silent().doAction("focus_area-"+t.theKey(),t)}),1),e.Hooks.silent().addAction("before_show_area",(function(t,i){e.Hooks.silent().doAction("before_show_area-"+t.theKey(),t,i)}),1),e.Hooks.silent().addAction("before_hide_area",(function(t,i){e.Hooks.silent().doAction("before_hide_area-"+t.theKey(),t,i)}),1),e.Hooks.silent().addFilter("ignore_close_area",(function(t,i,a){return t=e.Hooks.silent().applyFilters("before_close_area",t,i,a),t=e.Hooks.silent().applyFilters("before_close_area-"+i.theKey(),t,i,a)}),1),e.Hooks.silent().addFilter("ignore_esc_key",(function(t){return t=e.Hooks.silent().applyFilters("esc_key_pressed",t)}),1),e.Hooks.silent().addAction("area_close_button",(function(e){e.addClass("evr-close_wrap"),e.find(">a").addClass("evr-close")}),1),e.Hooks.silent().addAction("area_wrap",(function(e){e.addClass("popup_outer_wrap")}),1),e.Hooks.silent().addAction("init_overlay",(function(e){e.addClass("evr_fb_popup_modal")}),1),e.Hooks.silent().addAction("refresh_area",(function(e){var t={notmobile:i.getOption("notMobileClass"),nottablet:i.getOption("notTabletClass"),notdesktop:i.getOption("notDesktopClass"),showclose:i.getOption("withCloseClass"),hideclose:i.getOption("noCloseClass"),closealt:i.getOption("altCloseClass"),ismodal:i.getOption("modalIndicatorClass"),noshadow:i.getOption("noShadowClass"),darkmode:i.getOption("darkModeClass"),singleton:i.getOption("singletonClass")};for(var a in t)e.getData(a)?e.addClass(t[a]):e.removeClass(t[a])}),1),e.listAreas=a.getAllIds,e.configArea=a.configArea,e.getArea=a.getArea,e.registerTriggerType=a.registerTriggerType}(),DiviArea.init();return{}}();