Version Description
Download this release
Release Info
Code changes from version 1.3.40 to 1.3.41
- admin/templates-kit.php +23 -12
- admin/templates/wpr-templates-data.php +37 -7
- assets/js/frontend.js +1 -1
- assets/js/frontend.min.js +1 -1
- classes/rating-notice.php +0 -292
- classes/utilities.php +5 -1
- modules/grid/widgets/wpr-grid.php +6 -2
- plugin.php +1 -4
- readme.txt +1 -1
- wpr-addons.php +2 -2
admin/templates-kit.php
CHANGED
@@ -70,23 +70,34 @@ function wpr_addons_templates_kit_page() {
|
|
70 |
<div class="wpr-templates-kit-grid main-grid" data-theme-status="<?php echo get_theme_status(); ?>">
|
71 |
<?php
|
72 |
$kits = WPR_Templates_Data::get_available_kits();
|
|
|
73 |
|
74 |
foreach ($kits as $slug => $kit) {
|
75 |
foreach ($kit as $version => $data ) {
|
76 |
-
|
77 |
-
|
78 |
-
echo '<div class="grid-item" data-kit-id="'. $kit_id .'" data-tags="'. $data['tags'] .'" data-plugins="'. esc_attr($data['plugins']) .'" data-pages="'. $data['pages'] .'" data-price="'. $data['price'] .'">';
|
79 |
-
echo '<div class="image-wrap">';
|
80 |
-
echo '<img src="https://royal-elementor-addons.com/library/templates-kit/'. $kit_id .'/home.jpg">';
|
81 |
-
echo '<div class="image-overlay"><span class="dashicons dashicons-search"></span></div>';
|
82 |
-
echo '</div>';
|
83 |
-
echo '<footer>';
|
84 |
-
echo '<h3>'. $data['name'] .'</h3>';
|
85 |
-
echo $data['theme-builder'] ? '<span>'. esc_html__( 'Theme Builder', 'wpr-addons' ).'</span>' : '';
|
86 |
-
echo '</footer>';
|
87 |
-
echo '</div>';
|
88 |
}
|
89 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
?>
|
91 |
|
92 |
</div>
|
70 |
<div class="wpr-templates-kit-grid main-grid" data-theme-status="<?php echo get_theme_status(); ?>">
|
71 |
<?php
|
72 |
$kits = WPR_Templates_Data::get_available_kits();
|
73 |
+
$sorted_kits = [];
|
74 |
|
75 |
foreach ($kits as $slug => $kit) {
|
76 |
foreach ($kit as $version => $data ) {
|
77 |
+
$sorted_kits[$slug .'-'. $version] = $data;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
}
|
79 |
}
|
80 |
+
|
81 |
+
// Sort by Priority
|
82 |
+
uasort($sorted_kits, function ($item1, $item2) {
|
83 |
+
if ($item1['priority'] == $item2['priority']) return 0;
|
84 |
+
return $item1['priority'] < $item2['priority'] ? -1 : 1;
|
85 |
+
});
|
86 |
+
|
87 |
+
// Loop
|
88 |
+
foreach ($sorted_kits as $kit_id => $data) {
|
89 |
+
echo '<div class="grid-item" data-kit-id="'. $kit_id .'" data-tags="'. $data['tags'] .'" data-plugins="'. esc_attr($data['plugins']) .'" data-pages="'. $data['pages'] .'" data-price="'. $data['price'] .'">';
|
90 |
+
echo '<div class="image-wrap">';
|
91 |
+
echo '<img src="https://royal-elementor-addons.com/library/templates-kit/'. $kit_id .'/home.jpg">';
|
92 |
+
echo '<div class="image-overlay"><span class="dashicons dashicons-search"></span></div>';
|
93 |
+
echo '</div>';
|
94 |
+
echo '<footer>';
|
95 |
+
echo '<h3>'. $data['name'] .'</h3>';
|
96 |
+
echo $data['theme-builder'] ? '<span>'. esc_html__( 'Theme Builder', 'wpr-addons' ).'</span>' : '';
|
97 |
+
echo '</footer>';
|
98 |
+
echo '</div>';
|
99 |
+
}
|
100 |
+
|
101 |
?>
|
102 |
|
103 |
</div>
|
admin/templates/wpr-templates-data.php
CHANGED
@@ -20,6 +20,7 @@ class WPR_Templates_Data {
|
|
20 |
'tags' => 'blog blogger posts personal blog lifestyle blogger theme builder grid slider news',
|
21 |
'theme-builder' => true,
|
22 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
23 |
],
|
24 |
'v2' => [
|
25 |
'name' => 'Personal Blog',
|
@@ -28,6 +29,7 @@ class WPR_Templates_Data {
|
|
28 |
'tags' => 'blog blogger posts personal blog lifestyle blogger theme builder grid slider news',
|
29 |
'theme-builder' => true,
|
30 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
31 |
],
|
32 |
],
|
33 |
'food-blog' => [
|
@@ -38,32 +40,36 @@ class WPR_Templates_Data {
|
|
38 |
'tags' => 'food blog posts food blogger theme builder recipes cooking grid slider',
|
39 |
'theme-builder' => true,
|
40 |
'price' => $is_pro_active ? 'free' : 'pro',
|
|
|
41 |
],
|
42 |
],
|
43 |
'magazine-blog' => [
|
44 |
-
'
|
45 |
'name' => 'Magazine Blog',
|
46 |
-
'pages' => 'home,category,about,contact,',
|
47 |
'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
|
48 |
'tags' => 'blogger blog posts content news newspaper journal magazine business blog publishing theme builder sports grid slider',
|
49 |
'theme-builder' => true,
|
50 |
-
'price' => $is_pro_active ? 'free' : '
|
|
|
51 |
],
|
52 |
-
'
|
53 |
'name' => 'Magazine Blog',
|
54 |
'pages' => 'home,home-v1,home-v2,category,about,contact,',
|
55 |
'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
|
56 |
'tags' => 'blogger blog posts content news newspaper journal magazine business blog publishing theme builder sports grid slider',
|
57 |
'theme-builder' => true,
|
58 |
'price' => $is_pro_active ? 'free' : 'pro',
|
|
|
59 |
],
|
60 |
-
'
|
61 |
'name' => 'Magazine Blog',
|
62 |
-
'pages' => 'home,
|
63 |
'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
|
64 |
'tags' => 'blogger blog posts content news newspaper journal magazine business blog publishing theme builder sports grid slider',
|
65 |
'theme-builder' => true,
|
66 |
-
'price' => $is_pro_active ? 'free' : '
|
|
|
67 |
],
|
68 |
],
|
69 |
'nature' => [
|
@@ -74,6 +80,7 @@ class WPR_Templates_Data {
|
|
74 |
'tags' => 'nature influencer travel blogger blog content slider tourism influencers creator travel forest slider generic multipurpose national-park nature-park sanctuary wilderness hitchhiking mountain river lakes outdoors',
|
75 |
'theme-builder' => false,
|
76 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
77 |
],
|
78 |
],
|
79 |
'travel-blog' => [
|
@@ -84,6 +91,7 @@ class WPR_Templates_Data {
|
|
84 |
'tags' => 'nature influencer travel blogger blog posts content tourism influencers creator travel forest slider generic multipurpose national-park nature-park sanctuary wilderness slider hitchhiking mountain river lakes outdoors theme builder traveler hiking grid',
|
85 |
'theme-builder' => true,
|
86 |
'price' => $is_pro_active ? 'free' : 'pro',
|
|
|
87 |
],
|
88 |
],
|
89 |
'portfolio' => [
|
@@ -94,6 +102,7 @@ class WPR_Templates_Data {
|
|
94 |
'tags' => 'portfolio personal cv designer ux artist artwork personal resume photographer grid',
|
95 |
'theme-builder' => false,
|
96 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
97 |
],
|
98 |
],
|
99 |
'pizza' => [
|
@@ -104,6 +113,7 @@ class WPR_Templates_Data {
|
|
104 |
'tags' => 'pizza italian restaurant food slider pasta fastfood fast food recipes cooking slider',
|
105 |
'theme-builder' => false,
|
106 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
107 |
],
|
108 |
],
|
109 |
'travel' => [
|
@@ -114,6 +124,7 @@ class WPR_Templates_Data {
|
|
114 |
'tags' => 'nature influencer travel blogger blog content tourism influencers creator travel forest slider generic multipurpose national-park nature-park sanctuary wilderness hitchhiking mountain river lakes outdoors',
|
115 |
'theme-builder' => false,
|
116 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
117 |
],
|
118 |
],
|
119 |
'cybersecurity' => [
|
@@ -124,6 +135,7 @@ class WPR_Templates_Data {
|
|
124 |
'tags' => 'cybersecurity data protection hacker security dark digital technology cybercrime computer windows technician',
|
125 |
'theme-builder' => false,
|
126 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
127 |
],
|
128 |
],
|
129 |
'photographer' => [
|
@@ -134,6 +146,7 @@ class WPR_Templates_Data {
|
|
134 |
'tags' => 'portfolio personal cv designer ux artist artwork personal resume camera fashion lens modelling photographer photography videography wedding shoot grid ',
|
135 |
'theme-builder' => false,
|
136 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
137 |
],
|
138 |
'v2' => [
|
139 |
'name' => 'Photographer Portfolio Light',
|
@@ -142,6 +155,7 @@ class WPR_Templates_Data {
|
|
142 |
'tags' => 'portfolio personal cv designer ux artist artwork personal resume camera fashion lens modelling photographer photography videography wedding shoot grid ',
|
143 |
'theme-builder' => false,
|
144 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
145 |
],
|
146 |
],
|
147 |
'cryptocurrency' => [
|
@@ -152,6 +166,7 @@ class WPR_Templates_Data {
|
|
152 |
'tags' => 'cryptocurrency bitcoin ethereum etherium blockchain protection nft coin corporate crypto dark startup token digital',
|
153 |
'theme-builder' => false,
|
154 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
155 |
],
|
156 |
],
|
157 |
'skincare' => [
|
@@ -162,6 +177,7 @@ class WPR_Templates_Data {
|
|
162 |
'tags' => 'skincare skin care beauty clean face skin-beauty health wellness',
|
163 |
'theme-builder' => false,
|
164 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
165 |
],
|
166 |
],
|
167 |
'lawyer' => [
|
@@ -172,6 +188,7 @@ class WPR_Templates_Data {
|
|
172 |
'tags' => 'lawyers criminal defence lawyer firm divorce lawyer family lawyer law legal firm ',
|
173 |
'theme-builder' => false,
|
174 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
175 |
],
|
176 |
],
|
177 |
'medical' => [
|
@@ -182,6 +199,7 @@ class WPR_Templates_Data {
|
|
182 |
'tags' => 'medical clinic dental health healthcare doctor therapist wellness treatment cure',
|
183 |
'theme-builder' => false,
|
184 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
185 |
],
|
186 |
],
|
187 |
'digitalagency' => [
|
@@ -192,6 +210,7 @@ class WPR_Templates_Data {
|
|
192 |
'tags' => 'digital agency company corporate digital services office agency web marketing',
|
193 |
'theme-builder' => false,
|
194 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
195 |
],
|
196 |
'v2' => [
|
197 |
'name' => 'Digital Agency',
|
@@ -200,6 +219,7 @@ class WPR_Templates_Data {
|
|
200 |
'tags' => 'digital agency company corporate digital services office agency web marketing slider',
|
201 |
'theme-builder' => false,
|
202 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
203 |
],
|
204 |
],
|
205 |
'drone' => [
|
@@ -210,6 +230,7 @@ class WPR_Templates_Data {
|
|
210 |
'tags' => 'drone photography aerial photo ',
|
211 |
'theme-builder' => false,
|
212 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
213 |
],
|
214 |
],
|
215 |
'architecture' => [
|
@@ -220,6 +241,7 @@ class WPR_Templates_Data {
|
|
220 |
'tags' => 'architecture company slider interior design designer landscaping office zoning building slider',
|
221 |
'theme-builder' => false,
|
222 |
'price' => $is_pro_active ? 'free' : 'pro',
|
|
|
223 |
],
|
224 |
],
|
225 |
'fooddelivery' => [
|
@@ -230,6 +252,7 @@ class WPR_Templates_Data {
|
|
230 |
'tags' => 'fooddelivery fast food chain restaurant service hotel italian pasta pizza pizzeria burger recipes cooking',
|
231 |
'theme-builder' => false,
|
232 |
'price' => $is_pro_active ? 'free' : 'pro',
|
|
|
233 |
],
|
234 |
],
|
235 |
'construction' => [
|
@@ -240,6 +263,7 @@ class WPR_Templates_Data {
|
|
240 |
'tags' => 'construction architecture company interior office real estate',
|
241 |
'theme-builder' => false,
|
242 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
243 |
],
|
244 |
],
|
245 |
'ittech' => [
|
@@ -250,6 +274,7 @@ class WPR_Templates_Data {
|
|
250 |
'tags' => 'ittech advanced technology it technique computer windows technician digital',
|
251 |
'theme-builder' => false,
|
252 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
253 |
],
|
254 |
'v2' => [
|
255 |
'name' => 'IT Tech v2',
|
@@ -258,6 +283,7 @@ class WPR_Templates_Data {
|
|
258 |
'tags' => 'ittech advanced technology it technique computer windows technician digital',
|
259 |
'theme-builder' => false,
|
260 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
261 |
],
|
262 |
],
|
263 |
'realestate' => [
|
@@ -268,6 +294,7 @@ class WPR_Templates_Data {
|
|
268 |
'tags' => 'real estate agency company construction property rentals estate sales developers',
|
269 |
'theme-builder' => false,
|
270 |
'price' => $is_pro_active ? 'free' : 'pro',
|
|
|
271 |
],
|
272 |
],
|
273 |
'restaurant' => [
|
@@ -278,6 +305,7 @@ class WPR_Templates_Data {
|
|
278 |
'tags' => 'restaurant fastfood slider hotel italian pizza pizzeria pasta dinner fast food wine recipe recipes cooking slider',
|
279 |
'theme-builder' => false,
|
280 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
281 |
],
|
282 |
],
|
283 |
'winebar' => [
|
@@ -288,6 +316,7 @@ class WPR_Templates_Data {
|
|
288 |
'tags' => 'wine bar winery beer drink alcohol pub events dish wines italian restaurant food slider recipes cooking recipes slider',
|
289 |
'theme-builder' => false,
|
290 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
291 |
],
|
292 |
],
|
293 |
'wedding' => [
|
@@ -298,6 +327,7 @@ class WPR_Templates_Data {
|
|
298 |
'tags' => 'wedding party event slider invitation planner slider photography photographer',
|
299 |
'theme-builder' => false,
|
300 |
'price' => $is_pro_active ? 'free' : 'free',
|
|
|
301 |
],
|
302 |
],
|
303 |
];
|
20 |
'tags' => 'blog blogger posts personal blog lifestyle blogger theme builder grid slider news',
|
21 |
'theme-builder' => true,
|
22 |
'price' => $is_pro_active ? 'free' : 'free',
|
23 |
+
'priority' => 1,
|
24 |
],
|
25 |
'v2' => [
|
26 |
'name' => 'Personal Blog',
|
29 |
'tags' => 'blog blogger posts personal blog lifestyle blogger theme builder grid slider news',
|
30 |
'theme-builder' => true,
|
31 |
'price' => $is_pro_active ? 'free' : 'free',
|
32 |
+
'priority' => 10,
|
33 |
],
|
34 |
],
|
35 |
'food-blog' => [
|
40 |
'tags' => 'food blog posts food blogger theme builder recipes cooking grid slider',
|
41 |
'theme-builder' => true,
|
42 |
'price' => $is_pro_active ? 'free' : 'pro',
|
43 |
+
'priority' => 20,
|
44 |
],
|
45 |
],
|
46 |
'magazine-blog' => [
|
47 |
+
'v1' => [
|
48 |
'name' => 'Magazine Blog',
|
49 |
+
'pages' => 'home,home-v1,home-v2,category,about,contact,',
|
50 |
'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
|
51 |
'tags' => 'blogger blog posts content news newspaper journal magazine business blog publishing theme builder sports grid slider',
|
52 |
'theme-builder' => true,
|
53 |
+
'price' => $is_pro_active ? 'free' : 'pro',
|
54 |
+
'priority' => 40,
|
55 |
],
|
56 |
+
'v2' => [
|
57 |
'name' => 'Magazine Blog',
|
58 |
'pages' => 'home,home-v1,home-v2,category,about,contact,',
|
59 |
'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
|
60 |
'tags' => 'blogger blog posts content news newspaper journal magazine business blog publishing theme builder sports grid slider',
|
61 |
'theme-builder' => true,
|
62 |
'price' => $is_pro_active ? 'free' : 'pro',
|
63 |
+
'priority' => 50,
|
64 |
],
|
65 |
+
'v3' => [
|
66 |
'name' => 'Magazine Blog',
|
67 |
+
'pages' => 'home,category,about,contact,',
|
68 |
'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
|
69 |
'tags' => 'blogger blog posts content news newspaper journal magazine business blog publishing theme builder sports grid slider',
|
70 |
'theme-builder' => true,
|
71 |
+
'price' => $is_pro_active ? 'free' : 'free',
|
72 |
+
'priority' => 30,
|
73 |
],
|
74 |
],
|
75 |
'nature' => [
|
80 |
'tags' => 'nature influencer travel blogger blog content slider tourism influencers creator travel forest slider generic multipurpose national-park nature-park sanctuary wilderness hitchhiking mountain river lakes outdoors',
|
81 |
'theme-builder' => false,
|
82 |
'price' => $is_pro_active ? 'free' : 'free',
|
83 |
+
'priority' => 60,
|
84 |
],
|
85 |
],
|
86 |
'travel-blog' => [
|
91 |
'tags' => 'nature influencer travel blogger blog posts content tourism influencers creator travel forest slider generic multipurpose national-park nature-park sanctuary wilderness slider hitchhiking mountain river lakes outdoors theme builder traveler hiking grid',
|
92 |
'theme-builder' => true,
|
93 |
'price' => $is_pro_active ? 'free' : 'pro',
|
94 |
+
'priority' => 70,
|
95 |
],
|
96 |
],
|
97 |
'portfolio' => [
|
102 |
'tags' => 'portfolio personal cv designer ux artist artwork personal resume photographer grid',
|
103 |
'theme-builder' => false,
|
104 |
'price' => $is_pro_active ? 'free' : 'free',
|
105 |
+
'priority' => 80,
|
106 |
],
|
107 |
],
|
108 |
'pizza' => [
|
113 |
'tags' => 'pizza italian restaurant food slider pasta fastfood fast food recipes cooking slider',
|
114 |
'theme-builder' => false,
|
115 |
'price' => $is_pro_active ? 'free' : 'free',
|
116 |
+
'priority' => 90,
|
117 |
],
|
118 |
],
|
119 |
'travel' => [
|
124 |
'tags' => 'nature influencer travel blogger blog content tourism influencers creator travel forest slider generic multipurpose national-park nature-park sanctuary wilderness hitchhiking mountain river lakes outdoors',
|
125 |
'theme-builder' => false,
|
126 |
'price' => $is_pro_active ? 'free' : 'free',
|
127 |
+
'priority' => 100,
|
128 |
],
|
129 |
],
|
130 |
'cybersecurity' => [
|
135 |
'tags' => 'cybersecurity data protection hacker security dark digital technology cybercrime computer windows technician',
|
136 |
'theme-builder' => false,
|
137 |
'price' => $is_pro_active ? 'free' : 'free',
|
138 |
+
'priority' => 110,
|
139 |
],
|
140 |
],
|
141 |
'photographer' => [
|
146 |
'tags' => 'portfolio personal cv designer ux artist artwork personal resume camera fashion lens modelling photographer photography videography wedding shoot grid ',
|
147 |
'theme-builder' => false,
|
148 |
'price' => $is_pro_active ? 'free' : 'free',
|
149 |
+
'priority' => 120,
|
150 |
],
|
151 |
'v2' => [
|
152 |
'name' => 'Photographer Portfolio Light',
|
155 |
'tags' => 'portfolio personal cv designer ux artist artwork personal resume camera fashion lens modelling photographer photography videography wedding shoot grid ',
|
156 |
'theme-builder' => false,
|
157 |
'price' => $is_pro_active ? 'free' : 'free',
|
158 |
+
'priority' => 130,
|
159 |
],
|
160 |
],
|
161 |
'cryptocurrency' => [
|
166 |
'tags' => 'cryptocurrency bitcoin ethereum etherium blockchain protection nft coin corporate crypto dark startup token digital',
|
167 |
'theme-builder' => false,
|
168 |
'price' => $is_pro_active ? 'free' : 'free',
|
169 |
+
'priority' => 150,
|
170 |
],
|
171 |
],
|
172 |
'skincare' => [
|
177 |
'tags' => 'skincare skin care beauty clean face skin-beauty health wellness',
|
178 |
'theme-builder' => false,
|
179 |
'price' => $is_pro_active ? 'free' : 'free',
|
180 |
+
'priority' => 160,
|
181 |
],
|
182 |
],
|
183 |
'lawyer' => [
|
188 |
'tags' => 'lawyers criminal defence lawyer firm divorce lawyer family lawyer law legal firm ',
|
189 |
'theme-builder' => false,
|
190 |
'price' => $is_pro_active ? 'free' : 'free',
|
191 |
+
'priority' => 170,
|
192 |
],
|
193 |
],
|
194 |
'medical' => [
|
199 |
'tags' => 'medical clinic dental health healthcare doctor therapist wellness treatment cure',
|
200 |
'theme-builder' => false,
|
201 |
'price' => $is_pro_active ? 'free' : 'free',
|
202 |
+
'priority' => 180,
|
203 |
],
|
204 |
],
|
205 |
'digitalagency' => [
|
210 |
'tags' => 'digital agency company corporate digital services office agency web marketing',
|
211 |
'theme-builder' => false,
|
212 |
'price' => $is_pro_active ? 'free' : 'free',
|
213 |
+
'priority' => 190,
|
214 |
],
|
215 |
'v2' => [
|
216 |
'name' => 'Digital Agency',
|
219 |
'tags' => 'digital agency company corporate digital services office agency web marketing slider',
|
220 |
'theme-builder' => false,
|
221 |
'price' => $is_pro_active ? 'free' : 'free',
|
222 |
+
'priority' => 200,
|
223 |
],
|
224 |
],
|
225 |
'drone' => [
|
230 |
'tags' => 'drone photography aerial photo ',
|
231 |
'theme-builder' => false,
|
232 |
'price' => $is_pro_active ? 'free' : 'free',
|
233 |
+
'priority' => 210,
|
234 |
],
|
235 |
],
|
236 |
'architecture' => [
|
241 |
'tags' => 'architecture company slider interior design designer landscaping office zoning building slider',
|
242 |
'theme-builder' => false,
|
243 |
'price' => $is_pro_active ? 'free' : 'pro',
|
244 |
+
'priority' => 220,
|
245 |
],
|
246 |
],
|
247 |
'fooddelivery' => [
|
252 |
'tags' => 'fooddelivery fast food chain restaurant service hotel italian pasta pizza pizzeria burger recipes cooking',
|
253 |
'theme-builder' => false,
|
254 |
'price' => $is_pro_active ? 'free' : 'pro',
|
255 |
+
'priority' => 230,
|
256 |
],
|
257 |
],
|
258 |
'construction' => [
|
263 |
'tags' => 'construction architecture company interior office real estate',
|
264 |
'theme-builder' => false,
|
265 |
'price' => $is_pro_active ? 'free' : 'free',
|
266 |
+
'priority' => 240,
|
267 |
],
|
268 |
],
|
269 |
'ittech' => [
|
274 |
'tags' => 'ittech advanced technology it technique computer windows technician digital',
|
275 |
'theme-builder' => false,
|
276 |
'price' => $is_pro_active ? 'free' : 'free',
|
277 |
+
'priority' => 250,
|
278 |
],
|
279 |
'v2' => [
|
280 |
'name' => 'IT Tech v2',
|
283 |
'tags' => 'ittech advanced technology it technique computer windows technician digital',
|
284 |
'theme-builder' => false,
|
285 |
'price' => $is_pro_active ? 'free' : 'free',
|
286 |
+
'priority' => 260,
|
287 |
],
|
288 |
],
|
289 |
'realestate' => [
|
294 |
'tags' => 'real estate agency company construction property rentals estate sales developers',
|
295 |
'theme-builder' => false,
|
296 |
'price' => $is_pro_active ? 'free' : 'pro',
|
297 |
+
'priority' => 270,
|
298 |
],
|
299 |
],
|
300 |
'restaurant' => [
|
305 |
'tags' => 'restaurant fastfood slider hotel italian pizza pizzeria pasta dinner fast food wine recipe recipes cooking slider',
|
306 |
'theme-builder' => false,
|
307 |
'price' => $is_pro_active ? 'free' : 'free',
|
308 |
+
'priority' => 280,
|
309 |
],
|
310 |
],
|
311 |
'winebar' => [
|
316 |
'tags' => 'wine bar winery beer drink alcohol pub events dish wines italian restaurant food slider recipes cooking recipes slider',
|
317 |
'theme-builder' => false,
|
318 |
'price' => $is_pro_active ? 'free' : 'free',
|
319 |
+
'priority' => 290,
|
320 |
],
|
321 |
],
|
322 |
'wedding' => [
|
327 |
'tags' => 'wedding party event slider invitation planner slider photography photographer',
|
328 |
'theme-builder' => false,
|
329 |
'price' => $is_pro_active ? 'free' : 'free',
|
330 |
+
'priority' => 300,
|
331 |
],
|
332 |
],
|
333 |
];
|
assets/js/frontend.js
CHANGED
@@ -3870,7 +3870,7 @@
|
|
3870 |
slidesPerView: 2,
|
3871 |
},
|
3872 |
// when window width is >= 640px
|
3873 |
-
|
3874 |
slidesPerView: slidestoshow,
|
3875 |
|
3876 |
}
|
3870 |
slidesPerView: 2,
|
3871 |
},
|
3872 |
// when window width is >= 640px
|
3873 |
+
769: { // 640
|
3874 |
slidesPerView: slidestoshow,
|
3875 |
|
3876 |
}
|
assets/js/frontend.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(function(t){"use strict";var e={init:function(){var i={"wpr-nav-menu.default":e.widgetNavMenu,"wpr-onepage-nav.default":e.OnepageNav,"wpr-grid.default":e.widgetGrid,"wpr-magazine-grid.default":e.widgetMagazineGrid,"wpr-media-grid.default":e.widgetGrid,"wpr-woo-grid.default":e.widgetGrid,"wpr-featured-media.default":e.widgetFeaturedMedia,"wpr-product-media.default":e.widgetProductMedia,"wpr-countdown.default":e.widgetCountDown,"wpr-google-maps.default":e.widgetGoogleMaps,"wpr-before-after.default":e.widgetBeforeAfter,"wpr-mailchimp.default":e.widgetMailchimp,"wpr-advanced-slider.default":e.widgetAdvancedSlider,"wpr-testimonial.default":e.widgetTestimonialCarousel,"wpr-search.default":e.widgetSearch,"wpr-advanced-text.default":e.widgetAdvancedText,"wpr-progress-bar.default":e.widgetProgressBar,"wpr-image-hotspots.default":e.widgetImageHotspots,"wpr-flip-box.default":e.widgetFlipBox,"wpr-content-ticker.default":e.widgetContentTicker,"wpr-tabs.default":e.widgetTabs,"wpr-content-toggle.default":e.widgetContentToogle,"wpr-back-to-top.default":e.widgetBackToTop,"wpr-lottie-animations.default":e.widgetLottieAnimations,"wpr-posts-timeline.default":e.widgetPostsTimeline,"wpr-sharing-buttons.default":e.widgetSharingButtons,"wpr-flip-carousel.default":e.widgetFlipCarousel,"wpr-feature-list.default":e.widgetFeatureList,global:e.widgetSection,"wpr-post-media.default":e.widgetPostMedia};t.each(i,function(e,t){window.elementorFrontend.hooks.addAction("frontend/element_ready/"+e,t)})},widgetPostMedia:function(i){var r=i.find(".wpr-gallery-slider"),a=r.attr("data-slick");r.animate({opacity:"1"},1e3),"[]"!==a&&r.slick({appendDots:i.find(".wpr-gallery-slider-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-gallery-slider-dot\"></span>"}});var s=t(".wpr-featured-media-image").attr("data-lightbox");if(typeof s!=typeof void 0&&!1!==s&&!e.editorCheck()){var l=i.find(".wpr-featured-media-wrap");s=JSON.parse(s),l.lightGallery(s),l.on("onAferAppendSlide.lg, onAfterSlide.lg",function(){var e=t("#lg-actual-size, #lg-zoom-in, #lg-zoom-out, #lg-download"),i=t("#lg-download").attr("href");t("#lg-download").length&&(-1===i.indexOf("wp-content")?e.addClass("wpr-hidden-element"):e.removeClass("wpr-hidden-element")),""===s.autoplay&&t(".lg-autoplay-button").css({width:"0",height:"0",overflow:"hidden"})})}},widgetSection:function(i){function r(t){var r=JSON.parse(t),a=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-quantity"):i.attr("wpr-quantity"),s=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-color")?i.find(".wpr-particle-wrapper").attr("wpr-color"):"#000000":i.attr("wpr-color")||"#000000",l=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-speed"):i.attr("wpr-speed"),n=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-shape"):i.attr("wpr-shape"),o=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-size"):i.attr("wpr-size");return r.particles.size.value=o,r.particles.number.value=a,r.particles.color.value=s,r.particles.shape.type=n,r.particles.line_linked.color=s,r.particles.move.speed=l,r}if(function(){function e(){if(document.querySelector(".wpr-mybar")){var e=document.body.scrollTop||document.documentElement.scrollTop,t=document.documentElement.scrollHeight-document.documentElement.clientHeight;document.querySelector("#wpr-mybar").style.width=100*(e/t)+"%"}}e(),window.onscroll=function(){e()},t("#wpadminbar").length&&t(".wpr-reading-progress-bar-container").length&&0===t(".wpr-reading-progress-bar-container").position().top&&t(".wpr-reading-progress-bar-container").css("top"," 32px")}(),(i.attr("data-wpr-particles")||i.find(".wpr-particle-wrapper").attr("data-wpr-particles-editor"))&&function(){var a=i.data("element_type"),s=i.data("id"),l=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("data-wpr-particles-editor"):i.attr("data-wpr-particles");"section"===a&&void 0!==l&&(e.editorCheck()?i.hasClass("wpr-particle-yes")?(particlesJS("wpr-particle-"+s,"wpr_particle_json_custom"==i.find(".wpr-particle-wrapper").attr("particle-source")?JSON.parse(l):r(l)),i.find(".elementor-column").css("z-index",9),t(window).trigger("resize")):i.find(".wpr-particle-wrapper").remove():(i.prepend("<div class=\"wpr-particle-wrapper\" id=\"wpr-particle-"+s+"\"></div>"),particlesJS("wpr-particle-"+s,"wpr_particle_json_custom"==i.attr("particle-source")?JSON.parse(l):r(l))))}(),(i.hasClass("wpr-jarallax")||i.hasClass("wpr-jarallax-yes"))&&function(){i.hasClass("wpr-jarallax-yes")&&(!e.editorCheck()&&i.hasClass("wpr-jarallax")?(i.css("background-image","url(\""+i.attr("bg-image")+"\")"),i.jarallax({type:i.attr("scroll-effect"),speed:i.attr("speed-data")})):e.editorCheck()&&(i.css("background-image","url(\""+i.find(".wpr-jarallax").attr("bg-image-editor")+"\")"),i.jarallax({type:i.find(".wpr-jarallax").attr("scroll-effect-editor"),speed:i.find(".wpr-jarallax").attr("speed-data-editor")})))}(),i.hasClass("wpr-parallax-yes")&&function(){if(i.hasClass("wpr-parallax-yes")){var r=document.getElementsByClassName("wpr-parallax-multi-layer"),a=Array.from(r).map(e=>new Parallax(e,{invertY:"yes"==e.getAttribute("direction"),invertX:"yes"==e.getAttribute("direction"),scalarX:e.getAttribute("scalar-speed"),scalarY:e.getAttribute("scalar-speed"),hoverOnly:!0,pointerEvents:!0}));a.forEach(e=>{e.friction(.2,.2)})}if(!e.editorCheck()){var s=[];document.querySelectorAll(".wpr-parallax-multi-layer").forEach(e=>{e.parentElement.style.position="relative",e.style.position="absolute",s.push(e),e.remove()}),document.querySelectorAll(".wpr-parallax-ml-children").forEach(e=>{e.style.position="absolute",e.style.top=e.getAttribute("style-top"),e.style.left=e.getAttribute("style-left")}),t(".wpr-parallax-yes").each(function(e){t(this).append(s[e])})}}(),i.hasClass("wpr-sticky-section-yes")){function r(){if(!i.hasClass("wpr-sticky-section-yes")||!i.find(".wpr-sticky-section-yes-editor"))return void(a="static");var e=[],t=[["mobile_sticky",768],["mobile_extra_sticky",881],["tablet_sticky",1025],["tablet_extra_sticky",1201],["laptop_sticky",1216],["desktop_sticky",2400],["widescreen_sticky",4e3]].filter(e=>-1!=c.indexOf(e[0])).reverse();t.forEach((t,i)=>{t[1]>d&&-1===p.indexOf(t[0])?(a=-1===c?.indexOf(t[0])?e[i-1]?e[i-1]:l:"static",e[i]=a):t[1]>d&&-1!==p.indexOf(t[0])&&(a=l)}),h()}function h(){var e=+window.innerHeight-(+i.css("top").slice(0,-2)+i.height()),t=+window.innerHeight-(+i.css("bottom").slice(0,-2)+i.height());"top"===n?(i.css({position:a}),""!==g&&g.css({position:a,top:o+"px",bottom:"auto","z-index":y,width:"100%"})):(i.css({position:a}),""!==g&&(g=g.find(".wpr-sticky-section-yes"),g.css({position:a,bottom:o+"px",top:"auto","z-index":y,width:"100%"})))}function u(){t("#wpadminbar").length&&(s=t("#wpadminbar").css("height").slice(0,t("#wpadminbar").css("height").length-2),"top"===n&&("fixed"==i.css("position")||"sticky"==i.css("position"))&&(i.css("top",+s+m+"px"),i.css("bottom","auto")))}var a,s,l=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-position-type"):i.attr("data-wpr-position-type"),n=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-position-location"):i.attr("data-wpr-position-location"),o=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-position-offset"):i.attr("data-wpr-position-offset"),d=t("body").prop("clientWidth")+17,p=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-sticky-devices"):i.attr("data-wpr-sticky-devices"),c=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-active-breakpoints"):i.attr("data-wpr-active-breakpoints"),f=!!(i.hasClass("wpr-sticky-section-yes")||i.find(".wpr-sticky-section-yes-editor")),m=+i.css("top").slice(0,-2),g=i.closest("div[data-elementor-type=\"wp-post\"]").length?i.closest("div[data-elementor-type=\"wp-post\"]"):"",y=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-z-index"):i.attr("data-wpr-z-index");if(i.find(".wpr-sticky-section-yes-editor").length||(l=i.attr("data-wpr-position-type"),n=i.attr("data-wpr-position-location"),o=i.attr("data-wpr-position-offset"),p=i.attr("data-wpr-sticky-devices"),c=i.attr("data-wpr-active-breakpoints"),y=i.attr("data-wpr-z-index")),0==p.length&&(l="static"),e.editorCheck()&&p){var w=i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-sticky-devices");i.attr("data-wpr-sticky-devices",w),p=i.attr("data-wpr-sticky-devices")}r(),u(),t(window).resize(function(){d=t("body").prop("clientWidth")+17,r()}),f||(a="static")}},widgetNavMenu:function(i){function r(){if(i.hasClass("wpr-mobile-menu-full-width")&&i.closest(".elementor-column").length){var e=i.closest(".elementor-column"),t=i.closest(".elementor-top-section").outerWidth()-2*d.offset().left,r=e.offset().left+parseInt(e.css("padding-left"),10);d.css({width:t+"px",left:-r+"px"})}}function a(e,t){!0===t?i.hasClass("wpr-sub-menu-fx-slide")?e.stop().slideDown():e.stop().fadeIn():i.hasClass("wpr-sub-menu-fx-slide")?e.stop().slideUp():e.stop().fadeOut()}var s=i.find(".wpr-nav-menu-container"),l=i.find(".wpr-mobile-nav-menu-container"),n=s.find(".wpr-nav-menu > li.menu-item-has-children"),o=s.find(".wpr-sub-menu li.menu-item-has-children");"click"===s.attr("data-trigger")?(n.children("a").on("click",function(r){var e=t(this).parent(),l=e.children(".wpr-sub-menu");n.not(e).removeClass("wpr-sub-open"),(s.hasClass("wpr-nav-menu-horizontal")||s.hasClass("wpr-nav-menu-vertical")&&i.hasClass("wpr-sub-menu-position-absolute"))&&a(n.children(".wpr-sub-menu"),!1),e.hasClass("wpr-sub-open")?(e.removeClass("wpr-sub-open"),a(l,!1)):(r.preventDefault(),e.addClass("wpr-sub-open"),a(l,!0))}),o.on("click",function(i){var e=t(this),r=e.children(".wpr-sub-menu");s.hasClass("wpr-nav-menu-horizontal")&&a(o.find(".wpr-sub-menu"),!1),e.hasClass("wpr-sub-open")?a(r,!1):(i.preventDefault(),a(r,!0))}),t(document).mouseup(function(t){n.is(t.target)||0!==n.has(t.target).length||(n.not().removeClass("wpr-sub-open"),a(n.children(".wpr-sub-menu"),!1)),o.is(t.target)||0!==o.has(t.target).length||(o.removeClass("wpr-sub-open"),a(o.children(".wpr-sub-menu"),!1))})):(n.on("mouseenter",function(){s.hasClass("wpr-nav-menu-vertical")&&i.hasClass("wpr-sub-menu-position-absolute")&&s.find("li").not(this).children(".wpr-sub-menu").hide(),a(t(this).children(".wpr-sub-menu"),!0)}),o.on("mouseenter",function(){a(t(this).children(".wpr-sub-menu"),!0)}),s.hasClass("wpr-nav-menu-horizontal")?(n.on("mouseleave",function(){a(t(this).children(".wpr-sub-menu"),!1)}),o.on("mouseleave",function(){a(t(this).children(".wpr-sub-menu"),!1)})):s.on("mouseleave",function(){a(t(this).find(".wpr-sub-menu"),!1)}));var d=l.find(".wpr-mobile-nav-menu");l.find(".wpr-mobile-toggle").on("click",function(){t(this).toggleClass("wpr-mobile-toggle-fx"),t(this).hasClass(".wpr-mobile-toggle-open")?(t(this).removeClass(".wpr-mobile-toggle-open"),t(this).trigger("focusout"),t(this).find(".wpr-mobile-toggle-text").length&&(t(this).children().eq(1).hide(),t(this).children().eq(0).show())):(t(this).addClass(".wpr-mobile-toggle-open"),t(this).find(".wpr-mobile-toggle-text").length&&(t(this).children().eq(0).hide(),t(this).children().eq(1).show())),t(this).parent().next().stop().slideToggle(),r()}),d.find(".sub-menu").removeClass("wpr-sub-menu").addClass("wpr-mobile-sub-menu"),d.find(".menu-item-has-children").children("a").on("click",function(i){var e=t(this).closest("li");e.hasClass("wpr-mobile-sub-open")?(e.removeClass("wpr-mobile-sub-open"),e.children(".wpr-mobile-sub-menu").first().stop().slideUp()):(i.preventDefault(),e.addClass("wpr-mobile-sub-open"),e.children(".wpr-mobile-sub-menu").first().stop().slideDown())}),r(),t(window).smartresize(function(){r()})},OnepageNav:function(e){function i(i){"yes"!==e.find(".wpr-onepage-nav").attr("data-highlight")||(e.find(".wpr-onepage-nav-item").children("a").removeClass("wpr-onepage-active-item"),t(".elementor-section").each(function(){var r=t(this).offset().top,a=r+t(this).outerHeight();i>=r&&i<a&&e.find(".wpr-onepage-nav-item").children("a[href=\"#"+t(this).attr("id")+"\"]").addClass("wpr-onepage-active-item")}))}e.find(".wpr-onepage-nav-item").on("click",function(e){e.preventDefault();var r=t(t(this).find("a").attr("href")),a=parseInt(t(this).parent().attr("data-speed"),10);t("body").animate({scrollTop:r.offset().top},a),i(t(window).scrollTop())}),"yes"===e.find(".wpr-onepage-nav").attr("data-highlight")&&setTimeout(function(){t(window).scroll()},10),t(window).scroll(function(){i(t(this).scrollTop())})},widgetGrid:function(r){function a(){if(r.find(".wpr-sharing-trigger").length){var e=r.find(".wpr-sharing-trigger"),i=r.find(".wpr-post-sharing-inner"),a=5;i.first().find("a").each(function(){a+=t(this).outerWidth()+parseInt(t(this).css("margin-right"),10)});var s=parseInt(i.find("a").css("margin-right"),10);"left"===e.attr("data-direction")?(i.css("width",a+"px"),i.css("left",-(s+a)+"px")):"right"===e.attr("data-direction")?(i.css("width",a+"px"),i.css("right",-(s+a)+"px")):"top"===e.attr("data-direction")?(i.find("a").css({"margin-right":"0","margin-top":s+"px"}),i.css({top:-s+"px",left:"50%","-webkit-transform":"translate(-50%, -100%)",transform:"translate(-50%, -100%)"})):"right"===e.attr("data-direction")?(i.css("width",a+"px"),i.css({left:s+"px"})):"bottom"===e.attr("data-direction")&&(i.find("a").css({"margin-right":"0","margin-bottom":s+"px"}),i.css({bottom:-s+"px",left:"50%","-webkit-transform":"translate(-50%, 100%)",transform:"translate(-50%, 100%)"})),"click"===e.attr("data-action")?e.on("click",function(){var e=t(this).next();"hidden"===e.css("visibility")?(e.css("visibility","visible"),e.find("a").css({opacity:"1",top:"0"}),setTimeout(function(){e.find("a").addClass("wpr-no-transition-delay")},100*e.find("a").length)):(e.find("a").removeClass("wpr-no-transition-delay"),e.find("a").css({opacity:"0",top:"-5px"}),setTimeout(function(){e.css("visibility","hidden")},100*e.find("a").length))}):(e.on("mouseenter",function(){var e=t(this).next();e.css("visibility","visible"),e.find("a").css({opacity:"1",top:"0"}),setTimeout(function(){e.find("a").addClass("wpr-no-transition-delay")},100*e.find("a").length)}),r.find(".wpr-grid-item-sharing").on("mouseleave",function(){var e=t(this).find(".wpr-post-sharing-inner");e.find("a").removeClass("wpr-no-transition-delay"),e.find("a").css({opacity:"0",top:"-5px"}),setTimeout(function(){e.css("visibility","hidden")},100*e.find("a").length)}))}}function s(){"yes"!==p.find(".wpr-grid-media-wrap").attr("data-overlay-link")||e.editorCheck()||(p.find(".wpr-grid-media-wrap").css("cursor","pointer"),p.find(".wpr-grid-media-wrap").on("click",function(e){var i=e.target.className;if(-1!==i.indexOf("inner-block")||-1!==i.indexOf("wpr-cv-inner")||-1!==i.indexOf("wpr-grid-media-hover")){e.preventDefault();var r=t(this).find(".wpr-grid-media-hover-bg").attr("data-url"),r=r.replace("#new_tab","");"_blank"===p.find(".wpr-grid-item-title a").attr("target")?window.open(r,"_blank").focus():window.location.href=r}}))}function l(i){if(-1!==r.find(".wpr-grid-item-lightbox").length){var a=r.find(".wpr-grid-item-lightbox"),s=a.find(".wpr-grid-lightbox-overlay").first();a.each(function(){var e=t(this).find(".inner-block > span").attr("data-src"),i=t(this).closest("article").not(".slick-cloned");p.hasClass("wpr-media-grid")||i.find(".wpr-grid-image-wrap").attr("data-src",e);var r=i.find(".wpr-grid-image-wrap").attr("data-src");typeof r!="undefined"&&!1!==r&&-1===r.indexOf("wp-content")&&i.find(".wpr-grid-image-wrap").attr("data-iframe","true")}),p.lightGallery(i.lightbox),p.on("onAfterOpen.lg",function(){t(".lg-outer").find(".lg-thumb-item").length&&t(".lg-outer").find(".lg-thumb-item").each(function(){var e=t(this).find("img").attr("src"),i=e,r=e.lastIndexOf("."),a=e.slice(r),s=e.lastIndexOf("-"),l=!!/\d{3,}x\d{3,}/.test(e.substring(r,s))&&e.substring(r,s);42<=e.substring(r,s).length&&(l=""),""!==l&&(!1===l?i=[e.slice(0,r),"-150x150",e.slice(r)].join(""):i=e.replace(l,"-150x150")),t(this).find("img").attr("src",i)})}),r.find(".wpr-grid").on("onAferAppendSlide.lg, onAfterSlide.lg",function(){var e=t("#lg-actual-size, #lg-zoom-in, #lg-zoom-out, #lg-download"),r=t("#lg-download").attr("href");t("#lg-download").length&&(-1===r.indexOf("wp-content")?e.addClass("wpr-hidden-element"):e.removeClass("wpr-hidden-element")),""===i.lightbox.autoplay&&t(".lg-autoplay-button").css({width:"0",height:"0",overflow:"hidden"})}),s.length?(r.find(".wpr-grid-media-hover-bg").after(s.remove()),r.find(".wpr-grid-lightbox-overlay").on("click",function(){e.editorCheck()?alert("Lightbox is Disabled in the Editor!"):t(this).closest("article").find(".wpr-grid-image-wrap").trigger("click")})):a.find(".inner-block > span").on("click",function(){if(!e.editorCheck()){var i=t(this).closest("article").find(".wpr-grid-image-wrap");i.trigger("click")}else alert("Lightbox is Disabled in the Editor!")})}}function n(){r.find(".wpr-post-like-button").length&&r.find(".wpr-post-like-button").on("click",function(){var e=t(this);return""!==e.attr("data-post-id")&&t.ajax({type:"POST",url:e.attr("data-ajax"),data:{action:"wpr_likes_init",post_id:e.attr("data-post-id"),nonce:e.attr("data-nonce")},beforeSend:function(){e.fadeTo(500,.5)},success:function(t){var i=e.attr("data-icon"),r=t.count;""===r.replace(/<\/?[^>]+(>|$)/g,"")?(r="<span class=\"wpr-post-like-count\">"+e.attr("data-text")+"</span>",!e.hasClass("wpr-likes-zero")&&e.addClass("wpr-likes-zero")):e.removeClass("wpr-likes-zero"),e.hasClass("wpr-already-liked")?(e.prop("title","Like"),e.removeClass("wpr-already-liked"),e.html("<i class=\""+i+"\"></i>"+r)):(e.prop("title","Unlike"),e.addClass("wpr-already-liked"),e.html("<i class=\""+i.replace("far","fas")+"\"></i>"+r)),e.fadeTo(500,1)}}),!1})}function o(e){for(var a,s,l,n,o=r.find(".wpr-grid"),d=o.find(".wpr-grid-item"),p=d.filter(":visible"),c=e.layout,f=e.media_align,m=e.media_width,g=e.media_distance,y=3,w=1,h=2,u=parseInt(e.columns_desktop,10),b=e.gutter_hr,T=e.gutter_vr,v=o.width()+b-.3,k=t("body").prop("clientWidth"),x=400,C=r.attr("class"),C=C.split(" "),_=0;_<C.length-1;_++)-1!==C[_].search(/mobile\d/)&&(w=C[_].slice(-1)),-1!==C[_].search(/mobile_extra\d/)&&(a=C[_].slice(-1)),-1!==C[_].search(/tablet\d/)&&(h=C[_].slice(-1)),-1!==C[_].search(/tablet_extra\d/)&&(s=C[_].slice(-1)),-1!==C[_].search(/widescreen\d/)&&(n=C[_].slice(-1)),-1!==C[_].search(/laptop\d/)&&(l=C[_].slice(-1));y=440>=k?w:768>=k?a?a:h:881>=k?h:1025>=k?s?s:h:1201>=k?l?l:u:1920>=k?u:2300>=k?u:2650>=k?n?n:u+1:3e3>=k?n?n:u+2:n?n:u+3,8<y&&(y=8),"string"==typeof y&&-1!==y.indexOf("pro")&&(y=3),d.outerWidth(Math.floor(v/y-b)),d.css("margin-bottom",T+"px"),1===y&&d.last().css("margin-bottom","0");var S=-1;if(p.each(function(){var e=t(this).outerHeight(),i=parseInt(t(this).css("top"),10);i>S&&(S=i)}),"fitRows"===c&&p.each(function(){parseInt(t(this).css("top"))===S&&t(this).addClass("rf-last-row")}),"list"===c){var z=d.find(".wpr-grid-image-wrap").outerHeight();if(d.find(".wpr-grid-item-below-content").css("min-height",z+"px"),480>t("body").prop("clientWidth"))d.find(".wpr-grid-media-wrap").css({float:"none",width:"100%"}),d.find(".wpr-grid-item-below-content").css({float:"none",width:"100%"}),d.find(".wpr-grid-image-wrap").css("padding","0"),d.find(".wpr-grid-item-below-content").css("min-height","0"),"zigzag"===f&&d.find("[class*=\"elementor-repeater-item\"]").css("text-align","center");else if("zigzag"!==f){d.find(".wpr-grid-media-wrap").css({float:f,width:m+"%"});var j="left"===f?"margin-right":"margin-left";d.find(".wpr-grid-media-wrap").css(j,g+"px"),d.find(".wpr-grid-item-below-content").css({float:f,width:"calc((100% - "+m+"%) - "+g+"px)"})}else d.filter(":even").find(".wpr-grid-media-wrap").css({float:"left",width:m+"%"}),d.filter(":even").find(".wpr-grid-item-below-content").css({float:"left",width:"calc((100% - "+m+"%) - "+g+"px)"}),d.filter(":even").find(".wpr-grid-media-wrap").css("margin-right",g+"px"),d.filter(":odd").find(".wpr-grid-media-wrap").css({float:"right",width:m+"%"}),d.filter(":odd").find(".wpr-grid-item-below-content").css({float:"right",width:"calc((100% - "+m+"%) - "+g+"px)"}),d.filter(":odd").find(".wpr-grid-media-wrap").css("margin-left",g+"px"),o.hasClass("wpr-grid-list-ready")||d.each(function(e){var i=t(this).find("[class*=\"elementor-repeater-item\"]");0==e%2?i.each(function(){if(!t(this).hasClass("wpr-grid-item-align-center")){"none"===t(this).css("float")?t(this).css("text-align","left"):t(this).css("float","left");t(this).find(".inner-block")}}):i.each(function(e){if(!t(this).hasClass("wpr-grid-item-align-center")){"none"===t(this).css("float")?t(this).css("text-align","right"):t(this).css("float","right");var i=t(this).find(".inner-block");"0px"!==i.css("margin-left")&&(i.css("margin-right",i.css("margin-left")),i.css("margin-left","0")),0===e&&"0px"!==i.css("margin-right")&&(i.css("margin-left",i.css("margin-right")),i.css("margin-right","0"))}})}),setTimeout(function(){o.hasClass("wpr-grid-list-ready")||o.addClass("wpr-grid-list-ready")},500)}"list"===c&&(c="fitRows"),"default"!==e.filters_animation&&(x=0);o.isotope({layoutMode:c,masonry:{comlumnWidth:v/y,gutter:b},fitRows:{comlumnWidth:v/y,gutter:b},transitionDuration:x,percentPosition:!0})}function d(e){if("yes"===e.filters_count&&r.find(".wpr-grid-filters a, .wpr-grid-filters span").each(function(){"*"===t(this).attr("data-filter")?t(this).find("sup").text(r.find(".wpr-grid-filters").next().find("article").length):t(this).find("sup").text(r.find(t(this).attr("data-filter")).length)}),"yes"!==e.filters_linkable){if("yes"===e.deeplinking){var i=window.location.hash.replace("#filter:",".");window.location.hash.match("#filter:all")&&(i="*");var a=r.find(".wpr-grid-filters span[data-filter=\""+i+"\"]:not(.wpr-back-filter)"),s=a.parent();"parent"===a.parent().attr("data-role")?s.parent("ul").find("ul[data-parent=\""+i+"\"]").length&&(s.parent("ul").children("li").css("display","none"),s.siblings("ul[data-parent=\""+i+"\"]").css("display","block")):"sub"===a.parent().attr("data-role")&&(s.closest(".wpr-grid-filters").children("li").css("display","none"),s.parent("ul").css("display","inline-block")),r.find(".wpr-grid-filters span").removeClass("wpr-active-filter"),a.addClass("wpr-active-filter"),r.find(".wpr-grid").isotope({filter:i}),e.lightbox.selector="*"===i?" .wpr-grid-image-wrap":i+" .wpr-grid-image-wrap",l(e)}"yes"===e.filters_hide_empty&&r.find(".wpr-grid-filters span").each(function(){var e=t(this).attr("data-filter");"*"!==e&&(0===p.find(e).length?t(this).parent("li").addClass("wpr-hidden-element"):t(this).parent("li").removeClass("wpr-hidden-element"))}),""!==e.filters_default_filter&&setTimeout(function(){r.find(".wpr-grid-filters").find("span[data-filter*=\"-"+e.filters_default_filter+"\"]")[0].click()},100),r.find(".wpr-grid-filters span").on("click",function(){var i=t(this).data("filter"),a=t(this).parent("li"),s=a.attr("data-role");if(r.find(".wpr-grid-filters span").removeClass("wpr-active-filter"),t(this).addClass("wpr-active-filter"),"parent"===s?a.parent("ul").find("ul[data-parent=\""+i+"\"]").length&&(a.parent("ul").children("li").css("display","none"),a.siblings("ul[data-parent=\""+i+"\"]").css("display","block")):"back"===s&&(a.closest(".wpr-grid-filters").children("li").css("display","inline-block"),a.parent().css("display","none")),"yes"===e.deeplinking){var l="#filter:"+i.replace(".","");"*"===i&&(l="#filter:all"),window.location.href=window.location.pathname+window.location.search+l}"infinite-scroll"===e.pagination_type&&0===p.find(t(this).attr("data-filter")).length&&r.find(".wpr-grid").infiniteScroll("loadNextPage"),"default"!==e.filters_animation&&r.find(".wpr-grid-item-inner").css({opacity:"0",transition:"none"}),"fade-slide"===e.filters_animation?r.find(".wpr-grid-item-inner").css("top","20px"):"zoom"===e.filters_animation?r.find(".wpr-grid-item-inner").css("transform","scale(0.01)"):r.find(".wpr-grid-item-inner").css({top:"0",transform:"scale(1)"}),r.find(".wpr-grid").isotope({filter:i}),e.lightbox.selector="*"===i?" .wpr-grid-image-wrap":i+" .wpr-grid-image-wrap",p.data("lightGallery").destroy(!0),p.lightGallery(e.lightbox)})}}var p=r.find(".wpr-grid");if(p.length){var c=p.attr("data-settings");if("undefined"==typeof c||!1===c){p.animate({opacity:"1"},1e3);var f=r.attr("class"),m=f.match(/wpr-grid-slider-columns-\d/)?f.match(/wpr-grid-slider-columns-\d/).join().slice(-1):2,g=f.match(/columns--widescreen\d/)?f.match(/columns--widescreen\d/).join().slice(-1):m,y=f.match(/columns--laptop\d/)?f.match(/columns--laptop\d/).join().slice(-1):m,w=f.match(/columns--tablet_extra\d/)?f.match(/columns--tablet_extra\d/).join().slice(-1):h,h=f.match(/columns--tablet\d/)?f.match(/columns--tablet\d/).join().slice(-1):2,u=f.match(/columns--mobile_extra\d/)?f.match(/columns--mobile_extra\d/).join().slice(-1):h,b=f.match(/columns--mobile\d/)?f.match(/columns--mobile\d/).join().slice(-1):1,T=f.match(/wpr-grid-slides-to-scroll-\d/)?+f.match(/wpr-grid-slides-to-scroll-\d/).join().slice(-1):1;if(p.slick({appendDots:r.find(".wpr-grid-slider-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-grid-slider-dot\"></span>"},slidesToShow:m,responsive:[{breakpoint:1e4,settings:{slidesToShow:g,slidesToScroll:T>g?1:T}},{breakpoint:2399,settings:{slidesToShow:m,slidesToScroll:T>m?1:T}},{breakpoint:1221,settings:{slidesToShow:y,slidesToScroll:T>y?1:T}},{breakpoint:1200,settings:{slidesToShow:w,slidesToScroll:T>w?1:T}},{breakpoint:1024,settings:{slidesToShow:h,slidesToScroll:T>h?1:T}},{breakpoint:880,settings:{slidesToShow:u,slidesToScroll:T>u?1:T}},{breakpoint:768,settings:{slidesToShow:b,slidesToScroll:T>b?1:T}}]}),r.find(".slick-dots").length&&r.hasClass("wpr-grid-slider-dots-horizontal")){var v=r.find(".slick-dots li").outerWidth()*r.find(".slick-dots li").length-parseInt(r.find(".slick-dots li span").css("margin-right"),10);r.find(".slick-dots").length&&r.find(".slick-dots").css("width",v),t(window).on("resize",function(){setTimeout(function(){var e=r.find(".slick-dots li").outerWidth()*r.find(".slick-dots li").length-parseInt(r.find(".slick-dots li span").css("margin-right"),10);r.find(".slick-dots").css("width",e)},300)})}c=JSON.parse(p.attr("data-slick"))}else if(c=JSON.parse(p.attr("data-settings")),o(c),setTimeout(function(){o(c)},100),e.editorCheck()&&(setTimeout(function(){o(c)},500),setTimeout(function(){o(c)},1e3)),t(window).on("load",function(){setTimeout(function(){o(c)},100)}),t(window).smartresize(function(){setTimeout(function(){o(c)},200)}),d(c),p.on("arrangeComplete",function(e,i){var a=0,s=0,l=c.animation_delay,n=c.animation_duration,o=c.filters_animation_duration;if(p.hasClass("grid-images-loaded"))l=0;else if(p.css("opacity","1"),"default"===c.animation&&"default"===c.filters_animation)return;for(var d in i){l+=c.animation_delay,r.find(i[d].element).find(".wpr-grid-item-inner").css({opacity:"1",top:"0",transform:"scale(1)",transition:"all "+n+"s ease-in "+l+"s"}),s+=c.filters_animation_delay,p.hasClass("grid-images-loaded")&&r.find(i[d].element).find(".wpr-grid-item-inner").css({transition:"all "+o+"s ease-in "+s+"s"});var f=window.location.hash;0<=f.indexOf("#filter:")&&0>f.indexOf("#filter:*")&&(f=f.replace("#filter:",""),r.find(i[d].element).filter(function(){if(t(this).hasClass(f))return a+=c.filters_animation_delay,t(this)}).find(".wpr-grid-item-inner").css({"transition-delay":a+"s"}))}}),p.imagesLoaded().progress(function(){"1"!==p.css("opacity")&&p.css("opacity","1"),setTimeout(function(){p.addClass("grid-images-loaded")},500)}),("load-more"===c.pagination_type||"infinite-scroll"===c.pagination_type)&&r.find(".wpr-grid-pagination").length&&!e.editorCheck()){var k=r.find(".wpr-grid-pagination"),x=".elementor-element-"+r.attr("data-id"),C=!1,_=!1;"infinite-scroll"===c.pagination_type&&(_=300,C=x+" .wpr-load-more-btn"),p.infiniteScroll({path:x+" .wpr-grid-pagination a",hideNav:C,append:!1,history:!1,scrollThreshold:_,status:x+" .page-load-status",onInit:function(){this.on("load",function(){p.removeClass("grid-images-loaded")})}}),p.on("request.infiniteScroll",function(){k.find(".wpr-load-more-btn").hide(),k.find(".wpr-pagination-loading").css("display","inline-block")});var S=0;p.on("load.infiniteScroll",function(e,i){S++;var r=t(i).find(x).find(".wpr-grid-item");p.infiniteScroll("appendItems",r),p.isotope("appended",r),r.imagesLoaded().progress(function(){o(c),setTimeout(function(){o(c),d(c)},10),setTimeout(function(){p.addClass("grid-images-loaded")},500)}),k.find(".wpr-pagination-loading").hide(),c.pagination_max_pages-1===S?(k.find(".wpr-pagination-finish").fadeIn(1e3),k.delay(2e3).fadeOut(1e3),setTimeout(function(){k.find(".wpr-pagination-loading").hide()},500)):"load-more"===c.pagination_type&&k.find(".wpr-load-more-btn").fadeIn(),setTimeout(function(){n(c)},300),l(c),p.data("lightGallery").destroy(!0),p.lightGallery(c.lightbox),s(),a()}),k.find(".wpr-load-more-btn").on("click",function(){return p.infiniteScroll("loadNextPage"),!1})}if(p.find(".wpr-grid-item-add-to-cart").length){var z=p.find(".wpr-grid-item-add-to-cart").find("i"),j=z.attr("class");z.length&&(j=j.substring(j.indexOf("fa-"),j.length)),t("body").on("adding_to_cart",function(e,t){t.fadeTo("slow",.5)}),t("body").on("added_to_cart",function(e,t,i,r){r.fadeTo("slow",1),z.length&&(r.find("i").removeClass(j).addClass("fa-check"),setTimeout(function(){r.find("i").removeClass("fa-check").addClass(j)},3500))})}a(),s(),l(c),n(c)}},widgetMagazineGrid:function(i){var r=i.find(".wpr-magazine-grid-wrap"),a=r.attr("data-slick"),s=r.attr("data-slide-effect");if(typeof a!="undefined"&&!1!==a&&r.slick({fade:"fade"===s}),"yes"!==r.find(".wpr-grid-media-wrap").attr("data-overlay-link")||e.editorCheck()||(r.find(".wpr-grid-media-wrap").css("cursor","pointer"),r.find(".wpr-grid-media-wrap").on("click",function(e){var i=e.target.className;(-1!==i.indexOf("inner-block")||-1!==i.indexOf("wpr-cv-inner")||-1!==i.indexOf("wpr-grid-media-hover"))&&(e.preventDefault(),window.location.href=t(this).find(".wpr-grid-media-hover-bg").attr("data-url"))})),i.find(".wpr-sharing-trigger").length){var l=i.find(".wpr-sharing-trigger"),n=i.find(".wpr-post-sharing-inner"),o=5;n.first().find("a").each(function(){o+=t(this).outerWidth()+parseInt(t(this).css("margin-right"),10)});var d=parseInt(n.find("a").css("margin-right"),10);"left"===l.attr("data-direction")?(n.css("width",o+"px"),n.css("left",-(d+o)+"px")):"right"===l.attr("data-direction")?(n.css("width",o+"px"),n.css("right",-(d+o)+"px")):"top"===l.attr("data-direction")?(n.find("a").css({"margin-right":"0","margin-top":d+"px"}),n.css({top:-d+"px",left:"50%","-webkit-transform":"translate(-50%, -100%)",transform:"translate(-50%, -100%)"})):"right"===l.attr("data-direction")?(n.css("width",o+"px"),n.css({left:d+"px"})):"bottom"===l.attr("data-direction")&&(n.find("a").css({"margin-right":"0","margin-bottom":d+"px"}),n.css({bottom:-d+"px",left:"50%","-webkit-transform":"translate(-50%, 100%)",transform:"translate(-50%, 100%)"})),"click"===l.attr("data-action")?l.on("click",function(){var e=t(this).next();"hidden"===e.css("visibility")?(e.css("visibility","visible"),e.find("a").css({opacity:"1",top:"0"}),setTimeout(function(){e.find("a").addClass("wpr-no-transition-delay")},100*e.find("a").length)):(e.find("a").removeClass("wpr-no-transition-delay"),e.find("a").css({opacity:"0",top:"-5px"}),setTimeout(function(){e.css("visibility","hidden")},100*e.find("a").length))}):(l.on("mouseenter",function(){var e=t(this).next();e.css("visibility","visible"),e.find("a").css({opacity:"1",top:"0"}),setTimeout(function(){e.find("a").addClass("wpr-no-transition-delay")},100*e.find("a").length)}),i.find(".wpr-grid-item-sharing").on("mouseleave",function(){var e=t(this).find(".wpr-post-sharing-inner");e.find("a").removeClass("wpr-no-transition-delay"),e.find("a").css({opacity:"0",top:"-5px"}),setTimeout(function(){e.css("visibility","hidden")},100*e.find("a").length)}))}i.find(".wpr-post-like-button").length&&i.find(".wpr-post-like-button").on("click",function(){var e=t(this);return""!==e.attr("data-post-id")&&t.ajax({type:"POST",url:e.attr("data-ajax"),data:{action:"wpr_likes_init",post_id:e.attr("data-post-id"),nonce:e.attr("data-nonce")},beforeSend:function(){e.fadeTo(500,.5)},success:function(t){var i=e.attr("data-icon"),r=t.count;""===r.replace(/<\/?[^>]+(>|$)/g,"")?(r="<span class=\"wpr-post-like-count\">"+e.attr("data-text")+"</span>",!e.hasClass("wpr-likes-zero")&&e.addClass("wpr-likes-zero")):e.removeClass("wpr-likes-zero"),e.hasClass("wpr-already-liked")?(e.prop("title","Like"),e.removeClass("wpr-already-liked"),e.html("<i class=\""+i+"\"></i>"+r)):(e.prop("title","Unlike"),e.addClass("wpr-already-liked"),e.html("<i class=\""+i.replace("far","fas")+"\"></i>"+r)),e.fadeTo(500,1)}}),!1})},widgetFeaturedMedia:function(i){var r=i.find(".wpr-gallery-slider"),a=r.attr("data-slick");r.animate({opacity:"1"},1e3),"[]"!==a&&r.slick({appendDots:i.find(".wpr-gallery-slider-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-gallery-slider-dot\"></span>"}});var s=t(".wpr-featured-media-image").attr("data-lightbox");if(typeof s!=typeof void 0&&!1!==s&&!e.editorCheck()){var l=i.find(".wpr-featured-media-wrap");s=JSON.parse(s),l.lightGallery(s),l.on("onAferAppendSlide.lg, onAfterSlide.lg",function(){var e=t("#lg-actual-size, #lg-zoom-in, #lg-zoom-out, #lg-download"),i=t("#lg-download").attr("href");t("#lg-download").length&&(-1===i.indexOf("wp-content")?e.addClass("wpr-hidden-element"):e.removeClass("wpr-hidden-element")),""===s.autoplay&&t(".lg-autoplay-button").css({width:"0",height:"0",overflow:"hidden"})})}},widgetProductMedia:function(i){var r=i.find(".wpr-product-media-image"),a=i.find(".wpr-gallery-slider"),s=a.attr("data-slick");if(a.animate({opacity:"1"},1e3),"[]"!==s&&a.length){var s=JSON.parse(s);if(a.slick(),"yes"===s.thumbnail_nav){var l=i.find(".wpr-product-thumb-nav");l.slick(),l.find("li").on("click",function(){var e=t(this).attr("data-slick-index");t(this).siblings().removeClass("slick-current"),t(this).addClass("slick-current"),a.slick("slickGoTo",parseInt(e,10))})}}var n=t(".wpr-product-media-image").attr("data-lightbox");if(typeof n!="undefined"&&!1!==n&&!e.editorCheck()){var o=i.find(".wpr-product-media-wrap");n=JSON.parse(n),o.lightGallery(n),o.on("onAferAppendSlide.lg, onAfterSlide.lg",function(){var e=t("#lg-actual-size, #lg-zoom-in, #lg-zoom-out, #lg-download"),i=t("#lg-download").attr("href");t("#lg-download").length&&(-1===i.indexOf("wp-content")?e.addClass("wpr-hidden-element"):e.removeClass("wpr-hidden-element")),""===n.autoplay&&t(".lg-autoplay-button").css({width:"0",height:"0",overflow:"hidden"})})}i.hasClass("wpr-gallery-zoom-yes")&&r.on("mousemove",function(e){var i=100*((e.pageX-t(this).offset().left)/t(this).width()),r=100*((e.pageY-t(this).offset().top)/t(this).height());t(this).children("img").css({"transform-origin":i+"% "+r+"%"})})},widgetCountDown:function(i){function r(){var e=d-new Date,r={days:Math.floor(e/86400000),hours:Math.floor(e/3600000%24),minutes:Math.floor(e/1e3/60%60),seconds:Math.floor(e/1e3%60)};(0>r.days||0>r.hours||0>r.minutes)&&(r={days:0,hours:0,minutes:0,seconds:0}),i.find(".wpr-countdown-number").each(function(){var e=r[t(this).attr("data-item")];1===e.toString().length&&(e="0"+e),t(this).text(e);var i=t(this).next();if(i.length&&!t(this).hasClass("wpr-countdown-seconds")){var a=i.data("text");"01"==e?i.text(a.singular):i.text(a.plural)}}),0>e&&(clearInterval(l),a())}function a(){var r=s.data("actions");e.editorCheck()||(r.hasOwnProperty("hide-timer")&&s.hide(),r.hasOwnProperty("hide-element")&&t(r["hide-element"]).hide(),r.hasOwnProperty("message")&&!i.children(".elementor-widget-container").children(".wpr-countdown-message").length&&s.after("<div class=\"wpr-countdown-message\">"+r.message+"</div>"),r.hasOwnProperty("redirect")&&(window.location.href=r.redirect),r.hasOwnProperty("load-template")&&s.parent().find(".elementor-inner").parent().show())}var s=i.children(".elementor-widget-container").children(".wpr-countdown-wrap"),l=null,n=s.data("interval"),o=s.data("show-again"),d=new Date(1e3*n);if("evergreen"===s.data("type")){var p=new Date,c=i.attr("data-id"),f=JSON.parse(localStorage.getItem("WprCountDownSettings"))||{};d=f.hasOwnProperty(c)?0===Object.keys(f).length||n!==f[c].interval?p.setSeconds(p.getSeconds()+n):f[c].endTime:p.setSeconds(p.getSeconds()+n),d+o<p.setSeconds(p.getSeconds())&&(d=p.setSeconds(p.getSeconds()+n)),f[c]={interval:n,endTime:d},localStorage.setItem("WprCountDownSettings",JSON.stringify(f))}r(),e.editorCheck()||(l=setInterval(r,1e3))},widgetGoogleMaps:function(e){function t(e,t){var i="<div class=\"wpr-gm-iwindow\"><h3>"+t.gm_location_title+"</h3><p>"+t.gm_location_description+"</p></div>",r=new google.maps.InfoWindow({content:i,maxWidth:t.gm_info_window_width.size});"load"===t.gm_show_info_window?r.open(p,e):e.addListener("click",function(){r.open(p,e)})}function r(e){var t;switch(e.style){case"simple":t=JSON.parse("[{\"featureType\":\"road\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#fffffa\"}]},{\"featureType\":\"water\",\"stylers\":[{\"lightness\":50}]},{\"featureType\":\"road\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":40}]}]");break;case"white-black":t=JSON.parse("[{\"featureType\":\"road\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"on\"}]},{\"featureType\":\"poi\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"administrative\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"},{\"weight\":1}]},{\"featureType\":\"road\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"weight\":0.8}]},{\"featureType\":\"landscape\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"water\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"stylers\":[{\"visibility\":\"off\"}]},{\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"elementType\":\"labels.text\",\"stylers\":[{\"visibility\":\"on\"}]},{\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#000000\"}]},{\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"on\"}]}]");break;case"light-silver":t=JSON.parse("[{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#e9e9e9\"},{\"lightness\":17}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#f5f5f5\"},{\"lightness\":20}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"},{\"lightness\":17}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#ffffff\"},{\"lightness\":29},{\"weight\":0.2}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#ffffff\"},{\"lightness\":18}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#ffffff\"},{\"lightness\":16}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#f5f5f5\"},{\"lightness\":21}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#dedede\"},{\"lightness\":21}]},{\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#ffffff\"},{\"lightness\":16}]},{\"elementType\":\"labels.text.fill\",\"stylers\":[{\"saturation\":36},{\"color\":\"#333333\"},{\"lightness\":40}]},{\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#f2f2f2\"},{\"lightness\":19}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#fefefe\"},{\"lightness\":20}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#fefefe\"},{\"lightness\":17},{\"weight\":1.2}]}]");break;case"light-grayscale":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"weight\":\"2.00\"}]},{\"featureType\":\"all\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#9c9c9c\"}]},{\"featureType\":\"all\",\"elementType\":\"labels.text\",\"stylers\":[{\"visibility\":\"on\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#f2f2f2\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"landscape.man_made\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":45}]},{\"featureType\":\"road\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#eeeeee\"}]},{\"featureType\":\"road\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#7b7b7b\"}]},{\"featureType\":\"road\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#46bcec\"},{\"visibility\":\"on\"}]},{\"featureType\":\"water\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#c8d7d4\"}]},{\"featureType\":\"water\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#070707\"}]},{\"featureType\":\"water\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#ffffff\"}]}]");break;case"subtle-grayscale":t=JSON.parse("[{\"featureType\":\"administrative\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":\"-100\"}]},{\"featureType\":\"administrative.province\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":65},{\"visibility\":\"on\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":\"50\"},{\"visibility\":\"simplified\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":\"-100\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"all\",\"stylers\":[{\"lightness\":\"30\"}]},{\"featureType\":\"road.local\",\"elementType\":\"all\",\"stylers\":[{\"lightness\":\"40\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"visibility\":\"simplified\"}]},{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"hue\":\"#ffff00\"},{\"lightness\":-25},{\"saturation\":-97}]},{\"featureType\":\"water\",\"elementType\":\"labels\",\"stylers\":[{\"lightness\":-25},{\"saturation\":-100}]}]");break;case"mostly-white":t=JSON.parse("[{\"featureType\":\"administrative\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#6195a0\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#f2f2f2\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#e6f3d6\"},{\"visibility\":\"on\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":45},{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#f4d2c5\"},{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"labels.text\",\"stylers\":[{\"color\":\"#4e4e4e\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#f4f4f4\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#787878\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#eaf6f8\"},{\"visibility\":\"on\"}]},{\"featureType\":\"water\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#eaf6f8\"}]}]");break;case"mostly-green":t=JSON.parse("[{\"featureType\":\"landscape.man_made\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#f7f1df\"}]},{\"featureType\":\"landscape.natural\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#d0e3b4\"}]},{\"featureType\":\"landscape.natural.terrain\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi.business\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi.medical\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#fbd3da\"}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#bde6ab\"}]},{\"featureType\":\"road\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffe15f\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#efd151\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"black\"}]},{\"featureType\":\"transit.station.airport\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#cfb2db\"}]},{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#a2daf2\"}]}]");break;case"neutral-blue":t=JSON.parse("[{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#193341\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#2c5a71\"}]},{\"featureType\":\"road\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#29768a\"},{\"lightness\":-37}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#406d80\"}]},{\"featureType\":\"transit\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#406d80\"}]},{\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#3e606f\"},{\"weight\":2},{\"gamma\":0.84}]},{\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry\",\"stylers\":[{\"weight\":0.6},{\"color\":\"#1a3541\"}]},{\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#2c5a71\"}]}]");break;case"blue-water":t=JSON.parse("[{\"featureType\":\"administrative\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#444444\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#f2f2f2\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":45}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#46bcec\"},{\"visibility\":\"on\"}]}]");break;case"blue-essense":t=JSON.parse("[{\"featureType\":\"landscape.natural\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#e0efef\"}]},{\"featureType\":\"poi\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"visibility\":\"on\"},{\"hue\":\"#1900ff\"},{\"color\":\"#c0e8e8\"}]},{\"featureType\":\"road\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":100},{\"visibility\":\"simplified\"}]},{\"featureType\":\"road\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit.line\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"on\"},{\"lightness\":700}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#7dcdcd\"}]}]");break;case"golden-brown":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#ff7000\"},{\"lightness\":\"69\"},{\"saturation\":\"100\"},{\"weight\":\"1.17\"},{\"gamma\":\"2.04\"}]},{\"featureType\":\"all\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#cb8536\"}]},{\"featureType\":\"all\",\"elementType\":\"labels\",\"stylers\":[{\"color\":\"#ffb471\"},{\"lightness\":\"66\"},{\"saturation\":\"100\"}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"gamma\":0.01},{\"lightness\":20}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"saturation\":-31},{\"lightness\":-33},{\"weight\":2},{\"gamma\":0.8}]},{\"featureType\":\"all\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"lightness\":\"-8\"},{\"gamma\":\"0.98\"},{\"weight\":\"2.45\"},{\"saturation\":\"26\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":30},{\"saturation\":30}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"saturation\":20}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":20},{\"saturation\":-20}]},{\"featureType\":\"road\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":10},{\"saturation\":-30}]},{\"featureType\":\"road\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"saturation\":25},{\"lightness\":25}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"lightness\":-20},{\"color\":\"#ecc080\"}]}]");break;case"midnight-commander":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":13}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#144b53\"},{\"lightness\":14},{\"weight\":1.4}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#08304b\"}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#0c4152\"},{\"lightness\":5}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#0b434f\"},{\"lightness\":25}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#0b3d51\"},{\"lightness\":16}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#146474\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#021019\"}]}]");break;case"shades-of-grey":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"saturation\":36},{\"color\":\"#000000\"},{\"lightness\":40}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#000000\"},{\"lightness\":16}]},{\"featureType\":\"all\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":20}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17},{\"weight\":1.2}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":20}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":21}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":29},{\"weight\":0.2}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":18}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":16}]},{\"featureType\":\"transit\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":19}]},{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17}]}]");break;case"yellow-black":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"on\"}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"saturation\":36},{\"color\":\"#000000\"},{\"lightness\":40}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#000000\"},{\"lightness\":16}]},{\"featureType\":\"all\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":20}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17},{\"weight\":1.2}]},{\"featureType\":\"administrative.country\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#e5c163\"}]},{\"featureType\":\"administrative.locality\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#c4c4c4\"}]},{\"featureType\":\"administrative.neighborhood\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#e5c163\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":20}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":21},{\"visibility\":\"on\"}]},{\"featureType\":\"poi.business\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"on\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#e5c163\"},{\"lightness\":\"0\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#e5c163\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":18}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#575757\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#2c2c2c\"}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":16}]},{\"featureType\":\"road.local\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#999999\"}]},{\"featureType\":\"transit\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":19}]},{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17}]}]");break;case"custom":t=JSON.parse(e.custom_style);break;default:t="";}return t}for(var a=e.find(".wpr-google-map"),s=a.data("settings"),l=a.data("controls"),n=a.data("locations"),o=[],d=new google.maps.LatLngBounds,p=new google.maps.Map(a[0],{mapTypeId:s.type,styles:r(s),zoom:s.zoom_depth,gestureHandling:s.zoom_on_scroll,mapTypeControl:l.type,fullscreenControl:l.fullscreen,zoomControl:l.zoom,streetViewControl:l.streetview}),c=0;c<n.length;c++){var f=n[c],m="",g=f.gm_marker_icon_size_width.size,y=f.gm_marker_icon_size_height.size;if(""!=f.gm_latitude&&""!=f.gm_longtitude){"yes"===f.gm_custom_marker&&(m={url:f.gm_marker_icon.url,scaledSize:new google.maps.Size(g,y)});var w=new google.maps.Marker({map:p,position:new google.maps.LatLng(parseFloat(f.gm_latitude),parseFloat(f.gm_longtitude)),animation:google.maps.Animation[f.gm_marker_animation],icon:m});"none"!==f.gm_show_info_window&&t(w,f),o.push(w),d.extend(w.position)}}if(1<n.length?p.fitBounds(d):p.setCenter(d.getCenter()),"yes"===s.cluster_markers)new MarkerClusterer(p,o,{imagePath:s.clusters_url})},widgetBeforeAfter:function(e){function i(){var e=r.find(".wpr-ba-label-1 div"),t=r.find(".wpr-ba-label-2 div");if(e.length||t.length)if(r.hasClass("wpr-ba-horizontal")){var i=e.position().left+e.outerWidth(),a=t.position().left+t.outerWidth();i+15>=parseInt(l.css("left"),10)?e.stop().css("opacity",0):e.stop().css("opacity",1),r.outerWidth()-(a+15)<=parseInt(l.css("left"),10)?t.stop().css("opacity",0):t.stop().css("opacity",1)}else{var i=e.position().top+e.outerHeight(),a=t.position().top+t.outerHeight();i+15>=parseInt(l.css("top"),10)?e.stop().css("opacity",0):e.stop().css("opacity",1),r.outerHeight()-(a+15)<=parseInt(l.css("top"),10)?t.stop().css("opacity",0):t.stop().css("opacity",1)}}var r=e.find(".wpr-ba-image-container"),a=r.find(".wpr-ba-image-1"),s=r.find(".wpr-ba-image-2"),l=r.find(".wpr-ba-divider"),n=r.attr("data-position");r.hasClass("wpr-ba-horizontal")?(l.css("left",n+"%"),s.css("left",n+"%"),s.find("img").css("right",n+"%"),l.on("move",function(t){var e=t.pageX-r.offset().left;l.css({left:"auto",right:"auto"}),s.css({left:"auto",right:"auto"}),0<e&&e<r.outerWidth()?(l.css("left",e),s.css("left",e),s.find("img").css("right",e)):0>=e?(l.css("left",0),s.css("left",0),s.find("img").css("right",0)):e>=r.outerWidth()&&(l.css("right",-l.outerWidth()/2),s.css("right",0),s.find("img").css("right","100%")),i()})):(l.css("top",n+"%"),s.css("top",n+"%"),s.find("img").css("bottom",n+"%"),l.on("move",function(t){var e=t.pageY-r.offset().top;l.css({top:"auto",bottom:"auto"}),s.css({top:"auto",bottom:"auto"}),0<e&&e<r.outerHeight()?(l.css("top",e),s.css("top",e),s.find("img").css("bottom",e)):0>=e?(l.css("top",0),s.css("top",0),s.find("img").css("bottom",0)):e>=r.outerHeight()&&(l.css("bottom",-l.outerHeight()/2),s.css("bottom",0),s.find("img").css("bottom","100%")),i()})),"mouse"===r.attr("data-trigger")&&r.on("mousemove",function(e){if(r.hasClass("wpr-ba-horizontal")){var a=e.pageX-t(this).offset().left;l.css("left",a),s.css("left",a),s.find("img").css("right",a)}else{var a=e.pageY-t(this).offset().top;l.css("top",a),s.css("top",a),s.find("img").css("bottom",a)}i()}),i()},widgetMailchimp:function(e){var i=e.find("form");i.on("submit",function(r){r.preventDefault();var a=t(this).find("button").text();t(this).find("button").text(t(this).find("button").data("loading")),t.ajax({url:WprConfig.ajaxurl,type:"POST",data:{action:"mailchimp_subscribe",fields:t(this).serialize(),apiKey:i.data("api-key"),listId:i.data("list-id")},success:function(t){i.find("button").text(a),"subscribed"===t.status?e.find(".wpr-mailchimp-success-message").show():e.find(".wpr-mailchimp-error-message").show(),e.find(".wpr-mailchimp-message").fadeIn()}})})},widgetAdvancedSlider:function(e){function i(){var e,t,i=l.find(".wpr-slider-item").outerWidth(),r=l.find(".wpr-slider-item").outerHeight(),a=16/9,s=0,n=0;i/r>a?(t=i,e=t/a,s="-"+(e-r)/2+"px"):(e=r,t=e*a,n="-"+(t-i)/2+"px"),l.find("iframe").css({width:t+"px",height:e+"px","max-width":"none",position:"absolute",left:n+"",top:s+"",display:"block","text-align":"inherit","line-height":"0px","border-width":"0px",margin:"0px",padding:"0px"})}function r(){l.find(".slick-active").each(function(){var e=t(this).attr("data-video-src"),r=t(this).attr("data-video-autoplay");1!==t(this).find(".wpr-slider-video").length&&"yes"===r&&(1==d?t(this).find(".wpr-cv-inner").prepend("<div class=\"wpr-slider-video\"><iframe src=\""+e+"\" width=\"100%\" height=\"100%\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe></div>"):t(this).find(".wpr-cv-container").prepend("<div class=\"wpr-slider-video\"><iframe src=\""+e+"\" width=\"100%\" height=\"100%\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe></div>"),i())})}function a(){1==d&&l.find(".wpr-slider-item").not(".slick-active").find(".wpr-slider-animation").removeClass("wpr-animation-enter")}function s(){l.find(".slick-active").find(".wpr-slider-content").fadeIn(0),1==d&&l.find(".slick-active").find(".wpr-slider-animation").addClass("wpr-animation-enter")}var l=e.find(".wpr-advanced-slider"),n=l.data("slick"),o=e.attr("class"),d=o.match(/wpr-adv-slider-columns-\d/)?o.match(/wpr-adv-slider-columns-\d/).join().slice(-1):2,p=o.match(/columns--widescreen\d/)?o.match(/columns--widescreen\d/).join().slice(-1):d,c=o.match(/columns--laptop\d/)?o.match(/columns--laptop\d/).join().slice(-1):d,f=o.match(/columns--tablet_extra\d/)?o.match(/columns--tablet_extra\d/).join().slice(-1):m,m=o.match(/columns--tablet\d/)?o.match(/columns--tablet\d/).join().slice(-1):2,g=o.match(/columns--mobile_extra\d/)?o.match(/columns--mobile_extra\d/).join().slice(-1):m,y=o.match(/columns--mobile\d/)?o.match(/columns--mobile\d/).join().slice(-1):1,w=+o.match(/wpr-adv-slides-to-scroll-\d/).join().slice(-1),h=l.attr("data-slide-effect");if(l.slick({appendArrows:e.find(".wpr-slider-controls"),appendDots:e.find(".wpr-slider-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-slider-dot\"></span>"},slidesToShow:d,responsive:[{breakpoint:1e4,settings:{slidesToShow:p,slidesToScroll:w>p?1:w,fade:1==p&&"fade"===h}},{breakpoint:2399,settings:{slidesToShow:d,slidesToScroll:w>d?1:w,fade:1==d&&"fade"===h}},{breakpoint:1221,settings:{slidesToShow:c,slidesToScroll:w>c?1:w,fade:1==c&&"fade"===h}},{breakpoint:1200,settings:{slidesToShow:f,slidesToScroll:w>f?1:w,fade:1==f&&"fade"===h}},{breakpoint:1024,settings:{slidesToShow:m,slidesToScroll:w>m?1:w,fade:1==m&&"fade"===h}},{breakpoint:880,settings:{slidesToShow:g,slidesToScroll:w>g?1:w,fade:1==g&&"fade"===h}},{breakpoint:768,settings:{slidesToShow:y,slidesToScroll:w>y?1:w,fade:1==y&&"fade"===h}}]}),t(window).on("load resize",function(){i()}),r(),s(),l.find(".wpr-slider-video-btn").on("click",function(){var e=t(this).closest(".slick-active"),r=e.attr("data-video-src");1!==e.find(".wpr-slider-video").length&&(e.find(".wpr-cv-container").prepend("<div class=\"wpr-slider-video\"><iframe src=\""+r+"\" width=\"100%\" height=\"100%\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe></div>"),i(),e.find(".wpr-slider-content").fadeOut(300))}),l.on({beforeChange:function(){l.find(".wpr-slider-item").not(".slick-active").find(".wpr-slider-video").remove(),l.find(".wpr-animation-enter").find(".wpr-slider-content").fadeOut(300),a()},afterChange:function(){s(),r()}}),e.find(".slick-dots").length&&e.hasClass("wpr-slider-dots-horizontal")){var u=e.find(".slick-dots li").outerWidth()*e.find(".slick-dots li").length-parseInt(e.find(".slick-dots li span").css("margin-right"),10);e.find(".slick-dots").length&&e.find(".slick-dots").css("width",u),t(window).on("resize",function(){setTimeout(function(){var t=e.find(".slick-dots li").outerWidth()*e.find(".slick-dots li").length-parseInt(e.find(".slick-dots li span").css("margin-right"),10);e.find(".slick-dots").css("width",t)},300)})}},widgetTestimonialCarousel:function(e){var i=e.find(".wpr-testimonial-carousel"),r=e.attr("class"),a=r.match(/wpr-testimonial-slider-columns-\d/)?r.match(/wpr-testimonial-slider-columns-\d/).join().slice(-1):2,s=r.match(/columns--widescreen\d/)?r.match(/columns--widescreen\d/).join().slice(-1):a,l=r.match(/columns--laptop\d/)?r.match(/columns--laptop\d/).join().slice(-1):a,n=r.match(/columns--tablet_extra\d/)?r.match(/columns--tablet_extra\d/).join().slice(-1):o,o=r.match(/columns--tablet\d/)?r.match(/columns--tablet\d/).join().slice(-1):2,d=r.match(/columns--mobile_extra\d/)?r.match(/columns--mobile_extra\d/).join().slice(-1):o,p=r.match(/columns--mobile\d/)?r.match(/columns--mobile\d/).join().slice(-1):1,c=+r.match(/wpr-adv-slides-to-scroll-\d/).join().slice(-1),f=i.attr("data-slide-effect");if(i.slick({appendArrows:e.find(".wpr-testimonial-controls"),appendDots:e.find(".wpr-testimonial-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-testimonial-dot\"></span>"},slidesToShow:a,responsive:[{breakpoint:1e4,settings:{slidesToShow:s,slidesToScroll:c>s?1:c,fade:1==s&&"fade"===f}},{breakpoint:2399,settings:{slidesToShow:a,slidesToScroll:c>a?1:c,fade:1==a&&"fade"===f}},{breakpoint:1221,settings:{slidesToShow:l,slidesToScroll:c>l?1:c,fade:1==l&&"fade"===f}},{breakpoint:1200,settings:{slidesToShow:n,slidesToScroll:c>n?1:c,fade:1==n&&"fade"===f}},{breakpoint:1024,settings:{slidesToShow:o,slidesToScroll:c>o?1:c,fade:1==o&&"fade"===f}},{breakpoint:880,settings:{slidesToShow:d,slidesToScroll:c>d?1:c,fade:1==d&&"fade"===f}},{breakpoint:768,settings:{slidesToShow:p,slidesToScroll:c>p?1:c,fade:1==p&&"fade"===f}}]}),e.hasClass("wpr-testimonial-nav-fade")&&(e.on("mouseover",function(){e.closest("section").find(".wpr-testimonial-arrow").css({opacity:1})}),e.closest("section").on("mouseout",function(){e.find(".wpr-testimonial-arrow").css({opacity:0})})),e.find(".slick-dots").length){var m=e.find(".slick-dots li").outerWidth()*e.find(".slick-dots li").length-parseInt(e.find(".slick-dots li span").css("margin-right"),10);e.find(".slick-dots").css("width",m)}t(window).on("resize",function(){setTimeout(function(){if(e.find(".slick-dots").length){var t=e.find(".slick-dots li").outerWidth()*e.find(".slick-dots li").length-parseInt(e.find(".slick-dots li span").css("margin-right"),10);e.find(".slick-dots").css("width",t)}},300)})},widgetSearch:function(e){e.find(".wpr-search-form-input").on({focus:function(){e.addClass("wpr-search-form-input-focus")},blur:function(){e.removeClass("wpr-search-form-input-focus")}})},widgetAdvancedText:function(e){function i(){var t=e.find(".wpr-clipped-text"),i=t.data("clipped-options"),r=elementorFrontend.getCurrentDeviceMode();if(i){var a=i.longShadowSize,s=i.longShadowSizeTablet,l=i.longShadowSizeMobile;"desktop"===r&&(a=i.longShadowSize),"tablet"===r&&s&&(a=s),"mobile"===r&&l&&(a=l),t.find(".wpr-clipped-text-long-shadow").attr("style","text-shadow:"+f(i.longShadowColor,a,i.longShadowDirection))}}function r(){a(g.find("b")),s(m)}function a(e){e.each(function(){var e=t(this),r=e.text().split(""),a=e.hasClass("wpr-anim-text-visible");for(var s in r){var i=r[s].replace(/ /g," ");r[s]=a?"<i class=\"wpr-anim-text-in\">"+i+"</i>":"<i>"+i+"</i>"}var l=r.join("");e.html(l).css("opacity",1)})}function s(e){e.each(function(){var e=t(this),i=e.find(".wpr-anim-text-inner");if(e.hasClass("wpr-anim-text-type-clip")){var r=i.outerWidth();i.css("width",r)}setTimeout(function(){l(e.find(".wpr-anim-text-visible").eq(0))},T),e.hasClass("wpr-anim-text-type-rotate-1")&&i.find("b").each(function(){t(this).outerWidth()>i.outerWidth()&&i.css("width",t(this).outerWidth())})})}function l(e){var t=p(e);if(!("yes"!==h&&(b++,b===u)))if(e.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-typing")){var i=e.parent(".wpr-anim-text-inner");i.addClass("wpr-anim-text-selected").removeClass("waiting"),setTimeout(function(){i.removeClass("wpr-anim-text-selected"),e.removeClass("wpr-anim-text-visible").addClass("wpr-anim-text-hidden").children("i").removeClass("wpr-anim-text-in").addClass("wpr-anim-text-out")},v),setTimeout(function(){n(t,y)},k)}else if(e.parents(".wpr-anim-text").hasClass("wpr-anim-text-letters")){var r=!!(e.children("i").length>=t.children("i").length);o(e.find("i").eq(0),e,r,y),d(t.find("i").eq(0),t,r,y)}else e.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-clip")?e.parents(".wpr-anim-text-inner").animate({width:"2px"},y,function(){c(e,t),n(t)}):(c(e,t),setTimeout(function(){l(t)},T))}function n(e,t){e.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-typing")?(d(e.find("i").eq(0),e,!1,t),e.addClass("wpr-anim-text-visible").removeClass("wpr-anim-text-hidden")):e.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-clip")&&e.parents(".wpr-anim-text-inner").animate({width:e.outerWidth()},y,function(){setTimeout(function(){l(e)},T)})}function o(e,t,i,r){if(e.removeClass("wpr-anim-text-in").addClass("wpr-anim-text-out"),e.is(":last-child")?i&&setTimeout(function(){l(p(t))},T):setTimeout(function(){o(e.next(),t,i,r)},r),e.is(":last-child")){var a=p(t);c(t,a)}}function d(e,t,i,r){e.addClass("wpr-anim-text-in").removeClass("wpr-anim-text-out"),e.is(":last-child")?(t.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-typing")&&setTimeout(function(){t.parents(".wpr-anim-text-inner").addClass("waiting")},200),!i&&setTimeout(function(){l(t)},T)):setTimeout(function(){d(e.next(),t,i,r)},r)}function p(e){return e.is(":last-child")?e.parent().children().eq(0):e.next()}function c(e,t){e.removeClass("wpr-anim-text-visible").addClass("wpr-anim-text-hidden"),t.removeClass("wpr-anim-text-hidden").addClass("wpr-anim-text-visible")}function f(e,t,r){for(var a="",s=0;s<t;s++)a+="top"===r?"0 -"+s+"px 0 "+e+",":"right"===r?s+"px 0 0 "+e+",":"bottom"===r?"0 "+s+"px 0 "+e+",":"left"===r?"-"+s+"px 0 0 "+e+",":"top-left"===r?"-"+s+"px -"+s+"px 0 "+e+",":"top-right"===r?s+"px -"+s+"px 0 "+e+",":"bottom-left"===r?"-"+s+"px "+s+"px 0 "+e+",":"bottom-right"===r?s+"px "+s+"px 0 "+e+",":s+"px "+s+"px 0 "+e+",";return a=a.slice(0,-1),a}if(e.hasClass("wpr-advanced-text-style-animated")){var m=e.find(".wpr-anim-text"),g=e.find(".wpr-anim-text-letters"),y=m.attr("data-anim-duration"),w=y.split(","),h=m.attr("data-anim-loop"),u=m.find("b").length,b=0;m.find("b").first().addClass("wpr-anim-text-visible");var y=parseInt(w[0],10),T=parseInt(w[1],10),v=500,k=1300;r()}i(),t(window).on("resize",function(){i()})},widgetProgressBar:function(e){function i(e){if(e.length){var i=e.offset().top,r=i+e.outerHeight(),a=t(window).scrollTop(),s=a+t(window).height();return i>t(window).height()&&(i+=50),r>a&&i<s}}function r(){if(i(p)&&p.css({height:y+"%"}),i(d)&&d.css({width:y+"%"}),i(s)){var e=f.circleOffset;o.css({"stroke-dashoffset":e})}(i(p)||i(d)||i(s))&&setTimeout(function(){m.numerator(b)},h)}var a=e.find(".wpr-progress-bar"),s=e.find(".wpr-prbar-circle"),l=s.find(".wpr-prbar-circle-svg"),n=l.find(".wpr-prbar-circle-line"),o=e.find(".wpr-prbar-circle-prline"),d=a.find(".wpr-prbar-hr-line-inner"),p=a.find(".wpr-prbar-vr-line-inner"),c=a.data("options"),f=s.data("circle-options"),m=a.find(".wpr-prbar-counter-value"),g=c.counterValue,y=c.counterValuePersent,w=c.animDuration,h=c.animDelay,u=elementorFrontend.getCurrentDeviceMode(),b={toValue:g,duration:w};"yes"===c.counterSeparator&&(b.delimiter=",");r(),t(window).on("scroll",function(){r()})},widgetImageHotspots:function(e){var i=e.find(".wpr-image-hotspots"),r=i.data("options"),a=i.find(".wpr-hotspot-item"),s=r.tooltipTrigger;"click"===s?(a.on("click",function(){t(this).hasClass("wpr-tooltip-active")?t(this).removeClass("wpr-tooltip-active"):(a.removeClass("wpr-tooltip-active"),t(this).addClass("wpr-tooltip-active")),event.stopPropagation()}),t(window).on("click",function(){a.removeClass("wpr-tooltip-active")})):"hover"===s?a.hover(function(){t(this).toggleClass("wpr-tooltip-active")}):a.addClass("wpr-tooltip-active")},widgetFlipBox:function(e){var i=e.find(".wpr-flip-box"),r=i.data("trigger");"box"===r?(i.find(".wpr-flip-box-front").on("click",function(){t(this).closest(".wpr-flip-box").addClass("wpr-flip-box-active")}),t(window).on("click",function(){0===t(event.target).closest(".wpr-flip-box").length&&i.removeClass("wpr-flip-box-active")})):"btn"==r?(i.find(".wpr-flip-box-btn").on("click",function(){t(this).closest(".wpr-flip-box").addClass("wpr-flip-box-active")}),t(window).on("click",function(){0===t(event.target).closest(".wpr-flip-box").length&&i.removeClass("wpr-flip-box-active")})):"hover"==r&&i.hover(function(){t(this).toggleClass("wpr-flip-box-active")})},widgetContentTicker:function(e){var t=e.find(".wpr-ticker-slider"),i=e.find(".wpr-ticker-marquee"),r=i.data("options"),a=e.attr("class"),s=a.match(/wpr-ticker-slider-columns-\d/)?a.match(/wpr-ticker-slider-columns-\d/).join().slice(-1):2,l=a.match(/columns--widescreen\d/)?a.match(/columns--widescreen\d/).join().slice(-1):s,n=a.match(/columns--laptop\d/)?a.match(/columns--laptop\d/).join().slice(-1):s,o=a.match(/columns--tablet_extra\d/)?a.match(/columns--tablet_extra\d/).join().slice(-1):d,d=a.match(/columns--tablet\d/)?a.match(/columns--tablet\d/).join().slice(-1):2,p=a.match(/columns--mobile_extra\d/)?a.match(/columns--mobile_extra\d/).join().slice(-1):d,c=a.match(/columns--mobile\d/)?a.match(/columns--mobile\d/).join().slice(-1):1,f=t.attr("data-slide-effect"),m="hr-slide"===f&&a.match(/wpr-ticker-slides-to-scroll-\d/)?+a.match(/wpr-ticker-slides-to-scroll-\d/).join().slice(-1):1;t.slick({appendArrows:e.find(".wpr-ticker-slider-controls"),slidesToShow:s,responsive:[{breakpoint:1e4,settings:{slidesToShow:"typing"===f||"fade"===f?1:l,slidesToScroll:m>l?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:2399,settings:{slidesToShow:"typing"===f||"fade"===f?1:s,slidesToScroll:m>s?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:1221,settings:{slidesToShow:"typing"===f||"fade"===f?1:n,slidesToScroll:m>n?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:1200,settings:{slidesToShow:"typing"===f||"fade"===f?1:o,slidesToScroll:m>o?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:1024,settings:{slidesToShow:"typing"===f||"fade"===f?1:d,slidesToScroll:m>d?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:880,settings:{slidesToShow:"typing"===f||"fade"===f?1:p,slidesToScroll:m>p?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:768,settings:{slidesToShow:"typing"===f||"fade"===f?1:c,slidesToScroll:m>c?1:m,fade:!("typing"!==f&&"fade"!==f)}}]}),i.marquee(r)},widgetTabs:function(e){function i(e){var t=l.eq(e),i=o.eq(e),r="auto";n.css({height:n.outerHeight(!0)}),l.removeClass("wpr-tab-active"),t.addClass("wpr-tab-active"),o.removeClass("wpr-tab-content-active wpr-animation-enter"),r=i.outerHeight(!0),r+=parseInt(n.css("border-top-width"))+parseInt(n.css("border-bottom-width")),i.addClass("wpr-tab-content-active wpr-animation-enter"),n.css({height:r}),setTimeout(function(){n.css({height:"auto"})},500)}function r(){l.on("click",function(){var e=t(this).data("tab")-1;clearInterval(f),i(e)})}function a(){l.hover(function(){var e=t(this).data("tab")-1;clearInterval(f),i(e)})}var s=t(".wpr-tabs",e).first(),l=t(".wpr-tabs-wrap",s).first(),n=t(".wpr-tabs-content-wrap",s).first(),l=t("> .wpr-tab",l),o=t("> .wpr-tab-content",n),d=s.data("options"),p=d.activeTab-1;if(l.eq(p).addClass("wpr-tab-active"),o.eq(p).addClass("wpr-tab-content-active wpr-animation-enter"),d.autoplay)var c=d.activeTab-1,f=setInterval(function(){c<l.length-1?c++:c=0,i(c)},d.autoplaySpeed);"hover"===d.trigger?a():r()},widgetContentToogle:function(e){function i(t){if(!e.hasClass("wpr-switcher-label-style-outer")){var i=100/d.length;o.css({width:i+"%",left:t*i+"%"})}}function r(t){var r=d.eq(t),a=p.eq(t),l="auto";i(t),e.hasClass("wpr-switcher-label-style-outer")||(d.removeClass("wpr-switcher-active"),r.addClass("wpr-switcher-active"),e.hasClass("wpr-switcher-style-dual")&&s.attr("data-active-switcher",t+1)),n.css({height:n.outerHeight(!0)}),p.removeClass("wpr-switcher-content-active wpr-animation-enter"),l=a.outerHeight(!0),l+=parseInt(n.css("border-top-width"))+parseInt(n.css("border-bottom-width")),a.addClass("wpr-switcher-content-active wpr-animation-enter"),n.css({height:l}),setTimeout(function(){n.css({height:"auto"})},500)}var a=t(".wpr-content-toggle",e).first(),s=t(".wpr-switcher-container",a).first(),l=t(".wpr-switcher-wrap",a).first(),n=t(".wpr-switcher-content-wrap",a).first(),o=t("> .wpr-switcher-bg",l),d=t("> .wpr-switcher",l),p=t("> .wpr-switcher-content",n),c=parseInt(s.data("active-switcher"))-1;d.eq(c).addClass("wpr-switcher-active"),p.eq(c).addClass("wpr-switcher-content-active wpr-animation-enter"),i(c),function(){e.hasClass("wpr-switcher-label-style-outer")?l.on("click",function(){var e=l.find(".wpr-switcher-active");1===parseInt(e.data("switcher"),10)?(l.children(".wpr-switcher").eq(0).removeClass("wpr-switcher-active"),l.children(".wpr-switcher").eq(1).addClass("wpr-switcher-active"),l.closest(".wpr-switcher-container").attr("data-active-switcher",2),r(1)):2===parseInt(e.data("switcher"),10)&&(l.children(".wpr-switcher").eq(1).removeClass("wpr-switcher-active"),l.children(".wpr-switcher").eq(0).addClass("wpr-switcher-active"),l.closest(".wpr-switcher-container").attr("data-active-switcher",1),r(0))}):d.on("click",function(){var e=t(this).data("switcher")-1;r(e)})}()},widgetBackToTop:function(e){function i(e,t,i){e>i.animationOffset?"fade"===i.animation?r.stop().css("visibility","visible").animate({opacity:"1"},i.animationDuration):"slide"===i.animation?r.stop().css("visibility","visible").animate({opacity:"1","margin-bottom":0},i.animationDuration):r.css("visibility","visible"):"fade"===i.animation?r.stop().animate({opacity:"0"},i.animationDuration):"slide"===i.animation?r.stop().animate({"margin-bottom":"-100px",opacity:"0"},i.animationDuration):r.css("visibility","hidden")}var r=e.find(".wpr-stt-btn"),a=r.attr("data-settings");a=JSON.parse(a),"fixed"===a.fixed&&("none"!==a.animation&&(r.css({opacity:"0"}),"slide"===a.animation&&r.css({"margin-bottom":"-100px"})),i(t(window).scrollTop(),r,a),t(window).scroll(function(){i(t(this).scrollTop(),r,a)})),r.on("click",function(){return t("html, body").animate({scrollTop:0},a.scrolAnim),!1})},widgetLottieAnimations:function(e){var i=e.find(".wpr-lottie-animations"),r=e.find(".wpr-lottie-animations-wrapper"),a=JSON.parse(i.attr("data-settings")),s=lottie.loadAnimation({container:i[0],path:i.attr("data-json-url"),renderer:a.lottie_renderer,loop:!("yes"!==a.loop),autoplay:!("yes"!==a.autoplay)});s.setSpeed(a.speed),a.reverse&&s.setDirection(-1),s.addEventListener("DOMLoaded",function(){function e(){if(s.pause(),"function"==typeof i[0].getBoundingClientRect){var e=document.documentElement.clientHeight,r=100*(i[0].getBoundingClientRect().top/e),l=100*(i[0].getBoundingClientRect().bottom/e),n=r<a.scroll_end,o=l>a.scroll_start;if("viewport"===a.trigger&&(o&&n?s.play():s.pause()),"scroll"===a.trigger&&o&&n){s.pause();var d=100*t(window).scrollTop()/(t(document).height()-t(window).height()),p=Math.round(d);s.goToAndStop(4e3*(p/100))}}}"hover"!==a.trigger&&"none"!==a.trigger&&(e("load"),t(window).on("scroll",e)),"hover"===a.trigger&&(s.pause(),i.hover(function(){s.play()},function(){s.pause()}))})},widgetPostsTimeline:function(i){function r(){i.find(".wpr-centered").length&&(767>=window.innerWidth?(i.find(".wpr-wrapper .wpr-timeline-centered").removeClass("wpr-both-sided-timeline").addClass("wpr-one-sided-timeline").addClass("wpr-remove-one-sided-later"),i.find(".wpr-wrapper .wpr-left-aligned").removeClass("wpr-left-aligned").addClass("wpr-right-aligned").addClass("wpr-remove-right-aligned-later")):(i.find(".wpr-wrapper .wpr-timeline-centered.wpr-remove-one-sided-later").removeClass("wpr-one-sided-timeline").addClass("wpr-both-sided-timeline").removeClass("wpr-remove-one-sided-later"),i.find(".wpr-wrapper .wpr-remove-right-aligned-later").removeClass("wpr-right-aligned").addClass("wpr-left-aligned").removeClass("wpr-remove-right-aligned-later")))}function a(e,r){if(i.find(".wpr-timeline-fill").length&&(0<i.find(".wpr-timeline-entry:eq(0)").prev(".wpr-year-wrap").length&&(r=i.find(".wpr-year-label").eq(0)),p.length)){var a=p.css("height").slice(0,-2),s=document.documentElement.scrollTop,l=document.documentElement.clientHeight/2;s+l-r.offset().top>e.offset().top-r.offset().top+parseInt(e.css("height").slice(0,-2))||p.css("height",s+l-r.offset().top+"px"),i.find(".wpr-main-line-icon.wpr-icon").each(function(){t(this).offset().top<parseInt(r.offset().top+parseInt(a))?t(this).addClass("wpr-change-border-color"):t(this).removeClass("wpr-change-border-color")})}}function s(e,t,r,a,s){if(s=i.find(".wpr-timeline-centered"),i.find(".wpr-both-sided-timeline").length||i.find(".wpr-one-sided-timeline").length||i.find(".wpr-one-sided-timeline-left").length){0<i.find(".wpr-timeline-entry:eq(0)").prev(".wpr-year-wrap").length&&(a=i.find(".wpr-year-label").eq(0));var l=a.offset().top,n=r.offset().top,o=l-s.offset().top+"px",d=n-l+parseInt(r.css("height").slice(0,-2));e.css("top",o),e.css("height",d),""===t?"":t.css("top",o)}}var l=0<i.find(".wpr-timeline-centered").length?i.find(".wpr-timeline-centered"):"",n=0<i.find(".wpr-timeline-centered").length?i.find(".wpr-timeline-centered"):"",o=0<i.find(".wpr-grid-pagination").length?i.find(".wpr-grid-pagination"):"",d=0<i.find(".wpr-middle-line").length?i.find(".wpr-middle-line"):"",p=0<i.find(".wpr-timeline-fill").length?i.find(".wpr-timeline-fill"):"",c=0<i.find(".wpr-main-line-icon.wpr-icon:last").length?i.find(".wpr-main-line-icon.wpr-icon:last"):"",f=0<i.find(".wpr-main-line-icon.wpr-icon").length?i.find(".wpr-main-line-icon.wpr-icon").first():"",m=".elementor-element-"+i.attr("data-id"),g=i.find(".wpr-story-info-vertical").attr("data-animation-offset")?+i.find(".wpr-story-info-vertical").attr("data-animation-offset"):"",y=i.find(".wpr-story-info-vertical").attr("data-animation-duration")?+i.find(".wpr-story-info-vertical").attr("data-animation-duration"):"";if(0<i.find(".wpr-timeline-centered").length&&(t(window).resize(function(){r()}),t(window).smartresize(function(){r()}),setTimeout(function(){r(),t(window).trigger("resize")},500),s(d,p,c,f,n),setTimeout(function(){s(d,p,c,f,n),t(window).trigger("resize")},500),t(window).smartresize(function(){s(d,p,c,f,n)}),t(window).resize(function(){s(d,p,c,f,n)}),"load-more"!==l.attr("data-pagination")&&i.find(".wpr-grid-pagination").css("visibility","hidden"),AOS.init({offset:parseInt(g),duration:y,once:!0}),a(c,f),t(window).on("scroll",function(){a(c,f)}),!i.find(".elementor-repeater-items").length&&!e.editorCheck()&&("load-more"===i.find(".wpr-timeline-centered").data("pagination")||"infinite-scroll"===i.find(".wpr-timeline-centered").data("pagination")))){var w=(void 0===l||"load-more"!==l.attr("data-pagination"))&&10;l.infiniteScroll({path:m+" .wpr-grid-pagination a",hideNav:!1,append:m+".wpr-timeline-entry",history:!1,scrollThreshold:w,status:m+" .page-load-status"}),l.on("request.infiniteScroll",function(){i.find(".wpr-load-more-btn").hide(),i.find(".wpr-pagination-loading").css("display","inline-block")});var h=0;l.on("load.infiniteScroll",function(e,r){h++;var w=t(r).find(m).find(".wpr-timeline-entry");l.infiniteScroll("appendItems",w),i.find(".wpr-one-sided-timeline").length||i.find(".wpr-one-sided-timeline-left").length||(i.find(".wpr-timeline-entry").each(function(e){t(this).removeClass("wpr-right-aligned wpr-left-aligned"),0==e%2?(t(this).addClass("wpr-left-aligned"),t(this).find(".wpr-story-info-vertical").attr("data-aos",t(this).find(".wpr-story-info-vertical").attr("data-aos-left"))):(t(this).addClass("wpr-right-aligned"),t(this).find(".wpr-story-info-vertical").attr("data-aos",t(this).find(".wpr-story-info-vertical").attr("data-aos-right")))}),AOS.init({offset:parseInt(g),duration:y,once:!0})),t(window).scroll(),i.find(".wpr-pagination-loading").hide(),l.data("max-pages")-1===h?(i.find(".wpr-pagination-finish").fadeIn(1e3),o.delay(2e3).fadeOut(1e3)):"load-more"===l.attr("data-pagination")&&i.find(".wpr-load-more-btn").fadeIn(),d=i.find(".wpr-middle-line"),p=i.find(".wpr-timeline-fill"),c=i.find(".wpr-main-line-icon.wpr-icon:last"),f=i.find(".wpr-main-line-icon.wpr-icon").first(),n=i.find(".wpr-timeline-centered"),s(d,p,c,f,n),t(window).trigger("resize"),a(c,f)}),e.editorCheck()||(i.find(".wpr-load-more-btn").on("click",function(){return l.infiniteScroll("loadNextPage"),!1}),"infinite-scroll"==l.attr("data-pagination")&&l.infiniteScroll("loadNextPage"))}if(i.find(".swiper-wrapper").length){var u=function(e,t){if("undefined"==typeof Swiper){var i=elementorFrontend.utils.swiper;return new i(e,t).then(function(e){return e})}return b(e,t)},b=function(e,t){return new Promise(function(i){var r=new Swiper(e,t);i(r)})},T=i.find(".wpr-horizontal-bottom").length?".wpr-horizontal-bottom":".wpr-horizontal",v=i.find(T+".swiper-container"),k=v.data("slidestoshow");u(v,{spaceBetween:+v.data("swiper-space-between"),autoplay:"yes"===v.data("autoplay"),delay:+v.attr("data-swiper-delay"),speed:+v.attr("data-swiper-speed"),slidesPerView:v.data("slidestoshow"),direction:"horizontal",pagination:{el:".wpr-swiper-pagination",type:"progressbar"},navigation:{nextEl:".wpr-button-next",prevEl:".wpr-button-prev"},breakpoints:{320:{slidesPerView:1},480:{slidesPerView:2},740:{slidesPerView:k}}})}},widgetSharingButtons:function(e){e.find(".wpr-sharing-print").on("click",function(t){t.preventDefault(),window.print()})},widgetFlipCarousel:function(e){var i=JSON.parse(e.find(".wpr-flip-carousel").attr("data-settings"));e.find(".wpr-flip-carousel").css("opacity",1),e.find(".wpr-flip-carousel").flipster({itemContainer:"ul",itemSelector:"li",fadeIn:400,start:"yes"===i.starts_from_center?"center":0,style:i.carousel_type,loop:!("yes"!==i.loop),autoplay:"no"!==i.autoplay&&i.autoplay_milliseconds,pauseOnHover:!("yes"!==i.pause_on_hover),click:!("yes"!==i.play_on_click),scrollwheel:!("yes"!==i.play_on_scroll),touch:!0,nav:!("true"!==i.pagination_position)||!!i.pagination_position&&i.pagination_position,spacing:i.spacing,buttons:"custom",buttonPrev:i.button_prev,buttonNext:i.button_next});var r=e.find(".wpr-flip-carousel").find(".flipster__nav__item").find(".flipster__nav__link");r.each(function(){t(this).text(parseInt(t(this).text())+1)})},widgetFeatureList:function(e){e.find(".wpr-feature-list-item:not(:last-of-type)").find(".wpr-feature-list-icon-wrap").each(function(i){var r=e.find(".wpr-feature-list-item").eq(i+1).find(".wpr-feature-list-icon-wrap").offset().top;t(this).find(".wpr-feature-list-line").height(r-t(this).offset().top+"px")}),t(window).resize(function(){e.find(".wpr-feature-list-item:not(:last-of-type)").find(".wpr-feature-list-icon-wrap").each(function(i){var r=e.find(".wpr-feature-list-item").eq(i+1).find(".wpr-feature-list-icon-wrap").offset().top;t(this).find(".wpr-feature-list-line").height(r-t(this).offset().top+"px")})})},editorCheck:function(){return!!t("body").hasClass("elementor-editor-active")}};t(window).on("elementor/frontend/init",e.init)})(jQuery,window.elementorFrontend),function(e,t){var i=function(e,t,i){var r;return function(){var a=this,s=arguments;r?clearTimeout(r):i&&e.apply(a,s),r=setTimeout(function(){i||e.apply(a,s),r=null},t||100)}};jQuery.fn[t]=function(e){return e?this.bind("resize",i(e)):this.trigger(t)}}(jQuery,"smartresize");
|
1 |
+
(function(t){"use strict";var e={init:function(){var i={"wpr-nav-menu.default":e.widgetNavMenu,"wpr-onepage-nav.default":e.OnepageNav,"wpr-grid.default":e.widgetGrid,"wpr-magazine-grid.default":e.widgetMagazineGrid,"wpr-media-grid.default":e.widgetGrid,"wpr-woo-grid.default":e.widgetGrid,"wpr-featured-media.default":e.widgetFeaturedMedia,"wpr-product-media.default":e.widgetProductMedia,"wpr-countdown.default":e.widgetCountDown,"wpr-google-maps.default":e.widgetGoogleMaps,"wpr-before-after.default":e.widgetBeforeAfter,"wpr-mailchimp.default":e.widgetMailchimp,"wpr-advanced-slider.default":e.widgetAdvancedSlider,"wpr-testimonial.default":e.widgetTestimonialCarousel,"wpr-search.default":e.widgetSearch,"wpr-advanced-text.default":e.widgetAdvancedText,"wpr-progress-bar.default":e.widgetProgressBar,"wpr-image-hotspots.default":e.widgetImageHotspots,"wpr-flip-box.default":e.widgetFlipBox,"wpr-content-ticker.default":e.widgetContentTicker,"wpr-tabs.default":e.widgetTabs,"wpr-content-toggle.default":e.widgetContentToogle,"wpr-back-to-top.default":e.widgetBackToTop,"wpr-lottie-animations.default":e.widgetLottieAnimations,"wpr-posts-timeline.default":e.widgetPostsTimeline,"wpr-sharing-buttons.default":e.widgetSharingButtons,"wpr-flip-carousel.default":e.widgetFlipCarousel,"wpr-feature-list.default":e.widgetFeatureList,global:e.widgetSection,"wpr-post-media.default":e.widgetPostMedia};t.each(i,function(e,t){window.elementorFrontend.hooks.addAction("frontend/element_ready/"+e,t)})},widgetPostMedia:function(i){var r=i.find(".wpr-gallery-slider"),a=r.attr("data-slick");r.animate({opacity:"1"},1e3),"[]"!==a&&r.slick({appendDots:i.find(".wpr-gallery-slider-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-gallery-slider-dot\"></span>"}});var s=t(".wpr-featured-media-image").attr("data-lightbox");if(typeof s!=typeof void 0&&!1!==s&&!e.editorCheck()){var l=i.find(".wpr-featured-media-wrap");s=JSON.parse(s),l.lightGallery(s),l.on("onAferAppendSlide.lg, onAfterSlide.lg",function(){var e=t("#lg-actual-size, #lg-zoom-in, #lg-zoom-out, #lg-download"),i=t("#lg-download").attr("href");t("#lg-download").length&&(-1===i.indexOf("wp-content")?e.addClass("wpr-hidden-element"):e.removeClass("wpr-hidden-element")),""===s.autoplay&&t(".lg-autoplay-button").css({width:"0",height:"0",overflow:"hidden"})})}},widgetSection:function(i){function r(t){var r=JSON.parse(t),a=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-quantity"):i.attr("wpr-quantity"),s=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-color")?i.find(".wpr-particle-wrapper").attr("wpr-color"):"#000000":i.attr("wpr-color")||"#000000",l=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-speed"):i.attr("wpr-speed"),n=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-shape"):i.attr("wpr-shape"),o=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("wpr-size"):i.attr("wpr-size");return r.particles.size.value=o,r.particles.number.value=a,r.particles.color.value=s,r.particles.shape.type=n,r.particles.line_linked.color=s,r.particles.move.speed=l,r}if(function(){function e(){if(document.querySelector(".wpr-mybar")){var e=document.body.scrollTop||document.documentElement.scrollTop,t=document.documentElement.scrollHeight-document.documentElement.clientHeight;document.querySelector("#wpr-mybar").style.width=100*(e/t)+"%"}}e(),window.onscroll=function(){e()},t("#wpadminbar").length&&t(".wpr-reading-progress-bar-container").length&&0===t(".wpr-reading-progress-bar-container").position().top&&t(".wpr-reading-progress-bar-container").css("top"," 32px")}(),(i.attr("data-wpr-particles")||i.find(".wpr-particle-wrapper").attr("data-wpr-particles-editor"))&&function(){var a=i.data("element_type"),s=i.data("id"),l=e.editorCheck()?i.find(".wpr-particle-wrapper").attr("data-wpr-particles-editor"):i.attr("data-wpr-particles");"section"===a&&void 0!==l&&(e.editorCheck()?i.hasClass("wpr-particle-yes")?(particlesJS("wpr-particle-"+s,"wpr_particle_json_custom"==i.find(".wpr-particle-wrapper").attr("particle-source")?JSON.parse(l):r(l)),i.find(".elementor-column").css("z-index",9),t(window).trigger("resize")):i.find(".wpr-particle-wrapper").remove():(i.prepend("<div class=\"wpr-particle-wrapper\" id=\"wpr-particle-"+s+"\"></div>"),particlesJS("wpr-particle-"+s,"wpr_particle_json_custom"==i.attr("particle-source")?JSON.parse(l):r(l))))}(),(i.hasClass("wpr-jarallax")||i.hasClass("wpr-jarallax-yes"))&&function(){i.hasClass("wpr-jarallax-yes")&&(!e.editorCheck()&&i.hasClass("wpr-jarallax")?(i.css("background-image","url(\""+i.attr("bg-image")+"\")"),i.jarallax({type:i.attr("scroll-effect"),speed:i.attr("speed-data")})):e.editorCheck()&&(i.css("background-image","url(\""+i.find(".wpr-jarallax").attr("bg-image-editor")+"\")"),i.jarallax({type:i.find(".wpr-jarallax").attr("scroll-effect-editor"),speed:i.find(".wpr-jarallax").attr("speed-data-editor")})))}(),i.hasClass("wpr-parallax-yes")&&function(){if(i.hasClass("wpr-parallax-yes")){var r=document.getElementsByClassName("wpr-parallax-multi-layer"),a=Array.from(r).map(e=>new Parallax(e,{invertY:"yes"==e.getAttribute("direction"),invertX:"yes"==e.getAttribute("direction"),scalarX:e.getAttribute("scalar-speed"),scalarY:e.getAttribute("scalar-speed"),hoverOnly:!0,pointerEvents:!0}));a.forEach(e=>{e.friction(.2,.2)})}if(!e.editorCheck()){var s=[];document.querySelectorAll(".wpr-parallax-multi-layer").forEach(e=>{e.parentElement.style.position="relative",e.style.position="absolute",s.push(e),e.remove()}),document.querySelectorAll(".wpr-parallax-ml-children").forEach(e=>{e.style.position="absolute",e.style.top=e.getAttribute("style-top"),e.style.left=e.getAttribute("style-left")}),t(".wpr-parallax-yes").each(function(e){t(this).append(s[e])})}}(),i.hasClass("wpr-sticky-section-yes")){function r(){if(!i.hasClass("wpr-sticky-section-yes")||!i.find(".wpr-sticky-section-yes-editor"))return void(a="static");var e=[],t=[["mobile_sticky",768],["mobile_extra_sticky",881],["tablet_sticky",1025],["tablet_extra_sticky",1201],["laptop_sticky",1216],["desktop_sticky",2400],["widescreen_sticky",4e3]].filter(e=>-1!=c.indexOf(e[0])).reverse();t.forEach((t,i)=>{t[1]>d&&-1===p.indexOf(t[0])?(a=-1===c?.indexOf(t[0])?e[i-1]?e[i-1]:l:"static",e[i]=a):t[1]>d&&-1!==p.indexOf(t[0])&&(a=l)}),h()}function h(){var e=+window.innerHeight-(+i.css("top").slice(0,-2)+i.height()),t=+window.innerHeight-(+i.css("bottom").slice(0,-2)+i.height());"top"===n?(i.css({position:a}),""!==g&&g.css({position:a,top:o+"px",bottom:"auto","z-index":y,width:"100%"})):(i.css({position:a}),""!==g&&(g=g.find(".wpr-sticky-section-yes"),g.css({position:a,bottom:o+"px",top:"auto","z-index":y,width:"100%"})))}function u(){t("#wpadminbar").length&&(s=t("#wpadminbar").css("height").slice(0,t("#wpadminbar").css("height").length-2),"top"===n&&("fixed"==i.css("position")||"sticky"==i.css("position"))&&(i.css("top",+s+m+"px"),i.css("bottom","auto")))}var a,s,l=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-position-type"):i.attr("data-wpr-position-type"),n=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-position-location"):i.attr("data-wpr-position-location"),o=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-position-offset"):i.attr("data-wpr-position-offset"),d=t("body").prop("clientWidth")+17,p=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-sticky-devices"):i.attr("data-wpr-sticky-devices"),c=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-active-breakpoints"):i.attr("data-wpr-active-breakpoints"),f=!!(i.hasClass("wpr-sticky-section-yes")||i.find(".wpr-sticky-section-yes-editor")),m=+i.css("top").slice(0,-2),g=i.closest("div[data-elementor-type=\"wp-post\"]").length?i.closest("div[data-elementor-type=\"wp-post\"]"):"",y=e.editorCheck()?i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-z-index"):i.attr("data-wpr-z-index");if(i.find(".wpr-sticky-section-yes-editor").length||(l=i.attr("data-wpr-position-type"),n=i.attr("data-wpr-position-location"),o=i.attr("data-wpr-position-offset"),p=i.attr("data-wpr-sticky-devices"),c=i.attr("data-wpr-active-breakpoints"),y=i.attr("data-wpr-z-index")),0==p.length&&(l="static"),e.editorCheck()&&p){var w=i.find(".wpr-sticky-section-yes-editor").attr("data-wpr-sticky-devices");i.attr("data-wpr-sticky-devices",w),p=i.attr("data-wpr-sticky-devices")}r(),u(),t(window).resize(function(){d=t("body").prop("clientWidth")+17,r()}),f||(a="static")}},widgetNavMenu:function(i){function r(){if(i.hasClass("wpr-mobile-menu-full-width")&&i.closest(".elementor-column").length){var e=i.closest(".elementor-column"),t=i.closest(".elementor-top-section").outerWidth()-2*d.offset().left,r=e.offset().left+parseInt(e.css("padding-left"),10);d.css({width:t+"px",left:-r+"px"})}}function a(e,t){!0===t?i.hasClass("wpr-sub-menu-fx-slide")?e.stop().slideDown():e.stop().fadeIn():i.hasClass("wpr-sub-menu-fx-slide")?e.stop().slideUp():e.stop().fadeOut()}var s=i.find(".wpr-nav-menu-container"),l=i.find(".wpr-mobile-nav-menu-container"),n=s.find(".wpr-nav-menu > li.menu-item-has-children"),o=s.find(".wpr-sub-menu li.menu-item-has-children");"click"===s.attr("data-trigger")?(n.children("a").on("click",function(r){var e=t(this).parent(),l=e.children(".wpr-sub-menu");n.not(e).removeClass("wpr-sub-open"),(s.hasClass("wpr-nav-menu-horizontal")||s.hasClass("wpr-nav-menu-vertical")&&i.hasClass("wpr-sub-menu-position-absolute"))&&a(n.children(".wpr-sub-menu"),!1),e.hasClass("wpr-sub-open")?(e.removeClass("wpr-sub-open"),a(l,!1)):(r.preventDefault(),e.addClass("wpr-sub-open"),a(l,!0))}),o.on("click",function(i){var e=t(this),r=e.children(".wpr-sub-menu");s.hasClass("wpr-nav-menu-horizontal")&&a(o.find(".wpr-sub-menu"),!1),e.hasClass("wpr-sub-open")?a(r,!1):(i.preventDefault(),a(r,!0))}),t(document).mouseup(function(t){n.is(t.target)||0!==n.has(t.target).length||(n.not().removeClass("wpr-sub-open"),a(n.children(".wpr-sub-menu"),!1)),o.is(t.target)||0!==o.has(t.target).length||(o.removeClass("wpr-sub-open"),a(o.children(".wpr-sub-menu"),!1))})):(n.on("mouseenter",function(){s.hasClass("wpr-nav-menu-vertical")&&i.hasClass("wpr-sub-menu-position-absolute")&&s.find("li").not(this).children(".wpr-sub-menu").hide(),a(t(this).children(".wpr-sub-menu"),!0)}),o.on("mouseenter",function(){a(t(this).children(".wpr-sub-menu"),!0)}),s.hasClass("wpr-nav-menu-horizontal")?(n.on("mouseleave",function(){a(t(this).children(".wpr-sub-menu"),!1)}),o.on("mouseleave",function(){a(t(this).children(".wpr-sub-menu"),!1)})):s.on("mouseleave",function(){a(t(this).find(".wpr-sub-menu"),!1)}));var d=l.find(".wpr-mobile-nav-menu");l.find(".wpr-mobile-toggle").on("click",function(){t(this).toggleClass("wpr-mobile-toggle-fx"),t(this).hasClass(".wpr-mobile-toggle-open")?(t(this).removeClass(".wpr-mobile-toggle-open"),t(this).trigger("focusout"),t(this).find(".wpr-mobile-toggle-text").length&&(t(this).children().eq(1).hide(),t(this).children().eq(0).show())):(t(this).addClass(".wpr-mobile-toggle-open"),t(this).find(".wpr-mobile-toggle-text").length&&(t(this).children().eq(0).hide(),t(this).children().eq(1).show())),t(this).parent().next().stop().slideToggle(),r()}),d.find(".sub-menu").removeClass("wpr-sub-menu").addClass("wpr-mobile-sub-menu"),d.find(".menu-item-has-children").children("a").on("click",function(i){var e=t(this).closest("li");e.hasClass("wpr-mobile-sub-open")?(e.removeClass("wpr-mobile-sub-open"),e.children(".wpr-mobile-sub-menu").first().stop().slideUp()):(i.preventDefault(),e.addClass("wpr-mobile-sub-open"),e.children(".wpr-mobile-sub-menu").first().stop().slideDown())}),r(),t(window).smartresize(function(){r()})},OnepageNav:function(e){function i(i){"yes"!==e.find(".wpr-onepage-nav").attr("data-highlight")||(e.find(".wpr-onepage-nav-item").children("a").removeClass("wpr-onepage-active-item"),t(".elementor-section").each(function(){var r=t(this).offset().top,a=r+t(this).outerHeight();i>=r&&i<a&&e.find(".wpr-onepage-nav-item").children("a[href=\"#"+t(this).attr("id")+"\"]").addClass("wpr-onepage-active-item")}))}e.find(".wpr-onepage-nav-item").on("click",function(e){e.preventDefault();var r=t(t(this).find("a").attr("href")),a=parseInt(t(this).parent().attr("data-speed"),10);t("html,body").animate({scrollTop:r.offset().top},a),i(t(window).scrollTop())}),"yes"===e.find(".wpr-onepage-nav").attr("data-highlight")&&setTimeout(function(){t(window).scroll()},10),t(window).scroll(function(){i(t(this).scrollTop())})},widgetGrid:function(r){function a(){if(r.find(".wpr-sharing-trigger").length){var e=r.find(".wpr-sharing-trigger"),i=r.find(".wpr-post-sharing-inner"),a=5;i.first().find("a").each(function(){a+=t(this).outerWidth()+parseInt(t(this).css("margin-right"),10)});var s=parseInt(i.find("a").css("margin-right"),10);"left"===e.attr("data-direction")?(i.css("width",a+"px"),i.css("left",-(s+a)+"px")):"right"===e.attr("data-direction")?(i.css("width",a+"px"),i.css("right",-(s+a)+"px")):"top"===e.attr("data-direction")?(i.find("a").css({"margin-right":"0","margin-top":s+"px"}),i.css({top:-s+"px",left:"50%","-webkit-transform":"translate(-50%, -100%)",transform:"translate(-50%, -100%)"})):"right"===e.attr("data-direction")?(i.css("width",a+"px"),i.css({left:s+"px"})):"bottom"===e.attr("data-direction")&&(i.find("a").css({"margin-right":"0","margin-bottom":s+"px"}),i.css({bottom:-s+"px",left:"50%","-webkit-transform":"translate(-50%, 100%)",transform:"translate(-50%, 100%)"})),"click"===e.attr("data-action")?e.on("click",function(){var e=t(this).next();"hidden"===e.css("visibility")?(e.css("visibility","visible"),e.find("a").css({opacity:"1",top:"0"}),setTimeout(function(){e.find("a").addClass("wpr-no-transition-delay")},100*e.find("a").length)):(e.find("a").removeClass("wpr-no-transition-delay"),e.find("a").css({opacity:"0",top:"-5px"}),setTimeout(function(){e.css("visibility","hidden")},100*e.find("a").length))}):(e.on("mouseenter",function(){var e=t(this).next();e.css("visibility","visible"),e.find("a").css({opacity:"1",top:"0"}),setTimeout(function(){e.find("a").addClass("wpr-no-transition-delay")},100*e.find("a").length)}),r.find(".wpr-grid-item-sharing").on("mouseleave",function(){var e=t(this).find(".wpr-post-sharing-inner");e.find("a").removeClass("wpr-no-transition-delay"),e.find("a").css({opacity:"0",top:"-5px"}),setTimeout(function(){e.css("visibility","hidden")},100*e.find("a").length)}))}}function s(){"yes"!==p.find(".wpr-grid-media-wrap").attr("data-overlay-link")||e.editorCheck()||(p.find(".wpr-grid-media-wrap").css("cursor","pointer"),p.find(".wpr-grid-media-wrap").on("click",function(e){var i=e.target.className;if(-1!==i.indexOf("inner-block")||-1!==i.indexOf("wpr-cv-inner")||-1!==i.indexOf("wpr-grid-media-hover")){e.preventDefault();var r=t(this).find(".wpr-grid-media-hover-bg").attr("data-url"),r=r.replace("#new_tab","");"_blank"===p.find(".wpr-grid-item-title a").attr("target")?window.open(r,"_blank").focus():window.location.href=r}}))}function l(i){if(-1!==r.find(".wpr-grid-item-lightbox").length){var a=r.find(".wpr-grid-item-lightbox"),s=a.find(".wpr-grid-lightbox-overlay").first();a.each(function(){var e=t(this).find(".inner-block > span").attr("data-src"),i=t(this).closest("article").not(".slick-cloned");p.hasClass("wpr-media-grid")||i.find(".wpr-grid-image-wrap").attr("data-src",e);var r=i.find(".wpr-grid-image-wrap").attr("data-src");typeof r!="undefined"&&!1!==r&&-1===r.indexOf("wp-content")&&i.find(".wpr-grid-image-wrap").attr("data-iframe","true")}),p.lightGallery(i.lightbox),p.on("onAfterOpen.lg",function(){t(".lg-outer").find(".lg-thumb-item").length&&t(".lg-outer").find(".lg-thumb-item").each(function(){var e=t(this).find("img").attr("src"),i=e,r=e.lastIndexOf("."),a=e.slice(r),s=e.lastIndexOf("-"),l=!!/\d{3,}x\d{3,}/.test(e.substring(r,s))&&e.substring(r,s);42<=e.substring(r,s).length&&(l=""),""!==l&&(!1===l?i=[e.slice(0,r),"-150x150",e.slice(r)].join(""):i=e.replace(l,"-150x150")),t(this).find("img").attr("src",i)})}),r.find(".wpr-grid").on("onAferAppendSlide.lg, onAfterSlide.lg",function(){var e=t("#lg-actual-size, #lg-zoom-in, #lg-zoom-out, #lg-download"),r=t("#lg-download").attr("href");t("#lg-download").length&&(-1===r.indexOf("wp-content")?e.addClass("wpr-hidden-element"):e.removeClass("wpr-hidden-element")),""===i.lightbox.autoplay&&t(".lg-autoplay-button").css({width:"0",height:"0",overflow:"hidden"})}),s.length?(r.find(".wpr-grid-media-hover-bg").after(s.remove()),r.find(".wpr-grid-lightbox-overlay").on("click",function(){e.editorCheck()?alert("Lightbox is Disabled in the Editor!"):t(this).closest("article").find(".wpr-grid-image-wrap").trigger("click")})):a.find(".inner-block > span").on("click",function(){if(!e.editorCheck()){var i=t(this).closest("article").find(".wpr-grid-image-wrap");i.trigger("click")}else alert("Lightbox is Disabled in the Editor!")})}}function n(){r.find(".wpr-post-like-button").length&&r.find(".wpr-post-like-button").on("click",function(){var e=t(this);return""!==e.attr("data-post-id")&&t.ajax({type:"POST",url:e.attr("data-ajax"),data:{action:"wpr_likes_init",post_id:e.attr("data-post-id"),nonce:e.attr("data-nonce")},beforeSend:function(){e.fadeTo(500,.5)},success:function(t){var i=e.attr("data-icon"),r=t.count;""===r.replace(/<\/?[^>]+(>|$)/g,"")?(r="<span class=\"wpr-post-like-count\">"+e.attr("data-text")+"</span>",!e.hasClass("wpr-likes-zero")&&e.addClass("wpr-likes-zero")):e.removeClass("wpr-likes-zero"),e.hasClass("wpr-already-liked")?(e.prop("title","Like"),e.removeClass("wpr-already-liked"),e.html("<i class=\""+i+"\"></i>"+r)):(e.prop("title","Unlike"),e.addClass("wpr-already-liked"),e.html("<i class=\""+i.replace("far","fas")+"\"></i>"+r)),e.fadeTo(500,1)}}),!1})}function o(e){for(var a,s,l,n,o=r.find(".wpr-grid"),d=o.find(".wpr-grid-item"),p=d.filter(":visible"),c=e.layout,f=e.media_align,m=e.media_width,g=e.media_distance,y=3,w=1,h=2,u=parseInt(e.columns_desktop,10),b=e.gutter_hr,T=e.gutter_vr,v=o.width()+b-.3,k=t("body").prop("clientWidth"),x=400,C=r.attr("class"),C=C.split(" "),_=0;_<C.length-1;_++)-1!==C[_].search(/mobile\d/)&&(w=C[_].slice(-1)),-1!==C[_].search(/mobile_extra\d/)&&(a=C[_].slice(-1)),-1!==C[_].search(/tablet\d/)&&(h=C[_].slice(-1)),-1!==C[_].search(/tablet_extra\d/)&&(s=C[_].slice(-1)),-1!==C[_].search(/widescreen\d/)&&(n=C[_].slice(-1)),-1!==C[_].search(/laptop\d/)&&(l=C[_].slice(-1));y=440>=k?w:768>=k?a?a:h:881>=k?h:1025>=k?s?s:h:1201>=k?l?l:u:1920>=k?u:2300>=k?u:2650>=k?n?n:u+1:3e3>=k?n?n:u+2:n?n:u+3,8<y&&(y=8),"string"==typeof y&&-1!==y.indexOf("pro")&&(y=3),d.outerWidth(Math.floor(v/y-b)),d.css("margin-bottom",T+"px"),1===y&&d.last().css("margin-bottom","0");var S=-1;if(p.each(function(){var e=t(this).outerHeight(),i=parseInt(t(this).css("top"),10);i>S&&(S=i)}),"fitRows"===c&&p.each(function(){parseInt(t(this).css("top"))===S&&t(this).addClass("rf-last-row")}),"list"===c){var z=d.find(".wpr-grid-image-wrap").outerHeight();if(d.find(".wpr-grid-item-below-content").css("min-height",z+"px"),480>t("body").prop("clientWidth"))d.find(".wpr-grid-media-wrap").css({float:"none",width:"100%"}),d.find(".wpr-grid-item-below-content").css({float:"none",width:"100%"}),d.find(".wpr-grid-image-wrap").css("padding","0"),d.find(".wpr-grid-item-below-content").css("min-height","0"),"zigzag"===f&&d.find("[class*=\"elementor-repeater-item\"]").css("text-align","center");else if("zigzag"!==f){d.find(".wpr-grid-media-wrap").css({float:f,width:m+"%"});var j="left"===f?"margin-right":"margin-left";d.find(".wpr-grid-media-wrap").css(j,g+"px"),d.find(".wpr-grid-item-below-content").css({float:f,width:"calc((100% - "+m+"%) - "+g+"px)"})}else d.filter(":even").find(".wpr-grid-media-wrap").css({float:"left",width:m+"%"}),d.filter(":even").find(".wpr-grid-item-below-content").css({float:"left",width:"calc((100% - "+m+"%) - "+g+"px)"}),d.filter(":even").find(".wpr-grid-media-wrap").css("margin-right",g+"px"),d.filter(":odd").find(".wpr-grid-media-wrap").css({float:"right",width:m+"%"}),d.filter(":odd").find(".wpr-grid-item-below-content").css({float:"right",width:"calc((100% - "+m+"%) - "+g+"px)"}),d.filter(":odd").find(".wpr-grid-media-wrap").css("margin-left",g+"px"),o.hasClass("wpr-grid-list-ready")||d.each(function(e){var i=t(this).find("[class*=\"elementor-repeater-item\"]");0==e%2?i.each(function(){if(!t(this).hasClass("wpr-grid-item-align-center")){"none"===t(this).css("float")?t(this).css("text-align","left"):t(this).css("float","left");t(this).find(".inner-block")}}):i.each(function(e){if(!t(this).hasClass("wpr-grid-item-align-center")){"none"===t(this).css("float")?t(this).css("text-align","right"):t(this).css("float","right");var i=t(this).find(".inner-block");"0px"!==i.css("margin-left")&&(i.css("margin-right",i.css("margin-left")),i.css("margin-left","0")),0===e&&"0px"!==i.css("margin-right")&&(i.css("margin-left",i.css("margin-right")),i.css("margin-right","0"))}})}),setTimeout(function(){o.hasClass("wpr-grid-list-ready")||o.addClass("wpr-grid-list-ready")},500)}"list"===c&&(c="fitRows"),"default"!==e.filters_animation&&(x=0);o.isotope({layoutMode:c,masonry:{comlumnWidth:v/y,gutter:b},fitRows:{comlumnWidth:v/y,gutter:b},transitionDuration:x,percentPosition:!0})}function d(e){if("yes"===e.filters_count&&r.find(".wpr-grid-filters a, .wpr-grid-filters span").each(function(){"*"===t(this).attr("data-filter")?t(this).find("sup").text(r.find(".wpr-grid-filters").next().find("article").length):t(this).find("sup").text(r.find(t(this).attr("data-filter")).length)}),"yes"!==e.filters_linkable){if("yes"===e.deeplinking){var i=window.location.hash.replace("#filter:",".");window.location.hash.match("#filter:all")&&(i="*");var a=r.find(".wpr-grid-filters span[data-filter=\""+i+"\"]:not(.wpr-back-filter)"),s=a.parent();"parent"===a.parent().attr("data-role")?s.parent("ul").find("ul[data-parent=\""+i+"\"]").length&&(s.parent("ul").children("li").css("display","none"),s.siblings("ul[data-parent=\""+i+"\"]").css("display","block")):"sub"===a.parent().attr("data-role")&&(s.closest(".wpr-grid-filters").children("li").css("display","none"),s.parent("ul").css("display","inline-block")),r.find(".wpr-grid-filters span").removeClass("wpr-active-filter"),a.addClass("wpr-active-filter"),r.find(".wpr-grid").isotope({filter:i}),e.lightbox.selector="*"===i?" .wpr-grid-image-wrap":i+" .wpr-grid-image-wrap",l(e)}"yes"===e.filters_hide_empty&&r.find(".wpr-grid-filters span").each(function(){var e=t(this).attr("data-filter");"*"!==e&&(0===p.find(e).length?t(this).parent("li").addClass("wpr-hidden-element"):t(this).parent("li").removeClass("wpr-hidden-element"))}),""!==e.filters_default_filter&&setTimeout(function(){r.find(".wpr-grid-filters").find("span[data-filter*=\"-"+e.filters_default_filter+"\"]")[0].click()},100),r.find(".wpr-grid-filters span").on("click",function(){var i=t(this).data("filter"),a=t(this).parent("li"),s=a.attr("data-role");if(r.find(".wpr-grid-filters span").removeClass("wpr-active-filter"),t(this).addClass("wpr-active-filter"),"parent"===s?a.parent("ul").find("ul[data-parent=\""+i+"\"]").length&&(a.parent("ul").children("li").css("display","none"),a.siblings("ul[data-parent=\""+i+"\"]").css("display","block")):"back"===s&&(a.closest(".wpr-grid-filters").children("li").css("display","inline-block"),a.parent().css("display","none")),"yes"===e.deeplinking){var l="#filter:"+i.replace(".","");"*"===i&&(l="#filter:all"),window.location.href=window.location.pathname+window.location.search+l}"infinite-scroll"===e.pagination_type&&0===p.find(t(this).attr("data-filter")).length&&r.find(".wpr-grid").infiniteScroll("loadNextPage"),"default"!==e.filters_animation&&r.find(".wpr-grid-item-inner").css({opacity:"0",transition:"none"}),"fade-slide"===e.filters_animation?r.find(".wpr-grid-item-inner").css("top","20px"):"zoom"===e.filters_animation?r.find(".wpr-grid-item-inner").css("transform","scale(0.01)"):r.find(".wpr-grid-item-inner").css({top:"0",transform:"scale(1)"}),r.find(".wpr-grid").isotope({filter:i}),e.lightbox.selector="*"===i?" .wpr-grid-image-wrap":i+" .wpr-grid-image-wrap",p.data("lightGallery").destroy(!0),p.lightGallery(e.lightbox)})}}var p=r.find(".wpr-grid");if(p.length){var c=p.attr("data-settings");if("undefined"==typeof c||!1===c){p.animate({opacity:"1"},1e3);var f=r.attr("class"),m=f.match(/wpr-grid-slider-columns-\d/)?f.match(/wpr-grid-slider-columns-\d/).join().slice(-1):2,g=f.match(/columns--widescreen\d/)?f.match(/columns--widescreen\d/).join().slice(-1):m,y=f.match(/columns--laptop\d/)?f.match(/columns--laptop\d/).join().slice(-1):m,w=f.match(/columns--tablet_extra\d/)?f.match(/columns--tablet_extra\d/).join().slice(-1):h,h=f.match(/columns--tablet\d/)?f.match(/columns--tablet\d/).join().slice(-1):2,u=f.match(/columns--mobile_extra\d/)?f.match(/columns--mobile_extra\d/).join().slice(-1):h,b=f.match(/columns--mobile\d/)?f.match(/columns--mobile\d/).join().slice(-1):1,T=f.match(/wpr-grid-slides-to-scroll-\d/)?+f.match(/wpr-grid-slides-to-scroll-\d/).join().slice(-1):1;if(p.slick({appendDots:r.find(".wpr-grid-slider-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-grid-slider-dot\"></span>"},slidesToShow:m,responsive:[{breakpoint:1e4,settings:{slidesToShow:g,slidesToScroll:T>g?1:T}},{breakpoint:2399,settings:{slidesToShow:m,slidesToScroll:T>m?1:T}},{breakpoint:1221,settings:{slidesToShow:y,slidesToScroll:T>y?1:T}},{breakpoint:1200,settings:{slidesToShow:w,slidesToScroll:T>w?1:T}},{breakpoint:1024,settings:{slidesToShow:h,slidesToScroll:T>h?1:T}},{breakpoint:880,settings:{slidesToShow:u,slidesToScroll:T>u?1:T}},{breakpoint:768,settings:{slidesToShow:b,slidesToScroll:T>b?1:T}}]}),r.find(".slick-dots").length&&r.hasClass("wpr-grid-slider-dots-horizontal")){var v=r.find(".slick-dots li").outerWidth()*r.find(".slick-dots li").length-parseInt(r.find(".slick-dots li span").css("margin-right"),10);r.find(".slick-dots").length&&r.find(".slick-dots").css("width",v),t(window).on("resize",function(){setTimeout(function(){var e=r.find(".slick-dots li").outerWidth()*r.find(".slick-dots li").length-parseInt(r.find(".slick-dots li span").css("margin-right"),10);r.find(".slick-dots").css("width",e)},300)})}c=JSON.parse(p.attr("data-slick"))}else if(c=JSON.parse(p.attr("data-settings")),o(c),setTimeout(function(){o(c)},100),e.editorCheck()&&(setTimeout(function(){o(c)},500),setTimeout(function(){o(c)},1e3)),t(window).on("load",function(){setTimeout(function(){o(c)},100)}),t(window).smartresize(function(){setTimeout(function(){o(c)},200)}),d(c),p.on("arrangeComplete",function(e,i){var a=0,s=0,l=c.animation_delay,n=c.animation_duration,o=c.filters_animation_duration;if(p.hasClass("grid-images-loaded"))l=0;else if(p.css("opacity","1"),"default"===c.animation&&"default"===c.filters_animation)return;for(var d in i){l+=c.animation_delay,r.find(i[d].element).find(".wpr-grid-item-inner").css({opacity:"1",top:"0",transform:"scale(1)",transition:"all "+n+"s ease-in "+l+"s"}),s+=c.filters_animation_delay,p.hasClass("grid-images-loaded")&&r.find(i[d].element).find(".wpr-grid-item-inner").css({transition:"all "+o+"s ease-in "+s+"s"});var f=window.location.hash;0<=f.indexOf("#filter:")&&0>f.indexOf("#filter:*")&&(f=f.replace("#filter:",""),r.find(i[d].element).filter(function(){if(t(this).hasClass(f))return a+=c.filters_animation_delay,t(this)}).find(".wpr-grid-item-inner").css({"transition-delay":a+"s"}))}}),p.imagesLoaded().progress(function(){"1"!==p.css("opacity")&&p.css("opacity","1"),setTimeout(function(){p.addClass("grid-images-loaded")},500)}),("load-more"===c.pagination_type||"infinite-scroll"===c.pagination_type)&&r.find(".wpr-grid-pagination").length&&!e.editorCheck()){var k=r.find(".wpr-grid-pagination"),x=".elementor-element-"+r.attr("data-id"),C=!1,_=!1;"infinite-scroll"===c.pagination_type&&(_=300,C=x+" .wpr-load-more-btn"),p.infiniteScroll({path:x+" .wpr-grid-pagination a",hideNav:C,append:!1,history:!1,scrollThreshold:_,status:x+" .page-load-status",onInit:function(){this.on("load",function(){p.removeClass("grid-images-loaded")})}}),p.on("request.infiniteScroll",function(){k.find(".wpr-load-more-btn").hide(),k.find(".wpr-pagination-loading").css("display","inline-block")});var S=0;p.on("load.infiniteScroll",function(e,i){S++;var r=t(i).find(x).find(".wpr-grid-item");p.infiniteScroll("appendItems",r),p.isotope("appended",r),r.imagesLoaded().progress(function(){o(c),setTimeout(function(){o(c),d(c)},10),setTimeout(function(){p.addClass("grid-images-loaded")},500)}),k.find(".wpr-pagination-loading").hide(),c.pagination_max_pages-1===S?(k.find(".wpr-pagination-finish").fadeIn(1e3),k.delay(2e3).fadeOut(1e3),setTimeout(function(){k.find(".wpr-pagination-loading").hide()},500)):"load-more"===c.pagination_type&&k.find(".wpr-load-more-btn").fadeIn(),setTimeout(function(){n(c)},300),l(c),p.data("lightGallery").destroy(!0),p.lightGallery(c.lightbox),s(),a()}),k.find(".wpr-load-more-btn").on("click",function(){return p.infiniteScroll("loadNextPage"),!1})}if(p.find(".wpr-grid-item-add-to-cart").length){var z=p.find(".wpr-grid-item-add-to-cart").find("i"),j=z.attr("class");z.length&&(j=j.substring(j.indexOf("fa-"),j.length)),t("body").on("adding_to_cart",function(e,t){t.fadeTo("slow",.5)}),t("body").on("added_to_cart",function(e,t,i,r){r.fadeTo("slow",1),z.length&&(r.find("i").removeClass(j).addClass("fa-check"),setTimeout(function(){r.find("i").removeClass("fa-check").addClass(j)},3500))})}a(),s(),l(c),n(c)}},widgetMagazineGrid:function(i){var r=i.find(".wpr-magazine-grid-wrap"),a=r.attr("data-slick"),s=r.attr("data-slide-effect");if(typeof a!="undefined"&&!1!==a&&r.slick({fade:"fade"===s}),"yes"!==r.find(".wpr-grid-media-wrap").attr("data-overlay-link")||e.editorCheck()||(r.find(".wpr-grid-media-wrap").css("cursor","pointer"),r.find(".wpr-grid-media-wrap").on("click",function(e){var i=e.target.className;(-1!==i.indexOf("inner-block")||-1!==i.indexOf("wpr-cv-inner")||-1!==i.indexOf("wpr-grid-media-hover"))&&(e.preventDefault(),window.location.href=t(this).find(".wpr-grid-media-hover-bg").attr("data-url"))})),i.find(".wpr-sharing-trigger").length){var l=i.find(".wpr-sharing-trigger"),n=i.find(".wpr-post-sharing-inner"),o=5;n.first().find("a").each(function(){o+=t(this).outerWidth()+parseInt(t(this).css("margin-right"),10)});var d=parseInt(n.find("a").css("margin-right"),10);"left"===l.attr("data-direction")?(n.css("width",o+"px"),n.css("left",-(d+o)+"px")):"right"===l.attr("data-direction")?(n.css("width",o+"px"),n.css("right",-(d+o)+"px")):"top"===l.attr("data-direction")?(n.find("a").css({"margin-right":"0","margin-top":d+"px"}),n.css({top:-d+"px",left:"50%","-webkit-transform":"translate(-50%, -100%)",transform:"translate(-50%, -100%)"})):"right"===l.attr("data-direction")?(n.css("width",o+"px"),n.css({left:d+"px"})):"bottom"===l.attr("data-direction")&&(n.find("a").css({"margin-right":"0","margin-bottom":d+"px"}),n.css({bottom:-d+"px",left:"50%","-webkit-transform":"translate(-50%, 100%)",transform:"translate(-50%, 100%)"})),"click"===l.attr("data-action")?l.on("click",function(){var e=t(this).next();"hidden"===e.css("visibility")?(e.css("visibility","visible"),e.find("a").css({opacity:"1",top:"0"}),setTimeout(function(){e.find("a").addClass("wpr-no-transition-delay")},100*e.find("a").length)):(e.find("a").removeClass("wpr-no-transition-delay"),e.find("a").css({opacity:"0",top:"-5px"}),setTimeout(function(){e.css("visibility","hidden")},100*e.find("a").length))}):(l.on("mouseenter",function(){var e=t(this).next();e.css("visibility","visible"),e.find("a").css({opacity:"1",top:"0"}),setTimeout(function(){e.find("a").addClass("wpr-no-transition-delay")},100*e.find("a").length)}),i.find(".wpr-grid-item-sharing").on("mouseleave",function(){var e=t(this).find(".wpr-post-sharing-inner");e.find("a").removeClass("wpr-no-transition-delay"),e.find("a").css({opacity:"0",top:"-5px"}),setTimeout(function(){e.css("visibility","hidden")},100*e.find("a").length)}))}i.find(".wpr-post-like-button").length&&i.find(".wpr-post-like-button").on("click",function(){var e=t(this);return""!==e.attr("data-post-id")&&t.ajax({type:"POST",url:e.attr("data-ajax"),data:{action:"wpr_likes_init",post_id:e.attr("data-post-id"),nonce:e.attr("data-nonce")},beforeSend:function(){e.fadeTo(500,.5)},success:function(t){var i=e.attr("data-icon"),r=t.count;""===r.replace(/<\/?[^>]+(>|$)/g,"")?(r="<span class=\"wpr-post-like-count\">"+e.attr("data-text")+"</span>",!e.hasClass("wpr-likes-zero")&&e.addClass("wpr-likes-zero")):e.removeClass("wpr-likes-zero"),e.hasClass("wpr-already-liked")?(e.prop("title","Like"),e.removeClass("wpr-already-liked"),e.html("<i class=\""+i+"\"></i>"+r)):(e.prop("title","Unlike"),e.addClass("wpr-already-liked"),e.html("<i class=\""+i.replace("far","fas")+"\"></i>"+r)),e.fadeTo(500,1)}}),!1})},widgetFeaturedMedia:function(i){var r=i.find(".wpr-gallery-slider"),a=r.attr("data-slick");r.animate({opacity:"1"},1e3),"[]"!==a&&r.slick({appendDots:i.find(".wpr-gallery-slider-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-gallery-slider-dot\"></span>"}});var s=t(".wpr-featured-media-image").attr("data-lightbox");if(typeof s!=typeof void 0&&!1!==s&&!e.editorCheck()){var l=i.find(".wpr-featured-media-wrap");s=JSON.parse(s),l.lightGallery(s),l.on("onAferAppendSlide.lg, onAfterSlide.lg",function(){var e=t("#lg-actual-size, #lg-zoom-in, #lg-zoom-out, #lg-download"),i=t("#lg-download").attr("href");t("#lg-download").length&&(-1===i.indexOf("wp-content")?e.addClass("wpr-hidden-element"):e.removeClass("wpr-hidden-element")),""===s.autoplay&&t(".lg-autoplay-button").css({width:"0",height:"0",overflow:"hidden"})})}},widgetProductMedia:function(i){var r=i.find(".wpr-product-media-image"),a=i.find(".wpr-gallery-slider"),s=a.attr("data-slick");if(a.animate({opacity:"1"},1e3),"[]"!==s&&a.length){var s=JSON.parse(s);if(a.slick(),"yes"===s.thumbnail_nav){var l=i.find(".wpr-product-thumb-nav");l.slick(),l.find("li").on("click",function(){var e=t(this).attr("data-slick-index");t(this).siblings().removeClass("slick-current"),t(this).addClass("slick-current"),a.slick("slickGoTo",parseInt(e,10))})}}var n=t(".wpr-product-media-image").attr("data-lightbox");if(typeof n!="undefined"&&!1!==n&&!e.editorCheck()){var o=i.find(".wpr-product-media-wrap");n=JSON.parse(n),o.lightGallery(n),o.on("onAferAppendSlide.lg, onAfterSlide.lg",function(){var e=t("#lg-actual-size, #lg-zoom-in, #lg-zoom-out, #lg-download"),i=t("#lg-download").attr("href");t("#lg-download").length&&(-1===i.indexOf("wp-content")?e.addClass("wpr-hidden-element"):e.removeClass("wpr-hidden-element")),""===n.autoplay&&t(".lg-autoplay-button").css({width:"0",height:"0",overflow:"hidden"})})}i.hasClass("wpr-gallery-zoom-yes")&&r.on("mousemove",function(e){var i=100*((e.pageX-t(this).offset().left)/t(this).width()),r=100*((e.pageY-t(this).offset().top)/t(this).height());t(this).children("img").css({"transform-origin":i+"% "+r+"%"})})},widgetCountDown:function(i){function r(){var e=d-new Date,r={days:Math.floor(e/86400000),hours:Math.floor(e/3600000%24),minutes:Math.floor(e/1e3/60%60),seconds:Math.floor(e/1e3%60)};(0>r.days||0>r.hours||0>r.minutes)&&(r={days:0,hours:0,minutes:0,seconds:0}),i.find(".wpr-countdown-number").each(function(){var e=r[t(this).attr("data-item")];1===e.toString().length&&(e="0"+e),t(this).text(e);var i=t(this).next();if(i.length&&!t(this).hasClass("wpr-countdown-seconds")){var a=i.data("text");"01"==e?i.text(a.singular):i.text(a.plural)}}),0>e&&(clearInterval(l),a())}function a(){var r=s.data("actions");e.editorCheck()||(r.hasOwnProperty("hide-timer")&&s.hide(),r.hasOwnProperty("hide-element")&&t(r["hide-element"]).hide(),r.hasOwnProperty("message")&&!i.children(".elementor-widget-container").children(".wpr-countdown-message").length&&s.after("<div class=\"wpr-countdown-message\">"+r.message+"</div>"),r.hasOwnProperty("redirect")&&(window.location.href=r.redirect),r.hasOwnProperty("load-template")&&s.parent().find(".elementor-inner").parent().show())}var s=i.children(".elementor-widget-container").children(".wpr-countdown-wrap"),l=null,n=s.data("interval"),o=s.data("show-again"),d=new Date(1e3*n);if("evergreen"===s.data("type")){var p=new Date,c=i.attr("data-id"),f=JSON.parse(localStorage.getItem("WprCountDownSettings"))||{};d=f.hasOwnProperty(c)?0===Object.keys(f).length||n!==f[c].interval?p.setSeconds(p.getSeconds()+n):f[c].endTime:p.setSeconds(p.getSeconds()+n),d+o<p.setSeconds(p.getSeconds())&&(d=p.setSeconds(p.getSeconds()+n)),f[c]={interval:n,endTime:d},localStorage.setItem("WprCountDownSettings",JSON.stringify(f))}r(),e.editorCheck()||(l=setInterval(r,1e3))},widgetGoogleMaps:function(e){function t(e,t){var i="<div class=\"wpr-gm-iwindow\"><h3>"+t.gm_location_title+"</h3><p>"+t.gm_location_description+"</p></div>",r=new google.maps.InfoWindow({content:i,maxWidth:t.gm_info_window_width.size});"load"===t.gm_show_info_window?r.open(p,e):e.addListener("click",function(){r.open(p,e)})}function r(e){var t;switch(e.style){case"simple":t=JSON.parse("[{\"featureType\":\"road\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#fffffa\"}]},{\"featureType\":\"water\",\"stylers\":[{\"lightness\":50}]},{\"featureType\":\"road\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":40}]}]");break;case"white-black":t=JSON.parse("[{\"featureType\":\"road\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"on\"}]},{\"featureType\":\"poi\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"administrative\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"},{\"weight\":1}]},{\"featureType\":\"road\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"weight\":0.8}]},{\"featureType\":\"landscape\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"water\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"stylers\":[{\"visibility\":\"off\"}]},{\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"elementType\":\"labels.text\",\"stylers\":[{\"visibility\":\"on\"}]},{\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#000000\"}]},{\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"on\"}]}]");break;case"light-silver":t=JSON.parse("[{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#e9e9e9\"},{\"lightness\":17}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#f5f5f5\"},{\"lightness\":20}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"},{\"lightness\":17}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#ffffff\"},{\"lightness\":29},{\"weight\":0.2}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#ffffff\"},{\"lightness\":18}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#ffffff\"},{\"lightness\":16}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#f5f5f5\"},{\"lightness\":21}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#dedede\"},{\"lightness\":21}]},{\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#ffffff\"},{\"lightness\":16}]},{\"elementType\":\"labels.text.fill\",\"stylers\":[{\"saturation\":36},{\"color\":\"#333333\"},{\"lightness\":40}]},{\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#f2f2f2\"},{\"lightness\":19}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#fefefe\"},{\"lightness\":20}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#fefefe\"},{\"lightness\":17},{\"weight\":1.2}]}]");break;case"light-grayscale":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"weight\":\"2.00\"}]},{\"featureType\":\"all\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#9c9c9c\"}]},{\"featureType\":\"all\",\"elementType\":\"labels.text\",\"stylers\":[{\"visibility\":\"on\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#f2f2f2\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"landscape.man_made\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":45}]},{\"featureType\":\"road\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#eeeeee\"}]},{\"featureType\":\"road\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#7b7b7b\"}]},{\"featureType\":\"road\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#46bcec\"},{\"visibility\":\"on\"}]},{\"featureType\":\"water\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#c8d7d4\"}]},{\"featureType\":\"water\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#070707\"}]},{\"featureType\":\"water\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#ffffff\"}]}]");break;case"subtle-grayscale":t=JSON.parse("[{\"featureType\":\"administrative\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":\"-100\"}]},{\"featureType\":\"administrative.province\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":65},{\"visibility\":\"on\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":\"50\"},{\"visibility\":\"simplified\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":\"-100\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"all\",\"stylers\":[{\"lightness\":\"30\"}]},{\"featureType\":\"road.local\",\"elementType\":\"all\",\"stylers\":[{\"lightness\":\"40\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"visibility\":\"simplified\"}]},{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"hue\":\"#ffff00\"},{\"lightness\":-25},{\"saturation\":-97}]},{\"featureType\":\"water\",\"elementType\":\"labels\",\"stylers\":[{\"lightness\":-25},{\"saturation\":-100}]}]");break;case"mostly-white":t=JSON.parse("[{\"featureType\":\"administrative\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#6195a0\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#f2f2f2\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#e6f3d6\"},{\"visibility\":\"on\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":45},{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#f4d2c5\"},{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"labels.text\",\"stylers\":[{\"color\":\"#4e4e4e\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#f4f4f4\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#787878\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#eaf6f8\"},{\"visibility\":\"on\"}]},{\"featureType\":\"water\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#eaf6f8\"}]}]");break;case"mostly-green":t=JSON.parse("[{\"featureType\":\"landscape.man_made\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#f7f1df\"}]},{\"featureType\":\"landscape.natural\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#d0e3b4\"}]},{\"featureType\":\"landscape.natural.terrain\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi.business\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi.medical\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#fbd3da\"}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#bde6ab\"}]},{\"featureType\":\"road\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffe15f\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#efd151\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"black\"}]},{\"featureType\":\"transit.station.airport\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#cfb2db\"}]},{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#a2daf2\"}]}]");break;case"neutral-blue":t=JSON.parse("[{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#193341\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#2c5a71\"}]},{\"featureType\":\"road\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#29768a\"},{\"lightness\":-37}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#406d80\"}]},{\"featureType\":\"transit\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#406d80\"}]},{\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#3e606f\"},{\"weight\":2},{\"gamma\":0.84}]},{\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry\",\"stylers\":[{\"weight\":0.6},{\"color\":\"#1a3541\"}]},{\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#2c5a71\"}]}]");break;case"blue-water":t=JSON.parse("[{\"featureType\":\"administrative\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#444444\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#f2f2f2\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":45}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#46bcec\"},{\"visibility\":\"on\"}]}]");break;case"blue-essense":t=JSON.parse("[{\"featureType\":\"landscape.natural\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#e0efef\"}]},{\"featureType\":\"poi\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"visibility\":\"on\"},{\"hue\":\"#1900ff\"},{\"color\":\"#c0e8e8\"}]},{\"featureType\":\"road\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":100},{\"visibility\":\"simplified\"}]},{\"featureType\":\"road\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit.line\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"on\"},{\"lightness\":700}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#7dcdcd\"}]}]");break;case"golden-brown":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#ff7000\"},{\"lightness\":\"69\"},{\"saturation\":\"100\"},{\"weight\":\"1.17\"},{\"gamma\":\"2.04\"}]},{\"featureType\":\"all\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#cb8536\"}]},{\"featureType\":\"all\",\"elementType\":\"labels\",\"stylers\":[{\"color\":\"#ffb471\"},{\"lightness\":\"66\"},{\"saturation\":\"100\"}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"gamma\":0.01},{\"lightness\":20}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"saturation\":-31},{\"lightness\":-33},{\"weight\":2},{\"gamma\":0.8}]},{\"featureType\":\"all\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"lightness\":\"-8\"},{\"gamma\":\"0.98\"},{\"weight\":\"2.45\"},{\"saturation\":\"26\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":30},{\"saturation\":30}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"saturation\":20}]},{\"featureType\":\"poi.park\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":20},{\"saturation\":-20}]},{\"featureType\":\"road\",\"elementType\":\"geometry\",\"stylers\":[{\"lightness\":10},{\"saturation\":-30}]},{\"featureType\":\"road\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"saturation\":25},{\"lightness\":25}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"lightness\":-20},{\"color\":\"#ecc080\"}]}]");break;case"midnight-commander":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":13}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#144b53\"},{\"lightness\":14},{\"weight\":1.4}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#08304b\"}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#0c4152\"},{\"lightness\":5}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#0b434f\"},{\"lightness\":25}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#0b3d51\"},{\"lightness\":16}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#146474\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#021019\"}]}]");break;case"shades-of-grey":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"saturation\":36},{\"color\":\"#000000\"},{\"lightness\":40}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#000000\"},{\"lightness\":16}]},{\"featureType\":\"all\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":20}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17},{\"weight\":1.2}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":20}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":21}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":29},{\"weight\":0.2}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":18}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":16}]},{\"featureType\":\"transit\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":19}]},{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17}]}]");break;case"yellow-black":t=JSON.parse("[{\"featureType\":\"all\",\"elementType\":\"labels\",\"stylers\":[{\"visibility\":\"on\"}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"saturation\":36},{\"color\":\"#000000\"},{\"lightness\":40}]},{\"featureType\":\"all\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"visibility\":\"on\"},{\"color\":\"#000000\"},{\"lightness\":16}]},{\"featureType\":\"all\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":20}]},{\"featureType\":\"administrative\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17},{\"weight\":1.2}]},{\"featureType\":\"administrative.country\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#e5c163\"}]},{\"featureType\":\"administrative.locality\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#c4c4c4\"}]},{\"featureType\":\"administrative.neighborhood\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#e5c163\"}]},{\"featureType\":\"landscape\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":20}]},{\"featureType\":\"poi\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":21},{\"visibility\":\"on\"}]},{\"featureType\":\"poi.business\",\"elementType\":\"geometry\",\"stylers\":[{\"visibility\":\"on\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#e5c163\"},{\"lightness\":\"0\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"geometry.stroke\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"road.highway\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#e5c163\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":18}]},{\"featureType\":\"road.arterial\",\"elementType\":\"geometry.fill\",\"stylers\":[{\"color\":\"#575757\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#ffffff\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.text.stroke\",\"stylers\":[{\"color\":\"#2c2c2c\"}]},{\"featureType\":\"road.local\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":16}]},{\"featureType\":\"road.local\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#999999\"}]},{\"featureType\":\"transit\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":19}]},{\"featureType\":\"water\",\"elementType\":\"geometry\",\"stylers\":[{\"color\":\"#000000\"},{\"lightness\":17}]}]");break;case"custom":t=JSON.parse(e.custom_style);break;default:t="";}return t}for(var a=e.find(".wpr-google-map"),s=a.data("settings"),l=a.data("controls"),n=a.data("locations"),o=[],d=new google.maps.LatLngBounds,p=new google.maps.Map(a[0],{mapTypeId:s.type,styles:r(s),zoom:s.zoom_depth,gestureHandling:s.zoom_on_scroll,mapTypeControl:l.type,fullscreenControl:l.fullscreen,zoomControl:l.zoom,streetViewControl:l.streetview}),c=0;c<n.length;c++){var f=n[c],m="",g=f.gm_marker_icon_size_width.size,y=f.gm_marker_icon_size_height.size;if(""!=f.gm_latitude&&""!=f.gm_longtitude){"yes"===f.gm_custom_marker&&(m={url:f.gm_marker_icon.url,scaledSize:new google.maps.Size(g,y)});var w=new google.maps.Marker({map:p,position:new google.maps.LatLng(parseFloat(f.gm_latitude),parseFloat(f.gm_longtitude)),animation:google.maps.Animation[f.gm_marker_animation],icon:m});"none"!==f.gm_show_info_window&&t(w,f),o.push(w),d.extend(w.position)}}if(1<n.length?p.fitBounds(d):p.setCenter(d.getCenter()),"yes"===s.cluster_markers)new MarkerClusterer(p,o,{imagePath:s.clusters_url})},widgetBeforeAfter:function(e){function i(){var e=r.find(".wpr-ba-label-1 div"),t=r.find(".wpr-ba-label-2 div");if(e.length||t.length)if(r.hasClass("wpr-ba-horizontal")){var i=e.position().left+e.outerWidth(),a=t.position().left+t.outerWidth();i+15>=parseInt(l.css("left"),10)?e.stop().css("opacity",0):e.stop().css("opacity",1),r.outerWidth()-(a+15)<=parseInt(l.css("left"),10)?t.stop().css("opacity",0):t.stop().css("opacity",1)}else{var i=e.position().top+e.outerHeight(),a=t.position().top+t.outerHeight();i+15>=parseInt(l.css("top"),10)?e.stop().css("opacity",0):e.stop().css("opacity",1),r.outerHeight()-(a+15)<=parseInt(l.css("top"),10)?t.stop().css("opacity",0):t.stop().css("opacity",1)}}var r=e.find(".wpr-ba-image-container"),a=r.find(".wpr-ba-image-1"),s=r.find(".wpr-ba-image-2"),l=r.find(".wpr-ba-divider"),n=r.attr("data-position");r.hasClass("wpr-ba-horizontal")?(l.css("left",n+"%"),s.css("left",n+"%"),s.find("img").css("right",n+"%"),l.on("move",function(t){var e=t.pageX-r.offset().left;l.css({left:"auto",right:"auto"}),s.css({left:"auto",right:"auto"}),0<e&&e<r.outerWidth()?(l.css("left",e),s.css("left",e),s.find("img").css("right",e)):0>=e?(l.css("left",0),s.css("left",0),s.find("img").css("right",0)):e>=r.outerWidth()&&(l.css("right",-l.outerWidth()/2),s.css("right",0),s.find("img").css("right","100%")),i()})):(l.css("top",n+"%"),s.css("top",n+"%"),s.find("img").css("bottom",n+"%"),l.on("move",function(t){var e=t.pageY-r.offset().top;l.css({top:"auto",bottom:"auto"}),s.css({top:"auto",bottom:"auto"}),0<e&&e<r.outerHeight()?(l.css("top",e),s.css("top",e),s.find("img").css("bottom",e)):0>=e?(l.css("top",0),s.css("top",0),s.find("img").css("bottom",0)):e>=r.outerHeight()&&(l.css("bottom",-l.outerHeight()/2),s.css("bottom",0),s.find("img").css("bottom","100%")),i()})),"mouse"===r.attr("data-trigger")&&r.on("mousemove",function(e){if(r.hasClass("wpr-ba-horizontal")){var a=e.pageX-t(this).offset().left;l.css("left",a),s.css("left",a),s.find("img").css("right",a)}else{var a=e.pageY-t(this).offset().top;l.css("top",a),s.css("top",a),s.find("img").css("bottom",a)}i()}),i()},widgetMailchimp:function(e){var i=e.find("form");i.on("submit",function(r){r.preventDefault();var a=t(this).find("button").text();t(this).find("button").text(t(this).find("button").data("loading")),t.ajax({url:WprConfig.ajaxurl,type:"POST",data:{action:"mailchimp_subscribe",fields:t(this).serialize(),apiKey:i.data("api-key"),listId:i.data("list-id")},success:function(t){i.find("button").text(a),"subscribed"===t.status?e.find(".wpr-mailchimp-success-message").show():e.find(".wpr-mailchimp-error-message").show(),e.find(".wpr-mailchimp-message").fadeIn()}})})},widgetAdvancedSlider:function(e){function i(){var e,t,i=l.find(".wpr-slider-item").outerWidth(),r=l.find(".wpr-slider-item").outerHeight(),a=16/9,s=0,n=0;i/r>a?(t=i,e=t/a,s="-"+(e-r)/2+"px"):(e=r,t=e*a,n="-"+(t-i)/2+"px"),l.find("iframe").css({width:t+"px",height:e+"px","max-width":"none",position:"absolute",left:n+"",top:s+"",display:"block","text-align":"inherit","line-height":"0px","border-width":"0px",margin:"0px",padding:"0px"})}function r(){l.find(".slick-active").each(function(){var e=t(this).attr("data-video-src"),r=t(this).attr("data-video-autoplay");1!==t(this).find(".wpr-slider-video").length&&"yes"===r&&(1==d?t(this).find(".wpr-cv-inner").prepend("<div class=\"wpr-slider-video\"><iframe src=\""+e+"\" width=\"100%\" height=\"100%\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe></div>"):t(this).find(".wpr-cv-container").prepend("<div class=\"wpr-slider-video\"><iframe src=\""+e+"\" width=\"100%\" height=\"100%\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe></div>"),i())})}function a(){1==d&&l.find(".wpr-slider-item").not(".slick-active").find(".wpr-slider-animation").removeClass("wpr-animation-enter")}function s(){l.find(".slick-active").find(".wpr-slider-content").fadeIn(0),1==d&&l.find(".slick-active").find(".wpr-slider-animation").addClass("wpr-animation-enter")}var l=e.find(".wpr-advanced-slider"),n=l.data("slick"),o=e.attr("class"),d=o.match(/wpr-adv-slider-columns-\d/)?o.match(/wpr-adv-slider-columns-\d/).join().slice(-1):2,p=o.match(/columns--widescreen\d/)?o.match(/columns--widescreen\d/).join().slice(-1):d,c=o.match(/columns--laptop\d/)?o.match(/columns--laptop\d/).join().slice(-1):d,f=o.match(/columns--tablet_extra\d/)?o.match(/columns--tablet_extra\d/).join().slice(-1):m,m=o.match(/columns--tablet\d/)?o.match(/columns--tablet\d/).join().slice(-1):2,g=o.match(/columns--mobile_extra\d/)?o.match(/columns--mobile_extra\d/).join().slice(-1):m,y=o.match(/columns--mobile\d/)?o.match(/columns--mobile\d/).join().slice(-1):1,w=+o.match(/wpr-adv-slides-to-scroll-\d/).join().slice(-1),h=l.attr("data-slide-effect");if(l.slick({appendArrows:e.find(".wpr-slider-controls"),appendDots:e.find(".wpr-slider-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-slider-dot\"></span>"},slidesToShow:d,responsive:[{breakpoint:1e4,settings:{slidesToShow:p,slidesToScroll:w>p?1:w,fade:1==p&&"fade"===h}},{breakpoint:2399,settings:{slidesToShow:d,slidesToScroll:w>d?1:w,fade:1==d&&"fade"===h}},{breakpoint:1221,settings:{slidesToShow:c,slidesToScroll:w>c?1:w,fade:1==c&&"fade"===h}},{breakpoint:1200,settings:{slidesToShow:f,slidesToScroll:w>f?1:w,fade:1==f&&"fade"===h}},{breakpoint:1024,settings:{slidesToShow:m,slidesToScroll:w>m?1:w,fade:1==m&&"fade"===h}},{breakpoint:880,settings:{slidesToShow:g,slidesToScroll:w>g?1:w,fade:1==g&&"fade"===h}},{breakpoint:768,settings:{slidesToShow:y,slidesToScroll:w>y?1:w,fade:1==y&&"fade"===h}}]}),t(window).on("load resize",function(){i()}),r(),s(),l.find(".wpr-slider-video-btn").on("click",function(){var e=t(this).closest(".slick-active"),r=e.attr("data-video-src");1!==e.find(".wpr-slider-video").length&&(e.find(".wpr-cv-container").prepend("<div class=\"wpr-slider-video\"><iframe src=\""+r+"\" width=\"100%\" height=\"100%\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe></div>"),i(),e.find(".wpr-slider-content").fadeOut(300))}),l.on({beforeChange:function(){l.find(".wpr-slider-item").not(".slick-active").find(".wpr-slider-video").remove(),l.find(".wpr-animation-enter").find(".wpr-slider-content").fadeOut(300),a()},afterChange:function(){s(),r()}}),e.find(".slick-dots").length&&e.hasClass("wpr-slider-dots-horizontal")){var u=e.find(".slick-dots li").outerWidth()*e.find(".slick-dots li").length-parseInt(e.find(".slick-dots li span").css("margin-right"),10);e.find(".slick-dots").length&&e.find(".slick-dots").css("width",u),t(window).on("resize",function(){setTimeout(function(){var t=e.find(".slick-dots li").outerWidth()*e.find(".slick-dots li").length-parseInt(e.find(".slick-dots li span").css("margin-right"),10);e.find(".slick-dots").css("width",t)},300)})}},widgetTestimonialCarousel:function(e){var i=e.find(".wpr-testimonial-carousel"),r=e.attr("class"),a=r.match(/wpr-testimonial-slider-columns-\d/)?r.match(/wpr-testimonial-slider-columns-\d/).join().slice(-1):2,s=r.match(/columns--widescreen\d/)?r.match(/columns--widescreen\d/).join().slice(-1):a,l=r.match(/columns--laptop\d/)?r.match(/columns--laptop\d/).join().slice(-1):a,n=r.match(/columns--tablet_extra\d/)?r.match(/columns--tablet_extra\d/).join().slice(-1):o,o=r.match(/columns--tablet\d/)?r.match(/columns--tablet\d/).join().slice(-1):2,d=r.match(/columns--mobile_extra\d/)?r.match(/columns--mobile_extra\d/).join().slice(-1):o,p=r.match(/columns--mobile\d/)?r.match(/columns--mobile\d/).join().slice(-1):1,c=+r.match(/wpr-adv-slides-to-scroll-\d/).join().slice(-1),f=i.attr("data-slide-effect");if(i.slick({appendArrows:e.find(".wpr-testimonial-controls"),appendDots:e.find(".wpr-testimonial-dots"),customPaging:function(e,t){e.slideCount;return"<span class=\"wpr-testimonial-dot\"></span>"},slidesToShow:a,responsive:[{breakpoint:1e4,settings:{slidesToShow:s,slidesToScroll:c>s?1:c,fade:1==s&&"fade"===f}},{breakpoint:2399,settings:{slidesToShow:a,slidesToScroll:c>a?1:c,fade:1==a&&"fade"===f}},{breakpoint:1221,settings:{slidesToShow:l,slidesToScroll:c>l?1:c,fade:1==l&&"fade"===f}},{breakpoint:1200,settings:{slidesToShow:n,slidesToScroll:c>n?1:c,fade:1==n&&"fade"===f}},{breakpoint:1024,settings:{slidesToShow:o,slidesToScroll:c>o?1:c,fade:1==o&&"fade"===f}},{breakpoint:880,settings:{slidesToShow:d,slidesToScroll:c>d?1:c,fade:1==d&&"fade"===f}},{breakpoint:768,settings:{slidesToShow:p,slidesToScroll:c>p?1:c,fade:1==p&&"fade"===f}}]}),e.hasClass("wpr-testimonial-nav-fade")&&(e.on("mouseover",function(){e.closest("section").find(".wpr-testimonial-arrow").css({opacity:1})}),e.closest("section").on("mouseout",function(){e.find(".wpr-testimonial-arrow").css({opacity:0})})),e.find(".slick-dots").length){var m=e.find(".slick-dots li").outerWidth()*e.find(".slick-dots li").length-parseInt(e.find(".slick-dots li span").css("margin-right"),10);e.find(".slick-dots").css("width",m)}t(window).on("resize",function(){setTimeout(function(){if(e.find(".slick-dots").length){var t=e.find(".slick-dots li").outerWidth()*e.find(".slick-dots li").length-parseInt(e.find(".slick-dots li span").css("margin-right"),10);e.find(".slick-dots").css("width",t)}},300)})},widgetSearch:function(e){e.find(".wpr-search-form-input").on({focus:function(){e.addClass("wpr-search-form-input-focus")},blur:function(){e.removeClass("wpr-search-form-input-focus")}})},widgetAdvancedText:function(e){function i(){var t=e.find(".wpr-clipped-text"),i=t.data("clipped-options"),r=elementorFrontend.getCurrentDeviceMode();if(i){var a=i.longShadowSize,s=i.longShadowSizeTablet,l=i.longShadowSizeMobile;"desktop"===r&&(a=i.longShadowSize),"tablet"===r&&s&&(a=s),"mobile"===r&&l&&(a=l),t.find(".wpr-clipped-text-long-shadow").attr("style","text-shadow:"+f(i.longShadowColor,a,i.longShadowDirection))}}function r(){a(g.find("b")),s(m)}function a(e){e.each(function(){var e=t(this),r=e.text().split(""),a=e.hasClass("wpr-anim-text-visible");for(var s in r){var i=r[s].replace(/ /g," ");r[s]=a?"<i class=\"wpr-anim-text-in\">"+i+"</i>":"<i>"+i+"</i>"}var l=r.join("");e.html(l).css("opacity",1)})}function s(e){e.each(function(){var e=t(this),i=e.find(".wpr-anim-text-inner");if(e.hasClass("wpr-anim-text-type-clip")){var r=i.outerWidth();i.css("width",r)}setTimeout(function(){l(e.find(".wpr-anim-text-visible").eq(0))},T),e.hasClass("wpr-anim-text-type-rotate-1")&&i.find("b").each(function(){t(this).outerWidth()>i.outerWidth()&&i.css("width",t(this).outerWidth())})})}function l(e){var t=p(e);if(!("yes"!==h&&(b++,b===u)))if(e.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-typing")){var i=e.parent(".wpr-anim-text-inner");i.addClass("wpr-anim-text-selected").removeClass("waiting"),setTimeout(function(){i.removeClass("wpr-anim-text-selected"),e.removeClass("wpr-anim-text-visible").addClass("wpr-anim-text-hidden").children("i").removeClass("wpr-anim-text-in").addClass("wpr-anim-text-out")},v),setTimeout(function(){n(t,y)},k)}else if(e.parents(".wpr-anim-text").hasClass("wpr-anim-text-letters")){var r=!!(e.children("i").length>=t.children("i").length);o(e.find("i").eq(0),e,r,y),d(t.find("i").eq(0),t,r,y)}else e.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-clip")?e.parents(".wpr-anim-text-inner").animate({width:"2px"},y,function(){c(e,t),n(t)}):(c(e,t),setTimeout(function(){l(t)},T))}function n(e,t){e.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-typing")?(d(e.find("i").eq(0),e,!1,t),e.addClass("wpr-anim-text-visible").removeClass("wpr-anim-text-hidden")):e.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-clip")&&e.parents(".wpr-anim-text-inner").animate({width:e.outerWidth()},y,function(){setTimeout(function(){l(e)},T)})}function o(e,t,i,r){if(e.removeClass("wpr-anim-text-in").addClass("wpr-anim-text-out"),e.is(":last-child")?i&&setTimeout(function(){l(p(t))},T):setTimeout(function(){o(e.next(),t,i,r)},r),e.is(":last-child")){var a=p(t);c(t,a)}}function d(e,t,i,r){e.addClass("wpr-anim-text-in").removeClass("wpr-anim-text-out"),e.is(":last-child")?(t.parents(".wpr-anim-text").hasClass("wpr-anim-text-type-typing")&&setTimeout(function(){t.parents(".wpr-anim-text-inner").addClass("waiting")},200),!i&&setTimeout(function(){l(t)},T)):setTimeout(function(){d(e.next(),t,i,r)},r)}function p(e){return e.is(":last-child")?e.parent().children().eq(0):e.next()}function c(e,t){e.removeClass("wpr-anim-text-visible").addClass("wpr-anim-text-hidden"),t.removeClass("wpr-anim-text-hidden").addClass("wpr-anim-text-visible")}function f(e,t,r){for(var a="",s=0;s<t;s++)a+="top"===r?"0 -"+s+"px 0 "+e+",":"right"===r?s+"px 0 0 "+e+",":"bottom"===r?"0 "+s+"px 0 "+e+",":"left"===r?"-"+s+"px 0 0 "+e+",":"top-left"===r?"-"+s+"px -"+s+"px 0 "+e+",":"top-right"===r?s+"px -"+s+"px 0 "+e+",":"bottom-left"===r?"-"+s+"px "+s+"px 0 "+e+",":"bottom-right"===r?s+"px "+s+"px 0 "+e+",":s+"px "+s+"px 0 "+e+",";return a=a.slice(0,-1),a}if(e.hasClass("wpr-advanced-text-style-animated")){var m=e.find(".wpr-anim-text"),g=e.find(".wpr-anim-text-letters"),y=m.attr("data-anim-duration"),w=y.split(","),h=m.attr("data-anim-loop"),u=m.find("b").length,b=0;m.find("b").first().addClass("wpr-anim-text-visible");var y=parseInt(w[0],10),T=parseInt(w[1],10),v=500,k=1300;r()}i(),t(window).on("resize",function(){i()})},widgetProgressBar:function(e){function i(e){if(e.length){var i=e.offset().top,r=i+e.outerHeight(),a=t(window).scrollTop(),s=a+t(window).height();return i>t(window).height()&&(i+=50),r>a&&i<s}}function r(){if(i(p)&&p.css({height:y+"%"}),i(d)&&d.css({width:y+"%"}),i(s)){var e=f.circleOffset;o.css({"stroke-dashoffset":e})}(i(p)||i(d)||i(s))&&setTimeout(function(){m.numerator(b)},h)}var a=e.find(".wpr-progress-bar"),s=e.find(".wpr-prbar-circle"),l=s.find(".wpr-prbar-circle-svg"),n=l.find(".wpr-prbar-circle-line"),o=e.find(".wpr-prbar-circle-prline"),d=a.find(".wpr-prbar-hr-line-inner"),p=a.find(".wpr-prbar-vr-line-inner"),c=a.data("options"),f=s.data("circle-options"),m=a.find(".wpr-prbar-counter-value"),g=c.counterValue,y=c.counterValuePersent,w=c.animDuration,h=c.animDelay,u=elementorFrontend.getCurrentDeviceMode(),b={toValue:g,duration:w};"yes"===c.counterSeparator&&(b.delimiter=",");r(),t(window).on("scroll",function(){r()})},widgetImageHotspots:function(e){var i=e.find(".wpr-image-hotspots"),r=i.data("options"),a=i.find(".wpr-hotspot-item"),s=r.tooltipTrigger;"click"===s?(a.on("click",function(){t(this).hasClass("wpr-tooltip-active")?t(this).removeClass("wpr-tooltip-active"):(a.removeClass("wpr-tooltip-active"),t(this).addClass("wpr-tooltip-active")),event.stopPropagation()}),t(window).on("click",function(){a.removeClass("wpr-tooltip-active")})):"hover"===s?a.hover(function(){t(this).toggleClass("wpr-tooltip-active")}):a.addClass("wpr-tooltip-active")},widgetFlipBox:function(e){var i=e.find(".wpr-flip-box"),r=i.data("trigger");"box"===r?(i.find(".wpr-flip-box-front").on("click",function(){t(this).closest(".wpr-flip-box").addClass("wpr-flip-box-active")}),t(window).on("click",function(){0===t(event.target).closest(".wpr-flip-box").length&&i.removeClass("wpr-flip-box-active")})):"btn"==r?(i.find(".wpr-flip-box-btn").on("click",function(){t(this).closest(".wpr-flip-box").addClass("wpr-flip-box-active")}),t(window).on("click",function(){0===t(event.target).closest(".wpr-flip-box").length&&i.removeClass("wpr-flip-box-active")})):"hover"==r&&i.hover(function(){t(this).toggleClass("wpr-flip-box-active")})},widgetContentTicker:function(e){var t=e.find(".wpr-ticker-slider"),i=e.find(".wpr-ticker-marquee"),r=i.data("options"),a=e.attr("class"),s=a.match(/wpr-ticker-slider-columns-\d/)?a.match(/wpr-ticker-slider-columns-\d/).join().slice(-1):2,l=a.match(/columns--widescreen\d/)?a.match(/columns--widescreen\d/).join().slice(-1):s,n=a.match(/columns--laptop\d/)?a.match(/columns--laptop\d/).join().slice(-1):s,o=a.match(/columns--tablet_extra\d/)?a.match(/columns--tablet_extra\d/).join().slice(-1):d,d=a.match(/columns--tablet\d/)?a.match(/columns--tablet\d/).join().slice(-1):2,p=a.match(/columns--mobile_extra\d/)?a.match(/columns--mobile_extra\d/).join().slice(-1):d,c=a.match(/columns--mobile\d/)?a.match(/columns--mobile\d/).join().slice(-1):1,f=t.attr("data-slide-effect"),m="hr-slide"===f&&a.match(/wpr-ticker-slides-to-scroll-\d/)?+a.match(/wpr-ticker-slides-to-scroll-\d/).join().slice(-1):1;t.slick({appendArrows:e.find(".wpr-ticker-slider-controls"),slidesToShow:s,responsive:[{breakpoint:1e4,settings:{slidesToShow:"typing"===f||"fade"===f?1:l,slidesToScroll:m>l?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:2399,settings:{slidesToShow:"typing"===f||"fade"===f?1:s,slidesToScroll:m>s?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:1221,settings:{slidesToShow:"typing"===f||"fade"===f?1:n,slidesToScroll:m>n?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:1200,settings:{slidesToShow:"typing"===f||"fade"===f?1:o,slidesToScroll:m>o?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:1024,settings:{slidesToShow:"typing"===f||"fade"===f?1:d,slidesToScroll:m>d?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:880,settings:{slidesToShow:"typing"===f||"fade"===f?1:p,slidesToScroll:m>p?1:m,fade:!("typing"!==f&&"fade"!==f)}},{breakpoint:768,settings:{slidesToShow:"typing"===f||"fade"===f?1:c,slidesToScroll:m>c?1:m,fade:!("typing"!==f&&"fade"!==f)}}]}),i.marquee(r)},widgetTabs:function(e){function i(e){var t=l.eq(e),i=o.eq(e),r="auto";n.css({height:n.outerHeight(!0)}),l.removeClass("wpr-tab-active"),t.addClass("wpr-tab-active"),o.removeClass("wpr-tab-content-active wpr-animation-enter"),r=i.outerHeight(!0),r+=parseInt(n.css("border-top-width"))+parseInt(n.css("border-bottom-width")),i.addClass("wpr-tab-content-active wpr-animation-enter"),n.css({height:r}),setTimeout(function(){n.css({height:"auto"})},500)}function r(){l.on("click",function(){var e=t(this).data("tab")-1;clearInterval(f),i(e)})}function a(){l.hover(function(){var e=t(this).data("tab")-1;clearInterval(f),i(e)})}var s=t(".wpr-tabs",e).first(),l=t(".wpr-tabs-wrap",s).first(),n=t(".wpr-tabs-content-wrap",s).first(),l=t("> .wpr-tab",l),o=t("> .wpr-tab-content",n),d=s.data("options"),p=d.activeTab-1;if(l.eq(p).addClass("wpr-tab-active"),o.eq(p).addClass("wpr-tab-content-active wpr-animation-enter"),d.autoplay)var c=d.activeTab-1,f=setInterval(function(){c<l.length-1?c++:c=0,i(c)},d.autoplaySpeed);"hover"===d.trigger?a():r()},widgetContentToogle:function(e){function i(t){if(!e.hasClass("wpr-switcher-label-style-outer")){var i=100/d.length;o.css({width:i+"%",left:t*i+"%"})}}function r(t){var r=d.eq(t),a=p.eq(t),l="auto";i(t),e.hasClass("wpr-switcher-label-style-outer")||(d.removeClass("wpr-switcher-active"),r.addClass("wpr-switcher-active"),e.hasClass("wpr-switcher-style-dual")&&s.attr("data-active-switcher",t+1)),n.css({height:n.outerHeight(!0)}),p.removeClass("wpr-switcher-content-active wpr-animation-enter"),l=a.outerHeight(!0),l+=parseInt(n.css("border-top-width"))+parseInt(n.css("border-bottom-width")),a.addClass("wpr-switcher-content-active wpr-animation-enter"),n.css({height:l}),setTimeout(function(){n.css({height:"auto"})},500)}var a=t(".wpr-content-toggle",e).first(),s=t(".wpr-switcher-container",a).first(),l=t(".wpr-switcher-wrap",a).first(),n=t(".wpr-switcher-content-wrap",a).first(),o=t("> .wpr-switcher-bg",l),d=t("> .wpr-switcher",l),p=t("> .wpr-switcher-content",n),c=parseInt(s.data("active-switcher"))-1;d.eq(c).addClass("wpr-switcher-active"),p.eq(c).addClass("wpr-switcher-content-active wpr-animation-enter"),i(c),function(){e.hasClass("wpr-switcher-label-style-outer")?l.on("click",function(){var e=l.find(".wpr-switcher-active");1===parseInt(e.data("switcher"),10)?(l.children(".wpr-switcher").eq(0).removeClass("wpr-switcher-active"),l.children(".wpr-switcher").eq(1).addClass("wpr-switcher-active"),l.closest(".wpr-switcher-container").attr("data-active-switcher",2),r(1)):2===parseInt(e.data("switcher"),10)&&(l.children(".wpr-switcher").eq(1).removeClass("wpr-switcher-active"),l.children(".wpr-switcher").eq(0).addClass("wpr-switcher-active"),l.closest(".wpr-switcher-container").attr("data-active-switcher",1),r(0))}):d.on("click",function(){var e=t(this).data("switcher")-1;r(e)})}()},widgetBackToTop:function(e){function i(e,t,i){e>i.animationOffset?"fade"===i.animation?r.stop().css("visibility","visible").animate({opacity:"1"},i.animationDuration):"slide"===i.animation?r.stop().css("visibility","visible").animate({opacity:"1","margin-bottom":0},i.animationDuration):r.css("visibility","visible"):"fade"===i.animation?r.stop().animate({opacity:"0"},i.animationDuration):"slide"===i.animation?r.stop().animate({"margin-bottom":"-100px",opacity:"0"},i.animationDuration):r.css("visibility","hidden")}var r=e.find(".wpr-stt-btn"),a=r.attr("data-settings");a=JSON.parse(a),"fixed"===a.fixed&&("none"!==a.animation&&(r.css({opacity:"0"}),"slide"===a.animation&&r.css({"margin-bottom":"-100px"})),i(t(window).scrollTop(),r,a),t(window).scroll(function(){i(t(this).scrollTop(),r,a)})),r.on("click",function(){return t("html, body").animate({scrollTop:0},a.scrolAnim),!1})},widgetLottieAnimations:function(e){var i=e.find(".wpr-lottie-animations"),r=e.find(".wpr-lottie-animations-wrapper"),a=JSON.parse(i.attr("data-settings")),s=lottie.loadAnimation({container:i[0],path:i.attr("data-json-url"),renderer:a.lottie_renderer,loop:!("yes"!==a.loop),autoplay:!("yes"!==a.autoplay)});s.setSpeed(a.speed),a.reverse&&s.setDirection(-1),s.addEventListener("DOMLoaded",function(){function e(){if(s.pause(),"function"==typeof i[0].getBoundingClientRect){var e=document.documentElement.clientHeight,r=100*(i[0].getBoundingClientRect().top/e),l=100*(i[0].getBoundingClientRect().bottom/e),n=r<a.scroll_end,o=l>a.scroll_start;if("viewport"===a.trigger&&(o&&n?s.play():s.pause()),"scroll"===a.trigger&&o&&n){s.pause();var d=100*t(window).scrollTop()/(t(document).height()-t(window).height()),p=Math.round(d);s.goToAndStop(4e3*(p/100))}}}"hover"!==a.trigger&&"none"!==a.trigger&&(e("load"),t(window).on("scroll",e)),"hover"===a.trigger&&(s.pause(),i.hover(function(){s.play()},function(){s.pause()}))})},widgetPostsTimeline:function(i){function r(){i.find(".wpr-centered").length&&(767>=window.innerWidth?(i.find(".wpr-wrapper .wpr-timeline-centered").removeClass("wpr-both-sided-timeline").addClass("wpr-one-sided-timeline").addClass("wpr-remove-one-sided-later"),i.find(".wpr-wrapper .wpr-left-aligned").removeClass("wpr-left-aligned").addClass("wpr-right-aligned").addClass("wpr-remove-right-aligned-later")):(i.find(".wpr-wrapper .wpr-timeline-centered.wpr-remove-one-sided-later").removeClass("wpr-one-sided-timeline").addClass("wpr-both-sided-timeline").removeClass("wpr-remove-one-sided-later"),i.find(".wpr-wrapper .wpr-remove-right-aligned-later").removeClass("wpr-right-aligned").addClass("wpr-left-aligned").removeClass("wpr-remove-right-aligned-later")))}function a(e,r){if(i.find(".wpr-timeline-fill").length&&(0<i.find(".wpr-timeline-entry:eq(0)").prev(".wpr-year-wrap").length&&(r=i.find(".wpr-year-label").eq(0)),p.length)){var a=p.css("height").slice(0,-2),s=document.documentElement.scrollTop,l=document.documentElement.clientHeight/2;s+l-r.offset().top>e.offset().top-r.offset().top+parseInt(e.css("height").slice(0,-2))||p.css("height",s+l-r.offset().top+"px"),i.find(".wpr-main-line-icon.wpr-icon").each(function(){t(this).offset().top<parseInt(r.offset().top+parseInt(a))?t(this).addClass("wpr-change-border-color"):t(this).removeClass("wpr-change-border-color")})}}function s(e,t,r,a,s){if(s=i.find(".wpr-timeline-centered"),i.find(".wpr-both-sided-timeline").length||i.find(".wpr-one-sided-timeline").length||i.find(".wpr-one-sided-timeline-left").length){0<i.find(".wpr-timeline-entry:eq(0)").prev(".wpr-year-wrap").length&&(a=i.find(".wpr-year-label").eq(0));var l=a.offset().top,n=r.offset().top,o=l-s.offset().top+"px",d=n-l+parseInt(r.css("height").slice(0,-2));e.css("top",o),e.css("height",d),""===t?"":t.css("top",o)}}var l=0<i.find(".wpr-timeline-centered").length?i.find(".wpr-timeline-centered"):"",n=0<i.find(".wpr-timeline-centered").length?i.find(".wpr-timeline-centered"):"",o=0<i.find(".wpr-grid-pagination").length?i.find(".wpr-grid-pagination"):"",d=0<i.find(".wpr-middle-line").length?i.find(".wpr-middle-line"):"",p=0<i.find(".wpr-timeline-fill").length?i.find(".wpr-timeline-fill"):"",c=0<i.find(".wpr-main-line-icon.wpr-icon:last").length?i.find(".wpr-main-line-icon.wpr-icon:last"):"",f=0<i.find(".wpr-main-line-icon.wpr-icon").length?i.find(".wpr-main-line-icon.wpr-icon").first():"",m=".elementor-element-"+i.attr("data-id"),g=i.find(".wpr-story-info-vertical").attr("data-animation-offset")?+i.find(".wpr-story-info-vertical").attr("data-animation-offset"):"",y=i.find(".wpr-story-info-vertical").attr("data-animation-duration")?+i.find(".wpr-story-info-vertical").attr("data-animation-duration"):"";if(0<i.find(".wpr-timeline-centered").length&&(t(window).resize(function(){r()}),t(window).smartresize(function(){r()}),setTimeout(function(){r(),t(window).trigger("resize")},500),s(d,p,c,f,n),setTimeout(function(){s(d,p,c,f,n),t(window).trigger("resize")},500),t(window).smartresize(function(){s(d,p,c,f,n)}),t(window).resize(function(){s(d,p,c,f,n)}),"load-more"!==l.attr("data-pagination")&&i.find(".wpr-grid-pagination").css("visibility","hidden"),AOS.init({offset:parseInt(g),duration:y,once:!0}),a(c,f),t(window).on("scroll",function(){a(c,f)}),!i.find(".elementor-repeater-items").length&&!e.editorCheck()&&("load-more"===i.find(".wpr-timeline-centered").data("pagination")||"infinite-scroll"===i.find(".wpr-timeline-centered").data("pagination")))){var w=(void 0===l||"load-more"!==l.attr("data-pagination"))&&10;l.infiniteScroll({path:m+" .wpr-grid-pagination a",hideNav:!1,append:m+".wpr-timeline-entry",history:!1,scrollThreshold:w,status:m+" .page-load-status"}),l.on("request.infiniteScroll",function(){i.find(".wpr-load-more-btn").hide(),i.find(".wpr-pagination-loading").css("display","inline-block")});var h=0;l.on("load.infiniteScroll",function(e,r){h++;var w=t(r).find(m).find(".wpr-timeline-entry");l.infiniteScroll("appendItems",w),i.find(".wpr-one-sided-timeline").length||i.find(".wpr-one-sided-timeline-left").length||(i.find(".wpr-timeline-entry").each(function(e){t(this).removeClass("wpr-right-aligned wpr-left-aligned"),0==e%2?(t(this).addClass("wpr-left-aligned"),t(this).find(".wpr-story-info-vertical").attr("data-aos",t(this).find(".wpr-story-info-vertical").attr("data-aos-left"))):(t(this).addClass("wpr-right-aligned"),t(this).find(".wpr-story-info-vertical").attr("data-aos",t(this).find(".wpr-story-info-vertical").attr("data-aos-right")))}),AOS.init({offset:parseInt(g),duration:y,once:!0})),t(window).scroll(),i.find(".wpr-pagination-loading").hide(),l.data("max-pages")-1===h?(i.find(".wpr-pagination-finish").fadeIn(1e3),o.delay(2e3).fadeOut(1e3)):"load-more"===l.attr("data-pagination")&&i.find(".wpr-load-more-btn").fadeIn(),d=i.find(".wpr-middle-line"),p=i.find(".wpr-timeline-fill"),c=i.find(".wpr-main-line-icon.wpr-icon:last"),f=i.find(".wpr-main-line-icon.wpr-icon").first(),n=i.find(".wpr-timeline-centered"),s(d,p,c,f,n),t(window).trigger("resize"),a(c,f)}),e.editorCheck()||(i.find(".wpr-load-more-btn").on("click",function(){return l.infiniteScroll("loadNextPage"),!1}),"infinite-scroll"==l.attr("data-pagination")&&l.infiniteScroll("loadNextPage"))}if(i.find(".swiper-wrapper").length){var u=function(e,t){if("undefined"==typeof Swiper){var i=elementorFrontend.utils.swiper;return new i(e,t).then(function(e){return e})}return b(e,t)},b=function(e,t){return new Promise(function(i){var r=new Swiper(e,t);i(r)})},T=i.find(".wpr-horizontal-bottom").length?".wpr-horizontal-bottom":".wpr-horizontal",v=i.find(T+".swiper-container"),k=v.data("slidestoshow");u(v,{spaceBetween:+v.data("swiper-space-between"),autoplay:"yes"===v.data("autoplay"),delay:+v.attr("data-swiper-delay"),speed:+v.attr("data-swiper-speed"),slidesPerView:v.data("slidestoshow"),direction:"horizontal",pagination:{el:".wpr-swiper-pagination",type:"progressbar"},navigation:{nextEl:".wpr-button-next",prevEl:".wpr-button-prev"},breakpoints:{320:{slidesPerView:1},480:{slidesPerView:2},769:{slidesPerView:k}}})}},widgetSharingButtons:function(e){e.find(".wpr-sharing-print").on("click",function(t){t.preventDefault(),window.print()})},widgetFlipCarousel:function(e){var i=JSON.parse(e.find(".wpr-flip-carousel").attr("data-settings"));e.find(".wpr-flip-carousel").css("opacity",1),e.find(".wpr-flip-carousel").flipster({itemContainer:"ul",itemSelector:"li",fadeIn:400,start:"yes"===i.starts_from_center?"center":0,style:i.carousel_type,loop:!("yes"!==i.loop),autoplay:"no"!==i.autoplay&&i.autoplay_milliseconds,pauseOnHover:!("yes"!==i.pause_on_hover),click:!("yes"!==i.play_on_click),scrollwheel:!("yes"!==i.play_on_scroll),touch:!0,nav:!("true"!==i.pagination_position)||!!i.pagination_position&&i.pagination_position,spacing:i.spacing,buttons:"custom",buttonPrev:i.button_prev,buttonNext:i.button_next});var r=e.find(".wpr-flip-carousel").find(".flipster__nav__item").find(".flipster__nav__link");r.each(function(){t(this).text(parseInt(t(this).text())+1)})},widgetFeatureList:function(e){e.find(".wpr-feature-list-item:not(:last-of-type)").find(".wpr-feature-list-icon-wrap").each(function(i){var r=e.find(".wpr-feature-list-item").eq(i+1).find(".wpr-feature-list-icon-wrap").offset().top;t(this).find(".wpr-feature-list-line").height(r-t(this).offset().top+"px")}),t(window).resize(function(){e.find(".wpr-feature-list-item:not(:last-of-type)").find(".wpr-feature-list-icon-wrap").each(function(i){var r=e.find(".wpr-feature-list-item").eq(i+1).find(".wpr-feature-list-icon-wrap").offset().top;t(this).find(".wpr-feature-list-line").height(r-t(this).offset().top+"px")})})},editorCheck:function(){return!!t("body").hasClass("elementor-editor-active")}};t(window).on("elementor/frontend/init",e.init)})(jQuery,window.elementorFrontend),function(e,t){var i=function(e,t,i){var r;return function(){var a=this,s=arguments;r?clearTimeout(r):i&&e.apply(a,s),r=setTimeout(function(){i||e.apply(a,s),r=null},t||100)}};jQuery.fn[t]=function(e){return e?this.bind("resize",i(e)):this.trigger(t)}}(jQuery,"smartresize");
|
classes/rating-notice.php
DELETED
@@ -1,292 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace WprAddons\Classes;
|
3 |
-
|
4 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
5 |
-
exit; // Exit if accessed directly
|
6 |
-
}
|
7 |
-
|
8 |
-
class WprRatingNotice {
|
9 |
-
private $past_date;
|
10 |
-
|
11 |
-
public function __construct() {
|
12 |
-
global $pagenow;
|
13 |
-
$this->past_date = false == get_option('wpr_maybe_later_time') ? strtotime( '-14 days' ) : strtotime('-7 days');
|
14 |
-
|
15 |
-
if ( current_user_can('administrator') ) {
|
16 |
-
if ( empty(get_option('wpr_rating_dismiss_notice', false)) && empty(get_option('wpr_rating_already_rated', false)) ) {
|
17 |
-
add_action( 'admin_init', [$this, 'check_plugin_install_time'] );
|
18 |
-
}
|
19 |
-
}
|
20 |
-
|
21 |
-
if ( is_admin() ) {
|
22 |
-
add_action( 'admin_head', [$this, 'enqueue_scripts' ] );
|
23 |
-
}
|
24 |
-
|
25 |
-
add_action( 'wp_ajax_wpr_rating_dismiss_notice', [$this, 'wpr_rating_dismiss_notice'] );
|
26 |
-
add_action( 'wp_ajax_wpr_rating_maybe_later', [$this, 'wpr_rating_maybe_later'] );
|
27 |
-
add_action( 'wp_ajax_wpr_rating_already_rated', [$this, 'wpr_rating_already_rated'] );
|
28 |
-
add_action( 'wp_ajax_wpr_rating_need_help', [$this, 'wpr_rating_need_help'] );
|
29 |
-
}
|
30 |
-
|
31 |
-
public function check_plugin_install_time() {
|
32 |
-
$install_date = get_option('royal_elementor_addons_activation_time');
|
33 |
-
|
34 |
-
if ( false == get_option('wpr_maybe_later_time') && false !== $install_date && $this->past_date >= $install_date ) {
|
35 |
-
add_action( 'admin_notices', [$this, 'render_rating_notice' ]);
|
36 |
-
} else if ( false != get_option('wpr_maybe_later_time') && $this->past_date >= get_option('wpr_maybe_later_time') ) {
|
37 |
-
add_action( 'admin_notices', [$this, 'render_rating_notice' ]);
|
38 |
-
}
|
39 |
-
}
|
40 |
-
|
41 |
-
public function wpr_rating_maybe_later() {
|
42 |
-
update_option( 'wpr_maybe_later_time', strtotime('now') );
|
43 |
-
}
|
44 |
-
|
45 |
-
function wpr_rating_already_rated() {
|
46 |
-
update_option( 'wpr_rating_already_rated' , true );
|
47 |
-
}
|
48 |
-
|
49 |
-
public function wpr_rating_dismiss_notice() {
|
50 |
-
update_option( 'wpr_rating_dismiss_notice', true );
|
51 |
-
}
|
52 |
-
|
53 |
-
public function wpr_rating_need_help() {
|
54 |
-
// Reset Activation Time if user Needs Help
|
55 |
-
update_option( 'royal_elementor_addons_activation_time', strtotime('now') );
|
56 |
-
}
|
57 |
-
|
58 |
-
public function render_rating_notice() {
|
59 |
-
global $pagenow;
|
60 |
-
|
61 |
-
if ( is_admin() ) {
|
62 |
-
$plugin_info = get_plugin_data( __FILE__ , true, true );
|
63 |
-
$dont_disturb = esc_url( get_admin_url() . '?spare_me=1' );
|
64 |
-
|
65 |
-
echo '<div class="notice wpr-rating-notice is-dismissible">
|
66 |
-
<div style="flex-shrink: 0;">
|
67 |
-
<h3><span class="dashicons dashicons-megaphone"></span> Win Royal Elementor Addons Pro Lifetime License!</h3>
|
68 |
-
<p style="margin-top: 15px; margin-bottom: 0; font-style: italic;">For participation follow the steps below:</p>
|
69 |
-
<ul>
|
70 |
-
<li>
|
71 |
-
<img src="' . WPR_ADDONS_ASSETS_URL . '/img/check-mark.png">
|
72 |
-
Go to
|
73 |
-
<strong><a href="https://wordpress.org/support/plugin/royal-elementor-addons/reviews/?filter=5#new-post" target="_blank">Royal Elementor Addons</a></strong>
|
74 |
-
WordPress repository page and submit your honest review.
|
75 |
-
</li>
|
76 |
-
|
77 |
-
<li>
|
78 |
-
<img src="' . WPR_ADDONS_ASSETS_URL . '/img/check-mark.png">
|
79 |
-
After submitting your review, just fill-up
|
80 |
-
<strong><a href="https://forms.clickup.com/1856033/f/1rmh1-4865/67J5MQV345BK1XMNJ7" target="_blank">this simple form</a></strong>
|
81 |
-
to join our giveaway program.
|
82 |
-
</li>
|
83 |
-
</ul>
|
84 |
-
<p>That\'s all, We will select <strong>3 random users</strong> from the WodPress review page every month.</p>
|
85 |
-
<p style="margin-top: 20px;">
|
86 |
-
<a class="wpr-maybe-later"><span class="dashicons dashicons-clock"></span> Maybe Later</a>
|
87 |
-
<a class="wpr-already-rated"><span class="dashicons dashicons-yes"></span> I Already did</a>
|
88 |
-
</p>
|
89 |
-
</div>
|
90 |
-
<div class="image-wrap"><img src="'. WPR_ADDONS_ASSETS_URL .'/img/rating-notice.png"></div>
|
91 |
-
|
92 |
-
<canvas id="wpr-notice-confetti"></canvas>
|
93 |
-
</div>';
|
94 |
-
|
95 |
-
// Dev note: old rating text could be found in v1.3.8
|
96 |
-
// <a href="https://wordpress.org/support/plugin/royal-elementor-addons/" target="_blank" class="wpr-need-support"><span class="dashicons dashicons-sos"></span> I need support!</a>
|
97 |
-
// <a class="wpr-notice-dismiss-2"><span class="dashicons dashicons-thumbs-down"></span> NO, not good enough</a>
|
98 |
-
}
|
99 |
-
}
|
100 |
-
|
101 |
-
public static function enqueue_scripts() {
|
102 |
-
// Load Confetti
|
103 |
-
wp_enqueue_script( 'wpr-confetti-js', WPR_ADDONS_URL .'assets/js/lib/confetti/confetti.min.js', ['jquery'] );
|
104 |
-
|
105 |
-
echo "
|
106 |
-
<script>
|
107 |
-
jQuery( document ).ready( function() {
|
108 |
-
|
109 |
-
if ( jQuery('#wpr-notice-confetti').length ) {
|
110 |
-
const wprConfetti = confetti.create( document.getElementById('wpr-notice-confetti'), {
|
111 |
-
resize: true
|
112 |
-
});
|
113 |
-
|
114 |
-
setTimeout( function () {
|
115 |
-
wprConfetti( {
|
116 |
-
particleCount: 150,
|
117 |
-
origin: { x: 1, y: 2 },
|
118 |
-
gravity: 0.3,
|
119 |
-
spread: 50,
|
120 |
-
ticks: 150,
|
121 |
-
angle: 120,
|
122 |
-
startVelocity: 60,
|
123 |
-
colors: [
|
124 |
-
'#0e6ef1',
|
125 |
-
'#f5b800',
|
126 |
-
'#ff344c',
|
127 |
-
'#98e027',
|
128 |
-
'#9900f1',
|
129 |
-
],
|
130 |
-
} );
|
131 |
-
}, 500 );
|
132 |
-
|
133 |
-
setTimeout( function () {
|
134 |
-
wprConfetti( {
|
135 |
-
particleCount: 150,
|
136 |
-
origin: { x: 0, y: 2 },
|
137 |
-
gravity: 0.3,
|
138 |
-
spread: 50,
|
139 |
-
ticks: 200,
|
140 |
-
angle: 60,
|
141 |
-
startVelocity: 60,
|
142 |
-
colors: [
|
143 |
-
'#0e6ef1',
|
144 |
-
'#f5b800',
|
145 |
-
'#ff344c',
|
146 |
-
'#98e027',
|
147 |
-
'#9900f1',
|
148 |
-
],
|
149 |
-
} );
|
150 |
-
dispatch( {
|
151 |
-
type: 'set',
|
152 |
-
confettiDone: true,
|
153 |
-
} );
|
154 |
-
}, 900 );
|
155 |
-
}
|
156 |
-
|
157 |
-
jQuery(document).on( 'click', '.wpr-notice-dismiss-2', function() {
|
158 |
-
jQuery(document).find('.wpr-rating-notice').slideUp();
|
159 |
-
jQuery.post({
|
160 |
-
url: ajaxurl,
|
161 |
-
data: {
|
162 |
-
action: 'wpr_rating_dismiss_notice',
|
163 |
-
}
|
164 |
-
})
|
165 |
-
});
|
166 |
-
|
167 |
-
jQuery(document).on( 'click', '.wpr-maybe-later', function() {
|
168 |
-
jQuery(document).find('.wpr-rating-notice').slideUp();
|
169 |
-
jQuery.post({
|
170 |
-
url: ajaxurl,
|
171 |
-
data: {
|
172 |
-
action: 'wpr_rating_maybe_later',
|
173 |
-
}
|
174 |
-
})
|
175 |
-
});
|
176 |
-
|
177 |
-
jQuery(document).on( 'click', '.wpr-already-rated', function() {
|
178 |
-
jQuery(document).find('.wpr-rating-notice').slideUp();
|
179 |
-
jQuery.post({
|
180 |
-
url: ajaxurl,
|
181 |
-
data: {
|
182 |
-
action: 'wpr_rating_already_rated',
|
183 |
-
}
|
184 |
-
})
|
185 |
-
});
|
186 |
-
|
187 |
-
jQuery(document).on( 'click', '.wpr-need-support', function() {
|
188 |
-
jQuery.post({
|
189 |
-
url: ajaxurl,
|
190 |
-
data: {
|
191 |
-
action: 'wpr_rating_need_help',
|
192 |
-
}
|
193 |
-
})
|
194 |
-
});
|
195 |
-
});
|
196 |
-
</script>
|
197 |
-
|
198 |
-
<style>
|
199 |
-
.wpr-rating-notice {
|
200 |
-
position: relative;
|
201 |
-
display: flex;
|
202 |
-
align-items: center;
|
203 |
-
margin-top: 20px;
|
204 |
-
margin-bottom: 20px;
|
205 |
-
padding: 30px;
|
206 |
-
border: 0 !important;
|
207 |
-
box-shadow: 0 0 5px rgb(0 0 0 / 0.1);
|
208 |
-
|
209 |
-
padding-left: 40px;
|
210 |
-
}
|
211 |
-
|
212 |
-
.wpr-rating-notice .image-wrap {
|
213 |
-
margin-left: auto;
|
214 |
-
}
|
215 |
-
|
216 |
-
.wpr-rating-notice .image-wrap img {
|
217 |
-
display: inherit;
|
218 |
-
max-width: 90%;
|
219 |
-
margin-left: auto;
|
220 |
-
}
|
221 |
-
|
222 |
-
.wpr-rating-notice ul {
|
223 |
-
margin-left: 15px;
|
224 |
-
}
|
225 |
-
|
226 |
-
.wpr-rating-notice ul img {
|
227 |
-
display: inline-block;
|
228 |
-
width: 10px;
|
229 |
-
margin-right: 5px;
|
230 |
-
}
|
231 |
-
|
232 |
-
.wpr-rating-notice-logo {
|
233 |
-
margin-top: 15px;
|
234 |
-
margin-right: 30px;
|
235 |
-
}
|
236 |
-
|
237 |
-
.wpr-rating-notice-logo img {
|
238 |
-
max-width: 100%;
|
239 |
-
}
|
240 |
-
|
241 |
-
.wpr-rating-notice h3 {
|
242 |
-
font-size: 24px;
|
243 |
-
margin: 20px 0;
|
244 |
-
}
|
245 |
-
|
246 |
-
.wpr-rating-notice p {
|
247 |
-
margin-top: 3px;
|
248 |
-
margin-bottom: 15px;
|
249 |
-
}
|
250 |
-
|
251 |
-
.wpr-maybe-later,
|
252 |
-
.wpr-already-rated {
|
253 |
-
display: inline-flex;
|
254 |
-
align-items: center;
|
255 |
-
}
|
256 |
-
|
257 |
-
.wpr-maybe-later,
|
258 |
-
.wpr-already-rated,
|
259 |
-
.wpr-need-support,
|
260 |
-
.wpr-notice-dismiss-2 {
|
261 |
-
text-decoration: none;
|
262 |
-
margin-left: 12px;
|
263 |
-
font-size: 14px;
|
264 |
-
cursor: pointer;
|
265 |
-
}
|
266 |
-
|
267 |
-
.wpr-maybe-later {
|
268 |
-
margin-left: 0;
|
269 |
-
}
|
270 |
-
|
271 |
-
.wpr-already-rated .dashicons,
|
272 |
-
.wpr-maybe-later .dashicons,
|
273 |
-
.wpr-need-support .dashicons {
|
274 |
-
margin-right: 5px;
|
275 |
-
}
|
276 |
-
|
277 |
-
.wpr-notice-dismiss-2 .dashicons {
|
278 |
-
vertical-align: middle;
|
279 |
-
}
|
280 |
-
|
281 |
-
.wpr-rating-notice .notice-dismiss {
|
282 |
-
display: none;
|
283 |
-
}
|
284 |
-
</style>
|
285 |
-
";
|
286 |
-
}
|
287 |
-
|
288 |
-
}
|
289 |
-
|
290 |
-
if ( 'Royal Addons' === Utilities::get_plugin_name() ) {
|
291 |
-
new WprRatingNotice();
|
292 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
classes/utilities.php
CHANGED
@@ -313,7 +313,11 @@ class Utilities {
|
|
313 |
public static function is_theme_builder_template() {
|
314 |
$current_page = get_post(get_the_ID());
|
315 |
|
316 |
-
|
|
|
|
|
|
|
|
|
317 |
}
|
318 |
|
319 |
|
313 |
public static function is_theme_builder_template() {
|
314 |
$current_page = get_post(get_the_ID());
|
315 |
|
316 |
+
if ( $current_page ) {
|
317 |
+
return strpos($current_page->post_name, 'user-archive') !== false || strpos($current_page->post_name, 'user-single') !== false;
|
318 |
+
} else {
|
319 |
+
return false;
|
320 |
+
}
|
321 |
}
|
322 |
|
323 |
|
modules/grid/widgets/wpr-grid.php
CHANGED
@@ -3554,7 +3554,7 @@ class Wpr_Grid extends Widget_Base {
|
|
3554 |
'type' => Controls_Manager::DIMENSIONS,
|
3555 |
'size_units' => [ 'px', '%' ],
|
3556 |
'default' => [
|
3557 |
-
'top' =>
|
3558 |
'right' => 0,
|
3559 |
'bottom' => 0,
|
3560 |
'left' => 0,
|
@@ -3763,7 +3763,7 @@ class Wpr_Grid extends Widget_Base {
|
|
3763 |
'type' => Controls_Manager::DIMENSIONS,
|
3764 |
'size_units' => [ 'px', '%' ],
|
3765 |
'default' => [
|
3766 |
-
'top' =>
|
3767 |
'right' => 0,
|
3768 |
'bottom' => 0,
|
3769 |
'left' => 0,
|
@@ -7697,6 +7697,10 @@ class Wpr_Grid extends Widget_Base {
|
|
7697 |
$settings['query_posts_per_page'] = $settings['query_posts_per_page'] > 4 ? 4 : $settings['query_posts_per_page'];
|
7698 |
}
|
7699 |
|
|
|
|
|
|
|
|
|
7700 |
$offset = ( $paged - 1 ) * intval($settings['query_posts_per_page']) + intval($settings[ 'query_offset' ]);
|
7701 |
|
7702 |
if ( ! wpr_fs()->can_use_premium_code() ) {
|
3554 |
'type' => Controls_Manager::DIMENSIONS,
|
3555 |
'size_units' => [ 'px', '%' ],
|
3556 |
'default' => [
|
3557 |
+
'top' => 0,
|
3558 |
'right' => 0,
|
3559 |
'bottom' => 0,
|
3560 |
'left' => 0,
|
3763 |
'type' => Controls_Manager::DIMENSIONS,
|
3764 |
'size_units' => [ 'px', '%' ],
|
3765 |
'default' => [
|
3766 |
+
'top' => 0,
|
3767 |
'right' => 0,
|
3768 |
'bottom' => 0,
|
3769 |
'left' => 0,
|
7697 |
$settings['query_posts_per_page'] = $settings['query_posts_per_page'] > 4 ? 4 : $settings['query_posts_per_page'];
|
7698 |
}
|
7699 |
|
7700 |
+
if ( 'slider' === $settings['layout_select'] ) {
|
7701 |
+
$paged = 1;
|
7702 |
+
}
|
7703 |
+
|
7704 |
$offset = ( $paged - 1 ) * intval($settings['query_posts_per_page']) + intval($settings[ 'query_offset' ]);
|
7705 |
|
7706 |
if ( ! wpr_fs()->can_use_premium_code() ) {
|
plugin.php
CHANGED
@@ -110,9 +110,6 @@ class Plugin {
|
|
110 |
|
111 |
// Custom CSS
|
112 |
require WPR_ADDONS_PATH . 'extensions/wpr-custom-css.php';
|
113 |
-
|
114 |
-
// Rating Notice
|
115 |
-
require WPR_ADDONS_PATH . 'classes/rating-notice.php';
|
116 |
|
117 |
// Plugin Updaate Notice
|
118 |
require WPR_ADDONS_PATH . 'classes/plugin-update-notice.php';
|
@@ -345,7 +342,7 @@ class Plugin {
|
|
345 |
[]
|
346 |
);
|
347 |
|
348 |
-
|
349 |
'wpr-flipster-css',
|
350 |
WPR_ADDONS_URL . 'assets/css/lib/flipster/jquery.flipster' . $this->script_suffix() . '.css',
|
351 |
[],
|
110 |
|
111 |
// Custom CSS
|
112 |
require WPR_ADDONS_PATH . 'extensions/wpr-custom-css.php';
|
|
|
|
|
|
|
113 |
|
114 |
// Plugin Updaate Notice
|
115 |
require WPR_ADDONS_PATH . 'classes/plugin-update-notice.php';
|
342 |
[]
|
343 |
);
|
344 |
|
345 |
+
wp_enqueue_style(
|
346 |
'wpr-flipster-css',
|
347 |
WPR_ADDONS_URL . 'assets/css/lib/flipster/jquery.flipster' . $this->script_suffix() . '.css',
|
348 |
[],
|
readme.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
=== Royal Elementor Addons (Header Footer Builder, Popups, Post Grid, Woocommerce Product Grid, Slider, Parallax Image, Free Elementor Widgets & Elementor Templates) ===
|
2 |
Contributors: WP Royal, rubeushagrid13, cyberpinky, elementoraddonswpr
|
3 |
Tags: elementor, elements, widgets for elementor, elementor addons, elementor widgets, elementor form, woocommerce elementor, page builder, elementor templates, wordpress page builder, best elementor addons, addons for elementor
|
4 |
-
Stable tag: 1.3.
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.9
|
7 |
Requires PHP: 5.6
|
1 |
=== Royal Elementor Addons (Header Footer Builder, Popups, Post Grid, Woocommerce Product Grid, Slider, Parallax Image, Free Elementor Widgets & Elementor Templates) ===
|
2 |
Contributors: WP Royal, rubeushagrid13, cyberpinky, elementoraddonswpr
|
3 |
Tags: elementor, elements, widgets for elementor, elementor addons, elementor widgets, elementor form, woocommerce elementor, page builder, elementor templates, wordpress page builder, best elementor addons, addons for elementor
|
4 |
+
Stable tag: 1.3.41
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.9
|
7 |
Requires PHP: 5.6
|
wpr-addons.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Description: The only plugin you need for Elementor page builder.
|
5 |
* Plugin URI: https://royal-elementor-addons.com/
|
6 |
* Author: WP Royal
|
7 |
-
* Version: 1.3.
|
8 |
* License: GPLv3
|
9 |
* Author URI: https://royal-elementor-addons.com/
|
10 |
* Elementor tested up to: 3.6.4
|
@@ -15,7 +15,7 @@
|
|
15 |
|
16 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
17 |
|
18 |
-
define( 'WPR_ADDONS_VERSION', '1.3.
|
19 |
|
20 |
define( 'WPR_ADDONS__FILE__', __FILE__ );
|
21 |
define( 'WPR_ADDONS_PLUGIN_BASE', plugin_basename( WPR_ADDONS__FILE__ ) );
|
4 |
* Description: The only plugin you need for Elementor page builder.
|
5 |
* Plugin URI: https://royal-elementor-addons.com/
|
6 |
* Author: WP Royal
|
7 |
+
* Version: 1.3.41
|
8 |
* License: GPLv3
|
9 |
* Author URI: https://royal-elementor-addons.com/
|
10 |
* Elementor tested up to: 3.6.4
|
15 |
|
16 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
17 |
|
18 |
+
define( 'WPR_ADDONS_VERSION', '1.3.41' );
|
19 |
|
20 |
define( 'WPR_ADDONS__FILE__', __FILE__ );
|
21 |
define( 'WPR_ADDONS_PLUGIN_BASE', plugin_basename( WPR_ADDONS__FILE__ ) );
|