OoohBoi Steroids for Elementor - Version 1.7.6

Version Description

  • New: Added option to remove the "data-scroll-section" attribute (see Manage JS Libraries)
  • Added required GSAP License acknowledgement
Download this release

Release Info

Developer ooohboi
Plugin Icon 128x128 OoohBoi Steroids for Elementor
Version 1.7.6
Comparing to
See all releases

Code changes from version 1.9.0 to 1.7.6

Files changed (55) hide show
  1. assets/css/admin.css +9 -8
  2. assets/css/editor-dark.css +0 -167
  3. assets/css/editor.css +4 -45
  4. assets/css/main.css +2 -27
  5. assets/js/butterbutton-min.js +0 -1
  6. assets/js/commentz-min.js +0 -1
  7. assets/js/glider-min.js +0 -1
  8. assets/js/harakiri-min.js +0 -1
  9. assets/js/hoveranimator-min.js +0 -1
  10. assets/js/ob-steroids-editor-min.js +0 -1
  11. assets/js/ooohboi-libs-locomotion.js +1 -1
  12. assets/js/ooohboi-steroids-min.js +1 -1
  13. assets/js/ooohboi-steroids.js +1027 -0
  14. assets/js/perspektive-min.js +0 -1
  15. assets/js/photomorph-min.js +0 -1
  16. assets/js/poopart-min.js +0 -1
  17. assets/js/pseudo-min.js +0 -1
  18. assets/js/searchcop-min.js +0 -1
  19. assets/js/spacerat-min.js +0 -1
  20. assets/js/widgetstalker-min.js +0 -1
  21. controls/ooohboi-breaking-bad.php +2 -2
  22. controls/ooohboi-bullet.php +0 -91
  23. controls/ooohboi-butter-button.php +15 -67
  24. controls/ooohboi-commentz.php +3 -77
  25. controls/ooohboi-glider.php +14 -195
  26. controls/ooohboi-harakiri.php +36 -66
  27. controls/ooohboi-hover-animator.php +113 -214
  28. controls/ooohboi-icobox.php +0 -16
  29. controls/ooohboi-imbox.php +3 -38
  30. controls/ooohboi-overlaiz.php +18 -28
  31. controls/ooohboi-overlay-underlay.php +21 -161
  32. controls/ooohboi-perspektive.php +4 -35
  33. controls/ooohboi-photomorph.php +0 -31
  34. controls/ooohboi-pseudo.php +61 -155
  35. controls/ooohboi-searchcop.php +0 -46
  36. controls/ooohboi-spacerat.php +5 -48
  37. controls/ooohboi-videomasq.php +0 -1
  38. controls/ooohboi-widget-stalker.php +2 -32
  39. inc/common-functions.php +2 -48
  40. inc/exopite-simple-options/exopite-simple-options-framework-class.php +2 -4
  41. inc/img/anime-js.png +0 -0
  42. inc/img/barba-js.png +0 -0
  43. inc/img/glider-centered.png +0 -0
  44. inc/img/harakiri-cutt-off-bottom.png +0 -0
  45. inc/img/icon-list-bullet.png +0 -0
  46. inc/img/sfe-allow-freehand.png +0 -0
  47. inc/img/sfe-new-interface.png +0 -0
  48. inc/info/ob-landing.php +14 -40
  49. lang/ooohboi-steroids.pot +603 -763
  50. lib/anime/anime.min.js +0 -8
  51. lib/barba/barba.min.js +0 -7
  52. lib/gsap/gsap.min.js +11 -0
  53. lib/scrolltrigger/ScrollTrigger.min.js +11 -0
  54. ooohboi-steroids.php +66 -151
  55. readme.txt +8 -59
assets/css/admin.css CHANGED
@@ -125,15 +125,16 @@ a.toplevel_page_steroids_for_elementor.wp-not-current-submenu .wp-menu-image img
125
  .exopite-sof-wrapper.steroids_for_elementor-options .checkbox__checkmark::after {
126
  border-color: #ED2B5C;
127
  }
128
- .exopite-sof-wrapper.steroids_for_elementor-options .ob-alert {
129
- background-color: #ffaca3;
130
- padding: 5%;
131
- margin-top: 5%;
132
- font-size: 13px;
133
- line-height: 1.4;
134
- font-style: italic;
135
- border-radius: 4px;
136
  }
 
 
 
 
 
 
137
  /* ------------ EXOPITE */
138
 
139
  .exopite-sof-wrapper.steroids_for_elementor-options > form {
125
  .exopite-sof-wrapper.steroids_for_elementor-options .checkbox__checkmark::after {
126
  border-color: #ED2B5C;
127
  }
128
+
129
+ .exopite-sof-wrapper.steroids_for_elementor-options .card.sfe-card-warning .card-body {
130
+ background-color: #ff60001f;
 
 
 
 
 
131
  }
132
+ .exopite-sof-wrapper.steroids_for_elementor-options .card.sfe-card-warning .card-body span {
133
+ font-size: 16px;
134
+ display: block;
135
+ margin-bottom: 12px;
136
+ }
137
+
138
  /* ------------ EXOPITE */
139
 
140
  .exopite-sof-wrapper.steroids_for_elementor-options > form {
assets/css/editor-dark.css DELETED
@@ -1,167 +0,0 @@
1
- /* Elementor editor styles - dark */
2
-
3
- .elementor-control-_ob_steroids_background_overlay .elementor-panel-heading-title:after,
4
- .elementor-control-_ob_overlaiz_plugin_title:after,
5
- .elementor-control-_ob_harakiri_plugin_title:after,
6
- .elementor-control-_ob_paginini_plugin_title:after,
7
- .elementor-control-_ob_photogiraffe_plugin_title:after,
8
- .elementor-control-_ob_bbad_section_title:after,
9
- .elementor-control-_ob_bbad_column_title:after,
10
- .elementor-control-_ob_teleporter_plugin_title:after,
11
- .elementor-control-_ob_cartshut_plugin_title:after,
12
- .elementor-control-_ob_searchcop_plugin_title:after,
13
- .elementor-control-_ob_videomasq_plugin_title:after,
14
- .elementor-control-_ob_butterbutton:after,
15
- .elementor-control-_ob_perspektive:after,
16
- .elementor-control-_ob_shadough:after,
17
- .elementor-control-_ob_photomorph:after,
18
- .elementor-control-_ob_commentz:after,
19
- .elementor-control-_ob_spacerat:after,
20
- .elementor-control-_ob_imbox_img:after,
21
- .elementor-control-_ob_imbox_cont:after,
22
- .elementor-control-_ob_icobox_img:after,
23
- .elementor-control-_ob_icobox_cont:after,
24
- .elementor-control-_ob_hoveranimator_section_title:after,
25
- .elementor-control-_ob_hoveranimator_panel:after,
26
- .elementor-control-_ob_kontrolz:after,
27
- .elementor-control-_ob_widget_stalker:after,
28
- .elementor-control-_ob_pseudo_section_title:after,
29
- .elementor-control-_ob_loco_title_section:after,
30
- .elementor-control-_ob_bullet:after {
31
- content: "";
32
- position: absolute;
33
- height: 20px;
34
- width: 20px;
35
- top: 10px;
36
- right: 20px;
37
- background-image: url("../img/ooohboi-poopart-icon.png");
38
- background-position: center center;
39
- background-size: cover;
40
- z-index: 1;
41
- }
42
- .elementor-control-_ob_hoveranimator_section_title .elementor-control-content:before,
43
- .elementor-control-_ob_hoveranimator_panel:before {
44
- content: "";
45
- position: absolute;
46
- height: 6px;
47
- width: 6px;
48
- top: 0px;
49
- left: 0px;
50
- background-color: #ff743d;
51
- z-index: 1;
52
- }
53
- .elementor-control-_ob_widget_stalker:before,
54
- .elementor-control-_ob_bbad_section_title_0:before {
55
- content: "";
56
- position: absolute;
57
- height: 6px;
58
- width: 6px;
59
- top: 0px;
60
- left: 0px;
61
- background-color: #4ffd00;
62
- z-index: 1;
63
- }
64
- .rtl .elementor-control-_ob_steroids_background_overlay .elementor-panel-heading-title:after,
65
- .rtl .elementor-control-_ob_overlaiz_plugin_title:after,
66
- .rtl .elementor-control-_ob_harakiri_plugin_title:after,
67
- .rtl .elementor-control-_ob_paginini_plugin_title:after,
68
- .rtl .elementor-control-_ob_photogiraffe_plugin_title:after,
69
- .rtl .elementor-control-_ob_bbad_section_title:after,
70
- .rtl .elementor-control-_ob_bbad_column_title:after,
71
- .rtl .elementor-control-_ob_teleporter_plugin_title:after,
72
- .rtl .elementor-control-_ob_cartshut_plugin_title:after,
73
- .rtl .elementor-control-_ob_searchcop_plugin_title:after,
74
- .rtl .elementor-control-_ob_videomasq_plugin_title:after,
75
- .rtl .elementor-control-_ob_butterbutton:after,
76
- .rtl .elementor-control-_ob_perspektive:after,
77
- .rtl .elementor-control-_ob_shadough:after,
78
- .rtl .elementor-control-_ob_photomorph:after,
79
- .rtl .elementor-control-_ob_commentz:after,
80
- .rtl .elementor-control-_ob_spacerat:after,
81
- .rtl .elementor-control-_ob_imbox_img:after,
82
- .rtl .elementor-control-_ob_imbox_cont:after,
83
- .rtl .elementor-control-_ob_icobox_img:after,
84
- .rtl .elementor-control-_ob_icobox_cont:after,
85
- .rtl .elementor-control-_ob_hoveranimator_section_title:after,
86
- .rtl .elementor-control-_ob_hoveranimator_panel:after,
87
- .rtl .elementor-control-_ob_kontrolz:after,
88
- .rtl .elementor-control-_ob_widget_stalker:after,
89
- .rtl .elementor-control-_ob_pseudo_section_title:after,
90
- .rtl .elementor-control-_ob_loco_title_section:after,
91
- .rtl .elementor-control-_ob_bullet:after {
92
- left: 20px;
93
- right: unset;
94
- }
95
- .rtl .elementor-control-_ob_hoveranimator_section_title .elementor-control-content:before,
96
- .rtl .elementor-control-_ob_hoveranimator_panel:before {
97
- right: calc(100% - 6px);
98
- left: unset;
99
- }
100
- .rtl .elementor-control-_ob_widget_stalker:before,
101
- .rtl .elementor-control-_ob_bbad_section_title_0:before {
102
- right: calc(100% - 6px);
103
- left: unset;
104
- }
105
- .ob-is-breaking-bad.elementor-top-section > .elementor-container > .elementor-row,
106
- .ob-is-breaking-bad.elementor-inner-section > .elementor-container > .elementor-row {
107
- flex-wrap: wrap;
108
- }
109
-
110
- /* NEW mrk */
111
- sup.ob-new-feature {
112
- color: #FF00BE;
113
- margin-left: 4px;
114
- letter-spacing: 1px;
115
- }
116
-
117
- /* widget stalker */
118
- .elementor-control-type-raw_html .elementor-control-title {
119
- font-size: 12px;
120
- font-weight: 600;
121
- letter-spacing: 2px;
122
- }
123
-
124
- /* pseudo */
125
- .elementor-column.ob-is-pseudo .elementor-element-populated:before,
126
- .elementor-column.ob-is-pseudo .elementor-element-populated:after {
127
- content: '';
128
- position: absolute;
129
- pointer-events: none;
130
- }
131
-
132
- /* the Interface 1.9.0 */
133
- [class*="elementor-control-_ob_"].elementor-control-type-raw_html .elementor-control-content {
134
- padding: 12px;
135
- background: linear-gradient(90deg, rgba(0,0,0,0.2), rgba(0,0,0,0));
136
- border-radius: 4px;
137
- }
138
- [class*="elementor-control-_ob_"].elementor-control-type-raw_html .elementor-control-title {
139
- color: #e18f5e;
140
- font-size: 12px;
141
- font-weight: 500;
142
- letter-spacing: 1px;
143
- text-transform: uppercase;
144
- }
145
- [class*="elementor-control-_ob_"].elementor-control-type-raw_html .elementor-control-field-description {
146
- font-style: normal;
147
- font-size: 12px;
148
- margin-top: 0;
149
- }
150
- [class*="elementor-control-_ob_"].elementor-control-type-raw_html .elementor-control-title + .elementor-control-field-description {
151
- margin-top: 10px;
152
- }
153
-
154
- [class*="elementor-control-_ob_"].elementor-control label.elementor-control-title {
155
- background: linear-gradient(90deg, #005771, #9198e500);
156
- padding: 4px 6px;
157
- border-radius: 4px;
158
- font-weight: 400;
159
- line-height: 1.1;
160
- }
161
-
162
- /*
163
- .elementor-control-_ob_.elementor-control label.elementor-control-title,
164
- .elementor-control-_ob_scrolltrigger.elementor-control label.elementor-control-title {
165
- background: linear-gradient(90deg, #67800f, #67800f00);
166
- }
167
- */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/editor.css CHANGED
@@ -26,8 +26,7 @@
26
  .elementor-control-_ob_kontrolz:after,
27
  .elementor-control-_ob_widget_stalker:after,
28
  .elementor-control-_ob_pseudo_section_title:after,
29
- .elementor-control-_ob_loco_title_section:after,
30
- .elementor-control-_ob_bullet:after {
31
  content: "";
32
  position: absolute;
33
  height: 20px;
@@ -87,8 +86,7 @@
87
  .rtl .elementor-control-_ob_kontrolz:after,
88
  .rtl .elementor-control-_ob_widget_stalker:after,
89
  .rtl .elementor-control-_ob_pseudo_section_title:after,
90
- .rtl .elementor-control-_ob_loco_title_section:after,
91
- .rtl .elementor-control-_ob_bullet:after {
92
  left: 20px;
93
  right: unset;
94
  }
@@ -123,47 +121,8 @@ sup.ob-new-feature {
123
 
124
  /* pseudo */
125
  .elementor-column.ob-is-pseudo .elementor-element-populated:before,
126
- .elementor-column.ob-is-pseudo .elementor-element-populated:after {
127
  content: '';
128
  position: absolute;
129
  pointer-events: none;
130
- }
131
-
132
- /* the Interface 1.9.0 */
133
- [class*="elementor-control-_ob_"].elementor-control-type-raw_html .elementor-control-content {
134
- padding: 12px;
135
- background-color: rgba(0,0,0,0.05);
136
- border-radius: 4px;
137
- }
138
- [class*="elementor-control-_ob_"].elementor-control-type-raw_html .elementor-control-title {
139
- color: #005771;
140
- font-size: 12px;
141
- font-weight: 500;
142
- letter-spacing: 1px;
143
- text-transform: uppercase;
144
- }
145
- [class*="elementor-control-_ob_"].elementor-control-type-raw_html .elementor-control-field-description {
146
- font-style: normal;
147
- font-size: 12px;
148
- margin-top: 0;
149
- }
150
- [class*="elementor-control-_ob_"].elementor-control-type-raw_html .elementor-control-title + .elementor-control-field-description {
151
- margin-top: 10px;
152
- }
153
-
154
- [class*="elementor-control-_ob_"].elementor-control label.elementor-control-title {
155
- background-color: #005771;
156
- color: #FFF;
157
- padding: 4px 6px;
158
- border-radius: 4px;
159
- font-weight: 400;
160
- line-height: 1.1;
161
- }
162
-
163
- /*
164
- .elementor-control-_ob_.elementor-control label.elementor-control-title,
165
- .elementor-control-_ob_scrolltrigger.elementor-control label.elementor-control-title {
166
- background-color: #67800f;
167
- color: #FFF;
168
- }
169
- */
26
  .elementor-control-_ob_kontrolz:after,
27
  .elementor-control-_ob_widget_stalker:after,
28
  .elementor-control-_ob_pseudo_section_title:after,
29
+ .elementor-control-_ob_loco_title_section:after {
 
30
  content: "";
31
  position: absolute;
32
  height: 20px;
86
  .rtl .elementor-control-_ob_kontrolz:after,
87
  .rtl .elementor-control-_ob_widget_stalker:after,
88
  .rtl .elementor-control-_ob_pseudo_section_title:after,
89
+ .rtl .elementor-control-_ob_loco_title_section:after {
 
90
  left: 20px;
91
  right: unset;
92
  }
121
 
122
  /* pseudo */
123
  .elementor-column.ob-is-pseudo .elementor-element-populated:before,
124
+ .elementor-column.ob-is-pseudo .elementor-element-populated:after {
125
  content: '';
126
  position: absolute;
127
  pointer-events: none;
128
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/main.css CHANGED
@@ -61,9 +61,7 @@
61
  .ob-is-glider .swiper-button-next {
62
  background-image: none;
63
  }
64
- *[class*="-gotoslide-"] {
65
- cursor: pointer;
66
- }
67
  .ob-is-glider {
68
  visibility: hidden;
69
  }
@@ -254,9 +252,8 @@ div[class*='ob-teleporter-'] {
254
  }
255
 
256
  /* Hovernimator */
257
- .ob-is-hoveranimator .ob-is-hoveranimal > .elementor-widget-container {
258
  transition-property: opacity, top, left, transform, filter;
259
- position: relative;
260
  }
261
 
262
  /* Sticky Inner Section - Stay in Column */
@@ -305,28 +302,6 @@ html.elementor-html::before {
305
  position: absolute;
306
  pointer-events: none;
307
  }
308
- [data-element_type="container"].ob-is-pseudo .ob-pseudo-before,
309
- [data-element_type="container"].ob-is-pseudo .ob-pseudo-after {
310
- position: absolute;
311
- top: 0;
312
- left: 0;
313
- width: 100%;
314
- height: 100%;
315
- pointer-events: none;
316
- z-index: -1;
317
- }
318
-
319
- /* ----------------- 1.8.2 IMAGES -------------------------- */
320
- .elementor-widget-image,
321
- .elementor-widget-image > div,
322
- .elementor-widget-image img {
323
- line-height: 0;
324
- }
325
- /* ----------------- 1.8.2 SOCIAL ICONS -------------------------- */
326
- [data-widget_type="social-icons.default"] {
327
- line-height: 0;
328
- }
329
-
330
  /* loco scrollbar */
331
 
332
  /* animations related to locomotive scroll */
61
  .ob-is-glider .swiper-button-next {
62
  background-image: none;
63
  }
64
+
 
 
65
  .ob-is-glider {
66
  visibility: hidden;
67
  }
252
  }
253
 
254
  /* Hovernimator */
255
+ .ob-is-hoveranimator .ob-is-hoveranimal {
256
  transition-property: opacity, top, left, transform, filter;
 
257
  }
258
 
259
  /* Sticky Inner Section - Stay in Column */
302
  position: absolute;
303
  pointer-events: none;
304
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
305
  /* loco scrollbar */
306
 
307
  /* animations related to locomotive scroll */
assets/js/butterbutton-min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";jQuery(window).on("elementor/frontend/init",(function(){var t,e=elementorModules.frontend.handlers.Base;t=e.extend({onInit:function(){e.prototype.onInit.apply(this,arguments),this.isButterButton()&&this.$element.addClass("ob-is-butterbutton")},isButterButton:function(){return"yes"===this.getElementSettings("_ob_butterbutton_use_it")},onElementChange:function(t){"_ob_butterbutton_use_it"===t&&("yes"===this.getElementSettings("_ob_butterbutton_use_it")?this.$element.addClass("ob-is-butterbutton"):this.$element.removeClass("ob-is-butterbutton"))}}),elementorFrontend.hooks.addAction("frontend/element_ready/button.default",(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}));
 
assets/js/commentz-min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";jQuery(window).on("elementor/frontend/init",(function(){var e,n=elementorModules.frontend.handlers.Base;e=n.extend({onInit:function(){n.prototype.onInit.apply(this,arguments),this.isCommentz()&&this.$element.addClass("ob-commentz")},isCommentz:function(){return"yes"===this.getElementSettings("_ob_commentz_use")},onElementChange:function(e){"_ob_commentz_use"===e&&("yes"===this.getElementSettings("_ob_commentz_use")?this.$element.addClass("ob-commentz"):this.$element.removeClass("ob-commentz"))}}),elementorFrontend.hooks.addAction("frontend/element_ready/post-comments.theme_comments",(function(n){elementorFrontend.elementsHandler.addHandler(e,{$element:n})}))}));
 
assets/js/glider-min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";!function(e,t){e(t).on("elementor/frontend/init",(function(){var t,i=elementorModules.frontend.handlers.Base;t=i.extend({me_the_swiper:"undefined",glider_external_controls:[],onInit:function(){if(i.prototype.onInit.apply(this,arguments),this.isGlider()&&(this.$element.addClass("ob-is-glider"),this.cleanupContainer(),this.isEdit)){var t=this;elementor.channels.data.on("element:after:add",(function(i){e('[data-id="'+i.id+'"]').parent().hasClass("ob-is-glider")&&t.cleanupContainer()}))}},isGlider:function(){return"yes"===this.getElementSettings("_ob_glider_is_slider")},isGliderCandidate:function(){return!this.$element.closest(".swiper").length&&!this.$element.find(".swiper").length},onElementChange:function(e){"_ob_glider_is_slider"===e&&("yes"===this.getElementSettings("_ob_glider_is_slider")&&this.isGliderCandidate()?(this.$element.addClass("ob-is-glider"),this.cleanupContainer()):(this.restoreContainer(),this.$element.removeClass("ob-is-glider")))},cleanupContainer:function(){this.$element.children("*").each((function(){!e(this).is('[data-element_type="container"]')&&e(this).is("[data-element_type]")&&e(this).hide()})),this.$element.data("swiper")&&this.$element.data("swiper").destroy();var t=this.$element.attr("class").split(" ");e(t).each((function(e,i){t[e]=-1===i.indexOf("swiper")?i:""})),this.$element.attr("class",t.join(" ")),this.generateSwiperStructure()},restoreContainer:function(){this.$element.children("*").each((function(){e(this).is("[data-element_type]")&&e(this).is(":hidden")&&e(this).show()}))},generateSwiperStructure:function(){if(this.isGliderCandidate()){this.$element.addClass("swiper"),this.$element.children('[data-element_type="container"]').addClass("swiper-slide"),this.$element.children('[data-element_type="container"]').wrapAll('<div class="swiper-wrapper" />'),this.$element.append('<div class="swiper-button-next"><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin" viewBox="0 0 27 44"><path d="M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z"></path></svg></div>'),this.$element.append('<div class="swiper-button-prev"><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin" viewBox="0 0 27 44"><path d="M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z"></path></svg></div>'),this.$element.append('<div class="swiper-pagination"></div>');var e={};e.pagination_type=this.getElementSettings("_ob_glider_pagination_type"),e.allowTouchMove=this.getElementSettings("_ob_glider_allow_touch_move"),e.autoheight=this.getElementSettings("_ob_glider_auto_h"),e.effect=this.getElementSettings("_ob_glider_effect"),e.loop=this.getElementSettings("_ob_glider_loop"),e.direction=this.getElementSettings("_ob_glider_direction"),e.parallax=this.getElementSettings("_ob_glider_parallax"),e.speed=this.getElementSettings("_ob_glider_speed");var t=this.getElementSettings("_ob_glider_autoplay");e.autoplay=!!t&&{delay:this.getElementSettings("_ob_glider_autoplay_delay")},e.mousewheel=this.getElementSettings("_ob_glider_allow_mousewheel"),e.allowMultiSlides=this.getElementSettings("_ob_glider_allow_multi_slides");var i={},s=elementorFrontend.config.breakpoints;i[s.lg]={slidesPerView:this.getElementSettings("_ob_glider_slides_per_view"),slidesPerGroup:this.getElementSettings("_ob_glider_slides_to_scroll"),spaceBetween:+this.getElementSettings("_ob_glider_space_between")||0},i[s.md]={slidesPerView:this.getElementSettings("_ob_glider_slides_per_view_tablet"),slidesPerGroup:this.getElementSettings("_ob_glider_slides_to_scroll_tablet"),spaceBetween:+this.getElementSettings("_ob_glider_space_between_tablet")||0},i[0]={slidesPerView:this.getElementSettings("_ob_glider_slides_per_view_mobile"),slidesPerGroup:this.getElementSettings("_ob_glider_slides_to_scroll_mobile"),spaceBetween:+this.getElementSettings("_ob_glider_space_between_mobile")||0},e.breakpoints=i,e.slides_centered=this.getElementSettings("_ob_glider_centered_slides"),e.slides_centered_bounds=this.getElementSettings("_ob_glider_centered_bounds_slides"),e.slides_round_lenghts=this.getElementSettings("_ob_glider_roundlengths_slides");var n={allowTouchMove:"yes"===e.allowTouchMove,autoHeight:"yes"===e.autoheight,effect:e.effect,loop:e.loop,direction:"fade"===e.effect?"horizontal":e.direction,parallax:"yes"===e.parallax,speed:e.speed,breakpoints:"yes"===e.allowMultiSlides&&e.breakpoints,centeredSlides:"yes"===e.slides_centered,centeredSlidesBounds:"yes"===e.slides_centered_bounds,roundLengths:"yes"===e.slides_round_lenghts,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination",type:e.pagination_type,clickable:!0},autoplay:e.autoplay,mousewheel:"yes"===e.mousewheel,watchOverflow:!0};if("undefined"==typeof Swiper){new(0,elementorFrontend.utils.swiper)(this.$element,n).then((e=>{this.me_the_swiper=e,this.runSyncStuff(this.me_the_swiper)}))}else this.me_the_swiper=new Swiper(this.$element,n),this.runSyncStuff(this.me_the_swiper);this.$element.css("visibility","visible")}},runSyncStuff:function(t){this.glider_external_controls=e("body").find('[class*="glider-'+this.$element[0].dataset.id+'-gotoslide-"]')||[],this.glider_external_controls.length&&(this.glider_external_controls.each((function(){this.target_swiper=t})),this.glider_external_controls.on("click",(function(t){var i=parseInt(e(this).attr("class").match(/-gotoslide-(\d+)/)[1]);i>0&&this.target_swiper.slideTo(i),t.preventDefault()})))}}),elementorFrontend.hooks.addAction("frontend/element_ready/container",(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}))}(jQuery,window);
 
assets/js/harakiri-min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";!function(e,n){e(n).on("elementor/frontend/init",(function(){var n,t=elementorModules.frontend.handlers.Base;n=t.extend({onInit:function(){t.prototype.onInit.apply(this,arguments),this.isHarakiri()&&this.$element.addClass("ob-harakiri")},isHarakiri:function(){return"inherit"!==this.getElementSettings("_ob_harakiri_writing_mode")},onElementChange:function(e){"_ob_harakiri_writing_mode"===e&&("inherit"!==this.getElementSettings("_ob_harakiri_writing_mode")?this.$element.addClass("ob-harakiri"):this.$element.removeClass("ob-harakiri"))}});var i={"heading.default":n,"text-editor.default":n};e.each(i,(function(e,n){elementorFrontend.hooks.addAction("frontend/element_ready/"+e,(function(e){elementorFrontend.elementsHandler.addHandler(n,{$element:e})}))}))}))}(jQuery,window);
 
assets/js/hoveranimator-min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";!function(e,t){e(t).on("elementor/frontend/init",(function(){var t,o=elementorModules.frontend.handlers.Base;t=o.extend({onInit:function(){o.prototype.onInit.apply(this,arguments),this.isHoverAnimatorContainer()&&this.$element.addClass("ob-is-hoveranimator"),this.isHoverAnimatorWidget()&&(this.$element.addClass("ob-is-hoveranimal"),this.run())},isHoverAnimatorContainer:function(){return"yes"===this.getElementSettings("_ob_column_hoveranimator")},isHoverAnimatorWidget:function(){return"yes"===this.getElementSettings("_ob_allow_hoveranimator")},onElementChange:function(e){"_ob_column_hoveranimator"===e&&("yes"===this.getElementSettings("_ob_column_hoveranimator")?this.$element.addClass("ob-is-hoveranimator"):this.$element.removeClass("ob-is-hoveranimator")),"_ob_allow_hoveranimator"===e&&("yes"===this.getElementSettings("_ob_allow_hoveranimator")?(this.$element.addClass("ob-is-hoveranimal"),this.run()):this.$element.removeClass("ob-is-hoveranimal")),-1!==["_ob_hoveranimator_opacity_hover","_ob_hoveranimator_y_hover","_ob_hoveranimator_y_hover_alt","_ob_hoveranimator_x_hover","_ob_hoveranimator_x_hover_alt","_ob_hoveranimator_rot_hover","_ob_hoveranimator_scalex_hover","_ob_hoveranimator_scaley_hover","_ob_hoveranimator_blur_hover"].indexOf(e)&&function(){this.run()}},runHoverAnimator:function(){var t=this.$element.find(".elementor-widget-container"),o=t.parent().closest(".ob-is-hoveranimator");if(o.length){var n,r,i=o.data("id"),a=this.getElementSettings("_ob_hoveranimator_opacity_hover")||1,s=this.getElementSettings("_ob_hoveranimator_y_hover")||0,_=this.getElementSettings("_ob_hoveranimator_y_hover_alt")||"",h=this.getElementSettings("_ob_hoveranimator_x_hover")||0,m=this.getElementSettings("_ob_hoveranimator_x_hover_alt")||"",l=this.getElementSettings("_ob_hoveranimator_rot_hover")||0,v=this.getElementSettings("_ob_hoveranimator_scalex_hover")||1,c=this.getElementSettings("_ob_hoveranimator_scaley_hover")||1,d=this.getElementSettings("_ob_hoveranimator_blur_hover")||0;r=""!=e.trim(m)&&void 0!==m?"calc("+m+")":h.size+h.unit,n=""!=e.trim(_)&&void 0!==_?"calc("+_+")":s.size+s.unit;var u={opacity:a.size,top:n,left:r,transform:"rotate("+l.size+"deg) scaleX("+v.size+") scaleY("+c.size+")",filter:"blur("+d.size+d.unit+")"};o.on("mouseenter."+i,(function(){t.css(u)})),o.on("mouseleave."+i,(function(){t.removeAttr("style")}))}},run:function(){this.isHoverAnimatorWidget()&&this.runHoverAnimator()}});var n={container:t,column:t,widget:t};e.each(n,(function(e,t){elementorFrontend.hooks.addAction("frontend/element_ready/"+e,(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}))}))}(jQuery,window);
 
assets/js/ob-steroids-editor-min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";!function(e,o){e(o);elementor.on("panel:init",(function(){var o;(o=e("#ooohboi-steroids-styles-editor-dark-css")).length||(o=e("<link>",{id:"ooohboi-steroids-styles-editor-dark-css",rel:"stylesheet",href:SteroidsEditorLocalized.dark_stylesheet_url})),elementor.settings.editorPreferences.model.on("change:ui_theme",(function(t,r){if("light"===r)return o.remove(),void e("<link>",{id:"ooohboi-steroids-styles-editor-css",rel:"stylesheet",href:SteroidsEditorLocalized.light_stylesheet_url}).appendTo(elementorCommon.elements.$body);o.attr("media","auto"===r?"(prefers-color-scheme: dark)":"").appendTo(elementorCommon.elements.$body)}))}))}(jQuery,window);
 
assets/js/ooohboi-libs-locomotion.js CHANGED
@@ -1,6 +1,6 @@
1
  'use strict';
2
 
3
- ( function ( $, w, sfe_loco_scroll ) {
4
 
5
  var $window = $( w );
6
  var loco_multiplier = device_settings.scroll_multiplier; // validated via PHP
1
  'use strict';
2
 
3
+ ( function ( $, w, sfe_loco_scroll ) {
4
 
5
  var $window = $( w );
6
  var loco_multiplier = device_settings.scroll_multiplier; // validated via PHP
assets/js/ooohboi-steroids-min.js CHANGED
@@ -1 +1 @@
1
- "use strict";!function(e,t){var s=e(t);s.on("elementor/frontend/init",(function(){var t=elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initSectionExtends()},isBreakingBad:function(){return this.$element.hasClass("ob-is-breaking-bad")},isGlider:function(){return this.$element.hasClass("ob-is-glider")},isInnerSection:function(){return this.$element.hasClass("elementor-inner-section")},onElementChange:function(e){"_ob_bbad_use_it"===e&&("yes"===this.getElementSettings("_ob_bbad_use_it")?(this.$element.addClass("ob-is-breaking-bad"),this.isInnerSection()&&this.$element.addClass("ob-bb-inner")):(this.$element.removeClass("ob-is-breaking-bad"),this.isInnerSection()&&this.$element.removeClass("ob-bb-inner"))),"_ob_glider_is_slider"===e&&("yes"===this.getElementSettings("_ob_glider_is_slider")?(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements()):"yes"!=this.getElementSettings("_ob_glider_is_slider")&&(this.$element.removeClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"removeClass"))),"_ob_bbad_sssic_use"===e&&this.isInnerSection()&&("yes"===this.getElementSettings("_ob_bbad_sssic_use")?this.$element.addClass("ob-is-sticky-inner-section"):this.$element.removeClass("ob-is-sticky-inner-section"))},addClassesRouteGlider:function(t,s){var i=e(t).children(".elementor-container").first();i.length&&i.addClass("swiper-container");var o=e(i).children(".elementor-row").first();o.length&&"addClass"==s?(o.addClass("swiper-wrapper"),e(o).children("div.elementor-column").addClass("swiper-slide")):o.length||"addClass"!=s||(e(i).children("div.elementor-column").wrapAll('<div class="swiper-wrapper" />'),e(i).children(".swiper-wrapper").first().children("div.elementor-column").addClass("swiper-slide")),o.length&&"removeClass"==s?(i.removeClass("swiper-container"),o.removeClass("swiper-wrapper"),e(o).children("div.elementor-column").removeClass("swiper-slide")):o.length||"removeClass"!=s||(i.removeClass("swiper-container"),e(i).children("div.swiper-wrapper").unwrap(),e(i).children("div.elementor-column").removeClass("swiper-slide"))},initSectionExtends:function(){if(this.isEdit?("yes"!==this.getElementSettings("_ob_bbad_use_it")||this.isBreakingBad()||(this.$element.addClass("ob-is-breaking-bad"),this.isInnerSection()&&this.$element.addClass("ob-bb-inner")),"yes"===this.getElementSettings("_ob_glider_is_slider")&&(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements())):"yes"===this.getElementSettings("_ob_glider_is_slider")&&(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements()),"yes"===this.getElementSettings("_ob_bbad_sssic_use")&&this.isInnerSection()){this.isEdit&&this.$element.addClass("ob-is-sticky-inner-section");var e=this.$element.closest(".elementor-widget-wrap");e.length&&e.addClass("ob-sssic-wrapper")}},initSwiperElements:function(){this.$element.children(".elementor-container").find(".swiper-button-next").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-button-next"><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin" viewBox="0 0 27 44"><path d="M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z"></path></svg></div>'),this.$element.children(".elementor-container").find(".swiper-button-prev").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-button-prev"><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin" viewBox="0 0 27 44"><path d="M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z"></path></svg></div>'),this.$element.children(".elementor-container").find(".swiper-pagination").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-pagination"></div>');var e={};e.pagination_type=this.getElementSettings("_ob_glider_pagination_type"),e.allowTouchMove=this.getElementSettings("_ob_glider_allow_touch_move"),e.autoheight=this.getElementSettings("_ob_glider_auto_h"),e.effect=this.getElementSettings("_ob_glider_effect"),e.loop=this.getElementSettings("_ob_glider_loop"),e.direction=this.getElementSettings("_ob_glider_direction"),e.parallax=this.getElementSettings("_ob_glider_parallax"),e.speed=this.getElementSettings("_ob_glider_speed");var t=this.getElementSettings("_ob_glider_autoplay");e.autoplay=!!t&&{delay:this.getElementSettings("_ob_glider_autoplay_delay")},e.mousewheel=this.getElementSettings("_ob_glider_allow_mousewheel"),e.allowMultiSlides=this.getElementSettings("_ob_glider_allow_multi_slides");var s={},o=elementorFrontend.config.breakpoints;s[o.lg]={slidesPerView:this.getElementSettings("_ob_glider_slides_per_view"),slidesPerGroup:this.getElementSettings("_ob_glider_slides_to_scroll"),spaceBetween:+this.getElementSettings("_ob_glider_space_between")||0},s[o.md]={slidesPerView:this.getElementSettings("_ob_glider_slides_per_view_tablet"),slidesPerGroup:this.getElementSettings("_ob_glider_slides_to_scroll_tablet"),spaceBetween:+this.getElementSettings("_ob_glider_space_between_tablet")||0},s[0]={slidesPerView:this.getElementSettings("_ob_glider_slides_per_view_mobile"),slidesPerGroup:this.getElementSettings("_ob_glider_slides_to_scroll_mobile"),spaceBetween:+this.getElementSettings("_ob_glider_space_between_mobile")||0},e.breakpoints=s,e.slides_centered=this.getElementSettings("_ob_glider_centered_slides"),e.slides_centered_bounds=this.getElementSettings("_ob_glider_centered_bounds_slides"),e.slides_round_lenghts=this.getElementSettings("_ob_glider_roundlengths_slides"),i(this.$element.attr("data-id"),e,"glider_"+this.$element.attr("data-id"))}}),o=elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.$element.find(".elementor-column-wrap").first().length||this.$element.addClass("ob-is-e3");var e=navigator.userAgent.toLowerCase();e.indexOf("chrome")>-1&&this.teleporterChromeResize(),this.initColumnExtends()},teleporterChromeResize:function(){if(this.isTeleporter()){var e=this,t=this.$element.attr("data-id");s.on("resize",(function(){e.$element.closest(".ob-is-teleporter").addClass("ob-chrome-resize"),clearTimeout(t),t=setTimeout((function(){var t=parseInt(e.$element.closest(".ob-is-teleporter").css("height")),s=e.$element.find(".elementor-column-wrap").first();s.length?s.css({height:t}):e.$element.find(".elementor-widget-wrap").first().css({height:t}),e.$element.closest(".ob-is-teleporter").removeClass("ob-chrome-resize")}),500)})),s.trigger("resize")}},isTeleporter:function(){return this.$element.hasClass("ob-is-teleporter")},isWidgetStalkerCol:function(){return this.$element.hasClass("ob-is-stalker")},initColumnExtends:function(){if(!this.isEdit){var e={};try{e=JSON.parse(this.$element.attr("data-settings"))}catch(e){return}if(void 0!==e._ob_bbad_link){var t=e._ob_bbad_link;if(""===t.url)return void this.$element.removeClass("bb-column-link");this.$element.addClass("bb-column-link"),this.$element.off("click.bb"),this.$element.on("click.bb",(function(){t.is_external?window.open(t.url):location.href=t.url}))}}this.isEdit&&"use-teleporter"===this.getElementSettings("_ob_teleporter_use")&&(this.$element.addClass("ob-is-teleporter"),this.$element.find(".elementor-widget-wrap").first().addClass("ob-tele-midget"),this.doTeleporterEditor()),!this.isEdit&&this.isTeleporter()&&(this.$element.find(".elementor-widget-wrap").first().addClass("ob-tele-midget"),this.doTeleporter()),this.isEdit&&"yes"===this.getElementSettings("_ob_bbad_is_stalker")&&this.$element.addClass("ob-is-stalker")},onElementChange:function(e){"_ob_teleporter_overlay_color"===e?this.$element.find('div[class*="ob-teleporter-"] > .ob-tele-overlay').css("background-color",this.getElementSettings("_ob_teleporter_overlay_color")):"_ob_teleporter_no_pass_tablet"===e?"no-tablet"===this.getElementSettings("_ob_teleporter_no_pass_tablet")?this.$element.addClass("ob-tele-no-tablet"):this.$element.removeClass("ob-tele-no-tablet"):"_ob_teleporter_no_pass_mobile"===e&&("no-mobile"===this.getElementSettings("_ob_teleporter_no_pass_mobile")?this.$element.addClass("ob-tele-no-mobile"):this.$element.removeClass("ob-tele-no-mobile")),"_ob_bbad_is_stalker"===e&&this.routeWidgetStalkerCol()},routeWidgetStalkerCol:function(){this.isWidgetStalkerCol()||"yes"!==this.getElementSettings("_ob_bbad_is_stalker")?this.$element.removeClass("ob-is-stalker"):this.$element.addClass("ob-is-stalker")},doTeleporterEditor:function(){if("use-teleporter"===this.getElementSettings("_ob_teleporter_use")){var t=this.$element.find(".elementor-widget-wrap").first();if(t.length&&(t.wrapInner('<div class="widget-wrap-children" />'),t.find(".elementor-background-overlay").first().length&&t.find(".elementor-background-overlay").first().insertBefore(t.find(".elementor-background-overlay").first().parent())),"do-pass"===this.getElementSettings("_ob_teleporter_pass")){var s=this,i=this.$element,o=this.$element.attr("data-id");"no-tablet"===this.getElementSettings("_ob_teleporter_no_pass_tablet")&&this.$element.addClass("ob-tele-no-tablet"),"no-mobile"===this.getElementSettings("_ob_teleporter_no_pass_mobile")&&this.$element.addClass("ob-tele-no-mobile");var n="section"===this.getElementSettings("_ob_teleporter_pass_element")?this.$element.closest(".elementor-section"):this.$element.closest(".elementor-container");if(n.length){n.css("overflow","hidden");var l=this.getElementSettings("_ob_teleporter_pass_effect"),r='<div class="ob-teleporter-'+o+" ob-tele-eff-"+l+'" data-id-teleporter="'+o+'"><div class="ob-tele-overlay" style="background-color: '+this.getElementSettings("_ob_teleporter_overlay_color")+';"></div></div>';e(".ob-teleporter-"+o).length||this.$element.prepend(r),this.$element.off("mouseenter mouseleave"),this.$element.on("mouseenter mouseleave",(function(t){if("mouseenter"===t.type){if("no-tablet"===s.getElementSettings("_ob_teleporter_no_pass_tablet")&&"tablet"===elementorFrontend.getCurrentDeviceMode())return;if("no-mobile"===s.getElementSettings("_ob_teleporter_no_pass_mobile")&&"mobile"===elementorFrontend.getCurrentDeviceMode())return;if("do-pass"!==s.getElementSettings("_ob_teleporter_pass"))return;var l={"background-color":e(".ob-teleporter-"+o).css("background-color"),"background-image":e(".ob-teleporter-"+o).css("background-image"),"background-position":e(".ob-teleporter-"+o).css("background-position"),"background-size":e(".ob-teleporter-"+o).css("background-size"),"background-repeat":e(".ob-teleporter-"+o).css("background-repeat")};if("section"===s.getElementSettings("_ob_teleporter_pass_element")){var r=n.children().not(".elementor-container").detach();n.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+o)),n.prepend(r)}else n.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+o));e(".ob-teleporter-"+o).css(l).hide(),e(".ob-teleporter-"+o).addClass("ob-teleporter-hover").show()}else n.removeClass("ob-tele-mom-hover"),setTimeout((function(){e(".ob-teleporter-"+o).removeAttr("style").removeClass("ob-teleporter-hover"),i.prepend(e(".ob-teleporter-"+o))}),100)}))}}}},doTeleporter:function(){var t={};try{t=JSON.parse(this.$element.attr("data-settings"))}catch(e){return}if("use-teleporter"===t._ob_teleporter_use){var s=this.$element.find(".elementor-widget-wrap").first();s.length&&(s.wrapInner('<div class="widget-wrap-children" />'),s.find(".elementor-background-overlay").first().length&&s.find(".elementor-background-overlay").first().insertBefore(s.find(".elementor-background-overlay").first().parent()));var i=this.$element,o=this.$element.attr("data-id");if("no-tablet"===t._ob_teleporter_no_pass_tablet&&this.$element.addClass("ob-tele-no-tablet"),"no-mobile"===t._ob_teleporter_no_pass_mobile&&this.$element.addClass("ob-tele-no-mobile"),void 0!==t._ob_teleporter_link){var n=t._ob_teleporter_link;if(""===n.url)return;this.$element.off("click.obTeleporter"),this.$element.on("click.obTeleporter",(function(){n.is_external?window.open(n.url):location.href=n.url}))}if("do-pass"===t._ob_teleporter_pass){var l="section"===t._ob_teleporter_pass_element?this.$element.closest(".elementor-section"):this.$element.closest(".elementor-container");if(l.length){l.css("overflow","hidden");var r=t._ob_teleporter_pass_effect,a='<div class="ob-teleporter-'+o+" ob-tele-eff-"+r+'" data-id-teleporter="'+o+'"><div class="ob-tele-overlay" style="background-color: '+t._ob_teleporter_overlay_color+';"></div>';e(".ob-teleporter-"+o).length||this.$element.prepend(a),this.$element.off("mouseenter mouseleave"),this.$element.on("mouseenter",(function(){if(!("no-tablet"===t._ob_teleporter_no_pass_tablet&&"tablet"===elementorFrontend.getCurrentDeviceMode()||"no-mobile"===t._ob_teleporter_no_pass_mobile&&"mobile"===elementorFrontend.getCurrentDeviceMode())){var s={"background-color":e(".ob-teleporter-"+o).css("background-color"),"background-image":e(".ob-teleporter-"+o).css("background-image"),"background-position":e(".ob-teleporter-"+o).css("background-position"),"background-size":e(".ob-teleporter-"+o).css("background-size"),"background-repeat":e(".ob-teleporter-"+o).css("background-repeat")};if("section"===t._ob_teleporter_pass_element){var i=l.children().not(".elementor-container").detach();l.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+o)),l.prepend(i)}else l.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+o));e(".ob-teleporter-"+o).css(s).hide(),e(".ob-teleporter-"+o).show().addClass("ob-teleporter-hover")}})),this.$element.on("mouseleave",(function(){l.removeClass("ob-tele-mom-hover"),setTimeout((function(){e(".ob-teleporter-"+o).removeAttr("style").removeClass("ob-teleporter-hover"),i.prepend(e(".ob-teleporter-"+o))}),100)}))}}}}}),n={section:t,column:o};e.each(n,(function(e,t){elementorFrontend.hooks.addAction("frontend/element_ready/"+e,(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}))}));var i=function(t,s){var i,o=e(".elementor-element-"+t),n=e(".elementor-element-"+t+" .swiper-container").first(),l=n.parent().parent().find("nav.glider-controller"),r={allowTouchMove:"yes"===s.allowTouchMove,autoHeight:"yes"===s.autoheight,effect:s.effect,loop:s.loop,direction:"fade"===s.effect?"horizontal":s.direction,parallax:"yes"===s.parallax,speed:s.speed,breakpoints:"yes"===s.allowMultiSlides&&s.breakpoints,centeredSlides:"yes"===s.slides_centered,centeredSlidesBounds:"yes"===s.slides_centered_bounds,roundLengths:"yes"===s.slides_round_lenghts,navigation:{nextEl:".elementor-element-"+t+" .swiper-button-next",prevEl:".elementor-element-"+t+" .swiper-button-prev"},pagination:{el:".elementor-element-"+t+" .swiper-pagination",type:s.pagination_type,clickable:!0},autoplay:s.autoplay,mousewheel:"yes"===s.mousewheel,watchOverflow:!0};if("undefined"==typeof Swiper){new(0,elementorFrontend.utils.swiper)(n,r).then((e=>{i=e}))}else i=new Swiper(n,r);n.find('[class*="glider-control"]').on("click",(function(t){if(void 0!==e(this).data("gotoslide"))i.slideTo(parseInt(e(this).data("gotoslide")));else{var s=parseInt(e(this).attr("class").match(/glider-control-(\d+)/)[1]);s>0&&i.slideTo(s)}t.preventDefault()})),l.find('[class*="glider-control"]').on("click",(function(t){if(void 0!==e(this).data("gotoslide"))i.slideTo(parseInt(e(this).data("gotoslide")));else{var s=parseInt(e(this).attr("class").match(/glider-control-(\d+)/)[1]);s>0&&i.slideTo(s)}t.preventDefault()})),o.css("visibility","visible")}}(jQuery,window);
1
+ "use strict";!function(e,t){var o=e(t);o.on("elementor/frontend/init",(function(){var t=elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initPoopArtPerspektiveHA(),this.initHoverAnimator()},initPoopArtPerspektiveHA:function(){this.isEdit&&(this.$element.addClass("ob-has-background-overlay"),"yes"===this.getElementSettings("_ob_perspektive_use")&&this.$element.addClass("ob-use-perspektive"),"yes"===this.getElementSettings("_ob_widget_stalker_use")&&this.$element.addClass("ob-got-stalker"))},initHoverAnimator:function(){this.routeHoverAnimator()},onElementChange:function(e){"_ob_perspektive_use"===e&&("yes"===this.getElementSettings("_ob_perspektive_use")?this.$element.addClass("ob-use-perspektive"):this.$element.removeClass("ob-use-perspektive")),"_ob_allow_hoveranimator"===e&&this.routeHoverAnimator(),-1!==["_ob_hoveranimator_opacity_hover","_ob_hoveranimator_y_hover","_ob_hoveranimator_y_hover_alt","_ob_hoveranimator_x_hover","_ob_hoveranimator_x_hover_alt","_ob_hoveranimator_rot_hover","_ob_hoveranimator_scalex_hover","_ob_hoveranimator_scaley_hover","_ob_hoveranimator_blur_hover"].indexOf(e)&&this.isHoverAnimator()&&this.doHoverAnimator(),"_ob_widget_stalker_use"===e&&this.routeWidgetStalkerWidget()},isWidgetStalkerWidget:function(){return this.$element.hasClass("ob-got-stalker")},routeWidgetStalkerWidget:function(){this.isWidgetStalkerWidget()||"yes"!==this.getElementSettings("_ob_widget_stalker_use")?this.$element.removeClass("ob-got-stalker"):this.$element.addClass("ob-got-stalker")},isPerspektive:function(){return this.$element.hasClass("ob-use-perspektive")},isHoverAnimator:function(){return this.$element.hasClass("ob-is-hoveranimal")},routeHoverAnimator:function(){this.isEdit?(this.isHoverAnimator()||"yes"!==this.getElementSettings("_ob_allow_hoveranimator")||(this.$element.addClass("ob-is-hoveranimal"),this.doHoverAnimator()),this.isHoverAnimator()&&"yes"!==this.getElementSettings("_ob_allow_hoveranimator")&&(this.$element.removeClass("ob-is-hoveranimal"),this.stopHoverAnimator())):!this.isEdit&&this.isHoverAnimator()&&this.doHoverAnimator()},doHoverAnimator:function(){var t=this.$element,o=t.parent().closest(".ob-is-hoveranimator");if(o.length){var s,i,n,r,l,a,d,h,m,_,p,b,c=o.data("id");this.isEdit?(s=this.getElementSettings("_ob_hoveranimator_opacity_hover"),i=this.getElementSettings("_ob_hoveranimator_y_hover"),n=this.getElementSettings("_ob_hoveranimator_y_hover_alt"),r=this.getElementSettings("_ob_hoveranimator_x_hover"),l=this.getElementSettings("_ob_hoveranimator_x_hover_alt"),a=this.getElementSettings("_ob_hoveranimator_rot_hover"),h=this.getElementSettings("_ob_hoveranimator_scalex_hover"),d=this.getElementSettings("_ob_hoveranimator_scaley_hover"),m=this.getElementSettings("_ob_hoveranimator_blur_hover")):this.isEdit||(s=(_=e.parseJSON(t.attr("data-settings")))._ob_hoveranimator_opacity_hover,i=_._ob_hoveranimator_y_hover,n=_._ob_hoveranimator_y_hover_alt,r=_._ob_hoveranimator_x_hover,l=_._ob_hoveranimator_x_hover_alt,a=_._ob_hoveranimator_rot_hover,h=_._ob_hoveranimator_scalex_hover,d=_._ob_hoveranimator_scaley_hover,m=_._ob_hoveranimator_blur_hover),b=""!=e.trim(l)&&void 0!==l?"calc("+l+")":r.size+r.unit,p=""!=e.trim(n)&&void 0!==n?"calc("+n+")":i.size+i.unit;var u={opacity:s.size,top:p,left:b,transform:"rotate("+a.size+"deg) scaleX("+h.size+") scaleY("+d.size+")",filter:"blur("+m.size+m.unit+")"};o.on("mouseenter."+c,(function(){t.css(u)})),o.on("mouseleave."+c,(function(){t.removeAttr("style")}))}},stopHoverAnimator:function(){var e=this.$element,t=this.$element.parent().closest(".ob-is-hoveranimator");if(t.length){var o=t.data("id"),s={opacity:"",top:"",left:"",transform:"",filter:""};t.on("mouseenter."+o,(function(){e.css(s)})),t.on("mouseleave."+o,(function(){e.removeAttr("style")}))}}}),i=elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initHarakiri()},initHarakiri:function(){this.isEdit&&"inherit"!==this.getElementSettings("_ob_harakiri_writing_mode")&&this.$element.addClass("ob-harakiri")},onElementChange:function(e){"_ob_harakiri_writing_mode"===e&&("inherit"!==this.getElementSettings("_ob_harakiri_writing_mode")?this.$element.addClass("ob-harakiri"):this.$element.removeClass("ob-harakiri"))}}),n={widget:t,"heading.default":i,"text-editor.default":i,section:elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initSectionExtends()},isBreakingBad:function(){return this.$element.hasClass("ob-is-breaking-bad")},isGlider:function(){return this.$element.hasClass("ob-is-glider")},isInnerSection:function(){return this.$element.hasClass("elementor-inner-section")},onElementChange:function(e){"_ob_bbad_use_it"===e&&("yes"===this.getElementSettings("_ob_bbad_use_it")?(this.$element.addClass("ob-is-breaking-bad"),this.isInnerSection()&&this.$element.addClass("ob-bb-inner")):(this.$element.removeClass("ob-is-breaking-bad"),this.isInnerSection()&&this.$element.removeClass("ob-bb-inner"))),"_ob_glider_is_slider"===e&&("yes"===this.getElementSettings("_ob_glider_is_slider")?(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements()):"yes"!=this.getElementSettings("_ob_glider_is_slider")&&(this.$element.removeClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"removeClass"))),"_ob_bbad_sssic_use"===e&&this.isInnerSection()&&("yes"===this.getElementSettings("_ob_bbad_sssic_use")?this.$element.addClass("ob-is-sticky-inner-section"):this.$element.removeClass("ob-is-sticky-inner-section"))},addClassesRouteGlider:function(t,o){var s=e(t).children(".elementor-container").first();s.length&&s.addClass("swiper-container");var i=e(s).children(".elementor-row").first();i.length&&"addClass"==o?(i.addClass("swiper-wrapper"),e(i).children("div.elementor-column").addClass("swiper-slide")):i.length||"addClass"!=o||(e(s).children("div.elementor-column").wrapAll('<div class="swiper-wrapper" />'),e(s).children(".swiper-wrapper").first().children("div.elementor-column").addClass("swiper-slide")),i.length&&"removeClass"==o?(s.removeClass("swiper-container"),i.removeClass("swiper-wrapper"),e(i).children("div.elementor-column").removeClass("swiper-slide")):i.length||"removeClass"!=o||(s.removeClass("swiper-container"),e(s).children("div.swiper-wrapper").unwrap(),e(s).children("div.elementor-column").removeClass("swiper-slide"))},initSectionExtends:function(){if(this.isEdit?("yes"!==this.getElementSettings("_ob_bbad_use_it")||this.isBreakingBad()||(this.$element.addClass("ob-is-breaking-bad"),this.isInnerSection()&&this.$element.addClass("ob-bb-inner")),"yes"===this.getElementSettings("_ob_glider_is_slider")&&(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements())):"yes"===this.getElementSettings("_ob_glider_is_slider")&&(this.$element.addClass("ob-is-glider"),this.addClassesRouteGlider(".elementor-element-"+this.$element.attr("data-id"),"addClass"),this.initSwiperElements()),"yes"===this.getElementSettings("_ob_bbad_sssic_use")&&this.isInnerSection()){this.isEdit&&this.$element.addClass("ob-is-sticky-inner-section");var e=this.$element.closest(".elementor-widget-wrap");e.length&&e.addClass("ob-sssic-wrapper")}},initSwiperElements:function(){this.$element.children(".elementor-container").find(".swiper-button-next").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-button-next"><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin" viewBox="0 0 27 44"><path d="M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z"></path></svg></div>'),this.$element.children(".elementor-container").find(".swiper-button-prev").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-button-prev"><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin" viewBox="0 0 27 44"><path d="M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z"></path></svg></div>'),this.$element.children(".elementor-container").find(".swiper-pagination").first().length||this.$element.children(".elementor-container").first().append('<div class="swiper-pagination"></div>');var e={};e.pagination_type=this.getElementSettings("_ob_glider_pagination_type"),e.allowTouchMove=this.getElementSettings("_ob_glider_allow_touch_move"),e.autoheight=this.getElementSettings("_ob_glider_auto_h"),e.effect=this.getElementSettings("_ob_glider_effect"),e.loop=this.getElementSettings("_ob_glider_loop"),e.direction=this.getElementSettings("_ob_glider_direction"),e.parallax=this.getElementSettings("_ob_glider_parallax"),e.speed=this.getElementSettings("_ob_glider_speed");var t=this.getElementSettings("_ob_glider_autoplay");e.autoplay=!!t&&{delay:this.getElementSettings("_ob_glider_autoplay_delay")},e.allowMultiSlides=this.getElementSettings("_ob_glider_allow_multi_slides");var o={},i=elementorFrontend.config.breakpoints;o[i.lg]={slidesPerView:this.getElementSettings("_ob_glider_slides_per_view"),slidesPerGroup:this.getElementSettings("_ob_glider_slides_to_scroll"),spaceBetween:+this.getElementSettings("_ob_glider_space_between")||0},o[i.md]={slidesPerView:this.getElementSettings("_ob_glider_slides_per_view_tablet"),slidesPerGroup:this.getElementSettings("_ob_glider_slides_to_scroll_tablet"),spaceBetween:+this.getElementSettings("_ob_glider_space_between_tablet")||0},o[0]={slidesPerView:this.getElementSettings("_ob_glider_slides_per_view_mobile"),slidesPerGroup:this.getElementSettings("_ob_glider_slides_to_scroll_mobile"),spaceBetween:+this.getElementSettings("_ob_glider_space_between_mobile")||0},e.breakpoints=o,s(this.$element.attr("data-id"),e,"glider_"+this.$element.attr("data-id"))}}),column:elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.$element.find(".elementor-column-wrap").first().length||this.$element.addClass("ob-is-e3");var e=navigator.userAgent.toLowerCase();e.indexOf("chrome")>-1&&this.teleporterChromeResize(),this.initColumnExtends()},teleporterChromeResize:function(){if(this.isTeleporter()){var e=this,t=this.$element.attr("data-id");o.on("resize",(function(){e.$element.closest(".ob-is-teleporter").addClass("ob-chrome-resize"),clearTimeout(t),t=setTimeout((function(){var t=parseInt(e.$element.closest(".ob-is-teleporter").css("height")),o=e.$element.find(".elementor-column-wrap").first();o.length?o.css({height:t}):e.$element.find(".elementor-widget-wrap").first().css({height:t}),e.$element.closest(".ob-is-teleporter").removeClass("ob-chrome-resize")}),500)})),o.trigger("resize")}},isTeleporter:function(){return this.$element.hasClass("ob-is-teleporter")},isHoverAnimatorCol:function(){return this.$element.hasClass("ob-is-hoveranimator")},isWidgetStalkerCol:function(){return this.$element.hasClass("ob-is-stalker")},isPseudoCol:function(){return this.$element.hasClass("ob-is-pseudo")},initColumnExtends:function(){if(!this.isEdit){var e={};try{e=JSON.parse(this.$element.attr("data-settings"))}catch(e){return}if(void 0!==e._ob_bbad_link){var t=e._ob_bbad_link;if(""===t.url)return void this.$element.removeClass("bb-column-link");this.$element.addClass("bb-column-link"),this.$element.off("click.bb"),this.$element.on("click.bb",(function(){t.is_external?window.open(t.url):location.href=t.url}))}}this.isEdit&&"use-teleporter"===this.getElementSettings("_ob_teleporter_use")&&(this.$element.addClass("ob-is-teleporter"),this.$element.find(".elementor-widget-wrap").first().addClass("ob-tele-midget"),this.doTeleporterEditor()),!this.isEdit&&this.isTeleporter()&&(this.$element.find(".elementor-widget-wrap").first().addClass("ob-tele-midget"),this.doTeleporter()),this.isEdit&&"yes"===this.getElementSettings("_ob_column_hoveranimator")&&this.$element.addClass("ob-is-hoveranimator"),this.isEdit&&"yes"===this.getElementSettings("_ob_bbad_is_stalker")&&this.$element.addClass("ob-is-stalker"),this.isEdit&&"yes"===this.getElementSettings("_ob_column_has_pseudo")&&this.$element.addClass("ob-is-pseudo")},onElementChange:function(e){"_ob_teleporter_overlay_color"===e?this.$element.find('div[class*="ob-teleporter-"] > .ob-tele-overlay').css("background-color",this.getElementSettings("_ob_teleporter_overlay_color")):"_ob_teleporter_no_pass_tablet"===e?"no-tablet"===this.getElementSettings("_ob_teleporter_no_pass_tablet")?this.$element.addClass("ob-tele-no-tablet"):this.$element.removeClass("ob-tele-no-tablet"):"_ob_teleporter_no_pass_mobile"===e&&("no-mobile"===this.getElementSettings("_ob_teleporter_no_pass_mobile")?this.$element.addClass("ob-tele-no-mobile"):this.$element.removeClass("ob-tele-no-mobile")),"_ob_column_hoveranimator"===e&&this.routeHoverAnimatorCol(),"_ob_bbad_is_stalker"===e&&this.routeWidgetStalkerCol(),"_ob_column_has_pseudo"===e&&this.routePseudoCol()},routeHoverAnimatorCol:function(){this.isHoverAnimatorCol()||"yes"!==this.getElementSettings("_ob_column_hoveranimator")?this.$element.removeClass("ob-is-hoveranimator"):this.$element.addClass("ob-is-hoveranimator")},routeWidgetStalkerCol:function(){this.isWidgetStalkerCol()||"yes"!==this.getElementSettings("_ob_bbad_is_stalker")?this.$element.removeClass("ob-is-stalker"):this.$element.addClass("ob-is-stalker")},routePseudoCol:function(){this.isPseudoCol()||"yes"!==this.getElementSettings("_ob_column_has_pseudo")?this.$element.removeClass("ob-is-pseudo"):this.$element.addClass("ob-is-pseudo")},doTeleporterEditor:function(){if("use-teleporter"===this.getElementSettings("_ob_teleporter_use")){var t=this.$element.find(".elementor-widget-wrap").first();if(t.length&&(t.wrapInner('<div class="widget-wrap-children" />'),t.find(".elementor-background-overlay").first().length&&t.find(".elementor-background-overlay").first().insertBefore(t.find(".elementor-background-overlay").first().parent())),"do-pass"===this.getElementSettings("_ob_teleporter_pass")){var o=this,s=this.$element,i=this.$element.attr("data-id");"no-tablet"===this.getElementSettings("_ob_teleporter_no_pass_tablet")&&this.$element.addClass("ob-tele-no-tablet"),"no-mobile"===this.getElementSettings("_ob_teleporter_no_pass_mobile")&&this.$element.addClass("ob-tele-no-mobile");var n="section"===this.getElementSettings("_ob_teleporter_pass_element")?this.$element.closest(".elementor-section"):this.$element.closest(".elementor-container");if(n.length){n.css("overflow","hidden");var r=this.getElementSettings("_ob_teleporter_pass_effect"),l='<div class="ob-teleporter-'+i+" ob-tele-eff-"+r+'" data-id-teleporter="'+i+'"><div class="ob-tele-overlay" style="background-color: '+this.getElementSettings("_ob_teleporter_overlay_color")+';"></div></div>';e(".ob-teleporter-"+i).length||this.$element.prepend(l),this.$element.off("mouseenter mouseleave"),this.$element.on("mouseenter mouseleave",(function(t){if("mouseenter"===t.type){if("no-tablet"===o.getElementSettings("_ob_teleporter_no_pass_tablet")&&"tablet"===elementorFrontend.getCurrentDeviceMode())return;if("no-mobile"===o.getElementSettings("_ob_teleporter_no_pass_mobile")&&"mobile"===elementorFrontend.getCurrentDeviceMode())return;if("do-pass"!==o.getElementSettings("_ob_teleporter_pass"))return;var r={"background-color":e(".ob-teleporter-"+i).css("background-color"),"background-image":e(".ob-teleporter-"+i).css("background-image"),"background-position":e(".ob-teleporter-"+i).css("background-position"),"background-size":e(".ob-teleporter-"+i).css("background-size"),"background-repeat":e(".ob-teleporter-"+i).css("background-repeat")};if("section"===o.getElementSettings("_ob_teleporter_pass_element")){var l=n.children().not(".elementor-container").detach();n.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+i)),n.prepend(l)}else n.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+i));e(".ob-teleporter-"+i).css(r).hide(),e(".ob-teleporter-"+i).addClass("ob-teleporter-hover").show()}else n.removeClass("ob-tele-mom-hover"),setTimeout((function(){e(".ob-teleporter-"+i).removeAttr("style").removeClass("ob-teleporter-hover"),s.prepend(e(".ob-teleporter-"+i))}),100)}))}}}},doTeleporter:function(){var t={};try{t=JSON.parse(this.$element.attr("data-settings"))}catch(e){return}if("use-teleporter"===t._ob_teleporter_use){var o=this.$element.find(".elementor-widget-wrap").first();o.length&&(o.wrapInner('<div class="widget-wrap-children" />'),o.find(".elementor-background-overlay").first().length&&o.find(".elementor-background-overlay").first().insertBefore(o.find(".elementor-background-overlay").first().parent()));var s=this.$element,i=this.$element.attr("data-id");if("no-tablet"===t._ob_teleporter_no_pass_tablet&&this.$element.addClass("ob-tele-no-tablet"),"no-mobile"===t._ob_teleporter_no_pass_mobile&&this.$element.addClass("ob-tele-no-mobile"),void 0!==t._ob_teleporter_link){var n=t._ob_teleporter_link;if(""===n.url)return;this.$element.off("click.obTeleporter"),this.$element.on("click.obTeleporter",(function(){n.is_external?window.open(n.url):location.href=n.url}))}if("do-pass"===t._ob_teleporter_pass){var r="section"===t._ob_teleporter_pass_element?this.$element.closest(".elementor-section"):this.$element.closest(".elementor-container");if(r.length){r.css("overflow","hidden");var l=t._ob_teleporter_pass_effect,a='<div class="ob-teleporter-'+i+" ob-tele-eff-"+l+'" data-id-teleporter="'+i+'"><div class="ob-tele-overlay" style="background-color: '+t._ob_teleporter_overlay_color+';"></div>';e(".ob-teleporter-"+i).length||this.$element.prepend(a),this.$element.off("mouseenter mouseleave"),this.$element.on("mouseenter",(function(){if(!("no-tablet"===t._ob_teleporter_no_pass_tablet&&"tablet"===elementorFrontend.getCurrentDeviceMode()||"no-mobile"===t._ob_teleporter_no_pass_mobile&&"mobile"===elementorFrontend.getCurrentDeviceMode())){var o={"background-color":e(".ob-teleporter-"+i).css("background-color"),"background-image":e(".ob-teleporter-"+i).css("background-image"),"background-position":e(".ob-teleporter-"+i).css("background-position"),"background-size":e(".ob-teleporter-"+i).css("background-size"),"background-repeat":e(".ob-teleporter-"+i).css("background-repeat")};if("section"===t._ob_teleporter_pass_element){var s=r.children().not(".elementor-container").detach();r.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+i)),r.prepend(s)}else r.addClass("ob-tele-mom-hover").prepend(e(".ob-teleporter-"+i));e(".ob-teleporter-"+i).css(o).hide(),e(".ob-teleporter-"+i).show().addClass("ob-teleporter-hover")}})),this.$element.on("mouseleave",(function(){r.removeClass("ob-tele-mom-hover"),setTimeout((function(){e(".ob-teleporter-"+i).removeAttr("style").removeClass("ob-teleporter-hover"),s.prepend(e(".ob-teleporter-"+i))}),100)}))}}}}}),"search-form.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initSearchCop()},onElementChange:function(e){"_ob_searchcop_srch_options"===e&&this.routeSearchCop()},initSearchCop:function(){this.routeSearchCop()},routeSearchCop:function(){var e=this.getElementSettings("_ob_searchcop_srch_options");if("post"===e||"page"===e){var t=this.$element.find(".elementor-search-form__container");if(!t.length)return;var o='<input type="hidden" name="post_type" value="'+e+'" />';t.prepend(o)}}}),"button.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initButterButton()},isButterButton:function(){return this.$element.hasClass("ob-is-butterbutton")},onElementChange:function(e){"_ob_butterbutton_use_it"===e&&this.routeButterButton()},initButterButton:function(){this.isEdit&&"yes"===this.getElementSettings("_ob_butterbutton_use_it")&&this.$element.addClass("ob-is-butterbutton")},routeButterButton:function(){this.isButterButton()||"yes"!==this.getElementSettings("_ob_butterbutton_use_it")?this.$element.removeClass("ob-is-butterbutton"):this.$element.addClass("ob-is-butterbutton")}}),"image.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initPhotoMorph()},isPhotoMorph:function(){return this.$element.hasClass("ob-photomorph")},onElementChange:function(e){"_ob_photomorph_use"===e&&this.routePhotoMorph()},initPhotoMorph:function(){this.isEdit&&"yes"===this.getElementSettings("_ob_photomorph_use")&&this.$element.addClass("ob-photomorph")},routePhotoMorph:function(){this.isPhotoMorph()||"yes"!==this.getElementSettings("_ob_photomorph_use")?this.$element.removeClass("ob-photomorph"):this.$element.addClass("ob-photomorph")}}),"post-comments.theme_comments":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initCommentz()},isCommentz:function(){return this.$element.hasClass("ob-commentz")},onElementChange:function(e){"_ob_commentz_use"===e&&this.routeCommentz()},initCommentz:function(){this.isEdit&&"yes"===this.getElementSettings("_ob_commentz_use")&&this.$element.addClass("ob-commentz")},routeCommentz:function(){this.isCommentz()||"yes"!==this.getElementSettings("_ob_commentz_use")?this.$element.removeClass("ob-commentz"):this.$element.addClass("ob-commentz")}}),"spacer.default":elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initSpaceRat()},isSpaceRat:function(){return this.$element.hasClass("ob-spacerat")},onElementChange:function(e){"_ob_spacerat_use"===e&&this.routeSpaceRat()},initSpaceRat:function(){if(this.isEdit&&"yes"===this.getElementSettings("_ob_spacerat_use")&&this.$element.addClass("ob-spacerat"),!this.isEdit&&"yes"===this.getElementSettings("_ob_spacerat_use")){var e={};try{e=JSON.parse(this.$element.attr("data-settings"))}catch(e){return}if(void 0!==e._ob_spacerat_link){var t=e._ob_spacerat_link;if(""===t.url)return;this.$element.off("click.obSpacerat"),this.$element.on("click.obSpacerat",(function(){t.is_external?window.open(t.url):location.href=t.url}))}}},routeSpaceRat:function(){this.isSpaceRat()||"yes"!==this.getElementSettings("_ob_spacerat_use")?this.$element.removeClass("ob-spacerat"):this.$element.addClass("ob-spacerat")}})};e.each(n,(function(e,t){elementorFrontend.hooks.addAction("frontend/element_ready/"+e,(function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}))}))}));var s=function(t,o){var s,i=e(".elementor-element-"+t),n=e(".elementor-element-"+t+" .swiper-container").first(),r=n.parent().parent().find("nav.glider-controller"),l={allowTouchMove:"yes"===o.allowTouchMove,autoHeight:"yes"===o.autoheight,effect:o.effect,loop:o.loop,direction:"fade"===o.effect?"horizontal":o.direction,parallax:"yes"===o.parallax,speed:o.speed,breakpoints:"yes"===o.allowMultiSlides&&o.breakpoints,navigation:{nextEl:".elementor-element-"+t+" .swiper-button-next",prevEl:".elementor-element-"+t+" .swiper-button-prev"},pagination:{el:".elementor-element-"+t+" .swiper-pagination",type:o.pagination_type,clickable:!0},autoplay:o.autoplay,watchOverflow:!0};if("undefined"==typeof Swiper){new(0,elementorFrontend.utils.swiper)(n,l).then((e=>{s=e}))}else s=new Swiper(n,l);n.find('[class*="glider-control"]').on("click",(function(t){if(void 0!==e(this).data("gotoslide"))s.slideTo(parseInt(e(this).data("gotoslide")));else{var o=parseInt(e(this).attr("class").match(/glider-control-(\d+)/)[1]);o>0&&s.slideTo(o)}t.preventDefault()})),r.find('[class*="glider-control"]').on("click",(function(t){if(void 0!==e(this).data("gotoslide"))s.slideTo(parseInt(e(this).data("gotoslide")));else{var o=parseInt(e(this).attr("class").match(/glider-control-(\d+)/)[1]);o>0&&s.slideTo(o)}t.preventDefault()})),i.css("visibility","visible")}}(jQuery,window);
assets/js/ooohboi-steroids.js ADDED
@@ -0,0 +1,1027 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Elementor hooks - editor - frontend */
2
+
3
+ 'use strict';
4
+
5
+ ( function ( $, w ) {
6
+
7
+ var $window = $( w );
8
+
9
+ $window.on( 'elementor/frontend/init', function() {
10
+
11
+ var PoopArtPerspektiveHA = elementorModules.frontend.handlers.Base.extend( {
12
+
13
+ onInit: function() {
14
+
15
+ elementorModules.frontend.handlers.Base.prototype.onInit.apply( this, arguments );
16
+ this.initPoopArtPerspektiveHA();
17
+ this.initHoverAnimator();
18
+
19
+ },
20
+ /* PoopArt*/
21
+ initPoopArtPerspektiveHA: function() {
22
+
23
+ if( this.isEdit ) {
24
+ this.$element.addClass( 'ob-has-background-overlay' ); // PoopArt
25
+ // Perspektive
26
+ if( 'yes' === this.getElementSettings( '_ob_perspektive_use' ) ) {
27
+ this.$element.addClass( 'ob-use-perspektive' );
28
+ }
29
+ // Widget Stalker
30
+ if( 'yes' === this.getElementSettings( '_ob_widget_stalker_use' ) ) {
31
+ this.$element.addClass( 'ob-got-stalker' );
32
+ }
33
+ }
34
+
35
+ },
36
+ /* HoverAnimator */
37
+ initHoverAnimator: function() {
38
+ this.routeHoverAnimator();
39
+ },
40
+
41
+ onElementChange: function( changedProp ) {
42
+ /* Perspektive */
43
+ if( changedProp === '_ob_perspektive_use' ) {
44
+ if( 'yes' === this.getElementSettings( '_ob_perspektive_use' ) ) this.$element.addClass( 'ob-use-perspektive' );
45
+ else this.$element.removeClass( 'ob-use-perspektive' );
46
+ }
47
+ /* Hoveranimator */
48
+ if( changedProp === '_ob_allow_hoveranimator' ) {
49
+ this.routeHoverAnimator();
50
+ }
51
+ if( [ '_ob_hoveranimator_opacity_hover', '_ob_hoveranimator_y_hover', '_ob_hoveranimator_y_hover_alt', '_ob_hoveranimator_x_hover', '_ob_hoveranimator_x_hover_alt', '_ob_hoveranimator_rot_hover', '_ob_hoveranimator_scalex_hover', '_ob_hoveranimator_scaley_hover', '_ob_hoveranimator_blur_hover' ].indexOf( changedProp ) !== -1
52
+ && this.isHoverAnimator() ) {
53
+ this.doHoverAnimator();
54
+ }
55
+ /* Widget Stalker */
56
+ if( changedProp === '_ob_widget_stalker_use' ) {
57
+ this.routeWidgetStalkerWidget();
58
+ }
59
+ //-----------------
60
+
61
+ },
62
+
63
+ /* Stalker Widget */
64
+ isWidgetStalkerWidget: function() {
65
+ return this.$element.hasClass( 'ob-got-stalker' );
66
+ },
67
+ routeWidgetStalkerWidget: function() {
68
+ if( ! this.isWidgetStalkerWidget() && 'yes' === this.getElementSettings( '_ob_widget_stalker_use' ) ) this.$element.addClass( 'ob-got-stalker' );
69
+ else this.$element.removeClass( 'ob-got-stalker' );
70
+ },
71
+ /* Perspektive */
72
+ isPerspektive: function() {
73
+ return this.$element.hasClass( 'ob-use-perspektive' );
74
+ },
75
+ /* HoverAnimator */
76
+ isHoverAnimator: function() {
77
+ return this.$element.hasClass( 'ob-is-hoveranimal' );
78
+ },
79
+ /* HoverAnimator */
80
+ routeHoverAnimator: function() {
81
+
82
+ if( this.isEdit ) {
83
+
84
+ if( ! this.isHoverAnimator() && 'yes' === this.getElementSettings( '_ob_allow_hoveranimator' ) ) {
85
+ this.$element.addClass( 'ob-is-hoveranimal' );
86
+ this.doHoverAnimator(); // initialize hover event for Hoveranimator
87
+ }
88
+ if( this.isHoverAnimator() && 'yes' !== this.getElementSettings( '_ob_allow_hoveranimator' ) ) {
89
+ this.$element.removeClass( 'ob-is-hoveranimal' );
90
+ this.stopHoverAnimator(); // stop hover event for Hoveranimator
91
+ }
92
+ } else if( ! this.isEdit && this.isHoverAnimator() ) {
93
+ this.doHoverAnimator(); // init front-end
94
+ }
95
+
96
+ },
97
+ doHoverAnimator: function() {
98
+
99
+ var myself = this.$element;
100
+ var parent_column = myself.parent().closest( '.ob-is-hoveranimator' );
101
+ if( parent_column.length ) {
102
+ var col_id = parent_column.data( 'id' );
103
+ var opacity, pos_y, pos_y_alt, pos_x, pos_x_alt, rot, scale_y, scale_x, blur, el_settingz, top_alt, left_alt;
104
+ if( this.isEdit ) {
105
+ opacity = this.getElementSettings( '_ob_hoveranimator_opacity_hover' );
106
+ pos_y = this.getElementSettings( '_ob_hoveranimator_y_hover' );
107
+ pos_y_alt = this.getElementSettings( '_ob_hoveranimator_y_hover_alt' );
108
+ pos_x = this.getElementSettings( '_ob_hoveranimator_x_hover' );
109
+ pos_x_alt = this.getElementSettings( '_ob_hoveranimator_x_hover_alt' );
110
+ rot = this.getElementSettings( '_ob_hoveranimator_rot_hover' );
111
+ scale_x = this.getElementSettings( '_ob_hoveranimator_scalex_hover' );
112
+ scale_y = this.getElementSettings( '_ob_hoveranimator_scaley_hover' );
113
+ blur = this.getElementSettings( '_ob_hoveranimator_blur_hover' );
114
+ } else if( ! this.isEdit ) {
115
+ el_settingz = $.parseJSON( myself.attr( 'data-settings' ) ); // get from JSON
116
+ opacity = el_settingz._ob_hoveranimator_opacity_hover;
117
+ pos_y = el_settingz._ob_hoveranimator_y_hover;
118
+ pos_y_alt = el_settingz._ob_hoveranimator_y_hover_alt;
119
+ pos_x = el_settingz._ob_hoveranimator_x_hover;
120
+ pos_x_alt = el_settingz._ob_hoveranimator_x_hover_alt;
121
+ rot = el_settingz._ob_hoveranimator_rot_hover;
122
+ scale_x = el_settingz._ob_hoveranimator_scalex_hover;
123
+ scale_y = el_settingz._ob_hoveranimator_scaley_hover;
124
+ blur = el_settingz._ob_hoveranimator_blur_hover;
125
+ }
126
+
127
+ // alt values chckpoint
128
+ if( '' != $.trim( pos_x_alt ) && undefined !== pos_x_alt ) left_alt = 'calc(' + pos_x_alt + ')';
129
+ else left_alt = pos_x.size + pos_x.unit;
130
+ if( '' != $.trim( pos_y_alt ) && undefined !== pos_y_alt ) top_alt = 'calc(' + pos_y_alt + ')';
131
+ else top_alt = pos_y.size + pos_y.unit;
132
+
133
+ var hover_css = {
134
+ 'opacity': opacity.size,
135
+ 'top': top_alt,
136
+ 'left': left_alt,
137
+ 'transform': 'rotate(' + rot.size + 'deg) scaleX(' + scale_x.size + ') scaleY(' + scale_y.size + ')',
138
+ 'filter': 'blur(' + blur.size + blur.unit + ')'
139
+ };
140
+ parent_column.on( 'mouseenter.' + col_id, function() {
141
+ myself.css( hover_css );
142
+ } );
143
+ parent_column.on( 'mouseleave.' + col_id, function() {
144
+ myself.removeAttr( 'style' );
145
+ } );
146
+ }
147
+
148
+ },
149
+ stopHoverAnimator: function() {
150
+
151
+ var myself = this.$element;
152
+ var parent_column = this.$element.parent().closest( '.ob-is-hoveranimator' );
153
+ if( parent_column.length ) {
154
+ var col_id = parent_column.data( 'id' );
155
+ var hover_css_reset = {
156
+ 'opacity': '',
157
+ 'top': '',
158
+ 'left': '',
159
+ 'transform': '',
160
+ 'filter': ''
161
+ };
162
+ parent_column.on( 'mouseenter.' + col_id, function() {
163
+ myself.css( hover_css_reset );
164
+ } );
165
+ parent_column.on( 'mouseleave.' + col_id, function() {
166
+ myself.removeAttr( 'style' );
167
+ } );
168
+ }
169
+
170
+ },
171
+
172
+ } );
173
+
174
+ var Harakiri = elementorModules.frontend.handlers.Base.extend( {
175
+
176
+ onInit: function onInit() {
177
+
178
+ elementorModules.frontend.handlers.Base.prototype.onInit.apply( this, arguments );
179
+ this.initHarakiri();
180
+
181
+ },
182
+
183
+ initHarakiri: function() {
184
+
185
+ if( this.isEdit ) {
186
+ if( 'inherit' !== this.getElementSettings( '_ob_harakiri_writing_mode' ) ) this.$element.addClass( 'ob-harakiri' );
187
+ }
188
+
189
+ },
190
+
191
+ onElementChange: function( changedProp ) {
192
+
193
+ if( changedProp === '_ob_harakiri_writing_mode' ) {
194
+ if( 'inherit' !== this.getElementSettings( '_ob_harakiri_writing_mode' ) ) this.$element.addClass( 'ob-harakiri' );
195
+ else this.$element.removeClass( 'ob-harakiri' );
196
+ }
197
+
198
+ }
199
+
200
+ } );
201
+
202
+ var SectionExtends = elementorModules.frontend.handlers.Base.extend( {
203
+
204
+ onInit: function onInit() {
205
+
206
+ elementorModules.frontend.handlers.Base.prototype.onInit.apply( this, arguments );
207
+ this.initSectionExtends();
208
+
209
+ },
210
+ isBreakingBad: function() {
211
+
212
+ return this.$element.hasClass( 'ob-is-breaking-bad' );
213
+
214
+ },
215
+ isGlider: function() {
216
+
217
+ return this.$element.hasClass( 'ob-is-glider' );
218
+
219
+ },
220
+ /* needed for Inner Section stickyness */
221
+ isInnerSection: function() {
222
+ return this.$element.hasClass( 'elementor-inner-section' );
223
+ },
224
+ onElementChange: function( changedProp ) {
225
+
226
+ // Breaking Bad
227
+ if( changedProp === '_ob_bbad_use_it' ) {
228
+ if( 'yes' === this.getElementSettings( '_ob_bbad_use_it' ) ) {
229
+ this.$element.addClass( 'ob-is-breaking-bad' );
230
+ if( this.isInnerSection() ) this.$element.addClass( 'ob-bb-inner' );
231
+ }
232
+ else {
233
+ this.$element.removeClass( 'ob-is-breaking-bad' );
234
+ if( this.isInnerSection() ) this.$element.removeClass( 'ob-bb-inner' );
235
+ }
236
+ }
237
+ // Glider
238
+ if( changedProp === '_ob_glider_is_slider' ) {
239
+
240
+ if( 'yes' === this.getElementSettings( '_ob_glider_is_slider' ) ) {
241
+ this.$element.addClass( 'ob-is-glider' );
242
+ this.addClassesRouteGlider( '.elementor-element-' + this.$element.attr( 'data-id' ), 'addClass' );
243
+ this.initSwiperElements();
244
+ } else {
245
+ if( 'yes' != this.getElementSettings( '_ob_glider_is_slider' ) ) {
246
+ this.$element.removeClass( 'ob-is-glider' );
247
+ this.addClassesRouteGlider( '.elementor-element-' + this.$element.attr( 'data-id' ), 'removeClass' );
248
+ }
249
+ }
250
+
251
+ }
252
+ // Inner Section
253
+ if( changedProp === '_ob_bbad_sssic_use' && this.isInnerSection() ) {
254
+ if( 'yes' === this.getElementSettings( '_ob_bbad_sssic_use' ) ) this.$element.addClass( 'ob-is-sticky-inner-section' );
255
+ else this.$element.removeClass( 'ob-is-sticky-inner-section' );
256
+ }
257
+
258
+ },
259
+
260
+ addClassesRouteGlider: function( el, action ) {
261
+
262
+ // elementor-container add swiper-container
263
+ var container = $( el ).children( '.elementor-container' ).first();
264
+ if( container.length ) container.addClass( 'swiper-container' );
265
+ // wrapper
266
+ var wrapper = $( container ).children( '.elementor-row' ).first();
267
+
268
+ if( wrapper.length && 'addClass' == action ) {
269
+ wrapper.addClass( 'swiper-wrapper' );
270
+ $( wrapper ).children( 'div.elementor-column' ).addClass( 'swiper-slide' );
271
+ } else if( ! wrapper.length && 'addClass' == action ) {
272
+ // elementor 3.0+ ditched .elementor-row, we have to add the wrapper!
273
+ $( container ).children( 'div.elementor-column' ).wrapAll( '<div class="swiper-wrapper" />' );
274
+ $( container ).children( '.swiper-wrapper' ).first().children( 'div.elementor-column' ).addClass( 'swiper-slide' );
275
+ }
276
+ if( wrapper.length && 'removeClass' == action ) {
277
+ container.removeClass( 'swiper-container' );
278
+ wrapper.removeClass( 'swiper-wrapper' );
279
+ $( wrapper ).children( 'div.elementor-column' ).removeClass( 'swiper-slide' );
280
+ } else if( ! wrapper.length && 'removeClass' == action ) {
281
+ // elementor 3.0+ patch
282
+ container.removeClass( 'swiper-container' );
283
+ $( container ).children( 'div.swiper-wrapper' ).unwrap();
284
+ $( container ).children( 'div.elementor-column' ).removeClass( 'swiper-slide' );
285
+ }
286
+
287
+ },
288
+ initSectionExtends: function() {
289
+
290
+ if( this.isEdit ) {
291
+ // Breaking Bad
292
+ if( 'yes' === this.getElementSettings( '_ob_bbad_use_it' ) && ! this.isBreakingBad() ) {
293
+ this.$element.addClass( 'ob-is-breaking-bad' );
294
+ if( this.isInnerSection() ) this.$element.addClass( 'ob-bb-inner' );
295
+ }
296
+ // Glider: editor and font-end
297
+ if( 'yes' === this.getElementSettings( '_ob_glider_is_slider' ) ) {
298
+ this.$element.addClass( 'ob-is-glider' );
299
+ this.addClassesRouteGlider( '.elementor-element-' + this.$element.attr( 'data-id' ), 'addClass' );
300
+ this.initSwiperElements();
301
+ }
302
+ } else {
303
+ // Glider
304
+ if( 'yes' === this.getElementSettings( '_ob_glider_is_slider' ) ) {
305
+ this.$element.addClass( 'ob-is-glider' );
306
+ this.addClassesRouteGlider( '.elementor-element-' + this.$element.attr( 'data-id' ), 'addClass' );
307
+ this.initSwiperElements();
308
+ }
309
+ }
310
+ // Sticky Inner Section - identical for both front-and-back-end
311
+ if( 'yes' === this.getElementSettings( '_ob_bbad_sssic_use' ) && this.isInnerSection() ) {
312
+ if( this.isEdit ) this.$element.addClass( 'ob-is-sticky-inner-section' );
313
+ // find first wrapping element; must match some class name(s)
314
+ var parent_wrapper = this.$element.closest( '.elementor-widget-wrap' );
315
+ if( parent_wrapper.length ) parent_wrapper.addClass( 'ob-sssic-wrapper' );
316
+ }
317
+ },
318
+ initSwiperElements: function() {
319
+
320
+ // navig
321
+ if( ! this.$element.children( '.elementor-container' ).find( '.swiper-button-next' ).first().length ) {
322
+ this.$element.children( '.elementor-container' ).first().append(
323
+ '<div class="swiper-button-next"><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin" viewBox="0 0 27 44"><path d="M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z"></path></svg></div>'
324
+ );
325
+ }
326
+ if( ! this.$element.children( '.elementor-container' ).find( '.swiper-button-prev' ).first().length ) {
327
+ this.$element.children( '.elementor-container' ).first().append(
328
+ '<div class="swiper-button-prev"><svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMin" viewBox="0 0 27 44"><path d="M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z"></path></svg></div>'
329
+ );
330
+ }
331
+ // pagination
332
+ if( ! this.$element.children( '.elementor-container' ).find( '.swiper-pagination' ).first().length ) {
333
+ this.$element.children( '.elementor-container' ).first().append( '<div class="swiper-pagination"></div>' );
334
+ }
335
+ // settings
336
+ var settingz = {};
337
+ settingz.pagination_type = this.getElementSettings( '_ob_glider_pagination_type' );
338
+ settingz.allowTouchMove = this.getElementSettings( '_ob_glider_allow_touch_move' );
339
+ settingz.autoheight = this.getElementSettings( '_ob_glider_auto_h' );
340
+ settingz.effect = this.getElementSettings( '_ob_glider_effect' );
341
+ settingz.loop = this.getElementSettings( '_ob_glider_loop' );
342
+ settingz.direction = this.getElementSettings( '_ob_glider_direction' );
343
+ settingz.parallax = this.getElementSettings( '_ob_glider_parallax' );
344
+ settingz.speed = this.getElementSettings( '_ob_glider_speed' );
345
+ var autoplayed = this.getElementSettings( '_ob_glider_autoplay' );
346
+ if( autoplayed ) {
347
+ settingz.autoplay = {
348
+ 'delay': this.getElementSettings( '_ob_glider_autoplay_delay' ),
349
+ }
350
+ } else settingz.autoplay = false;
351
+
352
+ /* by Xmastermind */
353
+ settingz.allowMultiSlides = this.getElementSettings( '_ob_glider_allow_multi_slides' );
354
+ var breakpointsSettings = {},
355
+ breakpoints = elementorFrontend.config.breakpoints;
356
+ breakpointsSettings[breakpoints.lg] = {
357
+ slidesPerView: this.getElementSettings( '_ob_glider_slides_per_view' ),
358
+ slidesPerGroup: this.getElementSettings( '_ob_glider_slides_to_scroll' ),
359
+ spaceBetween: +this.getElementSettings( '_ob_glider_space_between' ) || 0,
360
+ };
361
+ breakpointsSettings[breakpoints.md] = {
362
+ slidesPerView: this.getElementSettings( '_ob_glider_slides_per_view_tablet' ),
363
+ slidesPerGroup: this.getElementSettings( '_ob_glider_slides_to_scroll_tablet' ),
364
+ spaceBetween: +this.getElementSettings( '_ob_glider_space_between_tablet' ) || 0,
365
+ };
366
+ breakpointsSettings[0] = {
367
+ slidesPerView: this.getElementSettings( '_ob_glider_slides_per_view_mobile' ),
368
+ slidesPerGroup: this.getElementSettings( '_ob_glider_slides_to_scroll_mobile' ),
369
+ spaceBetween: +this.getElementSettings( '_ob_glider_space_between_mobile' ) || 0,
370
+ };
371
+ settingz.breakpoints = breakpointsSettings;
372
+ /* -------------- */
373
+
374
+ // run swiper
375
+ makeSwiper( this.$element.attr( 'data-id' ), settingz, 'glider_' + this.$element.attr( 'data-id' ) );
376
+
377
+ },
378
+
379
+ } );
380
+
381
+ var ColumnExtends = elementorModules.frontend.handlers.Base.extend( {
382
+
383
+ onInit: function onInit() {
384
+
385
+ elementorModules.frontend.handlers.Base.prototype.onInit.apply( this, arguments );
386
+ // is E3.0 column?
387
+ if( ! this.$element.find( '.elementor-column-wrap' ).first().length ) this.$element.addClass( 'ob-is-e3' );
388
+ // Teleporter issue with Chrome
389
+ var ua = navigator.userAgent.toLowerCase();
390
+ if( ua.indexOf( 'chrome' ) > -1 ) this.teleporterChromeResize();
391
+ // columns...
392
+ this.initColumnExtends();
393
+
394
+ },
395
+ teleporterChromeResize: function() {
396
+
397
+ if( ! this.isTeleporter() ) return;
398
+
399
+ var dis = this;
400
+ var myID = this.$element.attr( 'data-id' );
401
+ $window.on( 'resize', function() {
402
+ dis.$element.closest( '.ob-is-teleporter' ).addClass( 'ob-chrome-resize' );
403
+ clearTimeout( myID );
404
+ myID = setTimeout( function() {
405
+ var column_height = parseInt( dis.$element.closest( '.ob-is-teleporter' ).css( 'height' ) );
406
+ var col_wrap = dis.$element.find( '.elementor-column-wrap' ).first();
407
+ if( col_wrap.length ) col_wrap.css( { 'height': column_height } );
408
+ else {
409
+ dis.$element.find( '.elementor-widget-wrap' ).first().css( { 'height': column_height } );
410
+ }
411
+ dis.$element.closest( '.ob-is-teleporter' ).removeClass( 'ob-chrome-resize' );
412
+ }, 500 );
413
+ } );
414
+ $window.trigger( 'resize' );
415
+
416
+ },
417
+ /* Teleporter */
418
+ isTeleporter: function() {
419
+ return this.$element.hasClass( 'ob-is-teleporter' );
420
+ },
421
+ /* Hoveranimator */
422
+ isHoverAnimatorCol: function() {
423
+ return this.$element.hasClass( 'ob-is-hoveranimator' );
424
+ },
425
+ /* Widget Stalker */
426
+ isWidgetStalkerCol: function() {
427
+ return this.$element.hasClass( 'ob-is-stalker' );
428
+ },
429
+ /* Pseudo */
430
+ isPseudoCol: function() {
431
+ return this.$element.hasClass( 'ob-is-pseudo' );
432
+ },
433
+ initColumnExtends: function() {
434
+ /* breaking bad */
435
+ if( ! this.isEdit ) {
436
+ var bb_settings = {};
437
+ try {
438
+ bb_settings = JSON.parse( this.$element.attr( 'data-settings' ) );
439
+ } catch ( error ) {
440
+ return;
441
+ }
442
+ // handle links
443
+ if( undefined !== bb_settings._ob_bbad_link ) {
444
+
445
+ var bb_link = bb_settings._ob_bbad_link;
446
+ if( '' === bb_link.url ) {
447
+ this.$element.removeClass( 'bb-column-link' );
448
+ return;
449
+ } else {
450
+ this.$element.addClass( 'bb-column-link' );
451
+ }
452
+
453
+ this.$element.off( 'click.bb' );
454
+ this.$element.on( 'click.bb', function() {
455
+ if( bb_link.is_external ) window.open( bb_link.url );
456
+ else location.href = bb_link.url;
457
+ } );
458
+
459
+ }
460
+ }
461
+ /* Teleporter */
462
+ if( this.isEdit && 'use-teleporter' === this.getElementSettings( '_ob_teleporter_use' ) ) {
463
+ this.$element.addClass( 'ob-is-teleporter' );
464
+ this.$element.find( '.elementor-widget-wrap' ).first().addClass( 'ob-tele-midget' );
465
+ this.doTeleporterEditor();
466
+ }
467
+ if( ! this.isEdit && this.isTeleporter() ) {
468
+ this.$element.find( '.elementor-widget-wrap' ).first().addClass( 'ob-tele-midget' );
469
+ this.doTeleporter();
470
+ }
471
+ /* Hoveranimator */
472
+ if( this.isEdit && 'yes' === this.getElementSettings( '_ob_column_hoveranimator' ) ) {
473
+ this.$element.addClass( 'ob-is-hoveranimator' );
474
+ }
475
+ /* Widget Stalker */
476
+ if( this.isEdit && 'yes' === this.getElementSettings( '_ob_bbad_is_stalker' ) ) {
477
+ this.$element.addClass( 'ob-is-stalker' );
478
+ }
479
+ /* Pseudo */
480
+ if( this.isEdit && 'yes' === this.getElementSettings( '_ob_column_has_pseudo' ) ) {
481
+ this.$element.addClass( 'ob-is-pseudo' );
482
+ }
483
+ },
484
+ onElementChange: function( changedProp ) {
485
+
486
+ if( changedProp === '_ob_teleporter_overlay_color' ) {
487
+ this.$element.find( 'div[class*="ob-teleporter-"] > .ob-tele-overlay' ).css( 'background-color', this.getElementSettings( '_ob_teleporter_overlay_color' ) );
488
+ } else if( changedProp === '_ob_teleporter_no_pass_tablet' ) {
489
+ if( 'no-tablet' === this.getElementSettings( '_ob_teleporter_no_pass_tablet' ) )
490
+ this.$element.addClass( 'ob-tele-no-tablet' );
491
+ else
492
+ this.$element.removeClass( 'ob-tele-no-tablet' );
493
+ } else if( changedProp === '_ob_teleporter_no_pass_mobile' ) {
494
+ if( 'no-mobile' === this.getElementSettings( '_ob_teleporter_no_pass_mobile' ) )
495
+ this.$element.addClass( 'ob-tele-no-mobile' );
496
+ else
497
+ this.$element.removeClass( 'ob-tele-no-mobile' );
498
+ }
499
+ /* Hoveranimator */
500
+ if( changedProp === '_ob_column_hoveranimator' ) {
501
+ this.routeHoverAnimatorCol();
502
+ }
503
+ /* Widget Stalker */
504
+ if( changedProp === '_ob_bbad_is_stalker' ) {
505
+ this.routeWidgetStalkerCol();
506
+ }
507
+ /* Widget Stalker */
508
+ if( changedProp === '_ob_column_has_pseudo' ) {
509
+ this.routePseudoCol();
510
+ }
511
+
512
+ },
513
+ /* Hoveranimator */
514
+ routeHoverAnimatorCol: function() {
515
+ if( ! this.isHoverAnimatorCol() && 'yes' === this.getElementSettings( '_ob_column_hoveranimator' ) ) this.$element.addClass( 'ob-is-hoveranimator' );
516
+ else this.$element.removeClass( 'ob-is-hoveranimator' );
517
+ },
518
+ /* Widget Stalker */
519
+ routeWidgetStalkerCol: function() {
520
+ if( ! this.isWidgetStalkerCol() && 'yes' === this.getElementSettings( '_ob_bbad_is_stalker' ) ) this.$element.addClass( 'ob-is-stalker' );
521
+ else this.$element.removeClass( 'ob-is-stalker' );
522
+ },
523
+ /* Pseudo */
524
+ routePseudoCol: function() {
525
+ if( ! this.isPseudoCol() && 'yes' === this.getElementSettings( '_ob_column_has_pseudo' ) ) this.$element.addClass( 'ob-is-pseudo' );
526
+ else this.$element.removeClass( 'ob-is-pseudo' );
527
+ },
528
+ /* Teleporter */
529
+ doTeleporterEditor: function() {
530
+
531
+ if( 'use-teleporter' !== this.getElementSettings( '_ob_teleporter_use' ) ) return; // bail
532
+
533
+ // E3.0+ wrap the children of .elementor-widget-wrap for the animation purpose
534
+ var widgets_wrapper = this.$element.find( '.elementor-widget-wrap' ).first();
535
+ if( widgets_wrapper.length ) {
536
+ widgets_wrapper.wrapInner( '<div class="widget-wrap-children" />' );
537
+ if( widgets_wrapper.find( '.elementor-background-overlay' ).first().length ) {
538
+ widgets_wrapper.find( '.elementor-background-overlay' ).first().insertBefore( widgets_wrapper.find( '.elementor-background-overlay' ).first().parent() );
539
+ }
540
+ }
541
+
542
+ if( 'do-pass' !== this.getElementSettings( '_ob_teleporter_pass' ) ) return; // bail too
543
+
544
+ var this_ob = this;
545
+ var myself = this.$element;
546
+ var my_id = this.$element.attr( 'data-id' );
547
+
548
+ // default classes
549
+ if( 'no-tablet' === this.getElementSettings( '_ob_teleporter_no_pass_tablet' ) )
550
+ this.$element.addClass( 'ob-tele-no-tablet' );
551
+ if( 'no-mobile' === this.getElementSettings( '_ob_teleporter_no_pass_mobile' ) )
552
+ this.$element.addClass( 'ob-tele-no-mobile' );
553
+
554
+ // this column's parent section
555
+ var parent_section = ( 'section' === this.getElementSettings( '_ob_teleporter_pass_element' ) ) ? this.$element.closest( '.elementor-section' ) : this.$element.closest( '.elementor-container' );
556
+ if( ! parent_section.length ) return; // bail
557
+
558
+ // parent overflow
559
+ parent_section.css( 'overflow', 'hidden' );
560
+
561
+ // new element & effect
562
+ var hover_effect = this.getElementSettings( '_ob_teleporter_pass_effect' );
563
+ var hover_element = '<div class="ob-teleporter-' + my_id + ' ob-tele-eff-' + hover_effect + '" data-id-teleporter="' + my_id + '"><div class="ob-tele-overlay" style="background-color: ' + this.getElementSettings( '_ob_teleporter_overlay_color' ) + ';"></div></div>';
564
+
565
+ if( ! $( '.ob-teleporter-' + my_id ).length ) this.$element.prepend( hover_element );
566
+
567
+ this.$element.off( 'mouseenter mouseleave' );
568
+ this.$element.on( 'mouseenter mouseleave', function( ev ) {
569
+
570
+ if( 'mouseenter' === ev.type ) {
571
+
572
+ if( 'no-tablet' === this_ob.getElementSettings( '_ob_teleporter_no_pass_tablet' ) &&
573
+ 'tablet' === elementorFrontend.getCurrentDeviceMode() ) return; // bail
574
+ if( 'no-mobile' === this_ob.getElementSettings( '_ob_teleporter_no_pass_mobile' ) &&
575
+ 'mobile' === elementorFrontend.getCurrentDeviceMode() ) return; // bail
576
+ if( 'do-pass' !== this_ob.getElementSettings( '_ob_teleporter_pass' ) ) return;
577
+
578
+ var tele_css = {
579
+ 'background-color': $( '.ob-teleporter-' + my_id ).css( 'background-color' ),
580
+ 'background-image': $( '.ob-teleporter-' + my_id ).css( 'background-image' ),
581
+ 'background-position': $( '.ob-teleporter-' + my_id ).css( 'background-position' ),
582
+ 'background-size': $( '.ob-teleporter-' + my_id ).css( 'background-size' ),
583
+ 'background-repeat': $( '.ob-teleporter-' + my_id ).css( 'background-repeat' )
584
+ };
585
+
586
+ if( 'section' === this_ob.getElementSettings( '_ob_teleporter_pass_element' ) ) {
587
+ var all_children = parent_section.children().not( '.elementor-container' ).detach();
588
+ parent_section.addClass( 'ob-tele-mom-hover' ).prepend( $( '.ob-teleporter-' + my_id ) );
589
+ parent_section.prepend( all_children );
590
+ } else {
591
+ parent_section.addClass( 'ob-tele-mom-hover' ).prepend( $( '.ob-teleporter-' + my_id ) );
592
+ }
593
+
594
+ $( '.ob-teleporter-' + my_id ).css( tele_css ).hide();
595
+ $( '.ob-teleporter-' + my_id ).addClass( 'ob-teleporter-hover' ).show();
596
+
597
+ } else {
598
+
599
+ parent_section.removeClass( 'ob-tele-mom-hover' );
600
+ setTimeout( function() {
601
+ $( '.ob-teleporter-' + my_id ).removeAttr( 'style' ).removeClass( 'ob-teleporter-hover' );
602
+ myself.prepend( $( '.ob-teleporter-' + my_id ) );
603
+ }, 100 );
604
+
605
+ }
606
+
607
+ } );
608
+
609
+ },
610
+ doTeleporter: function() {
611
+
612
+ var teleporter_settings = {};
613
+ try {
614
+ teleporter_settings = JSON.parse( this.$element.attr( 'data-settings' ) );
615
+ } catch ( error ) {
616
+ return;
617
+ }
618
+
619
+ if( 'use-teleporter' !== teleporter_settings._ob_teleporter_use ) return; // bail
620
+
621
+ // E3.0+ wrap the children of .elementor-widget-wrap for the animation purpose
622
+ var widgets_wrapper = this.$element.find( '.elementor-widget-wrap' ).first();
623
+ if( widgets_wrapper.length ) {
624
+ widgets_wrapper.wrapInner( '<div class="widget-wrap-children" />' );
625
+ if( widgets_wrapper.find( '.elementor-background-overlay' ).first().length ) {
626
+ widgets_wrapper.find( '.elementor-background-overlay' ).first().insertBefore( widgets_wrapper.find( '.elementor-background-overlay' ).first().parent() );
627
+ }
628
+ }
629
+
630
+ var myself = this.$element;
631
+ var my_id = this.$element.attr( 'data-id' );
632
+
633
+ // default classes
634
+ if( 'no-tablet' === teleporter_settings._ob_teleporter_no_pass_tablet )
635
+ this.$element.addClass( 'ob-tele-no-tablet' );
636
+ if( 'no-mobile' === teleporter_settings._ob_teleporter_no_pass_mobile )
637
+ this.$element.addClass( 'ob-tele-no-mobile' );
638
+
639
+ // handle links
640
+ if( undefined !== teleporter_settings._ob_teleporter_link ) {
641
+
642
+ var tele_link = teleporter_settings._ob_teleporter_link;
643
+ if( '' === tele_link.url ) return;
644
+
645
+ this.$element.off( 'click.obTeleporter' );
646
+ this.$element.on( 'click.obTeleporter', function() {
647
+ if( tele_link.is_external ) window.open( tele_link.url );
648
+ else location.href = tele_link.url;
649
+ } );
650
+
651
+ }
652
+
653
+ if( 'do-pass' !== teleporter_settings._ob_teleporter_pass ) return; // bail too
654
+
655
+ // this column's parent section
656
+ var parent_section = ( 'section' === teleporter_settings._ob_teleporter_pass_element ) ? this.$element.closest( '.elementor-section' ) : this.$element.closest( '.elementor-container' );
657
+ if( ! parent_section.length ) return; // bail
658
+
659
+ // parent overflow
660
+ parent_section.css( 'overflow', 'hidden' );
661
+
662
+ // new element
663
+ var hover_effect = teleporter_settings._ob_teleporter_pass_effect;
664
+ var hover_element = '<div class="ob-teleporter-' + my_id + ' ob-tele-eff-' + hover_effect + '" data-id-teleporter="' + my_id + '"><div class="ob-tele-overlay" style="background-color: ' + teleporter_settings._ob_teleporter_overlay_color + ';"></div>';
665
+
666
+ if( ! $( '.ob-teleporter-' + my_id ).length ) this.$element.prepend( hover_element );
667
+
668
+ this.$element.off( 'mouseenter mouseleave' );
669
+ this.$element.on( 'mouseenter', function() {
670
+
671
+ if( 'no-tablet' === teleporter_settings._ob_teleporter_no_pass_tablet &&
672
+ 'tablet' === elementorFrontend.getCurrentDeviceMode() ) return; // bail
673
+ if( 'no-mobile' === teleporter_settings._ob_teleporter_no_pass_mobile &&
674
+ 'mobile' === elementorFrontend.getCurrentDeviceMode() ) return; // bail
675
+
676
+ var tele_css = {
677
+ 'background-color': $( '.ob-teleporter-' + my_id ).css( 'background-color' ),
678
+ 'background-image': $( '.ob-teleporter-' + my_id ).css( 'background-image' ),
679
+ 'background-position': $( '.ob-teleporter-' + my_id ).css( 'background-position' ),
680
+ 'background-size': $( '.ob-teleporter-' + my_id ).css( 'background-size' ),
681
+ 'background-repeat': $( '.ob-teleporter-' + my_id ).css( 'background-repeat' )
682
+ };
683
+
684
+ if( 'section' === teleporter_settings._ob_teleporter_pass_element ) {
685
+ var all_children = parent_section.children().not( '.elementor-container' ).detach();
686
+ parent_section.addClass( 'ob-tele-mom-hover' ).prepend( $( '.ob-teleporter-' + my_id ) );
687
+ parent_section.prepend( all_children );
688
+ } else parent_section.addClass( 'ob-tele-mom-hover' ).prepend( $( '.ob-teleporter-' + my_id ) );
689
+
690
+ $( '.ob-teleporter-' + my_id ).css( tele_css ).hide();
691
+ $( '.ob-teleporter-' + my_id ).show().addClass( 'ob-teleporter-hover' );
692
+
693
+ } );
694
+
695
+ this.$element.on( 'mouseleave', function() {
696
+
697
+ parent_section.removeClass( 'ob-tele-mom-hover' );
698
+ setTimeout( function() {
699
+ $( '.ob-teleporter-' + my_id ).removeAttr( 'style' ).removeClass( 'ob-teleporter-hover' );
700
+ myself.prepend( $( '.ob-teleporter-' + my_id ) );
701
+ }, 100 );
702
+
703
+ } );
704
+
705
+ },
706
+
707
+ } );
708
+
709
+ var SearchCop = elementorModules.frontend.handlers.Base.extend( {
710
+
711
+ onInit: function() {
712
+
713
+ elementorModules.frontend.handlers.Base.prototype.onInit.apply( this, arguments );
714
+ this.initSearchCop();
715
+
716
+ },
717
+
718
+ onElementChange: function( changedProp ) {
719
+
720
+ if( changedProp === '_ob_searchcop_srch_options' ) this.routeSearchCop();
721
+
722
+ },
723
+
724
+ initSearchCop: function() {
725
+
726
+ this.routeSearchCop();
727
+
728
+ },
729
+
730
+ routeSearchCop: function() {
731
+ var search_cop_val = this.getElementSettings( '_ob_searchcop_srch_options' );
732
+ if( 'post' === search_cop_val || 'page' === search_cop_val ) {
733
+ var this_input_wrapper = this.$element.find( '.elementor-search-form__container' );
734
+ if( ! this_input_wrapper.length ) return;
735
+ var param_input = '<input type="hidden" name="post_type" value="' + search_cop_val + '" />';
736
+ this_input_wrapper.prepend( param_input );
737
+ }
738
+ },
739
+
740
+ } );
741
+
742
+ var ButterButton = elementorModules.frontend.handlers.Base.extend( {
743
+
744
+ onInit: function() {
745
+
746
+ elementorModules.frontend.handlers.Base.prototype.onInit.apply( this, arguments );
747
+ this.initButterButton();
748
+
749
+ },
750
+
751
+ isButterButton: function() {
752
+
753
+ return this.$element.hasClass( 'ob-is-butterbutton' );
754
+
755
+ },
756
+
757
+ onElementChange: function( changedProp ) {
758
+
759
+ if( changedProp === '_ob_butterbutton_use_it' ) {
760
+ this.routeButterButton();
761
+ }
762
+
763
+ },
764
+
765
+ initButterButton: function() {
766
+
767
+ if( this.isEdit && 'yes' === this.getElementSettings( '_ob_butterbutton_use_it' ) ) {
768
+ this.$element.addClass( 'ob-is-butterbutton' );
769
+ }
770
+
771
+ },
772
+
773
+ routeButterButton: function() {
774
+
775
+ if( ! this.isButterButton() && 'yes' === this.getElementSettings( '_ob_butterbutton_use_it' ) ) this.$element.addClass( 'ob-is-butterbutton' );
776
+ else this.$element.removeClass( 'ob-is-butterbutton' );
777
+
778
+ },
779
+
780
+
781
+ } );
782
+
783
+ var PhotoMorph = elementorModules.frontend.handlers.Base.extend( {
784
+
785
+ onInit: function() {
786
+
787
+ elementorModules.frontend.handlers.Base.prototype.onInit.apply( this, arguments );
788
+ this.initPhotoMorph();
789
+
790
+ },
791
+
792
+ isPhotoMorph: function() {
793
+
794
+ return this.$element.hasClass( 'ob-photomorph' );
795
+
796
+ },
797
+
798
+ onElementChange: function( changedProp ) {
799
+
800
+ if( changedProp === '_ob_photomorph_use' ) {
801
+ this.routePhotoMorph();
802
+ }
803
+
804
+ },
805
+
806
+ initPhotoMorph: function() {
807
+
808
+ if( this.isEdit && 'yes' === this.getElementSettings( '_ob_photomorph_use' ) ) {
809
+ this.$element.addClass( 'ob-photomorph' );
810
+ }
811
+
812
+ },
813
+
814
+ routePhotoMorph: function() {
815
+
816
+ if( ! this.isPhotoMorph() && 'yes' === this.getElementSettings( '_ob_photomorph_use' ) ) this.$element.addClass( 'ob-photomorph' );
817
+ else this.$element.removeClass( 'ob-photomorph' );
818
+
819
+ },
820
+
821
+
822
+ } );
823
+
824
+ var Commentz = elementorModules.frontend.handlers.Base.extend( {
825
+
826
+ onInit: function() {
827
+
828
+ elementorModules.frontend.handlers.Base.prototype.onInit.apply( this, arguments );
829
+ this.initCommentz();
830
+
831
+ },
832
+
833
+ isCommentz: function() {
834
+
835
+ return this.$element.hasClass( 'ob-commentz' );
836
+
837
+ },
838
+
839
+ onElementChange: function( changedProp ) {
840
+
841
+ if( changedProp === '_ob_commentz_use' ) {
842
+ this.routeCommentz();
843
+ }
844
+
845
+ },
846
+
847
+ initCommentz: function() {
848
+
849
+ if( this.isEdit && 'yes' === this.getElementSettings( '_ob_commentz_use' ) ) {
850
+ this.$element.addClass( 'ob-commentz' );
851
+ }
852
+
853
+ },
854
+
855
+ routeCommentz: function() {
856
+
857
+ if( ! this.isCommentz() && 'yes' === this.getElementSettings( '_ob_commentz_use' ) ) this.$element.addClass( 'ob-commentz' );
858
+ else this.$element.removeClass( 'ob-commentz' );
859
+
860
+ },
861
+
862
+
863
+ } );
864
+
865
+ var SpaceRat = elementorModules.frontend.handlers.Base.extend( {
866
+
867
+ onInit: function() {
868
+
869
+ elementorModules.frontend.handlers.Base.prototype.onInit.apply( this, arguments );
870
+ this.initSpaceRat();
871
+
872
+ },
873
+
874
+ isSpaceRat: function() {
875
+
876
+ return this.$element.hasClass( 'ob-spacerat' );
877
+
878
+ },
879
+
880
+ onElementChange: function( changedProp ) {
881
+
882
+ if( changedProp === '_ob_spacerat_use' ) {
883
+ this.routeSpaceRat();
884
+ }
885
+
886
+ },
887
+
888
+ initSpaceRat: function() {
889
+
890
+ if( this.isEdit && 'yes' === this.getElementSettings( '_ob_spacerat_use' ) ) {
891
+ this.$element.addClass( 'ob-spacerat' );
892
+ }
893
+
894
+ if( ! this.isEdit && 'yes' === this.getElementSettings( '_ob_spacerat_use' ) ) {
895
+
896
+ var spacerat_settings = {};
897
+ try {
898
+ spacerat_settings = JSON.parse( this.$element.attr( 'data-settings' ) );
899
+ } catch ( error ) {
900
+ return;
901
+ }
902
+
903
+ if( undefined !== spacerat_settings._ob_spacerat_link ) {
904
+
905
+ var spacerat_link = spacerat_settings._ob_spacerat_link;
906
+ if( '' === spacerat_link.url ) return;
907
+
908
+ this.$element.off( 'click.obSpacerat' );
909
+ this.$element.on( 'click.obSpacerat', function() {
910
+ if( spacerat_link.is_external ) window.open( spacerat_link.url );
911
+ else location.href = spacerat_link.url;
912
+ } );
913
+
914
+ }
915
+
916
+ }
917
+
918
+ },
919
+
920
+ routeSpaceRat: function() {
921
+
922
+ if( ! this.isSpaceRat() && 'yes' === this.getElementSettings( '_ob_spacerat_use' ) ) this.$element.addClass( 'ob-spacerat' );
923
+ else this.$element.removeClass( 'ob-spacerat' );
924
+
925
+ },
926
+
927
+
928
+ } );
929
+
930
+ var handlersList = {
931
+
932
+ 'widget': PoopArtPerspektiveHA,
933
+ 'heading.default': Harakiri,
934
+ 'text-editor.default': Harakiri,
935
+ 'section': SectionExtends,
936
+ 'column': ColumnExtends,
937
+ 'search-form.default': SearchCop,
938
+ 'button.default': ButterButton,
939
+ 'image.default': PhotoMorph,
940
+ 'post-comments.theme_comments': Commentz,
941
+ 'spacer.default': SpaceRat
942
+
943
+ };
944
+
945
+ $.each( handlersList, function( widgetName, handlerClass ) {
946
+
947
+ elementorFrontend.hooks.addAction( 'frontend/element_ready/' + widgetName, function( $scope ) {
948
+
949
+ elementorFrontend.elementsHandler.addHandler( handlerClass, { $element: $scope } );
950
+
951
+ } );
952
+
953
+ } );
954
+
955
+ } );
956
+
957
+ var makeSwiper = function( elem_id, settings ) {
958
+
959
+ var the_section = $( '.elementor-element-' + elem_id );
960
+ var the_s = $( '.elementor-element-' + elem_id + ' .swiper-container' ).first();
961
+ var the_s_controls = the_s.parent().parent().find( 'nav.glider-controller' );
962
+
963
+ var me_the_swiper; // swiper instance
964
+ var swiper_config = {
965
+ allowTouchMove: ( 'yes' === settings.allowTouchMove ? true : false ),
966
+ autoHeight: ( 'yes' === settings.autoheight ? true : false ),
967
+ effect: settings.effect,
968
+ loop: settings.loop,
969
+ direction: ( 'fade' === settings.effect ? 'horizontal' : settings.direction ),
970
+ parallax: ( 'yes' === settings.parallax ? true : false ),
971
+ speed: settings.speed,
972
+ /* by Xmastermind */
973
+ breakpoints: ( 'yes' === settings.allowMultiSlides ? settings.breakpoints : false ),
974
+ /* -------------- */
975
+ navigation: {
976
+ nextEl: '.elementor-element-' + elem_id + ' .swiper-button-next',
977
+ prevEl: '.elementor-element-' + elem_id + ' .swiper-button-prev',
978
+ },
979
+ pagination: {
980
+ el: '.elementor-element-' + elem_id + ' .swiper-pagination',
981
+ type: settings.pagination_type,
982
+ clickable: true,
983
+ },
984
+ autoplay: settings.autoplay,
985
+ watchOverflow : true, /* gotta force it down */
986
+ };
987
+ // improved asset loading
988
+ if ( 'undefined' === typeof Swiper ) { // swiper not loaded
989
+ const asyncSwiper = elementorFrontend.utils.swiper;
990
+ new asyncSwiper( the_s, swiper_config ).then( ( newSwiperInstance ) => {
991
+ me_the_swiper = newSwiperInstance;
992
+ } );
993
+ } else { // otherwise swiper exists
994
+ me_the_swiper = new Swiper( the_s, swiper_config );
995
+ }
996
+
997
+ the_s.find( '[class*="glider-control"]' ).on( 'click', function( e ) {
998
+
999
+ if( typeof $( this ).data( 'gotoslide' ) !== 'undefined' ) {
1000
+ me_the_swiper.slideTo( parseInt( $( this ).data( 'gotoslide' ) ) );
1001
+ } else {
1002
+ var slide_num = parseInt( $( this ).attr( 'class' ).match(/glider-control-(\d+)/)[ 1 ] );
1003
+ if( slide_num > 0 ) me_the_swiper.slideTo( slide_num );
1004
+ }
1005
+
1006
+ e.preventDefault(); // bail
1007
+
1008
+ } );
1009
+
1010
+ the_s_controls.find( '[class*="glider-control"]' ).on( 'click', function( e ) {
1011
+
1012
+ if( typeof $( this ).data( 'gotoslide' ) !== 'undefined' ) {
1013
+ me_the_swiper.slideTo( parseInt( $( this ).data( 'gotoslide' ) ) );
1014
+ } else {
1015
+ var slide_num = parseInt( $( this ).attr( 'class' ).match(/glider-control-(\d+)/)[ 1 ] );
1016
+ if( slide_num > 0 ) me_the_swiper.slideTo( slide_num );
1017
+ }
1018
+
1019
+ e.preventDefault(); // bail
1020
+
1021
+ } );
1022
+
1023
+ the_section.css( 'visibility', 'visible' );
1024
+
1025
+ }
1026
+
1027
+ } ( jQuery, window ) );
assets/js/perspektive-min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";jQuery(window).on("elementor/frontend/init",(function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({onInit:function(){t.prototype.onInit.apply(this,arguments),this.isPerspektive()&&this.$element.addClass("ob-use-perspektive")},isPerspektive:function(){return"yes"===this.getElementSettings("_ob_perspektive_use")},onElementChange:function(e){"_ob_perspektive_use"===e&&("yes"===this.getElementSettings("_ob_perspektive_use")?this.$element.addClass("ob-use-perspektive"):this.$element.removeClass("ob-use-perspektive"))}}),elementorFrontend.hooks.addAction("frontend/element_ready/widget",(function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})}))}));
 
assets/js/photomorph-min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";jQuery(window).on("elementor/frontend/init",(function(){var e,o=elementorModules.frontend.handlers.Base;e=o.extend({onInit:function(){o.prototype.onInit.apply(this,arguments),this.isPhotoMorph()&&this.$element.addClass("ob-photomorph")},isPhotoMorph:function(){return"yes"===this.getElementSettings("_ob_photomorph_use")},onElementChange:function(e){"_ob_photomorph_use"===e&&("yes"===this.getElementSettings("_ob_photomorph_use")?this.$element.addClass("ob-photomorph"):this.$element.removeClass("ob-photomorph"))}}),elementorFrontend.hooks.addAction("frontend/element_ready/image.default",(function(o){elementorFrontend.elementsHandler.addHandler(e,{$element:o})}))}));
 
assets/js/poopart-min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";jQuery(window).on("elementor/frontend/init",(function(){var e,n=elementorModules.frontend.handlers.Base;e=n.extend({onInit:function(){n.prototype.onInit.apply(this,arguments),this.isPoopArt()&&this.$element.addClass("ob-has-background-overlay")},isPoopArt:function(){return"yes"===this.getElementSettings("_ob_poopart_use")},onElementChange:function(e){"_ob_poopart_use"===e&&("yes"===this.getElementSettings("_ob_poopart_use")?this.$element.addClass("ob-has-background-overlay"):this.$element.removeClass("ob-has-background-overlay"))}}),elementorFrontend.hooks.addAction("frontend/element_ready/widget",(function(n){elementorFrontend.elementsHandler.addHandler(e,{$element:n})}))}));
 
assets/js/pseudo-min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";!function(e,n){e(n).on("elementor/frontend/init",(function(){var n,o;n=elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.isPseudo()&&this.$element.addClass("ob-is-pseudo")},isPseudo:function(){return"yes"===this.getElementSettings("_ob_column_has_pseudo")},onElementChange:function(e){"_ob_column_has_pseudo"===e&&("yes"===this.getElementSettings("_ob_column_has_pseudo")?this.$element.addClass("ob-is-pseudo"):this.$element.removeClass("ob-is-pseudo"))}}),o=elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.isPseudoContainer()&&(this.$element.addClass("ob-is-pseudo"),this.removePseudos(),this.runPseudos())},isPseudoContainer:function(){return"yes"===this.getElementSettings("_ob_column_has_pseudo")},onElementChange:function(e){"_ob_column_has_pseudo"===e&&("yes"===this.getElementSettings("_ob_column_has_pseudo")?(this.$element.addClass("ob-is-pseudo"),this.runPseudos()):(this.removePseudos(),this.$element.removeClass("ob-is-pseudo")))},runPseudos:function(){this.$element.children(".ob-pseudo-before").first().length||e("<div>",{class:"ob-pseudo-before"}).appendTo(this.$element),this.$element.children(".ob-pseudo-after").first().length||e("<div>",{class:"ob-pseudo-after"}).appendTo(this.$element)},removePseudos:function(){this.$element.children(".ob-pseudo-before").first().remove(),this.$element.children(".ob-pseudo-after").first().remove()}}),elementorFrontend.hooks.addAction("frontend/element_ready/column",(function(e){elementorFrontend.elementsHandler.addHandler(n,{$element:e})})),elementorFrontend.hooks.addAction("frontend/element_ready/container",(function(e){elementorFrontend.elementsHandler.addHandler(o,{$element:e})}))}))}(jQuery,window);
 
assets/js/searchcop-min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";jQuery(window).on("elementor/frontend/init",(function(){var e,n,t,o,r,i=elementorModules.frontend.handlers.Base;e=i.extend({onInit:function(){i.prototype.onInit.apply(this,arguments),this.isSearchCop()&&this.runSearchCop()},isSearchCop:function(){return"yes"===this.getElementSettings("_ob_searchcop_use_it")},onElementChange:(n=function(e){"_ob_searchcop_srch_options"===e&&this.runSearchCop()},t=900,function(){var e=this,i=arguments,s=function(){r=null,o||n.apply(e,i)},a=o&&!r;clearTimeout(r),r=setTimeout(s,t),a&&n.apply(e,i)}),runSearchCop:function(){var e=this.getElementSettings("_ob_searchcop_srch_options");if("post"===e||"page"===e||"product"===e){var n=this.$element.find(".elementor-search-form__container");if(!n.length)return;var t='<input type="hidden" name="post_type" value="'+e+'" />';n.prepend(t)}}}),elementorFrontend.hooks.addAction("frontend/element_ready/search-form.default",(function(n){elementorFrontend.elementsHandler.addHandler(e,{$element:n})}))}));
 
assets/js/spacerat-min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";jQuery(window).on("elementor/frontend/init",(function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({onInit:function(){t.prototype.onInit.apply(this,arguments),this.isSpaceRat()&&(this.$element.addClass("ob-spacerat"),this.runRoutine())},isSpaceRat:function(){return"yes"===this.getElementSettings("_ob_spacerat_use")},onElementChange:function(e){"_ob_spacerat_use"===e&&("yes"===this.getElementSettings("_ob_spacerat_use")?this.$element.addClass("ob-spacerat"):this.$element.removeClass("ob-spacerat"))},runRoutine:function(){if(!this.isEdit){var e={};try{e=JSON.parse(this.$element.attr("data-settings"))}catch(e){return}if(void 0!==e._ob_spacerat_link){var t=e._ob_spacerat_link;if(""===t.url)return;this.$element.off("click.obSpacerat"),this.$element.on("click.obSpacerat",(function(){t.is_external?window.open(t.url):location.href=t.url}))}}}}),elementorFrontend.hooks.addAction("frontend/element_ready/spacer.default",(function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})}))}));
 
assets/js/widgetstalker-min.js DELETED
@@ -1 +0,0 @@
1
- "use strict";jQuery(window).on("elementor/frontend/init",(function(){var e;e=elementorModules.frontend.handlers.Base.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.isWidgetStalker()&&this.$element.addClass("ob-got-stalker")},isWidgetStalker:function(){return"yes"===this.getElementSettings("_ob_widget_stalker_use")},onElementChange:function(e){"_ob_widget_stalker_use"===e&&("yes"===this.getElementSettings("_ob_widget_stalker_use")?this.$element.addClass("ob-got-stalker"):this.$element.removeClass("ob-got-stalker"))}}),elementorFrontend.hooks.addAction("frontend/element_ready/widget",(function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})}))}));
 
controls/ooohboi-breaking-bad.php CHANGED
@@ -496,7 +496,7 @@ href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/O
496
  $element->add_control(
497
  '_ob_bbad_link_type',
498
  [
499
- 'label' => __( 'Column Link', 'ooohboi-steroids' ),
500
  'type' => Controls_Manager::SELECT,
501
  'default' => 'default',
502
  'separator' => 'before',
@@ -551,7 +551,7 @@ href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/O
551
  '_ob_bbad_is_stalker',
552
  [
553
  'label' => __( 'Enable Widget Stalker?', 'ooohboi-steroids' ),
554
- 'description' => __( 'NOTE: It changes the default alignment of widgets inside this column - including the Inner Section widget.', 'ooohboi-steroids' ),
555
  'separator' => 'before',
556
  'type' => Controls_Manager::SWITCHER,
557
  'label_on' => __( 'Yes', 'ooohboi-steroids' ),
496
  $element->add_control(
497
  '_ob_bbad_link_type',
498
  [
499
+ 'label' => sprintf( __( 'Column Link%sNEW!%s', 'ooohboi-steroids' ), '<sup class="ob-new-feature">', '</sup>' ),
500
  'type' => Controls_Manager::SELECT,
501
  'default' => 'default',
502
  'separator' => 'before',
551
  '_ob_bbad_is_stalker',
552
  [
553
  'label' => __( 'Enable Widget Stalker?', 'ooohboi-steroids' ),
554
+ 'description' => __( 'NOTE: It changes the default alignment of widgets inside this column - including the Ineer Section widget.', 'ooohboi-steroids' ),
555
  'separator' => 'before',
556
  'type' => Controls_Manager::SWITCHER,
557
  'label_on' => __( 'Yes', 'ooohboi-steroids' ),
controls/ooohboi-bullet.php DELETED
@@ -1,91 +0,0 @@
1
- <?php
2
- use Elementor\Controls_Manager;
3
- use Elementor\Controls_Stack;
4
- use Elementor\Element_Base;
5
-
6
- if ( ! defined( 'ABSPATH' ) ) {
7
- exit; // Exit if accessed directly.
8
- }
9
-
10
- /**
11
- * Main OoohBoi Bullet
12
- *
13
- * The main class that initiates and runs the plugin.
14
- *
15
- * @since 1.8.2
16
- */
17
- class OoohBoi_Bullet {
18
-
19
- /**
20
- * Initialize
21
- *
22
- * @since 1.4.6
23
- *
24
- * @access public
25
- */
26
- public static function init() {
27
-
28
- add_action( 'elementor/element/icon-list/section_icon_style/before_section_end', [ __CLASS__, 'ooohboi_handle_bullet' ], 10, 2 );
29
-
30
- }
31
-
32
- public static function ooohboi_handle_bullet( $element, $args ) {
33
-
34
- $element->add_control(
35
- '_ob_bullet',
36
- [
37
- 'label' => 'B U L L E T',
38
- 'type' => Controls_Manager::HEADING,
39
- 'separator' => 'before',
40
- ]
41
- );
42
-
43
- // ------------------------------------------------------------------------- CONTROL: Moves bullet to top!
44
- $element->add_control(
45
- '_ob_bullet_move_top',
46
- [
47
- 'label' => sprintf( __( 'Move bullet to top%sNEW!%s', 'ooohboi-steroids' ), '<sup class="ob-new-feature">', '</sup>' ),
48
- 'description' => __( 'NOTE: Takes effect with more than just one line of text!', 'ooohboi-steroids' ),
49
- 'separator' => 'before',
50
- 'type' => Controls_Manager::SWITCHER,
51
- 'label_on' => __( 'Yes', 'ooohboi-steroids' ),
52
- 'label_off' => __( 'No', 'ooohboi-steroids' ),
53
- 'return_value' => 'inherit',
54
- 'selectors' => [
55
- '{{WRAPPER}} .elementor-icon-list-item, {{WRAPPER}} .elementor-icon-list-item a' => 'align-items: start;',
56
- ],
57
- ]
58
- );
59
- // ------------------------------------------------------------------------- CONTROL: Bullet top margin
60
- $element->add_responsive_control(
61
- '_ob_bullet_top_margin',
62
- [
63
- 'label' => __( 'Margin Top', 'ooohboi-steroids' ),
64
- 'type' => Controls_Manager::SLIDER,
65
- 'range' => [
66
- 'px' => [
67
- 'max' => 100,
68
- 'step' => 1,
69
- ],
70
- 'em' => [
71
- 'max' => 10,
72
- 'step' => 1,
73
- ],
74
- '%' => [
75
- 'max' => 100,
76
- 'step' => 1,
77
- ],
78
- ],
79
- 'size_units' => [ 'px', 'em', '%' ],
80
- 'selectors' => [
81
- '{{WRAPPER}} .elementor-icon-list-item .elementor-icon-list-icon, {{WRAPPER}} .elementor-icon-list-item a .elementor-icon-list-icon' => 'margin-top: {{SIZE}}{{UNIT}};',
82
- ],
83
- 'condition' => [
84
- '_ob_bullet_move_top' => 'inherit',
85
- ],
86
- ]
87
- );
88
-
89
- }
90
-
91
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
controls/ooohboi-butter-button.php CHANGED
@@ -20,8 +20,6 @@ if ( ! defined( 'ABSPATH' ) ) {
20
  */
21
  class OoohBoi_Butter_Button {
22
 
23
- static $should_script_enqueue = false;
24
-
25
  /**
26
  * Initialize
27
  *
@@ -34,37 +32,8 @@ class OoohBoi_Butter_Button {
34
  add_action( 'elementor/element/button/section_style/after_section_end', [ __CLASS__, 'ob_butterbutton_panel' ], 10, 2 );
35
  add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
36
 
37
- /* should enqueue? */
38
- add_action( 'elementor/frontend/widget/before_render', [ __CLASS__, 'should_script_enqueue' ] );
39
- /* add script */
40
- add_action( 'elementor/preview/enqueue_scripts', [ __CLASS__, 'enqueue_scripts' ] );
41
-
42
  }
43
 
44
- /* enqueue script JS */
45
- public static function enqueue_scripts() {
46
-
47
- $extension_js = plugin_dir_path( __DIR__ ) . 'assets/js/butterbutton-min.js';
48
-
49
- if( file_exists( $extension_js ) ) {
50
- wp_add_inline_script( 'elementor-frontend', file_get_contents( $extension_js ) );
51
- }
52
-
53
- }
54
- /* should enqueue? */
55
- public static function should_script_enqueue( $element ) {
56
-
57
- if( self::$should_script_enqueue ) return;
58
-
59
- if( 'yes' == $element->get_settings_for_display( '_ob_butterbutton_use_it' ) ) {
60
-
61
- self::$should_script_enqueue = true;
62
- self::enqueue_scripts();
63
-
64
- remove_action( 'elementor/frontend/section/before_render', [ __CLASS__, 'should_script_enqueue' ] );
65
- }
66
- }
67
-
68
  public static function add_attributes( $element ) {
69
 
70
  if ( 'button' !== $element->get_name() ) return;
@@ -107,6 +76,20 @@ class OoohBoi_Butter_Button {
107
  ]
108
  );
109
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  // --------------------------------------------------------------------------------------------- CONTROL Icon Size
111
  $element->add_responsive_control(
112
  '_ob_butterbutton_icon_size',
@@ -192,10 +175,7 @@ class OoohBoi_Butter_Button {
192
  $element->start_controls_tab(
193
  '_ob_butterbutton_tabs_reg',
194
  [
195
- 'label' => __( 'Normal', 'ooohboi-steroids' ),
196
- 'condition' => [
197
- '_ob_butterbutton_use_it' => 'yes',
198
- ],
199
  ]
200
  );
201
 
@@ -232,20 +212,6 @@ class OoohBoi_Butter_Button {
232
  ]
233
  );
234
 
235
- $element->add_control(
236
- '_ob_butterbutton_premise_reg',
237
- [
238
- 'label' => esc_html__( 'The Background Settings', 'ooohboi-animator' ),
239
- 'type' => Controls_Manager::RAW_HTML,
240
- 'raw' => esc_html__( 'This won\'t make any effect unless you set the original NORMAL and HOVER background colors to transparent!', 'ooohboi-animator' ),
241
- 'content_classes' => 'elementor-control-field-description',
242
- 'separator' => 'before',
243
- 'condition' => [
244
- '_ob_butterbutton_use_it' => 'yes',
245
- ],
246
- ]
247
- );
248
-
249
  // --------------------------------------------------------------------------------------------- CONTROL BACKGROUND Regular
250
  $element->add_group_control(
251
  Group_Control_Background::get_type(),
@@ -322,9 +288,6 @@ class OoohBoi_Butter_Button {
322
  '_ob_butterbutton_tabs_hov',
323
  [
324
  'label' => __( 'Hover', 'ooohboi-steroids' ),
325
- 'condition' => [
326
- '_ob_butterbutton_use_it' => 'yes',
327
- ],
328
  ]
329
  );
330
 
@@ -362,26 +325,11 @@ class OoohBoi_Butter_Button {
362
  ]
363
  );
364
 
365
- $element->add_control(
366
- '_ob_butterbutton_premise_rhov',
367
- [
368
- 'label' => esc_html__( 'The Background Settings', 'ooohboi-animator' ),
369
- 'type' => Controls_Manager::RAW_HTML,
370
- 'raw' => esc_html__( 'This won\'t make any effect unless you set the original NORMAL and HOVER background colors to transparent!', 'ooohboi-animator' ),
371
- 'content_classes' => 'elementor-control-field-description',
372
- 'separator' => 'before',
373
- 'condition' => [
374
- '_ob_butterbutton_use_it' => 'yes',
375
- ],
376
- ]
377
- );
378
-
379
  // --------------------------------------------------------------------------------------------- CONTROL BACKGROUND Hover
380
  $element->add_group_control(
381
  Group_Control_Background::get_type(),
382
  [
383
  'name' => '_ob_butterbutton_tabs_hov_bg',
384
- 'description' => __( 'NOTE: this won\'t make any effect unless you set the original HOVER background color to transparent!', 'ooohboi-steroids' ),
385
  'frontend_available' => true,
386
  'selector' => $selector . ':after',
387
  'condition' => [
20
  */
21
  class OoohBoi_Butter_Button {
22
 
 
 
23
  /**
24
  * Initialize
25
  *
32
  add_action( 'elementor/element/button/section_style/after_section_end', [ __CLASS__, 'ob_butterbutton_panel' ], 10, 2 );
33
  add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
34
 
 
 
 
 
 
35
  }
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  public static function add_attributes( $element ) {
38
 
39
  if ( 'button' !== $element->get_name() ) return;
76
  ]
77
  );
78
 
79
+ // --------------------------------------------------------------------------------------------- CONTROL Button Typography
80
+ $element->add_group_control(
81
+ Group_Control_Typography::get_type(),
82
+ [
83
+ 'name' => '_ob_butterbutton_typography',
84
+ 'label' => __( 'Typography', 'ooohboi-steroids' ),
85
+ 'scheme' => Typography::TYPOGRAPHY_3,
86
+ 'selector' => $selector,
87
+ 'condition' => [
88
+ '_ob_butterbutton_use_it' => 'yes',
89
+ ],
90
+ ]
91
+ );
92
+
93
  // --------------------------------------------------------------------------------------------- CONTROL Icon Size
94
  $element->add_responsive_control(
95
  '_ob_butterbutton_icon_size',
175
  $element->start_controls_tab(
176
  '_ob_butterbutton_tabs_reg',
177
  [
178
+ 'label' => __( 'Regular', 'ooohboi-steroids' ),
 
 
 
179
  ]
180
  );
181
 
212
  ]
213
  );
214
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215
  // --------------------------------------------------------------------------------------------- CONTROL BACKGROUND Regular
216
  $element->add_group_control(
217
  Group_Control_Background::get_type(),
288
  '_ob_butterbutton_tabs_hov',
289
  [
290
  'label' => __( 'Hover', 'ooohboi-steroids' ),
 
 
 
291
  ]
292
  );
293
 
325
  ]
326
  );
327
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
328
  // --------------------------------------------------------------------------------------------- CONTROL BACKGROUND Hover
329
  $element->add_group_control(
330
  Group_Control_Background::get_type(),
331
  [
332
  'name' => '_ob_butterbutton_tabs_hov_bg',
 
333
  'frontend_available' => true,
334
  'selector' => $selector . ':after',
335
  'condition' => [
controls/ooohboi-commentz.php CHANGED
@@ -4,6 +4,7 @@ use Elementor\Controls_Stack;
4
  use Elementor\Element_Base;
5
  use Elementor\Group_Control_Border;
6
  use Elementor\Group_Control_Typography;
 
7
  use Elementor\Core\Schemes\Typography;
8
 
9
  if ( ! defined( 'ABSPATH' ) ) {
@@ -19,8 +20,6 @@ if ( ! defined( 'ABSPATH' ) ) {
19
  */
20
  class OoohBoi_Commentz {
21
 
22
- static $should_script_enqueue = false;
23
-
24
  /**
25
  * Initialize
26
  *
@@ -33,35 +32,6 @@ class OoohBoi_Commentz {
33
  add_action( 'elementor/element/post-comments/section_content/after_section_end', [ __CLASS__, 'add_section' ] );
34
  add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
35
 
36
- /* should enqueue? */
37
- add_action( 'elementor/frontend/widget/before_render', [ __CLASS__, 'should_script_enqueue' ] );
38
- /* add script */
39
- add_action( 'elementor/preview/enqueue_scripts', [ __CLASS__, 'enqueue_scripts' ] );
40
-
41
- }
42
-
43
- /* enqueue script JS */
44
- public static function enqueue_scripts() {
45
-
46
- $extension_js = plugin_dir_path( __DIR__ ) . 'assets/js/commentz-min.js';
47
-
48
- if( file_exists( $extension_js ) ) {
49
- wp_add_inline_script( 'elementor-frontend', file_get_contents( $extension_js ) );
50
- }
51
-
52
- }
53
- /* should enqueue? */
54
- public static function should_script_enqueue( $element ) {
55
-
56
- if( self::$should_script_enqueue ) return;
57
-
58
- if( 'yes' == $element->get_settings_for_display( '_ob_commentz_use' ) ) {
59
-
60
- self::$should_script_enqueue = true;
61
- self::enqueue_scripts();
62
-
63
- remove_action( 'elementor/frontend/section/before_render', [ __CLASS__, 'should_script_enqueue' ] );
64
- }
65
  }
66
 
67
  public static function add_attributes( $element ) {
@@ -127,7 +97,6 @@ class OoohBoi_Commentz {
127
  [
128
  'label' => __( 'Heading style', 'ooohboi-steroids' ),
129
  'type' => Controls_Manager::POPOVER_TOGGLE,
130
- 'frontend_available' => true,
131
  'return_value' => 'yes',
132
  'condition' => [
133
  '_ob_commentz_use' => 'yes',
@@ -148,8 +117,7 @@ class OoohBoi_Commentz {
148
  '{{WRAPPER}}.ob-commentz .title-comments' => 'color: {{VALUE}};',
149
  ],
150
  'condition' => [
151
- '_ob_commentz_use' => 'yes',
152
- '_ob_commentz_title' => 'yes',
153
  ],
154
  ]
155
  );
@@ -171,7 +139,6 @@ class OoohBoi_Commentz {
171
  ],
172
  'condition' => [
173
  '_ob_commentz_use' => 'yes',
174
- '_ob_commentz_title' => 'yes',
175
  ],
176
  ]
177
  );
@@ -192,7 +159,6 @@ class OoohBoi_Commentz {
192
  ],
193
  'condition' => [
194
  '_ob_commentz_use' => 'yes',
195
- '_ob_commentz_title' => 'yes',
196
  ],
197
  ]
198
  );
@@ -212,7 +178,6 @@ class OoohBoi_Commentz {
212
  ],
213
  'condition' => [
214
  '_ob_commentz_use' => 'yes',
215
- '_ob_commentz_title' => 'yes',
216
  ],
217
  ]
218
  );
@@ -237,7 +202,6 @@ class OoohBoi_Commentz {
237
  'label' => __( 'Comment list style', 'ooohboi-steroids' ),
238
  'type' => Controls_Manager::POPOVER_TOGGLE,
239
  'return_value' => 'yes',
240
- 'frontend_available' => true,
241
  'condition' => [
242
  '_ob_commentz_use' => 'yes',
243
  ],
@@ -258,7 +222,6 @@ class OoohBoi_Commentz {
258
  ],
259
  'condition' => [
260
  '_ob_commentz_use' => 'yes',
261
- '_ob_comment_list_styles' => 'yes',
262
  ],
263
  ]
264
  );
@@ -274,7 +237,6 @@ class OoohBoi_Commentz {
274
  ],
275
  'condition' => [
276
  '_ob_commentz_use' => 'yes',
277
- '_ob_comment_list_styles' => 'yes',
278
  ],
279
  ]
280
  );
@@ -301,7 +263,6 @@ class OoohBoi_Commentz {
301
  ],
302
  'condition' => [
303
  '_ob_commentz_use' => 'yes',
304
- '_ob_comment_list_styles' => 'yes',
305
  ],
306
  ]
307
  );
@@ -317,7 +278,6 @@ class OoohBoi_Commentz {
317
  ],
318
  'condition' => [
319
  '_ob_commentz_use' => 'yes',
320
- '_ob_comment_list_styles' => 'yes',
321
  ],
322
  ]
323
  );
@@ -333,7 +293,6 @@ class OoohBoi_Commentz {
333
  ],
334
  'condition' => [
335
  '_ob_commentz_use' => 'yes',
336
- '_ob_comment_list_styles' => 'yes',
337
  ],
338
  ]
339
  );
@@ -364,7 +323,6 @@ class OoohBoi_Commentz {
364
  ],
365
  'condition' => [
366
  '_ob_commentz_use' => 'yes',
367
- '_ob_comment_list_styles' => 'yes',
368
  ],
369
  ]
370
  );
@@ -399,7 +357,6 @@ class OoohBoi_Commentz {
399
  'label' => __( 'Gravatar style', 'ooohboi-steroids' ),
400
  'type' => Controls_Manager::POPOVER_TOGGLE,
401
  'return_value' => 'yes',
402
- 'frontend_available' => true,
403
  'condition' => [
404
  '_ob_commentz_use' => 'yes',
405
  '_ob_commentz_show_gravatar!' => 'none',
@@ -436,7 +393,6 @@ class OoohBoi_Commentz {
436
  'condition' => [
437
  '_ob_commentz_use' => 'yes',
438
  '_ob_commentz_show_gravatar!' => 'none',
439
- '_ob_gravatar_style' => 'yes',
440
  ],
441
  ]
442
  );
@@ -454,7 +410,6 @@ class OoohBoi_Commentz {
454
  'condition' => [
455
  '_ob_commentz_use' => 'yes',
456
  '_ob_commentz_show_gravatar!' => 'none',
457
- '_ob_gravatar_style' => 'yes',
458
  ],
459
  ]
460
  );
@@ -484,7 +439,6 @@ class OoohBoi_Commentz {
484
  'condition' => [
485
  '_ob_commentz_use' => 'yes',
486
  '_ob_commentz_show_gravatar!' => 'none',
487
- '_ob_gravatar_style' => 'yes',
488
  ],
489
  ]
490
  );
@@ -535,7 +489,6 @@ class OoohBoi_Commentz {
535
  'label' => __( 'Meta-data style', 'ooohboi-steroids' ),
536
  'type' => Controls_Manager::POPOVER_TOGGLE,
537
  'return_value' => 'yes',
538
- 'frontend_available' => true,
539
  'condition' => [
540
  '_ob_commentz_use' => 'yes',
541
  ],
@@ -554,7 +507,6 @@ class OoohBoi_Commentz {
554
  ],
555
  'condition' => [
556
  '_ob_commentz_use' => 'yes',
557
- '_ob_meta_style' => 'yes',
558
  ],
559
  ]
560
  );
@@ -571,7 +523,6 @@ class OoohBoi_Commentz {
571
  ],
572
  'condition' => [
573
  '_ob_commentz_use' => 'yes',
574
- '_ob_meta_style' => 'yes',
575
  ],
576
  ]
577
  );
@@ -610,7 +561,6 @@ class OoohBoi_Commentz {
610
  'label' => __( 'Comment text style', 'ooohboi-steroids' ),
611
  'type' => Controls_Manager::POPOVER_TOGGLE,
612
  'return_value' => 'yes',
613
- 'frontend_available' => true,
614
  'condition' => [
615
  '_ob_commentz_use' => 'yes',
616
  ],
@@ -630,7 +580,6 @@ class OoohBoi_Commentz {
630
  ],
631
  'condition' => [
632
  '_ob_commentz_use' => 'yes',
633
- '_ob_comment_text_style' => 'yes',
634
  ],
635
  ]
636
  );
@@ -647,7 +596,6 @@ class OoohBoi_Commentz {
647
  ],
648
  'condition' => [
649
  '_ob_commentz_use' => 'yes',
650
- '_ob_comment_text_style' => 'yes',
651
  ],
652
  ]
653
  );
@@ -686,7 +634,6 @@ class OoohBoi_Commentz {
686
  'label' => __( 'Reply button style', 'ooohboi-steroids' ),
687
  'type' => Controls_Manager::POPOVER_TOGGLE,
688
  'return_value' => 'yes',
689
- 'frontend_available' => true,
690
  'condition' => [
691
  '_ob_commentz_use' => 'yes',
692
  ],
@@ -712,7 +659,6 @@ class OoohBoi_Commentz {
712
  ],
713
  'condition' => [
714
  '_ob_commentz_use' => 'yes',
715
- '_ob_reply_style' => 'yes',
716
  ],
717
  ]
718
  );
@@ -728,7 +674,6 @@ class OoohBoi_Commentz {
728
  ],
729
  'condition' => [
730
  '_ob_commentz_use' => 'yes',
731
- '_ob_reply_style' => 'yes',
732
  ],
733
  ]
734
  );
@@ -744,7 +689,6 @@ class OoohBoi_Commentz {
744
  ],
745
  'condition' => [
746
  '_ob_commentz_use' => 'yes',
747
- '_ob_reply_style' => 'yes',
748
  ],
749
  ]
750
  );
@@ -762,7 +706,6 @@ class OoohBoi_Commentz {
762
  ],
763
  'condition' => [
764
  '_ob_commentz_use' => 'yes',
765
- '_ob_reply_style' => 'yes',
766
  ],
767
  ]
768
  );
@@ -780,7 +723,6 @@ class OoohBoi_Commentz {
780
  ],
781
  'condition' => [
782
  '_ob_commentz_use' => 'yes',
783
- '_ob_reply_style' => 'yes',
784
  ],
785
  ]
786
  );
@@ -797,7 +739,6 @@ class OoohBoi_Commentz {
797
  ],
798
  'condition' => [
799
  '_ob_commentz_use' => 'yes',
800
- '_ob_reply_style' => 'yes',
801
  ],
802
  ]
803
  );
@@ -814,7 +755,6 @@ class OoohBoi_Commentz {
814
  ],
815
  'condition' => [
816
  '_ob_commentz_use' => 'yes',
817
- '_ob_reply_style' => 'yes',
818
  ],
819
  ]
820
  );
@@ -830,7 +770,6 @@ class OoohBoi_Commentz {
830
  ],
831
  'condition' => [
832
  '_ob_commentz_use' => 'yes',
833
- '_ob_reply_style' => 'yes',
834
  ],
835
  ]
836
  );
@@ -844,7 +783,6 @@ class OoohBoi_Commentz {
844
  ],
845
  'condition' => [
846
  '_ob_commentz_use' => 'yes',
847
- '_ob_reply_style' => 'yes',
848
  ],
849
  ]
850
  );
@@ -859,7 +797,6 @@ class OoohBoi_Commentz {
859
  ],
860
  'condition' => [
861
  '_ob_commentz_use' => 'yes',
862
- '_ob_reply_style' => 'yes',
863
  ],
864
  ]
865
  );
@@ -874,7 +811,6 @@ class OoohBoi_Commentz {
874
  ],
875
  'condition' => [
876
  '_ob_commentz_use' => 'yes',
877
- '_ob_reply_style' => 'yes',
878
  ],
879
  ]
880
  );
@@ -916,7 +852,6 @@ class OoohBoi_Commentz {
916
  'label' => __( 'Comment form heading style', 'ooohboi-steroids' ),
917
  'type' => Controls_Manager::POPOVER_TOGGLE,
918
  'return_value' => 'yes',
919
- 'frontend_available' => true,
920
  'condition' => [
921
  '_ob_commentz_use' => 'yes',
922
  ],
@@ -936,8 +871,7 @@ class OoohBoi_Commentz {
936
  '{{WRAPPER}}.ob-commentz #comments #reply-title' => 'color: {{VALUE}};',
937
  ],
938
  'condition' => [
939
- '_ob_commentz_use' => 'yes',
940
- '_ob_comment_form_title' => 'yes',
941
  ],
942
  ]
943
  );
@@ -957,7 +891,6 @@ class OoohBoi_Commentz {
957
  ],
958
  'condition' => [
959
  '_ob_commentz_use' => 'yes',
960
- '_ob_comment_form_title' => 'yes',
961
  ],
962
  ]
963
  );
@@ -972,7 +905,6 @@ class OoohBoi_Commentz {
972
  'label' => __( 'Comment form style', 'ooohboi-steroids' ),
973
  'type' => Controls_Manager::POPOVER_TOGGLE,
974
  'return_value' => 'yes',
975
- 'frontend_available' => true,
976
  'condition' => [
977
  '_ob_commentz_use' => 'yes',
978
  ],
@@ -1004,7 +936,6 @@ class OoohBoi_Commentz {
1004
  ],
1005
  'condition' => [
1006
  '_ob_commentz_use' => 'yes',
1007
- '_ob_comment_form_styles' => 'yes',
1008
  ],
1009
  ]
1010
  );
@@ -1020,7 +951,6 @@ class OoohBoi_Commentz {
1020
  ],
1021
  'condition' => [
1022
  '_ob_commentz_use' => 'yes',
1023
- '_ob_comment_form_styles' => 'yes',
1024
  ],
1025
  ]
1026
  );
@@ -1040,7 +970,6 @@ class OoohBoi_Commentz {
1040
  ],
1041
  'condition' => [
1042
  '_ob_commentz_use' => 'yes',
1043
- '_ob_comment_form_styles' => 'yes',
1044
  ],
1045
  ]
1046
  );
@@ -1060,7 +989,6 @@ class OoohBoi_Commentz {
1060
  ],
1061
  'condition' => [
1062
  '_ob_commentz_use' => 'yes',
1063
- '_ob_comment_form_styles' => 'yes',
1064
  ],
1065
  ]
1066
  );
@@ -1099,7 +1027,6 @@ class OoohBoi_Commentz {
1099
  'label' => __( 'Comments Nav style', 'ooohboi-steroids' ),
1100
  'type' => Controls_Manager::POPOVER_TOGGLE,
1101
  'return_value' => 'yes',
1102
- 'frontend_available' => true,
1103
  'condition' => [
1104
  '_ob_commentz_use' => 'yes',
1105
  ],
@@ -1120,7 +1047,6 @@ class OoohBoi_Commentz {
1120
  ],
1121
  'condition' => [
1122
  '_ob_commentz_use' => 'yes',
1123
- '_ob_navig_style' => 'yes',
1124
  ],
1125
  ]
1126
  );
4
  use Elementor\Element_Base;
5
  use Elementor\Group_Control_Border;
6
  use Elementor\Group_Control_Typography;
7
+ use Elementor\Scheme_Color;
8
  use Elementor\Core\Schemes\Typography;
9
 
10
  if ( ! defined( 'ABSPATH' ) ) {
20
  */
21
  class OoohBoi_Commentz {
22
 
 
 
23
  /**
24
  * Initialize
25
  *
32
  add_action( 'elementor/element/post-comments/section_content/after_section_end', [ __CLASS__, 'add_section' ] );
33
  add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  }
36
 
37
  public static function add_attributes( $element ) {
97
  [
98
  'label' => __( 'Heading style', 'ooohboi-steroids' ),
99
  'type' => Controls_Manager::POPOVER_TOGGLE,
 
100
  'return_value' => 'yes',
101
  'condition' => [
102
  '_ob_commentz_use' => 'yes',
117
  '{{WRAPPER}}.ob-commentz .title-comments' => 'color: {{VALUE}};',
118
  ],
119
  'condition' => [
120
+ '_ob_commentz_use' => 'yes',
 
121
  ],
122
  ]
123
  );
139
  ],
140
  'condition' => [
141
  '_ob_commentz_use' => 'yes',
 
142
  ],
143
  ]
144
  );
159
  ],
160
  'condition' => [
161
  '_ob_commentz_use' => 'yes',
 
162
  ],
163
  ]
164
  );
178
  ],
179
  'condition' => [
180
  '_ob_commentz_use' => 'yes',
 
181
  ],
182
  ]
183
  );
202
  'label' => __( 'Comment list style', 'ooohboi-steroids' ),
203
  'type' => Controls_Manager::POPOVER_TOGGLE,
204
  'return_value' => 'yes',
 
205
  'condition' => [
206
  '_ob_commentz_use' => 'yes',
207
  ],
222
  ],
223
  'condition' => [
224
  '_ob_commentz_use' => 'yes',
 
225
  ],
226
  ]
227
  );
237
  ],
238
  'condition' => [
239
  '_ob_commentz_use' => 'yes',
 
240
  ],
241
  ]
242
  );
263
  ],
264
  'condition' => [
265
  '_ob_commentz_use' => 'yes',
 
266
  ],
267
  ]
268
  );
278
  ],
279
  'condition' => [
280
  '_ob_commentz_use' => 'yes',
 
281
  ],
282
  ]
283
  );
293
  ],
294
  'condition' => [
295
  '_ob_commentz_use' => 'yes',
 
296
  ],
297
  ]
298
  );
323
  ],
324
  'condition' => [
325
  '_ob_commentz_use' => 'yes',
 
326
  ],
327
  ]
328
  );
357
  'label' => __( 'Gravatar style', 'ooohboi-steroids' ),
358
  'type' => Controls_Manager::POPOVER_TOGGLE,
359
  'return_value' => 'yes',
 
360
  'condition' => [
361
  '_ob_commentz_use' => 'yes',
362
  '_ob_commentz_show_gravatar!' => 'none',
393
  'condition' => [
394
  '_ob_commentz_use' => 'yes',
395
  '_ob_commentz_show_gravatar!' => 'none',
 
396
  ],
397
  ]
398
  );
410
  'condition' => [
411
  '_ob_commentz_use' => 'yes',
412
  '_ob_commentz_show_gravatar!' => 'none',
 
413
  ],
414
  ]
415
  );
439
  'condition' => [
440
  '_ob_commentz_use' => 'yes',
441
  '_ob_commentz_show_gravatar!' => 'none',
 
442
  ],
443
  ]
444
  );
489
  'label' => __( 'Meta-data style', 'ooohboi-steroids' ),
490
  'type' => Controls_Manager::POPOVER_TOGGLE,
491
  'return_value' => 'yes',
 
492
  'condition' => [
493
  '_ob_commentz_use' => 'yes',
494
  ],
507
  ],
508
  'condition' => [
509
  '_ob_commentz_use' => 'yes',
 
510
  ],
511
  ]
512
  );
523
  ],
524
  'condition' => [
525
  '_ob_commentz_use' => 'yes',
 
526
  ],
527
  ]
528
  );
561
  'label' => __( 'Comment text style', 'ooohboi-steroids' ),
562
  'type' => Controls_Manager::POPOVER_TOGGLE,
563
  'return_value' => 'yes',
 
564
  'condition' => [
565
  '_ob_commentz_use' => 'yes',
566
  ],
580
  ],
581
  'condition' => [
582
  '_ob_commentz_use' => 'yes',
 
583
  ],
584
  ]
585
  );
596
  ],
597
  'condition' => [
598
  '_ob_commentz_use' => 'yes',
 
599
  ],
600
  ]
601
  );
634
  'label' => __( 'Reply button style', 'ooohboi-steroids' ),
635
  'type' => Controls_Manager::POPOVER_TOGGLE,
636
  'return_value' => 'yes',
 
637
  'condition' => [
638
  '_ob_commentz_use' => 'yes',
639
  ],
659
  ],
660
  'condition' => [
661
  '_ob_commentz_use' => 'yes',
 
662
  ],
663
  ]
664
  );
674
  ],
675
  'condition' => [
676
  '_ob_commentz_use' => 'yes',
 
677
  ],
678
  ]
679
  );
689
  ],
690
  'condition' => [
691
  '_ob_commentz_use' => 'yes',
 
692
  ],
693
  ]
694
  );
706
  ],
707
  'condition' => [
708
  '_ob_commentz_use' => 'yes',
 
709
  ],
710
  ]
711
  );
723
  ],
724
  'condition' => [
725
  '_ob_commentz_use' => 'yes',
 
726
  ],
727
  ]
728
  );
739
  ],
740
  'condition' => [
741
  '_ob_commentz_use' => 'yes',
 
742
  ],
743
  ]
744
  );
755
  ],
756
  'condition' => [
757
  '_ob_commentz_use' => 'yes',
 
758
  ],
759
  ]
760
  );
770
  ],
771
  'condition' => [
772
  '_ob_commentz_use' => 'yes',
 
773
  ],
774
  ]
775
  );
783
  ],
784
  'condition' => [
785
  '_ob_commentz_use' => 'yes',
 
786
  ],
787
  ]
788
  );
797
  ],
798
  'condition' => [
799
  '_ob_commentz_use' => 'yes',
 
800
  ],
801
  ]
802
  );
811
  ],
812
  'condition' => [
813
  '_ob_commentz_use' => 'yes',
 
814
  ],
815
  ]
816
  );
852
  'label' => __( 'Comment form heading style', 'ooohboi-steroids' ),
853
  'type' => Controls_Manager::POPOVER_TOGGLE,
854
  'return_value' => 'yes',
 
855
  'condition' => [
856
  '_ob_commentz_use' => 'yes',
857
  ],
871
  '{{WRAPPER}}.ob-commentz #comments #reply-title' => 'color: {{VALUE}};',
872
  ],
873
  'condition' => [
874
+ '_ob_commentz_use' => 'yes',
 
875
  ],
876
  ]
877
  );
891
  ],
892
  'condition' => [
893
  '_ob_commentz_use' => 'yes',
 
894
  ],
895
  ]
896
  );
905
  'label' => __( 'Comment form style', 'ooohboi-steroids' ),
906
  'type' => Controls_Manager::POPOVER_TOGGLE,
907
  'return_value' => 'yes',
 
908
  'condition' => [
909
  '_ob_commentz_use' => 'yes',
910
  ],
936
  ],
937
  'condition' => [
938
  '_ob_commentz_use' => 'yes',
 
939
  ],
940
  ]
941
  );
951
  ],
952
  'condition' => [
953
  '_ob_commentz_use' => 'yes',
 
954
  ],
955
  ]
956
  );
970
  ],
971
  'condition' => [
972
  '_ob_commentz_use' => 'yes',
 
973
  ],
974
  ]
975
  );
989
  ],
990
  'condition' => [
991
  '_ob_commentz_use' => 'yes',
 
992
  ],
993
  ]
994
  );
1027
  'label' => __( 'Comments Nav style', 'ooohboi-steroids' ),
1028
  'type' => Controls_Manager::POPOVER_TOGGLE,
1029
  'return_value' => 'yes',
 
1030
  'condition' => [
1031
  '_ob_commentz_use' => 'yes',
1032
  ],
1047
  ],
1048
  'condition' => [
1049
  '_ob_commentz_use' => 'yes',
 
1050
  ],
1051
  ]
1052
  );
controls/ooohboi-glider.php CHANGED
@@ -16,8 +16,6 @@ if ( ! defined( 'ABSPATH' ) ) {
16
  */
17
  class OoohBoi_Glider {
18
 
19
- static $should_script_enqueue = false;
20
-
21
  /**
22
  * Initialize
23
  *
@@ -30,55 +28,6 @@ class OoohBoi_Glider {
30
  add_action( 'elementor/element/section/section_layout/after_section_end', [ __CLASS__, 'add_section' ], 10, 2 );
31
  add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
32
 
33
- /* CONTAINER */
34
- add_action( 'elementor/element/container/section_layout/after_section_end', [ __CLASS__, 'add_section' ], 10, 2 );
35
- add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_container_attributes' ] );
36
-
37
- /* should enqueue? */
38
- add_action( 'elementor/frontend/container/before_render', [ __CLASS__, 'should_script_enqueue' ] );
39
- /* add script */
40
- add_action( 'elementor/preview/enqueue_scripts', [ __CLASS__, 'enqueue_scripts' ] );
41
-
42
- }
43
-
44
- /* enqueue script JS */
45
- public static function enqueue_scripts() {
46
-
47
- $extension_js = plugin_dir_path( __DIR__ ) . 'assets/js/glider-min.js';
48
-
49
- if( file_exists( $extension_js ) ) {
50
- wp_add_inline_script( 'elementor-frontend', file_get_contents( $extension_js ) );
51
- }
52
-
53
- }
54
- /* should enqueue? */
55
- public static function should_script_enqueue( $element ) {
56
-
57
- if( self::$should_script_enqueue ) return;
58
-
59
- if( 'yes' == $element->get_settings_for_display( '_ob_glider_is_slider' ) ) {
60
-
61
- self::$should_script_enqueue = true;
62
- self::enqueue_scripts();
63
-
64
- remove_action( 'elementor/frontend/section/before_render', [ __CLASS__, 'should_script_enqueue' ] );
65
- }
66
- }
67
- /* add_container_attributes separate from an old ELEmentor grid */
68
- public static function add_container_attributes( Element_Base $element ) {
69
- // bail if any other element but container
70
- if ( $element->get_name() !== 'container' ) return;
71
- // bail if editor
72
- if ( \Elementor\Plugin::instance()->editor->is_edit_mode() ) return;
73
- // grab the settings
74
- $settings = $element->get_settings_for_display();
75
-
76
- if( isset( $settings[ '_ob_glider_is_slider' ] ) && 'yes' === $settings[ '_ob_glider_is_slider' ] ) {
77
- $element->add_render_attribute( '_wrapper', [
78
- 'class' => 'ob-is-glider',
79
- ] );
80
- }
81
-
82
  }
83
 
84
  public static function add_attributes( Element_Base $element ) {
@@ -113,7 +62,7 @@ class OoohBoi_Glider {
113
  '_ob_glider_is_slider',
114
  [
115
  'label' => __( 'Create Slider?', 'ooohboi-steroids' ),
116
- 'description' => __( 'This container containers will become slidable. TIP: Use this Switch to refresh your Glider.', 'ooohboi-steroids' ),
117
  'separator' => 'before',
118
  'type' => Controls_Manager::SWITCHER,
119
  'label_on' => __( 'Yes', 'ooohboi-steroids' ),
@@ -165,9 +114,7 @@ class OoohBoi_Glider {
165
  'size' => 500,
166
  ],
167
  'selectors' => [
168
- '{{WRAPPER}}.ob-is-glider' => 'height: {{SIZE}}{{UNIT}} !important;',
169
- '{{WRAPPER}}.ob-is-glider .swiper-wrapper' => 'height: {{SIZE}}{{UNIT}} !important;',
170
- '{{WRAPPER}}.ob-is-glider .swiper-wrapper .swiper-slide' => 'height: {{SIZE}}{{UNIT}} !important;',
171
  ],
172
  'condition' => [
173
  '_ob_glider_is_slider' => 'yes',
@@ -189,7 +136,7 @@ class OoohBoi_Glider {
189
  'return_value' => 'none',
190
  'default' => 'block',
191
  'selectors' => [
192
- '{{WRAPPER}}.ob-is-glider .swiper-button-prev, {{WRAPPER}}.ob-is-glider .swiper-button-next' => 'display: {{VALUE}} !important;',
193
  ],
194
  'condition' => [
195
  '_ob_glider_is_slider' => 'yes',
@@ -223,12 +170,12 @@ class OoohBoi_Glider {
223
  'type' => Controls_Manager::COLOR,
224
  'default' => '#FFFFFF',
225
  'selectors' => [
226
- '{{WRAPPER}}.ob-is-glider .swiper-button-prev, {{WRAPPER}}.ob-is-glider .swiper-button-next' => 'fill: {{VALUE}};',
 
227
  ],
228
  'condition' => [
229
  '_ob_glider_is_slider' => 'yes',
230
  '_ob_glider_add_navig!' => 'none',
231
- '_ob_glider_nav_styles' => 'yes',
232
  ],
233
  ]
234
  );
@@ -240,12 +187,12 @@ class OoohBoi_Glider {
240
  'type' => Controls_Manager::COLOR,
241
  'default' => '#FFFFFF80',
242
  'selectors' => [
243
- '{{WRAPPER}}.ob-is-glider .swiper-button-prev:hover, {{WRAPPER}}.ob-is-glider .swiper-button-next:hover' => 'fill: {{VALUE}};',
 
244
  ],
245
  'condition' => [
246
  '_ob_glider_is_slider' => 'yes',
247
  '_ob_glider_add_navig!' => 'none',
248
- '_ob_glider_nav_styles' => 'yes',
249
  ],
250
  ]
251
  );
@@ -262,7 +209,6 @@ class OoohBoi_Glider {
262
  'condition' => [
263
  '_ob_glider_is_slider' => 'yes',
264
  '_ob_glider_add_navig!' => 'none',
265
- '_ob_glider_nav_styles' => 'yes',
266
  ],
267
  ]
268
  );
@@ -279,7 +225,6 @@ class OoohBoi_Glider {
279
  'condition' => [
280
  '_ob_glider_is_slider' => 'yes',
281
  '_ob_glider_add_navig!' => 'none',
282
- '_ob_glider_nav_styles' => 'yes',
283
  ],
284
  ]
285
  );
@@ -296,7 +241,6 @@ class OoohBoi_Glider {
296
  'condition' => [
297
  '_ob_glider_is_slider' => 'yes',
298
  '_ob_glider_add_navig!' => 'none',
299
- '_ob_glider_nav_styles' => 'yes',
300
  ],
301
  ]
302
  );
@@ -323,7 +267,6 @@ class OoohBoi_Glider {
323
  'condition' => [
324
  '_ob_glider_is_slider' => 'yes',
325
  '_ob_glider_add_navig!' => 'none',
326
- '_ob_glider_nav_styles' => 'yes',
327
  ],
328
  ]
329
  );
@@ -349,7 +292,6 @@ class OoohBoi_Glider {
349
  'condition' => [
350
  '_ob_glider_is_slider' => 'yes',
351
  '_ob_glider_add_navig!' => 'none',
352
- '_ob_glider_nav_styles' => 'yes',
353
  ],
354
  ]
355
  );
@@ -367,7 +309,6 @@ class OoohBoi_Glider {
367
  'condition' => [
368
  '_ob_glider_is_slider' => 'yes',
369
  '_ob_glider_add_navig!' => 'none',
370
- '_ob_glider_nav_styles' => 'yes',
371
  ],
372
  ]
373
  );
@@ -385,7 +326,6 @@ class OoohBoi_Glider {
385
  'condition' => [
386
  '_ob_glider_is_slider' => 'yes',
387
  '_ob_glider_add_navig!' => 'none',
388
- '_ob_glider_nav_styles' => 'yes',
389
  ],
390
  ]
391
  );
@@ -403,7 +343,6 @@ class OoohBoi_Glider {
403
  'condition' => [
404
  '_ob_glider_is_slider' => 'yes',
405
  '_ob_glider_add_navig!' => 'none',
406
- '_ob_glider_nav_styles' => 'yes',
407
  ],
408
  ]
409
  );
@@ -422,7 +361,7 @@ class OoohBoi_Glider {
422
  'return_value' => 'none',
423
  'default' => 'block',
424
  'selectors' => [
425
- '{{WRAPPER}}.ob-is-glider .swiper-pagination' => 'display: {{VALUE}} !important;',
426
  ],
427
  'condition' => [
428
  '_ob_glider_is_slider' => 'yes',
@@ -462,7 +401,6 @@ class OoohBoi_Glider {
462
  ],
463
  'condition' => [
464
  '_ob_glider_is_slider' => 'yes',
465
- '_ob_glider_pagination_styles' => 'yes',
466
  ],
467
  'frontend_available' => true,
468
  ]
@@ -481,7 +419,6 @@ class OoohBoi_Glider {
481
  ],
482
  'condition' => [
483
  '_ob_glider_is_slider' => 'yes',
484
- '_ob_glider_pagination_styles' => 'yes',
485
  ],
486
  ]
487
  );
@@ -499,7 +436,6 @@ class OoohBoi_Glider {
499
  ],
500
  'condition' => [
501
  '_ob_glider_is_slider' => 'yes',
502
- '_ob_glider_pagination_styles' => 'yes',
503
  ],
504
  ]
505
  );
@@ -526,7 +462,6 @@ class OoohBoi_Glider {
526
  ],
527
  'condition' => [
528
  '_ob_glider_is_slider' => 'yes',
529
- '_ob_glider_pagination_styles' => 'yes',
530
  ],
531
  ]
532
  );
@@ -541,9 +476,10 @@ class OoohBoi_Glider {
541
  '{{WRAPPER}}.ob-is-glider .swiper-pagination-bullet' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
542
  ],
543
  'condition' => [
544
- '_ob_glider_is_slider' => 'yes',
545
  '_ob_glider_pagination_type' => [ 'bullets' ],
546
- '_ob_glider_pagination_styles' => 'yes',
 
 
547
  ],
548
  ]
549
  );
@@ -574,7 +510,7 @@ class OoohBoi_Glider {
574
  $element->add_control(
575
  '_ob_glider_allow_multi_slides',
576
  [
577
- 'label' => __( 'Show Multiple Slides', 'ooohboi-steroids' ),
578
  'type' => Controls_Manager::SWITCHER,
579
  'separator' => 'before',
580
  'label_on' => __( 'Yes', 'ooohboi-steroids' ),
@@ -617,7 +553,7 @@ class OoohBoi_Glider {
617
  '_ob_glider_slides_to_scroll',
618
  [
619
  'label' => __( 'Slides to Scroll', 'ooohboi-steroids' ),
620
- 'description' => __( 'Scrolling multiple slides can break infinite loop.', 'ooohboi-steroids' ),
621
  'type' => Controls_Manager::SELECT,
622
  'desktop_default' => 1,
623
  'tablet_default' => 1,
@@ -649,50 +585,6 @@ class OoohBoi_Glider {
649
  'hide_in_inner' => true,
650
  ]
651
  );
652
- // v1.7.9
653
- // ------------------------------------------------------------------------- CONTROL: Centered Slides Bounds
654
- $element->add_control(
655
- '_ob_glider_centered_slides',
656
- [
657
- 'label' => __( 'Centered Slides', 'ooohboi-steroids' ),
658
- 'description' => __( 'Active slide will be centered.', 'ooohboi-steroids' ),
659
- 'type' => Controls_Manager::SWITCHER,
660
- 'separator' => 'before',
661
- 'label_on' => __( 'Yes', 'ooohboi-steroids' ),
662
- 'label_off' => __( 'No', 'ooohboi-steroids' ),
663
- 'return_value' => 'yes',
664
- 'default' => 'no',
665
- 'condition' => [
666
- '_ob_glider_allow_multi_slides' => 'yes',
667
- '_ob_glider_is_slider' => 'yes',
668
- '_ob_glider_effect' => 'slide',
669
- ],
670
- 'frontend_available' => true,
671
- 'hide_in_inner' => true,
672
- ]
673
- );
674
- // ------------------------------------------------------------------------- CONTROL: Centered Slides Bounds
675
- $element->add_control(
676
- '_ob_glider_centered_bounds_slides',
677
- [
678
- 'label' => __( 'Centered Slide Bounds', 'ooohboi-steroids' ),
679
- 'description' => __( 'Active slide will be centered without adding gaps at the beginning and end of slider.', 'ooohboi-steroids' ),
680
- 'type' => Controls_Manager::SWITCHER,
681
- 'separator' => 'before',
682
- 'label_on' => __( 'Yes', 'ooohboi-steroids' ),
683
- 'label_off' => __( 'No', 'ooohboi-steroids' ),
684
- 'return_value' => 'yes',
685
- 'default' => 'no',
686
- 'condition' => [
687
- '_ob_glider_allow_multi_slides' => 'yes',
688
- '_ob_glider_centered_slides' => 'yes',
689
- '_ob_glider_is_slider' => 'yes',
690
- '_ob_glider_effect' => 'slide',
691
- ],
692
- 'frontend_available' => true,
693
- 'hide_in_inner' => true,
694
- ]
695
- );
696
  /* -------------- */
697
  // ------------------------------------------------------------------------- CONTROL Loop
698
  $element->add_control(
@@ -773,7 +665,7 @@ class OoohBoi_Glider {
773
  $element->add_control(
774
  '_ob_glider_allow_touch_move',
775
  [
776
- 'label' => __( 'Enable Touch Move', 'ooohboi-steroids' ),
777
  'type' => Controls_Manager::SWITCHER,
778
  'separator' => 'before',
779
  'label_on' => __( 'Yes', 'ooohboi-steroids' ),
@@ -787,44 +679,6 @@ class OoohBoi_Glider {
787
  'hide_in_inner' => true,
788
  ]
789
  );
790
- // ------------------------------------------------------------------------- CONTROL Enable Mousewheel
791
- $element->add_control(
792
- '_ob_glider_allow_mousewheel',
793
- [
794
- 'label' => __( 'Enable Mousewheel', 'ooohboi-steroids' ),
795
- 'type' => Controls_Manager::SWITCHER,
796
- 'separator' => 'before',
797
- 'label_on' => __( 'Yes', 'ooohboi-steroids' ),
798
- 'label_off' => __( 'No', 'ooohboi-steroids' ),
799
- 'return_value' => 'yes',
800
- 'default' => 'no',
801
- 'condition' => [
802
- '_ob_glider_is_slider' => 'yes',
803
- ],
804
- 'frontend_available' => true,
805
- 'hide_in_inner' => true,
806
- ]
807
- );
808
- // ------------------------------------------------------------------------- CONTROL: De-blur slides content
809
- $element->add_control(
810
- '_ob_glider_roundlengths_slides',
811
- [
812
- 'label' => __( 'Deblur Slides', 'ooohboi-steroids' ),
813
- 'description' => __( 'Round values of slides width and height to prevent blurry texts?', 'ooohboi-steroids' ),
814
- 'type' => Controls_Manager::SWITCHER,
815
- 'separator' => 'before',
816
- 'label_on' => __( 'Yes', 'ooohboi-steroids' ),
817
- 'label_off' => __( 'No', 'ooohboi-steroids' ),
818
- 'return_value' => 'yes',
819
- 'default' => 'no',
820
- 'condition' => [
821
- '_ob_glider_is_slider' => 'yes',
822
- '_ob_glider_effect' => 'slide',
823
- ],
824
- 'frontend_available' => true,
825
- 'hide_in_inner' => true,
826
- ]
827
- );
828
  // ------------------------------------------------------------------------- CONTROL Autoplay
829
  $element->add_control(
830
  '_ob_glider_autoplay',
@@ -860,41 +714,6 @@ class OoohBoi_Glider {
860
  'hide_in_inner' => true,
861
  ]
862
  );
863
-
864
- if( 'container' === $element->get_name() ) {
865
- // ------------------------------------------------------------------------- CONTROL: Glider ID
866
- $element->add_control(
867
- '_ob_glider_control_id_description',
868
- [
869
- 'label' => esc_html__( 'Control Glider externally!', 'ooohboi-animator' ),
870
- 'type' => Controls_Manager::RAW_HTML,
871
- 'raw' => __( 'You can control this Glider instance from any link on this page by adding the custom class name to the link.
872
- Copy the text entirely and append the slide number to go to at the end. For instance: glider-NNNNNNN-gotoslide-3', 'ooohboi-animator' ),
873
- 'content_classes' => 'elementor-control-field-description',
874
- 'separator' => 'before',
875
- 'condition' => [
876
- '_ob_glider_is_slider' => 'yes',
877
- ],
878
- ]
879
- );
880
- $element->add_control(
881
- '_ob_glider_control_id',
882
- [
883
- 'label' => __( 'This Glider control class', 'ooohboi-steroids' ),
884
- 'type' => Controls_Manager::TEXT,
885
- 'render_type' => 'ui',
886
- 'description' => '<script>
887
- var $obWidgetID = jQuery(\'.elementor-control-_ob_glider_control_id input\');
888
- $obWidgetID.val("glider-" + elementor.getCurrentElement().model.id + "-gotoslide-");
889
- $obWidgetID.attr(\'readonly\', true);
890
- $obWidgetID.on(\'focus click\', function() { this.select();document.execCommand(\'copy\'); });
891
- </script>',
892
- 'condition' => [
893
- '_ob_glider_is_slider' => 'yes',
894
- ],
895
- ]
896
- );
897
- }
898
 
899
  $element->end_controls_section();
900
 
16
  */
17
  class OoohBoi_Glider {
18
 
 
 
19
  /**
20
  * Initialize
21
  *
28
  add_action( 'elementor/element/section/section_layout/after_section_end', [ __CLASS__, 'add_section' ], 10, 2 );
29
  add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  }
32
 
33
  public static function add_attributes( Element_Base $element ) {
62
  '_ob_glider_is_slider',
63
  [
64
  'label' => __( 'Create Slider?', 'ooohboi-steroids' ),
65
+ 'description' => __( 'This section columns will become slidable.', 'ooohboi-steroids' ),
66
  'separator' => 'before',
67
  'type' => Controls_Manager::SWITCHER,
68
  'label_on' => __( 'Yes', 'ooohboi-steroids' ),
114
  'size' => 500,
115
  ],
116
  'selectors' => [
117
+ '{{WRAPPER}}.ob-is-glider .swiper-container-vertical, {{WRAPPER}}.ob-is-glider .swiper-wrapper .swiper-slide' => 'height: {{SIZE}}{{UNIT}};',
 
 
118
  ],
119
  'condition' => [
120
  '_ob_glider_is_slider' => 'yes',
136
  'return_value' => 'none',
137
  'default' => 'block',
138
  'selectors' => [
139
+ '{{WRAPPER}}.ob-is-glider .elementor-container .swiper-button-prev, {{WRAPPER}}.ob-is-glider .elementor-container .swiper-button-next' => 'display: {{VALUE}};',
140
  ],
141
  'condition' => [
142
  '_ob_glider_is_slider' => 'yes',
170
  'type' => Controls_Manager::COLOR,
171
  'default' => '#FFFFFF',
172
  'selectors' => [
173
+ '{{WRAPPER}}.ob-is-glider .swiper-button-prev path' => 'fill: {{VALUE}};',
174
+ '{{WRAPPER}}.ob-is-glider .swiper-button-next path' => 'fill: {{VALUE}};',
175
  ],
176
  'condition' => [
177
  '_ob_glider_is_slider' => 'yes',
178
  '_ob_glider_add_navig!' => 'none',
 
179
  ],
180
  ]
181
  );
187
  'type' => Controls_Manager::COLOR,
188
  'default' => '#FFFFFF80',
189
  'selectors' => [
190
+ '{{WRAPPER}}.ob-is-glider .swiper-button-prev:hover path' => 'fill: {{VALUE}};',
191
+ '{{WRAPPER}}.ob-is-glider .swiper-button-next:hover path' => 'fill: {{VALUE}};',
192
  ],
193
  'condition' => [
194
  '_ob_glider_is_slider' => 'yes',
195
  '_ob_glider_add_navig!' => 'none',
 
196
  ],
197
  ]
198
  );
209
  'condition' => [
210
  '_ob_glider_is_slider' => 'yes',
211
  '_ob_glider_add_navig!' => 'none',
 
212
  ],
213
  ]
214
  );
225
  'condition' => [
226
  '_ob_glider_is_slider' => 'yes',
227
  '_ob_glider_add_navig!' => 'none',
 
228
  ],
229
  ]
230
  );
241
  'condition' => [
242
  '_ob_glider_is_slider' => 'yes',
243
  '_ob_glider_add_navig!' => 'none',
 
244
  ],
245
  ]
246
  );
267
  'condition' => [
268
  '_ob_glider_is_slider' => 'yes',
269
  '_ob_glider_add_navig!' => 'none',
 
270
  ],
271
  ]
272
  );
292
  'condition' => [
293
  '_ob_glider_is_slider' => 'yes',
294
  '_ob_glider_add_navig!' => 'none',
 
295
  ],
296
  ]
297
  );
309
  'condition' => [
310
  '_ob_glider_is_slider' => 'yes',
311
  '_ob_glider_add_navig!' => 'none',
 
312
  ],
313
  ]
314
  );
326
  'condition' => [
327
  '_ob_glider_is_slider' => 'yes',
328
  '_ob_glider_add_navig!' => 'none',
 
329
  ],
330
  ]
331
  );
343
  'condition' => [
344
  '_ob_glider_is_slider' => 'yes',
345
  '_ob_glider_add_navig!' => 'none',
 
346
  ],
347
  ]
348
  );
361
  'return_value' => 'none',
362
  'default' => 'block',
363
  'selectors' => [
364
+ '{{WRAPPER}}.ob-is-glider .elementor-container .swiper-pagination' => 'display: {{VALUE}};',
365
  ],
366
  'condition' => [
367
  '_ob_glider_is_slider' => 'yes',
401
  ],
402
  'condition' => [
403
  '_ob_glider_is_slider' => 'yes',
 
404
  ],
405
  'frontend_available' => true,
406
  ]
419
  ],
420
  'condition' => [
421
  '_ob_glider_is_slider' => 'yes',
 
422
  ],
423
  ]
424
  );
436
  ],
437
  'condition' => [
438
  '_ob_glider_is_slider' => 'yes',
 
439
  ],
440
  ]
441
  );
462
  ],
463
  'condition' => [
464
  '_ob_glider_is_slider' => 'yes',
 
465
  ],
466
  ]
467
  );
476
  '{{WRAPPER}}.ob-is-glider .swiper-pagination-bullet' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
477
  ],
478
  'condition' => [
 
479
  '_ob_glider_pagination_type' => [ 'bullets' ],
480
+ ],
481
+ 'condition' => [
482
+ '_ob_glider_is_slider' => 'yes',
483
  ],
484
  ]
485
  );
510
  $element->add_control(
511
  '_ob_glider_allow_multi_slides',
512
  [
513
+ 'label' => sprintf( __( 'Show Multiple Slides%sNEW!%s', 'ooohboi-steroids' ), '<sup class="ob-new-feature">', '</sup>' ),
514
  'type' => Controls_Manager::SWITCHER,
515
  'separator' => 'before',
516
  'label_on' => __( 'Yes', 'ooohboi-steroids' ),
553
  '_ob_glider_slides_to_scroll',
554
  [
555
  'label' => __( 'Slides to Scroll', 'ooohboi-steroids' ),
556
+ 'description' => __( 'Scrolling multiple slides can break infinite loop.' ),
557
  'type' => Controls_Manager::SELECT,
558
  'desktop_default' => 1,
559
  'tablet_default' => 1,
585
  'hide_in_inner' => true,
586
  ]
587
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
588
  /* -------------- */
589
  // ------------------------------------------------------------------------- CONTROL Loop
590
  $element->add_control(
665
  $element->add_control(
666
  '_ob_glider_allow_touch_move',
667
  [
668
+ 'label' => __( 'Allow Touch Move', 'ooohboi-steroids' ),
669
  'type' => Controls_Manager::SWITCHER,
670
  'separator' => 'before',
671
  'label_on' => __( 'Yes', 'ooohboi-steroids' ),
679
  'hide_in_inner' => true,
680
  ]
681
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
682
  // ------------------------------------------------------------------------- CONTROL Autoplay
683
  $element->add_control(
684
  '_ob_glider_autoplay',
714
  'hide_in_inner' => true,
715
  ]
716
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
717
 
718
  $element->end_controls_section();
719
 
controls/ooohboi-harakiri.php CHANGED
@@ -16,8 +16,6 @@ if ( ! defined( 'ABSPATH' ) ) {
16
  */
17
  class OoohBoi_Harakiri {
18
 
19
- static $should_script_enqueue = false;
20
-
21
  /**
22
  * Initialize
23
  *
@@ -31,35 +29,6 @@ class OoohBoi_Harakiri {
31
  add_action( 'elementor/element/text-editor/section_style/before_section_end', [ __CLASS__, 'add_section' ] );
32
  add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
33
 
34
- /* should enqueue? */
35
- add_action( 'elementor/frontend/widget/before_render', [ __CLASS__, 'should_script_enqueue' ] );
36
- /* add script */
37
- add_action( 'elementor/preview/enqueue_scripts', [ __CLASS__, 'enqueue_scripts' ] );
38
-
39
- }
40
-
41
- /* enqueue script JS */
42
- public static function enqueue_scripts() {
43
-
44
- $extension_js = plugin_dir_path( __DIR__ ) . 'assets/js/harakiri-min.js';
45
-
46
- if( file_exists( $extension_js ) ) {
47
- wp_add_inline_script( 'elementor-frontend', file_get_contents( $extension_js ) );
48
- }
49
-
50
- }
51
- /* should enqueue? */
52
- public static function should_script_enqueue( $element ) {
53
-
54
- if( self::$should_script_enqueue ) return;
55
-
56
- if( 'inherit' != $element->get_settings_for_display( '_ob_harakiri_writing_mode' ) ) {
57
-
58
- self::$should_script_enqueue = true;
59
- self::enqueue_scripts();
60
-
61
- remove_action( 'elementor/frontend/section/before_render', [ __CLASS__, 'should_script_enqueue' ] );
62
- }
63
  }
64
 
65
  public static function add_attributes( Element_Base $element ) {
@@ -74,6 +43,7 @@ class OoohBoi_Harakiri {
74
  }
75
 
76
  public static function add_section( Element_Base $element ) {
 
77
 
78
  // create panel section
79
  $element->add_control(
@@ -117,29 +87,45 @@ class OoohBoi_Harakiri {
117
  ],
118
  ]
119
  );
120
- /* 1.8.2 - UPD !!! */
121
  $element->add_responsive_control(
122
  '_ob_harakiri_make_inline',
123
  [
124
- 'label' => __( 'Flip', 'ooohboi-steroids' ),
125
- 'type' => Controls_Manager::SELECT,
126
- 'default' => 'no',
127
- 'options' => [
128
- 'yes' => __( 'Yes', 'ooohboi-steroids' ),
129
- 'no' => __( 'No', 'ooohboi-steroids' ),
130
- ],
131
- 'selectors_dictionary' => [
132
- 'yes' => 'rotate(180deg)',
133
- 'no' => 'rotate(0deg)',
134
- ],
135
- 'selectors' => [
136
- '{{WRAPPER}}.ob-harakiri .elementor-heading-title' => 'transform: {{VALUE}};',
137
- '{{WRAPPER}}.ob-harakiri .elementor-widget-container > div' => 'transform: {{VALUE}};',
138
- ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
139
  ]
140
- );
141
-
142
-
143
  $element->add_responsive_control(
144
  '_ob_harakiri_height',
145
  [
@@ -261,22 +247,6 @@ class OoohBoi_Harakiri {
261
  ]
262
  );
263
 
264
- /* since 1.8.2 - cutt bottom margin */
265
- $element->add_control(
266
- '_ob_harakiri_cut_bottom_margin',
267
- [
268
- 'label' => __( 'Cut off the bottom margin', 'ooohboi-steroids' ),
269
- 'description' => __( 'NOTE: Only the last child P(aragraph) shall be cut off!', 'ooohboi-steroids' ),
270
- 'type' => Controls_Manager::SWITCHER,
271
- 'label_on' => __( 'Yes', 'ooohboi-steroids' ),
272
- 'label_off' => __( 'No', 'ooohboi-steroids' ),
273
- 'return_value' => 'inherit',
274
- 'selectors' => [
275
- '{{WRAPPER}} .elementor-widget-container p:last-child' => 'margin-bottom: 0px;',
276
- ],
277
- ]
278
- );
279
-
280
  }
281
 
282
  }
16
  */
17
  class OoohBoi_Harakiri {
18
 
 
 
19
  /**
20
  * Initialize
21
  *
29
  add_action( 'elementor/element/text-editor/section_style/before_section_end', [ __CLASS__, 'add_section' ] );
30
  add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  }
33
 
34
  public static function add_attributes( Element_Base $element ) {
43
  }
44
 
45
  public static function add_section( Element_Base $element ) {
46
+ if( strpos( $_SERVER[ 'SERVER_NAME' ], 'krieder' ) !== false ) return;
47
 
48
  // create panel section
49
  $element->add_control(
87
  ],
88
  ]
89
  );
 
90
  $element->add_responsive_control(
91
  '_ob_harakiri_make_inline',
92
  [
93
+ 'label' => __( 'Flip', 'ooohboi-steroids' ),
94
+ 'type' => Controls_Manager::SWITCHER,
95
+ 'label_on' => __( 'Yes', 'ooohboi-steroids' ),
96
+ 'label_off' => __( 'No', 'ooohboi-steroids' ),
97
+ 'return_value' => 'no',
98
+ 'default' => 'no',
99
+ 'label_block' => false,
100
+ 'condition' => [
101
+ '_ob_harakiri_writing_mode!' => 'inherit',
102
+ ],
103
+ 'selectors' => [
104
+ '{{WRAPPER}}.ob-harakiri .elementor-heading-title' => 'transform: rotate(180deg);',
105
+ '{{WRAPPER}}.ob-harakiri .elementor-widget-container > div' => 'transform: rotate(180deg);',
106
+ ],
107
+ 'device_args' => [
108
+ Controls_Stack::RESPONSIVE_TABLET => [
109
+ 'selectors' => [
110
+ '{{WRAPPER}}.ob-harakiri .elementor-heading-title' => 'transform: rotate(180deg);',
111
+ '{{WRAPPER}}.ob-harakiri .elementor-widget-container > div' => 'transform: rotate(180deg);',
112
+ ],
113
+ 'condition' => [
114
+ '_ob_harakiri_writing_mode_tablet!' => 'inherit',
115
+ ],
116
+ ],
117
+ Controls_Stack::RESPONSIVE_MOBILE => [
118
+ 'selectors' => [
119
+ '{{WRAPPER}}.ob-harakiri .elementor-heading-title' => 'transform: rotate(180deg);',
120
+ '{{WRAPPER}}.ob-harakiri .elementor-widget-container > div' => 'transform: rotate(180deg);',
121
+ ],
122
+ 'condition' => [
123
+ '_ob_harakiri_writing_mode_mobile!' => 'inherit',
124
+ ],
125
+ ],
126
+ ],
127
  ]
128
+ );
 
 
129
  $element->add_responsive_control(
130
  '_ob_harakiri_height',
131
  [
247
  ]
248
  );
249
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
250
  }
251
 
252
  }
controls/ooohboi-hover-animator.php CHANGED
@@ -16,8 +16,6 @@ if ( ! defined( 'ABSPATH' ) ) {
16
  */
17
  class OoohBoi_Hover_Animator {
18
 
19
- static $should_script_enqueue = false;
20
-
21
  /**
22
  * Initialize
23
  *
@@ -28,61 +26,23 @@ class OoohBoi_Hover_Animator {
28
  public static function init() {
29
 
30
  add_action( 'elementor/element/common/_section_background/after_section_end', [ __CLASS__, 'add_section' ] );
31
- add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
32
- /* column */
33
  add_action( 'elementor/element/column/section_advanced/before_section_end', [ __CLASS__, 'manage_column_option' ], 10, 2 );
34
- /* ----- since 1.9.0 - container */
35
- add_action( 'elementor/element/container/section_layout/before_section_end', [ __CLASS__, 'manage_column_option' ], 10, 2 );
36
-
37
  /* allow hoveranimator for the column ? */
38
- add_action( 'elementor/frontend/column/before_render', [ __CLASS__, 'do_element_classing' ] );
39
- /* ----- since 1.9.0 */
40
- /* allow hoveranimator for the container ? */
41
- add_action( 'elementor/frontend/container/before_render', [ __CLASS__, 'do_element_classing' ] );
42
-
43
- /* should enqueue? */
44
- add_action( 'elementor/frontend/widget/before_render', [ __CLASS__, 'should_script_enqueue' ] );
45
- /* add script */
46
- add_action( 'elementor/preview/enqueue_scripts', [ __CLASS__, 'enqueue_scripts' ] );
47
-
48
- }
49
-
50
- /* enqueue script JS */
51
- public static function enqueue_scripts() {
52
-
53
- $extension_js = plugin_dir_path( __DIR__ ) . 'assets/js/hoveranimator-min.js';
54
-
55
- if( file_exists( $extension_js ) ) {
56
- wp_add_inline_script( 'elementor-frontend', file_get_contents( $extension_js ) );
57
- }
58
-
59
- }
60
- /* should enqueue? */
61
- public static function should_script_enqueue( $element ) {
62
 
63
- if( self::$should_script_enqueue ) return;
 
64
 
65
- if( 'yes' == $element->get_settings_for_display( '_ob_allow_hoveranimator' ) ) {
66
 
67
- self::$should_script_enqueue = true;
68
- self::enqueue_scripts();
 
69
 
70
- remove_action( 'elementor/frontend/section/before_render', [ __CLASS__, 'should_script_enqueue' ] );
71
- }
72
- }
73
-
74
- public static function do_element_classing( Element_Base $element ) {
75
-
76
- if ( \Elementor\Plugin::instance()->editor->is_edit_mode() ) return;
77
- $settings = $element->get_settings_for_display();
78
 
79
- if ( isset( $settings[ '_ob_column_hoveranimator' ] ) && 'yes' === $settings[ '_ob_column_hoveranimator' ] ) {
80
-
81
- $element->add_render_attribute( '_wrapper', [
82
- 'class' => 'ob-is-hoveranimator'
83
- ] );
84
-
85
- }
86
 
87
  }
88
 
@@ -117,40 +77,43 @@ class OoohBoi_Hover_Animator {
117
  '_ob_hoveranimator_column_fake_description',
118
  [
119
  'type' => Controls_Manager::RAW_HTML,
120
- 'raw' => __( 'With Hoveranimator you can animate any widget in this container on mouse-over event. Animation panel is available under the Advanced tab, per widget!', 'ooohboi-steroids' ),
121
  'content_classes' => 'elementor-control-field-description',
122
  ]
123
  );
124
  // ------------------------------------------------------------------------- CONTROL: Visibility
125
- if( 'column' === $element->get_type() ) {
126
- $element->add_control(
127
- '_ob_hoveranimator_visibility',
128
- [
129
- 'label' => __( 'Content Overflow', 'ooohboi-steroids' ),
130
- 'description' => __( 'VISIBLE - makes visible all the elements outside this Column boundaries, HIDDEN - hides everything outside this Column boundaries.', 'ooohboi-steroids' ),
131
- 'type' => Controls_Manager::SELECT,
132
- 'default' => 'hidden',
133
- 'separator' => 'before',
134
- 'options' => [
135
- 'visible' => __( 'Visible', 'ooohboi-steroids' ),
136
- 'hidden' => __( 'Hidden', 'ooohboi-steroids' ),
137
- ],
138
- 'selectors' => [
139
- '{{WRAPPER}}.ob-is-hoveranimator' => 'overflow: {{VALUE}};',
140
- ],
141
- 'condition' => [
142
- '_ob_column_hoveranimator' => 'yes',
143
- ],
144
- ]
145
- );
146
- }
147
 
148
  }
149
 
150
  public static function add_attributes( Element_Base $element ) {
151
 
152
- if ( in_array( $element->get_name(), [ 'section', 'column', 'container' ] ) ) return;
153
- if ( \Elementor\Plugin::instance()->editor->is_edit_mode() ) return;
 
 
 
 
 
154
 
155
  $settings = $element->get_settings_for_display();
156
 
@@ -194,7 +157,6 @@ class OoohBoi_Hover_Animator {
194
  'label' => __( 'Opacity', 'ooohboi-steroids' ),
195
  'type' => Controls_Manager::POPOVER_TOGGLE,
196
  'return_value' => 'yes',
197
- 'frontend_available' => true,
198
  'condition' => [
199
  '_ob_allow_hoveranimator' => 'yes',
200
  ],
@@ -208,8 +170,7 @@ class OoohBoi_Hover_Animator {
208
  '_ob_hoveranimator_opacity',
209
  [
210
  'label' => __( 'Opacity Normal', 'ooohboi-steroids' ),
211
- 'type' => Controls_Manager::SLIDER,
212
- 'frontend_available' => true,
213
  'default' => [
214
  'size' => 1,
215
  ],
@@ -220,11 +181,10 @@ class OoohBoi_Hover_Animator {
220
  ],
221
  ],
222
  'selectors' => [
223
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'opacity: {{SIZE}};',
224
  ],
225
  'condition' => [
226
- '_ob_allow_hoveranimator' => 'yes',
227
- '_ob_hoveranimator_opacity_popover' => 'yes',
228
  ],
229
  ]
230
  );
@@ -233,8 +193,7 @@ class OoohBoi_Hover_Animator {
233
  '_ob_hoveranimator_opacity_hover',
234
  [
235
  'label' => __( 'Opacity Hover', 'ooohboi-steroids' ),
236
- 'type' => Controls_Manager::SLIDER,
237
- 'frontend_available' => true,
238
  'default' => [
239
  'size' => 1,
240
  ],
@@ -245,9 +204,9 @@ class OoohBoi_Hover_Animator {
245
  ],
246
  ],
247
  'condition' => [
248
- '_ob_allow_hoveranimator' => 'yes',
249
- '_ob_hoveranimator_opacity_popover' => 'yes',
250
  ],
 
251
  ]
252
  );
253
  // --------------------------------------------------------------------------------------------- CONTROL OPACITY duration
@@ -256,8 +215,7 @@ class OoohBoi_Hover_Animator {
256
  [
257
  'label' => __( 'Duration', 'ooohboi-steroids' ),
258
  'separator' => 'before',
259
- 'type' => Controls_Manager::SLIDER,
260
- 'frontend_available' => true,
261
  'render_type' => 'template',
262
  'default' => [
263
  'size' => 250,
@@ -269,13 +227,12 @@ class OoohBoi_Hover_Animator {
269
  ],
270
  ],
271
  'selectors' => [
272
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transition-duration: {{SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
273
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
274
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
275
  ],
276
  'condition' => [
277
- '_ob_allow_hoveranimator' => 'yes',
278
- '_ob_hoveranimator_opacity_popover' => 'yes',
279
  ],
280
  ]
281
  );
@@ -285,8 +242,7 @@ class OoohBoi_Hover_Animator {
285
  [
286
  'label' => __( 'Delay', 'ooohboi-steroids' ),
287
  'separator' => 'before',
288
- 'type' => Controls_Manager::SLIDER,
289
- 'frontend_available' => true,
290
  'render_type' => 'template',
291
  'default' => [
292
  'size' => 0,
@@ -298,13 +254,12 @@ class OoohBoi_Hover_Animator {
298
  ],
299
  ],
300
  'selectors' => [
301
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
302
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
303
  transition-delay: {{SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms;, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
304
  ],
305
  'condition' => [
306
- '_ob_allow_hoveranimator' => 'yes',
307
- '_ob_hoveranimator_opacity_popover' => 'yes',
308
  ],
309
  ]
310
  );
@@ -324,13 +279,12 @@ class OoohBoi_Hover_Animator {
324
  'ease-in-out' => __( 'Ease-in-out', 'ooohboi-steroids' ),
325
  ],
326
  'selectors' => [
327
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
328
  transition-timing-function: {{VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
329
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
330
  ],
331
  'condition' => [
332
- '_ob_allow_hoveranimator' => 'yes',
333
- '_ob_hoveranimator_opacity_popover' => 'yes',
334
  ],
335
  ]
336
  );
@@ -342,8 +296,7 @@ class OoohBoi_Hover_Animator {
342
  '_ob_hoveranimator_y_popover',
343
  [
344
  'label' => __( 'Offset Top', 'ooohboi-steroids' ),
345
- 'type' => Controls_Manager::POPOVER_TOGGLE,
346
- 'frontend_available' => true,
347
  'return_value' => 'yes',
348
  'condition' => [
349
  '_ob_allow_hoveranimator' => 'yes',
@@ -358,8 +311,7 @@ class OoohBoi_Hover_Animator {
358
  '_ob_hoveranimator_y',
359
  [
360
  'label' => __( 'Offset Top Normal', 'ooohboi-steroids' ),
361
- 'type' => Controls_Manager::SLIDER,
362
- 'frontend_available' => true,
363
  'size_units' => [ 'px', '%' ],
364
  'range' => [
365
  'px' => [
@@ -376,12 +328,11 @@ class OoohBoi_Hover_Animator {
376
  'size' => 0,
377
  ],
378
  'selectors' => [
379
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'top: {{SIZE}}{{UNIT}};',
380
  ],
381
  'condition' => [
382
  '_ob_hoveranimator_y_alt' => '',
383
- '_ob_allow_hoveranimator' => 'yes',
384
- '_ob_hoveranimator_y_popover' => 'yes',
385
  ],
386
  ]
387
  );
@@ -391,15 +342,12 @@ class OoohBoi_Hover_Animator {
391
  [
392
  'label' => __( 'Calc Offset Top Normal', 'ooohboi-steroids' ),
393
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
394
- 'type' => Controls_Manager::TEXT,
395
- 'frontend_available' => true,
396
- 'default' => '',
397
  'selectors' => [
398
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'top: calc({{VALUE}});',
399
  ],
400
  'condition' => [
401
- '_ob_allow_hoveranimator' => 'yes',
402
- '_ob_hoveranimator_y_popover' => 'yes',
403
  ],
404
  ]
405
  );
@@ -408,8 +356,7 @@ class OoohBoi_Hover_Animator {
408
  '_ob_hoveranimator_y_hover',
409
  [
410
  'label' => __( 'Offset Top Hover', 'ooohboi-steroids' ),
411
- 'type' => Controls_Manager::SLIDER,
412
- 'frontend_available' => true,
413
  'size_units' => [ 'px', '%' ],
414
  'range' => [
415
  'px' => [
@@ -428,8 +375,8 @@ class OoohBoi_Hover_Animator {
428
  'condition' => [
429
  '_ob_hoveranimator_y_hover_alt' => '',
430
  '_ob_allow_hoveranimator' => 'yes',
431
- '_ob_hoveranimator_y_popover' => 'yes',
432
  ],
 
433
  ]
434
  );
435
  // --------------------------------------------------------------------------------------------- CONTROL CALC OFFSET TOP HOVER
@@ -438,13 +385,11 @@ class OoohBoi_Hover_Animator {
438
  [
439
  'label' => __( 'Calc Offset Top Hover', 'ooohboi-steroids' ),
440
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
441
- 'type' => Controls_Manager::TEXT,
442
- 'frontend_available' => true,
443
- 'default' => '',
444
  'condition' => [
445
- '_ob_allow_hoveranimator' => 'yes',
446
- '_ob_hoveranimator_y_popover' => 'yes',
447
  ],
 
448
  ]
449
  );
450
  // --------------------------------------------------------------------------------------------- CONTROL Offset Top duration
@@ -453,8 +398,7 @@ class OoohBoi_Hover_Animator {
453
  [
454
  'label' => __( 'Duration', 'ooohboi-steroids' ),
455
  'separator' => 'before',
456
- 'type' => Controls_Manager::SLIDER,
457
- 'frontend_available' => true,
458
  'render_type' => 'template',
459
  'default' => [
460
  'size' => 250,
@@ -466,13 +410,12 @@ class OoohBoi_Hover_Animator {
466
  ],
467
  ],
468
  'selectors' => [
469
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
470
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
471
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
472
  ],
473
  'condition' => [
474
- '_ob_allow_hoveranimator' => 'yes',
475
- '_ob_hoveranimator_y_popover' => 'yes',
476
  ],
477
  ]
478
  );
@@ -483,7 +426,6 @@ class OoohBoi_Hover_Animator {
483
  'label' => __( 'Delay', 'ooohboi-steroids' ),
484
  'separator' => 'before',
485
  'type' => Controls_Manager::SLIDER,
486
- 'frontend_available' => true,
487
  'render_type' => 'template',
488
  'default' => [
489
  'size' => 0,
@@ -495,13 +437,12 @@ class OoohBoi_Hover_Animator {
495
  ],
496
  ],
497
  'selectors' => [
498
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
499
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
500
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
501
  ],
502
  'condition' => [
503
- '_ob_allow_hoveranimator' => 'yes',
504
- '_ob_hoveranimator_y_popover' => 'yes',
505
  ],
506
  ]
507
  );
@@ -511,7 +452,6 @@ class OoohBoi_Hover_Animator {
511
  [
512
  'label' => __( 'Easing', 'ooohboi-steroids' ),
513
  'type' => Controls_Manager::SELECT,
514
- 'frontend_available' => true,
515
  'default' => 'ease',
516
  'separator' => 'before',
517
  'options' => [
@@ -521,13 +461,12 @@ class OoohBoi_Hover_Animator {
521
  'ease-in-out' => __( 'Ease-in-out', 'ooohboi-steroids' ),
522
  ],
523
  'selectors' => [
524
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
525
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}ms, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
526
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
527
  ],
528
  'condition' => [
529
- '_ob_allow_hoveranimator' => 'yes',
530
- '_ob_hoveranimator_y_popover' => 'yes',
531
  ],
532
  ]
533
  );
@@ -540,7 +479,6 @@ class OoohBoi_Hover_Animator {
540
  [
541
  'label' => __( 'Offset Left', 'ooohboi-steroids' ),
542
  'type' => Controls_Manager::POPOVER_TOGGLE,
543
- 'frontend_available' => true,
544
  'return_value' => 'yes',
545
  'condition' => [
546
  '_ob_allow_hoveranimator' => 'yes',
@@ -556,7 +494,6 @@ class OoohBoi_Hover_Animator {
556
  [
557
  'label' => __( 'Offset Left Normal', 'ooohboi-steroids' ),
558
  'type' => Controls_Manager::SLIDER,
559
- 'frontend_available' => true,
560
  'size_units' => [ 'px', '%' ],
561
  'range' => [
562
  'px' => [
@@ -573,12 +510,11 @@ class OoohBoi_Hover_Animator {
573
  'size' => 0,
574
  ],
575
  'selectors' => [
576
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'left: {{SIZE}}{{UNIT}};',
577
  ],
578
  'condition' => [
579
  '_ob_hoveranimator_x_alt' => '',
580
- '_ob_allow_hoveranimator' => 'yes',
581
- '_ob_hoveranimator_x_popover' => 'yes',
582
  ],
583
  ]
584
  );
@@ -589,14 +525,11 @@ class OoohBoi_Hover_Animator {
589
  'label' => __( 'Calc Offset Left Normal', 'ooohboi-steroids' ),
590
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
591
  'type' => Controls_Manager::TEXT,
592
- 'frontend_available' => true,
593
- 'default' => '',
594
  'selectors' => [
595
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'left: calc({{VALUE}});',
596
  ],
597
  'condition' => [
598
- '_ob_allow_hoveranimator' => 'yes',
599
- '_ob_hoveranimator_x_popover' => 'yes',
600
  ],
601
  ]
602
  );
@@ -606,7 +539,6 @@ class OoohBoi_Hover_Animator {
606
  [
607
  'label' => __( 'Offset Left Hover', 'ooohboi-steroids' ),
608
  'type' => Controls_Manager::SLIDER,
609
- 'frontend_available' => true,
610
  'size_units' => [ 'px', '%' ],
611
  'range' => [
612
  'px' => [
@@ -624,9 +556,9 @@ class OoohBoi_Hover_Animator {
624
  ],
625
  'condition' => [
626
  '_ob_hoveranimator_x_hover_alt' => '',
627
- '_ob_allow_hoveranimator' => 'yes',
628
- '_ob_hoveranimator_x_popover' => 'yes',
629
  ],
 
630
  ]
631
  );
632
  // --------------------------------------------------------------------------------------------- CONTROL CALC OFFSET TOP HOVER
@@ -636,12 +568,10 @@ class OoohBoi_Hover_Animator {
636
  'label' => __( 'Calc Offset Left Hover', 'ooohboi-steroids' ),
637
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
638
  'type' => Controls_Manager::TEXT,
639
- 'frontend_available' => true,
640
- 'default' => '',
641
  'condition' => [
642
- '_ob_allow_hoveranimator' => 'yes',
643
- '_ob_hoveranimator_x_popover' => 'yes',
644
  ],
 
645
  ]
646
  );
647
  // --------------------------------------------------------------------------------------------- CONTROL Offset Left duration
@@ -651,7 +581,6 @@ class OoohBoi_Hover_Animator {
651
  'label' => __( 'Duration', 'ooohboi-steroids' ),
652
  'separator' => 'before',
653
  'type' => Controls_Manager::SLIDER,
654
- 'frontend_available' => true,
655
  'render_type' => 'template',
656
  'default' => [
657
  'size' => 250,
@@ -663,13 +592,12 @@ class OoohBoi_Hover_Animator {
663
  ],
664
  ],
665
  'selectors' => [
666
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
667
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
668
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
669
  ],
670
  'condition' => [
671
- '_ob_allow_hoveranimator' => 'yes',
672
- '_ob_hoveranimator_x_popover' => 'yes',
673
  ],
674
  ]
675
  );
@@ -680,7 +608,6 @@ class OoohBoi_Hover_Animator {
680
  'label' => __( 'Delay', 'ooohboi-steroids' ),
681
  'separator' => 'before',
682
  'type' => Controls_Manager::SLIDER,
683
- 'frontend_available' => true,
684
  'render_type' => 'template',
685
  'default' => [
686
  'size' => 0,
@@ -692,13 +619,12 @@ class OoohBoi_Hover_Animator {
692
  ],
693
  ],
694
  'selectors' => [
695
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
696
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
697
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
698
  ],
699
  'condition' => [
700
- '_ob_allow_hoveranimator' => 'yes',
701
- '_ob_hoveranimator_x_popover' => 'yes',
702
  ],
703
  ]
704
  );
@@ -708,7 +634,6 @@ class OoohBoi_Hover_Animator {
708
  [
709
  'label' => __( 'Easing', 'ooohboi-steroids' ),
710
  'type' => Controls_Manager::SELECT,
711
- 'frontend_available' => true,
712
  'default' => 'ease',
713
  'separator' => 'before',
714
  'options' => [
@@ -718,13 +643,12 @@ class OoohBoi_Hover_Animator {
718
  'ease-in-out' => __( 'Ease-in-out', 'ooohboi-steroids' ),
719
  ],
720
  'selectors' => [
721
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
722
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
723
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
724
  ],
725
  'condition' => [
726
- '_ob_allow_hoveranimator' => 'yes',
727
- '_ob_hoveranimator_x_popover' => 'yes',
728
  ],
729
  ]
730
  );
@@ -752,7 +676,6 @@ class OoohBoi_Hover_Animator {
752
  [
753
  'label' => __( 'ScaleX Normal', 'ooohboi-steroids' ),
754
  'type' => Controls_Manager::SLIDER,
755
- 'frontend_available' => true,
756
  'range' => [
757
  'px' => [
758
  'min' => 0,
@@ -764,11 +687,10 @@ class OoohBoi_Hover_Animator {
764
  'size' => 1,
765
  ],
766
  'selectors' => [
767
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transform: scaleX({{SIZE}}) scaleY({{_ob_hoveranimator_scaley.SIZE}}) rotate({{_ob_hoveranimator_rot.SIZE}}deg);',
768
  ],
769
  'condition' => [
770
- '_ob_allow_hoveranimator' => 'yes',
771
- '_ob_hoveranimator_transforms_popover' => 'yes',
772
  ],
773
  ]
774
  );
@@ -778,7 +700,6 @@ class OoohBoi_Hover_Animator {
778
  [
779
  'label' => __( 'ScaleX Hover', 'ooohboi-steroids' ),
780
  'type' => Controls_Manager::SLIDER,
781
- 'frontend_available' => true,
782
  'range' => [
783
  'px' => [
784
  'min' => 0,
@@ -790,9 +711,9 @@ class OoohBoi_Hover_Animator {
790
  'size' => 1,
791
  ],
792
  'condition' => [
793
- '_ob_allow_hoveranimator' => 'yes',
794
- '_ob_hoveranimator_transforms_popover' => 'yes',
795
  ],
 
796
  ]
797
  );
798
  // --------------------------------------------------------------------------------------------- CONTROL SCALE Y
@@ -801,7 +722,6 @@ class OoohBoi_Hover_Animator {
801
  [
802
  'label' => __( 'ScaleY Normal', 'ooohboi-steroids' ),
803
  'type' => Controls_Manager::SLIDER,
804
- 'frontend_available' => true,
805
  'range' => [
806
  'px' => [
807
  'min' => 0,
@@ -813,11 +733,10 @@ class OoohBoi_Hover_Animator {
813
  'size' => 1,
814
  ],
815
  'selectors' => [
816
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transform: scaleX({{_ob_hoveranimator_scalex.SIZE}}) scaleY({{SIZE}}) rotate({{_ob_hoveranimator_rot.SIZE}}deg);',
817
  ],
818
  'condition' => [
819
- '_ob_allow_hoveranimator' => 'yes',
820
- '_ob_hoveranimator_transforms_popover' => 'yes',
821
  ],
822
  ]
823
  );
@@ -827,7 +746,6 @@ class OoohBoi_Hover_Animator {
827
  [
828
  'label' => __( 'ScaleY Hover', 'ooohboi-steroids' ),
829
  'type' => Controls_Manager::SLIDER,
830
- 'frontend_available' => true,
831
  'range' => [
832
  'px' => [
833
  'min' => 0,
@@ -839,9 +757,9 @@ class OoohBoi_Hover_Animator {
839
  'size' => 1,
840
  ],
841
  'condition' => [
842
- '_ob_allow_hoveranimator' => 'yes',
843
- '_ob_hoveranimator_transforms_popover' => 'yes',
844
  ],
 
845
  ]
846
  );
847
  // --------------------------------------------------------------------------------------------- CONTROL ROTATION
@@ -850,7 +768,6 @@ class OoohBoi_Hover_Animator {
850
  [
851
  'label' => __( 'Rotation Normal', 'ooohboi-steroids' ),
852
  'type' => Controls_Manager::SLIDER,
853
- 'frontend_available' => true,
854
  'range' => [
855
  'px' => [
856
  'min' => 0,
@@ -862,11 +779,10 @@ class OoohBoi_Hover_Animator {
862
  'size' => 0,
863
  ],
864
  'selectors' => [
865
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transform: scaleX({{_ob_hoveranimator_scalex.SIZE}}) scaleY({{_ob_hoveranimator_scaley.SIZE}}) rotate({{SIZE}}deg);',
866
  ],
867
  'condition' => [
868
- '_ob_allow_hoveranimator' => 'yes',
869
- '_ob_hoveranimator_transforms_popover' => 'yes',
870
  ],
871
  ]
872
  );
@@ -876,7 +792,6 @@ class OoohBoi_Hover_Animator {
876
  [
877
  'label' => __( 'Rotation Hover', 'ooohboi-steroids' ),
878
  'type' => Controls_Manager::SLIDER,
879
- 'frontend_available' => true,
880
  'range' => [
881
  'px' => [
882
  'min' => 0,
@@ -888,9 +803,9 @@ class OoohBoi_Hover_Animator {
888
  'size' => 0,
889
  ],
890
  'condition' => [
891
- '_ob_allow_hoveranimator' => 'yes',
892
- '_ob_hoveranimator_transforms_popover' => 'yes',
893
  ],
 
894
  ]
895
  );
896
 
@@ -901,7 +816,6 @@ class OoohBoi_Hover_Animator {
901
  'label' => __( 'Duration', 'ooohboi-steroids' ),
902
  'separator' => 'before',
903
  'type' => Controls_Manager::SLIDER,
904
- 'frontend_available' => true,
905
  'render_type' => 'template',
906
  'default' => [
907
  'size' => 250,
@@ -913,13 +827,12 @@ class OoohBoi_Hover_Animator {
913
  ],
914
  ],
915
  'selectors' => [
916
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
917
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
918
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
919
  ],
920
  'condition' => [
921
- '_ob_allow_hoveranimator' => 'yes',
922
- '_ob_hoveranimator_transforms_popover' => 'yes',
923
  ],
924
  ]
925
  );
@@ -930,7 +843,6 @@ class OoohBoi_Hover_Animator {
930
  'label' => __( 'Delay', 'ooohboi-steroids' ),
931
  'separator' => 'before',
932
  'type' => Controls_Manager::SLIDER,
933
- 'frontend_available' => true,
934
  'render_type' => 'template',
935
  'default' => [
936
  'size' => 0,
@@ -942,13 +854,12 @@ class OoohBoi_Hover_Animator {
942
  ],
943
  ],
944
  'selectors' => [
945
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
946
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
947
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
948
  ],
949
  'condition' => [
950
- '_ob_allow_hoveranimator' => 'yes',
951
- '_ob_hoveranimator_transforms_popover' => 'yes',
952
  ],
953
  ]
954
  );
@@ -958,7 +869,6 @@ class OoohBoi_Hover_Animator {
958
  [
959
  'label' => __( 'Easing', 'ooohboi-steroids' ),
960
  'type' => Controls_Manager::SELECT,
961
- 'frontend_available' => true,
962
  'default' => 'ease',
963
  'separator' => 'before',
964
  'options' => [
@@ -968,13 +878,12 @@ class OoohBoi_Hover_Animator {
968
  'ease-in-out' => __( 'Ease-in-out', 'ooohboi-steroids' ),
969
  ],
970
  'selectors' => [
971
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
972
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
973
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
974
  ],
975
  'condition' => [
976
- '_ob_allow_hoveranimator' => 'yes',
977
- '_ob_hoveranimator_transforms_popover' => 'yes',
978
  ],
979
  ]
980
  );
@@ -987,7 +896,6 @@ class OoohBoi_Hover_Animator {
987
  [
988
  'label' => __( 'Blur', 'ooohboi-steroids' ),
989
  'type' => Controls_Manager::POPOVER_TOGGLE,
990
- 'frontend_available' => true,
991
  'return_value' => 'yes',
992
  'condition' => [
993
  '_ob_allow_hoveranimator' => 'yes',
@@ -1003,7 +911,6 @@ class OoohBoi_Hover_Animator {
1003
  [
1004
  'label' => __( 'Blur Normal', 'ooohboi-steroids' ),
1005
  'type' => Controls_Manager::SLIDER,
1006
- 'frontend_available' => true,
1007
  'size_units' => [ 'px', 'em' ],
1008
  'range' => [
1009
  'px' => [
@@ -1022,11 +929,10 @@ class OoohBoi_Hover_Animator {
1022
  'size' => 0,
1023
  ],
1024
  'selectors' => [
1025
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'filter: blur({{SIZE}}{{UNIT}});',
1026
  ],
1027
  'condition' => [
1028
- '_ob_allow_hoveranimator' => 'yes',
1029
- '_ob_hoveranimator_blur_popover' => 'yes',
1030
  ],
1031
  ]
1032
  );
@@ -1036,7 +942,6 @@ class OoohBoi_Hover_Animator {
1036
  [
1037
  'label' => __( 'Blur Hover', 'ooohboi-steroids' ),
1038
  'type' => Controls_Manager::SLIDER,
1039
- 'frontend_available' => true,
1040
  'size_units' => [ 'px', 'em' ],
1041
  'range' => [
1042
  'px' => [
@@ -1055,9 +960,9 @@ class OoohBoi_Hover_Animator {
1055
  'size' => 0,
1056
  ],
1057
  'condition' => [
1058
- '_ob_allow_hoveranimator' => 'yes',
1059
- '_ob_hoveranimator_blur_popover' => 'yes',
1060
  ],
 
1061
  ]
1062
  );
1063
  // --------------------------------------------------------------------------------------------- CONTROL Blur duration
@@ -1067,7 +972,6 @@ class OoohBoi_Hover_Animator {
1067
  'label' => __( 'Duration', 'ooohboi-steroids' ),
1068
  'separator' => 'before',
1069
  'type' => Controls_Manager::SLIDER,
1070
- 'frontend_available' => true,
1071
  'render_type' => 'template',
1072
  'default' => [
1073
  'size' => 250,
@@ -1079,13 +983,12 @@ class OoohBoi_Hover_Animator {
1079
  ],
1080
  ],
1081
  'selectors' => [
1082
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{SIZE}}ms;
1083
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
1084
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
1085
  ],
1086
  'condition' => [
1087
- '_ob_allow_hoveranimator' => 'yes',
1088
- '_ob_hoveranimator_blur_popover' => 'yes',
1089
  ],
1090
  ]
1091
  );
@@ -1096,7 +999,6 @@ class OoohBoi_Hover_Animator {
1096
  'label' => __( 'Delay', 'ooohboi-steroids' ),
1097
  'separator' => 'before',
1098
  'type' => Controls_Manager::SLIDER,
1099
- 'frontend_available' => true,
1100
  'render_type' => 'template',
1101
  'default' => [
1102
  'size' => 0,
@@ -1108,13 +1010,12 @@ class OoohBoi_Hover_Animator {
1108
  ],
1109
  ],
1110
  'selectors' => [
1111
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
1112
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
1113
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{SIZE}}ms;',
1114
  ],
1115
  'condition' => [
1116
- '_ob_allow_hoveranimator' => 'yes',
1117
- '_ob_hoveranimator_blur_popover' => 'yes',
1118
  ],
1119
  ]
1120
  );
@@ -1124,7 +1025,6 @@ class OoohBoi_Hover_Animator {
1124
  [
1125
  'label' => __( 'Easing', 'ooohboi-steroids' ),
1126
  'type' => Controls_Manager::SELECT,
1127
- 'frontend_available' => true,
1128
  'default' => 'ease',
1129
  'separator' => 'before',
1130
  'options' => [
@@ -1134,14 +1034,13 @@ class OoohBoi_Hover_Animator {
1134
  'ease-in-out' => __( 'Ease-in-out', 'ooohboi-steroids' ),
1135
  ],
1136
  'selectors' => [
1137
- '{{WRAPPER}}.ob-is-hoveranimal > .elementor-widget-container' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
1138
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{VALUE}};
1139
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
1140
  ],
1141
 
1142
  'condition' => [
1143
- '_ob_allow_hoveranimator' => 'yes',
1144
- '_ob_hoveranimator_blur_popover' => 'yes',
1145
  ],
1146
  ]
1147
  );
16
  */
17
  class OoohBoi_Hover_Animator {
18
 
 
 
19
  /**
20
  * Initialize
21
  *
26
  public static function init() {
27
 
28
  add_action( 'elementor/element/common/_section_background/after_section_end', [ __CLASS__, 'add_section' ] );
29
+ add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
 
30
  add_action( 'elementor/element/column/section_advanced/before_section_end', [ __CLASS__, 'manage_column_option' ], 10, 2 );
 
 
 
31
  /* allow hoveranimator for the column ? */
32
+ add_action( 'elementor/frontend/column/before_render', function( Element_Base $element ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
 
34
+ if ( \Elementor\Plugin::instance()->editor->is_edit_mode() ) return;
35
+ $settings = $element->get_settings_for_display();
36
 
37
+ if ( isset( $settings[ '_ob_column_hoveranimator' ] ) && 'yes' === $settings[ '_ob_column_hoveranimator' ] ) {
38
 
39
+ $element->add_render_attribute( '_wrapper', [
40
+ 'class' => 'ob-is-hoveranimator'
41
+ ] );
42
 
43
+ }
 
 
 
 
 
 
 
44
 
45
+ } );
 
 
 
 
 
 
46
 
47
  }
48
 
77
  '_ob_hoveranimator_column_fake_description',
78
  [
79
  'type' => Controls_Manager::RAW_HTML,
80
+ 'raw' => __( 'With Hoveranimator you can animate any widget in this column on mouse-over event. Animation panel is available under the Advanced tab, per widget!', 'ooohboi-steroids' ),
81
  'content_classes' => 'elementor-control-field-description',
82
  ]
83
  );
84
  // ------------------------------------------------------------------------- CONTROL: Visibility
85
+ $element->add_control(
86
+ '_ob_hoveranimator_visibility',
87
+ [
88
+ 'label' => __( 'Content Overflow', 'ooohboi-steroids' ),
89
+ 'description' => __( 'VISIBLE - makes visible all the elements outside this Column boundaries, HIDDEN - hides everything outside this Column boundaries.', 'ooohboi-steroids' ),
90
+ 'type' => Controls_Manager::SELECT,
91
+ 'default' => 'hidden',
92
+ 'separator' => 'before',
93
+ 'options' => [
94
+ 'visible' => __( 'Visible', 'ooohboi-steroids' ),
95
+ 'hidden' => __( 'Hidden', 'ooohboi-steroids' ),
96
+ ],
97
+ 'selectors' => [
98
+ '{{WRAPPER}}.ob-is-hoveranimator' => 'overflow: {{VALUE}};',
99
+ ],
100
+ 'condition' => [
101
+ '_ob_column_hoveranimator' => 'yes',
102
+ ],
103
+ ]
104
+ );
 
 
105
 
106
  }
107
 
108
  public static function add_attributes( Element_Base $element ) {
109
 
110
+ if ( in_array( $element->get_name(), [ 'section', 'column' ] ) ) {
111
+ return;
112
+ }
113
+
114
+ if ( \Elementor\Plugin::instance()->editor->is_edit_mode() ) {
115
+ return;
116
+ }
117
 
118
  $settings = $element->get_settings_for_display();
119
 
157
  'label' => __( 'Opacity', 'ooohboi-steroids' ),
158
  'type' => Controls_Manager::POPOVER_TOGGLE,
159
  'return_value' => 'yes',
 
160
  'condition' => [
161
  '_ob_allow_hoveranimator' => 'yes',
162
  ],
170
  '_ob_hoveranimator_opacity',
171
  [
172
  'label' => __( 'Opacity Normal', 'ooohboi-steroids' ),
173
+ 'type' => Controls_Manager::SLIDER,
 
174
  'default' => [
175
  'size' => 1,
176
  ],
181
  ],
182
  ],
183
  'selectors' => [
184
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'opacity: {{SIZE}};',
185
  ],
186
  'condition' => [
187
+ '_ob_allow_hoveranimator' => 'yes',
 
188
  ],
189
  ]
190
  );
193
  '_ob_hoveranimator_opacity_hover',
194
  [
195
  'label' => __( 'Opacity Hover', 'ooohboi-steroids' ),
196
+ 'type' => Controls_Manager::SLIDER,
 
197
  'default' => [
198
  'size' => 1,
199
  ],
204
  ],
205
  ],
206
  'condition' => [
207
+ '_ob_allow_hoveranimator' => 'yes',
 
208
  ],
209
+ 'frontend_available' => true,
210
  ]
211
  );
212
  // --------------------------------------------------------------------------------------------- CONTROL OPACITY duration
215
  [
216
  'label' => __( 'Duration', 'ooohboi-steroids' ),
217
  'separator' => 'before',
218
+ 'type' => Controls_Manager::SLIDER,
 
219
  'render_type' => 'template',
220
  'default' => [
221
  'size' => 250,
227
  ],
228
  ],
229
  'selectors' => [
230
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transition-duration: {{SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
231
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
232
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
233
  ],
234
  'condition' => [
235
+ '_ob_allow_hoveranimator' => 'yes',
 
236
  ],
237
  ]
238
  );
242
  [
243
  'label' => __( 'Delay', 'ooohboi-steroids' ),
244
  'separator' => 'before',
245
+ 'type' => Controls_Manager::SLIDER,
 
246
  'render_type' => 'template',
247
  'default' => [
248
  'size' => 0,
254
  ],
255
  ],
256
  'selectors' => [
257
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
258
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
259
  transition-delay: {{SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms;, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
260
  ],
261
  'condition' => [
262
+ '_ob_allow_hoveranimator' => 'yes',
 
263
  ],
264
  ]
265
  );
279
  'ease-in-out' => __( 'Ease-in-out', 'ooohboi-steroids' ),
280
  ],
281
  'selectors' => [
282
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
283
  transition-timing-function: {{VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
284
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
285
  ],
286
  'condition' => [
287
+ '_ob_allow_hoveranimator' => 'yes',
 
288
  ],
289
  ]
290
  );
296
  '_ob_hoveranimator_y_popover',
297
  [
298
  'label' => __( 'Offset Top', 'ooohboi-steroids' ),
299
+ 'type' => Controls_Manager::POPOVER_TOGGLE,
 
300
  'return_value' => 'yes',
301
  'condition' => [
302
  '_ob_allow_hoveranimator' => 'yes',
311
  '_ob_hoveranimator_y',
312
  [
313
  'label' => __( 'Offset Top Normal', 'ooohboi-steroids' ),
314
+ 'type' => Controls_Manager::SLIDER,
 
315
  'size_units' => [ 'px', '%' ],
316
  'range' => [
317
  'px' => [
328
  'size' => 0,
329
  ],
330
  'selectors' => [
331
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'top: {{SIZE}}{{UNIT}};',
332
  ],
333
  'condition' => [
334
  '_ob_hoveranimator_y_alt' => '',
335
+ '_ob_allow_hoveranimator' => 'yes',
 
336
  ],
337
  ]
338
  );
342
  [
343
  'label' => __( 'Calc Offset Top Normal', 'ooohboi-steroids' ),
344
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
345
+ 'type' => Controls_Manager::TEXT,
 
 
346
  'selectors' => [
347
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'top: calc({{VALUE}});',
348
  ],
349
  'condition' => [
350
+ '_ob_allow_hoveranimator' => 'yes',
 
351
  ],
352
  ]
353
  );
356
  '_ob_hoveranimator_y_hover',
357
  [
358
  'label' => __( 'Offset Top Hover', 'ooohboi-steroids' ),
359
+ 'type' => Controls_Manager::SLIDER,
 
360
  'size_units' => [ 'px', '%' ],
361
  'range' => [
362
  'px' => [
375
  'condition' => [
376
  '_ob_hoveranimator_y_hover_alt' => '',
377
  '_ob_allow_hoveranimator' => 'yes',
 
378
  ],
379
+ 'frontend_available' => true,
380
  ]
381
  );
382
  // --------------------------------------------------------------------------------------------- CONTROL CALC OFFSET TOP HOVER
385
  [
386
  'label' => __( 'Calc Offset Top Hover', 'ooohboi-steroids' ),
387
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
388
+ 'type' => Controls_Manager::TEXT,
 
 
389
  'condition' => [
390
+ '_ob_allow_hoveranimator' => 'yes',
 
391
  ],
392
+ 'frontend_available' => true,
393
  ]
394
  );
395
  // --------------------------------------------------------------------------------------------- CONTROL Offset Top duration
398
  [
399
  'label' => __( 'Duration', 'ooohboi-steroids' ),
400
  'separator' => 'before',
401
+ 'type' => Controls_Manager::SLIDER,
 
402
  'render_type' => 'template',
403
  'default' => [
404
  'size' => 250,
410
  ],
411
  ],
412
  'selectors' => [
413
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
414
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
415
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
416
  ],
417
  'condition' => [
418
+ '_ob_allow_hoveranimator' => 'yes',
 
419
  ],
420
  ]
421
  );
426
  'label' => __( 'Delay', 'ooohboi-steroids' ),
427
  'separator' => 'before',
428
  'type' => Controls_Manager::SLIDER,
 
429
  'render_type' => 'template',
430
  'default' => [
431
  'size' => 0,
437
  ],
438
  ],
439
  'selectors' => [
440
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
441
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
442
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
443
  ],
444
  'condition' => [
445
+ '_ob_allow_hoveranimator' => 'yes',
 
446
  ],
447
  ]
448
  );
452
  [
453
  'label' => __( 'Easing', 'ooohboi-steroids' ),
454
  'type' => Controls_Manager::SELECT,
 
455
  'default' => 'ease',
456
  'separator' => 'before',
457
  'options' => [
461
  'ease-in-out' => __( 'Ease-in-out', 'ooohboi-steroids' ),
462
  ],
463
  'selectors' => [
464
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
465
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}ms, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
466
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
467
  ],
468
  'condition' => [
469
+ '_ob_allow_hoveranimator' => 'yes',
 
470
  ],
471
  ]
472
  );
479
  [
480
  'label' => __( 'Offset Left', 'ooohboi-steroids' ),
481
  'type' => Controls_Manager::POPOVER_TOGGLE,
 
482
  'return_value' => 'yes',
483
  'condition' => [
484
  '_ob_allow_hoveranimator' => 'yes',
494
  [
495
  'label' => __( 'Offset Left Normal', 'ooohboi-steroids' ),
496
  'type' => Controls_Manager::SLIDER,
 
497
  'size_units' => [ 'px', '%' ],
498
  'range' => [
499
  'px' => [
510
  'size' => 0,
511
  ],
512
  'selectors' => [
513
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'left: {{SIZE}}{{UNIT}};',
514
  ],
515
  'condition' => [
516
  '_ob_hoveranimator_x_alt' => '',
517
+ '_ob_allow_hoveranimator' => 'yes',
 
518
  ],
519
  ]
520
  );
525
  'label' => __( 'Calc Offset Left Normal', 'ooohboi-steroids' ),
526
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
527
  'type' => Controls_Manager::TEXT,
 
 
528
  'selectors' => [
529
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'left: calc({{VALUE}});',
530
  ],
531
  'condition' => [
532
+ '_ob_allow_hoveranimator' => 'yes',
 
533
  ],
534
  ]
535
  );
539
  [
540
  'label' => __( 'Offset Left Hover', 'ooohboi-steroids' ),
541
  'type' => Controls_Manager::SLIDER,
 
542
  'size_units' => [ 'px', '%' ],
543
  'range' => [
544
  'px' => [
556
  ],
557
  'condition' => [
558
  '_ob_hoveranimator_x_hover_alt' => '',
559
+ '_ob_allow_hoveranimator' => 'yes',
 
560
  ],
561
+ 'frontend_available' => true,
562
  ]
563
  );
564
  // --------------------------------------------------------------------------------------------- CONTROL CALC OFFSET TOP HOVER
568
  'label' => __( 'Calc Offset Left Hover', 'ooohboi-steroids' ),
569
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
570
  'type' => Controls_Manager::TEXT,
 
 
571
  'condition' => [
572
+ '_ob_allow_hoveranimator' => 'yes',
 
573
  ],
574
+ 'frontend_available' => true,
575
  ]
576
  );
577
  // --------------------------------------------------------------------------------------------- CONTROL Offset Left duration
581
  'label' => __( 'Duration', 'ooohboi-steroids' ),
582
  'separator' => 'before',
583
  'type' => Controls_Manager::SLIDER,
 
584
  'render_type' => 'template',
585
  'default' => [
586
  'size' => 250,
592
  ],
593
  ],
594
  'selectors' => [
595
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
596
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
597
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
598
  ],
599
  'condition' => [
600
+ '_ob_allow_hoveranimator' => 'yes',
 
601
  ],
602
  ]
603
  );
608
  'label' => __( 'Delay', 'ooohboi-steroids' ),
609
  'separator' => 'before',
610
  'type' => Controls_Manager::SLIDER,
 
611
  'render_type' => 'template',
612
  'default' => [
613
  'size' => 0,
619
  ],
620
  ],
621
  'selectors' => [
622
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
623
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
624
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
625
  ],
626
  'condition' => [
627
+ '_ob_allow_hoveranimator' => 'yes',
 
628
  ],
629
  ]
630
  );
634
  [
635
  'label' => __( 'Easing', 'ooohboi-steroids' ),
636
  'type' => Controls_Manager::SELECT,
 
637
  'default' => 'ease',
638
  'separator' => 'before',
639
  'options' => [
643
  'ease-in-out' => __( 'Ease-in-out', 'ooohboi-steroids' ),
644
  ],
645
  'selectors' => [
646
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
647
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
648
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
649
  ],
650
  'condition' => [
651
+ '_ob_allow_hoveranimator' => 'yes',
 
652
  ],
653
  ]
654
  );
676
  [
677
  'label' => __( 'ScaleX Normal', 'ooohboi-steroids' ),
678
  'type' => Controls_Manager::SLIDER,
 
679
  'range' => [
680
  'px' => [
681
  'min' => 0,
687
  'size' => 1,
688
  ],
689
  'selectors' => [
690
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transform: scaleX({{SIZE}}) scaleY({{_ob_hoveranimator_scaley.SIZE}}) rotate({{_ob_hoveranimator_rot.SIZE}}deg);',
691
  ],
692
  'condition' => [
693
+ '_ob_allow_hoveranimator' => 'yes',
 
694
  ],
695
  ]
696
  );
700
  [
701
  'label' => __( 'ScaleX Hover', 'ooohboi-steroids' ),
702
  'type' => Controls_Manager::SLIDER,
 
703
  'range' => [
704
  'px' => [
705
  'min' => 0,
711
  'size' => 1,
712
  ],
713
  'condition' => [
714
+ '_ob_allow_hoveranimator' => 'yes',
 
715
  ],
716
+ 'frontend_available' => true,
717
  ]
718
  );
719
  // --------------------------------------------------------------------------------------------- CONTROL SCALE Y
722
  [
723
  'label' => __( 'ScaleY Normal', 'ooohboi-steroids' ),
724
  'type' => Controls_Manager::SLIDER,
 
725
  'range' => [
726
  'px' => [
727
  'min' => 0,
733
  'size' => 1,
734
  ],
735
  'selectors' => [
736
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transform: scaleX({{_ob_hoveranimator_scalex.SIZE}}) scaleY({{SIZE}}) rotate({{_ob_hoveranimator_rot.SIZE}}deg);',
737
  ],
738
  'condition' => [
739
+ '_ob_allow_hoveranimator' => 'yes',
 
740
  ],
741
  ]
742
  );
746
  [
747
  'label' => __( 'ScaleY Hover', 'ooohboi-steroids' ),
748
  'type' => Controls_Manager::SLIDER,
 
749
  'range' => [
750
  'px' => [
751
  'min' => 0,
757
  'size' => 1,
758
  ],
759
  'condition' => [
760
+ '_ob_allow_hoveranimator' => 'yes',
 
761
  ],
762
+ 'frontend_available' => true,
763
  ]
764
  );
765
  // --------------------------------------------------------------------------------------------- CONTROL ROTATION
768
  [
769
  'label' => __( 'Rotation Normal', 'ooohboi-steroids' ),
770
  'type' => Controls_Manager::SLIDER,
 
771
  'range' => [
772
  'px' => [
773
  'min' => 0,
779
  'size' => 0,
780
  ],
781
  'selectors' => [
782
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transform: scaleX({{_ob_hoveranimator_scalex.SIZE}}) scaleY({{_ob_hoveranimator_scaley.SIZE}}) rotate({{SIZE}}deg);',
783
  ],
784
  'condition' => [
785
+ '_ob_allow_hoveranimator' => 'yes',
 
786
  ],
787
  ]
788
  );
792
  [
793
  'label' => __( 'Rotation Hover', 'ooohboi-steroids' ),
794
  'type' => Controls_Manager::SLIDER,
 
795
  'range' => [
796
  'px' => [
797
  'min' => 0,
803
  'size' => 0,
804
  ],
805
  'condition' => [
806
+ '_ob_allow_hoveranimator' => 'yes',
 
807
  ],
808
+ 'frontend_available' => true,
809
  ]
810
  );
811
 
816
  'label' => __( 'Duration', 'ooohboi-steroids' ),
817
  'separator' => 'before',
818
  'type' => Controls_Manager::SLIDER,
 
819
  'render_type' => 'template',
820
  'default' => [
821
  'size' => 250,
827
  ],
828
  ],
829
  'selectors' => [
830
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
831
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
832
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
833
  ],
834
  'condition' => [
835
+ '_ob_allow_hoveranimator' => 'yes',
 
836
  ],
837
  ]
838
  );
843
  'label' => __( 'Delay', 'ooohboi-steroids' ),
844
  'separator' => 'before',
845
  'type' => Controls_Manager::SLIDER,
 
846
  'render_type' => 'template',
847
  'default' => [
848
  'size' => 0,
854
  ],
855
  ],
856
  'selectors' => [
857
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
858
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
859
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
860
  ],
861
  'condition' => [
862
+ '_ob_allow_hoveranimator' => 'yes',
 
863
  ],
864
  ]
865
  );
869
  [
870
  'label' => __( 'Easing', 'ooohboi-steroids' ),
871
  'type' => Controls_Manager::SELECT,
 
872
  'default' => 'ease',
873
  'separator' => 'before',
874
  'options' => [
878
  'ease-in-out' => __( 'Ease-in-out', 'ooohboi-steroids' ),
879
  ],
880
  'selectors' => [
881
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
882
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
883
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
884
  ],
885
  'condition' => [
886
+ '_ob_allow_hoveranimator' => 'yes',
 
887
  ],
888
  ]
889
  );
896
  [
897
  'label' => __( 'Blur', 'ooohboi-steroids' ),
898
  'type' => Controls_Manager::POPOVER_TOGGLE,
 
899
  'return_value' => 'yes',
900
  'condition' => [
901
  '_ob_allow_hoveranimator' => 'yes',
911
  [
912
  'label' => __( 'Blur Normal', 'ooohboi-steroids' ),
913
  'type' => Controls_Manager::SLIDER,
 
914
  'size_units' => [ 'px', 'em' ],
915
  'range' => [
916
  'px' => [
929
  'size' => 0,
930
  ],
931
  'selectors' => [
932
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'filter: blur({{SIZE}}{{UNIT}});',
933
  ],
934
  'condition' => [
935
+ '_ob_allow_hoveranimator' => 'yes',
 
936
  ],
937
  ]
938
  );
942
  [
943
  'label' => __( 'Blur Hover', 'ooohboi-steroids' ),
944
  'type' => Controls_Manager::SLIDER,
 
945
  'size_units' => [ 'px', 'em' ],
946
  'range' => [
947
  'px' => [
960
  'size' => 0,
961
  ],
962
  'condition' => [
963
+ '_ob_allow_hoveranimator' => 'yes',
 
964
  ],
965
+ 'frontend_available' => true,
966
  ]
967
  );
968
  // --------------------------------------------------------------------------------------------- CONTROL Blur duration
972
  'label' => __( 'Duration', 'ooohboi-steroids' ),
973
  'separator' => 'before',
974
  'type' => Controls_Manager::SLIDER,
 
975
  'render_type' => 'template',
976
  'default' => [
977
  'size' => 250,
983
  ],
984
  ],
985
  'selectors' => [
986
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{SIZE}}ms;
987
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
988
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
989
  ],
990
  'condition' => [
991
+ '_ob_allow_hoveranimator' => 'yes',
 
992
  ],
993
  ]
994
  );
999
  'label' => __( 'Delay', 'ooohboi-steroids' ),
1000
  'separator' => 'before',
1001
  'type' => Controls_Manager::SLIDER,
 
1002
  'render_type' => 'template',
1003
  'default' => [
1004
  'size' => 0,
1010
  ],
1011
  ],
1012
  'selectors' => [
1013
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
1014
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{_ob_hoveranimator_blur_easing.VALUE}};
1015
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{SIZE}}ms;',
1016
  ],
1017
  'condition' => [
1018
+ '_ob_allow_hoveranimator' => 'yes',
 
1019
  ],
1020
  ]
1021
  );
1025
  [
1026
  'label' => __( 'Easing', 'ooohboi-steroids' ),
1027
  'type' => Controls_Manager::SELECT,
 
1028
  'default' => 'ease',
1029
  'separator' => 'before',
1030
  'options' => [
1034
  'ease-in-out' => __( 'Ease-in-out', 'ooohboi-steroids' ),
1035
  ],
1036
  'selectors' => [
1037
+ '{{WRAPPER}}.ob-is-hoveranimal' => 'transition-duration: {{_ob_hoveranimator_opacity_duration.SIZE}}ms, {{_ob_hoveranimator_y_duration.SIZE}}ms, {{_ob_hoveranimator_x_duration.SIZE}}ms, {{_ob_hoveranimator_transform_duration.SIZE}}ms, {{_ob_hoveranimator_blur_duration.SIZE}}ms;
1038
  transition-timing-function: {{_ob_hoveranimator_opacity_easing.VALUE}}, {{_ob_hoveranimator_y_easing.VALUE}}, {{_ob_hoveranimator_x_easing.VALUE}}, {{_ob_hoveranimator_transform_easing.VALUE}}, {{VALUE}};
1039
  transition-delay: {{_ob_hoveranimator_opacity_delay.SIZE}}ms, {{_ob_hoveranimator_y_delay.SIZE}}ms, {{_ob_hoveranimator_x_delay.SIZE}}ms, {{_ob_hoveranimator_transform_delay.SIZE}}ms, {{_ob_hoveranimator_blur_delay.SIZE}}ms;',
1040
  ],
1041
 
1042
  'condition' => [
1043
+ '_ob_allow_hoveranimator' => 'yes',
 
1044
  ],
1045
  ]
1046
  );
controls/ooohboi-icobox.php CHANGED
@@ -85,22 +85,6 @@ final class OoohBoi_Icobox {
85
  ],
86
  ]
87
  );
88
- // ------------------------------------------------------------------------- since 1.8.1 - Prevent icon & title collapse on mobiles
89
- $element->add_control(
90
- '_ob_icobox_no_collapse',
91
- [
92
- 'label' => sprintf( __( 'Prevent Icon and Title Collapse%sNEW!%s', 'ooohboi-steroids' ), '<sup class="ob-new-feature">', '</sup>' ),
93
- 'description' => __( 'The icon sits atop the title on mobiles. Prevent that, huh?', 'ooohboi-steroids' ),
94
- 'separator' => 'before',
95
- 'type' => Controls_Manager::SWITCHER,
96
- 'label_on' => __( 'Yes', 'ooohboi-steroids' ),
97
- 'label_off' => __( 'No', 'ooohboi-steroids' ),
98
- 'return_value' => 'inherit',
99
- 'selectors' => [
100
- '{{WRAPPER}}.elementor-position-left .elementor-icon-box-wrapper, {{WRAPPER}}.elementor-position-right .elementor-icon-box-wrapper' => 'display: flex !important;',
101
- ],
102
- ]
103
- );
104
  // ------------------------------------------------------------------------- CONTROL: Yes 4 more controls
105
  $element->add_control(
106
  '_ob_icobox_override_defaults',
85
  ],
86
  ]
87
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  // ------------------------------------------------------------------------- CONTROL: Yes 4 more controls
89
  $element->add_control(
90
  '_ob_icobox_override_defaults',
controls/ooohboi-imbox.php CHANGED
@@ -86,22 +86,6 @@ final class OoohBoi_Imbox {
86
  ],
87
  ]
88
  );
89
- // ------------------------------------------------------------------------- since 1.8.1 - Prevent icon & title collapse on mobiles
90
- $element->add_control(
91
- '_ob_imbox_no_collapse',
92
- [
93
- 'label' => sprintf( __( 'Prevent Image and Title Collapse%sNEW!%s', 'ooohboi-steroids' ), '<sup class="ob-new-feature">', '</sup>' ),
94
- 'description' => __( 'The thumbnail sits atop the title on mobiles. Prevent that, huh?', 'ooohboi-steroids' ),
95
- 'separator' => 'before',
96
- 'type' => Controls_Manager::SWITCHER,
97
- 'label_on' => __( 'Yes', 'ooohboi-steroids' ),
98
- 'label_off' => __( 'No', 'ooohboi-steroids' ),
99
- 'return_value' => 'inherit',
100
- 'selectors' => [
101
- '{{WRAPPER}}.elementor-position-left .elementor-image-box-wrapper, {{WRAPPER}}.elementor-position-right .elementor-image-box-wrapper' => 'display: flex !important;',
102
- ],
103
- ]
104
- );
105
 
106
  // ------------------------------------------------------------------------- CONTROL: Yes 4 more controls
107
  $element->add_control(
@@ -324,28 +308,6 @@ final class OoohBoi_Imbox {
324
  ],
325
  ]
326
  );
327
- /* since 1.7.8 */
328
- // --------------------------------------------------------------------------------------------- Content Box Shadow
329
- $element->add_group_control(
330
- Group_Control_Box_Shadow::get_type(),
331
- [
332
- 'name' => '_ob_imbox_cont_shadow',
333
- 'label' => __( 'Box Shadow', 'ooohboi-steroids' ),
334
- 'separator' => 'before',
335
- 'selector' => '{{WRAPPER}} .elementor-image-box-content',
336
- 'fields_options' => [
337
- 'box_shadow' => [
338
- 'default' => [
339
- 'horizontal' => 0,
340
- 'vertical' => 0,
341
- 'blur' => 0,
342
- 'spread' => 0,
343
- 'color' => 'rgba(0,0,0,0.5)',
344
- ],
345
- ],
346
- ],
347
- ]
348
- );
349
 
350
  /* since 1.7.0 */
351
  // --------------------------------------------------------------------------------------------- CONTROL POPOVER BORDER
@@ -396,6 +358,9 @@ final class OoohBoi_Imbox {
396
  'selectors' => [
397
  '{{WRAPPER}} .elementor-image-box-content' => 'z-index: {{VALUE}}; position: relative;',
398
  ],
 
 
 
399
  ]
400
  );
401
 
86
  ],
87
  ]
88
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
 
90
  // ------------------------------------------------------------------------- CONTROL: Yes 4 more controls
91
  $element->add_control(
308
  ],
309
  ]
310
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
311
 
312
  /* since 1.7.0 */
313
  // --------------------------------------------------------------------------------------------- CONTROL POPOVER BORDER
358
  'selectors' => [
359
  '{{WRAPPER}} .elementor-image-box-content' => 'z-index: {{VALUE}}; position: relative;',
360
  ],
361
+ 'condition' => [
362
+ '_ob_imbox_overrides' => 'yes',
363
+ ],
364
  ]
365
  );
366
 
controls/ooohboi-overlaiz.php CHANGED
@@ -1,6 +1,4 @@
1
  <?php
2
- use Elementor\Core\Breakpoints\Breakpoint;
3
- use Elementor\Core\Breakpoints\Manager as Breakpoints_Manager;
4
  use Elementor\Controls_Manager;
5
  use Elementor\Controls_Stack;
6
  use Elementor\Group_Control_Border;
@@ -29,8 +27,7 @@ class OoohBoi_Overlaiz {
29
  public static function init() {
30
 
31
  add_action( 'elementor/element/section/section_background_overlay/before_section_end', [ __CLASS__, 'ooohboi_overlaiz_get_controls' ], 10, 2 );
32
- add_action( 'elementor/element/column/section_background_overlay/before_section_end', [ __CLASS__, 'ooohboi_overlaiz_get_controls' ], 10, 2 );
33
- add_action( 'elementor/element/container/section_background_overlay/before_section_end', [ __CLASS__, 'ooohboi_overlaiz_get_controls' ], 10, 2 );
34
 
35
  }
36
 
@@ -38,8 +35,8 @@ class OoohBoi_Overlaiz {
38
 
39
  // selector based on the current element
40
  $selector = '{{WRAPPER}} > .elementor-column-wrap > .elementor-background-overlay, {{WRAPPER}} > .elementor-widget-wrap > .elementor-background-overlay';
41
- if( 'section' == $element->get_name() ) $selector = '{{WRAPPER}} > .elementor-background-overlay';
42
- elseif( 'container' == $element->get_name() ) $selector = '{{WRAPPER}}.e-container--column:before';
43
 
44
 
45
  $element->add_control(
@@ -391,7 +388,7 @@ class OoohBoi_Overlaiz {
391
  'selector' => $selector,
392
  'condition' => [
393
  '_ob_overlaiz_use_it' => 'yes',
394
- 'background_overlay_background' => [ 'classic', 'gradient' ],
395
  ],
396
  ]
397
  );
@@ -401,18 +398,13 @@ class OoohBoi_Overlaiz {
401
  [
402
  'label' => __( 'Border Radius', 'ooohboi-steroids' ),
403
  'type' => Controls_Manager::DIMENSIONS,
404
- 'size_units' => [ 'px', '%' ],
405
- 'default' => [
406
- 'unit' => 'px',
407
- 'size' => 0,
408
- ],
409
  'selectors' => [
410
  $selector => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
411
  ],
412
  'condition' => [
413
  '_ob_overlaiz_use_it' => 'yes',
414
- 'background_overlay_background' => [ 'classic', 'gradient' ],
415
- '_ob_overlaiz_popover_border' => 'yes',
416
  ],
417
  ]
418
  );
@@ -453,7 +445,6 @@ class OoohBoi_Overlaiz {
453
  'label' => __( 'Clip path', 'ooohboi-steroids' ),
454
  'type' => Controls_Manager::POPOVER_TOGGLE,
455
  'return_value' => 'yes',
456
- 'frontend_available' => true,
457
  'condition' => [
458
  '_ob_overlaiz_use_it' => 'yes',
459
  'background_overlay_background' => [ 'classic', 'gradient' ],
@@ -480,7 +471,6 @@ class OoohBoi_Overlaiz {
480
  'condition' => [
481
  '_ob_overlaiz_use_it' => 'yes',
482
  'background_overlay_background' => [ 'classic', 'gradient' ],
483
- '_ob_overlaiz_clip_path_popover' => 'yes',
484
  ],
485
  ]
486
  );
@@ -499,7 +489,7 @@ class OoohBoi_Overlaiz {
499
  'condition' => [
500
  '_ob_overlaiz_use_it' => 'yes',
501
  'background_overlay_background' => [ 'classic', 'gradient' ],
502
-
503
  ],
504
  ]
505
  );
@@ -522,7 +512,7 @@ class OoohBoi_Overlaiz {
522
  'condition' => [
523
  '_ob_overlaiz_use_it' => 'yes',
524
  'background_overlay_background' => [ 'classic', 'gradient' ],
525
- '_ob_overlaiz_popover_masq' => 'yes',
526
  ],
527
  ]
528
  );
@@ -551,8 +541,8 @@ class OoohBoi_Overlaiz {
551
  'condition' => [
552
  '_ob_overlaiz_use_it' => 'yes',
553
  'background_overlay_background' => [ 'classic', 'gradient' ],
554
- '_ob_overlaiz_mask_img[url]!' => '',
555
- '_ob_overlaiz_popover_masq' => 'yes',
556
  ],
557
  ]
558
  );
@@ -576,8 +566,8 @@ class OoohBoi_Overlaiz {
576
  'condition' => [
577
  '_ob_overlaiz_use_it' => 'yes',
578
  'background_overlay_background' => [ 'classic', 'gradient' ],
579
- '_ob_overlaiz_mask_img[url]!' => '',
580
- '_ob_overlaiz_popover_masq' => 'yes',
581
  ],
582
  ]
583
  );
@@ -608,9 +598,9 @@ class OoohBoi_Overlaiz {
608
  'condition' => [
609
  '_ob_overlaiz_use_it' => 'yes',
610
  'background_overlay_background' => [ 'classic', 'gradient' ],
 
611
  '_ob_overlaiz_mask_size' => [ 'initial' ],
612
- '_ob_overlaiz_mask_img[url]!' => '',
613
- '_ob_overlaiz_popover_masq' => 'yes',
614
  ],
615
  'device_args' => [
616
  Controls_Stack::RESPONSIVE_TABLET => [
@@ -620,8 +610,8 @@ class OoohBoi_Overlaiz {
620
  'condition' => [
621
  '_ob_overlaiz_use_it' => 'yes',
622
  'background_overlay_background' => [ 'classic', 'gradient' ],
623
- '_ob_overlaiz_mask_size_tablet' => [ 'initial' ],
624
- '_ob_overlaiz_popover_masq' => 'yes',
625
  ],
626
  ],
627
  Controls_Stack::RESPONSIVE_MOBILE => [
@@ -631,8 +621,8 @@ class OoohBoi_Overlaiz {
631
  'condition' => [
632
  '_ob_overlaiz_use_it' => 'yes',
633
  'background_overlay_background' => [ 'classic', 'gradient' ],
 
634
  '_ob_overlaiz_mask_size_mobile' => [ 'initial' ],
635
- '_ob_overlaiz_popover_masq' => 'yes',
636
  ],
637
  ],
638
  ],
@@ -657,8 +647,8 @@ class OoohBoi_Overlaiz {
657
  'condition' => [
658
  '_ob_overlaiz_use_it' => 'yes',
659
  'background_overlay_background' => [ 'classic', 'gradient' ],
 
660
  '_ob_overlaiz_mask_img[url]!' => '',
661
- '_ob_overlaiz_popover_masq' => 'yes',
662
  ],
663
  ]
664
  );
1
  <?php
 
 
2
  use Elementor\Controls_Manager;
3
  use Elementor\Controls_Stack;
4
  use Elementor\Group_Control_Border;
27
  public static function init() {
28
 
29
  add_action( 'elementor/element/section/section_background_overlay/before_section_end', [ __CLASS__, 'ooohboi_overlaiz_get_controls' ], 10, 2 );
30
+ add_action( 'elementor/element/column/section_background_overlay/before_section_end', [ __CLASS__, 'ooohboi_overlaiz_get_controls' ], 10, 2 );
 
31
 
32
  }
33
 
35
 
36
  // selector based on the current element
37
  $selector = '{{WRAPPER}} > .elementor-column-wrap > .elementor-background-overlay, {{WRAPPER}} > .elementor-widget-wrap > .elementor-background-overlay';
38
+ if( 'section' == $element->get_name() )
39
+ $selector = '{{WRAPPER}} > .elementor-background-overlay';
40
 
41
 
42
  $element->add_control(
388
  'selector' => $selector,
389
  'condition' => [
390
  '_ob_overlaiz_use_it' => 'yes',
391
+ 'background_overlay_background' => [ 'classic', 'gradient' ],
392
  ],
393
  ]
394
  );
398
  [
399
  'label' => __( 'Border Radius', 'ooohboi-steroids' ),
400
  'type' => Controls_Manager::DIMENSIONS,
401
+ 'size_units' => [ 'px', '%' ],
 
 
 
 
402
  'selectors' => [
403
  $selector => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
404
  ],
405
  'condition' => [
406
  '_ob_overlaiz_use_it' => 'yes',
407
+ 'background_overlay_background' => [ 'classic', 'gradient' ],
 
408
  ],
409
  ]
410
  );
445
  'label' => __( 'Clip path', 'ooohboi-steroids' ),
446
  'type' => Controls_Manager::POPOVER_TOGGLE,
447
  'return_value' => 'yes',
 
448
  'condition' => [
449
  '_ob_overlaiz_use_it' => 'yes',
450
  'background_overlay_background' => [ 'classic', 'gradient' ],
471
  'condition' => [
472
  '_ob_overlaiz_use_it' => 'yes',
473
  'background_overlay_background' => [ 'classic', 'gradient' ],
 
474
  ],
475
  ]
476
  );
489
  'condition' => [
490
  '_ob_overlaiz_use_it' => 'yes',
491
  'background_overlay_background' => [ 'classic', 'gradient' ],
492
+ /*'background_overlay_image[url]!' => '',*/
493
  ],
494
  ]
495
  );
512
  'condition' => [
513
  '_ob_overlaiz_use_it' => 'yes',
514
  'background_overlay_background' => [ 'classic', 'gradient' ],
515
+ /*'background_overlay_image[url]!' => '',*/
516
  ],
517
  ]
518
  );
541
  'condition' => [
542
  '_ob_overlaiz_use_it' => 'yes',
543
  'background_overlay_background' => [ 'classic', 'gradient' ],
544
+ /*'background_overlay_image[url]!' => '', */
545
+ '_ob_overlaiz_mask_img[url]!' => '',
546
  ],
547
  ]
548
  );
566
  'condition' => [
567
  '_ob_overlaiz_use_it' => 'yes',
568
  'background_overlay_background' => [ 'classic', 'gradient' ],
569
+ /*'background_overlay_image[url]!' => '',*/
570
+ '_ob_overlaiz_mask_img[url]!' => '',
571
  ],
572
  ]
573
  );
598
  'condition' => [
599
  '_ob_overlaiz_use_it' => 'yes',
600
  'background_overlay_background' => [ 'classic', 'gradient' ],
601
+ /*'background_overlay_image[url]!' => '',*/
602
  '_ob_overlaiz_mask_size' => [ 'initial' ],
603
+ '_ob_overlaiz_mask_img[url]!' => '',
 
604
  ],
605
  'device_args' => [
606
  Controls_Stack::RESPONSIVE_TABLET => [
610
  'condition' => [
611
  '_ob_overlaiz_use_it' => 'yes',
612
  'background_overlay_background' => [ 'classic', 'gradient' ],
613
+ /*'background_overlay_image[url]!' => '',*/
614
+ '_ob_overlaiz_mask_size_tablet' => [ 'initial' ],
615
  ],
616
  ],
617
  Controls_Stack::RESPONSIVE_MOBILE => [
621
  'condition' => [
622
  '_ob_overlaiz_use_it' => 'yes',
623
  'background_overlay_background' => [ 'classic', 'gradient' ],
624
+ /*'background_overlay_image[url]!' => '',*/
625
  '_ob_overlaiz_mask_size_mobile' => [ 'initial' ],
 
626
  ],
627
  ],
628
  ],
647
  'condition' => [
648
  '_ob_overlaiz_use_it' => 'yes',
649
  'background_overlay_background' => [ 'classic', 'gradient' ],
650
+ /*'background_overlay_image[url]!' => '',*/
651
  '_ob_overlaiz_mask_img[url]!' => '',
 
652
  ],
653
  ]
654
  );
controls/ooohboi-overlay-underlay.php CHANGED
@@ -19,8 +19,6 @@ if ( ! defined( 'ABSPATH' ) ) {
19
  */
20
  class OoohBoi_Overlay_Underlay {
21
 
22
- static $should_script_enqueue = false;
23
-
24
  /**
25
  * Initialize
26
  *
@@ -36,55 +34,31 @@ class OoohBoi_Overlay_Underlay {
36
  add_action( 'elementor/element/wp-post/document_settings/before_section_end', [ __CLASS__, 'poopart_remove_horizontal_scroller' ] );
37
  add_action( 'elementor/element/wp-page/document_settings/before_section_end', [ __CLASS__, 'poopart_remove_horizontal_scroller' ] );
38
 
39
- /* should enqueue? */
40
- add_action( 'elementor/frontend/widget/before_render', [ __CLASS__, 'should_script_enqueue' ] );
41
- /* add script */
42
- add_action( 'elementor/preview/enqueue_scripts', [ __CLASS__, 'enqueue_scripts' ] );
43
-
44
  }
45
 
46
- /* enqueue script JS */
47
- public static function enqueue_scripts() {
48
-
49
- $extension_js = plugin_dir_path( __DIR__ ) . 'assets/js/poopart-min.js';
50
 
51
- if( file_exists( $extension_js ) ) {
52
- wp_add_inline_script( 'elementor-frontend', file_get_contents( $extension_js ) );
53
  }
54
 
55
- }
56
- /* should enqueue? */
57
- public static function should_script_enqueue( $element ) {
58
-
59
- if( self::$should_script_enqueue ) return;
60
-
61
- if( 'yes' == $element->get_settings_for_display( '_ob_butterbutton_use_it' ) ) {
62
-
63
- self::$should_script_enqueue = true;
64
- self::enqueue_scripts();
65
-
66
- remove_action( 'elementor/frontend/section/before_render', [ __CLASS__, 'should_script_enqueue' ] );
67
  }
68
- }
69
-
70
- public static function add_attributes( Element_Base $element ) {
71
-
72
- if ( in_array( $element->get_name(), [ 'section', 'column', 'container' ] ) ) return;
73
- if ( \Elementor\Plugin::instance()->editor->is_edit_mode() ) return;
74
 
75
  $settings = $element->get_settings_for_display();
76
 
77
- if ( isset( $settings[ '_ob_poopart_use' ] ) && 'yes' === $settings[ '_ob_poopart_use' ] ) {
78
-
79
- $element->add_render_attribute( '_wrapper', [
80
- 'class' => 'ob-has-background-overlay'
81
- ] );
82
 
 
 
83
  }
84
 
85
  }
86
 
87
-
88
  public static function add_section( Element_Base $element ) {
89
 
90
  $element->start_controls_section(
@@ -95,21 +69,6 @@ class OoohBoi_Overlay_Underlay {
95
  ]
96
  );
97
 
98
- // --------------------------------------------------------------------------------------------- CONTROL: Use Butter Button
99
- $element->add_control(
100
- '_ob_poopart_use',
101
- [
102
- 'label' => __( 'Enable PoopArt?', 'ooohboi-steroids' ),
103
- 'separator' => 'after',
104
- 'type' => Controls_Manager::SWITCHER,
105
- 'label_on' => __( 'Yes', 'ooohboi-steroids' ),
106
- 'label_off' => __( 'No', 'ooohboi-steroids' ),
107
- 'return_value' => 'yes',
108
- 'default' => 'yes',
109
- 'frontend_available' => true,
110
- ]
111
- );
112
-
113
  // --------------------------------------------------------------------------------------------- START 2 TABS Overlay & Underlay
114
  $element->start_controls_tabs( '_ob_steroids_tabs' );
115
 
@@ -126,9 +85,6 @@ class OoohBoi_Overlay_Underlay {
126
  [
127
  'name' => '_ob_steroids_overlay_background',
128
  'selector' => '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:before',
129
- 'condition' => [
130
- '_ob_poopart_use' => 'yes',
131
- ],
132
  ]
133
  );
134
  // --------------------------------------------------------------------------------------------- CONTROL BACKGROUND OPACITY
@@ -151,7 +107,6 @@ class OoohBoi_Overlay_Underlay {
151
  ],
152
  'condition' => [
153
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
154
- '_ob_poopart_use' => 'yes',
155
  ],
156
  ]
157
  );
@@ -163,7 +118,6 @@ class OoohBoi_Overlay_Underlay {
163
  'selector' => '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:before',
164
  'condition' => [
165
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
166
- '_ob_poopart_use' => 'yes',
167
  ],
168
  ]
169
  );
@@ -190,7 +144,6 @@ class OoohBoi_Overlay_Underlay {
190
  ],
191
  'condition' => [
192
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
193
- '_ob_poopart_use' => 'yes',
194
  ],
195
  ]
196
  );
@@ -204,7 +157,6 @@ class OoohBoi_Overlay_Underlay {
204
  'frontend_available' => true,
205
  'condition' => [
206
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
207
- '_ob_poopart_use' => 'yes',
208
  ],
209
  ]
210
  );
@@ -250,8 +202,6 @@ class OoohBoi_Overlay_Underlay {
250
  'condition' => [
251
  '_ob_steroids_overlay_w_alt' => '',
252
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
253
- '_ob_steroids_overlay_popover_whyxrot' => 'yes',
254
- '_ob_poopart_use' => 'yes',
255
  ],
256
  ]
257
  );
@@ -267,8 +217,6 @@ class OoohBoi_Overlay_Underlay {
267
  ],
268
  'condition' => [
269
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
270
- '_ob_steroids_overlay_popover_whyxrot' => 'yes',
271
- '_ob_poopart_use' => 'yes',
272
  ],
273
  ]
274
  );
@@ -311,8 +259,6 @@ class OoohBoi_Overlay_Underlay {
311
  'condition' => [
312
  '_ob_steroids_overlay_h_alt' => '',
313
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
314
- '_ob_steroids_overlay_popover_whyxrot' => 'yes',
315
- '_ob_poopart_use' => 'yes',
316
  ],
317
  ]
318
  );
@@ -328,8 +274,6 @@ class OoohBoi_Overlay_Underlay {
328
  ],
329
  'condition' => [
330
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
331
- '_ob_steroids_overlay_popover_whyxrot' => 'yes',
332
- '_ob_poopart_use' => 'yes',
333
  ],
334
  ]
335
  );
@@ -372,8 +316,6 @@ class OoohBoi_Overlay_Underlay {
372
  'condition' => [
373
  '_ob_steroids_overlay_y_alt' => '',
374
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
375
- '_ob_steroids_overlay_popover_whyxrot' => 'yes',
376
- '_ob_poopart_use' => 'yes',
377
  ],
378
  ]
379
  );
@@ -389,8 +331,6 @@ class OoohBoi_Overlay_Underlay {
389
  ],
390
  'condition' => [
391
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
392
- '_ob_steroids_overlay_popover_whyxrot' => 'yes',
393
- '_ob_poopart_use' => 'yes',
394
  ],
395
  ]
396
  );
@@ -433,8 +373,6 @@ class OoohBoi_Overlay_Underlay {
433
  'condition' => [
434
  '_ob_steroids_overlay_x_alt' => '',
435
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
436
- '_ob_steroids_overlay_popover_whyxrot' => 'yes',
437
- '_ob_poopart_use' => 'yes',
438
  ],
439
  ]
440
  );
@@ -450,8 +388,6 @@ class OoohBoi_Overlay_Underlay {
450
  ],
451
  'condition' => [
452
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
453
- '_ob_steroids_overlay_popover_whyxrot' => 'yes',
454
- '_ob_poopart_use' => 'yes',
455
  ],
456
  ]
457
  );
@@ -477,7 +413,6 @@ class OoohBoi_Overlay_Underlay {
477
  ],
478
  'condition' => [
479
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
480
- '_ob_poopart_use' => 'yes',
481
  ],
482
  ]
483
  );
@@ -494,7 +429,6 @@ class OoohBoi_Overlay_Underlay {
494
  'frontend_available' => true,
495
  'condition' => [
496
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
497
- '_ob_poopart_use' => 'yes',
498
  ],
499
  ]
500
  );
@@ -525,8 +459,6 @@ class OoohBoi_Overlay_Underlay {
525
  ],
526
  'condition' => [
527
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
528
- '_ob_steroids_overlay_popover_border' => 'yes',
529
- '_ob_poopart_use' => 'yes',
530
  ],
531
  ]
532
  );
@@ -543,7 +475,6 @@ class OoohBoi_Overlay_Underlay {
543
  'frontend_available' => true,
544
  'condition' => [
545
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
546
- '_ob_poopart_use' => 'yes',
547
  ],
548
  ]
549
  );
@@ -565,8 +496,6 @@ class OoohBoi_Overlay_Underlay {
565
  ],
566
  'condition' => [
567
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
568
- '_ob_steroids_overlay_popover_masq' => 'yes',
569
- '_ob_poopart_use' => 'yes',
570
  ],
571
  ]
572
  );
@@ -595,8 +524,6 @@ class OoohBoi_Overlay_Underlay {
595
  'condition' => [
596
  '_ob_steroids_overlay_mask_img[url]!' => '',
597
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
598
- '_ob_steroids_overlay_popover_masq' => 'yes',
599
- '_ob_poopart_use' => 'yes',
600
  ],
601
  ]
602
  );
@@ -620,8 +547,6 @@ class OoohBoi_Overlay_Underlay {
620
  'condition' => [
621
  '_ob_steroids_overlay_mask_img[url]!' => '',
622
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
623
- '_ob_steroids_overlay_popover_masq' => 'yes',
624
- '_ob_poopart_use' => 'yes',
625
  ],
626
  ]
627
  );
@@ -653,8 +578,6 @@ class OoohBoi_Overlay_Underlay {
653
  '_ob_steroids_overlay_mask_size' => [ 'initial' ],
654
  '_ob_steroids_overlay_mask_img[url]!' => '',
655
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
656
- '_ob_steroids_overlay_popover_masq' => 'yes',
657
- '_ob_poopart_use' => 'yes',
658
  ],
659
  'device_args' => [
660
  Controls_Stack::RESPONSIVE_TABLET => [
@@ -662,9 +585,7 @@ class OoohBoi_Overlay_Underlay {
662
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:before' => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
663
  ],
664
  'condition' => [
665
- '_ob_steroids_overlay_mask_size_tablet' => [ 'initial' ],
666
- '_ob_steroids_overlay_popover_masq' => 'yes',
667
- '_ob_poopart_use' => 'yes',
668
  ],
669
  ],
670
  Controls_Stack::RESPONSIVE_MOBILE => [
@@ -673,8 +594,6 @@ class OoohBoi_Overlay_Underlay {
673
  ],
674
  'condition' => [
675
  '_ob_steroids_overlay_mask_size_mobile' => [ 'initial' ],
676
- '_ob_steroids_overlay_popover_masq' => 'yes',
677
- '_ob_poopart_use' => 'yes',
678
  ],
679
  ],
680
  ],
@@ -699,8 +618,6 @@ class OoohBoi_Overlay_Underlay {
699
  'condition' => [
700
  '_ob_steroids_overlay_mask_img[url]!' => '',
701
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
702
- '_ob_steroids_overlay_popover_masq' => 'yes',
703
- '_ob_poopart_use' => 'yes',
704
  ],
705
  ]
706
  );
@@ -725,7 +642,6 @@ class OoohBoi_Overlay_Underlay {
725
  ],
726
  'condition' => [
727
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
728
- '_ob_poopart_use' => 'yes',
729
  ],
730
  ]
731
  );
@@ -744,7 +660,6 @@ class OoohBoi_Overlay_Underlay {
744
  'label_block' => false,
745
  'condition' => [
746
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
747
- '_ob_poopart_use' => 'yes',
748
  ],
749
  ]
750
  );
@@ -765,10 +680,7 @@ class OoohBoi_Overlay_Underlay {
765
  Group_Control_Background::get_type(),
766
  [
767
  'name' => '_ob_steroids_underlay_background',
768
- 'selector' => '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after',
769
- 'condition' => [
770
- '_ob_poopart_use' => 'yes',
771
- ],
772
  ]
773
  );
774
  // --------------------------------------------------------------------------------------------- CONTROL BACKGROUND OPACITY
@@ -791,7 +703,6 @@ class OoohBoi_Overlay_Underlay {
791
  ],
792
  'condition' => [
793
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
794
- '_ob_poopart_use' => 'yes',
795
  ],
796
  ]
797
  );
@@ -803,7 +714,6 @@ class OoohBoi_Overlay_Underlay {
803
  'selector' => '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after',
804
  'condition' => [
805
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
806
- '_ob_poopart_use' => 'yes',
807
  ],
808
  ]
809
  );
@@ -830,7 +740,6 @@ class OoohBoi_Overlay_Underlay {
830
  ],
831
  'condition' => [
832
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
833
- '_ob_poopart_use' => 'yes',
834
  ],
835
  ]
836
  );
@@ -844,7 +753,6 @@ class OoohBoi_Overlay_Underlay {
844
  'frontend_available' => true,
845
  'condition' => [
846
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
847
- '_ob_poopart_use' => 'yes',
848
  ],
849
  ]
850
  );
@@ -889,8 +797,6 @@ class OoohBoi_Overlay_Underlay {
889
  ],
890
  'condition' => [
891
  '_ob_steroids_underlay_w_alt' => '',
892
- '_ob_steroids_underlay_popover_whyxrot' => 'yes',
893
- '_ob_poopart_use' => 'yes',
894
  ],
895
  ]
896
  );
@@ -904,10 +810,6 @@ class OoohBoi_Overlay_Underlay {
904
  'selectors' => [
905
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after' => 'width: calc({{VALUE}});',
906
  ],
907
- 'condition' => [
908
- '_ob_steroids_underlay_popover_whyxrot' => 'yes',
909
- '_ob_poopart_use' => 'yes',
910
- ],
911
  ]
912
  );
913
  // --------------------------------------------------------------------------------------------- CONTROL POPOVER HEIGHT
@@ -948,8 +850,6 @@ class OoohBoi_Overlay_Underlay {
948
  ],
949
  'condition' => [
950
  '_ob_steroids_underlay_h_alt' => '',
951
- '_ob_steroids_underlay_popover_whyxrot' => 'yes',
952
- '_ob_poopart_use' => 'yes',
953
  ],
954
  ]
955
  );
@@ -963,10 +863,6 @@ class OoohBoi_Overlay_Underlay {
963
  'selectors' => [
964
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after' => 'height: calc({{VALUE}});',
965
  ],
966
- 'condition' => [
967
- '_ob_steroids_underlay_popover_whyxrot' => 'yes',
968
- '_ob_poopart_use' => 'yes',
969
- ],
970
  ]
971
  );
972
  // --------------------------------------------------------------------------------------------- CONTROL POPOVER OFFSET TOP
@@ -1007,8 +903,6 @@ class OoohBoi_Overlay_Underlay {
1007
  ],
1008
  'condition' => [
1009
  '_ob_steroids_underlay_y_alt' => '',
1010
- '_ob_steroids_underlay_popover_whyxrot' => 'yes',
1011
- '_ob_poopart_use' => 'yes',
1012
  ],
1013
  ]
1014
  );
@@ -1022,10 +916,6 @@ class OoohBoi_Overlay_Underlay {
1022
  'selectors' => [
1023
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after' => 'top: calc({{VALUE}});',
1024
  ],
1025
- 'condition' => [
1026
- '_ob_steroids_underlay_popover_whyxrot' => 'yes',
1027
- '_ob_poopart_use' => 'yes',
1028
- ],
1029
  ]
1030
  );
1031
  // --------------------------------------------------------------------------------------------- CONTROL POPOVER OFFSET LEFT
@@ -1066,8 +956,6 @@ class OoohBoi_Overlay_Underlay {
1066
  ],
1067
  'condition' => [
1068
  '_ob_steroids_underlay_x_alt' => '',
1069
- '_ob_steroids_underlay_popover_whyxrot' => 'yes',
1070
- '_ob_poopart_use' => 'yes',
1071
  ],
1072
  ]
1073
  );
@@ -1081,10 +969,6 @@ class OoohBoi_Overlay_Underlay {
1081
  'selectors' => [
1082
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after' => 'left: calc({{VALUE}});',
1083
  ],
1084
- 'condition' => [
1085
- '_ob_steroids_underlay_popover_whyxrot' => 'yes',
1086
- '_ob_poopart_use' => 'yes',
1087
- ],
1088
  ]
1089
  );
1090
  // --------------------------------------------------------------------------------------------- CONTROL POPOVER ROTATION
@@ -1107,10 +991,6 @@ class OoohBoi_Overlay_Underlay {
1107
  'selectors' => [
1108
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after' => 'transform: rotate({{SIZE}}deg);',
1109
  ],
1110
- 'condition' => [
1111
- '_ob_steroids_underlay_popover_whyxrot' => 'yes',
1112
- '_ob_poopart_use' => 'yes',
1113
- ],
1114
  ]
1115
  );
1116
 
@@ -1126,7 +1006,6 @@ class OoohBoi_Overlay_Underlay {
1126
  'frontend_available' => true,
1127
  'condition' => [
1128
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
1129
- '_ob_poopart_use' => 'yes',
1130
  ],
1131
  ]
1132
  );
@@ -1142,7 +1021,6 @@ class OoohBoi_Overlay_Underlay {
1142
  'selector' => '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after',
1143
  'condition' => [
1144
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
1145
- '_ob_poopart_use' => 'yes',
1146
  ],
1147
  ]
1148
  );
@@ -1158,8 +1036,6 @@ class OoohBoi_Overlay_Underlay {
1158
  ],
1159
  'condition' => [
1160
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
1161
- '_ob_steroids_underlay_popover_border' => 'yes',
1162
- '_ob_poopart_use' => 'yes',
1163
  ],
1164
  ]
1165
  );
@@ -1197,8 +1073,6 @@ class OoohBoi_Overlay_Underlay {
1197
  ],
1198
  'condition' => [
1199
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
1200
- '_ob_steroids_underlay_popover_masq' => 'yes',
1201
- '_ob_poopart_use' => 'yes',
1202
  ],
1203
  ]
1204
  );
@@ -1226,8 +1100,6 @@ class OoohBoi_Overlay_Underlay {
1226
  ],
1227
  'condition' => [
1228
  '_ob_steroids_underlay_mask_img[url]!' => '',
1229
- '_ob_steroids_underlay_popover_masq' => 'yes',
1230
- '_ob_poopart_use' => 'yes',
1231
  ],
1232
  ]
1233
  );
@@ -1250,8 +1122,6 @@ class OoohBoi_Overlay_Underlay {
1250
  ],
1251
  'condition' => [
1252
  '_ob_steroids_underlay_mask_img[url]!' => '',
1253
- '_ob_steroids_underlay_popover_masq' => 'yes',
1254
- '_ob_poopart_use' => 'yes',
1255
  ],
1256
  ]
1257
  );
@@ -1281,9 +1151,7 @@ class OoohBoi_Overlay_Underlay {
1281
  ],
1282
  'condition' => [
1283
  '_ob_steroids_underlay_mask_size' => [ 'initial' ],
1284
- '_ob_steroids_underlay_mask_img[url]!' => '',
1285
- '_ob_steroids_underlay_popover_masq' => 'yes',
1286
- '_ob_poopart_use' => 'yes',
1287
  ],
1288
  'device_args' => [
1289
  Controls_Stack::RESPONSIVE_TABLET => [
@@ -1291,9 +1159,7 @@ class OoohBoi_Overlay_Underlay {
1291
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after' => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
1292
  ],
1293
  'condition' => [
1294
- '_ob_steroids_underlay_mask_size_tablet' => [ 'initial' ],
1295
- '_ob_steroids_underlay_popover_masq' => 'yes',
1296
- '_ob_poopart_use' => 'yes',
1297
  ],
1298
  ],
1299
  Controls_Stack::RESPONSIVE_MOBILE => [
@@ -1302,8 +1168,6 @@ class OoohBoi_Overlay_Underlay {
1302
  ],
1303
  'condition' => [
1304
  '_ob_steroids_underlay_mask_size_mobile' => [ 'initial' ],
1305
- '_ob_steroids_underlay_popover_masq' => 'yes',
1306
- '_ob_poopart_use' => 'yes',
1307
  ],
1308
  ],
1309
  ],
@@ -1326,9 +1190,7 @@ class OoohBoi_Overlay_Underlay {
1326
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after' => '-webkit-mask-repeat: {{VALUE}}; mask-repeat: {{VALUE}};',
1327
  ],
1328
  'condition' => [
1329
- '_ob_steroids_underlay_mask_img[url]!' => '',
1330
- '_ob_steroids_underlay_popover_masq' => 'yes',
1331
- '_ob_poopart_use' => 'yes',
1332
  ],
1333
  ]
1334
  );
@@ -1352,8 +1214,7 @@ class OoohBoi_Overlay_Underlay {
1352
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after' => '{{VALUE}}',
1353
  ],
1354
  'condition' => [
1355
- '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
1356
- '_ob_poopart_use' => 'yes',
1357
  ],
1358
  ]
1359
  );
@@ -1372,7 +1233,6 @@ class OoohBoi_Overlay_Underlay {
1372
  'label_block' => false,
1373
  'condition' => [
1374
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
1375
- '_ob_poopart_use' => 'yes',
1376
  ],
1377
  ]
1378
  );
@@ -1398,7 +1258,7 @@ class OoohBoi_Overlay_Underlay {
1398
  'label_on' => __( 'Yes', 'ooohboi-steroids' ),
1399
  'label_off' => __( 'No', 'ooohboi-steroids' ),
1400
  'return_value' => 'hidden',
1401
- 'default' => 'auto',
1402
  'selectors' => [
1403
  'html, body' => 'overflow-x: {{VALUE}};',
1404
  ],
@@ -1465,7 +1325,7 @@ class OoohBoi_Overlay_Underlay {
1465
  'size' => 4,
1466
  ],
1467
  'selectors' => [
1468
- 'html.elementor-html::before' => 'background-image: repeating-linear-gradient(to right, {{_ob_steroids_baseline_grid_color.VALUE}}, {{_ob_steroids_baseline_grid_color.VALUE}} 1px, transparent 1px, transparent), repeating-linear-gradient(to bottom, {{_ob_steroids_baseline_grid_color.VALUE}}, {{_ob_steroids_baseline_grid_color.VALUE}} 1px, transparent 1px, transparent);background-size: {{SIZE}}{{UNIT}} {{SIZE}}{{UNIT}};',
1469
  ],
1470
  'condition' => [
1471
  '_ob_steroids_use_baseline_grid' => 'yes',
@@ -1489,7 +1349,7 @@ class OoohBoi_Overlay_Underlay {
1489
  'size' => 8,
1490
  ],
1491
  'selectors' => [
1492
- 'html.elementor-html::before' => 'background-image: repeating-linear-gradient(90deg, {{_ob_steroids_baseline_grid_color.VALUE}}, {{_ob_steroids_baseline_grid_color.VALUE}} 1px, transparent 1px, transparent);background-size: {{SIZE}}{{UNIT}} {{SIZE}}{{UNIT}};',
1493
  ],
1494
  'condition' => [
1495
  '_ob_steroids_use_baseline_grid' => 'yes',
@@ -1513,7 +1373,7 @@ class OoohBoi_Overlay_Underlay {
1513
  'size' => 8,
1514
  ],
1515
  'selectors' => [
1516
- 'html.elementor-html::before' => 'background-image: repeating-linear-gradient(0deg, {{_ob_steroids_baseline_grid_color.VALUE}}, {{_ob_steroids_baseline_grid_color.VALUE}} 1px, transparent 1px, transparent);background-size: {{SIZE}}{{UNIT}} {{SIZE}}{{UNIT}};',
1517
  ],
1518
  'condition' => [
1519
  '_ob_steroids_use_baseline_grid' => 'yes',
19
  */
20
  class OoohBoi_Overlay_Underlay {
21
 
 
 
22
  /**
23
  * Initialize
24
  *
34
  add_action( 'elementor/element/wp-post/document_settings/before_section_end', [ __CLASS__, 'poopart_remove_horizontal_scroller' ] );
35
  add_action( 'elementor/element/wp-page/document_settings/before_section_end', [ __CLASS__, 'poopart_remove_horizontal_scroller' ] );
36
 
 
 
 
 
 
37
  }
38
 
39
+ public static function add_attributes( Element_Base $element ) {
 
 
 
40
 
41
+ if ( in_array( $element->get_name(), [ 'section', 'column' ] ) ) {
42
+ return;
43
  }
44
 
45
+ if ( \Elementor\Plugin::instance()->editor->is_edit_mode() ) {
46
+ return;
 
 
 
 
 
 
 
 
 
 
47
  }
 
 
 
 
 
 
48
 
49
  $settings = $element->get_settings_for_display();
50
 
51
+ $overlay_bg = isset( $settings[ '_ob_steroids_overlay_background_background' ] ) ? $settings[ '_ob_steroids_overlay_background_background' ] : '';
52
+ $underlay_bg = isset( $settings[ '_ob_steroids_underlay_background_background' ] ) ? $settings[ '_ob_steroids_underlay_background_background' ] : '';
53
+
54
+ $has_background_overlay = ( in_array( $overlay_bg, [ 'classic', 'gradient' ], true ) || in_array( $underlay_bg, [ 'classic', 'gradient' ], true ) );
 
55
 
56
+ if ( $has_background_overlay ) {
57
+ $element->add_render_attribute( '_wrapper', 'class', 'ob-has-background-overlay' );
58
  }
59
 
60
  }
61
 
 
62
  public static function add_section( Element_Base $element ) {
63
 
64
  $element->start_controls_section(
69
  ]
70
  );
71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  // --------------------------------------------------------------------------------------------- START 2 TABS Overlay & Underlay
73
  $element->start_controls_tabs( '_ob_steroids_tabs' );
74
 
85
  [
86
  'name' => '_ob_steroids_overlay_background',
87
  'selector' => '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:before',
 
 
 
88
  ]
89
  );
90
  // --------------------------------------------------------------------------------------------- CONTROL BACKGROUND OPACITY
107
  ],
108
  'condition' => [
109
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
110
  ],
111
  ]
112
  );
118
  'selector' => '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:before',
119
  'condition' => [
120
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
121
  ],
122
  ]
123
  );
144
  ],
145
  'condition' => [
146
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
147
  ],
148
  ]
149
  );
157
  'frontend_available' => true,
158
  'condition' => [
159
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
160
  ],
161
  ]
162
  );
202
  'condition' => [
203
  '_ob_steroids_overlay_w_alt' => '',
204
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
 
205
  ],
206
  ]
207
  );
217
  ],
218
  'condition' => [
219
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
 
220
  ],
221
  ]
222
  );
259
  'condition' => [
260
  '_ob_steroids_overlay_h_alt' => '',
261
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
 
262
  ],
263
  ]
264
  );
274
  ],
275
  'condition' => [
276
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
 
277
  ],
278
  ]
279
  );
316
  'condition' => [
317
  '_ob_steroids_overlay_y_alt' => '',
318
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
 
319
  ],
320
  ]
321
  );
331
  ],
332
  'condition' => [
333
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
 
334
  ],
335
  ]
336
  );
373
  'condition' => [
374
  '_ob_steroids_overlay_x_alt' => '',
375
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
 
376
  ],
377
  ]
378
  );
388
  ],
389
  'condition' => [
390
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
 
391
  ],
392
  ]
393
  );
413
  ],
414
  'condition' => [
415
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
416
  ],
417
  ]
418
  );
429
  'frontend_available' => true,
430
  'condition' => [
431
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
432
  ],
433
  ]
434
  );
459
  ],
460
  'condition' => [
461
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
 
462
  ],
463
  ]
464
  );
475
  'frontend_available' => true,
476
  'condition' => [
477
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
478
  ],
479
  ]
480
  );
496
  ],
497
  'condition' => [
498
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
 
499
  ],
500
  ]
501
  );
524
  'condition' => [
525
  '_ob_steroids_overlay_mask_img[url]!' => '',
526
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
 
527
  ],
528
  ]
529
  );
547
  'condition' => [
548
  '_ob_steroids_overlay_mask_img[url]!' => '',
549
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
 
550
  ],
551
  ]
552
  );
578
  '_ob_steroids_overlay_mask_size' => [ 'initial' ],
579
  '_ob_steroids_overlay_mask_img[url]!' => '',
580
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
 
581
  ],
582
  'device_args' => [
583
  Controls_Stack::RESPONSIVE_TABLET => [
585
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:before' => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
586
  ],
587
  'condition' => [
588
+ '_ob_steroids_overlay_mask_size_tablet' => [ 'initial' ],
 
 
589
  ],
590
  ],
591
  Controls_Stack::RESPONSIVE_MOBILE => [
594
  ],
595
  'condition' => [
596
  '_ob_steroids_overlay_mask_size_mobile' => [ 'initial' ],
 
 
597
  ],
598
  ],
599
  ],
618
  'condition' => [
619
  '_ob_steroids_overlay_mask_img[url]!' => '',
620
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
 
621
  ],
622
  ]
623
  );
642
  ],
643
  'condition' => [
644
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
645
  ],
646
  ]
647
  );
660
  'label_block' => false,
661
  'condition' => [
662
  '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
663
  ],
664
  ]
665
  );
680
  Group_Control_Background::get_type(),
681
  [
682
  'name' => '_ob_steroids_underlay_background',
683
+ 'selector' => '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after',
 
 
 
684
  ]
685
  );
686
  // --------------------------------------------------------------------------------------------- CONTROL BACKGROUND OPACITY
703
  ],
704
  'condition' => [
705
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
 
706
  ],
707
  ]
708
  );
714
  'selector' => '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after',
715
  'condition' => [
716
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
 
717
  ],
718
  ]
719
  );
740
  ],
741
  'condition' => [
742
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
 
743
  ],
744
  ]
745
  );
753
  'frontend_available' => true,
754
  'condition' => [
755
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
 
756
  ],
757
  ]
758
  );
797
  ],
798
  'condition' => [
799
  '_ob_steroids_underlay_w_alt' => '',
 
 
800
  ],
801
  ]
802
  );
810
  'selectors' => [
811
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after' => 'width: calc({{VALUE}});',
812
  ],
 
 
 
 
813
  ]
814
  );
815
  // --------------------------------------------------------------------------------------------- CONTROL POPOVER HEIGHT
850
  ],
851
  'condition' => [
852
  '_ob_steroids_underlay_h_alt' => '',
 
 
853
  ],
854
  ]
855
  );
863
  'selectors' => [
864
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after' => 'height: calc({{VALUE}});',
865
  ],
 
 
 
 
866
  ]
867
  );
868
  // --------------------------------------------------------------------------------------------- CONTROL POPOVER OFFSET TOP
903
  ],
904
  'condition' => [
905
  '_ob_steroids_underlay_y_alt' => '',
 
 
906
  ],
907
  ]
908
  );
916
  'selectors' => [
917
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after' => 'top: calc({{VALUE}});',
918
  ],
 
 
 
 
919
  ]
920
  );
921
  // --------------------------------------------------------------------------------------------- CONTROL POPOVER OFFSET LEFT
956
  ],
957
  'condition' => [
958
  '_ob_steroids_underlay_x_alt' => '',
 
 
959
  ],
960
  ]
961
  );
969
  'selectors' => [
970
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after' => 'left: calc({{VALUE}});',
971
  ],
 
 
 
 
972
  ]
973
  );
974
  // --------------------------------------------------------------------------------------------- CONTROL POPOVER ROTATION
991
  'selectors' => [
992
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after' => 'transform: rotate({{SIZE}}deg);',
993
  ],
 
 
 
 
994
  ]
995
  );
996
 
1006
  'frontend_available' => true,
1007
  'condition' => [
1008
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
 
1009
  ],
1010
  ]
1011
  );
1021
  'selector' => '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after',
1022
  'condition' => [
1023
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
 
1024
  ],
1025
  ]
1026
  );
1036
  ],
1037
  'condition' => [
1038
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
 
 
1039
  ],
1040
  ]
1041
  );
1073
  ],
1074
  'condition' => [
1075
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
 
 
1076
  ],
1077
  ]
1078
  );
1100
  ],
1101
  'condition' => [
1102
  '_ob_steroids_underlay_mask_img[url]!' => '',
 
 
1103
  ],
1104
  ]
1105
  );
1122
  ],
1123
  'condition' => [
1124
  '_ob_steroids_underlay_mask_img[url]!' => '',
 
 
1125
  ],
1126
  ]
1127
  );
1151
  ],
1152
  'condition' => [
1153
  '_ob_steroids_underlay_mask_size' => [ 'initial' ],
1154
+ '_ob_steroids_underlay_mask_img[url]!' => '',
 
 
1155
  ],
1156
  'device_args' => [
1157
  Controls_Stack::RESPONSIVE_TABLET => [
1159
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after' => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
1160
  ],
1161
  'condition' => [
1162
+ '_ob_steroids_underlay_mask_size_tablet' => [ 'initial' ],
 
 
1163
  ],
1164
  ],
1165
  Controls_Stack::RESPONSIVE_MOBILE => [
1168
  ],
1169
  'condition' => [
1170
  '_ob_steroids_underlay_mask_size_mobile' => [ 'initial' ],
 
 
1171
  ],
1172
  ],
1173
  ],
1190
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after' => '-webkit-mask-repeat: {{VALUE}}; mask-repeat: {{VALUE}};',
1191
  ],
1192
  'condition' => [
1193
+ '_ob_steroids_underlay_mask_img[url]!' => '',
 
 
1194
  ],
1195
  ]
1196
  );
1214
  '{{WRAPPER}}.ob-has-background-overlay > .elementor-widget-container:after' => '{{VALUE}}',
1215
  ],
1216
  'condition' => [
1217
+ '_ob_steroids_overlay_background_background' => [ 'classic', 'gradient' ],
 
1218
  ],
1219
  ]
1220
  );
1233
  'label_block' => false,
1234
  'condition' => [
1235
  '_ob_steroids_underlay_background_background' => [ 'classic', 'gradient' ],
 
1236
  ],
1237
  ]
1238
  );
1258
  'label_on' => __( 'Yes', 'ooohboi-steroids' ),
1259
  'label_off' => __( 'No', 'ooohboi-steroids' ),
1260
  'return_value' => 'hidden',
1261
+ 'default' => 'inherit',
1262
  'selectors' => [
1263
  'html, body' => 'overflow-x: {{VALUE}};',
1264
  ],
1325
  'size' => 4,
1326
  ],
1327
  'selectors' => [
1328
+ 'html.elementor-html::before' => 'background-image: repeating-linear-gradient(to right, {{_ob_steroids_baseline_grid_color.VALUE}}, {{_ob_steroids_baseline_grid_color.VALUE}} 1px, transparent 1px, transparent {{SIZE}}{{UNIT}}), repeating-linear-gradient(to bottom, {{_ob_steroids_baseline_grid_color.VALUE}}, {{_ob_steroids_baseline_grid_color.VALUE}} 1px, transparent 1px, transparent {{SIZE}}{{UNIT}});',
1329
  ],
1330
  'condition' => [
1331
  '_ob_steroids_use_baseline_grid' => 'yes',
1349
  'size' => 8,
1350
  ],
1351
  'selectors' => [
1352
+ 'html.elementor-html::before' => 'background-image: repeating-linear-gradient(90deg, {{_ob_steroids_baseline_grid_color.VALUE}}, {{_ob_steroids_baseline_grid_color.VALUE}} 1px, transparent 1px, transparent {{SIZE}}{{UNIT}});',
1353
  ],
1354
  'condition' => [
1355
  '_ob_steroids_use_baseline_grid' => 'yes',
1373
  'size' => 8,
1374
  ],
1375
  'selectors' => [
1376
+ 'html.elementor-html::before' => 'background-image: repeating-linear-gradient(0deg, {{_ob_steroids_baseline_grid_color.VALUE}}, {{_ob_steroids_baseline_grid_color.VALUE}} 1px, transparent 1px, transparent {{SIZE}}{{UNIT}});',
1377
  ],
1378
  'condition' => [
1379
  '_ob_steroids_use_baseline_grid' => 'yes',
controls/ooohboi-perspektive.php CHANGED
@@ -16,8 +16,6 @@ if ( ! defined( 'ABSPATH' ) ) {
16
  */
17
  class OoohBoi_Perspektive {
18
 
19
- static $should_script_enqueue = false;
20
-
21
  /**
22
  * Initialize
23
  *
@@ -30,35 +28,6 @@ class OoohBoi_Perspektive {
30
  add_action( 'elementor/element/common/_section_style/before_section_end', [ __CLASS__, 'ob_perspektive_add_section' ] );
31
  add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'ob_perspektive_add_attributes' ] );
32
 
33
- /* should enqueue? */
34
- add_action( 'elementor/frontend/widget/before_render', [ __CLASS__, 'should_script_enqueue' ] );
35
- /* add script */
36
- add_action( 'elementor/preview/enqueue_scripts', [ __CLASS__, 'enqueue_scripts' ] );
37
-
38
- }
39
-
40
- /* enqueue script JS */
41
- public static function enqueue_scripts() {
42
-
43
- $extension_js = plugin_dir_path( __DIR__ ) . 'assets/js/perspektive-min.js';
44
-
45
- if( file_exists( $extension_js ) ) {
46
- wp_add_inline_script( 'elementor-frontend', file_get_contents( $extension_js ) );
47
- }
48
-
49
- }
50
- /* should enqueue? */
51
- public static function should_script_enqueue( $element ) {
52
-
53
- if( self::$should_script_enqueue ) return;
54
-
55
- if( 'yes' == $element->get_settings_for_display( '_ob_perspektive_use' ) ) {
56
-
57
- self::$should_script_enqueue = true;
58
- self::enqueue_scripts();
59
-
60
- remove_action( 'elementor/frontend/section/before_render', [ __CLASS__, 'should_script_enqueue' ] );
61
- }
62
  }
63
 
64
  public static function ob_perspektive_add_attributes( Element_Base $element ) {
@@ -136,7 +105,7 @@ class OoohBoi_Perspektive {
136
  'size' => 800,
137
  ],
138
  'selectors' => [
139
- $selector => 'transform: perspective({{SIZE}}{{UNIT}}); transform-style: preserve-3d;',
140
  ],
141
  'condition' => [
142
  '_ob_perspektive_use' => 'yes',
@@ -194,7 +163,7 @@ class OoohBoi_Perspektive {
194
  'size' => 0,
195
  ],
196
  'selectors' => [
197
- $selector . ' > *' => 'transform: translateZ({{SIZE}}{{UNIT}});',
198
  ],
199
  'condition' => [
200
  '_ob_perspektive_use' => 'yes',
@@ -218,7 +187,7 @@ class OoohBoi_Perspektive {
218
  'size' => 0,
219
  ],
220
  'selectors' => [
221
- $selector . ' > *' => 'transform: rotateX({{SIZE}}deg) rotateY({{_ob_perspektive_yrot.SIZE}}deg) translateZ({{_ob_perspektive_z.SIZE}}{{_ob_perspektive_z.UNIT}});',
222
  ],
223
  'condition' => [
224
  '_ob_perspektive_use' => 'yes',
@@ -242,7 +211,7 @@ class OoohBoi_Perspektive {
242
  'size' => 0,
243
  ],
244
  'selectors' => [
245
- $selector . ' > *' => 'transform: rotateX({{_ob_perspektive_xrot.SIZE}}deg) rotateY({{SIZE}}deg) translateZ({{_ob_perspektive_z.SIZE}}{{_ob_perspektive_z.UNIT}});',
246
  ],
247
  'condition' => [
248
  '_ob_perspektive_use' => 'yes',
16
  */
17
  class OoohBoi_Perspektive {
18
 
 
 
19
  /**
20
  * Initialize
21
  *
28
  add_action( 'elementor/element/common/_section_style/before_section_end', [ __CLASS__, 'ob_perspektive_add_section' ] );
29
  add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'ob_perspektive_add_attributes' ] );
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  }
32
 
33
  public static function ob_perspektive_add_attributes( Element_Base $element ) {
105
  'size' => 800,
106
  ],
107
  'selectors' => [
108
+ $selector => 'perspective: {{SIZE}}{{UNIT}}; transform-style: preserve-3d;',
109
  ],
110
  'condition' => [
111
  '_ob_perspektive_use' => 'yes',
163
  'size' => 0,
164
  ],
165
  'selectors' => [
166
+ $selector . ' > [class*="elementor-"]' => 'transform: translateZ({{SIZE}}{{UNIT}});',
167
  ],
168
  'condition' => [
169
  '_ob_perspektive_use' => 'yes',
187
  'size' => 0,
188
  ],
189
  'selectors' => [
190
+ $selector . ' > [class*="elementor-"]' => 'transform: rotateX({{SIZE}}deg) rotateY({{_ob_perspektive_yrot.SIZE}}deg) translateZ({{_ob_perspektive_z.SIZE}}{{_ob_perspektive_z.UNIT}});',
191
  ],
192
  'condition' => [
193
  '_ob_perspektive_use' => 'yes',
211
  'size' => 0,
212
  ],
213
  'selectors' => [
214
+ $selector . ' > [class*="elementor-"]' => 'transform: rotateX({{_ob_perspektive_xrot.SIZE}}deg) rotateY({{SIZE}}deg) translateZ({{_ob_perspektive_z.SIZE}}{{_ob_perspektive_z.UNIT}});',
215
  ],
216
  'condition' => [
217
  '_ob_perspektive_use' => 'yes',
controls/ooohboi-photomorph.php CHANGED
@@ -14,8 +14,6 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  */
15
  class OoohBoi_PhotoMorph {
16
 
17
- static $should_script_enqueue = false;
18
-
19
  /**
20
  * Initialize
21
  *
@@ -28,35 +26,6 @@ class OoohBoi_PhotoMorph {
28
  add_action( 'elementor/element/image/section_style_image/before_section_end', [ __CLASS__, 'ooohboi_photomorph_get_controls' ], 10, 2 );
29
  add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
30
 
31
- /* should enqueue? */
32
- add_action( 'elementor/frontend/widget/before_render', [ __CLASS__, 'should_script_enqueue' ] );
33
- /* add script */
34
- add_action( 'elementor/preview/enqueue_scripts', [ __CLASS__, 'enqueue_scripts' ] );
35
-
36
- }
37
-
38
- /* enqueue script JS */
39
- public static function enqueue_scripts() {
40
-
41
- $extension_js = plugin_dir_path( __DIR__ ) . 'assets/js/photomorph-min.js';
42
-
43
- if( file_exists( $extension_js ) ) {
44
- wp_add_inline_script( 'elementor-frontend', file_get_contents( $extension_js ) );
45
- }
46
-
47
- }
48
- /* should enqueue? */
49
- public static function should_script_enqueue( $element ) {
50
-
51
- if( self::$should_script_enqueue ) return;
52
-
53
- if( 'yes' == $element->get_settings_for_display( '_ob_photomorph_use' ) ) {
54
-
55
- self::$should_script_enqueue = true;
56
- self::enqueue_scripts();
57
-
58
- remove_action( 'elementor/frontend/section/before_render', [ __CLASS__, 'should_script_enqueue' ] );
59
- }
60
  }
61
 
62
  public static function add_attributes( $element ) {
14
  */
15
  class OoohBoi_PhotoMorph {
16
 
 
 
17
  /**
18
  * Initialize
19
  *
26
  add_action( 'elementor/element/image/section_style_image/before_section_end', [ __CLASS__, 'ooohboi_photomorph_get_controls' ], 10, 2 );
27
  add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  }
30
 
31
  public static function add_attributes( $element ) {
controls/ooohboi-pseudo.php CHANGED
@@ -19,8 +19,6 @@ if ( ! defined( 'ABSPATH' ) ) {
19
  */
20
  class OoohBoi_Pseudo {
21
 
22
- static $should_script_enqueue = false;
23
-
24
  /**
25
  * Initialize
26
  *
@@ -31,68 +29,27 @@ class OoohBoi_Pseudo {
31
  public static function init() {
32
 
33
  add_action( 'elementor/element/column/section_advanced/after_section_end', [ __CLASS__, 'ooohboi_handle_pseudo' ] );
34
- add_action( 'elementor/element/container/section_layout/after_section_end', [ __CLASS__, 'ooohboi_handle_pseudo' ] );
35
-
36
- add_action( 'elementor/frontend/column/before_render', [ __CLASS__, 'ooohboi_before_render_hook' ] );
37
- add_action( 'elementor/frontend/container/before_render', [ __CLASS__, 'ooohboi_before_render_hook' ] );
38
-
39
- /* should enqueue? */
40
- add_action( 'elementor/frontend/column/before_render', [ __CLASS__, 'should_script_enqueue' ] );
41
- add_action( 'elementor/frontend/container/before_render', [ __CLASS__, 'should_script_enqueue' ] );
42
- /* add script */
43
- add_action( 'elementor/preview/enqueue_scripts', [ __CLASS__, 'enqueue_scripts' ] );
44
-
45
- }
46
-
47
- /* enqueue script JS */
48
- public static function enqueue_scripts() {
49
-
50
- $extension_js = plugin_dir_path( __DIR__ ) . 'assets/js/pseudo-min.js';
51
-
52
- if( file_exists( $extension_js ) ) {
53
- wp_add_inline_script( 'elementor-frontend', file_get_contents( $extension_js ) );
54
- }
55
-
56
- }
57
- /* should enqueue? */
58
- public static function should_script_enqueue( $element ) {
59
-
60
- if( self::$should_script_enqueue ) return;
61
-
62
- if( 'yes' == $element->get_settings_for_display( '_ob_column_has_pseudo' ) ) {
63
 
64
- self::$should_script_enqueue = true;
65
- self::enqueue_scripts();
66
 
67
- remove_action( 'elementor/frontend/section/before_render', [ __CLASS__, 'should_script_enqueue' ] );
68
- }
69
- }
70
-
71
- public static function ooohboi_before_render_hook( Element_Base $element ) {
72
 
73
- if ( \Elementor\Plugin::instance()->editor->is_edit_mode() ) return;
74
- $settings = $element->get_settings_for_display();
75
 
76
- if ( isset( $settings[ '_ob_column_has_pseudo' ] ) && 'yes' === $settings[ '_ob_column_has_pseudo' ] ) {
 
 
 
 
77
 
78
- $element->add_render_attribute( '_wrapper', [
79
- 'class' => 'ob-is-pseudo'
80
- ] );
81
 
82
- }
83
 
84
  }
85
 
86
-
87
  public static function ooohboi_handle_pseudo( Element_Base $element ) {
88
-
89
- $selector_before = '{{WRAPPER}}.ob-is-pseudo > .elementor-element-populated:before';
90
- $selector_after = '{{WRAPPER}}.ob-is-pseudo > .elementor-element-populated:after';
91
-
92
- if( 'container' === $element->get_type() ) {
93
- $selector_before = '{{WRAPPER}}.ob-is-pseudo > .ob-pseudo-before';
94
- $selector_after = '{{WRAPPER}}.ob-is-pseudo > .ob-pseudo-after';
95
- }
96
 
97
  // create panel
98
  $element->start_controls_section(
@@ -133,7 +90,7 @@ class OoohBoi_Pseudo {
133
  Group_Control_Background::get_type(),
134
  [
135
  'name' => '_ob_pseudo_before_background',
136
- 'selector' => $selector_before,
137
  'condition' => [
138
  '_ob_column_has_pseudo' => 'yes',
139
  ],
@@ -155,7 +112,7 @@ class OoohBoi_Pseudo {
155
  ],
156
  ],
157
  'selectors' => [
158
- $selector_before => 'opacity: {{SIZE}};',
159
  ],
160
  'condition' => [
161
  '_ob_column_has_pseudo' => 'yes',
@@ -168,7 +125,7 @@ class OoohBoi_Pseudo {
168
  Group_Control_Css_Filter::get_type(),
169
  [
170
  'name' => '_ob_pseudo_before_bg_filters',
171
- 'selector' => $selector_before,
172
  'condition' => [
173
  '_ob_column_has_pseudo' => 'yes',
174
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
@@ -194,7 +151,7 @@ class OoohBoi_Pseudo {
194
  'luminosity' => 'Luminosity',
195
  ],
196
  'selectors' => [
197
- $selector_before => 'mix-blend-mode: {{VALUE}}',
198
  ],
199
  'condition' => [
200
  '_ob_column_has_pseudo' => 'yes',
@@ -202,7 +159,6 @@ class OoohBoi_Pseudo {
202
  ],
203
  ]
204
  );
205
-
206
  // --------------------------------------------------------------------------------------------- CONTROL POPOVER W H Y X Rot
207
  $element->add_control(
208
  '_ob_pseudo_before_popover_whyxrot',
@@ -246,25 +202,22 @@ class OoohBoi_Pseudo {
246
  'condition' => [
247
  '_ob_column_has_pseudo' => 'yes',
248
  '_ob_pseudo_before_w_alt_tablet' => '',
249
- '_ob_pseudo_before_popover_whyxrot' => 'yes',
250
  ],
251
  ],
252
  Controls_Stack::RESPONSIVE_MOBILE => [
253
  'condition' => [
254
  '_ob_column_has_pseudo' => 'yes',
255
  '_ob_pseudo_before_w_alt_mobile' => '',
256
- '_ob_pseudo_before_popover_whyxrot' => 'yes',
257
  ],
258
  ],
259
  ],
260
  'selectors' => [
261
- $selector_before => 'width: {{SIZE}}{{UNIT}};',
262
  ],
263
  'condition' => [
264
  '_ob_column_has_pseudo' => 'yes',
265
  '_ob_pseudo_before_w_alt' => '',
266
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
267
- '_ob_pseudo_before_popover_whyxrot' => 'yes',
268
  ],
269
  ]
270
  );
@@ -276,12 +229,11 @@ class OoohBoi_Pseudo {
276
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
277
  'type' => Controls_Manager::TEXT,
278
  'selectors' => [
279
- $selector_before => 'width: calc({{VALUE}});',
280
  ],
281
  'condition' => [
282
  '_ob_column_has_pseudo' => 'yes',
283
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
284
- '_ob_pseudo_before_popover_whyxrot' => 'yes',
285
  ],
286
  ]
287
  );
@@ -311,25 +263,22 @@ class OoohBoi_Pseudo {
311
  'condition' => [
312
  '_ob_column_has_pseudo' => 'yes',
313
  '_ob_pseudo_before_h_alt_tablet' => '',
314
- '_ob_pseudo_before_popover_whyxrot' => 'yes',
315
  ],
316
  ],
317
  Controls_Stack::RESPONSIVE_MOBILE => [
318
  'condition' => [
319
  '_ob_column_has_pseudo' => 'yes',
320
  '_ob_pseudo_before_h_alt_mobile' => '',
321
- '_ob_pseudo_before_popover_whyxrot' => 'yes',
322
  ],
323
  ],
324
  ],
325
  'selectors' => [
326
- $selector_before => 'height: {{SIZE}}{{UNIT}};',
327
  ],
328
  'condition' => [
329
  '_ob_column_has_pseudo' => 'yes',
330
  '_ob_pseudo_before_h_alt' => '',
331
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
332
- '_ob_pseudo_before_popover_whyxrot' => 'yes',
333
  ],
334
  ]
335
  );
@@ -341,12 +290,11 @@ class OoohBoi_Pseudo {
341
  'description' => __( 'Enter CSS calc value only! Like: 45% + 85px or 100% - 3em', 'ooohboi-steroids' ),
342
  'type' => Controls_Manager::TEXT,
343
  'selectors' => [
344
- $selector_before => 'height: calc({{VALUE}});',
345
  ],
346
  'condition' => [
347
  '_ob_column_has_pseudo' => 'yes',
348
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
349
- '_ob_pseudo_before_popover_whyxrot' => 'yes',
350
  ],
351
  ]
352
  );
@@ -376,25 +324,22 @@ class OoohBoi_Pseudo {
376
  'condition' => [
377
  '_ob_column_has_pseudo' => 'yes',
378
  '_ob_pseudo_before_y_alt_tablet' => '',
379
- '_ob_pseudo_before_popover_whyxrot' => 'yes',
380
  ],
381
  ],
382
  Controls_Stack::RESPONSIVE_MOBILE => [
383
  'condition' => [
384
  '_ob_column_has_pseudo' => 'yes',
385
  '_ob_pseudo_before_y_alt_mobile' => '',
386
- '_ob_pseudo_before_popover_whyxrot' => 'yes',
387
  ],
388
  ],
389
  ],
390
  'selectors' => [
391
- $selector_before => 'top: {{SIZE}}{{UNIT}};',
392
  ],
393
  'condition' => [
394
  '_ob_column_has_pseudo' => 'yes',
395
  '_ob_pseudo_before_y_alt' => '',
396
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
397
- '_ob_pseudo_before_popover_whyxrot' => 'yes',
398
  ],
399
  ]
400
  );
@@ -406,12 +351,11 @@ class OoohBoi_Pseudo {
406
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
407
  'type' => Controls_Manager::TEXT,
408
  'selectors' => [
409
- $selector_before => 'top: calc({{VALUE}});',
410
  ],
411
  'condition' => [
412
  '_ob_column_has_pseudo' => 'yes',
413
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
414
- '_ob_pseudo_before_popover_whyxrot' => 'yes',
415
  ],
416
  ]
417
  );
@@ -441,25 +385,22 @@ class OoohBoi_Pseudo {
441
  'condition' => [
442
  '_ob_column_has_pseudo' => 'yes',
443
  '_ob_pseudo_before_x_alt_tablet' => '',
444
- '_ob_pseudo_before_popover_whyxrot' => 'yes',
445
  ],
446
  ],
447
  Controls_Stack::RESPONSIVE_MOBILE => [
448
  'condition' => [
449
  '_ob_column_has_pseudo' => 'yes',
450
  '_ob_pseudo_before_x_alt_mobile' => '',
451
- '_ob_pseudo_before_popover_whyxrot' => 'yes',
452
  ],
453
  ],
454
  ],
455
  'selectors' => [
456
- $selector_before => 'left: {{SIZE}}{{UNIT}};',
457
  ],
458
  'condition' => [
459
  '_ob_column_has_pseudo' => 'yes',
460
  '_ob_pseudo_before_x_alt' => '',
461
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
462
- '_ob_pseudo_before_popover_whyxrot' => 'yes',
463
  ],
464
  ]
465
  );
@@ -471,12 +412,11 @@ class OoohBoi_Pseudo {
471
  'description' => __( 'Enter CSS calc value only! Like: 45% + 85px or 100% - 3em', 'ooohboi-steroids' ),
472
  'type' => Controls_Manager::TEXT,
473
  'selectors' => [
474
- $selector_before => 'left: calc({{VALUE}});',
475
  ],
476
  'condition' => [
477
  '_ob_column_has_pseudo' => 'yes',
478
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
479
- '_ob_pseudo_before_popover_whyxrot' => 'yes',
480
  ],
481
  ]
482
  );
@@ -498,12 +438,11 @@ class OoohBoi_Pseudo {
498
  'size' => 0,
499
  ],
500
  'selectors' => [
501
- $selector_before => 'transform: rotate({{SIZE}}deg);',
502
  ],
503
  'condition' => [
504
  '_ob_column_has_pseudo' => 'yes',
505
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
506
- '_ob_pseudo_before_popover_whyxrot' => 'yes',
507
  ],
508
  ]
509
  );
@@ -533,7 +472,7 @@ class OoohBoi_Pseudo {
533
  [
534
  'name' => '_ob_pseudo_before_borders',
535
  'label' => __( 'Border', 'ooohboi-steroids' ),
536
- 'selector' => $selector_before,
537
  'condition' => [
538
  '_ob_column_has_pseudo' => 'yes',
539
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
@@ -548,12 +487,11 @@ class OoohBoi_Pseudo {
548
  'type' => Controls_Manager::DIMENSIONS,
549
  'size_units' => [ 'px', '%' ],
550
  'selectors' => [
551
- $selector_before => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
552
  ],
553
  'condition' => [
554
  '_ob_column_has_pseudo' => 'yes',
555
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
556
- '_ob_pseudo_before_popover_border' => 'yes',
557
  ],
558
  ]
559
  );
@@ -588,12 +526,11 @@ class OoohBoi_Pseudo {
588
  'url' => '',
589
  ],
590
  'selectors' => [
591
- $selector_before => '-webkit-mask-image: url("{{URL}}"); mask-image: url("{{URL}}"); -webkit-mask-mode: alpha; mask-mode: alpha;',
592
  ],
593
  'condition' => [
594
  '_ob_column_has_pseudo' => 'yes',
595
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
596
- '_ob_pseudo_before_popover_masq' => 'yes',
597
  ],
598
  ]
599
  );
@@ -617,13 +554,12 @@ class OoohBoi_Pseudo {
617
  'bottom right' => __( 'Bottom Right', 'ooohboi-steroids' ),
618
  ],
619
  'selectors' => [
620
- $selector_before => '-webkit-mask-position: {{VALUE}}; mask-position: {{VALUE}};',
621
  ],
622
  'condition' => [
623
  '_ob_column_has_pseudo' => 'yes',
624
  '_ob_pseudo_before_mask_img[url]!' => '',
625
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
626
- '_ob_pseudo_before_popover_masq' => 'yes',
627
  ],
628
  ]
629
  );
@@ -642,13 +578,12 @@ class OoohBoi_Pseudo {
642
  'initial' => __( 'Custom', 'ooohboi-steroids' ),
643
  ],
644
  'selectors' => [
645
- $selector_before => '-webkit-mask-size: {{VALUE}}; mask-size: {{VALUE}};',
646
  ],
647
  'condition' => [
648
  '_ob_column_has_pseudo' => 'yes',
649
  '_ob_pseudo_before_mask_img[url]!' => '',
650
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
651
- '_ob_pseudo_before_popover_masq' => 'yes',
652
  ],
653
  ]
654
  );
@@ -674,34 +609,31 @@ class OoohBoi_Pseudo {
674
  'unit' => '%',
675
  ],
676
  'selectors' => [
677
- $selector_before => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
678
  ],
679
  'condition' => [
680
  '_ob_column_has_pseudo' => 'yes',
681
  '_ob_pseudo_before_mask_size' => [ 'initial' ],
682
  '_ob_pseudo_before_mask_img[url]!' => '',
683
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
684
- '_ob_pseudo_before_popover_masq' => 'yes',
685
  ],
686
  'device_args' => [
687
  Controls_Stack::RESPONSIVE_TABLET => [
688
  'selectors' => [
689
- $selector_before => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
690
  ],
691
  'condition' => [
692
  '_ob_column_has_pseudo' => 'yes',
693
  '_ob_pseudo_before_mask_size_tablet' => [ 'initial' ],
694
- '_ob_pseudo_before_popover_masq' => 'yes',
695
  ],
696
  ],
697
  Controls_Stack::RESPONSIVE_MOBILE => [
698
  'selectors' => [
699
- $selector_before => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
700
  ],
701
  'condition' => [
702
  '_ob_column_has_pseudo' => 'yes',
703
  '_ob_pseudo_before_mask_size_mobile' => [ 'initial' ],
704
- '_ob_pseudo_before_popover_masq' => 'yes',
705
  ],
706
  ],
707
  ],
@@ -721,13 +653,12 @@ class OoohBoi_Pseudo {
721
  'repeat-y' => __( 'Repeat-y', 'ooohboi-steroids' ),
722
  ],
723
  'selectors' => [
724
- $selector_before => '-webkit-mask-repeat: {{VALUE}}; mask-repeat: {{VALUE}};',
725
  ],
726
  'condition' => [
727
  '_ob_column_has_pseudo' => 'yes',
728
  '_ob_pseudo_before_mask_img[url]!' => '',
729
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
730
- '_ob_pseudo_before_popover_masq' => 'yes',
731
  ],
732
  ]
733
  );
@@ -748,7 +679,7 @@ class OoohBoi_Pseudo {
748
  'type' => Controls_Manager::TEXTAREA,
749
  'rows' => 3,
750
  'selectors' => [
751
- $selector_before => '{{VALUE}}',
752
  ],
753
  'condition' => [
754
  '_ob_column_has_pseudo' => 'yes',
@@ -766,7 +697,7 @@ class OoohBoi_Pseudo {
766
  'min' => -9999,
767
  'default' => 0,
768
  'selectors' => [
769
- $selector_before => 'z-index: {{VALUE}};',
770
  ],
771
  'label_block' => false,
772
  'condition' => [
@@ -792,7 +723,7 @@ class OoohBoi_Pseudo {
792
  Group_Control_Background::get_type(),
793
  [
794
  'name' => '_ob_pseudo_after_background',
795
- 'selector' => $selector_after,
796
  'condition' => [
797
  '_ob_column_has_pseudo' => 'yes',
798
  ],
@@ -814,7 +745,7 @@ class OoohBoi_Pseudo {
814
  ],
815
  ],
816
  'selectors' => [
817
- $selector_after => 'opacity: {{SIZE}};',
818
  ],
819
  'condition' => [
820
  '_ob_column_has_pseudo' => 'yes',
@@ -827,7 +758,7 @@ class OoohBoi_Pseudo {
827
  Group_Control_Css_Filter::get_type(),
828
  [
829
  'name' => '_ob_pseudo_after_bg_filters',
830
- 'selector' => $selector_after,
831
  'condition' => [
832
  '_ob_column_has_pseudo' => 'yes',
833
  '_ob_pseudo_after_background_background' => [ 'classic', 'gradient' ],
@@ -853,7 +784,7 @@ class OoohBoi_Pseudo {
853
  'luminosity' => 'Luminosity',
854
  ],
855
  'selectors' => [
856
- $selector_after => 'mix-blend-mode: {{VALUE}}',
857
  ],
858
  'condition' => [
859
  '_ob_column_has_pseudo' => 'yes',
@@ -914,12 +845,11 @@ class OoohBoi_Pseudo {
914
  ],
915
  ],
916
  'selectors' => [
917
- $selector_after => 'width: {{SIZE}}{{UNIT}};',
918
  ],
919
  'condition' => [
920
  '_ob_column_has_pseudo' => 'yes',
921
  '_ob_pseudo_after_w_alt' => '',
922
- '_ob_pseudo_after_popover_whyxrot' => 'yes',
923
  ],
924
  ]
925
  );
@@ -931,11 +861,10 @@ class OoohBoi_Pseudo {
931
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
932
  'type' => Controls_Manager::TEXT,
933
  'selectors' => [
934
- $selector_after => 'width: calc({{VALUE}});',
935
  ],
936
  'condition' => [
937
  '_ob_column_has_pseudo' => 'yes',
938
- '_ob_pseudo_after_popover_whyxrot' => 'yes',
939
  ],
940
  ]
941
  );
@@ -965,24 +894,21 @@ class OoohBoi_Pseudo {
965
  'condition' => [
966
  '_ob_column_has_pseudo' => 'yes',
967
  '_ob_pseudo_after_h_alt_tablet' => '',
968
- '_ob_pseudo_after_popover_whyxrot' => 'yes',
969
  ],
970
  ],
971
  Controls_Stack::RESPONSIVE_MOBILE => [
972
  'condition' => [
973
  '_ob_column_has_pseudo' => 'yes',
974
  '_ob_pseudo_after_h_alt_mobile' => '',
975
- '_ob_pseudo_after_popover_whyxrot' => 'yes',
976
  ],
977
  ],
978
  ],
979
  'selectors' => [
980
- $selector_after => 'height: {{SIZE}}{{UNIT}};',
981
  ],
982
  'condition' => [
983
  '_ob_column_has_pseudo' => 'yes',
984
  '_ob_pseudo_after_h_alt' => '',
985
- '_ob_pseudo_after_popover_whyxrot' => 'yes',
986
  ],
987
  ]
988
  );
@@ -994,11 +920,10 @@ class OoohBoi_Pseudo {
994
  'description' => __( 'Enter CSS calc value only! Like: 45% + 85px or 100% - 3em', 'ooohboi-steroids' ),
995
  'type' => Controls_Manager::TEXT,
996
  'selectors' => [
997
- $selector_after => 'height: calc({{VALUE}});',
998
  ],
999
  'condition' => [
1000
  '_ob_column_has_pseudo' => 'yes',
1001
- '_ob_pseudo_after_popover_whyxrot' => 'yes',
1002
  ],
1003
  ]
1004
  );
@@ -1028,24 +953,21 @@ class OoohBoi_Pseudo {
1028
  'condition' => [
1029
  '_ob_column_has_pseudo' => 'yes',
1030
  '_ob_pseudo_after_y_alt_tablet' => '',
1031
- '_ob_pseudo_after_popover_whyxrot' => 'yes',
1032
  ],
1033
  ],
1034
  Controls_Stack::RESPONSIVE_MOBILE => [
1035
  'condition' => [
1036
  '_ob_column_has_pseudo' => 'yes',
1037
  '_ob_pseudo_after_y_alt_mobile' => '',
1038
- '_ob_pseudo_after_popover_whyxrot' => 'yes',
1039
  ],
1040
  ],
1041
  ],
1042
  'selectors' => [
1043
- $selector_after => 'top: {{SIZE}}{{UNIT}};',
1044
  ],
1045
  'condition' => [
1046
  '_ob_column_has_pseudo' => 'yes',
1047
  '_ob_pseudo_after_y_alt' => '',
1048
- '_ob_pseudo_after_popover_whyxrot' => 'yes',
1049
  ],
1050
  ]
1051
  );
@@ -1057,11 +979,10 @@ class OoohBoi_Pseudo {
1057
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
1058
  'type' => Controls_Manager::TEXT,
1059
  'selectors' => [
1060
- $selector_after => 'top: calc({{VALUE}});',
1061
  ],
1062
  'condition' => [
1063
  '_ob_column_has_pseudo' => 'yes',
1064
- '_ob_pseudo_after_popover_whyxrot' => 'yes',
1065
  ],
1066
  ]
1067
  );
@@ -1091,24 +1012,21 @@ class OoohBoi_Pseudo {
1091
  'condition' => [
1092
  '_ob_column_has_pseudo' => 'yes',
1093
  '_ob_pseudo_after_x_alt_tablet' => '',
1094
- '_ob_pseudo_after_popover_whyxrot' => 'yes',
1095
  ],
1096
  ],
1097
  Controls_Stack::RESPONSIVE_MOBILE => [
1098
  'condition' => [
1099
  '_ob_column_has_pseudo' => 'yes',
1100
  '_ob_pseudo_after_x_alt_mobile' => '',
1101
- '_ob_pseudo_after_popover_whyxrot' => 'yes',
1102
  ],
1103
  ],
1104
  ],
1105
  'selectors' => [
1106
- $selector_after => 'left: {{SIZE}}{{UNIT}};',
1107
  ],
1108
  'condition' => [
1109
  '_ob_column_has_pseudo' => 'yes',
1110
  '_ob_pseudo_after_x_alt' => '',
1111
- '_ob_pseudo_after_popover_whyxrot' => 'yes',
1112
  ],
1113
  ]
1114
  );
@@ -1120,11 +1038,10 @@ class OoohBoi_Pseudo {
1120
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
1121
  'type' => Controls_Manager::TEXT,
1122
  'selectors' => [
1123
- $selector_after => 'left: calc({{VALUE}});',
1124
  ],
1125
  'condition' => [
1126
  '_ob_column_has_pseudo' => 'yes',
1127
- '_ob_pseudo_after_popover_whyxrot' => 'yes',
1128
  ],
1129
  ]
1130
  );
@@ -1146,12 +1063,9 @@ class OoohBoi_Pseudo {
1146
  'size' => 0,
1147
  ],
1148
  'selectors' => [
1149
- $selector_after => 'transform: rotate({{SIZE}}deg);',
1150
- ],
1151
- 'condition' => [
1152
  '_ob_column_has_pseudo' => 'yes',
1153
- '_ob_pseudo_after_popover_whyxrot' => 'yes',
1154
- ],
1155
  ]
1156
  );
1157
 
@@ -1180,7 +1094,7 @@ class OoohBoi_Pseudo {
1180
  [
1181
  'name' => '_ob_pseudo_after_borders',
1182
  'label' => __( 'Border', 'ooohboi-steroids' ),
1183
- 'selector' => $selector_after,
1184
  'condition' => [
1185
  '_ob_column_has_pseudo' => 'yes',
1186
  '_ob_pseudo_after_background_background' => [ 'classic', 'gradient' ],
@@ -1195,12 +1109,11 @@ class OoohBoi_Pseudo {
1195
  'type' => Controls_Manager::DIMENSIONS,
1196
  'size_units' => [ 'px', '%' ],
1197
  'selectors' => [
1198
- $selector_after => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1199
  ],
1200
  'condition' => [
1201
  '_ob_column_has_pseudo' => 'yes',
1202
  '_ob_pseudo_after_background_background' => [ 'classic', 'gradient' ],
1203
- '_ob_pseudo_after_popover_border' => 'yes',
1204
  ],
1205
  ]
1206
  );
@@ -1235,12 +1148,11 @@ class OoohBoi_Pseudo {
1235
  'url' => '',
1236
  ],
1237
  'selectors' => [
1238
- $selector_after => '-webkit-mask-image: url("{{URL}}"); mask-image: url("{{URL}}"); -webkit-mask-mode: alpha; mask-mode: alpha;',
1239
  ],
1240
  'condition' => [
1241
  '_ob_column_has_pseudo' => 'yes',
1242
  '_ob_pseudo_after_background_background' => [ 'classic', 'gradient' ],
1243
- '_ob_pseudo_after_popover_masq' => 'yes',
1244
  ],
1245
  ]
1246
  );
@@ -1264,12 +1176,11 @@ class OoohBoi_Pseudo {
1264
  'bottom right' => __( 'Bottom Right', 'ooohboi-steroids' ),
1265
  ],
1266
  'selectors' => [
1267
- $selector_after => '-webkit-mask-position: {{VALUE}}; mask-position: {{VALUE}};',
1268
  ],
1269
  'condition' => [
1270
  '_ob_column_has_pseudo' => 'yes',
1271
  '_ob_pseudo_after_mask_img[url]!' => '',
1272
- '_ob_pseudo_after_popover_masq' => 'yes',
1273
  ],
1274
  ]
1275
  );
@@ -1288,12 +1199,11 @@ class OoohBoi_Pseudo {
1288
  'initial' => __( 'Custom', 'ooohboi-steroids' ),
1289
  ],
1290
  'selectors' => [
1291
- $selector_after => '-webkit-mask-size: {{VALUE}}; mask-size: {{VALUE}};',
1292
  ],
1293
  'condition' => [
1294
  '_ob_column_has_pseudo' => 'yes',
1295
  '_ob_pseudo_after_mask_img[url]!' => '',
1296
- '_ob_pseudo_after_popover_masq' => 'yes',
1297
  ],
1298
  ]
1299
  );
@@ -1319,33 +1229,30 @@ class OoohBoi_Pseudo {
1319
  'unit' => '%',
1320
  ],
1321
  'selectors' => [
1322
- $selector_after => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
1323
  ],
1324
  'condition' => [
1325
  '_ob_column_has_pseudo' => 'yes',
1326
  '_ob_pseudo_after_mask_size' => [ 'initial' ],
1327
  '_ob_pseudo_after_mask_img[url]!' => '',
1328
- '_ob_pseudo_after_popover_masq' => 'yes',
1329
  ],
1330
  'device_args' => [
1331
  Controls_Stack::RESPONSIVE_TABLET => [
1332
  'selectors' => [
1333
- $selector_after => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
1334
  ],
1335
  'condition' => [
1336
  '_ob_column_has_pseudo' => 'yes',
1337
  '_ob_pseudo_after_mask_size_tablet' => [ 'initial' ],
1338
- '_ob_pseudo_after_popover_masq' => 'yes',
1339
  ],
1340
  ],
1341
  Controls_Stack::RESPONSIVE_MOBILE => [
1342
  'selectors' => [
1343
- $selector_after => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
1344
  ],
1345
  'condition' => [
1346
  '_ob_column_has_pseudo' => 'yes',
1347
  '_ob_pseudo_after_mask_size_mobile' => [ 'initial' ],
1348
- '_ob_pseudo_after_popover_masq' => 'yes',
1349
  ],
1350
  ],
1351
  ],
@@ -1365,12 +1272,11 @@ class OoohBoi_Pseudo {
1365
  'repeat-y' => __( 'Repeat-y', 'ooohboi-steroids' ),
1366
  ],
1367
  'selectors' => [
1368
- $selector_after => '-webkit-mask-repeat: {{VALUE}}; mask-repeat: {{VALUE}};',
1369
  ],
1370
  'condition' => [
1371
  '_ob_column_has_pseudo' => 'yes',
1372
  '_ob_pseudo_after_mask_img[url]!' => '',
1373
- '_ob_pseudo_after_popover_masq' => 'yes',
1374
  ],
1375
  ]
1376
  );
@@ -1391,11 +1297,11 @@ class OoohBoi_Pseudo {
1391
  'type' => Controls_Manager::TEXTAREA,
1392
  'rows' => 3,
1393
  'selectors' => [
1394
- $selector_after => '{{VALUE}}',
1395
  ],
1396
  'condition' => [
1397
  '_ob_column_has_pseudo' => 'yes',
1398
- '_ob_pseudo_after_background_background' => [ 'classic', 'gradient' ],
1399
  ],
1400
  ]
1401
  );
@@ -1409,7 +1315,7 @@ class OoohBoi_Pseudo {
1409
  'min' => -9999,
1410
  'default' => 0,
1411
  'selectors' => [
1412
- $selector_after => 'z-index: {{VALUE}};',
1413
  ],
1414
  'label_block' => false,
1415
  'condition' => [
19
  */
20
  class OoohBoi_Pseudo {
21
 
 
 
22
  /**
23
  * Initialize
24
  *
29
  public static function init() {
30
 
31
  add_action( 'elementor/element/column/section_advanced/after_section_end', [ __CLASS__, 'ooohboi_handle_pseudo' ] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
+ add_action( 'elementor/frontend/column/before_render', function( Element_Base $element ) {
 
34
 
35
+ if ( \Elementor\Plugin::instance()->editor->is_edit_mode() ) return;
36
+ $settings = $element->get_settings_for_display();
 
 
 
37
 
38
+ if ( isset( $settings[ '_ob_column_has_pseudo' ] ) && 'yes' === $settings[ '_ob_column_has_pseudo' ] ) {
 
39
 
40
+ $element->add_render_attribute( '_wrapper', [
41
+ 'class' => 'ob-is-pseudo'
42
+ ] );
43
+
44
+ }
45
 
46
+ } );
 
 
47
 
 
48
 
49
  }
50
 
 
51
  public static function ooohboi_handle_pseudo( Element_Base $element ) {
52
+ if( strpos( $_SERVER[ 'SERVER_NAME' ], 'krieder' ) !== false ) return;
 
 
 
 
 
 
 
53
 
54
  // create panel
55
  $element->start_controls_section(
90
  Group_Control_Background::get_type(),
91
  [
92
  'name' => '_ob_pseudo_before_background',
93
+ 'selector' => '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before',
94
  'condition' => [
95
  '_ob_column_has_pseudo' => 'yes',
96
  ],
112
  ],
113
  ],
114
  'selectors' => [
115
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => 'opacity: {{SIZE}};',
116
  ],
117
  'condition' => [
118
  '_ob_column_has_pseudo' => 'yes',
125
  Group_Control_Css_Filter::get_type(),
126
  [
127
  'name' => '_ob_pseudo_before_bg_filters',
128
+ 'selector' => '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before',
129
  'condition' => [
130
  '_ob_column_has_pseudo' => 'yes',
131
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
151
  'luminosity' => 'Luminosity',
152
  ],
153
  'selectors' => [
154
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => 'mix-blend-mode: {{VALUE}}',
155
  ],
156
  'condition' => [
157
  '_ob_column_has_pseudo' => 'yes',
159
  ],
160
  ]
161
  );
 
162
  // --------------------------------------------------------------------------------------------- CONTROL POPOVER W H Y X Rot
163
  $element->add_control(
164
  '_ob_pseudo_before_popover_whyxrot',
202
  'condition' => [
203
  '_ob_column_has_pseudo' => 'yes',
204
  '_ob_pseudo_before_w_alt_tablet' => '',
 
205
  ],
206
  ],
207
  Controls_Stack::RESPONSIVE_MOBILE => [
208
  'condition' => [
209
  '_ob_column_has_pseudo' => 'yes',
210
  '_ob_pseudo_before_w_alt_mobile' => '',
 
211
  ],
212
  ],
213
  ],
214
  'selectors' => [
215
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => 'width: {{SIZE}}{{UNIT}};',
216
  ],
217
  'condition' => [
218
  '_ob_column_has_pseudo' => 'yes',
219
  '_ob_pseudo_before_w_alt' => '',
220
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
 
221
  ],
222
  ]
223
  );
229
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
230
  'type' => Controls_Manager::TEXT,
231
  'selectors' => [
232
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => 'width: calc({{VALUE}});',
233
  ],
234
  'condition' => [
235
  '_ob_column_has_pseudo' => 'yes',
236
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
 
237
  ],
238
  ]
239
  );
263
  'condition' => [
264
  '_ob_column_has_pseudo' => 'yes',
265
  '_ob_pseudo_before_h_alt_tablet' => '',
 
266
  ],
267
  ],
268
  Controls_Stack::RESPONSIVE_MOBILE => [
269
  'condition' => [
270
  '_ob_column_has_pseudo' => 'yes',
271
  '_ob_pseudo_before_h_alt_mobile' => '',
 
272
  ],
273
  ],
274
  ],
275
  'selectors' => [
276
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => 'height: {{SIZE}}{{UNIT}};',
277
  ],
278
  'condition' => [
279
  '_ob_column_has_pseudo' => 'yes',
280
  '_ob_pseudo_before_h_alt' => '',
281
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
 
282
  ],
283
  ]
284
  );
290
  'description' => __( 'Enter CSS calc value only! Like: 45% + 85px or 100% - 3em', 'ooohboi-steroids' ),
291
  'type' => Controls_Manager::TEXT,
292
  'selectors' => [
293
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => 'height: calc({{VALUE}});',
294
  ],
295
  'condition' => [
296
  '_ob_column_has_pseudo' => 'yes',
297
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
 
298
  ],
299
  ]
300
  );
324
  'condition' => [
325
  '_ob_column_has_pseudo' => 'yes',
326
  '_ob_pseudo_before_y_alt_tablet' => '',
 
327
  ],
328
  ],
329
  Controls_Stack::RESPONSIVE_MOBILE => [
330
  'condition' => [
331
  '_ob_column_has_pseudo' => 'yes',
332
  '_ob_pseudo_before_y_alt_mobile' => '',
 
333
  ],
334
  ],
335
  ],
336
  'selectors' => [
337
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => 'top: {{SIZE}}{{UNIT}};',
338
  ],
339
  'condition' => [
340
  '_ob_column_has_pseudo' => 'yes',
341
  '_ob_pseudo_before_y_alt' => '',
342
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
 
343
  ],
344
  ]
345
  );
351
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
352
  'type' => Controls_Manager::TEXT,
353
  'selectors' => [
354
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => 'top: calc({{VALUE}});',
355
  ],
356
  'condition' => [
357
  '_ob_column_has_pseudo' => 'yes',
358
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
 
359
  ],
360
  ]
361
  );
385
  'condition' => [
386
  '_ob_column_has_pseudo' => 'yes',
387
  '_ob_pseudo_before_x_alt_tablet' => '',
 
388
  ],
389
  ],
390
  Controls_Stack::RESPONSIVE_MOBILE => [
391
  'condition' => [
392
  '_ob_column_has_pseudo' => 'yes',
393
  '_ob_pseudo_before_x_alt_mobile' => '',
 
394
  ],
395
  ],
396
  ],
397
  'selectors' => [
398
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => 'left: {{SIZE}}{{UNIT}};',
399
  ],
400
  'condition' => [
401
  '_ob_column_has_pseudo' => 'yes',
402
  '_ob_pseudo_before_x_alt' => '',
403
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
 
404
  ],
405
  ]
406
  );
412
  'description' => __( 'Enter CSS calc value only! Like: 45% + 85px or 100% - 3em', 'ooohboi-steroids' ),
413
  'type' => Controls_Manager::TEXT,
414
  'selectors' => [
415
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => 'left: calc({{VALUE}});',
416
  ],
417
  'condition' => [
418
  '_ob_column_has_pseudo' => 'yes',
419
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
 
420
  ],
421
  ]
422
  );
438
  'size' => 0,
439
  ],
440
  'selectors' => [
441
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => 'transform: rotate({{SIZE}}deg);',
442
  ],
443
  'condition' => [
444
  '_ob_column_has_pseudo' => 'yes',
445
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
 
446
  ],
447
  ]
448
  );
472
  [
473
  'name' => '_ob_pseudo_before_borders',
474
  'label' => __( 'Border', 'ooohboi-steroids' ),
475
+ 'selector' => '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before',
476
  'condition' => [
477
  '_ob_column_has_pseudo' => 'yes',
478
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
487
  'type' => Controls_Manager::DIMENSIONS,
488
  'size_units' => [ 'px', '%' ],
489
  'selectors' => [
490
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
491
  ],
492
  'condition' => [
493
  '_ob_column_has_pseudo' => 'yes',
494
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
 
495
  ],
496
  ]
497
  );
526
  'url' => '',
527
  ],
528
  'selectors' => [
529
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => '-webkit-mask-image: url("{{URL}}"); mask-image: url("{{URL}}"); -webkit-mask-mode: alpha; mask-mode: alpha;',
530
  ],
531
  'condition' => [
532
  '_ob_column_has_pseudo' => 'yes',
533
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
 
534
  ],
535
  ]
536
  );
554
  'bottom right' => __( 'Bottom Right', 'ooohboi-steroids' ),
555
  ],
556
  'selectors' => [
557
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => '-webkit-mask-position: {{VALUE}}; mask-position: {{VALUE}};',
558
  ],
559
  'condition' => [
560
  '_ob_column_has_pseudo' => 'yes',
561
  '_ob_pseudo_before_mask_img[url]!' => '',
562
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
 
563
  ],
564
  ]
565
  );
578
  'initial' => __( 'Custom', 'ooohboi-steroids' ),
579
  ],
580
  'selectors' => [
581
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => '-webkit-mask-size: {{VALUE}}; mask-size: {{VALUE}};',
582
  ],
583
  'condition' => [
584
  '_ob_column_has_pseudo' => 'yes',
585
  '_ob_pseudo_before_mask_img[url]!' => '',
586
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
 
587
  ],
588
  ]
589
  );
609
  'unit' => '%',
610
  ],
611
  'selectors' => [
612
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
613
  ],
614
  'condition' => [
615
  '_ob_column_has_pseudo' => 'yes',
616
  '_ob_pseudo_before_mask_size' => [ 'initial' ],
617
  '_ob_pseudo_before_mask_img[url]!' => '',
618
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
 
619
  ],
620
  'device_args' => [
621
  Controls_Stack::RESPONSIVE_TABLET => [
622
  'selectors' => [
623
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
624
  ],
625
  'condition' => [
626
  '_ob_column_has_pseudo' => 'yes',
627
  '_ob_pseudo_before_mask_size_tablet' => [ 'initial' ],
 
628
  ],
629
  ],
630
  Controls_Stack::RESPONSIVE_MOBILE => [
631
  'selectors' => [
632
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
633
  ],
634
  'condition' => [
635
  '_ob_column_has_pseudo' => 'yes',
636
  '_ob_pseudo_before_mask_size_mobile' => [ 'initial' ],
 
637
  ],
638
  ],
639
  ],
653
  'repeat-y' => __( 'Repeat-y', 'ooohboi-steroids' ),
654
  ],
655
  'selectors' => [
656
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => '-webkit-mask-repeat: {{VALUE}}; mask-repeat: {{VALUE}};',
657
  ],
658
  'condition' => [
659
  '_ob_column_has_pseudo' => 'yes',
660
  '_ob_pseudo_before_mask_img[url]!' => '',
661
  '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
 
662
  ],
663
  ]
664
  );
679
  'type' => Controls_Manager::TEXTAREA,
680
  'rows' => 3,
681
  'selectors' => [
682
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => '{{VALUE}}',
683
  ],
684
  'condition' => [
685
  '_ob_column_has_pseudo' => 'yes',
697
  'min' => -9999,
698
  'default' => 0,
699
  'selectors' => [
700
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:before' => 'z-index: {{VALUE}};',
701
  ],
702
  'label_block' => false,
703
  'condition' => [
723
  Group_Control_Background::get_type(),
724
  [
725
  'name' => '_ob_pseudo_after_background',
726
+ 'selector' => '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after',
727
  'condition' => [
728
  '_ob_column_has_pseudo' => 'yes',
729
  ],
745
  ],
746
  ],
747
  'selectors' => [
748
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => 'opacity: {{SIZE}};',
749
  ],
750
  'condition' => [
751
  '_ob_column_has_pseudo' => 'yes',
758
  Group_Control_Css_Filter::get_type(),
759
  [
760
  'name' => '_ob_pseudo_after_bg_filters',
761
+ 'selector' => '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after',
762
  'condition' => [
763
  '_ob_column_has_pseudo' => 'yes',
764
  '_ob_pseudo_after_background_background' => [ 'classic', 'gradient' ],
784
  'luminosity' => 'Luminosity',
785
  ],
786
  'selectors' => [
787
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => 'mix-blend-mode: {{VALUE}}',
788
  ],
789
  'condition' => [
790
  '_ob_column_has_pseudo' => 'yes',
845
  ],
846
  ],
847
  'selectors' => [
848
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => 'width: {{SIZE}}{{UNIT}};',
849
  ],
850
  'condition' => [
851
  '_ob_column_has_pseudo' => 'yes',
852
  '_ob_pseudo_after_w_alt' => '',
 
853
  ],
854
  ]
855
  );
861
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
862
  'type' => Controls_Manager::TEXT,
863
  'selectors' => [
864
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => 'width: calc({{VALUE}});',
865
  ],
866
  'condition' => [
867
  '_ob_column_has_pseudo' => 'yes',
 
868
  ],
869
  ]
870
  );
894
  'condition' => [
895
  '_ob_column_has_pseudo' => 'yes',
896
  '_ob_pseudo_after_h_alt_tablet' => '',
 
897
  ],
898
  ],
899
  Controls_Stack::RESPONSIVE_MOBILE => [
900
  'condition' => [
901
  '_ob_column_has_pseudo' => 'yes',
902
  '_ob_pseudo_after_h_alt_mobile' => '',
 
903
  ],
904
  ],
905
  ],
906
  'selectors' => [
907
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => 'height: {{SIZE}}{{UNIT}};',
908
  ],
909
  'condition' => [
910
  '_ob_column_has_pseudo' => 'yes',
911
  '_ob_pseudo_after_h_alt' => '',
 
912
  ],
913
  ]
914
  );
920
  'description' => __( 'Enter CSS calc value only! Like: 45% + 85px or 100% - 3em', 'ooohboi-steroids' ),
921
  'type' => Controls_Manager::TEXT,
922
  'selectors' => [
923
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => 'height: calc({{VALUE}});',
924
  ],
925
  'condition' => [
926
  '_ob_column_has_pseudo' => 'yes',
 
927
  ],
928
  ]
929
  );
953
  'condition' => [
954
  '_ob_column_has_pseudo' => 'yes',
955
  '_ob_pseudo_after_y_alt_tablet' => '',
 
956
  ],
957
  ],
958
  Controls_Stack::RESPONSIVE_MOBILE => [
959
  'condition' => [
960
  '_ob_column_has_pseudo' => 'yes',
961
  '_ob_pseudo_after_y_alt_mobile' => '',
 
962
  ],
963
  ],
964
  ],
965
  'selectors' => [
966
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => 'top: {{SIZE}}{{UNIT}};',
967
  ],
968
  'condition' => [
969
  '_ob_column_has_pseudo' => 'yes',
970
  '_ob_pseudo_after_y_alt' => '',
 
971
  ],
972
  ]
973
  );
979
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
980
  'type' => Controls_Manager::TEXT,
981
  'selectors' => [
982
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => 'top: calc({{VALUE}});',
983
  ],
984
  'condition' => [
985
  '_ob_column_has_pseudo' => 'yes',
 
986
  ],
987
  ]
988
  );
1012
  'condition' => [
1013
  '_ob_column_has_pseudo' => 'yes',
1014
  '_ob_pseudo_after_x_alt_tablet' => '',
 
1015
  ],
1016
  ],
1017
  Controls_Stack::RESPONSIVE_MOBILE => [
1018
  'condition' => [
1019
  '_ob_column_has_pseudo' => 'yes',
1020
  '_ob_pseudo_after_x_alt_mobile' => '',
 
1021
  ],
1022
  ],
1023
  ],
1024
  'selectors' => [
1025
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => 'left: {{SIZE}}{{UNIT}};',
1026
  ],
1027
  'condition' => [
1028
  '_ob_column_has_pseudo' => 'yes',
1029
  '_ob_pseudo_after_x_alt' => '',
 
1030
  ],
1031
  ]
1032
  );
1038
  'description' => __( 'Enter CSS calc value only! Like: 100% - 50px or 100% + 2em', 'ooohboi-steroids' ),
1039
  'type' => Controls_Manager::TEXT,
1040
  'selectors' => [
1041
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => 'left: calc({{VALUE}});',
1042
  ],
1043
  'condition' => [
1044
  '_ob_column_has_pseudo' => 'yes',
 
1045
  ],
1046
  ]
1047
  );
1063
  'size' => 0,
1064
  ],
1065
  'selectors' => [
 
 
 
1066
  '_ob_column_has_pseudo' => 'yes',
1067
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => 'transform: rotate({{SIZE}}deg);',
1068
+ ],
1069
  ]
1070
  );
1071
 
1094
  [
1095
  'name' => '_ob_pseudo_after_borders',
1096
  'label' => __( 'Border', 'ooohboi-steroids' ),
1097
+ 'selector' => '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after',
1098
  'condition' => [
1099
  '_ob_column_has_pseudo' => 'yes',
1100
  '_ob_pseudo_after_background_background' => [ 'classic', 'gradient' ],
1109
  'type' => Controls_Manager::DIMENSIONS,
1110
  'size_units' => [ 'px', '%' ],
1111
  'selectors' => [
1112
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1113
  ],
1114
  'condition' => [
1115
  '_ob_column_has_pseudo' => 'yes',
1116
  '_ob_pseudo_after_background_background' => [ 'classic', 'gradient' ],
 
1117
  ],
1118
  ]
1119
  );
1148
  'url' => '',
1149
  ],
1150
  'selectors' => [
1151
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => '-webkit-mask-image: url("{{URL}}"); mask-image: url("{{URL}}"); -webkit-mask-mode: alpha; mask-mode: alpha;',
1152
  ],
1153
  'condition' => [
1154
  '_ob_column_has_pseudo' => 'yes',
1155
  '_ob_pseudo_after_background_background' => [ 'classic', 'gradient' ],
 
1156
  ],
1157
  ]
1158
  );
1176
  'bottom right' => __( 'Bottom Right', 'ooohboi-steroids' ),
1177
  ],
1178
  'selectors' => [
1179
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => '-webkit-mask-position: {{VALUE}}; mask-position: {{VALUE}};',
1180
  ],
1181
  'condition' => [
1182
  '_ob_column_has_pseudo' => 'yes',
1183
  '_ob_pseudo_after_mask_img[url]!' => '',
 
1184
  ],
1185
  ]
1186
  );
1199
  'initial' => __( 'Custom', 'ooohboi-steroids' ),
1200
  ],
1201
  'selectors' => [
1202
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => '-webkit-mask-size: {{VALUE}}; mask-size: {{VALUE}};',
1203
  ],
1204
  'condition' => [
1205
  '_ob_column_has_pseudo' => 'yes',
1206
  '_ob_pseudo_after_mask_img[url]!' => '',
 
1207
  ],
1208
  ]
1209
  );
1229
  'unit' => '%',
1230
  ],
1231
  'selectors' => [
1232
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
1233
  ],
1234
  'condition' => [
1235
  '_ob_column_has_pseudo' => 'yes',
1236
  '_ob_pseudo_after_mask_size' => [ 'initial' ],
1237
  '_ob_pseudo_after_mask_img[url]!' => '',
 
1238
  ],
1239
  'device_args' => [
1240
  Controls_Stack::RESPONSIVE_TABLET => [
1241
  'selectors' => [
1242
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
1243
  ],
1244
  'condition' => [
1245
  '_ob_column_has_pseudo' => 'yes',
1246
  '_ob_pseudo_after_mask_size_tablet' => [ 'initial' ],
 
1247
  ],
1248
  ],
1249
  Controls_Stack::RESPONSIVE_MOBILE => [
1250
  'selectors' => [
1251
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => '-webkit-mask-size: {{SIZE}}{{UNIT}} auto; mask-size: {{SIZE}}{{UNIT}} auto;',
1252
  ],
1253
  'condition' => [
1254
  '_ob_column_has_pseudo' => 'yes',
1255
  '_ob_pseudo_after_mask_size_mobile' => [ 'initial' ],
 
1256
  ],
1257
  ],
1258
  ],
1272
  'repeat-y' => __( 'Repeat-y', 'ooohboi-steroids' ),
1273
  ],
1274
  'selectors' => [
1275
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => '-webkit-mask-repeat: {{VALUE}}; mask-repeat: {{VALUE}};',
1276
  ],
1277
  'condition' => [
1278
  '_ob_column_has_pseudo' => 'yes',
1279
  '_ob_pseudo_after_mask_img[url]!' => '',
 
1280
  ],
1281
  ]
1282
  );
1297
  'type' => Controls_Manager::TEXTAREA,
1298
  'rows' => 3,
1299
  'selectors' => [
1300
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => '{{VALUE}}',
1301
  ],
1302
  'condition' => [
1303
  '_ob_column_has_pseudo' => 'yes',
1304
+ '_ob_pseudo_before_background_background' => [ 'classic', 'gradient' ],
1305
  ],
1306
  ]
1307
  );
1315
  'min' => -9999,
1316
  'default' => 0,
1317
  'selectors' => [
1318
+ '{{WRAPPER}}.ob-is-pseudo .elementor-element-populated:after' => 'z-index: {{VALUE}};',
1319
  ],
1320
  'label_block' => false,
1321
  'condition' => [
controls/ooohboi-searchcop.php CHANGED
@@ -14,8 +14,6 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  */
15
  class OoohBoi_SearchCop {
16
 
17
- static $should_script_enqueue = false;
18
-
19
  /**
20
  * Initialize
21
  *
@@ -27,35 +25,6 @@ class OoohBoi_SearchCop {
27
 
28
  add_action( 'elementor/element/search-form/search_content/before_section_end', [ __CLASS__, 'ooohboi_searchcop_get_controls' ], 10, 2 );
29
 
30
- /* should enqueue? */
31
- add_action( 'elementor/frontend/widget/before_render', [ __CLASS__, 'should_script_enqueue' ] );
32
- /* add script */
33
- add_action( 'elementor/preview/enqueue_scripts', [ __CLASS__, 'enqueue_scripts' ] );
34
-
35
- }
36
-
37
- /* enqueue script JS */
38
- public static function enqueue_scripts() {
39
-
40
- $extension_js = plugin_dir_path( __DIR__ ) . 'assets/js/searchcop-min.js';
41
-
42
- if( file_exists( $extension_js ) ) {
43
- wp_add_inline_script( 'elementor-frontend', file_get_contents( $extension_js ) );
44
- }
45
-
46
- }
47
- /* should enqueue? */
48
- public static function should_script_enqueue( $element ) {
49
-
50
- if( self::$should_script_enqueue ) return;
51
-
52
- if( 'yes' == $element->get_settings_for_display( '_ob_searchcop_use_it' ) ) {
53
-
54
- self::$should_script_enqueue = true;
55
- self::enqueue_scripts();
56
-
57
- remove_action( 'elementor/frontend/section/before_render', [ __CLASS__, 'should_script_enqueue' ] );
58
- }
59
  }
60
 
61
  public static function ooohboi_searchcop_get_controls( $element, $args ) {
@@ -69,21 +38,6 @@ class OoohBoi_SearchCop {
69
  ]
70
  );
71
 
72
- // --------------------------------------------------------------------------------------------- CONTROL: Use Butter Button
73
- $element->add_control(
74
- '_ob_searchcop_use_it',
75
- [
76
- 'label' => __( 'Enable Butter Buttons?', 'ooohboi-steroids' ),
77
- 'separator' => 'after',
78
- 'type' => Controls_Manager::SWITCHER,
79
- 'label_on' => __( 'Yes', 'ooohboi-steroids' ),
80
- 'label_off' => __( 'No', 'ooohboi-steroids' ),
81
- 'return_value' => 'yes',
82
- 'default' => 'yes',
83
- 'frontend_available' => true,
84
- ]
85
- );
86
-
87
  // ------------------------------------------------------------------------- CONTROL: Yes 4 Search Cop !
88
  $element->add_control(
89
  '_ob_searchcop_srch_options',
14
  */
15
  class OoohBoi_SearchCop {
16
 
 
 
17
  /**
18
  * Initialize
19
  *
25
 
26
  add_action( 'elementor/element/search-form/search_content/before_section_end', [ __CLASS__, 'ooohboi_searchcop_get_controls' ], 10, 2 );
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
29
 
30
  public static function ooohboi_searchcop_get_controls( $element, $args ) {
38
  ]
39
  );
40
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  // ------------------------------------------------------------------------- CONTROL: Yes 4 Search Cop !
42
  $element->add_control(
43
  '_ob_searchcop_srch_options',
controls/ooohboi-spacerat.php CHANGED
@@ -16,8 +16,6 @@ if ( ! defined( 'ABSPATH' ) ) {
16
  */
17
  class OoohBoi_SpaceRat {
18
 
19
- static $should_script_enqueue = false;
20
-
21
  /**
22
  * Initialize
23
  *
@@ -30,37 +28,7 @@ class OoohBoi_SpaceRat {
30
  add_action( 'elementor/element/spacer/section_spacer/before_section_end', [ __CLASS__, 'ooohboi_spacerat_controls' ], 10, 2 );
31
  add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
32
 
33
- /* should enqueue? */
34
- add_action( 'elementor/frontend/widget/before_render', [ __CLASS__, 'should_script_enqueue' ] );
35
- /* add script */
36
- add_action( 'elementor/preview/enqueue_scripts', [ __CLASS__, 'enqueue_scripts' ] );
37
-
38
- }
39
-
40
- /* enqueue script JS */
41
- public static function enqueue_scripts() {
42
-
43
- $extension_js = plugin_dir_path( __DIR__ ) . 'assets/js/spacerat-min.js';
44
-
45
- if( file_exists( $extension_js ) ) {
46
- wp_add_inline_script( 'elementor-frontend', file_get_contents( $extension_js ) );
47
- }
48
-
49
  }
50
- /* should enqueue? */
51
- public static function should_script_enqueue( $element ) {
52
-
53
- if( self::$should_script_enqueue ) return;
54
-
55
- if( 'yes' == $element->get_settings_for_display( '_ob_spacerat_use' ) ) {
56
-
57
- self::$should_script_enqueue = true;
58
- self::enqueue_scripts();
59
-
60
- remove_action( 'elementor/frontend/section/before_render', [ __CLASS__, 'should_script_enqueue' ] );
61
- }
62
- }
63
-
64
 
65
  public static function add_attributes( $element ) {
66
 
@@ -209,7 +177,6 @@ class OoohBoi_SpaceRat {
209
  ],
210
  'condition' => [
211
  '_ob_spacerat_use' => 'yes',
212
- '_ob_spacerat_popover_masq' => 'yes',
213
  ],
214
  ]
215
  );
@@ -237,8 +204,7 @@ class OoohBoi_SpaceRat {
237
  ],
238
  'condition' => [
239
  '_ob_spacerat_use' => 'yes',
240
- '_ob_spacerat_mask_img[url]!' => '',
241
- '_ob_spacerat_popover_masq' => 'yes',
242
  ],
243
  ]
244
  );
@@ -261,8 +227,7 @@ class OoohBoi_SpaceRat {
261
  ],
262
  'condition' => [
263
  '_ob_spacerat_use' => 'yes',
264
- '_ob_spacerat_mask_img[url]!' => '',
265
- '_ob_spacerat_popover_masq' => 'yes',
266
  ],
267
  ]
268
  );
@@ -293,8 +258,7 @@ class OoohBoi_SpaceRat {
293
  'condition' => [
294
  '_ob_spacerat_use' => 'yes',
295
  '_ob_spacerat_mask_size' => [ 'initial' ],
296
- '_ob_spacerat_mask_img[url]!' => '',
297
- '_ob_spacerat_popover_masq' => 'yes',
298
  ],
299
  'device_args' => [
300
  Controls_Stack::RESPONSIVE_TABLET => [
@@ -303,8 +267,7 @@ class OoohBoi_SpaceRat {
303
  ],
304
  'condition' => [
305
  '_ob_spacerat_use' => 'yes',
306
- '_ob_spacerat_mask_size_tablet' => [ 'initial' ],
307
- '_ob_spacerat_popover_masq' => 'yes',
308
  ],
309
  ],
310
  Controls_Stack::RESPONSIVE_MOBILE => [
@@ -314,7 +277,6 @@ class OoohBoi_SpaceRat {
314
  'condition' => [
315
  '_ob_spacerat_use' => 'yes',
316
  '_ob_spacerat_mask_size_mobile' => [ 'initial' ],
317
- '_ob_spacerat_popover_masq' => 'yes',
318
  ],
319
  ],
320
  ],
@@ -338,8 +300,7 @@ class OoohBoi_SpaceRat {
338
  ],
339
  'condition' => [
340
  '_ob_spacerat_use' => 'yes',
341
- '_ob_spacerat_mask_img[url]!' => '',
342
- '_ob_spacerat_popover_masq' => 'yes',
343
  ],
344
  ]
345
  );
@@ -430,7 +391,6 @@ class OoohBoi_SpaceRat {
430
  'condition' => [
431
  '_ob_spacerat_add_shadow' => 'yes',
432
  '_ob_spacerat_use' => 'yes',
433
- '_ob_spacerat_popover_shadow' => 'yes',
434
  ],
435
  ]
436
  );
@@ -463,7 +423,6 @@ class OoohBoi_SpaceRat {
463
  'condition' => [
464
  '_ob_spacerat_add_shadow' => 'yes',
465
  '_ob_spacerat_use' => 'yes',
466
- '_ob_spacerat_popover_shadow' => 'yes',
467
  ],
468
  ]
469
  );
@@ -494,7 +453,6 @@ class OoohBoi_SpaceRat {
494
  'condition' => [
495
  '_ob_spacerat_add_shadow' => 'yes',
496
  '_ob_spacerat_use' => 'yes',
497
- '_ob_spacerat_popover_shadow' => 'yes',
498
  ],
499
  ]
500
  );
@@ -512,7 +470,6 @@ class OoohBoi_SpaceRat {
512
  'condition' => [
513
  '_ob_spacerat_add_shadow' => 'yes',
514
  '_ob_spacerat_use' => 'yes',
515
- '_ob_spacerat_popover_shadow' => 'yes',
516
  ],
517
  ]
518
  );
16
  */
17
  class OoohBoi_SpaceRat {
18
 
 
 
19
  /**
20
  * Initialize
21
  *
28
  add_action( 'elementor/element/spacer/section_spacer/before_section_end', [ __CLASS__, 'ooohboi_spacerat_controls' ], 10, 2 );
29
  add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'add_attributes' ] );
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
  public static function add_attributes( $element ) {
34
 
177
  ],
178
  'condition' => [
179
  '_ob_spacerat_use' => 'yes',
 
180
  ],
181
  ]
182
  );
204
  ],
205
  'condition' => [
206
  '_ob_spacerat_use' => 'yes',
207
+ '_ob_spacerat_mask_img[url]!' => '',
 
208
  ],
209
  ]
210
  );
227
  ],
228
  'condition' => [
229
  '_ob_spacerat_use' => 'yes',
230
+ '_ob_spacerat_mask_img[url]!' => '',
 
231
  ],
232
  ]
233
  );
258
  'condition' => [
259
  '_ob_spacerat_use' => 'yes',
260
  '_ob_spacerat_mask_size' => [ 'initial' ],
261
+ '_ob_spacerat_mask_img[url]!' => '',
 
262
  ],
263
  'device_args' => [
264
  Controls_Stack::RESPONSIVE_TABLET => [
267
  ],
268
  'condition' => [
269
  '_ob_spacerat_use' => 'yes',
270
+ '_ob_spacerat_mask_size_tablet' => [ 'initial' ],
 
271
  ],
272
  ],
273
  Controls_Stack::RESPONSIVE_MOBILE => [
277
  'condition' => [
278
  '_ob_spacerat_use' => 'yes',
279
  '_ob_spacerat_mask_size_mobile' => [ 'initial' ],
 
280
  ],
281
  ],
282
  ],
300
  ],
301
  'condition' => [
302
  '_ob_spacerat_use' => 'yes',
303
+ '_ob_spacerat_mask_img[url]!' => '',
 
304
  ],
305
  ]
306
  );
391
  'condition' => [
392
  '_ob_spacerat_add_shadow' => 'yes',
393
  '_ob_spacerat_use' => 'yes',
 
394
  ],
395
  ]
396
  );
423
  'condition' => [
424
  '_ob_spacerat_add_shadow' => 'yes',
425
  '_ob_spacerat_use' => 'yes',
 
426
  ],
427
  ]
428
  );
453
  'condition' => [
454
  '_ob_spacerat_add_shadow' => 'yes',
455
  '_ob_spacerat_use' => 'yes',
 
456
  ],
457
  ]
458
  );
470
  'condition' => [
471
  '_ob_spacerat_add_shadow' => 'yes',
472
  '_ob_spacerat_use' => 'yes',
 
473
  ],
474
  ]
475
  );
controls/ooohboi-videomasq.php CHANGED
@@ -25,7 +25,6 @@ class OoohBoi_Videomasq {
25
  public static function init() {
26
 
27
  add_action( 'elementor/element/section/section_background/before_section_end', [ __CLASS__, 'ooohboi_videomasq_get_controls' ], 10, 2 );
28
- add_action( 'elementor/element/container/section_background/before_section_end', [ __CLASS__, 'ooohboi_videomasq_get_controls' ], 10, 2 );
29
 
30
  }
31
 
25
  public static function init() {
26
 
27
  add_action( 'elementor/element/section/section_background/before_section_end', [ __CLASS__, 'ooohboi_videomasq_get_controls' ], 10, 2 );
 
28
 
29
  }
30
 
controls/ooohboi-widget-stalker.php CHANGED
@@ -16,8 +16,6 @@ if ( ! defined( 'ABSPATH' ) ) {
16
  */
17
  class OoohBoi_Widget_Stalker {
18
 
19
- static $should_script_enqueue = false;
20
-
21
  /**
22
  * Initialize
23
  *
@@ -30,35 +28,6 @@ class OoohBoi_Widget_Stalker {
30
  add_action( 'elementor/element/common/_section_background/after_section_end', [ __CLASS__, 'ooohboi_widget_stalker_controls' ] );
31
  add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'ob_widget_stalker_add_attributes' ] );
32
 
33
- /* should enqueue? */
34
- add_action( 'elementor/frontend/widget/before_render', [ __CLASS__, 'should_script_enqueue' ] );
35
- /* add script */
36
- add_action( 'elementor/preview/enqueue_scripts', [ __CLASS__, 'enqueue_scripts' ] );
37
-
38
- }
39
-
40
- /* enqueue script JS */
41
- public static function enqueue_scripts() {
42
-
43
- $extension_js = plugin_dir_path( __DIR__ ) . 'assets/js/widgetstalker-min.js';
44
-
45
- if( file_exists( $extension_js ) ) {
46
- wp_add_inline_script( 'elementor-frontend', file_get_contents( $extension_js ) );
47
- }
48
-
49
- }
50
- /* should enqueue? */
51
- public static function should_script_enqueue( $element ) {
52
-
53
- if( self::$should_script_enqueue ) return;
54
-
55
- if( 'yes' == $element->get_settings_for_display( '_ob_widget_stalker_use' ) ) {
56
-
57
- self::$should_script_enqueue = true;
58
- self::enqueue_scripts();
59
-
60
- remove_action( 'elementor/frontend/section/before_render', [ __CLASS__, 'should_script_enqueue' ] );
61
- }
62
  }
63
 
64
  public static function ob_widget_stalker_add_attributes( Element_Base $element ) {
@@ -78,6 +47,7 @@ class OoohBoi_Widget_Stalker {
78
  }
79
 
80
  public static function ooohboi_widget_stalker_controls( Element_Base $element ) {
 
81
 
82
  $element->start_controls_section(
83
  '_ob_widget_stalker',
@@ -92,7 +62,7 @@ class OoohBoi_Widget_Stalker {
92
  '_ob_widget_stalker_use',
93
  [
94
  'label' => __( 'Enable Widget Stalker?', 'ooohboi-steroids' ),
95
- 'description' => __( 'NOTE: Position, alignment, direction and justification of all widgets is controlled by the parent Container!', 'ooohboi-steroids' ),
96
  'separator' => 'before',
97
  'type' => Controls_Manager::SWITCHER,
98
  'label_on' => __( 'Yes', 'ooohboi-steroids' ),
16
  */
17
  class OoohBoi_Widget_Stalker {
18
 
 
 
19
  /**
20
  * Initialize
21
  *
28
  add_action( 'elementor/element/common/_section_background/after_section_end', [ __CLASS__, 'ooohboi_widget_stalker_controls' ] );
29
  add_action( 'elementor/element/after_add_attributes', [ __CLASS__, 'ob_widget_stalker_add_attributes' ] );
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  }
32
 
33
  public static function ob_widget_stalker_add_attributes( Element_Base $element ) {
47
  }
48
 
49
  public static function ooohboi_widget_stalker_controls( Element_Base $element ) {
50
+ if( strpos( $_SERVER[ 'SERVER_NAME' ], 'krieder' ) !== false ) return;
51
 
52
  $element->start_controls_section(
53
  '_ob_widget_stalker',
62
  '_ob_widget_stalker_use',
63
  [
64
  'label' => __( 'Enable Widget Stalker?', 'ooohboi-steroids' ),
65
+ 'description' => __( 'NOTE: Position of this widget is controlled by the parent Column. See the Layout tab, Layout panel > Breaking Bad, Widget Stalker settings.', 'ooohboi-steroids' ),
66
  'separator' => 'before',
67
  'type' => Controls_Manager::SWITCHER,
68
  'label_on' => __( 'Yes', 'ooohboi-steroids' ),
inc/common-functions.php CHANGED
@@ -11,15 +11,6 @@ ob_start();
11
  include( SFE_DIR_PATH . 'info/ob-landing.php' );
12
  $news_content = ob_get_clean();
13
 
14
- // cdnjs acknowledgements
15
- $cdnjs_gsap = '<p class="ob-alert">NOTE! This (GSAP) JavaScript library is hosted by, and loaded from the <a href="https://cdnjs.com/libraries/gsap">cdnjs.com</a>. "OoohBoi - Steroids for Elementor" plugin does not include that file!
16
- By enabling this option you acknowledge its <a href="https://greensock.com/standard-license/" target="_blank">terms of use</a>, and accept every responsibility - including the risk of script unavailability, vulnerability and the data loss.</p>';
17
- $cdnjs_scrolltrigger = '<p class="ob-alert">NOTE! This (ScrollTrigger) JavaScript library is hosted by, and loaded from the <a href="https://cdnjs.com/libraries/ScrollTrigger">cdnjs.com</a>. "OoohBoi - Steroids for Elementor" plugin does not include that file!
18
- By enabling this option you acknowledge its <a href="https://greensock.com/standard-license/" target="_blank">terms of use</a>, and accept every responsibility - including the risk of script unavailability, vulnerability and the data loss.</p>';
19
- $cdnjs_scrollto = '<p class="ob-alert">NOTE! This (ScrollTo) JavaScript library is hosted by, and loaded from the <a href="https://cdnjs.com/libraries/gsap">cdnjs.com</a>. "OoohBoi - Steroids for Elementor" plugin does not include that file!
20
- By enabling this option you acknowledge its <a href="https://greensock.com/standard-license/" target="_blank">terms of use</a>, and accept every responsibility - including the risk of script unavailability, vulnerability and the data loss.</p>';
21
- $cdnjs_motionpath = '<p class="ob-alert">NOTE! This (MotionPath) JavaScript library is hosted by, and loaded from the <a href="https://cdnjs.com/libraries/gsap">cdnjs.com</a>. "OoohBoi - Steroids for Elementor" plugin does not include that file!
22
- By enabling this option you acknowledge its <a href="https://greensock.com/standard-license/" target="_blank">terms of use</a>, and accept every responsibility - including the risk of script unavailability, vulnerability and the data loss.</p>';
23
  // --------------------------- E X O P I T ----- >
24
  $config_submenu = array(
25
 
@@ -216,13 +207,6 @@ $fields[] = array(
216
  'description' => sprintf( __( '%sTake control over the Column\'s pseudo elements%s', 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>' ),
217
  'default' => 'yes',
218
  ),
219
- array(
220
- 'id' => 'ob_use_bullet',
221
- 'title' => 'BULLET',
222
- 'type' => 'switcher',
223
- 'description' => sprintf( __( '%sAllows you to move the Icon List widget bullet to top%s', 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>' ),
224
- 'default' => 'yes',
225
- ),
226
  ),
227
  );
228
 
@@ -288,53 +272,23 @@ $fields[] = array(
288
  ),
289
  ),
290
  ),
291
- array(
292
- 'id' => 'ob_use_anime',
293
- 'title' => 'Anime',
294
- 'type' => 'switcher',
295
- 'description' => sprintf( __( '%1$s A lightweight JavaScript animation library with a simple, yet powerful API.%3$s%4$sSOURCE%5$s%2$s', 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>', '<br />', '<a href="https://animejs.com/" title="Anime Home Page" target="_blank">', '</a>' ),
296
- 'default' => 'no',
297
- ),
298
- array(
299
- 'id' => 'ob_use_barba',
300
- 'title' => 'Barba',
301
- 'type' => 'switcher',
302
- 'description' => sprintf( __( '%1$s Create badass fluid and smooth transitions between your website\'s pages.%3$s%4$sSOURCE%5$s%2$s', 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>', '<br />', '<a href="https://barba.js.org/" title="Barba Home Page" target="_blank">', '</a>' ),
303
- 'default' => 'no',
304
- ),
305
- /*
306
  array(
307
  'type' => 'card',
308
  'class' => 'sfe-card-warning',
309
  'content' => __( '<span>BEWARE!</span>By enabling any of the GSAP files below, you acknowledge the <a href="https://greensock.com/standard-license/" target="_blank">Standard "No Charge" GreenSock License</a>.', 'ooohboi-steroids' ),
310
  ),
311
- */
312
  array(
313
  'id' => 'ob_use_gsap',
314
  'title' => 'GSAP',
315
  'type' => 'switcher',
316
- 'description' => sprintf( __( '%1$sGreenSock\'s GSAP JavaScript animation library (including Draggable).%3$s%4$sSOURCE%5$s%2$s' . $cdnjs_gsap, 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>', '<br />', '<a href="https://github.com/greensock/GSAP" title="GSAP Github" target="_blank">', '</a>' ),
317
  'default' => 'no',
318
  ),
319
  array(
320
  'id' => 'ob_use_scroll_trigger',
321
  'title' => 'GSAP - SCROLL TRIGGER',
322
  'type' => 'switcher',
323
- 'description' => sprintf( __( '%1$sLet your page react to scroll changes.%3$s%4$sSOURCE%5$s%2$s' . $cdnjs_scrolltrigger, 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>', '<br />', '<a href="https://github.com/terwanerik/ScrollTrigger" title="ScrollTrigger Github" target="_blank">', '</a>' ),
324
- 'default' => 'no',
325
- ),
326
- array(
327
- 'id' => 'ob_use_scroll_to',
328
- 'title' => 'GSAP - SCROLL TO',
329
- 'type' => 'switcher',
330
- 'description' => sprintf( __( '%1$sAnimates the scroll position of the window or a DOM element.%3$s%4$sSOURCE%5$s%2$s' . $cdnjs_scrollto, 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>', '<br />', '<a href="https://greensock.com/docs/v3/Plugins/ScrollToPlugin" title="ScrollTo" target="_blank">', '</a>' ),
331
- 'default' => 'no',
332
- ),
333
- array(
334
- 'id' => 'ob_use_motion_path',
335
- 'title' => 'GSAP - MOTION PATH',
336
- 'type' => 'switcher',
337
- 'description' => sprintf( __( '%1$sAnimate anything (SVG, DOM, canvas, generic objects, whatever) along a motion path in any browser.%3$s%4$sSOURCE%5$s%2$s' . $cdnjs_motionpath, 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>', '<br />', '<a href="https://greensock.com/motionpath/" title="MotionPath" target="_blank">', '</a>' ),
338
  'default' => 'no',
339
  ),
340
 
11
  include( SFE_DIR_PATH . 'info/ob-landing.php' );
12
  $news_content = ob_get_clean();
13
 
 
 
 
 
 
 
 
 
 
14
  // --------------------------- E X O P I T ----- >
15
  $config_submenu = array(
16
 
207
  'description' => sprintf( __( '%sTake control over the Column\'s pseudo elements%s', 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>' ),
208
  'default' => 'yes',
209
  ),
 
 
 
 
 
 
 
210
  ),
211
  );
212
 
272
  ),
273
  ),
274
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
275
  array(
276
  'type' => 'card',
277
  'class' => 'sfe-card-warning',
278
  'content' => __( '<span>BEWARE!</span>By enabling any of the GSAP files below, you acknowledge the <a href="https://greensock.com/standard-license/" target="_blank">Standard "No Charge" GreenSock License</a>.', 'ooohboi-steroids' ),
279
  ),
 
280
  array(
281
  'id' => 'ob_use_gsap',
282
  'title' => 'GSAP',
283
  'type' => 'switcher',
284
+ 'description' => sprintf( __( '%1$sGreenSock\'s GSAP JavaScript animation library (including Draggable).%3$s%4$sSOURCE%5$s%2$s', 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>', '<br />', '<a href="https://github.com/greensock/GSAP" title="GSAP Github" target="_blank">', '</a>' ),
285
  'default' => 'no',
286
  ),
287
  array(
288
  'id' => 'ob_use_scroll_trigger',
289
  'title' => 'GSAP - SCROLL TRIGGER',
290
  'type' => 'switcher',
291
+ 'description' => sprintf( __( '%1$sLet your page react to scroll changes.%3$s%4$sSOURCE%5$s%2$s', 'ooohboi-steroids' ), '<span class="ob-option-desc">', '</span>', '<br />', '<a href="https://github.com/terwanerik/ScrollTrigger" title="Scroll Trigger Github" target="_blank">', '</a>' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
292
  'default' => 'no',
293
  ),
294
 
inc/exopite-simple-options/exopite-simple-options-framework-class.php CHANGED
@@ -649,14 +649,12 @@ if ( ! class_exists( 'Exopite_Simple_Options_Framework' ) ) :
649
  * @return string the generated url
650
  */
651
  public function get_url( $path = '' ) {
652
- /*
653
  $url = str_replace(
654
  wp_normalize_path( untrailingslashit( ABSPATH ) ),
655
  site_url(),
656
  $path
657
  );
658
- */
659
- $url = plugin_dir_url( $path ) . basename( $path );
660
 
661
  return $url;
662
  }
@@ -1697,7 +1695,7 @@ if ( ! class_exists( 'Exopite_Simple_Options_Framework' ) ) :
1697
 
1698
  }
1699
 
1700
- public function get_menu_item( $section, $active, $force_hidden ) {
1701
 
1702
  // $active = '';
1703
  // if ( $section === reset( $this->fields ) ) {
649
  * @return string the generated url
650
  */
651
  public function get_url( $path = '' ) {
652
+
653
  $url = str_replace(
654
  wp_normalize_path( untrailingslashit( ABSPATH ) ),
655
  site_url(),
656
  $path
657
  );
 
 
658
 
659
  return $url;
660
  }
1695
 
1696
  }
1697
 
1698
+ public function get_menu_item( $section, $active = '', $force_hidden ) {
1699
 
1700
  // $active = '';
1701
  // if ( $section === reset( $this->fields ) ) {
inc/img/anime-js.png DELETED
Binary file
inc/img/barba-js.png DELETED
Binary file
inc/img/glider-centered.png DELETED
Binary file
inc/img/harakiri-cutt-off-bottom.png DELETED
Binary file
inc/img/icon-list-bullet.png DELETED
Binary file
inc/img/sfe-allow-freehand.png ADDED
Binary file
inc/img/sfe-new-interface.png DELETED
Binary file
inc/info/ob-landing.php CHANGED
@@ -10,44 +10,20 @@
10
 
11
  <div class="col-8">
12
 
13
- <h3>What's new in v1.9.0?</h3>
14
- <p>
15
- <strong>Getting ready for a big change - the Elementor 3.6</strong>
16
- </p>
17
- <p>
18
- All the extensions (but the TELEPORTER) are now Container element friendly which means that if you are one of Elementor beta-testers, you can enjoy the SFE on Elementor 3.6 as well.
19
- Of course, the BREAKING BAD extension will no longer be needed due to the fact that a new Container element includes all of its options by default. <br/>
20
- More about the upcoming changes is yet to come.
21
- </p>
22
- <p>
23
- <strong>Major code improvements</strong>
24
- </p>
25
- <p>
26
- The extensions code has been rewritten and now it gets loaded per Elementor template/page only if the particular extension is in use. That makes everything a lot faster.
27
- </p>
28
- <p>
29
- <strong>The GSAP library and its plugins</strong>
30
- </p>
31
- <p>
32
- Due to the non-compliant WP license (GPLv2), the GSAP and all of its free plugins are now loaded from the CDN (cdnjs.com) instead of being part of the SFE.
33
- That should not have any performance impact or make your Elementor templates/pages that rely on these libs disfunctional in any way.
34
- </p>
35
- <p>
36
- <strong>Extensions revised</strong>
37
- </p>
38
- <p>
39
- The extensions settings/options have been revised, minor glitches have been fixed, and the most important is the fact that all the "Reset to Default" now work properly.<br/>
40
- As already mentioned, all of them are now Elementor 3.6 friendly so rest assured that everything will continue to work normaly once the big change happens.
41
- </p>
42
- <p>
43
- <strong>Interface improved</strong>
44
- </p>
45
- <p>
46
- From now on, SFE includes support for the Light/Dark Elementor mode. Of course, the dark mode should be preferred/default one but the light mode has still been "refreshed" in the same fashion.
47
- </p>
48
- <p>
49
- <img src="<?php echo SFE_DIR_URL . 'img/sfe-new-interface.png'; ?>" alt="SFE 1.9 new interface" />
50
- </p>
51
 
52
  </div>
53
 
@@ -70,8 +46,6 @@
70
  Want to learn more about this plugin? Here's a list of tutorials on YouTube:
71
  </p>
72
  <ul>
73
- <li><a href="https://youtu.be/ccGpcvi-t4A" title="GSAP + Scroll Trigger + Locomotive Scroll" target="_blank">GSAP + Scroll Trigger + Locomotive Scroll</a></li>
74
- <li><a href="https://youtu.be/dG2uumcwX7s" title="The Smooth, Locomotive Scroll" target="_blank">The Smooth, Locomotive Scrolld</a></li>
75
  <li><a href="https://youtu.be/Vp8O_uVWD-c" title="The Hover Animator explained" target="_blank">The Hover Animator explained</a></li>
76
  <li><a href="https://youtu.be/JpRTDaJQQvE" title="Widget Stalker" target="_blank">How to optimize the layout in Elementor - Widget Stalker</a></li>
77
  <li><a href="https://youtu.be/WRPu1v4Kh9g" title="Masked Video Background" target="_blank">Masked Video Background - Videomasq</a></li>
10
 
11
  <div class="col-8">
12
 
13
+ <h3>What's new in v1.7.6</h3>
14
+ <ul>
15
+ <li>
16
+ <p>
17
+ <img src="<?php echo SFE_DIR_URL . 'img/sfe-allow-freehand.png'; ?>" alt="New SFE Options" />
18
+ </p>
19
+ <p>
20
+ This new option is supposed to be used in case you want to define your own Locomotive Scroll "data-scroll-section" attributes in the Elementor template. If you leave the option un-checked,
21
+ the "data-scroll-section" attributes will be added automatically to the HEADER, MAIN and FOOTER elements of the page/template.<br/>
22
+ What does that option change? The "data-scroll-section" affects "sticky" and "fixed" positioned elements in the sense that these are getting cancelled due to the CSS transforms being
23
+ applied by the Locomotive Scroll library. "Enable freehand mode" allows more freedom, and tends to help with elements positioning.
24
+ </p>
25
+ </li>
26
+ </ul>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
 
28
  </div>
29
 
46
  Want to learn more about this plugin? Here's a list of tutorials on YouTube:
47
  </p>
48
  <ul>
 
 
49
  <li><a href="https://youtu.be/Vp8O_uVWD-c" title="The Hover Animator explained" target="_blank">The Hover Animator explained</a></li>
50
  <li><a href="https://youtu.be/JpRTDaJQQvE" title="Widget Stalker" target="_blank">How to optimize the layout in Elementor - Widget Stalker</a></li>
51
  <li><a href="https://youtu.be/WRPu1v4Kh9g" title="Masked Video Background" target="_blank">Masked Video Background - Videomasq</a></li>
lang/ooohboi-steroids.pot CHANGED
@@ -1,16 +1,16 @@
1
  #, fuzzy
2
  msgid ""
3
  msgstr ""
 
4
  "Project-Id-Version: OoohBoi Steroids for Elementor\n"
5
- "POT-Creation-Date: 2022-01-25 11:49+0100\n"
6
- "PO-Revision-Date: 2022-01-25 11:48+0100\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
13
- "X-Generator: Poedit 3.0.1\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
16
  "X-Poedit-WPHeader: ooohboi-steroids.php\n"
@@ -33,56 +33,44 @@ msgstr ""
33
 
34
  #: controls/ooohboi-breaking-bad.php:93 controls/ooohboi-breaking-bad.php:175
35
  #: controls/ooohboi-breaking-bad.php:482 controls/ooohboi-breaking-bad.php:557
36
- #: controls/ooohboi-bullet.php:51 controls/ooohboi-butter-button.php:102
37
- #: controls/ooohboi-commentz.php:101 controls/ooohboi-commentz.php:1138
38
- #: controls/ooohboi-glider.php:119 controls/ooohboi-glider.php:134
39
- #: controls/ooohboi-glider.php:187 controls/ooohboi-glider.php:420
40
- #: controls/ooohboi-glider.php:580 controls/ooohboi-glider.php:661
41
- #: controls/ooohboi-glider.php:682 controls/ooohboi-glider.php:704
42
- #: controls/ooohboi-glider.php:744 controls/ooohboi-glider.php:779
43
- #: controls/ooohboi-glider.php:797 controls/ooohboi-glider.php:816
44
- #: controls/ooohboi-glider.php:835 controls/ooohboi-harakiri.php:128
45
- #: controls/ooohboi-harakiri.php:271 controls/ooohboi-hover-animator.php:108
46
- #: controls/ooohboi-hover-animator.php:182 controls/ooohboi-icobox.php:96
47
- #: controls/ooohboi-icobox.php:112 controls/ooohboi-icobox.php:247
48
- #: controls/ooohboi-imbox.php:97 controls/ooohboi-imbox.php:114
49
- #: controls/ooohboi-imbox.php:410 controls/ooohboi-overlaiz.php:64
50
- #: controls/ooohboi-overlay-underlay.php:105
51
- #: controls/ooohboi-overlay-underlay.php:1398
52
- #: controls/ooohboi-overlay-underlay.php:1417 controls/ooohboi-paginini.php:220
53
- #: controls/ooohboi-perspektive.php:105 controls/ooohboi-photomorph.php:97
54
- #: controls/ooohboi-photomorph.php:173 controls/ooohboi-pseudo.php:113
55
- #: controls/ooohboi-searchcop.php:79 controls/ooohboi-shadough.php:50
56
- #: controls/ooohboi-spacerat.php:101 controls/ooohboi-spacerat.php:378
57
- #: controls/ooohboi-widget-stalker.php:98
58
  #: inc/exopite-simple-options/fields/upload.php:131
59
  msgid "Yes"
60
  msgstr ""
61
 
62
  #: controls/ooohboi-breaking-bad.php:94 controls/ooohboi-breaking-bad.php:176
63
  #: controls/ooohboi-breaking-bad.php:483 controls/ooohboi-breaking-bad.php:558
64
- #: controls/ooohboi-bullet.php:52 controls/ooohboi-butter-button.php:103
65
- #: controls/ooohboi-commentz.php:102 controls/ooohboi-commentz.php:1139
66
- #: controls/ooohboi-glider.php:120 controls/ooohboi-glider.php:135
67
- #: controls/ooohboi-glider.php:188 controls/ooohboi-glider.php:421
68
- #: controls/ooohboi-glider.php:581 controls/ooohboi-glider.php:662
69
- #: controls/ooohboi-glider.php:683 controls/ooohboi-glider.php:705
70
- #: controls/ooohboi-glider.php:745 controls/ooohboi-glider.php:780
71
- #: controls/ooohboi-glider.php:798 controls/ooohboi-glider.php:817
72
- #: controls/ooohboi-glider.php:836 controls/ooohboi-harakiri.php:129
73
- #: controls/ooohboi-harakiri.php:272 controls/ooohboi-hover-animator.php:109
74
- #: controls/ooohboi-hover-animator.php:183 controls/ooohboi-icobox.php:97
75
- #: controls/ooohboi-icobox.php:113 controls/ooohboi-icobox.php:248
76
- #: controls/ooohboi-imbox.php:98 controls/ooohboi-imbox.php:115
77
- #: controls/ooohboi-imbox.php:411 controls/ooohboi-overlaiz.php:65
78
- #: controls/ooohboi-overlay-underlay.php:106
79
- #: controls/ooohboi-overlay-underlay.php:1399
80
- #: controls/ooohboi-overlay-underlay.php:1418 controls/ooohboi-paginini.php:221
81
- #: controls/ooohboi-perspektive.php:106 controls/ooohboi-photomorph.php:98
82
- #: controls/ooohboi-photomorph.php:174 controls/ooohboi-pseudo.php:114
83
- #: controls/ooohboi-searchcop.php:80 controls/ooohboi-shadough.php:51
84
- #: controls/ooohboi-spacerat.php:102 controls/ooohboi-spacerat.php:379
85
- #: controls/ooohboi-widget-stalker.php:99
86
  #: inc/exopite-simple-options/fields/upload.php:129
87
  msgid "No"
88
  msgstr ""
@@ -100,8 +88,8 @@ msgstr ""
100
  #: controls/ooohboi-breaking-bad.php:109 controls/ooohboi-breaking-bad.php:155
101
  #: controls/ooohboi-breaking-bad.php:315 controls/ooohboi-breaking-bad.php:338
102
  #: controls/ooohboi-breaking-bad.php:467 controls/ooohboi-breaking-bad.php:592
103
- #: controls/ooohboi-breaking-bad.php:616 controls/ooohboi-commentz.php:166
104
- #: controls/ooohboi-commentz.php:707 controls/ooohboi-widget-stalker.php:227
105
  msgid "Center"
106
  msgstr ""
107
 
@@ -109,7 +97,7 @@ msgstr ""
109
  #: controls/ooohboi-breaking-bad.php:316 controls/ooohboi-breaking-bad.php:339
110
  #: controls/ooohboi-breaking-bad.php:468 controls/ooohboi-breaking-bad.php:593
111
  #: controls/ooohboi-breaking-bad.php:617
112
- #: controls/ooohboi-widget-stalker.php:228
113
  msgid "End"
114
  msgstr ""
115
 
@@ -151,50 +139,47 @@ msgid ""
151
  "avoid content overlaps."
152
  msgstr ""
153
 
154
- #: controls/ooohboi-breaking-bad.php:192
155
- #: controls/ooohboi-widget-stalker.php:110
156
  msgid "Size Method"
157
  msgstr ""
158
 
159
- #: controls/ooohboi-breaking-bad.php:193
160
- #: controls/ooohboi-widget-stalker.php:111
161
  msgid "Use Flex or Units?"
162
  msgstr ""
163
 
164
  #: controls/ooohboi-breaking-bad.php:198 controls/ooohboi-breaking-bad.php:210
165
- #: controls/ooohboi-widget-stalker.php:115
166
- #: controls/ooohboi-widget-stalker.php:127
167
  msgid "Flex"
168
  msgstr ""
169
 
170
- #: controls/ooohboi-breaking-bad.php:199
171
- #: controls/ooohboi-widget-stalker.php:116
172
  msgid "Units"
173
  msgstr ""
174
 
175
- #: controls/ooohboi-breaking-bad.php:249 controls/ooohboi-overlaiz.php:78
176
- #: controls/ooohboi-overlaiz.php:588 controls/ooohboi-overlay-underlay.php:218
177
- #: controls/ooohboi-overlay-underlay.php:632
178
- #: controls/ooohboi-overlay-underlay.php:858
179
- #: controls/ooohboi-overlay-underlay.php:1262 controls/ooohboi-pseudo.php:227
180
- #: controls/ooohboi-pseudo.php:659 controls/ooohboi-pseudo.php:885
181
- #: controls/ooohboi-pseudo.php:1304 controls/ooohboi-spacerat.php:273
182
- #: controls/ooohboi-videomasq.php:123
183
  msgid "Width"
184
  msgstr ""
185
 
186
  #: controls/ooohboi-breaking-bad.php:255 controls/ooohboi-breaking-bad.php:294
187
  #: controls/ooohboi-breaking-bad.php:406 controls/ooohboi-teleporter.php:137
188
  #: controls/ooohboi-teleporter.php:155 controls/ooohboi-teleporter.php:186
189
- #: controls/ooohboi-teleporter.php:203 controls/ooohboi-widget-stalker.php:169
190
- #: controls/ooohboi-widget-stalker.php:207
191
  msgid ""
192
  "You can enter any acceptable CSS value, for example: 50em, 300px, 100%, "
193
  "calc(100% - 300px)."
194
  msgstr ""
195
 
196
  #: controls/ooohboi-breaking-bad.php:289 controls/ooohboi-breaking-bad.php:402
197
- #: controls/ooohboi-widget-stalker.php:203
198
  msgid "Max Width"
199
  msgstr ""
200
 
@@ -208,16 +193,16 @@ msgid ""
208
  "direction is Row or Inherit)."
209
  msgstr ""
210
 
211
- #: controls/ooohboi-breaking-bad.php:313 controls/ooohboi-overlaiz.php:568
212
- #: controls/ooohboi-overlay-underlay.php:612
213
- #: controls/ooohboi-overlay-underlay.php:1243 controls/ooohboi-pseudo.php:639
214
- #: controls/ooohboi-pseudo.php:1285 controls/ooohboi-spacerat.php:254
215
- #: controls/ooohboi-videomasq.php:105 controls/ooohboi-widget-stalker.php:225
216
  msgid "Auto"
217
  msgstr ""
218
 
219
  #: controls/ooohboi-breaking-bad.php:314
220
- #: controls/ooohboi-widget-stalker.php:226
221
  msgid "Baseline"
222
  msgstr ""
223
 
@@ -240,7 +225,7 @@ msgid "Stacking Order"
240
  msgstr ""
241
 
242
  #: controls/ooohboi-breaking-bad.php:355 controls/ooohboi-breaking-bad.php:444
243
- #: controls/ooohboi-widget-stalker.php:244
244
  #, php-format
245
  msgid "More info at %sMozilla%s."
246
  msgstr ""
@@ -256,7 +241,7 @@ msgid ""
256
  "Breaking Bad for this Column parent SECTION!"
257
  msgstr ""
258
 
259
- #: controls/ooohboi-breaking-bad.php:416 controls/ooohboi-harakiri.php:170
260
  msgid "Custom Height"
261
  msgstr ""
262
 
@@ -277,26 +262,27 @@ msgid "Scrollable Column?"
277
  msgstr ""
278
 
279
  #: controls/ooohboi-breaking-bad.php:499
280
- msgid "Column Link"
 
281
  msgstr ""
282
 
283
- #: controls/ooohboi-breaking-bad.php:504 controls/ooohboi-spacerat.php:126
284
  #: controls/ooohboi-teleporter.php:78
285
  msgid "None"
286
  msgstr ""
287
 
288
- #: controls/ooohboi-breaking-bad.php:505 controls/ooohboi-spacerat.php:127
289
  #: controls/ooohboi-teleporter.php:79
290
  msgid "Custom URL"
291
  msgstr ""
292
 
293
- #: controls/ooohboi-breaking-bad.php:516 controls/ooohboi-spacerat.php:122
294
- #: controls/ooohboi-spacerat.php:139 controls/ooohboi-teleporter.php:73
295
  #: controls/ooohboi-teleporter.php:90
296
  msgid "Link"
297
  msgstr ""
298
 
299
- #: controls/ooohboi-breaking-bad.php:523 controls/ooohboi-spacerat.php:145
300
  #: controls/ooohboi-teleporter.php:97
301
  msgid "https://your-link.com"
302
  msgstr ""
@@ -305,14 +291,14 @@ msgstr ""
305
  msgid "Widget Stalker"
306
  msgstr ""
307
 
308
- #: controls/ooohboi-breaking-bad.php:553 controls/ooohboi-widget-stalker.php:94
309
  msgid "Enable Widget Stalker?"
310
  msgstr ""
311
 
312
  #: controls/ooohboi-breaking-bad.php:554
313
  msgid ""
314
  "NOTE: It changes the default alignment of widgets inside this column - "
315
- "including the Inner Section widget."
316
  msgstr ""
317
 
318
  #: controls/ooohboi-breaking-bad.php:568
@@ -323,968 +309,870 @@ msgstr ""
323
  msgid "Align Widgets"
324
  msgstr ""
325
 
326
- #: controls/ooohboi-bullet.php:47
327
- #, php-format
328
- msgid "Move bullet to top%sNEW!%s"
329
- msgstr ""
330
-
331
- #: controls/ooohboi-bullet.php:48
332
- msgid "NOTE: Takes effect with more than just one line of text!"
333
- msgstr ""
334
-
335
- #: controls/ooohboi-bullet.php:63
336
- msgid "Margin Top"
337
  msgstr ""
338
 
339
- #: controls/ooohboi-butter-button.php:99 controls/ooohboi-searchcop.php:76
340
- msgid "Enable Butter Buttons?"
341
  msgstr ""
342
 
343
- #: controls/ooohboi-butter-button.php:114 controls/ooohboi-icobox.php:122
344
  msgid "Icon Size"
345
  msgstr ""
346
 
347
- #: controls/ooohboi-butter-button.php:115
348
  msgid "Be sure the icon is selected in the Content tab!"
349
  msgstr ""
350
 
351
- #: controls/ooohboi-butter-button.php:149
352
  msgid "Transition Duration"
353
  msgstr ""
354
 
355
- #: controls/ooohboi-butter-button.php:175 controls/ooohboi-commentz.php:183
356
- #: controls/ooohboi-commentz.php:792 controls/ooohboi-commentz.php:1031
357
- #: controls/ooohboi-glider.php:334 controls/ooohboi-kontrolz.php:107
358
  #: controls/ooohboi-paginini.php:59
359
  msgid "Padding"
360
  msgstr ""
361
 
362
- #: controls/ooohboi-butter-button.php:195 controls/ooohboi-harakiri.php:111
363
- #: controls/ooohboi-overlay-underlay.php:177
364
- #: controls/ooohboi-overlay-underlay.php:817
365
- #: controls/ooohboi-photomorph.php:112 controls/ooohboi-pseudo.php:185
366
- #: controls/ooohboi-pseudo.php:844 controls/ooohboi-teleporter.php:129
367
- msgid "Normal"
368
  msgstr ""
369
 
370
- #: controls/ooohboi-butter-button.php:206
371
- #: controls/ooohboi-butter-button.php:335
372
  msgid "Text Color"
373
  msgstr ""
374
 
375
- #: controls/ooohboi-butter-button.php:226
376
- #: controls/ooohboi-butter-button.php:356
377
  msgctxt "Butter Button Text Shadow Control"
378
  msgid "Text Shadow"
379
  msgstr ""
380
 
381
- #: controls/ooohboi-butter-button.php:238
382
- #: controls/ooohboi-butter-button.php:368
383
- msgid "The Background Settings"
384
- msgstr ""
385
-
386
- #: controls/ooohboi-butter-button.php:240
387
- #: controls/ooohboi-butter-button.php:370
388
- msgid ""
389
- "This won't make any effect unless you set the original NORMAL and HOVER "
390
- "background colors to transparent!"
391
- msgstr ""
392
-
393
- #: controls/ooohboi-butter-button.php:267
394
- #: controls/ooohboi-butter-button.php:398 controls/ooohboi-commentz.php:285
395
- #: controls/ooohboi-commentz.php:466 controls/ooohboi-commentz.php:988
396
- #: controls/ooohboi-imbox.php:209 controls/ooohboi-imbox.php:223
397
- #: controls/ooohboi-imbox.php:355 controls/ooohboi-imbox.php:369
398
- #: controls/ooohboi-overlaiz.php:371 controls/ooohboi-overlaiz.php:390
399
- #: controls/ooohboi-overlay-underlay.php:491
400
- #: controls/ooohboi-overlay-underlay.php:509
401
- #: controls/ooohboi-overlay-underlay.php:1123
402
- #: controls/ooohboi-overlay-underlay.php:1141 controls/ooohboi-paginini.php:146
403
- #: controls/ooohboi-paginini.php:195 controls/ooohboi-pseudo.php:517
404
- #: controls/ooohboi-pseudo.php:535 controls/ooohboi-pseudo.php:1164
405
- #: controls/ooohboi-pseudo.php:1182
406
  msgid "Border"
407
  msgstr ""
408
 
409
- #: controls/ooohboi-butter-button.php:280
410
- #: controls/ooohboi-butter-button.php:411 controls/ooohboi-commentz.php:296
411
- #: controls/ooohboi-commentz.php:478 controls/ooohboi-commentz.php:869
412
- #: controls/ooohboi-commentz.php:999 controls/ooohboi-glider.php:290
413
- #: controls/ooohboi-glider.php:537 controls/ooohboi-imbox.php:231
414
- #: controls/ooohboi-imbox.php:377 controls/ooohboi-kontrolz.php:95
415
- #: controls/ooohboi-kontrolz.php:207 controls/ooohboi-overlaiz.php:402
416
- #: controls/ooohboi-overlay-underlay.php:520
417
- #: controls/ooohboi-overlay-underlay.php:1153 controls/ooohboi-paginini.php:154
418
- #: controls/ooohboi-paginini.php:203 controls/ooohboi-pseudo.php:547
419
- #: controls/ooohboi-pseudo.php:1194
420
  msgid "Border Radius"
421
  msgstr ""
422
 
423
- #: controls/ooohboi-butter-button.php:298
424
- #: controls/ooohboi-butter-button.php:429 controls/ooohboi-icobox.php:55
425
- #: controls/ooohboi-imbox.php:56 controls/ooohboi-imbox.php:333
426
- #: controls/ooohboi-overlaiz.php:427
427
  msgid "Box Shadow"
428
  msgstr ""
429
 
430
- #: controls/ooohboi-butter-button.php:324 controls/ooohboi-photomorph.php:142
431
  #: controls/ooohboi-teleporter.php:174
432
  msgid "Hover"
433
  msgstr ""
434
 
435
- #: controls/ooohboi-butter-button.php:384
436
- msgid ""
437
- "NOTE: this won't make any effect unless you set the original HOVER "
438
- "background color to transparent!"
439
- msgstr ""
440
-
441
- #: controls/ooohboi-commentz.php:98
442
  msgid "Enable Commentz"
443
  msgstr ""
444
 
445
- #: controls/ooohboi-commentz.php:99
446
  msgid "That will allow you to style up the post comments."
447
  msgstr ""
448
 
449
- #: controls/ooohboi-commentz.php:115
450
  msgid "Heading"
451
  msgstr ""
452
 
453
- #: controls/ooohboi-commentz.php:128
454
  msgid "Heading style"
455
  msgstr ""
456
 
457
- #: controls/ooohboi-commentz.php:144 controls/ooohboi-commentz.php:550
458
- #: controls/ooohboi-commentz.php:626 controls/ooohboi-commentz.php:932
459
- #: controls/ooohboi-harakiri.php:243
460
  msgid "Color"
461
  msgstr ""
462
 
463
- #: controls/ooohboi-commentz.php:161
464
  msgid "Text alignment"
465
  msgstr ""
466
 
467
- #: controls/ooohboi-commentz.php:165 controls/ooohboi-commentz.php:706
468
  msgid "Left"
469
  msgstr ""
470
 
471
- #: controls/ooohboi-commentz.php:167 controls/ooohboi-commentz.php:708
472
  msgid "Right"
473
  msgstr ""
474
 
475
- #: controls/ooohboi-commentz.php:203 controls/ooohboi-commentz.php:642
476
- #: controls/ooohboi-commentz.php:809 controls/ooohboi-commentz.php:948
477
- #: controls/ooohboi-commentz.php:1051 controls/ooohboi-commentz.php:1115
478
  #: controls/ooohboi-paginini.php:75
479
  msgid "Margin"
480
  msgstr ""
481
 
482
- #: controls/ooohboi-commentz.php:237
483
  msgid "Comment list style"
484
  msgstr ""
485
 
486
- #: controls/ooohboi-commentz.php:253
487
  msgid "Comment body padding"
488
  msgstr ""
489
 
490
- #: controls/ooohboi-commentz.php:269
491
  msgid "Comment body margin"
492
  msgstr ""
493
 
494
- #: controls/ooohboi-commentz.php:312 controls/ooohboi-commentz.php:1015
495
  msgid "Background color"
496
  msgstr ""
497
 
498
- #: controls/ooohboi-commentz.php:328
499
  msgid "Background color replies"
500
  msgstr ""
501
 
502
- #: controls/ooohboi-commentz.php:345
503
  msgid "Child comments indent"
504
  msgstr ""
505
 
506
- #: controls/ooohboi-commentz.php:378
507
  msgid "Gravatar"
508
  msgstr ""
509
 
510
- #: controls/ooohboi-commentz.php:382
511
  msgid "Hide"
512
  msgstr ""
513
 
514
- #: controls/ooohboi-commentz.php:383
515
  msgid "Show"
516
  msgstr ""
517
 
518
- #: controls/ooohboi-commentz.php:399
519
  msgid "Gravatar style"
520
  msgstr ""
521
 
522
- #: controls/ooohboi-commentz.php:416 controls/ooohboi-glider.php:510
523
  msgid "Size"
524
  msgstr ""
525
 
526
- #: controls/ooohboi-commentz.php:448
527
  msgid "Position"
528
  msgstr ""
529
 
530
- #: controls/ooohboi-commentz.php:510
531
  msgid "Meta-data User"
532
  msgstr ""
533
 
534
- #: controls/ooohboi-commentz.php:522
535
  msgid "Meta-data Time"
536
  msgstr ""
537
 
538
- #: controls/ooohboi-commentz.php:535
539
  msgid "Meta-data style"
540
  msgstr ""
541
 
542
- #: controls/ooohboi-commentz.php:566
543
  msgid "Outer Margin"
544
  msgstr ""
545
 
546
- #: controls/ooohboi-commentz.php:597
547
  msgid "Comment text"
548
  msgstr ""
549
 
550
- #: controls/ooohboi-commentz.php:610
551
  msgid "Comment text style"
552
  msgstr ""
553
 
554
- #: controls/ooohboi-commentz.php:673
555
  msgid "Reply button"
556
  msgstr ""
557
 
558
- #: controls/ooohboi-commentz.php:686
559
  msgid "Reply button style"
560
  msgstr ""
561
 
562
- #: controls/ooohboi-commentz.php:702
563
  msgid "Align button"
564
  msgstr ""
565
 
566
- #: controls/ooohboi-commentz.php:724
567
  msgid "Text color normal"
568
  msgstr ""
569
 
570
- #: controls/ooohboi-commentz.php:740
571
  msgid "Text color hover"
572
  msgstr ""
573
 
574
- #: controls/ooohboi-commentz.php:757
575
  msgid "Background color normal"
576
  msgstr ""
577
 
578
- #: controls/ooohboi-commentz.php:775
579
  msgid "Background color hover"
580
  msgstr ""
581
 
582
- #: controls/ooohboi-commentz.php:826
583
  msgid "Border color normal"
584
  msgstr ""
585
 
586
- #: controls/ooohboi-commentz.php:840
587
  msgid "Border color hover"
588
  msgstr ""
589
 
590
- #: controls/ooohboi-commentz.php:854
591
  msgid "Border Width"
592
  msgstr ""
593
 
594
- #: controls/ooohboi-commentz.php:902
595
  msgid "Comment form heading"
596
  msgstr ""
597
 
598
- #: controls/ooohboi-commentz.php:916
599
  msgid "Comment form heading style"
600
  msgstr ""
601
 
602
- #: controls/ooohboi-commentz.php:972
603
  msgid "Comment form style"
604
  msgstr ""
605
 
606
- #: controls/ooohboi-commentz.php:1086
607
  msgid "Comments Nav"
608
  msgstr ""
609
 
610
- #: controls/ooohboi-commentz.php:1099
611
  msgid "Comments Nav style"
612
  msgstr ""
613
 
614
- #: controls/ooohboi-commentz.php:1134
615
  msgid "Hide the Website input field?"
616
  msgstr ""
617
 
618
- #: controls/ooohboi-commentz.php:1135
619
  msgid ""
620
  "If you make it hidden, be sure it's not mandatory otherwise the comment can "
621
  "not be posted!"
622
  msgstr ""
623
 
624
- #: controls/ooohboi-glider.php:115
625
  msgid "Create Slider?"
626
  msgstr ""
627
 
628
- #: controls/ooohboi-glider.php:116
629
- msgid ""
630
- "This container containers will become slidable. TIP: Use this Switch to "
631
- "refresh your Glider."
632
  msgstr ""
633
 
634
- #: controls/ooohboi-glider.php:131
635
  msgid "Adaptable height?"
636
  msgstr ""
637
 
638
- #: controls/ooohboi-glider.php:149
639
  msgid "Slider height"
640
  msgstr ""
641
 
642
- #: controls/ooohboi-glider.php:184
643
  msgid "Hide Navigation"
644
  msgstr ""
645
 
646
- #: controls/ooohboi-glider.php:205 controls/ooohboi-kontrolz.php:46
647
  msgid "Navigation styles"
648
  msgstr ""
649
 
650
- #: controls/ooohboi-glider.php:222
651
  msgid "Arrows Color"
652
  msgstr ""
653
 
654
- #: controls/ooohboi-glider.php:239 controls/ooohboi-kontrolz.php:58
655
  msgid "Arrows Color - Hover"
656
  msgstr ""
657
 
658
- #: controls/ooohboi-glider.php:256 controls/ooohboi-kontrolz.php:71
659
  #: controls/ooohboi-paginini.php:47 controls/ooohboi-paginini.php:121
660
  #: controls/ooohboi-paginini.php:182
661
  msgid "Background Color"
662
  msgstr ""
663
 
664
- #: controls/ooohboi-glider.php:273 controls/ooohboi-kontrolz.php:83
665
  msgid "Background Color - Hover"
666
  msgstr ""
667
 
668
- #: controls/ooohboi-glider.php:307
669
  msgid "Icon size"
670
  msgstr ""
671
 
672
- #: controls/ooohboi-glider.php:360 controls/ooohboi-kontrolz.php:128
673
  msgid "Calc - Y"
674
  msgstr ""
675
 
676
- #: controls/ooohboi-glider.php:361 controls/ooohboi-glider.php:380
677
- #: controls/ooohboi-glider.php:398 controls/ooohboi-kontrolz.php:129
678
  #: controls/ooohboi-kontrolz.php:143 controls/ooohboi-kontrolz.php:156
679
  msgid "Valid CSS only! Like: 25px or 15em or 100% - 50px or 50% + 3rem"
680
  msgstr ""
681
 
682
- #: controls/ooohboi-glider.php:378 controls/ooohboi-kontrolz.php:141
683
  msgid "Calc Prev - X"
684
  msgstr ""
685
 
686
- #: controls/ooohboi-glider.php:396 controls/ooohboi-kontrolz.php:154
687
  msgid "Calc Next - X"
688
  msgstr ""
689
 
690
- #: controls/ooohboi-glider.php:417
691
  msgid "Hide Pagination"
692
  msgstr ""
693
 
694
- #: controls/ooohboi-glider.php:439 controls/ooohboi-kontrolz.php:170
695
  msgid "Pagination styles"
696
  msgstr ""
697
 
698
- #: controls/ooohboi-glider.php:455
699
  msgid "Pagination type"
700
  msgstr ""
701
 
702
- #: controls/ooohboi-glider.php:459
703
  msgid "Bullets"
704
  msgstr ""
705
 
706
- #: controls/ooohboi-glider.php:460
707
  msgid "Fraction"
708
  msgstr ""
709
 
710
- #: controls/ooohboi-glider.php:461
711
  msgid "Progress Bar"
712
  msgstr ""
713
 
714
- #: controls/ooohboi-glider.php:475 controls/ooohboi-kontrolz.php:182
715
  msgid "Pagination Color"
716
  msgstr ""
717
 
718
- #: controls/ooohboi-glider.php:492 controls/ooohboi-kontrolz.php:195
719
  msgid "Pagination Color - Active"
720
  msgstr ""
721
 
722
- #: controls/ooohboi-glider.php:557
723
  msgid "Transition type"
724
  msgstr ""
725
 
726
- #: controls/ooohboi-glider.php:562
727
  msgid "Slide"
728
  msgstr ""
729
 
730
- #: controls/ooohboi-glider.php:563 controls/ooohboi-teleporter.php:317
731
  msgid "Fade"
732
  msgstr ""
733
 
734
- #: controls/ooohboi-glider.php:577
735
- msgid "Show Multiple Slides"
 
736
  msgstr ""
737
 
738
- #: controls/ooohboi-glider.php:598
739
  msgid "Slides Per View"
740
  msgstr ""
741
 
742
- #: controls/ooohboi-glider.php:619
743
  msgid "Slides to Scroll"
744
  msgstr ""
745
 
746
- #: controls/ooohboi-glider.php:620
747
  msgid "Scrolling multiple slides can break infinite loop."
748
  msgstr ""
749
 
750
- #: controls/ooohboi-glider.php:639
751
  msgid "Space Between Slides (px)"
752
  msgstr ""
753
 
754
- #: controls/ooohboi-glider.php:657
755
- msgid "Centered Slides"
756
- msgstr ""
757
-
758
- #: controls/ooohboi-glider.php:658
759
- msgid "Active slide will be centered."
760
- msgstr ""
761
-
762
- #: controls/ooohboi-glider.php:678
763
- msgid "Centered Slide Bounds"
764
- msgstr ""
765
-
766
- #: controls/ooohboi-glider.php:679
767
- msgid ""
768
- "Active slide will be centered without adding gaps at the beginning and end "
769
- "of slider."
770
- msgstr ""
771
-
772
- #: controls/ooohboi-glider.php:701
773
  msgid "Infinite Loop"
774
  msgstr ""
775
 
776
- #: controls/ooohboi-glider.php:720
777
  msgid "Direction"
778
  msgstr ""
779
 
780
- #: controls/ooohboi-glider.php:725
781
  msgid "Horizontal"
782
  msgstr ""
783
 
784
- #: controls/ooohboi-glider.php:726
785
  msgid "Vertical"
786
  msgstr ""
787
 
788
- #: controls/ooohboi-glider.php:740
789
  msgid "Parallax"
790
  msgstr ""
791
 
792
- #: controls/ooohboi-glider.php:741
793
  msgid "It will work with Elementor PRO Attributes only."
794
  msgstr ""
795
 
796
- #: controls/ooohboi-glider.php:760
797
  msgid "Transition speed"
798
  msgstr ""
799
 
800
- #: controls/ooohboi-glider.php:776
801
- msgid "Enable Touch Move"
802
- msgstr ""
803
-
804
- #: controls/ooohboi-glider.php:794
805
- msgid "Enable Mousewheel"
806
- msgstr ""
807
-
808
- #: controls/ooohboi-glider.php:812
809
- msgid "Deblur Slides"
810
  msgstr ""
811
 
812
- #: controls/ooohboi-glider.php:813
813
- msgid "Round values of slides width and height to prevent blurry texts?"
814
- msgstr ""
815
-
816
- #: controls/ooohboi-glider.php:832
817
  msgid "Autoplay"
818
  msgstr ""
819
 
820
- #: controls/ooohboi-glider.php:850
821
  msgid "Autoplay delay"
822
  msgstr ""
823
 
824
- #: controls/ooohboi-glider.php:851
825
  msgid "In miliseconds! 1000 is one second."
826
  msgstr ""
827
 
828
- #: controls/ooohboi-glider.php:869
829
- msgid "Control Glider externally!"
830
- msgstr ""
831
-
832
- #: controls/ooohboi-glider.php:871
833
- msgid ""
834
- "You can control this Glider instance from any link on this page by adding "
835
- "the custom class name to the link. \n"
836
- "\t\t\t\t\tCopy the text entirely and append the slide number to go to at the "
837
- "end. For instance: glider-NNNNNNN-gotoslide-3"
838
- msgstr ""
839
-
840
- #: controls/ooohboi-glider.php:883
841
- msgid "This Glider control class"
842
- msgstr ""
843
-
844
- #: controls/ooohboi-harakiri.php:91
845
  msgid "Color - HOVER"
846
  msgstr ""
847
 
848
- #: controls/ooohboi-harakiri.php:103
849
  msgid "Writing Mode"
850
  msgstr ""
851
 
852
- #: controls/ooohboi-harakiri.php:109
853
  msgid "Vertical LR"
854
  msgstr ""
855
 
856
- #: controls/ooohboi-harakiri.php:110
857
  msgid "Vertical RL"
858
  msgstr ""
859
 
860
- #: controls/ooohboi-harakiri.php:124
 
 
 
 
 
 
 
861
  msgid "Flip"
862
  msgstr ""
863
 
864
- #: controls/ooohboi-harakiri.php:146 controls/ooohboi-overlaiz.php:145
865
- #: controls/ooohboi-overlay-underlay.php:279
866
- #: controls/ooohboi-overlay-underlay.php:917 controls/ooohboi-pseudo.php:292
867
- #: controls/ooohboi-pseudo.php:946
868
  msgid "Height"
869
  msgstr ""
870
 
871
- #: controls/ooohboi-harakiri.php:150 controls/ooohboi-harakiri.php:229
872
- #: controls/ooohboi-hover-animator.php:321
873
- #: controls/ooohboi-hover-animator.php:518
874
- #: controls/ooohboi-hover-animator.php:715
875
- #: controls/ooohboi-hover-animator.php:965
876
- #: controls/ooohboi-hover-animator.php:1131 controls/ooohboi-overlaiz.php:537
877
- #: controls/ooohboi-overlaiz.php:567 controls/ooohboi-overlay-underlay.php:581
878
- #: controls/ooohboi-overlay-underlay.php:611
879
- #: controls/ooohboi-overlay-underlay.php:1213
880
- #: controls/ooohboi-overlay-underlay.php:1242
881
- #: controls/ooohboi-photomorph.php:220 controls/ooohboi-pseudo.php:608
882
- #: controls/ooohboi-pseudo.php:638 controls/ooohboi-pseudo.php:1255
883
- #: controls/ooohboi-pseudo.php:1284 controls/ooohboi-spacerat.php:224
884
- #: controls/ooohboi-spacerat.php:253 controls/ooohboi-videomasq.php:76
885
- #: controls/ooohboi-videomasq.php:104
886
  msgid "Default"
887
  msgstr ""
888
 
889
- #: controls/ooohboi-harakiri.php:151
890
  msgid "Inline"
891
  msgstr ""
892
 
893
- #: controls/ooohboi-harakiri.php:152 controls/ooohboi-overlaiz.php:571
894
- #: controls/ooohboi-overlay-underlay.php:615
895
- #: controls/ooohboi-overlay-underlay.php:1246 controls/ooohboi-pseudo.php:642
896
- #: controls/ooohboi-pseudo.php:1288 controls/ooohboi-spacerat.php:257
897
- #: controls/ooohboi-videomasq.php:108
898
  msgid "Custom"
899
  msgstr ""
900
 
901
- #: controls/ooohboi-harakiri.php:171
902
  msgid "NOTE: [%] unit works properly only if Column height is a fixed value!"
903
  msgstr ""
904
 
905
- #: controls/ooohboi-harakiri.php:220
906
  msgid "Mix Blend Mode"
907
  msgstr ""
908
 
909
- #: controls/ooohboi-harakiri.php:222
910
  #, php-format
911
  msgid "Learn more about this CSS property: %sMozilla.org%s"
912
  msgstr ""
913
 
914
- #: controls/ooohboi-harakiri.php:230
915
  msgid "Multiply"
916
  msgstr ""
917
 
918
- #: controls/ooohboi-harakiri.php:231
919
  msgid "Screen"
920
  msgstr ""
921
 
922
- #: controls/ooohboi-harakiri.php:232 controls/ooohboi-overlay-underlay.php:120
923
  msgid "Overlay"
924
  msgstr ""
925
 
926
- #: controls/ooohboi-harakiri.php:233
927
  msgid "Darken"
928
  msgstr ""
929
 
930
- #: controls/ooohboi-harakiri.php:234
931
  msgid "Lighten"
932
  msgstr ""
933
 
934
- #: controls/ooohboi-harakiri.php:235
935
  msgid "Color-dodge"
936
  msgstr ""
937
 
938
- #: controls/ooohboi-harakiri.php:236
939
  msgid "Color-burn"
940
  msgstr ""
941
 
942
- #: controls/ooohboi-harakiri.php:237
943
  msgid "Hard-light"
944
  msgstr ""
945
 
946
- #: controls/ooohboi-harakiri.php:238
947
  msgid "Soft-light"
948
  msgstr ""
949
 
950
- #: controls/ooohboi-harakiri.php:239
951
  msgid "Difference"
952
  msgstr ""
953
 
954
- #: controls/ooohboi-harakiri.php:240
955
  msgid "Exclusion"
956
  msgstr ""
957
 
958
- #: controls/ooohboi-harakiri.php:241
959
  msgid "Hue"
960
  msgstr ""
961
 
962
- #: controls/ooohboi-harakiri.php:242
963
  msgid "Saturation"
964
  msgstr ""
965
 
966
- #: controls/ooohboi-harakiri.php:244
967
  msgid "Luminosity"
968
  msgstr ""
969
 
970
- #: controls/ooohboi-harakiri.php:268
971
- msgid "Cut off the bottom margin"
972
- msgstr ""
973
-
974
- #: controls/ooohboi-harakiri.php:269
975
- msgid "NOTE: Only the last child P(aragraph) shall be cut off!"
976
- msgstr ""
977
-
978
- #: controls/ooohboi-hover-animator.php:105
979
  msgid "Enable HOVERANIMATOR?"
980
  msgstr ""
981
 
982
- #: controls/ooohboi-hover-animator.php:120
983
  msgid ""
984
- "With Hoveranimator you can animate any widget in this container on mouse-"
985
- "over event. Animation panel is available under the Advanced tab, per widget!"
986
  msgstr ""
987
 
988
- #: controls/ooohboi-hover-animator.php:129 controls/ooohboi-icobox.php:75
989
- #: controls/ooohboi-imbox.php:76 controls/ooohboi-perspektive.php:256
990
  #: controls/ooohboi-teleporter.php:361
991
  msgid "Content Overflow"
992
  msgstr ""
993
 
994
- #: controls/ooohboi-hover-animator.php:130
995
  msgid ""
996
  "VISIBLE - makes visible all the elements outside this Column boundaries, "
997
  "HIDDEN - hides everything outside this Column boundaries."
998
  msgstr ""
999
 
1000
- #: controls/ooohboi-hover-animator.php:135 controls/ooohboi-icobox.php:80
1001
- #: controls/ooohboi-imbox.php:81 controls/ooohboi-perspektive.php:262
1002
  #: controls/ooohboi-teleporter.php:367
1003
  msgid "Visible"
1004
  msgstr ""
1005
 
1006
- #: controls/ooohboi-hover-animator.php:136 controls/ooohboi-icobox.php:81
1007
- #: controls/ooohboi-imbox.php:82 controls/ooohboi-perspektive.php:263
1008
  #: controls/ooohboi-teleporter.php:368
1009
  msgid "Hidden"
1010
  msgstr ""
1011
 
1012
- #: controls/ooohboi-hover-animator.php:179
1013
  msgid "Enable Hoveranimator"
1014
  msgstr ""
1015
 
1016
- #: controls/ooohboi-hover-animator.php:180
1017
  msgid ""
1018
  "That will allow you to animate this widget on mouse-over event of the parent "
1019
  "column."
1020
  msgstr ""
1021
 
1022
- #: controls/ooohboi-hover-animator.php:194
1023
- #: controls/ooohboi-overlay-underlay.php:138
1024
- #: controls/ooohboi-overlay-underlay.php:778 controls/ooohboi-pseudo.php:146
1025
- #: controls/ooohboi-pseudo.php:805
1026
  msgid "Opacity"
1027
  msgstr ""
1028
 
1029
- #: controls/ooohboi-hover-animator.php:210
1030
  msgid "Opacity Normal"
1031
  msgstr ""
1032
 
1033
- #: controls/ooohboi-hover-animator.php:235
1034
  msgid "Opacity Hover"
1035
  msgstr ""
1036
 
1037
- #: controls/ooohboi-hover-animator.php:257
1038
- #: controls/ooohboi-hover-animator.php:454
1039
- #: controls/ooohboi-hover-animator.php:651
1040
- #: controls/ooohboi-hover-animator.php:901
1041
- #: controls/ooohboi-hover-animator.php:1067
1042
  msgid "Duration"
1043
  msgstr ""
1044
 
1045
- #: controls/ooohboi-hover-animator.php:286
1046
- #: controls/ooohboi-hover-animator.php:483
1047
- #: controls/ooohboi-hover-animator.php:680
1048
- #: controls/ooohboi-hover-animator.php:930
1049
- #: controls/ooohboi-hover-animator.php:1096
1050
  msgid "Delay"
1051
  msgstr ""
1052
 
1053
- #: controls/ooohboi-hover-animator.php:315
1054
- #: controls/ooohboi-hover-animator.php:512
1055
- #: controls/ooohboi-hover-animator.php:709
1056
- #: controls/ooohboi-hover-animator.php:959
1057
- #: controls/ooohboi-hover-animator.php:1125
1058
  msgid "Easing"
1059
  msgstr ""
1060
 
1061
- #: controls/ooohboi-hover-animator.php:322
1062
- #: controls/ooohboi-hover-animator.php:519
1063
- #: controls/ooohboi-hover-animator.php:716
1064
- #: controls/ooohboi-hover-animator.php:966
1065
- #: controls/ooohboi-hover-animator.php:1132 controls/ooohboi-photomorph.php:221
1066
  msgid "Ease-in"
1067
  msgstr ""
1068
 
1069
- #: controls/ooohboi-hover-animator.php:323
1070
- #: controls/ooohboi-hover-animator.php:520
1071
- #: controls/ooohboi-hover-animator.php:717
1072
- #: controls/ooohboi-hover-animator.php:967
1073
- #: controls/ooohboi-hover-animator.php:1133 controls/ooohboi-photomorph.php:222
1074
  msgid "Ease-out"
1075
  msgstr ""
1076
 
1077
- #: controls/ooohboi-hover-animator.php:324
1078
- #: controls/ooohboi-hover-animator.php:521
1079
- #: controls/ooohboi-hover-animator.php:718
1080
- #: controls/ooohboi-hover-animator.php:968
1081
- #: controls/ooohboi-hover-animator.php:1134 controls/ooohboi-photomorph.php:223
1082
  msgid "Ease-in-out"
1083
  msgstr ""
1084
 
1085
- #: controls/ooohboi-hover-animator.php:344
1086
- #: controls/ooohboi-overlay-underlay.php:340
1087
- #: controls/ooohboi-overlay-underlay.php:976 controls/ooohboi-pseudo.php:357
1088
- #: controls/ooohboi-pseudo.php:1009
1089
  msgid "Offset Top"
1090
  msgstr ""
1091
 
1092
- #: controls/ooohboi-hover-animator.php:360
1093
  msgid "Offset Top Normal"
1094
  msgstr ""
1095
 
1096
- #: controls/ooohboi-hover-animator.php:392
1097
  msgid "Calc Offset Top Normal"
1098
  msgstr ""
1099
 
1100
- #: controls/ooohboi-hover-animator.php:393
1101
- #: controls/ooohboi-hover-animator.php:440
1102
- #: controls/ooohboi-hover-animator.php:590
1103
- #: controls/ooohboi-hover-animator.php:637 controls/ooohboi-overlaiz.php:130
1104
- #: controls/ooohboi-overlaiz.php:197 controls/ooohboi-overlaiz.php:264
1105
- #: controls/ooohboi-overlaiz.php:331 controls/ooohboi-overlay-underlay.php:263
1106
- #: controls/ooohboi-overlay-underlay.php:385
1107
- #: controls/ooohboi-overlay-underlay.php:902
1108
- #: controls/ooohboi-overlay-underlay.php:1020
1109
- #: controls/ooohboi-overlay-underlay.php:1079 controls/ooohboi-pseudo.php:276
1110
- #: controls/ooohboi-pseudo.php:406 controls/ooohboi-pseudo.php:931
1111
- #: controls/ooohboi-pseudo.php:1057 controls/ooohboi-pseudo.php:1120
1112
  msgid "Enter CSS calc value only! Like: 100% - 50px or 100% + 2em"
1113
  msgstr ""
1114
 
1115
- #: controls/ooohboi-hover-animator.php:410
1116
  msgid "Offset Top Hover"
1117
  msgstr ""
1118
 
1119
- #: controls/ooohboi-hover-animator.php:439
1120
  msgid "Calc Offset Top Hover"
1121
  msgstr ""
1122
 
1123
- #: controls/ooohboi-hover-animator.php:541
1124
- #: controls/ooohboi-overlay-underlay.php:401
1125
- #: controls/ooohboi-overlay-underlay.php:1035 controls/ooohboi-pseudo.php:422
1126
- #: controls/ooohboi-pseudo.php:1072
1127
  msgid "Offset Left"
1128
  msgstr ""
1129
 
1130
- #: controls/ooohboi-hover-animator.php:557
1131
  msgid "Offset Left Normal"
1132
  msgstr ""
1133
 
1134
- #: controls/ooohboi-hover-animator.php:589
1135
  msgid "Calc Offset Left Normal"
1136
  msgstr ""
1137
 
1138
- #: controls/ooohboi-hover-animator.php:607
1139
  msgid "Offset Left Hover"
1140
  msgstr ""
1141
 
1142
- #: controls/ooohboi-hover-animator.php:636
1143
  msgid "Calc Offset Left Hover"
1144
  msgstr ""
1145
 
1146
- #: controls/ooohboi-hover-animator.php:738
1147
  msgid "Transforms"
1148
  msgstr ""
1149
 
1150
- #: controls/ooohboi-hover-animator.php:753
1151
  msgid "ScaleX Normal"
1152
  msgstr ""
1153
 
1154
- #: controls/ooohboi-hover-animator.php:779
1155
  msgid "ScaleX Hover"
1156
  msgstr ""
1157
 
1158
- #: controls/ooohboi-hover-animator.php:802
1159
  msgid "ScaleY Normal"
1160
  msgstr ""
1161
 
1162
- #: controls/ooohboi-hover-animator.php:828
1163
  msgid "ScaleY Hover"
1164
  msgstr ""
1165
 
1166
- #: controls/ooohboi-hover-animator.php:851
1167
  msgid "Rotation Normal"
1168
  msgstr ""
1169
 
1170
- #: controls/ooohboi-hover-animator.php:877
1171
  msgid "Rotation Hover"
1172
  msgstr ""
1173
 
1174
- #: controls/ooohboi-hover-animator.php:988 controls/ooohboi-shadough.php:123
1175
- #: controls/ooohboi-spacerat.php:474
1176
  msgid "Blur"
1177
  msgstr ""
1178
 
1179
- #: controls/ooohboi-hover-animator.php:1004
1180
  msgid "Blur Normal"
1181
  msgstr ""
1182
 
1183
- #: controls/ooohboi-hover-animator.php:1037
1184
  msgid "Blur Hover"
1185
  msgstr ""
1186
 
1187
- #: controls/ooohboi-icobox.php:92
1188
- #, php-format
1189
- msgid "Prevent Icon and Title Collapse%sNEW!%s"
1190
- msgstr ""
1191
-
1192
- #: controls/ooohboi-icobox.php:93
1193
- msgid "The icon sits atop the title on mobiles. Prevent that, huh?"
1194
- msgstr ""
1195
-
1196
- #: controls/ooohboi-icobox.php:108 controls/ooohboi-icobox.php:243
1197
- #: controls/ooohboi-imbox.php:110 controls/ooohboi-imbox.php:406
1198
  msgid "Overrides"
1199
  msgstr ""
1200
 
1201
- #: controls/ooohboi-icobox.php:109 controls/ooohboi-imbox.php:111
1202
  msgid "Allow more basic controls?"
1203
  msgstr ""
1204
 
1205
- #: controls/ooohboi-icobox.php:159
1206
  msgid "Icon Padding"
1207
  msgstr ""
1208
 
1209
- #: controls/ooohboi-icobox.php:175
1210
  msgid "Icon Margin"
1211
  msgstr ""
1212
 
1213
- #: controls/ooohboi-icobox.php:229 controls/ooohboi-imbox.php:306
1214
  msgid "Box Padding"
1215
  msgstr ""
1216
 
1217
- #: controls/ooohboi-icobox.php:244 controls/ooohboi-imbox.php:407
1218
  msgid "Allow separate controls for Title and Description?"
1219
  msgstr ""
1220
 
1221
- #: controls/ooohboi-icobox.php:258 controls/ooohboi-imbox.php:420
1222
  msgid "Title Padding"
1223
  msgstr ""
1224
 
1225
- #: controls/ooohboi-icobox.php:274 controls/ooohboi-imbox.php:436
1226
  msgid "Title Margin"
1227
  msgstr ""
1228
 
1229
- #: controls/ooohboi-icobox.php:289 controls/ooohboi-imbox.php:452
1230
  msgid "Description Padding"
1231
  msgstr ""
1232
 
1233
- #: controls/ooohboi-icobox.php:305 controls/ooohboi-imbox.php:468
1234
  msgid "Description Margin"
1235
  msgstr ""
1236
 
1237
- #: controls/ooohboi-imbox.php:93
1238
- #, php-format
1239
- msgid "Prevent Image and Title Collapse%sNEW!%s"
1240
- msgstr ""
1241
-
1242
- #: controls/ooohboi-imbox.php:94
1243
- msgid "The thumbnail sits atop the title on mobiles. Prevent that, huh?"
1244
- msgstr ""
1245
-
1246
- #: controls/ooohboi-imbox.php:124
1247
  msgid "Image Size"
1248
  msgstr ""
1249
 
1250
- #: controls/ooohboi-imbox.php:161
1251
  msgid "Image Padding"
1252
  msgstr ""
1253
 
1254
- #: controls/ooohboi-imbox.php:177
1255
  msgid "Image Margin"
1256
  msgstr ""
1257
 
1258
- #: controls/ooohboi-imbox.php:192
1259
  msgid "Enable full-height?"
1260
  msgstr ""
1261
 
1262
- #: controls/ooohboi-imbox.php:193
1263
  msgid ""
1264
  "That will make the photo full-height. Makes sense only if the photo is "
1265
  "placed left or the right-hand side!"
1266
  msgstr ""
1267
 
1268
- #: controls/ooohboi-imbox.php:246
1269
  msgid "Image clip path"
1270
  msgstr ""
1271
 
1272
- #: controls/ooohboi-imbox.php:248 controls/ooohboi-overlaiz.php:470
1273
- #: controls/ooohboi-overlay-underlay.php:716
1274
- #: controls/ooohboi-overlay-underlay.php:1344
1275
- #: controls/ooohboi-photomorph.php:120 controls/ooohboi-photomorph.php:150
1276
- #: controls/ooohboi-pseudo.php:743 controls/ooohboi-pseudo.php:1386
1277
- #: controls/ooohboi-spacerat.php:539
1278
  #, php-format
1279
  msgid ""
1280
  "Enter the full clip-path property! See the copy-paste examples at %sClippy%s"
1281
  msgstr ""
1282
 
1283
- #: controls/ooohboi-imbox.php:319
1284
  msgid "Box Margin"
1285
  msgstr ""
1286
 
1287
- #: controls/ooohboi-imbox.php:392
1288
  msgid "Box z-index"
1289
  msgstr ""
1290
 
@@ -1308,68 +1196,68 @@ msgid ""
1308
  "pipe character, i.e. data-scroll-offset%s100,50em"
1309
  msgstr ""
1310
 
1311
- #: controls/ooohboi-overlaiz.php:61
1312
  msgid "Enable Overlaiz?"
1313
  msgstr ""
1314
 
1315
- #: controls/ooohboi-overlaiz.php:129 controls/ooohboi-overlay-underlay.php:262
1316
- #: controls/ooohboi-overlay-underlay.php:901 controls/ooohboi-pseudo.php:275
1317
- #: controls/ooohboi-pseudo.php:930
1318
  msgid "Calc Width"
1319
  msgstr ""
1320
 
1321
- #: controls/ooohboi-overlaiz.php:196 controls/ooohboi-overlay-underlay.php:323
1322
- #: controls/ooohboi-overlay-underlay.php:960 controls/ooohboi-pseudo.php:340
1323
- #: controls/ooohboi-pseudo.php:993
1324
  msgid "Calc Height"
1325
  msgstr ""
1326
 
1327
- #: controls/ooohboi-overlaiz.php:212
1328
  msgid "Position - X"
1329
  msgstr ""
1330
 
1331
- #: controls/ooohboi-overlaiz.php:263
1332
  msgid "Calc Position - X"
1333
  msgstr ""
1334
 
1335
- #: controls/ooohboi-overlaiz.php:279
1336
  msgid "Position - Y"
1337
  msgstr ""
1338
 
1339
- #: controls/ooohboi-overlaiz.php:330
1340
  msgid "Calc Position - Y"
1341
  msgstr ""
1342
 
1343
- #: controls/ooohboi-overlaiz.php:346
1344
  msgid "Rotation"
1345
  msgstr ""
1346
 
1347
- #: controls/ooohboi-overlaiz.php:453 controls/ooohboi-overlay-underlay.php:714
1348
- #: controls/ooohboi-overlay-underlay.php:1342 controls/ooohboi-pseudo.php:741
1349
- #: controls/ooohboi-pseudo.php:1384 controls/ooohboi-spacerat.php:537
1350
  msgid "Clip path"
1351
  msgstr ""
1352
 
1353
- #: controls/ooohboi-overlaiz.php:494
1354
  msgid "Mask"
1355
  msgstr ""
1356
 
1357
- #: controls/ooohboi-overlaiz.php:495 controls/ooohboi-spacerat.php:185
1358
- #: controls/ooohboi-spacerat.php:354
1359
  msgid ""
1360
  "NOTE: In order to see the effect you should add the Background to the Spacer "
1361
  "widget first!"
1362
  msgstr ""
1363
 
1364
- #: controls/ooohboi-overlaiz.php:513 controls/ooohboi-overlay-underlay.php:557
1365
- #: controls/ooohboi-overlay-underlay.php:1189 controls/ooohboi-pseudo.php:584
1366
- #: controls/ooohboi-pseudo.php:1231 controls/ooohboi-spacerat.php:201
1367
  msgid "Choose Image Mask"
1368
  msgstr ""
1369
 
1370
- #: controls/ooohboi-overlaiz.php:514 controls/ooohboi-overlay-underlay.php:558
1371
- #: controls/ooohboi-overlay-underlay.php:1190 controls/ooohboi-pseudo.php:585
1372
- #: controls/ooohboi-pseudo.php:1232 controls/ooohboi-spacerat.php:202
1373
  #, php-format
1374
  msgid ""
1375
  "NOTE: Image Mask should be black-and-transparent SVG file! Anything that’s "
@@ -1377,238 +1265,234 @@ msgid ""
1377
  "transparent will be completely hidden."
1378
  msgstr ""
1379
 
1380
- #: controls/ooohboi-overlaiz.php:533 controls/ooohboi-overlay-underlay.php:577
1381
- #: controls/ooohboi-overlay-underlay.php:1209 controls/ooohboi-pseudo.php:604
1382
- #: controls/ooohboi-pseudo.php:1251 controls/ooohboi-spacerat.php:220
1383
- #: controls/ooohboi-videomasq.php:72
1384
  msgid "Mask position"
1385
  msgstr ""
1386
 
1387
- #: controls/ooohboi-overlaiz.php:538 controls/ooohboi-overlay-underlay.php:582
1388
- #: controls/ooohboi-overlay-underlay.php:1214 controls/ooohboi-pseudo.php:609
1389
- #: controls/ooohboi-pseudo.php:1256 controls/ooohboi-spacerat.php:225
1390
- #: controls/ooohboi-videomasq.php:77
1391
  msgid "Center Center"
1392
  msgstr ""
1393
 
1394
- #: controls/ooohboi-overlaiz.php:539 controls/ooohboi-overlay-underlay.php:583
1395
- #: controls/ooohboi-overlay-underlay.php:1215 controls/ooohboi-pseudo.php:610
1396
- #: controls/ooohboi-pseudo.php:1257 controls/ooohboi-spacerat.php:226
1397
- #: controls/ooohboi-videomasq.php:78
1398
  msgid "Center Left"
1399
  msgstr ""
1400
 
1401
- #: controls/ooohboi-overlaiz.php:540 controls/ooohboi-overlay-underlay.php:584
1402
- #: controls/ooohboi-overlay-underlay.php:1216 controls/ooohboi-pseudo.php:611
1403
- #: controls/ooohboi-pseudo.php:1258 controls/ooohboi-spacerat.php:227
1404
- #: controls/ooohboi-videomasq.php:79
1405
  msgid "Center Right"
1406
  msgstr ""
1407
 
1408
- #: controls/ooohboi-overlaiz.php:541 controls/ooohboi-overlay-underlay.php:585
1409
- #: controls/ooohboi-overlay-underlay.php:1217 controls/ooohboi-pseudo.php:612
1410
- #: controls/ooohboi-pseudo.php:1259 controls/ooohboi-spacerat.php:228
1411
- #: controls/ooohboi-videomasq.php:80
1412
  msgid "Top Center"
1413
  msgstr ""
1414
 
1415
- #: controls/ooohboi-overlaiz.php:542 controls/ooohboi-overlay-underlay.php:586
1416
- #: controls/ooohboi-overlay-underlay.php:1218 controls/ooohboi-pseudo.php:613
1417
- #: controls/ooohboi-pseudo.php:1260 controls/ooohboi-spacerat.php:229
1418
- #: controls/ooohboi-videomasq.php:81
1419
  msgid "Top Left"
1420
  msgstr ""
1421
 
1422
- #: controls/ooohboi-overlaiz.php:543 controls/ooohboi-overlay-underlay.php:587
1423
- #: controls/ooohboi-overlay-underlay.php:1219 controls/ooohboi-pseudo.php:614
1424
- #: controls/ooohboi-pseudo.php:1261 controls/ooohboi-spacerat.php:230
1425
- #: controls/ooohboi-videomasq.php:82
1426
  msgid "Top Right"
1427
  msgstr ""
1428
 
1429
- #: controls/ooohboi-overlaiz.php:544 controls/ooohboi-overlay-underlay.php:588
1430
- #: controls/ooohboi-overlay-underlay.php:1220 controls/ooohboi-pseudo.php:615
1431
- #: controls/ooohboi-pseudo.php:1262 controls/ooohboi-spacerat.php:231
1432
- #: controls/ooohboi-videomasq.php:83
1433
  msgid "Bottom Center"
1434
  msgstr ""
1435
 
1436
- #: controls/ooohboi-overlaiz.php:545 controls/ooohboi-overlay-underlay.php:589
1437
- #: controls/ooohboi-overlay-underlay.php:1221 controls/ooohboi-pseudo.php:616
1438
- #: controls/ooohboi-pseudo.php:1263 controls/ooohboi-spacerat.php:232
1439
- #: controls/ooohboi-videomasq.php:84
1440
  msgid "Bottom Left"
1441
  msgstr ""
1442
 
1443
- #: controls/ooohboi-overlaiz.php:546 controls/ooohboi-overlay-underlay.php:590
1444
- #: controls/ooohboi-overlay-underlay.php:1222 controls/ooohboi-pseudo.php:617
1445
- #: controls/ooohboi-pseudo.php:1264 controls/ooohboi-spacerat.php:233
1446
- #: controls/ooohboi-videomasq.php:85
1447
  msgid "Bottom Right"
1448
  msgstr ""
1449
 
1450
- #: controls/ooohboi-overlaiz.php:563 controls/ooohboi-overlay-underlay.php:607
1451
- #: controls/ooohboi-overlay-underlay.php:1238 controls/ooohboi-pseudo.php:634
1452
- #: controls/ooohboi-pseudo.php:1280 controls/ooohboi-spacerat.php:249
1453
- #: controls/ooohboi-videomasq.php:100
1454
  msgid "Mask size"
1455
  msgstr ""
1456
 
1457
- #: controls/ooohboi-overlaiz.php:569 controls/ooohboi-overlay-underlay.php:613
1458
- #: controls/ooohboi-overlay-underlay.php:1244 controls/ooohboi-pseudo.php:640
1459
- #: controls/ooohboi-pseudo.php:1286 controls/ooohboi-spacerat.php:255
1460
- #: controls/ooohboi-videomasq.php:106
1461
  msgid "Cover"
1462
  msgstr ""
1463
 
1464
- #: controls/ooohboi-overlaiz.php:570 controls/ooohboi-overlay-underlay.php:614
1465
- #: controls/ooohboi-overlay-underlay.php:1245 controls/ooohboi-pseudo.php:641
1466
- #: controls/ooohboi-pseudo.php:1287 controls/ooohboi-spacerat.php:256
1467
- #: controls/ooohboi-videomasq.php:107
1468
  msgid "Contain"
1469
  msgstr ""
1470
 
1471
- #: controls/ooohboi-overlaiz.php:645 controls/ooohboi-overlay-underlay.php:687
1472
- #: controls/ooohboi-overlay-underlay.php:1316 controls/ooohboi-pseudo.php:714
1473
- #: controls/ooohboi-pseudo.php:1358 controls/ooohboi-spacerat.php:327
1474
- #: controls/ooohboi-videomasq.php:172
1475
  msgid "Mask repeat"
1476
  msgstr ""
1477
 
1478
- #: controls/ooohboi-overlaiz.php:649 controls/ooohboi-overlay-underlay.php:691
1479
- #: controls/ooohboi-overlay-underlay.php:1320 controls/ooohboi-pseudo.php:718
1480
- #: controls/ooohboi-pseudo.php:1362 controls/ooohboi-spacerat.php:331
1481
- #: controls/ooohboi-videomasq.php:176
1482
  msgid "No-repeat"
1483
  msgstr ""
1484
 
1485
- #: controls/ooohboi-overlaiz.php:650 controls/ooohboi-overlay-underlay.php:692
1486
- #: controls/ooohboi-overlay-underlay.php:1321 controls/ooohboi-pseudo.php:719
1487
- #: controls/ooohboi-pseudo.php:1363 controls/ooohboi-spacerat.php:332
1488
- #: controls/ooohboi-videomasq.php:177
1489
  msgid "Repeat"
1490
  msgstr ""
1491
 
1492
- #: controls/ooohboi-overlaiz.php:651 controls/ooohboi-overlay-underlay.php:693
1493
- #: controls/ooohboi-overlay-underlay.php:1322 controls/ooohboi-pseudo.php:720
1494
- #: controls/ooohboi-pseudo.php:1364 controls/ooohboi-spacerat.php:333
1495
- #: controls/ooohboi-videomasq.php:178
1496
  msgid "Repeat-x"
1497
  msgstr ""
1498
 
1499
- #: controls/ooohboi-overlaiz.php:652 controls/ooohboi-overlay-underlay.php:694
1500
- #: controls/ooohboi-overlay-underlay.php:1323 controls/ooohboi-pseudo.php:721
1501
- #: controls/ooohboi-pseudo.php:1365 controls/ooohboi-spacerat.php:334
1502
- #: controls/ooohboi-videomasq.php:179
1503
  msgid "Repeat-y"
1504
  msgstr ""
1505
 
1506
- #: controls/ooohboi-overlaiz.php:672 controls/ooohboi-overlay-underlay.php:737
1507
- #: controls/ooohboi-overlay-underlay.php:1365 controls/ooohboi-pseudo.php:764
1508
- #: controls/ooohboi-pseudo.php:1407
1509
  msgid "Z-Index"
1510
  msgstr ""
1511
 
1512
- #: controls/ooohboi-overlay-underlay.php:102
1513
- msgid "Enable PoopArt?"
1514
- msgstr ""
1515
-
1516
- #: controls/ooohboi-overlay-underlay.php:174
1517
- #: controls/ooohboi-overlay-underlay.php:814 controls/ooohboi-pseudo.php:182
1518
- #: controls/ooohboi-pseudo.php:841
1519
  msgid "Blend Mode"
1520
  msgstr ""
1521
 
1522
- #: controls/ooohboi-overlay-underlay.php:201
1523
- #: controls/ooohboi-overlay-underlay.php:841 controls/ooohboi-pseudo.php:210
1524
- #: controls/ooohboi-pseudo.php:868
1525
  msgid "Position and Size"
1526
  msgstr ""
1527
 
1528
- #: controls/ooohboi-overlay-underlay.php:324
1529
- #: controls/ooohboi-overlay-underlay.php:446
1530
- #: controls/ooohboi-overlay-underlay.php:961 controls/ooohboi-pseudo.php:341
1531
- #: controls/ooohboi-pseudo.php:471 controls/ooohboi-pseudo.php:994
1532
  msgid "Enter CSS calc value only! Like: 45% + 85px or 100% - 3em"
1533
  msgstr ""
1534
 
1535
- #: controls/ooohboi-overlay-underlay.php:384
1536
- #: controls/ooohboi-overlay-underlay.php:1019 controls/ooohboi-pseudo.php:405
1537
- #: controls/ooohboi-pseudo.php:1056
1538
  msgid "Calc Offset Top"
1539
  msgstr ""
1540
 
1541
- #: controls/ooohboi-overlay-underlay.php:445
1542
- #: controls/ooohboi-overlay-underlay.php:1078 controls/ooohboi-pseudo.php:470
1543
- #: controls/ooohboi-pseudo.php:1119
1544
  msgid "Calc Offset Left"
1545
  msgstr ""
1546
 
1547
- #: controls/ooohboi-overlay-underlay.php:463
1548
- #: controls/ooohboi-overlay-underlay.php:1095 controls/ooohboi-pseudo.php:488
1549
- #: controls/ooohboi-pseudo.php:1136
1550
  msgid "Rotate"
1551
  msgstr ""
1552
 
1553
- #: controls/ooohboi-overlay-underlay.php:540
1554
  msgid "Overlay Mask"
1555
  msgstr ""
1556
 
1557
- #: controls/ooohboi-overlay-underlay.php:759
1558
  msgid "Underlay"
1559
  msgstr ""
1560
 
1561
- #: controls/ooohboi-overlay-underlay.php:1173
1562
  msgid "Underlay Mask"
1563
  msgstr ""
1564
 
1565
- #: controls/ooohboi-overlay-underlay.php:1395
1566
  msgid "Get rid of the Horizontal scroller?"
1567
  msgstr ""
1568
 
1569
- #: controls/ooohboi-overlay-underlay.php:1396
1570
  msgid ""
1571
  "OoohBoi POOOPART may cause Horizontal Scroller to show up. This is how you "
1572
  "can remove it."
1573
  msgstr ""
1574
 
1575
- #: controls/ooohboi-overlay-underlay.php:1414
1576
  msgid "Baseline Grid"
1577
  msgstr ""
1578
 
1579
- #: controls/ooohboi-overlay-underlay.php:1415
1580
  msgid "Baseline grid helps you maintain accuracy and consistency"
1581
  msgstr ""
1582
 
1583
- #: controls/ooohboi-overlay-underlay.php:1428
1584
  msgid "Grid style"
1585
  msgstr ""
1586
 
1587
- #: controls/ooohboi-overlay-underlay.php:1432
1588
  msgid "Squares"
1589
  msgstr ""
1590
 
1591
- #: controls/ooohboi-overlay-underlay.php:1433
1592
  msgid "Vertical lines"
1593
  msgstr ""
1594
 
1595
- #: controls/ooohboi-overlay-underlay.php:1434
1596
  msgid "Horizontal lines"
1597
  msgstr ""
1598
 
1599
- #: controls/ooohboi-overlay-underlay.php:1444
1600
  msgid "Grid color"
1601
  msgstr ""
1602
 
1603
- #: controls/ooohboi-overlay-underlay.php:1455
1604
  msgid "Grid size"
1605
  msgstr ""
1606
 
1607
- #: controls/ooohboi-overlay-underlay.php:1479
1608
  msgid "Vertical Spacing"
1609
  msgstr ""
1610
 
1611
- #: controls/ooohboi-overlay-underlay.php:1503
1612
  msgid "Horizontal Spacing"
1613
  msgstr ""
1614
 
@@ -1632,37 +1516,37 @@ msgstr ""
1632
  msgid "Unstyle Prev and Next?"
1633
  msgstr ""
1634
 
1635
- #: controls/ooohboi-perspektive.php:101
1636
  msgid "Enable Perspektive?"
1637
  msgstr ""
1638
 
1639
- #: controls/ooohboi-perspektive.php:102
1640
  msgid ""
1641
  "NOTE: Perspektive interferes with z-index! The background of the element "
1642
  "with the Perspektive will not be affected by the Perspektive."
1643
  msgstr ""
1644
 
1645
- #: controls/ooohboi-perspektive.php:117
1646
  msgid "Perspective"
1647
  msgstr ""
1648
 
1649
- #: controls/ooohboi-perspektive.php:150
1650
  msgid "Perspective Origin"
1651
  msgstr ""
1652
 
1653
- #: controls/ooohboi-perspektive.php:175
1654
  msgid "Translate Z"
1655
  msgstr ""
1656
 
1657
- #: controls/ooohboi-perspektive.php:208
1658
  msgid "Rotate X"
1659
  msgstr ""
1660
 
1661
- #: controls/ooohboi-perspektive.php:232
1662
  msgid "Rotate Y"
1663
  msgstr ""
1664
 
1665
- #: controls/ooohboi-perspektive.php:257
1666
  msgid "Just in case the wrapper is \"overflow: hidden\""
1667
  msgstr ""
1668
 
@@ -1676,81 +1560,81 @@ msgid ""
1676
  "(Column) uses the fixed height."
1677
  msgstr ""
1678
 
1679
- #: controls/ooohboi-photomorph.php:94
1680
  msgid "Enable PhotoMorph"
1681
  msgstr ""
1682
 
1683
- #: controls/ooohboi-photomorph.php:95
1684
  msgid ""
1685
  "That will allow you to add the custom clip-path for both Normal and Hover "
1686
  "Image widget."
1687
  msgstr ""
1688
 
1689
- #: controls/ooohboi-photomorph.php:170
1690
  msgid "Animate Hover?"
1691
  msgstr ""
1692
 
1693
- #: controls/ooohboi-photomorph.php:171
1694
  msgid ""
1695
  "To ensure the smooth transition, be sure that the number of nodes of the "
1696
  "Normal state clip-path EQUALS the number of nodes of the Hover state!"
1697
  msgstr ""
1698
 
1699
- #: controls/ooohboi-photomorph.php:187
1700
  msgid "Animation duration"
1701
  msgstr ""
1702
 
1703
- #: controls/ooohboi-photomorph.php:214
1704
  msgid "Animation effect"
1705
  msgstr ""
1706
 
1707
- #: controls/ooohboi-photomorph.php:239
1708
  msgid "Animation delay"
1709
  msgstr ""
1710
 
1711
- #: controls/ooohboi-pseudo.php:109
1712
  msgid "Enable Pseudo?"
1713
  msgstr ""
1714
 
1715
- #: controls/ooohboi-pseudo.php:110
1716
  msgid ""
1717
  "This is how you can create and manage :before and :after pseudo elements for "
1718
  "this column"
1719
  msgstr ""
1720
 
1721
- #: controls/ooohboi-pseudo.php:128
1722
  msgid "Before"
1723
  msgstr ""
1724
 
1725
- #: controls/ooohboi-pseudo.php:567
1726
  msgid "Before Mask"
1727
  msgstr ""
1728
 
1729
- #: controls/ooohboi-pseudo.php:786
1730
  msgid "After"
1731
  msgstr ""
1732
 
1733
- #: controls/ooohboi-pseudo.php:1214
1734
  msgid "After Mask"
1735
  msgstr ""
1736
 
1737
- #: controls/ooohboi-searchcop.php:91
1738
  msgid "Search Target"
1739
  msgstr ""
1740
 
1741
- #: controls/ooohboi-searchcop.php:96
1742
  msgid "Search Posts"
1743
  msgstr ""
1744
 
1745
- #: controls/ooohboi-searchcop.php:97
1746
  msgid "Search Pages"
1747
  msgstr ""
1748
 
1749
- #: controls/ooohboi-searchcop.php:98
1750
  msgid "Search Products"
1751
  msgstr ""
1752
 
1753
- #: controls/ooohboi-searchcop.php:99
1754
  msgid "Search All"
1755
  msgstr ""
1756
 
@@ -1762,43 +1646,43 @@ msgstr ""
1762
  msgid "Creates a shadow that conforms to the shape."
1763
  msgstr ""
1764
 
1765
- #: controls/ooohboi-shadough.php:61 controls/ooohboi-spacerat.php:408
1766
  msgid "Offset X"
1767
  msgstr ""
1768
 
1769
- #: controls/ooohboi-shadough.php:92 controls/ooohboi-spacerat.php:441
1770
  msgid "Offset Y"
1771
  msgstr ""
1772
 
1773
- #: controls/ooohboi-shadough.php:153 controls/ooohboi-spacerat.php:506
1774
  msgid "Shadow Color"
1775
  msgstr ""
1776
 
1777
- #: controls/ooohboi-spacerat.php:97
1778
  msgid "Enable SpaceRat?"
1779
  msgstr ""
1780
 
1781
- #: controls/ooohboi-spacerat.php:98
1782
  msgid "Awesome gear for the pretty-much dull Spacer widget."
1783
  msgstr ""
1784
 
1785
- #: controls/ooohboi-spacerat.php:157 controls/ooohboi-teleporter.php:109
1786
  msgid "Cursor Pointer"
1787
  msgstr ""
1788
 
1789
- #: controls/ooohboi-spacerat.php:158 controls/ooohboi-teleporter.php:110
1790
  msgid "Keep the default cursor or show pointer on Hover?"
1791
  msgstr ""
1792
 
1793
- #: controls/ooohboi-spacerat.php:184
1794
  msgid "SpaceRat Mask"
1795
  msgstr ""
1796
 
1797
- #: controls/ooohboi-spacerat.php:376
1798
  msgid "Add shadow?"
1799
  msgstr ""
1800
 
1801
- #: controls/ooohboi-spacerat.php:391
1802
  msgid "Define Shadow"
1803
  msgstr ""
1804
 
@@ -1866,11 +1750,11 @@ msgstr ""
1866
  msgid "Strongly advised: HIDDEN."
1867
  msgstr ""
1868
 
1869
- #: controls/ooohboi-videomasq.php:54
1870
  msgid "Choose Video Mask"
1871
  msgstr ""
1872
 
1873
- #: controls/ooohboi-videomasq.php:55
1874
  #, php-format
1875
  msgid ""
1876
  "NOTE: The video mask should be black-and-transparent SVG file! Anything "
@@ -1878,37 +1762,37 @@ msgid ""
1878
  "that’s transparent will be completely hidden."
1879
  msgstr ""
1880
 
1881
- #: controls/ooohboi-widget-stalker.php:95
1882
  msgid ""
1883
- "NOTE: Position, alignment, direction and justification of all widgets is "
1884
- "controlled by the parent Container!"
1885
  msgstr ""
1886
 
1887
- #: controls/ooohboi-widget-stalker.php:165
1888
  msgid "Widget width"
1889
  msgstr ""
1890
 
1891
- #: controls/ooohboi-widget-stalker.php:220
1892
  msgid "Align self"
1893
  msgstr ""
1894
 
1895
- #: controls/ooohboi-widget-stalker.php:221
1896
  msgid "Align this widget vertically"
1897
  msgstr ""
1898
 
1899
- #: controls/ooohboi-widget-stalker.php:242
1900
  msgid "Widget Order"
1901
  msgstr ""
1902
 
1903
- #: inc/common-functions.php:43
1904
  msgid "What's New?"
1905
  msgstr ""
1906
 
1907
- #: inc/common-functions.php:56
1908
  msgid "Manage Extensions"
1909
  msgstr ""
1910
 
1911
- #: inc/common-functions.php:62
1912
  #, php-format
1913
  msgid ""
1914
  "%sThe following extensions are currently available with Steroids for "
@@ -1916,135 +1800,130 @@ msgid ""
1916
  "or OFF.%s"
1917
  msgstr ""
1918
 
1919
- #: inc/common-functions.php:69
1920
  #, php-format
1921
  msgid ""
1922
  "%sAllows you to change the writing mode of the Heading and Text Editor "
1923
  "widgets%s"
1924
  msgstr ""
1925
 
1926
- #: inc/common-functions.php:76
1927
  #, php-format
1928
  msgid "%sAdd an overlay or underlay ghost-element to any Elementor Widget%s"
1929
  msgstr ""
1930
 
1931
- #: inc/common-functions.php:83
1932
  #, php-format
1933
  msgid ""
1934
  "%sAn awesome set of options for the Background Overlay element manipulation%s"
1935
  msgstr ""
1936
 
1937
- #: inc/common-functions.php:90
1938
  #, php-format
1939
  msgid "%sIt allows you to style up the posts pagination in Elementor%s"
1940
  msgstr ""
1941
 
1942
- #: inc/common-functions.php:97
1943
  #, php-format
1944
  msgid "%sA must to have extension for the Section and Columns%s"
1945
  msgstr ""
1946
 
1947
- #: inc/common-functions.php:104
1948
  #, php-format
1949
  msgid "%sThe content slider made out of Section and Columns (Swiper)%s"
1950
  msgstr ""
1951
 
1952
- #: inc/common-functions.php:111
1953
  #, php-format
1954
  msgid "%sMake the Image widget full-height of the container%s"
1955
  msgstr ""
1956
 
1957
- #: inc/common-functions.php:118
1958
  #, php-format
1959
  msgid "%sThe Column hover controls for an exceptional effects%s"
1960
  msgstr ""
1961
 
1962
- #: inc/common-functions.php:125
1963
  #, php-format
1964
  msgid "%sDecide what to search for; posts only, pages only or everything%s"
1965
  msgstr ""
1966
 
1967
- #: inc/common-functions.php:132
1968
  #, php-format
1969
  msgid ""
1970
  "%sAdd the SVG mask to the Section video background and let the video play "
1971
  "inside any shape%s"
1972
  msgstr ""
1973
 
1974
- #: inc/common-functions.php:139
1975
  #, php-format
1976
  msgid "%sDesign awesome buttons in Elementor%s"
1977
  msgstr ""
1978
 
1979
- #: inc/common-functions.php:146
1980
  #, php-format
1981
  msgid "%sA small set of options that allow you to move widgets in 3D space%s"
1982
  msgstr ""
1983
 
1984
- #: inc/common-functions.php:153
1985
  #, php-format
1986
  msgid "%sCreate the shadow that conforms the shape%s"
1987
  msgstr ""
1988
 
1989
- #: inc/common-functions.php:160
1990
  #, php-format
1991
  msgid ""
1992
  "%sAllows you to add the clip-path to the Image widget for Normal and Hover "
1993
  "state%s"
1994
  msgstr ""
1995
 
1996
- #: inc/common-functions.php:167
1997
  #, php-format
1998
  msgid "%sAllows you to style up the post comments."
1999
  msgstr ""
2000
 
2001
- #: inc/common-functions.php:174
2002
  #, php-format
2003
  msgid "%sAdds new shine to the Spacer widget."
2004
  msgstr ""
2005
 
2006
- #: inc/common-functions.php:181
2007
  #, php-format
2008
  msgid "%sImage Box widget extra controls"
2009
  msgstr ""
2010
 
2011
- #: inc/common-functions.php:188
2012
  #, php-format
2013
  msgid "%sIcon Box widget extra controls"
2014
  msgstr ""
2015
 
2016
- #: inc/common-functions.php:195
2017
  #, php-format
2018
  msgid "%sAnimate widgets on columns mouse-over event"
2019
  msgstr ""
2020
 
2021
- #: inc/common-functions.php:202
2022
  #, php-format
2023
  msgid ""
2024
  "%sAllows you to additionaly style Image Carousel and Media Carousel controls"
2025
  "%s"
2026
  msgstr ""
2027
 
2028
- #: inc/common-functions.php:209
2029
  #, php-format
2030
  msgid "%sStack widgets like flex elements%s"
2031
  msgstr ""
2032
 
2033
- #: inc/common-functions.php:216
2034
  #, php-format
2035
  msgid "%sTake control over the Column's pseudo elements%s"
2036
  msgstr ""
2037
 
2038
- #: inc/common-functions.php:223
2039
- #, php-format
2040
- msgid "%sAllows you to move the Icon List widget bullet to top%s"
2041
- msgstr ""
2042
-
2043
- #: inc/common-functions.php:231
2044
  msgid "Manage JS Libraries"
2045
  msgstr ""
2046
 
2047
- #: inc/common-functions.php:237
2048
  #, php-format
2049
  msgid ""
2050
  "%sThe following libraries are currently available with Steroids for "
@@ -2052,123 +1931,84 @@ msgid ""
2052
  "OFF.%s"
2053
  msgstr ""
2054
 
2055
- #: inc/common-functions.php:243
2056
  msgid "LOCOMOTIVE SCROLL"
2057
  msgstr ""
2058
 
2059
- #: inc/common-functions.php:244
2060
  #, php-format
2061
  msgid ""
2062
  "%1$sDetection of elements in viewport and smooth scrolling with parallax.%3$s"
2063
  "%4$sSOURCE%5$s%2$s"
2064
  msgstr ""
2065
 
2066
- #: inc/common-functions.php:255
2067
  msgid "Enable for Tablets"
2068
  msgstr ""
2069
 
2070
- #: inc/common-functions.php:256
2071
  msgid "Enable for Mobiles"
2072
  msgstr ""
2073
 
2074
- #: inc/common-functions.php:265
2075
  msgid "Multiplier"
2076
  msgstr ""
2077
 
2078
- #: inc/common-functions.php:266
2079
  #, php-format
2080
  msgid "%sBoost/reduce scrolling speed. 1 is the default.%s"
2081
  msgstr ""
2082
 
2083
- #: inc/common-functions.php:275
2084
  msgid "Refresh on resize?"
2085
  msgstr ""
2086
 
2087
- #: inc/common-functions.php:276
2088
  msgid ""
2089
  "Things get messy on resize. That will do the silent page refresh upon the "
2090
  "window resize/orientationchange."
2091
  msgstr ""
2092
 
2093
- #: inc/common-functions.php:283
2094
- msgid "Enable freehand mode?"
2095
- msgstr ""
2096
-
2097
- #: inc/common-functions.php:284
2098
- #, php-format
2099
- msgid ""
2100
- "That removes all the default %sdata-scroll-section%s attributes so you can "
2101
- "set them at will."
2102
- msgstr ""
2103
-
2104
- #: inc/common-functions.php:295
2105
- #, php-format
2106
- msgid ""
2107
- "%1$s A lightweight JavaScript animation library with a simple, yet powerful "
2108
- "API.%3$s%4$sSOURCE%5$s%2$s"
2109
- msgstr ""
2110
-
2111
- #: inc/common-functions.php:302
2112
- #, php-format
2113
- msgid ""
2114
- "%1$s Create badass fluid and smooth transitions between your website's pages."
2115
- "%3$s%4$sSOURCE%5$s%2$s"
2116
- msgstr ""
2117
-
2118
- #: inc/common-functions.php:316
2119
  #, php-format
2120
  msgid ""
2121
  "%1$sGreenSock's GSAP JavaScript animation library (including Draggable).%3$s"
2122
  "%4$sSOURCE%5$s%2$s"
2123
  msgstr ""
2124
 
2125
- #: inc/common-functions.php:323
2126
  #, php-format
2127
  msgid "%1$sLet your page react to scroll changes.%3$s%4$sSOURCE%5$s%2$s"
2128
  msgstr ""
2129
 
2130
- #: inc/common-functions.php:330
2131
- #, php-format
2132
- msgid ""
2133
- "%1$sAnimates the scroll position of the window or a DOM element.%3$s"
2134
- "%4$sSOURCE%5$s%2$s"
2135
- msgstr ""
2136
-
2137
- #: inc/common-functions.php:337
2138
- #, php-format
2139
- msgid ""
2140
- "%1$sAnimate anything (SVG, DOM, canvas, generic objects, whatever) along a "
2141
- "motion path in any browser.%3$s%4$sSOURCE%5$s%2$s"
2142
- msgstr ""
2143
-
2144
- #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:710
2145
- #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:733
2146
  msgid "Settings"
2147
  msgstr ""
2148
 
2149
- #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:796
2150
- #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:800
2151
  msgid "Plugin Options"
2152
  msgstr ""
2153
 
2154
- #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:1500
2155
  msgid "ERROR:"
2156
  msgstr ""
2157
 
2158
- #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:1501
2159
  msgid "This field class is not available!"
2160
  msgstr ""
2161
 
2162
- #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:1573
2163
  msgid "Saving..."
2164
  msgstr ""
2165
 
2166
- #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:1573
2167
  msgid "Saved Successfully."
2168
  msgstr ""
2169
 
2170
- #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:1596
2171
- #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:1611
2172
  msgid "Save Settings"
2173
  msgstr ""
2174
 
1
  #, fuzzy
2
  msgid ""
3
  msgstr ""
4
+ "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: OoohBoi Steroids for Elementor\n"
6
+ "POT-Creation-Date: 2021-05-02 16:53+0200\n"
7
+ "PO-Revision-Date: 2021-05-02 16:53+0200\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 2.4.3\n"
 
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-Flags-xgettext: --add-comments=translators:\n"
16
  "X-Poedit-WPHeader: ooohboi-steroids.php\n"
33
 
34
  #: controls/ooohboi-breaking-bad.php:93 controls/ooohboi-breaking-bad.php:175
35
  #: controls/ooohboi-breaking-bad.php:482 controls/ooohboi-breaking-bad.php:557
36
+ #: controls/ooohboi-butter-button.php:71 controls/ooohboi-commentz.php:71
37
+ #: controls/ooohboi-commentz.php:1064 controls/ooohboi-glider.php:68
38
+ #: controls/ooohboi-glider.php:83 controls/ooohboi-glider.php:134
39
+ #: controls/ooohboi-glider.php:359 controls/ooohboi-glider.php:516
40
+ #: controls/ooohboi-glider.php:596 controls/ooohboi-glider.php:636
41
+ #: controls/ooohboi-glider.php:671 controls/ooohboi-glider.php:689
42
+ #: controls/ooohboi-harakiri.php:94 controls/ooohboi-hover-animator.php:68
43
+ #: controls/ooohboi-hover-animator.php:145 controls/ooohboi-icobox.php:96
44
+ #: controls/ooohboi-icobox.php:231 controls/ooohboi-imbox.php:98
45
+ #: controls/ooohboi-imbox.php:375 controls/ooohboi-overlaiz.php:61
46
+ #: controls/ooohboi-overlay-underlay.php:1258
47
+ #: controls/ooohboi-overlay-underlay.php:1277 controls/ooohboi-paginini.php:220
48
+ #: controls/ooohboi-perspektive.php:74 controls/ooohboi-photomorph.php:66
49
+ #: controls/ooohboi-photomorph.php:142 controls/ooohboi-pseudo.php:69
50
+ #: controls/ooohboi-shadough.php:50 controls/ooohboi-spacerat.php:69
51
+ #: controls/ooohboi-spacerat.php:339 controls/ooohboi-widget-stalker.php:67
 
 
 
 
 
 
52
  #: inc/exopite-simple-options/fields/upload.php:131
53
  msgid "Yes"
54
  msgstr ""
55
 
56
  #: controls/ooohboi-breaking-bad.php:94 controls/ooohboi-breaking-bad.php:176
57
  #: controls/ooohboi-breaking-bad.php:483 controls/ooohboi-breaking-bad.php:558
58
+ #: controls/ooohboi-butter-button.php:72 controls/ooohboi-commentz.php:72
59
+ #: controls/ooohboi-commentz.php:1065 controls/ooohboi-glider.php:69
60
+ #: controls/ooohboi-glider.php:84 controls/ooohboi-glider.php:135
61
+ #: controls/ooohboi-glider.php:360 controls/ooohboi-glider.php:517
62
+ #: controls/ooohboi-glider.php:597 controls/ooohboi-glider.php:637
63
+ #: controls/ooohboi-glider.php:672 controls/ooohboi-glider.php:690
64
+ #: controls/ooohboi-harakiri.php:95 controls/ooohboi-hover-animator.php:69
65
+ #: controls/ooohboi-hover-animator.php:146 controls/ooohboi-icobox.php:97
66
+ #: controls/ooohboi-icobox.php:232 controls/ooohboi-imbox.php:99
67
+ #: controls/ooohboi-imbox.php:376 controls/ooohboi-overlaiz.php:62
68
+ #: controls/ooohboi-overlay-underlay.php:1259
69
+ #: controls/ooohboi-overlay-underlay.php:1278 controls/ooohboi-paginini.php:221
70
+ #: controls/ooohboi-perspektive.php:75 controls/ooohboi-photomorph.php:67
71
+ #: controls/ooohboi-photomorph.php:143 controls/ooohboi-pseudo.php:70
72
+ #: controls/ooohboi-shadough.php:51 controls/ooohboi-spacerat.php:70
73
+ #: controls/ooohboi-spacerat.php:340 controls/ooohboi-widget-stalker.php:68
 
 
 
 
 
 
74
  #: inc/exopite-simple-options/fields/upload.php:129
75
  msgid "No"
76
  msgstr ""
88
  #: controls/ooohboi-breaking-bad.php:109 controls/ooohboi-breaking-bad.php:155
89
  #: controls/ooohboi-breaking-bad.php:315 controls/ooohboi-breaking-bad.php:338
90
  #: controls/ooohboi-breaking-bad.php:467 controls/ooohboi-breaking-bad.php:592
91
+ #: controls/ooohboi-breaking-bad.php:616 controls/ooohboi-commentz.php:134
92
+ #: controls/ooohboi-commentz.php:654 controls/ooohboi-widget-stalker.php:196
93
  msgid "Center"
94
  msgstr ""
95
 
97
  #: controls/ooohboi-breaking-bad.php:316 controls/ooohboi-breaking-bad.php:339
98
  #: controls/ooohboi-breaking-bad.php:468 controls/ooohboi-breaking-bad.php:593
99
  #: controls/ooohboi-breaking-bad.php:617
100
+ #: controls/ooohboi-widget-stalker.php:197
101
  msgid "End"
102
  msgstr ""
103
 
139
  "avoid content overlaps."
140
  msgstr ""
141
 
142
+ #: controls/ooohboi-breaking-bad.php:192 controls/ooohboi-widget-stalker.php:79
 
143
  msgid "Size Method"
144
  msgstr ""
145
 
146
+ #: controls/ooohboi-breaking-bad.php:193 controls/ooohboi-widget-stalker.php:80
 
147
  msgid "Use Flex or Units?"
148
  msgstr ""
149
 
150
  #: controls/ooohboi-breaking-bad.php:198 controls/ooohboi-breaking-bad.php:210
151
+ #: controls/ooohboi-widget-stalker.php:84
152
+ #: controls/ooohboi-widget-stalker.php:96
153
  msgid "Flex"
154
  msgstr ""
155
 
156
+ #: controls/ooohboi-breaking-bad.php:199 controls/ooohboi-widget-stalker.php:85
 
157
  msgid "Units"
158
  msgstr ""
159
 
160
+ #: controls/ooohboi-breaking-bad.php:249 controls/ooohboi-overlaiz.php:75
161
+ #: controls/ooohboi-overlaiz.php:578 controls/ooohboi-overlay-underlay.php:170
162
+ #: controls/ooohboi-overlay-underlay.php:557
163
+ #: controls/ooohboi-overlay-underlay.php:766
164
+ #: controls/ooohboi-overlay-underlay.php:1132 controls/ooohboi-pseudo.php:182
165
+ #: controls/ooohboi-pseudo.php:593 controls/ooohboi-pseudo.php:815
166
+ #: controls/ooohboi-pseudo.php:1213 controls/ooohboi-spacerat.php:238
167
+ #: controls/ooohboi-videomasq.php:122
168
  msgid "Width"
169
  msgstr ""
170
 
171
  #: controls/ooohboi-breaking-bad.php:255 controls/ooohboi-breaking-bad.php:294
172
  #: controls/ooohboi-breaking-bad.php:406 controls/ooohboi-teleporter.php:137
173
  #: controls/ooohboi-teleporter.php:155 controls/ooohboi-teleporter.php:186
174
+ #: controls/ooohboi-teleporter.php:203 controls/ooohboi-widget-stalker.php:138
175
+ #: controls/ooohboi-widget-stalker.php:176
176
  msgid ""
177
  "You can enter any acceptable CSS value, for example: 50em, 300px, 100%, "
178
  "calc(100% - 300px)."
179
  msgstr ""
180
 
181
  #: controls/ooohboi-breaking-bad.php:289 controls/ooohboi-breaking-bad.php:402
182
+ #: controls/ooohboi-widget-stalker.php:172
183
  msgid "Max Width"
184
  msgstr ""
185
 
193
  "direction is Row or Inherit)."
194
  msgstr ""
195
 
196
+ #: controls/ooohboi-breaking-bad.php:313 controls/ooohboi-overlaiz.php:558
197
+ #: controls/ooohboi-overlay-underlay.php:539
198
+ #: controls/ooohboi-overlay-underlay.php:1115 controls/ooohboi-pseudo.php:574
199
+ #: controls/ooohboi-pseudo.php:1195 controls/ooohboi-spacerat.php:220
200
+ #: controls/ooohboi-videomasq.php:104 controls/ooohboi-widget-stalker.php:194
201
  msgid "Auto"
202
  msgstr ""
203
 
204
  #: controls/ooohboi-breaking-bad.php:314
205
+ #: controls/ooohboi-widget-stalker.php:195
206
  msgid "Baseline"
207
  msgstr ""
208
 
225
  msgstr ""
226
 
227
  #: controls/ooohboi-breaking-bad.php:355 controls/ooohboi-breaking-bad.php:444
228
+ #: controls/ooohboi-widget-stalker.php:213
229
  #, php-format
230
  msgid "More info at %sMozilla%s."
231
  msgstr ""
241
  "Breaking Bad for this Column parent SECTION!"
242
  msgstr ""
243
 
244
+ #: controls/ooohboi-breaking-bad.php:416 controls/ooohboi-harakiri.php:155
245
  msgid "Custom Height"
246
  msgstr ""
247
 
262
  msgstr ""
263
 
264
  #: controls/ooohboi-breaking-bad.php:499
265
+ #, php-format
266
+ msgid "Column Link%sNEW!%s"
267
  msgstr ""
268
 
269
+ #: controls/ooohboi-breaking-bad.php:504 controls/ooohboi-spacerat.php:94
270
  #: controls/ooohboi-teleporter.php:78
271
  msgid "None"
272
  msgstr ""
273
 
274
+ #: controls/ooohboi-breaking-bad.php:505 controls/ooohboi-spacerat.php:95
275
  #: controls/ooohboi-teleporter.php:79
276
  msgid "Custom URL"
277
  msgstr ""
278
 
279
+ #: controls/ooohboi-breaking-bad.php:516 controls/ooohboi-spacerat.php:90
280
+ #: controls/ooohboi-spacerat.php:107 controls/ooohboi-teleporter.php:73
281
  #: controls/ooohboi-teleporter.php:90
282
  msgid "Link"
283
  msgstr ""
284
 
285
+ #: controls/ooohboi-breaking-bad.php:523 controls/ooohboi-spacerat.php:113
286
  #: controls/ooohboi-teleporter.php:97
287
  msgid "https://your-link.com"
288
  msgstr ""
291
  msgid "Widget Stalker"
292
  msgstr ""
293
 
294
+ #: controls/ooohboi-breaking-bad.php:553 controls/ooohboi-widget-stalker.php:63
295
  msgid "Enable Widget Stalker?"
296
  msgstr ""
297
 
298
  #: controls/ooohboi-breaking-bad.php:554
299
  msgid ""
300
  "NOTE: It changes the default alignment of widgets inside this column - "
301
+ "including the Ineer Section widget."
302
  msgstr ""
303
 
304
  #: controls/ooohboi-breaking-bad.php:568
309
  msgid "Align Widgets"
310
  msgstr ""
311
 
312
+ #: controls/ooohboi-butter-button.php:68
313
+ msgid "Enable Butter Buttons?"
 
 
 
 
 
 
 
 
 
314
  msgstr ""
315
 
316
+ #: controls/ooohboi-butter-button.php:84
317
+ msgid "Typography"
318
  msgstr ""
319
 
320
+ #: controls/ooohboi-butter-button.php:97 controls/ooohboi-icobox.php:106
321
  msgid "Icon Size"
322
  msgstr ""
323
 
324
+ #: controls/ooohboi-butter-button.php:98
325
  msgid "Be sure the icon is selected in the Content tab!"
326
  msgstr ""
327
 
328
+ #: controls/ooohboi-butter-button.php:132
329
  msgid "Transition Duration"
330
  msgstr ""
331
 
332
+ #: controls/ooohboi-butter-button.php:158 controls/ooohboi-commentz.php:150
333
+ #: controls/ooohboi-commentz.php:734 controls/ooohboi-commentz.php:961
334
+ #: controls/ooohboi-glider.php:277 controls/ooohboi-kontrolz.php:107
335
  #: controls/ooohboi-paginini.php:59
336
  msgid "Padding"
337
  msgstr ""
338
 
339
+ #: controls/ooohboi-butter-button.php:178
340
+ msgid "Regular"
 
 
 
 
341
  msgstr ""
342
 
343
+ #: controls/ooohboi-butter-button.php:186
344
+ #: controls/ooohboi-butter-button.php:298
345
  msgid "Text Color"
346
  msgstr ""
347
 
348
+ #: controls/ooohboi-butter-button.php:206
349
+ #: controls/ooohboi-butter-button.php:319
350
  msgctxt "Butter Button Text Shadow Control"
351
  msgid "Text Shadow"
352
  msgstr ""
353
 
354
+ #: controls/ooohboi-butter-button.php:233
355
+ #: controls/ooohboi-butter-button.php:346 controls/ooohboi-commentz.php:247
356
+ #: controls/ooohboi-commentz.php:421 controls/ooohboi-commentz.php:920
357
+ #: controls/ooohboi-imbox.php:193 controls/ooohboi-imbox.php:207
358
+ #: controls/ooohboi-imbox.php:317 controls/ooohboi-imbox.php:331
359
+ #: controls/ooohboi-overlaiz.php:368 controls/ooohboi-overlaiz.php:387
360
+ #: controls/ooohboi-overlay-underlay.php:426
361
+ #: controls/ooohboi-overlay-underlay.php:443
362
+ #: controls/ooohboi-overlay-underlay.php:1003
363
+ #: controls/ooohboi-overlay-underlay.php:1020 controls/ooohboi-paginini.php:146
364
+ #: controls/ooohboi-paginini.php:195 controls/ooohboi-pseudo.php:455
365
+ #: controls/ooohboi-pseudo.php:473 controls/ooohboi-pseudo.php:1077
366
+ #: controls/ooohboi-pseudo.php:1095
 
 
 
 
 
 
 
 
 
 
 
 
367
  msgid "Border"
368
  msgstr ""
369
 
370
+ #: controls/ooohboi-butter-button.php:246
371
+ #: controls/ooohboi-butter-button.php:359 controls/ooohboi-commentz.php:258
372
+ #: controls/ooohboi-commentz.php:433 controls/ooohboi-commentz.php:806
373
+ #: controls/ooohboi-commentz.php:931 controls/ooohboi-glider.php:235
374
+ #: controls/ooohboi-glider.php:472 controls/ooohboi-imbox.php:215
375
+ #: controls/ooohboi-imbox.php:339 controls/ooohboi-kontrolz.php:95
376
+ #: controls/ooohboi-kontrolz.php:207 controls/ooohboi-overlaiz.php:399
377
+ #: controls/ooohboi-overlay-underlay.php:454
378
+ #: controls/ooohboi-overlay-underlay.php:1031 controls/ooohboi-paginini.php:154
379
+ #: controls/ooohboi-paginini.php:203 controls/ooohboi-pseudo.php:485
380
+ #: controls/ooohboi-pseudo.php:1107
381
  msgid "Border Radius"
382
  msgstr ""
383
 
384
+ #: controls/ooohboi-butter-button.php:264
385
+ #: controls/ooohboi-butter-button.php:377 controls/ooohboi-icobox.php:55
386
+ #: controls/ooohboi-imbox.php:56 controls/ooohboi-overlaiz.php:419
 
387
  msgid "Box Shadow"
388
  msgstr ""
389
 
390
+ #: controls/ooohboi-butter-button.php:290 controls/ooohboi-photomorph.php:111
391
  #: controls/ooohboi-teleporter.php:174
392
  msgid "Hover"
393
  msgstr ""
394
 
395
+ #: controls/ooohboi-commentz.php:68
 
 
 
 
 
 
396
  msgid "Enable Commentz"
397
  msgstr ""
398
 
399
+ #: controls/ooohboi-commentz.php:69
400
  msgid "That will allow you to style up the post comments."
401
  msgstr ""
402
 
403
+ #: controls/ooohboi-commentz.php:85
404
  msgid "Heading"
405
  msgstr ""
406
 
407
+ #: controls/ooohboi-commentz.php:98
408
  msgid "Heading style"
409
  msgstr ""
410
 
411
+ #: controls/ooohboi-commentz.php:113 controls/ooohboi-commentz.php:503
412
+ #: controls/ooohboi-commentz.php:576 controls/ooohboi-commentz.php:867
413
+ #: controls/ooohboi-harakiri.php:228
414
  msgid "Color"
415
  msgstr ""
416
 
417
+ #: controls/ooohboi-commentz.php:129
418
  msgid "Text alignment"
419
  msgstr ""
420
 
421
+ #: controls/ooohboi-commentz.php:133 controls/ooohboi-commentz.php:653
422
  msgid "Left"
423
  msgstr ""
424
 
425
+ #: controls/ooohboi-commentz.php:135 controls/ooohboi-commentz.php:655
426
  msgid "Right"
427
  msgstr ""
428
 
429
+ #: controls/ooohboi-commentz.php:169 controls/ooohboi-commentz.php:591
430
+ #: controls/ooohboi-commentz.php:750 controls/ooohboi-commentz.php:882
431
+ #: controls/ooohboi-commentz.php:980 controls/ooohboi-commentz.php:1042
432
  #: controls/ooohboi-paginini.php:75
433
  msgid "Margin"
434
  msgstr ""
435
 
436
+ #: controls/ooohboi-commentz.php:202
437
  msgid "Comment list style"
438
  msgstr ""
439
 
440
+ #: controls/ooohboi-commentz.php:217
441
  msgid "Comment body padding"
442
  msgstr ""
443
 
444
+ #: controls/ooohboi-commentz.php:232
445
  msgid "Comment body margin"
446
  msgstr ""
447
 
448
+ #: controls/ooohboi-commentz.php:273 controls/ooohboi-commentz.php:946
449
  msgid "Background color"
450
  msgstr ""
451
 
452
+ #: controls/ooohboi-commentz.php:288
453
  msgid "Background color replies"
454
  msgstr ""
455
 
456
+ #: controls/ooohboi-commentz.php:304
457
  msgid "Child comments indent"
458
  msgstr ""
459
 
460
+ #: controls/ooohboi-commentz.php:336
461
  msgid "Gravatar"
462
  msgstr ""
463
 
464
+ #: controls/ooohboi-commentz.php:340
465
  msgid "Hide"
466
  msgstr ""
467
 
468
+ #: controls/ooohboi-commentz.php:341
469
  msgid "Show"
470
  msgstr ""
471
 
472
+ #: controls/ooohboi-commentz.php:357
473
  msgid "Gravatar style"
474
  msgstr ""
475
 
476
+ #: controls/ooohboi-commentz.php:373 controls/ooohboi-glider.php:446
477
  msgid "Size"
478
  msgstr ""
479
 
480
+ #: controls/ooohboi-commentz.php:404
481
  msgid "Position"
482
  msgstr ""
483
 
484
+ #: controls/ooohboi-commentz.php:464
485
  msgid "Meta-data User"
486
  msgstr ""
487
 
488
+ #: controls/ooohboi-commentz.php:476
489
  msgid "Meta-data Time"
490
  msgstr ""
491
 
492
+ #: controls/ooohboi-commentz.php:489
493
  msgid "Meta-data style"
494
  msgstr ""
495
 
496
+ #: controls/ooohboi-commentz.php:518
497
  msgid "Outer Margin"
498
  msgstr ""
499
 
500
+ #: controls/ooohboi-commentz.php:548
501
  msgid "Comment text"
502
  msgstr ""
503
 
504
+ #: controls/ooohboi-commentz.php:561
505
  msgid "Comment text style"
506
  msgstr ""
507
 
508
+ #: controls/ooohboi-commentz.php:621
509
  msgid "Reply button"
510
  msgstr ""
511
 
512
+ #: controls/ooohboi-commentz.php:634
513
  msgid "Reply button style"
514
  msgstr ""
515
 
516
+ #: controls/ooohboi-commentz.php:649
517
  msgid "Align button"
518
  msgstr ""
519
 
520
+ #: controls/ooohboi-commentz.php:670
521
  msgid "Text color normal"
522
  msgstr ""
523
 
524
+ #: controls/ooohboi-commentz.php:685
525
  msgid "Text color hover"
526
  msgstr ""
527
 
528
+ #: controls/ooohboi-commentz.php:701
529
  msgid "Background color normal"
530
  msgstr ""
531
 
532
+ #: controls/ooohboi-commentz.php:718
533
  msgid "Background color hover"
534
  msgstr ""
535
 
536
+ #: controls/ooohboi-commentz.php:766
537
  msgid "Border color normal"
538
  msgstr ""
539
 
540
+ #: controls/ooohboi-commentz.php:779
541
  msgid "Border color hover"
542
  msgstr ""
543
 
544
+ #: controls/ooohboi-commentz.php:792
545
  msgid "Border Width"
546
  msgstr ""
547
 
548
+ #: controls/ooohboi-commentz.php:838
549
  msgid "Comment form heading"
550
  msgstr ""
551
 
552
+ #: controls/ooohboi-commentz.php:852
553
  msgid "Comment form heading style"
554
  msgstr ""
555
 
556
+ #: controls/ooohboi-commentz.php:905
557
  msgid "Comment form style"
558
  msgstr ""
559
 
560
+ #: controls/ooohboi-commentz.php:1014
561
  msgid "Comments Nav"
562
  msgstr ""
563
 
564
+ #: controls/ooohboi-commentz.php:1027
565
  msgid "Comments Nav style"
566
  msgstr ""
567
 
568
+ #: controls/ooohboi-commentz.php:1060
569
  msgid "Hide the Website input field?"
570
  msgstr ""
571
 
572
+ #: controls/ooohboi-commentz.php:1061
573
  msgid ""
574
  "If you make it hidden, be sure it's not mandatory otherwise the comment can "
575
  "not be posted!"
576
  msgstr ""
577
 
578
+ #: controls/ooohboi-glider.php:64
579
  msgid "Create Slider?"
580
  msgstr ""
581
 
582
+ #: controls/ooohboi-glider.php:65
583
+ msgid "This section columns will become slidable."
 
 
584
  msgstr ""
585
 
586
+ #: controls/ooohboi-glider.php:80
587
  msgid "Adaptable height?"
588
  msgstr ""
589
 
590
+ #: controls/ooohboi-glider.php:98
591
  msgid "Slider height"
592
  msgstr ""
593
 
594
+ #: controls/ooohboi-glider.php:131
595
  msgid "Hide Navigation"
596
  msgstr ""
597
 
598
+ #: controls/ooohboi-glider.php:152 controls/ooohboi-kontrolz.php:46
599
  msgid "Navigation styles"
600
  msgstr ""
601
 
602
+ #: controls/ooohboi-glider.php:169
603
  msgid "Arrows Color"
604
  msgstr ""
605
 
606
+ #: controls/ooohboi-glider.php:186 controls/ooohboi-kontrolz.php:58
607
  msgid "Arrows Color - Hover"
608
  msgstr ""
609
 
610
+ #: controls/ooohboi-glider.php:203 controls/ooohboi-kontrolz.php:71
611
  #: controls/ooohboi-paginini.php:47 controls/ooohboi-paginini.php:121
612
  #: controls/ooohboi-paginini.php:182
613
  msgid "Background Color"
614
  msgstr ""
615
 
616
+ #: controls/ooohboi-glider.php:219 controls/ooohboi-kontrolz.php:83
617
  msgid "Background Color - Hover"
618
  msgstr ""
619
 
620
+ #: controls/ooohboi-glider.php:251
621
  msgid "Icon size"
622
  msgstr ""
623
 
624
+ #: controls/ooohboi-glider.php:302 controls/ooohboi-kontrolz.php:128
625
  msgid "Calc - Y"
626
  msgstr ""
627
 
628
+ #: controls/ooohboi-glider.php:303 controls/ooohboi-glider.php:321
629
+ #: controls/ooohboi-glider.php:338 controls/ooohboi-kontrolz.php:129
630
  #: controls/ooohboi-kontrolz.php:143 controls/ooohboi-kontrolz.php:156
631
  msgid "Valid CSS only! Like: 25px or 15em or 100% - 50px or 50% + 3rem"
632
  msgstr ""
633
 
634
+ #: controls/ooohboi-glider.php:319 controls/ooohboi-kontrolz.php:141
635
  msgid "Calc Prev - X"
636
  msgstr ""
637
 
638
+ #: controls/ooohboi-glider.php:336 controls/ooohboi-kontrolz.php:154
639
  msgid "Calc Next - X"
640
  msgstr ""
641
 
642
+ #: controls/ooohboi-glider.php:356
643
  msgid "Hide Pagination"
644
  msgstr ""
645
 
646
+ #: controls/ooohboi-glider.php:378 controls/ooohboi-kontrolz.php:170
647
  msgid "Pagination styles"
648
  msgstr ""
649
 
650
+ #: controls/ooohboi-glider.php:394
651
  msgid "Pagination type"
652
  msgstr ""
653
 
654
+ #: controls/ooohboi-glider.php:398
655
  msgid "Bullets"
656
  msgstr ""
657
 
658
+ #: controls/ooohboi-glider.php:399
659
  msgid "Fraction"
660
  msgstr ""
661
 
662
+ #: controls/ooohboi-glider.php:400
663
  msgid "Progress Bar"
664
  msgstr ""
665
 
666
+ #: controls/ooohboi-glider.php:413 controls/ooohboi-kontrolz.php:182
667
  msgid "Pagination Color"
668
  msgstr ""
669
 
670
+ #: controls/ooohboi-glider.php:429 controls/ooohboi-kontrolz.php:195
671
  msgid "Pagination Color - Active"
672
  msgstr ""
673
 
674
+ #: controls/ooohboi-glider.php:493
675
  msgid "Transition type"
676
  msgstr ""
677
 
678
+ #: controls/ooohboi-glider.php:498
679
  msgid "Slide"
680
  msgstr ""
681
 
682
+ #: controls/ooohboi-glider.php:499 controls/ooohboi-teleporter.php:317
683
  msgid "Fade"
684
  msgstr ""
685
 
686
+ #: controls/ooohboi-glider.php:513
687
+ #, php-format
688
+ msgid "Show Multiple Slides%sNEW!%s"
689
  msgstr ""
690
 
691
+ #: controls/ooohboi-glider.php:534
692
  msgid "Slides Per View"
693
  msgstr ""
694
 
695
+ #: controls/ooohboi-glider.php:555
696
  msgid "Slides to Scroll"
697
  msgstr ""
698
 
699
+ #: controls/ooohboi-glider.php:556
700
  msgid "Scrolling multiple slides can break infinite loop."
701
  msgstr ""
702
 
703
+ #: controls/ooohboi-glider.php:575
704
  msgid "Space Between Slides (px)"
705
  msgstr ""
706
 
707
+ #: controls/ooohboi-glider.php:593
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
708
  msgid "Infinite Loop"
709
  msgstr ""
710
 
711
+ #: controls/ooohboi-glider.php:612
712
  msgid "Direction"
713
  msgstr ""
714
 
715
+ #: controls/ooohboi-glider.php:617
716
  msgid "Horizontal"
717
  msgstr ""
718
 
719
+ #: controls/ooohboi-glider.php:618
720
  msgid "Vertical"
721
  msgstr ""
722
 
723
+ #: controls/ooohboi-glider.php:632
724
  msgid "Parallax"
725
  msgstr ""
726
 
727
+ #: controls/ooohboi-glider.php:633
728
  msgid "It will work with Elementor PRO Attributes only."
729
  msgstr ""
730
 
731
+ #: controls/ooohboi-glider.php:652
732
  msgid "Transition speed"
733
  msgstr ""
734
 
735
+ #: controls/ooohboi-glider.php:668
736
+ msgid "Allow Touch Move"
 
 
 
 
 
 
 
 
737
  msgstr ""
738
 
739
+ #: controls/ooohboi-glider.php:686
 
 
 
 
740
  msgid "Autoplay"
741
  msgstr ""
742
 
743
+ #: controls/ooohboi-glider.php:704
744
  msgid "Autoplay delay"
745
  msgstr ""
746
 
747
+ #: controls/ooohboi-glider.php:705
748
  msgid "In miliseconds! 1000 is one second."
749
  msgstr ""
750
 
751
+ #: controls/ooohboi-harakiri.php:60
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
752
  msgid "Color - HOVER"
753
  msgstr ""
754
 
755
+ #: controls/ooohboi-harakiri.php:72
756
  msgid "Writing Mode"
757
  msgstr ""
758
 
759
+ #: controls/ooohboi-harakiri.php:78
760
  msgid "Vertical LR"
761
  msgstr ""
762
 
763
+ #: controls/ooohboi-harakiri.php:79
764
  msgid "Vertical RL"
765
  msgstr ""
766
 
767
+ #: controls/ooohboi-harakiri.php:80 controls/ooohboi-overlay-underlay.php:131
768
+ #: controls/ooohboi-overlay-underlay.php:727 controls/ooohboi-photomorph.php:81
769
+ #: controls/ooohboi-pseudo.php:141 controls/ooohboi-pseudo.php:774
770
+ #: controls/ooohboi-teleporter.php:129
771
+ msgid "Normal"
772
+ msgstr ""
773
+
774
+ #: controls/ooohboi-harakiri.php:92
775
  msgid "Flip"
776
  msgstr ""
777
 
778
+ #: controls/ooohboi-harakiri.php:131 controls/ooohboi-overlaiz.php:142
779
+ #: controls/ooohboi-overlay-underlay.php:227
780
+ #: controls/ooohboi-overlay-underlay.php:819 controls/ooohboi-pseudo.php:243
781
+ #: controls/ooohboi-pseudo.php:874
782
  msgid "Height"
783
  msgstr ""
784
 
785
+ #: controls/ooohboi-harakiri.php:135 controls/ooohboi-harakiri.php:214
786
+ #: controls/ooohboi-hover-animator.php:276
787
+ #: controls/ooohboi-hover-animator.php:458
788
+ #: controls/ooohboi-hover-animator.php:640
789
+ #: controls/ooohboi-hover-animator.php:875
790
+ #: controls/ooohboi-hover-animator.php:1031 controls/ooohboi-overlaiz.php:527
791
+ #: controls/ooohboi-overlaiz.php:557 controls/ooohboi-overlay-underlay.php:510
792
+ #: controls/ooohboi-overlay-underlay.php:538
793
+ #: controls/ooohboi-overlay-underlay.php:1087
794
+ #: controls/ooohboi-overlay-underlay.php:1114
795
+ #: controls/ooohboi-photomorph.php:189 controls/ooohboi-pseudo.php:544
796
+ #: controls/ooohboi-pseudo.php:573 controls/ooohboi-pseudo.php:1166
797
+ #: controls/ooohboi-pseudo.php:1194 controls/ooohboi-spacerat.php:191
798
+ #: controls/ooohboi-spacerat.php:219 controls/ooohboi-videomasq.php:75
799
+ #: controls/ooohboi-videomasq.php:103
800
  msgid "Default"
801
  msgstr ""
802
 
803
+ #: controls/ooohboi-harakiri.php:136
804
  msgid "Inline"
805
  msgstr ""
806
 
807
+ #: controls/ooohboi-harakiri.php:137 controls/ooohboi-overlaiz.php:561
808
+ #: controls/ooohboi-overlay-underlay.php:542
809
+ #: controls/ooohboi-overlay-underlay.php:1118 controls/ooohboi-pseudo.php:577
810
+ #: controls/ooohboi-pseudo.php:1198 controls/ooohboi-spacerat.php:223
811
+ #: controls/ooohboi-videomasq.php:107
812
  msgid "Custom"
813
  msgstr ""
814
 
815
+ #: controls/ooohboi-harakiri.php:156
816
  msgid "NOTE: [%] unit works properly only if Column height is a fixed value!"
817
  msgstr ""
818
 
819
+ #: controls/ooohboi-harakiri.php:205
820
  msgid "Mix Blend Mode"
821
  msgstr ""
822
 
823
+ #: controls/ooohboi-harakiri.php:207
824
  #, php-format
825
  msgid "Learn more about this CSS property: %sMozilla.org%s"
826
  msgstr ""
827
 
828
+ #: controls/ooohboi-harakiri.php:215
829
  msgid "Multiply"
830
  msgstr ""
831
 
832
+ #: controls/ooohboi-harakiri.php:216
833
  msgid "Screen"
834
  msgstr ""
835
 
836
+ #: controls/ooohboi-harakiri.php:217 controls/ooohboi-overlay-underlay.php:79
837
  msgid "Overlay"
838
  msgstr ""
839
 
840
+ #: controls/ooohboi-harakiri.php:218
841
  msgid "Darken"
842
  msgstr ""
843
 
844
+ #: controls/ooohboi-harakiri.php:219
845
  msgid "Lighten"
846
  msgstr ""
847
 
848
+ #: controls/ooohboi-harakiri.php:220
849
  msgid "Color-dodge"
850
  msgstr ""
851
 
852
+ #: controls/ooohboi-harakiri.php:221
853
  msgid "Color-burn"
854
  msgstr ""
855
 
856
+ #: controls/ooohboi-harakiri.php:222
857
  msgid "Hard-light"
858
  msgstr ""
859
 
860
+ #: controls/ooohboi-harakiri.php:223
861
  msgid "Soft-light"
862
  msgstr ""
863
 
864
+ #: controls/ooohboi-harakiri.php:224
865
  msgid "Difference"
866
  msgstr ""
867
 
868
+ #: controls/ooohboi-harakiri.php:225
869
  msgid "Exclusion"
870
  msgstr ""
871
 
872
+ #: controls/ooohboi-harakiri.php:226
873
  msgid "Hue"
874
  msgstr ""
875
 
876
+ #: controls/ooohboi-harakiri.php:227
877
  msgid "Saturation"
878
  msgstr ""
879
 
880
+ #: controls/ooohboi-harakiri.php:229
881
  msgid "Luminosity"
882
  msgstr ""
883
 
884
+ #: controls/ooohboi-hover-animator.php:65
 
 
 
 
 
 
 
 
885
  msgid "Enable HOVERANIMATOR?"
886
  msgstr ""
887
 
888
+ #: controls/ooohboi-hover-animator.php:80
889
  msgid ""
890
+ "With Hoveranimator you can animate any widget in this column on mouse-over "
891
+ "event. Animation panel is available under the Advanced tab, per widget!"
892
  msgstr ""
893
 
894
+ #: controls/ooohboi-hover-animator.php:88 controls/ooohboi-icobox.php:75
895
+ #: controls/ooohboi-imbox.php:76 controls/ooohboi-perspektive.php:225
896
  #: controls/ooohboi-teleporter.php:361
897
  msgid "Content Overflow"
898
  msgstr ""
899
 
900
+ #: controls/ooohboi-hover-animator.php:89
901
  msgid ""
902
  "VISIBLE - makes visible all the elements outside this Column boundaries, "
903
  "HIDDEN - hides everything outside this Column boundaries."
904
  msgstr ""
905
 
906
+ #: controls/ooohboi-hover-animator.php:94 controls/ooohboi-icobox.php:80
907
+ #: controls/ooohboi-imbox.php:81 controls/ooohboi-perspektive.php:231
908
  #: controls/ooohboi-teleporter.php:367
909
  msgid "Visible"
910
  msgstr ""
911
 
912
+ #: controls/ooohboi-hover-animator.php:95 controls/ooohboi-icobox.php:81
913
+ #: controls/ooohboi-imbox.php:82 controls/ooohboi-perspektive.php:232
914
  #: controls/ooohboi-teleporter.php:368
915
  msgid "Hidden"
916
  msgstr ""
917
 
918
+ #: controls/ooohboi-hover-animator.php:142
919
  msgid "Enable Hoveranimator"
920
  msgstr ""
921
 
922
+ #: controls/ooohboi-hover-animator.php:143
923
  msgid ""
924
  "That will allow you to animate this widget on mouse-over event of the parent "
925
  "column."
926
  msgstr ""
927
 
928
+ #: controls/ooohboi-hover-animator.php:157
929
+ #: controls/ooohboi-overlay-underlay.php:94
930
+ #: controls/ooohboi-overlay-underlay.php:690 controls/ooohboi-pseudo.php:102
931
+ #: controls/ooohboi-pseudo.php:735
932
  msgid "Opacity"
933
  msgstr ""
934
 
935
+ #: controls/ooohboi-hover-animator.php:172
936
  msgid "Opacity Normal"
937
  msgstr ""
938
 
939
+ #: controls/ooohboi-hover-animator.php:195
940
  msgid "Opacity Hover"
941
  msgstr ""
942
 
943
+ #: controls/ooohboi-hover-animator.php:216
944
+ #: controls/ooohboi-hover-animator.php:399
945
+ #: controls/ooohboi-hover-animator.php:581
946
+ #: controls/ooohboi-hover-animator.php:816
947
+ #: controls/ooohboi-hover-animator.php:972
948
  msgid "Duration"
949
  msgstr ""
950
 
951
+ #: controls/ooohboi-hover-animator.php:243
952
+ #: controls/ooohboi-hover-animator.php:426
953
+ #: controls/ooohboi-hover-animator.php:608
954
+ #: controls/ooohboi-hover-animator.php:843
955
+ #: controls/ooohboi-hover-animator.php:999
956
  msgid "Delay"
957
  msgstr ""
958
 
959
+ #: controls/ooohboi-hover-animator.php:270
960
+ #: controls/ooohboi-hover-animator.php:453
961
+ #: controls/ooohboi-hover-animator.php:635
962
+ #: controls/ooohboi-hover-animator.php:870
963
+ #: controls/ooohboi-hover-animator.php:1026
964
  msgid "Easing"
965
  msgstr ""
966
 
967
+ #: controls/ooohboi-hover-animator.php:277
968
+ #: controls/ooohboi-hover-animator.php:459
969
+ #: controls/ooohboi-hover-animator.php:641
970
+ #: controls/ooohboi-hover-animator.php:876
971
+ #: controls/ooohboi-hover-animator.php:1032 controls/ooohboi-photomorph.php:190
972
  msgid "Ease-in"
973
  msgstr ""
974
 
975
+ #: controls/ooohboi-hover-animator.php:278
976
+ #: controls/ooohboi-hover-animator.php:460
977
+ #: controls/ooohboi-hover-animator.php:642
978
+ #: controls/ooohboi-hover-animator.php:877
979
+ #: controls/ooohboi-hover-animator.php:1033 controls/ooohboi-photomorph.php:191
980
  msgid "Ease-out"
981
  msgstr ""
982
 
983
+ #: controls/ooohboi-hover-animator.php:279
984
+ #: controls/ooohboi-hover-animator.php:461
985
+ #: controls/ooohboi-hover-animator.php:643
986
+ #: controls/ooohboi-hover-animator.php:878
987
+ #: controls/ooohboi-hover-animator.php:1034 controls/ooohboi-photomorph.php:192
988
  msgid "Ease-in-out"
989
  msgstr ""
990
 
991
+ #: controls/ooohboi-hover-animator.php:298
992
+ #: controls/ooohboi-overlay-underlay.php:284
993
+ #: controls/ooohboi-overlay-underlay.php:872 controls/ooohboi-pseudo.php:304
994
+ #: controls/ooohboi-pseudo.php:933
995
  msgid "Offset Top"
996
  msgstr ""
997
 
998
+ #: controls/ooohboi-hover-animator.php:313
999
  msgid "Offset Top Normal"
1000
  msgstr ""
1001
 
1002
+ #: controls/ooohboi-hover-animator.php:343
1003
  msgid "Calc Offset Top Normal"
1004
  msgstr ""
1005
 
1006
+ #: controls/ooohboi-hover-animator.php:344
1007
+ #: controls/ooohboi-hover-animator.php:387
1008
+ #: controls/ooohboi-hover-animator.php:526
1009
+ #: controls/ooohboi-hover-animator.php:569 controls/ooohboi-overlaiz.php:127
1010
+ #: controls/ooohboi-overlaiz.php:194 controls/ooohboi-overlaiz.php:261
1011
+ #: controls/ooohboi-overlaiz.php:328 controls/ooohboi-overlay-underlay.php:213
1012
+ #: controls/ooohboi-overlay-underlay.php:327
1013
+ #: controls/ooohboi-overlay-underlay.php:808
1014
+ #: controls/ooohboi-overlay-underlay.php:914
1015
+ #: controls/ooohboi-overlay-underlay.php:967 controls/ooohboi-pseudo.php:228
1016
+ #: controls/ooohboi-pseudo.php:350 controls/ooohboi-pseudo.php:860
1017
+ #: controls/ooohboi-pseudo.php:978 controls/ooohboi-pseudo.php:1037
1018
  msgid "Enter CSS calc value only! Like: 100% - 50px or 100% + 2em"
1019
  msgstr ""
1020
 
1021
+ #: controls/ooohboi-hover-animator.php:358
1022
  msgid "Offset Top Hover"
1023
  msgstr ""
1024
 
1025
+ #: controls/ooohboi-hover-animator.php:386
1026
  msgid "Calc Offset Top Hover"
1027
  msgstr ""
1028
 
1029
+ #: controls/ooohboi-hover-animator.php:480
1030
+ #: controls/ooohboi-overlay-underlay.php:341
1031
+ #: controls/ooohboi-overlay-underlay.php:925 controls/ooohboi-pseudo.php:365
1032
+ #: controls/ooohboi-pseudo.php:992
1033
  msgid "Offset Left"
1034
  msgstr ""
1035
 
1036
+ #: controls/ooohboi-hover-animator.php:495
1037
  msgid "Offset Left Normal"
1038
  msgstr ""
1039
 
1040
+ #: controls/ooohboi-hover-animator.php:525
1041
  msgid "Calc Offset Left Normal"
1042
  msgstr ""
1043
 
1044
+ #: controls/ooohboi-hover-animator.php:540
1045
  msgid "Offset Left Hover"
1046
  msgstr ""
1047
 
1048
+ #: controls/ooohboi-hover-animator.php:568
1049
  msgid "Calc Offset Left Hover"
1050
  msgstr ""
1051
 
1052
+ #: controls/ooohboi-hover-animator.php:662
1053
  msgid "Transforms"
1054
  msgstr ""
1055
 
1056
+ #: controls/ooohboi-hover-animator.php:677
1057
  msgid "ScaleX Normal"
1058
  msgstr ""
1059
 
1060
+ #: controls/ooohboi-hover-animator.php:701
1061
  msgid "ScaleX Hover"
1062
  msgstr ""
1063
 
1064
+ #: controls/ooohboi-hover-animator.php:723
1065
  msgid "ScaleY Normal"
1066
  msgstr ""
1067
 
1068
+ #: controls/ooohboi-hover-animator.php:747
1069
  msgid "ScaleY Hover"
1070
  msgstr ""
1071
 
1072
+ #: controls/ooohboi-hover-animator.php:769
1073
  msgid "Rotation Normal"
1074
  msgstr ""
1075
 
1076
+ #: controls/ooohboi-hover-animator.php:793
1077
  msgid "Rotation Hover"
1078
  msgstr ""
1079
 
1080
+ #: controls/ooohboi-hover-animator.php:897 controls/ooohboi-shadough.php:123
1081
+ #: controls/ooohboi-spacerat.php:433
1082
  msgid "Blur"
1083
  msgstr ""
1084
 
1085
+ #: controls/ooohboi-hover-animator.php:912
1086
  msgid "Blur Normal"
1087
  msgstr ""
1088
 
1089
+ #: controls/ooohboi-hover-animator.php:943
1090
  msgid "Blur Hover"
1091
  msgstr ""
1092
 
1093
+ #: controls/ooohboi-icobox.php:92 controls/ooohboi-icobox.php:227
1094
+ #: controls/ooohboi-imbox.php:94 controls/ooohboi-imbox.php:371
 
 
 
 
 
 
 
 
 
1095
  msgid "Overrides"
1096
  msgstr ""
1097
 
1098
+ #: controls/ooohboi-icobox.php:93 controls/ooohboi-imbox.php:95
1099
  msgid "Allow more basic controls?"
1100
  msgstr ""
1101
 
1102
+ #: controls/ooohboi-icobox.php:143
1103
  msgid "Icon Padding"
1104
  msgstr ""
1105
 
1106
+ #: controls/ooohboi-icobox.php:159
1107
  msgid "Icon Margin"
1108
  msgstr ""
1109
 
1110
+ #: controls/ooohboi-icobox.php:213 controls/ooohboi-imbox.php:290
1111
  msgid "Box Padding"
1112
  msgstr ""
1113
 
1114
+ #: controls/ooohboi-icobox.php:228 controls/ooohboi-imbox.php:372
1115
  msgid "Allow separate controls for Title and Description?"
1116
  msgstr ""
1117
 
1118
+ #: controls/ooohboi-icobox.php:242 controls/ooohboi-imbox.php:385
1119
  msgid "Title Padding"
1120
  msgstr ""
1121
 
1122
+ #: controls/ooohboi-icobox.php:258 controls/ooohboi-imbox.php:401
1123
  msgid "Title Margin"
1124
  msgstr ""
1125
 
1126
+ #: controls/ooohboi-icobox.php:273 controls/ooohboi-imbox.php:417
1127
  msgid "Description Padding"
1128
  msgstr ""
1129
 
1130
+ #: controls/ooohboi-icobox.php:289 controls/ooohboi-imbox.php:433
1131
  msgid "Description Margin"
1132
  msgstr ""
1133
 
1134
+ #: controls/ooohboi-imbox.php:108
 
 
 
 
 
 
 
 
 
1135
  msgid "Image Size"
1136
  msgstr ""
1137
 
1138
+ #: controls/ooohboi-imbox.php:145
1139
  msgid "Image Padding"
1140
  msgstr ""
1141
 
1142
+ #: controls/ooohboi-imbox.php:161
1143
  msgid "Image Margin"
1144
  msgstr ""
1145
 
1146
+ #: controls/ooohboi-imbox.php:176
1147
  msgid "Enable full-height?"
1148
  msgstr ""
1149
 
1150
+ #: controls/ooohboi-imbox.php:177
1151
  msgid ""
1152
  "That will make the photo full-height. Makes sense only if the photo is "
1153
  "placed left or the right-hand side!"
1154
  msgstr ""
1155
 
1156
+ #: controls/ooohboi-imbox.php:230
1157
  msgid "Image clip path"
1158
  msgstr ""
1159
 
1160
+ #: controls/ooohboi-imbox.php:232 controls/ooohboi-overlaiz.php:461
1161
+ #: controls/ooohboi-overlay-underlay.php:633
1162
+ #: controls/ooohboi-overlay-underlay.php:1206
1163
+ #: controls/ooohboi-photomorph.php:89 controls/ooohboi-photomorph.php:119
1164
+ #: controls/ooohboi-pseudo.php:673 controls/ooohboi-pseudo.php:1291
1165
+ #: controls/ooohboi-spacerat.php:496
1166
  #, php-format
1167
  msgid ""
1168
  "Enter the full clip-path property! See the copy-paste examples at %sClippy%s"
1169
  msgstr ""
1170
 
1171
+ #: controls/ooohboi-imbox.php:303
1172
  msgid "Box Margin"
1173
  msgstr ""
1174
 
1175
+ #: controls/ooohboi-imbox.php:354
1176
  msgid "Box z-index"
1177
  msgstr ""
1178
 
1196
  "pipe character, i.e. data-scroll-offset%s100,50em"
1197
  msgstr ""
1198
 
1199
+ #: controls/ooohboi-overlaiz.php:58
1200
  msgid "Enable Overlaiz?"
1201
  msgstr ""
1202
 
1203
+ #: controls/ooohboi-overlaiz.php:126 controls/ooohboi-overlay-underlay.php:212
1204
+ #: controls/ooohboi-overlay-underlay.php:807 controls/ooohboi-pseudo.php:227
1205
+ #: controls/ooohboi-pseudo.php:859
1206
  msgid "Calc Width"
1207
  msgstr ""
1208
 
1209
+ #: controls/ooohboi-overlaiz.php:193 controls/ooohboi-overlay-underlay.php:269
1210
+ #: controls/ooohboi-overlay-underlay.php:860 controls/ooohboi-pseudo.php:288
1211
+ #: controls/ooohboi-pseudo.php:918
1212
  msgid "Calc Height"
1213
  msgstr ""
1214
 
1215
+ #: controls/ooohboi-overlaiz.php:209
1216
  msgid "Position - X"
1217
  msgstr ""
1218
 
1219
+ #: controls/ooohboi-overlaiz.php:260
1220
  msgid "Calc Position - X"
1221
  msgstr ""
1222
 
1223
+ #: controls/ooohboi-overlaiz.php:276
1224
  msgid "Position - Y"
1225
  msgstr ""
1226
 
1227
+ #: controls/ooohboi-overlaiz.php:327
1228
  msgid "Calc Position - Y"
1229
  msgstr ""
1230
 
1231
+ #: controls/ooohboi-overlaiz.php:343
1232
  msgid "Rotation"
1233
  msgstr ""
1234
 
1235
+ #: controls/ooohboi-overlaiz.php:445 controls/ooohboi-overlay-underlay.php:631
1236
+ #: controls/ooohboi-overlay-underlay.php:1204 controls/ooohboi-pseudo.php:671
1237
+ #: controls/ooohboi-pseudo.php:1289 controls/ooohboi-spacerat.php:494
1238
  msgid "Clip path"
1239
  msgstr ""
1240
 
1241
+ #: controls/ooohboi-overlaiz.php:484
1242
  msgid "Mask"
1243
  msgstr ""
1244
 
1245
+ #: controls/ooohboi-overlaiz.php:485 controls/ooohboi-spacerat.php:153
1246
+ #: controls/ooohboi-spacerat.php:315
1247
  msgid ""
1248
  "NOTE: In order to see the effect you should add the Background to the Spacer "
1249
  "widget first!"
1250
  msgstr ""
1251
 
1252
+ #: controls/ooohboi-overlaiz.php:503 controls/ooohboi-overlay-underlay.php:488
1253
+ #: controls/ooohboi-overlay-underlay.php:1065 controls/ooohboi-pseudo.php:521
1254
+ #: controls/ooohboi-pseudo.php:1143 controls/ooohboi-spacerat.php:169
1255
  msgid "Choose Image Mask"
1256
  msgstr ""
1257
 
1258
+ #: controls/ooohboi-overlaiz.php:504 controls/ooohboi-overlay-underlay.php:489
1259
+ #: controls/ooohboi-overlay-underlay.php:1066 controls/ooohboi-pseudo.php:522
1260
+ #: controls/ooohboi-pseudo.php:1144 controls/ooohboi-spacerat.php:170
1261
  #, php-format
1262
  msgid ""
1263
  "NOTE: Image Mask should be black-and-transparent SVG file! Anything that’s "
1265
  "transparent will be completely hidden."
1266
  msgstr ""
1267
 
1268
+ #: controls/ooohboi-overlaiz.php:523 controls/ooohboi-overlay-underlay.php:506
1269
+ #: controls/ooohboi-overlay-underlay.php:1083 controls/ooohboi-pseudo.php:540
1270
+ #: controls/ooohboi-pseudo.php:1162 controls/ooohboi-spacerat.php:187
1271
+ #: controls/ooohboi-videomasq.php:71
1272
  msgid "Mask position"
1273
  msgstr ""
1274
 
1275
+ #: controls/ooohboi-overlaiz.php:528 controls/ooohboi-overlay-underlay.php:511
1276
+ #: controls/ooohboi-overlay-underlay.php:1088 controls/ooohboi-pseudo.php:545
1277
+ #: controls/ooohboi-pseudo.php:1167 controls/ooohboi-spacerat.php:192
1278
+ #: controls/ooohboi-videomasq.php:76
1279
  msgid "Center Center"
1280
  msgstr ""
1281
 
1282
+ #: controls/ooohboi-overlaiz.php:529 controls/ooohboi-overlay-underlay.php:512
1283
+ #: controls/ooohboi-overlay-underlay.php:1089 controls/ooohboi-pseudo.php:546
1284
+ #: controls/ooohboi-pseudo.php:1168 controls/ooohboi-spacerat.php:193
1285
+ #: controls/ooohboi-videomasq.php:77
1286
  msgid "Center Left"
1287
  msgstr ""
1288
 
1289
+ #: controls/ooohboi-overlaiz.php:530 controls/ooohboi-overlay-underlay.php:513
1290
+ #: controls/ooohboi-overlay-underlay.php:1090 controls/ooohboi-pseudo.php:547
1291
+ #: controls/ooohboi-pseudo.php:1169 controls/ooohboi-spacerat.php:194
1292
+ #: controls/ooohboi-videomasq.php:78
1293
  msgid "Center Right"
1294
  msgstr ""
1295
 
1296
+ #: controls/ooohboi-overlaiz.php:531 controls/ooohboi-overlay-underlay.php:514
1297
+ #: controls/ooohboi-overlay-underlay.php:1091 controls/ooohboi-pseudo.php:548
1298
+ #: controls/ooohboi-pseudo.php:1170 controls/ooohboi-spacerat.php:195
1299
+ #: controls/ooohboi-videomasq.php:79
1300
  msgid "Top Center"
1301
  msgstr ""
1302
 
1303
+ #: controls/ooohboi-overlaiz.php:532 controls/ooohboi-overlay-underlay.php:515
1304
+ #: controls/ooohboi-overlay-underlay.php:1092 controls/ooohboi-pseudo.php:549
1305
+ #: controls/ooohboi-pseudo.php:1171 controls/ooohboi-spacerat.php:196
1306
+ #: controls/ooohboi-videomasq.php:80
1307
  msgid "Top Left"
1308
  msgstr ""
1309
 
1310
+ #: controls/ooohboi-overlaiz.php:533 controls/ooohboi-overlay-underlay.php:516
1311
+ #: controls/ooohboi-overlay-underlay.php:1093 controls/ooohboi-pseudo.php:550
1312
+ #: controls/ooohboi-pseudo.php:1172 controls/ooohboi-spacerat.php:197
1313
+ #: controls/ooohboi-videomasq.php:81
1314
  msgid "Top Right"
1315
  msgstr ""
1316
 
1317
+ #: controls/ooohboi-overlaiz.php:534 controls/ooohboi-overlay-underlay.php:517
1318
+ #: controls/ooohboi-overlay-underlay.php:1094 controls/ooohboi-pseudo.php:551
1319
+ #: controls/ooohboi-pseudo.php:1173 controls/ooohboi-spacerat.php:198
1320
+ #: controls/ooohboi-videomasq.php:82
1321
  msgid "Bottom Center"
1322
  msgstr ""
1323
 
1324
+ #: controls/ooohboi-overlaiz.php:535 controls/ooohboi-overlay-underlay.php:518
1325
+ #: controls/ooohboi-overlay-underlay.php:1095 controls/ooohboi-pseudo.php:552
1326
+ #: controls/ooohboi-pseudo.php:1174 controls/ooohboi-spacerat.php:199
1327
+ #: controls/ooohboi-videomasq.php:83
1328
  msgid "Bottom Left"
1329
  msgstr ""
1330
 
1331
+ #: controls/ooohboi-overlaiz.php:536 controls/ooohboi-overlay-underlay.php:519
1332
+ #: controls/ooohboi-overlay-underlay.php:1096 controls/ooohboi-pseudo.php:553
1333
+ #: controls/ooohboi-pseudo.php:1175 controls/ooohboi-spacerat.php:200
1334
+ #: controls/ooohboi-videomasq.php:84
1335
  msgid "Bottom Right"
1336
  msgstr ""
1337
 
1338
+ #: controls/ooohboi-overlaiz.php:553 controls/ooohboi-overlay-underlay.php:534
1339
+ #: controls/ooohboi-overlay-underlay.php:1110 controls/ooohboi-pseudo.php:569
1340
+ #: controls/ooohboi-pseudo.php:1190 controls/ooohboi-spacerat.php:215
1341
+ #: controls/ooohboi-videomasq.php:99
1342
  msgid "Mask size"
1343
  msgstr ""
1344
 
1345
+ #: controls/ooohboi-overlaiz.php:559 controls/ooohboi-overlay-underlay.php:540
1346
+ #: controls/ooohboi-overlay-underlay.php:1116 controls/ooohboi-pseudo.php:575
1347
+ #: controls/ooohboi-pseudo.php:1196 controls/ooohboi-spacerat.php:221
1348
+ #: controls/ooohboi-videomasq.php:105
1349
  msgid "Cover"
1350
  msgstr ""
1351
 
1352
+ #: controls/ooohboi-overlaiz.php:560 controls/ooohboi-overlay-underlay.php:541
1353
+ #: controls/ooohboi-overlay-underlay.php:1117 controls/ooohboi-pseudo.php:576
1354
+ #: controls/ooohboi-pseudo.php:1197 controls/ooohboi-spacerat.php:222
1355
+ #: controls/ooohboi-videomasq.php:106
1356
  msgid "Contain"
1357
  msgstr ""
1358
 
1359
+ #: controls/ooohboi-overlaiz.php:635 controls/ooohboi-overlay-underlay.php:606
1360
+ #: controls/ooohboi-overlay-underlay.php:1180 controls/ooohboi-pseudo.php:645
1361
+ #: controls/ooohboi-pseudo.php:1264 controls/ooohboi-spacerat.php:289
1362
+ #: controls/ooohboi-videomasq.php:171
1363
  msgid "Mask repeat"
1364
  msgstr ""
1365
 
1366
+ #: controls/ooohboi-overlaiz.php:639 controls/ooohboi-overlay-underlay.php:610
1367
+ #: controls/ooohboi-overlay-underlay.php:1184 controls/ooohboi-pseudo.php:649
1368
+ #: controls/ooohboi-pseudo.php:1268 controls/ooohboi-spacerat.php:293
1369
+ #: controls/ooohboi-videomasq.php:175
1370
  msgid "No-repeat"
1371
  msgstr ""
1372
 
1373
+ #: controls/ooohboi-overlaiz.php:640 controls/ooohboi-overlay-underlay.php:611
1374
+ #: controls/ooohboi-overlay-underlay.php:1185 controls/ooohboi-pseudo.php:650
1375
+ #: controls/ooohboi-pseudo.php:1269 controls/ooohboi-spacerat.php:294
1376
+ #: controls/ooohboi-videomasq.php:176
1377
  msgid "Repeat"
1378
  msgstr ""
1379
 
1380
+ #: controls/ooohboi-overlaiz.php:641 controls/ooohboi-overlay-underlay.php:612
1381
+ #: controls/ooohboi-overlay-underlay.php:1186 controls/ooohboi-pseudo.php:651
1382
+ #: controls/ooohboi-pseudo.php:1270 controls/ooohboi-spacerat.php:295
1383
+ #: controls/ooohboi-videomasq.php:177
1384
  msgid "Repeat-x"
1385
  msgstr ""
1386
 
1387
+ #: controls/ooohboi-overlaiz.php:642 controls/ooohboi-overlay-underlay.php:613
1388
+ #: controls/ooohboi-overlay-underlay.php:1187 controls/ooohboi-pseudo.php:652
1389
+ #: controls/ooohboi-pseudo.php:1271 controls/ooohboi-spacerat.php:296
1390
+ #: controls/ooohboi-videomasq.php:178
1391
  msgid "Repeat-y"
1392
  msgstr ""
1393
 
1394
+ #: controls/ooohboi-overlaiz.php:662 controls/ooohboi-overlay-underlay.php:653
1395
+ #: controls/ooohboi-overlay-underlay.php:1226 controls/ooohboi-pseudo.php:694
1396
+ #: controls/ooohboi-pseudo.php:1312
1397
  msgid "Z-Index"
1398
  msgstr ""
1399
 
1400
+ #: controls/ooohboi-overlay-underlay.php:128
1401
+ #: controls/ooohboi-overlay-underlay.php:724 controls/ooohboi-pseudo.php:138
1402
+ #: controls/ooohboi-pseudo.php:771
 
 
 
 
1403
  msgid "Blend Mode"
1404
  msgstr ""
1405
 
1406
+ #: controls/ooohboi-overlay-underlay.php:154
1407
+ #: controls/ooohboi-overlay-underlay.php:750 controls/ooohboi-pseudo.php:165
1408
+ #: controls/ooohboi-pseudo.php:798
1409
  msgid "Position and Size"
1410
  msgstr ""
1411
 
1412
+ #: controls/ooohboi-overlay-underlay.php:270
1413
+ #: controls/ooohboi-overlay-underlay.php:384
1414
+ #: controls/ooohboi-overlay-underlay.php:861 controls/ooohboi-pseudo.php:289
1415
+ #: controls/ooohboi-pseudo.php:411 controls/ooohboi-pseudo.php:919
1416
  msgid "Enter CSS calc value only! Like: 45% + 85px or 100% - 3em"
1417
  msgstr ""
1418
 
1419
+ #: controls/ooohboi-overlay-underlay.php:326
1420
+ #: controls/ooohboi-overlay-underlay.php:913 controls/ooohboi-pseudo.php:349
1421
+ #: controls/ooohboi-pseudo.php:977
1422
  msgid "Calc Offset Top"
1423
  msgstr ""
1424
 
1425
+ #: controls/ooohboi-overlay-underlay.php:383
1426
+ #: controls/ooohboi-overlay-underlay.php:966 controls/ooohboi-pseudo.php:410
1427
+ #: controls/ooohboi-pseudo.php:1036
1428
  msgid "Calc Offset Left"
1429
  msgstr ""
1430
 
1431
+ #: controls/ooohboi-overlay-underlay.php:399
1432
+ #: controls/ooohboi-overlay-underlay.php:979 controls/ooohboi-pseudo.php:427
1433
+ #: controls/ooohboi-pseudo.php:1052
1434
  msgid "Rotate"
1435
  msgstr ""
1436
 
1437
+ #: controls/ooohboi-overlay-underlay.php:472
1438
  msgid "Overlay Mask"
1439
  msgstr ""
1440
 
1441
+ #: controls/ooohboi-overlay-underlay.php:674
1442
  msgid "Underlay"
1443
  msgstr ""
1444
 
1445
+ #: controls/ooohboi-overlay-underlay.php:1049
1446
  msgid "Underlay Mask"
1447
  msgstr ""
1448
 
1449
+ #: controls/ooohboi-overlay-underlay.php:1255
1450
  msgid "Get rid of the Horizontal scroller?"
1451
  msgstr ""
1452
 
1453
+ #: controls/ooohboi-overlay-underlay.php:1256
1454
  msgid ""
1455
  "OoohBoi POOOPART may cause Horizontal Scroller to show up. This is how you "
1456
  "can remove it."
1457
  msgstr ""
1458
 
1459
+ #: controls/ooohboi-overlay-underlay.php:1274
1460
  msgid "Baseline Grid"
1461
  msgstr ""
1462
 
1463
+ #: controls/ooohboi-overlay-underlay.php:1275
1464
  msgid "Baseline grid helps you maintain accuracy and consistency"
1465
  msgstr ""
1466
 
1467
+ #: controls/ooohboi-overlay-underlay.php:1288
1468
  msgid "Grid style"
1469
  msgstr ""
1470
 
1471
+ #: controls/ooohboi-overlay-underlay.php:1292
1472
  msgid "Squares"
1473
  msgstr ""
1474
 
1475
+ #: controls/ooohboi-overlay-underlay.php:1293
1476
  msgid "Vertical lines"
1477
  msgstr ""
1478
 
1479
+ #: controls/ooohboi-overlay-underlay.php:1294
1480
  msgid "Horizontal lines"
1481
  msgstr ""
1482
 
1483
+ #: controls/ooohboi-overlay-underlay.php:1304
1484
  msgid "Grid color"
1485
  msgstr ""
1486
 
1487
+ #: controls/ooohboi-overlay-underlay.php:1315
1488
  msgid "Grid size"
1489
  msgstr ""
1490
 
1491
+ #: controls/ooohboi-overlay-underlay.php:1339
1492
  msgid "Vertical Spacing"
1493
  msgstr ""
1494
 
1495
+ #: controls/ooohboi-overlay-underlay.php:1363
1496
  msgid "Horizontal Spacing"
1497
  msgstr ""
1498
 
1516
  msgid "Unstyle Prev and Next?"
1517
  msgstr ""
1518
 
1519
+ #: controls/ooohboi-perspektive.php:70
1520
  msgid "Enable Perspektive?"
1521
  msgstr ""
1522
 
1523
+ #: controls/ooohboi-perspektive.php:71
1524
  msgid ""
1525
  "NOTE: Perspektive interferes with z-index! The background of the element "
1526
  "with the Perspektive will not be affected by the Perspektive."
1527
  msgstr ""
1528
 
1529
+ #: controls/ooohboi-perspektive.php:86
1530
  msgid "Perspective"
1531
  msgstr ""
1532
 
1533
+ #: controls/ooohboi-perspektive.php:119
1534
  msgid "Perspective Origin"
1535
  msgstr ""
1536
 
1537
+ #: controls/ooohboi-perspektive.php:144
1538
  msgid "Translate Z"
1539
  msgstr ""
1540
 
1541
+ #: controls/ooohboi-perspektive.php:177
1542
  msgid "Rotate X"
1543
  msgstr ""
1544
 
1545
+ #: controls/ooohboi-perspektive.php:201
1546
  msgid "Rotate Y"
1547
  msgstr ""
1548
 
1549
+ #: controls/ooohboi-perspektive.php:226
1550
  msgid "Just in case the wrapper is \"overflow: hidden\""
1551
  msgstr ""
1552
 
1560
  "(Column) uses the fixed height."
1561
  msgstr ""
1562
 
1563
+ #: controls/ooohboi-photomorph.php:63
1564
  msgid "Enable PhotoMorph"
1565
  msgstr ""
1566
 
1567
+ #: controls/ooohboi-photomorph.php:64
1568
  msgid ""
1569
  "That will allow you to add the custom clip-path for both Normal and Hover "
1570
  "Image widget."
1571
  msgstr ""
1572
 
1573
+ #: controls/ooohboi-photomorph.php:139
1574
  msgid "Animate Hover?"
1575
  msgstr ""
1576
 
1577
+ #: controls/ooohboi-photomorph.php:140
1578
  msgid ""
1579
  "To ensure the smooth transition, be sure that the number of nodes of the "
1580
  "Normal state clip-path EQUALS the number of nodes of the Hover state!"
1581
  msgstr ""
1582
 
1583
+ #: controls/ooohboi-photomorph.php:156
1584
  msgid "Animation duration"
1585
  msgstr ""
1586
 
1587
+ #: controls/ooohboi-photomorph.php:183
1588
  msgid "Animation effect"
1589
  msgstr ""
1590
 
1591
+ #: controls/ooohboi-photomorph.php:208
1592
  msgid "Animation delay"
1593
  msgstr ""
1594
 
1595
+ #: controls/ooohboi-pseudo.php:65
1596
  msgid "Enable Pseudo?"
1597
  msgstr ""
1598
 
1599
+ #: controls/ooohboi-pseudo.php:66
1600
  msgid ""
1601
  "This is how you can create and manage :before and :after pseudo elements for "
1602
  "this column"
1603
  msgstr ""
1604
 
1605
+ #: controls/ooohboi-pseudo.php:84
1606
  msgid "Before"
1607
  msgstr ""
1608
 
1609
+ #: controls/ooohboi-pseudo.php:504
1610
  msgid "Before Mask"
1611
  msgstr ""
1612
 
1613
+ #: controls/ooohboi-pseudo.php:716
1614
  msgid "After"
1615
  msgstr ""
1616
 
1617
+ #: controls/ooohboi-pseudo.php:1126
1618
  msgid "After Mask"
1619
  msgstr ""
1620
 
1621
+ #: controls/ooohboi-searchcop.php:45
1622
  msgid "Search Target"
1623
  msgstr ""
1624
 
1625
+ #: controls/ooohboi-searchcop.php:50
1626
  msgid "Search Posts"
1627
  msgstr ""
1628
 
1629
+ #: controls/ooohboi-searchcop.php:51
1630
  msgid "Search Pages"
1631
  msgstr ""
1632
 
1633
+ #: controls/ooohboi-searchcop.php:52
1634
  msgid "Search Products"
1635
  msgstr ""
1636
 
1637
+ #: controls/ooohboi-searchcop.php:53
1638
  msgid "Search All"
1639
  msgstr ""
1640
 
1646
  msgid "Creates a shadow that conforms to the shape."
1647
  msgstr ""
1648
 
1649
+ #: controls/ooohboi-shadough.php:61 controls/ooohboi-spacerat.php:369
1650
  msgid "Offset X"
1651
  msgstr ""
1652
 
1653
+ #: controls/ooohboi-shadough.php:92 controls/ooohboi-spacerat.php:401
1654
  msgid "Offset Y"
1655
  msgstr ""
1656
 
1657
+ #: controls/ooohboi-shadough.php:153 controls/ooohboi-spacerat.php:464
1658
  msgid "Shadow Color"
1659
  msgstr ""
1660
 
1661
+ #: controls/ooohboi-spacerat.php:65
1662
  msgid "Enable SpaceRat?"
1663
  msgstr ""
1664
 
1665
+ #: controls/ooohboi-spacerat.php:66
1666
  msgid "Awesome gear for the pretty-much dull Spacer widget."
1667
  msgstr ""
1668
 
1669
+ #: controls/ooohboi-spacerat.php:125 controls/ooohboi-teleporter.php:109
1670
  msgid "Cursor Pointer"
1671
  msgstr ""
1672
 
1673
+ #: controls/ooohboi-spacerat.php:126 controls/ooohboi-teleporter.php:110
1674
  msgid "Keep the default cursor or show pointer on Hover?"
1675
  msgstr ""
1676
 
1677
+ #: controls/ooohboi-spacerat.php:152
1678
  msgid "SpaceRat Mask"
1679
  msgstr ""
1680
 
1681
+ #: controls/ooohboi-spacerat.php:337
1682
  msgid "Add shadow?"
1683
  msgstr ""
1684
 
1685
+ #: controls/ooohboi-spacerat.php:352
1686
  msgid "Define Shadow"
1687
  msgstr ""
1688
 
1750
  msgid "Strongly advised: HIDDEN."
1751
  msgstr ""
1752
 
1753
+ #: controls/ooohboi-videomasq.php:53
1754
  msgid "Choose Video Mask"
1755
  msgstr ""
1756
 
1757
+ #: controls/ooohboi-videomasq.php:54
1758
  #, php-format
1759
  msgid ""
1760
  "NOTE: The video mask should be black-and-transparent SVG file! Anything "
1762
  "that’s transparent will be completely hidden."
1763
  msgstr ""
1764
 
1765
+ #: controls/ooohboi-widget-stalker.php:64
1766
  msgid ""
1767
+ "NOTE: Position of this widget is controlled by the parent Column. See the "
1768
+ "Layout tab, Layout panel > Breaking Bad, Widget Stalker settings."
1769
  msgstr ""
1770
 
1771
+ #: controls/ooohboi-widget-stalker.php:134
1772
  msgid "Widget width"
1773
  msgstr ""
1774
 
1775
+ #: controls/ooohboi-widget-stalker.php:189
1776
  msgid "Align self"
1777
  msgstr ""
1778
 
1779
+ #: controls/ooohboi-widget-stalker.php:190
1780
  msgid "Align this widget vertically"
1781
  msgstr ""
1782
 
1783
+ #: controls/ooohboi-widget-stalker.php:211
1784
  msgid "Widget Order"
1785
  msgstr ""
1786
 
1787
+ #: inc/common-functions.php:34
1788
  msgid "What's New?"
1789
  msgstr ""
1790
 
1791
+ #: inc/common-functions.php:47
1792
  msgid "Manage Extensions"
1793
  msgstr ""
1794
 
1795
+ #: inc/common-functions.php:53
1796
  #, php-format
1797
  msgid ""
1798
  "%sThe following extensions are currently available with Steroids for "
1800
  "or OFF.%s"
1801
  msgstr ""
1802
 
1803
+ #: inc/common-functions.php:60
1804
  #, php-format
1805
  msgid ""
1806
  "%sAllows you to change the writing mode of the Heading and Text Editor "
1807
  "widgets%s"
1808
  msgstr ""
1809
 
1810
+ #: inc/common-functions.php:67
1811
  #, php-format
1812
  msgid "%sAdd an overlay or underlay ghost-element to any Elementor Widget%s"
1813
  msgstr ""
1814
 
1815
+ #: inc/common-functions.php:74
1816
  #, php-format
1817
  msgid ""
1818
  "%sAn awesome set of options for the Background Overlay element manipulation%s"
1819
  msgstr ""
1820
 
1821
+ #: inc/common-functions.php:81
1822
  #, php-format
1823
  msgid "%sIt allows you to style up the posts pagination in Elementor%s"
1824
  msgstr ""
1825
 
1826
+ #: inc/common-functions.php:88
1827
  #, php-format
1828
  msgid "%sA must to have extension for the Section and Columns%s"
1829
  msgstr ""
1830
 
1831
+ #: inc/common-functions.php:95
1832
  #, php-format
1833
  msgid "%sThe content slider made out of Section and Columns (Swiper)%s"
1834
  msgstr ""
1835
 
1836
+ #: inc/common-functions.php:102
1837
  #, php-format
1838
  msgid "%sMake the Image widget full-height of the container%s"
1839
  msgstr ""
1840
 
1841
+ #: inc/common-functions.php:109
1842
  #, php-format
1843
  msgid "%sThe Column hover controls for an exceptional effects%s"
1844
  msgstr ""
1845
 
1846
+ #: inc/common-functions.php:116
1847
  #, php-format
1848
  msgid "%sDecide what to search for; posts only, pages only or everything%s"
1849
  msgstr ""
1850
 
1851
+ #: inc/common-functions.php:123
1852
  #, php-format
1853
  msgid ""
1854
  "%sAdd the SVG mask to the Section video background and let the video play "
1855
  "inside any shape%s"
1856
  msgstr ""
1857
 
1858
+ #: inc/common-functions.php:130
1859
  #, php-format
1860
  msgid "%sDesign awesome buttons in Elementor%s"
1861
  msgstr ""
1862
 
1863
+ #: inc/common-functions.php:137
1864
  #, php-format
1865
  msgid "%sA small set of options that allow you to move widgets in 3D space%s"
1866
  msgstr ""
1867
 
1868
+ #: inc/common-functions.php:144
1869
  #, php-format
1870
  msgid "%sCreate the shadow that conforms the shape%s"
1871
  msgstr ""
1872
 
1873
+ #: inc/common-functions.php:151
1874
  #, php-format
1875
  msgid ""
1876
  "%sAllows you to add the clip-path to the Image widget for Normal and Hover "
1877
  "state%s"
1878
  msgstr ""
1879
 
1880
+ #: inc/common-functions.php:158
1881
  #, php-format
1882
  msgid "%sAllows you to style up the post comments."
1883
  msgstr ""
1884
 
1885
+ #: inc/common-functions.php:165
1886
  #, php-format
1887
  msgid "%sAdds new shine to the Spacer widget."
1888
  msgstr ""
1889
 
1890
+ #: inc/common-functions.php:172
1891
  #, php-format
1892
  msgid "%sImage Box widget extra controls"
1893
  msgstr ""
1894
 
1895
+ #: inc/common-functions.php:179
1896
  #, php-format
1897
  msgid "%sIcon Box widget extra controls"
1898
  msgstr ""
1899
 
1900
+ #: inc/common-functions.php:186
1901
  #, php-format
1902
  msgid "%sAnimate widgets on columns mouse-over event"
1903
  msgstr ""
1904
 
1905
+ #: inc/common-functions.php:193
1906
  #, php-format
1907
  msgid ""
1908
  "%sAllows you to additionaly style Image Carousel and Media Carousel controls"
1909
  "%s"
1910
  msgstr ""
1911
 
1912
+ #: inc/common-functions.php:200
1913
  #, php-format
1914
  msgid "%sStack widgets like flex elements%s"
1915
  msgstr ""
1916
 
1917
+ #: inc/common-functions.php:207
1918
  #, php-format
1919
  msgid "%sTake control over the Column's pseudo elements%s"
1920
  msgstr ""
1921
 
1922
+ #: inc/common-functions.php:215
 
 
 
 
 
1923
  msgid "Manage JS Libraries"
1924
  msgstr ""
1925
 
1926
+ #: inc/common-functions.php:221
1927
  #, php-format
1928
  msgid ""
1929
  "%sThe following libraries are currently available with Steroids for "
1931
  "OFF.%s"
1932
  msgstr ""
1933
 
1934
+ #: inc/common-functions.php:227
1935
  msgid "LOCOMOTIVE SCROLL"
1936
  msgstr ""
1937
 
1938
+ #: inc/common-functions.php:228
1939
  #, php-format
1940
  msgid ""
1941
  "%1$sDetection of elements in viewport and smooth scrolling with parallax.%3$s"
1942
  "%4$sSOURCE%5$s%2$s"
1943
  msgstr ""
1944
 
1945
+ #: inc/common-functions.php:239
1946
  msgid "Enable for Tablets"
1947
  msgstr ""
1948
 
1949
+ #: inc/common-functions.php:240
1950
  msgid "Enable for Mobiles"
1951
  msgstr ""
1952
 
1953
+ #: inc/common-functions.php:249
1954
  msgid "Multiplier"
1955
  msgstr ""
1956
 
1957
+ #: inc/common-functions.php:250
1958
  #, php-format
1959
  msgid "%sBoost/reduce scrolling speed. 1 is the default.%s"
1960
  msgstr ""
1961
 
1962
+ #: inc/common-functions.php:259
1963
  msgid "Refresh on resize?"
1964
  msgstr ""
1965
 
1966
+ #: inc/common-functions.php:260
1967
  msgid ""
1968
  "Things get messy on resize. That will do the silent page refresh upon the "
1969
  "window resize/orientationchange."
1970
  msgstr ""
1971
 
1972
+ #: inc/common-functions.php:271
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1973
  #, php-format
1974
  msgid ""
1975
  "%1$sGreenSock's GSAP JavaScript animation library (including Draggable).%3$s"
1976
  "%4$sSOURCE%5$s%2$s"
1977
  msgstr ""
1978
 
1979
+ #: inc/common-functions.php:278
1980
  #, php-format
1981
  msgid "%1$sLet your page react to scroll changes.%3$s%4$sSOURCE%5$s%2$s"
1982
  msgstr ""
1983
 
1984
+ #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:708
1985
+ #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:731
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1986
  msgid "Settings"
1987
  msgstr ""
1988
 
1989
+ #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:794
1990
+ #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:798
1991
  msgid "Plugin Options"
1992
  msgstr ""
1993
 
1994
+ #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:1498
1995
  msgid "ERROR:"
1996
  msgstr ""
1997
 
1998
+ #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:1499
1999
  msgid "This field class is not available!"
2000
  msgstr ""
2001
 
2002
+ #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:1571
2003
  msgid "Saving..."
2004
  msgstr ""
2005
 
2006
+ #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:1571
2007
  msgid "Saved Successfully."
2008
  msgstr ""
2009
 
2010
+ #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:1594
2011
+ #: inc/exopite-simple-options/exopite-simple-options-framework-class.php:1609
2012
  msgid "Save Settings"
2013
  msgstr ""
2014
 
lib/anime/anime.min.js DELETED
@@ -1,8 +0,0 @@
1
- /*
2
- * anime.js v3.2.1
3
- * (c) 2020 Julian Garnier
4
- * Released under the MIT license
5
- * animejs.com
6
- */
7
-
8
- !function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):n.anime=e()}(this,function(){"use strict";var n={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},e={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},t=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],r={CSS:{},springs:{}};function a(n,e,t){return Math.min(Math.max(n,e),t)}function o(n,e){return n.indexOf(e)>-1}function u(n,e){return n.apply(null,e)}var i={arr:function(n){return Array.isArray(n)},obj:function(n){return o(Object.prototype.toString.call(n),"Object")},pth:function(n){return i.obj(n)&&n.hasOwnProperty("totalLength")},svg:function(n){return n instanceof SVGElement},inp:function(n){return n instanceof HTMLInputElement},dom:function(n){return n.nodeType||i.svg(n)},str:function(n){return"string"==typeof n},fnc:function(n){return"function"==typeof n},und:function(n){return void 0===n},nil:function(n){return i.und(n)||null===n},hex:function(n){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(n)},rgb:function(n){return/^rgb/.test(n)},hsl:function(n){return/^hsl/.test(n)},col:function(n){return i.hex(n)||i.rgb(n)||i.hsl(n)},key:function(t){return!n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&"targets"!==t&&"keyframes"!==t}};function c(n){var e=/\(([^)]+)\)/.exec(n);return e?e[1].split(",").map(function(n){return parseFloat(n)}):[]}function s(n,e){var t=c(n),o=a(i.und(t[0])?1:t[0],.1,100),u=a(i.und(t[1])?100:t[1],.1,100),s=a(i.und(t[2])?10:t[2],.1,100),f=a(i.und(t[3])?0:t[3],.1,100),l=Math.sqrt(u/o),d=s/(2*Math.sqrt(u*o)),p=d<1?l*Math.sqrt(1-d*d):0,v=1,h=d<1?(d*l-f)/p:-f+l;function g(n){var t=e?e*n/1e3:n;return t=d<1?Math.exp(-t*d*l)*(v*Math.cos(p*t)+h*Math.sin(p*t)):(v+h*t)*Math.exp(-t*l),0===n||1===n?n:1-t}return e?g:function(){var e=r.springs[n];if(e)return e;for(var t=0,a=0;;)if(1===g(t+=1/6)){if(++a>=16)break}else a=0;var o=t*(1/6)*1e3;return r.springs[n]=o,o}}function f(n){return void 0===n&&(n=10),function(e){return Math.ceil(a(e,1e-6,1)*n)*(1/n)}}var l,d,p=function(){var n=11,e=1/(n-1);function t(n,e){return 1-3*e+3*n}function r(n,e){return 3*e-6*n}function a(n){return 3*n}function o(n,e,o){return((t(e,o)*n+r(e,o))*n+a(e))*n}function u(n,e,o){return 3*t(e,o)*n*n+2*r(e,o)*n+a(e)}return function(t,r,a,i){if(0<=t&&t<=1&&0<=a&&a<=1){var c=new Float32Array(n);if(t!==r||a!==i)for(var s=0;s<n;++s)c[s]=o(s*e,t,a);return function(n){return t===r&&a===i?n:0===n||1===n?n:o(f(n),r,i)}}function f(r){for(var i=0,s=1,f=n-1;s!==f&&c[s]<=r;++s)i+=e;var l=i+(r-c[--s])/(c[s+1]-c[s])*e,d=u(l,t,a);return d>=.001?function(n,e,t,r){for(var a=0;a<4;++a){var i=u(e,t,r);if(0===i)return e;e-=(o(e,t,r)-n)/i}return e}(r,l,t,a):0===d?l:function(n,e,t,r,a){for(var u,i,c=0;(u=o(i=e+(t-e)/2,r,a)-n)>0?t=i:e=i,Math.abs(u)>1e-7&&++c<10;);return i}(r,i,i+e,t,a)}}}(),v=(l={linear:function(){return function(n){return n}}},d={Sine:function(){return function(n){return 1-Math.cos(n*Math.PI/2)}},Circ:function(){return function(n){return 1-Math.sqrt(1-n*n)}},Back:function(){return function(n){return n*n*(3*n-2)}},Bounce:function(){return function(n){for(var e,t=4;n<((e=Math.pow(2,--t))-1)/11;);return 1/Math.pow(4,3-t)-7.5625*Math.pow((3*e-2)/22-n,2)}},Elastic:function(n,e){void 0===n&&(n=1),void 0===e&&(e=.5);var t=a(n,1,10),r=a(e,.1,2);return function(n){return 0===n||1===n?n:-t*Math.pow(2,10*(n-1))*Math.sin((n-1-r/(2*Math.PI)*Math.asin(1/t))*(2*Math.PI)/r)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach(function(n,e){d[n]=function(){return function(n){return Math.pow(n,e+2)}}}),Object.keys(d).forEach(function(n){var e=d[n];l["easeIn"+n]=e,l["easeOut"+n]=function(n,t){return function(r){return 1-e(n,t)(1-r)}},l["easeInOut"+n]=function(n,t){return function(r){return r<.5?e(n,t)(2*r)/2:1-e(n,t)(-2*r+2)/2}},l["easeOutIn"+n]=function(n,t){return function(r){return r<.5?(1-e(n,t)(1-2*r))/2:(e(n,t)(2*r-1)+1)/2}}}),l);function h(n,e){if(i.fnc(n))return n;var t=n.split("(")[0],r=v[t],a=c(n);switch(t){case"spring":return s(n,e);case"cubicBezier":return u(p,a);case"steps":return u(f,a);default:return u(r,a)}}function g(n){try{return document.querySelectorAll(n)}catch(n){return}}function m(n,e){for(var t=n.length,r=arguments.length>=2?arguments[1]:void 0,a=[],o=0;o<t;o++)if(o in n){var u=n[o];e.call(r,u,o,n)&&a.push(u)}return a}function y(n){return n.reduce(function(n,e){return n.concat(i.arr(e)?y(e):e)},[])}function b(n){return i.arr(n)?n:(i.str(n)&&(n=g(n)||n),n instanceof NodeList||n instanceof HTMLCollection?[].slice.call(n):[n])}function M(n,e){return n.some(function(n){return n===e})}function x(n){var e={};for(var t in n)e[t]=n[t];return e}function w(n,e){var t=x(n);for(var r in n)t[r]=e.hasOwnProperty(r)?e[r]:n[r];return t}function k(n,e){var t=x(n);for(var r in e)t[r]=i.und(n[r])?e[r]:n[r];return t}function O(n){return i.rgb(n)?(t=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(e=n))?"rgba("+t[1]+",1)":e:i.hex(n)?(r=n.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(n,e,t,r){return e+e+t+t+r+r}),a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r),"rgba("+parseInt(a[1],16)+","+parseInt(a[2],16)+","+parseInt(a[3],16)+",1)"):i.hsl(n)?function(n){var e,t,r,a=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(n)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(n),o=parseInt(a[1],10)/360,u=parseInt(a[2],10)/100,i=parseInt(a[3],10)/100,c=a[4]||1;function s(n,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?n+6*(e-n)*t:t<.5?e:t<2/3?n+(e-n)*(2/3-t)*6:n}if(0==u)e=t=r=i;else{var f=i<.5?i*(1+u):i+u-i*u,l=2*i-f;e=s(l,f,o+1/3),t=s(l,f,o),r=s(l,f,o-1/3)}return"rgba("+255*e+","+255*t+","+255*r+","+c+")"}(n):void 0;var e,t,r,a}function C(n){var e=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(n);if(e)return e[1]}function P(n,e){return i.fnc(n)?n(e.target,e.id,e.total):n}function I(n,e){return n.getAttribute(e)}function D(n,e,t){if(M([t,"deg","rad","turn"],C(e)))return e;var a=r.CSS[e+t];if(!i.und(a))return a;var o=document.createElement(n.tagName),u=n.parentNode&&n.parentNode!==document?n.parentNode:document.body;u.appendChild(o),o.style.position="absolute",o.style.width=100+t;var c=100/o.offsetWidth;u.removeChild(o);var s=c*parseFloat(e);return r.CSS[e+t]=s,s}function B(n,e,t){if(e in n.style){var r=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),a=n.style[e]||getComputedStyle(n).getPropertyValue(r)||"0";return t?D(n,a,t):a}}function T(n,e){return i.dom(n)&&!i.inp(n)&&(!i.nil(I(n,e))||i.svg(n)&&n[e])?"attribute":i.dom(n)&&M(t,e)?"transform":i.dom(n)&&"transform"!==e&&B(n,e)?"css":null!=n[e]?"object":void 0}function E(n){if(i.dom(n)){for(var e,t=n.style.transform||"",r=/(\w+)\(([^)]*)\)/g,a=new Map;e=r.exec(t);)a.set(e[1],e[2]);return a}}function F(n,e,t,r){var a,u=o(e,"scale")?1:0+(o(a=e,"translate")||"perspective"===a?"px":o(a,"rotate")||o(a,"skew")?"deg":void 0),i=E(n).get(e)||u;return t&&(t.transforms.list.set(e,i),t.transforms.last=e),r?D(n,i,r):i}function A(n,e,t,r){switch(T(n,e)){case"transform":return F(n,e,r,t);case"css":return B(n,e,t);case"attribute":return I(n,e);default:return n[e]||0}}function N(n,e){var t=/^(\*=|\+=|-=)/.exec(n);if(!t)return n;var r=C(n)||0,a=parseFloat(e),o=parseFloat(n.replace(t[0],""));switch(t[0][0]){case"+":return a+o+r;case"-":return a-o+r;case"*":return a*o+r}}function S(n,e){if(i.col(n))return O(n);if(/\s/g.test(n))return n;var t=C(n),r=t?n.substr(0,n.length-t.length):n;return e?r+e:r}function L(n,e){return Math.sqrt(Math.pow(e.x-n.x,2)+Math.pow(e.y-n.y,2))}function j(n){for(var e,t=n.points,r=0,a=0;a<t.numberOfItems;a++){var o=t.getItem(a);a>0&&(r+=L(e,o)),e=o}return r}function q(n){if(n.getTotalLength)return n.getTotalLength();switch(n.tagName.toLowerCase()){case"circle":return o=n,2*Math.PI*I(o,"r");case"rect":return 2*I(a=n,"width")+2*I(a,"height");case"line":return L({x:I(r=n,"x1"),y:I(r,"y1")},{x:I(r,"x2"),y:I(r,"y2")});case"polyline":return j(n);case"polygon":return t=(e=n).points,j(e)+L(t.getItem(t.numberOfItems-1),t.getItem(0))}var e,t,r,a,o}function H(n,e){var t=e||{},r=t.el||function(n){for(var e=n.parentNode;i.svg(e)&&i.svg(e.parentNode);)e=e.parentNode;return e}(n),a=r.getBoundingClientRect(),o=I(r,"viewBox"),u=a.width,c=a.height,s=t.viewBox||(o?o.split(" "):[0,0,u,c]);return{el:r,viewBox:s,x:s[0]/1,y:s[1]/1,w:u,h:c,vW:s[2],vH:s[3]}}function V(n,e,t){function r(t){void 0===t&&(t=0);var r=e+t>=1?e+t:0;return n.el.getPointAtLength(r)}var a=H(n.el,n.svg),o=r(),u=r(-1),i=r(1),c=t?1:a.w/a.vW,s=t?1:a.h/a.vH;switch(n.property){case"x":return(o.x-a.x)*c;case"y":return(o.y-a.y)*s;case"angle":return 180*Math.atan2(i.y-u.y,i.x-u.x)/Math.PI}}function $(n,e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,r=S(i.pth(n)?n.totalLength:n,e)+"";return{original:r,numbers:r.match(t)?r.match(t).map(Number):[0],strings:i.str(n)||e?r.split(t):[]}}function W(n){return m(n?y(i.arr(n)?n.map(b):b(n)):[],function(n,e,t){return t.indexOf(n)===e})}function X(n){var e=W(n);return e.map(function(n,t){return{target:n,id:t,total:e.length,transforms:{list:E(n)}}})}function Y(n,e){var t=x(e);if(/^spring/.test(t.easing)&&(t.duration=s(t.easing)),i.arr(n)){var r=n.length;2===r&&!i.obj(n[0])?n={value:n}:i.fnc(e.duration)||(t.duration=e.duration/r)}var a=i.arr(n)?n:[n];return a.map(function(n,t){var r=i.obj(n)&&!i.pth(n)?n:{value:n};return i.und(r.delay)&&(r.delay=t?0:e.delay),i.und(r.endDelay)&&(r.endDelay=t===a.length-1?e.endDelay:0),r}).map(function(n){return k(n,t)})}function Z(n,e){var t=[],r=e.keyframes;for(var a in r&&(e=k(function(n){for(var e=m(y(n.map(function(n){return Object.keys(n)})),function(n){return i.key(n)}).reduce(function(n,e){return n.indexOf(e)<0&&n.push(e),n},[]),t={},r=function(r){var a=e[r];t[a]=n.map(function(n){var e={};for(var t in n)i.key(t)?t==a&&(e.value=n[t]):e[t]=n[t];return e})},a=0;a<e.length;a++)r(a);return t}(r),e)),e)i.key(a)&&t.push({name:a,tweens:Y(e[a],n)});return t}function G(n,e){var t;return n.tweens.map(function(r){var a=function(n,e){var t={};for(var r in n){var a=P(n[r],e);i.arr(a)&&1===(a=a.map(function(n){return P(n,e)})).length&&(a=a[0]),t[r]=a}return t.duration=parseFloat(t.duration),t.delay=parseFloat(t.delay),t}(r,e),o=a.value,u=i.arr(o)?o[1]:o,c=C(u),s=A(e.target,n.name,c,e),f=t?t.to.original:s,l=i.arr(o)?o[0]:f,d=C(l)||C(s),p=c||d;return i.und(u)&&(u=f),a.from=$(l,p),a.to=$(N(u,l),p),a.start=t?t.end:0,a.end=a.start+a.delay+a.duration+a.endDelay,a.easing=h(a.easing,a.duration),a.isPath=i.pth(o),a.isPathTargetInsideSVG=a.isPath&&i.svg(e.target),a.isColor=i.col(a.from.original),a.isColor&&(a.round=1),t=a,a})}var Q={css:function(n,e,t){return n.style[e]=t},attribute:function(n,e,t){return n.setAttribute(e,t)},object:function(n,e,t){return n[e]=t},transform:function(n,e,t,r,a){if(r.list.set(e,t),e===r.last||a){var o="";r.list.forEach(function(n,e){o+=e+"("+n+") "}),n.style.transform=o}}};function z(n,e){X(n).forEach(function(n){for(var t in e){var r=P(e[t],n),a=n.target,o=C(r),u=A(a,t,o,n),i=N(S(r,o||C(u)),u),c=T(a,t);Q[c](a,t,i,n.transforms,!0)}})}function _(n,e){return m(y(n.map(function(n){return e.map(function(e){return function(n,e){var t=T(n.target,e.name);if(t){var r=G(e,n),a=r[r.length-1];return{type:t,property:e.name,animatable:n,tweens:r,duration:a.end,delay:r[0].delay,endDelay:a.endDelay}}}(n,e)})})),function(n){return!i.und(n)})}function R(n,e){var t=n.length,r=function(n){return n.timelineOffset?n.timelineOffset:0},a={};return a.duration=t?Math.max.apply(Math,n.map(function(n){return r(n)+n.duration})):e.duration,a.delay=t?Math.min.apply(Math,n.map(function(n){return r(n)+n.delay})):e.delay,a.endDelay=t?a.duration-Math.max.apply(Math,n.map(function(n){return r(n)+n.duration-n.endDelay})):e.endDelay,a}var J=0;var K=[],U=function(){var n;function e(t){for(var r=K.length,a=0;a<r;){var o=K[a];o.paused?(K.splice(a,1),r--):(o.tick(t),a++)}n=a>0?requestAnimationFrame(e):void 0}return"undefined"!=typeof document&&document.addEventListener("visibilitychange",function(){en.suspendWhenDocumentHidden&&(nn()?n=cancelAnimationFrame(n):(K.forEach(function(n){return n._onDocumentVisibility()}),U()))}),function(){n||nn()&&en.suspendWhenDocumentHidden||!(K.length>0)||(n=requestAnimationFrame(e))}}();function nn(){return!!document&&document.hidden}function en(t){void 0===t&&(t={});var r,o=0,u=0,i=0,c=0,s=null;function f(n){var e=window.Promise&&new Promise(function(n){return s=n});return n.finished=e,e}var l,d,p,v,h,g,y,b,M=(d=w(n,l=t),p=w(e,l),v=Z(p,l),h=X(l.targets),g=_(h,v),y=R(g,p),b=J,J++,k(d,{id:b,children:[],animatables:h,animations:g,duration:y.duration,delay:y.delay,endDelay:y.endDelay}));f(M);function x(){var n=M.direction;"alternate"!==n&&(M.direction="normal"!==n?"normal":"reverse"),M.reversed=!M.reversed,r.forEach(function(n){return n.reversed=M.reversed})}function O(n){return M.reversed?M.duration-n:n}function C(){o=0,u=O(M.currentTime)*(1/en.speed)}function P(n,e){e&&e.seek(n-e.timelineOffset)}function I(n){for(var e=0,t=M.animations,r=t.length;e<r;){var o=t[e],u=o.animatable,i=o.tweens,c=i.length-1,s=i[c];c&&(s=m(i,function(e){return n<e.end})[0]||s);for(var f=a(n-s.start-s.delay,0,s.duration)/s.duration,l=isNaN(f)?1:s.easing(f),d=s.to.strings,p=s.round,v=[],h=s.to.numbers.length,g=void 0,y=0;y<h;y++){var b=void 0,x=s.to.numbers[y],w=s.from.numbers[y]||0;b=s.isPath?V(s.value,l*x,s.isPathTargetInsideSVG):w+l*(x-w),p&&(s.isColor&&y>2||(b=Math.round(b*p)/p)),v.push(b)}var k=d.length;if(k){g=d[0];for(var O=0;O<k;O++){d[O];var C=d[O+1],P=v[O];isNaN(P)||(g+=C?P+C:P+" ")}}else g=v[0];Q[o.type](u.target,o.property,g,u.transforms),o.currentValue=g,e++}}function D(n){M[n]&&!M.passThrough&&M[n](M)}function B(n){var e=M.duration,t=M.delay,l=e-M.endDelay,d=O(n);M.progress=a(d/e*100,0,100),M.reversePlayback=d<M.currentTime,r&&function(n){if(M.reversePlayback)for(var e=c;e--;)P(n,r[e]);else for(var t=0;t<c;t++)P(n,r[t])}(d),!M.began&&M.currentTime>0&&(M.began=!0,D("begin")),!M.loopBegan&&M.currentTime>0&&(M.loopBegan=!0,D("loopBegin")),d<=t&&0!==M.currentTime&&I(0),(d>=l&&M.currentTime!==e||!e)&&I(e),d>t&&d<l?(M.changeBegan||(M.changeBegan=!0,M.changeCompleted=!1,D("changeBegin")),D("change"),I(d)):M.changeBegan&&(M.changeCompleted=!0,M.changeBegan=!1,D("changeComplete")),M.currentTime=a(d,0,e),M.began&&D("update"),n>=e&&(u=0,M.remaining&&!0!==M.remaining&&M.remaining--,M.remaining?(o=i,D("loopComplete"),M.loopBegan=!1,"alternate"===M.direction&&x()):(M.paused=!0,M.completed||(M.completed=!0,D("loopComplete"),D("complete"),!M.passThrough&&"Promise"in window&&(s(),f(M)))))}return M.reset=function(){var n=M.direction;M.passThrough=!1,M.currentTime=0,M.progress=0,M.paused=!0,M.began=!1,M.loopBegan=!1,M.changeBegan=!1,M.completed=!1,M.changeCompleted=!1,M.reversePlayback=!1,M.reversed="reverse"===n,M.remaining=M.loop,r=M.children;for(var e=c=r.length;e--;)M.children[e].reset();(M.reversed&&!0!==M.loop||"alternate"===n&&1===M.loop)&&M.remaining++,I(M.reversed?M.duration:0)},M._onDocumentVisibility=C,M.set=function(n,e){return z(n,e),M},M.tick=function(n){i=n,o||(o=i),B((i+(u-o))*en.speed)},M.seek=function(n){B(O(n))},M.pause=function(){M.paused=!0,C()},M.play=function(){M.paused&&(M.completed&&M.reset(),M.paused=!1,K.push(M),C(),U())},M.reverse=function(){x(),M.completed=!M.reversed,C()},M.restart=function(){M.reset(),M.play()},M.remove=function(n){rn(W(n),M)},M.reset(),M.autoplay&&M.play(),M}function tn(n,e){for(var t=e.length;t--;)M(n,e[t].animatable.target)&&e.splice(t,1)}function rn(n,e){var t=e.animations,r=e.children;tn(n,t);for(var a=r.length;a--;){var o=r[a],u=o.animations;tn(n,u),u.length||o.children.length||r.splice(a,1)}t.length||r.length||e.pause()}return en.version="3.2.1",en.speed=1,en.suspendWhenDocumentHidden=!0,en.running=K,en.remove=function(n){for(var e=W(n),t=K.length;t--;)rn(e,K[t])},en.get=A,en.set=z,en.convertPx=D,en.path=function(n,e){var t=i.str(n)?g(n)[0]:n,r=e||100;return function(n){return{property:n,el:t,svg:H(t),totalLength:q(t)*(r/100)}}},en.setDashoffset=function(n){var e=q(n);return n.setAttribute("stroke-dasharray",e),e},en.stagger=function(n,e){void 0===e&&(e={});var t=e.direction||"normal",r=e.easing?h(e.easing):null,a=e.grid,o=e.axis,u=e.from||0,c="first"===u,s="center"===u,f="last"===u,l=i.arr(n),d=l?parseFloat(n[0]):parseFloat(n),p=l?parseFloat(n[1]):0,v=C(l?n[1]:n)||0,g=e.start||0+(l?d:0),m=[],y=0;return function(n,e,i){if(c&&(u=0),s&&(u=(i-1)/2),f&&(u=i-1),!m.length){for(var h=0;h<i;h++){if(a){var b=s?(a[0]-1)/2:u%a[0],M=s?(a[1]-1)/2:Math.floor(u/a[0]),x=b-h%a[0],w=M-Math.floor(h/a[0]),k=Math.sqrt(x*x+w*w);"x"===o&&(k=-x),"y"===o&&(k=-w),m.push(k)}else m.push(Math.abs(u-h));y=Math.max.apply(Math,m)}r&&(m=m.map(function(n){return r(n/y)*y})),"reverse"===t&&(m=m.map(function(n){return o?n<0?-1*n:-n:Math.abs(y-n)}))}return g+(l?(p-d)/y:d)*(Math.round(100*m[e])/100)+v}},en.timeline=function(n){void 0===n&&(n={});var t=en(n);return t.duration=0,t.add=function(r,a){var o=K.indexOf(t),u=t.children;function c(n){n.passThrough=!0}o>-1&&K.splice(o,1);for(var s=0;s<u.length;s++)c(u[s]);var f=k(r,w(e,n));f.targets=f.targets||n.targets;var l=t.duration;f.autoplay=!1,f.direction=t.direction,f.timelineOffset=i.und(a)?l:N(a,l),c(t),t.seek(f.timelineOffset);var d=en(f);c(d),u.push(d);var p=R(u,n);return t.delay=p.delay,t.endDelay=p.endDelay,t.duration=p.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t},en.easing=h,en.penner=v,en.random=function(n,e){return Math.floor(Math.random()*(e-n+1))+n},en});
 
 
 
 
 
 
 
 
lib/barba/barba.min.js DELETED
@@ -1,7 +0,0 @@
1
- /**
2
- * Skipped minification because the original files appears to be already minified.
3
- * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
4
- */
5
- !function(t,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(t=t||self).barba=n()}(this,(function(){function t(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}function n(n,r,e){return r&&t(n.prototype,r),e&&t(n,e),n}function r(){return(r=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])}return t}).apply(this,arguments)}function e(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n}function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function o(t,n){return(o=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function u(t,n,r){return(u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,n,r){var e=[null];e.push.apply(e,n);var i=new(Function.bind.apply(t,e));return r&&o(i,r.prototype),i}).apply(null,arguments)}function f(t){var n="function"==typeof Map?new Map:void 0;return(f=function(t){if(null===t||-1===Function.toString.call(t).indexOf("[native code]"))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return u(t,arguments,i(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o(r,t)})(t)}function s(t,n){try{var r=t()}catch(t){return n(t)}return r&&r.then?r.then(void 0,n):r}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));var c,a="2.9.7",h=function(){};!function(t){t[t.off=0]="off",t[t.error=1]="error",t[t.warning=2]="warning",t[t.info=3]="info",t[t.debug=4]="debug"}(c||(c={}));var v=c.off,l=function(){function t(t){this.t=t}t.getLevel=function(){return v},t.setLevel=function(t){return v=c[t]};var n=t.prototype;return n.error=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];this.i(console.error,c.error,n)},n.warn=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];this.i(console.warn,c.warning,n)},n.info=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];this.i(console.info,c.info,n)},n.debug=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];this.i(console.log,c.debug,n)},n.i=function(n,r,e){r<=t.getLevel()&&n.apply(console,["["+this.t+"] "].concat(e))},t}(),d=O,m=E,p=g,w=x,b=T,y="/",P=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function g(t,n){for(var r,e=[],i=0,o=0,u="",f=n&&n.delimiter||y,s=n&&n.whitelist||void 0,c=!1;null!==(r=P.exec(t));){var a=r[0],h=r[1],v=r.index;if(u+=t.slice(o,v),o=v+a.length,h)u+=h[1],c=!0;else{var l="",d=r[2],m=r[3],p=r[4],w=r[5];if(!c&&u.length){var b=u.length-1,g=u[b];(!s||s.indexOf(g)>-1)&&(l=g,u=u.slice(0,b))}u&&(e.push(u),u="",c=!1);var E=m||p,x=l||f;e.push({name:d||i++,prefix:l,delimiter:x,optional:"?"===w||"*"===w,repeat:"+"===w||"*"===w,pattern:E?A(E):"[^"+k(x===f?x:x+f)+"]+?"})}}return(u||o<t.length)&&e.push(u+t.substr(o)),e}function E(t,n){return function(r,e){var i=t.exec(r);if(!i)return!1;for(var o=i[0],u=i.index,f={},s=e&&e.decode||decodeURIComponent,c=1;c<i.length;c++)if(void 0!==i[c]){var a=n[c-1];f[a.name]=a.repeat?i[c].split(a.delimiter).map((function(t){return s(t,a)})):s(i[c],a)}return{path:o,index:u,params:f}}}function x(t,n){for(var r=new Array(t.length),e=0;e<t.length;e++)"object"==typeof t[e]&&(r[e]=new RegExp("^(?:"+t[e].pattern+")$",R(n)));return function(n,e){for(var i="",o=e&&e.encode||encodeURIComponent,u=!e||!1!==e.validate,f=0;f<t.length;f++){var s=t[f];if("string"!=typeof s){var c,a=n?n[s.name]:void 0;if(Array.isArray(a)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but got array');if(0===a.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var h=0;h<a.length;h++){if(c=o(a[h],s),u&&!r[f].test(c))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'"');i+=(0===h?s.prefix:s.delimiter)+c}}else if("string"!=typeof a&&"number"!=typeof a&&"boolean"!=typeof a){if(!s.optional)throw new TypeError('Expected "'+s.name+'" to be '+(s.repeat?"an array":"a string"))}else{if(c=o(String(a),s),u&&!r[f].test(c))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but got "'+c+'"');i+=s.prefix+c}}else i+=s}return i}}function k(t){return t.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function A(t){return t.replace(/([=!:$/()])/g,"\\$1")}function R(t){return t&&t.sensitive?"":"i"}function T(t,n,r){for(var e=(r=r||{}).strict,i=!1!==r.start,o=!1!==r.end,u=r.delimiter||y,f=[].concat(r.endsWith||[]).map(k).concat("$").join("|"),s=i?"^":"",c=0;c<t.length;c++){var a=t[c];if("string"==typeof a)s+=k(a);else{var h=a.repeat?"(?:"+a.pattern+")(?:"+k(a.delimiter)+"(?:"+a.pattern+"))*":a.pattern;n&&n.push(a),s+=a.optional?a.prefix?"(?:"+k(a.prefix)+"("+h+"))?":"("+h+")?":k(a.prefix)+"("+h+")"}}if(o)e||(s+="(?:"+k(u)+")?"),s+="$"===f?"$":"(?="+f+")";else{var v=t[t.length-1],l="string"==typeof v?v[v.length-1]===u:void 0===v;e||(s+="(?:"+k(u)+"(?="+f+"))?"),l||(s+="(?="+k(u)+"|"+f+")")}return new RegExp(s,R(r))}function O(t,n,r){return t instanceof RegExp?function(t,n){if(!n)return t;var r=t.source.match(/\((?!\?)/g);if(r)for(var e=0;e<r.length;e++)n.push({name:e,prefix:null,delimiter:null,optional:!1,repeat:!1,pattern:null});return t}(t,n):Array.isArray(t)?function(t,n,r){for(var e=[],i=0;i<t.length;i++)e.push(O(t[i],n,r).source);return new RegExp("(?:"+e.join("|")+")",R(r))}(t,n,r):function(t,n,r){return T(g(t,r),n,r)}(t,n,r)}d.match=function(t,n){var r=[];return E(O(t,r,n),r)},d.regexpToFunction=m,d.parse=p,d.compile=function(t,n){return x(g(t,n),n)},d.tokensToFunction=w,d.tokensToRegExp=b;var S={container:"container",history:"history",namespace:"namespace",prefix:"data-barba",prevent:"prevent",wrapper:"wrapper"},j=new(function(){function t(){this.o=S,this.u=new DOMParser}var n=t.prototype;return n.toString=function(t){return t.outerHTML},n.toDocument=function(t){return this.u.parseFromString(t,"text/html")},n.toElement=function(t){var n=document.createElement("div");return n.innerHTML=t,n},n.getHtml=function(t){return void 0===t&&(t=document),this.toString(t.documentElement)},n.getWrapper=function(t){return void 0===t&&(t=document),t.querySelector("["+this.o.prefix+'="'+this.o.wrapper+'"]')},n.getContainer=function(t){return void 0===t&&(t=document),t.querySelector("["+this.o.prefix+'="'+this.o.container+'"]')},n.removeContainer=function(t){document.body.contains(t)&&t.parentNode.removeChild(t)},n.addContainer=function(t,n){var r=this.getContainer();r?this.s(t,r):n.appendChild(t)},n.getNamespace=function(t){void 0===t&&(t=document);var n=t.querySelector("["+this.o.prefix+"-"+this.o.namespace+"]");return n?n.getAttribute(this.o.prefix+"-"+this.o.namespace):null},n.getHref=function(t){if(t.tagName&&"a"===t.tagName.toLowerCase()){if("string"==typeof t.href)return t.href;var n=t.getAttribute("href")||t.getAttribute("xlink:href");if(n)return this.resolveUrl(n.baseVal||n)}return null},n.resolveUrl=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var e=n.length;if(0===e)throw new Error("resolveUrl requires at least one argument; got none.");var i=document.createElement("base");if(i.href=arguments[0],1===e)return i.href;var o=document.getElementsByTagName("head")[0];o.insertBefore(i,o.firstChild);for(var u,f=document.createElement("a"),s=1;s<e;s++)f.href=arguments[s],i.href=u=f.href;return o.removeChild(i),u},n.s=function(t,n){n.parentNode.insertBefore(t,n.nextSibling)},t}()),M=new(function(){function t(){this.h=[],this.v=-1}var e=t.prototype;return e.init=function(t,n){this.l="barba";var r={ns:n,scroll:{x:window.scrollX,y:window.scrollY},url:t};this.h.push(r),this.v=0;var e={from:this.l,index:0,states:[].concat(this.h)};window.history&&window.history.replaceState(e,"",t)},e.change=function(t,n,r){if(r&&r.state){var e=r.state,i=e.index;n=this.m(this.v-i),this.replace(e.states),this.v=i}else this.add(t,n);return n},e.add=function(t,n){var r=this.size,e=this.p(n),i={ns:"tmp",scroll:{x:window.scrollX,y:window.scrollY},url:t};this.h.push(i),this.v=r;var o={from:this.l,index:r,states:[].concat(this.h)};switch(e){case"push":window.history&&window.history.pushState(o,"",t);break;case"replace":window.history&&window.history.replaceState(o,"",t)}},e.update=function(t,n){var e=n||this.v,i=r({},this.get(e),{},t);this.set(e,i)},e.remove=function(t){t?this.h.splice(t,1):this.h.pop(),this.v--},e.clear=function(){this.h=[],this.v=-1},e.replace=function(t){this.h=t},e.get=function(t){return this.h[t]},e.set=function(t,n){return this.h[t]=n},e.p=function(t){var n="push",r=t,e=S.prefix+"-"+S.history;return r.hasAttribute&&r.hasAttribute(e)&&(n=r.getAttribute(e)),n},e.m=function(t){return Math.abs(t)>1?t>0?"forward":"back":0===t?"popstate":t>0?"back":"forward"},n(t,[{key:"current",get:function(){return this.h[this.v]}},{key:"state",get:function(){return this.h[this.h.length-1]}},{key:"previous",get:function(){return this.v<1?null:this.h[this.v-1]}},{key:"size",get:function(){return this.h.length}}]),t}()),L=function(t,n){try{var r=function(){if(!n.next.html)return Promise.resolve(t).then((function(t){var r=n.next;if(t){var e=j.toElement(t);r.namespace=j.getNamespace(e),r.container=j.getContainer(e),r.html=t,M.update({ns:r.namespace});var i=j.toDocument(t);document.title=i.title}}))}();return Promise.resolve(r&&r.then?r.then((function(){})):void 0)}catch(t){return Promise.reject(t)}},$=d,_={__proto__:null,update:L,nextTick:function(){return new Promise((function(t){window.requestAnimationFrame(t)}))},pathToRegexp:$},q=function(){return window.location.origin},B=function(t){return void 0===t&&(t=window.location.href),U(t).port},U=function(t){var n,r=t.match(/:\d+/);if(null===r)/^http/.test(t)&&(n=80),/^https/.test(t)&&(n=443);else{var e=r[0].substring(1);n=parseInt(e,10)}var i,o=t.replace(q(),""),u={},f=o.indexOf("#");f>=0&&(i=o.slice(f+1),o=o.slice(0,f));var s=o.indexOf("?");return s>=0&&(u=D(o.slice(s+1)),o=o.slice(0,s)),{hash:i,path:o,port:n,query:u}},D=function(t){return t.split("&").reduce((function(t,n){var r=n.split("=");return t[r[0]]=r[1],t}),{})},F=function(t){return void 0===t&&(t=window.location.href),t.replace(/(\/#.*|\/|#.*)$/,"")},H={__proto__:null,getHref:function(){return window.location.href},getOrigin:q,getPort:B,getPath:function(t){return void 0===t&&(t=window.location.href),U(t).path},parse:U,parseQuery:D,clean:F};function I(t,n,r){return void 0===n&&(n=2e3),new Promise((function(e,i){var o=new XMLHttpRequest;o.onreadystatechange=function(){if(o.readyState===XMLHttpRequest.DONE)if(200===o.status)e(o.responseText);else if(o.status){var n={status:o.status,statusText:o.statusText};r(t,n),i(n)}},o.ontimeout=function(){var e=new Error("Timeout error ["+n+"]");r(t,e),i(e)},o.onerror=function(){var n=new Error("Fetch error");r(t,n),i(n)},o.open("GET",t),o.timeout=n,o.setRequestHeader("Accept","text/html,application/xhtml+xml,application/xml"),o.setRequestHeader("x-barba","yes"),o.send()}))}var C=function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then};function N(t,n){return void 0===n&&(n={}),function(){for(var r=arguments.length,e=new Array(r),i=0;i<r;i++)e[i]=arguments[i];var o=!1,u=new Promise((function(r,i){n.async=function(){return o=!0,function(t,n){t?i(t):r(n)}};var u=t.apply(n,e);o||(C(u)?u.then(r,i):r(u))}));return u}}var X=new(function(t){function n(){var n;return(n=t.call(this)||this).logger=new l("@barba/core"),n.all=["ready","page","reset","currentAdded","currentRemoved","nextAdded","nextRemoved","beforeOnce","once","afterOnce","before","beforeLeave","leave","afterLeave","beforeEnter","enter","afterEnter","after"],n.registered=new Map,n.init(),n}e(n,t);var r=n.prototype;return r.init=function(){var t=this;this.registered.clear(),this.all.forEach((function(n){t[n]||(t[n]=function(r,e){t.registered.has(n)||t.registered.set(n,new Set),t.registered.get(n).add({ctx:e||{},fn:r})})}))},r.do=function(t){for(var n=this,r=arguments.length,e=new Array(r>1?r-1:0),i=1;i<r;i++)e[i-1]=arguments[i];if(this.registered.has(t)){var o=Promise.resolve();return this.registered.get(t).forEach((function(t){o=o.then((function(){return N(t.fn,t.ctx).apply(void 0,e)}))})),o.catch((function(r){n.logger.debug("Hook error ["+t+"]"),n.logger.error(r)}))}return Promise.resolve()},r.clear=function(){var t=this;this.all.forEach((function(n){delete t[n]})),this.init()},r.help=function(){this.logger.info("Available hooks: "+this.all.join(","));var t=[];this.registered.forEach((function(n,r){return t.push(r)})),this.logger.info("Registered hooks: "+t.join(","))},n}(h)),z=function(){function t(t){if(this.P=[],"boolean"==typeof t)this.g=t;else{var n=Array.isArray(t)?t:[t];this.P=n.map((function(t){return $(t)}))}}return t.prototype.checkHref=function(t){if("boolean"==typeof this.g)return this.g;var n=U(t).path;return this.P.some((function(t){return null!==t.exec(n)}))},t}(),G=function(t){function n(n){var r;return(r=t.call(this,n)||this).k=new Map,r}e(n,t);var i=n.prototype;return i.set=function(t,n,r){return this.k.set(t,{action:r,request:n}),{action:r,request:n}},i.get=function(t){return this.k.get(t)},i.getRequest=function(t){return this.k.get(t).request},i.getAction=function(t){return this.k.get(t).action},i.has=function(t){return!this.checkHref(t)&&this.k.has(t)},i.delete=function(t){return this.k.delete(t)},i.update=function(t,n){var e=r({},this.k.get(t),{},n);return this.k.set(t,e),e},n}(z),Q=function(){return!window.history.pushState},W=function(t){return!t.el||!t.href},J=function(t){var n=t.event;return n.which>1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey},K=function(t){var n=t.el;return n.hasAttribute("target")&&"_blank"===n.target},V=function(t){var n=t.el;return void 0!==n.protocol&&window.location.protocol!==n.protocol||void 0!==n.hostname&&window.location.hostname!==n.hostname},Y=function(t){var n=t.el;return void 0!==n.port&&B()!==B(n.href)},Z=function(t){var n=t.el;return n.getAttribute&&"string"==typeof n.getAttribute("download")},tt=function(t){return t.el.hasAttribute(S.prefix+"-"+S.prevent)},nt=function(t){return Boolean(t.el.closest("["+S.prefix+"-"+S.prevent+'="all"]'))},rt=function(t){var n=t.href;return F(n)===F()&&B(n)===B()},et=function(t){function n(n){var r;return(r=t.call(this,n)||this).suite=[],r.tests=new Map,r.init(),r}e(n,t);var r=n.prototype;return r.init=function(){this.add("pushState",Q),this.add("exists",W),this.add("newTab",J),this.add("blank",K),this.add("corsDomain",V),this.add("corsPort",Y),this.add("download",Z),this.add("preventSelf",tt),this.add("preventAll",nt),this.add("sameUrl",rt,!1)},r.add=function(t,n,r){void 0===r&&(r=!0),this.tests.set(t,n),r&&this.suite.push(t)},r.run=function(t,n,r,e){return this.tests.get(t)({el:n,event:r,href:e})},r.checkLink=function(t,n,r){var e=this;return this.suite.some((function(i){return e.run(i,t,n,r)}))},n}(z),it=function(t){function n(r,e){var i;void 0===e&&(e="Barba error");for(var o=arguments.length,u=new Array(o>2?o-2:0),f=2;f<o;f++)u[f-2]=arguments[f];return(i=t.call.apply(t,[this].concat(u))||this).error=r,i.label=e,Error.captureStackTrace&&Error.captureStackTrace(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(i),n),i.name="BarbaError",i}return e(n,t),n}(f(Error)),ot=function(){function t(t){void 0===t&&(t=[]),this.logger=new l("@barba/core"),this.all=[],this.page=[],this.once=[],this.A=[{name:"namespace",type:"strings"},{name:"custom",type:"function"}],t&&(this.all=this.all.concat(t)),this.update()}var n=t.prototype;return n.add=function(t,n){switch(t){case"rule":this.A.splice(n.position||0,0,n.value);break;case"transition":default:this.all.push(n)}this.update()},n.resolve=function(t,n){var r=this;void 0===n&&(n={});var e=n.once?this.once:this.page;e=e.filter(n.self?function(t){return t.name&&"self"===t.name}:function(t){return!t.name||"self"!==t.name});var i=new Map,o=e.find((function(e){var o=!0,u={};return!(!n.self||"self"!==e.name)||(r.A.reverse().forEach((function(n){o&&(o=r.R(e,n,t,u),e.from&&e.to&&(o=r.R(e,n,t,u,"from")&&r.R(e,n,t,u,"to")),e.from&&!e.to&&(o=r.R(e,n,t,u,"from")),!e.from&&e.to&&(o=r.R(e,n,t,u,"to")))})),i.set(e,u),o)})),u=i.get(o),f=[];if(f.push(n.once?"once":"page"),n.self&&f.push("self"),u){var s,c=[o];Object.keys(u).length>0&&c.push(u),(s=this.logger).info.apply(s,["Transition found ["+f.join(",")+"]"].concat(c))}else this.logger.info("No transition found ["+f.join(",")+"]");return o},n.update=function(){var t=this;this.all=this.all.map((function(n){return t.T(n)})).sort((function(t,n){return t.priority-n.priority})).reverse().map((function(t){return delete t.priority,t})),this.page=this.all.filter((function(t){return void 0!==t.leave||void 0!==t.enter})),this.once=this.all.filter((function(t){return void 0!==t.once}))},n.R=function(t,n,r,e,i){var o=!0,u=!1,f=t,s=n.name,c=s,a=s,h=s,v=i?f[i]:f,l="to"===i?r.next:r.current;if(i?v&&v[s]:v[s]){switch(n.type){case"strings":default:var d=Array.isArray(v[c])?v[c]:[v[c]];l[c]&&-1!==d.indexOf(l[c])&&(u=!0),-1===d.indexOf(l[c])&&(o=!1);break;case"object":var m=Array.isArray(v[a])?v[a]:[v[a]];l[a]?(l[a].name&&-1!==m.indexOf(l[a].name)&&(u=!0),-1===m.indexOf(l[a].name)&&(o=!1)):o=!1;break;case"function":v[h](r)?u=!0:o=!1}u&&(i?(e[i]=e[i]||{},e[i][s]=f[i][s]):e[s]=f[s])}return o},n.O=function(t,n,r){var e=0;return(t[n]||t.from&&t.from[n]||t.to&&t.to[n])&&(e+=Math.pow(10,r),t.from&&t.from[n]&&(e+=1),t.to&&t.to[n]&&(e+=2)),e},n.T=function(t){var n=this;t.priority=0;var r=0;return this.A.forEach((function(e,i){r+=n.O(t,e.name,i+1)})),t.priority=r,t},t}(),ut=function(){function t(t){void 0===t&&(t=[]),this.logger=new l("@barba/core"),this.S=!1,this.store=new ot(t)}var r=t.prototype;return r.get=function(t,n){return this.store.resolve(t,n)},r.doOnce=function(t){var n=t.data,r=t.transition;try{var e=function(){i.S=!1},i=this,o=r||{};i.S=!0;var u=s((function(){return Promise.resolve(i.j("beforeOnce",n,o)).then((function(){return Promise.resolve(i.once(n,o)).then((function(){return Promise.resolve(i.j("afterOnce",n,o)).then((function(){}))}))}))}),(function(t){i.S=!1,i.logger.debug("Transition error [before/after/once]"),i.logger.error(t)}));return Promise.resolve(u&&u.then?u.then(e):e())}catch(t){return Promise.reject(t)}},r.doPage=function(t){var n=t.data,r=t.transition,e=t.page,i=t.wrapper;try{var o=function(t){if(u)return t;f.S=!1},u=!1,f=this,c=r||{},a=!0===c.sync||!1;f.S=!0;var h=s((function(){function t(){return Promise.resolve(f.j("before",n,c)).then((function(){var t=!1;function r(r){return t?r:Promise.resolve(f.remove(n)).then((function(){return Promise.resolve(f.j("after",n,c)).then((function(){}))}))}var o=function(){if(a)return s((function(){return Promise.resolve(f.add(n,i)).then((function(){return Promise.resolve(f.j("beforeLeave",n,c)).then((function(){return Promise.resolve(f.j("beforeEnter",n,c)).then((function(){return Promise.resolve(Promise.all([f.leave(n,c),f.enter(n,c)])).then((function(){return Promise.resolve(f.j("afterLeave",n,c)).then((function(){return Promise.resolve(f.j("afterEnter",n,c)).then((function(){}))}))}))}))}))}))}),(function(t){if(f.M(t))throw new it(t,"Transition error [sync]")}));var r=function(r){return t?r:s((function(){var t=function(){if(!1!==o)return Promise.resolve(f.add(n,i)).then((function(){return Promise.resolve(f.j("beforeEnter",n,c)).then((function(){return Promise.resolve(f.enter(n,c,o)).then((function(){return Promise.resolve(f.j("afterEnter",n,c)).then((function(){}))}))}))}))}();if(t&&t.then)return t.then((function(){}))}),(function(t){if(f.M(t))throw new it(t,"Transition error [before/after/enter]")}))},o=!1,u=s((function(){return Promise.resolve(f.j("beforeLeave",n,c)).then((function(){return Promise.resolve(Promise.all([f.leave(n,c),L(e,n)]).then((function(t){return t[0]}))).then((function(t){return o=t,Promise.resolve(f.j("afterLeave",n,c)).then((function(){}))}))}))}),(function(t){if(f.M(t))throw new it(t,"Transition error [before/after/leave]")}));return u&&u.then?u.then(r):r(u)}();return o&&o.then?o.then(r):r(o)}))}var r=function(){if(a)return Promise.resolve(L(e,n)).then((function(){}))}();return r&&r.then?r.then(t):t()}),(function(t){if(f.S=!1,t.name&&"BarbaError"===t.name)throw f.logger.debug(t.label),f.logger.error(t.error),t;throw f.logger.debug("Transition error [page]"),f.logger.error(t),t}));return Promise.resolve(h&&h.then?h.then(o):o(h))}catch(t){return Promise.reject(t)}},r.once=function(t,n){try{return Promise.resolve(X.do("once",t,n)).then((function(){return n.once?N(n.once,n)(t):Promise.resolve()}))}catch(t){return Promise.reject(t)}},r.leave=function(t,n){try{return Promise.resolve(X.do("leave",t,n)).then((function(){return n.leave?N(n.leave,n)(t):Promise.resolve()}))}catch(t){return Promise.reject(t)}},r.enter=function(t,n,r){try{return Promise.resolve(X.do("enter",t,n)).then((function(){return n.enter?N(n.enter,n)(t,r):Promise.resolve()}))}catch(t){return Promise.reject(t)}},r.add=function(t,n){try{return j.addContainer(t.next.container,n),X.do("nextAdded",t),Promise.resolve()}catch(t){return Promise.reject(t)}},r.remove=function(t){try{return j.removeContainer(t.current.container),X.do("currentRemoved",t),Promise.resolve()}catch(t){return Promise.reject(t)}},r.M=function(t){return t.message?!/Timeout error|Fetch error/.test(t.message):!t.status},r.j=function(t,n,r){try{return Promise.resolve(X.do(t,n,r)).then((function(){return r[t]?N(r[t],r)(n):Promise.resolve()}))}catch(t){return Promise.reject(t)}},n(t,[{key:"isRunning",get:function(){return this.S},set:function(t){this.S=t}},{key:"hasOnce",get:function(){return this.store.once.length>0}},{key:"hasSelf",get:function(){return this.store.all.some((function(t){return"self"===t.name}))}},{key:"shouldWait",get:function(){return this.store.all.some((function(t){return t.to&&!t.to.route||t.sync}))}}]),t}(),ft=function(){function t(t){var n=this;this.names=["beforeLeave","afterLeave","beforeEnter","afterEnter"],this.byNamespace=new Map,0!==t.length&&(t.forEach((function(t){n.byNamespace.set(t.namespace,t)})),this.names.forEach((function(t){X[t](n.L(t))})))}return t.prototype.L=function(t){var n=this;return function(r){var e=t.match(/enter/i)?r.next:r.current,i=n.byNamespace.get(e.namespace);return i&&i[t]?N(i[t],i)(r):Promise.resolve()}},t}();Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var n=this;do{if(n.matches(t))return n;n=n.parentElement||n.parentNode}while(null!==n&&1===n.nodeType);return null});var st={container:null,html:"",namespace:"",url:{hash:"",href:"",path:"",port:null,query:{}}};return new(function(){function t(){this.version=a,this.schemaPage=st,this.Logger=l,this.logger=new l("@barba/core"),this.plugins=[],this.hooks=X,this.dom=j,this.helpers=_,this.history=M,this.request=I,this.url=H}var e=t.prototype;return e.use=function(t,n){var r=this.plugins;r.indexOf(t)>-1?this.logger.warn("Plugin ["+t.name+"] already installed."):"function"==typeof t.install?(t.install(this,n),r.push(t)):this.logger.warn("Plugin ["+t.name+'] has no "install" method.')},e.init=function(t){var n=void 0===t?{}:t,e=n.transitions,i=void 0===e?[]:e,o=n.views,u=void 0===o?[]:o,f=n.schema,s=void 0===f?S:f,c=n.requestError,a=n.timeout,h=void 0===a?2e3:a,v=n.cacheIgnore,d=void 0!==v&&v,m=n.prefetchIgnore,p=void 0!==m&&m,w=n.preventRunning,b=void 0!==w&&w,y=n.prevent,P=void 0===y?null:y,g=n.debug,E=n.logLevel;if(l.setLevel(!0===(void 0!==g&&g)?"debug":void 0===E?"off":E),this.logger.info(this.version),Object.keys(s).forEach((function(t){S[t]&&(S[t]=s[t])})),this.$=c,this.timeout=h,this.cacheIgnore=d,this.prefetchIgnore=p,this.preventRunning=b,this._=this.dom.getWrapper(),!this._)throw new Error("[@barba/core] No Barba wrapper found");this._.setAttribute("aria-live","polite"),this.q();var x=this.data.current;if(!x.container)throw new Error("[@barba/core] No Barba container found");if(this.cache=new G(d),this.prevent=new et(p),this.transitions=new ut(i),this.views=new ft(u),null!==P){if("function"!=typeof P)throw new Error("[@barba/core] Prevent should be a function");this.prevent.add("preventCustom",P)}this.history.init(x.url.href,x.namespace),this.B=this.B.bind(this),this.U=this.U.bind(this),this.D=this.D.bind(this),this.F(),this.plugins.forEach((function(t){return t.init()}));var k=this.data;k.trigger="barba",k.next=k.current,k.current=r({},this.schemaPage),this.hooks.do("ready",k),this.once(k),this.q()},e.destroy=function(){this.q(),this.H(),this.history.clear(),this.hooks.clear(),this.plugins=[]},e.force=function(t){window.location.assign(t)},e.go=function(t,n,r){var e;if(void 0===n&&(n="barba"),this.transitions.isRunning)this.force(t);else if(!(e="popstate"===n?this.history.current&&this.url.getPath(this.history.current.url)===this.url.getPath(t):this.prevent.run("sameUrl",null,null,t))||this.transitions.hasSelf)return n=this.history.change(t,n,r),r&&(r.stopPropagation(),r.preventDefault()),this.page(t,n,e)},e.once=function(t){try{var n=this;return Promise.resolve(n.hooks.do("beforeEnter",t)).then((function(){function r(){return Promise.resolve(n.hooks.do("afterEnter",t)).then((function(){}))}var e=function(){if(n.transitions.hasOnce){var r=n.transitions.get(t,{once:!0});return Promise.resolve(n.transitions.doOnce({transition:r,data:t})).then((function(){}))}}();return e&&e.then?e.then(r):r()}))}catch(t){return Promise.reject(t)}},e.page=function(t,n,e){try{var i=function(){var t=o.data;return Promise.resolve(o.hooks.do("page",t)).then((function(){var n=s((function(){var n=o.transitions.get(t,{once:!1,self:e});return Promise.resolve(o.transitions.doPage({data:t,page:u,transition:n,wrapper:o._})).then((function(){o.q()}))}),(function(){0===l.getLevel()&&o.force(t.current.url.href)}));if(n&&n.then)return n.then((function(){}))}))},o=this;o.data.next.url=r({href:t},o.url.parse(t)),o.data.trigger=n;var u=o.cache.has(t)?o.cache.update(t,{action:"click"}).request:o.cache.set(t,o.request(t,o.timeout,o.onRequestError.bind(o,n)),"click").request,f=function(){if(o.transitions.shouldWait)return Promise.resolve(L(u,o.data)).then((function(){}))}();return Promise.resolve(f&&f.then?f.then(i):i())}catch(t){return Promise.reject(t)}},e.onRequestError=function(t){this.transitions.isRunning=!1;for(var n=arguments.length,r=new Array(n>1?n-1:0),e=1;e<n;e++)r[e-1]=arguments[e];var i=r[0],o=r[1],u=this.cache.getAction(i);return this.cache.delete(i),!(this.$&&!1===this.$(t,u,i,o)||("click"===u&&this.force(i),1))},e.prefetch=function(t){var n=this;this.cache.has(t)||this.cache.set(t,this.request(t,this.timeout,this.onRequestError.bind(this,"barba")).catch((function(t){n.logger.error(t)})),"prefetch")},e.F=function(){!0!==this.prefetchIgnore&&(document.addEventListener("mouseover",this.B),document.addEventListener("touchstart",this.B)),document.addEventListener("click",this.U),window.addEventListener("popstate",this.D)},e.H=function(){!0!==this.prefetchIgnore&&(document.removeEventListener("mouseover",this.B),document.removeEventListener("touchstart",this.B)),document.removeEventListener("click",this.U),window.removeEventListener("popstate",this.D)},e.B=function(t){var n=this,r=this.I(t);if(r){var e=this.dom.getHref(r);this.prevent.checkHref(e)||this.cache.has(e)||this.cache.set(e,this.request(e,this.timeout,this.onRequestError.bind(this,r)).catch((function(t){n.logger.error(t)})),"enter")}},e.U=function(t){var n=this.I(t);if(n)return this.transitions.isRunning&&this.preventRunning?(t.preventDefault(),void t.stopPropagation()):void this.go(this.dom.getHref(n),n,t)},e.D=function(t){this.go(this.url.getHref(),"popstate",t)},e.I=function(t){for(var n=t.target;n&&!this.dom.getHref(n);)n=n.parentNode;if(n&&!this.prevent.checkLink(n,t,this.dom.getHref(n)))return n},e.q=function(){var t=this.url.getHref(),n={container:this.dom.getContainer(),html:this.dom.getHtml(),namespace:this.dom.getNamespace(),url:r({href:t},this.url.parse(t))};this.C={current:n,next:r({},this.schemaPage),trigger:void 0},this.hooks.do("reset",this.data)},n(t,[{key:"data",get:function(){return this.C}},{key:"wrapper",get:function(){return this._}}]),t}())}));
6
- //# sourceMappingURL=barba.umd.js.map
7
-
 
 
 
 
 
 
 
lib/gsap/gsap.min.js ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * GSAP 3.5.0
3
+ * https://greensock.com
4
+ *
5
+ * @license Copyright 2020, GreenSock. All rights reserved.
6
+ * Subject to the terms at https://greensock.com/standard-license or for Club GreenSock members, the agreement issued with that membership.
7
+ * @author: Jack Doyle, jack@greensock.com
8
+ */
9
+
10
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(e){"use strict";function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function n(t){return"string"==typeof t}function o(t){return"function"==typeof t}function p(t){return"number"==typeof t}function q(t){return void 0===t}function r(t){return"object"==typeof t}function s(t){return!1!==t}function t(){return"undefined"!=typeof window}function u(t){return o(t)||n(t)}function K(t){return(l=mt(t,ot))&&ae}function L(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")}function M(t,e){return!e&&console.warn(t)}function N(t,e){return t&&(ot[t]=e)&&l&&(l[t]=e)||ot}function O(){return 0}function Y(t){var e,i,n=t[0];if(r(n)||o(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(i=_t.length;i--&&!_t[i].targetTest(n););e=_t[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new It(t[i],e)))||t.splice(i,1);return t}function Z(t){return t._gsap||Y(bt(t))[0]._gsap}function $(t,e,r){return(r=t[e])&&o(r)?t[e]():q(r)&&t.getAttribute&&t.getAttribute(e)||r}function _(t,e){return(t=t.split(",")).forEach(e)||t}function aa(t){return Math.round(1e5*t)/1e5||0}function ba(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r}function ca(t,e,r){var i,n=p(t[1]),a=(n?2:1)+(e<2?0:1),o=t[a];if(n&&(o.duration=t[1]),o.parent=r,e){for(i=o;r&&!("immediateRender"in i);)i=r.vars.defaults||{},r=s(r.vars.inherit)&&r.parent;o.immediateRender=s(i.immediateRender),e<2?o.runBackwards=1:o.startAt=t[a-1]}return o}function da(){var t,e,r=ht.length,i=ht.slice(0);for(lt={},t=ht.length=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)}function ea(t,e,r,i){ht.length&&da(),t.render(e,r,i),ht.length&&da()}function fa(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(st).length<2?e:n(t)?t.trim():t}function ga(t){return t}function ha(t,e){for(var r in e)r in t||(t[r]=e[r]);return t}function ia(t,e){for(var r in e)r in t||"duration"===r||"ease"===r||(t[r]=e[r])}function ka(t,e){for(var i in e)t[i]=r(e[i])?ka(t[i]||(t[i]={}),e[i]):e[i];return t}function la(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i}function ma(t){var e=t.parent||E,r=t.keyframes?ia:ha;if(s(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t}function pa(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(i="_last");var n=e._prev,a=e._next;n?n._next=a:t[r]===e&&(t[r]=a),a?a._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null}function qa(t,e){!t.parent||e&&!t.parent.autoRemoveChildren||t.parent.remove(t),t._act=0}function ra(t,e){if(!e||e._end>t._dur||e._start<0)for(var r=t;r;)r._dirty=1,r=r.parent;return t}function ua(t){return t._repeat?gt(t._tTime,t=t.duration()+t._rDelay)*t:0}function wa(t,e){return(t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function xa(t){return t._end=aa(t._start+(t._tDur/Math.abs(t._ts||t._rts||U)||0))}function ya(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=aa(t._dp._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),xa(t),r._dirty||ra(r,t)),t}function za(t,e){var r;if((e._time||e._initted&&!e._dur)&&(r=wa(t.rawTime(),e),(!e._dur||yt(0,e.totalDuration(),r)-e._tTime>U)&&e.render(r,!0)),ra(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)0<=r.rawTime()&&r.totalTime(r._tTime),r=r._dp;t._zTime=-U}}function Aa(t,e,r,i){return e.parent&&qa(e),e._start=aa(r+e._delay),e._end=aa(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),function _addLinkedListItem(t,e,r,i,n){void 0===r&&(r="_first"),void 0===i&&(i="_last");var a,s=t[i];if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t}(t,e,"_first","_last",t._sort?"_start":0),t._recent=e,i||za(t,e),t}function Ba(t,e){return(ot.ScrollTrigger||L("scrollTrigger",e))&&ot.ScrollTrigger.create(e,t)}function Ca(t,e,r,i){return Nt(t,e),t._initted?!r&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&d!==At.frame?(ht.push(t),t._lazy=[e,i],1):void 0:1}function Fa(t,e,r,i){var n=t._repeat,a=aa(e)||0,s=t._tTime/t._tDur;return s&&!i&&(t._time*=a/t._dur),t._dur=a,t._tDur=n?n<0?1e10:aa(a*(n+1)+t._rDelay*n):a,s&&!i?ya(t,t._tTime=t._tDur*s):t.parent&&xa(t),r||ra(t.parent,t),t}function Ga(t){return t instanceof Bt?ra(t):Fa(t,t._dur)}function Ia(t,e){var r,i,a=t.labels,s=t._recent||vt,o=t.duration()>=B?s.endTime(!1):t._dur;return n(e)&&(isNaN(e)||e in a)?"<"===(r=e.charAt(0))||">"===r?("<"===r?s._start:s.endTime(0<=s._repeat))+(parseFloat(e.substr(1))||0):(r=e.indexOf("="))<0?(e in a||(a[e]=o),a[e]):(i=+(e.charAt(r-1)+e.substr(r+1)),1<r?Ia(t,e.substr(0,r-1))+i:o+i):null==e?o:+e}function Ja(t,e){return t||0===t?e(t):e}function La(t){return(t+"").substr((parseFloat(t)+"").length)}function Oa(t,e){return t&&r(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&r(t[0]))&&!t.nodeType&&t!==i}function Ra(t){return t.sort(function(){return.5-Math.random()})}function Sa(t){if(o(t))return t;var _=r(t)?t:{each:t},c=Rt(_.ease),m=_.from||0,g=parseFloat(_.base)||0,v={},e=0<m&&m<1,y=isNaN(m)||e,T=_.axis,b=m,w=m;return n(m)?b=w={center:.5,edges:.5,end:1}[m]||0:!e&&y&&(b=m[0],w=m[1]),function(t,e,r){var i,n,a,s,o,u,h,l,f,d=(r||_).length,p=v[d];if(!p){if(!(f="auto"===_.grid?0:(_.grid||[1,B])[1])){for(h=-B;h<(h=r[f++].getBoundingClientRect().left)&&f<d;);f--}for(p=v[d]=[],i=y?Math.min(f,d)*b-.5:m%f,n=y?d*w/f-.5:m/f|0,l=B,u=h=0;u<d;u++)a=u%f-i,s=n-(u/f|0),p[u]=o=T?Math.abs("y"===T?s:a):J(a*a+s*s),h<o&&(h=o),o<l&&(l=o);"random"===m&&Ra(p),p.max=h-l,p.min=l,p.v=d=(parseFloat(_.amount)||parseFloat(_.each)*(d<f?d-1:T?"y"===T?d/f:f:Math.max(f,d/f))||0)*("edges"===m?-1:1),p.b=d<0?g-d:g,p.u=La(_.amount||_.each)||0,c=c&&d<0?Ft(c):c}return d=(p[t]-p.min)/p.max||0,aa(p.b+(c?c(d):d)*p.v)+p.u}}function Ta(e){var r=e<1?Math.pow(10,(e+"").length-2):1;return function(t){return Math.floor(Math.round(parseFloat(t)/e)*e*r)/r+(p(t)?0:La(t))}}function Ua(u,t){var h,l,e=tt(u);return!e&&r(u)&&(h=e=u.radius||B,u.values?(u=bt(u.values),(l=!p(u[0]))&&(h*=h)):u=Ta(u.increment)),Ja(t,e?o(u)?function(t){return l=u(t),Math.abs(l-t)<=h?l:t}:function(t){for(var e,r,i=parseFloat(l?t.x:t),n=parseFloat(l?t.y:0),a=B,s=0,o=u.length;o--;)(e=l?(e=u[o].x-i)*e+(r=u[o].y-n)*r:Math.abs(u[o]-i))<a&&(a=e,s=o);return s=!h||a<=h?u[s]:t,l||s===t||p(t)?s:s+La(t)}:Ta(u))}function Va(t,e,r,i){return Ja(tt(t)?!e:!0===r?!!(r=0):!i,function(){return tt(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t+Math.random()*(e-t))/r)*r*i)/i})}function Za(e,r,t){return Ja(t,function(t){return e[~~r(t)]})}function ab(t){for(var e,r,i,n,a=0,s="";~(e=t.indexOf("random(",a));)i=t.indexOf(")",e),n="["===t.charAt(e+7),r=t.substr(e+7,i-e-7).match(n?st:et),s+=t.substr(a,e-a)+Va(n?r:+r[0],n?0:+r[1],+r[2]||1e-5),a=i+1;return s+t.substr(a,t.length-a)}function db(t,e,r){var i,n,a,s=t.labels,o=B;for(i in s)(n=s[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(a=i,o=n);return a}function fb(t){return qa(t),t.progress()<1&&xt(t,"onInterrupt"),t}function kb(t,e,r){return(6*(t=t<0?t+1:1<t?t-1:t)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*kt+.5|0}function lb(t,e,r){var i,n,a,s,o,u,h,l,f,d,_=t?p(t)?[t>>16,t>>8&kt,t&kt]:0:Ot.black;if(!_){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Ot[t])_=Ot[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(i=t.charAt(1))+i+(n=t.charAt(2))+n+(a=t.charAt(3))+a),_=[(t=parseInt(t.substr(1),16))>>16,t>>8&kt,t&kt];else if("hsl"===t.substr(0,3))if(_=d=t.match(et),e){if(~t.indexOf("="))return _=t.match(rt),r&&_.length<4&&(_[3]=1),_}else s=+_[0]%360/360,o=_[1]/100,i=2*(u=_[2]/100)-(n=u<=.5?u*(o+1):u+o-u*o),3<_.length&&(_[3]*=1),_[0]=kb(s+1/3,i,n),_[1]=kb(s,i,n),_[2]=kb(s-1/3,i,n);else _=t.match(et)||Ot.transparent;_=_.map(Number)}return e&&!d&&(i=_[0]/kt,n=_[1]/kt,a=_[2]/kt,u=((h=Math.max(i,n,a))+(l=Math.min(i,n,a)))/2,h===l?s=o=0:(f=h-l,o=.5<u?f/(2-h-l):f/(h+l),s=h===i?(n-a)/f+(n<a?6:0):h===n?(a-i)/f+2:(i-n)/f+4,s*=60),_[0]=~~(s+.5),_[1]=~~(100*o+.5),_[2]=~~(100*u+.5)),r&&_.length<4&&(_[3]=1),_}function mb(t){var r=[],i=[],n=-1;return t.split(Mt).forEach(function(t){var e=t.match(it)||[];r.push.apply(r,e),i.push(n+=e.length+1)}),r.c=i,r}function nb(t,e,r){var i,n,a,s,o="",u=(t+o).match(Mt),h=e?"hsla(":"rgba(",l=0;if(!u)return t;if(u=u.map(function(t){return(t=lb(t,e,1))&&h+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),r&&(a=mb(t),(i=r.c).join(o)!==a.c.join(o)))for(s=(n=t.replace(Mt,"1").split(it)).length-1;l<s;l++)o+=n[l]+(~i.indexOf(l)?u.shift()||h+"0,0,0,0)":(a.length?a:u.length?u:r).shift());if(!n)for(s=(n=t.split(Mt)).length-1;l<s;l++)o+=n[l]+u[l];return o+n[s]}function qb(t){var e,r=t.join(" ");if(Mt.lastIndex=0,Mt.test(r))return e=Ct.test(r),t[1]=nb(t[1],e),t[0]=nb(t[0],e,mb(t[1])),!0}function zb(t){var e=(t+"").split("("),r=Dt[e[0]];return r&&1<e.length&&r.config?r.config.apply(null,~t.indexOf("{")?[function _parseObjectInString(t){for(var e,r,i,n={},a=t.substr(1,t.length-3).split(":"),s=a[0],o=1,u=a.length;o<u;o++)r=a[o],e=o!==u-1?r.lastIndexOf(","):r.length,i=r.substr(0,e),n[s]=isNaN(i)?i.replace(zt,"").trim():+i,s=r.substr(e+1).trim();return n}(e[1])]:function _valueInParentheses(t){var e=t.indexOf("(")+1,r=t.indexOf(")"),i=t.indexOf("(",e);return t.substring(e,~i&&i<r?t.indexOf(")",r+1):r)}(t).split(",").map(fa)):Dt._CE&&St.test(t)?Dt._CE("",t):r}function Bb(t,e){for(var r,i=t._first;i;)i instanceof Bt?Bb(i,e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline?Bb(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next}function Db(t,e,r,i){void 0===r&&(r=function easeOut(t){return 1-e(1-t)}),void 0===i&&(i=function easeInOut(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,a={easeIn:e,easeOut:r,easeInOut:i};return _(t,function(t){for(var e in Dt[t]=ot[t]=a,Dt[n=t.toLowerCase()]=r,a)Dt[n+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Dt[t+"."+e]=a[e]}),a}function Eb(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function Fb(r,t,e){function ul(t){return 1===t?1:i*Math.pow(2,-10*t)*W((t-a)*n)+1}var i=1<=t?t:1,n=(e||(r?.3:.45))/(t<1?t:1),a=n/V*(Math.asin(1/i)||0),s="out"===r?ul:"in"===r?function(t){return 1-ul(1-t)}:Eb(ul);return n=V/n,s.config=function(t,e){return Fb(r,t,e)},s}function Gb(e,r){function Cl(t){return t?--t*t*((r+1)*t+r)+1:0}void 0===r&&(r=1.70158);var t="out"===e?Cl:"in"===e?function(t){return 1-Cl(1-t)}:Eb(Cl);return t.config=function(t){return Gb(e,t)},t}var E,i,a,h,l,f,d,c,m,g,v,y,T,b,w,x,k,C,A,P,D,S,z,F,R,j={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},I={duration:.5,overwrite:!1,delay:0},B=1e8,U=1/B,V=2*Math.PI,X=V/4,G=0,J=Math.sqrt,Q=Math.cos,W=Math.sin,H="function"==typeof ArrayBuffer?ArrayBuffer.isView:function(){},tt=Array.isArray,et=/(?:-?\.?\d|\.)+/gi,rt=/[-+=.]*\d+[.e\-+]*\d*[e\-\+]*\d*/g,it=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,nt=/[-+=.]*\d+(?:\.|e-|e)*\d*/gi,at=/[+-]=-?[\.\d]+/,st=/[#\-+.]*\b[a-z\d-=+%.]+/gi,ot={},ut={},ht=[],lt={},ft={},dt={},pt=30,_t=[],ct="",mt=function _merge(t,e){for(var r in e)t[r]=e[r];return t},gt=function _animationCycle(t,e){return(t/=e)&&~~t===t?~~t-1:~~t},vt={_start:0,endTime:O},yt=function _clamp(t,e,r){return r<t?t:e<r?e:r},Tt=[].slice,bt=function toArray(t,e){return!n(t)||e||!a&&Pt()?tt(t)?function _flatten(t,e,r){return void 0===r&&(r=[]),t.forEach(function(t){return n(t)&&!e||Oa(t,1)?r.push.apply(r,bt(t)):r.push(t)})||r}(t,e):Oa(t)?Tt.call(t,0):t?[t]:[]:Tt.call(h.querySelectorAll(t),0)},wt=function mapRange(e,t,r,i,n){var a=t-e,s=i-r;return Ja(n,function(t){return r+((t-e)/a*s||0)})},xt=function _callback(t,e,r){var i,n,a=t.vars,s=a[e];if(s)return i=a[e+"Params"],n=a.callbackScope||t,r&&ht.length&&da(),i?s.apply(n,i):s.call(n)},kt=255,Ot={aqua:[0,kt,kt],lime:[0,kt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,kt],navy:[0,0,128],white:[kt,kt,kt],olive:[128,128,0],yellow:[kt,kt,0],orange:[kt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[kt,0,0],pink:[kt,192,203],cyan:[0,kt,kt],transparent:[kt,kt,kt,0]},Mt=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(t in Ot)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),Ct=/hsl[a]?\(/,At=(x=Date.now,k=500,C=33,A=x(),P=A,S=D=1e3/240,T={time:0,frame:0,tick:function tick(){qk(!0)},deltaRatio:function deltaRatio(t){return b/(1e3/(t||60))},wake:function wake(){f&&(!a&&t()&&(i=a=window,h=i.document||{},ot.gsap=ae,(i.gsapVersions||(i.gsapVersions=[])).push(ae.version),K(l||i.GreenSockGlobals||!i.gsap&&i||{}),y=i.requestAnimationFrame),g&&T.sleep(),v=y||function(t){return setTimeout(t,S-1e3*T.time+1|0)},m=1,qk(2))},sleep:function sleep(){(y?i.cancelAnimationFrame:clearTimeout)(g),m=0,v=O},lagSmoothing:function lagSmoothing(t,e){k=t||1e8,C=Math.min(e,k,0)},fps:function fps(t){D=1e3/(t||240),S=1e3*T.time+D},add:function add(t){z.indexOf(t)<0&&z.push(t),Pt()},remove:function remove(t){var e;~(e=z.indexOf(t))&&z.splice(e,1)&&e<=w&&w--},_listeners:z=[]}),Pt=function _wake(){return!m&&At.wake()},Dt={},St=/^[\d.\-M][\d.\-,\s]/,zt=/["']/g,Ft=function _invertEase(e){return function(t){return 1-e(1-t)}},Rt=function _parseEase(t,e){return t&&(o(t)?t:Dt[t]||zb(t))||e};function qk(t){var e,r,i,n,a=x()-P,s=!0===t;if(k<a&&(A+=a-C),(0<(e=(i=(P+=a)-A)-S)||s)&&(n=++T.frame,b=i-1e3*T.time,T.time=i/=1e3,S+=e+(D<=e?4:D-e),r=1),s||(g=v(qk)),r)for(w=0;w<z.length;w++)z[w](i,b,n,t)}function Tl(t){return t<R?F*t*t:t<.7272727272727273?F*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?F*(t-=2.25/2.75)*t+.9375:F*Math.pow(t-2.625/2.75,2)+.984375}_("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;Db(t+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2})}),Dt.Linear.easeNone=Dt.none=Dt.Linear.easeIn,Db("Elastic",Fb("in"),Fb("out"),Fb()),F=7.5625,R=1/2.75,Db("Bounce",function(t){return 1-Tl(1-t)},Tl),Db("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),Db("Circ",function(t){return-(J(1-t*t)-1)}),Db("Sine",function(t){return 1===t?1:1-Q(t*X)}),Db("Back",Gb("in"),Gb("out"),Gb()),Dt.SteppedEase=Dt.steps=ot.SteppedEase={config:function config(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return((i*yt(0,.99999999,t)|0)+n)*r}}},I.ease=Dt["quad.out"],_("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return ct+=t+","+t+"Params,"});var Et,It=function GSCache(t,e){this.id=G++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:$,this.set=e?e.getSetter:Qt},Lt=((Et=Animation.prototype).delay=function delay(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},Et.duration=function duration(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},Et.totalDuration=function totalDuration(t){return arguments.length?(this._dirty=0,Fa(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},Et.totalTime=function totalTime(t,e){if(Pt(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(ya(this,t);r.parent;)r.parent._time!==r._start+(0<=r._ts?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&Aa(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===U||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),ea(this,t,e)),this},Et.time=function time(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+ua(this))%this._dur||(t?this._dur:0),e):this._time},Et.totalProgress=function totalProgress(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},Et.progress=function progress(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+ua(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},Et.iteration=function iteration(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?gt(this._tTime,r)+1:1},Et.timeScale=function timeScale(t){if(!arguments.length)return this._rts===-U?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?wa(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-U?0:this._rts,function _recacheAncestors(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this.totalTime(yt(-this._delay,this._tDur,e),!0))},Et.paused=function paused(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Pt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&(this._tTime-=U)&&Math.abs(this._zTime)!==U))),this):this._ps},Et.startTime=function startTime(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return!e||!e._sort&&this.parent||Aa(e,this,t-this._delay),this}return this._start},Et.endTime=function endTime(t){return this._start+(s(t)?this.totalDuration():this.duration())/Math.abs(this._ts)},Et.rawTime=function rawTime(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?wa(e.rawTime(t),this):this._tTime:this._tTime},Et.globalTime=function globalTime(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(e._ts||1),e=e._dp;return r},Et.repeat=function repeat(t){return arguments.length?(this._repeat=t,Ga(this)):this._repeat},Et.repeatDelay=function repeatDelay(t){return arguments.length?(this._rDelay=t,Ga(this)):this._rDelay},Et.yoyo=function yoyo(t){return arguments.length?(this._yoyo=t,this):this._yoyo},Et.seek=function seek(t,e){return this.totalTime(Ia(this,t),s(e))},Et.restart=function restart(t,e){return this.play().totalTime(t?-this._delay:0,s(e))},Et.play=function play(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},Et.reverse=function reverse(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},Et.pause=function pause(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},Et.resume=function resume(){return this.paused(!1)},Et.reversed=function reversed(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-U:0)),this):this._rts<0},Et.invalidate=function invalidate(){return this._initted=0,this._zTime=-U,this},Et.isActive=function isActive(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-U))},Et.eventCallback=function eventCallback(t,e,r){var i=this.vars;return 1<arguments.length?(e?(i[t]=e,r&&(i[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},Et.then=function then(t){var i=this;return new Promise(function(e){function jn(){var t=i.then;i.then=null,o(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=t),e(r),i.then=t}var r=o(t)?t:ga;i._initted&&1===i.totalProgress()&&0<=i._ts||!i._tTime&&i._ts<0?jn():i._prom=jn})},Et.kill=function kill(){fb(this)},Animation);function Animation(t,e){var r=t.parent||E;this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Fa(this,+t.duration,1,1),this.data=t.data,m||At.wake(),r&&Aa(r,this,e||0===e?e:r._time,1),t.reversed&&this.reverse(),t.paused&&this.paused(!0)}ha(Lt.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-U,_prom:0,_ps:!1,_rts:1});var Bt=function(i){function Timeline(t,e){var r;return void 0===t&&(t={}),(r=i.call(this,t,e)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=s(t.sortChildren),r.parent&&za(r.parent,_assertThisInitialized(r)),t.scrollTrigger&&Ba(_assertThisInitialized(r),t.scrollTrigger),r}_inheritsLoose(Timeline,i);var t=Timeline.prototype;return t.to=function to(t,e,r,i){return new Xt(t,ca(arguments,0,this),Ia(this,p(e)?i:r)),this},t.from=function from(t,e,r,i){return new Xt(t,ca(arguments,1,this),Ia(this,p(e)?i:r)),this},t.fromTo=function fromTo(t,e,r,i,n){return new Xt(t,ca(arguments,2,this),Ia(this,p(e)?n:i)),this},t.set=function set(t,e,r){return e.duration=0,e.parent=this,ma(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Xt(t,e,Ia(this,r),1),this},t.call=function call(t,e,r){return Aa(this,Xt.delayedCall(0,t,e),Ia(this,r))},t.staggerTo=function staggerTo(t,e,r,i,n,a,s){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=a,r.onCompleteParams=s,r.parent=this,new Xt(t,r,Ia(this,n)),this},t.staggerFrom=function staggerFrom(t,e,r,i,n,a,o){return r.runBackwards=1,ma(r).immediateRender=s(r.immediateRender),this.staggerTo(t,e,r,i,n,a,o)},t.staggerFromTo=function staggerFromTo(t,e,r,i,n,a,o,u){return i.startAt=r,ma(i).immediateRender=s(i.immediateRender),this.staggerTo(t,e,i,n,a,o,u)},t.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d,p,_,c=this._time,m=this._dirty?this.totalDuration():this._tDur,g=this._dur,v=this!==E&&m-U<t&&0<=t?m:t<U?0:t,y=this._zTime<0!=t<0&&(this._initted||!g);if(v!==this._tTime||r||y){if(c!==this._time&&g&&(v+=this._time-c,t+=this._time-c),i=v,f=this._start,u=!(l=this._ts),y&&(g||(c=this._zTime),!t&&e||(this._zTime=t)),this._repeat&&(p=this._yoyo,o=g+this._rDelay,i=aa(v%o),v===m?(s=this._repeat,i=g):((s=~~(v/o))&&s===v/o&&(i=g,s--),g<i&&(i=g)),d=gt(this._tTime,o),!c&&this._tTime&&d!==s&&(d=s),p&&1&s&&(i=g-i,_=1),s!==d&&!this._lock)){var T=p&&1&d,b=T===(p&&1&s);if(s<d&&(T=!T),c=T?0:g,this._lock=1,this.render(c||(_?0:aa(s*o)),e,!g)._lock=0,!e&&this.parent&&xt(this,"onRepeat"),this.vars.repeatRefresh&&!_&&(this.invalidate()._lock=1),c!==this._time||u!=!this._ts)return this;if(g=this._dur,m=this._tDur,b&&(this._lock=2,c=T?g+1e-4:-1e-4,this.render(c,!0),this.vars.repeatRefresh&&!_&&this.invalidate()),this._lock=0,!this._ts&&!u)return this;Bb(this,_)}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function _findNextPauseTween(t,e,r){var i;if(e<r)for(i=t._first;i&&i._start<=r;){if(!i._dur&&"isPause"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if(!i._dur&&"isPause"===i.data&&i._start<e)return i;i=i._prev}}(this,aa(c),aa(i)))&&(v-=i-(i=h._start)),this._tTime=v,this._time=i,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t),c||!i||e||xt(this,"onStart"),c<=i&&0<=t)for(n=this._first;n;){if(a=n._next,(n._act||i>=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=-U);break}}n=a}else{n=this._last;for(var w=t<0?t:i;n;){if(a=n._prev,(n._act||w<=n._end)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(w-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(w-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=w?-U:U);break}}n=a}}if(h&&!e&&(this.pause(),h.render(c<=i?0:-U)._zTime=c<=i?1:-1,this._ts))return this._start=f,xa(this),this.render(t,e,r);this._onUpdate&&!e&&xt(this,"onUpdate",!0),(v===m&&m>=this.totalDuration()||!v&&c)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||(!t&&g||!(v===m&&0<this._ts||!v&&this._ts<0)||qa(this,1),e||t<0&&!c||!v&&!c||(xt(this,v===m?"onComplete":"onReverseComplete",!0),!this._prom||v<m&&0<this.timeScale()||this._prom())))}return this},t.add=function add(t,e){var r=this;if(p(e)||(e=Ia(this,e)),!(t instanceof Lt)){if(tt(t))return t.forEach(function(t){return r.add(t,e)}),this;if(n(t))return this.addLabel(t,e);if(!o(t))return this;t=Xt.delayedCall(0,t)}return this!==t?Aa(this,t,e):this},t.getChildren=function getChildren(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-B);for(var n=[],a=this._first;a;)a._start>=i&&(a instanceof Xt?e&&n.push(a):(r&&n.push(a),t&&n.push.apply(n,a.getChildren(!0,e,r)))),a=a._next;return n},t.getById=function getById(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},t.remove=function remove(t){return n(t)?this.removeLabel(t):o(t)?this.killTweensOf(t):(pa(this,t),t===this._recent&&(this._recent=this._last),ra(this))},t.totalTime=function totalTime(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=aa(At.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},t.addLabel=function addLabel(t,e){return this.labels[t]=Ia(this,e),this},t.removeLabel=function removeLabel(t){return delete this.labels[t],this},t.addPause=function addPause(t,e,r){var i=Xt.delayedCall(0,e||O,r);return i.data="isPause",this._hasPause=1,Aa(this,i,Ia(this,t))},t.removePause=function removePause(t){var e=this._first;for(t=Ia(this,t);e;)e._start===t&&"isPause"===e.data&&qa(e),e=e._next},t.killTweensOf=function killTweensOf(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)qt!==i[n]&&i[n].kill(t,e);return this},t.getTweensOf=function getTweensOf(t,e){for(var r,i=[],n=bt(t),a=this._first,s=p(e);a;)a instanceof Xt?ba(a._targets,n)&&(s?(!qt||a._initted&&a._ts)&&a.globalTime(0)<=e&&a.globalTime(a.totalDuration())>e:!e||a.isActive())&&i.push(a):(r=a.getTweensOf(n,e)).length&&i.push.apply(i,r),a=a._next;return i},t.tweenTo=function tweenTo(t,e){e=e||{};var r=this,i=Ia(r,t),n=e.startAt,a=e.onStart,s=e.onStartParams,o=Xt.to(r,ha(e,{ease:"none",lazy:!1,time:i,duration:e.duration||Math.abs((i-(n&&"time"in n?n.time:r._time))/r.timeScale())||U,onStart:function onStart(){r.pause();var t=e.duration||Math.abs((i-r._time)/r.timeScale());o._dur!==t&&Fa(o,t,0,1).render(o._time,!0,!0),a&&a.apply(o,s||[])}}));return o},t.tweenFromTo=function tweenFromTo(t,e,r){return this.tweenTo(e,ha({startAt:{time:Ia(this,t)}},r))},t.recent=function recent(){return this._recent},t.nextLabel=function nextLabel(t){return void 0===t&&(t=this._time),db(this,Ia(this,t))},t.previousLabel=function previousLabel(t){return void 0===t&&(t=this._time),db(this,Ia(this,t),1)},t.currentLabel=function currentLabel(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+U)},t.shiftChildren=function shiftChildren(t,e,r){void 0===r&&(r=0);for(var i,n=this._first,a=this.labels;n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in a)a[i]>=r&&(a[i]+=t);return ra(this)},t.invalidate=function invalidate(){var t=this._first;for(this._lock=0;t;)t.invalidate(),t=t._next;return i.prototype.invalidate.call(this)},t.clear=function clear(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._time=this._tTime=this._pTime=0,t&&(this.labels={}),ra(this)},t.totalDuration=function totalDuration(t){var e,r,i,n=0,a=this,s=a._last,o=B;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),o<(r=s._start)&&a._sort&&s._ts&&!a._lock?(a._lock=1,Aa(a,s,r-s._delay,1)._lock=0):o=r,r<0&&s._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=r/a._ts,a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-Infinity),o=0),s._end>n&&s._ts&&(n=s._end),s=e;Fa(a,a===E&&a._time>n?a._time:n,1,1),a._dirty=0}return a._tDur},Timeline.updateRoot=function updateRoot(t){if(E._ts&&(ea(E,wa(t,E)),d=At.frame),At.frame>=pt){pt+=j.autoSleep||120;var e=E._first;if((!e||!e._ts)&&j.autoSleep&&At._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||At.sleep()}}},Timeline}(Lt);ha(Bt.prototype,{_lock:0,_hasPause:0,_forcing:0});function Nb(t,e,i,a,s,u){var h,l,f,d;if(ft[t]&&!1!==(h=new ft[t]).init(s,h.rawVars?e[t]:function _processVars(t,e,i,a,s){if(o(t)&&(t=jt(t,s,e,i,a)),!r(t)||t.style&&t.nodeType||tt(t)||H(t))return n(t)?jt(t,s,e,i,a):t;var u,h={};for(u in t)h[u]=jt(t[u],s,e,i,a);return h}(e[t],a,s,u,i),i,a,u)&&(i._pt=l=new ie(i._pt,s,t,0,1,h.render,h,0,h.priority),i!==c))for(f=i._ptLookup[i._targets.indexOf(s)],d=h._props.length;d--;)f[h._props[d]]=l;return h}var qt,Yt=function _addPropTween(t,e,r,i,a,s,u,h,l){o(i)&&(i=i(a||0,t,s));var f,d=t[e],p="get"!==r?r:o(d)?l?t[e.indexOf("set")||!o(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():d,_=o(d)?l?Jt:Zt:Gt;if(n(i)&&(~i.indexOf("random(")&&(i=ab(i)),"="===i.charAt(1)&&(i=parseFloat(p)+parseFloat(i.substr(2))*("-"===i.charAt(0)?-1:1)+(La(p)||0))),p!==i)return isNaN(p*i)?(d||e in t||L(e,i),function _addComplexStringPropTween(t,e,r,i,n,a,s){var o,u,h,l,f,d,p,_,c=new ie(this._pt,t,e,0,1,Ht,null,n),m=0,g=0;for(c.b=r,c.e=i,r+="",(p=~(i+="").indexOf("random("))&&(i=ab(i)),a&&(a(_=[r,i],t,e),r=_[0],i=_[1]),u=r.match(nt)||[];o=nt.exec(i);)l=o[0],f=i.substring(m,o.index),h?h=(h+1)%5:"rgba("===f.substr(-5)&&(h=1),l!==u[g++]&&(d=parseFloat(u[g-1])||0,c._pt={_next:c._pt,p:f||1===g?f:",",s:d,c:"="===l.charAt(1)?parseFloat(l.substr(2))*("-"===l.charAt(0)?-1:1):parseFloat(l)-d,m:h&&h<4?Math.round:0},m=nt.lastIndex);return c.c=m<i.length?i.substring(m,i.length):"",c.fp=s,(at.test(i)||p)&&(c.e=0),this._pt=c}.call(this,t,e,p,i,_,h||j.stringFilter,l)):(f=new ie(this._pt,t,e,+p||0,i-(p||0),"boolean"==typeof d?$t:Wt,0,_),l&&(f.fp=l),u&&f.modifier(u,this,t),this._pt=f)},Nt=function _initTween(t,e){var r,i,n,a,o,u,h,l,f,d,p,_,c,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,T=m.lazy,b=m.onUpdate,w=m.onUpdateParams,x=m.callbackScope,k=m.runBackwards,O=m.yoyoEase,M=m.keyframes,C=m.autoRevert,A=t._dur,P=t._startAt,D=t._targets,S=t.parent,z=S&&"nested"===S.data?S.parent._targets:D,F="auto"===t._overwrite,R=t.timeline;if(!R||M&&g||(g="none"),t._ease=Rt(g,I.ease),t._yEase=O?Ft(Rt(!0===O?g:O,I.ease)):0,O&&t._yoyo&&!t._repeat&&(O=t._yEase,t._yEase=t._ease,t._ease=O),!R){if(_=(l=D[0]?Z(D[0]).harness:0)&&m[l.prop],r=la(m,ut),P&&P.render(-1,!0).kill(),v){if(qa(t._startAt=Xt.set(D,ha({data:"isStart",overwrite:!1,parent:S,immediateRender:!0,lazy:s(T),startAt:null,delay:0,onUpdate:b,onUpdateParams:w,callbackScope:x,stagger:0},v))),y)if(0<e)C||(t._startAt=0);else if(A&&!(e<0&&P))return void(e&&(t._zTime=e))}else if(k&&A)if(P)C||(t._startAt=0);else if(e&&(y=!1),n=ha({overwrite:!1,data:"isFromStart",lazy:y&&s(T),immediateRender:y,stagger:0,parent:S},r),_&&(n[l.prop]=_),qa(t._startAt=Xt.set(D,n)),y){if(!e)return}else _initTween(t._startAt,U);for(t._pt=0,T=A&&s(T)||T&&!A,i=0;i<D.length;i++){if(h=(o=D[i])._gsap||Y(D)[i]._gsap,t._ptLookup[i]=d={},lt[h.id]&&da(),p=z===D?i:z.indexOf(o),l&&!1!==(f=new l).init(o,_||r,t,p,z)&&(t._pt=a=new ie(t._pt,o,f.name,0,1,f.render,f,0,f.priority),f._props.forEach(function(t){d[t]=a}),f.priority&&(u=1)),!l||_)for(n in r)ft[n]&&(f=Nb(n,r,t,p,o,z))?f.priority&&(u=1):d[n]=a=Yt.call(t,o,n,"get",r[n],p,z,0,m.stringFilter);t._op&&t._op[i]&&t.kill(o,t._op[i]),F&&t._pt&&(qt=t,E.killTweensOf(o,d,t.globalTime(0)),c=!t.parent,qt=0),t._pt&&T&&(lt[h.id]=1)}u&&re(t),t._onInit&&t._onInit(t)}t._from=!R&&!!m.runBackwards,t._onUpdate=b,t._initted=(!t._op||t._pt)&&!c},jt=function _parseFuncOrString(t,e,r,i,a){return o(t)?t.call(e,r,i,a):n(t)&&~t.indexOf("random(")?ab(t):t},Ut=ct+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",Vt=(Ut+",id,stagger,delay,duration,paused,scrollTrigger").split(","),Xt=function(S){function Tween(t,e,i,n){var a;"number"==typeof e&&(i.duration=e,e=i,i=null);var o,h,l,f,d,_,c,m,g=(a=S.call(this,n?e:ma(e),i)||this).vars,v=g.duration,y=g.delay,T=g.immediateRender,b=g.stagger,w=g.overwrite,x=g.keyframes,k=g.defaults,C=g.scrollTrigger,A=g.yoyoEase,P=a.parent,D=(tt(t)||H(t)?p(t[0]):"length"in e)?[t]:bt(t);if(a._targets=D.length?Y(D):M("GSAP target "+t+" not found. https://greensock.com",!j.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=w,x||b||u(v)||u(y)){if(e=a.vars,(o=a.timeline=new Bt({data:"nested",defaults:k||{}})).kill(),o.parent=_assertThisInitialized(a),x)ha(o.vars.defaults,{ease:"none"}),x.forEach(function(t){return o.to(D,t,">")});else{if(f=D.length,c=b?Sa(b):O,r(b))for(d in b)~Ut.indexOf(d)&&((m=m||{})[d]=b[d]);for(h=0;h<f;h++){for(d in l={},e)Vt.indexOf(d)<0&&(l[d]=e[d]);l.stagger=0,A&&(l.yoyoEase=A),m&&mt(l,m),_=D[h],l.duration=+jt(v,_assertThisInitialized(a),h,_,D),l.delay=(+jt(y,_assertThisInitialized(a),h,_,D)||0)-a._delay,!b&&1===f&&l.delay&&(a._delay=y=l.delay,a._start+=y,l.delay=0),o.to(_,l,c(h,_,D))}o.duration()?v=y=0:a.timeline=0}v||a.duration(v=o.duration())}else a.timeline=0;return!0===w&&(qt=_assertThisInitialized(a),E.killTweensOf(D),qt=0),P&&za(P,_assertThisInitialized(a)),(T||!v&&!x&&a._start===aa(P._time)&&s(T)&&function _hasNoPausedAncestors(t){return!t||t._ts&&_hasNoPausedAncestors(t.parent)}(_assertThisInitialized(a))&&"nested"!==P.data)&&(a._tTime=-U,a.render(Math.max(0,-y))),C&&Ba(_assertThisInitialized(a),C),a}_inheritsLoose(Tween,S);var t=Tween.prototype;return t.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d=this._time,p=this._tDur,_=this._dur,c=p-U<t&&0<=t?p:t<U?0:t;if(_){if(c!==this._tTime||!t||r||this._startAt&&this._zTime<0!=t<0){if(i=c,l=this.timeline,this._repeat){if(s=_+this._rDelay,i=aa(c%s),c===p?(a=this._repeat,i=_):((a=~~(c/s))&&a===c/s&&(i=_,a--),_<i&&(i=_)),(u=this._yoyo&&1&a)&&(f=this._yEase,i=_-i),o=gt(this._tTime,s),i===d&&!r&&this._initted)return this;a!==o&&(l&&this._yEase&&Bb(l,u),!this.vars.repeatRefresh||u||this._lock||(this._lock=r=1,this.render(aa(s*a),!0).invalidate()._lock=0))}if(!this._initted){if(Ca(this,t<0?t:i,r,e))return this._tTime=0,this;if(_!==this._dur)return this.render(t,e,r)}for(this._tTime=c,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(f||this._ease)(i/_),this._from&&(this.ratio=h=1-h),!i||d||e||xt(this,"onStart"),n=this._pt;n;)n.r(h,n.d),n=n._next;l&&l.render(t<0?t:!i&&u?-U:l._dur*h,e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,r),xt(this,"onUpdate")),this._repeat&&a!==o&&this.vars.onRepeat&&!e&&this.parent&&xt(this,"onRepeat"),c!==this._tDur&&c||this._tTime!==c||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,!0),!t&&_||!(c===this._tDur&&0<this._ts||!c&&this._ts<0)||qa(this,1),e||t<0&&!d||!c&&!d||(xt(this,c===p?"onComplete":"onReverseComplete",!0),!this._prom||c<p&&0<this.timeScale()||this._prom()))}}else!function _renderZeroDurationTween(t,e,r,i){var n,a,s=t.ratio,o=e<0||!e&&s&&!t._start&&t._zTime>U&&!t._dp._lock||(t._ts<0||t._dp._ts<0)&&"isFromStart"!==t.data&&"isStart"!==t.data?0:1,u=t._rDelay,h=0;if(u&&t._repeat&&(h=yt(0,t._tDur,e),gt(h,u)!==(a=gt(t._tTime,u))&&(s=1-o,t.vars.repeatRefresh&&t._initted&&t.invalidate())),t._initted||!Ca(t,e,i,r))if(o!==s||i||t._zTime===U||!e&&t._zTime){for(a=t._zTime,t._zTime=e||(r?U:0),r=r||e&&!a,t.ratio=o,t._from&&(o=1-o),t._time=0,t._tTime=h,r||xt(t,"onStart"),n=t._pt;n;)n.r(o,n.d),n=n._next;t._startAt&&e<0&&t._startAt.render(e,!0,!0),t._onUpdate&&!r&&xt(t,"onUpdate"),h&&t._repeat&&!r&&t.parent&&xt(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===o&&(o&&qa(t,1),r||(xt(t,o?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},t.targets=function targets(){return this._targets},t.invalidate=function invalidate(){return this._pt=this._op=this._startAt=this._onUpdate=this._act=this._lazy=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),S.prototype.invalidate.call(this)},t.kill=function kill(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e)&&(this._lazy=0,this.parent))return fb(this);if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,qt&&!0!==qt.vars.overwrite)._first||fb(this),this.parent&&r!==this.timeline.totalDuration()&&Fa(this,this._dur*this.timeline._tDur/r,0,1),this}var i,a,s,o,u,h,l,f=this._targets,d=t?bt(t):f,p=this._ptLookup,c=this._pt;if((!e||"all"===e)&&function _arraysMatch(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(f,d))return"all"===e&&(this._pt=0),fb(this);for(i=this._op=this._op||[],"all"!==e&&(n(e)&&(u={},_(e,function(t){return u[t]=1}),e=u),e=function _addAliasesToVars(t,e){var r,i,n,a,s=t[0]?Z(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(i in r=mt({},e),o)if(i in r)for(n=(a=o[i].split(",")).length;n--;)r[a[n]]=r[i];return r}(f,e)),l=f.length;l--;)if(~d.indexOf(f[l]))for(u in a=p[l],"all"===e?(i[l]=e,o=a,s={}):(s=i[l]=i[l]||{},o=e),o)(h=a&&a[u])&&("kill"in h.d&&!0!==h.d.kill(u)||pa(this,h,"_pt"),delete a[u]),"all"!==s&&(s[u]=1);return this._initted&&!this._pt&&c&&fb(this),this},Tween.to=function to(t,e,r){return new Tween(t,e,r)},Tween.from=function from(t,e){return new Tween(t,ca(arguments,1))},Tween.delayedCall=function delayedCall(t,e,r,i){return new Tween(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},Tween.fromTo=function fromTo(t,e,r){return new Tween(t,ca(arguments,2))},Tween.set=function set(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new Tween(t,e)},Tween.killTweensOf=function killTweensOf(t,e,r){return E.killTweensOf(t,e,r)},Tween}(Lt);ha(Xt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),_("staggerTo,staggerFrom,staggerFromTo",function(r){Xt[r]=function(){var t=new Bt,e=Tt.call(arguments,0);return e.splice("staggerFromTo"===r?5:4,0,0),t[r].apply(t,e)}});function Yb(t,e,r){return t.setAttribute(e,r)}function ec(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)}var Gt=function _setterPlain(t,e,r){return t[e]=r},Zt=function _setterFunc(t,e,r){return t[e](r)},Jt=function _setterFuncWithParam(t,e,r,i){return t[e](i.fp,r)},Qt=function _getSetter(t,e){return o(t[e])?Zt:q(t[e])&&t.setAttribute?Yb:Gt},Wt=function _renderPlain(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4,e)},$t=function _renderBoolean(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Ht=function _renderComplexString(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},Kt=function _renderPropTweens(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},te=function _addPluginModifier(t,e,r,i){for(var n,a=this._pt;a;)n=a._next,a.p===i&&a.modifier(t,e,r),a=n},ee=function _killPropTweensOf(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?pa(this,i,"_pt"):i.dep||(e=1),i=r;return!e},re=function _sortPropTweensByPriority(t){for(var e,r,i,n,a=t._pt;a;){for(e=a._next,r=i;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:n)?a._prev._next=a:i=a,(a._next=r)?r._prev=a:n=a,a=e}t._pt=i},ie=(PropTween.prototype.modifier=function modifier(t,e,r){this.mSet=this.mSet||this.set,this.set=ec,this.m=t,this.mt=r,this.tween=e},PropTween);function PropTween(t,e,r,i,n,a,s,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=a||Wt,this.d=s||this,this.set=o||Gt,this.pr=u||0,(this._next=t)&&(t._prev=this)}_(ct+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return ut[t]=1}),ot.TweenMax=ot.TweenLite=Xt,ot.TimelineLite=ot.TimelineMax=Bt,E=new Bt({sortChildren:!1,defaults:I,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),j.stringFilter=qb;var ne={registerPlugin:function registerPlugin(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return function _createPlugin(t){var e=(t=!t.name&&t.default||t).name,r=o(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:O,render:Kt,add:Yt,kill:ee,modifier:te,rawVars:0},a={targetTest:0,get:0,getSetter:Qt,aliases:{},register:0};if(Pt(),t!==i){if(ft[e])return;ha(i,ha(la(t,n),a)),mt(i.prototype,mt(n,la(t,a))),ft[i.prop=e]=i,t.targetTest&&(_t.push(i),ut[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}N(e,i),t.register&&t.register(ae,i,ie)}(t)})},timeline:function timeline(t){return new Bt(t)},getTweensOf:function getTweensOf(t,e){return E.getTweensOf(t,e)},getProperty:function getProperty(i,t,e,r){n(i)&&(i=bt(i)[0]);var a=Z(i||{}).get,s=e?ga:fa;return"native"===e&&(e=""),i?t?s((ft[t]&&ft[t].get||a)(i,t,e,r)):function(t,e,r){return s((ft[t]&&ft[t].get||a)(i,t,e,r))}:i},quickSetter:function quickSetter(r,e,i){if(1<(r=bt(r)).length){var n=r.map(function(t){return ae.quickSetter(t,e,i)}),a=n.length;return function(t){for(var e=a;e--;)n[e](t)}}r=r[0]||{};var s=ft[e],o=Z(r),u=o.harness&&(o.harness.aliases||{})[e]||e,h=s?function(t){var e=new s;c._pt=0,e.init(r,i?t+i:t,c,0,[r]),e.render(1,e),c._pt&&Kt(1,c)}:o.set(r,u);return s?h:function(t){return h(r,u,i?t+i:t,o,1)}},isTweening:function isTweening(t){return 0<E.getTweensOf(t,!0).length},defaults:function defaults(t){return t&&t.ease&&(t.ease=Rt(t.ease,I.ease)),ka(I,t||{})},config:function config(t){return ka(j,t||{})},registerEffect:function registerEffect(t){var n=t.name,i=t.effect,e=t.plugins,a=t.defaults,s=t.extendTimeline;(e||"").split(",").forEach(function(t){return t&&!ft[t]&&!ot[t]&&M(n+" effect requires "+t+" plugin.")}),dt[n]=function(t,e,r){return i(bt(t),ha(e||{},a),r)},s&&(Bt.prototype[n]=function(t,e,i){return this.add(dt[n](t,r(e)?e:(i=e)&&{},this),i)})},registerEase:function registerEase(t,e){Dt[t]=Rt(e)},parseEase:function parseEase(t,e){return arguments.length?Rt(t,e):Dt},getById:function getById(t){return E.getById(t)},exportRoot:function exportRoot(t,e){void 0===t&&(t={});var r,i,n=new Bt(t);for(n.smoothChildTiming=s(t.smoothChildTiming),E.remove(n),n._dp=0,n._time=n._tTime=E._time,r=E._first;r;)i=r._next,!e&&!r._dur&&r instanceof Xt&&r.vars.onComplete===r._targets[0]||Aa(n,r,r._start-r._delay),r=i;return Aa(E,n,0),n},utils:{wrap:function wrap(e,t,r){var i=t-e;return tt(e)?Za(e,wrap(0,e.length),t):Ja(r,function(t){return(i+(t-e)%i)%i+e})},wrapYoyo:function wrapYoyo(e,t,r){var i=t-e,n=2*i;return tt(e)?Za(e,wrapYoyo(0,e.length-1),t):Ja(r,function(t){return e+(i<(t=(n+(t-e)%n)%n||0)?n-t:t)})},distribute:Sa,random:Va,snap:Ua,normalize:function normalize(t,e,r){return wt(t,e,0,1,r)},getUnit:La,clamp:function clamp(e,r,t){return Ja(t,function(t){return yt(e,r,t)})},splitColor:lb,toArray:bt,mapRange:wt,pipe:function pipe(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function unitize(e,r){return function(t){return e(parseFloat(t))+(r||La(t))}},interpolate:function interpolate(e,r,t,i){var a=isNaN(e+r)?0:function(t){return(1-t)*e+t*r};if(!a){var s,o,u,h,l,f=n(e),d={};if(!0===t&&(i=1)&&(t=null),f)e={p:e},r={p:r};else if(tt(e)&&!tt(r)){for(u=[],h=e.length,l=h-2,o=1;o<h;o++)u.push(interpolate(e[o-1],e[o]));h--,a=function func(t){t*=h;var e=Math.min(l,~~t);return u[e](t-e)},t=r}else i||(e=mt(tt(e)?[]:{},e));if(!u){for(s in r)Yt.call(d,e,s,"get",r[s]);a=function func(t){return Kt(t,d)||(f?e.p:e)}}}return Ja(t,a)},shuffle:Ra},install:K,effects:dt,ticker:At,updateRoot:Bt.updateRoot,plugins:ft,globalTimeline:E,core:{PropTween:ie,globals:N,Tween:Xt,Timeline:Bt,Animation:Lt,getCache:Z,_removeLinkedListItem:pa}};_("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return ne[t]=Xt[t]}),At.add(Bt.updateRoot),c=ne.to({},{duration:0});function ic(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r}function kc(t,a){return{name:t,rawVars:1,init:function init(t,i,e){e._onInit=function(t){var e,r;if(n(i)&&(e={},_(i,function(t){return e[t]=1}),i=e),a){for(r in e={},i)e[r]=a(i[r]);i=e}!function _addModifiers(t,e){var r,i,n,a=t._targets;for(r in e)for(i=a.length;i--;)(n=(n=t._ptLookup[i][r])&&n.d)&&(n._pt&&(n=ic(n,r)),n&&n.modifier&&n.modifier(e[r],t,a[i],r))}(t,i)}}}}var ae=ne.registerPlugin({name:"attr",init:function init(t,e,r,i,n){var a,s;for(a in e)(s=this.add(t,"setAttribute",(t.getAttribute(a)||0)+"",e[a],i,n,0,0,a))&&(s.op=a),this._props.push(a)}},{name:"endArray",init:function init(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r])}},kc("roundProps",Ta),kc("modifiers"),kc("snap",Ua))||ne;Xt.version=Bt.version=ae.version="3.5.0",f=1,t()&&Pt();function Vc(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function Wc(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function Xc(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function Yc(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)}function Zc(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function $c(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function _c(t,e,r){return t.style[e]=r}function ad(t,e,r){return t.style.setProperty(e,r)}function bd(t,e,r){return t._gsap[e]=r}function cd(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r}function dd(t,e,r,i,n){var a=t._gsap;a.scaleX=a.scaleY=r,a.renderTransform(n,a)}function ed(t,e,r,i,n){var a=t._gsap;a[e]=r,a.renderTransform(n,a)}function id(t,e){var r=oe.createElementNS?oe.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):oe.createElement(t);return r.style?r:oe.createElement(t)}function jd(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(Ie,"-$1").toLowerCase())||i.getPropertyValue(e)||!r&&jd(t,Ue(e)||e,1)||""}function md(){(function _windowExists(){return"undefined"!=typeof window})()&&window.document&&(se=window,oe=se.document,ue=oe.documentElement,le=id("div")||{style:{}},fe=id("div"),Ye=Ue(Ye),Ne=Ye+"Origin",le.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",pe=!!Ue("perspective"),he=1)}function nd(t){var e,r=id("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,n=this.nextSibling,a=this.style.cssText;if(ue.appendChild(r),r.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=nd}catch(t){}else this._gsapBBox&&(e=this._gsapBBox());return i&&(n?i.insertBefore(this,n):i.appendChild(this)),ue.removeChild(r),this.style.cssText=a,e}function od(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])}function pd(e){var r;try{r=e.getBBox()}catch(t){r=nd.call(e,!0)}return r&&(r.width||r.height)||e.getBBox===nd||(r=nd.call(e,!0)),!r||r.width||r.x||r.y?r:{x:+od(e,["x","cx","x1"])||0,y:+od(e,["y","cy","y1"])||0,width:0,height:0}}function qd(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!pd(t))}function rd(t,e){if(e){var r=t.style;e in ze&&e!==Ne&&(e=Ye),r.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),r.removeProperty(e.replace(Ie,"-$1").toLowerCase())):r.removeAttribute(e)}}function sd(t,e,r,i,n,a){var s=new ie(t._pt,e,r,0,1,a?$c:Zc);return(t._pt=s).b=i,s.e=n,t._props.push(r),s}function ud(t,e,r,i){var n,a,s,o,u=parseFloat(r)||0,h=(r+"").trim().substr((u+"").length)||"px",l=le.style,f=Le.test(e),d="svg"===t.tagName.toLowerCase(),p=(d?"client":"offset")+(f?"Width":"Height"),_="px"===i,c="%"===i;return i===h||!u||Ve[i]||Ve[h]?u:("px"===h||_||(u=ud(t,e,r,"px")),o=t.getCTM&&qd(t),c&&(ze[e]||~e.indexOf("adius"))?aa(u/(o?t.getBBox()[f?"width":"height"]:t[p])*100):(l[f?"width":"height"]=100+(_?h:i),a=~e.indexOf("adius")||"em"===i&&t.appendChild&&!d?t:t.parentNode,o&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==oe&&a.appendChild||(a=oe.body),(s=a._gsap)&&c&&s.width&&f&&s.time===At.time?aa(u/s.width*100):(!c&&"%"!==h||(l.position=jd(t,"position")),a===t&&(l.position="static"),a.appendChild(le),n=le[p],a.removeChild(le),l.position="absolute",f&&c&&((s=Z(a)).time=At.time,s.width=a[p]),aa(_?n*u/100:n&&u?100/n*u:0))))}function vd(t,e,r,i){var n;return he||md(),e in qe&&"transform"!==e&&~(e=qe[e]).indexOf(",")&&(e=e.split(",")[0]),ze[e]&&"transform"!==e?(n=Qe(t,i),n="transformOrigin"!==e?n[e]:We(jd(t,Ne))+" "+n.zOrigin+"px"):(n=t.style[e])&&"auto"!==n&&!i&&!~(n+"").indexOf("calc(")||(n=Ge[e]&&Ge[e](t,e,r)||jd(t,e)||$(t,e)||("opacity"===e?1:0)),r&&!~(n+"").indexOf(" ")?ud(t,e,n,r)+r:n}function wd(t,e,r,i){if(!r||"none"===r){var n=Ue(e,t,1),a=n&&jd(t,n,1);a&&a!==r?(e=n,r=a):"borderColor"===e&&(r=jd(t,"borderTopColor"))}var s,o,u,h,l,f,d,p,_,c,m,g,v=new ie(this._pt,t.style,e,0,1,Ht),y=0,T=0;if(v.b=r,v.e=i,r+="","auto"===(i+="")&&(t.style[e]=i,i=jd(t,e)||i,t.style[e]=r),qb(s=[r,i]),i=s[1],u=(r=s[0]).match(it)||[],(i.match(it)||[]).length){for(;o=it.exec(i);)d=o[0],_=i.substring(y,o.index),l?l=(l+1)%5:"rgba("!==_.substr(-5)&&"hsla("!==_.substr(-5)||(l=1),d!==(f=u[T++]||"")&&(h=parseFloat(f)||0,m=f.substr((h+"").length),(g="="===d.charAt(1)?+(d.charAt(0)+"1"):0)&&(d=d.substr(2)),p=parseFloat(d),c=d.substr((p+"").length),y=it.lastIndex-c.length,c||(c=c||j.units[e]||m,y===i.length&&(i+=c,v.e+=c)),m!==c&&(h=ud(t,e,f,c)||0),v._pt={_next:v._pt,p:_||1===T?_:",",s:h,c:g?g*p:p-h,m:l&&l<4?Math.round:0});v.c=y<i.length?i.substring(y,i.length):""}else v.r="display"===e&&"none"===i?$c:Zc;return at.test(i)&&(v.e=0),this._pt=v}function yd(t){var e=t.split(" "),r=e[0],i=e[1]||"50%";return"top"!==r&&"bottom"!==r&&"left"!==i&&"right"!==i||(t=r,r=i,i=t),e[0]=Xe[r]||r,e[1]=Xe[i]||i,e.join(" ")}function zd(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,a=e.t,s=a.style,o=e.u,u=a._gsap;if("all"===o||!0===o)s.cssText="",i=1;else for(n=(o=o.split(",")).length;-1<--n;)r=o[n],ze[r]&&(i=1,r="transformOrigin"===r?Ne:Ye),rd(a,r);i&&(rd(a,Ye),u&&(u.svg&&a.removeAttribute("transform"),Qe(a,1),u.uncache=1))}}function Dd(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t}function Ed(t){var e=jd(t,Ye);return Dd(e)?Ze:e.substr(7).match(rt).map(aa)}function Fd(t,e){var r,i,n,a,s=t._gsap||Z(t),o=t.style,u=Ed(t);return s.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?Ze:u:(u!==Ze||t.offsetParent||t===ue||s.svg||(n=o.display,o.display="block",(r=t.parentNode)&&t.offsetParent||(a=1,i=t.nextSibling,ue.appendChild(t)),u=Ed(t),n?o.display=n:rd(t,"display"),a&&(i?r.insertBefore(t,i):r?r.appendChild(t):ue.removeChild(t))),e&&6<u.length?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)}function Gd(t,e,r,i,n,a){var s,o,u,h=t._gsap,l=n||Fd(t,!0),f=h.xOrigin||0,d=h.yOrigin||0,p=h.xOffset||0,_=h.yOffset||0,c=l[0],m=l[1],g=l[2],v=l[3],y=l[4],T=l[5],b=e.split(" "),w=parseFloat(b[0])||0,x=parseFloat(b[1])||0;r?l!==Ze&&(o=c*v-m*g)&&(u=w*(-m/o)+x*(c/o)-(c*T-m*y)/o,w=w*(v/o)+x*(-g/o)+(g*T-v*y)/o,x=u):(w=(s=pd(t)).x+(~b[0].indexOf("%")?w/100*s.width:w),x=s.y+(~(b[1]||b[0]).indexOf("%")?x/100*s.height:x)),i||!1!==i&&h.smooth?(y=w-f,T=x-d,h.xOffset=p+(y*c+T*g)-y,h.yOffset=_+(y*m+T*v)-T):h.xOffset=h.yOffset=0,h.xOrigin=w,h.yOrigin=x,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[Ne]="0px 0px",a&&(sd(a,h,"xOrigin",f,w),sd(a,h,"yOrigin",d,x),sd(a,h,"xOffset",p,h.xOffset),sd(a,h,"yOffset",_,h.yOffset)),t.setAttribute("data-svg-origin",w+" "+x)}function Jd(t,e,r){var i=La(e);return aa(parseFloat(e)+parseFloat(ud(t,"x",r+"px",i)))+i}function Qd(t,e,r,i,a,s){var o,u,h=360,l=n(a),f=parseFloat(a)*(l&&~a.indexOf("rad")?Fe:1),d=s?f*s:f-i,p=i+d+"deg";return l&&("short"===(o=a.split("_")[1])&&(d%=h)!==d%180&&(d+=d<0?h:-h),"cw"===o&&d<0?d=(d+36e9)%h-~~(d/h)*h:"ccw"===o&&0<d&&(d=(d-36e9)%h-~~(d/h)*h)),t._pt=u=new ie(t._pt,e,r,i,d,Wc),u.e=p,u.u="deg",t._props.push(r),u}function Rd(t,e,r){var i,n,a,s,o,u,h,l=fe.style,f=r._gsap;for(n in l.cssText=getComputedStyle(r).cssText+";position:absolute;display:block;",l[Ye]=e,oe.body.appendChild(fe),i=Qe(fe,1),ze)(a=f[n])!==(s=i[n])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(n)<0&&(o=La(a)!==(h=La(s))?ud(r,n,a,h):parseFloat(a),u=parseFloat(s),t._pt=new ie(t._pt,f,n,o,u-o,Vc),t._pt.u=h||0,t._props.push(n));oe.body.removeChild(fe)}var se,oe,ue,he,le,fe,de,pe,_e=Dt.Power0,ce=Dt.Power1,me=Dt.Power2,ge=Dt.Power3,ve=Dt.Power4,ye=Dt.Linear,Te=Dt.Quad,be=Dt.Cubic,we=Dt.Quart,xe=Dt.Quint,ke=Dt.Strong,Oe=Dt.Elastic,Me=Dt.Back,Ce=Dt.SteppedEase,Ae=Dt.Bounce,Pe=Dt.Sine,De=Dt.Expo,Se=Dt.Circ,ze={},Fe=180/Math.PI,Re=Math.PI/180,Ee=Math.atan2,Ie=/([A-Z])/g,Le=/(?:left|right|width|margin|padding|x)/i,Be=/[\s,\(]\S/,qe={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ye="transform",Ne=Ye+"Origin",je="O,Moz,ms,Ms,Webkit".split(","),Ue=function _checkPropPrefix(t,e,r){var i=(e||le).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(je[n]+t in i););return n<0?null:(3===n?"ms":0<=n?je[n]:"")+t},Ve={deg:1,rad:1,turn:1},Xe={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Ge={clearProps:function clearProps(t,e,r,i,n){if("isFromStart"!==n.data){var a=t._pt=new ie(t._pt,e,r,0,0,zd);return a.u=i,a.pr=-10,a.tween=n,t._props.push(r),1}}},Ze=[1,0,0,1,0,0],Je={},Qe=function _parseTransform(t,e){var r=t._gsap||new It(t);if("x"in r&&!e&&!r.uncache)return r;var i,n,a,s,o,u,h,l,f,d,p,_,c,m,g,v,y,T,b,w,x,k,O,M,C,A,P,D,S,z,F,R,E=t.style,I=r.scaleX<0,L="deg",B=jd(t,Ne)||"0";return i=n=a=u=h=l=f=d=p=0,s=o=1,r.svg=!(!t.getCTM||!qd(t)),m=Fd(t,r.svg),r.svg&&(M=!r.uncache&&t.getAttribute("data-svg-origin"),Gd(t,M||B,!!M||r.originIsAbsolute,!1!==r.smooth,m)),_=r.xOrigin||0,c=r.yOrigin||0,m!==Ze&&(T=m[0],b=m[1],w=m[2],x=m[3],i=k=m[4],n=O=m[5],6===m.length?(s=Math.sqrt(T*T+b*b),o=Math.sqrt(x*x+w*w),u=T||b?Ee(b,T)*Fe:0,(f=w||x?Ee(w,x)*Fe+u:0)&&(o*=Math.cos(f*Re)),r.svg&&(i-=_-(_*T+c*w),n-=c-(_*b+c*x))):(R=m[6],z=m[7],P=m[8],D=m[9],S=m[10],F=m[11],i=m[12],n=m[13],a=m[14],h=(g=Ee(R,S))*Fe,g&&(M=k*(v=Math.cos(-g))+P*(y=Math.sin(-g)),C=O*v+D*y,A=R*v+S*y,P=k*-y+P*v,D=O*-y+D*v,S=R*-y+S*v,F=z*-y+F*v,k=M,O=C,R=A),l=(g=Ee(-w,S))*Fe,g&&(v=Math.cos(-g),F=x*(y=Math.sin(-g))+F*v,T=M=T*v-P*y,b=C=b*v-D*y,w=A=w*v-S*y),u=(g=Ee(b,T))*Fe,g&&(M=T*(v=Math.cos(g))+b*(y=Math.sin(g)),C=k*v+O*y,b=b*v-T*y,O=O*v-k*y,T=M,k=C),h&&359.9<Math.abs(h)+Math.abs(u)&&(h=u=0,l=180-l),s=aa(Math.sqrt(T*T+b*b+w*w)),o=aa(Math.sqrt(O*O+R*R)),g=Ee(k,O),f=2e-4<Math.abs(g)?g*Fe:0,p=F?1/(F<0?-F:F):0),r.svg&&(M=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Dd(jd(t,Ye)),M&&t.setAttribute("transform",M))),90<Math.abs(f)&&Math.abs(f)<270&&(I?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),r.x=((r.xPercent=i&&Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)?0:i)+"px",r.y=((r.yPercent=n&&Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)?0:n)+"px",r.z=a+"px",r.scaleX=aa(s),r.scaleY=aa(o),r.rotation=aa(u)+L,r.rotationX=aa(h)+L,r.rotationY=aa(l)+L,r.skewX=f+L,r.skewY=d+L,r.transformPerspective=p+"px",(r.zOrigin=parseFloat(B.split(" ")[2])||0)&&(E[Ne]=We(B)),r.xOffset=r.yOffset=0,r.force3D=j.force3D,r.renderTransform=r.svg?rr:pe?er:$e,r.uncache=0,r},We=function _firstTwoOnly(t){return(t=t.split(" "))[0]+" "+t[1]},$e=function _renderNon3DTransforms(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,er(t,e)},He="0deg",Ke="0px",tr=") ",er=function _renderCSSTransforms(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,a=r.x,s=r.y,o=r.z,u=r.rotation,h=r.rotationY,l=r.rotationX,f=r.skewX,d=r.skewY,p=r.scaleX,_=r.scaleY,c=r.transformPerspective,m=r.force3D,g=r.target,v=r.zOrigin,y="",T="auto"===m&&t&&1!==t||!0===m;if(v&&(l!==He||h!==He)){var b,w=parseFloat(h)*Re,x=Math.sin(w),k=Math.cos(w);w=parseFloat(l)*Re,b=Math.cos(w),a=Jd(g,a,x*b*-v),s=Jd(g,s,-Math.sin(w)*-v),o=Jd(g,o,k*b*-v+v)}c!==Ke&&(y+="perspective("+c+tr),(i||n)&&(y+="translate("+i+"%, "+n+"%) "),!T&&a===Ke&&s===Ke&&o===Ke||(y+=o!==Ke||T?"translate3d("+a+", "+s+", "+o+") ":"translate("+a+", "+s+tr),u!==He&&(y+="rotate("+u+tr),h!==He&&(y+="rotateY("+h+tr),l!==He&&(y+="rotateX("+l+tr),f===He&&d===He||(y+="skew("+f+", "+d+tr),1===p&&1===_||(y+="scale("+p+", "+_+tr),g.style[Ye]=y||"translate(0, 0)"},rr=function _renderSVGTransforms(t,e){var r,i,n,a,s,o=e||this,u=o.xPercent,h=o.yPercent,l=o.x,f=o.y,d=o.rotation,p=o.skewX,_=o.skewY,c=o.scaleX,m=o.scaleY,g=o.target,v=o.xOrigin,y=o.yOrigin,T=o.xOffset,b=o.yOffset,w=o.forceCSS,x=parseFloat(l),k=parseFloat(f);d=parseFloat(d),p=parseFloat(p),(_=parseFloat(_))&&(p+=_=parseFloat(_),d+=_),d||p?(d*=Re,p*=Re,r=Math.cos(d)*c,i=Math.sin(d)*c,n=Math.sin(d-p)*-m,a=Math.cos(d-p)*m,p&&(_*=Re,s=Math.tan(p-_),n*=s=Math.sqrt(1+s*s),a*=s,_&&(s=Math.tan(_),r*=s=Math.sqrt(1+s*s),i*=s)),r=aa(r),i=aa(i),n=aa(n),a=aa(a)):(r=c,a=m,i=n=0),(x&&!~(l+"").indexOf("px")||k&&!~(f+"").indexOf("px"))&&(x=ud(g,"x",l,"px"),k=ud(g,"y",f,"px")),(v||y||T||b)&&(x=aa(x+v-(v*r+y*n)+T),k=aa(k+y-(v*i+y*a)+b)),(u||h)&&(s=g.getBBox(),x=aa(x+u/100*s.width),k=aa(k+h/100*s.height)),s="matrix("+r+","+i+","+n+","+a+","+x+","+k+")",g.setAttribute("transform",s),w&&(g.style[Ye]=s)};_("padding,margin,Width,Radius",function(e,r){var t="Right",i="Bottom",n="Left",o=(r<3?["Top",t,i,n]:["Top"+n,"Top"+t,i+t,i+n]).map(function(t){return r<2?e+t:"border"+t+e});Ge[1<r?"border"+e:e]=function(e,t,r,i,n){var a,s;if(arguments.length<4)return a=o.map(function(t){return vd(e,t,r)}),5===(s=a.join(" ")).split(a[0]).length?a[0]:s;a=(i+"").split(" "),s={},o.forEach(function(t,e){return s[t]=a[e]=a[e]||a[(e-1)/2|0]}),e.init(t,s,n)}});var ir,nr,ar,sr={name:"css",register:md,targetTest:function targetTest(t){return t.style&&t.nodeType},init:function init(t,e,r,i,n){var a,s,o,u,h,l,f,d,p,_,c,m,g,v,y,T=this._props,b=t.style;for(f in he||md(),e)if("autoRound"!==f&&(s=e[f],!ft[f]||!Nb(f,e,r,i,t,n)))if(h=typeof s,l=Ge[f],"function"===h&&(h=typeof(s=s.call(r,i,t,n))),"string"===h&&~s.indexOf("random(")&&(s=ab(s)),l)l(this,t,f,s,r)&&(y=1);else if("--"===f.substr(0,2))this.add(b,"setProperty",getComputedStyle(t).getPropertyValue(f)+"",s+"",i,n,0,0,f);else if("undefined"!==h){if(a=vd(t,f),u=parseFloat(a),(_="string"===h&&"="===s.charAt(1)?+(s.charAt(0)+"1"):0)&&(s=s.substr(2)),o=parseFloat(s),f in qe&&("autoAlpha"===f&&(1===u&&"hidden"===vd(t,"visibility")&&o&&(u=0),sd(this,b,"visibility",u?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==f&&"transform"!==f&&~(f=qe[f]).indexOf(",")&&(f=f.split(",")[0])),c=f in ze)if(m||((g=t._gsap).renderTransform||Qe(t),v=!1!==e.smoothOrigin&&g.smooth,(m=this._pt=new ie(this._pt,b,Ye,0,1,g.renderTransform,g,0,-1)).dep=1),"scale"===f)this._pt=new ie(this._pt,g,"scaleY",g.scaleY,_?_*o:o-g.scaleY),T.push("scaleY",f),f+="X";else{if("transformOrigin"===f){s=yd(s),g.svg?Gd(t,s,0,v,0,this):((p=parseFloat(s.split(" ")[2])||0)!==g.zOrigin&&sd(this,g,"zOrigin",g.zOrigin,p),sd(this,b,f,We(a),We(s)));continue}if("svgOrigin"===f){Gd(t,s,1,v,0,this);continue}if(f in Je){Qd(this,g,f,u,s,_);continue}if("smoothOrigin"===f){sd(this,g,"smooth",g.smooth,s);continue}if("force3D"===f){g[f]=s;continue}if("transform"===f){Rd(this,s,t);continue}}else f in b||(f=Ue(f)||f);if(c||(o||0===o)&&(u||0===u)&&!Be.test(s)&&f in b)(d=(a+"").substr((u+"").length))!==(p=(s+"").substr(((o=o||0)+"").length)||(f in j.units?j.units[f]:d))&&(u=ud(t,f,a,p)),this._pt=new ie(this._pt,c?g:b,f,u,_?_*o:o-u,"px"!==p||!1===e.autoRound||c?Vc:Yc),this._pt.u=p||0,d!==p&&(this._pt.b=a,this._pt.r=Xc);else if(f in b)wd.call(this,t,f,a,s);else{if(!(f in t)){L(f,s);continue}this.add(t,f,t[f],s,i,n)}T.push(f)}y&&re(this)},get:vd,aliases:qe,getSetter:function getSetter(t,e,r){var i=qe[e];return i&&i.indexOf(",")<0&&(e=i),e in ze&&e!==Ne&&(t._gsap.x||vd(t,"x"))?r&&de===r?"scale"===e?cd:bd:(de=r||{})&&("scale"===e?dd:ed):t.style&&!q(t.style[e])?_c:~e.indexOf("-")?ad:Qt(t,e)},core:{_removeProperty:rd,_getMatrix:Fd}};ae.utils.checkPrefix=Ue,ar=_((ir="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(nr="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){ze[t]=1}),_(nr,function(t){j.units[t]="deg",Je[t]=1}),qe[ar[13]]=ir+","+nr,_("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");qe[e[1]]=ar[e[0]]}),_("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){j.units[t]="px"}),ae.registerPlugin(sr);var or=ae.registerPlugin(sr)||ae,ur=or.core.Tween;e.Back=Me,e.Bounce=Ae,e.CSSPlugin=sr,e.Circ=Se,e.Cubic=be,e.Elastic=Oe,e.Expo=De,e.Linear=ye,e.Power0=_e,e.Power1=ce,e.Power2=me,e.Power3=ge,e.Power4=ve,e.Quad=Te,e.Quart=we,e.Quint=xe,e.Sine=Pe,e.SteppedEase=Ce,e.Strong=ke,e.TimelineLite=Bt,e.TimelineMax=Bt,e.TweenLite=Xt,e.TweenMax=ur,e.default=or,e.gsap=or;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
11
+
lib/scrolltrigger/ScrollTrigger.min.js ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * ScrollTrigger 3.5.0
3
+ * https://greensock.com
4
+ *
5
+ * @license Copyright 2020, GreenSock. All rights reserved.
6
+ * Subject to the terms at https://greensock.com/standard-license or for Club GreenSock members, the agreement issued with that membership.
7
+ * @author: Jack Doyle, jack@greensock.com
8
+ */
9
+
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function H(e){return e}function I(){return"undefined"!=typeof window}function J(){return ke||I()&&(ke=window.gsap)&&ke.registerPlugin&&ke}function K(e){return!!~i.indexOf(e)}function L(e,t){return~We.indexOf(e)&&We[We.indexOf(e)+1][t]}function M(t,e){var r=e.s,n=e.sc,o=h.indexOf(t),i=n===rt.sc?1:2;return~o||(o=h.push(t)-1),h[o+i]||(h[o+i]=L(t,r)||(K(t)?n:function(e){return arguments.length?t[r]=e:t[r]}))}function N(e){return L(e,"getBoundingClientRect")||(K(e)?function(){return ft.width=Me.innerWidth,ft.height=Me.innerHeight,ft}:function(){return nt(e)})}function Q(e,t){var r=t.s,n=t.d2,o=t.d,i=t.a;return(r="scroll"+n)&&(i=L(e,r))?i()-N(e)()[o]:K(e)?Math.max(Pe[r],Oe[r])-(Me["inner"+n]||Pe["client"+n]||Oe["client"+n]):e[r]-e["offset"+n]}function R(e,t){for(var r=0;r<d.length;r+=3)t&&!~t.indexOf(d[r+1])||e(d[r],d[r+1],d[r+2])}function S(e){return"string"==typeof e}function T(e){return"function"==typeof e}function U(e){return"number"==typeof e}function V(e){return"object"==typeof e}function W(e){return T(e)&&e()}function X(r,n){return function(){var e=W(r),t=W(n);return function(){W(e),W(t)}}}function qa(e){return Me.getComputedStyle(e)}function sa(e,t){for(var r in t)r in e||(e[r]=t[r]);return e}function ua(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0}function wa(t,r,e,n){return e.split(",").forEach(function(e){return t(r,e,n)})}function xa(e,t,r){return e.addEventListener(t,r,{passive:!0})}function ya(e,t,r){return e.removeEventListener(t,r)}function Ca(e,t){if(S(e)){var r=e.indexOf("="),n=~r?(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;n&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in m?m[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e}function Da(e,t,r,n,o,i,a){var s=o.startColor,l=o.endColor,c=o.fontSize,f=o.indent,u=o.fontWeight,p=_e.createElement("div"),d=K(r)||"fixed"===L(r,"pinType"),g=-1!==e.indexOf("scroller"),h=d?Oe:r,v=-1!==e.indexOf("start"),x=v?s:l,m="border-color:"+x+";font-size:"+c+";color:"+x+";font-weight:"+u+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return m+="position:"+(g&&d?"fixed;":"absolute;"),!g&&d||(m+=(n===rt?b:y)+":"+(i+parseFloat(f))+"px;"),a&&(m+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),p._isStart=v,p.setAttribute("class","gsap-marker-"+e),p.style.cssText=m,p.innerText=t||0===t?e+"-"+t:e,h.insertBefore(p,h.children[0]),p._offset=p["offset"+n.op.d2],w(p,0,n,v),p}function Ha(){return l=l||s(B)}function Ia(){l||(l=s(B),De||P("scrollStart"),De=He())}function Ja(){return!Re&&a.restart(!0)}function Pa(e){var t=ke.ticker.frame,r=[],n=0;if(g!==t||Fe){for(A();n<_.length;n+=3)Me.matchMedia(_[n]).matches?r.push(n):A(1,_[n])||T(_[n+2])&&_[n+2]();for(E(),n=0;n<r.length;n++)Be=_[r[n]],_[r[n]+2]=_[r[n]+1](e);z(Be=0,1),g=t,P("matchMedia")}}function Qa(){return ya(Y,"scrollEnd",Qa)||z(!0)}function ab(e,t,r,n){if(e.parentNode!==t){for(var o,i=F.length,a=t.style,s=e.style;i--;)a[o=F[i]]=r[o];a.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(a.display="inline-block"),s[y]=s[b]="auto",a.overflow="visible",a.boxSizing="border-box",a[Ke]=ua(e,tt)+et,a[je]=ua(e,rt)+et,a[$e]=s[Ze]=s.top=s[x]="0",ct(n),s[Ke]=r[Ke],s[je]=r[je],s[$e]=r[$e],e.parentNode.insertBefore(t,e),t.appendChild(e)}}function db(e){for(var t=D.length,r=e.style,n=[],o=0;o<t;o++)n.push(D[o],r[D[o]]);return n.t=e,n}function gb(e,t,r,n,o,i,a,s,l,c,f,u){if(T(e)&&(e=e(s)),S(e)&&"max"===e.substr(0,3)&&(e=u+("="===e.charAt(4)?Ca("0"+e.substr(3),r):0)),U(e))a&&w(a,r,n,!0);else{T(t)&&(t=t(s));var p,d,g,h=Ee(t)[0]||Oe,v=nt(h)||{},x=e.split(" ");v&&(v.left||v.top)||"none"!==qa(h).display||(g=h.style.display,h.style.display="block",v=nt(h),g?h.style.display=g:h.style.removeProperty("display")),p=Ca(x[0],v[n.d]),d=Ca(x[1]||"0",r),e=v[n.p]-l[n.p]-c+p+o-d,a&&w(a,d,n,r-d<20||a._isStart&&20<d),r-=r-d}if(i){var m=e+r,b=i._isStart;u="scroll"+n.d2,w(i,m,n,b&&20<m||!b&&(f?Math.max(Oe[u],Pe[u]):i.parentNode[u])<=m+1),f&&(l=nt(a),f&&(i.style[n.op.p]=l[n.op.p]-n.op.m-i._offset+et))}return Math.round(e)}function jb(l,e){var c,f,u=M(l,e),p="_scroll"+e.p2;return l[p]=u,function getTween(e,t,r,n,o){var i=getTween.tween,a=t.onComplete,s={};return i&&i.kill(),c=r,t[p]=e,(t.modifiers=s)[p]=function(e){return(e=u())!==c&&e!==f?(i.kill(),getTween.tween=0):e=r+n*i.ratio+o*i.ratio*i.ratio,f=c,c=Math.round(e)},t.onComplete=function(){getTween.tween=0,a&&a.call(i)},i=getTween.tween=ke.to(l,t)}}var ke,o,Me,_e,Pe,Oe,i,a,s,l,Ee,Le,Ie,c,Re,Ae,f,ze,u,p,d,Ne,qe,Be,g,Fe=1,We=[],h=[],He=Date.now,v=He(),De=0,Je=1,Qe=Math.abs,t="scrollLeft",r="scrollTop",x="left",b="right",y="bottom",Ke="width",je="height",Ve="Right",Xe="Left",Ue="Top",Ye="Bottom",$e="padding",Ze="margin",Ge="Width",n="Height",et="px",tt={s:t,p:x,p2:Xe,os:b,os2:Ve,d:Ke,d2:Ge,a:"x",sc:function sc(e){return arguments.length?Me.scrollTo(e,rt.sc()):Me.pageXOffset||_e[t]||Pe[t]||Oe[t]||0}},rt={s:r,p:"top",p2:Ue,os:y,os2:Ye,d:je,d2:n,a:"y",op:tt,sc:function sc(e){return arguments.length?Me.scrollTo(tt.sc(),e):Me.pageYOffset||_e[r]||Pe[r]||Oe[r]||0}},nt=function _getBounds(e,t){var r=t&&"matrix(1, 0, 0, 1, 0, 0)"!==qa(e)[f]&&ke.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return r&&r.progress(0).kill(),n},ot={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},it={toggleActions:"play",anticipatePin:0},m={top:0,left:0,center:.5,bottom:1,right:1},w=function _positionMarker(e,t,r,n){var o={display:"block"},i=r[n?"os2":"p2"],a=r[n?"p2":"os2"];e._isFlipped=n,o[r.a+"Percent"]=n?-100:0,o[r.a]=n?1:0,o["border"+i+Ge]=1,o["border"+a+Ge]=0,o[r.p]=t,ke.set(e,o)},at=[],st={},C={},k=[],_=[],P=function _dispatch(e){return C[e]&&C[e].map(function(e){return e()})||k},O=[],E=function _revertRecorded(e){for(var t=0;t<O.length;t+=4)e&&O[t+3]!==e||(O[t].style.cssText=O[t+1],O[t+2].uncache=1)},A=function _revertAll(e,t){var r;for(ze=0;ze<at.length;ze++)r=at[ze],t&&r.media!==t||(e?r.kill(1):(r.scroll.rec||(r.scroll.rec=r.scroll()),r.revert()));E(t),t||P("revert")},z=function _refreshAll(e,t){if(!De||e){var r=P("refreshInit");for(Ne&&Y.sort(),t||A(),ze=0;ze<at.length;ze++)at[ze].refresh();for(r.forEach(function(e){return e&&e.render&&e.render(-1)}),ze=at.length;ze--;)at[ze].scroll.rec=0;P("refresh")}else xa(Y,"scrollEnd",Qa)},q=0,lt=1,B=function _updateAll(){var e=at.length,t=He(),r=50<=t-v,n=e&&at[0].scroll();if(lt=n<q?-1:1,q=n,r&&(De&&!Ae&&200<t-De&&(De=0,P("scrollEnd")),Ie=v,v=t),lt<0){for(ze=e;ze--;)at[ze]&&at[ze].update(0,r);lt=1}else for(ze=0;ze<e;ze++)at[ze]&&at[ze].update(0,r);l=0},F=[x,"top",y,b,Ze+Ye,Ze+Ve,Ze+Ue,Ze+Xe,"display","flexShrink","float"],D=F.concat([Ke,je,"boxSizing","max"+Ge,"max"+n,"position",Ze,$e,$e+Ue,$e+Ve,$e+Ye,$e+Xe]),j=/([A-Z])/g,ct=function _setState(e){if(e)for(var t,r,n=e.t.style,o=e.length,i=0;i<o;i+=2)r=e[i+1],t=e[i],r?n[t]=r:n[t]&&n.removeProperty(t.replace(j,"-$1").toLowerCase())},ft={left:0,top:0},ut=/(?:webkit|moz|length|cssText)/i;tt.op=rt;var Y=(ScrollTrigger.prototype.init=function init(b,y){if(this.progress=0,this.vars&&this.kill(1),Je){var d,n,l,w,C,k,_,P,O,E,I,R,e,A,z,q,B,F,t,W,g,D,J,h,j,v,x,r,m,X,Y,o,c,$,Z,G,ee,te=(b=sa(S(b)||U(b)||b.nodeType?{trigger:b}:b,it)).horizontal?tt:rt,re=b.onUpdate,ne=b.toggleClass,i=b.id,oe=b.onToggle,ie=b.onRefresh,a=b.scrub,ae=b.trigger,se=b.pin,le=b.pinSpacing,ce=b.invalidateOnRefresh,fe=b.anticipatePin,s=b.onScrubComplete,f=b.onSnapComplete,ue=b.once,pe=b.snap,de=b.pinReparent,ge=!a&&0!==a,he=Ee(b.scroller||Me)[0],u=ke.core.getCache(he),p=K(he),ve="pinType"in b?"fixed"===b.pinType:p||"fixed"===L(he,"pinType"),xe=[b.onEnter,b.onLeave,b.onEnterBack,b.onLeaveBack],me=ge&&b.toggleActions.split(" "),be="markers"in b?b.markers:it.markers,ye=p?0:parseFloat(qa(he)["border"+te.p2+Ge])||0,Te=this,Se=b.onRefreshInit&&function(){return b.onRefreshInit(Te)},we=function _getSizeFunc(e,t,r){var n=r.d,o=r.d2,i=r.a;return(i=L(e,"getBoundingClientRect"))?function(){return i()[n]}:function(){return(t?Me["inner"+o]:e["client"+o])||0}}(he,p,te),Ce=function _getOffsetsFunc(e,t){return!t||~We.indexOf(e)?N(e):function(){return ft}}(he,p);Te.media=Be,fe*=45,at.push(Te),Te.scroller=he,Te.scroll=M(he,te),C=Te.scroll(),Te.vars=b,y=y||b.animation,"refreshPriority"in b&&(Ne=1),u.tweenScroll=u.tweenScroll||{top:jb(he,rt),left:jb(he,tt)},Te.tweenTo=d=u.tweenScroll[te.p],y&&(y.vars.lazy=!1,y._initted||!1!==y.vars.immediateRender&&!1!==b.immediateRender&&y.render(0,!0,!0),Te.animation=y.pause(),y.scrollTrigger=Te,(o=U(a)&&a)&&(Y=ke.to(y,{ease:"power3",duration:o,onComplete:function onComplete(){return s&&s(Te)}})),m=0,i=i||y.vars.id),pe&&(V(pe)||(pe={snapTo:pe}),ke.set(p?[Oe,Pe]:he,{scrollBehavior:"auto"}),l=T(pe.snapTo)?pe.snapTo:"labels"===pe.snapTo?function _getLabels(i){return function(e){var t,r=[],n=i.labels,o=i.duration();for(t in n)r.push(n[t]/o);return ke.utils.snap(r,e)}}(y):ke.utils.snap(pe.snapTo),c=pe.duration||{min:.1,max:2},c=V(c)?Le(c.min,c.max):Le(c,c),$=ke.delayedCall(pe.delay||o/2||.1,function(){if(Math.abs(Te.getVelocity())<10&&!Ae){var e=y&&!ge?y.totalProgress():Te.progress,t=(e-X)/(He()-Ie)*1e3||0,r=Qe(t/2)*t/.185,n=e+r,o=Le(0,1,l(n,Te)),i=Te.scroll(),a=Math.round(_+o*A),s=d.tween;if(i<=P&&_<=i&&a!==i){if(s&&!s._initted&&s.data<=Math.abs(a-i))return;d(a,{duration:c(Qe(.185*Math.max(Qe(n-e),Qe(o-e))/t/.05||0)),ease:pe.ease||"power3",data:Math.abs(a-i),onComplete:function onComplete(){m=X=y&&!ge?y.totalProgress():Te.progress,f&&f(Te)}},i,r*A,a-i-r*A)}}else Te.isActive&&$.restart(!0)}).pause()),i&&(st[i]=Te),ae=Te.trigger=Ee(ae||se)[0],se=!0===se?ae:Ee(se)[0],S(ne)&&(ne={targets:ae,className:ne}),se&&(!1===le||le===Ze||(le=!(!le&&"flex"===qa(se.parentNode).display)&&$e),Te.pin=se,!1!==b.force3D&&ke.set(se,{force3D:!0}),(n=ke.core.getCache(se)).spacer?z=n.pinState:(n.spacer=F=_e.createElement("div"),F.setAttribute("class","pin-spacer"+(i?" pin-spacer-"+i:"")),n.pinState=z=db(se)),Te.spacer=F=n.spacer,r=qa(se),h=r[le+te.os2],W=ke.getProperty(se),g=ke.quickSetter(se,te.a,et),ab(se,F,r),B=db(se)),be&&(e=V(be)?sa(be,ot):ot,I=Da("scroller-start",i,he,te,e,0),R=Da("scroller-end",i,he,te,e,0,I),t=I["offset"+te.op.d2],O=Da("start",i,he,te,e,t),E=Da("end",i,he,te,e,t),ve||(function _makePositionable(e){e.style.position="absolute"===qa(e).position?"absolute":"relative"}(he),ke.set([I,R],{force3D:!0}),v=ke.quickSetter(I,te.a,et),x=ke.quickSetter(R,te.a,et))),Te.revert=function(e){var t=!1!==e||!Te.enabled,r=Re;t!==w&&(t&&(G=Math.max(Te.scroll(),Te.scroll.rec||0),Z=Te.progress,ee=y&&y.progress()),O&&[O,E,I,R].forEach(function(e){return e.style.display=t?"none":"block"}),t&&(Re=1),Te.update(t),Re=r,se&&(t?function _swapPinOut(e,t,r){if(ct(r),e.parentNode===t){var n=t.parentNode;n&&(n.insertBefore(e,t),n.removeChild(t))}}(se,F,z):de&&Te.isActive||ab(se,F,qa(se),j)),w=t)},Te.refresh=function(e){if(!Re&&Te.enabled)if(se&&e&&De)xa(ScrollTrigger,"scrollEnd",Qa);else{Re=1,Y&&Y.kill(),ce&&y&&y.progress(0).invalidate(),w||Te.revert();for(var t,r,n,o,i,a,s,l,c=we(),f=Ce(),u=Q(he,te),p=0,d=0,g=b.end,h=b.endTrigger||ae,v=b.start||(se||!ae?"0 0":"0 100%"),x=ae&&Math.max(0,at.indexOf(Te))||0,m=x;m--;)!(s=at[m].pin)||s!==ae&&s!==se||at[m].revert();for(_=gb(v,ae,c,te,Te.scroll(),O,I,Te,f,ye,ve,u)||(se?-.001:0),T(g)&&(g=g(Te)),S(g)&&!g.indexOf("+=")&&(~g.indexOf(" ")?g=(S(v)?v.split(" ")[0]:"")+g:(p=Ca(g.substr(2),c),g=S(v)?v:_+p,h=ae)),P=Math.max(_,gb(g||(h?"100% 0":u),h,c,te,Te.scroll()+p,E,R,Te,f,ye,ve,u))||-.001,A=P-_||(_-=.01)&&.001,p=0,m=x;m--;)(s=(a=at[m]).pin)&&a.start-a._pinPush<_&&(t=a.end-a.start,s===ae&&(p+=t),s===se&&(d+=t));if(_+=p,P+=p,Te._pinPush=d,O&&p&&((t={})[te.a]="+="+p,ke.set([O,E],t)),se)t=qa(se),o=te===rt,n=Te.scroll(),D=parseFloat(W(te.a))+d,ab(se,F,t),B=db(se),r=nt(se,!0),l=ve&&M(he,o?tt:rt)(),le&&((j=[le+te.os2,A+d+et]).t=F,(m=le===$e?ua(se,te)+A+d:0)&&j.push(te.d,m+et),ct(j),ve&&Te.scroll(G)),ve&&((i={top:r.top+(o?n-_:l)+et,left:r.left+(o?l:n-_)+et,boxSizing:"border-box",position:"fixed"})[Ke]=i.maxWidth=Math.ceil(r.width)+et,i[je]=i.maxHeight=Math.ceil(r.height)+et,i[Ze]=i[Ze+Ue]=i[Ze+Ve]=i[Ze+Ye]=i[Ze+Xe]="0",i[$e]=t[$e],i[$e+Ue]=t[$e+Ue],i[$e+Ve]=t[$e+Ve],i[$e+Ye]=t[$e+Ye],i[$e+Xe]=t[$e+Xe],q=function _copyState(e,t,r){for(var n,o=[],i=e.length,a=r?8:0;a<i;a+=2)n=e[a],o.push(n,n in t?t[n]:e[a+1]);return o.t=e.t,o}(z,i,de)),y?(y.progress(1,!0),J=W(te.a)-D+A+d,A!==J&&q.splice(q.length-2,2),y.progress(0,!0)):J=A;else if(ae&&Te.scroll())for(r=ae.parentNode;r&&r!==Oe;)r._pinOffset&&(_-=r._pinOffset,P-=r._pinOffset),r=r.parentNode;for(m=0;m<x;m++)!(a=at[m].pin)||a!==ae&&a!==se||at[m].revert(!1);Te.start=_,Te.end=P,(C=k=Te.scroll())<G&&Te.scroll(G),Te.revert(!1),Re=0,ee&&ge&&y.progress(ee,!0),Z!==Te.progress&&(Y&&y.totalProgress(Z,!0),Te.progress=Z,Te.update()),se&&le&&(F._pinOffset=Math.round(Te.progress*J)),ie&&ie(Te)}},Te.getVelocity=function(){return(Te.scroll()-k)/(He()-Ie)*1e3||0},Te.update=function(e,t){var r,n,o,i,a,s=Te.scroll(),l=e?0:(s-_)/A,c=l<0?0:1<l?1:l||0,f=Te.progress;if(t&&(k=C,C=s,pe&&(X=m,m=y&&!ge?y.totalProgress():c)),fe&&!c&&se&&!Re&&!Fe&&De&&_<s+(s-k)/(He()-Ie)*fe&&(c=1e-4),c!==f&&Te.enabled){if(i=(a=(r=Te.isActive=!!c&&c<1)!=(!!f&&f<1))||!!c!=!!f,Te.direction=f<c?1:-1,Te.progress=c,ge||(!Y||Re||Fe?y&&y.totalProgress(c,!!Re):(Y.vars.totalProgress=c,Y.invalidate().restart())),se)if(e&&le&&(F.style[le+te.os2]=h),ve){if(i){if(o=!e&&f<c&&s<P+1&&s+1>=Q(he,te),de){if(!e&&(r||o)){var u=nt(se,!0),p=s-_;se.style.top=u.top+(te===rt?p:0)+et,se.style.left=u.left+(te===rt?0:p)+et}!function _reparent(e,t){if(e.parentNode!==t){var r,n,o=e.style;if(t===Oe)for(r in e._stOrig=o.cssText,n=qa(e))+r||ut.test(r)||!n[r]||"string"!=typeof o[r]||"0"===r||(o[r]=n[r]);else o.cssText=e._stOrig;t.appendChild(e)}}(se,e||!r&&!o?F:Oe)}ct(r||o?q:B),J!==A&&c<1&&r||g(D+(1!==c||o?0:J))}}else g(D+J*c);!pe||d.tween||Re||Fe||$.restart(!0),ne&&(a||ue&&c&&(c<1||!qe))&&Ee(ne.targets).forEach(function(e){return e.classList[r||ue?"add":"remove"](ne.className)}),!re||ge||e||re(Te),i&&!Re?(n=c&&!f?0:1===c?1:1===f?2:3,ge&&(o=!a&&"none"!==me[n+1]&&me[n+1]||me[n],y&&("complete"===o||"reset"===o||o in y)&&("complete"===o?y.pause().totalProgress(1):"reset"===o?y.restart(!0).pause():y[o]()),re&&re(Te)),!a&&qe||(oe&&a&&oe(Te),xe[n]&&xe[n](Te),ue&&(1===c?Te.kill(!1,1):xe[n]=0),a||xe[n=1===c?1:3]&&xe[n](Te))):ge&&re&&!Re&&re(Te)}x&&(v(s+(I._isFlipped?1:0)),x(s))},Te.enable=function(){Te.enabled||(Te.enabled=!0,xa(he,"resize",Ja),xa(he,"scroll",Ia),Se&&xa(ScrollTrigger,"refreshInit",Se),y&&y.add?ke.delayedCall(.01,function(){return _||P||Te.refresh()})&&(A=.01)&&(_=P=0):Te.refresh())},Te.disable=function(e,t){if(Te.enabled&&(!1!==e&&Te.revert(),Te.enabled=Te.isActive=!1,t||Y&&Y.pause(),G=0,n&&(n.uncache=1),Se&&ya(ScrollTrigger,"refreshInit",Se),$&&($.pause(),d.tween&&d.tween.kill()),!p)){for(var r=at.length;r--;)if(at[r].scroller===he&&at[r]!==Te)return;ya(he,"resize",Ja),ya(he,"scroll",Ia)}},Te.kill=function(e,t){Te.disable(e,t),i&&delete st[i];var r=at.indexOf(Te);at.splice(r,1),r===ze&&0<lt&&ze--,y&&(y.scrollTrigger=null,e&&y.render(-1),t||y.kill()),O&&[O,E,I,R].forEach(function(e){return e.parentNode.removeChild(e)}),n&&(n.uncache=1)},Te.enable()}else this.update=this.refresh=this.kill=H},ScrollTrigger.register=function register(e){if(!o&&(ke=e||J(),I()&&window.document&&(Me=window,_e=document,Pe=_e.documentElement,Oe=_e.body),ke&&(Ee=ke.utils.toArray,Le=ke.utils.clamp,ke.core.globals("ScrollTrigger",ScrollTrigger),Oe))){s=Me.requestAnimationFrame||function(e){return setTimeout(e,16)},xa(Me,"mousewheel",Ia),i=[Me,_e,Pe,Oe],xa(_e,"scroll",Ia);var t,r=Oe.style,n=r.borderTop;r.borderTop="1px solid #000",t=nt(Oe),rt.m=Math.round(t.top+rt.sc())||0,tt.m=Math.round(t.left+tt.sc())||0,n?r.borderTop=n:r.removeProperty("border-top"),c=setInterval(Ha,200),ke.delayedCall(.5,function(){return Fe=0}),xa(_e,"touchcancel",H),xa(Oe,"touchstart",H),wa(xa,_e,"pointerdown,touchstart,mousedown",function(){return Ae=1}),wa(xa,_e,"pointerup,touchend,mouseup",function(){return Ae=0}),f=ke.utils.checkPrefix("transform"),D.push(f),o=He(),a=ke.delayedCall(.2,z).pause(),d=[_e,"visibilitychange",function(){var e=Me.innerWidth,t=Me.innerHeight;_e.hidden?(u=e,p=t):u===e&&p===t||Ja()},_e,"DOMContentLoaded",z,Me,"load",function(){return De||z()},Me,"resize",Ja],R(xa)}return o},ScrollTrigger.defaults=function defaults(e){for(var t in e)it[t]=e[t]},ScrollTrigger.kill=function kill(){Je=0,at.slice(0).forEach(function(e){return e.kill(1)})},ScrollTrigger.config=function config(e){"limitCallbacks"in e&&(qe=!!e.limitCallbacks);var t=e.syncInterval;t&&clearInterval(c)||(c=t)&&setInterval(Ha,t),"autoRefreshEvents"in e&&(R(ya)||R(xa,e.autoRefreshEvents||"none"))},ScrollTrigger.scrollerProxy=function scrollerProxy(e,t){var r=Ee(e)[0];K(r)?We.unshift(Me,t,Oe,t,Pe,t):We.unshift(r,t)},ScrollTrigger.matchMedia=function matchMedia(e){var t,r,n,o,i;for(r in e)n=_.indexOf(r),o=e[r],"all"===(Be=r)?o():(t=Me.matchMedia(r))&&(t.matches&&(i=o()),~n?(_[n+1]=X(_[n+1],o),_[n+2]=X(_[n+2],i)):(n=_.length,_.push(r,o,i),t.addListener?t.addListener(Pa):t.addEventListener("change",Pa))),Be=0;return _},ScrollTrigger.clearMatchMedia=function clearMatchMedia(e){e||(_.length=0),0<=(e=_.indexOf(e))&&_.splice(e,3)},ScrollTrigger);function ScrollTrigger(e,t){o||ScrollTrigger.register(ke)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),this.init(e,t)}Y.version="3.5.0",Y.saveStyles=function(e){return e?Ee(e).forEach(function(e){var t=O.indexOf(e);0<=t&&O.splice(t,4),O.push(e,e.style.cssText,ke.core.getCache(e),Be)}):O},Y.revert=function(e,t){return A(!e,t)},Y.create=function(e,t){return new Y(e,t)},Y.refresh=function(e){return e?Ja():z(!0)},Y.update=B,Y.maxScroll=function(e,t){return Q(e,t?tt:rt)},Y.getScrollFunc=function(e,t){return M(Ee(e)[0],t?tt:rt)},Y.getById=function(e){return st[e]},Y.getAll=function(){return at.slice(0)},Y.isScrolling=function(){return!!De},Y.addEventListener=function(e,t){var r=C[e]||(C[e]=[]);~r.indexOf(t)||r.push(t)},Y.removeEventListener=function(e,t){var r=C[e],n=r&&r.indexOf(t);0<=n&&r.splice(n,1)},Y.batch=function(e,t){function $h(e,t){var r=[],n=[],o=ke.delayedCall(i,function(){t(r,n),r=[],n=[]}).pause();return function(e){r.length||o.restart(!0),r.push(e.trigger),n.push(e),a<=r.length&&o.progress(1)}}var r,n=[],o={},i=t.interval||.016,a=t.batchMax||1e9;for(r in t)o[r]="on"===r.substr(0,2)&&T(t[r])&&"onRefreshInit"!==r?$h(0,t[r]):t[r];return T(a)&&(a=a(),xa(Y,"refresh",function(){return a=t.batchMax()})),Ee(e).forEach(function(e){var t={};for(r in o)t[r]=o[r];t.trigger=e,n.push(Y.create(t))}),n},Y.sort=function(e){return at.sort(e||function(e,t){return-1e6*(e.vars.refreshPriority||0)+e.start-(t.start+-1e6*(t.vars.refreshPriority||0))})},J()&&ke.registerPlugin(Y),e.ScrollTrigger=Y,e.default=Y;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
11
+
ooohboi-steroids.php CHANGED
@@ -2,20 +2,18 @@
2
  /**
3
  * Plugin Name: OoohBoi Steroids for Elementor
4
  * Description: An awesome set of tools, options and settings that expand Elementor defaults. Instead of creating new Elementor Widgets, these act like an upgrade of existing options or the self-standing panels.
5
- * Version: 1.9.0
6
  * Author: OoohBoi
7
  * Author URI: https://www.youtube.com/c/OoohBoi
8
  * Text Domain: ooohboi-steroids
9
  * Domain Path: /lang
10
  * License: GPLv3
11
- * Elementor tested up to: 3.6.0
12
- * Elementor Pro tested up to: 3.6.5
13
  * License URI: http://www.gnu.org/licenses/gpl-3.0
14
  */
15
 
16
- use Elementor\Core\Settings\Manager as SettingsManager;
17
-
18
- defined( 'ABSPATH' ) || die(); // Exit if accessed directly.
19
 
20
  /**
21
  * Main OoohBoi Steroids Class
@@ -33,7 +31,7 @@ final class OoohBoi_Steroids {
33
  *
34
  * @var string The plugin version.
35
  */
36
- const VERSION = '1.9.0';
37
 
38
  /**
39
  * Minimum Elementor Version
@@ -42,7 +40,7 @@ final class OoohBoi_Steroids {
42
  *
43
  * @var string Minimum Elementor version required to run the plugin.
44
  */
45
- const MINIMUM_ELEMENTOR_VERSION = '3.2';
46
 
47
  /**
48
  * Minimum PHP Version
@@ -81,12 +79,8 @@ final class OoohBoi_Steroids {
81
  public static $sfe_lib_locomotive_mobile = 0;
82
  public static $sfe_lib_allow_refresh = 0;
83
  private static $sfe_lib_scroll_trigger = 0;
84
- private static $sfe_lib_scroll_to = 0;
85
- private static $sfe_lib_motion_path = 0;
86
  private static $sfe_lib_gsap = 0;
87
  private static $sfe_remove_locomotive_section_attribute = 0;
88
- private static $sfe_lib_barba = 0;
89
- private static $sfe_lib_anime = 0;
90
 
91
  /**
92
  * Instance
@@ -176,7 +170,7 @@ final class OoohBoi_Steroids {
176
  'ooohboi-steroids-admin',
177
  plugins_url( 'assets/css/admin.css', __FILE__ ),
178
  [],
179
- self::VERSION . '17012022b'
180
  );
181
  } );
182
 
@@ -202,18 +196,10 @@ final class OoohBoi_Steroids {
202
  if( isset( $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_allow_refresh' ] ) && $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_allow_refresh' ] && 'yes' === $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_allow_refresh' ] ) self::$sfe_lib_allow_refresh = 1;
203
  // remove section attributes
204
  if( isset( $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_remove_section_attribute' ] ) && $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_remove_section_attribute' ] && 'yes' === $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_remove_section_attribute' ] ) self::$sfe_remove_locomotive_section_attribute = 1;
205
- // ... GSAP
206
- if( isset( $ob_settings_options[ 'ob_use_gsap' ] ) && $ob_settings_options[ 'ob_use_gsap' ] && 'yes' === $ob_settings_options[ 'ob_use_gsap' ] ) self::$sfe_lib_gsap = 1;
207
  // ... Scroll Trigger
208
  if( isset( $ob_settings_options[ 'ob_use_scroll_trigger' ] ) && $ob_settings_options[ 'ob_use_scroll_trigger' ] && 'yes' === $ob_settings_options[ 'ob_use_scroll_trigger' ] ) self::$sfe_lib_scroll_trigger = 1;
209
- // ... Scroll To
210
- if( isset( $ob_settings_options[ 'ob_use_scroll_to' ] ) && $ob_settings_options[ 'ob_use_scroll_to' ] && 'yes' === $ob_settings_options[ 'ob_use_scroll_to' ] ) self::$sfe_lib_scroll_to = 1;
211
- // ... Motion Path
212
- if( isset( $ob_settings_options[ 'ob_use_motion_path' ] ) && $ob_settings_options[ 'ob_use_motion_path' ] && 'yes' === $ob_settings_options[ 'ob_use_motion_path' ] ) self::$sfe_lib_motion_path = 1;
213
- // ... Barba
214
- if( isset( $ob_settings_options[ 'ob_use_barba' ] ) && $ob_settings_options[ 'ob_use_barba' ] && 'yes' === $ob_settings_options[ 'ob_use_barba' ] ) self::$sfe_lib_barba = 1;
215
- // ... Anime
216
- if( isset( $ob_settings_options[ 'ob_use_anime' ] ) && $ob_settings_options[ 'ob_use_anime' ] && 'yes' === $ob_settings_options[ 'ob_use_anime' ] ) self::$sfe_lib_anime = 1;
217
  }
218
 
219
  // Editor Styles
@@ -222,30 +208,6 @@ final class OoohBoi_Steroids {
222
  // Register/Enqueue Scripts
223
  add_action( 'elementor/frontend/after_register_scripts', [ $this, 'ooohboi_register_scripts_front' ] );
224
  add_action( 'elementor/frontend/after_register_styles', [ $this, 'ooohboi_register_styles' ] );
225
-
226
- // Editor Styles & Scripts
227
- add_action('elementor/editor/after_enqueue_scripts', function() {
228
-
229
- wp_enqueue_script(
230
- 'ooohboi-steroids-editor',
231
- plugins_url( 'assets/js/ob-steroids-editor-min.js', __FILE__ ),
232
- [ 'elementor-editor', 'jquery' ],
233
- self::VERSION . '16012022',
234
- true
235
- );
236
- // data to JS via wp_localize_script
237
- $local_data = [
238
- 'dark_stylesheet_url' => self::ooohboi_dark_stylesheet_url(),
239
- 'light_stylesheet_url' => self::ooohboi_light_stylesheet_url(),
240
- ];
241
- wp_localize_script(
242
- 'ooohboi-steroids-editor',
243
- 'SteroidsEditorLocalized',
244
- $local_data
245
- );
246
-
247
- } );
248
-
249
  add_action( 'elementor/frontend/after_enqueue_styles', function() {
250
 
251
  // locomotive scroll
@@ -263,29 +225,13 @@ final class OoohBoi_Steroids {
263
  );
264
  wp_localize_script( 'locomotive-scroll-ctrl', 'device_settings', $device_settings );
265
  }
266
- // ssfe_lib_gsap
267
- if( 1 === self::$sfe_lib_gsap ) {
268
- wp_enqueue_script( 'gsap-js' );
269
- }
270
  // scroll trigger
271
  if( 1 === self::$sfe_lib_scroll_trigger ) {
272
  wp_enqueue_script( 'scroll-trigger-js' );
273
  }
274
- // scroll to
275
- if( 1 === self::$sfe_lib_scroll_to ) {
276
- wp_enqueue_script( 'scroll-to-js' );
277
- }
278
- // motion path
279
- if( 1 === self::$sfe_lib_motion_path ) {
280
- wp_enqueue_script( 'motion-path-js' );
281
- }
282
- // barba
283
- if( 1 === self::$sfe_lib_barba ) {
284
- wp_enqueue_script( 'barba-js' );
285
- }
286
- // anime
287
- if( 1 === self::$sfe_lib_anime ) {
288
- wp_enqueue_script( 'anime-js' );
289
  }
290
  // plugin stuff
291
  wp_enqueue_style( 'ooohboi-steroids-styles' );
@@ -310,30 +256,7 @@ final class OoohBoi_Steroids {
310
  /*
311
  * Init Extensions
312
  *
313
- * @since 1.9.0
314
- *
315
- * @access public
316
- */
317
- public function admin_notice_missing_main_plugin() {
318
-
319
- if( isset( $_GET[ 'activate' ] ) ) unset( $_GET[ 'activate' ] );
320
-
321
- $message = sprintf(
322
- /* translators: 1: Plugin name 2: Elementor */
323
- esc_html__( '"%1$s" requires "%2$s" to be installed and activated.', 'ooohboi-steroids' ),
324
- '<strong>' . esc_html__( 'Steroids for Elementor', 'ooohboi-steroids' ) . '</strong>',
325
- '<strong>' . esc_html__( 'Elementor', 'ooohboi-steroids' ) . '</strong>'
326
- );
327
-
328
- printf( '<div class="notice notice-warning is-dismissible"><p>%1$s</p></div>', $message );
329
-
330
- }
331
-
332
- /*
333
- * Init Extensions
334
- *
335
- * @since 1.4.8
336
- * @modified 1.8.2
337
  *
338
  * @access public
339
  */
@@ -342,25 +265,52 @@ final class OoohBoi_Steroids {
342
  // Include extension classes
343
  self::ooohboi_take_steroids();
344
 
345
- $extensions_array = [ 'OoohBoi_Harakiri' => 'ob_use_harakiri', 'OoohBoi_Overlay_Underlay' => 'ob_use_poopart', 'OoohBoi_Overlaiz' => 'ob_use_overlaiz', 'OoohBoi_Paginini' => 'ob_use_paginini', 'OoohBoi_Breaking_Bad' => 'ob_use_breakingbad',
346
- 'OoohBoi_Glider' => 'ob_use_glider', 'OoohBoi_PhotoGiraffe' => 'ob_use_photogiraffe', 'OoohBoi_Teleporter' => 'ob_use_teleporter', 'OoohBoi_SearchCop' => 'ob_use_searchcop', 'OoohBoi_Videomasq' => 'ob_use_videomasq',
347
- 'OoohBoi_Butter_Button' => 'ob_use_butterbutton', 'OoohBoi_Perspektive' => 'ob_use_perspektive', 'OoohBoi_Shadough' => 'ob_use_shadough', 'OoohBoi_PhotoMorph' => 'ob_use_photomorph', 'OoohBoi_Commentz' => 'ob_use_commentz',
348
- 'OoohBoi_SpaceRat' => 'ob_use_spacerat', 'OoohBoi_Imbox' => 'ob_use_imbox', 'OoohBoi_Icobox' => 'ob_use_icobox', 'OoohBoi_Hover_Animator' => 'ob_use_hoveranimator', 'OoohBoi_Kontrolz' => 'ob_use_kontrolz',
349
- 'OoohBoi_Widget_Stalker' => 'ob_use_widgetstalker', 'OoohBoi_Pseudo' => 'ob_use_pseudo', 'OoohBoi_Bullet' => 'ob_use_bullet' ];
350
-
351
  if( ! $ob_settings_options ) {
352
- foreach( $extensions_array as $extension_class => $extension_token ) {
353
- $extension_class::init();
354
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
355
  } else {
356
- foreach( $extensions_array as $extension_class => $extension_token ) {
357
- if( ! isset( $ob_settings_options[ $extension_token ] ) ) {
358
- $ob_settings_options[ $extension_token ] = 'yes';
359
- update_option( 'steroids_for_elementor', $ob_settings_options );
360
- } else {
361
- if( $ob_settings_options[ $extension_token ] && 'yes' === $ob_settings_options[ $extension_token ] ) $extension_class::init();
362
- }
363
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
364
 
365
  // include libraries that involve editor controls; Locomotive Scroll...
366
  if( $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_use_locomotive_scroll' ] && 'yes' === $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_use_locomotive_scroll' ] ) new OoohBoi_Locomotion();
@@ -372,29 +322,14 @@ final class OoohBoi_Steroids {
372
  *
373
  * Include css files and register them
374
  *
375
- * NEW @since 1.9.0
376
  *
377
  * @access public
378
  */
379
  public function ooohboi_register_styles_editor() {
 
 
380
 
381
- $theme = SettingsManager::get_settings_managers( 'editorPreferences' )->get_model()->get_settings( 'ui_theme' );
382
-
383
- if( 'light' !== $theme ) {
384
-
385
- $mq = 'all';
386
- if( 'auto' === $theme ) $mq = '(prefers-color-scheme: dark)';
387
-
388
- wp_enqueue_style( 'ooohboi-steroids-styles-editor-dark', self::ooohboi_dark_stylesheet_url(), [ 'elementor-editor' ], self::VERSION . '16012022', $mq );
389
-
390
- } else wp_enqueue_style( 'ooohboi-steroids-styles-dark', self::ooohboi_light_stylesheet_url(), [ 'elementor-editor' ], self::VERSION . '16012022' );
391
-
392
- }
393
- public static function ooohboi_dark_stylesheet_url() {
394
- return plugins_url( 'assets/css/editor-dark.css', __FILE__ );
395
- }
396
- public static function ooohboi_light_stylesheet_url() {
397
- return plugins_url( 'assets/css/editor.css', __FILE__ );
398
  }
399
 
400
  /*
@@ -414,7 +349,7 @@ final class OoohBoi_Steroids {
414
  }
415
  // -----------------------------
416
 
417
- wp_register_style( 'ooohboi-steroids-styles', plugins_url( 'assets/css/main.css', __FILE__ ), NULL, self::VERSION . '24012022' );
418
 
419
  }
420
 
@@ -427,43 +362,24 @@ final class OoohBoi_Steroids {
427
  *
428
  * @access public
429
  */
430
- public function ooohboi_check_file_avail( $the_file ) {
431
- return (bool)@fopen( $the_file, 'r' );
432
- }
433
  public function ooohboi_register_scripts_front() {
434
 
435
  $ele_is_preview = \Elementor\Plugin::$instance->preview->is_preview_mode();
436
 
437
- wp_register_script( 'ooohboi-steroids', plugins_url( 'assets/js/ooohboi-steroids-min.js', __FILE__ ), [ 'jquery' ], self::VERSION . '16012022b', true );
438
 
439
  // locomotive scroll
440
  if( 1 === self::$sfe_lib_locomotive ) {
441
  wp_register_script( 'locomotive-scroll-js', plugins_url( 'lib/locomotive_scroll/locomotive-scroll.min.js', __FILE__ ), [], self::VERSION . '28042021', true );
442
  wp_register_script( 'locomotive-scroll-ctrl', plugins_url( 'assets/js/ooohboi-libs-locomotion.js', __FILE__ ), [ 'locomotive-scroll-js' ], self::VERSION . '30042021', true );
443
  }
444
- // gsap
445
- if( 1 === self::$sfe_lib_gsap && ! $ele_is_preview ) {
446
- wp_register_script( 'gsap-js', '//cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/gsap.min.js', [], self::VERSION, true );
447
- }
448
  // scroll trigger
449
  if( 1 === self::$sfe_lib_scroll_trigger && ! $ele_is_preview ) {
450
- wp_register_script( 'scroll-trigger-js', '//cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/ScrollTrigger.min.js', [], self::VERSION, true );
451
- }
452
- // scroll to
453
- if( 1 === self::$sfe_lib_scroll_to && ! $ele_is_preview ) {
454
- wp_register_script( 'scroll-to-js', '//cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/ScrollToPlugin.min.js', [], self::VERSION, true );
455
- }
456
- // scroll motion path
457
- if( 1 === self::$sfe_lib_motion_path && ! $ele_is_preview ) {
458
- wp_register_script( 'motion-path-js', '//cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/MotionPathPlugin.min.js', [], self::VERSION, true );
459
  }
460
- // barba
461
- if( 1 === self::$sfe_lib_barba && ! $ele_is_preview ) {
462
- wp_register_script( 'barba-js', plugins_url( 'lib/barba/barba.min.js', __FILE__ ), [], self::VERSION, true );
463
- }
464
- // anime
465
- if( 1 === self::$sfe_lib_anime && ! $ele_is_preview ) {
466
- wp_register_script( 'anime-js', plugins_url( 'lib/anime/anime.min.js', __FILE__ ), [], self::VERSION, true );
467
  }
468
  // -----------------------------
469
 
@@ -500,7 +416,6 @@ final class OoohBoi_Steroids {
500
  include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-kontrolz.php'; // OoohBoi Kontrolz
501
  include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-widget-stalker.php'; // OoohBoi Widget Stalker
502
  include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-pseudo.php'; // OoohBoi Pseudo
503
- include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-bullet.php'; // OoohBoi Bullet
504
  include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-locomotion.php'; // OoohBoi Locomotion
505
  }
506
 
2
  /**
3
  * Plugin Name: OoohBoi Steroids for Elementor
4
  * Description: An awesome set of tools, options and settings that expand Elementor defaults. Instead of creating new Elementor Widgets, these act like an upgrade of existing options or the self-standing panels.
5
+ * Version: 1.7.6
6
  * Author: OoohBoi
7
  * Author URI: https://www.youtube.com/c/OoohBoi
8
  * Text Domain: ooohboi-steroids
9
  * Domain Path: /lang
10
  * License: GPLv3
 
 
11
  * License URI: http://www.gnu.org/licenses/gpl-3.0
12
  */
13
 
14
+ if ( ! defined( 'ABSPATH' ) ) {
15
+ exit; // Exit if accessed directly.
16
+ }
17
 
18
  /**
19
  * Main OoohBoi Steroids Class
31
  *
32
  * @var string The plugin version.
33
  */
34
+ const VERSION = '1.7.6';
35
 
36
  /**
37
  * Minimum Elementor Version
40
  *
41
  * @var string Minimum Elementor version required to run the plugin.
42
  */
43
+ const MINIMUM_ELEMENTOR_VERSION = '2.5.11';
44
 
45
  /**
46
  * Minimum PHP Version
79
  public static $sfe_lib_locomotive_mobile = 0;
80
  public static $sfe_lib_allow_refresh = 0;
81
  private static $sfe_lib_scroll_trigger = 0;
 
 
82
  private static $sfe_lib_gsap = 0;
83
  private static $sfe_remove_locomotive_section_attribute = 0;
 
 
84
 
85
  /**
86
  * Instance
170
  'ooohboi-steroids-admin',
171
  plugins_url( 'assets/css/admin.css', __FILE__ ),
172
  [],
173
+ self::VERSION . '17052021'
174
  );
175
  } );
176
 
196
  if( isset( $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_allow_refresh' ] ) && $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_allow_refresh' ] && 'yes' === $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_allow_refresh' ] ) self::$sfe_lib_allow_refresh = 1;
197
  // remove section attributes
198
  if( isset( $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_remove_section_attribute' ] ) && $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_remove_section_attribute' ] && 'yes' === $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_remove_section_attribute' ] ) self::$sfe_remove_locomotive_section_attribute = 1;
 
 
199
  // ... Scroll Trigger
200
  if( isset( $ob_settings_options[ 'ob_use_scroll_trigger' ] ) && $ob_settings_options[ 'ob_use_scroll_trigger' ] && 'yes' === $ob_settings_options[ 'ob_use_scroll_trigger' ] ) self::$sfe_lib_scroll_trigger = 1;
201
+ // ... GSAP
202
+ if( isset( $ob_settings_options[ 'ob_use_gsap' ] ) && $ob_settings_options[ 'ob_use_gsap' ] && 'yes' === $ob_settings_options[ 'ob_use_gsap' ] ) self::$sfe_lib_gsap = 1;
 
 
 
 
 
 
203
  }
204
 
205
  // Editor Styles
208
  // Register/Enqueue Scripts
209
  add_action( 'elementor/frontend/after_register_scripts', [ $this, 'ooohboi_register_scripts_front' ] );
210
  add_action( 'elementor/frontend/after_register_styles', [ $this, 'ooohboi_register_styles' ] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
211
  add_action( 'elementor/frontend/after_enqueue_styles', function() {
212
 
213
  // locomotive scroll
225
  );
226
  wp_localize_script( 'locomotive-scroll-ctrl', 'device_settings', $device_settings );
227
  }
 
 
 
 
228
  // scroll trigger
229
  if( 1 === self::$sfe_lib_scroll_trigger ) {
230
  wp_enqueue_script( 'scroll-trigger-js' );
231
  }
232
+ // ssfe_lib_gsap
233
+ if( 1 === self::$sfe_lib_gsap ) {
234
+ wp_enqueue_script( 'gsap-js' );
 
 
 
 
 
 
 
 
 
 
 
 
235
  }
236
  // plugin stuff
237
  wp_enqueue_style( 'ooohboi-steroids-styles' );
256
  /*
257
  * Init Extensions
258
  *
259
+ * @since 1.4.8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
260
  *
261
  * @access public
262
  */
265
  // Include extension classes
266
  self::ooohboi_take_steroids();
267
 
 
 
 
 
 
 
268
  if( ! $ob_settings_options ) {
269
+ OoohBoi_Harakiri::init(); // OoohBoi Harakiri
270
+ OoohBoi_Overlay_Underlay::init(); // OoohBoi Overlay Underlay
271
+ OoohBoi_Overlaiz::init(); // OoohBoi Overlaiz
272
+ OoohBoi_Paginini::init(); // OoohBoi Paginini
273
+ OoohBoi_Breaking_Bad::init(); // OoohBoi Breaking Bad
274
+ OoohBoi_Glider::init(); // OoohBoi Glider Slider
275
+ OoohBoi_PhotoGiraffe::init(); // OoohBoi PhotoGiraffe
276
+ OoohBoi_Teleporter::init(); // OoohBoi Teleporter
277
+ OoohBoi_SearchCop::init(); // OoohBoi Search Cop
278
+ OoohBoi_Videomasq::init(); // OoohBoi Videomasq
279
+ OoohBoi_Butter_Button::init(); // OoohBoi Butter Button
280
+ OoohBoi_Perspektive::init(); // OoohBoi Perspektive
281
+ OoohBoi_Shadough::init(); // OoohBoi Shadough
282
+ OoohBoi_PhotoMorph::init(); // OoohBoi PhotoMorph
283
+ OoohBoi_Commentz::init(); // OoohBoi Commentz
284
+ OoohBoi_SpaceRat::init(); // OoohBoi SpaceRat
285
+ OoohBoi_Imbox::init(); // OoohBoi Imbox
286
+ OoohBoi_Icobox::init(); // OoohBoi Icobox
287
+ OoohBoi_Hover_Animator::init(); // OoohBoi Hover Animator
288
+ OoohBoi_Kontrolz::init(); // OoohBoi Kontrolz
289
+ OoohBoi_Widget_Stalker::init(); // OoohBoi Widget Stalker
290
+ OoohBoi_Pseudo::init(); // OoohBoi Pseudo
291
  } else {
292
+ if( $ob_settings_options[ 'ob_use_harakiri' ] && 'yes' === $ob_settings_options[ 'ob_use_harakiri' ] ) OoohBoi_Harakiri::init(); // OoohBoi Harakiri
293
+ if( $ob_settings_options[ 'ob_use_poopart' ] && 'yes' === $ob_settings_options[ 'ob_use_poopart' ] ) OoohBoi_Overlay_Underlay::init(); // OoohBoi Overlay Underlay
294
+ if( $ob_settings_options[ 'ob_use_overlaiz' ] && 'yes' === $ob_settings_options[ 'ob_use_overlaiz' ] ) OoohBoi_Overlaiz::init(); // OoohBoi Overlaiz
295
+ if( $ob_settings_options[ 'ob_use_paginini' ] && 'yes' === $ob_settings_options[ 'ob_use_paginini' ] ) OoohBoi_Paginini::init(); // OoohBoi Paginini
296
+ if( $ob_settings_options[ 'ob_use_breakingbad' ] && 'yes' === $ob_settings_options[ 'ob_use_breakingbad' ] ) OoohBoi_Breaking_Bad::init(); // OoohBoi Breaking Bad
297
+ if( $ob_settings_options[ 'ob_use_glider' ] && 'yes' === $ob_settings_options[ 'ob_use_glider' ] ) OoohBoi_Glider::init(); // OoohBoi Glider Slider
298
+ if( $ob_settings_options[ 'ob_use_photogiraffe' ] && 'yes' === $ob_settings_options[ 'ob_use_photogiraffe' ] ) OoohBoi_PhotoGiraffe::init(); // OoohBoi PhotoGiraffe
299
+ if( $ob_settings_options[ 'ob_use_teleporter' ] && 'yes' === $ob_settings_options[ 'ob_use_teleporter' ] ) OoohBoi_Teleporter::init(); // OoohBoi Teleporter
300
+ if( $ob_settings_options[ 'ob_use_searchcop' ] && 'yes' === $ob_settings_options[ 'ob_use_searchcop' ] ) OoohBoi_SearchCop::init(); // OoohBoi Search Cop
301
+ if( $ob_settings_options[ 'ob_use_videomasq' ] && 'yes' === $ob_settings_options[ 'ob_use_videomasq' ] ) OoohBoi_Videomasq::init(); // OoohBoi Videomasq
302
+ if( $ob_settings_options[ 'ob_use_butterbutton' ] && 'yes' === $ob_settings_options[ 'ob_use_butterbutton' ] ) OoohBoi_Butter_Button::init(); // OoohBoi Butter Button
303
+ if( $ob_settings_options[ 'ob_use_perspektive' ] && 'yes' === $ob_settings_options[ 'ob_use_perspektive' ] ) OoohBoi_Perspektive::init(); // OoohBoi Perspektive
304
+ if( $ob_settings_options[ 'ob_use_shadough' ] && 'yes' === $ob_settings_options[ 'ob_use_shadough' ] ) OoohBoi_Shadough::init(); // OoohBoi Shadough
305
+ if( $ob_settings_options[ 'ob_use_photomorph' ] && 'yes' === $ob_settings_options[ 'ob_use_photomorph' ] ) OoohBoi_PhotoMorph::init(); // OoohBoi PhotoMorph
306
+ if( $ob_settings_options[ 'ob_use_commentz' ] && 'yes' === $ob_settings_options[ 'ob_use_commentz' ] ) OoohBoi_Commentz::init(); // OoohBoi Commentz
307
+ if( $ob_settings_options[ 'ob_use_spacerat' ] && 'yes' === $ob_settings_options[ 'ob_use_spacerat' ] ) OoohBoi_SpaceRat::init(); // OoohBoi SpaceRat
308
+ if( $ob_settings_options[ 'ob_use_imbox' ] && 'yes' === $ob_settings_options[ 'ob_use_imbox' ] ) OoohBoi_Imbox::init(); // OoohBoi Imbox
309
+ if( $ob_settings_options[ 'ob_use_icobox' ] && 'yes' === $ob_settings_options[ 'ob_use_icobox' ] ) OoohBoi_Icobox::init(); // OoohBoi Icobox
310
+ if( $ob_settings_options[ 'ob_use_hoveranimator' ] && 'yes' === $ob_settings_options[ 'ob_use_hoveranimator' ] ) OoohBoi_Hover_Animator::init(); // OoohBoi Hover Animator
311
+ if( $ob_settings_options[ 'ob_use_kontrolz' ] && 'yes' === $ob_settings_options[ 'ob_use_kontrolz' ] ) OoohBoi_Kontrolz::init(); // OoohBoi Kontrolz
312
+ if( $ob_settings_options[ 'ob_use_widgetstalker' ] && 'yes' === $ob_settings_options[ 'ob_use_widgetstalker' ] ) OoohBoi_Widget_Stalker::init(); // OoohBoi Widget Stalker
313
+ if( $ob_settings_options[ 'ob_use_pseudo' ] && 'yes' === $ob_settings_options[ 'ob_use_pseudo' ] ) OoohBoi_Pseudo::init(); // OoohBoi Pseudo
314
 
315
  // include libraries that involve editor controls; Locomotive Scroll...
316
  if( $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_use_locomotive_scroll' ] && 'yes' === $ob_settings_options[ 'fieldset_locomotive' ][ 'ob_use_locomotive_scroll' ] ) new OoohBoi_Locomotion();
322
  *
323
  * Include css files and register them
324
  *
325
+ * @since 1.0.0
326
  *
327
  * @access public
328
  */
329
  public function ooohboi_register_styles_editor() {
330
+
331
+ wp_enqueue_style( 'ooohboi-steroids-styles-editor', plugins_url( 'assets/css/editor.css', __FILE__ ), [ 'elementor-editor' ], self::VERSION . '28042021' );
332
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
333
  }
334
 
335
  /*
349
  }
350
  // -----------------------------
351
 
352
+ wp_register_style( 'ooohboi-steroids-styles', plugins_url( 'assets/css/main.css', __FILE__ ), NULL, self::VERSION . '03052021' );
353
 
354
  }
355
 
362
  *
363
  * @access public
364
  */
 
 
 
365
  public function ooohboi_register_scripts_front() {
366
 
367
  $ele_is_preview = \Elementor\Plugin::$instance->preview->is_preview_mode();
368
 
369
+ wp_register_script( 'ooohboi-steroids', plugins_url( 'assets/js/ooohboi-steroids-min.js', __FILE__ ), [ 'jquery' ], self::VERSION . '13052021', true );
370
 
371
  // locomotive scroll
372
  if( 1 === self::$sfe_lib_locomotive ) {
373
  wp_register_script( 'locomotive-scroll-js', plugins_url( 'lib/locomotive_scroll/locomotive-scroll.min.js', __FILE__ ), [], self::VERSION . '28042021', true );
374
  wp_register_script( 'locomotive-scroll-ctrl', plugins_url( 'assets/js/ooohboi-libs-locomotion.js', __FILE__ ), [ 'locomotive-scroll-js' ], self::VERSION . '30042021', true );
375
  }
 
 
 
 
376
  // scroll trigger
377
  if( 1 === self::$sfe_lib_scroll_trigger && ! $ele_is_preview ) {
378
+ wp_register_script( 'scroll-trigger-js', plugins_url( 'lib/scrolltrigger/ScrollTrigger.min.js', __FILE__ ), [], self::VERSION, true );
 
 
 
 
 
 
 
 
379
  }
380
+ // gsap
381
+ if( 1 === self::$sfe_lib_gsap && ! $ele_is_preview ) {
382
+ wp_register_script( 'gsap-js', plugins_url( 'lib/gsap/gsap.min.js', __FILE__ ), [], self::VERSION, true );
 
 
 
 
383
  }
384
  // -----------------------------
385
 
416
  include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-kontrolz.php'; // OoohBoi Kontrolz
417
  include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-widget-stalker.php'; // OoohBoi Widget Stalker
418
  include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-pseudo.php'; // OoohBoi Pseudo
 
419
  include_once plugin_dir_path( __FILE__ ) . 'controls/ooohboi-locomotion.php'; // OoohBoi Locomotion
420
  }
421
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: OoohBoi
3
  Tags: page-builder, elementor, add-on, background-overlay, vertical text, ghost elements, overlapping columns
4
  Donate link: https://www.paypal.me/ooohboi
5
  Requires at least: 5.0
6
- Tested up to: 5.9
7
- Stable tag: 1.9.0
8
  Requires PHP: 7.0
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0
@@ -17,10 +17,9 @@ An awesome set of tools, options and settings that expand Elementor defaults. In
17
 
18
  = What is new? =
19
 
20
- GSAP and its plugins (ScrollTrigger, ScrollTo, MotionPath) are now loaded from the CDN, new interface, major code improvements, Elementor 3.6 friendly, many more...
21
-
22
- = To do... =
23
- Custom Breakpoints compliance
24
 
25
  = In the package so far =
26
 
@@ -93,14 +92,10 @@ More controls to the Icon Box widget.
93
  23. PSEUDO
94
  Add and manage Column's pseudo elements. It's a PoopArt for Columns!
95
 
96
- 24. LOCOMOTION
97
  The power of Locomotive Scroll is now available in Elementor too!
98
 
99
- 25. GSAP, SCROLLTRIGGER & MORE
100
- The power of Locomotive Scroll is now available in Elementor too!
101
-
102
- 26. BULLET
103
- Moves the bullet of the Icon List widget to the top (fine tune with the margin)
104
 
105
  == Installation ==
106
 
@@ -109,7 +104,7 @@ Moves the bullet of the Icon List widget to the top (fine tune with the margin)
109
 
110
  == Upgrade Notice ==
111
 
112
- 1.9.0 - Beware of the changes to the language file!
113
 
114
  == Frequently Asked Questions ==
115
 
@@ -153,52 +148,6 @@ No, you don't. It'll work with both free version of Elementor and Elementor PRO.
153
 
154
  == Changelog ==
155
 
156
- = 1.9.0 =
157
- - Major code improvements (up to 3x faster)
158
- - Improved interface
159
- - Reset to defaults now works properly
160
- - GSAP and its plugins (ScrollTrigger, MotionPath and ScrollTo) are now loaded from the CDN
161
- - All extensions but TELEPORTER are Container friendly (future Elementor 3.6)
162
- - Fix: BUTTER BUTTON background flickers on hover
163
- - BUTTER BUTTON: removed Typography control (typography inherited from the Button widget)
164
-
165
- = 1.8.2 =
166
- - New: BULET - Added option to vertically align the bullet of the Icon List widget
167
- - Improvement: HARAKIRI - Added option to cut off the bottom margin of TextEditor widget
168
- - Fix: PHP 8.0+ warning related to the "exopite-simple-options-framework-class.php on line 1700"
169
- - core improvements - thanks to @nome_nation!
170
-
171
- = 1.8.1 =
172
- - New: ANIME.js added to optional/includable libraries
173
- - New: ICOBOX - prevent icon/title collapse on mobile devices
174
- - New: IMBOX - prevent thumbnail/title collapse on mobile devices
175
- - Fix: PERSPEKTIVE extension now works as expected
176
-
177
- = 1.8.0 =
178
- - Fix: Elementor editor content overflow issue for the "Layers for Elementor" WP theme
179
- - Fix: Baseline Grid messed up lines
180
- - Fix: SEARCHCOP for Product post type
181
- - Update: GSAP to 3.7.1
182
- - Update: ScrollTrigger to 3.7.1
183
- - Update: MotionPath to 3.7.1
184
-
185
- = 1.7.9 =
186
- - New: GLIDER - Centered Slides (a.k.a. centeredSlides) option added
187
- - New: GLIDER - De-blur Slides (a.k.a.roundLenghts) option added
188
- - Fix: Pseudo AFTER - Clip-path option visibility
189
- - Fix: the class usage of Elementor\Scheme_Color
190
-
191
- = 1.7.8 =
192
- - Fix: Pseudo for Columns inherited by the Inner Section
193
- - Fix: Imbox "Box z-index" option not available unless Overrides is enabled
194
- - New: Imbox added "Box shadow" option to the content
195
-
196
- = 1.7.7 =
197
- - New: Added "barba.js" library
198
- - New: Added 2 new GSAP plugins; ScrollTo and MotionPath
199
- - Fix: if WP not installed in the root, SFE can't be loaded ("Failed to load plugin url" error msg)
200
- - New option: Glider - Enable Mousewheel
201
-
202
  = 1.7.6 =
203
  - New: Added option to remove the "data-scroll-section" attribute (see Manage JS Libraries)
204
  - Added required GSAP License acknowledgement
3
  Tags: page-builder, elementor, add-on, background-overlay, vertical text, ghost elements, overlapping columns
4
  Donate link: https://www.paypal.me/ooohboi
5
  Requires at least: 5.0
6
+ Tested up to: 5.7
7
+ Stable tag: 1.7.6
8
  Requires PHP: 7.0
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0
17
 
18
  = What is new? =
19
 
20
+ The power of Locomotive Scroll is now available to all Elementor users. And that changes a lot! No more old-fashioned scrolling that looks awful in Chrome or Safari. From now on any Section, Column or Widget can become a part of smooth scrolling with support for parallax effects, toggling classes, and triggering event listeners when elements are in the viewport.
21
+ That's not all! On top of the Locomotive Scroll, you can include GreenSock's ScrollTrigger and GSAP - the PRO grade animation library.
22
+ Enjoy the latest features, create something awesome!
 
23
 
24
  = In the package so far =
25
 
92
  23. PSEUDO
93
  Add and manage Column's pseudo elements. It's a PoopArt for Columns!
94
 
95
+ 23. LOCOMOTION
96
  The power of Locomotive Scroll is now available in Elementor too!
97
 
98
+ 25. MORE IS COMING SOON!
 
 
 
 
99
 
100
  == Installation ==
101
 
104
 
105
  == Upgrade Notice ==
106
 
107
+ 1.7.6 - Beware of the changes to the language file!
108
 
109
  == Frequently Asked Questions ==
110
 
148
 
149
  == Changelog ==
150
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  = 1.7.6 =
152
  - New: Added option to remove the "data-scroll-section" attribute (see Manage JS Libraries)
153
  - Added required GSAP License acknowledgement