Version Description
- Improve the JS API. We rewrote the API from ground up with tons of features and enhancements: Detailed debug logging, an all-new DiviArea base object with support for WordPress-like hooks, and much more!
- Fix a bug where the Popup overlay was hidden too early when displaying more than one Popup at once
- Fix wrong zIndex values when displaying multiple Areas at the same time
- Fix some glitches in the JS script that triggers Divi Areas
Plugin tested with WordPress 5.2.4 and Divi 4.0.6
Download this release
Release Info
Developer | stracker.phil |
Plugin | Popups for Divi |
Version | 1.7.0 |
Comparing to | |
See all releases |
Code changes from version 1.6.3 to 1.7.0
- css/front.css +83 -23
- css/front.css.map +1 -1
- include/class-popups-for-divi-onboarding.php +2 -2
- include/class-popups-for-divi.php +3 -3
- js/builder.js +1 -1
- js/front.js +1 -1
- lang/divi-popup-de_DE.po +4 -4
- plugin.php +3 -3
- readme.txt +15 -9
css/front.css
CHANGED
@@ -10,22 +10,78 @@
|
|
10 |
background: rgba(0, 0, 0, 0.55);
|
11 |
z-index: 99; }
|
12 |
|
13 |
-
.popup
|
|
|
14 |
box-shadow: 0 3px 10px -1px rgba(0, 0, 0, 0.3), 0 2px 50px 2px rgba(0, 0, 0, 0.2);
|
15 |
background-color: #fff; }
|
16 |
-
.popup.divi-area-wrap
|
|
|
17 |
background-color: transparent; }
|
18 |
|
19 |
.popup_outer_wrap {
|
20 |
position: fixed;
|
21 |
-
left: 50%;
|
22 |
-
-webkit-transform: translate(-50%, -50%);
|
23 |
-
transform: translate(-50%, -50%);
|
24 |
-
top: 50%;
|
25 |
-
width: 90%;
|
26 |
z-index: 100;
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
.popup_outer_wrap.popup_full_width {
|
30 |
-webkit-transform: translateY(-50%);
|
31 |
transform: translateY(-50%);
|
@@ -45,30 +101,34 @@
|
|
45 |
transform: none; }
|
46 |
.popup_outer_wrap.popup_full_width.popup_full_height > .popup {
|
47 |
overflow: auto; }
|
|
|
48 |
.popup_outer_wrap .popup {
|
49 |
position: relative;
|
50 |
background-repeat: no-repeat;
|
51 |
background-position: center center;
|
52 |
margin: auto;
|
53 |
transition: all 0.3s;
|
54 |
-
max-height: 100%;
|
55 |
pointer-events: all; }
|
|
|
56 |
.popup_outer_wrap .popup.with-loader {
|
57 |
-
background-image: url(../img/spin.gif), radial-gradient(circle at center, #
|
58 |
background-size: 32px 32px, 48px 48px; }
|
|
|
59 |
.popup_outer_wrap .popup.no-shadow {
|
60 |
box-shadow: none; }
|
|
|
|
|
|
|
|
|
61 |
.popup_outer_wrap .popup .et_pb_row:after,
|
62 |
.popup_outer_wrap .popup .et_pb_row_inner:after,
|
63 |
.popup_outer_wrap .popup .et_pb_slides:after,
|
64 |
.popup_outer_wrap .popup .clearfix:after {
|
65 |
-
content:
|
66 |
|
67 |
-
.admin-bar .popup_outer_wrap {
|
68 |
-
|
69 |
-
|
70 |
-
height: calc(100% - 52px);
|
71 |
-
top: 42px; }
|
72 |
|
73 |
/* Used in front-end when a popup is displayed to a visitor */
|
74 |
#page-container #main-content {
|
@@ -126,7 +186,7 @@ body.evr_popup_open {
|
|
126 |
.popup_outer_wrap .popup .evr-close:focus,
|
127 |
.popup_outer_wrap .popup .evr-close:active {
|
128 |
color: #000;
|
129 |
-
background: #
|
130 |
opacity: 1;
|
131 |
box-shadow: 0 0 4px 0 #0002, 0 0 3px 1px #0001;
|
132 |
-webkit-transform: scale(1.1);
|
@@ -134,17 +194,17 @@ body.evr_popup_open {
|
|
134 |
|
135 |
.divi-area-wrap.dark .evr-close,
|
136 |
.popup_outer_wrap .popup.dark .evr-close {
|
137 |
-
color: #
|
138 |
background: #0002;
|
139 |
-
box-shadow: 0 0 0 1px #
|
140 |
-
text-shadow: 0px 0px 1px #000,0px 0px 3px #
|
141 |
.divi-area-wrap.dark .evr-close:hover, .divi-area-wrap.dark .evr-close:focus, .divi-area-wrap.dark .evr-close:active,
|
142 |
.popup_outer_wrap .popup.dark .evr-close:hover,
|
143 |
.popup_outer_wrap .popup.dark .evr-close:focus,
|
144 |
.popup_outer_wrap .popup.dark .evr-close:active {
|
145 |
-
color: #
|
146 |
background: #2b2b2b;
|
147 |
-
box-shadow: 0 0 1px 1px #
|
148 |
|
149 |
.divi-area-wrap.is-open .evr-close_wrap,
|
150 |
.popup_outer_wrap .popup.is-open .evr-close_wrap {
|
10 |
background: rgba(0, 0, 0, 0.55);
|
11 |
z-index: 99; }
|
12 |
|
13 |
+
.popup,
|
14 |
+
.divi-area-wrap-fly-in {
|
15 |
box-shadow: 0 3px 10px -1px rgba(0, 0, 0, 0.3), 0 2px 50px 2px rgba(0, 0, 0, 0.2);
|
16 |
background-color: #fff; }
|
17 |
+
.popup.divi-area-wrap,
|
18 |
+
.divi-area-wrap-fly-in.divi-area-wrap {
|
19 |
background-color: transparent; }
|
20 |
|
21 |
.popup_outer_wrap {
|
22 |
position: fixed;
|
|
|
|
|
|
|
|
|
|
|
23 |
z-index: 100;
|
24 |
+
pointer-events: none;
|
25 |
+
max-width: 100vw;
|
26 |
+
max-height: 100vh; }
|
27 |
+
.popup_outer_wrap.type-popup {
|
28 |
+
width: 90%;
|
29 |
+
min-width: 320px; }
|
30 |
+
.popup_outer_wrap.type-inline {
|
31 |
+
position: relative;
|
32 |
+
top: unset;
|
33 |
+
bottom: unset;
|
34 |
+
left: unset;
|
35 |
+
right: unset;
|
36 |
+
width: unset;
|
37 |
+
height: unset;
|
38 |
+
-webkit-transform: unset;
|
39 |
+
transform: unset;
|
40 |
+
max-width: unset;
|
41 |
+
max-height: unset; }
|
42 |
+
.popup_outer_wrap:not([class*=" type-inline"]).position-top-left {
|
43 |
+
left: 0;
|
44 |
+
top: 0; }
|
45 |
+
.popup_outer_wrap:not([class*=" type-inline"]).position-top-center {
|
46 |
+
left: 50%;
|
47 |
+
top: 0;
|
48 |
+
-webkit-transform: translate(-50%, 0);
|
49 |
+
transform: translate(-50%, 0); }
|
50 |
+
.popup_outer_wrap:not([class*=" type-inline"]).position-top-center.type-hover {
|
51 |
+
-webkit-transform: translate(-50%, -100%);
|
52 |
+
transform: translate(-50%, -100%); }
|
53 |
+
.popup_outer_wrap:not([class*=" type-inline"]).position-top-right {
|
54 |
+
right: 0;
|
55 |
+
top: 0; }
|
56 |
+
.popup_outer_wrap:not([class*=" type-inline"]).position-center-left {
|
57 |
+
left: 0;
|
58 |
+
top: 50%;
|
59 |
+
-webkit-transform: translate(0, -50%);
|
60 |
+
transform: translate(0, -50%); }
|
61 |
+
.popup_outer_wrap:not([class*=" type-inline"]).position-center-left.type-hover {
|
62 |
+
-webkit-transform: translate(-100%, -50%);
|
63 |
+
transform: translate(-100%, -50%); }
|
64 |
+
.popup_outer_wrap:not([class*=" type-inline"]).position-center-center {
|
65 |
+
left: 50%;
|
66 |
+
top: 50%;
|
67 |
+
-webkit-transform: translate(-50%, -50%);
|
68 |
+
transform: translate(-50%, -50%); }
|
69 |
+
.popup_outer_wrap:not([class*=" type-inline"]).position-center-right {
|
70 |
+
right: 0;
|
71 |
+
top: 50%;
|
72 |
+
-webkit-transform: translate(0, -50%);
|
73 |
+
transform: translate(0, -50%); }
|
74 |
+
.popup_outer_wrap:not([class*=" type-inline"]).position-bottom-left {
|
75 |
+
left: 0;
|
76 |
+
bottom: 0; }
|
77 |
+
.popup_outer_wrap:not([class*=" type-inline"]).position-bottom-center {
|
78 |
+
left: 50%;
|
79 |
+
bottom: 0;
|
80 |
+
-webkit-transform: translate(-50%, 0);
|
81 |
+
transform: translate(-50%, 0); }
|
82 |
+
.popup_outer_wrap:not([class*=" type-inline"]).position-bottom-right {
|
83 |
+
right: 0;
|
84 |
+
bottom: 0; }
|
85 |
.popup_outer_wrap.popup_full_width {
|
86 |
-webkit-transform: translateY(-50%);
|
87 |
transform: translateY(-50%);
|
101 |
transform: none; }
|
102 |
.popup_outer_wrap.popup_full_width.popup_full_height > .popup {
|
103 |
overflow: auto; }
|
104 |
+
.popup_outer_wrap .divi-area-wrap,
|
105 |
.popup_outer_wrap .popup {
|
106 |
position: relative;
|
107 |
background-repeat: no-repeat;
|
108 |
background-position: center center;
|
109 |
margin: auto;
|
110 |
transition: all 0.3s;
|
|
|
111 |
pointer-events: all; }
|
112 |
+
.popup_outer_wrap .divi-area-wrap.with-loader,
|
113 |
.popup_outer_wrap .popup.with-loader {
|
114 |
+
background-image: url(../img/spin.gif), radial-gradient(circle at center, #fff 65%, #fff0 66%) !important;
|
115 |
background-size: 32px 32px, 48px 48px; }
|
116 |
+
.popup_outer_wrap .divi-area-wrap.no-shadow,
|
117 |
.popup_outer_wrap .popup.no-shadow {
|
118 |
box-shadow: none; }
|
119 |
+
.popup_outer_wrap .divi-area-wrap .et_pb_row:after,
|
120 |
+
.popup_outer_wrap .divi-area-wrap .et_pb_row_inner:after,
|
121 |
+
.popup_outer_wrap .divi-area-wrap .et_pb_slides:after,
|
122 |
+
.popup_outer_wrap .divi-area-wrap .clearfix:after,
|
123 |
.popup_outer_wrap .popup .et_pb_row:after,
|
124 |
.popup_outer_wrap .popup .et_pb_row_inner:after,
|
125 |
.popup_outer_wrap .popup .et_pb_slides:after,
|
126 |
.popup_outer_wrap .popup .clearfix:after {
|
127 |
+
content: ""; }
|
128 |
|
129 |
+
.admin-bar .popup_outer_wrap.popup_full_height {
|
130 |
+
height: calc(100% - 52px);
|
131 |
+
top: 42px; }
|
|
|
|
|
132 |
|
133 |
/* Used in front-end when a popup is displayed to a visitor */
|
134 |
#page-container #main-content {
|
186 |
.popup_outer_wrap .popup .evr-close:focus,
|
187 |
.popup_outer_wrap .popup .evr-close:active {
|
188 |
color: #000;
|
189 |
+
background: #fff;
|
190 |
opacity: 1;
|
191 |
box-shadow: 0 0 4px 0 #0002, 0 0 3px 1px #0001;
|
192 |
-webkit-transform: scale(1.1);
|
194 |
|
195 |
.divi-area-wrap.dark .evr-close,
|
196 |
.popup_outer_wrap .popup.dark .evr-close {
|
197 |
+
color: #eee;
|
198 |
background: #0002;
|
199 |
+
box-shadow: 0 0 0 1px #ffffff08;
|
200 |
+
text-shadow: 0px 0px 1px #000, 0px 0px 3px #000a; }
|
201 |
.divi-area-wrap.dark .evr-close:hover, .divi-area-wrap.dark .evr-close:focus, .divi-area-wrap.dark .evr-close:active,
|
202 |
.popup_outer_wrap .popup.dark .evr-close:hover,
|
203 |
.popup_outer_wrap .popup.dark .evr-close:focus,
|
204 |
.popup_outer_wrap .popup.dark .evr-close:active {
|
205 |
+
color: #fff;
|
206 |
background: #2b2b2b;
|
207 |
+
box-shadow: 0 0 1px 1px #fff3; }
|
208 |
|
209 |
.divi-area-wrap.is-open .evr-close_wrap,
|
210 |
.popup_outer_wrap .popup.is-open .evr-close_wrap {
|
css/front.css.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":3,"sources":["webpack:///./gulp/sass/front.scss"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;;AAEd;AACA;AACA,yBAAyB;AACzB;AACA,kCAAkC;;AAElC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,
|
1 |
+
{"version":3,"sources":["webpack:///./gulp/sass/front.scss"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;;AAEd;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA,kCAAkC;;AAElC;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB;AACtB;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA,0CAA0C;AAC1C;AACA;AACA,gDAAgD;AAChD;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA,0CAA0C;AAC1C;AACA;AACA,gDAAgD;AAChD;AACA;AACA;AACA;AACA,6CAA6C;AAC7C;AACA;AACA;AACA;AACA,0CAA0C;AAC1C;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA,0CAA0C;AAC1C;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA,WAAW;AACX;AACA,uBAAuB;AACvB;AACA;AACA,4BAA4B;AAC5B;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA,4CAA4C;AAC5C;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,YAAY;;AAEZ;AACA;AACA,qBAAqB;;AAErB;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA,kBAAkB;;AAElB;AACA,qBAAqB;;AAErB;AACA;AACA;AACA,4BAA4B;;AAE5B;AACA;AACA,2BAA2B;;AAE3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC;;AAEhC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC;;AAElC;AACA;AACA;AACA;AACA;AACA,mDAAmD;AACnD;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC;;AAElC;AACA;AACA;AACA,gCAAgC;;AAEhC;AACA;AACA;AACA,qCAAqC;;AAErC;AACA;AACA,6BAA6B","file":"css/front.css","sourcesContent":["/**\n * Divi Areas Pro - styles for front-end\n */\n.evr_fb_popup_modal {\n position: fixed;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n background: rgba(0, 0, 0, 0.55);\n z-index: 99; }\n\n.popup,\n.divi-area-wrap-fly-in {\n box-shadow: 0 3px 10px -1px rgba(0, 0, 0, 0.3), 0 2px 50px 2px rgba(0, 0, 0, 0.2);\n background-color: #fff; }\n .popup.divi-area-wrap,\n .divi-area-wrap-fly-in.divi-area-wrap {\n background-color: transparent; }\n\n.popup_outer_wrap {\n position: fixed;\n z-index: 100;\n pointer-events: none;\n max-width: 100vw;\n max-height: 100vh; }\n .popup_outer_wrap.type-popup {\n width: 90%;\n min-width: 320px; }\n .popup_outer_wrap.type-inline {\n position: relative;\n top: unset;\n bottom: unset;\n left: unset;\n right: unset;\n width: unset;\n height: unset;\n -webkit-transform: unset;\n transform: unset;\n max-width: unset;\n max-height: unset; }\n .popup_outer_wrap:not([class*=\" type-inline\"]).position-top-left {\n left: 0;\n top: 0; }\n .popup_outer_wrap:not([class*=\" type-inline\"]).position-top-center {\n left: 50%;\n top: 0;\n -webkit-transform: translate(-50%, 0);\n transform: translate(-50%, 0); }\n .popup_outer_wrap:not([class*=\" type-inline\"]).position-top-center.type-hover {\n -webkit-transform: translate(-50%, -100%);\n transform: translate(-50%, -100%); }\n .popup_outer_wrap:not([class*=\" type-inline\"]).position-top-right {\n right: 0;\n top: 0; }\n .popup_outer_wrap:not([class*=\" type-inline\"]).position-center-left {\n left: 0;\n top: 50%;\n -webkit-transform: translate(0, -50%);\n transform: translate(0, -50%); }\n .popup_outer_wrap:not([class*=\" type-inline\"]).position-center-left.type-hover {\n -webkit-transform: translate(-100%, -50%);\n transform: translate(-100%, -50%); }\n .popup_outer_wrap:not([class*=\" type-inline\"]).position-center-center {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%); }\n .popup_outer_wrap:not([class*=\" type-inline\"]).position-center-right {\n right: 0;\n top: 50%;\n -webkit-transform: translate(0, -50%);\n transform: translate(0, -50%); }\n .popup_outer_wrap:not([class*=\" type-inline\"]).position-bottom-left {\n left: 0;\n bottom: 0; }\n .popup_outer_wrap:not([class*=\" type-inline\"]).position-bottom-center {\n left: 50%;\n bottom: 0;\n -webkit-transform: translate(-50%, 0);\n transform: translate(-50%, 0); }\n .popup_outer_wrap:not([class*=\" type-inline\"]).position-bottom-right {\n right: 0;\n bottom: 0; }\n .popup_outer_wrap.popup_full_width {\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n width: 100%;\n left: 0; }\n .popup_outer_wrap.popup_full_width > .popup {\n overflow-x: auto; }\n .popup_outer_wrap.popup_full_height {\n -webkit-transform: translateX(-50%);\n transform: translateX(-50%);\n height: 100%;\n top: 0; }\n .popup_outer_wrap.popup_full_height > .popup {\n overflow-y: auto; }\n .popup_outer_wrap.popup_full_width.popup_full_height {\n -webkit-transform: none;\n transform: none; }\n .popup_outer_wrap.popup_full_width.popup_full_height > .popup {\n overflow: auto; }\n .popup_outer_wrap .divi-area-wrap,\n .popup_outer_wrap .popup {\n position: relative;\n background-repeat: no-repeat;\n background-position: center center;\n margin: auto;\n transition: all 0.3s;\n pointer-events: all; }\n .popup_outer_wrap .divi-area-wrap.with-loader,\n .popup_outer_wrap .popup.with-loader {\n background-image: url(../img/spin.gif), radial-gradient(circle at center, #fff 65%, #fff0 66%) !important;\n background-size: 32px 32px, 48px 48px; }\n .popup_outer_wrap .divi-area-wrap.no-shadow,\n .popup_outer_wrap .popup.no-shadow {\n box-shadow: none; }\n .popup_outer_wrap .divi-area-wrap .et_pb_row:after,\n .popup_outer_wrap .divi-area-wrap .et_pb_row_inner:after,\n .popup_outer_wrap .divi-area-wrap .et_pb_slides:after,\n .popup_outer_wrap .divi-area-wrap .clearfix:after,\n .popup_outer_wrap .popup .et_pb_row:after,\n .popup_outer_wrap .popup .et_pb_row_inner:after,\n .popup_outer_wrap .popup .et_pb_slides:after,\n .popup_outer_wrap .popup .clearfix:after {\n content: \"\"; }\n\n.admin-bar .popup_outer_wrap.popup_full_height {\n height: calc(100% - 52px);\n top: 42px; }\n\n/* Used in front-end when a popup is displayed to a visitor */\n#page-container #main-content {\n transition: all 0s; }\n\nbody.evr_popup_open {\n overflow: hidden; }\n body.evr_popup_open #page-container #main-content {\n transition: all 0.5s 1s;\n -webkit-filter: blur(2px);\n filter: blur(2px);\n opacity: 0.75; }\n\n.divi-area-wrap {\n position: relative; }\n\n/* Styles that are shared between Popups for Divi and Divi Areas Pro */\n.divi-area-wrap.with-close .evr-close_wrap,\n.popup_outer_wrap .popup.with-close .evr-close_wrap {\n display: block !important; }\n\n.divi-area-wrap.no-close .evr-close_wrap,\n.popup_outer_wrap .popup.no-close .evr-close_wrap {\n display: none !important; }\n\n.divi-area-wrap .evr-close_wrap,\n.popup_outer_wrap .popup .evr-close_wrap {\n position: absolute;\n right: 0;\n top: 0;\n opacity: 0.2;\n z-index: 100;\n text-align: right;\n transition: opacity 0.6s 0.3s; }\n\n.divi-area-wrap .evr-close,\n.popup_outer_wrap .popup .evr-close {\n display: block;\n box-sizing: content-box;\n width: 30px;\n height: 30px;\n line-height: 30px;\n text-align: center;\n font-family: \"Courier New\", monospace;\n font-size: 20px;\n font-weight: bold;\n cursor: pointer;\n color: #333;\n background: #fff2;\n opacity: 0.7;\n box-shadow: 0 0 3px 1px #00000008;\n transition: all 0.3s; }\n .divi-area-wrap .evr-close:hover, .divi-area-wrap .evr-close:focus, .divi-area-wrap .evr-close:active,\n .popup_outer_wrap .popup .evr-close:hover,\n .popup_outer_wrap .popup .evr-close:focus,\n .popup_outer_wrap .popup .evr-close:active {\n color: #000;\n background: #fff;\n opacity: 1;\n box-shadow: 0 0 4px 0 #0002, 0 0 3px 1px #0001;\n -webkit-transform: scale(1.1);\n transform: scale(1.1); }\n\n.divi-area-wrap.dark .evr-close,\n.popup_outer_wrap .popup.dark .evr-close {\n color: #eee;\n background: #0002;\n box-shadow: 0 0 0 1px #ffffff08;\n text-shadow: 0px 0px 1px #000, 0px 0px 3px #000a; }\n .divi-area-wrap.dark .evr-close:hover, .divi-area-wrap.dark .evr-close:focus, .divi-area-wrap.dark .evr-close:active,\n .popup_outer_wrap .popup.dark .evr-close:hover,\n .popup_outer_wrap .popup.dark .evr-close:focus,\n .popup_outer_wrap .popup.dark .evr-close:active {\n color: #fff;\n background: #2b2b2b;\n box-shadow: 0 0 1px 1px #fff3; }\n\n.divi-area-wrap.is-open .evr-close_wrap,\n.popup_outer_wrap .popup.is-open .evr-close_wrap {\n opacity: 1;\n transition: opacity 0.6s 0.3s; }\n\n.divi-area-wrap.close-alt .evr-close,\n.popup_outer_wrap .popup.close-alt .evr-close {\n box-shadow: none !important;\n background: transparent !important; }\n\n.divi-area-wrap .et_pb_contact_select,\n.popup_outer_wrap .popup .et_pb_contact_select {\n -moz-appearance: textfield; }\n"],"sourceRoot":""}
|
include/class-popups-for-divi-onboarding.php
CHANGED
@@ -104,7 +104,7 @@ class Popups_For_Divi_Onboarding {
|
|
104 |
|
105 |
// Send the subscription details to our website.
|
106 |
$resp = wp_remote_post(
|
107 |
-
'https://
|
108 |
array(
|
109 |
'headers' => array(
|
110 |
'Content-Type' => 'application/x-www-form-urlencoded; charset=utf-8',
|
@@ -160,7 +160,7 @@ class Popups_For_Divi_Onboarding {
|
|
160 |
</button>
|
161 |
</div>
|
162 |
</div>
|
163 |
-
<p class="privacy"><?php _e( 'Only your name and email is sent to our website. We use the information to deliver the onboarding mails.
|
164 |
<div class="loader"><span class="spinner is-active"></span></div>
|
165 |
<span class="notice-dismiss"><?php _e( 'Close forever', 'divi-popup' ); ?></span>
|
166 |
</div>
|
104 |
|
105 |
// Send the subscription details to our website.
|
106 |
$resp = wp_remote_post(
|
107 |
+
'https://divimode.com/wp-admin/admin-post.php',
|
108 |
array(
|
109 |
'headers' => array(
|
110 |
'Content-Type' => 'application/x-www-form-urlencoded; charset=utf-8',
|
160 |
</button>
|
161 |
</div>
|
162 |
</div>
|
163 |
+
<p class="privacy"><?php _e( 'Only your name and email is sent to our website. We use the information to deliver the onboarding mails. <a href="https://divimode.com/privacy/" target="_blank">Privacy Policy</a>', 'divi-popup' ); ?></p>
|
164 |
<div class="loader"><span class="spinner is-active"></span></div>
|
165 |
<span class="notice-dismiss"><?php _e( 'Close forever', 'divi-popup' ); ?></span>
|
166 |
</div>
|
include/class-popups-for-divi.php
CHANGED
@@ -56,7 +56,7 @@ class Popups_For_Divi {
|
|
56 |
public function plugin_add_settings_link( $links ) {
|
57 |
$links[] = sprintf(
|
58 |
'<a href="%s" target="_blank">%s</a>',
|
59 |
-
'https://
|
60 |
__( 'How it works', 'divi-popup' )
|
61 |
);
|
62 |
return $links;
|
@@ -82,7 +82,7 @@ class Popups_For_Divi {
|
|
82 |
|
83 |
$plugin_meta[] = sprintf(
|
84 |
'<a href="%s" target="_blank">%s</a>',
|
85 |
-
'https://
|
86 |
__( 'Divi Areas <strong>Pro</strong>', 'divi-popup' )
|
87 |
);
|
88 |
|
@@ -358,7 +358,7 @@ class Popups_For_Divi {
|
|
358 |
*
|
359 |
* @since 1.3.0 Default value is WP_DEBUG. Before it, default was false.
|
360 |
*/
|
361 |
-
$config['debug'] = defined( WP_DEBUG ) ? WP_DEBUG : false;
|
362 |
|
363 |
/* -- End of default configuration -- */
|
364 |
|
56 |
public function plugin_add_settings_link( $links ) {
|
57 |
$links[] = sprintf(
|
58 |
'<a href="%s" target="_blank">%s</a>',
|
59 |
+
'https://divimode.com/divi-popup/',
|
60 |
__( 'How it works', 'divi-popup' )
|
61 |
);
|
62 |
return $links;
|
82 |
|
83 |
$plugin_meta[] = sprintf(
|
84 |
'<a href="%s" target="_blank">%s</a>',
|
85 |
+
'https://divimode.com/divi-areas-pro/',
|
86 |
__( 'Divi Areas <strong>Pro</strong>', 'divi-popup' )
|
87 |
);
|
88 |
|
358 |
*
|
359 |
* @since 1.3.0 Default value is WP_DEBUG. Before it, default was false.
|
360 |
*/
|
361 |
+
$config['debug'] = defined( 'WP_DEBUG' ) ? WP_DEBUG : false;
|
362 |
|
363 |
/* -- End of default configuration -- */
|
364 |
|
js/builder.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=
|
1 |
+
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=12)}({12:function(e,n,t){t(13),e.exports=t(14)},13:function(e,n,t){"use strict";window.parent&&window.parent!==window&&window.parent.DiviPopupBuilder?window.DiviPopupBuilder=window.parent.DiviPopupBuilder:window.DiviPopupBuilder=new function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e)}},14:function(e,n,t){}});
|
js/front.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function a(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=e,a.c=t,a.d=function(e,t,o){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(a.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(o,i,function(t){return e[t]}.bind(null,i));return o},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=3)}([function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContext=n,t.getOption=r,t.findTriggers=function(e,t){var a,o,i,n=[];if(!e.ids)return[];function r(e,t){var a;for(a=0;a<t.length;a++)n.push({id:e,item:jQuery(t[a])})}for(a=0;a<e.ids.length;a++)if(r(i=e.ids[a].replace(/^#/,""),jQuery('[href="#'+i+'"]',t)),e.linkPrefix&&r(i,jQuery('[href="#'+e.linkPrefix+i+'"]',t)),e.classPrefix&&r(i,jQuery("."+e.classPrefix+i,t)),e.dataAttrib&&r(i,jQuery("["+e.dataAttrib+'="'+i+'"]',t)),window.et_link_options_data)for(o=et_link_options_data.length-1;o>=0;o--)if("#"+i===et_link_options_data[o].url){var s=jQuery(".et_pb_module."+et_link_options_data[o].class,t);r(i,s),s.off("click"),et_link_options_data.splice(o,1)}return n},t.debug=s,t.error=l,t.toBool=function(e,t){void 0===t&&(t=!0);if(void 0===e||null===e)return!!t;if(!0===e||!1===e)return e;"string"==typeof e&&(e=e.toLowerCase());if(0===e||"0"===e||"n"===e[0]||"f"===e[0]||"off"===e)return!1;if(1===e||"1"===e||"y"===e[0]||"t"===e[0]||"on"===e)return!0;return!!t},t.setLocalData=function(e,t,a){(!a||isNaN(a)||a<1)&&(a=525600);if(window.localStorage){var o=new Date;o=o.setMinutes(o.getMinutes()+a),localStorage.setItem("_da_"+e,o+":"+t)}else d("_da_"+e,t,a)},t.getLocalData=function(e){if(window.localStorage){var t=localStorage.getItem("_da_"+e);if(!t)return!1;var a=t.split(":"),o=parseInt(a.shift()),i=a.join(":");return o>new Date?i:(localStorage.removeItem("_da_"+e),!1)}return p("_da_"+e)},t.setCookie=d,t.getCookie=p,t.addObservers=function(e,t,a,o){var r=window.MutationObserver||window.WebKitMutationObserver,s=window.ResizeObserver||window.WebKitResizeObserver,l=window.addEventListener,d=n();if(r){var p=new r(function(e,a){(e[0].addedNodes.length||e[0].removedNodes.length)&&t()});p.observe(d[0],{childList:!0,subtree:!0})}else l&&(d.addEventListener("DOMNodeInserted",t,!1),d.addEventListener("DOMNodeRemoved",t,!1));s?i[e]=new s(a):window.setInterval(a,750);jQuery(window).resize(a),jQuery(document).on("keyup",o)},t.addAdditionalResizeObserver=function(e,t){i[e]&&!t.data("observe-resize")&&(i[e].observe(t[0]),t.data("observe-resize",!0))},t.removeAdditionalResizeObserver=function(e,t){i[e]&&t.data("observe-resize")&&(i[e].unobserve(t[0]),t.data("observe-resize",!1))},t.toMilliseconds=function(e){var t,a=parseFloat(e,10),o=e.match(/m?s/);o&&(o=o[0]);switch(o){case"s":t=1e3*a;break;case"ms":t=a;break;default:t=0}return t};var o=null,i={};function n(){return o}function r(e){return DiviPopupData[e]}function s(){r("debug")&&console.log.apply(this,arguments)}function l(){console.error.apply(this,arguments)}function d(e,t,a){var o=escape(t);if(a){var i=new Date;i.setMinutes(i.getMinutes()+a),o+="; expires="+i.toUTCString()}document.cookie=e+"="+o+"; path=/"}function p(e){var t,a,o,i=document.cookie.split(";");for(t=0;t<i.length;t++)if(a=i[t].substr(0,i[t].indexOf("=")),o=i[t].substr(i[t].indexOf("=")+1),(a=a.replace(/^\s+|\s+$/g,""))===e)return unescape(o);return!1}!function(){var e={popupSelector:".et_pb_section.popup",fullWidthClass:"popup_full_width",fullHeightClass:"popup_full_height",openPopupClass:"evr_popup_open",overlayClass:"evr_fb_popup_modal",modalIndicatorClass:"is-modal",exitIndicatorClass:"on-exit",activePopupClass:"is-open",noCloseClass:"no-close",altCloseClass:"close-alt",notMobileClass:"not-mobile",notTabletClass:"not-tablet",notDesktopClass:"not-desktop",withCloseClass:"with-close",singletonClass:"single",darkModeClass:"dark",noShadowClass:"with-shadow",closeButtonClass:"evr-close",defaultShowCloseButton:!0,idAttrib:"data-popup",triggerClassPrefix:"show-popup-",baseContext:"body",triggerCloseClass:"close",zIndex:1e5,onExitDelay:2e3,animateSpeed:300,debug:!1,initializeOnEvent:"et_pb_after_init_modules"};if(window.DiviPopupData)for(var t in e)void 0===DiviPopupData[t]&&(DiviPopupData[t]=e[t]),DiviPopupData[t].replace&&(DiviPopupData[t]=DiviPopupData[t].replace(/^[\s\xA0]+|[\s\xA0]+$/g,""));else window.DiviPopupData=e;DiviPopupData.zIndex=parseInt(DiviPopupData.zIndex),DiviPopupData.onExitDelay=parseInt(DiviPopupData.onExitDelay),DiviPopupData.animateSpeed=parseInt(DiviPopupData.animateSpeed),DiviPopupData.debug=!!DiviPopupData.debug,DiviPopupData.defaultShowCloseButton=!!DiviPopupData.defaultShowCloseButton,(!DiviPopupData.triggerClassPrefix||DiviPopupData.triggerClassPrefix.length<3)&&(DiviPopupData.triggerClassPrefix=!1),"body"===DiviPopupData.baseContext&&1===jQuery("body.et_divi_theme #page-container").length&&(s("Divi theme detected. Use #page-container instead of body"),DiviPopupData.baseContext="#page-container"),"body"===DiviPopupData.baseContext||jQuery(DiviPopupData.baseContext).length||(DiviPopupData.baseContext="body"),jQuery(document).trigger("DiviPopup:OptionsReady")}(),(o=jQuery(r("baseContext"))).length||l('Could not find the popup container "'+r("baseContext")+'"')},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getId=l,t.getRealId=d,t.addAltId=function(e,t){if(e===t)return;t=l(t),null===e?delete s[t]:s[t]=e},t.getArea=p,t.registerArea=function(e,t,a){void 0===r[e]&&(r[e]=[]);if(!(t=l(t)))return!1;var s=p(t);if(s)return s;var d=jQuery(t);if(!d.length)return!1;a&&(d=d.filter(a));if(!d||1!==d.length)return!1;"inline"===e?d.attr("data-visible","yes"):(d.detach(),d.attr("data-visible","no"));d.addClass(e),d.data("_id",t),d.data("_type",e),(0,o.attachCloseButton)(d),jQuery(document).trigger("DiviArea:Init",d),d.trigger("DiviArea:Init"),"popup"===e&&(jQuery(document).trigger("DiviPopup:Init",d),d.trigger("DiviPopup:Init"));n[t]=d,d.hasClass((0,i.getOption)("notMobileClass"))?d.data("on-mobile",!1):d.data("on-mobile",(0,i.toBool)(d.data("on-mobile")));d.hasClass((0,i.getOption)("notTabletClass"))?d.data("on-tablet",!1):d.data("on-tablet",(0,i.toBool)(d.data("on-tablet")));d.hasClass((0,i.getOption)("notDesktopClass"))?d.data("on-desktop",!1):d.data("on-desktop",(0,i.toBool)(d.data("on-desktop")));d.hasClass((0,i.getOption)("withCloseClass"))?d.data("show-close",!0):d.hasClass((0,i.getOption)("noCloseClass"))?d.data("show-close",!1):d.data("show-close",(0,i.toBool)(d.data("show-close")));d.hasClass((0,i.getOption)("altCloseClass"))?d.data("close-alt",!0):d.data("close-alt",(0,i.toBool)(d.data("close-alt"),!1));d.hasClass((0,i.getOption)("modalIndicatorClass"))?d.data("is-modal",!0):d.data("is-modal",(0,i.toBool)(d.data("is-modal"),!1));d.hasClass((0,i.getOption)("exitIndicatorClass"))?d.data("trigger-exit",!0):d.data("trigger-exit",(0,i.toBool)(d.data("trigger-exit"),!1));d.hasClass((0,i.getOption)("noShadowClass"))?d.data("no-shadow",!0):d.data("no-shadow",(0,i.toBool)(d.data("no-shadow"),!1));d.hasClass((0,i.getOption)("darkModeClass"))?d.data("dark-mode",!0):d.data("dark-mode",(0,i.toBool)(d.data("dark-mode"),!1));d.hasClass((0,i.getOption)("singletonClass"))?d.data("singleton",!0):d.data("singleton",(0,i.toBool)(d.data("singleton"),!1));return(0,o.configArea)(d),(0,i.debug)("[+] Registered new area:",t),d},t.getAllIds=function(e){var t=[];for(var a in n){var o=n[a];e===o.data("_type")&&t.push(a)}for(var i in s){var r=s[i],l=n[r];e===l.data("_type")&&t.push(i)}return t},t.loopAllAreas=function(e,t){for(var a in n){var o=n[a];e===o.data("_type")&&t(o,a)}},t.countVisibleAreas=function(e){if(void 0===r[e])return 0;return r[e].length},t.addVisibleArea=function(e,t){void 0===r[e]&&(r[e]=[]);r[e].push(t)},t.removeVisibleArea=function(e,t){if(void 0===r[e])return!1;for(var a=r[e].length-1;a>=0;a--){var o=r[e][a];t===o.data("_id")&&r[e].splice(a,1)}},t.getVisibleArea=function(e,t){if(void 0===r[e])return!1;if(void 0===t||-1===t)return r[e][r[e].length-1];if(t)for(var a=0;a<r[e].length;a++)if(t===r[e][a].data("_id"))return r[e][a];return!1},t.loopVisibleAreas=function(e,t){if(void 0===r[e])return!1;for(var a=0;a<r[e].length;a++){var o=r[e][a];t(o,a)}};var o=a(2),i=a(0),n={},r={},s={};function l(e,t){if(e instanceof jQuery){if(e.data("_id"))return e.data("_id");e=e.attr("id")}if(!e)return"";if("#"!==e[0]&&(e="#"+e),t){var a=new RegExp("^#"+t+":");e=e.replace(a,"#",e)}return e?e.toString():""}function d(e){var t=l(e),a=l(s[t]);return void 0!==n[t]?t:void 0!==n[a]?a:""}function p(e){if(e instanceof jQuery)return!!e.data("_id")&&e;var t=d(e);return!!t&&n[t]}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.attachCloseButton=function(e){var t=(0,n.getOption)("closeButtonClass"),a=t+"_wrap",o=(0,n.getOption)("noCloseClass"),i=(0,n.getOption)("withCloseClass");if(e.find("."+a).length)return;var r=jQuery("<span />").addClass(a),s=jQuery('<a href="#close" />').addClass(t);s.html("×"),s.appendTo(r),r.appendTo(e),e.hasClass(o)||e.hasClass(i)||((0,n.getOption)("defaultShowCloseButton")?e.addClass(i):e.addClass(o));s.on("click",function(){jQuery(document).trigger("DiviArea:Close",e),e.trigger("DiviArea:Close")}),(0,n.debug)("-> Added a close button to area",e.attr("data-id"))},t.checkViewport=function(e){var t=!0,a=jQuery(window).innerWidth();t=a<768?!!e.data("on-mobile"):a<981?!!e.data("on-tablet"):!!e.data("on-desktop");return t},t.triggerLazyLoad=function(e){jQuery("body").trigger("post-load")},t.triggerAnimations=function(e){void 0!==window.et_reinit_waypoint_modules&&window.et_reinit_waypoint_modules()},t.initRecaptcha=function(e){if(!window.grecaptcha)return;if(!e.find('input[name="g-recaptcha-response"]').length)return;if(e.find("[data-sitekey].g-recaptcha").length>0)e.find("form").each(function(){var e=jQuery(this),t=e.find("[data-sitekey].g-recaptcha");if(t.length&&!e.find('iframe[src*="/recaptcha/"]').length){var a={sitekey:t.attr("data-sitekey"),type:t.attr("data-type"),size:t.attr("data-size"),theme:t.attr("data-theme"),badge:t.attr("data-badge"),tabindex:t.attr("data-tabindex")},o=t.attr("data-callback"),i=t.attr("data-expired-callback");o&&"function"==typeof window[o]&&(a.callback=window[o]),i&&"function"==typeof window[i]&&(a["expired-callback"]=window[i]);var n=grecaptcha.render(t[0],a);window.recaptchaWidgets&&recaptchaWidgets.push(n)}});else{var t=jQuery('script[src*="google.com/recaptcha/api.js"]').attr("src"),a=t.replace(/^.*render=(.*)$/,"$1").split("&")[0];grecaptcha.execute(a,{action:"homepage"}).then(function(t){e.find('form [name="g-recaptcha-response]').val(t)})}},t.configArea=function(e,t,a){var r,s,l=(0,i.getArea)(e);if(!l||1!==l.length)return;if(r=l.data("_id"),"object"===(void 0===t?"undefined":o(t))){for(var d in t)t.hasOwnProperty(d)&&DiviPopup.config(l,d,t[d]);return}if(void 0!==t){if("string"!=typeof t)return;switch(t=t.trim().toLowerCase().replace("-","")){case"notmobile":s=(0,n.toBool)(l.data("on-mobile")),l.data("on-mobile",!(0,n.toBool)(a,!s));break;case"onmobile":s=(0,n.toBool)(l.data("on-mobile")),l.data("on-mobile",(0,n.toBool)(a,s));break;case"nottablet":s=(0,n.toBool)(l.data("on-tablet")),l.data("on-tablet",!(0,n.toBool)(a,!s));break;case"ontablet":s=(0,n.toBool)(l.data("on-tablet")),l.data("on-tablet",(0,n.toBool)(a,s));break;case"notdesktop":s=(0,n.toBool)(l.data("on-desktop")),l.data("on-desktop",!(0,n.toBool)(a,!s));break;case"ondesktop":s=(0,n.toBool)(l.data("on-desktop")),l.data("on-desktop",(0,n.toBool)(a,s));break;case"triggerexit":l.data("trigger-exit",(0,n.toBool)(a));break;case"hideclose":l.data("show-close",!(0,n.toBool)(a));break;case"showclose":l.data("show-close",(0,n.toBool)(a));break;case"closealt":l.data("close-alt",(0,n.toBool)(a));break;case"ismodal":l.data("is-modal",(0,n.toBool)(a));break;case"notmodal":l.data("is-modal",!(0,n.toBool)(a));break;case"shadow":l.data("no-shadow",!(0,n.toBool)(a));break;case"noshadow":l.data("no-shadow",(0,n.toBool)(a));break;case"dark":l.data("dark-mode",(0,n.toBool)(a));break;case"width":l.data("width",a);break;case"singleton":l.data("singleton",(0,n.toBool)(a));break;case"ids":case"alternateid":Array.isArray(a)?a.forEach(function(e){return(0,i.addAltId)(r,e)}):(0,i.addAltId)(r,a)}}l.data("on-mobile")?l.removeClass((0,n.getOption)("notMobileClass")):l.addClass((0,n.getOption)("notMobileClass"));l.data("on-tablet")?l.removeClass((0,n.getOption)("notTabletClass")):l.addClass((0,n.getOption)("notTabletClass"));l.data("on-desktop")?l.removeClass((0,n.getOption)("notDesktopClass")):l.addClass((0,n.getOption)("notDesktopClass"));l.data("trigger-exit")?l.addClass((0,n.getOption)("exitIndicatorClass")):l.removeClass((0,n.getOption)("exitIndicatorClass"));l.data("show-close")?(l.addClass((0,n.getOption)("withCloseClass")),l.removeClass((0,n.getOption)("noCloseClass"))):(l.addClass((0,n.getOption)("noCloseClass")),l.removeClass((0,n.getOption)("withCloseClass")));l.data("close-alt")?l.addClass((0,n.getOption)("altCloseClass")):l.removeClass((0,n.getOption)("altCloseClass"));l.data("is-modal")?l.addClass((0,n.getOption)("modalIndicatorClass")):l.removeClass((0,n.getOption)("modalIndicatorClass"));l.data("no-shadow")?l.addClass((0,n.getOption)("noShadowClass")):l.removeClass((0,n.getOption)("noShadowClass"));l.data("dark-mode")?l.addClass((0,n.getOption)("darkModeClass")):l.removeClass((0,n.getOption)("darkModeClass"));l.data("singleton")?l.addClass((0,n.getOption)("singletonClass")):l.removeClass((0,n.getOption)("singletonClass"))};var i=a(1),n=a(0)},function(e,t,a){a(4),e.exports=a(8)},function(e,t,a){"use strict";var o=function(e){return e&&e.__esModule?e:{default:e}}(a(5));window.DiviPopup=new o.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var a=0;a<t.length;a++){var o=t[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,a,o){return a&&e(t.prototype,a),o&&e(t,o),t}}(),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=a(6),r=a(1),s=a(2),l=a(7),d=a(0);function p(){(0,d.debug)("Initialize popups-for-divi..."),jQuery(document).trigger("DiviPopup:Load");var e=y,t=g,a=f;(0,d.addObservers)("popup",e,t,a),window.setTimeout(function(){jQuery(window).on("mouseleave",c)},(0,d.getOption)("onExitDelay")),e(),jQuery(document).trigger("DiviPopup:Ready")}function u(){if((0,r.countVisibleAreas)("popup")){(0,r.loopAllAreas)("popup",function(e){e.hasClass((0,d.getOption)("activePopupClass"))&&(e.removeClass((0,d.getOption)("activePopupClass")),jQuery(document).trigger("DiviPopup:Blur",e),e.trigger("DiviPopup:Blur"))}),(0,r.loopVisibleAreas)("popup",function(e,t){var a=e.parent();a.hasClass((0,d.getOption)("popupWrapperClass"))||((a=jQuery("<div/>")).appendTo((0,d.getContext)()),a.addClass((0,d.getOption)("popupWrapperClass")),e.detach().appendTo(a)),a.css({zIndex:(0,d.getOption)("zIndex")+t})});var e=(0,r.getVisibleArea)("popup");"yes"!==e.attr("data-visible")&&(e.attr("data-visible","yes"),(0,n.animatePopup)(e,function(e){e.fadeIn((0,d.getOption)("animateSpeed"))}),jQuery(document).trigger("DiviPopup:Show",e),e.trigger("DiviPopup:Show")),e.addClass((0,d.getOption)("activePopupClass")),jQuery(document).trigger("DiviPopup:Focus",e),e.trigger("DiviPopup:Focus"),(0,d.addAdditionalResizeObserver)("popup",e),window.setTimeout(g,50),DiviPopup.showOverlay()}}function c(e){var t;"input"!==e.target.tagName.toLowerCase()&&"textarea"!==e.target.tagName.toLowerCase()&&"select"!==e.target.tagName.toLowerCase()&&(t=Math.max(document.documentElement.clientWidth,window.innerWidth||0),e.clientX>=t-50||e.clientY>=50||e.toElement||e.relatedTarget||((0,d.debug)("Popup exit-intent trigger"),(0,r.loopAllAreas)("popup",function(e,t){(0,d.debug)("Popup",(0,d.getOption)("exitIndicatorClass"),e),e.hasClass((0,d.getOption)("exitIndicatorClass"))&&DiviPopup.openPopup(t)})))}function g(){var e=parseInt(jQuery("html").css("marginTop")),t=jQuery(window).innerWidth(),a=jQuery(window).innerHeight()-e;(0,r.loopVisibleAreas)("popup",function(e){var o,i,n=e.parent();e.data("width")||(e.hasClass("et_pb_section")?e.data("width",e.outerWidth()):(e.data("width",e.children(".et_pb_section").first().outerWidth()),e.children(".et_pb_section").css({width:"100%",maxWidth:""})),e.attr("width",e.data("width"))),e.css({maxWidth:e.data("width")}),i=isNaN(e[0].scrollHeight)?e.innerHeight:e[0].scrollHeight,o=isNaN(e[0].scrollWidth)?e.innerWidth:e[0].scrollWidth,t<o+20?n.addClass((0,d.getOption)("fullWidthClass")):n.removeClass((0,d.getOption)("fullWidthClass")),a<i+20?n.addClass((0,d.getOption)("fullHeightClass")):n.removeClass((0,d.getOption)("fullHeightClass"))})}function f(e){if(27===e.keyCode)return!(0,r.countVisibleAreas)("popup")||((0,d.debug)("Handle [ESC] key: Close active popup"),DiviPopup.closePopup(),!1)}function v(){if(!(0,r.countVisibleAreas)("popup"))return!1;jQuery(document).trigger("DiviPopup:OverlayClick");var e=(0,r.getVisibleArea)("popup");if(e.length&&e.hasClass((0,d.getOption)("modalIndicatorClass")))return!1;DiviPopup.closePopup()}function h(e){return e.preventDefault(),e.stopPropagation(),(0,d.debug)("Click on popup close"),DiviPopup.closePopup(),!1}function b(e){var t=jQuery(this);return(0,d.debug)("Open popup: "+t.attr("data-popup-id")),e.preventDefault(),e.stopPropagation(),DiviPopup.openPopup(t.attr("data-popup-id")),!1}function m(e,t){var a=[],o=(e=jQuery(e)).data("_id"),n=o.replace(/^#/,""),s=[];function l(e){"object"===(void 0===e?"undefined":i(e))&&(e=e.data("_id")),e&&e.length&&("#"!==e[0]&&(e="#"+e),a.push(e))}(0,r.loopVisibleAreas)("popup",function(e){e.hasClass((0,d.getOption)("singletonClass"))?a.push(e.data("_id")):s.push(e.data("_id"))}),t?(a.push(o),o=!1):e.hasClass((0,d.getOption)("singletonClass"))&&(a=s,o=!1),t?(jQuery(document).triggerHandler("DiviPopup:BeforeHide",[e,s,l]),jQuery(document).triggerHandler("DiviPopup:BeforeHide:"+n,[e,s,l])):(jQuery(document).triggerHandler("DiviPopup:BeforeShow",[e,s,l]),jQuery(document).triggerHandler("DiviPopup:BeforeShow:"+e.attr("key"),[e,s,l])),a.length&&(0,d.debug)("Hide popups",a),(0,r.loopVisibleAreas)("popup",function(e){var t=e.data("_id");-1!==a.indexOf(t)&&function(e){(e=jQuery(e)).removeClass("__is_animating"),jQuery(document).trigger("DiviPopup:Hide",e),e.trigger("DiviPopup:Hide"),e.find("."+(0,d.getOption)("closeButtonClass")).off(".popup"),e.find("div ."+(0,d.getOption)("triggerCloseClass")).off(".popup"),e.find("div .popup-trigger").off(".popup"),(0,d.removeAdditionalResizeObserver)("popup",e);var t=e.parent();e.detach().hide().attr("data-visible","no"),t.hasClass((0,d.getOption)("popupWrapperClass"))&&t.remove();(0,r.removeVisibleArea)("popup",e.data("_id"))}(e)}),o&&(0,r.removeVisibleArea)("popup",o)}function C(e,t){var a;if(a=(0,r.getId)(t)){if(e.attr("data-popup-id"))return e.off(".popup"),e.on("click.popup",b),void(0,d.debug)("-> Trigger already linked with popup: "+a,e);DiviPopup.register(a,{selector:(0,d.getOption)("popupSelector")})?(e.attr("data-popup-id",a),e.addClass("popup-trigger"),e.on("click.popup",b),(0,d.debug)("-> Trigger linked to popup: "+a,e)):(0,d.debug)("-> Trigger has no popup",e)}else(0,d.debug)("-> Not a popup trigger",e)}function y(e){var t,a,o;for((0,d.debug)(" -- Activate triggers --"),void 0===e&&(e=(0,d.getContext)()),jQuery((0,d.getOption)("popupSelector"),e).each(function(){(0,d.debug)("Found a popup-selector, try to register it",this),DiviPopup.register(jQuery(this).attr("id"),{selector:(0,d.getOption)("popupSelector")})}),o=(0,d.findTriggers)({ids:(0,r.getAllIds)("popup"),linkPrefix:"popup:",dataAttrib:(0,d.getOption)("idAttrib"),classPrefix:(0,d.getOption)("triggerClassPrefix")},e),t=0;t<o.length;t++)C((a=o[t]).item,a.id)}var w=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(0,d.debug)("Load popups-for-divi..."),(0,d.getOption)("initializeOnEvent")?jQuery(window,document).on((0,d.getOption)("initializeOnEvent"),function(){window.setTimeout(p,1)}):window.setTimeout(p,1)}return o(e,[{key:"register",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=(0,r.getArea)(e);if(a)return a;var o=(0,r.registerArea)("popup",e,t.selector);return!(!o||!o.length)&&((0,n.initializePopupAnimation)(o),Object.keys(t).forEach(function(e){(0,s.configArea)(o,e,t[e])}),o)}},{key:"config",value:function(e,t,a){(0,s.configArea)(e,t,a)}},{key:"openPopup",value:function(e){var t=(0,r.getArea)(e),a=0;return t&&t.length?(0,s.checkViewport)(t)?(m(t),t.removeClass((0,d.getOption)("exitIndicatorClass")),(0,d.debug)("Show popup and set event handlers:",e),function(e){e=jQuery(e),(0,r.addVisibleArea)("popup",e),y(e),e.find("div ."+(0,d.getOption)("triggerCloseClass")).off(".popup"),e.find("div ."+(0,d.getOption)("triggerCloseClass")).on("click.popup",h),e.find("div .popup-trigger").off(".popup"),e.find("div .popup-trigger").on("click.popup",b),e.hasClass((0,d.getOption)("withCloseClass"))&&(e.find("."+(0,d.getOption)("closeButtonClass")).off(".popup"),e.find("."+(0,d.getOption)("closeButtonClass")).on("click.popup",h))}(t),u(),t.data("animation")&&(t.css({transition:"none"}),a+=(0,d.toMilliseconds)(t.css("animation-delay")),a+=(0,d.toMilliseconds)(t.css("animation-duration")),t.addClass("__is_animating"),window.setTimeout(function(){"yes"===t.attr("data-visible")&&t.removeClass("__is_animating")},a+1)),window.setTimeout(function(){(0,s.triggerLazyLoad)(t),(0,s.triggerAnimations)(t),(0,s.initRecaptcha)(t)},50),!0):((0,d.debug)("Do not trigger popup on this device:",e),!1):((0,d.error)("Could not find a popup with the ID:",e),!1)}},{key:"closePopup",value:function(e){var t;(0,r.countVisibleAreas)("popup")&&(t=e?(0,r.getVisibleArea)("popup",(0,r.getRealId)(e)):(0,r.getVisibleArea)("popup"))&&((0,d.debug)("Close popup and unlink event handlers:",t.data("_id")),m(t,!0)),(0,r.countVisibleAreas)("popup")?u():DiviPopup.hideOverlay()}},{key:"showOverlay",value:function(){(0,l.showOverlay)(v)}},{key:"hideOverlay",value:function(){(0,l.hideOverlay)()}}]),e}();t.default=w},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={};function i(e,t,a){a=a||e.data("et_waypoint_max_instances")||1;var o=e.data("et_waypoint")||[];if(o.length<a){var i=e.waypoint(t);i&&i.length>0&&(o.push(i[0]),e.data("et_waypoint",o))}else for(var n=0;n<o.length;n++)o[n].context.refresh()}t.animatePopup=function(e,t){return!e.is(":visible")&&(jQuery.fn.waypoint?"yes"===et_pb_custom.ignore_waypoints?t(e):function(e){var t=e.attr("data-animation"),a=!1;return!!t&&(!!(a=o[t])&&(jQuery("body").css("overflow-x","hidden"),jQuery("#page-container").css("overflow-y","hidden"),e.attr({"data-animation-style":a.style,"data-animation-repeat":"once"===a.repeat?"":"infinite","data-animation-duration":a.duration,"data-animation-delay":a.delay,"data-animation-intensity":a.intensity,"data-animation-starting-opacity":a.starting_opacity,"data-animation-speed-curve":a.speed_curve}),void i(e,{offset:"100%",handler:function(){!function(e){var t=e.attr("data-animation-style"),a=e.attr("data-animation-repeat"),o=e.attr("data-animation-duration"),i=e.attr("data-animation-delay"),n=e.attr("data-animation-intensity"),r=e.attr("data-animation-starting-opacity"),s=e.attr("data-animation-speed-curve");!function(e){for(var t=[],a=e.get(0).attributes,o=0;o<a.length;o++)"data-animation-"===a[o].name.substring(0,15)&&t.push(a[o].name);jQuery.each(t,function(t,a){e.removeAttr(a)})}(e);var l=isNaN(parseInt(r))?0:.01*parseInt(r);-1===jQuery.inArray(s,["linear","ease","ease-in","ease-out","ease-in-out"])&&(s="ease-in-out"),e.css({"animation-duration":o,"animation-delay":i,opacity:l,"animation-timing-function":s});for(var d={},p=isNaN(parseInt(n))?50:parseInt(n),u=["slide","zoom","flip","fold","roll"],c=!1,g=!1,f=0;f<u.length;f++){var v=u[f];if(t&&t.substr(0,v.length)===v){c=v,""!==(g=t.substr(v.length,t.length))&&(g=g.toLowerCase());break}}!1!==c&&!1!==g&&(d=function(e,t,a){var o={};switch(e){case"slide":switch(t){case"top":o={transform:"translate3d(0, "+(i=-2*a)+"%, 0)"};break;case"right":o={transform:"translate3d("+(i=2*a)+"%, 0, 0)"};break;case"bottom":o={transform:"translate3d(0, "+(i=2*a)+"%, 0)"};break;case"left":var i=-2*a;o={transform:"translate3d("+i+"%, 0, 0)"};break;default:o={transform:"scale3d("+(n=.01*(100-a))+", "+n+", "+n+")"}}break;case"zoom":var n=.01*(100-a);switch(t){case"top":case"right":case"bottom":case"left":default:o={transform:"scale3d("+n+", "+n+", "+n+")"}}break;case"flip":switch(t){case"right":o={transform:"perspective(2000px) rotateY("+(r=Math.ceil(.9*a))+"deg)"};break;case"left":o={transform:"perspective(2000px) rotateY("+(r=-1*Math.ceil(.9*a))+"deg)"};break;case"top":default:o={transform:"perspective(2000px) rotateX("+(r=Math.ceil(.9*a))+"deg)"};break;case"bottom":o={transform:"perspective(2000px) rotateX("+(r=-1*Math.ceil(.9*a))+"deg)"}}break;case"fold":switch(t){case"top":o={transform:"perspective(2000px) rotateX("+(r=-1*Math.ceil(.9*a))+"deg)"};break;case"bottom":o={transform:"perspective(2000px) rotateX("+(r=Math.ceil(.9*a))+"deg)"};break;case"left":o={transform:"perspective(2000px) rotateY("+(r=Math.ceil(.9*a))+"deg)"};break;case"right":default:o={transform:"perspective(2000px) rotateY("+(r=-1*Math.ceil(.9*a))+"deg)"}}break;case"roll":switch(t){case"right":case"bottom":o={transform:"rotateZ("+(r=-1*Math.ceil(3.6*a))+"deg)"};break;case"top":case"left":o={transform:"rotateZ("+(r=Math.ceil(3.6*a))+"deg)"};break;default:var r=Math.ceil(3.6*a);o={transform:"rotateZ("+r+"deg)"}}}return o}(c,g,p)),jQuery.isEmptyObject(d)||e.css(d),e.addClass("et_animated"),e.addClass(t),e.addClass(a)}(jQuery(this.element))}})))}(e)?(e.show(),e.css({opacity:0}),void window.setTimeout(function(){e.css({opacity:""}),i(e,{offset:"100%",handler:function(){e.addClass("et-animated")}},2)},10)):t(e):t(e))},t.initializePopupAnimation=function(e){if(!window.et_animation_data||!window.et_animation_data.length>0)return!1;e.removeClass("et-waypoint"),e.removeClass("et-animated");for(var t=0;t<et_animation_data.length;t++){var a=!1,i=et_animation_data[t];i&&i.class&&e.hasClass(i.class)&&i.style&&i.repeat&&i.duration&&i.delay&&i.intensity&&i.starting_opacity&&i.speed_curve&&(a=i.class,e.addClass("pfd-waypoint"),e.attr("data-animation",a),o[a]=i,et_animation_data[t].class=void 0)}}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showOverlay=function(e){var t=(0,i.getOption)("zIndex");r=e,null===n&&((n=jQuery("<div />")).addClass((0,i.getOption)("overlayClass")),n.prependTo((0,i.getContext)()),n.on("click.popup",s));t+=Math.max(0,(0,o.countVisibleAreas)("popup")-1),(0,i.debug)("Show background overlay"),n.css({zIndex:t}),n.fadeIn((0,i.getOption)("animateSpeed"),function(){jQuery("body").addClass((0,i.getOption)("openPopupClass"))}),jQuery(document).trigger("DiviPopup:OverlayShow")},t.hideOverlay=function(){(0,i.debug)("Hide background overlay"),n.hide(),jQuery("body").removeClass((0,i.getOption)("openPopupClass")),jQuery(document).trigger("DiviPopup:OverlayHide")};var o=a(1),i=a(0),n=null,r=null;function s(e){return(0,i.debug)("Click on background overlay"),e.preventDefault(),e.stopPropagation(),r(),!1}},function(e,t,a){}]);
|
1 |
+
!function(e){var t={};function a(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=e,a.c=t,a.d=function(e,t,o){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(a.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(o,i,function(t){return e[t]}.bind(null,i));return o},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=7)}([function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOption=function(e){var t=DiviPopupData[e],a=e.toLowerCase();return(0,i.applyFiltersSilently)("get_option_"+a,t)},t.debugGroup=function(e){if(DiviPopupData.debug){var t=!n||e&&e!==n;if(n&&(console.groupEnd(),n=!1),e&&t){var a=Array.prototype.slice.call(arguments);a.unshift("[DiviAreas]"),console.group.apply(this,a),n=e}}},t.debugTable=function(){if(DiviPopupData.debug){var e=Array.prototype.slice.call(arguments);Array.isArray(e[0])||(e=[e]),console.table.apply(this,e)}},t.verbose=function(){if(DiviPopupData.debug&&DiviPopupData.debugVerbose){var e=Array.prototype.slice.call(arguments);e.unshift("color:#cfd8dc;font-style:italic"),e.unshift("[DiviAreas] %c%s"),console.debug.apply(this,e)}},t.debug=function(){if(DiviPopupData.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#90a4ae"),e.unshift("[DiviAreas] %c%s"),console.debug.apply(this,e)}},t.info=r,t.error=function(){var e=Array.prototype.slice.call(arguments);e.unshift("[DiviAreas]"),console.error.apply(this,e)},t.toBool=function(e,t){void 0===t&&(t=!0);if(void 0===e||null===e)return!!t;if(!0===e||!1===e)return e;"string"==typeof e&&(e=e.toLowerCase());if(0===e||"0"===e||"n"===e[0]||"f"===e[0]||"off"===e)return!1;if(1===e||"1"===e||"y"===e[0]||"t"===e[0]||"on"===e)return!0;return!!t},t.setLocalData=function(e,t,a){(!a||isNaN(a)||a<1)&&(a=525600);var o=e.replace(/-/g,"_");if(t=(0,i.applyFilters)("set_local_data_value-"+o,t,e,a),a=(0,i.applyFilters)("set_local_data_expiration-"+o,a,e,t),window.localStorage){var n=new Date;n=n.setMinutes(n.getMinutes()+a),localStorage.setItem("_da_"+e,n+":"+t)}else s("_da_"+e,t,a)},t.getLocalData=function(e){var t=!1;if(window.localStorage){var a=localStorage.getItem("_da_"+e);if(a){var o=a.split(":"),n=parseInt(o.shift()),r=o.join(":");n>new Date?t=r:localStorage.removeItem("_da_"+e)}}else t=d("_da_"+e);var s=e.replace(/-/g,"_");return(0,i.applyFilters)("get_local_data-"+s,t)},t.setCookie=s,t.getCookie=d,t.toMilliseconds=function(e){var t,a=parseFloat(e,10),o=e.match(/m?s/);o&&(o=o[0]);switch(o){case"s":t=1e3*a;break;case"ms":t=a;break;default:t=0}return t},t.initOptions=function(){var e={popupSelector:".et_pb_section.popup",fullWidthClass:"popup_full_width",fullHeightClass:"popup_full_height",openPopupClass:"evr_popup_open",overlayClass:"evr_fb_popup_modal",modalIndicatorClass:"is-modal",exitIndicatorClass:"on-exit",activePopupClass:"is-open",noCloseClass:"no-close",altCloseClass:"close-alt",notMobileClass:"not-mobile",notTabletClass:"not-tablet",notDesktopClass:"not-desktop",withCloseClass:"with-close",singletonClass:"single",darkModeClass:"dark",noShadowClass:"with-shadow",closeButtonClass:"evr-close",defaultShowCloseButton:!0,idAttrib:"data-popup",triggerClassPrefix:"show-popup-",baseContext:"body",triggerCloseClass:"close",zIndex:1e5,onExitDelay:2e3,animateSpeed:300,debug:!1,debugVerbose:!1,initializeOnEvent:"et_pb_after_init_modules"};if(window.DiviPopupData)for(var t in e)void 0===DiviPopupData[t]&&(DiviPopupData[t]=e[t]),DiviPopupData[t].replace&&(DiviPopupData[t]=DiviPopupData[t].replace(/^[\s\xA0]+|[\s\xA0]+$/g,""));else window.DiviPopupData=e;DiviPopupData.zIndex=parseInt(DiviPopupData.zIndex),DiviPopupData.onExitDelay=parseInt(DiviPopupData.onExitDelay),DiviPopupData.animateSpeed=parseInt(DiviPopupData.animateSpeed),DiviPopupData.debug=!!DiviPopupData.debug,DiviPopupData.defaultShowCloseButton=!!DiviPopupData.defaultShowCloseButton,(!DiviPopupData.triggerClassPrefix||DiviPopupData.triggerClassPrefix.length<3)&&(DiviPopupData.triggerClassPrefix=!1);"body"===DiviPopupData.baseContext&&1===jQuery("body.et_divi_theme #page-container").length&&(DiviPopupData.baseContext="#page-container",r("🎚 Divi theme detected.","Inject Areas into #page-container"));"body"===DiviPopupData.baseContext||jQuery(DiviPopupData.baseContext).length||(DiviPopupData.baseContext="body",r("🎚 Invalid baseContext given.","Inject Areas into body instead."));DiviPopupData=(0,i.applyFilters)("init_options",DiviPopupData),(0,o.broadcast)("OptionsReady")},t.isPositon=function e(t,a){var o=t.offsetParent();if("HTML"===o.prop("tagName"))return!1;return o.css("position")===a||e(o,a)};var o=a(2),i=a(1),n=!1;function r(){if(DiviPopupData.debug){var e=Array.prototype.slice.call(arguments);e.unshift("color:#0288d1;background:#fafcfe"),e.unshift("[DiviAreas] %c%s"),console.log.apply(this,e)}}function s(e,t,a){var o=escape(t);if(a){var i=new Date;i.setMinutes(i.getMinutes()+a),o+="; expires="+i.toUTCString()}document.cookie=e+"="+o+"; path=/"}function d(e){var t,a,o,i=document.cookie.split(";");for(t=0;t<i.length;t++)if(a=i[t].substr(0,i[t].indexOf("=")),o=i[t].substr(i[t].indexOf("=")+1),(a=a.replace(/^\s+|\s+$/g,""))===e)return unescape(o);return!1}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeFilter=function(e,t){"string"==typeof e&&(n(e,t),(0,o.debug)("Remove Filter:",e))},t.removeAction=function(e,t){"string"==typeof e&&(n(e,t),(0,o.debug)("Remove Action:",e))},t.applyFilters=function(e,t){var a=Array.prototype.slice.call(arguments);if("string"==typeof(e=a.shift()))return(0,o.info)("📢️ Apply Filters:",e),(0,o.debug)('⚙ DiviArea.addFilter("'+e+'", callback)'),s("filter",e,a);return!1},t.doAction=function(e,t){var a=Array.prototype.slice.call(arguments);"string"==typeof(e=a.shift())&&((0,o.info)("📢️ Do Action:",e),(0,o.debug)('⚙ DiviArea.addAction("'+e+'", callback)'),s("action",e,a))},t.applyFiltersSilently=function(e,t){var a=Array.prototype.slice.call(arguments);if("string"==typeof(e=a.shift()))return(0,o.verbose)("📢️ Apply Filters:",e),(0,o.verbose)('⚙ DiviArea.addFilter("'+e+'", callback)'),s("filter",e,a);return!1},t.addFilter=function(e,t,a,i){"string"==typeof e&&"function"==typeof t&&(r(e,t,parseInt(a||10,10),i||window),(0,o.debug)("Add Filter:",e))},t.addAction=function(e,t,a,i){"string"==typeof e&&"function"==typeof t&&(r(e,t,parseInt(a||10,10),i||window),(0,o.debug)("Add Action:",e))};var o=a(0),i={};function n(e,t,a){var o,n,r;if(i[e]){if(t)if((o=i[e])&&a)for(r=o.length;r--;)(n=o[r]).callback===t&&n.context===a&&(o[r]=!1);else for(r=o.length;r--;)o[r].callback===t&&(o[r]=!1)}else i[e]=[]}function r(e,t,a,o){var n={callback:t,priority:a,context:o},r=i[e];r?(r.push(n),r=function(e){var t,a,o,i,n=e.length;for(i=1;i<n;i++)for(t=e[i],a=i;a>0;a--)(o=e[a-1]).priority>t.priority&&(e[a]=o,e[a-1]=t);return e}(r)):r=[n],i[e]=r}function s(e,t,a){var o,n=i[t],r=!1;if(n){var s=n.length;for(o=0;o<s;o++)n[o]?"filter"===e?(res=n[o].callback.apply(n[o].context,a),void 0!==res&&(a[0]=res)):(!n[o]||n[o].callback,n[o].callback.apply(n[o].context,a)):r=1;if(r)for(o=s;o--;)n[o]||n.splice(o,1)}if("filter"===e)return a[0]}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.initializeModule=function(){(0,i.debug)("Initialize the app"),jQuery(document).trigger("DiviAreas:Loaded",[window.DiviAreas]),(0,s.doAction)("load"),u("Load"),function(){var e=jQuery(".et_pb_fullscreen_nav_container #mobile_menu_slide");if(!e.length)return;e.parent().css({minHeight:e.outerHeight()})}(),v(c),h(n.doResizeAreas),jQuery(document).on("keyup",m),window.setTimeout(function(){(0,s.addAction)("exit_intent",_)},(0,i.getOption)("onExitDelay")),(0,s.addAction)("close_area",y),c(),(0,s.doAction)("ready"),u("Ready")},t.broadcast=u,t.observe=function(e,t,a){var o=".__"+e,n="DiviPopup:"+e,r=p(a);function s(o,n){var s=window;return r?((0,i.verbose)("Handle observed area event",e,a.data("_id")),s=a):(n&&jQuery(n).data("_id")&&(s=jQuery(n)),(0,i.verbose)("Handle observed global event",e)),t.apply(s,arguments)}(0,i.error)("observe() is deprecated. Use DiviArea.addAction() or DiviArea.addFilter() instead!"),r?((0,i.debug)("[DEPRECATED] Observe area event:",e,a.data("_id")),a.off(o),a.on(n+o,s)):((0,i.debug)("[DEPRECATED] Observe global event:",e),jQuery(document).off(o),jQuery(document).on(n+o,s))},t.isArea=p,t.reOrderAreas=function(e){if(!(0,n.countVisibleAreas)())return;(0,n.reorderVisibleAreas)(),e&&function(e){l&&!e.data("observe-resize")&&(l.observe(e[0]),e.data("observe-resize",!0))}(e);(0,n.countVisibleAreas)("popup")&&DiviPopup.showOverlay()},t.doActivateTriggers=c,t.doDeactivateTriggers=f,t.removeArea=function(e,t){var a=[],d=(e=jQuery(e)).data("_id"),c=[];"popup"===e.data("_type")&&((0,n.loopVisibleAreas)("popup",function(e){e.hasClass((0,i.getOption)("singletonClass"))?a.push(e.data("_id")):c.push(e.data("_id"))}),t?(a.push(d),d=!1):e.hasClass((0,i.getOption)("singletonClass"))&&(a=c,d=!1));function f(e){"object"===(void 0===e?"undefined":o(e))&&(e=e.data("_id")),e&&e.length&&("#"!==e[0]&&(e="#"+e),a.push(e))}function g(e){if(p(e=jQuery(e))&&e.data("_key")){e.removeClass("__is_animating"),b(e),(0,s.doAction)("hide_area",e),(0,s.doAction)("hide_area-"+e.data("_key"),e),u("Hide",e),e.find("div .popup-trigger").off("._da"),function(e){l&&e.data("observe-resize")&&(l.unobserve(e[0]),e.data("observe-resize",!1))}(e);var t=e.parent();"skip"===e.data("_do_animation")?a():((0,i.info)("✨ Animate the area (hide)",e.data("_id")),(0,r.animateArea)(e,"hide",a)),(0,n.removeVisibleArea)(e)}function a(){e.detach().hide().data("_visible","no"),t.hasClass((0,i.getOption)("popupWrapperClass"))&&t.remove()}}t?(a=(0,s.applyFilters)("hide_ids_before_hide",a,e,c),a=(0,s.applyFilters)("hide_ids_before_hide-"+e.data("_key"),a,e,c),u("BeforeHide",e,c,f),(0,s.doAction)("before_hide",e,a),(0,s.doAction)("before_hide-"+e.data("_key"),e,a)):(a=(0,s.applyFilters)("hide_ids_before_show",a,e,c),a=(0,s.applyFilters)("hide_ids_before_show-"+e.data("_key"),a,e,c),u("BeforeShow",e,c,f),(0,s.doAction)("before_show",e,a),(0,s.doAction)("before_show-"+e.data("_key"),e,a));a.length&&(0,i.debug)("Hide following areas:",a);(0,n.loopVisibleAreas)("all",function(e){var t=e.data("_id");-1!==a.indexOf(t)&&g(e)}),d&&g(d)},t.getContext=g,t.addDomObserver=v,t.addResizeObserver=h,t.initContext=function(){(d=jQuery((0,i.getOption)("baseContext"))).length||(0,i.error)('Could not find the popup container "'+(0,i.getOption)("baseContext")+'"')},t.initExitIntent=function(){jQuery(window).on("mouseleave.da",function(e){var t;"input"!==e.target.tagName.toLowerCase()&&"textarea"!==e.target.tagName.toLowerCase()&&"select"!==e.target.tagName.toLowerCase()&&(t=Math.max(document.documentElement.clientWidth,window.innerWidth||0),e.clientX>=t-50||e.clientY>=50||e.toElement||e.relatedTarget||((0,i.info)("⚡️ Exit-intent detected"),(0,s.doAction)("exit_intent"),u("ExitIntent")))})},t.blurArea=b,t.focusArea=function(e){var t=(0,i.getOption)("activePopupClass");e&&!e.hasClass(t)&&(e.addClass(t),(0,s.doAction)("focus_area",e),(0,s.doAction)("focus_area-"+e.data("_key"),e),u("Focus",e),c(e))};var i=a(0),n=a(3),r=a(5),s=a(1),d=null,l=null;function u(e,t){var a=void 0,o=void 0,r=Array.prototype.slice.call(arguments);r.shift();var s=["DiviPopup:"+e],d=p(r[0]),l=[];for(d?(0,i.debug)("Broadcast area event:",e,r[0].data("_id")):(0,i.debug)("Broadcast global event:",e),window.DiviArea&&s.unshift("DiviArea:"+e),a=0;a<s.length;a++){if(d){var u=(0,n.getAllIds)(t);for(l.push({obj:t,event:s[a],params:r.slice(1)}),(0,i.verbose)('⚙ $("'+t.data("_id")+'").on("'+s[a]+'")'),o=0;o<u.length;o++){var c=":"+u[o].replace(/^#/,"");l.push({obj:jQuery(document),event:s[a]+c,params:r}),(0,i.verbose)('⚙ $(document).on("'+s[a]+c+'")')}}l.push({obj:jQuery(document),event:s[a],params:r}),(0,i.verbose)('⚙ $(document).on("'+s[a]+'")')}for(a=0;a<l.length;a++)l[a].obj.triggerHandler(l[a].event,l[a].params)}function p(e){return e&&e.length&&e instanceof jQuery&&e.data("_id")}function c(e){var t,a=void 0===e,o=void 0,r=void 0;if(void 0===e&&(e=g()),function(e){e.find((0,i.getOption)("popupSelector")).filter("[id]").each(function(){var e=jQuery(this);(0,i.debug)("Found an inline Popup Area:",e.attr("id")),DiviPopup.register(e,{},"popup")})}(e),(t=function(e,t){var a,o,i,n=[];if(!e.ids)return[];function r(e,t){var a;for(a=0;a<t.length;a++)jQuery(t[a]).attr("data-area-id")||n.push({id:e,item:jQuery(t[a])})}for(a=0;a<e.ids.length;a++)if(r(i=e.ids[a].replace(/^#/,""),jQuery('[href="#'+i+'"]',t)),e.linkPrefix&&r(i,jQuery('[href="#'+e.linkPrefix+i+'"]',t)),e.classPrefix&&r(i,jQuery("."+e.classPrefix+i,t)),e.dataAttrib&&r(i,jQuery("["+e.dataAttrib+'="'+i+'"]',t)),window.et_link_options_data)for(o=et_link_options_data.length-1;o>=0;o--)if("#"+i===et_link_options_data[o].url){var s=jQuery(".et_pb_module."+et_link_options_data[o].class,t);r(i,s),s.off("click"),et_link_options_data.splice(o,1)}return n}({ids:(0,n.getAllIds)("popup"),linkPrefix:"popup:",dataAttrib:(0,i.getOption)("idAttrib"),classPrefix:(0,i.getOption)("triggerClassPrefix")},e)).length){for(a?(0,i.debugGroup)("Activate all triggers in document"):(0,i.debugGroup)("Activate triggers in area",e.data("_id")),o=0;o<t.length;o++)w((r=t[o]).item,r.id);(0,i.debugGroup)()}else a?(0,i.debug)("No new triggers found in document"):(0,i.debug)("No new triggers found in area",e.data("_id"))}function f(e){void 0!==e&&((0,i.debug)("Deactivate all triggers in area",e.data("_id")),e.find("[data-area-id]").each(function(){!function(e){(0,i.debug)("Remove trigger:",e[0]),e.removeAttr("data-area-id"),e.removeClass("popup-trigger"),e.off("._da")}(jQuery(this))}))}function g(){return d}function v(e){var t=window.MutationObserver||window.WebKitMutationObserver,a=window.addEventListener,o=g();t?new t(function(t,a){return t[0].addedNodes.length?((0,i.debug)("DOM changed (nodes added)"),e()):t[0].removedNodes.length?((0,i.debug)("DOM changed (nodes removed)"),e()):void 0}).observe(o[0],{childList:!0,subtree:!0}):a&&(o.addEventListener("DOMNodeInserted",e,!1),o.addEventListener("DOMNodeRemoved",e,!1))}function h(e){var t=window.ResizeObserver||window.WebKitResizeObserver;t?l=new t(e):window.setInterval(e,750),jQuery(window).resize(e)}function b(e){var t=(0,i.getOption)("activePopupClass");e&&e.hasClass(t)&&(e.removeClass(t),(0,s.doAction)("blur_area",e),(0,s.doAction)("blur_area-"+e.data("_key"),e),u("Blur",e),f(e))}function y(e,t){p(e)||((0,i.debug)("Close the top-most area"),DiviPopup.hide())}function m(e){if(27===e.keyCode)return(0,i.info)("⚡️ ESC-key pressed"),(0,s.applyFilters)("esc_key_pressed",!1)?((0,i.debug)("Ignored, manually cancelled in filter"),!0):(0,n.countVisibleAreas)("popup")?((0,i.debug)("Close top-most popup"),(0,s.doAction)("close_area",!1,"esc"),u("Close"),!1):((0,i.debug)("Ignored, no popup is visible"),!0)}function _(){(0,n.loopAllAreas)("!inline",function(e,t){e.hasClass((0,i.getOption)("exitIndicatorClass"))&&DiviPopup.show(t)})}function w(e,t){var a;if(a=(0,n.getId)(t)){if(e.attr("data-area-id"))return e.off("._da"),e.on("click._da",o),void(0,i.debug)("Trigger already prepared",e[0]);(0,n.getArea)(a)?(e.attr("data-area-id",a),e.addClass("popup-trigger"),e.on("click._da",o),(0,i.debug)("Prepared trigger to open this area:",a,e[0])):(0,i.debug)("Ignore trigger. No area found with this ID:",e[0])}else(0,i.debug)("Ignore trigger. Invalid target ID:",t,e[0]);function o(e){return e.preventDefault(),(0,i.debug)("Trigger area:",a),DiviPopup.show(a),!1}}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getId=c,t.getRealId=f,t.addAltId=function(e,t){if(e===t)return;t=c(t),null===e?delete p[t]:p[t]=e},t.getArea=g,t.registerArea=function(e,t,a){if(!(t=c(t)))return!1;var s=g(t);if(s)return s;var u=jQuery(t);if(!u.length)return!1;a&&(u=u.filter(a));if(!u||1!==u.length)return!1;"inline"===e?u.data("_visible","yes"):(u.detach(),u.data("_visible","no"));var p=t.replace(/-/g,"_").replace(/^#/,"");u.addClass(e),u.data("_id",t),u.data("_key",p),u.data("_type",e),(0,i.debug)("Area Type",e),(0,i.debug)("Area ID",t),(0,i.debug)("Area Hook",p),(0,o.attachCloseButton)(u),l[t]=u,u.hasClass((0,i.getOption)("notMobileClass"))?u.data("on-mobile",!1):u.data("on-mobile",(0,i.toBool)(u.data("on-mobile")));u.hasClass((0,i.getOption)("notTabletClass"))?u.data("on-tablet",!1):u.data("on-tablet",(0,i.toBool)(u.data("on-tablet")));u.hasClass((0,i.getOption)("notDesktopClass"))?u.data("on-desktop",!1):u.data("on-desktop",(0,i.toBool)(u.data("on-desktop")));u.hasClass((0,i.getOption)("withCloseClass"))?u.data("show-close",!0):u.hasClass((0,i.getOption)("noCloseClass"))?u.data("show-close",!1):u.data("show-close",(0,i.toBool)(u.data("show-close")));u.hasClass((0,i.getOption)("altCloseClass"))?u.data("close-alt",!0):u.data("close-alt",(0,i.toBool)(u.data("close-alt"),!1));u.hasClass((0,i.getOption)("modalIndicatorClass"))?u.data("is-modal",!0):u.data("is-modal",(0,i.toBool)(u.data("is-modal"),!1));u.hasClass((0,i.getOption)("exitIndicatorClass"))?u.data("trigger-exit",!0):u.data("trigger-exit",(0,i.toBool)(u.data("trigger-exit"),!1));u.hasClass((0,i.getOption)("noShadowClass"))?u.data("no-shadow",!0):u.data("no-shadow",(0,i.toBool)(u.data("no-shadow"),!1));u.hasClass((0,i.getOption)("darkModeClass"))?u.data("dark-mode",!0):u.data("dark-mode",(0,i.toBool)(u.data("dark-mode"),!1));u.hasClass((0,i.getOption)("singletonClass"))?u.data("singleton",!0):u.data("singleton",(0,i.toBool)(u.data("singleton"),!1));return u.data("position","center-center"),u.data("position-v","center"),u.data("position-h","center"),(0,o.configArea)(u),(0,d.doAction)("init_area",u),(0,d.doAction)("init_area-"+u.data("_key"),u),(0,n.broadcast)("Init",u),(0,r.initializeAreaAnimation)(u),(0,i.info)("➕ Registered new area:",t,"("+e+")"),u},t.getAllIds=function(e){var t=[];if(e&&e instanceof jQuery){var a=e.data("_id");for(var o in t.push(a),p)a===p[o]&&t.push(o)}else{for(var i in l){var n=l[i];m(e,n)&&t.push(i)}for(var r in p){var s=p[r],d=l[s];m(e,d)&&t.push(r)}}return t},t.loopAllAreas=function(e,t){for(var a in l){var o=l[a];m(e,o)&&t(o,a)}},t.countVisibleAreas=v,t.addVisibleArea=function(e){if(!(e=g(e)))return!1;var t=e.data("_type");if((0,i.debug)("Make area visible",e.data("_id")),"popup"!==t&&v("popup")){for(var a=0;a<u.length;a++)if("popup"===u[a].data("_type")){u.splice(a,0,e);break}}else u.push(e);if(e.find("div ."+(0,i.getOption)("triggerCloseClass")).off(".da"),e.find("."+(0,i.getOption)("closeButtonClass")).off(".da"),e.find("div ."+(0,i.getOption)("triggerCloseClass")).on("click.da",function(t){(0,i.debug)("Click on custom close-button"),(0,d.doAction)("close_area",e,"custom"),(0,d.doAction)("close_area-"+e.data("_key"),e,"custom"),(0,n.broadcast)("Close",e)}),e.hasClass((0,i.getOption)("withCloseClass"))){var o=e.find("."+(0,i.getOption)("closeButtonClass"));o.on("click.da",function(t){(0,i.debug)("Click on default close-button"),(0,d.doAction)("close_area",e,"default"),(0,d.doAction)("close_area-"+e.data("_key"),e,"default"),(0,n.broadcast)("Close",e)})}},t.removeVisibleArea=function(e){if(!(e=g(e)))return!1;var t=e.data("_id");(0,i.debug)("Make area hidden",t);for(var a=u.length-1;a>=0;a--){var o=u[a];t===o.data("_id")&&u.splice(a,1)}e.find("div ."+(0,i.getOption)("triggerCloseClass")).off(".da"),e.find("."+(0,i.getOption)("closeButtonClass")).off(".da")},t.getVisibleArea=h,t.loopVisibleAreas=b,t.reorderVisibleAreas=function(){var e=(0,i.getOption)("zIndex"),t=1,a=[];function o(o){var s=o.data("_type"),l=o.parent(),u=e+t;isNaN(o.data("z-index"))||(u=o.data("z-index")),l.hasClass((0,i.getOption)("popupWrapperClass"))||("inline"===s?(o.wrap("<div>"),l=o.parent()):((l=jQuery("<div/>")).appendTo((0,n.getContext)()),o.detach().appendTo(l)),l.addClass((0,i.getOption)("popupWrapperClass")),l.addClass("type-"+s),l.addClass("position-"+o.data("position"))),a.push({id:o.data("_id"),type:o.data("_type"),pos:t,zIndex:"inline"===s?"":u}),"inline"!==s&&l.css({zIndex:u}),t++,"yes"!==o.data("_visible")&&("skip"===o.data("_do_animation")?o.show():((0,i.info)("✨ Animate the area (show)",o.data("_id")),(0,r.animateArea)(o,"show")),o.data("_visible","yes"),(0,d.doAction)("show_area",o),(0,d.doAction)("show_area-"+o.data("_key"),o),(0,n.broadcast)("Show",o))}(0,i.debug)("Refresh order (z-index) of visible areas"),b("all",n.blurArea),b("inline",o),b("!popup,inline",o),v("popup")&&(a.push({id:"-",type:"overlay",pos:t,zIndex:(0,s.showOverlay)()}),b("popup",o));(0,i.info)("👓 List of visible Areas:"),(0,i.debugTable)(a),(0,n.focusArea)(h()),window.setTimeout(y,50)},t.doResizeAreas=y;var o=a(4),i=a(0),n=a(2),r=a(5),s=a(6),d=a(1),l={},u=[],p={};function c(e,t){if(e instanceof jQuery){if(e.data("_id"))return e.data("_id");e=e.attr("id")}if(!e)return"";if("#"!==e[0]&&(e="#"+e),t){var a=new RegExp("^#"+t+":");e=e.replace(a,"#",e)}return e?e.toString():""}function f(e){var t=c(e),a=c(p[t]);return void 0!==l[t]?t:void 0!==l[a]?a:""}function g(e){if(e instanceof jQuery)return!!e.data("_id")&&e;var t=f(e);return!!t&&l[t]}function v(e){if(!e||"all"===e)return u.length;var t=0;return b(e,function(){return t++}),t}function h(e,t){for(var a=u.length-1;a>=0;a--)if(m(e,u[a])){if(void 0===t||-1===t)return u[a];if(t===u[a].data("_id"))return u[a]}return!1}function b(e,t){for(var a=0;a<u.length;a++)m(e,u[a])&&t(u[a],a)}function y(){var e=parseInt(jQuery("html").css("marginTop")),t=jQuery(window).innerWidth(),a=jQuery(window).innerHeight()-e;b("all",function(e){var o,n,r=e.parent(),s=e.data("_type"),d={};"inline"===s||e.data("max-width")||(e.hasClass("et_pb_section")?e.data("max-width",e.outerWidth()+"px"):(e.data("max-width",e.children(".et_pb_section").first().outerWidth()+"px"),e.children(".et_pb_section").css({width:"100%",maxWidth:""})),(0,i.debug)("Auto max-width calculated:",e.data("_id"),e.data("max-width"))),e.data("max-height")&&(d.overflow="auto",d.maxHeight=e.data("max-height")),e.data("max-width")&&(d.maxWidth=e.data("max-width")),e.css(d),"popup"===s&&(n=isNaN(e[0].scrollHeight)?e.innerHeight:e[0].scrollHeight,o=isNaN(e[0].scrollWidth)?e.innerWidth:e[0].scrollWidth,t<o+20?r.addClass((0,i.getOption)("fullWidthClass")):r.removeClass((0,i.getOption)("fullWidthClass")),a<n+20?r.addClass((0,i.getOption)("fullHeightClass")):r.removeClass((0,i.getOption)("fullHeightClass")))})}function m(e,t){if(!e)return!0;if("all"===e)return!0;var a="!"===e[0],o=t.data("_type");e=e.replace("!","").split(",");for(var i=0;i<e.length;i++){if(e[i]=e[i].trim(),a&&e[i]===o)return!1;if(!a&&e[i]===o)return!0}return!!a}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.attachCloseButton=function(e){var t=(0,n.getOption)("closeButtonClass"),a=t+"_wrap",o=(0,n.getOption)("noCloseClass"),i=(0,n.getOption)("withCloseClass");if(e.find("."+a).length)return;var r=jQuery("<span />").addClass(a),s=jQuery('<a href="#close" />').addClass(t);s.html("×"),s.appendTo(r),r.appendTo(e),e.hasClass(o)||e.hasClass(i)||((0,n.getOption)("defaultShowCloseButton")?e.addClass(i):e.addClass(o));(0,n.debug)("Added default close button to area",e.data("_id"))},t.setupHoverArea=function(e){var t=jQuery(e.data("_trigger"));if(!t.length)return;var a=(0,n.isPositon)(t,"fixed"),o="#"+e.attr("id"),i=e.data("close-on"),d=1e3*e.data("close-delay"),l=e,u=!1,p=!1,c=!1;s&&(c=new s(function(e){var t=!0,a=!1,o=void 0;try{for(var i,n=e[Symbol.iterator]();!(t=(i=n.next()).done);t=!0){var r=i.value,s=r.contentRect,d=s.width+"-"+s.height;d!==p&&(p=d,g())}}catch(e){a=!0,o=e}finally{try{!t&&n.return&&n.return()}finally{if(a)throw o}}},{box:"border-box"}));function f(){(0,n.info)("📐 Position area relative to element:",t),l=e.closest(".popup_outer_wrap"),g(),(0,r.removeAction)("show_area-"+e.data("_key"),f)}function g(){var o=a?t[0].getBoundingClientRect():t.clientRect(),i={left:"",top:"",right:"",bottom:"",width:"",height:"",position:a?"fixed":"absolute"};"top"===e.data("position-v")?i.top=o.top:"bottom"===e.data("position-v")?i.top=o.bottom:"left"===e.data("position-h")?(i.top=o.top+o.height/2,i.left=o.left):"right"===e.data("position-h")?(i.top=o.top+o.height/2,i.left=o.right):(0,n.error)("Invalid position",e.data("position")),(0,n.debug)("Area position:",i),l.css(i)}function v(){h(),u=window.setTimeout(function(){DiviArea.hide(e.data("_id"))},d)}function h(){u&&window.clearTimeout(u),u=!1}(0,r.addAction)("show_area-"+e.data("_key"),function(){c&&c.observe(t[0]),function(){"click"===i?jQuery(document).on("click."+o,function(e){jQuery(e.target).closest(o).length||v()}):"hover"===i&&(e.on("mouseleave._dah",v),t.on("mouseleave._dah",v));t.on("mouseenter._dah",h),e.on("mouseenter._dah",h)}(),f()}),(0,r.addAction)("hide_area-"+e.data("_key"),function(){c&&c.disconnect(),jQuery(document).off("."+o),e.off("._dah"),t.off("._dah")}),(0,n.debug)("Prepared positioning of hover area")},t.checkViewport=function(e){var t=!0,a=jQuery(window).innerWidth();t=a<768?!!e.data("on-mobile"):a<981?!!e.data("on-tablet"):!!e.data("on-desktop");return t},t.triggerLazyLoad=function(e){jQuery("body").trigger("post-load")},t.triggerAnimations=function(e){void 0!==window.et_reinit_waypoint_modules&&window.et_reinit_waypoint_modules()},t.initRecaptcha=function(e){if(!window.grecaptcha)return;if(!e.find('input[name="g-recaptcha-response"]').length)return;if(e.find("[data-sitekey].g-recaptcha").length>0)e.find("form").each(function(){var e=jQuery(this),t=e.find("[data-sitekey].g-recaptcha");if(t.length&&!e.find('iframe[src*="/recaptcha/"]').length){var a={sitekey:t.attr("data-sitekey"),type:t.attr("data-type"),size:t.attr("data-size"),theme:t.attr("data-theme"),badge:t.attr("data-badge"),tabindex:t.attr("data-tabindex")},o=t.attr("data-callback"),i=t.attr("data-expired-callback");o&&"function"==typeof window[o]&&(a.callback=window[o]),i&&"function"==typeof window[i]&&(a["expired-callback"]=window[i]);var n=grecaptcha.render(t[0],a);window.recaptchaWidgets&&recaptchaWidgets.push(n)}});else{var t=jQuery('script[src*="google.com/recaptcha/api.js"]').attr("src"),a=t.replace(/^.*render=(.*)$/,"$1").split("&")[0];grecaptcha.execute(a,{action:"homepage"}).then(function(t){e.find('form [name="g-recaptcha-response]').val(t)})}},t.configArea=function(e,t,a){var r,s,d=(0,i.getArea)(e);if(!d||1!==d.length)return;if(r=d.data("_id"),"object"===(void 0===t?"undefined":o(t))){for(var l in t)t.hasOwnProperty(l)&&DiviPopup.config(d,l,t[l]);return}if(void 0!==t){if("string"!=typeof t)return;switch(t=t.trim().toLowerCase().replace(/-/g,"")){case"notmobile":s=(0,n.toBool)(d.data("on-mobile")),d.data("on-mobile",!(0,n.toBool)(a,!s));break;case"onmobile":s=(0,n.toBool)(d.data("on-mobile")),d.data("on-mobile",(0,n.toBool)(a,s));break;case"nottablet":s=(0,n.toBool)(d.data("on-tablet")),d.data("on-tablet",!(0,n.toBool)(a,!s));break;case"ontablet":s=(0,n.toBool)(d.data("on-tablet")),d.data("on-tablet",(0,n.toBool)(a,s));break;case"notdesktop":s=(0,n.toBool)(d.data("on-desktop")),d.data("on-desktop",!(0,n.toBool)(a,!s));break;case"ondesktop":s=(0,n.toBool)(d.data("on-desktop")),d.data("on-desktop",(0,n.toBool)(a,s));break;case"triggerexit":d.data("trigger-exit",(0,n.toBool)(a));break;case"hideclose":d.data("show-close",!(0,n.toBool)(a));break;case"showclose":d.data("show-close",(0,n.toBool)(a));break;case"closealt":d.data("close-alt",(0,n.toBool)(a));break;case"ismodal":d.data("is-modal",(0,n.toBool)(a));break;case"notmodal":d.data("is-modal",!(0,n.toBool)(a));break;case"shadow":d.data("no-shadow",!(0,n.toBool)(a));break;case"noshadow":d.data("no-shadow",(0,n.toBool)(a));break;case"dark":d.data("dark-mode",(0,n.toBool)(a));break;case"maxwidth":d.data("max-width",a);break;case"maxheight":d.data("max-height",a);break;case"zindex":d.data("z-index",parseInt(a));break;case"singleton":d.data("singleton",(0,n.toBool)(a));break;case"ids":case"alternateid":Array.isArray(a)?a.forEach(function(e){return(0,i.addAltId)(r,e)}):(0,i.addAltId)(r,a);break;case"position":var u=[];-1!==a.indexOf("top")?u.push("top"):-1!==a.indexOf("bottom")?u.push("bottom"):u.push("center"),-1!==a.indexOf("left")?u.push("left"):-1!==a.indexOf("right")?u.push("right"):u.push("center"),d.data("position",u.join("-")),d.data("position-v",u[0]),d.data("position-h",u[1]);break;case"closetrigger":d.data("close-on",a);break;case"closedelay":d.data("close-delay",parseFloat(a))}}d.data("on-mobile")?d.removeClass((0,n.getOption)("notMobileClass")):d.addClass((0,n.getOption)("notMobileClass"));d.data("on-tablet")?d.removeClass((0,n.getOption)("notTabletClass")):d.addClass((0,n.getOption)("notTabletClass"));d.data("on-desktop")?d.removeClass((0,n.getOption)("notDesktopClass")):d.addClass((0,n.getOption)("notDesktopClass"));d.data("trigger-exit")?d.addClass((0,n.getOption)("exitIndicatorClass")):d.removeClass((0,n.getOption)("exitIndicatorClass"));d.data("show-close")?(d.addClass((0,n.getOption)("withCloseClass")),d.removeClass((0,n.getOption)("noCloseClass"))):(d.addClass((0,n.getOption)("noCloseClass")),d.removeClass((0,n.getOption)("withCloseClass")));d.data("close-alt")?d.addClass((0,n.getOption)("altCloseClass")):d.removeClass((0,n.getOption)("altCloseClass"));d.data("is-modal")?d.addClass((0,n.getOption)("modalIndicatorClass")):d.removeClass((0,n.getOption)("modalIndicatorClass"));d.data("no-shadow")?d.addClass((0,n.getOption)("noShadowClass")):d.removeClass((0,n.getOption)("noShadowClass"));d.data("dark-mode")?d.addClass((0,n.getOption)("darkModeClass")):d.removeClass((0,n.getOption)("darkModeClass"));d.data("singleton")?d.addClass((0,n.getOption)("singletonClass")):d.removeClass((0,n.getOption)("singletonClass"))};var i=a(3),n=a(0),r=a(1),s=window.ResizeObserver||window.WebKitResizeObserver},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animateArea=function(e,t,a){var r=!1,s=!1;if("show"===t&&"yes"===e.data("_visible"))return(0,o.debug)("Skip opening-animation, area is already visible"),!1;if("hide"===t&&"yes"!==e.data("_visible"))return(0,o.debug)("Skip closing-animation, area is not visible"),!1;window.TweenLite&&"flyin"===e.data("_type")&&(s=!0);"function"!=typeof a&&(a=function(){});if("hide"===t&&"flyin"!==e.data("_type"))return void a();e.hasClass("et_pb_section")&&jQuery.fn.waypoint&&"yes"!==et_pb_custom.ignore_waypoints&&function(e){var t=e.attr("data-animation"),a=!1;if(!t)return!1;if(!(a=i[t]))return!1;jQuery("body").css("overflow-x","hidden"),jQuery("#page-container").css("overflow-y","hidden"),e.attr({"data-animation-style":a.style,"data-animation-repeat":"once"===a.repeat?"":"infinite","data-animation-duration":a.duration,"data-animation-delay":a.delay,"data-animation-intensity":a.intensity,"data-animation-starting-opacity":a.starting_opacity,"data-animation-speed-curve":a.speed_curve}),n(e,{offset:"100%",handler:function(){!function(e){var t=e.attr("data-animation-style"),a=e.attr("data-animation-repeat"),o=e.attr("data-animation-duration"),i=e.attr("data-animation-delay"),n=e.attr("data-animation-intensity"),r=e.attr("data-animation-starting-opacity"),s=e.attr("data-animation-speed-curve");!function(e){for(var t=[],a=e.get(0).attributes,o=0;o<a.length;o++)"data-animation-"===a[o].name.substring(0,15)&&t.push(a[o].name);jQuery.each(t,function(t,a){e.removeAttr(a)})}(e);var d=isNaN(parseInt(r))?0:.01*parseInt(r);-1===jQuery.inArray(s,["linear","ease","ease-in","ease-out","ease-in-out"])&&(s="ease-in-out"),e.css({"animation-duration":o,"animation-delay":i,opacity:d,"animation-timing-function":s});for(var l={},u=isNaN(parseInt(n))?50:parseInt(n),p=["slide","zoom","flip","fold","roll"],c=!1,f=!1,g=0;g<p.length;g++){var v=p[g];if(t&&t.substr(0,v.length)===v){c=v,""!==(f=t.substr(v.length,t.length))&&(f=f.toLowerCase());break}}!1!==c&&!1!==f&&(l=function(e,t,a){var o={};switch(e){case"slide":switch(t){case"top":o={transform:"translate3d(0, "+(i=-2*a)+"%, 0)"};break;case"right":o={transform:"translate3d("+(i=2*a)+"%, 0, 0)"};break;case"bottom":o={transform:"translate3d(0, "+(i=2*a)+"%, 0)"};break;case"left":var i=-2*a;o={transform:"translate3d("+i+"%, 0, 0)"};break;default:o={transform:"scale3d("+(n=.01*(100-a))+", "+n+", "+n+")"}}break;case"zoom":var n=.01*(100-a);switch(t){case"top":case"right":case"bottom":case"left":default:o={transform:"scale3d("+n+", "+n+", "+n+")"}}break;case"flip":switch(t){case"right":o={transform:"perspective(2000px) rotateY("+(r=Math.ceil(.9*a))+"deg)"};break;case"left":o={transform:"perspective(2000px) rotateY("+(r=-1*Math.ceil(.9*a))+"deg)"};break;case"top":default:o={transform:"perspective(2000px) rotateX("+(r=Math.ceil(.9*a))+"deg)"};break;case"bottom":o={transform:"perspective(2000px) rotateX("+(r=-1*Math.ceil(.9*a))+"deg)"}}break;case"fold":switch(t){case"top":o={transform:"perspective(2000px) rotateX("+(r=-1*Math.ceil(.9*a))+"deg)"};break;case"bottom":o={transform:"perspective(2000px) rotateX("+(r=Math.ceil(.9*a))+"deg)"};break;case"left":o={transform:"perspective(2000px) rotateY("+(r=Math.ceil(.9*a))+"deg)"};break;case"right":default:o={transform:"perspective(2000px) rotateY("+(r=-1*Math.ceil(.9*a))+"deg)"}}break;case"roll":switch(t){case"right":case"bottom":o={transform:"rotateZ("+(r=-1*Math.ceil(3.6*a))+"deg)"};break;case"top":case"left":o={transform:"rotateZ("+(r=Math.ceil(3.6*a))+"deg)"};break;default:var r=Math.ceil(3.6*a);o={transform:"rotateZ("+r+"deg)"}}}return o}(c,f,u)),jQuery.isEmptyObject(l)||e.css(l),e.addClass("et_animated"),e.addClass(t),e.addClass(a)}(jQuery(this.element))}})}(e)&&(r=!0);s?function(e,t,a){(0,o.debug)("Animate Area using GSAP");var i=(0,o.getOption)("animateSpeed"),n={},r={};e.css({opacity:"show"===t?0:1,transition:"all 0s"}),e.show(),window.setTimeout(function(){"left"===e.data("position-h")?(n.left=-1*e.outerWidth(),r.left=0):"right"===e.data("position-h")?(n.right=-1*e.outerWidth(),r.right=0):"top"===e.data("position-v")?(n.top=-1*e.outerHeight(),r.top=0):"bottom"===e.data("position-v")&&(n.bottom=-1*e.outerHeight(),r.bottom=0),n.opacity=1,r.opacity=1,"hide"===t?(e.css(r),TweenLite.to(e,i/1e3,{css:n})):(e.css(n),TweenLite.to(e,i/1e3,{css:r})),window.setTimeout(a,i)},5)}(e,t,a):r?function(e,t,a){(0,o.debug)("Animate Area using a Divi Animation"),e.show(),e.css({opacity:0}),window.setTimeout(function(){e.css({opacity:""}),n(e,{offset:"100%",handler:function(){e.addClass("et-animated"),a()}},2)},10)}(e,0,a):function(e,t,a){"show"===t?((0,o.debug)("Animate Area using jQuery fadeIn"),e.fadeIn((0,o.getOption)("animateSpeed"),a)):"hide"===t&&((0,o.debug)("Animate Area using jQuery fadeOut"),e.fadeOut((0,o.getOption)("animateSpeed"),a))}(e,t,a)},t.initializeAreaAnimation=function(e){if(!window.et_animation_data||!window.et_animation_data.length>0)return!1;e.removeClass("et-waypoint"),e.removeClass("et-animated");for(var t=0;t<et_animation_data.length;t++){var a=!1,o=et_animation_data[t];o&&(o.class&&e.hasClass(o.class)&&o.style&&o.repeat&&o.duration&&o.delay&&o.intensity&&o.starting_opacity&&o.speed_curve&&(a=o.class,e.addClass("pfd-waypoint"),e.attr("data-animation",a),i[a]=o,et_animation_data[t].class=void 0))}};var o=a(0),i={};function n(e,t,a){a=a||e.data("et_waypoint_max_instances")||1;var o=e.data("et_waypoint")||[];if(o.length<a){var i=e.waypoint(t);i&&i.length>0&&(o.push(i[0]),e.data("et_waypoint",o))}else for(var n=0;n<o.length;n++)o[n].context.refresh()}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showOverlay=function(){var e=(0,n.getOption)("zIndex");null===s&&((s=jQuery("<div />")).addClass((0,n.getOption)("overlayClass")),s.prependTo((0,i.getContext)()),s.on("click.popup",u));e+=Math.max(0,(0,o.countVisibleAreas)()),s.css({zIndex:e}),d||(d=!0,(0,n.info)("⤴️ Show background overlay"),s.fadeIn((0,n.getOption)("animateSpeed"),function(){jQuery("body").addClass((0,n.getOption)("openPopupClass"))}),(0,r.doAction)("show_overlay"),(0,i.broadcast)("OverlayShow"));return e},t.hideOverlay=l;var o=a(3),i=a(2),n=a(0),r=a(1),s=null,d=!1;function l(){d&&(d=!1,(0,n.info)("⤵️ Hide background overlay"),s.hide(),jQuery("body").removeClass((0,n.getOption)("openPopupClass")),(0,r.doAction)("hide_overlay"),(0,i.broadcast)("OverlayHide"))}function u(e){if((0,n.info)("⚡️ Click on background overlay"),e.preventDefault(),(0,r.applyFilters)("ignore_overlay_click",!1))return(0,n.debug)("Ignore click:","Manually cancelled via filter"),!1;if((0,r.doAction)("click_overlay"),(0,i.broadcast)("OverlayClick"),!(0,o.countVisibleAreas)("popup"))return(0,n.debug)("Ignore click:","No visible Popups found"),!1;var t=(0,o.getVisibleArea)("popup");return t.length?t.hasClass((0,n.getOption)("modalIndicatorClass"))?((0,n.debug)("Ignore click:",'Top-most popup is marked as "modal"'),!1):((0,r.doAction)("close_area"),(0,o.countVisibleAreas)("popup")||l(),!1):((0,n.debug)("Ignore click:",'Top-most popup is marked as "modal"'),!1)}},function(e,t,a){a(8),e.exports=a(11)},function(e,t,a){"use strict";var o=function(e){return e&&e.__esModule?e:{default:e}}(a(9));window.DiviArea=0,window.DiviArea=window.DiviPopup=new o.default},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var a=0;a<t.length;a++){var o=t[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,a,o){return a&&e(t.prototype,a),o&&e(t,o),t}}(),i=a(0),n=a(3),r=a(4),s=a(2),d=a(6),l=a(1),u=function(e){return e&&e.__esModule?e:{default:e}}(a(10));function p(e,t){(0,s.isArea)(e)&&DiviArea.hide(e.data("_id"))}var c=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var t=[window.location.protocol,"//","divimode.com","/wp-admin/edit.php?post_type=divi-area&page=settings#frontend"];this.app=window.DiviArea?"Divi Areas Pro":"Popups for Divi",this.lib=window.DiviArea?"DiviArea":"DiviPopup",this.version="1.0.0",this.info=this.lib+"-"+this.version,(0,i.info)("🚀 Initialize "+this.app,"- JS API:",this.info),window.DiviArea?(0,i.info)("ℹ️ You can disable the debug output on the Settings page:",t.join("")):(0,i.info)("ℹ️ You can disable the debug output by disabling WP_DEBUG"),(0,i.debug)("Details about the Debug Mode","https://divimode.com/knowledge-base/debug-options/"),(0,u.default)(),(0,i.initOptions)(),(0,s.initContext)(),(0,s.initExitIntent)(),(0,i.getOption)("initializeOnEvent")?jQuery(window,document).on((0,i.getOption)("initializeOnEvent"),function(){window.setTimeout(s.initializeModule,1)}):window.setTimeout(s.initializeModule,1)}return o(e,[{key:"markClosed",value:function(e,t){if((0,i.getOption)("debug")){var a=(0,n.getId)(e);(0,i.info)("📌 Mark Area as closed for "+t+" minutes:",a)}(0,i.setLocalData)(e,"1",t)}},{key:"isClosed",value:function(e){var t=(0,i.getLocalData)(e);if((0,i.getOption)("debug")){var a=(0,n.getId)(e);"1"===t?(0,i.info)("📌 Area is still closed:",a):(0,i.info)("📌 Area is not closed:",a)}return"1"===t}},{key:"register",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments[2];if(!(e=(0,n.getId)(e)))return!1;var o,s=(0,n.getArea)(e);if(s)return s;if(a||(a=(o=jQuery((0,n.getId)(e))).data("_type")),!a&&o.length)for(var d=o.attr("class").split(" "),l=0;l<d.length;l++)if(0===d[l].indexOf("divi-area-type-")){a=d[l].replace("divi-area-type-","");break}if(!a)return!1;(0,i.debugGroup)("Register Area | "+a+" | "+e);var u=(0,n.registerArea)(a,e,t.selector);return!(!u||!u.length)&&(Object.keys(t).forEach(function(e){(0,r.configArea)(u,e,t[e])}),"inline"===a&&((0,r.triggerLazyLoad)(u),this.show(e)),(0,i.debugGroup)(),u)}},{key:"config",value:function(e,t,a){(0,r.configArea)(e,t,a)}},{key:"show",value:function(e,t){var a=(0,n.getId)(e),o=(0,n.getArea)(a),d=0,u=!1;if((0,i.debugGroup)("Show area",a),!o||!o.length)return(0,i.error)("Could not find an area with the ID:",a),(0,i.debugGroup)(),!1;if(!(0,r.checkViewport)(o))return(0,i.debug)("Do not trigger area on this device:",a),(0,i.debugGroup)(),!1;var c=o.data("_type");return"yes"===o.data("_visible")&&o.data("_do_animation","skip"),t&&(t.delegateTarget?u=t.delegateTarget:t.target&&(u=t.target)),o.data("_trigger",u),(0,i.debug)("Trigger element:",u||"(none)"),"inline"!==c&&((0,s.removeArea)(o),o.removeClass((0,i.getOption)("exitIndicatorClass"))),"hover"===c&&(0,r.setupHoverArea)(o),(0,n.addVisibleArea)(o),(0,l.addAction)("close_area-"+o.data("_key"),p),(0,s.reOrderAreas)(o),"inline"!==c&&("skip"!==o.data("_do_animation")&&o.data("animation")&&(o.css({transition:"none"}),d+=(0,i.toMilliseconds)(o.css("animation-delay")),d+=(0,i.toMilliseconds)(o.css("animation-duration")),o.addClass("__is_animating"),window.setTimeout(function(){"yes"===o.data("_visible")&&o.removeClass("__is_animating")},d+50)),window.setTimeout(function(){(0,r.triggerLazyLoad)(o),(0,r.triggerAnimations)(o),(0,r.initRecaptcha)(o)},50)),(0,i.debugGroup)(),o.data("_do_animation",""),!0}},{key:"hide",value:function(e){var t;(0,n.countVisibleAreas)()&&(t=e?(0,n.getVisibleArea)("all",(0,n.getRealId)(e)):(0,n.getVisibleArea)("all"))&&((0,i.debug)("Close area and unlink event handlers:",t.data("_id")),(0,s.removeArea)(t,!0)),(0,n.countVisibleAreas)("popup")?(0,s.reOrderAreas)():DiviPopup.hideOverlay()}},{key:"showOverlay",value:function(){(0,d.showOverlay)()}},{key:"hideOverlay",value:function(){(0,d.hideOverlay)()}},{key:"addFilter",value:function(e,t,a){l.addFilter.apply(window,arguments)}},{key:"addAction",value:function(e,t,a){l.addAction.apply(window,arguments)}},{key:"removeFilter",value:function(e,t,a){l.removeFilter.apply(window,arguments)}},{key:"removeAction",value:function(e,t,a){l.removeAction.apply(window,arguments)}},{key:"applyFilters",value:function(e,t){return l.applyFilters.apply(window,arguments)}},{key:"doAction",value:function(e,t){l.doAction.apply(window,arguments)}},{key:"openPopup",value:function(e){(0,i.error)("DiviPopup.openPopup() is deprecated. Please use DiviPopup.show() instead"),DiviPopup.show(e)}},{key:"openArea",value:function(e){(0,i.error)("DiviArea.openArea() is deprecated. Please use DiviArea.show() instead"),DiviPopup.show(e)}},{key:"closePopup",value:function(e){(0,i.error)("DiviPopup.closeArea() is deprecated. Please use DiviPopup.hide() instead"),DiviPopup.hide(e)}},{key:"closeArea",value:function(e){(0,i.error)("DiviArea.closeArea() is deprecated. Please use DiviArea.hide() instead"),DiviPopup.hide(e)}},{key:"broadcast",value:function(e,t,a){(0,i.error)("DiviArea.broadcast() is deprecated. Please use DiviArea.doAction() instead"),s.broadcast.apply(window,arguments)}},{key:"observe",value:function(e,t,a){s.observe.apply(window,arguments)}}]),e}();t.default=c},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){!function(e){e.support.getBoundingClientRect="getBoundingClientRect"in document.documentElement,e.fn.clientRect=function(){var t={top:0,left:0,width:0,height:0,bottom:0,right:0};if(0===this.length)return t;var a,o=this[0],i=o.ownerDocument,n=i.documentElement;if(!e.contains(n,o))return t;if(e.support.getBoundingClientRect){try{a=o.getBoundingClientRect()}catch(e){}if(!a)return t;if(a.right===a.left&&a.top===a.bottom)return t;var r=function(t){return e.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}(i);t.top=a.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),t.left=a.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0),t.width=a.right-a.left,t.height=a.bottom-a.top}else{if("none"==this.css("display"))return t;(t=this.offset()).width=this.outerWidth(),t.height=this.outerHeight()}return t.bottom=t.top+t.height,t.right=t.left+t.width,t}}(jQuery)}},function(e,t,a){}]);
|
lang/divi-popup-de_DE.po
CHANGED
@@ -30,8 +30,8 @@ msgid "Popups for Divi"
|
|
30 |
msgstr "Popups für Divi"
|
31 |
|
32 |
#. Plugin URI of the plugin/theme
|
33 |
-
msgid "https://
|
34 |
-
msgstr "https://
|
35 |
|
36 |
#. Description of the plugin/theme
|
37 |
msgid ""
|
@@ -45,5 +45,5 @@ msgid "Philipp Stracker"
|
|
45 |
msgstr "Philipp Stracker"
|
46 |
|
47 |
#. Author URI of the plugin/theme
|
48 |
-
msgid "https://
|
49 |
-
msgstr "https://
|
30 |
msgstr "Popups für Divi"
|
31 |
|
32 |
#. Plugin URI of the plugin/theme
|
33 |
+
msgid "https://divimode.com/divi-popup/"
|
34 |
+
msgstr "https://divimode.com/divi-popup/"
|
35 |
|
36 |
#. Description of the plugin/theme
|
37 |
msgid ""
|
45 |
msgstr "Philipp Stracker"
|
46 |
|
47 |
#. Author URI of the plugin/theme
|
48 |
+
msgid "https://divimode.com/"
|
49 |
+
msgstr "https://divimode.com/"
|
plugin.php
CHANGED
@@ -7,12 +7,12 @@
|
|
7 |
* @license GPL2+
|
8 |
*
|
9 |
* Plugin Name: Popups for Divi
|
10 |
-
* Plugin URI: https://
|
11 |
* Description: Finally a simple and intuitive way to add custom popups to your Divi pages!
|
12 |
* Author: Philipp Stracker
|
13 |
* Author URI: https://philippstracker.com/
|
14 |
* Created: 30.12.2017
|
15 |
-
* Version: 1.
|
16 |
* License: GPLv2 or later
|
17 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
18 |
* Text Domain: divi-popup
|
@@ -39,7 +39,7 @@ define( 'DIVI_POPUP_PLUGIN', plugin_basename( __FILE__ ) );
|
|
39 |
/**
|
40 |
* A new version value will force refresh of CSS and JS files for all users.
|
41 |
*/
|
42 |
-
define( 'DIVI_POPUP_VERSION', '1.
|
43 |
|
44 |
add_action(
|
45 |
'plugins_loaded',
|
7 |
* @license GPL2+
|
8 |
*
|
9 |
* Plugin Name: Popups for Divi
|
10 |
+
* Plugin URI: https://divimode.com/divi-popup/
|
11 |
* Description: Finally a simple and intuitive way to add custom popups to your Divi pages!
|
12 |
* Author: Philipp Stracker
|
13 |
* Author URI: https://philippstracker.com/
|
14 |
* Created: 30.12.2017
|
15 |
+
* Version: 1.7.0
|
16 |
* License: GPLv2 or later
|
17 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
18 |
* Text Domain: divi-popup
|
39 |
/**
|
40 |
* A new version value will force refresh of CSS and JS files for all users.
|
41 |
*/
|
42 |
+
define( 'DIVI_POPUP_VERSION', '1.7.0' );
|
43 |
|
44 |
add_action(
|
45 |
'plugins_loaded',
|
readme.txt
CHANGED
@@ -22,7 +22,7 @@ No configuration needed. Simply activate the plugin and add the CSS class "popup
|
|
22 |
|
23 |
# ⭐️ Additional details
|
24 |
|
25 |
-
Check out the [Plugin website](https://
|
26 |
|
27 |
* Examples
|
28 |
* CSS class options
|
@@ -45,7 +45,7 @@ The course is available in your **wp-admin Dashboard** right after you install a
|
|
45 |
|
46 |
# 🥳 Want more?
|
47 |
|
48 |
-
If you want to get the most out of Divi, you need to have a look at **[Divi Areas Pro](https://
|
49 |
|
50 |
> * An **admin UI** to create and configure your popups
|
51 |
> * Choose **Area Type**: Popup, Inline, Fly-in, Hover
|
@@ -72,7 +72,7 @@ If you want to get the most out of Divi, you need to have a look at **[Divi Area
|
|
72 |
> * **Great documentation** built into the plugin and an online knowledge base
|
73 |
> * and much more...
|
74 |
>
|
75 |
-
> 👉 [Learn more about **Divi Areas Pro**](https://
|
76 |
|
77 |
== Installation ==
|
78 |
|
@@ -107,7 +107,7 @@ We did test it with all releases since the initial Divi 3.0 release. Possibly it
|
|
107 |
|
108 |
Yes, actually it will! But out of the box it is optimized to work with Divi 3.x. If you use any other theme or site builder then you need to change the default options of the plugin via the `evr_divi_popup-js_data` filter.
|
109 |
|
110 |
-
For more details visit https://
|
111 |
|
112 |
= Does this plugin display any ads? =
|
113 |
|
@@ -152,11 +152,11 @@ Alternatively you can replace the `popups-for-divi` folder via FTP: Extract the
|
|
152 |
|
153 |
= I have more questions or need help =
|
154 |
|
155 |
-
Please first visit the [**plugin website**](https://
|
156 |
|
157 |
If that does not help, then head over to the [**support forum**](https://wordpress.org/support/plugin/popups-for-divi/) and post a new thread.
|
158 |
|
159 |
-
When you need additional features, then please have a look at our the Premium plugin [**Divi Areas Pro**](https://
|
160 |
|
161 |
We cannot provide customization and development via the forum. If you need that, [**you can hire us**](https://philippstracker.com/go/inquire-popup-change/) to create some special triggers, layouts or other changes.
|
162 |
|
@@ -167,11 +167,19 @@ We cannot provide customization and development via the forum. If you need that,
|
|
167 |
3. Step 2: Add the popup-ID as a button link. Clicking this button will show the popup.
|
168 |
4. That's all. Save the page and open it up without the editor. All popups are initially hidden.
|
169 |
5. Click on the "Contact" button displays the popup. You can style the Divi section (change the width, background-color, etc) or customize the CSS of the popup...
|
170 |
-
6. ...check out the extensive API documentation and popup samples on
|
171 |
7. Our free email course walks you through every aspect of the plugin - from the basics to advanced use-cases and techniques.
|
172 |
|
173 |
== Changelog ==
|
174 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
= 1.6.3 =
|
176 |
* Fix animation glitch in Safari/iPhone that displayed the Popup too small when using Divis "Zoom" open animation.
|
177 |
* Fix logic that did not recognize Popups with upper-case letters in the Popup IDs.
|
@@ -181,8 +189,6 @@ We cannot provide customization and development via the forum. If you need that,
|
|
181 |
= 1.6.2 =
|
182 |
* Fix JS error in front.js
|
183 |
|
184 |
-
Plugin tested with WordPress 5.2.3 and Divi 3.27.4
|
185 |
-
|
186 |
= 1.6.0 =
|
187 |
* Change Popup behavior: The size now matches the width of your Divi section! 🤩
|
188 |
* Add an dashboard notification to sign up for the six-day onboarding course.
|
22 |
|
23 |
# ⭐️ Additional details
|
24 |
|
25 |
+
Check out the [Plugin website](https://divimode.com/divi-popup/) for more details. You'll find:
|
26 |
|
27 |
* Examples
|
28 |
* CSS class options
|
45 |
|
46 |
# 🥳 Want more?
|
47 |
|
48 |
+
If you want to get the most out of Divi, you need to have a look at **[Divi Areas Pro](https://divimode.com/divi-areas-pro)** to get additional features:
|
49 |
|
50 |
> * An **admin UI** to create and configure your popups
|
51 |
> * Choose **Area Type**: Popup, Inline, Fly-in, Hover
|
72 |
> * **Great documentation** built into the plugin and an online knowledge base
|
73 |
> * and much more...
|
74 |
>
|
75 |
+
> 👉 [Learn more about **Divi Areas Pro**](https://divimode.com/divi-areas-pro/) (with screenshots!)
|
76 |
|
77 |
== Installation ==
|
78 |
|
107 |
|
108 |
Yes, actually it will! But out of the box it is optimized to work with Divi 3.x. If you use any other theme or site builder then you need to change the default options of the plugin via the `evr_divi_popup-js_data` filter.
|
109 |
|
110 |
+
For more details visit https://divimode.com/divi-popup/
|
111 |
|
112 |
= Does this plugin display any ads? =
|
113 |
|
152 |
|
153 |
= I have more questions or need help =
|
154 |
|
155 |
+
Please first visit the [**plugin website**](https://divimode.com/divi-popup/), as it includes examples and documentation that could answer your questions.
|
156 |
|
157 |
If that does not help, then head over to the [**support forum**](https://wordpress.org/support/plugin/popups-for-divi/) and post a new thread.
|
158 |
|
159 |
+
When you need additional features, then please have a look at our the Premium plugin [**Divi Areas Pro**](https://diivimode.com/divi-areas-pro/) which comes with a lot of cool options!
|
160 |
|
161 |
We cannot provide customization and development via the forum. If you need that, [**you can hire us**](https://philippstracker.com/go/inquire-popup-change/) to create some special triggers, layouts or other changes.
|
162 |
|
167 |
3. Step 2: Add the popup-ID as a button link. Clicking this button will show the popup.
|
168 |
4. That's all. Save the page and open it up without the editor. All popups are initially hidden.
|
169 |
5. Click on the "Contact" button displays the popup. You can style the Divi section (change the width, background-color, etc) or customize the CSS of the popup...
|
170 |
+
6. ...check out the extensive API documentation and popup samples on divimode.com
|
171 |
7. Our free email course walks you through every aspect of the plugin - from the basics to advanced use-cases and techniques.
|
172 |
|
173 |
== Changelog ==
|
174 |
|
175 |
+
= 1.7.0 =
|
176 |
+
* Improve the JS API. We rewrote the API from ground up with tons of features and enhancements: Detailed debug logging, an all-new DiviArea base object with support for WordPress-like hooks, and much more!
|
177 |
+
* Fix a bug where the Popup overlay was hidden too early when displaying more than one Popup at once
|
178 |
+
* Fix wrong zIndex values when displaying multiple Areas at the same time
|
179 |
+
* Fix some glitches in the JS script that triggers Divi Areas
|
180 |
+
|
181 |
+
Plugin tested with WordPress 5.2.4 and Divi 4.0.6
|
182 |
+
|
183 |
= 1.6.3 =
|
184 |
* Fix animation glitch in Safari/iPhone that displayed the Popup too small when using Divis "Zoom" open animation.
|
185 |
* Fix logic that did not recognize Popups with upper-case letters in the Popup IDs.
|
189 |
= 1.6.2 =
|
190 |
* Fix JS error in front.js
|
191 |
|
|
|
|
|
192 |
= 1.6.0 =
|
193 |
* Change Popup behavior: The size now matches the width of your Divi section! 🤩
|
194 |
* Add an dashboard notification to sign up for the six-day onboarding course.
|