Version Description
- Fixed : FlipBox Cube Hover Not Working.
- Fixed : Animated Gradient color change Bug.
- Fixed : Comparison Table feature tooltip hide on some themes.
Download this release
Release Info
Developer | wpvibes |
Plugin | Elementor Addon Elements |
Version | 1.11.11 |
Comparing to | |
See all releases |
Code changes from version 1.11.10 to 1.11.11
- assets/css/eae.css +318 -8
- assets/css/eae.min.css +1 -1
- assets/js/eae.js +3574 -2786
- assets/js/eae.min.js +1 -1
- classes/helper.php +5 -0
- elementor-addon-elements.php +2 -2
- modules/animated-gradient/module.php +5 -0
- modules/cf-styler/module.php +21 -0
- modules/cf-styler/widgets/cf-styler.php +1710 -0
- readme.txt +6 -1
assets/css/eae.css
CHANGED
@@ -337,40 +337,40 @@ Flip Box CSS
|
|
337 |
/* top to down */
|
338 |
|
339 |
.flipcard-rotate-top-down .eae-flip-box-front {
|
340 |
-
transform:
|
341 |
}
|
342 |
.flipcard-rotate-top-down .eae-flip-box-back {
|
343 |
-
transform:
|
344 |
}
|
345 |
.eae-fb-animate-flipcard.flipcard-rotate-top-down
|
346 |
.eae-flip-box-wrapper:hover
|
347 |
.eae-flip-box-front {
|
348 |
-
transform:
|
349 |
}
|
350 |
.eae-fb-animate-flipcard.flipcard-rotate-top-down
|
351 |
.eae-flip-box-wrapper:hover
|
352 |
.eae-flip-box-back {
|
353 |
z-index: 99999;
|
354 |
-
transform:
|
355 |
}
|
356 |
|
357 |
/* down to top */
|
358 |
.flipcard-rotate-down-top .eae-flip-box-front {
|
359 |
-
transform:
|
360 |
}
|
361 |
.flipcard-rotate-down-top .eae-flip-box-back {
|
362 |
-
transform:
|
363 |
}
|
364 |
.eae-fb-animate-flipcard.flipcard-rotate-down-top
|
365 |
.eae-flip-box-wrapper:hover
|
366 |
.eae-flip-box-front {
|
367 |
-
transform:
|
368 |
}
|
369 |
.eae-fb-animate-flipcard.flipcard-rotate-down-top
|
370 |
.eae-flip-box-wrapper:hover
|
371 |
.eae-flip-box-back {
|
372 |
z-index: 99999;
|
373 |
-
transform:
|
374 |
}
|
375 |
|
376 |
/* left to right */
|
@@ -4057,6 +4057,10 @@ article.eae-ct-wrapper {
|
|
4057 |
}
|
4058 |
}
|
4059 |
|
|
|
|
|
|
|
|
|
4060 |
/* Progress Bar */
|
4061 |
.eae-progress-bar-wrapper {
|
4062 |
display: flex;
|
@@ -6195,3 +6199,309 @@ body.rtl
|
|
6195 |
.eae-table-wrapper {
|
6196 |
max-width: 100%;
|
6197 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
337 |
/* top to down */
|
338 |
|
339 |
.flipcard-rotate-top-down .eae-flip-box-front {
|
340 |
+
transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
|
341 |
}
|
342 |
.flipcard-rotate-top-down .eae-flip-box-back {
|
343 |
+
transform: rotateX(90deg) rotateY(0deg) rotateZ(0deg);
|
344 |
}
|
345 |
.eae-fb-animate-flipcard.flipcard-rotate-top-down
|
346 |
.eae-flip-box-wrapper:hover
|
347 |
.eae-flip-box-front {
|
348 |
+
transform: rotateX(-90deg) rotateY(0) rotateZ(0deg);
|
349 |
}
|
350 |
.eae-fb-animate-flipcard.flipcard-rotate-top-down
|
351 |
.eae-flip-box-wrapper:hover
|
352 |
.eae-flip-box-back {
|
353 |
z-index: 99999;
|
354 |
+
transform: rotateX(0deg) rotateY(0deg) rotateZ(0);
|
355 |
}
|
356 |
|
357 |
/* down to top */
|
358 |
.flipcard-rotate-down-top .eae-flip-box-front {
|
359 |
+
transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
|
360 |
}
|
361 |
.flipcard-rotate-down-top .eae-flip-box-back {
|
362 |
+
transform: rotateX(-90deg) rotateY(0deg) rotateZ(0deg);
|
363 |
}
|
364 |
.eae-fb-animate-flipcard.flipcard-rotate-down-top
|
365 |
.eae-flip-box-wrapper:hover
|
366 |
.eae-flip-box-front {
|
367 |
+
transform: rotateX(90deg) rotateY(0) rotateZ(0deg);
|
368 |
}
|
369 |
.eae-fb-animate-flipcard.flipcard-rotate-down-top
|
370 |
.eae-flip-box-wrapper:hover
|
371 |
.eae-flip-box-back {
|
372 |
z-index: 99999;
|
373 |
+
transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
|
374 |
}
|
375 |
|
376 |
/* left to right */
|
4057 |
}
|
4058 |
}
|
4059 |
|
4060 |
+
td.eae-ct-feature .tooltip {
|
4061 |
+
opacity: 1;
|
4062 |
+
}
|
4063 |
+
|
4064 |
/* Progress Bar */
|
4065 |
.eae-progress-bar-wrapper {
|
4066 |
display: flex;
|
6199 |
.eae-table-wrapper {
|
6200 |
max-width: 100%;
|
6201 |
}
|
6202 |
+
|
6203 |
+
/* cform-styler */
|
6204 |
+
.wts-eae-main .wpcf7 h1,
|
6205 |
+
.wts-eae-main .wpcf7 h2,
|
6206 |
+
.wts-eae-main .wpcf7 h3,
|
6207 |
+
.wts-eae-main .wpcf7 h4,
|
6208 |
+
.wts-eae-main .wpcf7 h5,
|
6209 |
+
.wts-eae-main .wpcf7 h6,
|
6210 |
+
.wts-eae-main .wpcf7 p,
|
6211 |
+
.wts-eae-main .wpcf7 label {
|
6212 |
+
color: #7a7a7a;
|
6213 |
+
}
|
6214 |
+
|
6215 |
+
/* Date */
|
6216 |
+
.wts-eae-main .wpcf7 .wpcf7-date {
|
6217 |
+
color: #cbcbcb;
|
6218 |
+
background-color: #fafafa;
|
6219 |
+
border-radius: 0;
|
6220 |
+
padding: 10px 15px;
|
6221 |
+
outline: 0px;
|
6222 |
+
/* border: 1px solid #eaeaea; */
|
6223 |
+
}
|
6224 |
+
|
6225 |
+
/* Dropdown */
|
6226 |
+
.wts-eae-main .wpcf7 .wpcf7-select {
|
6227 |
+
color: #cbcbcb;
|
6228 |
+
background-color: #fafafa;
|
6229 |
+
}
|
6230 |
+
/* Submit Button */
|
6231 |
+
.wts-eae-main .wpcf7 .wpcf7-submit {
|
6232 |
+
background-color: #61ce70;
|
6233 |
+
}
|
6234 |
+
/* Radio and Checkbox Section */
|
6235 |
+
/* Orientation */
|
6236 |
+
.radio-orientation-vertical .wts-eae-main .wpcf7 .wpcf7-radio {
|
6237 |
+
display: flex;
|
6238 |
+
flex-direction: column;
|
6239 |
+
}
|
6240 |
+
.checkbox-orientation-vertical .wts-eae-main .wpcf7 .wpcf7-checkbox {
|
6241 |
+
display: flex;
|
6242 |
+
flex-direction: column;
|
6243 |
+
}
|
6244 |
+
/* Radio Button */
|
6245 |
+
.wts-eae-main .wpcf7 input[type="radio"] {
|
6246 |
+
appearance: none;
|
6247 |
+
color: #ffffff;
|
6248 |
+
background-repeat: no-repeat;
|
6249 |
+
background-color:currentColor;
|
6250 |
+
width: 1.2rem;
|
6251 |
+
height: 1.2rem;
|
6252 |
+
display: inline-block;
|
6253 |
+
text-align: center;
|
6254 |
+
margin-right: 5px;
|
6255 |
+
border-radius: 50%;
|
6256 |
+
vertical-align: middle;
|
6257 |
+
}
|
6258 |
+
|
6259 |
+
.wts-eae-main .wpcf7 input[type="radio"] + span {
|
6260 |
+
vertical-align: middle;
|
6261 |
+
}
|
6262 |
+
|
6263 |
+
.wts-eae-main .wpcf7 input[type="radio"]:checked {
|
6264 |
+
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
|
6265 |
+
background-position: center;
|
6266 |
+
background-size: 100% 100%;
|
6267 |
+
background-repeat: no-repeat;
|
6268 |
+
background-color:#61ce70;
|
6269 |
+
}
|
6270 |
+
|
6271 |
+
.wts-eae-main .wpcf7 .wpcf7-list-item {
|
6272 |
+
padding-right: 1rem;
|
6273 |
+
}
|
6274 |
+
|
6275 |
+
/* Radio */
|
6276 |
+
/* .wts-eae-main .wpcf7 input[type="radio"] {
|
6277 |
+
display: none;
|
6278 |
+
}
|
6279 |
+
|
6280 |
+
.wts-eae-main .wpcf7 input[type="radio"] + span {
|
6281 |
+
cursor: pointer;
|
6282 |
+
display: inline-block;
|
6283 |
+
line-height: 25px;
|
6284 |
+
}
|
6285 |
+
|
6286 |
+
.wts-eae-main .wpcf7 input[type="radio"] + span::before {
|
6287 |
+
content: "";
|
6288 |
+
width: 14px;
|
6289 |
+
height: 14px;
|
6290 |
+
background-color: #ffffff;
|
6291 |
+
margin-right: 5px;
|
6292 |
+
display: inline-block;
|
6293 |
+
vertical-align: middle;
|
6294 |
+
box-sizing: content-box;
|
6295 |
+
text-align: center;
|
6296 |
+
border-radius: 4px;
|
6297 |
+
border-radius: 50%;
|
6298 |
+
}
|
6299 |
+
|
6300 |
+
.wts-eae-main .wpcf7 input[type="radio"]:checked + span::before {
|
6301 |
+
content: "\25CF";
|
6302 |
+
line-height: 1.2;
|
6303 |
+
font-size: calc(12px);
|
6304 |
+
font-weight: 800;
|
6305 |
+
} */
|
6306 |
+
|
6307 |
+
/* Checkbox */
|
6308 |
+
.wts-eae-main .wpcf7 input[type="checkbox"] {
|
6309 |
+
appearance: none;
|
6310 |
+
color: #ffffff;
|
6311 |
+
background-repeat: no-repeat;
|
6312 |
+
background-color: currentColor;
|
6313 |
+
width: 1.2rem;
|
6314 |
+
height: 1.2rem;
|
6315 |
+
display: inline-block;
|
6316 |
+
text-align: center;
|
6317 |
+
margin-right: 5px;
|
6318 |
+
vertical-align: middle;
|
6319 |
+
border-radius: 4px;
|
6320 |
+
border: 3.4px solid black;
|
6321 |
+
}
|
6322 |
+
|
6323 |
+
.wts-eae-main .wpcf7 input[type="checkbox"] + span {
|
6324 |
+
vertical-align: middle;
|
6325 |
+
}
|
6326 |
+
|
6327 |
+
.wts-eae-main .wpcf7 input[type="checkbox"]:checked {
|
6328 |
+
background-image: url('data:image/svg+xml,%3csvg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"%3e%3cpath d="M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z"/%3e%3c/svg%3e');
|
6329 |
+
background-position: center;
|
6330 |
+
background-size: 100% 100%;
|
6331 |
+
background-repeat: no-repeat;
|
6332 |
+
background-color:#61ce70;
|
6333 |
+
}
|
6334 |
+
/* Checkbox
|
6335 |
+
.wts-eae-main .wpcf7 input[type="checkbox"] {
|
6336 |
+
display: none;
|
6337 |
+
}
|
6338 |
+
|
6339 |
+
.wts-eae-main .wpcf7 input[type="checkbox"] + span {
|
6340 |
+
cursor: pointer;
|
6341 |
+
display: inline-block;
|
6342 |
+
line-height: 25px;
|
6343 |
+
}
|
6344 |
+
|
6345 |
+
.wts-eae-main .wpcf7 input[type="checkbox"] + span::before {
|
6346 |
+
content: "";
|
6347 |
+
width: 14px;
|
6348 |
+
height: 14px;
|
6349 |
+
background-color: #ffffff;
|
6350 |
+
margin-right: 5px;
|
6351 |
+
display: inline-block;
|
6352 |
+
vertical-align: middle;
|
6353 |
+
box-sizing: content-box;
|
6354 |
+
text-align: center;
|
6355 |
+
border-radius: 4px;
|
6356 |
+
}
|
6357 |
+
|
6358 |
+
.wts-eae-main .wpcf7 input[type="checkbox"]:checked + span::before {
|
6359 |
+
content: "\2713";
|
6360 |
+
line-height: 1.2;
|
6361 |
+
font-size: calc(12px / 1.2);
|
6362 |
+
font-weight: 800;
|
6363 |
+
} */
|
6364 |
+
|
6365 |
+
/* Field Style */
|
6366 |
+
.wts-cf7-style-box
|
6367 |
+
input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
|
6368 |
+
.wts-cf7-style-box .wpcf7-select,
|
6369 |
+
.wts-cf7-style-box .wpcf7-textarea {
|
6370 |
+
border: 0px;
|
6371 |
+
}
|
6372 |
+
|
6373 |
+
.wts-cf7-style-underline
|
6374 |
+
input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
|
6375 |
+
.wts-cf7-style-underline .wpcf7-select,
|
6376 |
+
.wts-cf7-style-underline .wpcf7-textarea {
|
6377 |
+
border: 0px;
|
6378 |
+
outline: 0px;
|
6379 |
+
}
|
6380 |
+
|
6381 |
+
/* Button */
|
6382 |
+
|
6383 |
+
.wts-eae-main .wpcf7-submit {
|
6384 |
+
display: flex;
|
6385 |
+
width: auto;
|
6386 |
+
text-align: center;
|
6387 |
+
justify-content: center;
|
6388 |
+
border: 0px;
|
6389 |
+
}
|
6390 |
+
|
6391 |
+
/* Button Size */
|
6392 |
+
|
6393 |
+
.cf7-btn-size-sm .wpcf7-submit {
|
6394 |
+
font-size: 15px;
|
6395 |
+
padding: 12px 24px;
|
6396 |
+
}
|
6397 |
+
|
6398 |
+
.cf7-btn-size-md .wpcf7-submit {
|
6399 |
+
font-size: 16px;
|
6400 |
+
padding: 15px 30px;
|
6401 |
+
}
|
6402 |
+
|
6403 |
+
.cf7-btn-size-lg .wpcf7-submit {
|
6404 |
+
font-size: 18px;
|
6405 |
+
padding: 20px 40px;
|
6406 |
+
}
|
6407 |
+
|
6408 |
+
.cf7-btn-size-xl .wpcf7-submit {
|
6409 |
+
font-size: 20px;
|
6410 |
+
padding: 15px 30px;
|
6411 |
+
width: 100%;
|
6412 |
+
}
|
6413 |
+
|
6414 |
+
/* Button Field Alignment */
|
6415 |
+
.cf7-btn-alignment-left .wpcf7-submit {
|
6416 |
+
margin-left: 0;
|
6417 |
+
margin-right: auto;
|
6418 |
+
}
|
6419 |
+
.cf7-btn-alignment-center .wpcf7-submit {
|
6420 |
+
margin-left: auto;
|
6421 |
+
margin-right: auto;
|
6422 |
+
}
|
6423 |
+
.cf7-btn-alignment-right .wpcf7-submit {
|
6424 |
+
margin-left: auto;
|
6425 |
+
margin-right: 0;
|
6426 |
+
text-align: center;
|
6427 |
+
justify-content: center;
|
6428 |
+
}
|
6429 |
+
|
6430 |
+
/* File Field */
|
6431 |
+
.wpcf7-file {
|
6432 |
+
width: 40%;
|
6433 |
+
color: #cbcbcb;
|
6434 |
+
background-color: #fafafa;
|
6435 |
+
border-radius: 0;
|
6436 |
+
padding: 10px 15px;
|
6437 |
+
outline: 0px;
|
6438 |
+
border-style: solid;
|
6439 |
+
}
|
6440 |
+
/* File Field Media Query on small screen */
|
6441 |
+
@media only screen and (max-width: 600px) {
|
6442 |
+
.wpcf7-file {
|
6443 |
+
width: 100%;
|
6444 |
+
}
|
6445 |
+
}
|
6446 |
+
/* Show /Hide Label */
|
6447 |
+
|
6448 |
+
/* Hide Labels */
|
6449 |
+
/* .wts-eae-main label{
|
6450 |
+
font-size: 0px;
|
6451 |
+
} */
|
6452 |
+
|
6453 |
+
/* Show Labels */
|
6454 |
+
/* .eae-cf7-label-yes label{
|
6455 |
+
display: block;
|
6456 |
+
} */
|
6457 |
+
/* .eae-cf7-label-yes .wpcf7-quiz-label{
|
6458 |
+
display: block;
|
6459 |
+
} */
|
6460 |
+
|
6461 |
+
/* Show /Hide Error Output */
|
6462 |
+
.wts-eae-main .wpcf7 form.invalid .wpcf7-response-output,
|
6463 |
+
.wpcf7 form.unaccepted .wpcf7-response-output {
|
6464 |
+
border: none;
|
6465 |
+
margin: 0.5em 0em;
|
6466 |
+
padding: 0em;
|
6467 |
+
}
|
6468 |
+
|
6469 |
+
.wts-eae-main .wpcf7 form.sent .wpcf7-response-output {
|
6470 |
+
border: none;
|
6471 |
+
margin: 0.5em 0em;
|
6472 |
+
padding: 0em;
|
6473 |
+
}
|
6474 |
+
|
6475 |
+
.eae-cf7-error-output-hide .wpcf7-response-output {
|
6476 |
+
display: none;
|
6477 |
+
}
|
6478 |
+
.eae-cf7-error-output-show .wpcf7-response-output {
|
6479 |
+
display: block;
|
6480 |
+
}
|
6481 |
+
|
6482 |
+
/* Show /Hide Error Validation messages */
|
6483 |
+
.eae-cf7-error-validation-hide .wpcf7-not-valid-tip {
|
6484 |
+
display: none;
|
6485 |
+
}
|
6486 |
+
.eae-cf7-error-validation-show .wpcf7-not-valid-tip {
|
6487 |
+
display: block;
|
6488 |
+
}
|
6489 |
+
|
6490 |
+
/* Overriding Contact Form 7 default CSS */
|
6491 |
+
|
6492 |
+
/* wpcf7-list-item */
|
6493 |
+
.wts-eae-main .wpcf7 .wpcf7-list-item {
|
6494 |
+
margin-left: 0px;
|
6495 |
+
}
|
6496 |
+
.sent-box {
|
6497 |
+
margin: 1em 0em;
|
6498 |
+
}
|
6499 |
+
.error-box{
|
6500 |
+
margin-top: 1em;
|
6501 |
+
}
|
6502 |
+
|
6503 |
+
/* error-field */
|
6504 |
+
.wts-eae-main .wpcf7 .error-field{
|
6505 |
+
color: #dc3232;
|
6506 |
+
font-size: 1em;
|
6507 |
+
}
|
assets/css/eae.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.elementor-widget-wts-textseparator .elementor-widget-container{overflow:hidden}.wts-eae-textseparator{align-items:center;display:flex;flex-flow:row nowrap;margin:auto}body.rtl .wts-eae-textseparator{flex-direction:row-reverse}.eae-separator-icon-inner i{height:1em;width:1em;text-align:center;position:relative;display:block}.eae-separator-icon-inner i:before{position:absolute;left:50%;-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%);transform:translateX(-50%)}.wts-eae-textseparator .eae-sep-holder{flex:1 1 auto;height:1px;min-width:10%;position:relative}.wts-eae-textseparator .eae-sep-holder .eae-sep-lines{border-top-width:1px;display:block;height:1px;position:relative;top:1px;width:100%}.eae-separator-title{margin:0;-moz-box-flex:0;flex:0 1 auto;line-height:1em;margin:0;overflow-wrap:break-word}.sep-align-right .sep-right{display:none}.sep-align-left .sep-left{display:none}.eae-icon-view-stacked i{color:#fff}.eae-icon-view-framed .eae-separator-icon-inner{border:1px solid}.eae-icon-shape-circle .eae-separator-icon-inner{border-radius:50%}.eae-separator-icon-wrapper,.eae-separator-title{margin:0 5px!important}.eae-separator-icon-inner{line-height:1}.wts-price-box-wrapper .eae-pt-heading,.wts-price-box-wrapper .eae-pt-sub-heading{margin:5px 0;text-align:center}.plan-price-shape{display:table;height:6em;margin:auto;width:6em}.eae-pt-price-box-shape-circle .plan-price-shape,.eae-pt-price-box-shape-square .plan-price-shape{border:1px solid}.eae-pt-price-box-shape-circle .plan-price-shape{border-radius:50%}.plan-price-block{padding:10px 0}.plan-price-shape-inner{display:table-cell;vertical-align:middle;padding:10px}.plan-price-shape-inner>span{display:block;font-size:1em;text-align:center}.eae-pt-feature-list{list-style:outside none none;text-align:center;margin:10px 0}.eae-pt-button-wrapper>a{text-align:center;display:inline-block;line-height:1}.eae-pt-button-wrapper{text-align:center}.wts-price-box-wrapper .heading-wrapper,.wts-price-box-wrapper .plan-features-wrapper{padding:10px 5px}.eae-pt-button-wrapper{padding:15px 0}.eae-pt-button-wrapper a{padding:5px 15px;border-radius:3px}.eae-pt-align-icon-right{float:right}.strike-feature{text-decoration:line-through}.eae-flip-box{width:100%;text-align:center}.eae-flip-box-wrapper{display:inline-block;width:100%}.eae-flip-box-inner{width:100%;height:200px;position:relative;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d}.eae-flip-box-inner .eae-flip-box-back,.eae-flip-box-inner .eae-flip-box-front{width:100%;height:100%;position:absolute;top:0;left:0;text-align:center;padding:10px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:all .6s ease 0s;-moz-transition:all .6s ease 0s;-ms-transition:all .6s ease 0s;-o-transition:all .6s ease 0s;transition:all .6s ease 0s}.eae-flip-box-front{z-index:2}.eae-flip-box-back{z-index:1}.eae-fb-animate-vertical .eae-flip-box-inner .eae-flip-box-front{-webkit-transform:perspective(1000px) rotateX(0);-ms-transform:perspective(1000px) rotateX(0);transform:perspective(1000px) rotateX(0)}.eae-fb-animate-vertical .eae-flip-box-inner .eae-flip-box-back{-webkit-transform:perspective(1000px) rotateX(180deg);transform:perspective(1000px) rotateX(180deg);-ms-transform:perspective(1000px) rotateX(180deg)}.eae-fb-animate-vertical .eae-flip-box-inner:hover .eae-flip-box-front{-webkit-transform:perspective(1000px) rotateX(180deg);transform:perspective(1000px) rotateX(180deg);-ms-transform:perspective(1000px) rotateX(180deg)}.eae-fb-animate-vertical .eae-flip-box-inner:hover .eae-flip-box-back{-webkit-transform:perspective(1000px) rotateX(0);transform:perspective(1000px) rotateX(0);-ms-transform:perspective(1000px) rotateX(0)}.eae-fb-animate-horizontal .eae-flip-box-inner .eae-flip-box-front{-webkit-transform:perspective(1000px) rotateY(0);transform:perspective(1000px) rotateY(0);-ms-transform:perspective(1000px) rotateY(0)}.eae-fb-animate-horizontal .eae-flip-box-inner .eae-flip-box-back{-webkit-transform:perspective(1000px) rotateY(180deg);transform:perspective(1000px) rotateY(180deg);-ms-transform:perspective(1000px) rotateY(180deg)}.eae-fb-animate-horizontal .eae-flip-box-inner:hover .eae-flip-box-front{-webkit-transform:perspective(1000px) rotateY(180deg);transform:perspective(1000px) rotateY(180deg);-ms-transform:perspective(1000px) rotateY(180deg)}.eae-fb-animate-horizontal .eae-flip-box-inner:hover .eae-flip-box-back{-webkit-transform:perspective(1000px) rotateY(0);transform:perspective(1000px) rotateY(0);-ms-transform:perspective(1000px) rotateY(0)}.eae-fb-animate-fade .eae-flip-box-inner .eae-flip-box-front{opacity:1}.eae-fb-animate-fade .eae-flip-box-inner .eae-flip-box-back{opacity:0}.eae-fb-animate-fade .eae-flip-box-inner:hover .eae-flip-box-front{opacity:0}.eae-fb-animate-fade .eae-flip-box-inner:hover .eae-flip-box-back{opacity:1}.eae-flip-box-wrapper:focus .eae-flip-box-back,.eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:2}.eae-flip-box-wrapper:focus .eae-flip-box-front,.eae-flip-box-wrapper:hover .eae-flip-box-front{z-index:1}.fade .eae-flip-box-wrapper .eae-flip-box-front{opacity:1;transition:1s}.fade .eae-flip-box-wrapper .eae-flip-box-back{opacity:0;transition:1s}.fade .eae-flip-box-wrapper:focus .eae-flip-box-front,.fade .eae-flip-box-wrapper:hover .eae-flip-box-front{opacity:0}.fade .eae-flip-box-wrapper:focus .eae-flip-box-back,.fade .eae-flip-box-wrapper:hover .eae-flip-box-back{opacity:1}.eae-fb-animate-flip .eae-flip-box-wrapper{perspective:800px}.eae-fb-animate-flip .eae-flip-box-inner{transform-style:preserve-3d;transform:rotateX(0) rotateY(0) rotateZ(0);transition:1s}.eae-fb-animate-flip .eae-flip-box-front{transform:translate3d(0,0,1px)}.eae-fb-animate-flip .eae-flip-box-back{transform:rotateY(180deg) translate3d(0,0,0)}.eae-fb-animate-flip .eae-flip-box-wrapper:focus .eae-flip-box-inner,.eae-fb-animate-flip .eae-flip-box-wrapper:hover .eae-flip-box-inner{transform:rotateY(180deg)}.up .eae-flip-box-front{transform:translate3d(0,0,1px)}.up .eae-flip-box-back{transform:rotateX(180deg) translate3d(0,0,0)}.up .eae-flip-box-wrapper:focus .eae-flip-box-inner,.up .eae-flip-box-wrapper:hover .eae-flip-box-inner{transform:rotateX(180deg)}.box .eae-flip-box-front{transform:translate3d(0,0,100px) scale(.85,.85)}.box .eae-flip-box-back{transform:rotateY(180deg) translate3d(0,0,100px) scale(.85,.85)}.box.up .eae-flip-box-back{transform:rotateX(180deg) translate3d(0,0,100px) scale(.85,.85)}.hideback .eae-flip-box-back,.hideback .eae-flip-box-front{backface-visibility:hidden}.eae-fb-animate-nananana .eae-flip-box-wrapper:focus .eae-flip-box-front,.eae-fb-animate-nananana .eae-flip-box-wrapper:hover .eae-flip-box-front{z-index:10;animation:batman 1s 2 alternate linear}.eae-fb-animate-flipcard .eae-flip-box-back,.eae-fb-animate-flipcard .eae-flip-box-front{transition:transform .4s ease;transform-origin:center center -150px;-webkit-transform-origin:center center -150px}.flipcard-rotate-top-down .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-top-down .eae-flip-box-back{transform:perspective(0) rotateX(90deg) rotateY(0) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-top-down .eae-flip-box-wrapper:hover .eae-flip-box-front{transform:perspective(0) rotateX(-90deg) rotateY(0) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-top-down .eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:99999;transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-down-top .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-down-top .eae-flip-box-back{transform:perspective(0) rotateX(-90deg) rotateY(0) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-down-top .eae-flip-box-wrapper:hover .eae-flip-box-front{transform:perspective(0) rotateX(90deg) rotateY(0) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-down-top .eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:99999;transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-left-right .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-left-right .eae-flip-box-back{transform:perspective(0) rotateX(0) rotateY(-90deg) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-left-right .eae-flip-box-wrapper:hover .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(90deg) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-left-right .eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:99999;transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-right-left .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-right-left .eae-flip-box-back{transform:perspective(0) rotateX(0) rotateY(90deg) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-right-left .eae-flip-box-wrapper:hover .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(-90deg) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-right-left .eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:99999;transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}@keyframes batman{0%{transform:scale(1,1) rotateZ(0)}100%{transform:scale(0,0) rotateZ(720deg);opacity:0}}.eae-flip-box-back i,.eae-flip-box-front i{font-size:32px;height:1em;width:1em;position:relative;display:block}.eae-flip-box-back i:before,.eae-flip-box-front i:before{position:absolute;left:50%;-webkit-transform:translate(-50%);-moz-transform:translate(-50%);-ms-transform:translate(-50%);-o-transform:translate(-50%);transform:translate(-50%)}.eae-fb-icon-view-framed{border:1px solid #92be43}.eae-fb-icon-shape-circle{border-radius:50%}.eae-flip-box-wrapper .icon-wrapper{display:inline-block;padding:10px;line-height:1}.eae-flip-box-wrapper .back-icon-title,.eae-flip-box-wrapper .front-icon-title{margin:10px auto;color:#fff}.eae-flip-box-wrapper .flipbox-content{display:block;position:relative;top:50%;transform:translateY(-50%);-ms-transform:translateY(-50%)}.flipbox-content p{margin-bottom:10px}.eae-fb-button{display:inline-block;padding:5px 10px}.eae-flip-box-front{background:#a0ce4e}.eae-flip-box-back{background:#73b9dc}@media only screen and (max-width:768px){.eae-flip-box-back,.eae-flip-box-front,.flipbox-content{cursor:pointer;overflow:visible!important;transform-style:preserve-3d;-webkit-transform-style:preserve-3d}}.elementor-widget-wts-shape-separator svg{display:block}.wts-eae-pl-wrapper ul{margin:0}.wts-eae-pl-wrapper ul li{list-style:none;overflow:hidden;margin-bottom:10px}.eae-pl-img-align-none .eae-pl-image-wrapper a{text-align:center}.eae-pl-title{margin:0}.eae-pl-title a{display:block}.eae-pl-readmore a{display:inline-block;border-radius:2px;color:#fff;padding:4px 8px}.eae-at-animation-text-wrapper{display:inline-block;position:relative;text-align:left}.eae-at-animation-text-wrapper .eae-at-animation-text{display:inline-block;position:absolute;white-space:nowrap;left:0;top:0}[data-elementor-device-mode=mobile] .eae-at-animation-text{white-space:normal}.eae-at-animation-text-wrapper .eae-at-animation-text.is-visible{position:relative}.no-js .eae-at-animation-text-wrapper .eae-at-animation-text{opacity:0}.no-js .eae-at-animation-text-wrapper .eae-at-animation-text.is-visible{opacity:1}.eae-animtext-wrapper{font-size:40px}.eae-st-rest-text{display:inline-block}.eae-st-split-text{display:inline-block}body.rtl .eae-st-transform-text-title{display:flex;flex-direction:row-reverse}body.rtl .eae-text-align-left .eae-st-transform-text-title{justify-content:flex-start}body.rtl .eae-text-align-right .eae-st-transform-text-title{justify-content:flex-end}body.rtl .eae-text-align-center .eae-st-transform-text-title{justify-content:center}.eae-at-animation.type .eae-at-animation-text-wrapper{vertical-align:bottom;overflow:hidden}.eae-at-animation.type .eae-at-animation-text-wrapper::after{content:"";position:absolute;right:0;top:50%;bottom:auto;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);height:90%;width:1px}.eae-at-animation.type .eae-at-animation-text-wrapper.waiting::after{-webkit-animation:cd-pulse 1s infinite;-moz-animation:cd-pulse 1s infinite;animation:cd-pulse 1s infinite}.eae-at-animation.type .eae-at-animation-text-wrapper.selected::after{visibility:hidden}.eae-at-animation.type .eae-at-animation-text{visibility:hidden}.eae-at-animation.type .eae-at-animation-text.is-visible{visibility:visible}.eae-at-animation.type i{position:absolute;visibility:hidden}.eae-at-animation.type i.in{position:relative;visibility:visible}@-webkit-keyframes cd-pulse{0%{-webkit-transform:translateY(-50%) scale(1);opacity:1}40%{-webkit-transform:translateY(-50%) scale(.9);opacity:0}100%{-webkit-transform:translateY(-50%) scale(0);opacity:0}}@-moz-keyframes cd-pulse{0%{-moz-transform:translateY(-50%) scale(1);opacity:1}40%{-moz-transform:translateY(-50%) scale(.9);opacity:0}100%{-moz-transform:translateY(-50%) scale(0);opacity:0}}@keyframes cd-pulse{0%{-webkit-transform:translateY(-50%) scale(1);-moz-transform:translateY(-50%) scale(1);-ms-transform:translateY(-50%) scale(1);-o-transform:translateY(-50%) scale(1);transform:translateY(-50%) scale(1);opacity:1}40%{-webkit-transform:translateY(-50%) scale(.9);-moz-transform:translateY(-50%) scale(.9);-ms-transform:translateY(-50%) scale(.9);-o-transform:translateY(-50%) scale(.9);transform:translateY(-50%) scale(.9);opacity:0}100%{-webkit-transform:translateY(-50%) scale(0);-moz-transform:translateY(-50%) scale(0);-ms-transform:translateY(-50%) scale(0);-o-transform:translateY(-50%) scale(0);transform:translateY(-50%) scale(0);opacity:0}}.eae-img-comp-container{width:100%;position:relative;text-align:center}.eae-img-comp-container img{vertical-align:middle}.eae-img-comp-img{position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;transform:translateZ(0);backface-visibility:hidden}.eae-img-comp-img img{display:block;max-width:100%;width:100%}.eae-img-comp-slider{position:absolute;z-index:9;width:40px;height:40px;background-color:#2196f3;opacity:1;border-radius:50%}.icon-horizontal{cursor:ew-resize}.icon-vertical{cursor:n-resize}.mode-horizontal .eae-img-comp-overlay img{position:absolute;left:0;top:0;display:block;width:auto;height:100%!important;max-width:none!important}.mode-vertical .eae-img-comp-overlay img{position:absolute;left:0;top:0;display:block;width:100%;height:auto!important;max-width:none!important}.eae-img-comp-slider svg,.eae-slider-icon{top:50%;transform:translateY(-50%) translateX(-50%);position:absolute;left:50%;color:#fff}.elementor-widget-wts-ab-image{text-align:center}.elementor-widget-wts-ab-image .elementor-widget-container{display:inline-block;margin:0 auto!important;overflow:hidden}.eae-text-before{position:absolute!important;padding:10px;transition:transform .3s .7s,opacity .3s .7s;color:#d36118;z-index:0;background:rgba(255,255,255,.5);margin:20px}.eae-text-after{position:absolute!important;padding:10px;transition:transform .3s .7s,opacity .3s .7s;color:#d36118;z-index:0;background:rgba(255,255,255,.5);margin:20px}.divTest{display:inline-block;background-color:#00a0d2;padding:20px}.eae-particle-wrapper{position:absolute;left:0;top:0}.eae-particle-wrapper.eae-particle-area{width:100%;height:100%}body:not(.elementor-editor-active) .eae-particle-wrapper{width:100%;height:100%}body:not(.elementor-editor-active) .eae-particle-wrapper .particles-js-canvas-el{height:100%;position:absolute;z-index:0}body:not(.elementor-editor-active) .eae-particle-wrapper .tsparticles-canvas-el{height:100%;position:absolute!important;z-index:0!important}body.elementor-editor-active .eae-particle-areas .tsparticles-canvas-el{z-index:0!important;height:100%;width:100%;position:absolute!important}.eae-section-bs{position:absolute;width:100%;height:100%;top:0}.eae-section-bs-inner{width:100%;height:100%!important}.eae-popup.mfp-bg{top:0;left:0;width:100%;height:100%;z-index:1042;overflow:hidden;position:fixed;background:#0b0b0b;opacity:.8}.eae-popup-link{padding:12px 24px;color:#fff;display:inline-flex;line-height:1}.eae-popup-link svg{fill:#fff}.eae-popup-link:hover{color:#fff}.eae-popup.mfp-wrap{top:0;left:0;width:100%;height:100%;z-index:1043;position:fixed;outline:0!important;-webkit-backface-visibility:hidden}.eae-popup .mfp-container{text-align:center;position:absolute;width:100%;height:100%;left:0;top:0;padding:0 8px;box-sizing:border-box}.eae-popup .mfp-container:before{content:"";display:inline-block;height:100%;vertical-align:middle}.eae-popup .mfp-align-top .mfp-container:before{display:none}.eae-popup .mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1045}.eae-modal-content{padding:20px}.eae-pop-btn-align-left .eae-popup-wrapper{text-align:left}.eae-pop-btn-align-right .eae-popup-wrapper{text-align:right}.eae-pop-btn-align-center .eae-popup-wrapper{text-align:center}.eae-pop-btn-align-justify .eae-popup-wrapper{text-align:center}.eae-pop-btn-align-justify .eae-popup-wrapper a{display:block}.eae-popup .mfp-ajax-holder .mfp-content,.eae-popup .mfp-inline-holder .mfp-content{width:50%;background-color:#fff;cursor:auto;overflow:hidden}.eae-popup .mfp-ajax-cur{cursor:progress}.eae-popup .mfp-zoom-out-cur,.eae-popup .mfp-zoom-out-cur .mfp-image-holder .eae-close{cursor:-moz-zoom-out;cursor:-webkit-zoom-out;cursor:zoom-out}.eae-popup .mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.eae-popup.mfp-auto-cursor .mfp-content{cursor:auto}.eae-popup .eae-close,.eae-popup .mfp-arrow,.eae-popup .mfp-counter,.eae-popup .mfp-preloader{-webkit-user-select:none;-moz-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.eae-popup .mfp-preloader{color:#ccc;position:absolute;top:50%;width:auto;text-align:center;margin-top:-.8em;left:8px;right:8px;z-index:1044}.eae-popup .mfp-preloader a{color:#ccc}.eae-popup .mfp-preloader a:hover{color:#fff}.mfp-s-ready .mfp-preloader{display:none}.mfp-s-error .mfp-content{display:none}button.eae-close,button.mfp-arrow{overflow:visible;cursor:pointer;background:0 0;border:0;-webkit-appearance:none;display:block;outline:0;padding:0;z-index:1046;box-shadow:none;touch-action:manipulation}button::-moz-focus-inner{padding:0;border:0}.eae-popup .eae-close{width:28px;height:28px;line-height:1em;position:absolute;right:10px;top:10px;text-decoration:none;text-align:center;opacity:1;color:#fff;font-size:28px;z-index:1500}.eae-close:focus,.eae-close:hover{opacity:1;cursor:pointer}.eae-close:active{top:1px}.eae-close:before{top:50%;left:50%;position:absolute;transform:translate(-50%,-50%)}.eae-popup.eae-close-btn-in .eae-close{color:#fff}.mfp-iframe-holder .eae-close,.mfp-image-holder .eae-close{color:#fff;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#ccc;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{position:absolute;opacity:.65;margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:transparent}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:focus,.mfp-arrow:hover{opacity:1}.mfp-arrow:after,.mfp-arrow:before{content:"";display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:medium inset transparent}.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left:after{border-right:17px solid #fff;margin-left:31px}.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-arrow-right{right:0}.mfp-arrow-right:after{border-left:17px solid #fff;margin-left:39px}.mfp-arrow-right:before{border-left:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .eae-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;line-height:0;box-sizing:border-box;padding:40px 0 40px;margin:0 auto}.eae-popup .mfp-figure{line-height:0}.eae-popup .mfp-figure:after{content:"";position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6);background:#444}.eae-popup .mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.eae-popup .mfp-figure figure{margin:0}.eae-popup .mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.eae-popup .mfp-title{text-align:left;line-height:1;word-wrap:break-word;color:#fff;background-color:#4054b2;padding:20px 20px 20px 20px}.eae-popup .mfp-image-holder .mfp-content{max-width:100%}.eae-popup .mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .eae-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}.elementor-element.eae-animated-gradient-yes,.elementor-element.eae-animated-gradient-yes .animated-gradient{background-size:400% 400%!important;-webkit-animation:AnimateGradient 15s ease-in-out infinite;-moz-animation:AnimateGradient 15s ease-in-out infinite;animation:AnimateGradient 15s ease-in-out infinite}.animated-gradient{position:absolute;top:0;left:0;height:100%;width:100%}@-webkit-keyframes AnimateGradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}@-moz-keyframes AnimateGradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}@keyframes AnimateGradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}.eae-swiper-outer-wrapper .swiper-slide{height:auto;overflow:inherit}.eae-swiper-outer-wrapper .swiper-slide-wrapper,.eae-swiper-outer-wrapper .testimonial-wrapper{height:100%}.eae-grid{display:flex;flex-wrap:wrap;flex-direction:row}.eae-masonry- .eae-grid-item{position:relative;height:100%}.eae-masonry- .eae-grid-item .testimonial-wrapper{height:100%}.eae-grid-container{transition:.1s all ease}.eae-grid-container{display:inline-block}.wrapper .content{margin:10px 0}.skin-2.testimonial-wrapper{display:flex;flex-direction:column;background-color:#9c989821;min-height:300px;padding:10px 20px;box-shadow:0 0 5px rgba(0,0,0,.15);color:#696969}.skin-2 .content-wrapper{padding:10px;position:relative;background-color:#fff;border-radius:10px;color:#77778e}.skin-2 i.after-content,.skin-2 i.before-content{position:absolute}.skin-2 i.before-content{top:10px;left:20px}.skin-2 i.after-content{bottom:10px;right:20px}.skin-2 blockquote{position:relative;font-size:14px;padding:10px;font-weight:500;text-align:left;margin:0;line-height:1.6em;font-style:italic}.skin-2 blockquote::after,.skin-2 blockquote::before{font-family:FontAwesome;content:"\201C";position:absolute;font-size:50px;opacity:.3;font-style:normal}.skin-2 blockquote::before{top:10px;left:20px}.skin-2 blockquote::after{content:"\201D";right:20px}.skin-2 .image-wrapper{position:relative;max-width:100%;text-align:center}.skin-2 img{width:100px;border-radius:25%}.skin-2 .detail-wrapper{text-align:center}.skin-2 .company,.skin-2 .designation,.skin-2 .rating-wrapper,.skin-2 .title{padding:5px 0}.skin-2 .rating-wrapper{color:navy}.skin-2 .title{font-weight:800;color:#000}.skin-2 blockquote p{margin:10px 0!important}.skin-1.testimonial-wrapper{display:flex;flex-direction:column;background-color:#fff;box-shadow:0 0 5px rgba(0,0,0,.15);color:#000}.skin-1 .content-wrapper{order:0}.skin-1 .image-wrapper{order:1;text-align:center;margin:15px 0}.skin-1 .detail-wrapper{order:2}.skin-1 .content-wrapper{padding:10px;position:relative}.skin-1 i.after-content,.skin-1 i.before-content{position:absolute}.skin-1 i.before-content{top:10px;left:20px}.skin-1 i.after-content{bottom:10px;right:20px}.skin-1 blockquote{position:relative;background-color:#fff;font-size:14px;padding:10px;font-weight:500;text-align:left;margin:0;line-height:1.6em;font-style:italic}.skin-1 blockquote::after,.skin-1 blockquote::before{font-family:FontAwesome;content:"\201C";position:absolute;font-size:50px;opacity:.3;font-style:normal}.skin-1 blockquote::before{top:10px;left:20px}.skin-1 blockquote::after{content:"\201D";right:20px}.skin-1 .image-wrapper{position:relative;max-width:100%}.skin-1 img{width:100px;height:auto;border-radius:50%}.skin-1 .detail-wrapper{display:flex;flex-direction:row-reverse;justify-content:space-between;padding:10px;background-color:rgba(157,163,156,.18)}.skin-1 .designation,.skin-1 .rating-wrapper,.skin-1 .title{margin:0 5px}.skin-1 .title-wrapper{display:flex;flex-direction:row}.skin-1 .rating-wrapper{color:#fecc1f}.skin-4.testimonial-wrapper{flex-direction:column;display:flex;background-color:#bfbfb6bd;min-height:300px;padding:10px 0;box-shadow:0 0 5px rgba(0,0,0,.15);color:#77778e}.skin-4 .content-wrapper{padding:10px;position:relative}.skin-4 .content-wrapper{order:2;color:#3c3c3c}.skin-4 i.after-content,.skin-4 i.before-content{position:absolute}.skin-4 i.before-content{top:10px;left:20px}.skin-4 i.after-content{bottom:10px;right:20px}.skin-4 blockquote{position:relative;font-size:14px;padding:10px;font-weight:500;text-align:left;margin:0;line-height:1.6em;font-style:italic}.skin-4 blockquote::after,.skin-4 blockquote::before{font-family:FontAwesome;content:"\201C";position:absolute;font-size:50px;opacity:.3;font-style:normal}.skin-4 blockquote::before{top:10px;left:20px}.skin-4 blockquote::after{content:"\201D";right:20px}.skin-4 .image-wrapper{position:relative;max-width:100%;text-align:center}.skin-4 img{width:100px;border-radius:50%}.skin-4 .detail-wrapper{text-align:center}.skin-2 .designation,.skin-2 .title,.skin-4 .rating-wrapper{padding:5px 0}.skin-4 .rating-wrapper{color:#690a69}.skin-4 .title{font-weight:800;color:#000}.skin-3.testimonial-wrapper{display:flex;flex-direction:row;background-color:#9c989821;box-shadow:0 0 5px rgba(0,0,0,.15);color:#000;overflow:hidden}.skin-3 .content-section{display:flex;flex-direction:column;align-self:center}.skin-3 .content-wrapper{padding:10px;position:relative}.skin-2 i.after-content,.skin-3 i.before-content{position:absolute}.skin-3 i.before-content{top:10px;left:20px}.skin-3 i.after-content{bottom:10px;right:20px}.skin-3 blockquote{position:relative;font-size:18px;padding:10px;font-weight:500;text-align:left;margin:0;line-height:1.6em;font-style:italic}.skin-3 blockquote::after,.skin-3 blockquote::before{font-family:FontAwesome;content:"\201C";position:absolute;font-size:50px;opacity:.3;font-style:normal}.skin-3 blockquote::before{top:10px;left:20px}.skin-3 blockquote::after{content:"\201D";right:20px}.skin-3 .image-wrapper{position:relative;max-width:30%;max-height:250px;text-align:center;align-self:center}.skin-3 img{width:100%}.testimonial-wrapper .skin-3 .eae-person-avatar{border-radius:50%}.skin-3 .detail-wrapper{text-align:left;padding-left:20px}.skin-3 .designation,.skin-3 .rating-wrapper,.skin-3 .title{padding:3px 0}.skin-3 .rating-wrapper{color:#800040}.skin-3 .title{font-weight:800}.eae-swiper-outer-wrapper .swiper-button-prev{-webkit-mask:url(arrow-left.svg) no-repeat 100% 100%;mask:url(arrow-left.svg) no-repeat 100% 100%;-webkit-mask-size:cover;mask-size:cover;background-image:none;background-color:#007aff;transform:translateY(-50%);margin-top:0}.eae-swiper-outer-wrapper .swiper-container-rtl .swiper-button-prev{-webkit-mask:url(arrow-right.svg) no-repeat 100% 100%;mask:url(arrow-right.svg) no-repeat 100% 100%}.eae-swiper-outer-wrapper .swiper-button-next{-webkit-mask:url(arrow-right.svg) no-repeat 100% 100%;mask:url(arrow-right.svg) no-repeat 100% 100%;-webkit-mask-size:cover;mask-size:cover;background-image:none;background-color:#007aff;transform:translateY(-50%);margin-top:0}.eae-swiper-outer-wrapper .swiper-container-rtl .swiper-button-next{-webkit-mask:url(arrow-left.svg) no-repeat 100% 100%;mask:url(arrow-left.svg) no-repeat 100% 100%}.elementor-widget-wts-testimonial-slider .eae-swiper-outer-wrapper .swiper-button-next,.elementor-widget-wts-testimonial-slider .eae-swiper-outer-wrapper .swiper-button-prev{-webkit-mask:none;mask:none;-webkit-mask-size:unset;mask-size:unset;background-image:none;background-color:unset;width:auto;height:auto;transform:translateY(-50%);margin-top:0}.swiper-container .swiper-button-next i,.swiper-container .swiper-button-prev i{width:1em;height:1em;text-align:center;position:relative}.elementor-widget-wts-testimonial-slider .eae-swiper-outer-wrapper .eae-swiper-button-wrapper{position:absolute;height:auto;line-height:0}.eae-hpos-right.eae-vpos-top .eae-swiper-button-wrapper{bottom:auto;top:0;width:auto;right:0}.eae-vpos-top.eae-hpos-left .eae-swiper-button-wrapper{bottom:auto;top:0;width:auto;left:0}.eeae-hpos-right.eae-vpos-bottom .eae-swiper-button-wrapper{bottom:0;top:auto;width:auto;right:0}.eae-vpos-bottom.eae-hpos-left .eae-swiper-button-wrapper{bottom:0;top:auto;width:auto;left:0}.eae-hpos-right.eae-vpos-middle .eae-swiper-button-wrapper{bottom:auto;top:50%;width:auto;right:0}.eae-hpos-left.eae-vpos-middle .eae-swiper-button-wrapper{bottom:auto;top:50%;width:auto;left:0}.eae-hpos-left .swiper-button-next,.eae-hpos-left .swiper-button-prev,.eae-hpos-right .swiper-button-next,.eae-hpos-right .swiper-button-prev{position:relative;display:inline-block;right:auto;left:auto}.eae-hpos-right.eae-vpos-bottom .swiper-button-next,.eae-hpos-right.eae-vpos-bottom .swiper-button-prev{top:auto;bottom:0;transform:unset}.eae-hpos-right.eae-vpos-top .swiper-button-next,.eae-hpos-right.eae-vpos-top .swiper-button-prev{top:0;bottom:auto;transform:unset}.eae-hpos-left.eae-vpos-top .swiper-button-next,.eae-hpos-left.eae-vpos-top .swiper-button-prev{top:0;bottom:auto;transform:unset}.eae-hpos-left.eae-vpos-bottom .swiper-button-next,.eae-hpos-left.eae-vpos-bottom .swiper-button-prev{top:auto;bottom:0;transform:unset}.eae-hpos-center.eae-vpos-bottom .swiper-button-next,.eae-hpos-center.eae-vpos-bottom .swiper-button-prev{top:auto;bottom:0;transform:unset}.eae-hpos-center.eae-vpos-top .swiper-button-next,.eae-hpos-center.eae-vpos-top .swiper-button-prev{top:0;bottom:auto;transform:unset}@media all and (max-width:900px){.mfp-arrow{-webkit-transform:scale(.75);transform:scale(.75)}.mfp-arrow-left{-webkit-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}.eae-info-circle{position:relative;width:90%;margin:0 auto;border-radius:50%;display:block}.eae-info-circle:before{content:"";display:block;position:absolute;top:4%;left:4%;width:92%;height:92%;border-radius:50%;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;pointer-events:none}.eae-info-circle:after{content:"";display:block;padding-top:100%}.eae-info-circle .eae-ic-icon-wrap{position:absolute;display:inline-block;top:50%;left:50%;z-index:2;line-height:1em;vertical-align:middle;overflow:hidden;max-width:100%}.eae-info-circle .eae-info-circle-item{top:0;left:0;width:100%;height:100%;display:block}.eae-info-circle .eae-info-circle-item.eae-active .eae-info-circle-item__content-wrap{visibility:visible;opacity:1;display:flex}.eae-info-circle .eae-info-circle-item__content-wrap{visibility:visible;display:none;height:91%;width:91%;opacity:0;top:50%;transform:translateY(-50%) translateX(-50%);position:absolute;left:50%;border-radius:50%;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.eae-info-circle .eae-info-circle-item__content-wrap:before{content:"";display:inline-block;height:100%;vertical-align:middle}.eae-info-circle .eae-info-circle-item__content{display:inline-block;top:50%;transform:translateY(-50%) translateX(-50%);position:absolute;left:50%;vertical-align:middle;z-index:1;max-height:100%;overflow:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-align:center;width:75%}@media screen and (max-width:767px){.eae-info-circle.eae-info-circle .eae-info-circle-item__content-wrap:before{display:none}.eae-info-circle:after,.eae-info-circle:before{display:none}.eae-info-circle{width:100%!important}.eae-info-circle-wrapper:after,.eae-info-circle-wrapper:before{display:none}.eae-info-circle .eae-ic-icon-wrap{display:block;text-align:center;position:relative!important;left:unset!important;margin-left:0!important;margin-top:0!important;margin-bottom:10px}.eae-info-circle-item{position:relative!important;border-radius:0!important;padding:0;margin:10px 0}.eae-info-circle .eae-info-circle-item__content-wrap{visibility:visible;opacity:1!important;display:flex!important;border-radius:0!important;border:none!important;margin:0!important;padding-right:0!important;padding-left:0!important;padding-bottom:0!important;width:100%;height:auto;line-height:1.5em;position:relative;top:unset;left:unset;transform:unset}.eae-info-circle .eae-info-circle-item__content{position:relative;top:unset;left:unset;transform:unset;width:100%;padding:10px}}.eae-icon-wrap i{height:1.25em;width:1.25em;line-height:1.25em;display:block}.eae-icon-wrap i img{top:50%;left:50%;transform:translateX(-50%) translateY(-50%);position:absolute}.eae-icon{display:inline-block;text-align:center;vertical-align:middle;max-width:100%;overflow:hidden;padding:10px}.eae-icon-shape-circle:not(.elementor-element){border-radius:50%}.eae-icon-view-framed:not(.elementor-element){border-width:1px;border-style:solid}.eae-icon-wrapper{display:flex}.eae-icon-wrapper .eae-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);line-height:1}.eae-timeline{position:relative;display:inline-block;width:100%}.eae-timline-progress-bar{width:4px;background-color:#f45b69;top:0;bottom:50px;position:absolute;transform:translateX(-50%)}.eae-timeline-item{position:relative;display:flex;flex-direction:row;padding-bottom:50px}.eae-timeline-item:last-child{padding-bottom:0!important}.eae-tl-top .eae-timeline-item{align-items:flex-start}.eae-tl-top .eae-tl-item-content::before{top:10px}.eae-timeline-item.image-position-row .eae-tl-item-image,.eae-timeline-item.image-position-row-reverse .eae-tl-item-image{margin-top:0;margin-bottom:0}.eae-tl-item-meta-wrapper-inner{display:none}.eae-tl-bottom .eae-timeline-item{align-items:flex-end}.eae-tl-bottom .eae-tl-item-content::before{bottom:10px}.eae-tl-center .eae-timeline-item{align-items:center}.eae-tl-center .eae-tl-item-content::before{bottom:calc(50% - 5px)}.eae-layout-center .eae-timline-progress-bar{left:50%}.eae-layout-center .eae-timeline-item:nth-child(odd){flex-direction:row-reverse}.eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-item-meta-wrapper{margin-right:0;margin-left:0;justify-content:flex-start}body.rtl[data-elementor-device-mode=tablet] .eae-layout-center .eae-timeline-item:nth-child(even) .eae-tl-content-wrapper,body:not(.rtl)[data-elementor-device-mode=tablet] .eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-content-wrapper{padding-right:20px;padding-left:0}body.rtl[data-elementor-device-mode=tablet] .eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-content-wrapper,body:not(.rtl)[data-elementor-device-mode=tablet] .eae-layout-center .eae-timeline-item:nth-child(even) .eae-tl-content-wrapper{padding-right:0;padding-left:20px}body:not(.rtl) .eae-layout-left .eae-tl-content-wrapper{padding-right:10px;padding-left:20px}body.rtl .eae-layout-left .eae-tl-content-wrapper{padding-right:20px;padding-left:10px}.eae-layout-left .eae-timline-progress-bar{display:none}.eae-layout-left .eae-tl-item-meta-wrapper{display:none}.eae-layout-left .eae-tl-item-meta-wrapper-inner{display:block}.eae-layout-right .eae-timline-progress-bar{display:none}body:not(.rtl) .eae-layout-right .eae-tl-content-wrapper{padding-right:20px;padding-left:10px}body.rtl .eae-layout-right .eae-tl-content-wrapper{padding-right:10px;padding-left:20px}.eae-layout-right .eae-tl-icon-wrapper{order:3}.eae-layout-right .eae-tl-item-meta-wrapper{display:none}.eae-layout-right .eae-tl-item-meta-wrapper-inner{display:block}.eae-tl-item-meta-wrapper{flex-grow:1;order:0;flex-basis:50%;flex-direction:initial;justify-content:flex-end;display:flex;align-items:center;margin-right:0}.eae-tl-item-meta{padding:0 20px}.eae-tl-icon-wrapper{height:auto;width:auto;flex-grow:0;flex-shrink:0;order:1;margin-left:0;margin-right:0;min-width:10px;min-height:10px;border-radius:999px;position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.eae-tl-content-wrapper{flex-grow:1;order:2;flex-basis:50%;position:relative;padding-right:0;padding-left:20px}.eae-tl-item-content{background:#f4f4f4;padding:25px;overflow:hidden;text-align:center;display:flex;flex-direction:row}.eae-tl-content{display:inline-block;position:relative;padding:10px;width:100%;color:#000}.eae-timeline-item.custom-image-style-yes.image-position-row .eae-content-inner,.eae-timeline-item.custom-image-style-yes.image-position-row-reverse .eae-content-inner,.image-position-row .eae-timeline .eae-timeline-item:not(.custom-image-style-yes) .eae-content-inner,.image-position-row-reverse .eae-timeline .eae-timeline-item:not(.custom-image-style-yes) .eae-content-inner{position:relative;left:50%;top:50%;transform:translate(-50%,-50%);line-height:1;width:100%}.custom-image-style-.image-position-row .eae-content-inner,.custom-image-style-.image-position-row-reverse .eae-content-inner,.custom-image-style-no.image-position-row .eae-content-inner,.custom-image-style-no.image-position-row-reverse .eae-content-inner{left:unset;top:unset;transform:unset}.eae-tl-item-image{display:inline-block}.image-position-row .eae-tl-item-image img,.image-position-row-reverse .eae-tl-item-image img{object-fit:cover;height:100%!important}.image-position-row .eae-tl-item-image,.image-position-row-reverse .eae-tl-item-image{margin:0}.image-position-column .eae-tl-item-image{margin:auto}.custom-image-style-.image-position-column .eae-tl-item-image,.custom-image-style-no.image-position-column .eae-tl-item-image{margin:0 auto}.eae-pb-inner-line{width:100%;background-color:#3d5ac3}.eae-tl-item-content::before{content:"";position:absolute;width:0;height:0;border-style:solid;border-width:8px 16px 8px 0;border-color:transparent #f4f4f4 transparent transparent}.eae-icon-wrapper{display:flex}.elementor-widget-bpel-timeline .eae-icon-wrapper{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);line-height:1}.eae-tl-read-more{display:inline-block;padding:5px;border:2px solid #000}.image-position-row .eae-timeline.eae-timeline-alternate-yes .eae-timeline-item:nth-child(odd):not(.custom-image-style-yes) .eae-tl-item-content{flex-direction:row-reverse!important}.image-position-row-reverse .eae-timeline.eae-timeline-alternate-yes .eae-timeline-item:nth-child(odd):not(.custom-image-style-yes) .eae-tl-item-content{flex-direction:row!important}@media screen and (min-width:1024px){.eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-content-wrapper,body.rtl .eae-layout-center .eae-timeline-item:nth-child(even) .eae-tl-content-wrapper{padding-right:20px;padding-left:0}.eae-layout-center .eae-timeline-item:nth-child(even) .eae-tl-content-wrapper,body.rtl .eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-content-wrapper{padding-right:0;padding-left:20px}.eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,.eae-layout-right .eae-tl-item-content::before,body.rtl .eae-layout-center .eae-timeline-item:nth-child(even) .eae-tl-item-content::before,body.rtl .eae-layout-left .eae-tl-item-content::before{right:4px;left:unset;border-width:8px 0 8px 16px;border-color:transparent transparent transparent #f4f4f4}.eae-layout-center .eae-timeline-item:nth-child(even) .eae-tl-item-content::before,.eae-layout-left .eae-tl-item-content::before,body.rtl .eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,body.rtl .eae-layout-right .eae-tl-item-content::before{left:4px;right:unset;border-width:8px 16px 8px 0;border-color:transparent #f4f4f4 transparent transparent}}@media screen and (max-width:1023px) and (min-width:768px){.image-position-row .eae-timeline.eae-timeline-alternate-yes .eae-timeline-item:nth-child(odd):not(.custom-image-style-yes) .eae-tl-item-content{flex-direction:row-reverse!important}.image-position-row-reverse .eae-timeline.eae-timeline-alternate-yes .eae-timeline-item:nth-child(odd):not(.custom-image-style-yes) .eae-tl-item-content{flex-direction:row!important}.eae-tl-res-style-mobile-tablet .eae-tl-item-meta-wrapper{display:none}.eae-tl-res-style-mobile-tablet .eae-tl-item-meta-wrapper-inner{display:block}.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item{flex-direction:row!important}.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item{flex-direction:row-reverse!important}.eae-layout-center.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item .eae-tl-item-content::before,.eae-timeline.eae-layout-center.eae-tl-res-style-mobile .eae-timeline-item:nth-child(even) .eae-tl-item-content::before,body.rtl .eae-layout-center.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before,body.rtl .eae-layout-right .eae-timeline-item .eae-tl-item-content::before,body.rtl .eae-layout-right .eae-tl-item-content::before,body.rtl .eae-timeline.eae-layout-center.eae-tl-res-style-mobile .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,body:not(.rtl) .eae-layout-left .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-layout-left .eae-tl-item-content::before{left:4px!important;border-width:8px 16px 8px 0!important;border-color:transparent #f4f4f4 transparent transparent!important}body.rtl .eae-timeline.eae-layout-center.eae-tl-res-style-mobile .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before{left:4px!important;right:unset!important;border-width:8px 16px 8px 0!important;border-color:transparent #f4f4f4 transparent transparent!important}.eae-timeline.eae-layout-center.eae-tl-res-style-mobile .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,body.rtl .eae-layout-center.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item .eae-tl-item-content::before,body.rtl .eae-layout-left .eae-timeline-item .eae-tl-item-content::before,body.rtl .eae-layout-left .eae-tl-item-content::before,body.rtl .eae-timeline.eae-layout-center.eae-tl-res-style-mobile .eae-timeline-item:nth-child(even) .eae-tl-item-content::before,body:not(.rtl) .eae-layout-center.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-layout-right .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-layout-right .eae-tl-item-content::before,body:not(.rtl) .eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before{right:4px!important;border-width:8px 0 8px 16px!important;border-color:transparent transparent transparent #f4f4f4!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper,body.rtl .eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper{padding-right:0!important;padding-left:20px!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper,body.rtl .eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper{padding-right:20px!important;padding-left:0!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timline-progress-bar{left:13px}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timline-progress-bar{left:calc(100% - 13px)}}@media screen and (max-width:767px){.eae-tl-item-meta-wrapper{display:none}.eae-tl-item-meta-wrapper-inner{display:block}.elementor-widget-bpel-timeline:not(.image-position-column) .eae-timeline .eae-tl-item-content{flex-direction:column-reverse!important}.eae-tl-item-image,.elementor-widget-bpel-timeline:not(.image-position-column) .eae-tl-content{width:100%!important}.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item,.eae-tl-res-style-mobile.eae-tl-res-layout-left .eae-timeline-item{flex-direction:row!important}.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item,.eae-tl-res-style-mobile.eae-tl-res-layout-right .eae-timeline-item{flex-direction:row-reverse!important}.eae-timeline.eae-layout-center.eae-tl-center.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,.eae-timeline.eae-layout-center.eae-tl-center.eae-tl-res-style-mobile.eae-tl-res-layout-left .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,body.rtl .eae-timeline.eae-layout-right .eae-timeline-item .eae-tl-item-content::before,body.rtl .eae-timeline.eae-tl-res-style-mobile.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-layout-left .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-tl-res-style-mobile.eae-tl-res-layout-left .eae-timeline-item .eae-tl-item-content::before{left:4px!important;border-width:8px 16px 8px 0!important;border-color:transparent #f4f4f4 transparent transparent!important}body.rtl .eae-layout-left .eae-timeline-item .eae-tl-item-content::before,body.rtl .eae-tl-res-style-mobile.eae-tl-res-layout-left .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-layout-right .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-tl-res-style-mobile.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before{right:4px!important;border-width:8px 0 8px 16px!important;border-color:transparent transparent transparent #f4f4f4!important}.eae-timeline.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper,body:not(.rtl) .eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper body.rtl .eae-timeline.eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper,body:not(.rtl) .eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper{padding-right:0!important;padding-left:20px!important}body.rtl .eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper,body.rtl .eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper,body:not(.rtl) .eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper,body:not(.rtl) .eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper{padding-right:20px!important;padding-left:0!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timline-progress-bar,.eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-left .eae-timline-progress-bar{left:13px}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timline-progress-bar,.eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-right .eae-timline-progress-bar{left:calc(100% - 13px)}body.rtl .eae-layout-center.eae-timeline.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper .eae-tl-item-content::before{left:4px;right:unset}body.rtl .eae-layout-center.eae-timeline.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper .eae-tl-item-content::before{left:unset;right:4px;border-width:8px 0 8px 16px!important;border-color:transparent transparent transparent #f4f4f4!important}}[data-element_type="eae-evergreen-timer.skin1"] .eae-evergreen-wrapper{display:block;text-align:center}[data-element_type="eae-evergreen-timer.skin1"] #eaeclockdiv{font-family:sans-serif;color:#fff;display:inline-block;font-weight:100;text-align:center;font-size:30px}[data-element_type="eae-evergreen-timer.skin1"] .eae-time-wrapper{padding:10px;border-radius:3px;background:#00bf96;display:inline-block;overflow:hidden}[data-element_type="eae-evergreen-timer.skin1"] #eaeclockdiv div>span{padding:15px;width:100%;background:#00816a;display:inline-block}[data-element_type="eae-evergreen-timer.skin1"] .smalltext{padding:7px;font-size:16px}[data-element_type="eae-evergreen-timer.skin1"] .eae-egt-hide{display:none}.eae-egt-message{display:none}@media screen and (max-width:767px){[data-element_type="eae-evergreen-timer.skin1"] #eaeclockdiv div>span{padding:5px}[data-element_type="eae-evergreen-timer.skin1"] .eae-time-wrapper{padding:5px}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-o-backface-visibility:hidden;backface-visibility:hidden}[data-element_type="eae-evergreen-timer.skin2"] .eae-evergreen-wrapper{display:inline-block;width:100%;text-align:center;margin:auto}[data-element_type="eae-evergreen-timer.skin2"] .timer-container{display:inline-block}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper a{cursor:pointer;text-decoration:none;color:#ccc}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper a:hover{color:#fff}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul{list-style:none}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper.clearfix:after,[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper.clearfix:before{content:" ";display:table}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper.clearfix:after{clear:both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper{font:normal 11px "Helvetica Neue",Helvetica,sans-serif;-webkit-user-select:none}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-meridium{background:0 0!important;box-shadow:0 0 0!important;font-size:36px!important}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-meridium a{color:#313333}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper{text-align:center;position:relative;width:100%;margin:1em}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper:after,[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper:before{content:" ";display:table}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper:after{clear:both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul{position:relative;float:left;margin:5px;width:60px;height:90px;font-size:80px;font-weight:700;line-height:87px;border-radius:6px;background:#000}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li{z-index:1;position:absolute;left:0;top:0;width:100%;height:100%;line-height:87px;text-decoration:none!important}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li:first-child{z-index:2}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a{display:block;height:100%;-webkit-perspective:200px;-moz-perspective:200px;perspective:200px;margin:0!important;overflow:visible!important;cursor:default!important}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div{z-index:1;position:absolute;left:0;width:100%;height:50%;font-size:80px;overflow:hidden;outline:1px solid transparent}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div .shadow{position:absolute;width:100%;height:100%;z-index:2}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.up{-webkit-transform-origin:50% 100%;-moz-transform-origin:50% 100%;-ms-transform-origin:50% 100%;-o-transform-origin:50% 100%;transform-origin:50% 100%;top:0}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.up:after{content:"";position:absolute;top:44px;left:0;z-index:5;width:100%;height:3px;background-color:#000;background-color:rgba(0,0,0,.4)}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.down{-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;-o-transform-origin:50% 0;transform-origin:50% 0;bottom:0;border-bottom-left-radius:6px;border-bottom-right-radius:6px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div div.inn{position:absolute;left:0;z-index:1;width:100%;height:200%;color:#ccc;text-shadow:0 1px 2px #000;text-align:center;background-color:#333;border-radius:6px;font-size:70px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.up div.inn{top:0}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.down div.inn{bottom:0}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-before{z-index:3}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper .flip{box-shadow:0 2px 5px rgba(0,0,0,.7)}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-active{-webkit-animation:asd 10ms .49s linear both;-moz-animation:asd 10ms .49s linear both;animation:asd 10ms .49s linear both;z-index:5}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider{float:left;display:inline-block;position:relative;width:20px;height:100px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider:first-child{width:0}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-dot{display:block;background:#323434;width:10px;height:10px;position:absolute;border-radius:50%;box-shadow:0 0 5px rgba(0,0,0,.5);left:5px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider .flip-clock-label{position:absolute;top:-1.5em;right:-86px;color:#000;text-shadow:none}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider.minutes .flip-clock-label{right:-88px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider.seconds .flip-clock-label{right:-91px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-dot.top{top:30%}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-dot.bottom{bottom:30%}@-webkit-keyframes asd{0%{z-index:2}100%{z-index:4}}@-moz-keyframes asd{0%{z-index:2}100%{z-index:4}}@-o-keyframes asd{0%{z-index:2}100%{z-index:4}}@keyframes asd{0%{z-index:2}100%{z-index:4}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-active .down{z-index:2;-webkit-animation:turn .5s .5s linear both;-moz-animation:turn .5s .5s linear both;animation:turn .5s .5s linear both}@-webkit-keyframes turn{0%{-webkit-transform:rotateX(90deg)}100%{-webkit-transform:rotateX(0)}}@-moz-keyframes turn{0%{-moz-transform:rotateX(90deg)}100%{-moz-transform:rotateX(0)}}@-o-keyframes turn{0%{-o-transform:rotateX(90deg)}100%{-o-transform:rotateX(0)}}@keyframes turn{0%{transform:rotateX(90deg)}100%{transform:rotateX(0)}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-before .up{z-index:2;-webkit-animation:turn2 .5s linear both;-moz-animation:turn2 .5s linear both;animation:turn2 .5s linear both}@-webkit-keyframes turn2{0%{-webkit-transform:rotateX(0)}100%{-webkit-transform:rotateX(-90deg)}}@-moz-keyframes turn2{0%{-moz-transform:rotateX(0)}100%{-moz-transform:rotateX(-90deg)}}@-o-keyframes turn2{0%{-o-transform:rotateX(0)}100%{-o-transform:rotateX(-90deg)}}@keyframes turn2{0%{transform:rotateX(0)}100%{transform:rotateX(-90deg)}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li.flip-clock-active{z-index:3}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-before .up .shadow{background:-moz-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(0,0,0,.1)),color-stop(100%,#000));background:linear,top,rgba(0,0,0,.1) 0,#000 100%;background:-o-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-ms-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:linear,to bottom,rgba(0,0,0,.1) 0,#000 100%;-webkit-animation:show .5s linear both;-moz-animation:show .5s linear both;animation:show .5s linear both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-active .up .shadow{background:-moz-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(0,0,0,.1)),color-stop(100%,#000));background:linear,top,rgba(0,0,0,.1) 0,#000 100%;background:-o-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-ms-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:linear,to bottom,rgba(0,0,0,.1) 0,#000 100%;-webkit-animation:hide .5s .3s linear both;-moz-animation:hide .5s .3s linear both;animation:hide .5s .3s linear both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-before .down .shadow{background:-moz-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#000),color-stop(100%,rgba(0,0,0,.1)));background:linear,top,#000 0,rgba(0,0,0,.1) 100%;background:-o-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-ms-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:linear,to bottom,#000 0,rgba(0,0,0,.1) 100%;-webkit-animation:show .5s linear both;-moz-animation:show .5s linear both;animation:show .5s linear both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-active .down .shadow{background:-moz-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#000),color-stop(100%,rgba(0,0,0,.1)));background:linear,top,#000 0,rgba(0,0,0,.1) 100%;background:-o-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-ms-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:linear,to bottom,#000 0,rgba(0,0,0,.1) 100%;-webkit-animation:hide .5s .3s linear both;-moz-animation:hide .5s .3s linear both;animation:hide .5s .2s linear both}@-webkit-keyframes show{0%{opacity:0}100%{opacity:1}}@-moz-keyframes show{0%{opacity:0}100%{opacity:1}}@-o-keyframes show{0%{opacity:0}100%{opacity:1}}@keyframes show{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes hide{0%{opacity:1}100%{opacity:0}}@-moz-keyframes hide{0%{opacity:1}100%{opacity:0}}@-o-keyframes hide{0%{opacity:1}100%{opacity:0}}@keyframes hide{0%{opacity:1}100%{opacity:0}}@media screen and (max-width:767px){[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider{width:15px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-dot{height:5px;width:5px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul{height:40px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider{height:50px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li{line-height:37px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div div.inn{font-size:24px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul{margin:2px}}[data-element_type="eae-evergreen-timer.skin3"] #timer{font-family:sans-serif;color:#fff;display:inline-block;font-weight:100;text-align:center;font-size:30px}[data-element_type="eae-evergreen-timer.skin3"] .desc{display:flex;justify-content:center}[data-element_type="eae-evergreen-timer.skin3"].eae-egt-content-align-right .desc{justify-content:flex-end}[data-element_type="eae-evergreen-timer.skin3"].eae-egt-content-align-left .desc{justify-content:flex-start}[data-element_type="eae-evergreen-timer.skin3"] .desc .egt-time-text{display:inline-block;padding:0 50px 0 50px}[data-element_type="eae-evergreen-timer.skin3"] .eae-time-wrapper{padding:50px;border-radius:3px;background:#00bf96;display:inline-block;overflow:hidden;margin:5px;line-height:1em}[data-element_type="eae-evergreen-timer.skin3"] #timer span:nth-child(1){background:khaki}[data-element_type="eae-evergreen-timer.skin3"] #timer span:nth-child(2){background:#cd5c5c}[data-element_type="eae-evergreen-timer.skin3"] #timer span:nth-child(3){background:#5f9ea0}[data-element_type="eae-evergreen-timer.skin3"] #timer span:nth-child(4){background:#6495ed}[data-element_type="eae-evergreen-timer.skin3"] .fade{animation:flip .7s ease forwards}@keyframes flip{0%{transform:rotateY(0) scaleY(1.1);opacity:.5}50%{transform:rotateY(180deg) scaleY(1.3);opacity:0}100%{transform:rotateY(0);opacity:1}}@media screen and (max-width:767px){[data-element_type="eae-evergreen-timer.skin3"] #timer span{font-size:22px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider .flip-clock-label{top:-1.5em;right:-42px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider.minutes .flip-clock-label{right:-48px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider.seconds .flip-clock-label{right:-51px}}[data-element_type="eae-evergreen-timer.skin4"] .eae-evergreen-wrapper{width:100%}[data-element_type="eae-evergreen-timer.skin4"] .container{margin:0 auto}[data-element_type="eae-evergreen-timer.skin4"] .special{position:relative;width:840px;height:47px}[data-element_type="eae-evergreen-timer.skin4"] #counter{position:absolute;z-index:4000}[data-element_type="eae-evergreen-timer.skin4"] .digit-separator{position:relative;float:left;width:17px;height:44px;overflow:hidden;background-image:url(../digit-sep-svg.svg);background-repeat:no-repeat;background-position:0 0;background-color:#4054b2}[data-element_type="eae-evergreen-timer.skin4"] .digit{background-image:url(../digits-svg-alpha.svg);background-color:#4054b2}.eae-ct-wrapper *{box-sizing:border-box;margin:0;outline:0}article.eae-ct-wrapper{width:100%;max-width:1000px;margin:0 auto;position:relative}.eae-ct-wrapper tbody tr.eae-ct-header td,.eae-ct-wrapper th{position:relative}.eae-ct-wrapper ul{display:none;top:0;z-index:10;padding-bottom:14px}.eae-ct-wrapper li{list-style:none;flex:1;position:relative}.eae-ct-wrapper li:hover{cursor:pointer}.eae-ct-wrapper .eae-ct-heading{width:100%;padding:10px;background:#fff;font-size:20px;font-weight:700;height:60px;color:#999;text-align:center}.eae-ct-wrapper li.eae-ct-heading .eae-ct-heading-inner{position:absolute;align-self:center;top:50%;left:50%;transform:translate(-50%,-50%);width:100%}.eae-ct-wrapper li.eae-ct-heading.active{background:#f5f5f5}.eae-ct-wrapper table{border-collapse:collapse;table-layout:fixed;width:100%}.eae-ct-wrapper th{background:#f5f5f5;display:none}.eae-ct-wrapper td,.eae-ct-wrapper th{height:53px;vertical-align:middle}.eae-ct-wrapper table{border:none}.eae-ct-wrapper table td,.eae-ct-wrapper table th{border:none}.eae-ct-wrapper table tr td:first-child,.eae-ct-wrapper table tr td:last-child,.eae-ct-wrapper td,.eae-ct-wrapper th{padding:10px;empty-cells:show}.eae-ct-wrapper td,.eae-ct-wrapper th{text-align:center}.eae-ct-wrapper td+td,.eae-ct-wrapper th+th{text-align:center}.eae-ct-wrapper tr:first-child{background:0 0!important}.eae-ct-wrapper ul li:nth-child(1){display:table-cell}.eae-ct-wrapper tr td:nth-child(2){display:table-cell}.eae-ct-wrapper td:nth-child(1){display:table-cell}.eae-ct-wrapper td{display:none}.eae-ct-wrapper .sep{background:#f5f5f5;font-weight:700}.eae-ct-price-wrapper{display:flex;justify-content:center}.eae-ct-tt-type-icon .eae-ct-feature .tooltip{float:right}.eae-ct-wrapper .tooltiptext::before{content:"";border-width:5px 5px 0 5px;border-color:#fff;border-left-color:transparent;border-right-color:transparent;border-bottom-color:transparent;bottom:-10px;width:0;height:0;border-style:solid;position:absolute;margin:5px;left:42%}.eae-ct-wrapper .eae-ct-price{font-size:28px;font-weight:700;line-height:1em}.eae-ct-wrapper .eae-ct-currency{align-self:flex-start;margin-right:3px}.eae-ct-wrapper .eae-ct-fractional-price{align-self:flex-start;margin-left:3px}.eae-ct-wrapper .eae-ct-duration{align-self:flex-start}.eae-ct-wrapper .eae-ct-original-price{margin-right:5px;text-decoration:line-through;align-self:flex-end}.eae-ct-wrapper .tick{font-size:18px;color:#2ca01c}.feature-heading-blank.eae-ct-wrapper .hide{border:unset!important;background:unset!important}.eae-ct-wrapper .hide.eae-ct-hide.eae-fbox-heading{border:0 solid #000}.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper{position:absolute;top:0;width:100px;overflow:hidden;height:100px;z-index:998;padding:8px 12px}.eae-ct-ribbons-h-top.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper{position:absolute;top:0;width:100%;overflow:hidden;height:50px;z-index:999;padding:8px 12px}.eae-ct-ribbons-h-top.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper-top{background-color:rgba(63,195,135,.8);color:#fff;transform:translateY(-100%);position:absolute;width:100%;top:0;left:0}.eae-ct-ribbons-h-left.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);left:0;right:auto}.eae-ct-ribbons-h-right.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(90deg);left:auto;right:0}.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper span.eae-ct-ribbons-inner{position:absolute;text-align:center;left:0;top:0;width:200%;-webkit-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);-ms-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);margin-top:35px;font-size:13px;line-height:2;font-weight:800;text-transform:uppercase;background:rgba(63,195,135,.8);padding:8px 12px;color:#fff}.eae-ct-wrapper .tooltip{position:relative;display:inline-block}.eae-ct-wrapper .tooltip .tooltiptext{visibility:hidden;min-width:120px;background-color:#000;color:#fff;text-align:center;border-radius:6px;padding:5px 0;position:absolute;z-index:1;bottom:120%;left:50%;margin-left:-60px}.eae-ct-wrapper .tooltip:hover .tooltiptext{visibility:visible}.eae-ct-heading-tooltip{text-decoration-line:underline;text-decoration-style:dotted}.eae-ct-btn{padding:10px 15px 10px 15px;color:#fff;display:inline-block;line-height:1em}.eae-ct-btn:hover{color:#fff}.eae-ct-wrapper i.fa.fa-check,.eae-ct-wrapper i.fas.fa-check{color:#38f146}.eae-ct-wrapper i.fa.fa-close,.eae-ct-wrapper i.fas.fa-times{color:red}.button-heading-blank.eae-ct-wrapper tr:last-child td:first-child{background:0 0!important;border:none!important}.eae-ct-wrapper tr:last-child{background:0 0!important}.eae-ct-wrapper tbody tr:nth-child(2){background:0 0!important}@media (min-width:767px){.eae-ct-wrapper .eae-ct-header,.eae-ct-wrapper td{width:330px}.eae-ct-wrapper td+td,.eae-ct-wrapper th+th{width:auto}}.eae-tab-format-all .eae-ct-wrapper ul{display:flex}.hide.eae-ct-hide{display:table-cell}@media (min-width:1023px){.eae-tab-format-all tbody tr.eae-ct-header{display:none}.eae-tab-format-mobile .eae-ct-wrapper td,.eae-tab-format-mobile .eae-ct-wrapper th,.eae-tab-format-tab-mob .eae-ct-wrapper td,.eae-tab-format-tab-mob .eae-ct-wrapper th{display:table-cell!important}.eae-tab-format-all .hide.eae-ct-hide{display:table-cell}.eae-tab-format-mobile .hide.eae-ct-hide,.eae-tab-format-tab-mob .hide.eae-ct-hide{display:none!important}}@media (max-width:1023px){.eae-tab-format-tab-mob .eae-ct-wrapper ul{display:flex}.eae-tab-format-all tbody tr.eae-ct-header,.eae-tab-format-tab-mob tbody tr.eae-ct-header{display:none}.eae-tab-format-all .hide.eae-ct-hide{display:table-cell}.eae-tab-format-tab-mob .hide.eae-ct-hide{display:table-cell}}@media (max-width:1023px) and (min-width:768px){.eae-tab-format-mobile .eae-ct-wrapper td,.eae-tab-format-mobile .eae-ct-wrapper th{display:table-cell!important}.eae-tab-format-all tbody tr.eae-ct-header,.eae-tab-format-tab-mob tbody tr.eae-ct-header{display:none}.eae-tab-format-tab-mob .hide.eae-ct-hide{display:table-cell}}@media (max-width:767px){.eae-tab-format-mobile .eae-ct-wrapper ul{display:flex}.eae-tab-format-mobile tbody tr.eae-ct-header{display:none}.eae-tab-format-all tbody tr.eae-ct-header,.eae-tab-format-mobile tbody tr.eae-ct-header{display:none}.eae-tab-format-mobile .hide.eae-ct-hide{display:table-cell}}.eae-progress-bar-wrapper{display:flex;flex-direction:column;align-items:flex-start;margin:15px 0}.eae-progress-bar-wrapper.eae-progress-bar{width:100%;position:relative;box-sizing:border-box}.eae-pb-bar,.eae-pb-bar-inner,.eae-pb-bar-skill,.eae-pb-bar-value{box-sizing:border-box}.eae-pb-bar{position:relative;height:100%;width:100%;overflow:hidden}.eae-pb-bar--no-overflow{overflow:visible}.eae-pb-bar-inner{position:absolute;top:0;left:0;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:left center;transform-origin:left center}body.rtl .eae-pb-bar .eae-pb-bar-inner{position:absolute;top:0;right:0!important;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:right center;transform-origin:right center}.eae-pb-bar-inner.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:cubic-bezier(.1,1.14,.31,1.06);transition-delay:1.5s;-webkit-transform:scaleX(1);transform:scaleX(1)}body.rtl .eae-pb-bar .eae-pb-bar-inner.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:cubic-bezier(.1,1.14,.31,1.06);transition-delay:1.5s;-webkit-transform:scaleX(1);transform:scaleX(1)}.eae-pb-bar-skill,.eae-pb-bar-value{font-size:14px;letter-spacing:1px}body:not(.rtl) .eae-pb-bar-value--aligned-value{-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.rtl .eae-pb-bar-value--aligned-value{-webkit-transform:translateX(50%);transform:translateX(50%)}.eae-progress-bar-skin1{height:20px;padding:4px;border:1px solid #ddd;border-radius:20px}.eae-pb-bar-skin1{border-radius:20px}.eae-pb-bar-inner-skin1{background-color:#00bfb3;background-size:200%;background-position:0 0;border-radius:20px}.eae-pb-bar-skill-skin1{position:absolute;bottom:20px;left:0;opacity:0}body.rtl .eae-pb-bar-skill-skin1{right:0}.eae-pb-bar-skill-skin1.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;left:0;opacity:1}body.rtl .eae-pb-bar-skill-skin1.js-animated{right:0!important}.eae-pb-bar-value-skin1{position:absolute;bottom:20px;opacity:1}body:not(.rtl) .eae-pb-bar-value-skin1{right:0}body.rtl .eae-pb-bar-value-skin1{left:0!important}.eae-pb-bar-value-skin1.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;opacity:1}body:not(.rtl) .eae-pb-bar-value-skin1.js-animated{right:0}.eae-progress-bar-skin2{height:15px;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);border-radius:3px}@-webkit-keyframes progress-2-bg-animation-rtl{100%{background-position:0 0,0 0}0%{background-position:0 0,42px 0}}@keyframes progress-2-bg-animation-rtl{100%{background-position:0 0,0 0}0%{background-position:0 0,42px 0}}@-webkit-keyframes progress-2-bg-animation{0%{background-position:0 0,0 0}1000%{background-position:0 0,42px 0}}@keyframes progress-2-bg-animation{0%{background-position:0 0,0 0}100%{background-position:0 0,42px 0}}.eae-pb-bar-inner-skin2{background-image:linear-gradient(to top,rgba(255,255,255,.15),rgba(0,0,0,.2)),linear-gradient(135deg,#5eeb5b,#5eeb5b 33%,#358600 33%,#358600 66%,#5eeb5b 66%);background-size:100% 100%,42px 100%;background-position:0 0,0 0;border-radius:3px}body:not(.rtl) .eae-pb-bar-inner-skin2.js-animated{-webkit-animation:progress-2-bg-animation 1.5s linear 0s infinite;animation:progress-2-bg-animation 1.5s linear 0s infinite}body.rtl .eae-pb-bar-inner-skin2.js-animated{-webkit-animation:progress-2-bg-animation-rtl 1.5s linear 0s infinite;animation:progress-2-bg-animation-rtl 1.5s linear 0s infinite}.eae-pb-bar-skill-skin2{position:absolute;opacity:0}body:not(.rtl) .eae-pb-bar-skill-skin2{left:0}body.rtl .eae-pb-bar-skill-skin2{right:0}.eae-pb-bar-skill-skin2.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;bottom:20px;opacity:1}.eae-pb-bar-value-skin2{position:absolute;opacity:0}body:not(.rtl) .eae-pb-bar-value-skin2{right:0}body.rtl .eae-pb-bar-value-skin2{left:0}.eae-pb-bar-value-skin2.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;bottom:20px;opacity:1}.eae-progress-bar-skin3{height:5px;background-color:#efefef}.eae-pb-bar-inner-skin3,.eae-pb-bar-value-skin3{background-color:#f40076}.eae-pb-bar-inner:after,.eae-pb-bar-value-skin3:after{border-top-color:#f40076}.eae-pb-bar-skill-skin3{position:absolute;bottom:10px;left:-10px;opacity:0}.eae-pb-bar-skill-skin3.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;opacity:1}body:not(.rtl) .eae-pb-bar-skill-skin3.js-animated{left:0}body.rtl .eae-pb-bar-skill-skin3.js-animated{right:0}.eae-pb-bar-value-skin3{position:absolute;display:inline-block;padding:0 8px;font-size:14px;color:#fff;opacity:0}.eae-pb-bar-value-skin3:after{position:absolute;left:50%;bottom:-10px;display:block;width:0;height:0;content:"";-webkit-transform:translateX(-50%);transform:translateX(-50%);border-width:5px;border-style:solid;border-color:#f40076 transparent transparent transparent}.eae-pb-bar-inner-skin3.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:cubic-bezier(.1,1.14,.31,1.06);transition-delay:1.5s;-webkit-transform:scaleX(1);transform:scaleX(1)}.eae-pb-bar-value-skin3.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:cubic-bezier(.1,1.14,.31,1.06);transition-delay:2s;bottom:14px;opacity:1}.eae-progress-bar-skin4{height:3px;background-color:#efefef}.eae-pb-bar-inner-skin4{background-color:#000}.eae-pb-bar-inner-skin4:after{position:absolute;top:50%;display:block;width:8px;height:8px;content:"";-webkit-transform:translateY(-50%);transform:translateY(-50%);background-color:#000;border-radius:50%}body:not(.rtl) .eae-pb-bar-inner-skin4:after{right:0}body.rtl .eae-pb-bar-inner-skin4:after{left:0}.eae-pb-bar-value-skin4{position:absolute;bottom:2px;font-size:14px;opacity:0}.eae-pb-bar-value-skin4.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:linear;transition-delay:1.5s;opacity:1}.eae-pb-bar-skill-skin4{position:absolute;bottom:2px;left:-20px;opacity:0}.eae-pb-bar-skill-skin4.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;opacity:1}body:not(.rtl) .eae-pb-bar-skill-skin4.js-animated{left:0}body.rtl .eae-pb-bar-skill-skin4.js-animated{right:0}.eae-progress-bar-skin5{height:30px;background-color:#f7f7f7}.eae-pb-bar-inner-skin5{background-color:#57b8ff}.eae-pb-bar-skill-skin5{position:absolute;top:50%;color:#fff;-webkit-transform:translateY(-50%);transform:translateY(-50%);opacity:0}body:not(.rtl) .eae-pb-bar-skill-skin5{left:10px}body:not(.rtl) .eae-pb-bar-skill-skin5{right:10px}.eae-pb-bar-skill-skin5.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;opacity:1}.eae-pb-bar-value-skin5{position:absolute;top:50%;color:#fff;opacity:0;z-index:10}body:not(.rtl) .eae-pb-bar-value-skin5{-webkit-transform:translateX(-100%) translateX(-10px) translateY(-50%);transform:translateX(-100%) translateX(-10px) translateY(-50%)}body.rtl .eae-pb-bar-value-skin5{-webkit-transform:translateX(100%) translateX(10px) translateY(-50%);transform:translateX(100%) translateX(10px) translateY(-50%)}.eae-pb-bar-value-skin5.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:linear;transition-delay:1.5s;opacity:1}.eae-dual-button-wrapper .eae-button-1-wrapper,.eae-dual-button-wrapper .eae-button-2-wrapper{overflow:hidden}.eae-dual-button-wrapper.button-style-horizontal{display:flex;flex-direction:row;position:relative}.eae-dual-button-main-wrapper{display:flex;flex-direction:row;justify-content:center}.eae-dual-button-wrapper a{min-width:0}.eae-dual-button-wrapper.button-style-vertical{display:inline-flex;flex-direction:column;position:relative}.eae-button-1.icon-before,.eae-button-2.icon-before{display:flex;flex-direction:row}body.rtl .eae-button-1.icon-before,body.rtl .eae-button-2.icon-before{display:flex;flex-direction:row-reverse}.eae-button-1.icon-after,.eae-button-2.icon-after{display:flex;flex-direction:row-reverse}body.rtl .eae-button-1.icon-after,body.rtl .eae-button-2.icon-after{display:flex;flex-direction:row}.eae-button-1-wrapper .eae-button-1,.eae-button-2-wrapper .eae-button-2{color:#000;align-items:center}.eae-button-1-wrapper:hover .eae-button-1,.eae-button-2-wrapper:hover .eae-button-2{color:#000}.eae-dual-button-wrapper.button-style-vertical .eae-button-1.icon-after,.eae-dual-button-wrapper.button-style-vertical .eae-button-1.icon-before,.eae-dual-button-wrapper.button-style-vertical .eae-button-2.icon-after,.eae-dual-button-wrapper.button-style-vertical .eae-button-2.icon-before{justify-content:center}.eae-button-1.icon-up,.eae-button-2.icon-up{display:flex;flex-direction:column;text-align:center}.eae-button-1.icon-down,.eae-button-2.icon-down{display:flex;flex-direction:column-reverse;text-align:center}.eae-button-1-wrapper{background:#ffb6c1;display:flex;justify-content:center;width:100%;line-height:1}.eae-button-2-wrapper{background:orange;display:flex;justify-content:center;width:100%;line-height:1}.eae-button-1.icon-up .icon-wrapper,.eae-button-2.icon-down .icon-wrapper,.eae-button-2.icon-up .icon-wrapper{text-align:center}.eae-button-1.icon-up .eae-button-text,.eae-button-2.icon-down .eae-button-text,.eae-button-2.icon-up .eae-button-text{text-align:center}.eae-button-1.icon-before i,.eae-button-2.icon-after i,.eae-button-2.icon-before i{align-self:center;margin:0 10px 0 0}.eae-button-1.icon-after i,.eae-button-2.icon-after i{align-self:center;margin:0 0 0 10px}.eae-button-1.icon-down i,.eae-button-1.icon-up i,.eae-button-2.icon-down i,.eae-button-2.icon-up i{align-self:center;margin:5px 0}.eae-dual-button-wrapper.button-style-horizontal .eae-button-1-wrapper,.eae-dual-button-wrapper.button-style-horizontal .eae-button-2-wrapper{padding:12px 30px}.eae-dual-button-wrapper.button-style-vertical .eae-button-1-wrapper,.eae-dual-button-wrapper.button-style-vertical .eae-button-2-wrapper{padding:20px 30px}.eae-button1,.eae-button2{position:relative;display:flex}.eae-dual-button-wrapper.button-style-horizontal .eae-button1,.eae-dual-button-wrapper.button-style-horizontal .eae-button2{min-width:150px}.eae-dual-button-wrapper.button-style-vertical .eae-button1{display:flex;flex-direction:column}.eae-button-separator-wrapper .eae-button-separator{width:40px;height:40px;line-height:40px;border-radius:50%;z-index:1;box-shadow:0 0 0 6px rgba(255,255,255,.2);background:#fafaf8;color:#444;text-transform:uppercase;text-align:center;vertical-align:middle;font-weight:400;font-size:14px;position:absolute;transform:translateY(-50%)}.eae-button-separator span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}body.rtl.elementor-editor-active .eae-dual-button-main-wrapper .button-style-horizontal .eae-button1 .eae-button-separator-wrapper.not-rtl .eae-button-separator{display:none!important}body:not(.rtl).elementor-editor-active .eae-dual-button-main-wrapper .button-style-horizontal .eae-button2 .eae-button-separator-wrapper.rtl .eae-button-separator,body:not(.rtl).elementor-editor-preview .eae-dual-button-main-wrapper .button-style-horizontal .eae-button2 .eae-button-separator-wrapper.rtl .eae-button-separator{display:none!important}.eae-sweep-right{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.3s;transition-duration:.3s}.eae-sweep-right:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:0 50%;transform-origin:0 50%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-sweep-right:active,.eae-sweep-right:focus,.eae-sweep-right:hover{color:#fff}.eae-sweep-right:active:before,.eae-sweep-right:focus:before,.eae-sweep-right:hover:before{-webkit-transform:scaleX(1);transform:scaleX(1)}.eae-sweep-left{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.3s;transition-duration:.3s}.eae-sweep-left:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:100% 50%;transform-origin:100% 50%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-sweep-left:active,.eae-sweep-left:focus,.eae-sweep-left:hover{color:#fff}.eae-sweep-left:active:before,.eae-sweep-left:focus:before,.eae-sweep-left:hover:before{-webkit-transform:scaleX(1);transform:scaleX(1)}.eae-sweep-bottom{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.3s;transition-duration:.3s}.eae-sweep-bottom:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-sweep-bottom:active,.eae-sweep-bottom:focus,.eae-sweep-bottom:hover{color:#fff}.eae-sweep-bottom:active:before,.eae-sweep-bottom:focus:before,.eae-sweep-bottom:hover:before{-webkit-transform:scaleY(1);transform:scaleY(1)}.eae-sweep-top{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.3s;transition-duration:.3s}.eae-sweep-top:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-sweep-top:active,.eae-sweep-top:focus,.eae-sweep-top:hover{color:#fff}.eae-sweep-top:active:before,.eae-sweep-top:focus:before,.eae-sweep-top:hover:before{-webkit-transform:scaleY(1);transform:scaleY(1)}.eae-bounce-right{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.5s;transition-duration:.5s}.eae-bounce-right:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:0 50%;transform-origin:0 50%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-bounce-right:active,.eae-bounce-right:focus,.eae-bounce-right:hover{color:#fff}.eae-bounce-right:active:before,.eae-bounce-right:focus:before,.eae-bounce-right:hover:before{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transition-timing-function:cubic-bezier(.52,1.64,.37,.66);transition-timing-function:cubic-bezier(.52,1.64,.37,.66)}.eae-bounce-left{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.5s;transition-duration:.5s}.eae-bounce-left:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:100% 50%;transform-origin:100% 50%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-bounce-left:active,.eae-bounce-left:focus,.eae-bounce-left:hover{color:#fff}.eae-bounce-left:active:before,.eae-bounce-left:focus:before,.eae-bounce-left:hover:before{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transition-timing-function:cubic-bezier(.52,1.64,.37,.66);transition-timing-function:cubic-bezier(.52,1.64,.37,.66)}.eae-bounce-bottom{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.5s;transition-duration:.5s}.eae-bounce-bottom:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-bounce-bottom:active,.eae-bounce-bottom:focus,.eae-bounce-bottom:hover{color:#fff}.eae-bounce-bottom:active:before,.eae-bounce-bottom:focus:before,.eae-bounce-bottom:hover:before{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition-timing-function:cubic-bezier(.52,1.64,.37,.66);transition-timing-function:cubic-bezier(.52,1.64,.37,.66)}.eae-bounce-top{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.5s;transition-duration:.5s}.eae-bounce-top:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-bounce-top:active,.eae-bounce-top:focus,.eae-bounce-top:hover{color:#fff}.eae-bounce-top:active:before,.eae-bounce-top:focus:before,.eae-bounce-top:hover:before{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition-timing-function:cubic-bezier(.52,1.64,.37,.66);transition-timing-function:cubic-bezier(.52,1.64,.37,.66)}.eae-markers .marker{display:none}.eae-markers p{margin-bottom:0}.eae-fg-wrapper{display:flex;flex-direction:column;overflow:hidden}.eae-gallery-filter{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.eae-filter-label{padding:5px 10px;background-color:#a0ce4e;color:#fff;margin:0 3px 0 3px}.eae-filter-label.current{background-color:#73b9dc}.eae-fg-image{display:flex;flex-wrap:wrap;flex-direction:row}.eae-fg-wrapper .eae-gallery-item-inner img{width:100%;height:auto;display:block!important;transition:all .5s ease;-webkit-transition:all .5s ease}.eae-gallery-item{height:auto}.eae-gallery-filter a{color:#fff;text-decoration:none}.eae-gallery-filter a.current{font-weight:700}.eae-gallery-item-inner{position:relative;overflow:hidden}.eae-overlay-always .eae-gallery-item .eae-grid-overlay{display:block}.eae-overlay-hover .eae-gallery-item-inner:hover .eae-grid-overlay{display:block}.eae-overlay-hide-on-hover .eae-gallery-item-inner:hover .eae-grid-overlay{display:none}.eae-overlay-hide-on-hover .eae-grid-overlay{display:block}.eae-grid-overlay{position:absolute;top:0;left:0;display:none;z-index:99;background:rgba(0,0,0,.5);height:100%;width:100%}.eae-grid-overlay-inner{display:block;position:relative;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.eae-fg-wrapper .eae-icon-wrapper{display:flex;justify-content:center}.eae-overlay-caption{display:block;line-height:1em;margin-top:15px;color:#73b9dc;font-size:20px}.eae-overlay-icon{line-height:1em;padding:.5em;display:inline-block}.eae-overlay-icon svg{height:auto}.eae-icon-view-framed .eae-overlay-icon{padding:.5em;color:#73b9dc;border:3px solid #73b9dc;background-color:transparent}.eae-icon-view-stacked .eae-overlay-icon{padding:.5em;color:#fff;background-color:#818a91}.eae-hover-direction-effect .eae-grid-overlay{position:absolute;z-index:99;background:rgba(0,0,0,.5);height:100%;width:100%}.eae-fg-wrapper.eae-image-ratio-yes .eae-gallery-item-inner .eae-fg-img-wrapper{position:relative;top:0;overflow:hidden;left:0;right:0;border:0}.eae-fg-wrapper.eae-image-ratio-yes .eae-gallery-item-inner .eae-fg-img-wrapper img{height:100%;width:100%;display:block;position:absolute;top:0;left:0;object-fit:cover}.wts-eae-ribbons-badges-wrapper{display:none}.wts-eae-enable-ribbons-badges-yes .elementor-column-wrap>.wts-eae-ribbons-badges-wrapper{display:block}.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-ribbon>.wts-eae-ribbons-badges-wrapper{position:absolute;top:0;left:auto;right:0;-ms-transform:rotate(90deg);width:150px;overflow:hidden;height:150px;z-index:999;padding:8px 12px}.wts-eae-badge-h-left.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-ribbon>.wts-eae-ribbons-badges-wrapper{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);left:0;right:auto}.wts-eae-badge-h-right.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-ribbon>.wts-eae-ribbons-badges-wrapper{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(90deg);left:auto;right:0}.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-ribbon>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{position:absolute;text-align:center;left:0;top:0;width:200%;-webkit-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);-ms-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);margin-top:35px;font-size:13px;line-height:2;font-weight:800;text-transform:uppercase;background:rgba(63,195,135,.8);padding:8px 12px}.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-badge>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{min-height:3.236em;min-width:3.236em;padding:0;font-size:1em;font-weight:700;position:absolute;text-align:center;line-height:3.236;top:-.5em;left:-.5em;margin:0;border-radius:100%;background-color:#77a464;color:#fff;font-size:.857em;z-index:9}.wts-eae-badge-h-left.wts-eae-badge-v-bottom.wts-eae-enable-ribbons-badges-yes>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{left:20px;right:auto;top:auto;bottom:20px}.wts-eae-badge-h-left.wts-eae-badge-v-top.wts-eae-enable-ribbons-badges-yes>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{left:20px;right:auto;top:20px;bottom:auto}.wts-eae-badge-h-right.wts-eae-badge-v-bottom.wts-eae-enable-ribbons-badges-yes>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{left:auto;right:20px;top:auto;bottom:20px}.wts-eae-badge-h-right.wts-eae-badge-v-top.wts-eae-enable-ribbons-badges-yes>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{left:auto;right:20px;top:20px;bottom:auto}.eae-flip-box-back svg,.eae-flip-box-front svg{width:25px;height:auto}.wts-eae-textseparator svg{width:25px;height:auto}.eae-img-comp-slider svg{width:22px;height:auto}.eae-popup-link svg{display:inline-block;width:1em}.eae-popup svg:focus,.eae-popup svg:hover{opacity:1;cursor:pointer}.eae-popup svg:active{top:1px}.eae-popup svg.eae-close{width:28px;height:28px;line-height:1em;text-decoration:none;text-align:center;opacity:1;background-color:#fff}.eae-dual-button-wrapper svg{width:1em;height:auto;display:block}eae-button-separator i{position:relative;display:block}.eae-button-1.icon-before svg,.eae-button-2.icon-after svg,.eae-button-2.icon-before svg{align-self:center;margin:0 10px 0 0}.eae-button-1.icon-after svg,.eae-button-2.icon-after svg{align-self:center;margin:0 0 0 10px}.eae-button-1.icon-down svg,.eae-button-1.icon-up svg,.eae-button-2.icon-down svg,.eae-button-2.icon-up svg{align-self:center;margin:5px 0}.eae-pt-button-wrapper a svg{width:1em}.eae-pt-action-button .eae-pt-align-icon-left{float:left}.eae-pt-action-button .eae-pt-align-icon-right{float:right}.eae-icon-wrap svg{width:20px;height:auto;font-size:20px;display:block}.eae-info-circle .eae-icon-wrap svg{width:20px;height:auto;font-size:20px}.eae-icon-view-stacked svg{fill:#fff}.ae-link-yes{cursor:pointer}.eae-element-unfold-content{padding:10px 0;background-color:#d3d3d3c4;width:100%;position:absolute;left:0;bottom:0;z-index:999}a.eae-unfold-link{background-color:#61ce70;color:#fff;display:inline-block;overflow:hidden}a.eae-unfold-link svg{background-color:#fff}.eae-unfold-button-icon{vertical-align:middle}.eae-fold-yes .elementor-column-wrap,.eae-fold-yes.elementor-section .elementor-container,.eae-fold-yes.elementor-widget{overflow:hidden}body.elementor-editor-active .elementor.elementor-edit-mode .elementor-element.elementor-section.eae-widget-unfold-yes .elementor-container,body.elementor-editor-preview .elementor.elementor-edit-mode .elementor-element.elementor-section.eae-widget-unfold-yes .elementor-container{overflow:hidden}body.elementor-editor-active .elementor.elementor-edit-mode .elementor-element.elementor-column.eae-widget-unfold-yes .elementor-column-wrap,body.elementor-editor-preview .elementor.elementor-edit-mode .elementor-element.elementor-column.eae-widget-unfold-yes .elementor-column-wrap{overflow:hidden}body.elementor-editor-active .elementor.elementor-edit-mode .elementor-element.elementor-widget.eae-widget-unfold-yes,body.elementor-editor-preview .elementor.elementor-edit-mode .elementor-element.elementor-widget.eae-widget-unfold-yes{overflow:hidden}.eae-widget-unfold-yes .elementor-widget-container .eae-fold-yes.eae-rc{display:none!important}.eae-unfold-button-icon svg{line-height:1em;text-decoration:none;-webkit-mask-repeat:no-repeat!important;text-align:center;opacity:1}.eae-fold-icon-type-svg .eae-unfold-button-icon,.eae-unfold-icon-type-svg .eae-unfold-button-icon{-webkit-mask-size:cover!important;background-image:none;transform:translateY(-50%)}.elementor-section.elementor-section-items-bottom.eae-widget-unfold-yes>.elementor-container,.elementor-section.elementor-section-items-middle.eae-widget-unfold-yes>.elementor-container{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:start}.elementor-section.elementor-section-content-bottom.eae-widget-unfold-yes>.elementor-container,.elementor-section.elementor-section-content-middle.eae-widget-unfold-yes>.elementor-container{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:start}.elementor-widget-wts-modal-popup.eae-pop-btn-type-image .eae-popup-link{padding:0;background-color:transparent;overflow:hidden}[data-elementor-device-mode=tablet] .eae-tab-format-mobile .eae-ct-hide.eae-fbox-heading{display:none!important}.eae-timeline-item .eae-icon-view-stacked{border-width:0!important}.eae-content-switcher-wrapper{display:block;text-align:center}.eae-cs-layout-skin1 .eae-cs-switch-wrapper{display:inline-flex;flex-wrap:wrap;padding:8px 12px;background:#54595f;border-radius:50px}.eae-cs-switch-container{display:block;text-align:center}.eae-cs-layout-skin1 .eae-cs-label-wrapper{display:inline-block;overflow:hidden}.eae-cs-layout-skin1 .eae-content-switch-button{border-radius:50px;padding:8px 12px;background-color:#7a7a7a;color:#fff;overflow:hidden;display:block;min-width:150px;position:relative;text-align:center;margin:3px}.eae-cs-layout-skin1 .eae-content-switch-button:before{height:100%;top:0;left:0;z-index:0;content:"";width:0;position:absolute;right:0;transition:all .3s ease-out}.eae-cs-layout-skin1 .eae-content-switch-button.active:before{width:100%;left:0;right:auto;background-color:#61ce70}.eae-cs-layout-skin1 .eae-content-switch-label{position:relative}.eae-cs-content-section{display:none}.eae-cs-content-section.active{display:block}@media only screen and (max-width:768px){.eae-cs-switch-wrapper{display:inline-block!important}}.eae-cs-layout-skin2 .eae-cs-switch-wrapper{display:inline-flex;flex-wrap:wrap;padding:0;background:0 0}.eae-cs-layout-skin2 .eae-cs-label-wrapper{display:inline-block}.eae-cs-layout-skin2 .eae-content-switch-button{width:auto;margin:3px 8px;padding:10px 12px;background-color:#e2e2e2;overflow:hidden;display:block;position:relative;text-align:center;border-radius:5px;border:1px solid rgba(130,130,130,.26);color:rgba(71,71,71,.44)}.eae-cs-layout-skin2 .eae-content-switch-button.active{box-shadow:0 10px 34px -9px rgba(0,0,0,.38);background-color:#fff;color:#575757;border-color:#fff}h5.eae-cs-label{margin:0}.eae-cs-layout-skin3 .eae-cs-switch-wrapper{display:block;justify-content:center;align-items:center}.eae-content-switch-label.primary-label{margin-right:30px}.eae-content-switch-label.secondary-label{margin-left:30px}.eae-cs-layout-skin3 .eae-cs-switch-label{position:relative;display:inline-block;width:4.5em;height:2.3em;vertical-align:middle}.eae-cs-layout-skin3 .eae-content-switch-label{margin:0;display:inline-block}.eae-cs-layout-skin3 .eae-cs-switch-button{display:inline-block}.eae-cs-layout-skin3 .eae-cs-label{display:inline-block}.eae-cs-layout-skin3 .eae-cs-switch-label input.eae-content-toggle-switch{display:none}.eae-cs-layout-skin3 .eae-cs-switch-label input.eae-content-toggle-switch+span{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;-webkit-transition:.4s;transition:.4s;-webkit-border-radius:1.5em;border-radius:1.5em;background:#2e394d;border:2px solid #2e394d}.eae-cs-layout-skin3 .eae-cs-switch-label input.eae-content-toggle-switch+span:before{position:absolute;content:"";height:28px;width:28px;left:4px;transform:translateY(-52%);top:50%;transition:.4s;transition:.4s;-webkit-border-radius:50%;border-radius:50%;background:#88cf8f;border:2px solid #88cf8f}body.rtl .eae-cs-layout-skin3 .eae-cs-switch-label input.eae-content-toggle-switch+span:before{left:unset;right:4px}.eae-cs-layout-skin3 .eae-cs-switch-label input:checked.eae-content-toggle-switch+span:before{transform:translate(36px,-52%)}body.rtl .eae-cs-layout-skin3 .eae-cs-switch-label input:checked.eae-content-toggle-switch+span:before{transform:translate(-36px,-52%)}.eae-content-switch-label.active{color:#61ce70}.eae-cs-layout-skin4 .eae-cs-switch-wrapper{display:block}.eae-cs-layout-skin4 .eae-content-switch-label.primary-label{margin-right:30px}.eae-cs-layout-skin4 .eae-content-switch-label.secondary-label{margin-left:30px}.eae-cs-layout-skin4 .eae-content-switch-label{display:inline-block}.eae-cs-layout-skin4 .eae-cs-switch-label{position:relative;display:inline-block;width:70px;height:20px;vertical-align:middle}.eae-cs-layout-skin4 .eae-cs-label{display:inline-block}.eae-cs-layout-skin4 .eae-content-toggle-switch{display:none}.eae-cs-layout-skin4 .eae-content-toggle-switcher{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;-webkit-transition:.4s;transition:.4s;-webkit-border-radius:1.5em;border-radius:1.5em;background:#2e394d;border:2px solid #2e394d}.eae-cs-layout-skin4 .eae-cs-switch-button{display:inline-block}.eae-cs-layout-skin4 .eae-content-toggle-switcher:before{position:absolute;content:"";height:34px;width:34px;left:-12px;top:50%;transform:translateY(-50%);border-radius:50%;border:2px solid #88cf8f;background:#88cf8f;-webkit-transition:.4s;transition:.4s;-webkit-box-shadow:3px 3px 6px 1px rgba(0,0,0,.2);box-shadow:3px 3px 6px 1px rgba(0,0,0,.2)}.eae-cs-layout-skin4 .eae-cs-switch-container{padding:15px 0}body.rtl .eae-cs-layout-skin4 .eae-content-toggle-switcher:before{right:-12px!important}.eae-cs-layout-skin4 input:checked+.eae-content-toggle-switcher:before{transform:translate(55px,-50%)}body.rtl .eae-cs-layout-skin4 input:checked+.eae-content-toggle-switcher:before{transform:translate(-55px,-50%)}.eae-swiper-outer-wrapper{position:relative}.eae-swiper-container{position:relative}.eae-thumb-container{position:absolute}.eae-swiper-outer-wrapper .eae-swiper-slide{height:400px;background-size:cover;background-repeat:no-repeat;background-position:right}.eae-swiper-outer-wrapper .eae-swiper-slide .eae-slide-inner{color:#7a7a7a;display:flex;position:absolute;top:0;left:0;bottom:0;right:0;padding:20px}.eae-slide-inner .eae-slide-content{padding:20px 30px}.eae-slide-inner .eae-slide-heading{font-size:35px;font-weight:700;line-height:1}.eae-slide-inner .eae-slide-text{font-size:17px;line-height:1.4}.eae-slide-inner .eae-slide-button{display:inline-block}.eae-slide-inner .eae-slide-btn{display:inline-block;font-size:15px;padding:12px 24px;border-radius:3px;cursor:pointer;transition:all .3s}.eae-slide-inner .eae-slide-heading:not(:last-child),.eae-slide-inner .eae-slide-text:not(:last-child){margin-bottom:30px}.eae--hr-position-left .eae-slide-inner{-webkit-box-pack:start;justify-content:flex-start}.eae--hr-position-right .eae-slide-inner{-webkit-box-pack:end;justify-content:flex-end}.eae--hr-position-center .eae-slide-inner{-webkit-box-pack:center;justify-content:center}.eae--vr-position-top .eae-slide-inner{-webkit-box-pack:start;align-items:flex-start}.eae--vr-position-middle .eae-slide-inner{-webkit-box-align:center;align-items:center}.eae--vr-position-bottom .eae-slide-inner{-webkit-box-pack:end;align-items:flex-end}.eae-swiper-button-prev{left:10px}.eae-swiper-button-next{right:10px}.eae-swiper-button{position:absolute;display:inline-flex;z-index:1;cursor:pointer;color:#7a7a7a;top:50%;transform:translateY(-50%)}.swiper-pagination-bullet{margin-bottom:5px!important}.eae-swiper-outer-wrapper .eae-swiper-slide .eae-background-overlay{width:100%;height:100%;position:absolute}.eae-swiper-outer-wrapper .eae-gallery-thumbs{box-sizing:border-box;text-align:center}.eae-swiper-outer-wrapper .eae-gallery-thumbs .eae-thumb-slide{background-size:cover;background-position:center;height:100%;opacity:.7}.eae-swiper-outer-wrapper .eae-gallery-thumbs .swiper-slide-thumb-active{opacity:1}.eae-chart-outer-container{position:relative}.eae-chart-overlay{width:100%;height:100%;position:absolute}.eae-table{width:100%;height:auto;margin:0;padding:0;border:none;border-collapse:collapse}.eae-table tr{border-style:none}.eae-table__body_row_column{border:none;overflow:hidden}.eae-table__head_column{transition:all .3s ease-in-out}.eae-table__body_row_column{transition:all .3s ease-in-out}.eae-head-icon{vertical-align:middle}.eae-table__head-column-wrapper .eae-head-img{width:50px;display:inline-block}.eae-table__head-column-wrapper .eae-lottie-animation svg{width:70px!important;line-height:0}.eae-head-icon-before{margin-right:5px}.eae-head-icon-after{margin-left:5px}.eae-table__col-inner{display:block}.eae-body-icon{vertical-align:middle}.eae-table__body-column-wrapper .eae-body-image{width:70px;display:inline-block}.eae-table__body-column-wrapper .eae-table-lottie-animation svg{width:70px!important;line-height:0}.eae-body-icon-before{margin-right:5px}.eae-body-icon-after{margin-left:5px}.eae-table-body__text{vertical-align:middle}.eae-table .eae-table-search-hide{display:none}.eae-table-search-wrap{padding:0;margin:0;margin-bottom:10px}.eae-search-wrap{padding:0;margin:0;width:50%;display:inline-flex;align-items:center;box-sizing:border-box;overflow:hidden;align-items:center}.eae-table-search-wrap .eae-table-search-field{margin:0;padding:0;border:0;outline:0;background-color:#eceeef;width:100%;font-size:15px;color:#7a7a7a;padding:10px;line-height:0;display:inline-block;box-sizing:border-box}.eae-table-search-wrap .eae-table-search-field:focus{background-color:#eceeef}::placeholder{opacity:.5}.search-icon{background-color:#eceeef;padding:0;margin:0;padding:10px}.search-icon i{color:#7a7a7a73;display:flex;align-items:center;left:0;font-size:20px}.eae-table__sortable .eae-table__sortable-head{cursor:pointer}.eae-table__head__wrapper{display:flex;justify-content:center;align-items:center}.eae-sort-icon{padding:0;margin:0;align-self:center}.eae-table__head-column-wrapper{flex-grow:3;display:inline-block;width:100%;margin:0 3px}.eae-icon-sort-icon{vertical-align:middle;display:inline-block;margin:0 3px}.eae-icon{padding:0;margin:0}.eae-table__head__wrapper .eae-sort-icon .eae-icon{font-size:25px}.eae-table__sortable .eae-table__head__wrapper .eae-sort-icon-down,.eae-table__sortable .eae-table__head__wrapper .eae-sort-icon-up{display:none}.eae-table__sortable .eae-table__sort-Asc .eae-table__head__wrapper .eae-icon-sort-icon,.eae-table__sortable .eae-table__sort-Desc .eae-table__head__wrapper .eae-icon-sort-icon{display:none}.eae-table__sortable .eae-table__sort-Asc .eae-table__head__wrapper .eae-sort-icon-up,.eae-table__sortable .eae-table__sort-Desc .eae-table__head__wrapper .eae-sort-icon-down{display:block}.eae-table-wrap{overflow-x:auto}.eae-table-body__text,.eae-table__col-inner{white-space:nowrap!important}.eae-table-wrapper{max-width:100%}
|
1 |
+
.elementor-widget-wts-textseparator .elementor-widget-container{overflow:hidden}.wts-eae-textseparator{align-items:center;display:flex;flex-flow:row nowrap;margin:auto}body.rtl .wts-eae-textseparator{flex-direction:row-reverse}.eae-separator-icon-inner i{height:1em;width:1em;text-align:center;position:relative;display:block}.eae-separator-icon-inner i:before{position:absolute;left:50%;-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%);transform:translateX(-50%)}.wts-eae-textseparator .eae-sep-holder{flex:1 1 auto;height:1px;min-width:10%;position:relative}.wts-eae-textseparator .eae-sep-holder .eae-sep-lines{border-top-width:1px;display:block;height:1px;position:relative;top:1px;width:100%}.eae-separator-title{margin:0;-moz-box-flex:0;flex:0 1 auto;line-height:1em;margin:0;overflow-wrap:break-word}.sep-align-right .sep-right{display:none}.sep-align-left .sep-left{display:none}.eae-icon-view-stacked i{color:#fff}.eae-icon-view-framed .eae-separator-icon-inner{border:1px solid}.eae-icon-shape-circle .eae-separator-icon-inner{border-radius:50%}.eae-separator-icon-wrapper,.eae-separator-title{margin:0 5px!important}.eae-separator-icon-inner{line-height:1}.wts-price-box-wrapper .eae-pt-heading,.wts-price-box-wrapper .eae-pt-sub-heading{margin:5px 0;text-align:center}.plan-price-shape{display:table;height:6em;margin:auto;width:6em}.eae-pt-price-box-shape-circle .plan-price-shape,.eae-pt-price-box-shape-square .plan-price-shape{border:1px solid}.eae-pt-price-box-shape-circle .plan-price-shape{border-radius:50%}.plan-price-block{padding:10px 0}.plan-price-shape-inner{display:table-cell;vertical-align:middle;padding:10px}.plan-price-shape-inner>span{display:block;font-size:1em;text-align:center}.eae-pt-feature-list{list-style:outside none none;text-align:center;margin:10px 0}.eae-pt-button-wrapper>a{text-align:center;display:inline-block;line-height:1}.eae-pt-button-wrapper{text-align:center}.wts-price-box-wrapper .heading-wrapper,.wts-price-box-wrapper .plan-features-wrapper{padding:10px 5px}.eae-pt-button-wrapper{padding:15px 0}.eae-pt-button-wrapper a{padding:5px 15px;border-radius:3px}.eae-pt-align-icon-right{float:right}.strike-feature{text-decoration:line-through}.eae-flip-box{width:100%;text-align:center}.eae-flip-box-wrapper{display:inline-block;width:100%}.eae-flip-box-inner{width:100%;height:200px;position:relative;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d}.eae-flip-box-inner .eae-flip-box-back,.eae-flip-box-inner .eae-flip-box-front{width:100%;height:100%;position:absolute;top:0;left:0;text-align:center;padding:10px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:all .6s ease 0s;-moz-transition:all .6s ease 0s;-ms-transition:all .6s ease 0s;-o-transition:all .6s ease 0s;transition:all .6s ease 0s}.eae-flip-box-front{z-index:2}.eae-flip-box-back{z-index:1}.eae-fb-animate-vertical .eae-flip-box-inner .eae-flip-box-front{-webkit-transform:perspective(1000px) rotateX(0);-ms-transform:perspective(1000px) rotateX(0);transform:perspective(1000px) rotateX(0)}.eae-fb-animate-vertical .eae-flip-box-inner .eae-flip-box-back{-webkit-transform:perspective(1000px) rotateX(180deg);transform:perspective(1000px) rotateX(180deg);-ms-transform:perspective(1000px) rotateX(180deg)}.eae-fb-animate-vertical .eae-flip-box-inner:hover .eae-flip-box-front{-webkit-transform:perspective(1000px) rotateX(180deg);transform:perspective(1000px) rotateX(180deg);-ms-transform:perspective(1000px) rotateX(180deg)}.eae-fb-animate-vertical .eae-flip-box-inner:hover .eae-flip-box-back{-webkit-transform:perspective(1000px) rotateX(0);transform:perspective(1000px) rotateX(0);-ms-transform:perspective(1000px) rotateX(0)}.eae-fb-animate-horizontal .eae-flip-box-inner .eae-flip-box-front{-webkit-transform:perspective(1000px) rotateY(0);transform:perspective(1000px) rotateY(0);-ms-transform:perspective(1000px) rotateY(0)}.eae-fb-animate-horizontal .eae-flip-box-inner .eae-flip-box-back{-webkit-transform:perspective(1000px) rotateY(180deg);transform:perspective(1000px) rotateY(180deg);-ms-transform:perspective(1000px) rotateY(180deg)}.eae-fb-animate-horizontal .eae-flip-box-inner:hover .eae-flip-box-front{-webkit-transform:perspective(1000px) rotateY(180deg);transform:perspective(1000px) rotateY(180deg);-ms-transform:perspective(1000px) rotateY(180deg)}.eae-fb-animate-horizontal .eae-flip-box-inner:hover .eae-flip-box-back{-webkit-transform:perspective(1000px) rotateY(0);transform:perspective(1000px) rotateY(0);-ms-transform:perspective(1000px) rotateY(0)}.eae-fb-animate-fade .eae-flip-box-inner .eae-flip-box-front{opacity:1}.eae-fb-animate-fade .eae-flip-box-inner .eae-flip-box-back{opacity:0}.eae-fb-animate-fade .eae-flip-box-inner:hover .eae-flip-box-front{opacity:0}.eae-fb-animate-fade .eae-flip-box-inner:hover .eae-flip-box-back{opacity:1}.eae-flip-box-wrapper:focus .eae-flip-box-back,.eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:2}.eae-flip-box-wrapper:focus .eae-flip-box-front,.eae-flip-box-wrapper:hover .eae-flip-box-front{z-index:1}.fade .eae-flip-box-wrapper .eae-flip-box-front{opacity:1;transition:1s}.fade .eae-flip-box-wrapper .eae-flip-box-back{opacity:0;transition:1s}.fade .eae-flip-box-wrapper:focus .eae-flip-box-front,.fade .eae-flip-box-wrapper:hover .eae-flip-box-front{opacity:0}.fade .eae-flip-box-wrapper:focus .eae-flip-box-back,.fade .eae-flip-box-wrapper:hover .eae-flip-box-back{opacity:1}.eae-fb-animate-flip .eae-flip-box-wrapper{perspective:800px}.eae-fb-animate-flip .eae-flip-box-inner{transform-style:preserve-3d;transform:rotateX(0) rotateY(0) rotateZ(0);transition:1s}.eae-fb-animate-flip .eae-flip-box-front{transform:translate3d(0,0,1px)}.eae-fb-animate-flip .eae-flip-box-back{transform:rotateY(180deg) translate3d(0,0,0)}.eae-fb-animate-flip .eae-flip-box-wrapper:focus .eae-flip-box-inner,.eae-fb-animate-flip .eae-flip-box-wrapper:hover .eae-flip-box-inner{transform:rotateY(180deg)}.up .eae-flip-box-front{transform:translate3d(0,0,1px)}.up .eae-flip-box-back{transform:rotateX(180deg) translate3d(0,0,0)}.up .eae-flip-box-wrapper:focus .eae-flip-box-inner,.up .eae-flip-box-wrapper:hover .eae-flip-box-inner{transform:rotateX(180deg)}.box .eae-flip-box-front{transform:translate3d(0,0,100px) scale(.85,.85)}.box .eae-flip-box-back{transform:rotateY(180deg) translate3d(0,0,100px) scale(.85,.85)}.box.up .eae-flip-box-back{transform:rotateX(180deg) translate3d(0,0,100px) scale(.85,.85)}.hideback .eae-flip-box-back,.hideback .eae-flip-box-front{backface-visibility:hidden}.eae-fb-animate-nananana .eae-flip-box-wrapper:focus .eae-flip-box-front,.eae-fb-animate-nananana .eae-flip-box-wrapper:hover .eae-flip-box-front{z-index:10;animation:batman 1s 2 alternate linear}.eae-fb-animate-flipcard .eae-flip-box-back,.eae-fb-animate-flipcard .eae-flip-box-front{transition:transform .4s ease;transform-origin:center center -150px;-webkit-transform-origin:center center -150px}.flipcard-rotate-top-down .eae-flip-box-front{transform:rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-top-down .eae-flip-box-back{transform:rotateX(90deg) rotateY(0) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-top-down .eae-flip-box-wrapper:hover .eae-flip-box-front{transform:rotateX(-90deg) rotateY(0) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-top-down .eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:99999;transform:rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-down-top .eae-flip-box-front{transform:rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-down-top .eae-flip-box-back{transform:rotateX(-90deg) rotateY(0) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-down-top .eae-flip-box-wrapper:hover .eae-flip-box-front{transform:rotateX(90deg) rotateY(0) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-down-top .eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:99999;transform:rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-left-right .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-left-right .eae-flip-box-back{transform:perspective(0) rotateX(0) rotateY(-90deg) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-left-right .eae-flip-box-wrapper:hover .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(90deg) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-left-right .eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:99999;transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-right-left .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-right-left .eae-flip-box-back{transform:perspective(0) rotateX(0) rotateY(90deg) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-right-left .eae-flip-box-wrapper:hover .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(-90deg) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-right-left .eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:99999;transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}@keyframes batman{0%{transform:scale(1,1) rotateZ(0)}100%{transform:scale(0,0) rotateZ(720deg);opacity:0}}.eae-flip-box-back i,.eae-flip-box-front i{font-size:32px;height:1em;width:1em;position:relative;display:block}.eae-flip-box-back i:before,.eae-flip-box-front i:before{position:absolute;left:50%;-webkit-transform:translate(-50%);-moz-transform:translate(-50%);-ms-transform:translate(-50%);-o-transform:translate(-50%);transform:translate(-50%)}.eae-fb-icon-view-framed{border:1px solid #92be43}.eae-fb-icon-shape-circle{border-radius:50%}.eae-flip-box-wrapper .icon-wrapper{display:inline-block;padding:10px;line-height:1}.eae-flip-box-wrapper .back-icon-title,.eae-flip-box-wrapper .front-icon-title{margin:10px auto;color:#fff}.eae-flip-box-wrapper .flipbox-content{display:block;position:relative;top:50%;transform:translateY(-50%);-ms-transform:translateY(-50%)}.flipbox-content p{margin-bottom:10px}.eae-fb-button{display:inline-block;padding:5px 10px}.eae-flip-box-front{background:#a0ce4e}.eae-flip-box-back{background:#73b9dc}@media only screen and (max-width:768px){.eae-flip-box-back,.eae-flip-box-front,.flipbox-content{cursor:pointer;overflow:visible!important;transform-style:preserve-3d;-webkit-transform-style:preserve-3d}}.elementor-widget-wts-shape-separator svg{display:block}.wts-eae-pl-wrapper ul{margin:0}.wts-eae-pl-wrapper ul li{list-style:none;overflow:hidden;margin-bottom:10px}.eae-pl-img-align-none .eae-pl-image-wrapper a{text-align:center}.eae-pl-title{margin:0}.eae-pl-title a{display:block}.eae-pl-readmore a{display:inline-block;border-radius:2px;color:#fff;padding:4px 8px}.eae-at-animation-text-wrapper{display:inline-block;position:relative;text-align:left}.eae-at-animation-text-wrapper .eae-at-animation-text{display:inline-block;position:absolute;white-space:nowrap;left:0;top:0}[data-elementor-device-mode=mobile] .eae-at-animation-text{white-space:normal}.eae-at-animation-text-wrapper .eae-at-animation-text.is-visible{position:relative}.no-js .eae-at-animation-text-wrapper .eae-at-animation-text{opacity:0}.no-js .eae-at-animation-text-wrapper .eae-at-animation-text.is-visible{opacity:1}.eae-animtext-wrapper{font-size:40px}.eae-st-rest-text{display:inline-block}.eae-st-split-text{display:inline-block}body.rtl .eae-st-transform-text-title{display:flex;flex-direction:row-reverse}body.rtl .eae-text-align-left .eae-st-transform-text-title{justify-content:flex-start}body.rtl .eae-text-align-right .eae-st-transform-text-title{justify-content:flex-end}body.rtl .eae-text-align-center .eae-st-transform-text-title{justify-content:center}.eae-at-animation.type .eae-at-animation-text-wrapper{vertical-align:bottom;overflow:hidden}.eae-at-animation.type .eae-at-animation-text-wrapper::after{content:"";position:absolute;right:0;top:50%;bottom:auto;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);height:90%;width:1px}.eae-at-animation.type .eae-at-animation-text-wrapper.waiting::after{-webkit-animation:cd-pulse 1s infinite;-moz-animation:cd-pulse 1s infinite;animation:cd-pulse 1s infinite}.eae-at-animation.type .eae-at-animation-text-wrapper.selected::after{visibility:hidden}.eae-at-animation.type .eae-at-animation-text{visibility:hidden}.eae-at-animation.type .eae-at-animation-text.is-visible{visibility:visible}.eae-at-animation.type i{position:absolute;visibility:hidden}.eae-at-animation.type i.in{position:relative;visibility:visible}@-webkit-keyframes cd-pulse{0%{-webkit-transform:translateY(-50%) scale(1);opacity:1}40%{-webkit-transform:translateY(-50%) scale(.9);opacity:0}100%{-webkit-transform:translateY(-50%) scale(0);opacity:0}}@-moz-keyframes cd-pulse{0%{-moz-transform:translateY(-50%) scale(1);opacity:1}40%{-moz-transform:translateY(-50%) scale(.9);opacity:0}100%{-moz-transform:translateY(-50%) scale(0);opacity:0}}@keyframes cd-pulse{0%{-webkit-transform:translateY(-50%) scale(1);-moz-transform:translateY(-50%) scale(1);-ms-transform:translateY(-50%) scale(1);-o-transform:translateY(-50%) scale(1);transform:translateY(-50%) scale(1);opacity:1}40%{-webkit-transform:translateY(-50%) scale(.9);-moz-transform:translateY(-50%) scale(.9);-ms-transform:translateY(-50%) scale(.9);-o-transform:translateY(-50%) scale(.9);transform:translateY(-50%) scale(.9);opacity:0}100%{-webkit-transform:translateY(-50%) scale(0);-moz-transform:translateY(-50%) scale(0);-ms-transform:translateY(-50%) scale(0);-o-transform:translateY(-50%) scale(0);transform:translateY(-50%) scale(0);opacity:0}}.eae-img-comp-container{width:100%;position:relative;text-align:center}.eae-img-comp-container img{vertical-align:middle}.eae-img-comp-img{position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;transform:translateZ(0);backface-visibility:hidden}.eae-img-comp-img img{display:block;max-width:100%;width:100%}.eae-img-comp-slider{position:absolute;z-index:9;width:40px;height:40px;background-color:#2196f3;opacity:1;border-radius:50%}.icon-horizontal{cursor:ew-resize}.icon-vertical{cursor:n-resize}.mode-horizontal .eae-img-comp-overlay img{position:absolute;left:0;top:0;display:block;width:auto;height:100%!important;max-width:none!important}.mode-vertical .eae-img-comp-overlay img{position:absolute;left:0;top:0;display:block;width:100%;height:auto!important;max-width:none!important}.eae-img-comp-slider svg,.eae-slider-icon{top:50%;transform:translateY(-50%) translateX(-50%);position:absolute;left:50%;color:#fff}.elementor-widget-wts-ab-image{text-align:center}.elementor-widget-wts-ab-image .elementor-widget-container{display:inline-block;margin:0 auto!important;overflow:hidden}.eae-text-before{position:absolute!important;padding:10px;transition:transform .3s .7s,opacity .3s .7s;color:#d36118;z-index:0;background:rgba(255,255,255,.5);margin:20px}.eae-text-after{position:absolute!important;padding:10px;transition:transform .3s .7s,opacity .3s .7s;color:#d36118;z-index:0;background:rgba(255,255,255,.5);margin:20px}.divTest{display:inline-block;background-color:#00a0d2;padding:20px}.eae-particle-wrapper{position:absolute;left:0;top:0}.eae-particle-wrapper.eae-particle-area{width:100%;height:100%}body:not(.elementor-editor-active) .eae-particle-wrapper{width:100%;height:100%}body:not(.elementor-editor-active) .eae-particle-wrapper .particles-js-canvas-el{height:100%;position:absolute;z-index:0}body:not(.elementor-editor-active) .eae-particle-wrapper .tsparticles-canvas-el{height:100%;position:absolute!important;z-index:0!important}body.elementor-editor-active .eae-particle-areas .tsparticles-canvas-el{z-index:0!important;height:100%;width:100%;position:absolute!important}.eae-section-bs{position:absolute;width:100%;height:100%;top:0}.eae-section-bs-inner{width:100%;height:100%!important}.eae-popup.mfp-bg{top:0;left:0;width:100%;height:100%;z-index:1042;overflow:hidden;position:fixed;background:#0b0b0b;opacity:.8}.eae-popup-link{padding:12px 24px;color:#fff;display:inline-flex;line-height:1}.eae-popup-link svg{fill:#fff}.eae-popup-link:hover{color:#fff}.eae-popup.mfp-wrap{top:0;left:0;width:100%;height:100%;z-index:1043;position:fixed;outline:0!important;-webkit-backface-visibility:hidden}.eae-popup .mfp-container{text-align:center;position:absolute;width:100%;height:100%;left:0;top:0;padding:0 8px;box-sizing:border-box}.eae-popup .mfp-container:before{content:"";display:inline-block;height:100%;vertical-align:middle}.eae-popup .mfp-align-top .mfp-container:before{display:none}.eae-popup .mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1045}.eae-modal-content{padding:20px}.eae-pop-btn-align-left .eae-popup-wrapper{text-align:left}.eae-pop-btn-align-right .eae-popup-wrapper{text-align:right}.eae-pop-btn-align-center .eae-popup-wrapper{text-align:center}.eae-pop-btn-align-justify .eae-popup-wrapper{text-align:center}.eae-pop-btn-align-justify .eae-popup-wrapper a{display:block}.eae-popup .mfp-ajax-holder .mfp-content,.eae-popup .mfp-inline-holder .mfp-content{width:50%;background-color:#fff;cursor:auto;overflow:hidden}.eae-popup .mfp-ajax-cur{cursor:progress}.eae-popup .mfp-zoom-out-cur,.eae-popup .mfp-zoom-out-cur .mfp-image-holder .eae-close{cursor:-moz-zoom-out;cursor:-webkit-zoom-out;cursor:zoom-out}.eae-popup .mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.eae-popup.mfp-auto-cursor .mfp-content{cursor:auto}.eae-popup .eae-close,.eae-popup .mfp-arrow,.eae-popup .mfp-counter,.eae-popup .mfp-preloader{-webkit-user-select:none;-moz-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.eae-popup .mfp-preloader{color:#ccc;position:absolute;top:50%;width:auto;text-align:center;margin-top:-.8em;left:8px;right:8px;z-index:1044}.eae-popup .mfp-preloader a{color:#ccc}.eae-popup .mfp-preloader a:hover{color:#fff}.mfp-s-ready .mfp-preloader{display:none}.mfp-s-error .mfp-content{display:none}button.eae-close,button.mfp-arrow{overflow:visible;cursor:pointer;background:0 0;border:0;-webkit-appearance:none;display:block;outline:0;padding:0;z-index:1046;box-shadow:none;touch-action:manipulation}button::-moz-focus-inner{padding:0;border:0}.eae-popup .eae-close{width:28px;height:28px;line-height:1em;position:absolute;right:10px;top:10px;text-decoration:none;text-align:center;opacity:1;color:#fff;font-size:28px;z-index:1500}.eae-close:focus,.eae-close:hover{opacity:1;cursor:pointer}.eae-close:active{top:1px}.eae-close:before{top:50%;left:50%;position:absolute;transform:translate(-50%,-50%)}.eae-popup.eae-close-btn-in .eae-close{color:#fff}.mfp-iframe-holder .eae-close,.mfp-image-holder .eae-close{color:#fff;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#ccc;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{position:absolute;opacity:.65;margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:transparent}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:focus,.mfp-arrow:hover{opacity:1}.mfp-arrow:after,.mfp-arrow:before{content:"";display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:medium inset transparent}.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left:after{border-right:17px solid #fff;margin-left:31px}.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-arrow-right{right:0}.mfp-arrow-right:after{border-left:17px solid #fff;margin-left:39px}.mfp-arrow-right:before{border-left:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .eae-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;line-height:0;box-sizing:border-box;padding:40px 0 40px;margin:0 auto}.eae-popup .mfp-figure{line-height:0}.eae-popup .mfp-figure:after{content:"";position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6);background:#444}.eae-popup .mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.eae-popup .mfp-figure figure{margin:0}.eae-popup .mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.eae-popup .mfp-title{text-align:left;line-height:1;word-wrap:break-word;color:#fff;background-color:#4054b2;padding:20px 20px 20px 20px}.eae-popup .mfp-image-holder .mfp-content{max-width:100%}.eae-popup .mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .eae-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}.elementor-element.eae-animated-gradient-yes,.elementor-element.eae-animated-gradient-yes .animated-gradient{background-size:400% 400%!important;-webkit-animation:AnimateGradient 15s ease-in-out infinite;-moz-animation:AnimateGradient 15s ease-in-out infinite;animation:AnimateGradient 15s ease-in-out infinite}.animated-gradient{position:absolute;top:0;left:0;height:100%;width:100%}@-webkit-keyframes AnimateGradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}@-moz-keyframes AnimateGradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}@keyframes AnimateGradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}.eae-swiper-outer-wrapper .swiper-slide{height:auto;overflow:inherit}.eae-swiper-outer-wrapper .swiper-slide-wrapper,.eae-swiper-outer-wrapper .testimonial-wrapper{height:100%}.eae-grid{display:flex;flex-wrap:wrap;flex-direction:row}.eae-masonry- .eae-grid-item{position:relative;height:100%}.eae-masonry- .eae-grid-item .testimonial-wrapper{height:100%}.eae-grid-container{transition:.1s all ease}.eae-grid-container{display:inline-block}.wrapper .content{margin:10px 0}.skin-2.testimonial-wrapper{display:flex;flex-direction:column;background-color:#9c989821;min-height:300px;padding:10px 20px;box-shadow:0 0 5px rgba(0,0,0,.15);color:#696969}.skin-2 .content-wrapper{padding:10px;position:relative;background-color:#fff;border-radius:10px;color:#77778e}.skin-2 i.after-content,.skin-2 i.before-content{position:absolute}.skin-2 i.before-content{top:10px;left:20px}.skin-2 i.after-content{bottom:10px;right:20px}.skin-2 blockquote{position:relative;font-size:14px;padding:10px;font-weight:500;text-align:left;margin:0;line-height:1.6em;font-style:italic}.skin-2 blockquote::after,.skin-2 blockquote::before{font-family:FontAwesome;content:"\201C";position:absolute;font-size:50px;opacity:.3;font-style:normal}.skin-2 blockquote::before{top:10px;left:20px}.skin-2 blockquote::after{content:"\201D";right:20px}.skin-2 .image-wrapper{position:relative;max-width:100%;text-align:center}.skin-2 img{width:100px;border-radius:25%}.skin-2 .detail-wrapper{text-align:center}.skin-2 .company,.skin-2 .designation,.skin-2 .rating-wrapper,.skin-2 .title{padding:5px 0}.skin-2 .rating-wrapper{color:navy}.skin-2 .title{font-weight:800;color:#000}.skin-2 blockquote p{margin:10px 0!important}.skin-1.testimonial-wrapper{display:flex;flex-direction:column;background-color:#fff;box-shadow:0 0 5px rgba(0,0,0,.15);color:#000}.skin-1 .content-wrapper{order:0}.skin-1 .image-wrapper{order:1;text-align:center;margin:15px 0}.skin-1 .detail-wrapper{order:2}.skin-1 .content-wrapper{padding:10px;position:relative}.skin-1 i.after-content,.skin-1 i.before-content{position:absolute}.skin-1 i.before-content{top:10px;left:20px}.skin-1 i.after-content{bottom:10px;right:20px}.skin-1 blockquote{position:relative;background-color:#fff;font-size:14px;padding:10px;font-weight:500;text-align:left;margin:0;line-height:1.6em;font-style:italic}.skin-1 blockquote::after,.skin-1 blockquote::before{font-family:FontAwesome;content:"\201C";position:absolute;font-size:50px;opacity:.3;font-style:normal}.skin-1 blockquote::before{top:10px;left:20px}.skin-1 blockquote::after{content:"\201D";right:20px}.skin-1 .image-wrapper{position:relative;max-width:100%}.skin-1 img{width:100px;height:auto;border-radius:50%}.skin-1 .detail-wrapper{display:flex;flex-direction:row-reverse;justify-content:space-between;padding:10px;background-color:rgba(157,163,156,.18)}.skin-1 .designation,.skin-1 .rating-wrapper,.skin-1 .title{margin:0 5px}.skin-1 .title-wrapper{display:flex;flex-direction:row}.skin-1 .rating-wrapper{color:#fecc1f}.skin-4.testimonial-wrapper{flex-direction:column;display:flex;background-color:#bfbfb6bd;min-height:300px;padding:10px 0;box-shadow:0 0 5px rgba(0,0,0,.15);color:#77778e}.skin-4 .content-wrapper{padding:10px;position:relative}.skin-4 .content-wrapper{order:2;color:#3c3c3c}.skin-4 i.after-content,.skin-4 i.before-content{position:absolute}.skin-4 i.before-content{top:10px;left:20px}.skin-4 i.after-content{bottom:10px;right:20px}.skin-4 blockquote{position:relative;font-size:14px;padding:10px;font-weight:500;text-align:left;margin:0;line-height:1.6em;font-style:italic}.skin-4 blockquote::after,.skin-4 blockquote::before{font-family:FontAwesome;content:"\201C";position:absolute;font-size:50px;opacity:.3;font-style:normal}.skin-4 blockquote::before{top:10px;left:20px}.skin-4 blockquote::after{content:"\201D";right:20px}.skin-4 .image-wrapper{position:relative;max-width:100%;text-align:center}.skin-4 img{width:100px;border-radius:50%}.skin-4 .detail-wrapper{text-align:center}.skin-2 .designation,.skin-2 .title,.skin-4 .rating-wrapper{padding:5px 0}.skin-4 .rating-wrapper{color:#690a69}.skin-4 .title{font-weight:800;color:#000}.skin-3.testimonial-wrapper{display:flex;flex-direction:row;background-color:#9c989821;box-shadow:0 0 5px rgba(0,0,0,.15);color:#000;overflow:hidden}.skin-3 .content-section{display:flex;flex-direction:column;align-self:center}.skin-3 .content-wrapper{padding:10px;position:relative}.skin-2 i.after-content,.skin-3 i.before-content{position:absolute}.skin-3 i.before-content{top:10px;left:20px}.skin-3 i.after-content{bottom:10px;right:20px}.skin-3 blockquote{position:relative;font-size:18px;padding:10px;font-weight:500;text-align:left;margin:0;line-height:1.6em;font-style:italic}.skin-3 blockquote::after,.skin-3 blockquote::before{font-family:FontAwesome;content:"\201C";position:absolute;font-size:50px;opacity:.3;font-style:normal}.skin-3 blockquote::before{top:10px;left:20px}.skin-3 blockquote::after{content:"\201D";right:20px}.skin-3 .image-wrapper{position:relative;max-width:30%;max-height:250px;text-align:center;align-self:center}.skin-3 img{width:100%}.testimonial-wrapper .skin-3 .eae-person-avatar{border-radius:50%}.skin-3 .detail-wrapper{text-align:left;padding-left:20px}.skin-3 .designation,.skin-3 .rating-wrapper,.skin-3 .title{padding:3px 0}.skin-3 .rating-wrapper{color:#800040}.skin-3 .title{font-weight:800}.eae-swiper-outer-wrapper .swiper-button-prev{-webkit-mask:url(arrow-left.svg) no-repeat 100% 100%;mask:url(arrow-left.svg) no-repeat 100% 100%;-webkit-mask-size:cover;mask-size:cover;background-image:none;background-color:#007aff;transform:translateY(-50%);margin-top:0}.eae-swiper-outer-wrapper .swiper-container-rtl .swiper-button-prev{-webkit-mask:url(arrow-right.svg) no-repeat 100% 100%;mask:url(arrow-right.svg) no-repeat 100% 100%}.eae-swiper-outer-wrapper .swiper-button-next{-webkit-mask:url(arrow-right.svg) no-repeat 100% 100%;mask:url(arrow-right.svg) no-repeat 100% 100%;-webkit-mask-size:cover;mask-size:cover;background-image:none;background-color:#007aff;transform:translateY(-50%);margin-top:0}.eae-swiper-outer-wrapper .swiper-container-rtl .swiper-button-next{-webkit-mask:url(arrow-left.svg) no-repeat 100% 100%;mask:url(arrow-left.svg) no-repeat 100% 100%}.elementor-widget-wts-testimonial-slider .eae-swiper-outer-wrapper .swiper-button-next,.elementor-widget-wts-testimonial-slider .eae-swiper-outer-wrapper .swiper-button-prev{-webkit-mask:none;mask:none;-webkit-mask-size:unset;mask-size:unset;background-image:none;background-color:unset;width:auto;height:auto;transform:translateY(-50%);margin-top:0}.swiper-container .swiper-button-next i,.swiper-container .swiper-button-prev i{width:1em;height:1em;text-align:center;position:relative}.elementor-widget-wts-testimonial-slider .eae-swiper-outer-wrapper .eae-swiper-button-wrapper{position:absolute;height:auto;line-height:0}.eae-hpos-right.eae-vpos-top .eae-swiper-button-wrapper{bottom:auto;top:0;width:auto;right:0}.eae-vpos-top.eae-hpos-left .eae-swiper-button-wrapper{bottom:auto;top:0;width:auto;left:0}.eeae-hpos-right.eae-vpos-bottom .eae-swiper-button-wrapper{bottom:0;top:auto;width:auto;right:0}.eae-vpos-bottom.eae-hpos-left .eae-swiper-button-wrapper{bottom:0;top:auto;width:auto;left:0}.eae-hpos-right.eae-vpos-middle .eae-swiper-button-wrapper{bottom:auto;top:50%;width:auto;right:0}.eae-hpos-left.eae-vpos-middle .eae-swiper-button-wrapper{bottom:auto;top:50%;width:auto;left:0}.eae-hpos-left .swiper-button-next,.eae-hpos-left .swiper-button-prev,.eae-hpos-right .swiper-button-next,.eae-hpos-right .swiper-button-prev{position:relative;display:inline-block;right:auto;left:auto}.eae-hpos-right.eae-vpos-bottom .swiper-button-next,.eae-hpos-right.eae-vpos-bottom .swiper-button-prev{top:auto;bottom:0;transform:unset}.eae-hpos-right.eae-vpos-top .swiper-button-next,.eae-hpos-right.eae-vpos-top .swiper-button-prev{top:0;bottom:auto;transform:unset}.eae-hpos-left.eae-vpos-top .swiper-button-next,.eae-hpos-left.eae-vpos-top .swiper-button-prev{top:0;bottom:auto;transform:unset}.eae-hpos-left.eae-vpos-bottom .swiper-button-next,.eae-hpos-left.eae-vpos-bottom .swiper-button-prev{top:auto;bottom:0;transform:unset}.eae-hpos-center.eae-vpos-bottom .swiper-button-next,.eae-hpos-center.eae-vpos-bottom .swiper-button-prev{top:auto;bottom:0;transform:unset}.eae-hpos-center.eae-vpos-top .swiper-button-next,.eae-hpos-center.eae-vpos-top .swiper-button-prev{top:0;bottom:auto;transform:unset}@media all and (max-width:900px){.mfp-arrow{-webkit-transform:scale(.75);transform:scale(.75)}.mfp-arrow-left{-webkit-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}.eae-info-circle{position:relative;width:90%;margin:0 auto;border-radius:50%;display:block}.eae-info-circle:before{content:"";display:block;position:absolute;top:4%;left:4%;width:92%;height:92%;border-radius:50%;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;pointer-events:none}.eae-info-circle:after{content:"";display:block;padding-top:100%}.eae-info-circle .eae-ic-icon-wrap{position:absolute;display:inline-block;top:50%;left:50%;z-index:2;line-height:1em;vertical-align:middle;overflow:hidden;max-width:100%}.eae-info-circle .eae-info-circle-item{top:0;left:0;width:100%;height:100%;display:block}.eae-info-circle .eae-info-circle-item.eae-active .eae-info-circle-item__content-wrap{visibility:visible;opacity:1;display:flex}.eae-info-circle .eae-info-circle-item__content-wrap{visibility:visible;display:none;height:91%;width:91%;opacity:0;top:50%;transform:translateY(-50%) translateX(-50%);position:absolute;left:50%;border-radius:50%;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.eae-info-circle .eae-info-circle-item__content-wrap:before{content:"";display:inline-block;height:100%;vertical-align:middle}.eae-info-circle .eae-info-circle-item__content{display:inline-block;top:50%;transform:translateY(-50%) translateX(-50%);position:absolute;left:50%;vertical-align:middle;z-index:1;max-height:100%;overflow:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-align:center;width:75%}@media screen and (max-width:767px){.eae-info-circle.eae-info-circle .eae-info-circle-item__content-wrap:before{display:none}.eae-info-circle:after,.eae-info-circle:before{display:none}.eae-info-circle{width:100%!important}.eae-info-circle-wrapper:after,.eae-info-circle-wrapper:before{display:none}.eae-info-circle .eae-ic-icon-wrap{display:block;text-align:center;position:relative!important;left:unset!important;margin-left:0!important;margin-top:0!important;margin-bottom:10px}.eae-info-circle-item{position:relative!important;border-radius:0!important;padding:0;margin:10px 0}.eae-info-circle .eae-info-circle-item__content-wrap{visibility:visible;opacity:1!important;display:flex!important;border-radius:0!important;border:none!important;margin:0!important;padding-right:0!important;padding-left:0!important;padding-bottom:0!important;width:100%;height:auto;line-height:1.5em;position:relative;top:unset;left:unset;transform:unset}.eae-info-circle .eae-info-circle-item__content{position:relative;top:unset;left:unset;transform:unset;width:100%;padding:10px}}.eae-icon-wrap i{height:1.25em;width:1.25em;line-height:1.25em;display:block}.eae-icon-wrap i img{top:50%;left:50%;transform:translateX(-50%) translateY(-50%);position:absolute}.eae-icon{display:inline-block;text-align:center;vertical-align:middle;max-width:100%;overflow:hidden;padding:10px}.eae-icon-shape-circle:not(.elementor-element){border-radius:50%}.eae-icon-view-framed:not(.elementor-element){border-width:1px;border-style:solid}.eae-icon-wrapper{display:flex}.eae-icon-wrapper .eae-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);line-height:1}.eae-timeline{position:relative;display:inline-block;width:100%}.eae-timline-progress-bar{width:4px;background-color:#f45b69;top:0;bottom:50px;position:absolute;transform:translateX(-50%)}.eae-timeline-item{position:relative;display:flex;flex-direction:row;padding-bottom:50px}.eae-timeline-item:last-child{padding-bottom:0!important}.eae-tl-top .eae-timeline-item{align-items:flex-start}.eae-tl-top .eae-tl-item-content::before{top:10px}.eae-timeline-item.image-position-row .eae-tl-item-image,.eae-timeline-item.image-position-row-reverse .eae-tl-item-image{margin-top:0;margin-bottom:0}.eae-tl-item-meta-wrapper-inner{display:none}.eae-tl-bottom .eae-timeline-item{align-items:flex-end}.eae-tl-bottom .eae-tl-item-content::before{bottom:10px}.eae-tl-center .eae-timeline-item{align-items:center}.eae-tl-center .eae-tl-item-content::before{bottom:calc(50% - 5px)}.eae-layout-center .eae-timline-progress-bar{left:50%}.eae-layout-center .eae-timeline-item:nth-child(odd){flex-direction:row-reverse}.eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-item-meta-wrapper{margin-right:0;margin-left:0;justify-content:flex-start}body.rtl[data-elementor-device-mode=tablet] .eae-layout-center .eae-timeline-item:nth-child(even) .eae-tl-content-wrapper,body:not(.rtl)[data-elementor-device-mode=tablet] .eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-content-wrapper{padding-right:20px;padding-left:0}body.rtl[data-elementor-device-mode=tablet] .eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-content-wrapper,body:not(.rtl)[data-elementor-device-mode=tablet] .eae-layout-center .eae-timeline-item:nth-child(even) .eae-tl-content-wrapper{padding-right:0;padding-left:20px}body:not(.rtl) .eae-layout-left .eae-tl-content-wrapper{padding-right:10px;padding-left:20px}body.rtl .eae-layout-left .eae-tl-content-wrapper{padding-right:20px;padding-left:10px}.eae-layout-left .eae-timline-progress-bar{display:none}.eae-layout-left .eae-tl-item-meta-wrapper{display:none}.eae-layout-left .eae-tl-item-meta-wrapper-inner{display:block}.eae-layout-right .eae-timline-progress-bar{display:none}body:not(.rtl) .eae-layout-right .eae-tl-content-wrapper{padding-right:20px;padding-left:10px}body.rtl .eae-layout-right .eae-tl-content-wrapper{padding-right:10px;padding-left:20px}.eae-layout-right .eae-tl-icon-wrapper{order:3}.eae-layout-right .eae-tl-item-meta-wrapper{display:none}.eae-layout-right .eae-tl-item-meta-wrapper-inner{display:block}.eae-tl-item-meta-wrapper{flex-grow:1;order:0;flex-basis:50%;flex-direction:initial;justify-content:flex-end;display:flex;align-items:center;margin-right:0}.eae-tl-item-meta{padding:0 20px}.eae-tl-icon-wrapper{height:auto;width:auto;flex-grow:0;flex-shrink:0;order:1;margin-left:0;margin-right:0;min-width:10px;min-height:10px;border-radius:999px;position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.eae-tl-content-wrapper{flex-grow:1;order:2;flex-basis:50%;position:relative;padding-right:0;padding-left:20px}.eae-tl-item-content{background:#f4f4f4;padding:25px;overflow:hidden;text-align:center;display:flex;flex-direction:row}.eae-tl-content{display:inline-block;position:relative;padding:10px;width:100%;color:#000}.eae-timeline-item.custom-image-style-yes.image-position-row .eae-content-inner,.eae-timeline-item.custom-image-style-yes.image-position-row-reverse .eae-content-inner,.image-position-row .eae-timeline .eae-timeline-item:not(.custom-image-style-yes) .eae-content-inner,.image-position-row-reverse .eae-timeline .eae-timeline-item:not(.custom-image-style-yes) .eae-content-inner{position:relative;left:50%;top:50%;transform:translate(-50%,-50%);line-height:1;width:100%}.custom-image-style-.image-position-row .eae-content-inner,.custom-image-style-.image-position-row-reverse .eae-content-inner,.custom-image-style-no.image-position-row .eae-content-inner,.custom-image-style-no.image-position-row-reverse .eae-content-inner{left:unset;top:unset;transform:unset}.eae-tl-item-image{display:inline-block}.image-position-row .eae-tl-item-image img,.image-position-row-reverse .eae-tl-item-image img{object-fit:cover;height:100%!important}.image-position-row .eae-tl-item-image,.image-position-row-reverse .eae-tl-item-image{margin:0}.image-position-column .eae-tl-item-image{margin:auto}.custom-image-style-.image-position-column .eae-tl-item-image,.custom-image-style-no.image-position-column .eae-tl-item-image{margin:0 auto}.eae-pb-inner-line{width:100%;background-color:#3d5ac3}.eae-tl-item-content::before{content:"";position:absolute;width:0;height:0;border-style:solid;border-width:8px 16px 8px 0;border-color:transparent #f4f4f4 transparent transparent}.eae-icon-wrapper{display:flex}.elementor-widget-bpel-timeline .eae-icon-wrapper{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);line-height:1}.eae-tl-read-more{display:inline-block;padding:5px;border:2px solid #000}.image-position-row .eae-timeline.eae-timeline-alternate-yes .eae-timeline-item:nth-child(odd):not(.custom-image-style-yes) .eae-tl-item-content{flex-direction:row-reverse!important}.image-position-row-reverse .eae-timeline.eae-timeline-alternate-yes .eae-timeline-item:nth-child(odd):not(.custom-image-style-yes) .eae-tl-item-content{flex-direction:row!important}@media screen and (min-width:1024px){.eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-content-wrapper,body.rtl .eae-layout-center .eae-timeline-item:nth-child(even) .eae-tl-content-wrapper{padding-right:20px;padding-left:0}.eae-layout-center .eae-timeline-item:nth-child(even) .eae-tl-content-wrapper,body.rtl .eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-content-wrapper{padding-right:0;padding-left:20px}.eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,.eae-layout-right .eae-tl-item-content::before,body.rtl .eae-layout-center .eae-timeline-item:nth-child(even) .eae-tl-item-content::before,body.rtl .eae-layout-left .eae-tl-item-content::before{right:4px;left:unset;border-width:8px 0 8px 16px;border-color:transparent transparent transparent #f4f4f4}.eae-layout-center .eae-timeline-item:nth-child(even) .eae-tl-item-content::before,.eae-layout-left .eae-tl-item-content::before,body.rtl .eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,body.rtl .eae-layout-right .eae-tl-item-content::before{left:4px;right:unset;border-width:8px 16px 8px 0;border-color:transparent #f4f4f4 transparent transparent}}@media screen and (max-width:1023px) and (min-width:768px){.image-position-row .eae-timeline.eae-timeline-alternate-yes .eae-timeline-item:nth-child(odd):not(.custom-image-style-yes) .eae-tl-item-content{flex-direction:row-reverse!important}.image-position-row-reverse .eae-timeline.eae-timeline-alternate-yes .eae-timeline-item:nth-child(odd):not(.custom-image-style-yes) .eae-tl-item-content{flex-direction:row!important}.eae-tl-res-style-mobile-tablet .eae-tl-item-meta-wrapper{display:none}.eae-tl-res-style-mobile-tablet .eae-tl-item-meta-wrapper-inner{display:block}.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item{flex-direction:row!important}.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item{flex-direction:row-reverse!important}.eae-layout-center.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item .eae-tl-item-content::before,.eae-timeline.eae-layout-center.eae-tl-res-style-mobile .eae-timeline-item:nth-child(even) .eae-tl-item-content::before,body.rtl .eae-layout-center.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before,body.rtl .eae-layout-right .eae-timeline-item .eae-tl-item-content::before,body.rtl .eae-layout-right .eae-tl-item-content::before,body.rtl .eae-timeline.eae-layout-center.eae-tl-res-style-mobile .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,body:not(.rtl) .eae-layout-left .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-layout-left .eae-tl-item-content::before{left:4px!important;border-width:8px 16px 8px 0!important;border-color:transparent #f4f4f4 transparent transparent!important}body.rtl .eae-timeline.eae-layout-center.eae-tl-res-style-mobile .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before{left:4px!important;right:unset!important;border-width:8px 16px 8px 0!important;border-color:transparent #f4f4f4 transparent transparent!important}.eae-timeline.eae-layout-center.eae-tl-res-style-mobile .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,body.rtl .eae-layout-center.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item .eae-tl-item-content::before,body.rtl .eae-layout-left .eae-timeline-item .eae-tl-item-content::before,body.rtl .eae-layout-left .eae-tl-item-content::before,body.rtl .eae-timeline.eae-layout-center.eae-tl-res-style-mobile .eae-timeline-item:nth-child(even) .eae-tl-item-content::before,body:not(.rtl) .eae-layout-center.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-layout-right .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-layout-right .eae-tl-item-content::before,body:not(.rtl) .eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before{right:4px!important;border-width:8px 0 8px 16px!important;border-color:transparent transparent transparent #f4f4f4!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper,body.rtl .eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper{padding-right:0!important;padding-left:20px!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper,body.rtl .eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper{padding-right:20px!important;padding-left:0!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timline-progress-bar{left:13px}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timline-progress-bar{left:calc(100% - 13px)}}@media screen and (max-width:767px){.eae-tl-item-meta-wrapper{display:none}.eae-tl-item-meta-wrapper-inner{display:block}.elementor-widget-bpel-timeline:not(.image-position-column) .eae-timeline .eae-tl-item-content{flex-direction:column-reverse!important}.eae-tl-item-image,.elementor-widget-bpel-timeline:not(.image-position-column) .eae-tl-content{width:100%!important}.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item,.eae-tl-res-style-mobile.eae-tl-res-layout-left .eae-timeline-item{flex-direction:row!important}.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item,.eae-tl-res-style-mobile.eae-tl-res-layout-right .eae-timeline-item{flex-direction:row-reverse!important}.eae-timeline.eae-layout-center.eae-tl-center.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,.eae-timeline.eae-layout-center.eae-tl-center.eae-tl-res-style-mobile.eae-tl-res-layout-left .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,body.rtl .eae-timeline.eae-layout-right .eae-timeline-item .eae-tl-item-content::before,body.rtl .eae-timeline.eae-tl-res-style-mobile.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-layout-left .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-tl-res-style-mobile.eae-tl-res-layout-left .eae-timeline-item .eae-tl-item-content::before{left:4px!important;border-width:8px 16px 8px 0!important;border-color:transparent #f4f4f4 transparent transparent!important}body.rtl .eae-layout-left .eae-timeline-item .eae-tl-item-content::before,body.rtl .eae-tl-res-style-mobile.eae-tl-res-layout-left .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-layout-right .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before,body:not(.rtl) .eae-tl-res-style-mobile.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before{right:4px!important;border-width:8px 0 8px 16px!important;border-color:transparent transparent transparent #f4f4f4!important}.eae-timeline.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper,body:not(.rtl) .eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper body.rtl .eae-timeline.eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper,body:not(.rtl) .eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper{padding-right:0!important;padding-left:20px!important}body.rtl .eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper,body.rtl .eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper,body:not(.rtl) .eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper,body:not(.rtl) .eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper{padding-right:20px!important;padding-left:0!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timline-progress-bar,.eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-left .eae-timline-progress-bar{left:13px}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timline-progress-bar,.eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-right .eae-timline-progress-bar{left:calc(100% - 13px)}body.rtl .eae-layout-center.eae-timeline.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper .eae-tl-item-content::before{left:4px;right:unset}body.rtl .eae-layout-center.eae-timeline.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper .eae-tl-item-content::before{left:unset;right:4px;border-width:8px 0 8px 16px!important;border-color:transparent transparent transparent #f4f4f4!important}}[data-element_type="eae-evergreen-timer.skin1"] .eae-evergreen-wrapper{display:block;text-align:center}[data-element_type="eae-evergreen-timer.skin1"] #eaeclockdiv{font-family:sans-serif;color:#fff;display:inline-block;font-weight:100;text-align:center;font-size:30px}[data-element_type="eae-evergreen-timer.skin1"] .eae-time-wrapper{padding:10px;border-radius:3px;background:#00bf96;display:inline-block;overflow:hidden}[data-element_type="eae-evergreen-timer.skin1"] #eaeclockdiv div>span{padding:15px;width:100%;background:#00816a;display:inline-block}[data-element_type="eae-evergreen-timer.skin1"] .smalltext{padding:7px;font-size:16px}[data-element_type="eae-evergreen-timer.skin1"] .eae-egt-hide{display:none}.eae-egt-message{display:none}@media screen and (max-width:767px){[data-element_type="eae-evergreen-timer.skin1"] #eaeclockdiv div>span{padding:5px}[data-element_type="eae-evergreen-timer.skin1"] .eae-time-wrapper{padding:5px}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-o-backface-visibility:hidden;backface-visibility:hidden}[data-element_type="eae-evergreen-timer.skin2"] .eae-evergreen-wrapper{display:inline-block;width:100%;text-align:center;margin:auto}[data-element_type="eae-evergreen-timer.skin2"] .timer-container{display:inline-block}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper a{cursor:pointer;text-decoration:none;color:#ccc}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper a:hover{color:#fff}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul{list-style:none}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper.clearfix:after,[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper.clearfix:before{content:" ";display:table}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper.clearfix:after{clear:both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper{font:normal 11px "Helvetica Neue",Helvetica,sans-serif;-webkit-user-select:none}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-meridium{background:0 0!important;box-shadow:0 0 0!important;font-size:36px!important}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-meridium a{color:#313333}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper{text-align:center;position:relative;width:100%;margin:1em}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper:after,[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper:before{content:" ";display:table}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper:after{clear:both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul{position:relative;float:left;margin:5px;width:60px;height:90px;font-size:80px;font-weight:700;line-height:87px;border-radius:6px;background:#000}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li{z-index:1;position:absolute;left:0;top:0;width:100%;height:100%;line-height:87px;text-decoration:none!important}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li:first-child{z-index:2}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a{display:block;height:100%;-webkit-perspective:200px;-moz-perspective:200px;perspective:200px;margin:0!important;overflow:visible!important;cursor:default!important}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div{z-index:1;position:absolute;left:0;width:100%;height:50%;font-size:80px;overflow:hidden;outline:1px solid transparent}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div .shadow{position:absolute;width:100%;height:100%;z-index:2}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.up{-webkit-transform-origin:50% 100%;-moz-transform-origin:50% 100%;-ms-transform-origin:50% 100%;-o-transform-origin:50% 100%;transform-origin:50% 100%;top:0}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.up:after{content:"";position:absolute;top:44px;left:0;z-index:5;width:100%;height:3px;background-color:#000;background-color:rgba(0,0,0,.4)}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.down{-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;-o-transform-origin:50% 0;transform-origin:50% 0;bottom:0;border-bottom-left-radius:6px;border-bottom-right-radius:6px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div div.inn{position:absolute;left:0;z-index:1;width:100%;height:200%;color:#ccc;text-shadow:0 1px 2px #000;text-align:center;background-color:#333;border-radius:6px;font-size:70px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.up div.inn{top:0}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.down div.inn{bottom:0}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-before{z-index:3}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper .flip{box-shadow:0 2px 5px rgba(0,0,0,.7)}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-active{-webkit-animation:asd 10ms .49s linear both;-moz-animation:asd 10ms .49s linear both;animation:asd 10ms .49s linear both;z-index:5}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider{float:left;display:inline-block;position:relative;width:20px;height:100px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider:first-child{width:0}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-dot{display:block;background:#323434;width:10px;height:10px;position:absolute;border-radius:50%;box-shadow:0 0 5px rgba(0,0,0,.5);left:5px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider .flip-clock-label{position:absolute;top:-1.5em;right:-86px;color:#000;text-shadow:none}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider.minutes .flip-clock-label{right:-88px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider.seconds .flip-clock-label{right:-91px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-dot.top{top:30%}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-dot.bottom{bottom:30%}@-webkit-keyframes asd{0%{z-index:2}100%{z-index:4}}@-moz-keyframes asd{0%{z-index:2}100%{z-index:4}}@-o-keyframes asd{0%{z-index:2}100%{z-index:4}}@keyframes asd{0%{z-index:2}100%{z-index:4}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-active .down{z-index:2;-webkit-animation:turn .5s .5s linear both;-moz-animation:turn .5s .5s linear both;animation:turn .5s .5s linear both}@-webkit-keyframes turn{0%{-webkit-transform:rotateX(90deg)}100%{-webkit-transform:rotateX(0)}}@-moz-keyframes turn{0%{-moz-transform:rotateX(90deg)}100%{-moz-transform:rotateX(0)}}@-o-keyframes turn{0%{-o-transform:rotateX(90deg)}100%{-o-transform:rotateX(0)}}@keyframes turn{0%{transform:rotateX(90deg)}100%{transform:rotateX(0)}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-before .up{z-index:2;-webkit-animation:turn2 .5s linear both;-moz-animation:turn2 .5s linear both;animation:turn2 .5s linear both}@-webkit-keyframes turn2{0%{-webkit-transform:rotateX(0)}100%{-webkit-transform:rotateX(-90deg)}}@-moz-keyframes turn2{0%{-moz-transform:rotateX(0)}100%{-moz-transform:rotateX(-90deg)}}@-o-keyframes turn2{0%{-o-transform:rotateX(0)}100%{-o-transform:rotateX(-90deg)}}@keyframes turn2{0%{transform:rotateX(0)}100%{transform:rotateX(-90deg)}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li.flip-clock-active{z-index:3}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-before .up .shadow{background:-moz-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(0,0,0,.1)),color-stop(100%,#000));background:linear,top,rgba(0,0,0,.1) 0,#000 100%;background:-o-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-ms-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:linear,to bottom,rgba(0,0,0,.1) 0,#000 100%;-webkit-animation:show .5s linear both;-moz-animation:show .5s linear both;animation:show .5s linear both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-active .up .shadow{background:-moz-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(0,0,0,.1)),color-stop(100%,#000));background:linear,top,rgba(0,0,0,.1) 0,#000 100%;background:-o-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-ms-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:linear,to bottom,rgba(0,0,0,.1) 0,#000 100%;-webkit-animation:hide .5s .3s linear both;-moz-animation:hide .5s .3s linear both;animation:hide .5s .3s linear both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-before .down .shadow{background:-moz-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#000),color-stop(100%,rgba(0,0,0,.1)));background:linear,top,#000 0,rgba(0,0,0,.1) 100%;background:-o-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-ms-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:linear,to bottom,#000 0,rgba(0,0,0,.1) 100%;-webkit-animation:show .5s linear both;-moz-animation:show .5s linear both;animation:show .5s linear both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-active .down .shadow{background:-moz-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#000),color-stop(100%,rgba(0,0,0,.1)));background:linear,top,#000 0,rgba(0,0,0,.1) 100%;background:-o-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-ms-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:linear,to bottom,#000 0,rgba(0,0,0,.1) 100%;-webkit-animation:hide .5s .3s linear both;-moz-animation:hide .5s .3s linear both;animation:hide .5s .2s linear both}@-webkit-keyframes show{0%{opacity:0}100%{opacity:1}}@-moz-keyframes show{0%{opacity:0}100%{opacity:1}}@-o-keyframes show{0%{opacity:0}100%{opacity:1}}@keyframes show{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes hide{0%{opacity:1}100%{opacity:0}}@-moz-keyframes hide{0%{opacity:1}100%{opacity:0}}@-o-keyframes hide{0%{opacity:1}100%{opacity:0}}@keyframes hide{0%{opacity:1}100%{opacity:0}}@media screen and (max-width:767px){[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider{width:15px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-dot{height:5px;width:5px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul{height:40px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider{height:50px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li{line-height:37px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div div.inn{font-size:24px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul{margin:2px}}[data-element_type="eae-evergreen-timer.skin3"] #timer{font-family:sans-serif;color:#fff;display:inline-block;font-weight:100;text-align:center;font-size:30px}[data-element_type="eae-evergreen-timer.skin3"] .desc{display:flex;justify-content:center}[data-element_type="eae-evergreen-timer.skin3"].eae-egt-content-align-right .desc{justify-content:flex-end}[data-element_type="eae-evergreen-timer.skin3"].eae-egt-content-align-left .desc{justify-content:flex-start}[data-element_type="eae-evergreen-timer.skin3"] .desc .egt-time-text{display:inline-block;padding:0 50px 0 50px}[data-element_type="eae-evergreen-timer.skin3"] .eae-time-wrapper{padding:50px;border-radius:3px;background:#00bf96;display:inline-block;overflow:hidden;margin:5px;line-height:1em}[data-element_type="eae-evergreen-timer.skin3"] #timer span:nth-child(1){background:khaki}[data-element_type="eae-evergreen-timer.skin3"] #timer span:nth-child(2){background:#cd5c5c}[data-element_type="eae-evergreen-timer.skin3"] #timer span:nth-child(3){background:#5f9ea0}[data-element_type="eae-evergreen-timer.skin3"] #timer span:nth-child(4){background:#6495ed}[data-element_type="eae-evergreen-timer.skin3"] .fade{animation:flip .7s ease forwards}@keyframes flip{0%{transform:rotateY(0) scaleY(1.1);opacity:.5}50%{transform:rotateY(180deg) scaleY(1.3);opacity:0}100%{transform:rotateY(0);opacity:1}}@media screen and (max-width:767px){[data-element_type="eae-evergreen-timer.skin3"] #timer span{font-size:22px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider .flip-clock-label{top:-1.5em;right:-42px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider.minutes .flip-clock-label{right:-48px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider.seconds .flip-clock-label{right:-51px}}[data-element_type="eae-evergreen-timer.skin4"] .eae-evergreen-wrapper{width:100%}[data-element_type="eae-evergreen-timer.skin4"] .container{margin:0 auto}[data-element_type="eae-evergreen-timer.skin4"] .special{position:relative;width:840px;height:47px}[data-element_type="eae-evergreen-timer.skin4"] #counter{position:absolute;z-index:4000}[data-element_type="eae-evergreen-timer.skin4"] .digit-separator{position:relative;float:left;width:17px;height:44px;overflow:hidden;background-image:url(../digit-sep-svg.svg);background-repeat:no-repeat;background-position:0 0;background-color:#4054b2}[data-element_type="eae-evergreen-timer.skin4"] .digit{background-image:url(../digits-svg-alpha.svg);background-color:#4054b2}.eae-ct-wrapper *{box-sizing:border-box;margin:0;outline:0}article.eae-ct-wrapper{width:100%;max-width:1000px;margin:0 auto;position:relative}.eae-ct-wrapper tbody tr.eae-ct-header td,.eae-ct-wrapper th{position:relative}.eae-ct-wrapper ul{display:none;top:0;z-index:10;padding-bottom:14px}.eae-ct-wrapper li{list-style:none;flex:1;position:relative}.eae-ct-wrapper li:hover{cursor:pointer}.eae-ct-wrapper .eae-ct-heading{width:100%;padding:10px;background:#fff;font-size:20px;font-weight:700;height:60px;color:#999;text-align:center}.eae-ct-wrapper li.eae-ct-heading .eae-ct-heading-inner{position:absolute;align-self:center;top:50%;left:50%;transform:translate(-50%,-50%);width:100%}.eae-ct-wrapper li.eae-ct-heading.active{background:#f5f5f5}.eae-ct-wrapper table{border-collapse:collapse;table-layout:fixed;width:100%}.eae-ct-wrapper th{background:#f5f5f5;display:none}.eae-ct-wrapper td,.eae-ct-wrapper th{height:53px;vertical-align:middle}.eae-ct-wrapper table{border:none}.eae-ct-wrapper table td,.eae-ct-wrapper table th{border:none}.eae-ct-wrapper table tr td:first-child,.eae-ct-wrapper table tr td:last-child,.eae-ct-wrapper td,.eae-ct-wrapper th{padding:10px;empty-cells:show}.eae-ct-wrapper td,.eae-ct-wrapper th{text-align:center}.eae-ct-wrapper td+td,.eae-ct-wrapper th+th{text-align:center}.eae-ct-wrapper tr:first-child{background:0 0!important}.eae-ct-wrapper ul li:nth-child(1){display:table-cell}.eae-ct-wrapper tr td:nth-child(2){display:table-cell}.eae-ct-wrapper td:nth-child(1){display:table-cell}.eae-ct-wrapper td{display:none}.eae-ct-wrapper .sep{background:#f5f5f5;font-weight:700}.eae-ct-price-wrapper{display:flex;justify-content:center}.eae-ct-tt-type-icon .eae-ct-feature .tooltip{float:right}.eae-ct-wrapper .tooltiptext::before{content:"";border-width:5px 5px 0 5px;border-color:#fff;border-left-color:transparent;border-right-color:transparent;border-bottom-color:transparent;bottom:-10px;width:0;height:0;border-style:solid;position:absolute;margin:5px;left:42%}.eae-ct-wrapper .eae-ct-price{font-size:28px;font-weight:700;line-height:1em}.eae-ct-wrapper .eae-ct-currency{align-self:flex-start;margin-right:3px}.eae-ct-wrapper .eae-ct-fractional-price{align-self:flex-start;margin-left:3px}.eae-ct-wrapper .eae-ct-duration{align-self:flex-start}.eae-ct-wrapper .eae-ct-original-price{margin-right:5px;text-decoration:line-through;align-self:flex-end}.eae-ct-wrapper .tick{font-size:18px;color:#2ca01c}.feature-heading-blank.eae-ct-wrapper .hide{border:unset!important;background:unset!important}.eae-ct-wrapper .hide.eae-ct-hide.eae-fbox-heading{border:0 solid #000}.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper{position:absolute;top:0;width:100px;overflow:hidden;height:100px;z-index:998;padding:8px 12px}.eae-ct-ribbons-h-top.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper{position:absolute;top:0;width:100%;overflow:hidden;height:50px;z-index:999;padding:8px 12px}.eae-ct-ribbons-h-top.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper-top{background-color:rgba(63,195,135,.8);color:#fff;transform:translateY(-100%);position:absolute;width:100%;top:0;left:0}.eae-ct-ribbons-h-left.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);left:0;right:auto}.eae-ct-ribbons-h-right.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(90deg);left:auto;right:0}.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper span.eae-ct-ribbons-inner{position:absolute;text-align:center;left:0;top:0;width:200%;-webkit-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);-ms-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);margin-top:35px;font-size:13px;line-height:2;font-weight:800;text-transform:uppercase;background:rgba(63,195,135,.8);padding:8px 12px;color:#fff}.eae-ct-wrapper .tooltip{position:relative;display:inline-block}.eae-ct-wrapper .tooltip .tooltiptext{visibility:hidden;min-width:120px;background-color:#000;color:#fff;text-align:center;border-radius:6px;padding:5px 0;position:absolute;z-index:1;bottom:120%;left:50%;margin-left:-60px}.eae-ct-wrapper .tooltip:hover .tooltiptext{visibility:visible}.eae-ct-heading-tooltip{text-decoration-line:underline;text-decoration-style:dotted}.eae-ct-btn{padding:10px 15px 10px 15px;color:#fff;display:inline-block;line-height:1em}.eae-ct-btn:hover{color:#fff}.eae-ct-wrapper i.fa.fa-check,.eae-ct-wrapper i.fas.fa-check{color:#38f146}.eae-ct-wrapper i.fa.fa-close,.eae-ct-wrapper i.fas.fa-times{color:red}.button-heading-blank.eae-ct-wrapper tr:last-child td:first-child{background:0 0!important;border:none!important}.eae-ct-wrapper tr:last-child{background:0 0!important}.eae-ct-wrapper tbody tr:nth-child(2){background:0 0!important}@media (min-width:767px){.eae-ct-wrapper .eae-ct-header,.eae-ct-wrapper td{width:330px}.eae-ct-wrapper td+td,.eae-ct-wrapper th+th{width:auto}}.eae-tab-format-all .eae-ct-wrapper ul{display:flex}.hide.eae-ct-hide{display:table-cell}@media (min-width:1023px){.eae-tab-format-all tbody tr.eae-ct-header{display:none}.eae-tab-format-mobile .eae-ct-wrapper td,.eae-tab-format-mobile .eae-ct-wrapper th,.eae-tab-format-tab-mob .eae-ct-wrapper td,.eae-tab-format-tab-mob .eae-ct-wrapper th{display:table-cell!important}.eae-tab-format-all .hide.eae-ct-hide{display:table-cell}.eae-tab-format-mobile .hide.eae-ct-hide,.eae-tab-format-tab-mob .hide.eae-ct-hide{display:none!important}}@media (max-width:1023px){.eae-tab-format-tab-mob .eae-ct-wrapper ul{display:flex}.eae-tab-format-all tbody tr.eae-ct-header,.eae-tab-format-tab-mob tbody tr.eae-ct-header{display:none}.eae-tab-format-all .hide.eae-ct-hide{display:table-cell}.eae-tab-format-tab-mob .hide.eae-ct-hide{display:table-cell}}@media (max-width:1023px) and (min-width:768px){.eae-tab-format-mobile .eae-ct-wrapper td,.eae-tab-format-mobile .eae-ct-wrapper th{display:table-cell!important}.eae-tab-format-all tbody tr.eae-ct-header,.eae-tab-format-tab-mob tbody tr.eae-ct-header{display:none}.eae-tab-format-tab-mob .hide.eae-ct-hide{display:table-cell}}@media (max-width:767px){.eae-tab-format-mobile .eae-ct-wrapper ul{display:flex}.eae-tab-format-mobile tbody tr.eae-ct-header{display:none}.eae-tab-format-all tbody tr.eae-ct-header,.eae-tab-format-mobile tbody tr.eae-ct-header{display:none}.eae-tab-format-mobile .hide.eae-ct-hide{display:table-cell}}td.eae-ct-feature .tooltip{opacity:1}.eae-progress-bar-wrapper{display:flex;flex-direction:column;align-items:flex-start;margin:15px 0}.eae-progress-bar-wrapper.eae-progress-bar{width:100%;position:relative;box-sizing:border-box}.eae-pb-bar,.eae-pb-bar-inner,.eae-pb-bar-skill,.eae-pb-bar-value{box-sizing:border-box}.eae-pb-bar{position:relative;height:100%;width:100%;overflow:hidden}.eae-pb-bar--no-overflow{overflow:visible}.eae-pb-bar-inner{position:absolute;top:0;left:0;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:left center;transform-origin:left center}body.rtl .eae-pb-bar .eae-pb-bar-inner{position:absolute;top:0;right:0!important;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:right center;transform-origin:right center}.eae-pb-bar-inner.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:cubic-bezier(.1,1.14,.31,1.06);transition-delay:1.5s;-webkit-transform:scaleX(1);transform:scaleX(1)}body.rtl .eae-pb-bar .eae-pb-bar-inner.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:cubic-bezier(.1,1.14,.31,1.06);transition-delay:1.5s;-webkit-transform:scaleX(1);transform:scaleX(1)}.eae-pb-bar-skill,.eae-pb-bar-value{font-size:14px;letter-spacing:1px}body:not(.rtl) .eae-pb-bar-value--aligned-value{-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.rtl .eae-pb-bar-value--aligned-value{-webkit-transform:translateX(50%);transform:translateX(50%)}.eae-progress-bar-skin1{height:20px;padding:4px;border:1px solid #ddd;border-radius:20px}.eae-pb-bar-skin1{border-radius:20px}.eae-pb-bar-inner-skin1{background-color:#00bfb3;background-size:200%;background-position:0 0;border-radius:20px}.eae-pb-bar-skill-skin1{position:absolute;bottom:20px;left:0;opacity:0}body.rtl .eae-pb-bar-skill-skin1{right:0}.eae-pb-bar-skill-skin1.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;left:0;opacity:1}body.rtl .eae-pb-bar-skill-skin1.js-animated{right:0!important}.eae-pb-bar-value-skin1{position:absolute;bottom:20px;opacity:1}body:not(.rtl) .eae-pb-bar-value-skin1{right:0}body.rtl .eae-pb-bar-value-skin1{left:0!important}.eae-pb-bar-value-skin1.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;opacity:1}body:not(.rtl) .eae-pb-bar-value-skin1.js-animated{right:0}.eae-progress-bar-skin2{height:15px;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);border-radius:3px}@-webkit-keyframes progress-2-bg-animation-rtl{100%{background-position:0 0,0 0}0%{background-position:0 0,42px 0}}@keyframes progress-2-bg-animation-rtl{100%{background-position:0 0,0 0}0%{background-position:0 0,42px 0}}@-webkit-keyframes progress-2-bg-animation{0%{background-position:0 0,0 0}1000%{background-position:0 0,42px 0}}@keyframes progress-2-bg-animation{0%{background-position:0 0,0 0}100%{background-position:0 0,42px 0}}.eae-pb-bar-inner-skin2{background-image:linear-gradient(to top,rgba(255,255,255,.15),rgba(0,0,0,.2)),linear-gradient(135deg,#5eeb5b,#5eeb5b 33%,#358600 33%,#358600 66%,#5eeb5b 66%);background-size:100% 100%,42px 100%;background-position:0 0,0 0;border-radius:3px}body:not(.rtl) .eae-pb-bar-inner-skin2.js-animated{-webkit-animation:progress-2-bg-animation 1.5s linear 0s infinite;animation:progress-2-bg-animation 1.5s linear 0s infinite}body.rtl .eae-pb-bar-inner-skin2.js-animated{-webkit-animation:progress-2-bg-animation-rtl 1.5s linear 0s infinite;animation:progress-2-bg-animation-rtl 1.5s linear 0s infinite}.eae-pb-bar-skill-skin2{position:absolute;opacity:0}body:not(.rtl) .eae-pb-bar-skill-skin2{left:0}body.rtl .eae-pb-bar-skill-skin2{right:0}.eae-pb-bar-skill-skin2.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;bottom:20px;opacity:1}.eae-pb-bar-value-skin2{position:absolute;opacity:0}body:not(.rtl) .eae-pb-bar-value-skin2{right:0}body.rtl .eae-pb-bar-value-skin2{left:0}.eae-pb-bar-value-skin2.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;bottom:20px;opacity:1}.eae-progress-bar-skin3{height:5px;background-color:#efefef}.eae-pb-bar-inner-skin3,.eae-pb-bar-value-skin3{background-color:#f40076}.eae-pb-bar-inner:after,.eae-pb-bar-value-skin3:after{border-top-color:#f40076}.eae-pb-bar-skill-skin3{position:absolute;bottom:10px;left:-10px;opacity:0}.eae-pb-bar-skill-skin3.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;opacity:1}body:not(.rtl) .eae-pb-bar-skill-skin3.js-animated{left:0}body.rtl .eae-pb-bar-skill-skin3.js-animated{right:0}.eae-pb-bar-value-skin3{position:absolute;display:inline-block;padding:0 8px;font-size:14px;color:#fff;opacity:0}.eae-pb-bar-value-skin3:after{position:absolute;left:50%;bottom:-10px;display:block;width:0;height:0;content:"";-webkit-transform:translateX(-50%);transform:translateX(-50%);border-width:5px;border-style:solid;border-color:#f40076 transparent transparent transparent}.eae-pb-bar-inner-skin3.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:cubic-bezier(.1,1.14,.31,1.06);transition-delay:1.5s;-webkit-transform:scaleX(1);transform:scaleX(1)}.eae-pb-bar-value-skin3.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:cubic-bezier(.1,1.14,.31,1.06);transition-delay:2s;bottom:14px;opacity:1}.eae-progress-bar-skin4{height:3px;background-color:#efefef}.eae-pb-bar-inner-skin4{background-color:#000}.eae-pb-bar-inner-skin4:after{position:absolute;top:50%;display:block;width:8px;height:8px;content:"";-webkit-transform:translateY(-50%);transform:translateY(-50%);background-color:#000;border-radius:50%}body:not(.rtl) .eae-pb-bar-inner-skin4:after{right:0}body.rtl .eae-pb-bar-inner-skin4:after{left:0}.eae-pb-bar-value-skin4{position:absolute;bottom:2px;font-size:14px;opacity:0}.eae-pb-bar-value-skin4.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:linear;transition-delay:1.5s;opacity:1}.eae-pb-bar-skill-skin4{position:absolute;bottom:2px;left:-20px;opacity:0}.eae-pb-bar-skill-skin4.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;opacity:1}body:not(.rtl) .eae-pb-bar-skill-skin4.js-animated{left:0}body.rtl .eae-pb-bar-skill-skin4.js-animated{right:0}.eae-progress-bar-skin5{height:30px;background-color:#f7f7f7}.eae-pb-bar-inner-skin5{background-color:#57b8ff}.eae-pb-bar-skill-skin5{position:absolute;top:50%;color:#fff;-webkit-transform:translateY(-50%);transform:translateY(-50%);opacity:0}body:not(.rtl) .eae-pb-bar-skill-skin5{left:10px}body:not(.rtl) .eae-pb-bar-skill-skin5{right:10px}.eae-pb-bar-skill-skin5.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;opacity:1}.eae-pb-bar-value-skin5{position:absolute;top:50%;color:#fff;opacity:0;z-index:10}body:not(.rtl) .eae-pb-bar-value-skin5{-webkit-transform:translateX(-100%) translateX(-10px) translateY(-50%);transform:translateX(-100%) translateX(-10px) translateY(-50%)}body.rtl .eae-pb-bar-value-skin5{-webkit-transform:translateX(100%) translateX(10px) translateY(-50%);transform:translateX(100%) translateX(10px) translateY(-50%)}.eae-pb-bar-value-skin5.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:linear;transition-delay:1.5s;opacity:1}.eae-dual-button-wrapper .eae-button-1-wrapper,.eae-dual-button-wrapper .eae-button-2-wrapper{overflow:hidden}.eae-dual-button-wrapper.button-style-horizontal{display:flex;flex-direction:row;position:relative}.eae-dual-button-main-wrapper{display:flex;flex-direction:row;justify-content:center}.eae-dual-button-wrapper a{min-width:0}.eae-dual-button-wrapper.button-style-vertical{display:inline-flex;flex-direction:column;position:relative}.eae-button-1.icon-before,.eae-button-2.icon-before{display:flex;flex-direction:row}body.rtl .eae-button-1.icon-before,body.rtl .eae-button-2.icon-before{display:flex;flex-direction:row-reverse}.eae-button-1.icon-after,.eae-button-2.icon-after{display:flex;flex-direction:row-reverse}body.rtl .eae-button-1.icon-after,body.rtl .eae-button-2.icon-after{display:flex;flex-direction:row}.eae-button-1-wrapper .eae-button-1,.eae-button-2-wrapper .eae-button-2{color:#000;align-items:center}.eae-button-1-wrapper:hover .eae-button-1,.eae-button-2-wrapper:hover .eae-button-2{color:#000}.eae-dual-button-wrapper.button-style-vertical .eae-button-1.icon-after,.eae-dual-button-wrapper.button-style-vertical .eae-button-1.icon-before,.eae-dual-button-wrapper.button-style-vertical .eae-button-2.icon-after,.eae-dual-button-wrapper.button-style-vertical .eae-button-2.icon-before{justify-content:center}.eae-button-1.icon-up,.eae-button-2.icon-up{display:flex;flex-direction:column;text-align:center}.eae-button-1.icon-down,.eae-button-2.icon-down{display:flex;flex-direction:column-reverse;text-align:center}.eae-button-1-wrapper{background:#ffb6c1;display:flex;justify-content:center;width:100%;line-height:1}.eae-button-2-wrapper{background:orange;display:flex;justify-content:center;width:100%;line-height:1}.eae-button-1.icon-up .icon-wrapper,.eae-button-2.icon-down .icon-wrapper,.eae-button-2.icon-up .icon-wrapper{text-align:center}.eae-button-1.icon-up .eae-button-text,.eae-button-2.icon-down .eae-button-text,.eae-button-2.icon-up .eae-button-text{text-align:center}.eae-button-1.icon-before i,.eae-button-2.icon-after i,.eae-button-2.icon-before i{align-self:center;margin:0 10px 0 0}.eae-button-1.icon-after i,.eae-button-2.icon-after i{align-self:center;margin:0 0 0 10px}.eae-button-1.icon-down i,.eae-button-1.icon-up i,.eae-button-2.icon-down i,.eae-button-2.icon-up i{align-self:center;margin:5px 0}.eae-dual-button-wrapper.button-style-horizontal .eae-button-1-wrapper,.eae-dual-button-wrapper.button-style-horizontal .eae-button-2-wrapper{padding:12px 30px}.eae-dual-button-wrapper.button-style-vertical .eae-button-1-wrapper,.eae-dual-button-wrapper.button-style-vertical .eae-button-2-wrapper{padding:20px 30px}.eae-button1,.eae-button2{position:relative;display:flex}.eae-dual-button-wrapper.button-style-horizontal .eae-button1,.eae-dual-button-wrapper.button-style-horizontal .eae-button2{min-width:150px}.eae-dual-button-wrapper.button-style-vertical .eae-button1{display:flex;flex-direction:column}.eae-button-separator-wrapper .eae-button-separator{width:40px;height:40px;line-height:40px;border-radius:50%;z-index:1;box-shadow:0 0 0 6px rgba(255,255,255,.2);background:#fafaf8;color:#444;text-transform:uppercase;text-align:center;vertical-align:middle;font-weight:400;font-size:14px;position:absolute;transform:translateY(-50%)}.eae-button-separator span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}body.rtl.elementor-editor-active .eae-dual-button-main-wrapper .button-style-horizontal .eae-button1 .eae-button-separator-wrapper.not-rtl .eae-button-separator{display:none!important}body:not(.rtl).elementor-editor-active .eae-dual-button-main-wrapper .button-style-horizontal .eae-button2 .eae-button-separator-wrapper.rtl .eae-button-separator,body:not(.rtl).elementor-editor-preview .eae-dual-button-main-wrapper .button-style-horizontal .eae-button2 .eae-button-separator-wrapper.rtl .eae-button-separator{display:none!important}.eae-sweep-right{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.3s;transition-duration:.3s}.eae-sweep-right:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:0 50%;transform-origin:0 50%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-sweep-right:active,.eae-sweep-right:focus,.eae-sweep-right:hover{color:#fff}.eae-sweep-right:active:before,.eae-sweep-right:focus:before,.eae-sweep-right:hover:before{-webkit-transform:scaleX(1);transform:scaleX(1)}.eae-sweep-left{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.3s;transition-duration:.3s}.eae-sweep-left:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:100% 50%;transform-origin:100% 50%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-sweep-left:active,.eae-sweep-left:focus,.eae-sweep-left:hover{color:#fff}.eae-sweep-left:active:before,.eae-sweep-left:focus:before,.eae-sweep-left:hover:before{-webkit-transform:scaleX(1);transform:scaleX(1)}.eae-sweep-bottom{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.3s;transition-duration:.3s}.eae-sweep-bottom:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-sweep-bottom:active,.eae-sweep-bottom:focus,.eae-sweep-bottom:hover{color:#fff}.eae-sweep-bottom:active:before,.eae-sweep-bottom:focus:before,.eae-sweep-bottom:hover:before{-webkit-transform:scaleY(1);transform:scaleY(1)}.eae-sweep-top{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.3s;transition-duration:.3s}.eae-sweep-top:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-sweep-top:active,.eae-sweep-top:focus,.eae-sweep-top:hover{color:#fff}.eae-sweep-top:active:before,.eae-sweep-top:focus:before,.eae-sweep-top:hover:before{-webkit-transform:scaleY(1);transform:scaleY(1)}.eae-bounce-right{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.5s;transition-duration:.5s}.eae-bounce-right:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:0 50%;transform-origin:0 50%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-bounce-right:active,.eae-bounce-right:focus,.eae-bounce-right:hover{color:#fff}.eae-bounce-right:active:before,.eae-bounce-right:focus:before,.eae-bounce-right:hover:before{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transition-timing-function:cubic-bezier(.52,1.64,.37,.66);transition-timing-function:cubic-bezier(.52,1.64,.37,.66)}.eae-bounce-left{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.5s;transition-duration:.5s}.eae-bounce-left:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:100% 50%;transform-origin:100% 50%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-bounce-left:active,.eae-bounce-left:focus,.eae-bounce-left:hover{color:#fff}.eae-bounce-left:active:before,.eae-bounce-left:focus:before,.eae-bounce-left:hover:before{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transition-timing-function:cubic-bezier(.52,1.64,.37,.66);transition-timing-function:cubic-bezier(.52,1.64,.37,.66)}.eae-bounce-bottom{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.5s;transition-duration:.5s}.eae-bounce-bottom:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-bounce-bottom:active,.eae-bounce-bottom:focus,.eae-bounce-bottom:hover{color:#fff}.eae-bounce-bottom:active:before,.eae-bounce-bottom:focus:before,.eae-bounce-bottom:hover:before{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition-timing-function:cubic-bezier(.52,1.64,.37,.66);transition-timing-function:cubic-bezier(.52,1.64,.37,.66)}.eae-bounce-top{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.5s;transition-duration:.5s}.eae-bounce-top:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-bounce-top:active,.eae-bounce-top:focus,.eae-bounce-top:hover{color:#fff}.eae-bounce-top:active:before,.eae-bounce-top:focus:before,.eae-bounce-top:hover:before{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition-timing-function:cubic-bezier(.52,1.64,.37,.66);transition-timing-function:cubic-bezier(.52,1.64,.37,.66)}.eae-markers .marker{display:none}.eae-markers p{margin-bottom:0}.eae-fg-wrapper{display:flex;flex-direction:column;overflow:hidden}.eae-gallery-filter{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.eae-filter-label{padding:5px 10px;background-color:#a0ce4e;color:#fff;margin:0 3px 0 3px}.eae-filter-label.current{background-color:#73b9dc}.eae-fg-image{display:flex;flex-wrap:wrap;flex-direction:row}.eae-fg-wrapper .eae-gallery-item-inner img{width:100%;height:auto;display:block!important;transition:all .5s ease;-webkit-transition:all .5s ease}.eae-gallery-item{height:auto}.eae-gallery-filter a{color:#fff;text-decoration:none}.eae-gallery-filter a.current{font-weight:700}.eae-gallery-item-inner{position:relative;overflow:hidden}.eae-overlay-always .eae-gallery-item .eae-grid-overlay{display:block}.eae-overlay-hover .eae-gallery-item-inner:hover .eae-grid-overlay{display:block}.eae-overlay-hide-on-hover .eae-gallery-item-inner:hover .eae-grid-overlay{display:none}.eae-overlay-hide-on-hover .eae-grid-overlay{display:block}.eae-grid-overlay{position:absolute;top:0;left:0;display:none;z-index:99;background:rgba(0,0,0,.5);height:100%;width:100%}.eae-grid-overlay-inner{display:block;position:relative;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.eae-fg-wrapper .eae-icon-wrapper{display:flex;justify-content:center}.eae-overlay-caption{display:block;line-height:1em;margin-top:15px;color:#73b9dc;font-size:20px}.eae-overlay-icon{line-height:1em;padding:.5em;display:inline-block}.eae-overlay-icon svg{height:auto}.eae-icon-view-framed .eae-overlay-icon{padding:.5em;color:#73b9dc;border:3px solid #73b9dc;background-color:transparent}.eae-icon-view-stacked .eae-overlay-icon{padding:.5em;color:#fff;background-color:#818a91}.eae-hover-direction-effect .eae-grid-overlay{position:absolute;z-index:99;background:rgba(0,0,0,.5);height:100%;width:100%}.eae-fg-wrapper.eae-image-ratio-yes .eae-gallery-item-inner .eae-fg-img-wrapper{position:relative;top:0;overflow:hidden;left:0;right:0;border:0}.eae-fg-wrapper.eae-image-ratio-yes .eae-gallery-item-inner .eae-fg-img-wrapper img{height:100%;width:100%;display:block;position:absolute;top:0;left:0;object-fit:cover}.wts-eae-ribbons-badges-wrapper{display:none}.wts-eae-enable-ribbons-badges-yes .elementor-column-wrap>.wts-eae-ribbons-badges-wrapper{display:block}.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-ribbon>.wts-eae-ribbons-badges-wrapper{position:absolute;top:0;left:auto;right:0;-ms-transform:rotate(90deg);width:150px;overflow:hidden;height:150px;z-index:999;padding:8px 12px}.wts-eae-badge-h-left.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-ribbon>.wts-eae-ribbons-badges-wrapper{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);left:0;right:auto}.wts-eae-badge-h-right.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-ribbon>.wts-eae-ribbons-badges-wrapper{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(90deg);left:auto;right:0}.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-ribbon>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{position:absolute;text-align:center;left:0;top:0;width:200%;-webkit-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);-ms-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);margin-top:35px;font-size:13px;line-height:2;font-weight:800;text-transform:uppercase;background:rgba(63,195,135,.8);padding:8px 12px}.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-badge>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{min-height:3.236em;min-width:3.236em;padding:0;font-size:1em;font-weight:700;position:absolute;text-align:center;line-height:3.236;top:-.5em;left:-.5em;margin:0;border-radius:100%;background-color:#77a464;color:#fff;font-size:.857em;z-index:9}.wts-eae-badge-h-left.wts-eae-badge-v-bottom.wts-eae-enable-ribbons-badges-yes>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{left:20px;right:auto;top:auto;bottom:20px}.wts-eae-badge-h-left.wts-eae-badge-v-top.wts-eae-enable-ribbons-badges-yes>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{left:20px;right:auto;top:20px;bottom:auto}.wts-eae-badge-h-right.wts-eae-badge-v-bottom.wts-eae-enable-ribbons-badges-yes>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{left:auto;right:20px;top:auto;bottom:20px}.wts-eae-badge-h-right.wts-eae-badge-v-top.wts-eae-enable-ribbons-badges-yes>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{left:auto;right:20px;top:20px;bottom:auto}.eae-flip-box-back svg,.eae-flip-box-front svg{width:25px;height:auto}.wts-eae-textseparator svg{width:25px;height:auto}.eae-img-comp-slider svg{width:22px;height:auto}.eae-popup-link svg{display:inline-block;width:1em}.eae-popup svg:focus,.eae-popup svg:hover{opacity:1;cursor:pointer}.eae-popup svg:active{top:1px}.eae-popup svg.eae-close{width:28px;height:28px;line-height:1em;text-decoration:none;text-align:center;opacity:1;background-color:#fff}.eae-dual-button-wrapper svg{width:1em;height:auto;display:block}eae-button-separator i{position:relative;display:block}.eae-button-1.icon-before svg,.eae-button-2.icon-after svg,.eae-button-2.icon-before svg{align-self:center;margin:0 10px 0 0}.eae-button-1.icon-after svg,.eae-button-2.icon-after svg{align-self:center;margin:0 0 0 10px}.eae-button-1.icon-down svg,.eae-button-1.icon-up svg,.eae-button-2.icon-down svg,.eae-button-2.icon-up svg{align-self:center;margin:5px 0}.eae-pt-button-wrapper a svg{width:1em}.eae-pt-action-button .eae-pt-align-icon-left{float:left}.eae-pt-action-button .eae-pt-align-icon-right{float:right}.eae-icon-wrap svg{width:20px;height:auto;font-size:20px;display:block}.eae-info-circle .eae-icon-wrap svg{width:20px;height:auto;font-size:20px}.eae-icon-view-stacked svg{fill:#fff}.ae-link-yes{cursor:pointer}.eae-element-unfold-content{padding:10px 0;background-color:#d3d3d3c4;width:100%;position:absolute;left:0;bottom:0;z-index:999}a.eae-unfold-link{background-color:#61ce70;color:#fff;display:inline-block;overflow:hidden}a.eae-unfold-link svg{background-color:#fff}.eae-unfold-button-icon{vertical-align:middle}.eae-fold-yes .elementor-column-wrap,.eae-fold-yes.elementor-section .elementor-container,.eae-fold-yes.elementor-widget{overflow:hidden}body.elementor-editor-active .elementor.elementor-edit-mode .elementor-element.elementor-section.eae-widget-unfold-yes .elementor-container,body.elementor-editor-preview .elementor.elementor-edit-mode .elementor-element.elementor-section.eae-widget-unfold-yes .elementor-container{overflow:hidden}body.elementor-editor-active .elementor.elementor-edit-mode .elementor-element.elementor-column.eae-widget-unfold-yes .elementor-column-wrap,body.elementor-editor-preview .elementor.elementor-edit-mode .elementor-element.elementor-column.eae-widget-unfold-yes .elementor-column-wrap{overflow:hidden}body.elementor-editor-active .elementor.elementor-edit-mode .elementor-element.elementor-widget.eae-widget-unfold-yes,body.elementor-editor-preview .elementor.elementor-edit-mode .elementor-element.elementor-widget.eae-widget-unfold-yes{overflow:hidden}.eae-widget-unfold-yes .elementor-widget-container .eae-fold-yes.eae-rc{display:none!important}.eae-unfold-button-icon svg{line-height:1em;text-decoration:none;-webkit-mask-repeat:no-repeat!important;text-align:center;opacity:1}.eae-fold-icon-type-svg .eae-unfold-button-icon,.eae-unfold-icon-type-svg .eae-unfold-button-icon{-webkit-mask-size:cover!important;background-image:none;transform:translateY(-50%)}.elementor-section.elementor-section-items-bottom.eae-widget-unfold-yes>.elementor-container,.elementor-section.elementor-section-items-middle.eae-widget-unfold-yes>.elementor-container{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:start}.elementor-section.elementor-section-content-bottom.eae-widget-unfold-yes>.elementor-container,.elementor-section.elementor-section-content-middle.eae-widget-unfold-yes>.elementor-container{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:start}.elementor-widget-wts-modal-popup.eae-pop-btn-type-image .eae-popup-link{padding:0;background-color:transparent;overflow:hidden}[data-elementor-device-mode=tablet] .eae-tab-format-mobile .eae-ct-hide.eae-fbox-heading{display:none!important}.eae-timeline-item .eae-icon-view-stacked{border-width:0!important}.eae-content-switcher-wrapper{display:block;text-align:center}.eae-cs-layout-skin1 .eae-cs-switch-wrapper{display:inline-flex;flex-wrap:wrap;padding:8px 12px;background:#54595f;border-radius:50px}.eae-cs-switch-container{display:block;text-align:center}.eae-cs-layout-skin1 .eae-cs-label-wrapper{display:inline-block;overflow:hidden}.eae-cs-layout-skin1 .eae-content-switch-button{border-radius:50px;padding:8px 12px;background-color:#7a7a7a;color:#fff;overflow:hidden;display:block;min-width:150px;position:relative;text-align:center;margin:3px}.eae-cs-layout-skin1 .eae-content-switch-button:before{height:100%;top:0;left:0;z-index:0;content:"";width:0;position:absolute;right:0;transition:all .3s ease-out}.eae-cs-layout-skin1 .eae-content-switch-button.active:before{width:100%;left:0;right:auto;background-color:#61ce70}.eae-cs-layout-skin1 .eae-content-switch-label{position:relative}.eae-cs-content-section{display:none}.eae-cs-content-section.active{display:block}@media only screen and (max-width:768px){.eae-cs-switch-wrapper{display:inline-block!important}}.eae-cs-layout-skin2 .eae-cs-switch-wrapper{display:inline-flex;flex-wrap:wrap;padding:0;background:0 0}.eae-cs-layout-skin2 .eae-cs-label-wrapper{display:inline-block}.eae-cs-layout-skin2 .eae-content-switch-button{width:auto;margin:3px 8px;padding:10px 12px;background-color:#e2e2e2;overflow:hidden;display:block;position:relative;text-align:center;border-radius:5px;border:1px solid rgba(130,130,130,.26);color:rgba(71,71,71,.44)}.eae-cs-layout-skin2 .eae-content-switch-button.active{box-shadow:0 10px 34px -9px rgba(0,0,0,.38);background-color:#fff;color:#575757;border-color:#fff}h5.eae-cs-label{margin:0}.eae-cs-layout-skin3 .eae-cs-switch-wrapper{display:block;justify-content:center;align-items:center}.eae-content-switch-label.primary-label{margin-right:30px}.eae-content-switch-label.secondary-label{margin-left:30px}.eae-cs-layout-skin3 .eae-cs-switch-label{position:relative;display:inline-block;width:4.5em;height:2.3em;vertical-align:middle}.eae-cs-layout-skin3 .eae-content-switch-label{margin:0;display:inline-block}.eae-cs-layout-skin3 .eae-cs-switch-button{display:inline-block}.eae-cs-layout-skin3 .eae-cs-label{display:inline-block}.eae-cs-layout-skin3 .eae-cs-switch-label input.eae-content-toggle-switch{display:none}.eae-cs-layout-skin3 .eae-cs-switch-label input.eae-content-toggle-switch+span{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;-webkit-transition:.4s;transition:.4s;-webkit-border-radius:1.5em;border-radius:1.5em;background:#2e394d;border:2px solid #2e394d}.eae-cs-layout-skin3 .eae-cs-switch-label input.eae-content-toggle-switch+span:before{position:absolute;content:"";height:28px;width:28px;left:4px;transform:translateY(-52%);top:50%;transition:.4s;transition:.4s;-webkit-border-radius:50%;border-radius:50%;background:#88cf8f;border:2px solid #88cf8f}body.rtl .eae-cs-layout-skin3 .eae-cs-switch-label input.eae-content-toggle-switch+span:before{left:unset;right:4px}.eae-cs-layout-skin3 .eae-cs-switch-label input:checked.eae-content-toggle-switch+span:before{transform:translate(36px,-52%)}body.rtl .eae-cs-layout-skin3 .eae-cs-switch-label input:checked.eae-content-toggle-switch+span:before{transform:translate(-36px,-52%)}.eae-content-switch-label.active{color:#61ce70}.eae-cs-layout-skin4 .eae-cs-switch-wrapper{display:block}.eae-cs-layout-skin4 .eae-content-switch-label.primary-label{margin-right:30px}.eae-cs-layout-skin4 .eae-content-switch-label.secondary-label{margin-left:30px}.eae-cs-layout-skin4 .eae-content-switch-label{display:inline-block}.eae-cs-layout-skin4 .eae-cs-switch-label{position:relative;display:inline-block;width:70px;height:20px;vertical-align:middle}.eae-cs-layout-skin4 .eae-cs-label{display:inline-block}.eae-cs-layout-skin4 .eae-content-toggle-switch{display:none}.eae-cs-layout-skin4 .eae-content-toggle-switcher{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;-webkit-transition:.4s;transition:.4s;-webkit-border-radius:1.5em;border-radius:1.5em;background:#2e394d;border:2px solid #2e394d}.eae-cs-layout-skin4 .eae-cs-switch-button{display:inline-block}.eae-cs-layout-skin4 .eae-content-toggle-switcher:before{position:absolute;content:"";height:34px;width:34px;left:-12px;top:50%;transform:translateY(-50%);border-radius:50%;border:2px solid #88cf8f;background:#88cf8f;-webkit-transition:.4s;transition:.4s;-webkit-box-shadow:3px 3px 6px 1px rgba(0,0,0,.2);box-shadow:3px 3px 6px 1px rgba(0,0,0,.2)}.eae-cs-layout-skin4 .eae-cs-switch-container{padding:15px 0}body.rtl .eae-cs-layout-skin4 .eae-content-toggle-switcher:before{right:-12px!important}.eae-cs-layout-skin4 input:checked+.eae-content-toggle-switcher:before{transform:translate(55px,-50%)}body.rtl .eae-cs-layout-skin4 input:checked+.eae-content-toggle-switcher:before{transform:translate(-55px,-50%)}.eae-swiper-outer-wrapper{position:relative}.eae-swiper-container{position:relative}.eae-thumb-container{position:absolute}.eae-swiper-outer-wrapper .eae-swiper-slide{height:400px;background-size:cover;background-repeat:no-repeat;background-position:right}.eae-swiper-outer-wrapper .eae-swiper-slide .eae-slide-inner{color:#7a7a7a;display:flex;position:absolute;top:0;left:0;bottom:0;right:0;padding:20px}.eae-slide-inner .eae-slide-content{padding:20px 30px}.eae-slide-inner .eae-slide-heading{font-size:35px;font-weight:700;line-height:1}.eae-slide-inner .eae-slide-text{font-size:17px;line-height:1.4}.eae-slide-inner .eae-slide-button{display:inline-block}.eae-slide-inner .eae-slide-btn{display:inline-block;font-size:15px;padding:12px 24px;border-radius:3px;cursor:pointer;transition:all .3s}.eae-slide-inner .eae-slide-heading:not(:last-child),.eae-slide-inner .eae-slide-text:not(:last-child){margin-bottom:30px}.eae--hr-position-left .eae-slide-inner{-webkit-box-pack:start;justify-content:flex-start}.eae--hr-position-right .eae-slide-inner{-webkit-box-pack:end;justify-content:flex-end}.eae--hr-position-center .eae-slide-inner{-webkit-box-pack:center;justify-content:center}.eae--vr-position-top .eae-slide-inner{-webkit-box-pack:start;align-items:flex-start}.eae--vr-position-middle .eae-slide-inner{-webkit-box-align:center;align-items:center}.eae--vr-position-bottom .eae-slide-inner{-webkit-box-pack:end;align-items:flex-end}.eae-swiper-button-prev{left:10px}.eae-swiper-button-next{right:10px}.eae-swiper-button{position:absolute;display:inline-flex;z-index:1;cursor:pointer;color:#7a7a7a;top:50%;transform:translateY(-50%)}.swiper-pagination-bullet{margin-bottom:5px!important}.eae-swiper-outer-wrapper .eae-swiper-slide .eae-background-overlay{width:100%;height:100%;position:absolute}.eae-swiper-outer-wrapper .eae-gallery-thumbs{box-sizing:border-box;text-align:center}.eae-swiper-outer-wrapper .eae-gallery-thumbs .eae-thumb-slide{background-size:cover;background-position:center;height:100%;opacity:.7}.eae-swiper-outer-wrapper .eae-gallery-thumbs .swiper-slide-thumb-active{opacity:1}.eae-chart-outer-container{position:relative}.eae-chart-overlay{width:100%;height:100%;position:absolute}.eae-table{width:100%;height:auto;margin:0;padding:0;border:none;border-collapse:collapse}.eae-table tr{border-style:none}.eae-table__body_row_column{border:none;overflow:hidden}.eae-table__head_column{transition:all .3s ease-in-out}.eae-table__body_row_column{transition:all .3s ease-in-out}.eae-head-icon{vertical-align:middle}.eae-table__head-column-wrapper .eae-head-img{width:50px;display:inline-block}.eae-table__head-column-wrapper .eae-lottie-animation svg{width:70px!important;line-height:0}.eae-head-icon-before{margin-right:5px}.eae-head-icon-after{margin-left:5px}.eae-table__col-inner{display:block}.eae-body-icon{vertical-align:middle}.eae-table__body-column-wrapper .eae-body-image{width:70px;display:inline-block}.eae-table__body-column-wrapper .eae-table-lottie-animation svg{width:70px!important;line-height:0}.eae-body-icon-before{margin-right:5px}.eae-body-icon-after{margin-left:5px}.eae-table-body__text{vertical-align:middle}.eae-table .eae-table-search-hide{display:none}.eae-table-search-wrap{padding:0;margin:0;margin-bottom:10px}.eae-search-wrap{padding:0;margin:0;width:50%;display:inline-flex;align-items:center;box-sizing:border-box;overflow:hidden;align-items:center}.eae-table-search-wrap .eae-table-search-field{margin:0;padding:0;border:0;outline:0;background-color:#eceeef;width:100%;font-size:15px;color:#7a7a7a;padding:10px;line-height:0;display:inline-block;box-sizing:border-box}.eae-table-search-wrap .eae-table-search-field:focus{background-color:#eceeef}::placeholder{opacity:.5}.search-icon{background-color:#eceeef;padding:0;margin:0;padding:10px}.search-icon i{color:#7a7a7a73;display:flex;align-items:center;left:0;font-size:20px}.eae-table__sortable .eae-table__sortable-head{cursor:pointer}.eae-table__head__wrapper{display:flex;justify-content:center;align-items:center}.eae-sort-icon{padding:0;margin:0;align-self:center}.eae-table__head-column-wrapper{flex-grow:3;display:inline-block;width:100%;margin:0 3px}.eae-icon-sort-icon{vertical-align:middle;display:inline-block;margin:0 3px}.eae-icon{padding:0;margin:0}.eae-table__head__wrapper .eae-sort-icon .eae-icon{font-size:25px}.eae-table__sortable .eae-table__head__wrapper .eae-sort-icon-down,.eae-table__sortable .eae-table__head__wrapper .eae-sort-icon-up{display:none}.eae-table__sortable .eae-table__sort-Asc .eae-table__head__wrapper .eae-icon-sort-icon,.eae-table__sortable .eae-table__sort-Desc .eae-table__head__wrapper .eae-icon-sort-icon{display:none}.eae-table__sortable .eae-table__sort-Asc .eae-table__head__wrapper .eae-sort-icon-up,.eae-table__sortable .eae-table__sort-Desc .eae-table__head__wrapper .eae-sort-icon-down{display:block}.eae-table-wrap{overflow-x:auto}.eae-table-body__text,.eae-table__col-inner{white-space:nowrap!important}.eae-table-wrapper{max-width:100%}.wts-eae-main .wpcf7 h1,.wts-eae-main .wpcf7 h2,.wts-eae-main .wpcf7 h3,.wts-eae-main .wpcf7 h4,.wts-eae-main .wpcf7 h5,.wts-eae-main .wpcf7 h6,.wts-eae-main .wpcf7 label,.wts-eae-main .wpcf7 p{color:#7a7a7a}.wts-eae-main .wpcf7 .wpcf7-date{color:#cbcbcb;background-color:#fafafa;border-radius:0;padding:10px 15px;outline:0}.wts-eae-main .wpcf7 .wpcf7-select{color:#cbcbcb;background-color:#fafafa}.wts-eae-main .wpcf7 .wpcf7-submit{background-color:#61ce70}.radio-orientation-vertical .wts-eae-main .wpcf7 .wpcf7-radio{display:flex;flex-direction:column}.checkbox-orientation-vertical .wts-eae-main .wpcf7 .wpcf7-checkbox{display:flex;flex-direction:column}.wts-eae-main .wpcf7 input[type=radio]{appearance:none;color:#fff;background-repeat:no-repeat;background-color:currentColor;width:1.2rem;height:1.2rem;display:inline-block;text-align:center;margin-right:5px;border-radius:50%;vertical-align:middle}.wts-eae-main .wpcf7 input[type=radio]+span{vertical-align:middle}.wts-eae-main .wpcf7 input[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-position:center;background-size:100% 100%;background-repeat:no-repeat;background-color:#61ce70}.wts-eae-main .wpcf7 .wpcf7-list-item{padding-right:1rem}.wts-eae-main .wpcf7 input[type=checkbox]{appearance:none;color:#fff;background-repeat:no-repeat;background-color:currentColor;width:1.2rem;height:1.2rem;display:inline-block;text-align:center;margin-right:5px;vertical-align:middle;border-radius:4px;border:3.4px solid #000}.wts-eae-main .wpcf7 input[type=checkbox]+span{vertical-align:middle}.wts-eae-main .wpcf7 input[type=checkbox]:checked{background-image:url('data:image/svg+xml,%3csvg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"%3e%3cpath d="M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z"/%3e%3c/svg%3e');background-position:center;background-size:100% 100%;background-repeat:no-repeat;background-color:#61ce70}.wts-cf7-style-box .wpcf7-select,.wts-cf7-style-box .wpcf7-textarea,.wts-cf7-style-box input:not([type=submit]):not([type=checkbox]):not([type=radio]){border:0}.wts-cf7-style-underline .wpcf7-select,.wts-cf7-style-underline .wpcf7-textarea,.wts-cf7-style-underline input:not([type=submit]):not([type=checkbox]):not([type=radio]){border:0;outline:0}.wts-eae-main .wpcf7-submit{display:flex;width:auto;text-align:center;justify-content:center;border:0}.cf7-btn-size-sm .wpcf7-submit{font-size:15px;padding:12px 24px}.cf7-btn-size-md .wpcf7-submit{font-size:16px;padding:15px 30px}.cf7-btn-size-lg .wpcf7-submit{font-size:18px;padding:20px 40px}.cf7-btn-size-xl .wpcf7-submit{font-size:20px;padding:15px 30px;width:100%}.cf7-btn-alignment-left .wpcf7-submit{margin-left:0;margin-right:auto}.cf7-btn-alignment-center .wpcf7-submit{margin-left:auto;margin-right:auto}.cf7-btn-alignment-right .wpcf7-submit{margin-left:auto;margin-right:0;text-align:center;justify-content:center}.wpcf7-file{width:40%;color:#cbcbcb;background-color:#fafafa;border-radius:0;padding:10px 15px;outline:0;border-style:solid}@media only screen and (max-width:600px){.wpcf7-file{width:100%}}.wpcf7 form.unaccepted .wpcf7-response-output,.wts-eae-main .wpcf7 form.invalid .wpcf7-response-output{border:none;margin:.5em 0;padding:0}.wts-eae-main .wpcf7 form.sent .wpcf7-response-output{border:none;margin:.5em 0;padding:0}.eae-cf7-error-output-hide .wpcf7-response-output{display:none}.eae-cf7-error-output-show .wpcf7-response-output{display:block}.eae-cf7-error-validation-hide .wpcf7-not-valid-tip{display:none}.eae-cf7-error-validation-show .wpcf7-not-valid-tip{display:block}.wts-eae-main .wpcf7 .wpcf7-list-item{margin-left:0}.sent-box{margin:1em 0}.error-box{margin-top:1em}.wts-eae-main .wpcf7 .error-field{color:#dc3232;font-size:1em}
|
assets/js/eae.js
CHANGED
@@ -1,1826 +1,2416 @@
|
|
1 |
-
jQuery(
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
// create map
|
21 |
-
var map = new google.maps.Map( $el[0], args);
|
22 |
-
|
23 |
-
// add a markers reference
|
24 |
-
map.markers = [];
|
25 |
-
|
26 |
-
// add markers
|
27 |
-
$markers.each(function(){
|
28 |
-
add_marker( jQuery(this), map );
|
29 |
-
});
|
30 |
-
|
31 |
-
// center map
|
32 |
-
center_map( map, zoom );
|
33 |
-
|
34 |
-
// return
|
35 |
-
return map;
|
36 |
-
}
|
37 |
-
|
38 |
-
function add_marker( $marker, map ) {
|
39 |
-
var animate = $wrapper.data('animate');
|
40 |
-
var info_window_onload = $wrapper.data('show-info-window-onload');
|
41 |
-
//console.log(info_window_onload);
|
42 |
-
$wrapper = $scope.find('.eae-markers');
|
43 |
-
//alert($marker.attr('data-lat') + ' - '+ $marker.attr('data-lng'));
|
44 |
-
var latlng = new google.maps.LatLng( $marker.attr('data-lat'), $marker.attr('data-lng') );
|
45 |
-
|
46 |
-
icon_img = $marker.attr('data-icon');
|
47 |
-
if(icon_img != ''){
|
48 |
-
var icon = {
|
49 |
-
url : $marker.attr('data-icon'),
|
50 |
-
scaledSize: new google.maps.Size($marker.attr('data-icon-size'), $marker.attr('data-icon-size'))
|
51 |
-
};
|
52 |
-
|
53 |
-
}
|
54 |
-
|
55 |
-
|
56 |
-
//var icon = $marker.attr('data-icon');
|
57 |
-
|
58 |
-
// create marker
|
59 |
-
var marker = new google.maps.Marker({
|
60 |
-
position : latlng,
|
61 |
-
map : map,
|
62 |
-
icon : icon,
|
63 |
-
animation: google.maps.Animation.DROP
|
64 |
-
});
|
65 |
-
if(animate == 'animate-yes' && $marker.data('info-window') != 'yes'){
|
66 |
-
marker.setAnimation(google.maps.Animation.BOUNCE);
|
67 |
-
}
|
68 |
-
if(animate == 'animate-yes'){
|
69 |
-
google.maps.event.addListener(marker, 'click', function() {
|
70 |
-
marker.setAnimation(null);
|
71 |
-
});
|
72 |
-
}
|
73 |
-
|
74 |
-
|
75 |
|
76 |
-
|
77 |
-
|
78 |
-
// if marker contains HTML, add it to an infoWindow
|
79 |
|
80 |
-
|
81 |
-
|
82 |
-
// create info window
|
83 |
-
var infowindow = new google.maps.InfoWindow({
|
84 |
-
content : $marker.html()
|
85 |
-
});
|
86 |
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
google.maps.event.addListener(marker, 'click', function() {
|
92 |
-
infowindow.open( map, marker );
|
93 |
-
});
|
94 |
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
}
|
102 |
|
103 |
-
|
104 |
-
|
105 |
-
// vars
|
106 |
-
var bounds = new google.maps.LatLngBounds();
|
107 |
-
// loop through all markers and create bounds
|
108 |
-
jQuery.each( map.markers, function( i, marker ){
|
109 |
-
var latlng = new google.maps.LatLng( marker.position.lat(), marker.position.lng() );
|
110 |
-
bounds.extend( latlng );
|
111 |
-
});
|
112 |
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
|
|
|
|
125 |
}
|
126 |
-
});
|
127 |
-
|
128 |
-
elementorFrontend.hooks.addAction( 'frontend/element_ready/global', function ( $scope ) {
|
129 |
-
|
130 |
-
var eae_slides = [];
|
131 |
-
var eae_slides_json = [];
|
132 |
-
var eae_transition;
|
133 |
-
var eae_animation;
|
134 |
-
var eae_custom_overlay;
|
135 |
-
var eae_overlay;
|
136 |
-
var eae_cover;
|
137 |
-
var eae_delay;
|
138 |
-
var eae_timer;
|
139 |
-
var slider_wrapper = $scope.children('.eae-section-bs').children('.eae-section-bs-inner');
|
140 |
-
|
141 |
-
if (slider_wrapper && slider_wrapper.data('eae-bg-slider')) {
|
142 |
-
|
143 |
-
slider_images = slider_wrapper.data('eae-bg-slider');
|
144 |
-
eae_transition = slider_wrapper.data('eae-bg-slider-transition');
|
145 |
-
eae_animation = slider_wrapper.data('eae-bg-slider-animation');
|
146 |
-
eae_custom_overlay = slider_wrapper.data('eae-bg-custom-overlay');
|
147 |
-
if (eae_custom_overlay == 'yes') {
|
148 |
-
eae_overlay = eae_editor.plugin_url + 'assets/lib/vegas/overlays/' + slider_wrapper.data('eae-bg-slider-overlay');
|
149 |
-
} else {
|
150 |
-
if (slider_wrapper.data('eae-bg-slider-overlay')) {
|
151 |
-
eae_overlay = eae_editor.plugin_url + 'assets/lib/vegas/overlays/' + slider_wrapper.data('eae-bg-slider-overlay');
|
152 |
-
} else {
|
153 |
-
eae_overlay = eae_editor.plugin_url + 'assets/lib/vegas/overlays/' + slider_wrapper.data('eae-bg-slider-overlay');
|
154 |
-
}
|
155 |
-
}
|
156 |
-
|
157 |
-
eae_cover = slider_wrapper.data('eae-bg-slider-cover');
|
158 |
-
eae_delay = slider_wrapper.data('eae-bs-slider-delay');
|
159 |
-
eae_timer = slider_wrapper.data('eae-bs-slider-timer');
|
160 |
-
|
161 |
-
if (typeof slider_images != 'undefined') {
|
162 |
-
eae_slides = slider_images.split(",");
|
163 |
-
|
164 |
-
jQuery.each(eae_slides, function (key, value) {
|
165 |
-
var slide = [];
|
166 |
-
slide.src = value;
|
167 |
-
eae_slides_json.push(slide);
|
168 |
-
});
|
169 |
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
|
186 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
}
|
188 |
-
});
|
189 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
190 |
});
|
191 |
|
192 |
var isEditMode = false;
|
193 |
var breakpoints = eae.breakpoints;
|
194 |
//console.log('eae-breakpoints', breakpoints);
|
195 |
-
(function(
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
compareImages(x[0]);
|
219 |
-
|
220 |
-
function compareImages(img) {
|
221 |
-
var slider, clicked = 0, w, h;
|
222 |
-
/*get the width and height of the img element*/
|
223 |
-
w = img.offsetWidth;
|
224 |
-
h = img.offsetHeight;
|
225 |
-
/*set the width of the img element to 50%:*/
|
226 |
-
img.style.width = start_pos + "px";
|
227 |
-
/*create slider:*/
|
228 |
-
slider = $scope.find(".eae-img-comp-slider");
|
229 |
-
slider = slider[0];
|
230 |
-
/*position the slider in the middle:*/
|
231 |
-
slider.style.top = (h / 2) - (slider.offsetHeight / 2) + "px";
|
232 |
-
slider.style.left = start_pos - (slider.offsetWidth / 2) - (separator_width / 2) + "px";
|
233 |
-
/*execute a function when the mouse button is pressed:*/
|
234 |
-
if (!$scope.hasClass('elementor-element-edit-mode')) {
|
235 |
-
slider.addEventListener("mousedown", slideReady);
|
236 |
-
//slider.addEventListener("mouseover", slideReady);
|
237 |
-
//img.addEventListener("mouseover", slideReady);
|
238 |
-
|
239 |
-
/*and another function when the mouse button is released:*/
|
240 |
-
window.addEventListener("mouseup", slideFinish);
|
241 |
-
//slider.addEventListener("mouseout", slideFinish);
|
242 |
-
//img.addEventListener("mouseout", slideFinish);
|
243 |
-
/*or touched (for touch screens:*/
|
244 |
-
slider.addEventListener("touchstart", slideReady);
|
245 |
-
/*and released (for touch screens:*/
|
246 |
-
window.addEventListener("touchstop", slideFinish);
|
247 |
-
}
|
248 |
-
|
249 |
-
function slideReady(e) {
|
250 |
-
/*prevent any other actions that may occur when moving over the image:*/
|
251 |
-
e.preventDefault();
|
252 |
-
/*the slider is now clicked and ready to move:*/
|
253 |
-
clicked = 1;
|
254 |
-
/*execute a function when the slider is moved:*/
|
255 |
-
window.addEventListener("mousemove", slideMove);
|
256 |
-
//window.addEventListener("mouseover", slideMove);
|
257 |
-
//window.addEventListener("touchmove", slideMove);
|
258 |
-
slider.addEventListener("touchmove", touchMoveaction);
|
259 |
-
}
|
260 |
-
|
261 |
-
function slideFinish() {
|
262 |
-
/*the slider is no longer clicked:*/
|
263 |
-
clicked = 0;
|
264 |
-
}
|
265 |
-
|
266 |
-
function slideMove(e) {
|
267 |
-
var pos;
|
268 |
-
/*if the slider is no longer clicked, exit this function:*/
|
269 |
-
if (clicked == 0) return false;
|
270 |
-
/*get the cursor's x position:*/
|
271 |
-
pos = getCursorPos(e);
|
272 |
-
/*prevent the slider from being positioned outside the image:*/
|
273 |
-
if (pos < 0) pos = 0;
|
274 |
-
if (pos > w) pos = w;
|
275 |
-
/*execute a function that will resize the overlay image according to the cursor:*/
|
276 |
-
slide(pos);
|
277 |
-
}
|
278 |
-
|
279 |
-
function touchMoveaction(e) {
|
280 |
-
var pos;
|
281 |
-
/*if the slider is no longer clicked, exit this function:*/
|
282 |
-
if (clicked == 0) return false;
|
283 |
-
/*get the cursor's x position:*/
|
284 |
-
pos = getTouchPos(e);
|
285 |
-
|
286 |
-
/*prevent the slider from being positioned outside the image:*/
|
287 |
-
if (pos < 0) pos = 0;
|
288 |
-
if (pos > w) pos = w;
|
289 |
-
/*execute a function that will resize the overlay image according to the cursor:*/
|
290 |
-
slide(pos);
|
291 |
-
}
|
292 |
-
|
293 |
-
function getTouchPos(e) {
|
294 |
-
var a, x = 0;
|
295 |
-
a = img.getBoundingClientRect();
|
296 |
-
|
297 |
-
/*calculate the cursor's x coordinate, relative to the image:*/
|
298 |
-
x = e.changedTouches[0].clientX - a.left;
|
299 |
-
return x;
|
300 |
-
}
|
301 |
-
|
302 |
-
function getCursorPos(e) {
|
303 |
-
var a, x = 0;
|
304 |
-
e = e || window.event;
|
305 |
-
/*get the x positions of the image:*/
|
306 |
-
a = img.getBoundingClientRect();
|
307 |
-
/*calculate the cursor's x coordinate, relative to the image:*/
|
308 |
-
x = e.pageX - a.left;
|
309 |
-
|
310 |
-
/*consider any page scrolling:*/
|
311 |
-
//x = x - window.pageXOffset;
|
312 |
-
return x;
|
313 |
-
}
|
314 |
-
|
315 |
-
function slide(x) {
|
316 |
-
/*resize the image:*/
|
317 |
-
img.style.width = x + "px";
|
318 |
-
/*position the slider:*/
|
319 |
-
slider.style.left = img.offsetWidth - (slider.offsetWidth / 2) - (separator_width / 2) + "px";
|
320 |
-
}
|
321 |
-
}
|
322 |
-
}
|
323 |
-
|
324 |
-
function vertical($scope) {
|
325 |
-
var x, i;
|
326 |
-
/*find all elements with an "overlay" class:*/
|
327 |
-
//x = document.getElementsByClassName("eae-img-comp-overlay");
|
328 |
-
x = $scope.find(".eae-img-comp-overlay");
|
329 |
-
start_pos = x.height();
|
330 |
-
start_pos = start_pos * slider_pos / 100;
|
331 |
-
compareImages(x[0]);
|
332 |
-
|
333 |
-
function compareImages(img) {
|
334 |
-
var slider, img, clicked = 0, w, h;
|
335 |
-
/*get the width and height of the img element*/
|
336 |
-
w = img.offsetWidth;
|
337 |
-
h = img.offsetHeight;
|
338 |
-
/*set the width of the img element to 50%:*/
|
339 |
-
img.style.height = start_pos + "px";
|
340 |
-
/*create slider:*/
|
341 |
-
slider = $scope.find(".eae-img-comp-slider");
|
342 |
-
slider = slider[0];
|
343 |
-
/*position the slider in the middle:*/
|
344 |
-
slider.style.top = start_pos - (slider.offsetHeight / 2) - (separator_width / 2) + "px";
|
345 |
-
slider.style.left = (w / 2) - (slider.offsetWidth / 2) + "px";
|
346 |
-
/*execute a function when the mouse button is pressed:*/
|
347 |
-
if (!$scope.hasClass('elementor-element-edit-mode')) {
|
348 |
-
slider.addEventListener("mousedown", slideReady);
|
349 |
-
/*and another function when the mouse button is released:*/
|
350 |
-
window.addEventListener("mouseup", slideFinish);
|
351 |
-
/*or touched (for touch screens:*/
|
352 |
-
slider.addEventListener("touchstart", slideReady);
|
353 |
-
/*and released (for touch screens:*/
|
354 |
-
window.addEventListener("touchstop", slideFinish);
|
355 |
-
}
|
356 |
-
|
357 |
-
function slideReady(e) {
|
358 |
-
/*prevent any other actions that may occur when moving over the image:*/
|
359 |
-
e.preventDefault();
|
360 |
-
/*the slider is now clicked and ready to move:*/
|
361 |
-
clicked = 1;
|
362 |
-
/*execute a function when the slider is moved:*/
|
363 |
-
window.addEventListener("mousemove", slideMove);
|
364 |
-
slider.addEventListener("touchmove", touchMoveaction);
|
365 |
-
}
|
366 |
-
|
367 |
-
function slideFinish() {
|
368 |
-
/*the slider is no longer clicked:*/
|
369 |
-
clicked = 0;
|
370 |
-
}
|
371 |
-
|
372 |
-
function slideMove(e) {
|
373 |
-
var pos;
|
374 |
-
/*if the slider is no longer clicked, exit this function:*/
|
375 |
-
if (clicked == 0) return false;
|
376 |
-
/*get the cursor's x position:*/
|
377 |
-
pos = getCursorPos(e)
|
378 |
-
/*prevent the slider from being positioned outside the image:*/
|
379 |
-
if (pos < 0) pos = 0;
|
380 |
-
if (pos > h) pos = h;
|
381 |
-
/*execute a function that will resize the overlay image according to the cursor:*/
|
382 |
-
slide(pos);
|
383 |
-
}
|
384 |
-
|
385 |
-
function getCursorPos(e) {
|
386 |
-
var a, x = 0;
|
387 |
-
e = e || window.event;
|
388 |
-
/*get the x positions of the image:*/
|
389 |
-
a = img.getBoundingClientRect();
|
390 |
-
/*calculate the cursor's x coordinate, relative to the image:*/
|
391 |
-
x = e.pageY - a.top;
|
392 |
-
/*consider any page scrolling:*/
|
393 |
-
x = x - window.pageYOffset;
|
394 |
-
|
395 |
-
return x;
|
396 |
-
}
|
397 |
-
|
398 |
-
function touchMoveaction(e) {
|
399 |
-
var pos;
|
400 |
-
/*if the slider is no longer clicked, exit this function:*/
|
401 |
-
if (clicked == 0) return false;
|
402 |
-
/*get the cursor's x position:*/
|
403 |
-
pos = getTouchPos(e);
|
404 |
-
|
405 |
-
/*prevent the slider from being positioned outside the image:*/
|
406 |
-
if (pos < 0) pos = 0;
|
407 |
-
if (pos > h) pos = h;
|
408 |
-
/*execute a function that will resize the overlay image according to the cursor:*/
|
409 |
-
slide(pos);
|
410 |
-
}
|
411 |
-
|
412 |
-
function getTouchPos(e) {
|
413 |
-
var a, x = 0;
|
414 |
-
a = img.getBoundingClientRect();
|
415 |
-
|
416 |
-
/*calculate the cursor's x coordinate, relative to the image:*/
|
417 |
-
x = e.changedTouches[0].clientY - a.top;
|
418 |
-
|
419 |
-
//x = x - slider.offsetHeight;
|
420 |
-
|
421 |
-
return x;
|
422 |
-
}
|
423 |
-
|
424 |
-
function slide(x) {
|
425 |
-
/*resize the image:*/
|
426 |
-
img.style.height = x + "px";
|
427 |
-
/*position the slider:*/
|
428 |
-
slider.style.top = img.offsetHeight - (slider.offsetHeight / 2) - (separator_width / 2) + "px";
|
429 |
-
}
|
430 |
-
}
|
431 |
-
}
|
432 |
-
};
|
433 |
-
|
434 |
-
var ParticlesBG = function ($scope, $) {
|
435 |
-
if ($scope.hasClass('eae-particle-yes')) {
|
436 |
-
id = $scope.data('id');
|
437 |
-
element_type = $scope.data('element_type');
|
438 |
-
pdata = $scope.data('eae-particle');
|
439 |
-
pdata_wrapper = $scope.find('.eae-particle-wrapper').data('eae-pdata');
|
440 |
-
if (typeof pdata != 'undefined' && pdata != '') {
|
441 |
-
if ($scope.find('.eae-section-bs').length > 0) {
|
442 |
-
$scope.find('.eae-section-bs').after('<div class="eae-particle-wrapper" id="eae-particle-' + id + '"></div>');
|
443 |
-
particlesJS('eae-particle-' + id, pdata);
|
444 |
-
} else {
|
445 |
-
|
446 |
-
if (element_type == 'column') {
|
447 |
-
$scope.prepend('<div class="eae-particle-wrapper" id="eae-particle-' + id + '"></div>');
|
448 |
-
} else {
|
449 |
-
$scope.prepend('<div class="eae-particle-wrapper " id="eae-particle-' + id + '"></div>');
|
450 |
-
}
|
451 |
-
particlesJS('eae-particle-' + id, pdata);
|
452 |
-
}
|
453 |
-
|
454 |
-
|
455 |
-
} else if (typeof pdata_wrapper != 'undefined' && pdata_wrapper != '') {
|
456 |
-
// console.log('Editor');
|
457 |
-
// $scope.prepend('<div class="eae-particle-wrapper" id="eae-particle-'+ id +'"></div>');
|
458 |
-
//console.log('calling particle js else', JSON.parse(pdata_wrapper));
|
459 |
-
if (element_type == 'column') {
|
460 |
-
$scope.prepend('<div class="eae-particle-wrapper eae-particle-area" id="eae-particle-' + id + '"></div>');
|
461 |
-
}
|
462 |
-
else{
|
463 |
-
$scope.prepend('<div class="eae-particle-wrapper eae-particle-area" id="eae-particle-' + id + '"></div>');
|
464 |
-
}
|
465 |
-
|
466 |
-
particlesJS('eae-particle-' + id, JSON.parse(pdata_wrapper));
|
467 |
-
}
|
468 |
-
|
469 |
-
}
|
470 |
-
|
471 |
-
};
|
472 |
-
|
473 |
-
// var ParticlesBG = function ($scope, $) {
|
474 |
-
|
475 |
-
// if ($scope.hasClass('eae-particle-yes')) {
|
476 |
-
// const wId = $scope.data('id');
|
477 |
-
// const wrapper = document.querySelector('.elementor-element-'+wId);
|
478 |
-
// //outerWrapper = wrapper.querySelector('.fv-dp-outer-wrapper');
|
479 |
-
// id = $scope.data('id');
|
480 |
-
|
481 |
-
// element_type = wrapper.getAttribute('data-element_type');
|
482 |
-
// is_edit_mode = wrapper.classList.contains('elementor-element-edit-mode');
|
483 |
-
// console.log(is_edit_mode);
|
484 |
-
// pdata = wrapper.getAttribute('data-eae-particle');
|
485 |
-
// if(is_edit_mode){
|
486 |
-
// pdata_wrapper = wrapper.querySelector('.eae-particle-wrapper').getAttribute('data-eae-pdata');
|
487 |
-
// pdata_wrapper = JSON.parse(pdata_wrapper);
|
488 |
-
// }
|
489 |
-
|
490 |
-
// if (typeof pdata != 'undefined' && pdata != null) {
|
491 |
-
// var bsElement = wrapper.querySelector('.eae-section-bs');
|
492 |
-
// if (bsElement) {
|
493 |
-
// console.log("BS Inner");
|
494 |
-
// var particleDiv = document.createElement("div");
|
495 |
-
// particleDiv.setAttribute('class' , 'eae-particle-wrapper');
|
496 |
-
// particleDiv.setAttribute('id' , "eae-particle-" + id);
|
497 |
-
// var bsElement = wrapper.querySelector('.eae-section-bs');
|
498 |
-
// bsElement.after(particleDiv);
|
499 |
-
// tsParticles.load("eae-particle-" + id, JSON.parse(pdata));
|
500 |
-
// } else {
|
501 |
-
// if (element_type == 'column') {
|
502 |
-
// var particleDiv = document.createElement("div");
|
503 |
-
// particleDiv.setAttribute('class' , 'eae-particle-wrapper');
|
504 |
-
// particleDiv.setAttribute('id' , "eae-particle-" + id);
|
505 |
-
// wrapper.prepend(particleDiv);
|
506 |
-
// } else {
|
507 |
-
// var particleDiv = document.createElement("div");
|
508 |
-
// particleDiv.setAttribute('class' , 'eae-particle-wrapper');
|
509 |
-
// particleDiv.setAttribute('id' , "eae-particle-" + id);
|
510 |
-
// wrapper.prepend(particleDiv);
|
511 |
-
// }
|
512 |
-
// //console.log(tsParticles.load('particles' , {}));
|
513 |
-
// // pdata = JSON.parse(pdata);
|
514 |
-
// tsParticles.load("eae-particle-" + id, JSON.parse(pdata));
|
515 |
-
// //particlesJS('eae-particle-' + id, pdata);
|
516 |
-
// }
|
517 |
-
// } else if (typeof pdata_wrapper != 'undefined' && pdata_wrapper != null) {
|
518 |
-
// console.log('Editor');
|
519 |
-
// console.log(element_type);
|
520 |
-
// // $scope.prepend('<div class="eae-particle-wrapper" id="eae-particle-'+ id +'"></div>');
|
521 |
-
// //console.log('calling particle js else', JSON.parse(pdata_wrapper));
|
522 |
-
// var bsElement = wrapper.querySelector('.eae-section-bs');
|
523 |
-
// if (bsElement) {
|
524 |
-
// console.log("BS Inner");
|
525 |
-
// var particleDiv = document.createElement("div");
|
526 |
-
// particleDiv.setAttribute('class' , 'eae-particle-areas');
|
527 |
-
// particleDiv.setAttribute('id' , "eae-particle-" + id);
|
528 |
-
// var bsElement = wrapper.querySelector('.eae-section-bs');
|
529 |
-
// bsElement.after(particleDiv);
|
530 |
-
// tsParticles.load("eae-particle-" + id, pdata_wrapper);
|
531 |
-
// }else{
|
532 |
-
// if (element_type == 'column') {
|
533 |
-
// $scope.prepend('<div class="eae-particle-wrapper eae-particle-area" id="eae-particle-' + id + '"></div>');
|
534 |
-
// }
|
535 |
-
// else{
|
536 |
-
// console.log('Editor Section');
|
537 |
-
// console.log(pdata_wrapper);
|
538 |
-
// var particleDiv = document.createElement("div");
|
539 |
-
// particleDiv.setAttribute('class' , 'eae-particle-areas');
|
540 |
-
// particleDiv.setAttribute('id' , "eae-particle-" + id);
|
541 |
-
// wrapper.prepend(particleDiv);
|
542 |
-
// // $scope.prepend('<div class="eae-particle-wrapper eae-particle-area" id="eae-particle-' + id + '"></div>');
|
543 |
-
// }
|
544 |
-
// tsParticles.load("eae-particle-" + id, pdata_wrapper);
|
545 |
-
// }
|
546 |
-
|
547 |
-
// //particlesJS('eae-particle-' + id, JSON.parse(pdata_wrapper));
|
548 |
-
// }
|
549 |
-
|
550 |
-
// }
|
551 |
-
|
552 |
-
// };
|
553 |
-
|
554 |
-
|
555 |
-
/*EAE Animated Gradient Background*/
|
556 |
-
|
557 |
-
var AnimatedGradient = function ($scope, $) {
|
558 |
-
if ($scope.hasClass('eae-animated-gradient-yes')) {
|
559 |
-
id = $scope.data('id');
|
560 |
-
//editMode = elementorFrontend.isEditMode();
|
561 |
-
//console.log(settings);
|
562 |
-
color = $scope.data('color');
|
563 |
-
angle = $scope.data('angle');
|
564 |
-
var gradient_color = 'linear-gradient(' + angle + ',' + color + ')';
|
565 |
-
heading = $scope.find('.elementor-heading-title');
|
566 |
-
$scope.css('background-image', gradient_color);
|
567 |
-
if($scope.hasClass('elementor-element-edit-mode'))
|
568 |
-
{
|
569 |
-
color = $scope.find('.animated-gradient').data('color');
|
570 |
-
angle = $scope.find('.animated-gradient').data('angle');
|
571 |
-
gradient_color_editor = 'linear-gradient(' + angle + ',' + color + ')';
|
572 |
-
$scope.prepend('<div class="animated-gradient" style="background-image : ' + gradient_color_editor + ' "></div>');
|
573 |
-
//$scope.find('.animated-gradient').css('background-image', gradient_color_editor);
|
574 |
-
//$scope.find('.animated-gradient').css('background-color', 'red');
|
575 |
-
}
|
576 |
-
//$scope.css('position', 'relative');
|
577 |
-
//$scope.css('background-color', 'black');
|
578 |
-
|
579 |
-
}
|
580 |
-
};
|
581 |
-
// function render_unfold($scope) {
|
582 |
-
// var w_id = $scope.data('id');
|
583 |
-
// var element_type = $scope.data('element_type');
|
584 |
-
// var $data_scope = '';
|
585 |
-
// if($scope.hasClass('elementor-element-edit-mode')) {
|
586 |
-
// $data_scope = $scope.find('.eae-unfold-setting-data');
|
587 |
-
// if(element_type === 'widget' && $scope.find('.eae-unfold-setting-data').length === 0){
|
588 |
-
// $data_scope = $scope.find('.eae-fold-yes.eae-rc');
|
589 |
-
// }
|
590 |
-
// }else{
|
591 |
-
// $data_scope = $scope;
|
592 |
-
// }
|
593 |
-
// if(element_type === 'section'){
|
594 |
-
// var $unfold_position = $data_scope.data('unfold-position');
|
595 |
-
// }
|
596 |
-
// var fold_text = $data_scope.data('fold-text');
|
597 |
-
// var unfold_text = $data_scope.data('unfold-text');
|
598 |
-
// var fold_icon = $data_scope.data('fold-icon');
|
599 |
-
// var unfold_icon = $data_scope.data('unfold-icon');
|
600 |
-
// var icon_pos = $data_scope.data('icon-pos');
|
601 |
-
// var max_fold_height_data = $data_scope.data('fold-height');
|
602 |
-
// var max_fold_height= '';
|
603 |
-
// var win_width = $(window).width();
|
604 |
-
// $(window).resize(function(){
|
605 |
-
// win_width = $(window).width();
|
606 |
-
// });
|
607 |
-
// if(win_width >= breakpoints.lg - 1){
|
608 |
-
// max_fold_height = max_fold_height_data.desktop;
|
609 |
-
// }
|
610 |
-
// else if(win_width <= breakpoints.lg - 1 && win_width >= breakpoints.md - 1){
|
611 |
-
// max_fold_height = max_fold_height_data.tablet;
|
612 |
-
// }else{
|
613 |
-
// max_fold_height = max_fold_height_data.mobile;
|
614 |
-
// }
|
615 |
-
//
|
616 |
-
// var ani_speed = $data_scope.data('animation-speed');
|
617 |
-
// var hover_ani = $data_scope.data('hover-animation');
|
618 |
-
// var unfold_icon_type = $data_scope.data('unfold-icon-type');
|
619 |
-
// var fold_icon_type = $data_scope.data('fold-icon-type');
|
620 |
-
// var $button_str = '';
|
621 |
-
// var unfold_icon_html = '';
|
622 |
-
// var fold_icon_html = '';
|
623 |
-
// var container_height = '';
|
624 |
-
// var component = '';
|
625 |
-
// if(unfold_icon_type === 'svg'){
|
626 |
-
// unfold_icon_html = '<svg style="-webkit-mask: url('+ unfold_icon + '); mask: url('+ unfold_icon + '"); ></svg>';
|
627 |
-
// }else{
|
628 |
-
// unfold_icon_html = '<i class="'+unfold_icon +'"></i>';
|
629 |
-
// }
|
630 |
-
// if(fold_icon_type === 'svg'){
|
631 |
-
// fold_icon_html = '<svg style="-webkit-mask: url('+ fold_icon + '); mask: url('+ fold_icon + '"); ></svg>';
|
632 |
-
// }else{
|
633 |
-
// fold_icon_html = '<i class="'+fold_icon +'"></i>';
|
634 |
-
// }
|
635 |
-
// if($scope.find('.eae-element-unfold-content').length > 0){
|
636 |
-
// $scope.find('.eae-element-unfold-content').remove();
|
637 |
-
// // console.log('unfold removed');
|
638 |
-
// }
|
639 |
-
// if(element_type === 'section'){
|
640 |
-
// component = $scope.find('.elementor-container')[0];
|
641 |
-
// $(component).css({
|
642 |
-
// 'max-height': 'unset',
|
643 |
-
// });
|
644 |
-
// container_height = $(component).outerHeight();
|
645 |
-
// // console.log('section height' , container_height);
|
646 |
-
// }
|
647 |
-
// if(element_type === 'column'){
|
648 |
-
// component = $scope.find('.elementor-column-wrap')[0];
|
649 |
-
// $(component).css({
|
650 |
-
// 'max-height': 'unset',
|
651 |
-
// });
|
652 |
-
// container_height = $(component).outerHeight();
|
653 |
-
// // console.log('column height' , container_height);
|
654 |
-
// }
|
655 |
-
//
|
656 |
-
// $button_str = '<div class="eae-element-unfold-content">';
|
657 |
-
// $button_str += '<a class="eae-unfold-link eae-'+hover_ani +'" href="#">';
|
658 |
-
// if(icon_pos === 'before'){
|
659 |
-
// $button_str += '<span class="eae-unfold-button-icon eae-unfold-align-icon-'+ icon_pos+'">';
|
660 |
-
// $button_str += unfold_icon_html;
|
661 |
-
// $button_str += '</span>';
|
662 |
-
// }
|
663 |
-
// $button_str += '<span class="eae-unfold-button-text">'+ unfold_text +'</span>';
|
664 |
-
// if(icon_pos === 'after'){
|
665 |
-
// $button_str += ' <span class="eae-unfold-button-icon eae-unfold-align-icon-'+ icon_pos+'">';
|
666 |
-
// $button_str += unfold_icon_html;
|
667 |
-
// $button_str += '</span>';
|
668 |
-
// }
|
669 |
-
// $button_str += '</div>';
|
670 |
-
// $button_str += '</a>';
|
671 |
-
//
|
672 |
-
// if(element_type === 'column'){
|
673 |
-
// $(component).css({
|
674 |
-
// 'max-height': max_fold_height,
|
675 |
-
// });
|
676 |
-
// if($scope.hasClass('elementor-element-'+ w_id)){
|
677 |
-
// $(component).append($button_str);
|
678 |
-
// }
|
679 |
-
// }
|
680 |
-
// if(element_type === 'section'){
|
681 |
-
// $(component).css({
|
682 |
-
// 'max-height': max_fold_height,
|
683 |
-
// });
|
684 |
-
// if($unfold_position === 'inside'){
|
685 |
-
// if($scope.hasClass('elementor-element-'+ w_id)){
|
686 |
-
// $(component).append($button_str);
|
687 |
-
// }
|
688 |
-
// }else{
|
689 |
-
// if($scope.hasClass('elementor-element-'+ w_id)){
|
690 |
-
// $scope.append($button_str);
|
691 |
-
// }
|
692 |
-
// }
|
693 |
-
//
|
694 |
-
// }
|
695 |
-
// if(element_type === 'widget'){
|
696 |
-
// $scope.append($button_str);
|
697 |
-
// }
|
698 |
-
// $scope.find('.eae-unfold-link').on('click', function (e) {
|
699 |
-
// e.preventDefault();
|
700 |
-
//
|
701 |
-
// if(element_type === 'column' || element_type === 'section'){
|
702 |
-
// var wrapper = $scope;
|
703 |
-
// var wrapper_height = wrapper.outerHeight();
|
704 |
-
// var unfold_height = wrapper.find('.eae-element-unfold-content').outerHeight();
|
705 |
-
// // console.log('container height',container_height);
|
706 |
-
// // console.log('unfold',unfold_height);
|
707 |
-
// var totalHeight = container_height + unfold_height;
|
708 |
-
//
|
709 |
-
// // console.log('total',totalHeight);
|
710 |
-
// if((wrapper).hasClass('eae-fold-yes')){
|
711 |
-
// $(component).css({
|
712 |
-
// 'max-height': 9999,
|
713 |
-
// 'height' : max_fold_height,
|
714 |
-
// }).animate({'height': totalHeight}, {'duration': ani_speed },'linear');
|
715 |
-
// wrapper.toggleClass('eae-fold-yes');
|
716 |
-
// wrapper.find('.eae-unfold-button-text').html(fold_text);
|
717 |
-
// wrapper.find('.eae-unfold-button-icon').html(fold_icon_html);
|
718 |
-
// }else{
|
719 |
-
// $(component).css({
|
720 |
-
// 'max-height': totalHeight,
|
721 |
-
// }).animate({'max-height': max_fold_height}, {'duration': ani_speed },'linear');
|
722 |
-
// wrapper.toggleClass('eae-fold-yes');
|
723 |
-
// wrapper.find('.eae-unfold-button-text').html(unfold_text);
|
724 |
-
// wrapper.find('.eae-unfold-button-icon').html(unfold_icon_html);
|
725 |
-
// }
|
726 |
-
// }
|
727 |
-
// if(element_type === 'widget'){
|
728 |
-
// // console.log(max_fold_height);
|
729 |
-
// var wrapper = $scope;
|
730 |
-
// var widget_wrapper_height = wrapper.outerHeight();
|
731 |
-
// var inner_elements = wrapper.find('.elementor-widget-container').outerHeight();
|
732 |
-
// var widget_unfold_height = wrapper.find('.eae-element-unfold-content').outerHeight();
|
733 |
-
// // console.log('unfold' , unfold_height);
|
734 |
-
// var widget_totalHeight = inner_elements + widget_unfold_height;
|
735 |
-
// // console.log('total',totalHeight);
|
736 |
-
// if((wrapper).hasClass('eae-fold-yes')){
|
737 |
-
// wrapper.css({
|
738 |
-
// 'height': widget_wrapper_height,
|
739 |
-
// 'max-height': 9999,
|
740 |
-
// }).animate({'height': widget_totalHeight}, {'duration': ani_speed },'liner');
|
741 |
-
// wrapper.toggleClass('eae-fold-yes');
|
742 |
-
// wrapper.find('.eae-unfold-button-text').html(fold_text);
|
743 |
-
// wrapper.find('.eae-unfold-button-icon').html(fold_icon_html);
|
744 |
-
// }else{
|
745 |
-
// wrapper.css({
|
746 |
-
// 'max-height': widget_totalHeight,
|
747 |
-
// }).animate({'max-height': max_fold_height}, {'duration': ani_speed },'liner');
|
748 |
-
// wrapper.toggleClass('eae-fold-yes');
|
749 |
-
// wrapper.find('.eae-unfold-button-text').html(unfold_text);
|
750 |
-
// wrapper.find('.eae-unfold-button-icon').html(unfold_icon_html);
|
751 |
-
// }
|
752 |
-
// }
|
753 |
-
// })
|
754 |
-
//
|
755 |
-
// }
|
756 |
-
// var EaeUnfold = function ($scope, $) {
|
757 |
-
// if ($scope.hasClass('eae-widget-unfold-yes')) {
|
758 |
-
// $scope.imagesLoaded().done(function () {
|
759 |
-
// render_unfold($scope);
|
760 |
-
// });
|
761 |
-
// $(window).resize(function(){
|
762 |
-
// $scope.imagesLoaded().done(function () {
|
763 |
-
// // console.log('Resize Function Called');
|
764 |
-
// render_unfold($scope);
|
765 |
-
// });
|
766 |
-
// });
|
767 |
-
// // $win = $(window);
|
768 |
-
// // $win.on('resize', render_unfold($scope));
|
769 |
-
//
|
770 |
-
// }
|
771 |
-
// };
|
772 |
-
|
773 |
-
var EaePopup = function ($scope, $) {
|
774 |
-
$preview_modal = $scope.find('.eae-popup-wrapper').data('preview-modal');
|
775 |
-
$close_btn_type = $scope.find('.eae-popup-wrapper').data('close-button-type');
|
776 |
-
$close_btn = $scope.find('.eae-popup-wrapper').data('close-btn');
|
777 |
-
if($close_btn_type == 'icon'){
|
778 |
-
$close_btn_html = '<i class="eae-close ' + $close_btn + '"> </i>';
|
779 |
-
}else{
|
780 |
-
$close_btn_html = '<svg class="eae-close" style="-webkit-mask: url('+ $close_btn + '); mask: url('+ $close_btn + '); "></svg>';
|
781 |
-
|
782 |
-
}
|
783 |
-
|
784 |
-
|
785 |
-
$magnific = $scope.find('.eae-popup-link').eaePopup({
|
786 |
-
type: 'inline',
|
787 |
-
|
788 |
-
disableOn: 0,
|
789 |
-
|
790 |
-
key: null,
|
791 |
-
|
792 |
-
midClick: false,
|
793 |
-
|
794 |
-
mainClass: 'eae-popup eae-popup-' + $scope.find('.eae-popup-link').data('id') + ' eae-wrap-' + $scope.find('.eae-popup-link').data('ctrl-id'),
|
795 |
-
|
796 |
-
preloader: true,
|
797 |
-
|
798 |
-
focus: '', // CSS selector of input to focus after popup is opened
|
799 |
-
|
800 |
-
closeOnContentClick: false,
|
801 |
-
|
802 |
-
closeOnBgClick: true,
|
803 |
-
|
804 |
-
closeBtnInside: $scope.find('.eae-popup-wrapper').data('close-in-out'),
|
805 |
-
|
806 |
-
showCloseBtn: true,
|
807 |
-
|
808 |
-
enableEscapeKey: false,
|
809 |
-
|
810 |
-
modal: false,
|
811 |
-
|
812 |
-
alignTop: false,
|
813 |
-
|
814 |
-
removalDelay: 0,
|
815 |
-
|
816 |
-
prependTo: null,
|
817 |
-
|
818 |
-
fixedContentPos: true,
|
819 |
-
|
820 |
-
fixedBgPos: 'auto',
|
821 |
-
|
822 |
-
overflowY: 'auto',
|
823 |
-
|
824 |
-
closeMarkup: $close_btn_html,
|
825 |
-
|
826 |
-
tClose: 'Close (Esc)',
|
827 |
-
|
828 |
-
tLoading: 'Loading...',
|
829 |
-
|
830 |
-
autoFocusLast: true
|
831 |
-
});
|
832 |
-
|
833 |
-
if ($preview_modal == 'yes') {
|
834 |
-
if ($scope.hasClass('elementor-element-edit-mode')) {
|
835 |
-
$scope.find('.eae-popup-link').click();
|
836 |
-
}
|
837 |
-
}
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
};
|
842 |
-
|
843 |
-
|
844 |
-
var EAETestimonial = function ($scope, $) {
|
845 |
-
if ($scope.find('.eae-grid-wrapper').hasClass('eae-masonry-yes')) {
|
846 |
-
//console.log('grid');
|
847 |
-
var grid = $scope.find('.eae-grid');
|
848 |
-
var $grid_obj = grid.masonry({});
|
849 |
-
$grid_obj.imagesLoaded().progress(function () {
|
850 |
-
$grid_obj.masonry('layout');
|
851 |
-
});
|
852 |
-
}
|
853 |
-
if ($scope.find('.eae-layout-carousel').length) {
|
854 |
-
outer_wrapper = $scope.find('.eae-swiper-outer-wrapper');
|
855 |
-
wid = $scope.data('id');
|
856 |
-
wclass = '.elementor-element-' + wid;
|
857 |
-
var direction = outer_wrapper.data('direction');
|
858 |
-
var speed = outer_wrapper.data('speed');
|
859 |
-
var autoplay = outer_wrapper.data('autoplay');
|
860 |
-
var duration = outer_wrapper.data('duration');
|
861 |
-
//console.log(duration);
|
862 |
-
var effect = outer_wrapper.data('effect');
|
863 |
-
var space = outer_wrapper.data('space');
|
864 |
-
var loop = outer_wrapper.data('loop');
|
865 |
-
if (loop == 'yes') {
|
866 |
-
loop = true;
|
867 |
-
}
|
868 |
-
else {
|
869 |
-
loop = false;
|
870 |
-
}
|
871 |
-
var slides_per_view = outer_wrapper.data('slides-per-view');
|
872 |
-
var slides_per_group = outer_wrapper.data('slides-per-group');
|
873 |
-
var ptype = outer_wrapper.data('ptype');
|
874 |
-
var navigation = outer_wrapper.data('navigation');
|
875 |
-
var clickable = outer_wrapper.data('clickable');
|
876 |
-
var keyboard = outer_wrapper.data('keyboard');
|
877 |
-
var scrollbar = outer_wrapper.data('scrollbar');
|
878 |
-
adata = {
|
879 |
-
direction: direction,
|
880 |
-
effect: effect,
|
881 |
-
spaceBetween: space.desktop,
|
882 |
-
loop: loop,
|
883 |
-
speed: speed,
|
884 |
-
slidesPerView: slides_per_view.desktop,
|
885 |
-
slidesPerGroup: slides_per_group.desktop,
|
886 |
-
observer: true,
|
887 |
-
mousewheel: {
|
888 |
-
invert: true,
|
889 |
-
},
|
890 |
-
breakpoints: {
|
891 |
-
1024: {
|
892 |
-
spaceBetween: space.tablet,
|
893 |
-
slidesPerView: slides_per_view.tablet,
|
894 |
-
slidesPerGroup: slides_per_group.tablet,
|
895 |
-
},
|
896 |
-
767: {
|
897 |
-
spaceBetween: space.mobile,
|
898 |
-
slidesPerView: slides_per_view.mobile,
|
899 |
-
slidesPerGroup: slides_per_group.mobile,
|
900 |
-
}
|
901 |
-
}
|
902 |
-
};
|
903 |
-
if (effect == 'fade') {
|
904 |
-
adata['fadeEffect'] = {
|
905 |
-
crossFade: false,
|
906 |
-
}
|
907 |
-
}
|
908 |
-
if (autoplay == 'yes') {
|
909 |
-
adata['autoplay'] = {
|
910 |
-
delay: duration,
|
911 |
-
disableOnInteraction: false,
|
912 |
-
};
|
913 |
-
}
|
914 |
-
else {
|
915 |
-
adata['autoplay'] = false;
|
916 |
-
}
|
917 |
-
if (navigation == 'yes') {
|
918 |
-
adata['navigation'] = {
|
919 |
-
nextEl: '.swiper-button-next',
|
920 |
-
prevEl: '.swiper-button-prev',
|
921 |
-
}
|
922 |
-
}
|
923 |
-
if (ptype != '') {
|
924 |
-
adata['pagination'] = {
|
925 |
-
el: '.swiper-pagination',
|
926 |
-
type: ptype,
|
927 |
-
}
|
928 |
-
}
|
929 |
-
if (ptype == 'bullets' && clickable == 'yes') {
|
930 |
-
adata['pagination'] = {
|
931 |
-
el: '.swiper-pagination',
|
932 |
-
clickable: true,
|
933 |
-
type: ptype,
|
934 |
-
}
|
935 |
-
}
|
936 |
-
if (scrollbar == 'yes') {
|
937 |
-
adata['scrollbar'] = {
|
938 |
-
el: '.swiper-scrollbar',
|
939 |
-
draggable: true,
|
940 |
-
}
|
941 |
-
}
|
942 |
-
if (keyboard == 'yes') {
|
943 |
-
adata['keyboard'] = {
|
944 |
-
enabled: true,
|
945 |
-
onlyInViewport: true,
|
946 |
-
}
|
947 |
-
}
|
948 |
-
if (loop == false) {
|
949 |
-
adata['autoplay'] = {
|
950 |
-
delay: duration,
|
951 |
-
stopOnLastSlide: true,
|
952 |
-
disableOnInteraction: false,
|
953 |
-
}
|
954 |
-
}
|
955 |
-
//console.log(adata);
|
956 |
-
window.mswiper = new Swiper('.elementor-element-' + wid + ' .eae-swiper-outer-wrapper .swiper-container', adata);
|
957 |
-
$('.elementor-element-' + wid + ' .eae-swiper-outer-wrapper .swiper-container').css('visibility', 'visible');
|
958 |
-
}
|
959 |
-
};
|
960 |
-
|
961 |
-
/* Info Circle */
|
962 |
-
var InfoCircleHandler = function ($scope, $) {
|
963 |
-
|
964 |
-
$wrap_class = '.elementor-element-' + $scope.data('id');
|
965 |
-
$angle = 0;
|
966 |
-
|
967 |
-
function set_icon_mobile($wrap_class) {
|
968 |
-
$icons = $(document).find($wrap_class).find('.eae-ic-icon-wrap');
|
969 |
-
|
970 |
-
if (window.innerWidth < 767) {
|
971 |
-
$icons.each(function (index, value) {
|
972 |
-
$(value).css('top', $(value).height() / 2 + 8 + "px");
|
973 |
-
$(value).next('.eae-info-circle-item__content-wrap').css('padding-top', $(value).height() / 2 + 8 + "px");
|
974 |
-
});
|
975 |
-
}
|
976 |
-
else {
|
977 |
-
$icons.each(function (index, value) {
|
978 |
-
$(value).css('margin-left', $(value).outerWidth() * -.5);
|
979 |
-
$(value).css('margin-top', $(value).outerHeight() * -.5);
|
980 |
-
$a = arc_to_coords($angle);
|
981 |
-
$b = 360 / $icons.length;
|
982 |
-
$(value).css('left', $a.x + "%");
|
983 |
-
$(value).css('top', $a.y + "%");
|
984 |
-
$angle += $b;
|
985 |
-
});
|
986 |
-
}
|
987 |
-
}
|
988 |
-
|
989 |
-
set_icon_mobile($scope);
|
990 |
-
|
991 |
-
function arc_to_coords(angle) {
|
992 |
-
angle = (angle - 90) * Math.PI / 180;
|
993 |
-
|
994 |
-
return {
|
995 |
-
x: 50 + (45 * Math.cos(angle)),
|
996 |
-
y: 50 + (45 * Math.sin(angle))
|
997 |
-
}
|
998 |
-
}
|
999 |
-
|
1000 |
-
var timer = null;
|
1001 |
-
$autoplayDuration = $scope.find('.eae-info-circle').data('delay');
|
1002 |
-
|
1003 |
-
function startSetInterval() {
|
1004 |
-
if ($scope.find('.eae-info-circle').data('autoplay') == 'yes') {
|
1005 |
-
timer = setInterval(showDiv, $autoplayDuration);
|
1006 |
-
}
|
1007 |
-
}
|
1008 |
-
|
1009 |
-
// start function on page load
|
1010 |
-
startSetInterval();
|
1011 |
-
|
1012 |
-
// hover behaviour
|
1013 |
-
$scope.find('.eae-ic-icon-wrap').hover(function () {
|
1014 |
-
clearInterval(timer);
|
1015 |
-
}, function () {
|
1016 |
-
startSetInterval();
|
1017 |
-
});
|
1018 |
-
if ($scope.find('.eae-info-circle-item').length > 0) {
|
1019 |
-
$($scope.find('.eae-info-circle-item')[0]).addClass('eae-active');
|
1020 |
-
}
|
1021 |
-
|
1022 |
-
$scope.find('.eae-ic-icon-wrap').on('click', function () {
|
1023 |
-
$scope.find('.eae-info-circle-item').removeClass('eae-active');
|
1024 |
-
$(this).parent().addClass('eae-active');
|
1025 |
-
});
|
1026 |
-
if($scope.hasClass('eae-mouseenter-yes')){
|
1027 |
-
$scope.find('.eae-ic-icon-wrap').on('mouseenter', function () {
|
1028 |
-
$scope.find('.eae-info-circle-item').removeClass('eae-active');
|
1029 |
-
$(this).parent().addClass('eae-active');
|
1030 |
-
});
|
1031 |
-
}
|
1032 |
-
|
1033 |
-
|
1034 |
-
function showDiv() {
|
1035 |
-
if ($scope.find('.eae-active').next().length > 0) {
|
1036 |
-
$scope.find('.eae-active').next().addClass('eae-active').siblings().removeClass('eae-active');
|
1037 |
-
}
|
1038 |
-
else {
|
1039 |
-
$scope.find('.eae-info-circle-item').eq(0).addClass('eae-active').siblings().removeClass('eae-active');
|
1040 |
-
}
|
1041 |
-
}
|
1042 |
-
|
1043 |
-
window.addEventListener("resize", set_icon_mobile.bind(this, $wrap_class));
|
1044 |
-
};
|
1045 |
-
|
1046 |
-
var TimelineHandler = function ($scope, $) {
|
1047 |
-
|
1048 |
-
set_progress_bar();
|
1049 |
-
|
1050 |
-
function set_progress_bar() {
|
1051 |
-
var pb = $scope.find(".eae-timline-progress-bar");
|
1052 |
-
var items = $scope.find(".eae-timeline-item");
|
1053 |
-
var tl = $scope.find(".eae-timeline");
|
1054 |
-
const offset = tl.data('top-offset');
|
1055 |
-
var h = $(tl).height();
|
1056 |
-
var last_offset = $(items).last().find('.eae-tl-icon-wrapper').offset().top - $(items[0]).parent().offset().top;
|
1057 |
-
var icon_width = $scope.find('.eae-tl-icon-wrapper');
|
1058 |
-
|
1059 |
-
$(pb).css('top', $(items[0]).find('.eae-tl-icon-wrapper').offset().top - $(items[0]).parent().offset().top);
|
1060 |
-
$(pb).css('bottom', h - last_offset);
|
1061 |
-
$(pb).css('left', icon_width.eq(0)[0].offsetLeft + icon_width.eq(0).width() / 2);
|
1062 |
-
$(pb).css('display', 'block');
|
1063 |
-
|
1064 |
-
items.each(function (index, value) {
|
1065 |
-
var waypoint = new Waypoint({
|
1066 |
-
element: $(value),
|
1067 |
-
handler: function (direction) {
|
1068 |
-
if (direction == 'down') {
|
1069 |
-
$(value).addClass('eae-tl-item-focused');
|
1070 |
-
}
|
1071 |
-
else {
|
1072 |
-
$(value).removeClass('eae-tl-item-focused');
|
1073 |
-
}
|
1074 |
-
},
|
1075 |
-
offset: offset,
|
1076 |
-
})
|
1077 |
-
});
|
1078 |
-
}
|
1079 |
-
|
1080 |
-
function progress_bar_increment() {
|
1081 |
-
var pb = $scope.find(".eae-timline-progress-bar");
|
1082 |
-
var tm = $scope.find(".eae-timeline");
|
1083 |
-
const offset = tm.data('top-offset');
|
1084 |
-
//jQuery(".eae-timline-progress-bar").css('top', $scope.find(".eae-timeline").offset().top + 50);
|
1085 |
-
$scope.find(".eae-pb-inner-line").css('height', $(window).scrollTop() - $scope.find(".eae-timeline").offset().top + offset);
|
1086 |
-
$scope.find(".eae-pb-inner-line").css('max-height', $scope.find(".eae-pb-inner-line").parent().height());
|
1087 |
-
}
|
1088 |
-
|
1089 |
-
// listen for events
|
1090 |
-
//window.addEventListener("load", set_progress_bar);
|
1091 |
-
window.addEventListener("resize", set_progress_bar);
|
1092 |
-
window.addEventListener("scroll", progress_bar_increment);
|
1093 |
-
};
|
1094 |
-
|
1095 |
-
function eaeSetCookie(cname, cvalue, exdays) {
|
1096 |
-
var d = new Date();
|
1097 |
-
d.setTime(d.getTime() + (exdays * 60 * 60 * 1000));
|
1098 |
-
|
1099 |
-
//console.log('exp time',cookie_expire);
|
1100 |
-
//d.setTime(d.getTime() + ( exdays * 60 * 60 * 1000));
|
1101 |
-
var expires = "expires=" + d.toUTCString();
|
1102 |
-
document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
|
1103 |
-
|
1104 |
-
};
|
1105 |
-
|
1106 |
-
function eaeGetCookie(cname) {
|
1107 |
-
var name = cname + "=";
|
1108 |
-
var decodedCookie = decodeURIComponent(document.cookie);
|
1109 |
-
var ca = decodedCookie.split(';');
|
1110 |
-
for (var i = 0; i < ca.length; i++) {
|
1111 |
-
var c = ca[i];
|
1112 |
-
while (c.charAt(0) == ' ') {
|
1113 |
-
c = c.substring(1);
|
1114 |
-
}
|
1115 |
-
if (c.indexOf(name) == 0) {
|
1116 |
-
return c.substring(name.length, c.length);
|
1117 |
-
}
|
1118 |
-
}
|
1119 |
-
return "";
|
1120 |
-
};
|
1121 |
-
|
1122 |
-
var EgTimerSkin1 = function ($scope, $) {
|
1123 |
-
|
1124 |
-
var countDownDate = $scope.find(".eae-evergreen-wrapper").data("egtime");
|
1125 |
-
var cookie_expire = $scope.find(".eae-evergreen-wrapper").data("egt-expire");
|
1126 |
-
var element_type = $scope.find(".eae-evergreen-wrapper").data("element-type");
|
1127 |
-
var element_id = "eae-" + $scope.find(".eae-evergreen-wrapper").data("id");
|
1128 |
-
var element_cookie_id = "eae-temp-" + $scope.find(".eae-evergreen-wrapper").data("id");
|
1129 |
-
var actions = $scope.find(".eae-evergreen-wrapper").data("actions");
|
1130 |
-
|
1131 |
-
var unqId = $scope.find(".eae-evergreen-wrapper").data("unqid");
|
1132 |
-
|
1133 |
-
var now = new Date().getTime();
|
1134 |
-
|
1135 |
-
// for front end time get from cookie
|
1136 |
-
|
1137 |
-
if (!$scope.hasClass('elementor-element-edit-mode')) {
|
1138 |
-
if (element_type === 'countdown') {
|
1139 |
-
date1 = new Date(countDownDate);
|
1140 |
-
countDownDate = date1.getTime();
|
1141 |
-
|
1142 |
-
var expires1 = "expires=" + date1.toUTCString();
|
1143 |
-
document.cookie = element_cookie_id + "=" + date1.getTime() + ";" + expires1 + ";path=/";
|
1144 |
-
}
|
1145 |
-
else {
|
1146 |
-
var first_load_value = eaeGetCookie(element_id);
|
1147 |
-
var date1 = "";
|
1148 |
-
if (first_load_value !== "") {
|
1149 |
-
date1 = new Date(parseInt(first_load_value));
|
1150 |
-
date1.setSeconds(date1.getSeconds() + $scope.find(".eae-evergreen-wrapper").data("egtime"));
|
1151 |
-
countDownDate = date1.getTime();
|
1152 |
-
|
1153 |
-
var d2 = new Date(parseInt(first_load_value));
|
1154 |
-
d2.setTime(d2.getTime() + (cookie_expire * 60 * 60 * 1000));
|
1155 |
-
var expires2 = "expires=" + d2.toUTCString();
|
1156 |
-
document.cookie = element_id + "=" + first_load_value + ";" + expires2 + ';path=/';
|
1157 |
-
|
1158 |
-
|
1159 |
-
var d1 = new Date(parseInt(first_load_value));
|
1160 |
-
d1.setTime(d1.getTime() + ($scope.find(".eae-evergreen-wrapper").data("egtime") * 1000));
|
1161 |
-
var expires1 = "expires=" + d1.toUTCString();
|
1162 |
-
|
1163 |
-
//console.log('expire',expires);
|
1164 |
-
if ((countDownDate - now) > 0) {
|
1165 |
-
document.cookie = element_cookie_id + "=" + first_load_value + ";" + expires1 + ";path=/";
|
1166 |
-
}
|
1167 |
-
}
|
1168 |
-
else {
|
1169 |
-
//console.log('countdown date set cookie',countDownDate);
|
1170 |
-
temp_date = countDownDate;
|
1171 |
-
date1 = new Date();
|
1172 |
-
date1.setSeconds(date1.getSeconds() + $scope.find(".eae-evergreen-wrapper").data("egtime"));
|
1173 |
-
countDownDate = date1.getTime();
|
1174 |
-
//console.log('countdown date set cookie',countDownDate);
|
1175 |
-
eaeSetCookie(element_id, new Date().getTime(), cookie_expire);
|
1176 |
-
//eaeSetCookie(element_cookie_id, new Date().getTime(), countDownDate);
|
1177 |
-
|
1178 |
-
var d = new Date();
|
1179 |
-
d.setTime(d.getTime() + (temp_date * 1000));
|
1180 |
-
var expires = "expires=" + d.toUTCString();
|
1181 |
-
//console.log('first load');
|
1182 |
-
//console.log('expire',expires);
|
1183 |
-
|
1184 |
-
document.cookie = element_cookie_id + "=" + new Date().getTime() + ";" + expires + ";path=/";
|
1185 |
-
}
|
1186 |
-
}
|
1187 |
-
}
|
1188 |
-
if (!$scope.hasClass('elementor-element-edit-mode')) {
|
1189 |
-
var distance = countDownDate - now;
|
1190 |
-
|
1191 |
-
if (distance < 0) {
|
1192 |
-
|
1193 |
-
if (actions.length > 0) {
|
1194 |
-
actions.forEach(function (value) {
|
1195 |
-
if (value === 'redirect') {
|
1196 |
-
$url = $scope.find(".eae-evergreen-wrapper").data("redirected-url");
|
1197 |
-
if ($.trim($url) !== "") {
|
1198 |
-
window.location.href = $url1;
|
1199 |
-
}
|
1200 |
-
}
|
1201 |
-
if (value === 'hide') {
|
1202 |
-
if (!$scope.hasClass('elementor-element-edit-mode')) {
|
1203 |
-
$scope.find('#eaeclockdiv').css('display', 'none');
|
1204 |
-
$scope.find('.egt-title').css('display', 'none');
|
1205 |
-
}
|
1206 |
-
}
|
1207 |
-
if (value === 'message') {
|
1208 |
-
$scope.find('.eae-egt-message').css('display', 'block');
|
1209 |
-
}
|
1210 |
-
if (value === 'hide_parent') {
|
1211 |
-
if (!$scope.hasClass('elementor-element-edit-mode')) {
|
1212 |
-
$p_secs = $scope.closest('section');
|
1213 |
-
$p_secs.css('display', 'none');
|
1214 |
-
}
|
1215 |
-
}
|
1216 |
-
});
|
1217 |
-
}
|
1218 |
-
|
1219 |
-
days = "00";
|
1220 |
-
hours = "00";
|
1221 |
-
minutes = "00";
|
1222 |
-
seconds = "00";
|
1223 |
-
|
1224 |
-
$scope.find('.' + unqId).find('#eaedivDays').html(days);
|
1225 |
-
$scope.find('.' + unqId).find('#eaedivHours').html(hours.slice(-2));
|
1226 |
-
$scope.find('.' + unqId).find('#eaedivMinutes').html(minutes.slice(-2));
|
1227 |
-
$scope.find('.' + unqId).find('#eaedivSeconds').html(seconds.slice(-2));
|
1228 |
-
return;
|
1229 |
-
}
|
1230 |
-
}
|
1231 |
-
|
1232 |
-
// For editor
|
1233 |
-
|
1234 |
-
if ($scope.hasClass('elementor-element-edit-mode')) {
|
1235 |
|
1236 |
-
|
1237 |
-
|
1238 |
-
|
1239 |
-
|
1240 |
-
|
1241 |
-
|
1242 |
-
|
1243 |
-
|
1244 |
-
|
1245 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1246 |
|
1247 |
-
|
1248 |
-
|
1249 |
-
|
1250 |
-
|
1251 |
-
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
1255 |
-
|
1256 |
-
|
1257 |
-
|
1258 |
-
|
1259 |
-
|
1260 |
-
|
1261 |
-
|
1262 |
-
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
|
1268 |
-
|
1269 |
-
|
1270 |
-
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
-
|
1299 |
-
|
|
|
1300 |
|
1301 |
-
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1308 |
|
1309 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1310 |
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1311 |
|
1312 |
-
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
1316 |
-
|
1317 |
-
|
1318 |
-
|
1319 |
-
|
1320 |
-
|
1321 |
-
|
1322 |
-
|
1323 |
-
|
1324 |
-
|
1325 |
-
|
1326 |
-
|
1327 |
-
|
1328 |
-
|
1329 |
-
|
1330 |
-
|
1331 |
-
|
1332 |
-
|
1333 |
-
|
1334 |
-
|
1335 |
-
|
1336 |
-
|
1337 |
-
|
1338 |
-
|
1339 |
-
var d2 = new Date(parseInt(first_load_value));
|
1340 |
-
d2.setTime(d2.getTime() + (cookie_expire * 60 * 60 * 1000));
|
1341 |
-
var expires2 = "expires=" + d2.toUTCString();
|
1342 |
-
document.cookie = element_id + "=" + first_load_value + ";" + expires2 + ';path=/';
|
1343 |
-
|
1344 |
-
|
1345 |
-
var d1 = new Date(parseInt(first_load_value));
|
1346 |
-
d1.setTime(d1.getTime() + ($scope.find(".eae-evergreen-wrapper").data("egtime") * 1000));
|
1347 |
-
var expires1 = "expires=" + d1.toUTCString();
|
1348 |
-
|
1349 |
-
if ((countDownDate - now) > 0) {
|
1350 |
-
document.cookie = element_cookie_id + "=" + first_load_value + ";" + expires1 + ";path=/";
|
1351 |
-
}
|
1352 |
-
}
|
1353 |
-
else {
|
1354 |
-
temp_date = countDownDate;
|
1355 |
-
date1 = new Date();
|
1356 |
-
date1.setSeconds(date1.getSeconds() + $scope.find(".eae-evergreen-wrapper").data("egtime"));
|
1357 |
-
countDownDate = date1.getTime();
|
1358 |
-
//console.log('countdown date set cookie',countDownDate);
|
1359 |
-
eaeSetCookie(element_id, new Date().getTime(), cookie_expire);
|
1360 |
-
//eaeSetCookie(element_cookie_id, new Date().getTime(), countDownDate);
|
1361 |
-
|
1362 |
-
var d = new Date();
|
1363 |
-
d.setTime(d.getTime() + (temp_date * 1000));
|
1364 |
-
var expires = "expires=" + d.toUTCString();
|
1365 |
-
|
1366 |
-
document.cookie = element_cookie_id + "=" + new Date().getTime() + ";" + expires + ";path=/";
|
1367 |
-
}
|
1368 |
-
}
|
1369 |
-
}
|
1370 |
-
if (!$scope.hasClass('elementor-element-edit-mode')) {
|
1371 |
-
var distance = countDownDate - now;
|
1372 |
-
if (distance < 0) {
|
1373 |
-
|
1374 |
-
if (actions.length > 0) {
|
1375 |
-
actions.forEach(function (value) {
|
1376 |
-
if (value === 'redirect') {
|
1377 |
-
$url = $scope.find(".eae-evergreen-wrapper").data("redirected-url");
|
1378 |
-
if ($.trim($url) !== "") {
|
1379 |
-
window.location.href = $url;
|
1380 |
-
}
|
1381 |
-
}
|
1382 |
-
if (value === 'hide') {
|
1383 |
-
$scope.find('.' + unqId).find('.timer-container').css('display', 'none');
|
1384 |
-
$scope.find('.' + unqId).find('.egt-title').css('display', 'none');
|
1385 |
-
}
|
1386 |
-
if (value === 'message') {
|
1387 |
-
$scope.find('.' + unqId).find('.eae-egt-message').css('display', 'block');
|
1388 |
-
}
|
1389 |
-
if (value === 'hide_parent') {
|
1390 |
-
if (!$scope.hasClass('elementor-element-edit-mode')) {
|
1391 |
-
$p_secs = $scope.closest('section');
|
1392 |
-
$p_secs.css('display', 'none');
|
1393 |
-
}
|
1394 |
-
}
|
1395 |
-
});
|
1396 |
-
}
|
1397 |
-
|
1398 |
-
|
1399 |
-
return;
|
1400 |
-
}
|
1401 |
-
}
|
1402 |
-
|
1403 |
-
if ($scope.hasClass('elementor-element-edit-mode')) {
|
1404 |
-
if (element_type === 'countdown') {
|
1405 |
-
date1 = new Date(countDownDate);
|
1406 |
-
countDownDate = date1.getTime();
|
1407 |
-
}
|
1408 |
-
else {
|
1409 |
-
date1 = new Date();
|
1410 |
-
date1.setSeconds(date1.getSeconds() + $scope.find(".eae-evergreen-wrapper").data("egtime"));
|
1411 |
-
countDownDate = date1.getTime();
|
1412 |
-
}
|
1413 |
-
}
|
1414 |
-
|
1415 |
-
// Update the count down every 1 second
|
1416 |
-
var x = setInterval(function () {
|
1417 |
-
|
1418 |
-
// Get todays date and time
|
1419 |
-
var now = new Date().getTime();
|
1420 |
-
|
1421 |
-
// Find the distance between now and the count down date
|
1422 |
-
var distance = countDownDate - now;
|
1423 |
-
|
1424 |
-
// Time calculations for days, hours, minutes and seconds
|
1425 |
-
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
|
1426 |
-
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
1427 |
-
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
1428 |
-
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
1429 |
-
|
1430 |
-
$scope.find('.' + unqId).find('#eaeulSec1').find('.flip-clock-active').removeClass('flip-clock-active');
|
1431 |
-
$scope.find('.' + unqId).find('#eaeulSec1').find('.flip-clock-before').removeClass('flip-clock-before');
|
1432 |
-
$scope.find('.' + unqId).find('#eaeulSec').find('.flip-clock-active').removeClass('flip-clock-active');
|
1433 |
-
$scope.find('.' + unqId).find('#eaeulSec').find('.flip-clock-before').removeClass('flip-clock-before');
|
1434 |
-
// If the count down is finished, write some text
|
1435 |
-
if (distance < 0) {
|
1436 |
-
clearInterval(x);
|
1437 |
-
if (actions.length > 0) {
|
1438 |
-
actions.forEach(function (value) {
|
1439 |
-
if (value === 'redirect') {
|
1440 |
-
if (!$scope.hasClass('elementor-element-edit-mode')) {
|
1441 |
-
$url1 = $scope.find(".eae-evergreen-wrapper").data("redirected-url");
|
1442 |
-
if ($.trim($url1) !== "") {
|
1443 |
-
window.location.href = $url1;
|
1444 |
-
}
|
1445 |
-
}
|
1446 |
-
}
|
1447 |
-
if (value === 'hide') {
|
1448 |
-
if (!$scope.hasClass('elementor-element-edit-mode')) {
|
1449 |
-
$scope.find('.' + unqId).find('.timer-container').css('display', 'none');
|
1450 |
-
$scope.find('.' + unqId).find('.egt-title').css('display', 'none');
|
1451 |
-
}
|
1452 |
-
}
|
1453 |
-
if (value === 'message') {
|
1454 |
-
if (!$scope.hasClass('elementor-element-edit-mode')) {
|
1455 |
-
$scope.find('.' + unqId).find('.eae-egt-message').css('display', 'block');
|
1456 |
-
}
|
1457 |
-
}
|
1458 |
-
if (value === 'hide_parent') {
|
1459 |
-
if (!$scope.hasClass('elementor-element-edit-mode')) {
|
1460 |
-
$p_secs = $scope.closest('section');
|
1461 |
-
$p_secs.css('display', 'none');
|
1462 |
-
}
|
1463 |
-
}
|
1464 |
-
});
|
1465 |
-
}
|
1466 |
-
//document.getElementById("demo").Html = "EXPIRED";
|
1467 |
-
return;
|
1468 |
-
}
|
1469 |
-
if ($.trim(seconds).length === 2) {
|
1470 |
-
//var x = parseInt($.trim(seconds).charAt(1)) - 1;
|
1471 |
-
var a = "#eaeulSec1 li:eq( " + $.trim(seconds).charAt(1) + " )";
|
1472 |
-
var b = "#eaeulSec li:eq( " + $.trim(seconds).charAt(0) + " )";
|
1473 |
-
|
1474 |
-
if ($scope.find('.' + unqId).find(a).next().length > 0) {
|
1475 |
-
$scope.find('.' + unqId).find(a).addClass('flip-clock-active');
|
1476 |
-
$scope.find('.' + unqId).find(a).next().addClass('flip-clock-before');
|
1477 |
-
}
|
1478 |
-
else {
|
1479 |
-
$scope.find('.' + unqId).find('#eaeulSec1 li:last-child').addClass('flip-clock-active');
|
1480 |
-
$scope.find('.' + unqId).find('#eaeulSec1 li:first-child').addClass('flip-clock-before');
|
1481 |
-
}
|
1482 |
-
if ($scope.find('.' + unqId).find(b).next().length > 0) {
|
1483 |
-
$scope.find('.' + unqId).find(b).addClass('flip-clock-active');
|
1484 |
-
$scope.find('.' + unqId).find(b).next().addClass('flip-clock-before');
|
1485 |
-
}
|
1486 |
-
else {
|
1487 |
-
$scope.find('.' + unqId).find('#eaeulSec li:last-child').addClass('flip-clock-active');
|
1488 |
-
$scope.find('.' + unqId).find('#eaeulSec li:first-child').addClass('flip-clock-before');
|
1489 |
-
}
|
1490 |
-
}
|
1491 |
-
else {
|
1492 |
-
//var x = parseInt($.trim(seconds).charAt(1)) - 1;
|
1493 |
-
var a = "#eaeulSec1 li:eq( " + $.trim(seconds).charAt(0) + " )";
|
1494 |
-
var b = "#eaeulSec li:eq( 0 )";
|
1495 |
-
|
1496 |
-
if ($scope.find('.' + unqId).find(a).next().length > 0) {
|
1497 |
-
$scope.find('.' + unqId).find(a).addClass('flip-clock-active');
|
1498 |
-
$scope.find('.' + unqId).find(a).next().addClass('flip-clock-before');
|
1499 |
-
}
|
1500 |
-
else {
|
1501 |
-
$scope.find('.' + unqId).find('#eaeulSec1 li:last-child').addClass('flip-clock-active');
|
1502 |
-
$scope.find('.' + unqId).find('#eaeulSec1 li:first-child').addClass('flip-clock-before');
|
1503 |
-
}
|
1504 |
-
|
1505 |
-
if ($scope.find('.' + unqId).find(b).next().length > 0) {
|
1506 |
-
$scope.find('.' + unqId).find(b).addClass('flip-clock-active');
|
1507 |
-
$scope.find('.' + unqId).find(b).next().addClass('flip-clock-before');
|
1508 |
-
}
|
1509 |
-
else {
|
1510 |
-
$scope.find('.' + unqId).find('#eaeulSec li:last-child').addClass('flip-clock-active');
|
1511 |
-
$scope.find('.' + unqId).find('#eaeulSec li:first-child').addClass('flip-clock-before');
|
1512 |
-
}
|
1513 |
-
}
|
1514 |
-
|
1515 |
-
$scope.find('.' + unqId).find('#eaeulMin1').find('.flip-clock-active').removeClass('flip-clock-active');
|
1516 |
-
$scope.find('.' + unqId).find('#eaeulMin1').find('.flip-clock-before').removeClass('flip-clock-before');
|
1517 |
-
$scope.find('.' + unqId).find('#eaeulMin').find('.flip-clock-active').removeClass('flip-clock-active');
|
1518 |
-
$scope.find('.' + unqId).find('#eaeulMin').find('.flip-clock-before').removeClass('flip-clock-before');
|
1519 |
-
|
1520 |
-
if ($.trim(minutes).length == 2) {
|
1521 |
-
//var x = parseInt($.trim(seconds).charAt(1)) - 1;
|
1522 |
-
var a = "#eaeulMin1 li:eq( " + $.trim(minutes).charAt(1) + " )";
|
1523 |
-
var b = "#eaeulMin li:eq( " + $.trim(minutes).charAt(0) + " )";
|
1524 |
-
|
1525 |
-
if ($scope.find('.' + unqId).find(a).next().length > 0) {
|
1526 |
-
$scope.find('.' + unqId).find(a).addClass('flip-clock-active');
|
1527 |
-
$scope.find('.' + unqId).find(a).next().addClass('flip-clock-before');
|
1528 |
-
}
|
1529 |
-
else {
|
1530 |
-
$scope.find('.' + unqId).find('#eaeulMin1 li:last-child').addClass('flip-clock-active');
|
1531 |
-
$scope.find('.' + unqId).find('#eaeulMin1 li:first-child').addClass('flip-clock-before');
|
1532 |
-
}
|
1533 |
-
if ($scope.find('.' + unqId).find(b).next().length > 0) {
|
1534 |
-
$scope.find('.' + unqId).find(b).addClass('flip-clock-active');
|
1535 |
-
$scope.find('.' + unqId).find(b).next().addClass('flip-clock-before');
|
1536 |
-
}
|
1537 |
-
else {
|
1538 |
-
$scope.find('.' + unqId).find('#eaeulMin li:last-child').addClass('flip-clock-active');
|
1539 |
-
$scope.find('.' + unqId).find('#eaeulMin li:first-child').addClass('flip-clock-before');
|
1540 |
-
}
|
1541 |
-
}
|
1542 |
-
else {
|
1543 |
-
//var x = parseInt($.trim(seconds).charAt(1)) - 1;
|
1544 |
-
var a = "#eaeulMin1 li:eq( " + $.trim(minutes).charAt(0) + " )";
|
1545 |
-
var b = "#eaeulMin li:eq( 0 )";
|
1546 |
-
|
1547 |
-
if ($scope.find('.' + unqId).find(a).next().length > 0) {
|
1548 |
-
$scope.find('.' + unqId).find(a).addClass('flip-clock-active');
|
1549 |
-
$scope.find('.' + unqId).find(a).next().addClass('flip-clock-before');
|
1550 |
-
}
|
1551 |
-
else {
|
1552 |
-
$scope.find('.' + unqId).find('#eaeulMin1 li:last-child').addClass('flip-clock-active');
|
1553 |
-
$scope.find('.' + unqId).find('#eaeulMin1 li:first-child').addClass('flip-clock-before');
|
1554 |
-
}
|
1555 |
-
|
1556 |
-
if ($scope.find('.' + unqId).find(b).next().length > 0) {
|
1557 |
-
$scope.find('.' + unqId).find(b).addClass('flip-clock-active');
|
1558 |
-
$scope.find('.' + unqId).find(b).next().addClass('flip-clock-before');
|
1559 |
-
}
|
1560 |
-
else {
|
1561 |
-
$scope.find('.' + unqId).find('#eaeulMin li:last-child').addClass('flip-clock-active');
|
1562 |
-
$scope.find('.' + unqId).find('#eaeulMin li:first-child').addClass('flip-clock-before');
|
1563 |
-
}
|
1564 |
-
}
|
1565 |
-
|
1566 |
-
$scope.find('.' + unqId).find('#eaeulHour1').find('.flip-clock-active').removeClass('flip-clock-active');
|
1567 |
-
$scope.find('.' + unqId).find('#eaeulHour1').find('.flip-clock-before').removeClass('flip-clock-before');
|
1568 |
-
$scope.find('.' + unqId).find('#eaeulHour').find('.flip-clock-active').removeClass('flip-clock-active');
|
1569 |
-
$scope.find('.' + unqId).find('#eaeulHour').find('.flip-clock-before').removeClass('flip-clock-before');
|
1570 |
|
1571 |
-
|
1572 |
-
//var x = parseInt($.trim(seconds).charAt(1)) - 1;
|
1573 |
-
var a = "#eaeulHour1 li:eq( " + $.trim(hours).charAt(1) + " )";
|
1574 |
-
var b = "#eaeulHour li:eq( " + $.trim(hours).charAt(0) + " )";
|
1575 |
|
1576 |
-
|
1577 |
-
|
1578 |
-
$scope.find('.' + unqId).find(a).next().addClass('flip-clock-before');
|
1579 |
-
}
|
1580 |
-
else {
|
1581 |
-
$scope.find('.' + unqId).find('#eaeulHour1 li:last-child').addClass('flip-clock-active');
|
1582 |
-
$scope.find('.' + unqId).find('#eaeulHour1 li:first-child').addClass('flip-clock-before');
|
1583 |
-
}
|
1584 |
-
if ($scope.find('.' + unqId).find(b).next().length > 0) {
|
1585 |
-
$scope.find('.' + unqId).find(b).addClass('flip-clock-active');
|
1586 |
-
$scope.find('.' + unqId).find(b).next().addClass('flip-clock-before');
|
1587 |
-
}
|
1588 |
-
else {
|
1589 |
-
$scope.find('.' + unqId).find('#eaeulHour li:last-child').addClass('flip-clock-active');
|
1590 |
-
$scope.find('.' + unqId).find('#eaeulHour li:first-child').addClass('flip-clock-before');
|
1591 |
-
}
|
1592 |
-
}
|
1593 |
-
else {
|
1594 |
-
//var x = parseInt($.trim(seconds).charAt(1)) - 1;
|
1595 |
-
var a = "#eaeulHour1 li:eq( " + $.trim(hours).charAt(0) + " )";
|
1596 |
-
var b = "#eaeulHour li:eq( 0 )";
|
1597 |
-
|
1598 |
-
if ($scope.find('.' + unqId).find(a).next().length > 0) {
|
1599 |
-
$scope.find('.' + unqId).find(a).addClass('flip-clock-active');
|
1600 |
-
$scope.find('.' + unqId).find(a).next().addClass('flip-clock-before');
|
1601 |
-
}
|
1602 |
-
else {
|
1603 |
-
$scope.find('.' + unqId).find('#eaeulHour1 li:last-child').addClass('flip-clock-active');
|
1604 |
-
$scope.find('.' + unqId).find('#eaeulHour li:first-child').addClass('flip-clock-before');
|
1605 |
-
}
|
1606 |
|
1607 |
-
|
1608 |
-
|
1609 |
-
|
1610 |
-
|
1611 |
-
|
1612 |
-
$scope.find('.' + unqId).find('#eaeulHour li:last-child').addClass('flip-clock-active');
|
1613 |
-
$scope.find('.' + unqId).find('#eaeulHour li:first-child').addClass('flip-clock-before');
|
1614 |
-
}
|
1615 |
-
}
|
1616 |
|
1617 |
-
|
1618 |
-
|
1619 |
-
$scope.find('.' + unqId).find('#eaeulDay').find('.flip-clock-active').removeClass('flip-clock-active');
|
1620 |
-
$scope.find('.' + unqId).find('#eaeulDay').find('.flip-clock-before').removeClass('flip-clock-before');
|
1621 |
|
1622 |
-
|
1623 |
-
|
1624 |
-
|
1625 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1626 |
|
1627 |
-
|
1628 |
-
|
1629 |
-
|
1630 |
-
|
1631 |
-
|
1632 |
-
$scope.find('.' + unqId).find('#eaeulDay1 li:last-child').addClass('flip-clock-active');
|
1633 |
-
$scope.find('.' + unqId).find('#eaeulDay1 li:first-child').addClass('flip-clock-before');
|
1634 |
-
}
|
1635 |
-
if ($scope.find('.' + unqId).find(b).next().length > 0) {
|
1636 |
-
$scope.find('.' + unqId).find(b).addClass('flip-clock-active');
|
1637 |
-
$scope.find('.' + unqId).find(b).next().addClass('flip-clock-before');
|
1638 |
-
}
|
1639 |
-
else {
|
1640 |
-
$scope.find('.' + unqId).find('#eaeulDay li:last-child').addClass('flip-clock-active');
|
1641 |
-
$scope.find('.' + unqId).find('#eaeulDay li:first-child').addClass('flip-clock-before');
|
1642 |
-
}
|
1643 |
-
}
|
1644 |
-
else {
|
1645 |
-
//var x = parseInt($.trim(seconds).charAt(1)) - 1;
|
1646 |
-
var a = "#eaeulDay1 li:eq( " + $.trim(days).charAt(0) + " )";
|
1647 |
-
var b = "#eaeulDay li:eq( 0 )";
|
1648 |
-
|
1649 |
-
if ($scope.find('.' + unqId).find(a).next().length > 0) {
|
1650 |
-
$scope.find('.' + unqId).find(a).addClass('flip-clock-active');
|
1651 |
-
$scope.find('.' + unqId).find(a).next().addClass('flip-clock-before');
|
1652 |
-
}
|
1653 |
-
else {
|
1654 |
-
$scope.find('.' + unqId).find('#eaeulDay1 li:last-child').addClass('flip-clock-active');
|
1655 |
-
$scope.find('.' + unqId).find('#eaeulDay li:first-child').addClass('flip-clock-before');
|
1656 |
-
}
|
1657 |
|
1658 |
-
|
1659 |
-
|
1660 |
-
|
1661 |
-
|
1662 |
-
|
1663 |
-
|
1664 |
-
|
1665 |
-
|
1666 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1667 |
|
1668 |
-
|
1669 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1670 |
|
1671 |
-
|
1672 |
-
|
1673 |
-
|
1674 |
-
|
1675 |
-
|
1676 |
-
|
1677 |
-
|
1678 |
-
|
1679 |
-
|
1680 |
-
|
1681 |
-
|
1682 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1683 |
|
1684 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1685 |
|
1686 |
-
|
|
|
|
|
1687 |
|
1688 |
-
|
1689 |
-
|
1690 |
-
|
1691 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1692 |
|
1693 |
-
|
1694 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1695 |
|
1696 |
-
|
1697 |
-
|
1698 |
-
|
1699 |
-
|
1700 |
-
|
1701 |
-
|
1702 |
-
|
1703 |
-
|
1704 |
-
|
1705 |
-
|
1706 |
-
|
1707 |
-
|
1708 |
-
|
1709 |
-
|
1710 |
-
|
1711 |
-
|
1712 |
-
|
1713 |
-
|
1714 |
-
|
1715 |
-
|
1716 |
-
|
1717 |
-
|
1718 |
-
|
1719 |
-
|
1720 |
-
|
1721 |
-
|
1722 |
-
|
1723 |
-
|
1724 |
-
|
1725 |
-
|
1726 |
-
|
1727 |
-
|
1728 |
-
|
1729 |
-
|
1730 |
-
|
1731 |
-
|
1732 |
-
|
1733 |
-
|
1734 |
-
|
1735 |
-
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
1741 |
-
|
1742 |
-
|
1743 |
-
|
1744 |
-
|
1745 |
-
|
1746 |
-
|
1747 |
-
|
1748 |
-
|
1749 |
-
|
1750 |
-
|
1751 |
-
|
1752 |
-
|
1753 |
-
|
1754 |
-
|
1755 |
-
|
1756 |
-
|
1757 |
-
|
1758 |
-
|
1759 |
-
|
1760 |
-
|
1761 |
-
|
1762 |
-
|
1763 |
-
|
1764 |
-
|
1765 |
-
|
1766 |
-
|
1767 |
-
|
1768 |
-
|
1769 |
-
|
1770 |
-
|
1771 |
-
|
1772 |
-
|
1773 |
-
|
1774 |
-
|
1775 |
-
|
1776 |
-
|
1777 |
-
|
1778 |
-
|
1779 |
-
|
1780 |
-
|
1781 |
-
|
1782 |
-
|
1783 |
-
|
1784 |
-
|
1785 |
-
|
1786 |
-
|
1787 |
-
|
1788 |
-
|
1789 |
-
|
1790 |
-
|
1791 |
-
|
1792 |
-
|
1793 |
-
|
1794 |
-
|
1795 |
-
|
1796 |
-
|
1797 |
-
|
1798 |
-
|
1799 |
-
|
1800 |
-
|
1801 |
-
|
1802 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1803 |
|
1804 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1805 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1806 |
|
1807 |
-
|
1808 |
-
|
1809 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1810 |
|
1811 |
-
|
1812 |
-
|
1813 |
-
|
1814 |
-
|
1815 |
-
|
1816 |
-
|
1817 |
-
|
1818 |
-
|
1819 |
-
|
1820 |
-
|
1821 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1822 |
|
1823 |
-
|
1824 |
date1 = new Date(countDownDate);
|
1825 |
countDownDate = date1.getTime();
|
1826 |
}
|
@@ -1840,1068 +2430,1266 @@ var breakpoints = eae.breakpoints;
|
|
1840 |
}
|
1841 |
}*/
|
1842 |
|
1843 |
-
|
1844 |
-
|
1845 |
-
if (timer.all > 1) {
|
1846 |
-
startTimer('timer', countDownDate);
|
1847 |
-
}
|
1848 |
-
|
1849 |
-
function updateTime(endDate) {
|
1850 |
-
var time = countDownDate - new Date();
|
1851 |
-
|
1852 |
-
return {
|
1853 |
-
'days': Math.floor(time / (1000 * 60 * 60 * 24)),
|
1854 |
-
'hours': "0" + Math.floor((time / (1000 * 60 * 60)) % 24),
|
1855 |
-
'minutes': "0" + Math.floor((time / (1000 * 60)) % 60),
|
1856 |
-
'seconds': "0" + Math.floor((time / 1000) % 60),
|
1857 |
-
'all': time
|
1858 |
-
}
|
1859 |
-
|
1860 |
-
}
|
1861 |
-
|
1862 |
-
function animate(span) {
|
1863 |
-
span.classList.add('fade');
|
1864 |
-
setTimeout(function () {
|
1865 |
-
span.classList.remove('fade');
|
1866 |
-
}, 700)
|
1867 |
-
}
|
1868 |
-
|
1869 |
-
function startTimer(clockID, endDate) {
|
1870 |
-
|
1871 |
-
var timeInt = setInterval(function () {
|
1872 |
-
//var clock = document.getElementById(clockID);
|
1873 |
-
var clock = $scope.find('.' + unqId).find('#timer')[0];
|
1874 |
-
var timer = updateTime(countDownDate);
|
1875 |
-
|
1876 |
-
//clock.innerHTML = "<span class='egt-time eae-time-wrapper'><div>"+timer.days+"</div></span><span class='egt-time eae-time-wrapper'><div>"+timer.hours+" </div></span><span class='egt-time eae-time-wrapper'><div>"+timer.minutes+"</div></span><span class='egt-time eae-time-wrapper'><div>"+timer.seconds+"</div></span>";
|
1877 |
-
if (dayShow === 'yes') {
|
1878 |
-
if (timer.days < 10) {
|
1879 |
-
timer.days = "0" + timer.days;
|
1880 |
-
}
|
1881 |
-
clock.innerHTML = "<span class='egt-time eae-time-wrapper'><div>" + timer.days + "</div></span>";
|
1882 |
-
}
|
1883 |
-
if (hourShow === 'yes') {
|
1884 |
-
if (dayShow === 'yes') {
|
1885 |
-
$(clock).append("<span class='egt-time eae-time-wrapper'><div>" + timer.hours.slice(-2) + "</div></span>");
|
1886 |
-
}
|
1887 |
-
else {
|
1888 |
-
clock.innerHTML = "<span class='egt-time eae-time-wrapper'><div>" + timer.hours.slice(-2) + "</div></span>";
|
1889 |
-
}
|
1890 |
-
}
|
1891 |
-
if (minShow === 'yes') {
|
1892 |
-
if (dayShow === 'yes' || hourShow === 'yes') {
|
1893 |
-
$(clock).append("<span class='egt-time eae-time-wrapper'><div>" + timer.minutes.slice(-2) + "</div></span>");
|
1894 |
-
}
|
1895 |
-
else {
|
1896 |
-
clock.innerHTML = "<span class='egt-time eae-time-wrapper'><div>" + timer.minutes.slice(-2) + "</div></span>";
|
1897 |
-
}
|
1898 |
-
}
|
1899 |
-
if (secShow === 'yes') {
|
1900 |
-
if (dayShow === 'yes' || hourShow === 'yes' || minShow === 'yes') {
|
1901 |
-
$(clock).append("<span class='egt-time eae-time-wrapper'><div>" + timer.seconds.slice(-2) + "</div></span>");
|
1902 |
-
}
|
1903 |
-
else {
|
1904 |
-
clock.innerHTML = "<span class='egt-time eae-time-wrapper'><div>" + timer.seconds.slice(-2) + "</div></span>";
|
1905 |
-
}
|
1906 |
-
}
|
1907 |
-
//console.log('d',dayShow,'h',hourShow,'m',minShow,'s',secShow);
|
1908 |
-
// animate
|
1909 |
-
var spans = clock.getElementsByTagName('span');
|
1910 |
-
if (dayShow === 'yes') {
|
1911 |
-
if (timer.hours == 59 && timer.minutes == 59 && timer.seconds == 59) animate(spans[0]);
|
1912 |
-
}
|
1913 |
|
1914 |
-
|
1915 |
-
|
1916 |
-
|
1917 |
-
}
|
1918 |
-
else {
|
1919 |
-
if (timer.minutes == 59 && timer.seconds == 59) animate(spans[0]);
|
1920 |
-
}
|
1921 |
-
}
|
1922 |
|
1923 |
-
|
1924 |
-
|
1925 |
-
if (hourShow === 'yes') {
|
1926 |
-
if (timer.seconds == 59) animate(spans[2]);
|
1927 |
-
}
|
1928 |
-
else {
|
1929 |
-
if (timer.seconds == 59) animate(spans[1]);
|
1930 |
-
}
|
1931 |
-
}
|
1932 |
-
else {
|
1933 |
-
if (hourShow === 'yes') {
|
1934 |
-
if (timer.seconds == 59) animate(spans[1]);
|
1935 |
-
}
|
1936 |
-
else {
|
1937 |
-
if (timer.seconds == 59) animate(spans[0]);
|
1938 |
-
}
|
1939 |
-
}
|
1940 |
-
}
|
1941 |
-
if (secShow === 'yes') {
|
1942 |
-
if (dayShow === 'yes') {
|
1943 |
-
if (hourShow === 'yes') {
|
1944 |
-
if (minShow === 'yes') {
|
1945 |
-
animate(spans[3]);
|
1946 |
-
}
|
1947 |
-
}
|
1948 |
-
else {
|
1949 |
-
if (minShow === 'yes') {
|
1950 |
-
animate(spans[2]);
|
1951 |
-
}
|
1952 |
-
else {
|
1953 |
-
animate(spans[1]);
|
1954 |
-
}
|
1955 |
-
}
|
1956 |
-
}
|
1957 |
-
else {
|
1958 |
-
if (hourShow === 'yes') {
|
1959 |
-
if (minShow === 'yes') {
|
1960 |
-
animate(spans[2]);
|
1961 |
-
}
|
1962 |
-
}
|
1963 |
-
else {
|
1964 |
-
if (minShow === 'yes') {
|
1965 |
-
animate(spans[1]);
|
1966 |
-
}
|
1967 |
-
else {
|
1968 |
-
animate(spans[0]);
|
1969 |
-
}
|
1970 |
-
}
|
1971 |
-
}
|
1972 |
-
}
|
1973 |
|
1974 |
-
|
1975 |
-
|
1976 |
-
|
1977 |
-
|
1978 |
-
|
1979 |
-
|
1980 |
-
if (hourShow === 'yes') {
|
1981 |
-
if (dayShow === 'yes') {
|
1982 |
-
$(clock).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>");
|
1983 |
-
}
|
1984 |
-
else {
|
1985 |
-
clock.innerHTML = "<span class='egt-time eae-time-wrapper'><div>00</div></span>";
|
1986 |
-
}
|
1987 |
-
}
|
1988 |
-
if (minShow === 'yes') {
|
1989 |
-
if (dayShow === 'yes' || hourShow === 'yes') {
|
1990 |
-
$(clock).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>");
|
1991 |
-
}
|
1992 |
-
else {
|
1993 |
-
clock.innerHTML = "<span class='egt-time eae-time-wrapper'><div>00</div></span>";
|
1994 |
-
}
|
1995 |
-
}
|
1996 |
-
if (secShow === 'yes') {
|
1997 |
-
if (dayShow === 'yes' || hourShow === 'yes' || minShow === 'yes') {
|
1998 |
-
$(clock).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>");
|
1999 |
-
}
|
2000 |
-
else {
|
2001 |
-
clock.innerHTML = "<span class='egt-time eae-time-wrapper'><div>00</div></span>";
|
2002 |
-
}
|
2003 |
-
}
|
2004 |
-
|
2005 |
-
if (!$scope.hasClass('elementor-element-edit-mode')) {
|
2006 |
-
if (actions.length > 0) {
|
2007 |
-
actions.forEach(function (value) {
|
2008 |
-
if (value === 'redirect') {
|
2009 |
-
$url1 = $scope.find(".eae-evergreen-wrapper").data("redirected-url");
|
2010 |
-
if ($url1 !== "") {
|
2011 |
-
window.location.href = $url1;
|
2012 |
-
}
|
2013 |
-
}
|
2014 |
-
if (value === 'hide') {
|
2015 |
-
$scope.find('#timer').css('display', 'none');
|
2016 |
-
$scope.find('.egt-title').css('display', 'none');
|
2017 |
-
$scope.find('.desc').css('display', 'none');
|
2018 |
-
}
|
2019 |
-
if (value === 'message') {
|
2020 |
-
$scope.find('.eae-egt-message').css('display', 'block');
|
2021 |
-
}
|
2022 |
-
if (value === 'hide_parent') {
|
2023 |
-
$p_secs = $scope.closest('section');
|
2024 |
-
$p_secs.css('display', 'none');
|
2025 |
-
}
|
2026 |
-
});
|
2027 |
-
}
|
2028 |
-
}
|
2029 |
-
}
|
2030 |
-
}, 1000);
|
2031 |
-
}
|
2032 |
};
|
2033 |
-
|
2034 |
-
|
2035 |
-
|
2036 |
-
|
2037 |
-
|
2038 |
-
|
2039 |
-
|
2040 |
-
|
2041 |
-
|
2042 |
-
|
2043 |
-
|
2044 |
-
|
2045 |
-
|
2046 |
-
|
2047 |
-
|
2048 |
-
|
2049 |
-
|
2050 |
-
|
2051 |
-
|
2052 |
-
|
2053 |
-
|
2054 |
-
|
2055 |
-
|
2056 |
-
|
2057 |
-
|
2058 |
-
|
2059 |
-
|
2060 |
-
|
2061 |
-
|
2062 |
-
|
2063 |
-
|
2064 |
-
|
2065 |
-
|
2066 |
-
|
2067 |
-
|
2068 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2069 |
}
|
|
|
2070 |
|
2071 |
-
|
2072 |
-
|
2073 |
-
|
2074 |
-
|
2075 |
-
|
2076 |
-
|
2077 |
-
|
2078 |
-
|
2079 |
-
|
2080 |
-
|
2081 |
-
|
2082 |
-
|
2083 |
-
|
2084 |
-
|
2085 |
-
|
2086 |
-
|
2087 |
-
|
2088 |
-
|
2089 |
-
|
2090 |
-
|
2091 |
-
}
|
2092 |
-
|
2093 |
-
if (
|
2094 |
-
|
2095 |
-
if (typeof opt[s] != "undefined") {
|
2096 |
-
this.options[s] = opt[s];
|
2097 |
-
}
|
2098 |
-
}
|
2099 |
-
}
|
2100 |
-
if (String(options.startTime).indexOf(":") == -1) {
|
2101 |
-
options.tempStartTime = options.startTime;
|
2102 |
} else {
|
2103 |
-
|
2104 |
-
var td = new Date(options.startTime);
|
2105 |
}
|
2106 |
-
|
2107 |
-
|
2108 |
-
|
2109 |
-
|
|
|
2110 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2111 |
|
2112 |
-
|
2113 |
-
|
2114 |
-
|
2115 |
-
|
2116 |
-
|
2117 |
-
|
2118 |
-
|
2119 |
-
|
2120 |
-
|
2121 |
-
|
2122 |
-
|
2123 |
-
|
2124 |
-
|
2125 |
-
|
2126 |
-
|
2127 |
-
|
2128 |
-
|
2129 |
-
|
2130 |
-
|
2131 |
-
|
2132 |
-
|
2133 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2134 |
|
2135 |
-
|
2136 |
-
|
2137 |
-
|
2138 |
-
|
2139 |
-
|
2140 |
-
|
2141 |
-
|
2142 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2143 |
|
2144 |
-
|
2145 |
-
|
2146 |
-
|
2147 |
console.log('day no show',dc);
|
2148 |
//dc = 3;
|
2149 |
return true;
|
2150 |
}
|
2151 |
console.log('if out',dc);*/
|
2152 |
-
|
2153 |
-
|
2154 |
-
|
2155 |
-
|
2156 |
-
|
2157 |
-
|
2158 |
-
|
2159 |
-
|
2160 |
-
|
2161 |
-
|
2162 |
-
|
2163 |
-
|
2164 |
-
|
2165 |
-
|
2166 |
-
|
2167 |
-
|
2168 |
-
|
2169 |
-
|
2170 |
-
|
2171 |
-
|
2172 |
-
|
2173 |
-
|
2174 |
-
|
2175 |
-
|
2176 |
-
};
|
2177 |
-
|
2178 |
-
this.checkEnd = function () {
|
2179 |
-
for (var i = 0; i < digits.length; i++) {
|
2180 |
-
if (digits[i].digit != 0) {
|
2181 |
-
return false;
|
2182 |
-
}
|
2183 |
-
}
|
2184 |
-
clearInterval(timer);
|
2185 |
-
if (typeof(actions) !== 'undefined') {
|
2186 |
-
actions.forEach(function (value) {
|
2187 |
-
if (value.type === 'redirect') {
|
2188 |
-
if (value.redirect_url !== "") {
|
2189 |
-
window.location.href = value.redirect_url;
|
2190 |
-
}
|
2191 |
-
}
|
2192 |
-
if (value.type === 'hide') {
|
2193 |
-
$scope.find('.eae-evergreen-wrapper').css('display', 'none');
|
2194 |
-
}
|
2195 |
-
if (value.type === 'message') {
|
2196 |
-
$scope.find('.eae-egt-message').css('display', 'block');
|
2197 |
-
}
|
2198 |
-
});
|
2199 |
-
}
|
2200 |
-
this.options.timerEnd();
|
2201 |
-
return true;
|
2202 |
-
};
|
2203 |
-
|
2204 |
-
this.updateCounter = function () {
|
2205 |
-
d = new Date();
|
2206 |
-
|
2207 |
-
if ((d.getTime() - lastTime) < (options.updateInterval - 50)) {
|
2208 |
-
return;
|
2209 |
-
}
|
2210 |
-
lastTime = d.getTime();
|
2211 |
-
this.calculateTime();
|
2212 |
-
this.animateDigits();
|
2213 |
-
}
|
2214 |
|
2215 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2216 |
};
|
2217 |
|
2218 |
-
|
2219 |
-
|
2220 |
-
|
2221 |
-
|
2222 |
-
|
2223 |
-
|
2224 |
-
|
2225 |
-
|
2226 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2227 |
});
|
2228 |
-
|
2229 |
-
|
2230 |
-
|
2231 |
-
// //console.log($(window).width());
|
2232 |
-
// var feature_box_header = false;
|
2233 |
-
// var feature_box_header_val= null;
|
2234 |
-
// //console.log($scope.find("tbody .eae-ct-header .eae-fbox-heading"));
|
2235 |
-
// if($scope.find("tbody .eae-ct-header .eae-fbox-heading").length > 0){
|
2236 |
-
// feature_box_header = true;
|
2237 |
-
// feature_box_header_val = $scope.find("tbody .eae-ct-header .eae-fbox-heading").text();
|
2238 |
-
// }
|
2239 |
-
//
|
2240 |
-
// if($scope.hasClass('eae-tab-format-all') && feature_box_header){
|
2241 |
-
// var p_row = $scope.find("tbody tr:eq(1)");
|
2242 |
-
// p_row.prepend('<td class="eae-fbox-heading">' +feature_box_header_val +'</td>');
|
2243 |
-
// }
|
2244 |
-
//
|
2245 |
-
// if($(window).width() >= '767' && $(window).width() <= '1023'){
|
2246 |
-
// // if(feature_box_header){
|
2247 |
-
// // $scope.find("tbody .eae-ct-header .eae-fbox-heading").css('display' , 'none !important');
|
2248 |
-
// // }
|
2249 |
-
// if($scope.hasClass('eae-tab-format-tab-mob') && feature_box_header){
|
2250 |
-
// var p_row = $scope.find("tbody tr:eq(1)");
|
2251 |
-
// p_row.prepend('<td class="eae-fbox-heading">' +feature_box_header_val +'</td>');
|
2252 |
-
// }
|
2253 |
-
// }
|
2254 |
-
// if($(window).width() <= '767'){
|
2255 |
-
// // if(feature_box_header){
|
2256 |
-
// // $scope.find("tbody .eae-ct-header .eae-fbox-heading").css('display' , 'none !important');
|
2257 |
-
// // }
|
2258 |
-
// if($scope.hasClass('eae-tab-format-mobile') && feature_box_header){
|
2259 |
-
// var p_row = $scope.find("tbody tr:eq(1)");
|
2260 |
-
// p_row.prepend('<td class="eae-fbox-heading">' +feature_box_header_val +'</td>');
|
2261 |
-
// }
|
2262 |
-
// }
|
2263 |
-
//
|
2264 |
-
// }
|
2265 |
-
var mediaQuery = window.matchMedia('(min-width: 767px)');
|
2266 |
-
|
2267 |
-
// Add a listen event
|
2268 |
-
mediaQuery.addListener(doSomething);
|
2269 |
-
|
2270 |
-
// Function to do something with the media query
|
2271 |
-
function doSomething(mediaQuery) {
|
2272 |
-
if (mediaQuery.matches) {
|
2273 |
-
$scope.find('.sep').attr('colspan', 5);
|
2274 |
-
} else {
|
2275 |
-
$scope.find('.sep').attr('colspan', 2);
|
2276 |
-
}
|
2277 |
-
}
|
2278 |
-
|
2279 |
-
// On load
|
2280 |
-
doSomething(mediaQuery);
|
2281 |
};
|
2282 |
|
2283 |
-
|
2284 |
-
|
2285 |
-
$wrapper = $scope.find('.eae-progress-bar');
|
2286 |
-
var skill = $wrapper.attr('data-skill');
|
2287 |
-
var skill_value = $wrapper.attr('data-value');
|
2288 |
-
var skin = $wrapper.attr('data-skin');
|
2289 |
-
var skillELem = $wrapper.find('.eae-pb-bar-skill');
|
2290 |
-
var valueELem = $wrapper.find('.eae-pb-bar-value');
|
2291 |
-
var prgBar = $wrapper.find('.eae-pb-bar');
|
2292 |
-
var prgInner = $wrapper.find('.eae-pb-bar-inner');
|
2293 |
-
|
2294 |
-
if(skin === 'skin1'){
|
2295 |
-
$(prgInner).attr("style" , "width : " +skill_value+ "%");
|
2296 |
-
}
|
2297 |
-
if(skin === 'skin2'){
|
2298 |
-
$(prgInner).attr("style" , "width : " +skill_value+ "%");
|
2299 |
-
}
|
2300 |
-
if(skin === 'skin3'){
|
2301 |
-
$(valueELem).addClass('eae-pb-bar-value--aligned-value');
|
2302 |
-
if($is_rtl){
|
2303 |
-
$(valueELem).attr("style" ,"right :" +skill_value+ "%");
|
2304 |
-
}else{
|
2305 |
-
$(valueELem).attr("style" ,"left :" +skill_value+ "%");
|
2306 |
-
}
|
2307 |
-
|
2308 |
-
$(prgInner).attr("style" ,"width :" +skill_value+ "%");
|
2309 |
-
}
|
2310 |
-
if(skin === 'skin4'){
|
2311 |
-
$(valueELem).addClass('eae-pb-bar-value--aligned-value');
|
2312 |
-
if($is_rtl){
|
2313 |
-
$(valueELem).attr("style" ,"right :" +skill_value+ "%");
|
2314 |
-
}else{
|
2315 |
-
$(valueELem).attr("style" ,"left :" +skill_value+ "%");
|
2316 |
-
}
|
2317 |
-
$(prgInner).attr("style" ,"width :" +skill_value+ "%")
|
2318 |
-
$(prgBar).addClass('eae-pb-bar--no-overflow');
|
2319 |
-
}
|
2320 |
-
if(skin === 'skin5'){
|
2321 |
-
$(valueELem).addClass('eae-pb-bar-value--aligned-value');
|
2322 |
-
if($is_rtl){
|
2323 |
-
$(valueELem).attr("style" ,"right :" +skill_value+ "%");
|
2324 |
-
}else{
|
2325 |
-
$(valueELem).attr("style" ,"left :" +skill_value+ "%");
|
2326 |
-
}
|
2327 |
-
$(prgInner).attr("style" ,"width :" +skill_value+ "%")
|
2328 |
-
}
|
2329 |
|
2330 |
-
|
2331 |
-
|
2332 |
-
|
2333 |
-
|
2334 |
-
|
2335 |
-
|
2336 |
-
prgInner : $(value).find('.eae-pb-bar-inner'),
|
2337 |
-
handler: function (direction) {
|
2338 |
-
if (direction == 'down') {
|
2339 |
-
if(!$(valueELem).hasClass('js-animated')){
|
2340 |
-
$(valueELem).addClass('js-animated');
|
2341 |
-
}
|
2342 |
-
if(!$(prgInner).hasClass('js-animated')){
|
2343 |
-
$(prgInner).addClass('js-animated');
|
2344 |
-
}
|
2345 |
-
if(!$(skillELem).hasClass('js-animated')) {
|
2346 |
-
$(skillELem).addClass('js-animated');
|
2347 |
-
}
|
2348 |
-
}
|
2349 |
-
},
|
2350 |
-
offset: 'bottom-in-view',
|
2351 |
-
})
|
2352 |
-
});
|
2353 |
};
|
|
|
|
|
2354 |
|
2355 |
-
|
2356 |
-
|
2357 |
-
|
2358 |
-
|
2359 |
-
|
2360 |
-
|
2361 |
-
|
2362 |
-
|
2363 |
-
|
2364 |
-
|
2365 |
-
|
2366 |
-
|
2367 |
-
|
2368 |
-
|
2369 |
-
|
2370 |
-
|
2371 |
-
|
2372 |
-
|
2373 |
-
|
2374 |
-
|
2375 |
-
|
2376 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2377 |
}
|
|
|
2378 |
|
|
|
|
|
|
|
2379 |
|
2380 |
-
|
2381 |
-
|
2382 |
-
|
2383 |
-
|
2384 |
-
|
2385 |
-
|
2386 |
-
|
2387 |
-
|
2388 |
-
|
2389 |
-
|
2390 |
-
|
2391 |
-
|
2392 |
-
|
2393 |
-
|
2394 |
-
|
2395 |
-
|
2396 |
-
|
2397 |
-
|
2398 |
-
|
2399 |
-
|
2400 |
-
|
2401 |
-
|
2402 |
-
|
2403 |
-
secondary_content_section.removeClass('active');
|
2404 |
-
}
|
2405 |
-
})
|
2406 |
}
|
2407 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2408 |
|
2409 |
-
|
2410 |
-
|
2411 |
-
|
2412 |
-
|
2413 |
-
|
2414 |
-
|
2415 |
-
|
2416 |
-
|
2417 |
-
|
2418 |
-
|
2419 |
-
|
2420 |
-
|
2421 |
-
|
2422 |
-
|
2423 |
-
|
2424 |
-
|
2425 |
-
|
2426 |
-
|
2427 |
-
|
2428 |
-
|
2429 |
-
|
2430 |
-
|
2431 |
-
|
2432 |
-
|
2433 |
-
|
2434 |
-
else{
|
2435 |
-
glare = false;
|
2436 |
-
}
|
2437 |
-
|
2438 |
-
var $container = $('.elementor-element-' + wid + ' .eae-fg-image');
|
2439 |
-
var layoutMode = $wrapper.hasClass('masonry-yes') ? 'masonry' : 'fitRows';
|
2440 |
-
let container_outerheight = $container.outerHeight();
|
2441 |
-
adata = {
|
2442 |
-
percentPosition : true,
|
2443 |
-
animationOptions : {
|
2444 |
-
duration : 750,
|
2445 |
-
easing : 'linear',
|
2446 |
-
queue : false
|
2447 |
-
}
|
2448 |
-
};
|
2449 |
|
2450 |
-
|
2451 |
-
|
2452 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2453 |
|
2454 |
-
|
2455 |
-
|
2456 |
-
|
2457 |
-
|
2458 |
-
|
2459 |
-
|
2460 |
-
|
2461 |
-
|
2462 |
-
|
2463 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2464 |
|
2465 |
-
|
2466 |
-
|
2467 |
-
$grid.isotope('layout');
|
2468 |
-
//$scope.find('.eae-fg-image').css({"min-height":"300px" ,"height" : container_outerheight});
|
2469 |
-
});
|
2470 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2471 |
|
2472 |
-
|
2473 |
-
atilt = {
|
2474 |
-
maxTilt: maxtilt,
|
2475 |
-
perspective: perspective, // Transform perspective, the lower the more extreme the tilt gets.
|
2476 |
-
//easing: "cubic-bezier(.03,.98,.52,.99)", // Easing on enter/exit.
|
2477 |
-
easing : "linear",
|
2478 |
-
scale: 1, // 2 = 200%, 1.5 = 150%, etc..
|
2479 |
-
speed: speed, // Speed of the enter/exit transition.
|
2480 |
-
disableAxis: axis,
|
2481 |
-
transition: true, // Set a transition on enter/exit.
|
2482 |
-
reset: true, // If the tilt effect has to be reset on exit.
|
2483 |
-
glare: glare, // Enables glare effect
|
2484 |
-
maxGlare: max_glare // From 0 - 1.
|
2485 |
-
}
|
2486 |
|
2487 |
-
|
|
|
|
|
|
|
2488 |
}
|
|
|
|
|
|
|
|
|
|
|
2489 |
|
2490 |
-
|
2491 |
-
|
2492 |
-
|
2493 |
-
//console.log(adata);
|
2494 |
-
var selector = $(this).attr('data-filter');
|
2495 |
-
adata['filter'] = selector;
|
2496 |
-
|
2497 |
-
var $grid = $container.isotope(adata);
|
2498 |
|
2499 |
-
|
2500 |
-
|
2501 |
-
|
2502 |
-
|
2503 |
-
|
2504 |
-
|
2505 |
-
|
2506 |
-
|
2507 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2508 |
|
2509 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2510 |
|
2511 |
-
|
2512 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2513 |
|
2514 |
-
|
2515 |
-
|
2516 |
-
|
2517 |
-
|
2518 |
-
|
2519 |
-
|
2520 |
-
|
2521 |
-
|
2522 |
-
|
2523 |
-
|
2524 |
-
|
2525 |
-
|
2526 |
-
|
2527 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2528 |
};
|
|
|
2529 |
|
2530 |
-
|
2531 |
-
|
2532 |
-
|
2533 |
-
|
2534 |
-
// '<span class="wts-eae-ribbons-badges-inner">' +
|
2535 |
-
// $scope.data('wts-eae-rb-text') +
|
2536 |
-
// '</span>' +
|
2537 |
-
// '</div>');
|
2538 |
-
// }
|
2539 |
-
// }
|
2540 |
-
// if(isEditMode){
|
2541 |
-
// if($scope.hasClass('wts-eae-enable-ribbons-badges-yes') && $scope.find('.wts-eae-ribbons-badges-column-yes')){
|
2542 |
-
// var col_content = $scope.find('.wts-eae-ribbons-badges-column-yes').data('text');
|
2543 |
-
// var column = $scope.find('.elementor-column-wrap');
|
2544 |
-
// console.log(column);
|
2545 |
-
// column.prepend('<div class="wts-eae-ribbons-badges-wrapper">' +
|
2546 |
-
// '<span class="wts-eae-ribbons-badges-inner">' +
|
2547 |
-
// col_content +
|
2548 |
-
// '</span>' +
|
2549 |
-
// '</div>');
|
2550 |
-
// // if($scope.find('.wts-eae-ribbons-badges-section-yes')){
|
2551 |
-
// // var row_content = $scope.find('.wts-eae-ribbons-badges-section-yes').data('text');
|
2552 |
-
// // $scope.prepend('<div class="wts-eae-ribbons-badges-wrapper">' +
|
2553 |
-
// // '<span class="wts-eae-ribbons-badges-inner">' +
|
2554 |
-
// // row_content +
|
2555 |
-
// // '</span>' +
|
2556 |
-
// // '</div>');
|
2557 |
-
// // }
|
2558 |
-
// }
|
2559 |
-
// }
|
2560 |
-
// };
|
2561 |
-
|
2562 |
-
var WrapperLinksHander = function ( $scope , $ ) {
|
2563 |
-
if(isEditMode){
|
2564 |
-
return;
|
2565 |
-
}
|
2566 |
-
if ( $scope.data( 'wts-url' ) && $scope.data('wts-link') == 'yes' ){
|
2567 |
-
$scope.on('click', function (e) {
|
2568 |
-
|
2569 |
-
if ( $scope.data( 'wts-url' ) && $scope.data('wts-new-window') == 'yes' ) {
|
2570 |
-
window.open($scope.data('wts-url'));
|
2571 |
-
}else{
|
2572 |
-
location.href = $scope.data('wts-url');
|
2573 |
-
}
|
2574 |
-
})
|
2575 |
-
}
|
2576 |
};
|
2577 |
-
|
2578 |
-
|
2579 |
-
|
2580 |
-
|
2581 |
-
|
2582 |
-
|
2583 |
-
this.find('.overlay').css({top: -9999999});
|
2584 |
-
this.mouseenter(function(e){
|
2585 |
-
container = $(this);
|
2586 |
-
overlay = container.find('.overlay');
|
2587 |
-
parentOffset = container.offset();
|
2588 |
-
relX = e.pageX - parentOffset.left;
|
2589 |
-
//
|
2590 |
-
//
|
2591 |
-
// (e.pageX);
|
2592 |
-
// console.log(parentOffset);
|
2593 |
-
// console.log(relX);
|
2594 |
-
relY = e.pageY - parentOffset.top;
|
2595 |
-
overlay.css({
|
2596 |
-
top: 0,
|
2597 |
-
left: 0,
|
2598 |
-
width: container.width(),
|
2599 |
-
height: container.height()
|
2600 |
-
});
|
2601 |
-
if(relX > container.width()-settings.inaccuracy){
|
2602 |
-
//From Right to Left
|
2603 |
-
overlay.css({
|
2604 |
-
top: 0,
|
2605 |
-
left: container.width(),
|
2606 |
-
});
|
2607 |
-
}else if(relX < settings.inaccuracy){
|
2608 |
-
//From Left to Right
|
2609 |
-
overlay.css({
|
2610 |
-
top: 0,
|
2611 |
-
left: -container.width(),
|
2612 |
-
});
|
2613 |
-
}else if(relY > container.height()-settings.inaccuracy){
|
2614 |
-
//BOTTOM TO TOP
|
2615 |
-
overlay.css({
|
2616 |
-
top: container.width(),
|
2617 |
-
left: 0,
|
2618 |
-
});
|
2619 |
-
}else if(relY < settings.inaccuracy){
|
2620 |
-
//console.log('adfa');
|
2621 |
-
//TOP TO BOTTOM
|
2622 |
-
overlay.css({
|
2623 |
-
top: -container.width(),
|
2624 |
-
left: 0,
|
2625 |
-
});
|
2626 |
-
}
|
2627 |
-
overlay.animate({
|
2628 |
-
top: 0,
|
2629 |
-
left: 0
|
2630 |
-
},settings.speed);
|
2631 |
-
});
|
2632 |
-
|
2633 |
-
this.mouseleave(function(e){
|
2634 |
-
container = $(this);
|
2635 |
-
overlay = container.find('.overlay');
|
2636 |
-
parentOffset = container.offset();
|
2637 |
-
relX = e.pageX - parentOffset.left;
|
2638 |
-
relY = e.pageY - parentOffset.top;
|
2639 |
-
if(relX <= 0){
|
2640 |
-
overlay.animate({
|
2641 |
-
top: 0,
|
2642 |
-
left: -container.width()
|
2643 |
-
},settings.speed);
|
2644 |
-
}
|
2645 |
-
if(relX >= container.width()) {
|
2646 |
-
overlay.animate({
|
2647 |
-
top: 0,
|
2648 |
-
left: container.width()
|
2649 |
-
},settings.speed);
|
2650 |
-
}
|
2651 |
-
if(relY <= 0){
|
2652 |
-
overlay.animate({
|
2653 |
-
left: 0,
|
2654 |
-
top: -container.height()
|
2655 |
-
},settings.speed);
|
2656 |
-
}
|
2657 |
-
if(relY >= container.height()){
|
2658 |
-
overlay.animate({
|
2659 |
-
left: 0,
|
2660 |
-
top: container.height()
|
2661 |
-
},settings.speed);
|
2662 |
-
}
|
2663 |
-
});
|
2664 |
};
|
|
|
2665 |
|
2666 |
-
|
2667 |
-
|
2668 |
-
|
2669 |
-
|
2670 |
-
|
2671 |
-
let EAEThumbGallery = function ($scope, $) {
|
2672 |
-
swiper_outer_wrapper = $scope.find('.eae-swiper-outer-wrapper');
|
2673 |
-
wid = $scope.data('id');
|
2674 |
-
wClass = '.elementor-element-'+ wid;
|
2675 |
-
thumb_outer_wrapper = $scope.find('.eae-gallery-thumbs');
|
2676 |
-
|
2677 |
-
let slider_data = swiper_outer_wrapper.data('swiper-settings');
|
2678 |
-
|
2679 |
-
let slides_per_view = swiper_outer_wrapper.data('slides-per-view');
|
2680 |
-
let spaceBetween = swiper_outer_wrapper.data('space');
|
2681 |
-
//let navigation = swiper_outer_wrapper.data('navigation');
|
2682 |
-
|
2683 |
-
// BreakPoints Thumbnail
|
2684 |
-
const bp = eae.breakpoints;
|
2685 |
-
let breakpoints = {};
|
2686 |
-
breakpoints[bp.lg - 1] ={
|
2687 |
-
slidesPerView: slides_per_view.desktop,
|
2688 |
-
spaceBetween: spaceBetween.desktop,
|
2689 |
-
};
|
2690 |
-
breakpoints[bp.md - 1] ={
|
2691 |
-
slidesPerView: slides_per_view.tablet,
|
2692 |
-
spaceBetween: spaceBetween.tablet,
|
2693 |
-
};
|
2694 |
-
|
2695 |
-
// BreakPoints Slider
|
2696 |
-
const Bp = eae.breakpoints;
|
2697 |
-
let BreakPoints = {};
|
2698 |
-
BreakPoints[Bp.lg - 1] ={
|
2699 |
-
spaceBetween: slider_data.spaceBetween.desktop,
|
2700 |
-
};
|
2701 |
-
BreakPoints[Bp.md - 1] ={
|
2702 |
-
spaceBetween: slider_data.spaceBetween.tablet,
|
2703 |
-
};
|
2704 |
-
|
2705 |
-
sliderData = {
|
2706 |
-
direction: 'horizontal',
|
2707 |
-
effect : slider_data.effect,
|
2708 |
-
keyboard: {
|
2709 |
-
enabled: slider_data.keyboard,
|
2710 |
-
},
|
2711 |
-
spaceBetween: slider_data.spaceBetween.mobile,
|
2712 |
-
breakpoints: BreakPoints,
|
2713 |
-
speed : slider_data.speed,
|
2714 |
-
loop: "yes" === slider_data.loop ? true : false,
|
2715 |
-
thumbs: {
|
2716 |
-
swiper: {
|
2717 |
-
el: thumb_outer_wrapper,
|
2718 |
-
direction: 'horizontal',
|
2719 |
-
spaceBetween: spaceBetween.mobile,
|
2720 |
-
slidesPerView: slides_per_view.mobile,
|
2721 |
-
navigation: {
|
2722 |
-
nextEl: wClass+' .eae-swiper-button-next',
|
2723 |
-
prevEl: wClass+' .eae-swiper-button-prev',
|
2724 |
-
},
|
2725 |
-
speed : slider_data.speed,
|
2726 |
-
loop: "yes" ===slider_data.loop ? true : false,
|
2727 |
-
freeMode : true,
|
2728 |
-
watchSlidesVisibility: true,
|
2729 |
-
watchSlidesProgress: true,
|
2730 |
-
breakpoints: breakpoints,
|
2731 |
-
// autoScrollOffset :true,
|
2732 |
-
// reverseDirection : true,
|
2733 |
-
slideToClickedSlide : true,
|
2734 |
-
}
|
2735 |
-
|
2736 |
-
}
|
2737 |
-
|
2738 |
-
}
|
2739 |
-
if(typeof slider_data.autoplay !== 'undefined' ){
|
2740 |
-
sliderData['thumbs']['swiper']['autoplay']= {
|
2741 |
-
delay: slider_data.autoplay.duration,
|
2742 |
-
disableOnInteraction: slider_data.autoplay.disableOnInteraction,
|
2743 |
-
reverseDirection: slider_data.autoplay.reverseDirection,
|
2744 |
-
|
2745 |
-
}
|
2746 |
-
}
|
2747 |
-
|
2748 |
-
if (slider_data.navigation == 'yes') {
|
2749 |
-
sliderData['navigation'] = {
|
2750 |
-
nextEl: wClass+' .eae-swiper-button-next',
|
2751 |
-
prevEl: wClass+' .eae-swiper-button-prev',
|
2752 |
-
}
|
2753 |
-
}
|
2754 |
-
if(slider_data.pagination !== '' ){
|
2755 |
-
sliderData['pagination'] = {
|
2756 |
-
type : slider_data.pagination,
|
2757 |
-
el: wClass+' .swiper-pagination',
|
2758 |
-
clickable : slider_data.clickable,
|
2759 |
-
}
|
2760 |
-
}
|
2761 |
-
|
2762 |
-
if(typeof slider_data.autoplay !== 'undefined' ){
|
2763 |
-
sliderData['autoplay'] = {
|
2764 |
-
delay: slider_data.autoplay.duration,
|
2765 |
-
disableOnInteraction: slider_data.autoplay.disableOnInteraction,
|
2766 |
-
reverseDirection: slider_data.autoplay.reverseDirection,
|
2767 |
-
}
|
2768 |
-
}
|
2769 |
-
|
2770 |
-
if ( 'undefined' === typeof Swiper ) {
|
2771 |
-
const asyncSwiper = elementorFrontend.utils.swiper;
|
2772 |
-
new asyncSwiper( '.elementor-element-' + wid + ' .eae-swiper-outer-wrapper .eae-swiper-container', sliderData ).then( ( newSwiperInstance ) => {
|
2773 |
-
sswiper = newSwiperInstance;
|
2774 |
-
} );
|
2775 |
-
} else {
|
2776 |
-
window.sswiper = new Swiper('.elementor-element-' + wid + ' .eae-swiper-outer-wrapper .eae-swiper-container', sliderData);
|
2777 |
-
$('.elementor-element-' + wid + ' .eae-swiper-outer-wrapper .eae-swiper-container').css('visibility', 'visible');
|
2778 |
-
}
|
2779 |
-
|
2780 |
-
if(typeof slider_data.autoplay !== 'undefined' ){
|
2781 |
-
let pause_on_hover = slider_data.autoplay.pauseOnHover;
|
2782 |
-
if (pause_on_hover == 'yes' ) {
|
2783 |
-
jQuery( wClass + ' .eae-swiper-container').hover(function () {
|
2784 |
-
sswiper.autoplay.stop();
|
2785 |
-
sswiper.thumbs.swiper.autoplay.stop();
|
2786 |
-
}, function () {
|
2787 |
-
sswiper.autoplay.start();
|
2788 |
-
sswiper.thumbs.swiper.autoplay.start();
|
2789 |
-
});
|
2790 |
-
}
|
2791 |
-
}
|
2792 |
-
|
2793 |
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2794 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2795 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2796 |
|
2797 |
-
|
2798 |
-
|
2799 |
-
const Chart_Outer_Wrapper = $scope.find('.eae-chart-outer-container');
|
2800 |
-
const cid = $scope.data('id');
|
2801 |
-
const chartclass = '.elementor-element-' + cid;
|
2802 |
-
const chart_canvas = $scope.find('#eae-chart-canvas');
|
2803 |
-
let settings = Chart_Outer_Wrapper.data('settings');
|
2804 |
|
2805 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2806 |
|
2807 |
-
|
|
|
|
|
|
|
2808 |
|
|
|
|
|
|
|
|
|
|
|
2809 |
|
2810 |
-
|
2811 |
-
|
2812 |
-
|
2813 |
-
lottie_class = $scope.find('.eae-lottie');
|
2814 |
-
settings = table.data('settings');
|
2815 |
-
|
2816 |
-
// lottie animation
|
2817 |
-
lottie_class.each(function(){
|
2818 |
-
let lottie_data = $(this).data('lottie-settings');
|
2819 |
-
|
2820 |
-
let eae_animation = lottie.loadAnimation({
|
2821 |
-
container: document.getElementById(lottie_data.id),
|
2822 |
-
path: lottie_data.url,
|
2823 |
-
renderer: 'svg',
|
2824 |
-
loop: lottie_data.loop,
|
2825 |
-
});
|
2826 |
-
|
2827 |
-
if(lottie_data.reverse == true){
|
2828 |
-
eae_animation.setDirection(-1);
|
2829 |
-
}
|
2830 |
-
|
2831 |
});
|
2832 |
-
|
2833 |
-
|
2834 |
-
|
2835 |
-
|
2836 |
-
|
2837 |
-
|
2838 |
-
|
2839 |
-
|
2840 |
-
|
2841 |
-
|
2842 |
-
|
2843 |
-
|
2844 |
-
|
2845 |
-
|
2846 |
-
|
2847 |
-
|
2848 |
-
_this
|
2849 |
-
|
2850 |
-
|
2851 |
-
|
2852 |
-
|
2853 |
-
|
2854 |
-
|
2855 |
-
else $(this).removeClass("eae-table-search-hide");
|
2856 |
-
});
|
2857 |
-
});
|
2858 |
-
}
|
2859 |
};
|
2860 |
|
2861 |
-
|
2862 |
-
|
2863 |
-
|
2864 |
-
|
2865 |
-
|
2866 |
-
|
2867 |
-
|
2868 |
-
|
2869 |
-
|
2870 |
-
|
2871 |
-
|
2872 |
-
|
2873 |
-
|
2874 |
-
|
2875 |
-
|
2876 |
-
|
2877 |
-
|
2878 |
-
|
2879 |
-
|
2880 |
-
|
2881 |
-
|
2882 |
-
|
2883 |
-
|
2884 |
-
|
2885 |
-
|
2886 |
-
|
2887 |
-
|
2888 |
-
|
2889 |
-
|
2890 |
-
|
2891 |
-
|
2892 |
-
|
2893 |
-
|
2894 |
-
|
2895 |
-
|
2896 |
-
|
2897 |
-
|
2898 |
-
|
2899 |
-
|
2900 |
-
|
2901 |
-
|
2902 |
-
|
2903 |
-
|
2904 |
-
|
2905 |
-
|
2906 |
-
|
2907 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
jQuery(window).on("elementor/frontend/init", function () {
|
2 |
+
elementorFrontend.hooks.addAction(
|
3 |
+
"frontend/element_ready/wts-gmap.default",
|
4 |
+
function ($scope) {
|
5 |
+
map = new_map($scope.find(".eae-markers"));
|
6 |
+
|
7 |
+
function new_map($el) {
|
8 |
+
$wrapper = $scope.find(".eae-markers");
|
9 |
+
var zoom = $wrapper.data("zoom");
|
10 |
+
var $markers = $el.find(".marker");
|
11 |
+
var styles = $wrapper.data("style");
|
12 |
+
var prevent_scroll = $wrapper.data("scroll");
|
13 |
+
// vars
|
14 |
+
var args = {
|
15 |
+
zoom: zoom,
|
16 |
+
center: new google.maps.LatLng(0, 0),
|
17 |
+
mapTypeId: google.maps.MapTypeId.ROADMAP,
|
18 |
+
styles: styles,
|
19 |
+
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
+
// create map
|
22 |
+
var map = new google.maps.Map($el[0], args);
|
|
|
23 |
|
24 |
+
// add a markers reference
|
25 |
+
map.markers = [];
|
|
|
|
|
|
|
|
|
26 |
|
27 |
+
// add markers
|
28 |
+
$markers.each(function () {
|
29 |
+
add_marker(jQuery(this), map);
|
30 |
+
});
|
|
|
|
|
|
|
31 |
|
32 |
+
// center map
|
33 |
+
center_map(map, zoom);
|
34 |
+
|
35 |
+
// return
|
36 |
+
return map;
|
37 |
+
}
|
38 |
+
|
39 |
+
function add_marker($marker, map) {
|
40 |
+
var animate = $wrapper.data("animate");
|
41 |
+
var info_window_onload = $wrapper.data("show-info-window-onload");
|
42 |
+
//console.log(info_window_onload);
|
43 |
+
$wrapper = $scope.find(".eae-markers");
|
44 |
+
//alert($marker.attr('data-lat') + ' - '+ $marker.attr('data-lng'));
|
45 |
+
var latlng = new google.maps.LatLng(
|
46 |
+
$marker.attr("data-lat"),
|
47 |
+
$marker.attr("data-lng")
|
48 |
+
);
|
49 |
+
|
50 |
+
icon_img = $marker.attr("data-icon");
|
51 |
+
if (icon_img != "") {
|
52 |
+
var icon = {
|
53 |
+
url: $marker.attr("data-icon"),
|
54 |
+
scaledSize: new google.maps.Size(
|
55 |
+
$marker.attr("data-icon-size"),
|
56 |
+
$marker.attr("data-icon-size")
|
57 |
+
),
|
58 |
+
};
|
59 |
}
|
60 |
|
61 |
+
//var icon = $marker.attr('data-icon');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
|
63 |
+
// create marker
|
64 |
+
var marker = new google.maps.Marker({
|
65 |
+
position: latlng,
|
66 |
+
map: map,
|
67 |
+
icon: icon,
|
68 |
+
animation: google.maps.Animation.DROP,
|
69 |
+
});
|
70 |
+
if (animate == "animate-yes" && $marker.data("info-window") != "yes") {
|
71 |
+
marker.setAnimation(google.maps.Animation.BOUNCE);
|
72 |
+
}
|
73 |
+
if (animate == "animate-yes") {
|
74 |
+
google.maps.event.addListener(marker, "click", function () {
|
75 |
+
marker.setAnimation(null);
|
76 |
+
});
|
77 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
|
79 |
+
// add to array
|
80 |
+
map.markers.push(marker);
|
81 |
+
// if marker contains HTML, add it to an infoWindow
|
82 |
+
|
83 |
+
if ($marker.html()) {
|
84 |
+
// create info window
|
85 |
+
var infowindow = new google.maps.InfoWindow({
|
86 |
+
content: $marker.html(),
|
87 |
+
});
|
88 |
+
|
89 |
+
// show info window when marker is clicked
|
90 |
+
if ($marker.data("info-window") == "yes") {
|
91 |
+
infowindow.open(map, marker);
|
92 |
+
}
|
93 |
+
google.maps.event.addListener(marker, "click", function () {
|
94 |
+
infowindow.open(map, marker);
|
95 |
+
});
|
96 |
+
}
|
97 |
+
if (animate == "animate-yes") {
|
98 |
+
google.maps.event.addListener(infowindow, "closeclick", function () {
|
99 |
+
marker.setAnimation(google.maps.Animation.BOUNCE);
|
100 |
+
});
|
101 |
+
}
|
102 |
+
}
|
103 |
+
|
104 |
+
function center_map(map, zoom) {
|
105 |
+
// vars
|
106 |
+
var bounds = new google.maps.LatLngBounds();
|
107 |
+
// loop through all markers and create bounds
|
108 |
+
jQuery.each(map.markers, function (i, marker) {
|
109 |
+
var latlng = new google.maps.LatLng(
|
110 |
+
marker.position.lat(),
|
111 |
+
marker.position.lng()
|
112 |
+
);
|
113 |
+
bounds.extend(latlng);
|
114 |
+
});
|
115 |
|
116 |
+
// only 1 marker?
|
117 |
+
if (map.markers.length == 1) {
|
118 |
+
// set center of map
|
119 |
+
map.setCenter(bounds.getCenter());
|
120 |
+
map.setZoom(zoom);
|
121 |
+
} else {
|
122 |
+
// fit to bounds
|
123 |
+
map.fitBounds(bounds);
|
124 |
+
}
|
125 |
+
}
|
126 |
+
}
|
127 |
+
);
|
128 |
+
|
129 |
+
elementorFrontend.hooks.addAction(
|
130 |
+
"frontend/element_ready/global",
|
131 |
+
function ($scope) {
|
132 |
+
var eae_slides = [];
|
133 |
+
var eae_slides_json = [];
|
134 |
+
var eae_transition;
|
135 |
+
var eae_animation;
|
136 |
+
var eae_custom_overlay;
|
137 |
+
var eae_overlay;
|
138 |
+
var eae_cover;
|
139 |
+
var eae_delay;
|
140 |
+
var eae_timer;
|
141 |
+
var slider_wrapper = $scope
|
142 |
+
.children(".eae-section-bs")
|
143 |
+
.children(".eae-section-bs-inner");
|
144 |
+
|
145 |
+
if (slider_wrapper && slider_wrapper.data("eae-bg-slider")) {
|
146 |
+
slider_images = slider_wrapper.data("eae-bg-slider");
|
147 |
+
eae_transition = slider_wrapper.data("eae-bg-slider-transition");
|
148 |
+
eae_animation = slider_wrapper.data("eae-bg-slider-animation");
|
149 |
+
eae_custom_overlay = slider_wrapper.data("eae-bg-custom-overlay");
|
150 |
+
if (eae_custom_overlay == "yes") {
|
151 |
+
eae_overlay =
|
152 |
+
eae_editor.plugin_url +
|
153 |
+
"assets/lib/vegas/overlays/" +
|
154 |
+
slider_wrapper.data("eae-bg-slider-overlay");
|
155 |
+
} else {
|
156 |
+
if (slider_wrapper.data("eae-bg-slider-overlay")) {
|
157 |
+
eae_overlay =
|
158 |
+
eae_editor.plugin_url +
|
159 |
+
"assets/lib/vegas/overlays/" +
|
160 |
+
slider_wrapper.data("eae-bg-slider-overlay");
|
161 |
+
} else {
|
162 |
+
eae_overlay =
|
163 |
+
eae_editor.plugin_url +
|
164 |
+
"assets/lib/vegas/overlays/" +
|
165 |
+
slider_wrapper.data("eae-bg-slider-overlay");
|
166 |
+
}
|
167 |
}
|
|
|
168 |
|
169 |
+
eae_cover = slider_wrapper.data("eae-bg-slider-cover");
|
170 |
+
eae_delay = slider_wrapper.data("eae-bs-slider-delay");
|
171 |
+
eae_timer = slider_wrapper.data("eae-bs-slider-timer");
|
172 |
+
|
173 |
+
if (typeof slider_images != "undefined") {
|
174 |
+
eae_slides = slider_images.split(",");
|
175 |
+
|
176 |
+
jQuery.each(eae_slides, function (key, value) {
|
177 |
+
var slide = [];
|
178 |
+
slide.src = value;
|
179 |
+
eae_slides_json.push(slide);
|
180 |
+
});
|
181 |
+
|
182 |
+
slider_wrapper.vegas({
|
183 |
+
slides: eae_slides_json,
|
184 |
+
transition: eae_transition,
|
185 |
+
animation: eae_animation,
|
186 |
+
overlay: eae_overlay,
|
187 |
+
cover: eae_cover,
|
188 |
+
delay: eae_delay,
|
189 |
+
timer: eae_timer,
|
190 |
+
init: function () {
|
191 |
+
if (eae_custom_overlay == "yes") {
|
192 |
+
var ob_vegas_overlay =
|
193 |
+
slider_wrapper.children(".vegas-overlay");
|
194 |
+
ob_vegas_overlay.css("background-image", "");
|
195 |
+
}
|
196 |
+
},
|
197 |
+
});
|
198 |
+
}
|
199 |
+
}
|
200 |
+
}
|
201 |
+
);
|
202 |
});
|
203 |
|
204 |
var isEditMode = false;
|
205 |
var breakpoints = eae.breakpoints;
|
206 |
//console.log('eae-breakpoints', breakpoints);
|
207 |
+
(function ($) {
|
208 |
+
$(window).on("elementor/frontend/init", function () {
|
209 |
+
var ab_image = function ($scope, $) {
|
210 |
+
$scope
|
211 |
+
.find(".eae-img-comp-container")
|
212 |
+
.imagesLoaded()
|
213 |
+
.done(function () {
|
214 |
+
ab_style = $scope.find(".eae-img-comp-container").data("ab-style");
|
215 |
+
slider_pos = $scope
|
216 |
+
.find(".eae-img-comp-container")
|
217 |
+
.data("slider-pos");
|
218 |
+
if (ab_style === "horizontal") {
|
219 |
+
separator_width = parseInt(
|
220 |
+
$scope.find(".eae-img-comp-overlay").css("border-right-width")
|
221 |
+
);
|
222 |
+
horizontal($scope);
|
223 |
+
} else {
|
224 |
+
separator_width = parseInt(
|
225 |
+
$scope.find(".eae-img-comp-overlay").css("border-bottom-width")
|
226 |
+
);
|
227 |
+
vertical($scope);
|
228 |
+
}
|
229 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
230 |
|
231 |
+
function horizontal($scope) {
|
232 |
+
var x, i, start_pos;
|
233 |
+
/*find all elements with an "overlay" class:*/
|
234 |
+
x = $scope.find(".eae-img-comp-overlay");
|
235 |
+
start_pos = x.width();
|
236 |
+
start_pos = (start_pos * slider_pos) / 100;
|
237 |
+
compareImages(x[0]);
|
238 |
+
|
239 |
+
function compareImages(img) {
|
240 |
+
var slider,
|
241 |
+
clicked = 0,
|
242 |
+
w,
|
243 |
+
h;
|
244 |
+
/*get the width and height of the img element*/
|
245 |
+
w = img.offsetWidth;
|
246 |
+
h = img.offsetHeight;
|
247 |
+
/*set the width of the img element to 50%:*/
|
248 |
+
img.style.width = start_pos + "px";
|
249 |
+
/*create slider:*/
|
250 |
+
slider = $scope.find(".eae-img-comp-slider");
|
251 |
+
slider = slider[0];
|
252 |
+
/*position the slider in the middle:*/
|
253 |
+
slider.style.top = h / 2 - slider.offsetHeight / 2 + "px";
|
254 |
+
slider.style.left =
|
255 |
+
start_pos - slider.offsetWidth / 2 - separator_width / 2 + "px";
|
256 |
+
/*execute a function when the mouse button is pressed:*/
|
257 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
258 |
+
slider.addEventListener("mousedown", slideReady);
|
259 |
+
//slider.addEventListener("mouseover", slideReady);
|
260 |
+
//img.addEventListener("mouseover", slideReady);
|
261 |
+
|
262 |
+
/*and another function when the mouse button is released:*/
|
263 |
+
window.addEventListener("mouseup", slideFinish);
|
264 |
+
//slider.addEventListener("mouseout", slideFinish);
|
265 |
+
//img.addEventListener("mouseout", slideFinish);
|
266 |
+
/*or touched (for touch screens:*/
|
267 |
+
slider.addEventListener("touchstart", slideReady);
|
268 |
+
/*and released (for touch screens:*/
|
269 |
+
window.addEventListener("touchstop", slideFinish);
|
270 |
+
}
|
271 |
+
|
272 |
+
function slideReady(e) {
|
273 |
+
/*prevent any other actions that may occur when moving over the image:*/
|
274 |
+
e.preventDefault();
|
275 |
+
/*the slider is now clicked and ready to move:*/
|
276 |
+
clicked = 1;
|
277 |
+
/*execute a function when the slider is moved:*/
|
278 |
+
window.addEventListener("mousemove", slideMove);
|
279 |
+
//window.addEventListener("mouseover", slideMove);
|
280 |
+
//window.addEventListener("touchmove", slideMove);
|
281 |
+
slider.addEventListener("touchmove", touchMoveaction);
|
282 |
+
}
|
283 |
+
|
284 |
+
function slideFinish() {
|
285 |
+
/*the slider is no longer clicked:*/
|
286 |
+
clicked = 0;
|
287 |
+
}
|
288 |
+
|
289 |
+
function slideMove(e) {
|
290 |
+
var pos;
|
291 |
+
/*if the slider is no longer clicked, exit this function:*/
|
292 |
+
if (clicked == 0) return false;
|
293 |
+
/*get the cursor's x position:*/
|
294 |
+
pos = getCursorPos(e);
|
295 |
+
/*prevent the slider from being positioned outside the image:*/
|
296 |
+
if (pos < 0) pos = 0;
|
297 |
+
if (pos > w) pos = w;
|
298 |
+
/*execute a function that will resize the overlay image according to the cursor:*/
|
299 |
+
slide(pos);
|
300 |
+
}
|
301 |
+
|
302 |
+
function touchMoveaction(e) {
|
303 |
+
var pos;
|
304 |
+
/*if the slider is no longer clicked, exit this function:*/
|
305 |
+
if (clicked == 0) return false;
|
306 |
+
/*get the cursor's x position:*/
|
307 |
+
pos = getTouchPos(e);
|
308 |
+
|
309 |
+
/*prevent the slider from being positioned outside the image:*/
|
310 |
+
if (pos < 0) pos = 0;
|
311 |
+
if (pos > w) pos = w;
|
312 |
+
/*execute a function that will resize the overlay image according to the cursor:*/
|
313 |
+
slide(pos);
|
314 |
+
}
|
315 |
+
|
316 |
+
function getTouchPos(e) {
|
317 |
+
var a,
|
318 |
+
x = 0;
|
319 |
+
a = img.getBoundingClientRect();
|
320 |
+
|
321 |
+
/*calculate the cursor's x coordinate, relative to the image:*/
|
322 |
+
x = e.changedTouches[0].clientX - a.left;
|
323 |
+
return x;
|
324 |
+
}
|
325 |
+
|
326 |
+
function getCursorPos(e) {
|
327 |
+
var a,
|
328 |
+
x = 0;
|
329 |
+
e = e || window.event;
|
330 |
+
/*get the x positions of the image:*/
|
331 |
+
a = img.getBoundingClientRect();
|
332 |
+
/*calculate the cursor's x coordinate, relative to the image:*/
|
333 |
+
x = e.pageX - a.left;
|
334 |
+
|
335 |
+
/*consider any page scrolling:*/
|
336 |
+
//x = x - window.pageXOffset;
|
337 |
+
return x;
|
338 |
+
}
|
339 |
+
|
340 |
+
function slide(x) {
|
341 |
+
/*resize the image:*/
|
342 |
+
img.style.width = x + "px";
|
343 |
+
/*position the slider:*/
|
344 |
+
slider.style.left =
|
345 |
+
img.offsetWidth -
|
346 |
+
slider.offsetWidth / 2 -
|
347 |
+
separator_width / 2 +
|
348 |
+
"px";
|
349 |
+
}
|
350 |
+
}
|
351 |
+
}
|
352 |
+
|
353 |
+
function vertical($scope) {
|
354 |
+
var x, i;
|
355 |
+
/*find all elements with an "overlay" class:*/
|
356 |
+
//x = document.getElementsByClassName("eae-img-comp-overlay");
|
357 |
+
x = $scope.find(".eae-img-comp-overlay");
|
358 |
+
start_pos = x.height();
|
359 |
+
start_pos = (start_pos * slider_pos) / 100;
|
360 |
+
compareImages(x[0]);
|
361 |
+
|
362 |
+
function compareImages(img) {
|
363 |
+
var slider,
|
364 |
+
img,
|
365 |
+
clicked = 0,
|
366 |
+
w,
|
367 |
+
h;
|
368 |
+
/*get the width and height of the img element*/
|
369 |
+
w = img.offsetWidth;
|
370 |
+
h = img.offsetHeight;
|
371 |
+
/*set the width of the img element to 50%:*/
|
372 |
+
img.style.height = start_pos + "px";
|
373 |
+
/*create slider:*/
|
374 |
+
slider = $scope.find(".eae-img-comp-slider");
|
375 |
+
slider = slider[0];
|
376 |
+
/*position the slider in the middle:*/
|
377 |
+
slider.style.top =
|
378 |
+
start_pos - slider.offsetHeight / 2 - separator_width / 2 + "px";
|
379 |
+
slider.style.left = w / 2 - slider.offsetWidth / 2 + "px";
|
380 |
+
/*execute a function when the mouse button is pressed:*/
|
381 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
382 |
+
slider.addEventListener("mousedown", slideReady);
|
383 |
+
/*and another function when the mouse button is released:*/
|
384 |
+
window.addEventListener("mouseup", slideFinish);
|
385 |
+
/*or touched (for touch screens:*/
|
386 |
+
slider.addEventListener("touchstart", slideReady);
|
387 |
+
/*and released (for touch screens:*/
|
388 |
+
window.addEventListener("touchstop", slideFinish);
|
389 |
+
}
|
390 |
+
|
391 |
+
function slideReady(e) {
|
392 |
+
/*prevent any other actions that may occur when moving over the image:*/
|
393 |
+
e.preventDefault();
|
394 |
+
/*the slider is now clicked and ready to move:*/
|
395 |
+
clicked = 1;
|
396 |
+
/*execute a function when the slider is moved:*/
|
397 |
+
window.addEventListener("mousemove", slideMove);
|
398 |
+
slider.addEventListener("touchmove", touchMoveaction);
|
399 |
+
}
|
400 |
+
|
401 |
+
function slideFinish() {
|
402 |
+
/*the slider is no longer clicked:*/
|
403 |
+
clicked = 0;
|
404 |
+
}
|
405 |
+
|
406 |
+
function slideMove(e) {
|
407 |
+
var pos;
|
408 |
+
/*if the slider is no longer clicked, exit this function:*/
|
409 |
+
if (clicked == 0) return false;
|
410 |
+
/*get the cursor's x position:*/
|
411 |
+
pos = getCursorPos(e);
|
412 |
+
/*prevent the slider from being positioned outside the image:*/
|
413 |
+
if (pos < 0) pos = 0;
|
414 |
+
if (pos > h) pos = h;
|
415 |
+
/*execute a function that will resize the overlay image according to the cursor:*/
|
416 |
+
slide(pos);
|
417 |
+
}
|
418 |
+
|
419 |
+
function getCursorPos(e) {
|
420 |
+
var a,
|
421 |
+
x = 0;
|
422 |
+
e = e || window.event;
|
423 |
+
/*get the x positions of the image:*/
|
424 |
+
a = img.getBoundingClientRect();
|
425 |
+
/*calculate the cursor's x coordinate, relative to the image:*/
|
426 |
+
x = e.pageY - a.top;
|
427 |
+
/*consider any page scrolling:*/
|
428 |
+
x = x - window.pageYOffset;
|
429 |
+
|
430 |
+
return x;
|
431 |
+
}
|
432 |
+
|
433 |
+
function touchMoveaction(e) {
|
434 |
+
var pos;
|
435 |
+
/*if the slider is no longer clicked, exit this function:*/
|
436 |
+
if (clicked == 0) return false;
|
437 |
+
/*get the cursor's x position:*/
|
438 |
+
pos = getTouchPos(e);
|
439 |
+
|
440 |
+
/*prevent the slider from being positioned outside the image:*/
|
441 |
+
if (pos < 0) pos = 0;
|
442 |
+
if (pos > h) pos = h;
|
443 |
+
/*execute a function that will resize the overlay image according to the cursor:*/
|
444 |
+
slide(pos);
|
445 |
+
}
|
446 |
+
|
447 |
+
function getTouchPos(e) {
|
448 |
+
var a,
|
449 |
+
x = 0;
|
450 |
+
a = img.getBoundingClientRect();
|
451 |
+
|
452 |
+
/*calculate the cursor's x coordinate, relative to the image:*/
|
453 |
+
x = e.changedTouches[0].clientY - a.top;
|
454 |
+
|
455 |
+
//x = x - slider.offsetHeight;
|
456 |
+
|
457 |
+
return x;
|
458 |
+
}
|
459 |
+
|
460 |
+
function slide(x) {
|
461 |
+
/*resize the image:*/
|
462 |
+
img.style.height = x + "px";
|
463 |
+
/*position the slider:*/
|
464 |
+
slider.style.top =
|
465 |
+
img.offsetHeight -
|
466 |
+
slider.offsetHeight / 2 -
|
467 |
+
separator_width / 2 +
|
468 |
+
"px";
|
469 |
+
}
|
470 |
+
}
|
471 |
+
}
|
472 |
+
};
|
473 |
|
474 |
+
var ParticlesBG = function ($scope, $) {
|
475 |
+
if ($scope.hasClass("eae-particle-yes")) {
|
476 |
+
id = $scope.data("id");
|
477 |
+
element_type = $scope.data("element_type");
|
478 |
+
pdata = $scope.data("eae-particle");
|
479 |
+
pdata_wrapper = $scope.find(".eae-particle-wrapper").data("eae-pdata");
|
480 |
+
if (typeof pdata != "undefined" && pdata != "") {
|
481 |
+
if ($scope.find(".eae-section-bs").length > 0) {
|
482 |
+
$scope
|
483 |
+
.find(".eae-section-bs")
|
484 |
+
.after(
|
485 |
+
'<div class="eae-particle-wrapper" id="eae-particle-' +
|
486 |
+
id +
|
487 |
+
'"></div>'
|
488 |
+
);
|
489 |
+
particlesJS("eae-particle-" + id, pdata);
|
490 |
+
} else {
|
491 |
+
if (element_type == "column") {
|
492 |
+
$scope.prepend(
|
493 |
+
'<div class="eae-particle-wrapper" id="eae-particle-' +
|
494 |
+
id +
|
495 |
+
'"></div>'
|
496 |
+
);
|
497 |
+
} else {
|
498 |
+
$scope.prepend(
|
499 |
+
'<div class="eae-particle-wrapper " id="eae-particle-' +
|
500 |
+
id +
|
501 |
+
'"></div>'
|
502 |
+
);
|
503 |
+
}
|
504 |
+
particlesJS("eae-particle-" + id, pdata);
|
505 |
+
}
|
506 |
+
} else if (typeof pdata_wrapper != "undefined" && pdata_wrapper != "") {
|
507 |
+
// console.log('Editor');
|
508 |
+
// $scope.prepend('<div class="eae-particle-wrapper" id="eae-particle-'+ id +'"></div>');
|
509 |
+
//console.log('calling particle js else', JSON.parse(pdata_wrapper));
|
510 |
+
if (element_type == "column") {
|
511 |
+
$scope.prepend(
|
512 |
+
'<div class="eae-particle-wrapper eae-particle-area" id="eae-particle-' +
|
513 |
+
id +
|
514 |
+
'"></div>'
|
515 |
+
);
|
516 |
+
} else {
|
517 |
+
$scope.prepend(
|
518 |
+
'<div class="eae-particle-wrapper eae-particle-area" id="eae-particle-' +
|
519 |
+
id +
|
520 |
+
'"></div>'
|
521 |
+
);
|
522 |
+
}
|
523 |
+
|
524 |
+
particlesJS("eae-particle-" + id, JSON.parse(pdata_wrapper));
|
525 |
+
}
|
526 |
+
}
|
527 |
+
};
|
528 |
|
529 |
+
// var ParticlesBG = function ($scope, $) {
|
530 |
+
|
531 |
+
// if ($scope.hasClass('eae-particle-yes')) {
|
532 |
+
// const wId = $scope.data('id');
|
533 |
+
// const wrapper = document.querySelector('.elementor-element-'+wId);
|
534 |
+
// //outerWrapper = wrapper.querySelector('.fv-dp-outer-wrapper');
|
535 |
+
// id = $scope.data('id');
|
536 |
+
|
537 |
+
// element_type = wrapper.getAttribute('data-element_type');
|
538 |
+
// is_edit_mode = wrapper.classList.contains('elementor-element-edit-mode');
|
539 |
+
// console.log(is_edit_mode);
|
540 |
+
// pdata = wrapper.getAttribute('data-eae-particle');
|
541 |
+
// if(is_edit_mode){
|
542 |
+
// pdata_wrapper = wrapper.querySelector('.eae-particle-wrapper').getAttribute('data-eae-pdata');
|
543 |
+
// pdata_wrapper = JSON.parse(pdata_wrapper);
|
544 |
+
// }
|
545 |
+
|
546 |
+
// if (typeof pdata != 'undefined' && pdata != null) {
|
547 |
+
// var bsElement = wrapper.querySelector('.eae-section-bs');
|
548 |
+
// if (bsElement) {
|
549 |
+
// console.log("BS Inner");
|
550 |
+
// var particleDiv = document.createElement("div");
|
551 |
+
// particleDiv.setAttribute('class' , 'eae-particle-wrapper');
|
552 |
+
// particleDiv.setAttribute('id' , "eae-particle-" + id);
|
553 |
+
// var bsElement = wrapper.querySelector('.eae-section-bs');
|
554 |
+
// bsElement.after(particleDiv);
|
555 |
+
// tsParticles.load("eae-particle-" + id, JSON.parse(pdata));
|
556 |
+
// } else {
|
557 |
+
// if (element_type == 'column') {
|
558 |
+
// var particleDiv = document.createElement("div");
|
559 |
+
// particleDiv.setAttribute('class' , 'eae-particle-wrapper');
|
560 |
+
// particleDiv.setAttribute('id' , "eae-particle-" + id);
|
561 |
+
// wrapper.prepend(particleDiv);
|
562 |
+
// } else {
|
563 |
+
// var particleDiv = document.createElement("div");
|
564 |
+
// particleDiv.setAttribute('class' , 'eae-particle-wrapper');
|
565 |
+
// particleDiv.setAttribute('id' , "eae-particle-" + id);
|
566 |
+
// wrapper.prepend(particleDiv);
|
567 |
+
// }
|
568 |
+
// //console.log(tsParticles.load('particles' , {}));
|
569 |
+
// // pdata = JSON.parse(pdata);
|
570 |
+
// tsParticles.load("eae-particle-" + id, JSON.parse(pdata));
|
571 |
+
// //particlesJS('eae-particle-' + id, pdata);
|
572 |
+
// }
|
573 |
+
// } else if (typeof pdata_wrapper != 'undefined' && pdata_wrapper != null) {
|
574 |
+
// console.log('Editor');
|
575 |
+
// console.log(element_type);
|
576 |
+
// // $scope.prepend('<div class="eae-particle-wrapper" id="eae-particle-'+ id +'"></div>');
|
577 |
+
// //console.log('calling particle js else', JSON.parse(pdata_wrapper));
|
578 |
+
// var bsElement = wrapper.querySelector('.eae-section-bs');
|
579 |
+
// if (bsElement) {
|
580 |
+
// console.log("BS Inner");
|
581 |
+
// var particleDiv = document.createElement("div");
|
582 |
+
// particleDiv.setAttribute('class' , 'eae-particle-areas');
|
583 |
+
// particleDiv.setAttribute('id' , "eae-particle-" + id);
|
584 |
+
// var bsElement = wrapper.querySelector('.eae-section-bs');
|
585 |
+
// bsElement.after(particleDiv);
|
586 |
+
// tsParticles.load("eae-particle-" + id, pdata_wrapper);
|
587 |
+
// }else{
|
588 |
+
// if (element_type == 'column') {
|
589 |
+
// $scope.prepend('<div class="eae-particle-wrapper eae-particle-area" id="eae-particle-' + id + '"></div>');
|
590 |
+
// }
|
591 |
+
// else{
|
592 |
+
// console.log('Editor Section');
|
593 |
+
// console.log(pdata_wrapper);
|
594 |
+
// var particleDiv = document.createElement("div");
|
595 |
+
// particleDiv.setAttribute('class' , 'eae-particle-areas');
|
596 |
+
// particleDiv.setAttribute('id' , "eae-particle-" + id);
|
597 |
+
// wrapper.prepend(particleDiv);
|
598 |
+
// // $scope.prepend('<div class="eae-particle-wrapper eae-particle-area" id="eae-particle-' + id + '"></div>');
|
599 |
+
// }
|
600 |
+
// tsParticles.load("eae-particle-" + id, pdata_wrapper);
|
601 |
+
// }
|
602 |
+
|
603 |
+
// //particlesJS('eae-particle-' + id, JSON.parse(pdata_wrapper));
|
604 |
+
// }
|
605 |
+
|
606 |
+
// }
|
607 |
+
|
608 |
+
// };
|
609 |
+
|
610 |
+
/*EAE Animated Gradient Background*/
|
611 |
+
|
612 |
+
var AnimatedGradient = function ($scope, $) {
|
613 |
+
if ($scope.hasClass("eae-animated-gradient-yes")) {
|
614 |
+
id = $scope.data("id");
|
615 |
+
//editMode = elementorFrontend.isEditMode();
|
616 |
+
//console.log(settings);
|
617 |
+
color = $scope.data("color");
|
618 |
+
angle = $scope.data("angle");
|
619 |
+
var gradient_color = "linear-gradient(" + angle + "," + color + ")";
|
620 |
+
heading = $scope.find(".elementor-heading-title");
|
621 |
+
$scope.css("background-image", gradient_color);
|
622 |
+
if ($scope.hasClass("elementor-element-edit-mode")) {
|
623 |
+
color = $scope.find(".animated-gradient").data("color");
|
624 |
+
angle = $scope.find(".animated-gradient").data("angle");
|
625 |
+
gradient_color_editor =
|
626 |
+
"linear-gradient(" + angle + "," + color + ")";
|
627 |
+
$scope.prepend(
|
628 |
+
'<div class="animated-gradient" style="background-image : ' +
|
629 |
+
gradient_color_editor +
|
630 |
+
' "></div>'
|
631 |
+
);
|
632 |
+
//$scope.find('.animated-gradient').css('background-image', gradient_color_editor);
|
633 |
+
//$scope.find('.animated-gradient').css('background-color', 'red');
|
634 |
+
}
|
635 |
+
//$scope.css('position', 'relative');
|
636 |
+
//$scope.css('background-color', 'black');
|
637 |
+
}
|
638 |
+
};
|
639 |
+
// function render_unfold($scope) {
|
640 |
+
// var w_id = $scope.data('id');
|
641 |
+
// var element_type = $scope.data('element_type');
|
642 |
+
// var $data_scope = '';
|
643 |
+
// if($scope.hasClass('elementor-element-edit-mode')) {
|
644 |
+
// $data_scope = $scope.find('.eae-unfold-setting-data');
|
645 |
+
// if(element_type === 'widget' && $scope.find('.eae-unfold-setting-data').length === 0){
|
646 |
+
// $data_scope = $scope.find('.eae-fold-yes.eae-rc');
|
647 |
+
// }
|
648 |
+
// }else{
|
649 |
+
// $data_scope = $scope;
|
650 |
+
// }
|
651 |
+
// if(element_type === 'section'){
|
652 |
+
// var $unfold_position = $data_scope.data('unfold-position');
|
653 |
+
// }
|
654 |
+
// var fold_text = $data_scope.data('fold-text');
|
655 |
+
// var unfold_text = $data_scope.data('unfold-text');
|
656 |
+
// var fold_icon = $data_scope.data('fold-icon');
|
657 |
+
// var unfold_icon = $data_scope.data('unfold-icon');
|
658 |
+
// var icon_pos = $data_scope.data('icon-pos');
|
659 |
+
// var max_fold_height_data = $data_scope.data('fold-height');
|
660 |
+
// var max_fold_height= '';
|
661 |
+
// var win_width = $(window).width();
|
662 |
+
// $(window).resize(function(){
|
663 |
+
// win_width = $(window).width();
|
664 |
+
// });
|
665 |
+
// if(win_width >= breakpoints.lg - 1){
|
666 |
+
// max_fold_height = max_fold_height_data.desktop;
|
667 |
+
// }
|
668 |
+
// else if(win_width <= breakpoints.lg - 1 && win_width >= breakpoints.md - 1){
|
669 |
+
// max_fold_height = max_fold_height_data.tablet;
|
670 |
+
// }else{
|
671 |
+
// max_fold_height = max_fold_height_data.mobile;
|
672 |
+
// }
|
673 |
+
//
|
674 |
+
// var ani_speed = $data_scope.data('animation-speed');
|
675 |
+
// var hover_ani = $data_scope.data('hover-animation');
|
676 |
+
// var unfold_icon_type = $data_scope.data('unfold-icon-type');
|
677 |
+
// var fold_icon_type = $data_scope.data('fold-icon-type');
|
678 |
+
// var $button_str = '';
|
679 |
+
// var unfold_icon_html = '';
|
680 |
+
// var fold_icon_html = '';
|
681 |
+
// var container_height = '';
|
682 |
+
// var component = '';
|
683 |
+
// if(unfold_icon_type === 'svg'){
|
684 |
+
// unfold_icon_html = '<svg style="-webkit-mask: url('+ unfold_icon + '); mask: url('+ unfold_icon + '"); ></svg>';
|
685 |
+
// }else{
|
686 |
+
// unfold_icon_html = '<i class="'+unfold_icon +'"></i>';
|
687 |
+
// }
|
688 |
+
// if(fold_icon_type === 'svg'){
|
689 |
+
// fold_icon_html = '<svg style="-webkit-mask: url('+ fold_icon + '); mask: url('+ fold_icon + '"); ></svg>';
|
690 |
+
// }else{
|
691 |
+
// fold_icon_html = '<i class="'+fold_icon +'"></i>';
|
692 |
+
// }
|
693 |
+
// if($scope.find('.eae-element-unfold-content').length > 0){
|
694 |
+
// $scope.find('.eae-element-unfold-content').remove();
|
695 |
+
// // console.log('unfold removed');
|
696 |
+
// }
|
697 |
+
// if(element_type === 'section'){
|
698 |
+
// component = $scope.find('.elementor-container')[0];
|
699 |
+
// $(component).css({
|
700 |
+
// 'max-height': 'unset',
|
701 |
+
// });
|
702 |
+
// container_height = $(component).outerHeight();
|
703 |
+
// // console.log('section height' , container_height);
|
704 |
+
// }
|
705 |
+
// if(element_type === 'column'){
|
706 |
+
// component = $scope.find('.elementor-column-wrap')[0];
|
707 |
+
// $(component).css({
|
708 |
+
// 'max-height': 'unset',
|
709 |
+
// });
|
710 |
+
// container_height = $(component).outerHeight();
|
711 |
+
// // console.log('column height' , container_height);
|
712 |
+
// }
|
713 |
+
//
|
714 |
+
// $button_str = '<div class="eae-element-unfold-content">';
|
715 |
+
// $button_str += '<a class="eae-unfold-link eae-'+hover_ani +'" href="#">';
|
716 |
+
// if(icon_pos === 'before'){
|
717 |
+
// $button_str += '<span class="eae-unfold-button-icon eae-unfold-align-icon-'+ icon_pos+'">';
|
718 |
+
// $button_str += unfold_icon_html;
|
719 |
+
// $button_str += '</span>';
|
720 |
+
// }
|
721 |
+
// $button_str += '<span class="eae-unfold-button-text">'+ unfold_text +'</span>';
|
722 |
+
// if(icon_pos === 'after'){
|
723 |
+
// $button_str += ' <span class="eae-unfold-button-icon eae-unfold-align-icon-'+ icon_pos+'">';
|
724 |
+
// $button_str += unfold_icon_html;
|
725 |
+
// $button_str += '</span>';
|
726 |
+
// }
|
727 |
+
// $button_str += '</div>';
|
728 |
+
// $button_str += '</a>';
|
729 |
+
//
|
730 |
+
// if(element_type === 'column'){
|
731 |
+
// $(component).css({
|
732 |
+
// 'max-height': max_fold_height,
|
733 |
+
// });
|
734 |
+
// if($scope.hasClass('elementor-element-'+ w_id)){
|
735 |
+
// $(component).append($button_str);
|
736 |
+
// }
|
737 |
+
// }
|
738 |
+
// if(element_type === 'section'){
|
739 |
+
// $(component).css({
|
740 |
+
// 'max-height': max_fold_height,
|
741 |
+
// });
|
742 |
+
// if($unfold_position === 'inside'){
|
743 |
+
// if($scope.hasClass('elementor-element-'+ w_id)){
|
744 |
+
// $(component).append($button_str);
|
745 |
+
// }
|
746 |
+
// }else{
|
747 |
+
// if($scope.hasClass('elementor-element-'+ w_id)){
|
748 |
+
// $scope.append($button_str);
|
749 |
+
// }
|
750 |
+
// }
|
751 |
+
//
|
752 |
+
// }
|
753 |
+
// if(element_type === 'widget'){
|
754 |
+
// $scope.append($button_str);
|
755 |
+
// }
|
756 |
+
// $scope.find('.eae-unfold-link').on('click', function (e) {
|
757 |
+
// e.preventDefault();
|
758 |
+
//
|
759 |
+
// if(element_type === 'column' || element_type === 'section'){
|
760 |
+
// var wrapper = $scope;
|
761 |
+
// var wrapper_height = wrapper.outerHeight();
|
762 |
+
// var unfold_height = wrapper.find('.eae-element-unfold-content').outerHeight();
|
763 |
+
// // console.log('container height',container_height);
|
764 |
+
// // console.log('unfold',unfold_height);
|
765 |
+
// var totalHeight = container_height + unfold_height;
|
766 |
+
//
|
767 |
+
// // console.log('total',totalHeight);
|
768 |
+
// if((wrapper).hasClass('eae-fold-yes')){
|
769 |
+
// $(component).css({
|
770 |
+
// 'max-height': 9999,
|
771 |
+
// 'height' : max_fold_height,
|
772 |
+
// }).animate({'height': totalHeight}, {'duration': ani_speed },'linear');
|
773 |
+
// wrapper.toggleClass('eae-fold-yes');
|
774 |
+
// wrapper.find('.eae-unfold-button-text').html(fold_text);
|
775 |
+
// wrapper.find('.eae-unfold-button-icon').html(fold_icon_html);
|
776 |
+
// }else{
|
777 |
+
// $(component).css({
|
778 |
+
// 'max-height': totalHeight,
|
779 |
+
// }).animate({'max-height': max_fold_height}, {'duration': ani_speed },'linear');
|
780 |
+
// wrapper.toggleClass('eae-fold-yes');
|
781 |
+
// wrapper.find('.eae-unfold-button-text').html(unfold_text);
|
782 |
+
// wrapper.find('.eae-unfold-button-icon').html(unfold_icon_html);
|
783 |
+
// }
|
784 |
+
// }
|
785 |
+
// if(element_type === 'widget'){
|
786 |
+
// // console.log(max_fold_height);
|
787 |
+
// var wrapper = $scope;
|
788 |
+
// var widget_wrapper_height = wrapper.outerHeight();
|
789 |
+
// var inner_elements = wrapper.find('.elementor-widget-container').outerHeight();
|
790 |
+
// var widget_unfold_height = wrapper.find('.eae-element-unfold-content').outerHeight();
|
791 |
+
// // console.log('unfold' , unfold_height);
|
792 |
+
// var widget_totalHeight = inner_elements + widget_unfold_height;
|
793 |
+
// // console.log('total',totalHeight);
|
794 |
+
// if((wrapper).hasClass('eae-fold-yes')){
|
795 |
+
// wrapper.css({
|
796 |
+
// 'height': widget_wrapper_height,
|
797 |
+
// 'max-height': 9999,
|
798 |
+
// }).animate({'height': widget_totalHeight}, {'duration': ani_speed },'liner');
|
799 |
+
// wrapper.toggleClass('eae-fold-yes');
|
800 |
+
// wrapper.find('.eae-unfold-button-text').html(fold_text);
|
801 |
+
// wrapper.find('.eae-unfold-button-icon').html(fold_icon_html);
|
802 |
+
// }else{
|
803 |
+
// wrapper.css({
|
804 |
+
// 'max-height': widget_totalHeight,
|
805 |
+
// }).animate({'max-height': max_fold_height}, {'duration': ani_speed },'liner');
|
806 |
+
// wrapper.toggleClass('eae-fold-yes');
|
807 |
+
// wrapper.find('.eae-unfold-button-text').html(unfold_text);
|
808 |
+
// wrapper.find('.eae-unfold-button-icon').html(unfold_icon_html);
|
809 |
+
// }
|
810 |
+
// }
|
811 |
+
// })
|
812 |
+
//
|
813 |
+
// }
|
814 |
+
// var EaeUnfold = function ($scope, $) {
|
815 |
+
// if ($scope.hasClass('eae-widget-unfold-yes')) {
|
816 |
+
// $scope.imagesLoaded().done(function () {
|
817 |
+
// render_unfold($scope);
|
818 |
+
// });
|
819 |
+
// $(window).resize(function(){
|
820 |
+
// $scope.imagesLoaded().done(function () {
|
821 |
+
// // console.log('Resize Function Called');
|
822 |
+
// render_unfold($scope);
|
823 |
+
// });
|
824 |
+
// });
|
825 |
+
// // $win = $(window);
|
826 |
+
// // $win.on('resize', render_unfold($scope));
|
827 |
+
//
|
828 |
+
// }
|
829 |
+
// };
|
830 |
+
|
831 |
+
var EaePopup = function ($scope, $) {
|
832 |
+
$preview_modal = $scope.find(".eae-popup-wrapper").data("preview-modal");
|
833 |
+
$close_btn_type = $scope
|
834 |
+
.find(".eae-popup-wrapper")
|
835 |
+
.data("close-button-type");
|
836 |
+
$close_btn = $scope.find(".eae-popup-wrapper").data("close-btn");
|
837 |
+
if ($close_btn_type == "icon") {
|
838 |
+
$close_btn_html = '<i class="eae-close ' + $close_btn + '"> </i>';
|
839 |
+
} else {
|
840 |
+
$close_btn_html =
|
841 |
+
'<svg class="eae-close" style="-webkit-mask: url(' +
|
842 |
+
$close_btn +
|
843 |
+
"); mask: url(" +
|
844 |
+
$close_btn +
|
845 |
+
'); "></svg>';
|
846 |
+
}
|
847 |
+
|
848 |
+
$magnific = $scope.find(".eae-popup-link").eaePopup({
|
849 |
+
type: "inline",
|
850 |
+
|
851 |
+
disableOn: 0,
|
852 |
+
|
853 |
+
key: null,
|
854 |
+
|
855 |
+
midClick: false,
|
856 |
+
|
857 |
+
mainClass:
|
858 |
+
"eae-popup eae-popup-" +
|
859 |
+
$scope.find(".eae-popup-link").data("id") +
|
860 |
+
" eae-wrap-" +
|
861 |
+
$scope.find(".eae-popup-link").data("ctrl-id"),
|
862 |
+
|
863 |
+
preloader: true,
|
864 |
+
|
865 |
+
focus: "", // CSS selector of input to focus after popup is opened
|
866 |
+
|
867 |
+
closeOnContentClick: false,
|
868 |
+
|
869 |
+
closeOnBgClick: true,
|
870 |
+
|
871 |
+
closeBtnInside: $scope.find(".eae-popup-wrapper").data("close-in-out"),
|
872 |
+
|
873 |
+
showCloseBtn: true,
|
874 |
+
|
875 |
+
enableEscapeKey: false,
|
876 |
+
|
877 |
+
modal: false,
|
878 |
+
|
879 |
+
alignTop: false,
|
880 |
+
|
881 |
+
removalDelay: 0,
|
882 |
+
|
883 |
+
prependTo: null,
|
884 |
+
|
885 |
+
fixedContentPos: true,
|
886 |
+
|
887 |
+
fixedBgPos: "auto",
|
888 |
+
|
889 |
+
overflowY: "auto",
|
890 |
+
|
891 |
+
closeMarkup: $close_btn_html,
|
892 |
+
|
893 |
+
tClose: "Close (Esc)",
|
894 |
+
|
895 |
+
tLoading: "Loading...",
|
896 |
+
|
897 |
+
autoFocusLast: true,
|
898 |
+
});
|
899 |
+
|
900 |
+
if ($preview_modal == "yes") {
|
901 |
+
if ($scope.hasClass("elementor-element-edit-mode")) {
|
902 |
+
$scope.find(".eae-popup-link").click();
|
903 |
+
}
|
904 |
+
}
|
905 |
+
};
|
906 |
|
907 |
+
var EAETestimonial = function ($scope, $) {
|
908 |
+
if ($scope.find(".eae-grid-wrapper").hasClass("eae-masonry-yes")) {
|
909 |
+
//console.log('grid');
|
910 |
+
var grid = $scope.find(".eae-grid");
|
911 |
+
var $grid_obj = grid.masonry({});
|
912 |
+
$grid_obj.imagesLoaded().progress(function () {
|
913 |
+
$grid_obj.masonry("layout");
|
914 |
+
});
|
915 |
+
}
|
916 |
+
if ($scope.find(".eae-layout-carousel").length) {
|
917 |
+
outer_wrapper = $scope.find(".eae-swiper-outer-wrapper");
|
918 |
+
wid = $scope.data("id");
|
919 |
+
wclass = ".elementor-element-" + wid;
|
920 |
+
var direction = outer_wrapper.data("direction");
|
921 |
+
var speed = outer_wrapper.data("speed");
|
922 |
+
var autoplay = outer_wrapper.data("autoplay");
|
923 |
+
var duration = outer_wrapper.data("duration");
|
924 |
+
//console.log(duration);
|
925 |
+
var effect = outer_wrapper.data("effect");
|
926 |
+
var space = outer_wrapper.data("space");
|
927 |
+
var loop = outer_wrapper.data("loop");
|
928 |
+
if (loop == "yes") {
|
929 |
+
loop = true;
|
930 |
+
} else {
|
931 |
+
loop = false;
|
932 |
+
}
|
933 |
+
var slides_per_view = outer_wrapper.data("slides-per-view");
|
934 |
+
var slides_per_group = outer_wrapper.data("slides-per-group");
|
935 |
+
var ptype = outer_wrapper.data("ptype");
|
936 |
+
var navigation = outer_wrapper.data("navigation");
|
937 |
+
var clickable = outer_wrapper.data("clickable");
|
938 |
+
var keyboard = outer_wrapper.data("keyboard");
|
939 |
+
var scrollbar = outer_wrapper.data("scrollbar");
|
940 |
+
adata = {
|
941 |
+
direction: direction,
|
942 |
+
effect: effect,
|
943 |
+
spaceBetween: space.desktop,
|
944 |
+
loop: loop,
|
945 |
+
speed: speed,
|
946 |
+
slidesPerView: slides_per_view.desktop,
|
947 |
+
slidesPerGroup: slides_per_group.desktop,
|
948 |
+
observer: true,
|
949 |
+
mousewheel: {
|
950 |
+
invert: true,
|
951 |
+
},
|
952 |
+
breakpoints: {
|
953 |
+
1024: {
|
954 |
+
spaceBetween: space.tablet,
|
955 |
+
slidesPerView: slides_per_view.tablet,
|
956 |
+
slidesPerGroup: slides_per_group.tablet,
|
957 |
+
},
|
958 |
+
767: {
|
959 |
+
spaceBetween: space.mobile,
|
960 |
+
slidesPerView: slides_per_view.mobile,
|
961 |
+
slidesPerGroup: slides_per_group.mobile,
|
962 |
+
},
|
963 |
+
},
|
964 |
};
|
965 |
+
if (effect == "fade") {
|
966 |
+
adata["fadeEffect"] = {
|
967 |
+
crossFade: false,
|
968 |
+
};
|
969 |
+
}
|
970 |
+
if (autoplay == "yes") {
|
971 |
+
adata["autoplay"] = {
|
972 |
+
delay: duration,
|
973 |
+
disableOnInteraction: false,
|
974 |
+
};
|
975 |
+
} else {
|
976 |
+
adata["autoplay"] = false;
|
977 |
+
}
|
978 |
+
if (navigation == "yes") {
|
979 |
+
adata["navigation"] = {
|
980 |
+
nextEl: ".swiper-button-next",
|
981 |
+
prevEl: ".swiper-button-prev",
|
982 |
+
};
|
983 |
+
}
|
984 |
+
if (ptype != "") {
|
985 |
+
adata["pagination"] = {
|
986 |
+
el: ".swiper-pagination",
|
987 |
+
type: ptype,
|
988 |
+
};
|
989 |
+
}
|
990 |
+
if (ptype == "bullets" && clickable == "yes") {
|
991 |
+
adata["pagination"] = {
|
992 |
+
el: ".swiper-pagination",
|
993 |
+
clickable: true,
|
994 |
+
type: ptype,
|
995 |
+
};
|
996 |
+
}
|
997 |
+
if (scrollbar == "yes") {
|
998 |
+
adata["scrollbar"] = {
|
999 |
+
el: ".swiper-scrollbar",
|
1000 |
+
draggable: true,
|
1001 |
+
};
|
1002 |
+
}
|
1003 |
+
if (keyboard == "yes") {
|
1004 |
+
adata["keyboard"] = {
|
1005 |
+
enabled: true,
|
1006 |
+
onlyInViewport: true,
|
1007 |
+
};
|
1008 |
+
}
|
1009 |
+
if (loop == false) {
|
1010 |
+
adata["autoplay"] = {
|
1011 |
+
delay: duration,
|
1012 |
+
stopOnLastSlide: true,
|
1013 |
+
disableOnInteraction: false,
|
1014 |
+
};
|
1015 |
+
}
|
1016 |
+
//console.log(adata);
|
1017 |
+
window.mswiper = new Swiper(
|
1018 |
+
".elementor-element-" +
|
1019 |
+
wid +
|
1020 |
+
" .eae-swiper-outer-wrapper .swiper-container",
|
1021 |
+
adata
|
1022 |
+
);
|
1023 |
+
$(
|
1024 |
+
".elementor-element-" +
|
1025 |
+
wid +
|
1026 |
+
" .eae-swiper-outer-wrapper .swiper-container"
|
1027 |
+
).css("visibility", "visible");
|
1028 |
+
}
|
1029 |
+
};
|
1030 |
|
1031 |
+
/* Info Circle */
|
1032 |
+
var InfoCircleHandler = function ($scope, $) {
|
1033 |
+
$wrap_class = ".elementor-element-" + $scope.data("id");
|
1034 |
+
$angle = 0;
|
1035 |
+
|
1036 |
+
function set_icon_mobile($wrap_class) {
|
1037 |
+
$icons = $(document).find($wrap_class).find(".eae-ic-icon-wrap");
|
1038 |
+
|
1039 |
+
if (window.innerWidth < 767) {
|
1040 |
+
$icons.each(function (index, value) {
|
1041 |
+
$(value).css("top", $(value).height() / 2 + 8 + "px");
|
1042 |
+
$(value)
|
1043 |
+
.next(".eae-info-circle-item__content-wrap")
|
1044 |
+
.css("padding-top", $(value).height() / 2 + 8 + "px");
|
1045 |
+
});
|
1046 |
+
} else {
|
1047 |
+
$icons.each(function (index, value) {
|
1048 |
+
$(value).css("margin-left", $(value).outerWidth() * -0.5);
|
1049 |
+
$(value).css("margin-top", $(value).outerHeight() * -0.5);
|
1050 |
+
$a = arc_to_coords($angle);
|
1051 |
+
$b = 360 / $icons.length;
|
1052 |
+
$(value).css("left", $a.x + "%");
|
1053 |
+
$(value).css("top", $a.y + "%");
|
1054 |
+
$angle += $b;
|
1055 |
+
});
|
1056 |
+
}
|
1057 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1058 |
|
1059 |
+
set_icon_mobile($scope);
|
|
|
|
|
|
|
1060 |
|
1061 |
+
function arc_to_coords(angle) {
|
1062 |
+
angle = ((angle - 90) * Math.PI) / 180;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1063 |
|
1064 |
+
return {
|
1065 |
+
x: 50 + 45 * Math.cos(angle),
|
1066 |
+
y: 50 + 45 * Math.sin(angle),
|
1067 |
+
};
|
1068 |
+
}
|
|
|
|
|
|
|
|
|
1069 |
|
1070 |
+
var timer = null;
|
1071 |
+
$autoplayDuration = $scope.find(".eae-info-circle").data("delay");
|
|
|
|
|
1072 |
|
1073 |
+
function startSetInterval() {
|
1074 |
+
if ($scope.find(".eae-info-circle").data("autoplay") == "yes") {
|
1075 |
+
timer = setInterval(showDiv, $autoplayDuration);
|
1076 |
+
}
|
1077 |
+
}
|
1078 |
+
|
1079 |
+
// start function on page load
|
1080 |
+
startSetInterval();
|
1081 |
+
|
1082 |
+
// hover behaviour
|
1083 |
+
$scope.find(".eae-ic-icon-wrap").hover(
|
1084 |
+
function () {
|
1085 |
+
clearInterval(timer);
|
1086 |
+
},
|
1087 |
+
function () {
|
1088 |
+
startSetInterval();
|
1089 |
+
}
|
1090 |
+
);
|
1091 |
+
if ($scope.find(".eae-info-circle-item").length > 0) {
|
1092 |
+
$($scope.find(".eae-info-circle-item")[0]).addClass("eae-active");
|
1093 |
+
}
|
1094 |
+
|
1095 |
+
$scope.find(".eae-ic-icon-wrap").on("click", function () {
|
1096 |
+
$scope.find(".eae-info-circle-item").removeClass("eae-active");
|
1097 |
+
$(this).parent().addClass("eae-active");
|
1098 |
+
});
|
1099 |
+
if ($scope.hasClass("eae-mouseenter-yes")) {
|
1100 |
+
$scope.find(".eae-ic-icon-wrap").on("mouseenter", function () {
|
1101 |
+
$scope.find(".eae-info-circle-item").removeClass("eae-active");
|
1102 |
+
$(this).parent().addClass("eae-active");
|
1103 |
+
});
|
1104 |
+
}
|
1105 |
+
|
1106 |
+
function showDiv() {
|
1107 |
+
if ($scope.find(".eae-active").next().length > 0) {
|
1108 |
+
$scope
|
1109 |
+
.find(".eae-active")
|
1110 |
+
.next()
|
1111 |
+
.addClass("eae-active")
|
1112 |
+
.siblings()
|
1113 |
+
.removeClass("eae-active");
|
1114 |
+
} else {
|
1115 |
+
$scope
|
1116 |
+
.find(".eae-info-circle-item")
|
1117 |
+
.eq(0)
|
1118 |
+
.addClass("eae-active")
|
1119 |
+
.siblings()
|
1120 |
+
.removeClass("eae-active");
|
1121 |
+
}
|
1122 |
+
}
|
1123 |
|
1124 |
+
window.addEventListener(
|
1125 |
+
"resize",
|
1126 |
+
set_icon_mobile.bind(this, $wrap_class)
|
1127 |
+
);
|
1128 |
+
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1129 |
|
1130 |
+
var TimelineHandler = function ($scope, $) {
|
1131 |
+
set_progress_bar();
|
1132 |
+
|
1133 |
+
function set_progress_bar() {
|
1134 |
+
var pb = $scope.find(".eae-timline-progress-bar");
|
1135 |
+
var items = $scope.find(".eae-timeline-item");
|
1136 |
+
var tl = $scope.find(".eae-timeline");
|
1137 |
+
const offset = tl.data("top-offset");
|
1138 |
+
var h = $(tl).height();
|
1139 |
+
var last_offset =
|
1140 |
+
$(items).last().find(".eae-tl-icon-wrapper").offset().top -
|
1141 |
+
$(items[0]).parent().offset().top;
|
1142 |
+
var icon_width = $scope.find(".eae-tl-icon-wrapper");
|
1143 |
+
|
1144 |
+
$(pb).css(
|
1145 |
+
"top",
|
1146 |
+
$(items[0]).find(".eae-tl-icon-wrapper").offset().top -
|
1147 |
+
$(items[0]).parent().offset().top
|
1148 |
+
);
|
1149 |
+
$(pb).css("bottom", h - last_offset);
|
1150 |
+
$(pb).css(
|
1151 |
+
"left",
|
1152 |
+
icon_width.eq(0)[0].offsetLeft + icon_width.eq(0).width() / 2
|
1153 |
+
);
|
1154 |
+
$(pb).css("display", "block");
|
1155 |
+
|
1156 |
+
items.each(function (index, value) {
|
1157 |
+
var waypoint = new Waypoint({
|
1158 |
+
element: $(value),
|
1159 |
+
handler: function (direction) {
|
1160 |
+
if (direction == "down") {
|
1161 |
+
$(value).addClass("eae-tl-item-focused");
|
1162 |
+
} else {
|
1163 |
+
$(value).removeClass("eae-tl-item-focused");
|
1164 |
+
}
|
1165 |
+
},
|
1166 |
+
offset: offset,
|
1167 |
+
});
|
1168 |
+
});
|
1169 |
+
}
|
1170 |
+
|
1171 |
+
function progress_bar_increment() {
|
1172 |
+
var pb = $scope.find(".eae-timline-progress-bar");
|
1173 |
+
var tm = $scope.find(".eae-timeline");
|
1174 |
+
const offset = tm.data("top-offset");
|
1175 |
+
//jQuery(".eae-timline-progress-bar").css('top', $scope.find(".eae-timeline").offset().top + 50);
|
1176 |
+
$scope
|
1177 |
+
.find(".eae-pb-inner-line")
|
1178 |
+
.css(
|
1179 |
+
"height",
|
1180 |
+
$(window).scrollTop() -
|
1181 |
+
$scope.find(".eae-timeline").offset().top +
|
1182 |
+
offset
|
1183 |
+
);
|
1184 |
+
$scope
|
1185 |
+
.find(".eae-pb-inner-line")
|
1186 |
+
.css(
|
1187 |
+
"max-height",
|
1188 |
+
$scope.find(".eae-pb-inner-line").parent().height()
|
1189 |
+
);
|
1190 |
+
}
|
1191 |
+
|
1192 |
+
// listen for events
|
1193 |
+
//window.addEventListener("load", set_progress_bar);
|
1194 |
+
window.addEventListener("resize", set_progress_bar);
|
1195 |
+
window.addEventListener("scroll", progress_bar_increment);
|
1196 |
+
};
|
1197 |
|
1198 |
+
function eaeSetCookie(cname, cvalue, exdays) {
|
1199 |
+
var d = new Date();
|
1200 |
+
d.setTime(d.getTime() + exdays * 60 * 60 * 1000);
|
1201 |
+
|
1202 |
+
//console.log('exp time',cookie_expire);
|
1203 |
+
//d.setTime(d.getTime() + ( exdays * 60 * 60 * 1000));
|
1204 |
+
var expires = "expires=" + d.toUTCString();
|
1205 |
+
document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
|
1206 |
+
}
|
1207 |
+
|
1208 |
+
function eaeGetCookie(cname) {
|
1209 |
+
var name = cname + "=";
|
1210 |
+
var decodedCookie = decodeURIComponent(document.cookie);
|
1211 |
+
var ca = decodedCookie.split(";");
|
1212 |
+
for (var i = 0; i < ca.length; i++) {
|
1213 |
+
var c = ca[i];
|
1214 |
+
while (c.charAt(0) == " ") {
|
1215 |
+
c = c.substring(1);
|
1216 |
+
}
|
1217 |
+
if (c.indexOf(name) == 0) {
|
1218 |
+
return c.substring(name.length, c.length);
|
1219 |
+
}
|
1220 |
+
}
|
1221 |
+
return "";
|
1222 |
+
}
|
1223 |
+
|
1224 |
+
var EgTimerSkin1 = function ($scope, $) {
|
1225 |
+
var countDownDate = $scope.find(".eae-evergreen-wrapper").data("egtime");
|
1226 |
+
var cookie_expire = $scope
|
1227 |
+
.find(".eae-evergreen-wrapper")
|
1228 |
+
.data("egt-expire");
|
1229 |
+
var element_type = $scope
|
1230 |
+
.find(".eae-evergreen-wrapper")
|
1231 |
+
.data("element-type");
|
1232 |
+
var element_id =
|
1233 |
+
"eae-" + $scope.find(".eae-evergreen-wrapper").data("id");
|
1234 |
+
var element_cookie_id =
|
1235 |
+
"eae-temp-" + $scope.find(".eae-evergreen-wrapper").data("id");
|
1236 |
+
var actions = $scope.find(".eae-evergreen-wrapper").data("actions");
|
1237 |
+
|
1238 |
+
var unqId = $scope.find(".eae-evergreen-wrapper").data("unqid");
|
1239 |
+
|
1240 |
+
var now = new Date().getTime();
|
1241 |
+
|
1242 |
+
// for front end time get from cookie
|
1243 |
+
|
1244 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
1245 |
+
if (element_type === "countdown") {
|
1246 |
+
date1 = new Date(countDownDate);
|
1247 |
+
countDownDate = date1.getTime();
|
1248 |
+
|
1249 |
+
var expires1 = "expires=" + date1.toUTCString();
|
1250 |
+
document.cookie =
|
1251 |
+
element_cookie_id +
|
1252 |
+
"=" +
|
1253 |
+
date1.getTime() +
|
1254 |
+
";" +
|
1255 |
+
expires1 +
|
1256 |
+
";path=/";
|
1257 |
+
} else {
|
1258 |
+
var first_load_value = eaeGetCookie(element_id);
|
1259 |
+
var date1 = "";
|
1260 |
+
if (first_load_value !== "") {
|
1261 |
+
date1 = new Date(parseInt(first_load_value));
|
1262 |
+
date1.setSeconds(
|
1263 |
+
date1.getSeconds() +
|
1264 |
+
$scope.find(".eae-evergreen-wrapper").data("egtime")
|
1265 |
+
);
|
1266 |
+
countDownDate = date1.getTime();
|
1267 |
+
|
1268 |
+
var d2 = new Date(parseInt(first_load_value));
|
1269 |
+
d2.setTime(d2.getTime() + cookie_expire * 60 * 60 * 1000);
|
1270 |
+
var expires2 = "expires=" + d2.toUTCString();
|
1271 |
+
document.cookie =
|
1272 |
+
element_id + "=" + first_load_value + ";" + expires2 + ";path=/";
|
1273 |
+
|
1274 |
+
var d1 = new Date(parseInt(first_load_value));
|
1275 |
+
d1.setTime(
|
1276 |
+
d1.getTime() +
|
1277 |
+
$scope.find(".eae-evergreen-wrapper").data("egtime") * 1000
|
1278 |
+
);
|
1279 |
+
var expires1 = "expires=" + d1.toUTCString();
|
1280 |
+
|
1281 |
+
//console.log('expire',expires);
|
1282 |
+
if (countDownDate - now > 0) {
|
1283 |
+
document.cookie =
|
1284 |
+
element_cookie_id +
|
1285 |
+
"=" +
|
1286 |
+
first_load_value +
|
1287 |
+
";" +
|
1288 |
+
expires1 +
|
1289 |
+
";path=/";
|
1290 |
+
}
|
1291 |
+
} else {
|
1292 |
+
//console.log('countdown date set cookie',countDownDate);
|
1293 |
+
temp_date = countDownDate;
|
1294 |
+
date1 = new Date();
|
1295 |
+
date1.setSeconds(
|
1296 |
+
date1.getSeconds() +
|
1297 |
+
$scope.find(".eae-evergreen-wrapper").data("egtime")
|
1298 |
+
);
|
1299 |
+
countDownDate = date1.getTime();
|
1300 |
+
//console.log('countdown date set cookie',countDownDate);
|
1301 |
+
eaeSetCookie(element_id, new Date().getTime(), cookie_expire);
|
1302 |
+
//eaeSetCookie(element_cookie_id, new Date().getTime(), countDownDate);
|
1303 |
+
|
1304 |
+
var d = new Date();
|
1305 |
+
d.setTime(d.getTime() + temp_date * 1000);
|
1306 |
+
var expires = "expires=" + d.toUTCString();
|
1307 |
+
//console.log('first load');
|
1308 |
+
//console.log('expire',expires);
|
1309 |
+
|
1310 |
+
document.cookie =
|
1311 |
+
element_cookie_id +
|
1312 |
+
"=" +
|
1313 |
+
new Date().getTime() +
|
1314 |
+
";" +
|
1315 |
+
expires +
|
1316 |
+
";path=/";
|
1317 |
+
}
|
1318 |
+
}
|
1319 |
+
}
|
1320 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
1321 |
+
var distance = countDownDate - now;
|
1322 |
+
|
1323 |
+
if (distance < 0) {
|
1324 |
+
if (actions.length > 0) {
|
1325 |
+
actions.forEach(function (value) {
|
1326 |
+
if (value === "redirect") {
|
1327 |
+
$url = $scope
|
1328 |
+
.find(".eae-evergreen-wrapper")
|
1329 |
+
.data("redirected-url");
|
1330 |
+
if ($.trim($url) !== "") {
|
1331 |
+
window.location.href = $url1;
|
1332 |
+
}
|
1333 |
+
}
|
1334 |
+
if (value === "hide") {
|
1335 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
1336 |
+
$scope.find("#eaeclockdiv").css("display", "none");
|
1337 |
+
$scope.find(".egt-title").css("display", "none");
|
1338 |
+
}
|
1339 |
+
}
|
1340 |
+
if (value === "message") {
|
1341 |
+
$scope.find(".eae-egt-message").css("display", "block");
|
1342 |
+
}
|
1343 |
+
if (value === "hide_parent") {
|
1344 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
1345 |
+
$p_secs = $scope.closest("section");
|
1346 |
+
$p_secs.css("display", "none");
|
1347 |
+
}
|
1348 |
+
}
|
1349 |
+
});
|
1350 |
+
}
|
1351 |
+
|
1352 |
+
days = "00";
|
1353 |
+
hours = "00";
|
1354 |
+
minutes = "00";
|
1355 |
+
seconds = "00";
|
1356 |
+
|
1357 |
+
$scope
|
1358 |
+
.find("." + unqId)
|
1359 |
+
.find("#eaedivDays")
|
1360 |
+
.html(days);
|
1361 |
+
$scope
|
1362 |
+
.find("." + unqId)
|
1363 |
+
.find("#eaedivHours")
|
1364 |
+
.html(hours.slice(-2));
|
1365 |
+
$scope
|
1366 |
+
.find("." + unqId)
|
1367 |
+
.find("#eaedivMinutes")
|
1368 |
+
.html(minutes.slice(-2));
|
1369 |
+
$scope
|
1370 |
+
.find("." + unqId)
|
1371 |
+
.find("#eaedivSeconds")
|
1372 |
+
.html(seconds.slice(-2));
|
1373 |
+
return;
|
1374 |
+
}
|
1375 |
+
}
|
1376 |
+
|
1377 |
+
// For editor
|
1378 |
+
|
1379 |
+
if ($scope.hasClass("elementor-element-edit-mode")) {
|
1380 |
+
if (element_type === "countdown") {
|
1381 |
+
date1 = new Date(countDownDate);
|
1382 |
+
countDownDate = date1.getTime();
|
1383 |
+
} else {
|
1384 |
+
date1 = new Date();
|
1385 |
+
date1.setSeconds(
|
1386 |
+
date1.getSeconds() +
|
1387 |
+
$scope.find(".eae-evergreen-wrapper").data("egtime")
|
1388 |
+
);
|
1389 |
+
countDownDate = date1.getTime();
|
1390 |
+
}
|
1391 |
+
}
|
1392 |
+
|
1393 |
+
var y = setInterval(function () {
|
1394 |
+
//console.log('c date inner',countDownDate);
|
1395 |
+
// Get todays date and time
|
1396 |
+
|
1397 |
+
var now = new Date().getTime();
|
1398 |
+
// Find the distance between now and the count down date
|
1399 |
+
|
1400 |
+
var distance = countDownDate - now;
|
1401 |
+
|
1402 |
+
//console.log('distance',distance);
|
1403 |
+
var days = 0;
|
1404 |
+
var hours = 0;
|
1405 |
+
var minutes = 0;
|
1406 |
+
var seconds = 0;
|
1407 |
+
if (distance > 0) {
|
1408 |
+
// Time calculations for days, hours, minutes and seconds
|
1409 |
+
days = Math.floor(distance / (1000 * 60 * 60 * 24));
|
1410 |
+
hours =
|
1411 |
+
"0" +
|
1412 |
+
Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
1413 |
+
minutes =
|
1414 |
+
"0" + Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
1415 |
+
seconds = "0" + Math.floor((distance % (1000 * 60)) / 1000);
|
1416 |
+
} else {
|
1417 |
+
if (actions.length > 0) {
|
1418 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
1419 |
+
actions.forEach(function (value) {
|
1420 |
+
if (value === "redirect") {
|
1421 |
+
$url1 = $scope
|
1422 |
+
.find(".eae-evergreen-wrapper")
|
1423 |
+
.data("redirected-url");
|
1424 |
+
if ($.trim($url1) !== "") {
|
1425 |
+
window.location.href = $url1;
|
1426 |
+
}
|
1427 |
+
}
|
1428 |
+
if (value === "hide") {
|
1429 |
+
$scope.find("#eaeclockdiv").css("display", "none");
|
1430 |
+
$scope.find(".egt-title").css("display", "none");
|
1431 |
+
}
|
1432 |
+
if (value === "message") {
|
1433 |
+
$scope.find(".eae-egt-message").css("display", "block");
|
1434 |
+
}
|
1435 |
+
if (value === "hide_parent") {
|
1436 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
1437 |
+
$p_secs = $scope.closest("section");
|
1438 |
+
$p_secs.css("display", "none");
|
1439 |
+
}
|
1440 |
+
}
|
1441 |
+
});
|
1442 |
+
}
|
1443 |
+
}
|
1444 |
+
clearInterval(y);
|
1445 |
+
days = "0";
|
1446 |
+
hours = "00";
|
1447 |
+
minutes = "00";
|
1448 |
+
seconds = "00";
|
1449 |
+
}
|
1450 |
|
1451 |
+
if (days < 10) {
|
1452 |
+
days = "0" + days;
|
1453 |
+
}
|
1454 |
+
$scope
|
1455 |
+
.find("." + unqId)
|
1456 |
+
.find("#eaedivDays")
|
1457 |
+
.html(days);
|
1458 |
+
$scope
|
1459 |
+
.find("." + unqId)
|
1460 |
+
.find("#eaedivHours")
|
1461 |
+
.html(hours.slice(-2));
|
1462 |
+
$scope
|
1463 |
+
.find("." + unqId)
|
1464 |
+
.find("#eaedivMinutes")
|
1465 |
+
.html(minutes.slice(-2));
|
1466 |
+
$scope
|
1467 |
+
.find("." + unqId)
|
1468 |
+
.find("#eaedivSeconds")
|
1469 |
+
.html(seconds.slice(-2));
|
1470 |
+
}, 1000);
|
1471 |
+
};
|
1472 |
|
1473 |
+
var EgTimerSkin2 = function ($scope, $) {
|
1474 |
+
var countDownDate = $scope.find(".eae-evergreen-wrapper").data("egtime");
|
1475 |
+
var cookie_expire = $scope
|
1476 |
+
.find(".eae-evergreen-wrapper")
|
1477 |
+
.data("egt-expire");
|
1478 |
+
var element_type = $scope
|
1479 |
+
.find(".eae-evergreen-wrapper")
|
1480 |
+
.data("element-type");
|
1481 |
+
var element_id =
|
1482 |
+
"eae-" + $scope.find(".eae-evergreen-wrapper").data("id");
|
1483 |
+
var element_cookie_id =
|
1484 |
+
"eae-temp-" + $scope.find(".eae-evergreen-wrapper").data("id");
|
1485 |
+
var actions = $scope.find(".eae-evergreen-wrapper").data("actions");
|
1486 |
+
var unqId = $scope.find(".eae-evergreen-wrapper").data("unqid");
|
1487 |
+
|
1488 |
+
var now = new Date().getTime();
|
1489 |
+
|
1490 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
1491 |
+
if (element_type === "countdown") {
|
1492 |
+
date1 = new Date(countDownDate);
|
1493 |
+
countDownDate = date1.getTime();
|
1494 |
+
var expires1 = "expires=" + date1.toUTCString();
|
1495 |
+
|
1496 |
+
document.cookie =
|
1497 |
+
element_cookie_id +
|
1498 |
+
"=" +
|
1499 |
+
date1.getTime() +
|
1500 |
+
";" +
|
1501 |
+
expires1 +
|
1502 |
+
";path=/";
|
1503 |
+
} else {
|
1504 |
+
var first_load_value = eaeGetCookie(element_id);
|
1505 |
+
var date1 = "";
|
1506 |
+
if (first_load_value !== "") {
|
1507 |
+
date1 = new Date(parseInt(first_load_value));
|
1508 |
+
date1.setSeconds(
|
1509 |
+
date1.getSeconds() +
|
1510 |
+
$scope.find(".eae-evergreen-wrapper").data("egtime")
|
1511 |
+
);
|
1512 |
+
countDownDate = date1.getTime();
|
1513 |
+
|
1514 |
+
var d2 = new Date(parseInt(first_load_value));
|
1515 |
+
d2.setTime(d2.getTime() + cookie_expire * 60 * 60 * 1000);
|
1516 |
+
var expires2 = "expires=" + d2.toUTCString();
|
1517 |
+
document.cookie =
|
1518 |
+
element_id + "=" + first_load_value + ";" + expires2 + ";path=/";
|
1519 |
+
|
1520 |
+
var d1 = new Date(parseInt(first_load_value));
|
1521 |
+
d1.setTime(
|
1522 |
+
d1.getTime() +
|
1523 |
+
$scope.find(".eae-evergreen-wrapper").data("egtime") * 1000
|
1524 |
+
);
|
1525 |
+
var expires1 = "expires=" + d1.toUTCString();
|
1526 |
+
|
1527 |
+
if (countDownDate - now > 0) {
|
1528 |
+
document.cookie =
|
1529 |
+
element_cookie_id +
|
1530 |
+
"=" +
|
1531 |
+
first_load_value +
|
1532 |
+
";" +
|
1533 |
+
expires1 +
|
1534 |
+
";path=/";
|
1535 |
+
}
|
1536 |
+
} else {
|
1537 |
+
temp_date = countDownDate;
|
1538 |
+
date1 = new Date();
|
1539 |
+
date1.setSeconds(
|
1540 |
+
date1.getSeconds() +
|
1541 |
+
$scope.find(".eae-evergreen-wrapper").data("egtime")
|
1542 |
+
);
|
1543 |
+
countDownDate = date1.getTime();
|
1544 |
+
//console.log('countdown date set cookie',countDownDate);
|
1545 |
+
eaeSetCookie(element_id, new Date().getTime(), cookie_expire);
|
1546 |
+
//eaeSetCookie(element_cookie_id, new Date().getTime(), countDownDate);
|
1547 |
|
1548 |
+
var d = new Date();
|
1549 |
+
d.setTime(d.getTime() + temp_date * 1000);
|
1550 |
+
var expires = "expires=" + d.toUTCString();
|
1551 |
|
1552 |
+
document.cookie =
|
1553 |
+
element_cookie_id +
|
1554 |
+
"=" +
|
1555 |
+
new Date().getTime() +
|
1556 |
+
";" +
|
1557 |
+
expires +
|
1558 |
+
";path=/";
|
1559 |
+
}
|
1560 |
+
}
|
1561 |
+
}
|
1562 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
1563 |
+
var distance = countDownDate - now;
|
1564 |
+
if (distance < 0) {
|
1565 |
+
if (actions.length > 0) {
|
1566 |
+
actions.forEach(function (value) {
|
1567 |
+
if (value === "redirect") {
|
1568 |
+
$url = $scope
|
1569 |
+
.find(".eae-evergreen-wrapper")
|
1570 |
+
.data("redirected-url");
|
1571 |
+
if ($.trim($url) !== "") {
|
1572 |
+
window.location.href = $url;
|
1573 |
+
}
|
1574 |
+
}
|
1575 |
+
if (value === "hide") {
|
1576 |
+
$scope
|
1577 |
+
.find("." + unqId)
|
1578 |
+
.find(".timer-container")
|
1579 |
+
.css("display", "none");
|
1580 |
+
$scope
|
1581 |
+
.find("." + unqId)
|
1582 |
+
.find(".egt-title")
|
1583 |
+
.css("display", "none");
|
1584 |
+
}
|
1585 |
+
if (value === "message") {
|
1586 |
+
$scope
|
1587 |
+
.find("." + unqId)
|
1588 |
+
.find(".eae-egt-message")
|
1589 |
+
.css("display", "block");
|
1590 |
+
}
|
1591 |
+
if (value === "hide_parent") {
|
1592 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
1593 |
+
$p_secs = $scope.closest("section");
|
1594 |
+
$p_secs.css("display", "none");
|
1595 |
+
}
|
1596 |
+
}
|
1597 |
+
});
|
1598 |
+
}
|
1599 |
|
1600 |
+
return;
|
1601 |
+
}
|
1602 |
+
}
|
1603 |
+
|
1604 |
+
if ($scope.hasClass("elementor-element-edit-mode")) {
|
1605 |
+
if (element_type === "countdown") {
|
1606 |
+
date1 = new Date(countDownDate);
|
1607 |
+
countDownDate = date1.getTime();
|
1608 |
+
} else {
|
1609 |
+
date1 = new Date();
|
1610 |
+
date1.setSeconds(
|
1611 |
+
date1.getSeconds() +
|
1612 |
+
$scope.find(".eae-evergreen-wrapper").data("egtime")
|
1613 |
+
);
|
1614 |
+
countDownDate = date1.getTime();
|
1615 |
+
}
|
1616 |
+
}
|
1617 |
+
|
1618 |
+
// Update the count down every 1 second
|
1619 |
+
var x = setInterval(function () {
|
1620 |
+
// Get todays date and time
|
1621 |
+
var now = new Date().getTime();
|
1622 |
+
|
1623 |
+
// Find the distance between now and the count down date
|
1624 |
+
var distance = countDownDate - now;
|
1625 |
+
|
1626 |
+
// Time calculations for days, hours, minutes and seconds
|
1627 |
+
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
|
1628 |
+
var hours = Math.floor(
|
1629 |
+
(distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)
|
1630 |
+
);
|
1631 |
+
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
1632 |
+
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
1633 |
+
|
1634 |
+
$scope
|
1635 |
+
.find("." + unqId)
|
1636 |
+
.find("#eaeulSec1")
|
1637 |
+
.find(".flip-clock-active")
|
1638 |
+
.removeClass("flip-clock-active");
|
1639 |
+
$scope
|
1640 |
+
.find("." + unqId)
|
1641 |
+
.find("#eaeulSec1")
|
1642 |
+
.find(".flip-clock-before")
|
1643 |
+
.removeClass("flip-clock-before");
|
1644 |
+
$scope
|
1645 |
+
.find("." + unqId)
|
1646 |
+
.find("#eaeulSec")
|
1647 |
+
.find(".flip-clock-active")
|
1648 |
+
.removeClass("flip-clock-active");
|
1649 |
+
$scope
|
1650 |
+
.find("." + unqId)
|
1651 |
+
.find("#eaeulSec")
|
1652 |
+
.find(".flip-clock-before")
|
1653 |
+
.removeClass("flip-clock-before");
|
1654 |
+
// If the count down is finished, write some text
|
1655 |
+
if (distance < 0) {
|
1656 |
+
clearInterval(x);
|
1657 |
+
if (actions.length > 0) {
|
1658 |
+
actions.forEach(function (value) {
|
1659 |
+
if (value === "redirect") {
|
1660 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
1661 |
+
$url1 = $scope
|
1662 |
+
.find(".eae-evergreen-wrapper")
|
1663 |
+
.data("redirected-url");
|
1664 |
+
if ($.trim($url1) !== "") {
|
1665 |
+
window.location.href = $url1;
|
1666 |
+
}
|
1667 |
+
}
|
1668 |
+
}
|
1669 |
+
if (value === "hide") {
|
1670 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
1671 |
+
$scope
|
1672 |
+
.find("." + unqId)
|
1673 |
+
.find(".timer-container")
|
1674 |
+
.css("display", "none");
|
1675 |
+
$scope
|
1676 |
+
.find("." + unqId)
|
1677 |
+
.find(".egt-title")
|
1678 |
+
.css("display", "none");
|
1679 |
+
}
|
1680 |
+
}
|
1681 |
+
if (value === "message") {
|
1682 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
1683 |
+
$scope
|
1684 |
+
.find("." + unqId)
|
1685 |
+
.find(".eae-egt-message")
|
1686 |
+
.css("display", "block");
|
1687 |
+
}
|
1688 |
+
}
|
1689 |
+
if (value === "hide_parent") {
|
1690 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
1691 |
+
$p_secs = $scope.closest("section");
|
1692 |
+
$p_secs.css("display", "none");
|
1693 |
+
}
|
1694 |
+
}
|
1695 |
+
});
|
1696 |
+
}
|
1697 |
+
//document.getElementById("demo").Html = "EXPIRED";
|
1698 |
+
return;
|
1699 |
+
}
|
1700 |
+
if ($.trim(seconds).length === 2) {
|
1701 |
+
//var x = parseInt($.trim(seconds).charAt(1)) - 1;
|
1702 |
+
var a = "#eaeulSec1 li:eq( " + $.trim(seconds).charAt(1) + " )";
|
1703 |
+
var b = "#eaeulSec li:eq( " + $.trim(seconds).charAt(0) + " )";
|
1704 |
+
|
1705 |
+
if (
|
1706 |
+
$scope
|
1707 |
+
.find("." + unqId)
|
1708 |
+
.find(a)
|
1709 |
+
.next().length > 0
|
1710 |
+
) {
|
1711 |
+
$scope
|
1712 |
+
.find("." + unqId)
|
1713 |
+
.find(a)
|
1714 |
+
.addClass("flip-clock-active");
|
1715 |
+
$scope
|
1716 |
+
.find("." + unqId)
|
1717 |
+
.find(a)
|
1718 |
+
.next()
|
1719 |
+
.addClass("flip-clock-before");
|
1720 |
+
} else {
|
1721 |
+
$scope
|
1722 |
+
.find("." + unqId)
|
1723 |
+
.find("#eaeulSec1 li:last-child")
|
1724 |
+
.addClass("flip-clock-active");
|
1725 |
+
$scope
|
1726 |
+
.find("." + unqId)
|
1727 |
+
.find("#eaeulSec1 li:first-child")
|
1728 |
+
.addClass("flip-clock-before");
|
1729 |
+
}
|
1730 |
+
if (
|
1731 |
+
$scope
|
1732 |
+
.find("." + unqId)
|
1733 |
+
.find(b)
|
1734 |
+
.next().length > 0
|
1735 |
+
) {
|
1736 |
+
$scope
|
1737 |
+
.find("." + unqId)
|
1738 |
+
.find(b)
|
1739 |
+
.addClass("flip-clock-active");
|
1740 |
+
$scope
|
1741 |
+
.find("." + unqId)
|
1742 |
+
.find(b)
|
1743 |
+
.next()
|
1744 |
+
.addClass("flip-clock-before");
|
1745 |
+
} else {
|
1746 |
+
$scope
|
1747 |
+
.find("." + unqId)
|
1748 |
+
.find("#eaeulSec li:last-child")
|
1749 |
+
.addClass("flip-clock-active");
|
1750 |
+
$scope
|
1751 |
+
.find("." + unqId)
|
1752 |
+
.find("#eaeulSec li:first-child")
|
1753 |
+
.addClass("flip-clock-before");
|
1754 |
+
}
|
1755 |
+
} else {
|
1756 |
+
//var x = parseInt($.trim(seconds).charAt(1)) - 1;
|
1757 |
+
var a = "#eaeulSec1 li:eq( " + $.trim(seconds).charAt(0) + " )";
|
1758 |
+
var b = "#eaeulSec li:eq( 0 )";
|
1759 |
+
|
1760 |
+
if (
|
1761 |
+
$scope
|
1762 |
+
.find("." + unqId)
|
1763 |
+
.find(a)
|
1764 |
+
.next().length > 0
|
1765 |
+
) {
|
1766 |
+
$scope
|
1767 |
+
.find("." + unqId)
|
1768 |
+
.find(a)
|
1769 |
+
.addClass("flip-clock-active");
|
1770 |
+
$scope
|
1771 |
+
.find("." + unqId)
|
1772 |
+
.find(a)
|
1773 |
+
.next()
|
1774 |
+
.addClass("flip-clock-before");
|
1775 |
+
} else {
|
1776 |
+
$scope
|
1777 |
+
.find("." + unqId)
|
1778 |
+
.find("#eaeulSec1 li:last-child")
|
1779 |
+
.addClass("flip-clock-active");
|
1780 |
+
$scope
|
1781 |
+
.find("." + unqId)
|
1782 |
+
.find("#eaeulSec1 li:first-child")
|
1783 |
+
.addClass("flip-clock-before");
|
1784 |
+
}
|
1785 |
+
|
1786 |
+
if (
|
1787 |
+
$scope
|
1788 |
+
.find("." + unqId)
|
1789 |
+
.find(b)
|
1790 |
+
.next().length > 0
|
1791 |
+
) {
|
1792 |
+
$scope
|
1793 |
+
.find("." + unqId)
|
1794 |
+
.find(b)
|
1795 |
+
.addClass("flip-clock-active");
|
1796 |
+
$scope
|
1797 |
+
.find("." + unqId)
|
1798 |
+
.find(b)
|
1799 |
+
.next()
|
1800 |
+
.addClass("flip-clock-before");
|
1801 |
+
} else {
|
1802 |
+
$scope
|
1803 |
+
.find("." + unqId)
|
1804 |
+
.find("#eaeulSec li:last-child")
|
1805 |
+
.addClass("flip-clock-active");
|
1806 |
+
$scope
|
1807 |
+
.find("." + unqId)
|
1808 |
+
.find("#eaeulSec li:first-child")
|
1809 |
+
.addClass("flip-clock-before");
|
1810 |
+
}
|
1811 |
+
}
|
1812 |
|
1813 |
+
$scope
|
1814 |
+
.find("." + unqId)
|
1815 |
+
.find("#eaeulMin1")
|
1816 |
+
.find(".flip-clock-active")
|
1817 |
+
.removeClass("flip-clock-active");
|
1818 |
+
$scope
|
1819 |
+
.find("." + unqId)
|
1820 |
+
.find("#eaeulMin1")
|
1821 |
+
.find(".flip-clock-before")
|
1822 |
+
.removeClass("flip-clock-before");
|
1823 |
+
$scope
|
1824 |
+
.find("." + unqId)
|
1825 |
+
.find("#eaeulMin")
|
1826 |
+
.find(".flip-clock-active")
|
1827 |
+
.removeClass("flip-clock-active");
|
1828 |
+
$scope
|
1829 |
+
.find("." + unqId)
|
1830 |
+
.find("#eaeulMin")
|
1831 |
+
.find(".flip-clock-before")
|
1832 |
+
.removeClass("flip-clock-before");
|
1833 |
+
|
1834 |
+
if ($.trim(minutes).length == 2) {
|
1835 |
+
//var x = parseInt($.trim(seconds).charAt(1)) - 1;
|
1836 |
+
var a = "#eaeulMin1 li:eq( " + $.trim(minutes).charAt(1) + " )";
|
1837 |
+
var b = "#eaeulMin li:eq( " + $.trim(minutes).charAt(0) + " )";
|
1838 |
+
|
1839 |
+
if (
|
1840 |
+
$scope
|
1841 |
+
.find("." + unqId)
|
1842 |
+
.find(a)
|
1843 |
+
.next().length > 0
|
1844 |
+
) {
|
1845 |
+
$scope
|
1846 |
+
.find("." + unqId)
|
1847 |
+
.find(a)
|
1848 |
+
.addClass("flip-clock-active");
|
1849 |
+
$scope
|
1850 |
+
.find("." + unqId)
|
1851 |
+
.find(a)
|
1852 |
+
.next()
|
1853 |
+
.addClass("flip-clock-before");
|
1854 |
+
} else {
|
1855 |
+
$scope
|
1856 |
+
.find("." + unqId)
|
1857 |
+
.find("#eaeulMin1 li:last-child")
|
1858 |
+
.addClass("flip-clock-active");
|
1859 |
+
$scope
|
1860 |
+
.find("." + unqId)
|
1861 |
+
.find("#eaeulMin1 li:first-child")
|
1862 |
+
.addClass("flip-clock-before");
|
1863 |
+
}
|
1864 |
+
if (
|
1865 |
+
$scope
|
1866 |
+
.find("." + unqId)
|
1867 |
+
.find(b)
|
1868 |
+
.next().length > 0
|
1869 |
+
) {
|
1870 |
+
$scope
|
1871 |
+
.find("." + unqId)
|
1872 |
+
.find(b)
|
1873 |
+
.addClass("flip-clock-active");
|
1874 |
+
$scope
|
1875 |
+
.find("." + unqId)
|
1876 |
+
.find(b)
|
1877 |
+
.next()
|
1878 |
+
.addClass("flip-clock-before");
|
1879 |
+
} else {
|
1880 |
+
$scope
|
1881 |
+
.find("." + unqId)
|
1882 |
+
.find("#eaeulMin li:last-child")
|
1883 |
+
.addClass("flip-clock-active");
|
1884 |
+
$scope
|
1885 |
+
.find("." + unqId)
|
1886 |
+
.find("#eaeulMin li:first-child")
|
1887 |
+
.addClass("flip-clock-before");
|
1888 |
+
}
|
1889 |
+
} else {
|
1890 |
+
//var x = parseInt($.trim(seconds).charAt(1)) - 1;
|
1891 |
+
var a = "#eaeulMin1 li:eq( " + $.trim(minutes).charAt(0) + " )";
|
1892 |
+
var b = "#eaeulMin li:eq( 0 )";
|
1893 |
+
|
1894 |
+
if (
|
1895 |
+
$scope
|
1896 |
+
.find("." + unqId)
|
1897 |
+
.find(a)
|
1898 |
+
.next().length > 0
|
1899 |
+
) {
|
1900 |
+
$scope
|
1901 |
+
.find("." + unqId)
|
1902 |
+
.find(a)
|
1903 |
+
.addClass("flip-clock-active");
|
1904 |
+
$scope
|
1905 |
+
.find("." + unqId)
|
1906 |
+
.find(a)
|
1907 |
+
.next()
|
1908 |
+
.addClass("flip-clock-before");
|
1909 |
+
} else {
|
1910 |
+
$scope
|
1911 |
+
.find("." + unqId)
|
1912 |
+
.find("#eaeulMin1 li:last-child")
|
1913 |
+
.addClass("flip-clock-active");
|
1914 |
+
$scope
|
1915 |
+
.find("." + unqId)
|
1916 |
+
.find("#eaeulMin1 li:first-child")
|
1917 |
+
.addClass("flip-clock-before");
|
1918 |
+
}
|
1919 |
+
|
1920 |
+
if (
|
1921 |
+
$scope
|
1922 |
+
.find("." + unqId)
|
1923 |
+
.find(b)
|
1924 |
+
.next().length > 0
|
1925 |
+
) {
|
1926 |
+
$scope
|
1927 |
+
.find("." + unqId)
|
1928 |
+
.find(b)
|
1929 |
+
.addClass("flip-clock-active");
|
1930 |
+
$scope
|
1931 |
+
.find("." + unqId)
|
1932 |
+
.find(b)
|
1933 |
+
.next()
|
1934 |
+
.addClass("flip-clock-before");
|
1935 |
+
} else {
|
1936 |
+
$scope
|
1937 |
+
.find("." + unqId)
|
1938 |
+
.find("#eaeulMin li:last-child")
|
1939 |
+
.addClass("flip-clock-active");
|
1940 |
+
$scope
|
1941 |
+
.find("." + unqId)
|
1942 |
+
.find("#eaeulMin li:first-child")
|
1943 |
+
.addClass("flip-clock-before");
|
1944 |
+
}
|
1945 |
+
}
|
1946 |
|
1947 |
+
$scope
|
1948 |
+
.find("." + unqId)
|
1949 |
+
.find("#eaeulHour1")
|
1950 |
+
.find(".flip-clock-active")
|
1951 |
+
.removeClass("flip-clock-active");
|
1952 |
+
$scope
|
1953 |
+
.find("." + unqId)
|
1954 |
+
.find("#eaeulHour1")
|
1955 |
+
.find(".flip-clock-before")
|
1956 |
+
.removeClass("flip-clock-before");
|
1957 |
+
$scope
|
1958 |
+
.find("." + unqId)
|
1959 |
+
.find("#eaeulHour")
|
1960 |
+
.find(".flip-clock-active")
|
1961 |
+
.removeClass("flip-clock-active");
|
1962 |
+
$scope
|
1963 |
+
.find("." + unqId)
|
1964 |
+
.find("#eaeulHour")
|
1965 |
+
.find(".flip-clock-before")
|
1966 |
+
.removeClass("flip-clock-before");
|
1967 |
+
|
1968 |
+
if ($.trim(hours).length == 2) {
|
1969 |
+
//var x = parseInt($.trim(seconds).charAt(1)) - 1;
|
1970 |
+
var a = "#eaeulHour1 li:eq( " + $.trim(hours).charAt(1) + " )";
|
1971 |
+
var b = "#eaeulHour li:eq( " + $.trim(hours).charAt(0) + " )";
|
1972 |
+
|
1973 |
+
if (
|
1974 |
+
$scope
|
1975 |
+
.find("." + unqId)
|
1976 |
+
.find(a)
|
1977 |
+
.next().length > 0
|
1978 |
+
) {
|
1979 |
+
$scope
|
1980 |
+
.find("." + unqId)
|
1981 |
+
.find(a)
|
1982 |
+
.addClass("flip-clock-active");
|
1983 |
+
$scope
|
1984 |
+
.find("." + unqId)
|
1985 |
+
.find(a)
|
1986 |
+
.next()
|
1987 |
+
.addClass("flip-clock-before");
|
1988 |
+
} else {
|
1989 |
+
$scope
|
1990 |
+
.find("." + unqId)
|
1991 |
+
.find("#eaeulHour1 li:last-child")
|
1992 |
+
.addClass("flip-clock-active");
|
1993 |
+
$scope
|
1994 |
+
.find("." + unqId)
|
1995 |
+
.find("#eaeulHour1 li:first-child")
|
1996 |
+
.addClass("flip-clock-before");
|
1997 |
+
}
|
1998 |
+
if (
|
1999 |
+
$scope
|
2000 |
+
.find("." + unqId)
|
2001 |
+
.find(b)
|
2002 |
+
.next().length > 0
|
2003 |
+
) {
|
2004 |
+
$scope
|
2005 |
+
.find("." + unqId)
|
2006 |
+
.find(b)
|
2007 |
+
.addClass("flip-clock-active");
|
2008 |
+
$scope
|
2009 |
+
.find("." + unqId)
|
2010 |
+
.find(b)
|
2011 |
+
.next()
|
2012 |
+
.addClass("flip-clock-before");
|
2013 |
+
} else {
|
2014 |
+
$scope
|
2015 |
+
.find("." + unqId)
|
2016 |
+
.find("#eaeulHour li:last-child")
|
2017 |
+
.addClass("flip-clock-active");
|
2018 |
+
$scope
|
2019 |
+
.find("." + unqId)
|
2020 |
+
.find("#eaeulHour li:first-child")
|
2021 |
+
.addClass("flip-clock-before");
|
2022 |
+
}
|
2023 |
+
} else {
|
2024 |
+
//var x = parseInt($.trim(seconds).charAt(1)) - 1;
|
2025 |
+
var a = "#eaeulHour1 li:eq( " + $.trim(hours).charAt(0) + " )";
|
2026 |
+
var b = "#eaeulHour li:eq( 0 )";
|
2027 |
+
|
2028 |
+
if (
|
2029 |
+
$scope
|
2030 |
+
.find("." + unqId)
|
2031 |
+
.find(a)
|
2032 |
+
.next().length > 0
|
2033 |
+
) {
|
2034 |
+
$scope
|
2035 |
+
.find("." + unqId)
|
2036 |
+
.find(a)
|
2037 |
+
.addClass("flip-clock-active");
|
2038 |
+
$scope
|
2039 |
+
.find("." + unqId)
|
2040 |
+
.find(a)
|
2041 |
+
.next()
|
2042 |
+
.addClass("flip-clock-before");
|
2043 |
+
} else {
|
2044 |
+
$scope
|
2045 |
+
.find("." + unqId)
|
2046 |
+
.find("#eaeulHour1 li:last-child")
|
2047 |
+
.addClass("flip-clock-active");
|
2048 |
+
$scope
|
2049 |
+
.find("." + unqId)
|
2050 |
+
.find("#eaeulHour li:first-child")
|
2051 |
+
.addClass("flip-clock-before");
|
2052 |
+
}
|
2053 |
+
|
2054 |
+
if (
|
2055 |
+
$scope
|
2056 |
+
.find("." + unqId)
|
2057 |
+
.find(b)
|
2058 |
+
.next().length > 0
|
2059 |
+
) {
|
2060 |
+
$scope
|
2061 |
+
.find("." + unqId)
|
2062 |
+
.find(b)
|
2063 |
+
.addClass("flip-clock-active");
|
2064 |
+
$scope
|
2065 |
+
.find("." + unqId)
|
2066 |
+
.find(b)
|
2067 |
+
.next()
|
2068 |
+
.addClass("flip-clock-before");
|
2069 |
+
} else {
|
2070 |
+
$scope
|
2071 |
+
.find("." + unqId)
|
2072 |
+
.find("#eaeulHour li:last-child")
|
2073 |
+
.addClass("flip-clock-active");
|
2074 |
+
$scope
|
2075 |
+
.find("." + unqId)
|
2076 |
+
.find("#eaeulHour li:first-child")
|
2077 |
+
.addClass("flip-clock-before");
|
2078 |
+
}
|
2079 |
+
}
|
2080 |
|
2081 |
+
$scope
|
2082 |
+
.find("." + unqId)
|
2083 |
+
.find("#eaeulDay1")
|
2084 |
+
.find(".flip-clock-active")
|
2085 |
+
.removeClass("flip-clock-active");
|
2086 |
+
$scope
|
2087 |
+
.find("." + unqId)
|
2088 |
+
.find("#eaeulDay1")
|
2089 |
+
.find(".flip-clock-before")
|
2090 |
+
.removeClass("flip-clock-before");
|
2091 |
+
$scope
|
2092 |
+
.find("." + unqId)
|
2093 |
+
.find("#eaeulDay")
|
2094 |
+
.find(".flip-clock-active")
|
2095 |
+
.removeClass("flip-clock-active");
|
2096 |
+
$scope
|
2097 |
+
.find("." + unqId)
|
2098 |
+
.find("#eaeulDay")
|
2099 |
+
.find(".flip-clock-before")
|
2100 |
+
.removeClass("flip-clock-before");
|
2101 |
+
|
2102 |
+
if ($.trim(days).length == 2) {
|
2103 |
+
//var x = parseInt($.trim(seconds).charAt(1)) - 1;
|
2104 |
+
var a = "#eaeulDay1 li:eq( " + $.trim(days).charAt(1) + " )";
|
2105 |
+
var b = "#eaeulDay li:eq( " + $.trim(days).charAt(0) + " )";
|
2106 |
+
|
2107 |
+
if (
|
2108 |
+
$scope
|
2109 |
+
.find("." + unqId)
|
2110 |
+
.find(a)
|
2111 |
+
.next().length > 0
|
2112 |
+
) {
|
2113 |
+
$scope
|
2114 |
+
.find("." + unqId)
|
2115 |
+
.find(a)
|
2116 |
+
.addClass("flip-clock-active");
|
2117 |
+
$scope
|
2118 |
+
.find("." + unqId)
|
2119 |
+
.find(a)
|
2120 |
+
.next()
|
2121 |
+
.addClass("flip-clock-before");
|
2122 |
+
} else {
|
2123 |
+
$scope
|
2124 |
+
.find("." + unqId)
|
2125 |
+
.find("#eaeulDay1 li:last-child")
|
2126 |
+
.addClass("flip-clock-active");
|
2127 |
+
$scope
|
2128 |
+
.find("." + unqId)
|
2129 |
+
.find("#eaeulDay1 li:first-child")
|
2130 |
+
.addClass("flip-clock-before");
|
2131 |
+
}
|
2132 |
+
if (
|
2133 |
+
$scope
|
2134 |
+
.find("." + unqId)
|
2135 |
+
.find(b)
|
2136 |
+
.next().length > 0
|
2137 |
+
) {
|
2138 |
+
$scope
|
2139 |
+
.find("." + unqId)
|
2140 |
+
.find(b)
|
2141 |
+
.addClass("flip-clock-active");
|
2142 |
+
$scope
|
2143 |
+
.find("." + unqId)
|
2144 |
+
.find(b)
|
2145 |
+
.next()
|
2146 |
+
.addClass("flip-clock-before");
|
2147 |
+
} else {
|
2148 |
+
$scope
|
2149 |
+
.find("." + unqId)
|
2150 |
+
.find("#eaeulDay li:last-child")
|
2151 |
+
.addClass("flip-clock-active");
|
2152 |
+
$scope
|
2153 |
+
.find("." + unqId)
|
2154 |
+
.find("#eaeulDay li:first-child")
|
2155 |
+
.addClass("flip-clock-before");
|
2156 |
+
}
|
2157 |
+
} else {
|
2158 |
+
//var x = parseInt($.trim(seconds).charAt(1)) - 1;
|
2159 |
+
var a = "#eaeulDay1 li:eq( " + $.trim(days).charAt(0) + " )";
|
2160 |
+
var b = "#eaeulDay li:eq( 0 )";
|
2161 |
+
|
2162 |
+
if (
|
2163 |
+
$scope
|
2164 |
+
.find("." + unqId)
|
2165 |
+
.find(a)
|
2166 |
+
.next().length > 0
|
2167 |
+
) {
|
2168 |
+
$scope
|
2169 |
+
.find("." + unqId)
|
2170 |
+
.find(a)
|
2171 |
+
.addClass("flip-clock-active");
|
2172 |
+
$scope
|
2173 |
+
.find("." + unqId)
|
2174 |
+
.find(a)
|
2175 |
+
.next()
|
2176 |
+
.addClass("flip-clock-before");
|
2177 |
+
} else {
|
2178 |
+
$scope
|
2179 |
+
.find("." + unqId)
|
2180 |
+
.find("#eaeulDay1 li:last-child")
|
2181 |
+
.addClass("flip-clock-active");
|
2182 |
+
$scope
|
2183 |
+
.find("." + unqId)
|
2184 |
+
.find("#eaeulDay li:first-child")
|
2185 |
+
.addClass("flip-clock-before");
|
2186 |
+
}
|
2187 |
+
|
2188 |
+
if (
|
2189 |
+
$scope
|
2190 |
+
.find("." + unqId)
|
2191 |
+
.find(b)
|
2192 |
+
.next().length > 0
|
2193 |
+
) {
|
2194 |
+
$scope
|
2195 |
+
.find("." + unqId)
|
2196 |
+
.find(b)
|
2197 |
+
.addClass("flip-clock-active");
|
2198 |
+
$scope
|
2199 |
+
.find("." + unqId)
|
2200 |
+
.find(b)
|
2201 |
+
.next()
|
2202 |
+
.addClass("flip-clock-before");
|
2203 |
+
} else {
|
2204 |
+
$scope
|
2205 |
+
.find("." + unqId)
|
2206 |
+
.find("#eaeulDay li:last-child")
|
2207 |
+
.addClass("flip-clock-active");
|
2208 |
+
$scope
|
2209 |
+
.find("." + unqId)
|
2210 |
+
.find("#eaeulDay li:first-child")
|
2211 |
+
.addClass("flip-clock-before");
|
2212 |
+
}
|
2213 |
+
}
|
2214 |
+
}, 1000);
|
2215 |
+
};
|
2216 |
|
2217 |
+
var EgTimerSkin3 = function ($scope, $) {
|
2218 |
+
var countDownDate = $scope.find(".eae-evergreen-wrapper").data("egtime");
|
2219 |
+
var cookie_expire = $scope
|
2220 |
+
.find(".eae-evergreen-wrapper")
|
2221 |
+
.data("egt-expire");
|
2222 |
+
var element_type = $scope
|
2223 |
+
.find(".eae-evergreen-wrapper")
|
2224 |
+
.data("element-type");
|
2225 |
+
var element_id =
|
2226 |
+
"eae-" + $scope.find(".eae-evergreen-wrapper").data("id");
|
2227 |
+
var element_cookie_id =
|
2228 |
+
"eae-temp-" + $scope.find(".eae-evergreen-wrapper").data("id");
|
2229 |
+
var actions = $scope.find(".eae-evergreen-wrapper").data("actions");
|
2230 |
+
var dayShow = $scope.find(".eae-evergreen-wrapper").data("days");
|
2231 |
+
var hourShow = $scope.find(".eae-evergreen-wrapper").data("hours");
|
2232 |
+
var minShow = $scope.find(".eae-evergreen-wrapper").data("mins");
|
2233 |
+
var secShow = $scope.find(".eae-evergreen-wrapper").data("seconds");
|
2234 |
+
var unqId = $scope.find(".eae-evergreen-wrapper").data("unqid");
|
2235 |
+
|
2236 |
+
var now = new Date().getTime();
|
2237 |
+
|
2238 |
+
// for front end time get from cookie
|
2239 |
+
|
2240 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
2241 |
+
if (element_type === "countdown") {
|
2242 |
+
date1 = new Date(countDownDate);
|
2243 |
+
countDownDate = date1.getTime();
|
2244 |
+
|
2245 |
+
var expires1 = "expires=" + date1.toUTCString();
|
2246 |
+
document.cookie =
|
2247 |
+
element_cookie_id +
|
2248 |
+
"=" +
|
2249 |
+
date1.getTime() +
|
2250 |
+
";" +
|
2251 |
+
expires1 +
|
2252 |
+
";path=/";
|
2253 |
+
} else {
|
2254 |
+
var first_load_value = eaeGetCookie(element_id);
|
2255 |
+
var date1 = "";
|
2256 |
+
if (first_load_value !== "") {
|
2257 |
+
date1 = new Date(parseInt(first_load_value));
|
2258 |
+
date1.setSeconds(
|
2259 |
+
date1.getSeconds() +
|
2260 |
+
$scope.find(".eae-evergreen-wrapper").data("egtime")
|
2261 |
+
);
|
2262 |
+
countDownDate = date1.getTime();
|
2263 |
+
|
2264 |
+
var d2 = new Date(parseInt(first_load_value));
|
2265 |
+
d2.setTime(d2.getTime() + cookie_expire * 60 * 60 * 1000);
|
2266 |
+
var expires2 = "expires=" + d2.toUTCString();
|
2267 |
+
document.cookie =
|
2268 |
+
element_id + "=" + first_load_value + ";" + expires2 + ";path=/";
|
2269 |
+
|
2270 |
+
var d1 = new Date(parseInt(first_load_value));
|
2271 |
+
d1.setTime(
|
2272 |
+
d1.getTime() +
|
2273 |
+
$scope.find(".eae-evergreen-wrapper").data("egtime") * 1000
|
2274 |
+
);
|
2275 |
+
var expires1 = "expires=" + d1.toUTCString();
|
2276 |
+
|
2277 |
+
//console.log('expire',expires);
|
2278 |
+
if (countDownDate - now > 0) {
|
2279 |
+
document.cookie =
|
2280 |
+
element_cookie_id +
|
2281 |
+
"=" +
|
2282 |
+
first_load_value +
|
2283 |
+
";" +
|
2284 |
+
expires1 +
|
2285 |
+
";path=/";
|
2286 |
+
}
|
2287 |
+
} else {
|
2288 |
+
//console.log('countdown date set cookie',countDownDate);
|
2289 |
+
temp_date = countDownDate;
|
2290 |
+
date1 = new Date();
|
2291 |
+
date1.setSeconds(
|
2292 |
+
date1.getSeconds() +
|
2293 |
+
$scope.find(".eae-evergreen-wrapper").data("egtime")
|
2294 |
+
);
|
2295 |
+
countDownDate = date1.getTime();
|
2296 |
+
//console.log('countdown date set cookie',countDownDate);
|
2297 |
+
eaeSetCookie(element_id, new Date().getTime(), cookie_expire);
|
2298 |
+
//eaeSetCookie(element_cookie_id, new Date().getTime(), countDownDate);
|
2299 |
|
2300 |
+
var d = new Date();
|
2301 |
+
d.setTime(d.getTime() + temp_date * 1000);
|
2302 |
+
var expires = "expires=" + d.toUTCString();
|
2303 |
+
//console.log('expire',expires);
|
2304 |
+
|
2305 |
+
document.cookie =
|
2306 |
+
element_cookie_id +
|
2307 |
+
"=" +
|
2308 |
+
new Date().getTime() +
|
2309 |
+
";" +
|
2310 |
+
expires +
|
2311 |
+
";path=/";
|
2312 |
+
}
|
2313 |
+
}
|
2314 |
+
}
|
2315 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
2316 |
+
var distance = updateTime(countDownDate);
|
2317 |
+
|
2318 |
+
if (parseInt(distance.all) < 1) {
|
2319 |
+
if (actions.length > 0) {
|
2320 |
+
actions.forEach(function (value) {
|
2321 |
+
if (value === "redirect") {
|
2322 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
2323 |
+
$url = $scope
|
2324 |
+
.find(".eae-evergreen-wrapper")
|
2325 |
+
.data("redirected-url");
|
2326 |
+
if ($url !== "") {
|
2327 |
+
window.location.href = $url;
|
2328 |
+
}
|
2329 |
+
}
|
2330 |
+
}
|
2331 |
+
if (value === "hide_parent") {
|
2332 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
2333 |
+
$p_secs = $scope.closest("section");
|
2334 |
+
$p_secs.css("display", "none");
|
2335 |
+
}
|
2336 |
+
}
|
2337 |
+
if (value === "hide") {
|
2338 |
+
$scope.find("#timer").css("display", "none");
|
2339 |
+
$scope.find(".egt-title").css("display", "none");
|
2340 |
+
$scope.find(".desc").css("display", "none");
|
2341 |
+
}
|
2342 |
+
if (value === "message") {
|
2343 |
+
$scope.find(".eae-egt-message").css("display", "block");
|
2344 |
+
}
|
2345 |
+
});
|
2346 |
+
|
2347 |
+
if (actions.length === 1) {
|
2348 |
+
if (actions[0] === "" || actions[0] === "message") {
|
2349 |
+
var clock = $scope.find("." + unqId).find("#timer")[0];
|
2350 |
+
//clock.innerHTML = "<span class='egt-time eae-time-wrapper'>0</span><span class='egt-time eae-time-wrapper'>0</span><span class='egt-time eae-time-wrapper'>0</span><span class='egt-time eae-time-wrapper'>0</span>";
|
2351 |
+
if (dayShow === "yes") {
|
2352 |
+
clock.innerHTML =
|
2353 |
+
"<span class='egt-time eae-time-wrapper'><div>00</div></span>";
|
2354 |
+
}
|
2355 |
+
if (hourShow === "yes") {
|
2356 |
+
if (dayShow === "yes") {
|
2357 |
+
$(clock).append(
|
2358 |
+
"<span class='egt-time eae-time-wrapper'><div>00</div></span>"
|
2359 |
+
);
|
2360 |
+
} else {
|
2361 |
+
clock.innerHTML =
|
2362 |
+
"<span class='egt-time eae-time-wrapper'><div>00</div></span>";
|
2363 |
+
}
|
2364 |
+
}
|
2365 |
+
if (minShow === "yes") {
|
2366 |
+
if (dayShow === "yes" || hourShow === "yes") {
|
2367 |
+
$(clock).append(
|
2368 |
+
"<span class='egt-time eae-time-wrapper'><div>00</div></span>"
|
2369 |
+
);
|
2370 |
+
} else {
|
2371 |
+
clock.innerHTML =
|
2372 |
+
"<span class='egt-time eae-time-wrapper'><div>00</div></span>";
|
2373 |
+
}
|
2374 |
+
}
|
2375 |
+
if (secShow === "yes") {
|
2376 |
+
if (
|
2377 |
+
dayShow === "yes" ||
|
2378 |
+
hourShow === "yes" ||
|
2379 |
+
minShow === "yes"
|
2380 |
+
) {
|
2381 |
+
$(clock).append(
|
2382 |
+
"<span class='egt-time eae-time-wrapper'><div>00</div></span>"
|
2383 |
+
);
|
2384 |
+
} else {
|
2385 |
+
clock.innerHTML =
|
2386 |
+
"<span class='egt-time eae-time-wrapper'><div>00</div></span>";
|
2387 |
+
}
|
2388 |
+
}
|
2389 |
+
}
|
2390 |
+
}
|
2391 |
+
}
|
2392 |
+
|
2393 |
+
// set html for 000000
|
2394 |
+
|
2395 |
+
return;
|
2396 |
+
}
|
2397 |
+
}
|
2398 |
+
|
2399 |
+
if ($scope.hasClass("elementor-element-edit-mode")) {
|
2400 |
+
if (element_type === "countdown") {
|
2401 |
+
date1 = new Date(countDownDate);
|
2402 |
+
countDownDate = date1.getTime();
|
2403 |
+
} else {
|
2404 |
+
date1 = new Date();
|
2405 |
+
date1.setSeconds(
|
2406 |
+
date1.getSeconds() +
|
2407 |
+
$scope.find(".eae-evergreen-wrapper").data("egtime")
|
2408 |
+
);
|
2409 |
+
countDownDate = date1.getTime();
|
2410 |
+
}
|
2411 |
+
}
|
2412 |
|
2413 |
+
/* if (element_type === 'countdown') {
|
2414 |
date1 = new Date(countDownDate);
|
2415 |
countDownDate = date1.getTime();
|
2416 |
}
|
2430 |
}
|
2431 |
}*/
|
2432 |
|
2433 |
+
var timer = updateTime(countDownDate);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2434 |
|
2435 |
+
if (timer.all > 1) {
|
2436 |
+
startTimer("timer", countDownDate);
|
2437 |
+
}
|
|
|
|
|
|
|
|
|
|
|
2438 |
|
2439 |
+
function updateTime(endDate) {
|
2440 |
+
var time = countDownDate - new Date();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2441 |
|
2442 |
+
return {
|
2443 |
+
days: Math.floor(time / (1000 * 60 * 60 * 24)),
|
2444 |
+
hours: "0" + Math.floor((time / (1000 * 60 * 60)) % 24),
|
2445 |
+
minutes: "0" + Math.floor((time / (1000 * 60)) % 60),
|
2446 |
+
seconds: "0" + Math.floor((time / 1000) % 60),
|
2447 |
+
all: time,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2448 |
};
|
2449 |
+
}
|
2450 |
+
|
2451 |
+
function animate(span) {
|
2452 |
+
span.classList.add("fade");
|
2453 |
+
setTimeout(function () {
|
2454 |
+
span.classList.remove("fade");
|
2455 |
+
}, 700);
|
2456 |
+
}
|
2457 |
+
|
2458 |
+
function startTimer(clockID, endDate) {
|
2459 |
+
var timeInt = setInterval(function () {
|
2460 |
+
//var clock = document.getElementById(clockID);
|
2461 |
+
var clock = $scope.find("." + unqId).find("#timer")[0];
|
2462 |
+
var timer = updateTime(countDownDate);
|
2463 |
+
|
2464 |
+
//clock.innerHTML = "<span class='egt-time eae-time-wrapper'><div>"+timer.days+"</div></span><span class='egt-time eae-time-wrapper'><div>"+timer.hours+" </div></span><span class='egt-time eae-time-wrapper'><div>"+timer.minutes+"</div></span><span class='egt-time eae-time-wrapper'><div>"+timer.seconds+"</div></span>";
|
2465 |
+
if (dayShow === "yes") {
|
2466 |
+
if (timer.days < 10) {
|
2467 |
+
timer.days = "0" + timer.days;
|
2468 |
+
}
|
2469 |
+
clock.innerHTML =
|
2470 |
+
"<span class='egt-time eae-time-wrapper'><div>" +
|
2471 |
+
timer.days +
|
2472 |
+
"</div></span>";
|
2473 |
+
}
|
2474 |
+
if (hourShow === "yes") {
|
2475 |
+
if (dayShow === "yes") {
|
2476 |
+
$(clock).append(
|
2477 |
+
"<span class='egt-time eae-time-wrapper'><div>" +
|
2478 |
+
timer.hours.slice(-2) +
|
2479 |
+
"</div></span>"
|
2480 |
+
);
|
2481 |
+
} else {
|
2482 |
+
clock.innerHTML =
|
2483 |
+
"<span class='egt-time eae-time-wrapper'><div>" +
|
2484 |
+
timer.hours.slice(-2) +
|
2485 |
+
"</div></span>";
|
2486 |
+
}
|
2487 |
+
}
|
2488 |
+
if (minShow === "yes") {
|
2489 |
+
if (dayShow === "yes" || hourShow === "yes") {
|
2490 |
+
$(clock).append(
|
2491 |
+
"<span class='egt-time eae-time-wrapper'><div>" +
|
2492 |
+
timer.minutes.slice(-2) +
|
2493 |
+
"</div></span>"
|
2494 |
+
);
|
2495 |
+
} else {
|
2496 |
+
clock.innerHTML =
|
2497 |
+
"<span class='egt-time eae-time-wrapper'><div>" +
|
2498 |
+
timer.minutes.slice(-2) +
|
2499 |
+
"</div></span>";
|
2500 |
+
}
|
2501 |
+
}
|
2502 |
+
if (secShow === "yes") {
|
2503 |
+
if (dayShow === "yes" || hourShow === "yes" || minShow === "yes") {
|
2504 |
+
$(clock).append(
|
2505 |
+
"<span class='egt-time eae-time-wrapper'><div>" +
|
2506 |
+
timer.seconds.slice(-2) +
|
2507 |
+
"</div></span>"
|
2508 |
+
);
|
2509 |
+
} else {
|
2510 |
+
clock.innerHTML =
|
2511 |
+
"<span class='egt-time eae-time-wrapper'><div>" +
|
2512 |
+
timer.seconds.slice(-2) +
|
2513 |
+
"</div></span>";
|
2514 |
+
}
|
2515 |
+
}
|
2516 |
+
//console.log('d',dayShow,'h',hourShow,'m',minShow,'s',secShow);
|
2517 |
+
// animate
|
2518 |
+
var spans = clock.getElementsByTagName("span");
|
2519 |
+
if (dayShow === "yes") {
|
2520 |
+
if (timer.hours == 59 && timer.minutes == 59 && timer.seconds == 59)
|
2521 |
+
animate(spans[0]);
|
2522 |
+
}
|
2523 |
+
|
2524 |
+
if (hourShow === "yes") {
|
2525 |
+
if (dayShow === "yes") {
|
2526 |
+
if (timer.minutes == 59 && timer.seconds == 59) animate(spans[1]);
|
2527 |
+
} else {
|
2528 |
+
if (timer.minutes == 59 && timer.seconds == 59) animate(spans[0]);
|
2529 |
}
|
2530 |
+
}
|
2531 |
|
2532 |
+
if (minShow === "yes") {
|
2533 |
+
if (dayShow === "yes") {
|
2534 |
+
if (hourShow === "yes") {
|
2535 |
+
if (timer.seconds == 59) animate(spans[2]);
|
2536 |
+
} else {
|
2537 |
+
if (timer.seconds == 59) animate(spans[1]);
|
2538 |
+
}
|
2539 |
+
} else {
|
2540 |
+
if (hourShow === "yes") {
|
2541 |
+
if (timer.seconds == 59) animate(spans[1]);
|
2542 |
+
} else {
|
2543 |
+
if (timer.seconds == 59) animate(spans[0]);
|
2544 |
+
}
|
2545 |
+
}
|
2546 |
+
}
|
2547 |
+
if (secShow === "yes") {
|
2548 |
+
if (dayShow === "yes") {
|
2549 |
+
if (hourShow === "yes") {
|
2550 |
+
if (minShow === "yes") {
|
2551 |
+
animate(spans[3]);
|
2552 |
+
}
|
2553 |
+
} else {
|
2554 |
+
if (minShow === "yes") {
|
2555 |
+
animate(spans[2]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2556 |
} else {
|
2557 |
+
animate(spans[1]);
|
|
|
2558 |
}
|
2559 |
+
}
|
2560 |
+
} else {
|
2561 |
+
if (hourShow === "yes") {
|
2562 |
+
if (minShow === "yes") {
|
2563 |
+
animate(spans[2]);
|
2564 |
}
|
2565 |
+
} else {
|
2566 |
+
if (minShow === "yes") {
|
2567 |
+
animate(spans[1]);
|
2568 |
+
} else {
|
2569 |
+
animate(spans[0]);
|
2570 |
+
}
|
2571 |
+
}
|
2572 |
+
}
|
2573 |
+
}
|
2574 |
+
|
2575 |
+
if (timer.all <= 1) {
|
2576 |
+
clearInterval(timeInt);
|
2577 |
+
//clock.innerHTML = "<span class='egt-time eae-time-wrapper'>0</span><span class='egt-time eae-time-wrapper'>0</span><span class='egt-time eae-time-wrapper'>0</span><span class='egt-time eae-time-wrapper'>0</span>";
|
2578 |
+
if (dayShow === "yes") {
|
2579 |
+
clock.innerHTML =
|
2580 |
+
"<span class='egt-time eae-time-wrapper'><div>00</div></span>";
|
2581 |
+
}
|
2582 |
+
if (hourShow === "yes") {
|
2583 |
+
if (dayShow === "yes") {
|
2584 |
+
$(clock).append(
|
2585 |
+
"<span class='egt-time eae-time-wrapper'><div>00</div></span>"
|
2586 |
+
);
|
2587 |
+
} else {
|
2588 |
+
clock.innerHTML =
|
2589 |
+
"<span class='egt-time eae-time-wrapper'><div>00</div></span>";
|
2590 |
+
}
|
2591 |
+
}
|
2592 |
+
if (minShow === "yes") {
|
2593 |
+
if (dayShow === "yes" || hourShow === "yes") {
|
2594 |
+
$(clock).append(
|
2595 |
+
"<span class='egt-time eae-time-wrapper'><div>00</div></span>"
|
2596 |
+
);
|
2597 |
+
} else {
|
2598 |
+
clock.innerHTML =
|
2599 |
+
"<span class='egt-time eae-time-wrapper'><div>00</div></span>";
|
2600 |
+
}
|
2601 |
+
}
|
2602 |
+
if (secShow === "yes") {
|
2603 |
+
if (
|
2604 |
+
dayShow === "yes" ||
|
2605 |
+
hourShow === "yes" ||
|
2606 |
+
minShow === "yes"
|
2607 |
+
) {
|
2608 |
+
$(clock).append(
|
2609 |
+
"<span class='egt-time eae-time-wrapper'><div>00</div></span>"
|
2610 |
+
);
|
2611 |
+
} else {
|
2612 |
+
clock.innerHTML =
|
2613 |
+
"<span class='egt-time eae-time-wrapper'><div>00</div></span>";
|
2614 |
+
}
|
2615 |
+
}
|
2616 |
+
|
2617 |
+
if (!$scope.hasClass("elementor-element-edit-mode")) {
|
2618 |
+
if (actions.length > 0) {
|
2619 |
+
actions.forEach(function (value) {
|
2620 |
+
if (value === "redirect") {
|
2621 |
+
$url1 = $scope
|
2622 |
+
.find(".eae-evergreen-wrapper")
|
2623 |
+
.data("redirected-url");
|
2624 |
+
if ($url1 !== "") {
|
2625 |
+
window.location.href = $url1;
|
2626 |
+
}
|
2627 |
+
}
|
2628 |
+
if (value === "hide") {
|
2629 |
+
$scope.find("#timer").css("display", "none");
|
2630 |
+
$scope.find(".egt-title").css("display", "none");
|
2631 |
+
$scope.find(".desc").css("display", "none");
|
2632 |
+
}
|
2633 |
+
if (value === "message") {
|
2634 |
+
$scope.find(".eae-egt-message").css("display", "block");
|
2635 |
+
}
|
2636 |
+
if (value === "hide_parent") {
|
2637 |
+
$p_secs = $scope.closest("section");
|
2638 |
+
$p_secs.css("display", "none");
|
2639 |
+
}
|
2640 |
+
});
|
2641 |
+
}
|
2642 |
+
}
|
2643 |
+
}
|
2644 |
+
}, 1000);
|
2645 |
+
}
|
2646 |
+
};
|
2647 |
|
2648 |
+
var EgTimerSkin4 = function ($scope, $) {
|
2649 |
+
var countDownDate = $scope.find(".eae-evergreen-wrapper").data("egtime");
|
2650 |
+
var cookie_expire = $scope
|
2651 |
+
.find(".eae-evergreen-wrapper")
|
2652 |
+
.data("egt-expire");
|
2653 |
+
var element_type = $scope
|
2654 |
+
.find(".eae-evergreen-wrapper")
|
2655 |
+
.data("element-type");
|
2656 |
+
var element_id =
|
2657 |
+
"eae-" + $scope.find(".eae-evergreen-wrapper").data("id");
|
2658 |
+
var actions = $scope.find(".eae-evergreen-wrapper").data("actions");
|
2659 |
+
var dayShow = $scope.find(".eae-evergreen-wrapper").data("days");
|
2660 |
+
var hourShow = $scope.find(".eae-evergreen-wrapper").data("hours");
|
2661 |
+
var minShow = $scope.find(".eae-evergreen-wrapper").data("mins");
|
2662 |
+
var secShow = $scope.find(".eae-evergreen-wrapper").data("seconds");
|
2663 |
+
|
2664 |
+
if (element_type === "countdown") {
|
2665 |
+
date1 = new Date(countDownDate);
|
2666 |
+
countDownDate = date1.getTime();
|
2667 |
+
countDownDate = Math.floor((countDownDate - new Date()) / 1000);
|
2668 |
+
} else {
|
2669 |
+
var first_load_value = eaeGetCookie(element_id);
|
2670 |
+
var date1 = "";
|
2671 |
+
var cur_date = "";
|
2672 |
+
if (first_load_value !== "") {
|
2673 |
+
date1 = new Date(parseInt(first_load_value));
|
2674 |
+
cur_date = new Date().getTime();
|
2675 |
+
date1 = cur_date - first_load_value;
|
2676 |
+
date1 = date1 / 1000;
|
2677 |
+
countDownDate = countDownDate - date1;
|
2678 |
+
} else {
|
2679 |
+
//date1 = new Date();
|
2680 |
+
//date1.setSeconds(date1.getSeconds() + countDownDate);
|
2681 |
+
//console.log('date1 else',date1);
|
2682 |
+
//countDownDate = countDownDate;
|
2683 |
+
eaeSetCookie(element_id, new Date().getTime(), cookie_expire);
|
2684 |
+
}
|
2685 |
+
}
|
2686 |
+
|
2687 |
+
C3Counter("counter", { startTime: countDownDate });
|
2688 |
+
|
2689 |
+
function C3Counter(id, opt) {
|
2690 |
+
this.options = {
|
2691 |
+
stepTime: 60, // not used
|
2692 |
+
format: "dd:hh:mm:ss", // not used
|
2693 |
+
startTime: "00:00:00:00",
|
2694 |
+
digitImages: 1,
|
2695 |
+
digitWidth: 30,
|
2696 |
+
digitHeight: 44,
|
2697 |
+
digitSlide: true,
|
2698 |
+
digitSlideTime: 200,
|
2699 |
+
digitImageHeight: 484,
|
2700 |
+
digitAnimationHeight: 44,
|
2701 |
+
timerEnd: function () {},
|
2702 |
+
image: "digits.png",
|
2703 |
+
updateInterval: 1000,
|
2704 |
+
};
|
2705 |
+
var s;
|
2706 |
+
if (typeof opt != "undefined") {
|
2707 |
+
for (s in this.options) {
|
2708 |
+
if (typeof opt[s] != "undefined") {
|
2709 |
+
this.options[s] = opt[s];
|
2710 |
+
}
|
2711 |
+
}
|
2712 |
+
}
|
2713 |
+
if (String(options.startTime).indexOf(":") == -1) {
|
2714 |
+
options.tempStartTime = options.startTime;
|
2715 |
+
} else {
|
2716 |
+
//TODO - does not convert time with : to seconds to count
|
2717 |
+
var td = new Date(options.startTime);
|
2718 |
+
}
|
2719 |
|
2720 |
+
this.pad2 = function (number) {
|
2721 |
+
return (number < 10 ? "0" : "") + number;
|
2722 |
+
};
|
2723 |
+
|
2724 |
+
var timer = setInterval("this.updateCounter()", options.updateInterval);
|
2725 |
+
var startTime = new Date().getTime();
|
2726 |
+
var secNo = 0;
|
2727 |
+
var timerSingle = new Array();
|
2728 |
+
var dc = 0;
|
2729 |
+
var digits = new Array();
|
2730 |
+
var d = new Date();
|
2731 |
+
var lastTime = d.getTime();
|
2732 |
+
|
2733 |
+
this.calculateTime = function () {
|
2734 |
+
var tempTime = options.tempStartTime;
|
2735 |
+
|
2736 |
+
if (String(options.tempStartTime).indexOf(":") == -1) {
|
2737 |
+
var seconds = Math.round(options.tempStartTime % 60);
|
2738 |
+
options.tempStartTime = Math.floor(options.tempStartTime / 60);
|
2739 |
+
var minutes = Math.round(options.tempStartTime % 60);
|
2740 |
+
options.tempStartTime = Math.floor(options.tempStartTime / 60);
|
2741 |
+
var hours = Math.round(options.tempStartTime % 24);
|
2742 |
+
options.tempStartTime = Math.floor(options.tempStartTime / 24);
|
2743 |
+
var days = Math.round(options.tempStartTime);
|
2744 |
+
options.timeStr =
|
2745 |
+
this.pad2(days) +
|
2746 |
+
this.pad2(hours) +
|
2747 |
+
this.pad2(minutes) +
|
2748 |
+
this.pad2(seconds);
|
2749 |
+
}
|
2750 |
+
|
2751 |
+
var currTime = new Date().getTime();
|
2752 |
+
var diff = currTime - startTime;
|
2753 |
+
if (seconds < 0 || minutes < 0 || hours < 0 || days < 0) {
|
2754 |
+
options.timeStr =
|
2755 |
+
this.pad2(0) + this.pad2(0) + this.pad2(0) + this.pad2(0);
|
2756 |
+
}
|
2757 |
+
options.tempStartTime = options.startTime - Math.round(diff / 1000);
|
2758 |
+
};
|
2759 |
+
this.calculateTime();
|
2760 |
|
2761 |
+
for (dc = 0; dc < 8; dc++) {
|
2762 |
+
digits[dc] = { digit: this.options.timeStr.charAt(dc) };
|
2763 |
+
/*if(dayShow !== 'yes'){
|
2764 |
console.log('day no show',dc);
|
2765 |
//dc = 3;
|
2766 |
return true;
|
2767 |
}
|
2768 |
console.log('if out',dc);*/
|
2769 |
+
$("#" + id).append(
|
2770 |
+
"<div id='digit" +
|
2771 |
+
dc +
|
2772 |
+
"' style='position:relative;float:left;width:" +
|
2773 |
+
this.options.digitWidth +
|
2774 |
+
"px;height:" +
|
2775 |
+
this.options.digitHeight +
|
2776 |
+
"px;overflow:hidden;'><div class='digit' id='digit-bg" +
|
2777 |
+
dc +
|
2778 |
+
"' style='position:absolute; top:-" +
|
2779 |
+
digits[dc].digit * this.options.digitAnimationHeight +
|
2780 |
+
"px; width:" +
|
2781 |
+
this.options.digitWidth +
|
2782 |
+
"px; height:" +
|
2783 |
+
this.options.digitImageHeight +
|
2784 |
+
"px; '></div></div>"
|
2785 |
+
);
|
2786 |
+
|
2787 |
+
if (dc % 2 == 1 && dc < 6) {
|
2788 |
+
$("#" + id).append(
|
2789 |
+
"<div class='digit-separator' style='float:left;'></div>"
|
2790 |
+
);
|
2791 |
+
}
|
2792 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2793 |
|
2794 |
+
$("#" + id).append("<div style='clear:both'></div>");
|
2795 |
+
|
2796 |
+
this.animateDigits = function () {
|
2797 |
+
for (var dc = 0; dc < 8; dc++) {
|
2798 |
+
digits[dc].digitNext = Number(this.options.timeStr.charAt(dc));
|
2799 |
+
digits[dc].digitNext = (digits[dc].digitNext + 10) % 10;
|
2800 |
+
var no = dc;
|
2801 |
+
|
2802 |
+
if (digits[no].digit == 0)
|
2803 |
+
$("#digit-bg" + no).css(
|
2804 |
+
"top",
|
2805 |
+
-this.options.digitImageHeight + this.options.digitHeight + "px"
|
2806 |
+
);
|
2807 |
+
if (digits[no].digit != digits[no].digitNext) {
|
2808 |
+
$("#digit-bg" + no).animate(
|
2809 |
+
{ top: -digits[no].digitNext * options.digitHeight + "px" },
|
2810 |
+
options.digitSlideTime
|
2811 |
+
);
|
2812 |
+
digits[no].digit = digits[no].digitNext;
|
2813 |
+
}
|
2814 |
+
}
|
2815 |
+
|
2816 |
+
var end = this.checkEnd();
|
2817 |
};
|
2818 |
|
2819 |
+
this.checkEnd = function () {
|
2820 |
+
for (var i = 0; i < digits.length; i++) {
|
2821 |
+
if (digits[i].digit != 0) {
|
2822 |
+
return false;
|
2823 |
+
}
|
2824 |
+
}
|
2825 |
+
clearInterval(timer);
|
2826 |
+
if (typeof actions !== "undefined") {
|
2827 |
+
actions.forEach(function (value) {
|
2828 |
+
if (value.type === "redirect") {
|
2829 |
+
if (value.redirect_url !== "") {
|
2830 |
+
window.location.href = value.redirect_url;
|
2831 |
+
}
|
2832 |
+
}
|
2833 |
+
if (value.type === "hide") {
|
2834 |
+
$scope.find(".eae-evergreen-wrapper").css("display", "none");
|
2835 |
+
}
|
2836 |
+
if (value.type === "message") {
|
2837 |
+
$scope.find(".eae-egt-message").css("display", "block");
|
2838 |
+
}
|
2839 |
});
|
2840 |
+
}
|
2841 |
+
this.options.timerEnd();
|
2842 |
+
return true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2843 |
};
|
2844 |
|
2845 |
+
this.updateCounter = function () {
|
2846 |
+
d = new Date();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2847 |
|
2848 |
+
if (d.getTime() - lastTime < options.updateInterval - 50) {
|
2849 |
+
return;
|
2850 |
+
}
|
2851 |
+
lastTime = d.getTime();
|
2852 |
+
this.calculateTime();
|
2853 |
+
this.animateDigits();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2854 |
};
|
2855 |
+
}
|
2856 |
+
};
|
2857 |
|
2858 |
+
var CompareTable = function ($scope, $) {
|
2859 |
+
$($scope.find(".eae-ct-heading")[0]).addClass("active");
|
2860 |
+
$scope.find("ul").on("click", "li", function () {
|
2861 |
+
var pos = $(this).index() + 2;
|
2862 |
+
$scope.find("tr").find("td:not(:eq(0))").hide();
|
2863 |
+
$scope.find("td:nth-child(" + pos + ")").css("display", "table-cell");
|
2864 |
+
$scope.find("tr").find("th:not(:eq(0))").hide();
|
2865 |
+
$scope.find("li").removeClass("active");
|
2866 |
+
$(this).addClass("active");
|
2867 |
+
});
|
2868 |
+
|
2869 |
+
// Initialize the media query
|
2870 |
+
// if($($scope.hasClass('eae-tab-format-mobile')) || $($scope.hasClass('eae-tab-format-tab-mob')) || $($scope.hasClass('eae-tab-format-all')) ){
|
2871 |
+
// //console.log($(window).width());
|
2872 |
+
// var feature_box_header = false;
|
2873 |
+
// var feature_box_header_val= null;
|
2874 |
+
// //console.log($scope.find("tbody .eae-ct-header .eae-fbox-heading"));
|
2875 |
+
// if($scope.find("tbody .eae-ct-header .eae-fbox-heading").length > 0){
|
2876 |
+
// feature_box_header = true;
|
2877 |
+
// feature_box_header_val = $scope.find("tbody .eae-ct-header .eae-fbox-heading").text();
|
2878 |
+
// }
|
2879 |
+
//
|
2880 |
+
// if($scope.hasClass('eae-tab-format-all') && feature_box_header){
|
2881 |
+
// var p_row = $scope.find("tbody tr:eq(1)");
|
2882 |
+
// p_row.prepend('<td class="eae-fbox-heading">' +feature_box_header_val +'</td>');
|
2883 |
+
// }
|
2884 |
+
//
|
2885 |
+
// if($(window).width() >= '767' && $(window).width() <= '1023'){
|
2886 |
+
// // if(feature_box_header){
|
2887 |
+
// // $scope.find("tbody .eae-ct-header .eae-fbox-heading").css('display' , 'none !important');
|
2888 |
+
// // }
|
2889 |
+
// if($scope.hasClass('eae-tab-format-tab-mob') && feature_box_header){
|
2890 |
+
// var p_row = $scope.find("tbody tr:eq(1)");
|
2891 |
+
// p_row.prepend('<td class="eae-fbox-heading">' +feature_box_header_val +'</td>');
|
2892 |
+
// }
|
2893 |
+
// }
|
2894 |
+
// if($(window).width() <= '767'){
|
2895 |
+
// // if(feature_box_header){
|
2896 |
+
// // $scope.find("tbody .eae-ct-header .eae-fbox-heading").css('display' , 'none !important');
|
2897 |
+
// // }
|
2898 |
+
// if($scope.hasClass('eae-tab-format-mobile') && feature_box_header){
|
2899 |
+
// var p_row = $scope.find("tbody tr:eq(1)");
|
2900 |
+
// p_row.prepend('<td class="eae-fbox-heading">' +feature_box_header_val +'</td>');
|
2901 |
+
// }
|
2902 |
+
// }
|
2903 |
+
//
|
2904 |
+
// }
|
2905 |
+
var mediaQuery = window.matchMedia("(min-width: 767px)");
|
2906 |
+
|
2907 |
+
// Add a listen event
|
2908 |
+
mediaQuery.addListener(doSomething);
|
2909 |
+
|
2910 |
+
// Function to do something with the media query
|
2911 |
+
function doSomething(mediaQuery) {
|
2912 |
+
if (mediaQuery.matches) {
|
2913 |
+
$scope.find(".sep").attr("colspan", 5);
|
2914 |
+
} else {
|
2915 |
+
$scope.find(".sep").attr("colspan", 2);
|
2916 |
}
|
2917 |
+
}
|
2918 |
|
2919 |
+
// On load
|
2920 |
+
doSomething(mediaQuery);
|
2921 |
+
};
|
2922 |
|
2923 |
+
var ProgressBar = function ($scope, $) {
|
2924 |
+
$is_rtl = jQuery("body").hasClass("rtl");
|
2925 |
+
$wrapper = $scope.find(".eae-progress-bar");
|
2926 |
+
var skill = $wrapper.attr("data-skill");
|
2927 |
+
var skill_value = $wrapper.attr("data-value");
|
2928 |
+
var skin = $wrapper.attr("data-skin");
|
2929 |
+
var skillELem = $wrapper.find(".eae-pb-bar-skill");
|
2930 |
+
var valueELem = $wrapper.find(".eae-pb-bar-value");
|
2931 |
+
var prgBar = $wrapper.find(".eae-pb-bar");
|
2932 |
+
var prgInner = $wrapper.find(".eae-pb-bar-inner");
|
2933 |
+
|
2934 |
+
if (skin === "skin1") {
|
2935 |
+
$(prgInner).attr("style", "width : " + skill_value + "%");
|
2936 |
+
}
|
2937 |
+
if (skin === "skin2") {
|
2938 |
+
$(prgInner).attr("style", "width : " + skill_value + "%");
|
2939 |
+
}
|
2940 |
+
if (skin === "skin3") {
|
2941 |
+
$(valueELem).addClass("eae-pb-bar-value--aligned-value");
|
2942 |
+
if ($is_rtl) {
|
2943 |
+
$(valueELem).attr("style", "right :" + skill_value + "%");
|
2944 |
+
} else {
|
2945 |
+
$(valueELem).attr("style", "left :" + skill_value + "%");
|
|
|
|
|
|
|
2946 |
}
|
2947 |
|
2948 |
+
$(prgInner).attr("style", "width :" + skill_value + "%");
|
2949 |
+
}
|
2950 |
+
if (skin === "skin4") {
|
2951 |
+
$(valueELem).addClass("eae-pb-bar-value--aligned-value");
|
2952 |
+
if ($is_rtl) {
|
2953 |
+
$(valueELem).attr("style", "right :" + skill_value + "%");
|
2954 |
+
} else {
|
2955 |
+
$(valueELem).attr("style", "left :" + skill_value + "%");
|
2956 |
+
}
|
2957 |
+
$(prgInner).attr("style", "width :" + skill_value + "%");
|
2958 |
+
$(prgBar).addClass("eae-pb-bar--no-overflow");
|
2959 |
+
}
|
2960 |
+
if (skin === "skin5") {
|
2961 |
+
$(valueELem).addClass("eae-pb-bar-value--aligned-value");
|
2962 |
+
if ($is_rtl) {
|
2963 |
+
$(valueELem).attr("style", "right :" + skill_value + "%");
|
2964 |
+
} else {
|
2965 |
+
$(valueELem).attr("style", "left :" + skill_value + "%");
|
2966 |
+
}
|
2967 |
+
$(prgInner).attr("style", "width :" + skill_value + "%");
|
2968 |
+
}
|
2969 |
+
|
2970 |
+
$wrapper.each(function (index, value) {
|
2971 |
+
var waypoint = new Waypoint({
|
2972 |
+
element: value,
|
2973 |
+
skill_value: $(value).find(".eae-pb-bar-skill"),
|
2974 |
+
valueElem: $(value).find(".eae-pb-bar-value"),
|
2975 |
+
prgBar: $(value).find(".eae-pb-bar-bar"),
|
2976 |
+
prgInner: $(value).find(".eae-pb-bar-inner"),
|
2977 |
+
handler: function (direction) {
|
2978 |
+
if (direction == "down") {
|
2979 |
+
if (!$(valueELem).hasClass("js-animated")) {
|
2980 |
+
$(valueELem).addClass("js-animated");
|
2981 |
+
}
|
2982 |
+
if (!$(prgInner).hasClass("js-animated")) {
|
2983 |
+
$(prgInner).addClass("js-animated");
|
2984 |
+
}
|
2985 |
+
if (!$(skillELem).hasClass("js-animated")) {
|
2986 |
+
$(skillELem).addClass("js-animated");
|
2987 |
+
}
|
2988 |
+
}
|
2989 |
+
},
|
2990 |
+
offset: "bottom-in-view",
|
2991 |
+
});
|
2992 |
+
});
|
2993 |
+
};
|
2994 |
|
2995 |
+
var contentSwitcherButton = function ($scope, $) {
|
2996 |
+
var $wrapper = $scope.find(".eae-content-switcher-wrapper");
|
2997 |
+
var wid = $scope.data("id");
|
2998 |
+
var buttons = $wrapper.find(".eae-content-switch-button");
|
2999 |
+
// var content_section = $wrapper.fin
|
3000 |
+
buttons.each(function (index, button) {
|
3001 |
+
$(this).on("click", function (e) {
|
3002 |
+
e.preventDefault();
|
3003 |
+
let label = $(this).find(".eae-content-switch-label");
|
3004 |
+
if ($(this).hasClass("active")) {
|
3005 |
+
return;
|
3006 |
+
} else {
|
3007 |
+
$(buttons).removeClass("active");
|
3008 |
+
let label_id = $(label).attr("id");
|
3009 |
+
$(this).addClass("active");
|
3010 |
+
var content_sections = $($wrapper).find(".eae-cs-content-section");
|
3011 |
+
$(content_sections).removeClass("active");
|
3012 |
+
let current_content_section = $($wrapper).find(
|
3013 |
+
".eae-content-section-" + label_id
|
3014 |
+
);
|
3015 |
+
$(current_content_section).addClass("active");
|
3016 |
+
}
|
3017 |
+
});
|
3018 |
+
});
|
3019 |
+
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3020 |
|
3021 |
+
var contentSwitcherRadio = function ($scope, $) {
|
3022 |
+
let wrapper = $scope.find(".eae-content-switcher-wrapper");
|
3023 |
+
let wid = $scope.data("id");
|
3024 |
+
let toggle_switch = wrapper.find(".eae-cs-switch-label");
|
3025 |
+
let primary_label = wrapper.find(
|
3026 |
+
".eae-content-switch-label.primary-label"
|
3027 |
+
);
|
3028 |
+
const primary_id = $(primary_label).attr("item_id");
|
3029 |
+
let secondary_label = wrapper.find(
|
3030 |
+
".eae-content-switch-label.secondary-label"
|
3031 |
+
);
|
3032 |
+
const secondary_id = $(secondary_label).attr("item_id");
|
3033 |
+
let primary_content_section = wrapper.find(
|
3034 |
+
".eae-cs-content-section.eae-content-section-" + primary_id
|
3035 |
+
);
|
3036 |
+
let secondary_content_section = wrapper.find(
|
3037 |
+
".eae-cs-content-section.eae-content-section-" + secondary_id
|
3038 |
+
);
|
3039 |
+
|
3040 |
+
$(toggle_switch).on("click", function (e) {
|
3041 |
+
var checkbox = $(this).find("input.eae-content-toggle-switch");
|
3042 |
+
if (checkbox.is(":checked")) {
|
3043 |
+
secondary_label.addClass("active");
|
3044 |
+
secondary_content_section.addClass("active");
|
3045 |
+
primary_label.removeClass("active");
|
3046 |
+
primary_content_section.removeClass("active");
|
3047 |
+
} else {
|
3048 |
+
primary_label.addClass("active");
|
3049 |
+
primary_content_section.addClass("active");
|
3050 |
+
secondary_label.removeClass("active");
|
3051 |
+
secondary_content_section.removeClass("active");
|
3052 |
+
}
|
3053 |
+
});
|
3054 |
+
};
|
3055 |
|
3056 |
+
var FilterableGallery = function ($scope, $) {
|
3057 |
+
var $wrapper = $scope.find(".eae-fg-wrapper");
|
3058 |
+
var wid = $scope.data("id");
|
3059 |
+
var maxtilt = $wrapper.attr("data-maxtilt");
|
3060 |
+
var perspective = $wrapper.attr("data-perspective");
|
3061 |
+
var speed = $wrapper.attr("data-speed");
|
3062 |
+
var axis = $wrapper.attr("data-tilt-axis");
|
3063 |
+
var glare = $wrapper.attr("data-glare");
|
3064 |
+
var overlay_speed = parseInt($wrapper.attr("data-overlay-speed"));
|
3065 |
+
|
3066 |
+
if (axis === "x") {
|
3067 |
+
axis = "y";
|
3068 |
+
} else if (axis === "y") {
|
3069 |
+
axis = "x";
|
3070 |
+
} else {
|
3071 |
+
axis = "both";
|
3072 |
+
}
|
3073 |
+
|
3074 |
+
if (glare === "yes") {
|
3075 |
+
var max_glare = $wrapper.attr("data-max-glare");
|
3076 |
+
}
|
3077 |
+
|
3078 |
+
if (glare === "yes") {
|
3079 |
+
glare = true;
|
3080 |
+
} else {
|
3081 |
+
glare = false;
|
3082 |
+
}
|
3083 |
+
|
3084 |
+
var $container = $(".elementor-element-" + wid + " .eae-fg-image");
|
3085 |
+
var layoutMode = $wrapper.hasClass("masonry-yes") ? "masonry" : "fitRows";
|
3086 |
+
let container_outerheight = $container.outerHeight();
|
3087 |
+
adata = {
|
3088 |
+
percentPosition: true,
|
3089 |
+
animationOptions: {
|
3090 |
+
duration: 750,
|
3091 |
+
easing: "linear",
|
3092 |
+
queue: false,
|
3093 |
+
},
|
3094 |
+
};
|
3095 |
+
|
3096 |
+
if (layoutMode === "fitRows") {
|
3097 |
+
adata["layoutMode"] = "fitRows";
|
3098 |
+
}
|
3099 |
+
|
3100 |
+
if (layoutMode === "masonry") {
|
3101 |
+
adata["masonry"] = {
|
3102 |
+
columnWidth: ".eae-gallery-item",
|
3103 |
+
horizontalOrder: true,
|
3104 |
+
};
|
3105 |
+
}
|
3106 |
+
if (!$scope.hasClass("eae-show-all-yes")) {
|
3107 |
+
$scope.find(".eae-gallery-filter a").first().addClass("current");
|
3108 |
+
adata["filter"] = $scope
|
3109 |
+
.find(".eae-gallery-filter a")
|
3110 |
+
.first()
|
3111 |
+
.attr("data-filter");
|
3112 |
+
}
|
3113 |
+
|
3114 |
+
var $grid = $container.isotope(adata);
|
3115 |
+
$grid.imagesLoaded().progress(function () {
|
3116 |
+
$grid.isotope("layout");
|
3117 |
+
//$scope.find('.eae-fg-image').css({"min-height":"300px" ,"height" : container_outerheight});
|
3118 |
+
});
|
3119 |
+
|
3120 |
+
if ($scope.find(".eae-tilt-yes")) {
|
3121 |
+
atilt = {
|
3122 |
+
maxTilt: maxtilt,
|
3123 |
+
perspective: perspective, // Transform perspective, the lower the more extreme the tilt gets.
|
3124 |
+
//easing: "cubic-bezier(.03,.98,.52,.99)", // Easing on enter/exit.
|
3125 |
+
easing: "linear",
|
3126 |
+
scale: 1, // 2 = 200%, 1.5 = 150%, etc..
|
3127 |
+
speed: speed, // Speed of the enter/exit transition.
|
3128 |
+
disableAxis: axis,
|
3129 |
+
transition: true, // Set a transition on enter/exit.
|
3130 |
+
reset: true, // If the tilt effect has to be reset on exit.
|
3131 |
+
glare: glare, // Enables glare effect
|
3132 |
+
maxGlare: max_glare, // From 0 - 1.
|
3133 |
+
};
|
3134 |
|
3135 |
+
$scope.find(".el-tilt").tilt(atilt);
|
3136 |
+
}
|
|
|
|
|
|
|
3137 |
|
3138 |
+
$(".elementor-element-" + wid + " .eae-gallery-filter a").on(
|
3139 |
+
"click",
|
3140 |
+
function () {
|
3141 |
+
$scope.find(".eae-gallery-filter .current").removeClass("current");
|
3142 |
+
$(this).addClass("current");
|
3143 |
+
//console.log(adata);
|
3144 |
+
var selector = $(this).attr("data-filter");
|
3145 |
+
adata["filter"] = selector;
|
3146 |
|
3147 |
+
var $grid = $container.isotope(adata);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3148 |
|
3149 |
+
$grid.imagesLoaded().progress(function () {
|
3150 |
+
$grid.isotope("layout");
|
3151 |
+
if (isEditMode) {
|
3152 |
+
return false;
|
3153 |
}
|
3154 |
+
if ($scope.find(".eae-tilt-yes")) {
|
3155 |
+
$scope.find(".el-tilt").tilt(atilt);
|
3156 |
+
$scope.find(".el-tilt").tilt.reset.call($scope.find(".el-tilt"));
|
3157 |
+
}
|
3158 |
+
});
|
3159 |
|
3160 |
+
return false;
|
3161 |
+
}
|
3162 |
+
);
|
|
|
|
|
|
|
|
|
|
|
3163 |
|
3164 |
+
if (!$wrapper.hasClass("eae-hover-direction-effect")) {
|
3165 |
+
$scope.find(".eae-gallery-item-inner").hover(function () {
|
3166 |
+
$(this).find(".eae-grid-overlay").addClass("animated");
|
3167 |
+
});
|
3168 |
+
}
|
3169 |
+
if ($wrapper.hasClass("eae-hover-direction-effect")) {
|
3170 |
+
$scope.find(".eae-gallery-item-inner").hover(function () {
|
3171 |
+
$(this).find(".eae-grid-overlay").addClass("overlay");
|
3172 |
+
});
|
3173 |
+
$wrapper.find(".eae-gallery-item-inner").EAEHoverDirection({
|
3174 |
+
//speed: 900,
|
3175 |
+
speed: overlay_speed,
|
3176 |
+
});
|
3177 |
+
}
|
3178 |
+
};
|
3179 |
|
3180 |
+
// var RibbonsBadgesHandler = function ($scope, $) {
|
3181 |
+
// if (!isEditMode) {
|
3182 |
+
// if ($scope.hasClass('wts-eae-enable-ribbons-badges-yes')) {
|
3183 |
+
// $scope.prepend('<div class="wts-eae-ribbons-badges-wrapper">' +
|
3184 |
+
// '<span class="wts-eae-ribbons-badges-inner">' +
|
3185 |
+
// $scope.data('wts-eae-rb-text') +
|
3186 |
+
// '</span>' +
|
3187 |
+
// '</div>');
|
3188 |
+
// }
|
3189 |
+
// }
|
3190 |
+
// if(isEditMode){
|
3191 |
+
// if($scope.hasClass('wts-eae-enable-ribbons-badges-yes') && $scope.find('.wts-eae-ribbons-badges-column-yes')){
|
3192 |
+
// var col_content = $scope.find('.wts-eae-ribbons-badges-column-yes').data('text');
|
3193 |
+
// var column = $scope.find('.elementor-column-wrap');
|
3194 |
+
// console.log(column);
|
3195 |
+
// column.prepend('<div class="wts-eae-ribbons-badges-wrapper">' +
|
3196 |
+
// '<span class="wts-eae-ribbons-badges-inner">' +
|
3197 |
+
// col_content +
|
3198 |
+
// '</span>' +
|
3199 |
+
// '</div>');
|
3200 |
+
// // if($scope.find('.wts-eae-ribbons-badges-section-yes')){
|
3201 |
+
// // var row_content = $scope.find('.wts-eae-ribbons-badges-section-yes').data('text');
|
3202 |
+
// // $scope.prepend('<div class="wts-eae-ribbons-badges-wrapper">' +
|
3203 |
+
// // '<span class="wts-eae-ribbons-badges-inner">' +
|
3204 |
+
// // row_content +
|
3205 |
+
// // '</span>' +
|
3206 |
+
// // '</div>');
|
3207 |
+
// // }
|
3208 |
+
// }
|
3209 |
+
// }
|
3210 |
+
// };
|
3211 |
+
|
3212 |
+
var WrapperLinksHander = function ($scope, $) {
|
3213 |
+
if (isEditMode) {
|
3214 |
+
return;
|
3215 |
+
}
|
3216 |
+
if ($scope.data("wts-url") && $scope.data("wts-link") == "yes") {
|
3217 |
+
$scope.on("click", function (e) {
|
3218 |
+
if (
|
3219 |
+
$scope.data("wts-url") &&
|
3220 |
+
$scope.data("wts-new-window") == "yes"
|
3221 |
+
) {
|
3222 |
+
window.open($scope.data("wts-url"));
|
3223 |
+
} else {
|
3224 |
+
location.href = $scope.data("wts-url");
|
3225 |
+
}
|
3226 |
+
});
|
3227 |
+
}
|
3228 |
+
};
|
3229 |
|
3230 |
+
$.fn.EAEHoverDirection = function (options) {
|
3231 |
+
var settings = $.extend(
|
3232 |
+
{
|
3233 |
+
inaccuracy: 30,
|
3234 |
+
speed: 200,
|
3235 |
+
},
|
3236 |
+
options
|
3237 |
+
);
|
3238 |
+
this.find(".overlay").css({ top: -9999999 });
|
3239 |
+
this.mouseenter(function (e) {
|
3240 |
+
container = $(this);
|
3241 |
+
overlay = container.find(".overlay");
|
3242 |
+
parentOffset = container.offset();
|
3243 |
+
relX = e.pageX - parentOffset.left;
|
3244 |
+
//
|
3245 |
+
//
|
3246 |
+
// (e.pageX);
|
3247 |
+
// console.log(parentOffset);
|
3248 |
+
// console.log(relX);
|
3249 |
+
relY = e.pageY - parentOffset.top;
|
3250 |
+
overlay.css({
|
3251 |
+
top: 0,
|
3252 |
+
left: 0,
|
3253 |
+
width: container.width(),
|
3254 |
+
height: container.height(),
|
3255 |
+
});
|
3256 |
+
if (relX > container.width() - settings.inaccuracy) {
|
3257 |
+
//From Right to Left
|
3258 |
+
overlay.css({
|
3259 |
+
top: 0,
|
3260 |
+
left: container.width(),
|
3261 |
+
});
|
3262 |
+
} else if (relX < settings.inaccuracy) {
|
3263 |
+
//From Left to Right
|
3264 |
+
overlay.css({
|
3265 |
+
top: 0,
|
3266 |
+
left: -container.width(),
|
3267 |
+
});
|
3268 |
+
} else if (relY > container.height() - settings.inaccuracy) {
|
3269 |
+
//BOTTOM TO TOP
|
3270 |
+
overlay.css({
|
3271 |
+
top: container.width(),
|
3272 |
+
left: 0,
|
3273 |
+
});
|
3274 |
+
} else if (relY < settings.inaccuracy) {
|
3275 |
+
//console.log('adfa');
|
3276 |
+
//TOP TO BOTTOM
|
3277 |
+
overlay.css({
|
3278 |
+
top: -container.width(),
|
3279 |
+
left: 0,
|
3280 |
+
});
|
3281 |
+
}
|
3282 |
+
overlay.animate(
|
3283 |
+
{
|
3284 |
+
top: 0,
|
3285 |
+
left: 0,
|
3286 |
+
},
|
3287 |
+
settings.speed
|
3288 |
+
);
|
3289 |
+
});
|
3290 |
+
|
3291 |
+
this.mouseleave(function (e) {
|
3292 |
+
container = $(this);
|
3293 |
+
overlay = container.find(".overlay");
|
3294 |
+
parentOffset = container.offset();
|
3295 |
+
relX = e.pageX - parentOffset.left;
|
3296 |
+
relY = e.pageY - parentOffset.top;
|
3297 |
+
if (relX <= 0) {
|
3298 |
+
overlay.animate(
|
3299 |
+
{
|
3300 |
+
top: 0,
|
3301 |
+
left: -container.width(),
|
3302 |
+
},
|
3303 |
+
settings.speed
|
3304 |
+
);
|
3305 |
+
}
|
3306 |
+
if (relX >= container.width()) {
|
3307 |
+
overlay.animate(
|
3308 |
+
{
|
3309 |
+
top: 0,
|
3310 |
+
left: container.width(),
|
3311 |
+
},
|
3312 |
+
settings.speed
|
3313 |
+
);
|
3314 |
+
}
|
3315 |
+
if (relY <= 0) {
|
3316 |
+
overlay.animate(
|
3317 |
+
{
|
3318 |
+
left: 0,
|
3319 |
+
top: -container.height(),
|
3320 |
+
},
|
3321 |
+
settings.speed
|
3322 |
+
);
|
3323 |
+
}
|
3324 |
+
if (relY >= container.height()) {
|
3325 |
+
overlay.animate(
|
3326 |
+
{
|
3327 |
+
left: 0,
|
3328 |
+
top: container.height(),
|
3329 |
+
},
|
3330 |
+
settings.speed
|
3331 |
+
);
|
3332 |
+
}
|
3333 |
+
});
|
3334 |
+
};
|
3335 |
|
3336 |
+
let EAEThumbGallery = function ($scope, $) {
|
3337 |
+
swiper_outer_wrapper = $scope.find(".eae-swiper-outer-wrapper");
|
3338 |
+
wid = $scope.data("id");
|
3339 |
+
wClass = ".elementor-element-" + wid;
|
3340 |
+
thumb_outer_wrapper = $scope.find(".eae-gallery-thumbs");
|
3341 |
+
|
3342 |
+
let slider_data = swiper_outer_wrapper.data("swiper-settings");
|
3343 |
+
|
3344 |
+
let slides_per_view = swiper_outer_wrapper.data("slides-per-view");
|
3345 |
+
let spaceBetween = swiper_outer_wrapper.data("space");
|
3346 |
+
//let navigation = swiper_outer_wrapper.data('navigation');
|
3347 |
+
|
3348 |
+
// BreakPoints Thumbnail
|
3349 |
+
const bp = eae.breakpoints;
|
3350 |
+
let breakpoints = {};
|
3351 |
+
breakpoints[bp.lg - 1] = {
|
3352 |
+
slidesPerView: slides_per_view.desktop,
|
3353 |
+
spaceBetween: spaceBetween.desktop,
|
3354 |
+
};
|
3355 |
+
breakpoints[bp.md - 1] = {
|
3356 |
+
slidesPerView: slides_per_view.tablet,
|
3357 |
+
spaceBetween: spaceBetween.tablet,
|
3358 |
+
};
|
3359 |
+
|
3360 |
+
// BreakPoints Slider
|
3361 |
+
const Bp = eae.breakpoints;
|
3362 |
+
let BreakPoints = {};
|
3363 |
+
BreakPoints[Bp.lg - 1] = {
|
3364 |
+
spaceBetween: slider_data.spaceBetween.desktop,
|
3365 |
+
};
|
3366 |
+
BreakPoints[Bp.md - 1] = {
|
3367 |
+
spaceBetween: slider_data.spaceBetween.tablet,
|
3368 |
+
};
|
3369 |
+
|
3370 |
+
sliderData = {
|
3371 |
+
direction: "horizontal",
|
3372 |
+
effect: slider_data.effect,
|
3373 |
+
keyboard: {
|
3374 |
+
enabled: slider_data.keyboard,
|
3375 |
+
},
|
3376 |
+
spaceBetween: slider_data.spaceBetween.mobile,
|
3377 |
+
breakpoints: BreakPoints,
|
3378 |
+
speed: slider_data.speed,
|
3379 |
+
loop: "yes" === slider_data.loop ? true : false,
|
3380 |
+
thumbs: {
|
3381 |
+
swiper: {
|
3382 |
+
el: thumb_outer_wrapper,
|
3383 |
+
direction: "horizontal",
|
3384 |
+
spaceBetween: spaceBetween.mobile,
|
3385 |
+
slidesPerView: slides_per_view.mobile,
|
3386 |
+
navigation: {
|
3387 |
+
nextEl: wClass + " .eae-swiper-button-next",
|
3388 |
+
prevEl: wClass + " .eae-swiper-button-prev",
|
3389 |
+
},
|
3390 |
+
speed: slider_data.speed,
|
3391 |
+
loop: "yes" === slider_data.loop ? true : false,
|
3392 |
+
freeMode: true,
|
3393 |
+
watchSlidesVisibility: true,
|
3394 |
+
watchSlidesProgress: true,
|
3395 |
+
breakpoints: breakpoints,
|
3396 |
+
// autoScrollOffset :true,
|
3397 |
+
// reverseDirection : true,
|
3398 |
+
slideToClickedSlide: true,
|
3399 |
+
},
|
3400 |
+
},
|
3401 |
+
};
|
3402 |
+
if (typeof slider_data.autoplay !== "undefined") {
|
3403 |
+
sliderData["thumbs"]["swiper"]["autoplay"] = {
|
3404 |
+
delay: slider_data.autoplay.duration,
|
3405 |
+
disableOnInteraction: slider_data.autoplay.disableOnInteraction,
|
3406 |
+
reverseDirection: slider_data.autoplay.reverseDirection,
|
3407 |
};
|
3408 |
+
}
|
3409 |
|
3410 |
+
if (slider_data.navigation == "yes") {
|
3411 |
+
sliderData["navigation"] = {
|
3412 |
+
nextEl: wClass + " .eae-swiper-button-next",
|
3413 |
+
prevEl: wClass + " .eae-swiper-button-prev",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3414 |
};
|
3415 |
+
}
|
3416 |
+
if (slider_data.pagination !== "") {
|
3417 |
+
sliderData["pagination"] = {
|
3418 |
+
type: slider_data.pagination,
|
3419 |
+
el: wClass + " .swiper-pagination",
|
3420 |
+
clickable: slider_data.clickable,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3421 |
};
|
3422 |
+
}
|
3423 |
|
3424 |
+
if (typeof slider_data.autoplay !== "undefined") {
|
3425 |
+
sliderData["autoplay"] = {
|
3426 |
+
delay: slider_data.autoplay.duration,
|
3427 |
+
disableOnInteraction: slider_data.autoplay.disableOnInteraction,
|
3428 |
+
reverseDirection: slider_data.autoplay.reverseDirection,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3429 |
};
|
3430 |
+
}
|
3431 |
+
|
3432 |
+
if ("undefined" === typeof Swiper) {
|
3433 |
+
const asyncSwiper = elementorFrontend.utils.swiper;
|
3434 |
+
new asyncSwiper(
|
3435 |
+
".elementor-element-" +
|
3436 |
+
wid +
|
3437 |
+
" .eae-swiper-outer-wrapper .eae-swiper-container",
|
3438 |
+
sliderData
|
3439 |
+
).then((newSwiperInstance) => {
|
3440 |
+
sswiper = newSwiperInstance;
|
3441 |
+
});
|
3442 |
+
} else {
|
3443 |
+
window.sswiper = new Swiper(
|
3444 |
+
".elementor-element-" +
|
3445 |
+
wid +
|
3446 |
+
" .eae-swiper-outer-wrapper .eae-swiper-container",
|
3447 |
+
sliderData
|
3448 |
+
);
|
3449 |
+
$(
|
3450 |
+
".elementor-element-" +
|
3451 |
+
wid +
|
3452 |
+
" .eae-swiper-outer-wrapper .eae-swiper-container"
|
3453 |
+
).css("visibility", "visible");
|
3454 |
+
}
|
3455 |
+
|
3456 |
+
if (typeof slider_data.autoplay !== "undefined") {
|
3457 |
+
let pause_on_hover = slider_data.autoplay.pauseOnHover;
|
3458 |
+
if (pause_on_hover == "yes") {
|
3459 |
+
jQuery(wClass + " .eae-swiper-container").hover(
|
3460 |
+
function () {
|
3461 |
+
sswiper.autoplay.stop();
|
3462 |
+
sswiper.thumbs.swiper.autoplay.stop();
|
3463 |
+
},
|
3464 |
+
function () {
|
3465 |
+
sswiper.autoplay.start();
|
3466 |
+
sswiper.thumbs.swiper.autoplay.start();
|
3467 |
+
}
|
3468 |
+
);
|
3469 |
+
}
|
3470 |
+
}
|
3471 |
+
};
|
3472 |
|
3473 |
+
// Cf Styler
|
3474 |
+
const EAECfStyler = function ($scope, $) {
|
3475 |
+
if($scope.hasClass( "elementor-element-edit-mode" )){
|
3476 |
+
if($("#error-field-hidden").hasClass("validation-field-box")){
|
3477 |
+
const inputWrap = $scope.find(".wpcf7-validates-as-required");
|
3478 |
+
inputWrap.parent().append("<p class='error-field'>The field is required.</p>");
|
3479 |
+
}
|
3480 |
+
}
|
3481 |
+
};
|
3482 |
|
3483 |
+
let EAEChart = function ($scope, $) {
|
3484 |
+
const Chart_Outer_Wrapper = $scope.find(".eae-chart-outer-container");
|
3485 |
+
const cid = $scope.data("id");
|
3486 |
+
const chartclass = ".elementor-element-" + cid;
|
3487 |
+
const chart_canvas = $scope.find("#eae-chart-canvas");
|
3488 |
+
let settings = Chart_Outer_Wrapper.data("settings");
|
3489 |
|
3490 |
+
new Chart(chart_canvas, settings);
|
3491 |
+
};
|
|
|
|
|
|
|
|
|
|
|
3492 |
|
3493 |
+
let EAETable = function ($scope, $) {
|
3494 |
+
const table = $scope.find(".eae-table");
|
3495 |
+
const wrapper = $scope.find(".eae-table-container");
|
3496 |
+
lottie_class = $scope.find(".eae-lottie");
|
3497 |
+
settings = table.data("settings");
|
3498 |
+
|
3499 |
+
// lottie animation
|
3500 |
+
lottie_class.each(function () {
|
3501 |
+
let lottie_data = $(this).data("lottie-settings");
|
3502 |
+
|
3503 |
+
let eae_animation = lottie.loadAnimation({
|
3504 |
+
container: document.getElementById(lottie_data.id),
|
3505 |
+
path: lottie_data.url,
|
3506 |
+
renderer: "svg",
|
3507 |
+
loop: lottie_data.loop,
|
3508 |
+
});
|
3509 |
|
3510 |
+
if (lottie_data.reverse == true) {
|
3511 |
+
eae_animation.setDirection(-1);
|
3512 |
+
}
|
3513 |
+
});
|
3514 |
|
3515 |
+
// Table Sort
|
3516 |
+
if (settings.sort === true) {
|
3517 |
+
head_class = $(".eae-table thead tr:not(:last-child)").addClass(
|
3518 |
+
"eae-sort__ignoreRow"
|
3519 |
+
);
|
3520 |
|
3521 |
+
table.tablesorter({
|
3522 |
+
sortReset: false,
|
3523 |
+
sortRestart: true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3524 |
});
|
3525 |
+
} else {
|
3526 |
+
head_class = $(".eae-table thead tr:not(:last-child)").removeClass(
|
3527 |
+
"eae-sort__ignoreRow"
|
3528 |
+
);
|
3529 |
+
}
|
3530 |
+
|
3531 |
+
// Table Search
|
3532 |
+
if (settings.search) {
|
3533 |
+
wrapper.find("#eae-searchable").keyup(function () {
|
3534 |
+
_this = this;
|
3535 |
+
|
3536 |
+
table.find(".eae-table__body tr").each(function () {
|
3537 |
+
if (
|
3538 |
+
$(this)
|
3539 |
+
.text()
|
3540 |
+
.toLowerCase()
|
3541 |
+
.indexOf($(_this).val().toLowerCase()) === -1
|
3542 |
+
)
|
3543 |
+
$(this).addClass("eae-table-search-hide");
|
3544 |
+
else $(this).removeClass("eae-table-search-hide");
|
3545 |
+
});
|
3546 |
+
});
|
3547 |
+
}
|
|
|
|
|
|
|
|
|
3548 |
};
|
3549 |
|
3550 |
+
elementorFrontend.hooks.addAction(
|
3551 |
+
"frontend/element_ready/wts-ab-image.default",
|
3552 |
+
ab_image
|
3553 |
+
);
|
3554 |
+
elementorFrontend.hooks.addAction(
|
3555 |
+
"frontend/element_ready/global",
|
3556 |
+
ParticlesBG
|
3557 |
+
);
|
3558 |
+
elementorFrontend.hooks.addAction(
|
3559 |
+
"frontend/element_ready/global",
|
3560 |
+
AnimatedGradient
|
3561 |
+
);
|
3562 |
+
//elementorFrontend.hooks.addAction('frontend/element_ready/global', EaeUnfold);
|
3563 |
+
elementorFrontend.hooks.addAction(
|
3564 |
+
"frontend/element_ready/wts-modal-popup.default",
|
3565 |
+
EaePopup
|
3566 |
+
);
|
3567 |
+
elementorFrontend.hooks.addAction(
|
3568 |
+
"frontend/element_ready/wts-testimonial-slider.default",
|
3569 |
+
EAETestimonial
|
3570 |
+
);
|
3571 |
+
elementorFrontend.hooks.addAction(
|
3572 |
+
"frontend/element_ready/eae-info-circle.skin1",
|
3573 |
+
InfoCircleHandler
|
3574 |
+
);
|
3575 |
+
elementorFrontend.hooks.addAction(
|
3576 |
+
"frontend/element_ready/eae-info-circle.skin2",
|
3577 |
+
InfoCircleHandler
|
3578 |
+
);
|
3579 |
+
elementorFrontend.hooks.addAction(
|
3580 |
+
"frontend/element_ready/eae-info-circle.skin3",
|
3581 |
+
InfoCircleHandler
|
3582 |
+
);
|
3583 |
+
elementorFrontend.hooks.addAction(
|
3584 |
+
"frontend/element_ready/eae-info-circle.skin4",
|
3585 |
+
InfoCircleHandler
|
3586 |
+
);
|
3587 |
+
elementorFrontend.hooks.addAction(
|
3588 |
+
"frontend/element_ready/eae-timeline.skin1",
|
3589 |
+
TimelineHandler
|
3590 |
+
);
|
3591 |
+
elementorFrontend.hooks.addAction(
|
3592 |
+
"frontend/element_ready/eae-timeline.skin2",
|
3593 |
+
TimelineHandler
|
3594 |
+
);
|
3595 |
+
elementorFrontend.hooks.addAction(
|
3596 |
+
"frontend/element_ready/eae-timeline.skin3",
|
3597 |
+
TimelineHandler
|
3598 |
+
);
|
3599 |
+
elementorFrontend.hooks.addAction(
|
3600 |
+
"frontend/element_ready/eae-timeline.skin4",
|
3601 |
+
TimelineHandler
|
3602 |
+
);
|
3603 |
+
elementorFrontend.hooks.addAction(
|
3604 |
+
"frontend/element_ready/eae-evergreen-timer.skin1",
|
3605 |
+
EgTimerSkin1
|
3606 |
+
);
|
3607 |
+
elementorFrontend.hooks.addAction(
|
3608 |
+
"frontend/element_ready/eae-evergreen-timer.skin2",
|
3609 |
+
EgTimerSkin2
|
3610 |
+
);
|
3611 |
+
elementorFrontend.hooks.addAction(
|
3612 |
+
"frontend/element_ready/eae-evergreen-timer.skin3",
|
3613 |
+
EgTimerSkin3
|
3614 |
+
);
|
3615 |
+
//elementorFrontend.hooks.addAction('frontend/element_ready/eae-evergreen-timer.skin4', EgTimerSkin4);
|
3616 |
+
elementorFrontend.hooks.addAction(
|
3617 |
+
"frontend/element_ready/eae-comparisontable.default",
|
3618 |
+
CompareTable
|
3619 |
+
);
|
3620 |
+
elementorFrontend.hooks.addAction(
|
3621 |
+
"frontend/element_ready/eae-progress-bar.skin1",
|
3622 |
+
ProgressBar
|
3623 |
+
);
|
3624 |
+
elementorFrontend.hooks.addAction(
|
3625 |
+
"frontend/element_ready/eae-progress-bar.skin2",
|
3626 |
+
ProgressBar
|
3627 |
+
);
|
3628 |
+
elementorFrontend.hooks.addAction(
|
3629 |
+
"frontend/element_ready/eae-progress-bar.skin3",
|
3630 |
+
ProgressBar
|
3631 |
+
);
|
3632 |
+
elementorFrontend.hooks.addAction(
|
3633 |
+
"frontend/element_ready/eae-progress-bar.skin4",
|
3634 |
+
ProgressBar
|
3635 |
+
);
|
3636 |
+
elementorFrontend.hooks.addAction(
|
3637 |
+
"frontend/element_ready/eae-progress-bar.skin5",
|
3638 |
+
ProgressBar
|
3639 |
+
);
|
3640 |
+
elementorFrontend.hooks.addAction(
|
3641 |
+
"frontend/element_ready/eae-filterableGallery.default",
|
3642 |
+
FilterableGallery
|
3643 |
+
);
|
3644 |
+
elementorFrontend.hooks.addAction(
|
3645 |
+
"frontend/element_ready/eae-content-switcher.skin1",
|
3646 |
+
contentSwitcherButton
|
3647 |
+
);
|
3648 |
+
elementorFrontend.hooks.addAction(
|
3649 |
+
"frontend/element_ready/eae-content-switcher.skin2",
|
3650 |
+
contentSwitcherButton
|
3651 |
+
);
|
3652 |
+
elementorFrontend.hooks.addAction(
|
3653 |
+
"frontend/element_ready/eae-content-switcher.skin3",
|
3654 |
+
contentSwitcherRadio
|
3655 |
+
);
|
3656 |
+
elementorFrontend.hooks.addAction(
|
3657 |
+
"frontend/element_ready/eae-content-switcher.skin4",
|
3658 |
+
contentSwitcherRadio
|
3659 |
+
);
|
3660 |
+
//elementorFrontend.hooks.addAction('frontend/element_ready/global', RibbonsBadgesHandler);
|
3661 |
+
elementorFrontend.hooks.addAction(
|
3662 |
+
"frontend/element_ready/global",
|
3663 |
+
WrapperLinksHander
|
3664 |
+
);
|
3665 |
+
// elementorFrontend.hooks.addAction('frontend/element_ready/eae-charts.pie', EAECharts);
|
3666 |
+
// elementorFrontend.hooks.addAction('frontend/element_ready/eae-charts.doughnut', EAECharts);
|
3667 |
+
// elementorFrontend.hooks.addAction('frontend/element_ready/eae-charts.polarArea', EAECharts);
|
3668 |
+
// // elementorFrontend.hooks.addAction('frontend/element_ready/eae-charts.radar', EAECharts);
|
3669 |
+
// elementorFrontend.hooks.addAction('frontend/element_ready/eae-charts.bubble', EAECharts);
|
3670 |
+
elementorFrontend.hooks.addAction(
|
3671 |
+
"frontend/element_ready/eae-thumbgallery.default",
|
3672 |
+
EAEThumbGallery
|
3673 |
+
);
|
3674 |
+
elementorFrontend.hooks.addAction(
|
3675 |
+
"frontend/element_ready/eae-chart.bar",
|
3676 |
+
EAEChart
|
3677 |
+
);
|
3678 |
+
elementorFrontend.hooks.addAction(
|
3679 |
+
"frontend/element_ready/eae-chart.horizontalBar",
|
3680 |
+
EAEChart
|
3681 |
+
);
|
3682 |
+
elementorFrontend.hooks.addAction(
|
3683 |
+
"frontend/element_ready/eae-chart.line",
|
3684 |
+
EAEChart
|
3685 |
+
);
|
3686 |
+
elementorFrontend.hooks.addAction(
|
3687 |
+
"frontend/element_ready/eae-data-table.default",
|
3688 |
+
EAETable
|
3689 |
+
);
|
3690 |
+
elementorFrontend.hooks.addAction(
|
3691 |
+
"frontend/element_ready/CfStyler.default",
|
3692 |
+
EAECfStyler
|
3693 |
+
);
|
3694 |
+
});
|
3695 |
+
})(jQuery);
|
assets/js/eae.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/wts-gmap.default",(function(e){map=function(a){$wrapper=e.find(".eae-markers");var t=$wrapper.data("zoom"),i=a.find(".marker"),n=$wrapper.data("style"),r=($wrapper.data("scroll"),{zoom:t,center:new google.maps.LatLng(0,0),mapTypeId:google.maps.MapTypeId.ROADMAP,styles:n}),d=new google.maps.Map(a[0],r);return d.markers=[],i.each((function(){!function(a,t){var i=$wrapper.data("animate");$wrapper.data("show-info-window-onload");$wrapper=e.find(".eae-markers");var n=new google.maps.LatLng(a.attr("data-lat"),a.attr("data-lng"));if(icon_img=a.attr("data-icon"),""!=icon_img)var r={url:a.attr("data-icon"),scaledSize:new google.maps.Size(a.attr("data-icon-size"),a.attr("data-icon-size"))};var d=new google.maps.Marker({position:n,map:t,icon:r,animation:google.maps.Animation.DROP});"animate-yes"==i&&"yes"!=a.data("info-window")&&d.setAnimation(google.maps.Animation.BOUNCE);"animate-yes"==i&&google.maps.event.addListener(d,"click",(function(){d.setAnimation(null)}));if(t.markers.push(d),a.html()){var s=new google.maps.InfoWindow({content:a.html()});"yes"==a.data("info-window")&&s.open(t,d),google.maps.event.addListener(d,"click",(function(){s.open(t,d)}))}"animate-yes"==i&&google.maps.event.addListener(s,"closeclick",(function(){d.setAnimation(google.maps.Animation.BOUNCE)}))}(jQuery(this),d)})),function(e,a){var t=new google.maps.LatLngBounds;jQuery.each(e.markers,(function(e,a){var i=new google.maps.LatLng(a.position.lat(),a.position.lng());t.extend(i)})),1==e.markers.length?(e.setCenter(t.getCenter()),e.setZoom(a)):e.fitBounds(t)}(d,t),d}(e.find(".eae-markers"))})),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e){var a,t,i,n,r,d,s,o=[],l=[],c=e.children(".eae-section-bs").children(".eae-section-bs-inner");c&&c.data("eae-bg-slider")&&(slider_images=c.data("eae-bg-slider"),a=c.data("eae-bg-slider-transition"),t=c.data("eae-bg-slider-animation"),n=("yes"==(i=c.data("eae-bg-custom-overlay"))||c.data("eae-bg-slider-overlay"),eae_editor.plugin_url+"assets/lib/vegas/overlays/"+c.data("eae-bg-slider-overlay")),r=c.data("eae-bg-slider-cover"),d=c.data("eae-bs-slider-delay"),s=c.data("eae-bs-slider-timer"),"undefined"!=typeof slider_images&&(o=slider_images.split(","),jQuery.each(o,(function(e,a){var t=[];t.src=a,l.push(t)})),c.vegas({slides:l,transition:a,animation:t,overlay:n,cover:r,delay:d,timer:s,init:function(){"yes"==i&&c.children(".vegas-overlay").css("background-image","")}})))}))}));var isEditMode=!1,breakpoints=eae.breakpoints;!function(e){e(window).on("elementor/frontend/init",(function(){var a=function(e,a){function t(e){$icons=a(document).find(e).find(".eae-ic-icon-wrap"),window.innerWidth<767?$icons.each((function(e,t){a(t).css("top",a(t).height()/2+8+"px"),a(t).next(".eae-info-circle-item__content-wrap").css("padding-top",a(t).height()/2+8+"px")})):$icons.each((function(e,t){a(t).css("margin-left",-.5*a(t).outerWidth()),a(t).css("margin-top",-.5*a(t).outerHeight()),$a=function(e){return e=(e-90)*Math.PI/180,{x:50+45*Math.cos(e),y:50+45*Math.sin(e)}}($angle),$b=360/$icons.length,a(t).css("left",$a.x+"%"),a(t).css("top",$a.y+"%"),$angle+=$b}))}$wrap_class=".elementor-element-"+e.data("id"),$angle=0,t(e);var i=null;function n(){"yes"==e.find(".eae-info-circle").data("autoplay")&&(i=setInterval(r,$autoplayDuration))}function r(){e.find(".eae-active").next().length>0?e.find(".eae-active").next().addClass("eae-active").siblings().removeClass("eae-active"):e.find(".eae-info-circle-item").eq(0).addClass("eae-active").siblings().removeClass("eae-active")}$autoplayDuration=e.find(".eae-info-circle").data("delay"),n(),e.find(".eae-ic-icon-wrap").hover((function(){clearInterval(i)}),(function(){n()})),e.find(".eae-info-circle-item").length>0&&a(e.find(".eae-info-circle-item")[0]).addClass("eae-active"),e.find(".eae-ic-icon-wrap").on("click",(function(){e.find(".eae-info-circle-item").removeClass("eae-active"),a(this).parent().addClass("eae-active")})),e.hasClass("eae-mouseenter-yes")&&e.find(".eae-ic-icon-wrap").on("mouseenter",(function(){e.find(".eae-info-circle-item").removeClass("eae-active"),a(this).parent().addClass("eae-active")})),window.addEventListener("resize",t.bind(this,$wrap_class))},t=function(e,a){function t(){var t=e.find(".eae-timline-progress-bar"),i=e.find(".eae-timeline-item"),n=e.find(".eae-timeline");const r=n.data("top-offset");var d=a(n).height(),s=a(i).last().find(".eae-tl-icon-wrapper").offset().top-a(i[0]).parent().offset().top,o=e.find(".eae-tl-icon-wrapper");a(t).css("top",a(i[0]).find(".eae-tl-icon-wrapper").offset().top-a(i[0]).parent().offset().top),a(t).css("bottom",d-s),a(t).css("left",o.eq(0)[0].offsetLeft+o.eq(0).width()/2),a(t).css("display","block"),i.each((function(e,t){new Waypoint({element:a(t),handler:function(e){"down"==e?a(t).addClass("eae-tl-item-focused"):a(t).removeClass("eae-tl-item-focused")},offset:r})}))}t(),window.addEventListener("resize",t),window.addEventListener("scroll",(function(){e.find(".eae-timline-progress-bar");const t=e.find(".eae-timeline").data("top-offset");e.find(".eae-pb-inner-line").css("height",a(window).scrollTop()-e.find(".eae-timeline").offset().top+t),e.find(".eae-pb-inner-line").css("max-height",e.find(".eae-pb-inner-line").parent().height())}))};function i(e,a,t){var i=new Date;i.setTime(i.getTime()+60*t*60*1e3);var n="expires="+i.toUTCString();document.cookie=e+"="+a+";"+n+";path=/"}function n(e){for(var a=e+"=",t=decodeURIComponent(document.cookie).split(";"),i=0;i<t.length;i++){for(var n=t[i];" "==n.charAt(0);)n=n.substring(1);if(0==n.indexOf(a))return n.substring(a.length,n.length)}return""}var r=function(e,a){$is_rtl=jQuery("body").hasClass("rtl"),$wrapper=e.find(".eae-progress-bar");$wrapper.attr("data-skill");var t=$wrapper.attr("data-value"),i=$wrapper.attr("data-skin"),n=$wrapper.find(".eae-pb-bar-skill"),r=$wrapper.find(".eae-pb-bar-value"),d=$wrapper.find(".eae-pb-bar"),s=$wrapper.find(".eae-pb-bar-inner");"skin1"===i&&a(s).attr("style","width : "+t+"%"),"skin2"===i&&a(s).attr("style","width : "+t+"%"),"skin3"===i&&(a(r).addClass("eae-pb-bar-value--aligned-value"),$is_rtl?a(r).attr("style","right :"+t+"%"):a(r).attr("style","left :"+t+"%"),a(s).attr("style","width :"+t+"%")),"skin4"===i&&(a(r).addClass("eae-pb-bar-value--aligned-value"),$is_rtl?a(r).attr("style","right :"+t+"%"):a(r).attr("style","left :"+t+"%"),a(s).attr("style","width :"+t+"%"),a(d).addClass("eae-pb-bar--no-overflow")),"skin5"===i&&(a(r).addClass("eae-pb-bar-value--aligned-value"),$is_rtl?a(r).attr("style","right :"+t+"%"):a(r).attr("style","left :"+t+"%"),a(s).attr("style","width :"+t+"%")),$wrapper.each((function(e,t){new Waypoint({element:t,skill_value:a(t).find(".eae-pb-bar-skill"),valueElem:a(t).find(".eae-pb-bar-value"),prgBar:a(t).find(".eae-pb-bar-bar"),prgInner:a(t).find(".eae-pb-bar-inner"),handler:function(e){"down"==e&&(a(r).hasClass("js-animated")||a(r).addClass("js-animated"),a(s).hasClass("js-animated")||a(s).addClass("js-animated"),a(n).hasClass("js-animated")||a(n).addClass("js-animated"))},offset:"bottom-in-view"})}))},d=function(e,a){var t=e.find(".eae-content-switcher-wrapper"),i=(e.data("id"),t.find(".eae-content-switch-button"));i.each((function(e,n){a(this).on("click",(function(e){e.preventDefault();let n=a(this).find(".eae-content-switch-label");if(!a(this).hasClass("active")){a(i).removeClass("active");let e=a(n).attr("id");a(this).addClass("active");var r=a(t).find(".eae-cs-content-section");a(r).removeClass("active");let d=a(t).find(".eae-content-section-"+e);a(d).addClass("active")}}))}))},s=function(e,a){let t=e.find(".eae-content-switcher-wrapper"),i=(e.data("id"),t.find(".eae-cs-switch-label")),n=t.find(".eae-content-switch-label.primary-label");const r=a(n).attr("item_id");let d=t.find(".eae-content-switch-label.secondary-label");const s=a(d).attr("item_id");let o=t.find(".eae-cs-content-section.eae-content-section-"+r),l=t.find(".eae-cs-content-section.eae-content-section-"+s);a(i).on("click",(function(e){a(this).find("input.eae-content-toggle-switch").is(":checked")?(d.addClass("active"),l.addClass("active"),n.removeClass("active"),o.removeClass("active")):(n.addClass("active"),o.addClass("active"),d.removeClass("active"),l.removeClass("active"))}))};e.fn.EAEHoverDirection=function(a){var t=e.extend({inaccuracy:30,speed:200},a);this.find(".overlay").css({top:-9999999}),this.mouseenter((function(a){container=e(this),overlay=container.find(".overlay"),parentOffset=container.offset(),relX=a.pageX-parentOffset.left,relY=a.pageY-parentOffset.top,overlay.css({top:0,left:0,width:container.width(),height:container.height()}),relX>container.width()-t.inaccuracy?overlay.css({top:0,left:container.width()}):relX<t.inaccuracy?overlay.css({top:0,left:-container.width()}):relY>container.height()-t.inaccuracy?overlay.css({top:container.width(),left:0}):relY<t.inaccuracy&&overlay.css({top:-container.width(),left:0}),overlay.animate({top:0,left:0},t.speed)})),this.mouseleave((function(a){container=e(this),overlay=container.find(".overlay"),parentOffset=container.offset(),relX=a.pageX-parentOffset.left,relY=a.pageY-parentOffset.top,relX<=0&&overlay.animate({top:0,left:-container.width()},t.speed),relX>=container.width()&&overlay.animate({top:0,left:container.width()},t.speed),relY<=0&&overlay.animate({left:0,top:-container.height()},t.speed),relY>=container.height()&&overlay.animate({left:0,top:container.height()},t.speed)}))};let o=function(e,a){const t=e.find(".eae-chart-outer-container"),i=(e.data("id"),e.find("#eae-chart-canvas"));let n=t.data("settings");new Chart(i,n)};elementorFrontend.hooks.addAction("frontend/element_ready/wts-ab-image.default",(function(e,a){e.find(".eae-img-comp-container").imagesLoaded().done((function(){ab_style=e.find(".eae-img-comp-container").data("ab-style"),slider_pos=e.find(".eae-img-comp-container").data("slider-pos"),"horizontal"===ab_style?(separator_width=parseInt(e.find(".eae-img-comp-overlay").css("border-right-width")),function(e){var a,t;a=e.find(".eae-img-comp-overlay"),t=(t=a.width())*slider_pos/100,function(a){var i,n,r,d=0;function s(e){e.preventDefault(),d=1,window.addEventListener("mousemove",l),i.addEventListener("touchmove",c)}function o(){d=0}function l(e){var t;if(0==d)return!1;(t=function(e){var t;return e=e||window.event,t=a.getBoundingClientRect(),e.pageX-t.left}(e))<0&&(t=0),t>n&&(t=n),f(t)}function c(e){var t;if(0==d)return!1;(t=function(e){var t;return t=a.getBoundingClientRect(),e.changedTouches[0].clientX-t.left}(e))<0&&(t=0),t>n&&(t=n),f(t)}function f(e){a.style.width=e+"px",i.style.left=a.offsetWidth-i.offsetWidth/2-separator_width/2+"px"}n=a.offsetWidth,r=a.offsetHeight,a.style.width=t+"px",(i=(i=e.find(".eae-img-comp-slider"))[0]).style.top=r/2-i.offsetHeight/2+"px",i.style.left=t-i.offsetWidth/2-separator_width/2+"px",e.hasClass("elementor-element-edit-mode")||(i.addEventListener("mousedown",s),window.addEventListener("mouseup",o),i.addEventListener("touchstart",s),window.addEventListener("touchstop",o))}(a[0])}(e)):(separator_width=parseInt(e.find(".eae-img-comp-overlay").css("border-bottom-width")),function(e){var a;a=e.find(".eae-img-comp-overlay"),start_pos=a.height(),start_pos=start_pos*slider_pos/100,function(a){var t,i,n,r=0;function d(e){e.preventDefault(),r=1,window.addEventListener("mousemove",o),t.addEventListener("touchmove",l)}function s(){r=0}function o(e){var t;if(0==r)return!1;(t=function(e){var t,i=0;return e=e||window.event,t=a.getBoundingClientRect(),i=e.pageY-t.top,i-=window.pageYOffset}(e))<0&&(t=0),t>n&&(t=n),c(t)}function l(e){var t;if(0==r)return!1;(t=function(e){var t;return t=a.getBoundingClientRect(),e.changedTouches[0].clientY-t.top}(e))<0&&(t=0),t>n&&(t=n),c(t)}function c(e){a.style.height=e+"px",t.style.top=a.offsetHeight-t.offsetHeight/2-separator_width/2+"px"}i=a.offsetWidth,n=a.offsetHeight,a.style.height=start_pos+"px",(t=(t=e.find(".eae-img-comp-slider"))[0]).style.top=start_pos-t.offsetHeight/2-separator_width/2+"px",t.style.left=i/2-t.offsetWidth/2+"px",e.hasClass("elementor-element-edit-mode")||(t.addEventListener("mousedown",d),window.addEventListener("mouseup",s),t.addEventListener("touchstart",d),window.addEventListener("touchstop",s))}(a[0])}(e))}))})),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e,a){e.hasClass("eae-particle-yes")&&(id=e.data("id"),element_type=e.data("element_type"),pdata=e.data("eae-particle"),pdata_wrapper=e.find(".eae-particle-wrapper").data("eae-pdata"),"undefined"!=typeof pdata&&""!=pdata?e.find(".eae-section-bs").length>0?(e.find(".eae-section-bs").after('<div class="eae-particle-wrapper" id="eae-particle-'+id+'"></div>'),particlesJS("eae-particle-"+id,pdata)):("column"==element_type?e.prepend('<div class="eae-particle-wrapper" id="eae-particle-'+id+'"></div>'):e.prepend('<div class="eae-particle-wrapper " id="eae-particle-'+id+'"></div>'),particlesJS("eae-particle-"+id,pdata)):"undefined"!=typeof pdata_wrapper&&""!=pdata_wrapper&&(element_type,e.prepend('<div class="eae-particle-wrapper eae-particle-area" id="eae-particle-'+id+'"></div>'),particlesJS("eae-particle-"+id,JSON.parse(pdata_wrapper))))})),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e,a){if(e.hasClass("eae-animated-gradient-yes")){id=e.data("id"),color=e.data("color"),angle=e.data("angle");var t="linear-gradient("+angle+","+color+")";heading=e.find(".elementor-heading-title"),e.css("background-image",t),e.hasClass("elementor-element-edit-mode")&&(color=e.find(".animated-gradient").data("color"),angle=e.find(".animated-gradient").data("angle"),gradient_color_editor="linear-gradient("+angle+","+color+")",e.prepend('<div class="animated-gradient" style="background-image : '+gradient_color_editor+' "></div>'))}})),elementorFrontend.hooks.addAction("frontend/element_ready/wts-modal-popup.default",(function(e,a){$preview_modal=e.find(".eae-popup-wrapper").data("preview-modal"),$close_btn_type=e.find(".eae-popup-wrapper").data("close-button-type"),$close_btn=e.find(".eae-popup-wrapper").data("close-btn"),"icon"==$close_btn_type?$close_btn_html='<i class="eae-close '+$close_btn+'"> </i>':$close_btn_html='<svg class="eae-close" style="-webkit-mask: url('+$close_btn+"); mask: url("+$close_btn+'); "></svg>',$magnific=e.find(".eae-popup-link").eaePopup({type:"inline",disableOn:0,key:null,midClick:!1,mainClass:"eae-popup eae-popup-"+e.find(".eae-popup-link").data("id")+" eae-wrap-"+e.find(".eae-popup-link").data("ctrl-id"),preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:e.find(".eae-popup-wrapper").data("close-in-out"),showCloseBtn:!0,enableEscapeKey:!1,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:!0,fixedBgPos:"auto",overflowY:"auto",closeMarkup:$close_btn_html,tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}),"yes"==$preview_modal&&e.hasClass("elementor-element-edit-mode")&&e.find(".eae-popup-link").click()})),elementorFrontend.hooks.addAction("frontend/element_ready/wts-testimonial-slider.default",(function(e,a){if(e.find(".eae-grid-wrapper").hasClass("eae-masonry-yes")){var t=e.find(".eae-grid").masonry({});t.imagesLoaded().progress((function(){t.masonry("layout")}))}if(e.find(".eae-layout-carousel").length){outer_wrapper=e.find(".eae-swiper-outer-wrapper"),wid=e.data("id"),wclass=".elementor-element-"+wid;var i=outer_wrapper.data("direction"),n=outer_wrapper.data("speed"),r=outer_wrapper.data("autoplay"),d=outer_wrapper.data("duration"),s=outer_wrapper.data("effect"),o=outer_wrapper.data("space"),l=outer_wrapper.data("loop");l="yes"==l;var c=outer_wrapper.data("slides-per-view"),f=outer_wrapper.data("slides-per-group"),p=outer_wrapper.data("ptype"),m=outer_wrapper.data("navigation"),u=outer_wrapper.data("clickable"),g=outer_wrapper.data("keyboard"),v=outer_wrapper.data("scrollbar");adata={direction:i,effect:s,spaceBetween:o.desktop,loop:l,speed:n,slidesPerView:c.desktop,slidesPerGroup:f.desktop,observer:!0,mousewheel:{invert:!0},breakpoints:{1024:{spaceBetween:o.tablet,slidesPerView:c.tablet,slidesPerGroup:f.tablet},767:{spaceBetween:o.mobile,slidesPerView:c.mobile,slidesPerGroup:f.mobile}}},"fade"==s&&(adata.fadeEffect={crossFade:!1}),adata.autoplay="yes"==r&&{delay:d,disableOnInteraction:!1},"yes"==m&&(adata.navigation={nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}),""!=p&&(adata.pagination={el:".swiper-pagination",type:p}),"bullets"==p&&"yes"==u&&(adata.pagination={el:".swiper-pagination",clickable:!0,type:p}),"yes"==v&&(adata.scrollbar={el:".swiper-scrollbar",draggable:!0}),"yes"==g&&(adata.keyboard={enabled:!0,onlyInViewport:!0}),0==l&&(adata.autoplay={delay:d,stopOnLastSlide:!0,disableOnInteraction:!1}),window.mswiper=new Swiper(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .swiper-container",adata),a(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .swiper-container").css("visibility","visible")}})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin1",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin2",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin3",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin4",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin1",t),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin2",t),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin3",t),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin4",t),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin1",(function(e,a){var t=e.find(".eae-evergreen-wrapper").data("egtime"),r=e.find(".eae-evergreen-wrapper").data("egt-expire"),d=e.find(".eae-evergreen-wrapper").data("element-type"),s="eae-"+e.find(".eae-evergreen-wrapper").data("id"),o="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),l=e.find(".eae-evergreen-wrapper").data("actions"),c=e.find(".eae-evergreen-wrapper").data("unqid"),f=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===d){u=new Date(t),t=u.getTime();var p="expires="+u.toUTCString();document.cookie=o+"="+u.getTime()+";"+p+";path=/"}else{var m=n(s),u="";if(""!==m){(u=new Date(parseInt(m))).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),t=u.getTime();var g=new Date(parseInt(m));g.setTime(g.getTime()+60*r*60*1e3);var v="expires="+g.toUTCString();document.cookie=s+"="+m+";"+v+";path=/";var h=new Date(parseInt(m));h.setTime(h.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));p="expires="+h.toUTCString();t-f>0&&(document.cookie=o+"="+m+";"+p+";path=/")}else{temp_date=t,(u=new Date).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),t=u.getTime(),i(s,(new Date).getTime(),r);var w=new Date;w.setTime(w.getTime()+1e3*temp_date);var y="expires="+w.toUTCString();document.cookie=o+"="+(new Date).getTime()+";"+y+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")&&t-f<0)return l.length>0&&l.forEach((function(t){"redirect"===t&&($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==a.trim($url)&&(window.location.href=$url1)),"hide"===t&&(e.hasClass("elementor-element-edit-mode")||(e.find("#eaeclockdiv").css("display","none"),e.find(".egt-title").css("display","none"))),"message"===t&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===t&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))})),days="00",hours="00",minutes="00",seconds="00",e.find("."+c).find("#eaedivDays").html(days),e.find("."+c).find("#eaedivHours").html(hours.slice(-2)),e.find("."+c).find("#eaedivMinutes").html(minutes.slice(-2)),void e.find("."+c).find("#eaedivSeconds").html(seconds.slice(-2));e.hasClass("elementor-element-edit-mode")&&("countdown"===d?(u=new Date(t),t=u.getTime()):((u=new Date).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),t=u.getTime()));var k=setInterval((function(){var i=(new Date).getTime(),n=t-i,r=0,d=0,s=0,o=0;n>0?(r=Math.floor(n/864e5),d="0"+Math.floor(n%864e5/36e5),s="0"+Math.floor(n%36e5/6e4),o="0"+Math.floor(n%6e4/1e3)):(l.length>0&&(e.hasClass("elementor-element-edit-mode")||l.forEach((function(t){"redirect"===t&&($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==a.trim($url1)&&(window.location.href=$url1)),"hide"===t&&(e.find("#eaeclockdiv").css("display","none"),e.find(".egt-title").css("display","none")),"message"===t&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===t&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))}))),clearInterval(k),r="0",d="00",s="00",o="00"),r<10&&(r="0"+r),e.find("."+c).find("#eaedivDays").html(r),e.find("."+c).find("#eaedivHours").html(d.slice(-2)),e.find("."+c).find("#eaedivMinutes").html(s.slice(-2)),e.find("."+c).find("#eaedivSeconds").html(o.slice(-2))}),1e3)})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin2",(function(e,a){var t=e.find(".eae-evergreen-wrapper").data("egtime"),r=e.find(".eae-evergreen-wrapper").data("egt-expire"),d=e.find(".eae-evergreen-wrapper").data("element-type"),s="eae-"+e.find(".eae-evergreen-wrapper").data("id"),o="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),l=e.find(".eae-evergreen-wrapper").data("actions"),c=e.find(".eae-evergreen-wrapper").data("unqid"),f=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===d){u=new Date(t),t=u.getTime();var p="expires="+u.toUTCString();document.cookie=o+"="+u.getTime()+";"+p+";path=/"}else{var m=n(s),u="";if(""!==m){(u=new Date(parseInt(m))).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),t=u.getTime();var g=new Date(parseInt(m));g.setTime(g.getTime()+60*r*60*1e3);var v="expires="+g.toUTCString();document.cookie=s+"="+m+";"+v+";path=/";var h=new Date(parseInt(m));h.setTime(h.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));p="expires="+h.toUTCString();t-f>0&&(document.cookie=o+"="+m+";"+p+";path=/")}else{temp_date=t,(u=new Date).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),t=u.getTime(),i(s,(new Date).getTime(),r);var w=new Date;w.setTime(w.getTime()+1e3*temp_date);var y="expires="+w.toUTCString();document.cookie=o+"="+(new Date).getTime()+";"+y+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")&&t-f<0)return void(l.length>0&&l.forEach((function(t){"redirect"===t&&($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==a.trim($url)&&(window.location.href=$url)),"hide"===t&&(e.find("."+c).find(".timer-container").css("display","none"),e.find("."+c).find(".egt-title").css("display","none")),"message"===t&&e.find("."+c).find(".eae-egt-message").css("display","block"),"hide_parent"===t&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))})));e.hasClass("elementor-element-edit-mode")&&("countdown"===d?(u=new Date(t),t=u.getTime()):((u=new Date).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),t=u.getTime()));var k=setInterval((function(){var i=(new Date).getTime(),n=t-i,r=Math.floor(n/864e5),d=Math.floor(n%864e5/36e5),s=Math.floor(n%36e5/6e4),o=Math.floor(n%6e4/1e3);if(e.find("."+c).find("#eaeulSec1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulSec").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulSec").find(".flip-clock-before").removeClass("flip-clock-before"),n<0)return clearInterval(k),void(l.length>0&&l.forEach((function(t){"redirect"===t&&(e.hasClass("elementor-element-edit-mode")||($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==a.trim($url1)&&(window.location.href=$url1))),"hide"===t&&(e.hasClass("elementor-element-edit-mode")||(e.find("."+c).find(".timer-container").css("display","none"),e.find("."+c).find(".egt-title").css("display","none"))),"message"===t&&(e.hasClass("elementor-element-edit-mode")||e.find("."+c).find(".eae-egt-message").css("display","block")),"hide_parent"===t&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))})));if(2===a.trim(o).length){var f="#eaeulSec1 li:eq( "+a.trim(o).charAt(1)+" )",p="#eaeulSec li:eq( "+a.trim(o).charAt(0)+" )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec li:first-child").addClass("flip-clock-before"))}else{f="#eaeulSec1 li:eq( "+a.trim(o).charAt(0)+" )",p="#eaeulSec li:eq( 0 )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulMin1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulMin").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulMin").find(".flip-clock-before").removeClass("flip-clock-before"),2==a.trim(s).length){f="#eaeulMin1 li:eq( "+a.trim(s).charAt(1)+" )",p="#eaeulMin li:eq( "+a.trim(s).charAt(0)+" )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin li:first-child").addClass("flip-clock-before"))}else{f="#eaeulMin1 li:eq( "+a.trim(s).charAt(0)+" )",p="#eaeulMin li:eq( 0 )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulHour1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulHour1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulHour").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulHour").find(".flip-clock-before").removeClass("flip-clock-before"),2==a.trim(d).length){f="#eaeulHour1 li:eq( "+a.trim(d).charAt(1)+" )",p="#eaeulHour li:eq( "+a.trim(d).charAt(0)+" )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before"))}else{f="#eaeulHour1 li:eq( "+a.trim(d).charAt(0)+" )",p="#eaeulHour li:eq( 0 )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulDay1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulDay1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulDay").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulDay").find(".flip-clock-before").removeClass("flip-clock-before"),2==a.trim(r).length){f="#eaeulDay1 li:eq( "+a.trim(r).charAt(1)+" )",p="#eaeulDay li:eq( "+a.trim(r).charAt(0)+" )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before"))}else{f="#eaeulDay1 li:eq( "+a.trim(r).charAt(0)+" )",p="#eaeulDay li:eq( 0 )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before"))}}),1e3)})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin3",(function(e,a){var t,r=e.find(".eae-evergreen-wrapper").data("egtime"),d=e.find(".eae-evergreen-wrapper").data("egt-expire"),s=e.find(".eae-evergreen-wrapper").data("element-type"),o="eae-"+e.find(".eae-evergreen-wrapper").data("id"),l="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),c=e.find(".eae-evergreen-wrapper").data("actions"),f=e.find(".eae-evergreen-wrapper").data("days"),p=e.find(".eae-evergreen-wrapper").data("hours"),m=e.find(".eae-evergreen-wrapper").data("mins"),u=e.find(".eae-evergreen-wrapper").data("seconds"),g=e.find(".eae-evergreen-wrapper").data("unqid"),v=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===s){y=new Date(r),r=y.getTime();var h="expires="+y.toUTCString();document.cookie=l+"="+y.getTime()+";"+h+";path=/"}else{var w=n(o),y="";if(""!==w){(y=new Date(parseInt(w))).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),r=y.getTime();var k=new Date(parseInt(w));k.setTime(k.getTime()+60*d*60*1e3);var b="expires="+k.toUTCString();document.cookie=o+"="+w+";"+b+";path=/";var C=new Date(parseInt(w));C.setTime(C.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));h="expires="+C.toUTCString();r-v>0&&(document.cookie=l+"="+w+";"+h+";path=/")}else{temp_date=r,(y=new Date).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),r=y.getTime(),i(o,(new Date).getTime(),d);var _=new Date;_.setTime(_.getTime()+1e3*temp_date);var x="expires="+_.toUTCString();document.cookie=l+"="+(new Date).getTime()+";"+x+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")){var T=D(r);if(parseInt(T.all)<1){if(c.length>0&&(c.forEach((function(a){"redirect"===a&&(e.hasClass("elementor-element-edit-mode")||($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==$url&&(window.location.href=$url))),"hide_parent"===a&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none"))),"hide"===a&&(e.find("#timer").css("display","none"),e.find(".egt-title").css("display","none"),e.find(".desc").css("display","none")),"message"===a&&e.find(".eae-egt-message").css("display","block")})),1===c.length&&(""===c[0]||"message"===c[0]))){var $=e.find("."+g).find("#timer")[0];"yes"===f&&($.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===p&&("yes"===f?a($).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):$.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===m&&("yes"===f||"yes"===p?a($).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):$.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===u&&("yes"===f||"yes"===p||"yes"===m?a($).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):$.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>")}return}}function D(e){var a=r-new Date;return{days:Math.floor(a/864e5),hours:"0"+Math.floor(a/36e5%24),minutes:"0"+Math.floor(a/6e4%60),seconds:"0"+Math.floor(a/1e3%60),all:a}}function S(e){e.classList.add("fade"),setTimeout((function(){e.classList.remove("fade")}),700)}e.hasClass("elementor-element-edit-mode")&&("countdown"===s?(y=new Date(r),r=y.getTime()):((y=new Date).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),r=y.getTime())),D(r).all>1&&(t=setInterval((function(){var i=e.find("."+g).find("#timer")[0],n=D(r);"yes"===f&&(n.days<10&&(n.days="0"+n.days),i.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+n.days+"</div></span>"),"yes"===p&&("yes"===f?a(i).append("<span class='egt-time eae-time-wrapper'><div>"+n.hours.slice(-2)+"</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+n.hours.slice(-2)+"</div></span>"),"yes"===m&&("yes"===f||"yes"===p?a(i).append("<span class='egt-time eae-time-wrapper'><div>"+n.minutes.slice(-2)+"</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+n.minutes.slice(-2)+"</div></span>"),"yes"===u&&("yes"===f||"yes"===p||"yes"===m?a(i).append("<span class='egt-time eae-time-wrapper'><div>"+n.seconds.slice(-2)+"</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+n.seconds.slice(-2)+"</div></span>");var d=i.getElementsByTagName("span");"yes"===f&&59==n.hours&&59==n.minutes&&59==n.seconds&&S(d[0]),"yes"===p&&("yes"===f?59==n.minutes&&59==n.seconds&&S(d[1]):59==n.minutes&&59==n.seconds&&S(d[0])),"yes"===m&&("yes"===f?"yes"===p?59==n.seconds&&S(d[2]):59==n.seconds&&S(d[1]):"yes"===p?59==n.seconds&&S(d[1]):59==n.seconds&&S(d[0])),"yes"===u&&("yes"===f?"yes"===p?"yes"===m&&S(d[3]):S("yes"===m?d[2]:d[1]):"yes"===p?"yes"===m&&S(d[2]):S("yes"===m?d[1]:d[0])),n.all<=1&&(clearInterval(t),"yes"===f&&(i.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===p&&("yes"===f?a(i).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===m&&("yes"===f||"yes"===p?a(i).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===u&&("yes"===f||"yes"===p||"yes"===m?a(i).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),e.hasClass("elementor-element-edit-mode")||c.length>0&&c.forEach((function(a){"redirect"===a&&($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==$url1&&(window.location.href=$url1)),"hide"===a&&(e.find("#timer").css("display","none"),e.find(".egt-title").css("display","none"),e.find(".desc").css("display","none")),"message"===a&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===a&&($p_secs=e.closest("section"),$p_secs.css("display","none"))})))}),1e3))})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-comparisontable.default",(function(e,a){a(e.find(".eae-ct-heading")[0]).addClass("active"),e.find("ul").on("click","li",(function(){var t=a(this).index()+2;e.find("tr").find("td:not(:eq(0))").hide(),e.find("td:nth-child("+t+")").css("display","table-cell"),e.find("tr").find("th:not(:eq(0))").hide(),e.find("li").removeClass("active"),a(this).addClass("active")}));var t=window.matchMedia("(min-width: 767px)");function i(a){a.matches?e.find(".sep").attr("colspan",5):e.find(".sep").attr("colspan",2)}t.addListener(i),i(t)})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin1",r),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin2",r),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin3",r),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin4",r),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin5",r),elementorFrontend.hooks.addAction("frontend/element_ready/eae-filterableGallery.default",(function(e,a){var t=e.find(".eae-fg-wrapper"),i=e.data("id"),n=t.attr("data-maxtilt"),r=t.attr("data-perspective"),d=t.attr("data-speed"),s=t.attr("data-tilt-axis"),o=t.attr("data-glare"),l=parseInt(t.attr("data-overlay-speed"));if(s="x"===s?"y":"y"===s?"x":"both","yes"===o)var c=t.attr("data-max-glare");o="yes"===o;var f=a(".elementor-element-"+i+" .eae-fg-image"),p=t.hasClass("masonry-yes")?"masonry":"fitRows";f.outerHeight();adata={percentPosition:!0,animationOptions:{duration:750,easing:"linear",queue:!1}},"fitRows"===p&&(adata.layoutMode="fitRows"),"masonry"===p&&(adata.masonry={columnWidth:".eae-gallery-item",horizontalOrder:!0}),e.hasClass("eae-show-all-yes")||(e.find(".eae-gallery-filter a").first().addClass("current"),adata.filter=e.find(".eae-gallery-filter a").first().attr("data-filter"));var m=f.isotope(adata);m.imagesLoaded().progress((function(){m.isotope("layout")})),e.find(".eae-tilt-yes")&&(atilt={maxTilt:n,perspective:r,easing:"linear",scale:1,speed:d,disableAxis:s,transition:!0,reset:!0,glare:o,maxGlare:c},e.find(".el-tilt").tilt(atilt)),a(".elementor-element-"+i+" .eae-gallery-filter a").on("click",(function(){e.find(".eae-gallery-filter .current").removeClass("current"),a(this).addClass("current");var t=a(this).attr("data-filter");adata.filter=t;var i=f.isotope(adata);return i.imagesLoaded().progress((function(){if(i.isotope("layout"),isEditMode)return!1;e.find(".eae-tilt-yes")&&(e.find(".el-tilt").tilt(atilt),e.find(".el-tilt").tilt.reset.call(e.find(".el-tilt")))})),!1})),t.hasClass("eae-hover-direction-effect")||e.find(".eae-gallery-item-inner").hover((function(){a(this).find(".eae-grid-overlay").addClass("animated")})),t.hasClass("eae-hover-direction-effect")&&(e.find(".eae-gallery-item-inner").hover((function(){a(this).find(".eae-grid-overlay").addClass("overlay")})),t.find(".eae-gallery-item-inner").EAEHoverDirection({speed:l}))})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-content-switcher.skin1",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-content-switcher.skin2",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-content-switcher.skin3",s),elementorFrontend.hooks.addAction("frontend/element_ready/eae-content-switcher.skin4",s),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e,a){isEditMode||e.data("wts-url")&&"yes"==e.data("wts-link")&&e.on("click",(function(a){e.data("wts-url")&&"yes"==e.data("wts-new-window")?window.open(e.data("wts-url")):location.href=e.data("wts-url")}))})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-thumbgallery.default",(function(e,a){swiper_outer_wrapper=e.find(".eae-swiper-outer-wrapper"),wid=e.data("id"),wClass=".elementor-element-"+wid,thumb_outer_wrapper=e.find(".eae-gallery-thumbs");let t=swiper_outer_wrapper.data("swiper-settings"),i=swiper_outer_wrapper.data("slides-per-view"),n=swiper_outer_wrapper.data("space");const r=eae.breakpoints;let d={};d[r.lg-1]={slidesPerView:i.desktop,spaceBetween:n.desktop},d[r.md-1]={slidesPerView:i.tablet,spaceBetween:n.tablet};const s=eae.breakpoints;let o={};if(o[s.lg-1]={spaceBetween:t.spaceBetween.desktop},o[s.md-1]={spaceBetween:t.spaceBetween.tablet},sliderData={direction:"horizontal",effect:t.effect,keyboard:{enabled:t.keyboard},spaceBetween:t.spaceBetween.mobile,breakpoints:o,speed:t.speed,loop:"yes"===t.loop,thumbs:{swiper:{el:thumb_outer_wrapper,direction:"horizontal",spaceBetween:n.mobile,slidesPerView:i.mobile,navigation:{nextEl:wClass+" .eae-swiper-button-next",prevEl:wClass+" .eae-swiper-button-prev"},speed:t.speed,loop:"yes"===t.loop,freeMode:!0,watchSlidesVisibility:!0,watchSlidesProgress:!0,breakpoints:d,slideToClickedSlide:!0}}},void 0!==t.autoplay&&(sliderData.thumbs.swiper.autoplay={delay:t.autoplay.duration,disableOnInteraction:t.autoplay.disableOnInteraction,reverseDirection:t.autoplay.reverseDirection}),"yes"==t.navigation&&(sliderData.navigation={nextEl:wClass+" .eae-swiper-button-next",prevEl:wClass+" .eae-swiper-button-prev"}),""!==t.pagination&&(sliderData.pagination={type:t.pagination,el:wClass+" .swiper-pagination",clickable:t.clickable}),void 0!==t.autoplay&&(sliderData.autoplay={delay:t.autoplay.duration,disableOnInteraction:t.autoplay.disableOnInteraction,reverseDirection:t.autoplay.reverseDirection}),"undefined"==typeof Swiper){new(0,elementorFrontend.utils.swiper)(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .eae-swiper-container",sliderData).then(e=>{sswiper=e})}else window.sswiper=new Swiper(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .eae-swiper-container",sliderData),a(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .eae-swiper-container").css("visibility","visible");if(void 0!==t.autoplay){"yes"==t.autoplay.pauseOnHover&&jQuery(wClass+" .eae-swiper-container").hover((function(){sswiper.autoplay.stop(),sswiper.thumbs.swiper.autoplay.stop()}),(function(){sswiper.autoplay.start(),sswiper.thumbs.swiper.autoplay.start()}))}})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-chart.bar",o),elementorFrontend.hooks.addAction("frontend/element_ready/eae-chart.horizontalBar",o),elementorFrontend.hooks.addAction("frontend/element_ready/eae-chart.line",o),elementorFrontend.hooks.addAction("frontend/element_ready/eae-data-table.default",(function(e,a){const t=e.find(".eae-table"),i=e.find(".eae-table-container");lottie_class=e.find(".eae-lottie"),settings=t.data("settings"),lottie_class.each((function(){let e=a(this).data("lottie-settings"),t=lottie.loadAnimation({container:document.getElementById(e.id),path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)})),!0===settings.sort?(head_class=a(".eae-table thead tr:not(:last-child)").addClass("eae-sort__ignoreRow"),t.tablesorter({sortReset:!1,sortRestart:!0})):head_class=a(".eae-table thead tr:not(:last-child)").removeClass("eae-sort__ignoreRow"),settings.search&&i.find("#eae-searchable").keyup((function(){_this=this,t.find(".eae-table__body tr").each((function(){-1===a(this).text().toLowerCase().indexOf(a(_this).val().toLowerCase())?a(this).addClass("eae-table-search-hide"):a(this).removeClass("eae-table-search-hide")}))}))}))}))}(jQuery);
|
1 |
+
jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/wts-gmap.default",(function(e){map=function(a){$wrapper=e.find(".eae-markers");var t=$wrapper.data("zoom"),i=a.find(".marker"),n=$wrapper.data("style"),r=($wrapper.data("scroll"),{zoom:t,center:new google.maps.LatLng(0,0),mapTypeId:google.maps.MapTypeId.ROADMAP,styles:n}),d=new google.maps.Map(a[0],r);return d.markers=[],i.each((function(){!function(a,t){var i=$wrapper.data("animate");$wrapper.data("show-info-window-onload");$wrapper=e.find(".eae-markers");var n=new google.maps.LatLng(a.attr("data-lat"),a.attr("data-lng"));if(icon_img=a.attr("data-icon"),""!=icon_img)var r={url:a.attr("data-icon"),scaledSize:new google.maps.Size(a.attr("data-icon-size"),a.attr("data-icon-size"))};var d=new google.maps.Marker({position:n,map:t,icon:r,animation:google.maps.Animation.DROP});"animate-yes"==i&&"yes"!=a.data("info-window")&&d.setAnimation(google.maps.Animation.BOUNCE);"animate-yes"==i&&google.maps.event.addListener(d,"click",(function(){d.setAnimation(null)}));if(t.markers.push(d),a.html()){var s=new google.maps.InfoWindow({content:a.html()});"yes"==a.data("info-window")&&s.open(t,d),google.maps.event.addListener(d,"click",(function(){s.open(t,d)}))}"animate-yes"==i&&google.maps.event.addListener(s,"closeclick",(function(){d.setAnimation(google.maps.Animation.BOUNCE)}))}(jQuery(this),d)})),function(e,a){var t=new google.maps.LatLngBounds;jQuery.each(e.markers,(function(e,a){var i=new google.maps.LatLng(a.position.lat(),a.position.lng());t.extend(i)})),1==e.markers.length?(e.setCenter(t.getCenter()),e.setZoom(a)):e.fitBounds(t)}(d,t),d}(e.find(".eae-markers"))})),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e){var a,t,i,n,r,d,s,o=[],l=[],c=e.children(".eae-section-bs").children(".eae-section-bs-inner");c&&c.data("eae-bg-slider")&&(slider_images=c.data("eae-bg-slider"),a=c.data("eae-bg-slider-transition"),t=c.data("eae-bg-slider-animation"),n=("yes"==(i=c.data("eae-bg-custom-overlay"))||c.data("eae-bg-slider-overlay"),eae_editor.plugin_url+"assets/lib/vegas/overlays/"+c.data("eae-bg-slider-overlay")),r=c.data("eae-bg-slider-cover"),d=c.data("eae-bs-slider-delay"),s=c.data("eae-bs-slider-timer"),"undefined"!=typeof slider_images&&(o=slider_images.split(","),jQuery.each(o,(function(e,a){var t=[];t.src=a,l.push(t)})),c.vegas({slides:l,transition:a,animation:t,overlay:n,cover:r,delay:d,timer:s,init:function(){"yes"==i&&c.children(".vegas-overlay").css("background-image","")}})))}))}));var isEditMode=!1,breakpoints=eae.breakpoints;!function(e){e(window).on("elementor/frontend/init",(function(){var a=function(e,a){function t(e){$icons=a(document).find(e).find(".eae-ic-icon-wrap"),window.innerWidth<767?$icons.each((function(e,t){a(t).css("top",a(t).height()/2+8+"px"),a(t).next(".eae-info-circle-item__content-wrap").css("padding-top",a(t).height()/2+8+"px")})):$icons.each((function(e,t){a(t).css("margin-left",-.5*a(t).outerWidth()),a(t).css("margin-top",-.5*a(t).outerHeight()),$a=function(e){return e=(e-90)*Math.PI/180,{x:50+45*Math.cos(e),y:50+45*Math.sin(e)}}($angle),$b=360/$icons.length,a(t).css("left",$a.x+"%"),a(t).css("top",$a.y+"%"),$angle+=$b}))}$wrap_class=".elementor-element-"+e.data("id"),$angle=0,t(e);var i=null;function n(){"yes"==e.find(".eae-info-circle").data("autoplay")&&(i=setInterval(r,$autoplayDuration))}function r(){e.find(".eae-active").next().length>0?e.find(".eae-active").next().addClass("eae-active").siblings().removeClass("eae-active"):e.find(".eae-info-circle-item").eq(0).addClass("eae-active").siblings().removeClass("eae-active")}$autoplayDuration=e.find(".eae-info-circle").data("delay"),n(),e.find(".eae-ic-icon-wrap").hover((function(){clearInterval(i)}),(function(){n()})),e.find(".eae-info-circle-item").length>0&&a(e.find(".eae-info-circle-item")[0]).addClass("eae-active"),e.find(".eae-ic-icon-wrap").on("click",(function(){e.find(".eae-info-circle-item").removeClass("eae-active"),a(this).parent().addClass("eae-active")})),e.hasClass("eae-mouseenter-yes")&&e.find(".eae-ic-icon-wrap").on("mouseenter",(function(){e.find(".eae-info-circle-item").removeClass("eae-active"),a(this).parent().addClass("eae-active")})),window.addEventListener("resize",t.bind(this,$wrap_class))},t=function(e,a){function t(){var t=e.find(".eae-timline-progress-bar"),i=e.find(".eae-timeline-item"),n=e.find(".eae-timeline");const r=n.data("top-offset");var d=a(n).height(),s=a(i).last().find(".eae-tl-icon-wrapper").offset().top-a(i[0]).parent().offset().top,o=e.find(".eae-tl-icon-wrapper");a(t).css("top",a(i[0]).find(".eae-tl-icon-wrapper").offset().top-a(i[0]).parent().offset().top),a(t).css("bottom",d-s),a(t).css("left",o.eq(0)[0].offsetLeft+o.eq(0).width()/2),a(t).css("display","block"),i.each((function(e,t){new Waypoint({element:a(t),handler:function(e){"down"==e?a(t).addClass("eae-tl-item-focused"):a(t).removeClass("eae-tl-item-focused")},offset:r})}))}t(),window.addEventListener("resize",t),window.addEventListener("scroll",(function(){e.find(".eae-timline-progress-bar");const t=e.find(".eae-timeline").data("top-offset");e.find(".eae-pb-inner-line").css("height",a(window).scrollTop()-e.find(".eae-timeline").offset().top+t),e.find(".eae-pb-inner-line").css("max-height",e.find(".eae-pb-inner-line").parent().height())}))};function i(e,a,t){var i=new Date;i.setTime(i.getTime()+60*t*60*1e3);var n="expires="+i.toUTCString();document.cookie=e+"="+a+";"+n+";path=/"}function n(e){for(var a=e+"=",t=decodeURIComponent(document.cookie).split(";"),i=0;i<t.length;i++){for(var n=t[i];" "==n.charAt(0);)n=n.substring(1);if(0==n.indexOf(a))return n.substring(a.length,n.length)}return""}var r=function(e,a){$is_rtl=jQuery("body").hasClass("rtl"),$wrapper=e.find(".eae-progress-bar");$wrapper.attr("data-skill");var t=$wrapper.attr("data-value"),i=$wrapper.attr("data-skin"),n=$wrapper.find(".eae-pb-bar-skill"),r=$wrapper.find(".eae-pb-bar-value"),d=$wrapper.find(".eae-pb-bar"),s=$wrapper.find(".eae-pb-bar-inner");"skin1"===i&&a(s).attr("style","width : "+t+"%"),"skin2"===i&&a(s).attr("style","width : "+t+"%"),"skin3"===i&&(a(r).addClass("eae-pb-bar-value--aligned-value"),$is_rtl?a(r).attr("style","right :"+t+"%"):a(r).attr("style","left :"+t+"%"),a(s).attr("style","width :"+t+"%")),"skin4"===i&&(a(r).addClass("eae-pb-bar-value--aligned-value"),$is_rtl?a(r).attr("style","right :"+t+"%"):a(r).attr("style","left :"+t+"%"),a(s).attr("style","width :"+t+"%"),a(d).addClass("eae-pb-bar--no-overflow")),"skin5"===i&&(a(r).addClass("eae-pb-bar-value--aligned-value"),$is_rtl?a(r).attr("style","right :"+t+"%"):a(r).attr("style","left :"+t+"%"),a(s).attr("style","width :"+t+"%")),$wrapper.each((function(e,t){new Waypoint({element:t,skill_value:a(t).find(".eae-pb-bar-skill"),valueElem:a(t).find(".eae-pb-bar-value"),prgBar:a(t).find(".eae-pb-bar-bar"),prgInner:a(t).find(".eae-pb-bar-inner"),handler:function(e){"down"==e&&(a(r).hasClass("js-animated")||a(r).addClass("js-animated"),a(s).hasClass("js-animated")||a(s).addClass("js-animated"),a(n).hasClass("js-animated")||a(n).addClass("js-animated"))},offset:"bottom-in-view"})}))},d=function(e,a){var t=e.find(".eae-content-switcher-wrapper"),i=(e.data("id"),t.find(".eae-content-switch-button"));i.each((function(e,n){a(this).on("click",(function(e){e.preventDefault();let n=a(this).find(".eae-content-switch-label");if(!a(this).hasClass("active")){a(i).removeClass("active");let e=a(n).attr("id");a(this).addClass("active");var r=a(t).find(".eae-cs-content-section");a(r).removeClass("active");let d=a(t).find(".eae-content-section-"+e);a(d).addClass("active")}}))}))},s=function(e,a){let t=e.find(".eae-content-switcher-wrapper"),i=(e.data("id"),t.find(".eae-cs-switch-label")),n=t.find(".eae-content-switch-label.primary-label");const r=a(n).attr("item_id");let d=t.find(".eae-content-switch-label.secondary-label");const s=a(d).attr("item_id");let o=t.find(".eae-cs-content-section.eae-content-section-"+r),l=t.find(".eae-cs-content-section.eae-content-section-"+s);a(i).on("click",(function(e){a(this).find("input.eae-content-toggle-switch").is(":checked")?(d.addClass("active"),l.addClass("active"),n.removeClass("active"),o.removeClass("active")):(n.addClass("active"),o.addClass("active"),d.removeClass("active"),l.removeClass("active"))}))};e.fn.EAEHoverDirection=function(a){var t=e.extend({inaccuracy:30,speed:200},a);this.find(".overlay").css({top:-9999999}),this.mouseenter((function(a){container=e(this),overlay=container.find(".overlay"),parentOffset=container.offset(),relX=a.pageX-parentOffset.left,relY=a.pageY-parentOffset.top,overlay.css({top:0,left:0,width:container.width(),height:container.height()}),relX>container.width()-t.inaccuracy?overlay.css({top:0,left:container.width()}):relX<t.inaccuracy?overlay.css({top:0,left:-container.width()}):relY>container.height()-t.inaccuracy?overlay.css({top:container.width(),left:0}):relY<t.inaccuracy&&overlay.css({top:-container.width(),left:0}),overlay.animate({top:0,left:0},t.speed)})),this.mouseleave((function(a){container=e(this),overlay=container.find(".overlay"),parentOffset=container.offset(),relX=a.pageX-parentOffset.left,relY=a.pageY-parentOffset.top,relX<=0&&overlay.animate({top:0,left:-container.width()},t.speed),relX>=container.width()&&overlay.animate({top:0,left:container.width()},t.speed),relY<=0&&overlay.animate({left:0,top:-container.height()},t.speed),relY>=container.height()&&overlay.animate({left:0,top:container.height()},t.speed)}))};let o=function(e,a){const t=e.find(".eae-chart-outer-container"),i=(e.data("id"),e.find("#eae-chart-canvas"));let n=t.data("settings");new Chart(i,n)};elementorFrontend.hooks.addAction("frontend/element_ready/wts-ab-image.default",(function(e,a){e.find(".eae-img-comp-container").imagesLoaded().done((function(){ab_style=e.find(".eae-img-comp-container").data("ab-style"),slider_pos=e.find(".eae-img-comp-container").data("slider-pos"),"horizontal"===ab_style?(separator_width=parseInt(e.find(".eae-img-comp-overlay").css("border-right-width")),function(e){var a,t;a=e.find(".eae-img-comp-overlay"),t=(t=a.width())*slider_pos/100,function(a){var i,n,r,d=0;function s(e){e.preventDefault(),d=1,window.addEventListener("mousemove",l),i.addEventListener("touchmove",c)}function o(){d=0}function l(e){var t;if(0==d)return!1;(t=function(e){var t;return e=e||window.event,t=a.getBoundingClientRect(),e.pageX-t.left}(e))<0&&(t=0),t>n&&(t=n),f(t)}function c(e){var t;if(0==d)return!1;(t=function(e){var t;return t=a.getBoundingClientRect(),e.changedTouches[0].clientX-t.left}(e))<0&&(t=0),t>n&&(t=n),f(t)}function f(e){a.style.width=e+"px",i.style.left=a.offsetWidth-i.offsetWidth/2-separator_width/2+"px"}n=a.offsetWidth,r=a.offsetHeight,a.style.width=t+"px",(i=(i=e.find(".eae-img-comp-slider"))[0]).style.top=r/2-i.offsetHeight/2+"px",i.style.left=t-i.offsetWidth/2-separator_width/2+"px",e.hasClass("elementor-element-edit-mode")||(i.addEventListener("mousedown",s),window.addEventListener("mouseup",o),i.addEventListener("touchstart",s),window.addEventListener("touchstop",o))}(a[0])}(e)):(separator_width=parseInt(e.find(".eae-img-comp-overlay").css("border-bottom-width")),function(e){var a;a=e.find(".eae-img-comp-overlay"),start_pos=a.height(),start_pos=start_pos*slider_pos/100,function(a){var t,i,n,r=0;function d(e){e.preventDefault(),r=1,window.addEventListener("mousemove",o),t.addEventListener("touchmove",l)}function s(){r=0}function o(e){var t;if(0==r)return!1;(t=function(e){var t,i=0;return e=e||window.event,t=a.getBoundingClientRect(),i=e.pageY-t.top,i-=window.pageYOffset}(e))<0&&(t=0),t>n&&(t=n),c(t)}function l(e){var t;if(0==r)return!1;(t=function(e){var t;return t=a.getBoundingClientRect(),e.changedTouches[0].clientY-t.top}(e))<0&&(t=0),t>n&&(t=n),c(t)}function c(e){a.style.height=e+"px",t.style.top=a.offsetHeight-t.offsetHeight/2-separator_width/2+"px"}i=a.offsetWidth,n=a.offsetHeight,a.style.height=start_pos+"px",(t=(t=e.find(".eae-img-comp-slider"))[0]).style.top=start_pos-t.offsetHeight/2-separator_width/2+"px",t.style.left=i/2-t.offsetWidth/2+"px",e.hasClass("elementor-element-edit-mode")||(t.addEventListener("mousedown",d),window.addEventListener("mouseup",s),t.addEventListener("touchstart",d),window.addEventListener("touchstop",s))}(a[0])}(e))}))})),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e,a){e.hasClass("eae-particle-yes")&&(id=e.data("id"),element_type=e.data("element_type"),pdata=e.data("eae-particle"),pdata_wrapper=e.find(".eae-particle-wrapper").data("eae-pdata"),"undefined"!=typeof pdata&&""!=pdata?e.find(".eae-section-bs").length>0?(e.find(".eae-section-bs").after('<div class="eae-particle-wrapper" id="eae-particle-'+id+'"></div>'),particlesJS("eae-particle-"+id,pdata)):("column"==element_type?e.prepend('<div class="eae-particle-wrapper" id="eae-particle-'+id+'"></div>'):e.prepend('<div class="eae-particle-wrapper " id="eae-particle-'+id+'"></div>'),particlesJS("eae-particle-"+id,pdata)):"undefined"!=typeof pdata_wrapper&&""!=pdata_wrapper&&(element_type,e.prepend('<div class="eae-particle-wrapper eae-particle-area" id="eae-particle-'+id+'"></div>'),particlesJS("eae-particle-"+id,JSON.parse(pdata_wrapper))))})),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e,a){if(e.hasClass("eae-animated-gradient-yes")){id=e.data("id"),color=e.data("color"),angle=e.data("angle");var t="linear-gradient("+angle+","+color+")";heading=e.find(".elementor-heading-title"),e.css("background-image",t),e.hasClass("elementor-element-edit-mode")&&(color=e.find(".animated-gradient").data("color"),angle=e.find(".animated-gradient").data("angle"),gradient_color_editor="linear-gradient("+angle+","+color+")",e.prepend('<div class="animated-gradient" style="background-image : '+gradient_color_editor+' "></div>'))}})),elementorFrontend.hooks.addAction("frontend/element_ready/wts-modal-popup.default",(function(e,a){$preview_modal=e.find(".eae-popup-wrapper").data("preview-modal"),$close_btn_type=e.find(".eae-popup-wrapper").data("close-button-type"),$close_btn=e.find(".eae-popup-wrapper").data("close-btn"),"icon"==$close_btn_type?$close_btn_html='<i class="eae-close '+$close_btn+'"> </i>':$close_btn_html='<svg class="eae-close" style="-webkit-mask: url('+$close_btn+"); mask: url("+$close_btn+'); "></svg>',$magnific=e.find(".eae-popup-link").eaePopup({type:"inline",disableOn:0,key:null,midClick:!1,mainClass:"eae-popup eae-popup-"+e.find(".eae-popup-link").data("id")+" eae-wrap-"+e.find(".eae-popup-link").data("ctrl-id"),preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:e.find(".eae-popup-wrapper").data("close-in-out"),showCloseBtn:!0,enableEscapeKey:!1,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:!0,fixedBgPos:"auto",overflowY:"auto",closeMarkup:$close_btn_html,tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}),"yes"==$preview_modal&&e.hasClass("elementor-element-edit-mode")&&e.find(".eae-popup-link").click()})),elementorFrontend.hooks.addAction("frontend/element_ready/wts-testimonial-slider.default",(function(e,a){if(e.find(".eae-grid-wrapper").hasClass("eae-masonry-yes")){var t=e.find(".eae-grid").masonry({});t.imagesLoaded().progress((function(){t.masonry("layout")}))}if(e.find(".eae-layout-carousel").length){outer_wrapper=e.find(".eae-swiper-outer-wrapper"),wid=e.data("id"),wclass=".elementor-element-"+wid;var i=outer_wrapper.data("direction"),n=outer_wrapper.data("speed"),r=outer_wrapper.data("autoplay"),d=outer_wrapper.data("duration"),s=outer_wrapper.data("effect"),o=outer_wrapper.data("space"),l=outer_wrapper.data("loop");l="yes"==l;var c=outer_wrapper.data("slides-per-view"),f=outer_wrapper.data("slides-per-group"),p=outer_wrapper.data("ptype"),m=outer_wrapper.data("navigation"),u=outer_wrapper.data("clickable"),g=outer_wrapper.data("keyboard"),h=outer_wrapper.data("scrollbar");adata={direction:i,effect:s,spaceBetween:o.desktop,loop:l,speed:n,slidesPerView:c.desktop,slidesPerGroup:f.desktop,observer:!0,mousewheel:{invert:!0},breakpoints:{1024:{spaceBetween:o.tablet,slidesPerView:c.tablet,slidesPerGroup:f.tablet},767:{spaceBetween:o.mobile,slidesPerView:c.mobile,slidesPerGroup:f.mobile}}},"fade"==s&&(adata.fadeEffect={crossFade:!1}),adata.autoplay="yes"==r&&{delay:d,disableOnInteraction:!1},"yes"==m&&(adata.navigation={nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}),""!=p&&(adata.pagination={el:".swiper-pagination",type:p}),"bullets"==p&&"yes"==u&&(adata.pagination={el:".swiper-pagination",clickable:!0,type:p}),"yes"==h&&(adata.scrollbar={el:".swiper-scrollbar",draggable:!0}),"yes"==g&&(adata.keyboard={enabled:!0,onlyInViewport:!0}),0==l&&(adata.autoplay={delay:d,stopOnLastSlide:!0,disableOnInteraction:!1}),window.mswiper=new Swiper(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .swiper-container",adata),a(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .swiper-container").css("visibility","visible")}})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin1",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin2",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin3",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin4",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin1",t),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin2",t),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin3",t),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin4",t),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin1",(function(e,a){var t=e.find(".eae-evergreen-wrapper").data("egtime"),r=e.find(".eae-evergreen-wrapper").data("egt-expire"),d=e.find(".eae-evergreen-wrapper").data("element-type"),s="eae-"+e.find(".eae-evergreen-wrapper").data("id"),o="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),l=e.find(".eae-evergreen-wrapper").data("actions"),c=e.find(".eae-evergreen-wrapper").data("unqid"),f=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===d){u=new Date(t),t=u.getTime();var p="expires="+u.toUTCString();document.cookie=o+"="+u.getTime()+";"+p+";path=/"}else{var m=n(s),u="";if(""!==m){(u=new Date(parseInt(m))).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),t=u.getTime();var g=new Date(parseInt(m));g.setTime(g.getTime()+60*r*60*1e3);var h="expires="+g.toUTCString();document.cookie=s+"="+m+";"+h+";path=/";var v=new Date(parseInt(m));v.setTime(v.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));p="expires="+v.toUTCString();t-f>0&&(document.cookie=o+"="+m+";"+p+";path=/")}else{temp_date=t,(u=new Date).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),t=u.getTime(),i(s,(new Date).getTime(),r);var w=new Date;w.setTime(w.getTime()+1e3*temp_date);var y="expires="+w.toUTCString();document.cookie=o+"="+(new Date).getTime()+";"+y+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")&&t-f<0)return l.length>0&&l.forEach((function(t){"redirect"===t&&($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==a.trim($url)&&(window.location.href=$url1)),"hide"===t&&(e.hasClass("elementor-element-edit-mode")||(e.find("#eaeclockdiv").css("display","none"),e.find(".egt-title").css("display","none"))),"message"===t&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===t&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))})),days="00",hours="00",minutes="00",seconds="00",e.find("."+c).find("#eaedivDays").html(days),e.find("."+c).find("#eaedivHours").html(hours.slice(-2)),e.find("."+c).find("#eaedivMinutes").html(minutes.slice(-2)),void e.find("."+c).find("#eaedivSeconds").html(seconds.slice(-2));e.hasClass("elementor-element-edit-mode")&&("countdown"===d?(u=new Date(t),t=u.getTime()):((u=new Date).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),t=u.getTime()));var k=setInterval((function(){var i=(new Date).getTime(),n=t-i,r=0,d=0,s=0,o=0;n>0?(r=Math.floor(n/864e5),d="0"+Math.floor(n%864e5/36e5),s="0"+Math.floor(n%36e5/6e4),o="0"+Math.floor(n%6e4/1e3)):(l.length>0&&(e.hasClass("elementor-element-edit-mode")||l.forEach((function(t){"redirect"===t&&($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==a.trim($url1)&&(window.location.href=$url1)),"hide"===t&&(e.find("#eaeclockdiv").css("display","none"),e.find(".egt-title").css("display","none")),"message"===t&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===t&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))}))),clearInterval(k),r="0",d="00",s="00",o="00"),r<10&&(r="0"+r),e.find("."+c).find("#eaedivDays").html(r),e.find("."+c).find("#eaedivHours").html(d.slice(-2)),e.find("."+c).find("#eaedivMinutes").html(s.slice(-2)),e.find("."+c).find("#eaedivSeconds").html(o.slice(-2))}),1e3)})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin2",(function(e,a){var t=e.find(".eae-evergreen-wrapper").data("egtime"),r=e.find(".eae-evergreen-wrapper").data("egt-expire"),d=e.find(".eae-evergreen-wrapper").data("element-type"),s="eae-"+e.find(".eae-evergreen-wrapper").data("id"),o="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),l=e.find(".eae-evergreen-wrapper").data("actions"),c=e.find(".eae-evergreen-wrapper").data("unqid"),f=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===d){u=new Date(t),t=u.getTime();var p="expires="+u.toUTCString();document.cookie=o+"="+u.getTime()+";"+p+";path=/"}else{var m=n(s),u="";if(""!==m){(u=new Date(parseInt(m))).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),t=u.getTime();var g=new Date(parseInt(m));g.setTime(g.getTime()+60*r*60*1e3);var h="expires="+g.toUTCString();document.cookie=s+"="+m+";"+h+";path=/";var v=new Date(parseInt(m));v.setTime(v.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));p="expires="+v.toUTCString();t-f>0&&(document.cookie=o+"="+m+";"+p+";path=/")}else{temp_date=t,(u=new Date).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),t=u.getTime(),i(s,(new Date).getTime(),r);var w=new Date;w.setTime(w.getTime()+1e3*temp_date);var y="expires="+w.toUTCString();document.cookie=o+"="+(new Date).getTime()+";"+y+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")&&t-f<0)return void(l.length>0&&l.forEach((function(t){"redirect"===t&&($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==a.trim($url)&&(window.location.href=$url)),"hide"===t&&(e.find("."+c).find(".timer-container").css("display","none"),e.find("."+c).find(".egt-title").css("display","none")),"message"===t&&e.find("."+c).find(".eae-egt-message").css("display","block"),"hide_parent"===t&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))})));e.hasClass("elementor-element-edit-mode")&&("countdown"===d?(u=new Date(t),t=u.getTime()):((u=new Date).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),t=u.getTime()));var k=setInterval((function(){var i=(new Date).getTime(),n=t-i,r=Math.floor(n/864e5),d=Math.floor(n%864e5/36e5),s=Math.floor(n%36e5/6e4),o=Math.floor(n%6e4/1e3);if(e.find("."+c).find("#eaeulSec1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulSec").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulSec").find(".flip-clock-before").removeClass("flip-clock-before"),n<0)return clearInterval(k),void(l.length>0&&l.forEach((function(t){"redirect"===t&&(e.hasClass("elementor-element-edit-mode")||($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==a.trim($url1)&&(window.location.href=$url1))),"hide"===t&&(e.hasClass("elementor-element-edit-mode")||(e.find("."+c).find(".timer-container").css("display","none"),e.find("."+c).find(".egt-title").css("display","none"))),"message"===t&&(e.hasClass("elementor-element-edit-mode")||e.find("."+c).find(".eae-egt-message").css("display","block")),"hide_parent"===t&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))})));if(2===a.trim(o).length){var f="#eaeulSec1 li:eq( "+a.trim(o).charAt(1)+" )",p="#eaeulSec li:eq( "+a.trim(o).charAt(0)+" )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec li:first-child").addClass("flip-clock-before"))}else{f="#eaeulSec1 li:eq( "+a.trim(o).charAt(0)+" )",p="#eaeulSec li:eq( 0 )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulMin1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulMin").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulMin").find(".flip-clock-before").removeClass("flip-clock-before"),2==a.trim(s).length){f="#eaeulMin1 li:eq( "+a.trim(s).charAt(1)+" )",p="#eaeulMin li:eq( "+a.trim(s).charAt(0)+" )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin li:first-child").addClass("flip-clock-before"))}else{f="#eaeulMin1 li:eq( "+a.trim(s).charAt(0)+" )",p="#eaeulMin li:eq( 0 )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulHour1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulHour1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulHour").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulHour").find(".flip-clock-before").removeClass("flip-clock-before"),2==a.trim(d).length){f="#eaeulHour1 li:eq( "+a.trim(d).charAt(1)+" )",p="#eaeulHour li:eq( "+a.trim(d).charAt(0)+" )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before"))}else{f="#eaeulHour1 li:eq( "+a.trim(d).charAt(0)+" )",p="#eaeulHour li:eq( 0 )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulDay1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulDay1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulDay").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulDay").find(".flip-clock-before").removeClass("flip-clock-before"),2==a.trim(r).length){f="#eaeulDay1 li:eq( "+a.trim(r).charAt(1)+" )",p="#eaeulDay li:eq( "+a.trim(r).charAt(0)+" )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before"))}else{f="#eaeulDay1 li:eq( "+a.trim(r).charAt(0)+" )",p="#eaeulDay li:eq( 0 )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before"))}}),1e3)})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin3",(function(e,a){var t,r=e.find(".eae-evergreen-wrapper").data("egtime"),d=e.find(".eae-evergreen-wrapper").data("egt-expire"),s=e.find(".eae-evergreen-wrapper").data("element-type"),o="eae-"+e.find(".eae-evergreen-wrapper").data("id"),l="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),c=e.find(".eae-evergreen-wrapper").data("actions"),f=e.find(".eae-evergreen-wrapper").data("days"),p=e.find(".eae-evergreen-wrapper").data("hours"),m=e.find(".eae-evergreen-wrapper").data("mins"),u=e.find(".eae-evergreen-wrapper").data("seconds"),g=e.find(".eae-evergreen-wrapper").data("unqid"),h=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===s){y=new Date(r),r=y.getTime();var v="expires="+y.toUTCString();document.cookie=l+"="+y.getTime()+";"+v+";path=/"}else{var w=n(o),y="";if(""!==w){(y=new Date(parseInt(w))).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),r=y.getTime();var k=new Date(parseInt(w));k.setTime(k.getTime()+60*d*60*1e3);var b="expires="+k.toUTCString();document.cookie=o+"="+w+";"+b+";path=/";var C=new Date(parseInt(w));C.setTime(C.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));v="expires="+C.toUTCString();r-h>0&&(document.cookie=l+"="+w+";"+v+";path=/")}else{temp_date=r,(y=new Date).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),r=y.getTime(),i(o,(new Date).getTime(),d);var _=new Date;_.setTime(_.getTime()+1e3*temp_date);var x="expires="+_.toUTCString();document.cookie=l+"="+(new Date).getTime()+";"+x+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")){var T=D(r);if(parseInt(T.all)<1){if(c.length>0&&(c.forEach((function(a){"redirect"===a&&(e.hasClass("elementor-element-edit-mode")||($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==$url&&(window.location.href=$url))),"hide_parent"===a&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none"))),"hide"===a&&(e.find("#timer").css("display","none"),e.find(".egt-title").css("display","none"),e.find(".desc").css("display","none")),"message"===a&&e.find(".eae-egt-message").css("display","block")})),1===c.length&&(""===c[0]||"message"===c[0]))){var $=e.find("."+g).find("#timer")[0];"yes"===f&&($.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===p&&("yes"===f?a($).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):$.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===m&&("yes"===f||"yes"===p?a($).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):$.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===u&&("yes"===f||"yes"===p||"yes"===m?a($).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):$.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>")}return}}function D(e){var a=r-new Date;return{days:Math.floor(a/864e5),hours:"0"+Math.floor(a/36e5%24),minutes:"0"+Math.floor(a/6e4%60),seconds:"0"+Math.floor(a/1e3%60),all:a}}function S(e){e.classList.add("fade"),setTimeout((function(){e.classList.remove("fade")}),700)}e.hasClass("elementor-element-edit-mode")&&("countdown"===s?(y=new Date(r),r=y.getTime()):((y=new Date).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),r=y.getTime())),D(r).all>1&&(t=setInterval((function(){var i=e.find("."+g).find("#timer")[0],n=D(r);"yes"===f&&(n.days<10&&(n.days="0"+n.days),i.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+n.days+"</div></span>"),"yes"===p&&("yes"===f?a(i).append("<span class='egt-time eae-time-wrapper'><div>"+n.hours.slice(-2)+"</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+n.hours.slice(-2)+"</div></span>"),"yes"===m&&("yes"===f||"yes"===p?a(i).append("<span class='egt-time eae-time-wrapper'><div>"+n.minutes.slice(-2)+"</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+n.minutes.slice(-2)+"</div></span>"),"yes"===u&&("yes"===f||"yes"===p||"yes"===m?a(i).append("<span class='egt-time eae-time-wrapper'><div>"+n.seconds.slice(-2)+"</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+n.seconds.slice(-2)+"</div></span>");var d=i.getElementsByTagName("span");"yes"===f&&59==n.hours&&59==n.minutes&&59==n.seconds&&S(d[0]),"yes"===p&&("yes"===f?59==n.minutes&&59==n.seconds&&S(d[1]):59==n.minutes&&59==n.seconds&&S(d[0])),"yes"===m&&("yes"===f?"yes"===p?59==n.seconds&&S(d[2]):59==n.seconds&&S(d[1]):"yes"===p?59==n.seconds&&S(d[1]):59==n.seconds&&S(d[0])),"yes"===u&&("yes"===f?"yes"===p?"yes"===m&&S(d[3]):S("yes"===m?d[2]:d[1]):"yes"===p?"yes"===m&&S(d[2]):S("yes"===m?d[1]:d[0])),n.all<=1&&(clearInterval(t),"yes"===f&&(i.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===p&&("yes"===f?a(i).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===m&&("yes"===f||"yes"===p?a(i).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===u&&("yes"===f||"yes"===p||"yes"===m?a(i).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),e.hasClass("elementor-element-edit-mode")||c.length>0&&c.forEach((function(a){"redirect"===a&&($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==$url1&&(window.location.href=$url1)),"hide"===a&&(e.find("#timer").css("display","none"),e.find(".egt-title").css("display","none"),e.find(".desc").css("display","none")),"message"===a&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===a&&($p_secs=e.closest("section"),$p_secs.css("display","none"))})))}),1e3))})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-comparisontable.default",(function(e,a){a(e.find(".eae-ct-heading")[0]).addClass("active"),e.find("ul").on("click","li",(function(){var t=a(this).index()+2;e.find("tr").find("td:not(:eq(0))").hide(),e.find("td:nth-child("+t+")").css("display","table-cell"),e.find("tr").find("th:not(:eq(0))").hide(),e.find("li").removeClass("active"),a(this).addClass("active")}));var t=window.matchMedia("(min-width: 767px)");function i(a){a.matches?e.find(".sep").attr("colspan",5):e.find(".sep").attr("colspan",2)}t.addListener(i),i(t)})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin1",r),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin2",r),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin3",r),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin4",r),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin5",r),elementorFrontend.hooks.addAction("frontend/element_ready/eae-filterableGallery.default",(function(e,a){var t=e.find(".eae-fg-wrapper"),i=e.data("id"),n=t.attr("data-maxtilt"),r=t.attr("data-perspective"),d=t.attr("data-speed"),s=t.attr("data-tilt-axis"),o=t.attr("data-glare"),l=parseInt(t.attr("data-overlay-speed"));if(s="x"===s?"y":"y"===s?"x":"both","yes"===o)var c=t.attr("data-max-glare");o="yes"===o;var f=a(".elementor-element-"+i+" .eae-fg-image"),p=t.hasClass("masonry-yes")?"masonry":"fitRows";f.outerHeight();adata={percentPosition:!0,animationOptions:{duration:750,easing:"linear",queue:!1}},"fitRows"===p&&(adata.layoutMode="fitRows"),"masonry"===p&&(adata.masonry={columnWidth:".eae-gallery-item",horizontalOrder:!0}),e.hasClass("eae-show-all-yes")||(e.find(".eae-gallery-filter a").first().addClass("current"),adata.filter=e.find(".eae-gallery-filter a").first().attr("data-filter"));var m=f.isotope(adata);m.imagesLoaded().progress((function(){m.isotope("layout")})),e.find(".eae-tilt-yes")&&(atilt={maxTilt:n,perspective:r,easing:"linear",scale:1,speed:d,disableAxis:s,transition:!0,reset:!0,glare:o,maxGlare:c},e.find(".el-tilt").tilt(atilt)),a(".elementor-element-"+i+" .eae-gallery-filter a").on("click",(function(){e.find(".eae-gallery-filter .current").removeClass("current"),a(this).addClass("current");var t=a(this).attr("data-filter");adata.filter=t;var i=f.isotope(adata);return i.imagesLoaded().progress((function(){if(i.isotope("layout"),isEditMode)return!1;e.find(".eae-tilt-yes")&&(e.find(".el-tilt").tilt(atilt),e.find(".el-tilt").tilt.reset.call(e.find(".el-tilt")))})),!1})),t.hasClass("eae-hover-direction-effect")||e.find(".eae-gallery-item-inner").hover((function(){a(this).find(".eae-grid-overlay").addClass("animated")})),t.hasClass("eae-hover-direction-effect")&&(e.find(".eae-gallery-item-inner").hover((function(){a(this).find(".eae-grid-overlay").addClass("overlay")})),t.find(".eae-gallery-item-inner").EAEHoverDirection({speed:l}))})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-content-switcher.skin1",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-content-switcher.skin2",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-content-switcher.skin3",s),elementorFrontend.hooks.addAction("frontend/element_ready/eae-content-switcher.skin4",s),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e,a){isEditMode||e.data("wts-url")&&"yes"==e.data("wts-link")&&e.on("click",(function(a){e.data("wts-url")&&"yes"==e.data("wts-new-window")?window.open(e.data("wts-url")):location.href=e.data("wts-url")}))})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-thumbgallery.default",(function(e,a){swiper_outer_wrapper=e.find(".eae-swiper-outer-wrapper"),wid=e.data("id"),wClass=".elementor-element-"+wid,thumb_outer_wrapper=e.find(".eae-gallery-thumbs");let t=swiper_outer_wrapper.data("swiper-settings"),i=swiper_outer_wrapper.data("slides-per-view"),n=swiper_outer_wrapper.data("space");const r=eae.breakpoints;let d={};d[r.lg-1]={slidesPerView:i.desktop,spaceBetween:n.desktop},d[r.md-1]={slidesPerView:i.tablet,spaceBetween:n.tablet};const s=eae.breakpoints;let o={};if(o[s.lg-1]={spaceBetween:t.spaceBetween.desktop},o[s.md-1]={spaceBetween:t.spaceBetween.tablet},sliderData={direction:"horizontal",effect:t.effect,keyboard:{enabled:t.keyboard},spaceBetween:t.spaceBetween.mobile,breakpoints:o,speed:t.speed,loop:"yes"===t.loop,thumbs:{swiper:{el:thumb_outer_wrapper,direction:"horizontal",spaceBetween:n.mobile,slidesPerView:i.mobile,navigation:{nextEl:wClass+" .eae-swiper-button-next",prevEl:wClass+" .eae-swiper-button-prev"},speed:t.speed,loop:"yes"===t.loop,freeMode:!0,watchSlidesVisibility:!0,watchSlidesProgress:!0,breakpoints:d,slideToClickedSlide:!0}}},void 0!==t.autoplay&&(sliderData.thumbs.swiper.autoplay={delay:t.autoplay.duration,disableOnInteraction:t.autoplay.disableOnInteraction,reverseDirection:t.autoplay.reverseDirection}),"yes"==t.navigation&&(sliderData.navigation={nextEl:wClass+" .eae-swiper-button-next",prevEl:wClass+" .eae-swiper-button-prev"}),""!==t.pagination&&(sliderData.pagination={type:t.pagination,el:wClass+" .swiper-pagination",clickable:t.clickable}),void 0!==t.autoplay&&(sliderData.autoplay={delay:t.autoplay.duration,disableOnInteraction:t.autoplay.disableOnInteraction,reverseDirection:t.autoplay.reverseDirection}),"undefined"==typeof Swiper){new(0,elementorFrontend.utils.swiper)(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .eae-swiper-container",sliderData).then(e=>{sswiper=e})}else window.sswiper=new Swiper(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .eae-swiper-container",sliderData),a(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .eae-swiper-container").css("visibility","visible");if(void 0!==t.autoplay){"yes"==t.autoplay.pauseOnHover&&jQuery(wClass+" .eae-swiper-container").hover((function(){sswiper.autoplay.stop(),sswiper.thumbs.swiper.autoplay.stop()}),(function(){sswiper.autoplay.start(),sswiper.thumbs.swiper.autoplay.start()}))}})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-chart.bar",o),elementorFrontend.hooks.addAction("frontend/element_ready/eae-chart.horizontalBar",o),elementorFrontend.hooks.addAction("frontend/element_ready/eae-chart.line",o),elementorFrontend.hooks.addAction("frontend/element_ready/eae-data-table.default",(function(e,a){const t=e.find(".eae-table"),i=e.find(".eae-table-container");lottie_class=e.find(".eae-lottie"),settings=t.data("settings"),lottie_class.each((function(){let e=a(this).data("lottie-settings"),t=lottie.loadAnimation({container:document.getElementById(e.id),path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)})),!0===settings.sort?(head_class=a(".eae-table thead tr:not(:last-child)").addClass("eae-sort__ignoreRow"),t.tablesorter({sortReset:!1,sortRestart:!0})):head_class=a(".eae-table thead tr:not(:last-child)").removeClass("eae-sort__ignoreRow"),settings.search&&i.find("#eae-searchable").keyup((function(){_this=this,t.find(".eae-table__body tr").each((function(){-1===a(this).text().toLowerCase().indexOf(a(_this).val().toLowerCase())?a(this).addClass("eae-table-search-hide"):a(this).removeClass("eae-table-search-hide")}))}))})),elementorFrontend.hooks.addAction("frontend/element_ready/CfStyler.default",(function(e,a){if(e.hasClass("elementor-element-edit-mode")&&a("#error-field-hidden").hasClass("validation-field-box")){e.find(".wpcf7-validates-as-required").parent().append("<p class='error-field'>The field is required.</p>")}}))}))}(jQuery);
|
classes/helper.php
CHANGED
@@ -1428,6 +1428,11 @@ class Helper {
|
|
1428 |
'enabled' => true,
|
1429 |
'type' => 'widget',
|
1430 |
],
|
|
|
|
|
|
|
|
|
|
|
1431 |
];
|
1432 |
|
1433 |
$saved_modules = get_option( 'wts_eae_elements' );
|
1428 |
'enabled' => true,
|
1429 |
'type' => 'widget',
|
1430 |
],
|
1431 |
+
// 'cf-styler' => [
|
1432 |
+
// 'name' => 'Cf7 Styler',
|
1433 |
+
// 'enabled' => true,
|
1434 |
+
// 'type' => 'widget',
|
1435 |
+
// ],
|
1436 |
];
|
1437 |
|
1438 |
$saved_modules = get_option( 'wts_eae_elements' );
|
elementor-addon-elements.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Elementor Addon Elements comes with 25+ widgets and extensions to extend the power of Elementor Page Builder.
|
6 |
* Plugin URI: https://www.elementoraddons.com/elements-addon-elements/
|
7 |
* Author: WPVibes
|
8 |
-
* Version: 1.11.
|
9 |
* Author URI: https://wpvibes.com/
|
10 |
* Elementor tested up to: 3.4.0
|
11 |
* Elementor Pro tested up to: 3.4.0
|
@@ -16,7 +16,7 @@ define( 'EAE_FILE', __FILE__ );
|
|
16 |
define( 'EAE_URL', plugins_url( '/', __FILE__ ) );
|
17 |
define( 'EAE_PATH', plugin_dir_path( __FILE__ ) );
|
18 |
define( 'EAE_SCRIPT_SUFFIX', defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min' );
|
19 |
-
define( 'EAE_VERSION', '1.11.
|
20 |
|
21 |
|
22 |
if ( ! function_exists( '_is_elementor_installed' ) ) {
|
5 |
* Description: Elementor Addon Elements comes with 25+ widgets and extensions to extend the power of Elementor Page Builder.
|
6 |
* Plugin URI: https://www.elementoraddons.com/elements-addon-elements/
|
7 |
* Author: WPVibes
|
8 |
+
* Version: 1.11.11
|
9 |
* Author URI: https://wpvibes.com/
|
10 |
* Elementor tested up to: 3.4.0
|
11 |
* Elementor Pro tested up to: 3.4.0
|
16 |
define( 'EAE_URL', plugins_url( '/', __FILE__ ) );
|
17 |
define( 'EAE_PATH', plugin_dir_path( __FILE__ ) );
|
18 |
define( 'EAE_SCRIPT_SUFFIX', defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min' );
|
19 |
+
define( 'EAE_VERSION', '1.11.11' );
|
20 |
|
21 |
|
22 |
if ( ! function_exists( '_is_elementor_installed' ) ) {
|
modules/animated-gradient/module.php
CHANGED
@@ -4,6 +4,7 @@ namespace WTS_EAE\Modules\AnimatedGradient;
|
|
4 |
|
5 |
use Elementor\Controls_Manager;
|
6 |
use Elementor\Repeater;
|
|
|
7 |
|
8 |
class Module {
|
9 |
// phpcs:ignore PSR2.Classes.PropertyDeclaration.Underscore
|
@@ -72,6 +73,7 @@ class Module {
|
|
72 |
[
|
73 |
'label' => __( 'Add Color', 'wts-eae' ),
|
74 |
'type' => Controls_Manager::COLOR,
|
|
|
75 |
]
|
76 |
);
|
77 |
|
@@ -144,6 +146,9 @@ class Module {
|
|
144 |
var color = [];
|
145 |
var i = 0;
|
146 |
_.each(color_list , function(color_list){
|
|
|
|
|
|
|
147 |
color[i] = color_list.eae_animated_gradient_color;
|
148 |
i = i+1;
|
149 |
});
|
4 |
|
5 |
use Elementor\Controls_Manager;
|
6 |
use Elementor\Repeater;
|
7 |
+
use Elementor\Core\Kits\Documents\Tabs\Global_Colors;
|
8 |
|
9 |
class Module {
|
10 |
// phpcs:ignore PSR2.Classes.PropertyDeclaration.Underscore
|
73 |
[
|
74 |
'label' => __( 'Add Color', 'wts-eae' ),
|
75 |
'type' => Controls_Manager::COLOR,
|
76 |
+
'default' => '#00a6d8'
|
77 |
]
|
78 |
);
|
79 |
|
146 |
var color = [];
|
147 |
var i = 0;
|
148 |
_.each(color_list , function(color_list){
|
149 |
+
if(_.isEmpty(color_list.eae_animated_gradient_color)){
|
150 |
+
color_list.eae_animated_gradient_color = "#ffffff";
|
151 |
+
}
|
152 |
color[i] = color_list.eae_animated_gradient_color;
|
153 |
i = i+1;
|
154 |
});
|
modules/cf-styler/module.php
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace WTS_EAE\Modules\CfStyler;
|
4 |
+
|
5 |
+
use WTS_EAE\Base\Module_Base;
|
6 |
+
|
7 |
+
class Module extends Module_Base
|
8 |
+
{
|
9 |
+
|
10 |
+
public function get_widgets()
|
11 |
+
{
|
12 |
+
return [
|
13 |
+
'CfStyler',
|
14 |
+
];
|
15 |
+
}
|
16 |
+
|
17 |
+
public function get_name()
|
18 |
+
{
|
19 |
+
return 'eae-cf-styler';
|
20 |
+
}
|
21 |
+
}
|
modules/cf-styler/widgets/cf-styler.php
ADDED
@@ -0,0 +1,1710 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace WTS_EAE\Modules\CfStyler\Widgets;
|
4 |
+
|
5 |
+
use Elementor\Conditions;
|
6 |
+
use Elementor\Controls_Manager;
|
7 |
+
use Elementor\Core\Kits\Documents\Tabs\Global_Colors;
|
8 |
+
use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
|
9 |
+
use Elementor\Icons_Manager;
|
10 |
+
use Elementor\Repeater;
|
11 |
+
use WTS_EAE\Base\EAE_Widget_Base;
|
12 |
+
use Elementor\Group_Control_Typography;
|
13 |
+
use Elementor\Group_Control_Border;
|
14 |
+
use Elementor\Group_Control_Background;
|
15 |
+
use Elementor\Group_Control_Text_Shadow;
|
16 |
+
use Elementor\Group_Control_Box_Shadow;
|
17 |
+
|
18 |
+
if (!defined('ABSPATH')) exit; // Exit if accessed directly
|
19 |
+
|
20 |
+
class CfStyler extends EAE_Widget_Base
|
21 |
+
{
|
22 |
+
public function get_name()
|
23 |
+
{
|
24 |
+
return 'CfStyler';
|
25 |
+
}
|
26 |
+
|
27 |
+
public function get_title()
|
28 |
+
{
|
29 |
+
return __('EAE - Cf7 Styler', 'wts-eae');
|
30 |
+
}
|
31 |
+
|
32 |
+
public function get_icon()
|
33 |
+
{
|
34 |
+
return 'eicon-form-horizontal';
|
35 |
+
}
|
36 |
+
|
37 |
+
public function get_categories()
|
38 |
+
{
|
39 |
+
return ['wts-eae'];
|
40 |
+
}
|
41 |
+
|
42 |
+
public function get_keywords()
|
43 |
+
{
|
44 |
+
return [
|
45 |
+
'cf7',
|
46 |
+
'contact',
|
47 |
+
'form',
|
48 |
+
'styler',
|
49 |
+
'cf',
|
50 |
+
'eae',
|
51 |
+
];
|
52 |
+
}
|
53 |
+
|
54 |
+
protected function get_form()
|
55 |
+
{
|
56 |
+
$formList = [];
|
57 |
+
|
58 |
+
if (class_exists('WPCF7_ContactForm')) {
|
59 |
+
$args = array(
|
60 |
+
'post_type' => 'wpcf7_contact_form',
|
61 |
+
'posts_per_page' => -1,
|
62 |
+
);
|
63 |
+
$forms = get_posts($args);
|
64 |
+
$formList['0'] = 'Select';
|
65 |
+
if ($forms) {
|
66 |
+
foreach ($forms as $form) {
|
67 |
+
$formList[$form->ID] = $form->post_title;
|
68 |
+
}
|
69 |
+
}
|
70 |
+
}
|
71 |
+
|
72 |
+
if (empty($formList)) {
|
73 |
+
$formList = array(
|
74 |
+
'-1' => __('You have not added any Contact Form 7 yet.', 'wts-eae'),
|
75 |
+
);
|
76 |
+
}
|
77 |
+
return $formList;
|
78 |
+
}
|
79 |
+
|
80 |
+
protected function _register_controls()
|
81 |
+
{
|
82 |
+
$this->start_controls_section(
|
83 |
+
'section_general',
|
84 |
+
[
|
85 |
+
'label' => __('General', 'wts-eae'),
|
86 |
+
],
|
87 |
+
);
|
88 |
+
|
89 |
+
// Select Form
|
90 |
+
$this->add_control(
|
91 |
+
'select_form',
|
92 |
+
array(
|
93 |
+
'label' => __(
|
94 |
+
'Select Form',
|
95 |
+
'wts-eae'
|
96 |
+
),
|
97 |
+
'type' => Controls_Manager::SELECT,
|
98 |
+
'options' => $this->get_form(),
|
99 |
+
'default' => '0',
|
100 |
+
'help' => __('Select a form', 'wts-eae'),
|
101 |
+
)
|
102 |
+
);
|
103 |
+
|
104 |
+
// Label On/ Off
|
105 |
+
// $this->add_control(
|
106 |
+
// 'show_title',
|
107 |
+
// [
|
108 |
+
// 'label' => __( 'Labels', 'wts-eae' ),
|
109 |
+
// 'type' => Controls_Manager::SWITCHER,
|
110 |
+
// 'label_on' => __( 'Show', 'wts-eae' ),
|
111 |
+
// 'label_off' => __( 'Hide', 'wts-eae' ),
|
112 |
+
// 'return_value' => 'yes',
|
113 |
+
// 'default' => 'yes',
|
114 |
+
// 'prefix_class' => 'eae-cf7-label-',
|
115 |
+
// ],
|
116 |
+
// );
|
117 |
+
|
118 |
+
$this->end_controls_section();
|
119 |
+
|
120 |
+
// Error/ Validation section
|
121 |
+
$this->start_controls_section(
|
122 |
+
'error_section',
|
123 |
+
array(
|
124 |
+
'label' => __('Error', 'wts-eae'),
|
125 |
+
)
|
126 |
+
);
|
127 |
+
|
128 |
+
// Error validation messages On/ Off
|
129 |
+
$this->add_control(
|
130 |
+
'show_validation_errors',
|
131 |
+
[
|
132 |
+
'label' => __('Validation Errors', 'wts-eae'),
|
133 |
+
'type' => Controls_Manager::SELECT,
|
134 |
+
'default' => 'show',
|
135 |
+
'options' => [
|
136 |
+
'show' => __('Show', 'wts-eae'),
|
137 |
+
'hide' => __('Hide', 'wts-eae'),
|
138 |
+
],
|
139 |
+
'prefix_class' => 'eae-cf7-error-validation-',
|
140 |
+
]
|
141 |
+
);
|
142 |
+
|
143 |
+
// Error output message On/ Off
|
144 |
+
$this->add_control(
|
145 |
+
'show_output_error',
|
146 |
+
[
|
147 |
+
'label' => __('Response message', 'wts-eae'),
|
148 |
+
'type' => Controls_Manager::SELECT,
|
149 |
+
'default' => 'show',
|
150 |
+
'options' => [
|
151 |
+
'show' => __('Show', 'wts-eae'),
|
152 |
+
'hide' => __('Hide', 'wts-eae'),
|
153 |
+
],
|
154 |
+
'prefix_class' => 'eae-cf7-error-output-',
|
155 |
+
]
|
156 |
+
);
|
157 |
+
|
158 |
+
$this->end_controls_section();
|
159 |
+
|
160 |
+
// Style Tab
|
161 |
+
|
162 |
+
// Text Field
|
163 |
+
$this->start_controls_section(
|
164 |
+
'text_field',
|
165 |
+
array(
|
166 |
+
'label' => __('Input/ Textarea', 'wts-eae'),
|
167 |
+
'tab' => Controls_Manager::TAB_STYLE,
|
168 |
+
)
|
169 |
+
);
|
170 |
+
|
171 |
+
// Typography
|
172 |
+
|
173 |
+
// General Field Palceholder Typography
|
174 |
+
$this->add_group_control(
|
175 |
+
Group_Control_Typography::get_type(),
|
176 |
+
[
|
177 |
+
'name' => 'text_field_placeholder_typography',
|
178 |
+
'label' => __('Typography', 'wts-eae'),
|
179 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]),{{WRAPPER}} .wts-eae-main .wpcf7 select, {{WRAPPER}} .wts-eae-main .wpcf7 textarea,.wts-eae-main .wpcf7 input::placeholder, .wts-eae-main .wpcf7 textarea::placeholder',
|
180 |
+
]
|
181 |
+
);
|
182 |
+
|
183 |
+
// Field Size
|
184 |
+
$this->add_responsive_control(
|
185 |
+
'field_width',
|
186 |
+
[
|
187 |
+
'label' => __('Field Width', 'wts-eae'),
|
188 |
+
'type' => Controls_Manager::SLIDER,
|
189 |
+
'size_units' => ['px', '%', 'em'],
|
190 |
+
'range' => [
|
191 |
+
'px' => [
|
192 |
+
'min' => 0,
|
193 |
+
'max' => 1000,
|
194 |
+
],
|
195 |
+
'%' => [
|
196 |
+
'min' => 0,
|
197 |
+
'max' => 100,
|
198 |
+
],
|
199 |
+
'em' => [
|
200 |
+
'min' => 0,
|
201 |
+
'max' => 100,
|
202 |
+
],
|
203 |
+
],
|
204 |
+
'default' => [
|
205 |
+
'unit' => '%',
|
206 |
+
'size' => 40,
|
207 |
+
],
|
208 |
+
'selectors' => [
|
209 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-text, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-email, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-tel, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-number, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-quiz, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-date, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-url, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-select' => 'width:{{SIZE}}{{UNIT}};',
|
210 |
+
],
|
211 |
+
]
|
212 |
+
);
|
213 |
+
|
214 |
+
// Field Alignment
|
215 |
+
$this->add_responsive_control(
|
216 |
+
'field_alignment',
|
217 |
+
array(
|
218 |
+
'label' => __('Field Alignment', 'wts-eae'),
|
219 |
+
'type' => Controls_Manager::CHOOSE,
|
220 |
+
'options' => array(
|
221 |
+
'left' => array(
|
222 |
+
'title' => __('Left', 'wts-eae'),
|
223 |
+
'icon' => 'eicon-text-align-left',
|
224 |
+
),
|
225 |
+
'center' => array(
|
226 |
+
'title' => __('Center', 'wts-eae'),
|
227 |
+
'icon' => 'eicon-text-align-center',
|
228 |
+
),
|
229 |
+
'right' => array(
|
230 |
+
'title' => __('Right', 'wts-eae'),
|
231 |
+
'icon' => 'eicon-text-align-right',
|
232 |
+
),
|
233 |
+
),
|
234 |
+
'selectors' => array(
|
235 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7' => 'text-align: {{VALUE}};',
|
236 |
+
),
|
237 |
+
)
|
238 |
+
);
|
239 |
+
|
240 |
+
// General Field type
|
241 |
+
$this->add_control(
|
242 |
+
'field_style',
|
243 |
+
array(
|
244 |
+
'label' => __('Field Style', 'wts-eae'),
|
245 |
+
'type' => Controls_Manager::SELECT,
|
246 |
+
'default' => 'box',
|
247 |
+
'options' => array(
|
248 |
+
'box' => __('Box', 'wts-eae'),
|
249 |
+
'underline' => __('Underline', 'wts-eae'),
|
250 |
+
),
|
251 |
+
'prefix_class' => 'wts-cf7-style-',
|
252 |
+
)
|
253 |
+
);
|
254 |
+
|
255 |
+
// Tabs
|
256 |
+
$this->start_controls_tabs(
|
257 |
+
'general_field_tabs'
|
258 |
+
);
|
259 |
+
|
260 |
+
// Normal
|
261 |
+
$this->start_controls_tab(
|
262 |
+
'general_field_normal_tab',
|
263 |
+
[
|
264 |
+
'label' => 'Normal',
|
265 |
+
]
|
266 |
+
);
|
267 |
+
|
268 |
+
// Field Color normal
|
269 |
+
$this->add_control(
|
270 |
+
'field_color_normal',
|
271 |
+
[
|
272 |
+
'label' => __('Color', 'wts-eae'),
|
273 |
+
'type' => Controls_Manager::COLOR,
|
274 |
+
'selectors' => [
|
275 |
+
'{{WRAPPER}} .wts-eae-main input:not([type=submit]):not([type=checkbox]):not([type=radio]), {{WRAPPER}} .wts-eae-main .wpcf7 select, {{WRAPPER}} .wts-eae-main .wpcf7 textarea, {{WRAPPER}} .wts-eae-main .wpcf7 span.wpcf7-list-item,{{WRAPPER}} .wts-eae-main .wpcf7 input::placeholder,{{WRAPPER}} .wts-eae-main .wpcf7 textarea::placeholder' => 'color: {{VALUE}}',
|
276 |
+
],
|
277 |
+
]
|
278 |
+
);
|
279 |
+
|
280 |
+
// Field Background Color normal
|
281 |
+
|
282 |
+
$this->add_group_control(
|
283 |
+
Group_Control_Background::get_type(),
|
284 |
+
[
|
285 |
+
'name' => 'field_background_normal',
|
286 |
+
'label' => __('Background', 'wts-eae'),
|
287 |
+
'types' => ['classic', 'gradient'],
|
288 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]),{{WRAPPER}} .wts-eae-main .wpcf7 textarea
|
289 |
+
,{{WRAPPER}} .wts-eae-main .wpcf7 select',
|
290 |
+
]
|
291 |
+
);
|
292 |
+
|
293 |
+
// Field Border Style Box
|
294 |
+
$this->add_group_control(
|
295 |
+
Group_Control_Border::get_type(),
|
296 |
+
[
|
297 |
+
'name' => 'field_border_box',
|
298 |
+
'label' => __('Border', 'wts-eae'),
|
299 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 input:not([type=submit]):not([type=radio]):not([type=checkbox]),{{WRAPPER}} .wts-eae-main .wpcf7 textarea
|
300 |
+
,{{WRAPPER}} .wts-eae-main .wpcf7 select, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-captchar',
|
301 |
+
'fields_options' => [
|
302 |
+
'border' => [
|
303 |
+
'default' => 'solid',
|
304 |
+
],
|
305 |
+
'width' => [
|
306 |
+
'default' => [
|
307 |
+
'top' => 1,
|
308 |
+
'right' => 1,
|
309 |
+
'bottom' => 1,
|
310 |
+
'left' => 1,
|
311 |
+
'unit' => 'px',
|
312 |
+
],
|
313 |
+
],
|
314 |
+
'color' => [
|
315 |
+
'global' => [
|
316 |
+
'default' => Global_Colors::COLOR_SECONDARY,
|
317 |
+
]
|
318 |
+
],
|
319 |
+
],
|
320 |
+
'condition' => [
|
321 |
+
'field_style' => 'box',
|
322 |
+
],
|
323 |
+
|
324 |
+
],
|
325 |
+
);
|
326 |
+
|
327 |
+
// Field Border Style Underline
|
328 |
+
$this->add_responsive_control(
|
329 |
+
'field_border_underline',
|
330 |
+
[
|
331 |
+
'label' => __('Border', 'wts-eae'),
|
332 |
+
'type' => Controls_Manager::SLIDER,
|
333 |
+
'size_units' => ['px', '%', 'em'],
|
334 |
+
'range' => [
|
335 |
+
'px' => [
|
336 |
+
'min' => 0,
|
337 |
+
'max' => 100,
|
338 |
+
],
|
339 |
+
'%' => [
|
340 |
+
'min' => 0,
|
341 |
+
'max' => 100,
|
342 |
+
],
|
343 |
+
'em' => [
|
344 |
+
'min' => 0,
|
345 |
+
'max' => 100,
|
346 |
+
],
|
347 |
+
],
|
348 |
+
'default' => [
|
349 |
+
'unit' => 'px',
|
350 |
+
'size' => 1,
|
351 |
+
'color' => Global_Colors::COLOR_SECONDARY,
|
352 |
+
],
|
353 |
+
'selectors' => [
|
354 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-text, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-textarea,
|
355 |
+
{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-email, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-date,
|
356 |
+
{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-number, {{WRAPPER}} .wts-eae-main .wpcf7 select,
|
357 |
+
{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-captchar, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-quiz, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-file' => 'border-bottom-style:solid; border-bottom-width: {{SIZE}}{{UNIT}}',
|
358 |
+
],
|
359 |
+
'condition' => [
|
360 |
+
'field_style' => 'underline',
|
361 |
+
],
|
362 |
+
]
|
363 |
+
);
|
364 |
+
|
365 |
+
// Field Border Color Underline
|
366 |
+
$this->add_control(
|
367 |
+
'field_border_color_underline',
|
368 |
+
[
|
369 |
+
'label' => __('Color', 'wts-eae'),
|
370 |
+
'type' => Controls_Manager::COLOR,
|
371 |
+
'selectors' => [
|
372 |
+
'{{WRAPPER}}.wts-cf7-style-underline .wts-eae-main .wpcf7 .wpcf7-text, {{WRAPPER}}.wts-cf7-style-underline .wts-eae-main .wpcf7 .wpcf7-textarea,
|
373 |
+
{{WRAPPER}}.wts-cf7-style-underline .wts-eae-main .wpcf7 .wpcf7-email, {{WRAPPER}}.wts-cf7-style-underline .wts-eae-main .wpcf7 .wpcf7-date,
|
374 |
+
{{WRAPPER}}.wts-cf7-style-underline .wts-eae-main .wpcf7 .wpcf7-number , {{WRAPPER}}.wts-cf7-style-underline .wts-eae-main .wpcf7 select,
|
375 |
+
{{WRAPPER}}.wts-cf7-style-underline .wts-eae-main .wpcf7 .wpcf7-captchar ,{{WRAPPER}}.wts-cf7-style-underline .wts-eae-main .wpcf7 .wpcf7-quiz, {{WRAPPER}}.wts-cf7-style-underline .wts-eae-main .wpcf7 .wpcf7-file, {{WRAPPER}}.wts-cf7-style-underline .wts-eae-main .wpcf7 .wpcf7-tel' => 'border-color: {{VALUE}}',
|
376 |
+
],
|
377 |
+
'condition' => [
|
378 |
+
'field_style' => 'underline',
|
379 |
+
],
|
380 |
+
]
|
381 |
+
);
|
382 |
+
|
383 |
+
// Field Box Shadow
|
384 |
+
$this->add_group_control(
|
385 |
+
Group_Control_Box_Shadow::get_type(),
|
386 |
+
[
|
387 |
+
'name' => 'box_shadow',
|
388 |
+
'label' => __('Box Shadow', 'wts-eae'),
|
389 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=text],{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=email],{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap textarea, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=url],{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=quiz],{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=number],{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=date],{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=date],{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=file],{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap .wpcf7-select,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=tel],{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-captchar',
|
390 |
+
]
|
391 |
+
);
|
392 |
+
|
393 |
+
// Border Radius
|
394 |
+
$this->add_responsive_control(
|
395 |
+
'field_border_radius',
|
396 |
+
[
|
397 |
+
'label' => __('Border Radius', 'wts-eae'),
|
398 |
+
'type' => Controls_Manager::DIMENSIONS,
|
399 |
+
'size_units' => ['px', '%', 'em'],
|
400 |
+
'selectors' => [
|
401 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]), {{WRAPPER}} .wts-eae-main .wpcf7 select, {{WRAPPER}} .wts-eae-main .wpcf7 textarea, {{WRAPPER}} .wts-eae-main .wpcf7 span.wpcf7-list-item' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
402 |
+
],
|
403 |
+
]
|
404 |
+
);
|
405 |
+
|
406 |
+
$this->end_controls_tab();
|
407 |
+
|
408 |
+
// Focus
|
409 |
+
$this->start_controls_tab(
|
410 |
+
'general_field_focus_tab',
|
411 |
+
[
|
412 |
+
'label' => 'Focus',
|
413 |
+
]
|
414 |
+
);
|
415 |
+
|
416 |
+
// Field Color focus
|
417 |
+
$this->add_control(
|
418 |
+
'field_color_focus',
|
419 |
+
[
|
420 |
+
'label' => __('Color', 'wts-eae'),
|
421 |
+
'type' => Controls_Manager::COLOR,
|
422 |
+
'selectors' => [
|
423 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=text]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=email]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap textarea:focus, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=url]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=quiz]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=number]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=date]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=date]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=file]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap .wpcf7-select:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=tel]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-captchar:focus' => 'color: {{VALUE}}',
|
424 |
+
],
|
425 |
+
]
|
426 |
+
);
|
427 |
+
|
428 |
+
// Field Background Color focus
|
429 |
+
$this->add_group_control(
|
430 |
+
Group_Control_Background::get_type(),
|
431 |
+
[
|
432 |
+
'name' => 'field_background_focus',
|
433 |
+
'label' => __('Background', 'wts-eae'),
|
434 |
+
'types' => ['classic', 'gradient'],
|
435 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=text]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=email]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap textarea:focus, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=url]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=quiz]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=number]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=date]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=date]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=file]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap .wpcf7-select:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=tel]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-captchar:focus',
|
436 |
+
],
|
437 |
+
);
|
438 |
+
|
439 |
+
// Field Active Border Color
|
440 |
+
$this->add_control(
|
441 |
+
'active_border_color_focus',
|
442 |
+
[
|
443 |
+
'label' => __('Border Color', 'wts-eae'),
|
444 |
+
'type' => Controls_Manager::COLOR,
|
445 |
+
'selectors' => [
|
446 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=text]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=email]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap textarea:focus, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=url]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=quiz]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=number]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=date]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=date]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=file]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap .wpcf7-select:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=tel]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-captchar:focus' => 'border-color: {{VALUE}}',
|
447 |
+
],
|
448 |
+
]
|
449 |
+
);
|
450 |
+
|
451 |
+
// Field Box Shadow
|
452 |
+
$this->add_group_control(
|
453 |
+
Group_Control_Box_Shadow::get_type(),
|
454 |
+
[
|
455 |
+
'name' => 'box_shadow_focus',
|
456 |
+
'label' => __('Box Shadow', 'wts-eae'),
|
457 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=text]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=email]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap textarea:focus, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=url]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=quiz]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=number]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=date]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=date]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=file]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap .wpcf7-select:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=tel]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-captchar:focus',
|
458 |
+
]
|
459 |
+
);
|
460 |
+
|
461 |
+
// Border Radius
|
462 |
+
$this->add_responsive_control(
|
463 |
+
'field_border_radius_focus',
|
464 |
+
[
|
465 |
+
'label' => __('Border Radius', 'wts-eae'),
|
466 |
+
'type' => Controls_Manager::DIMENSIONS,
|
467 |
+
'size_units' => ['px', '%', 'em'],
|
468 |
+
'selectors' => [
|
469 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=text]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=email]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap textarea:focus, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=url]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=quiz]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=number]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=date]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=date]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=file]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap .wpcf7-select:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap input[type=tel]:focus,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-captchar:focus' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
470 |
+
],
|
471 |
+
]
|
472 |
+
);
|
473 |
+
|
474 |
+
$this->end_controls_tab();
|
475 |
+
|
476 |
+
$this->end_controls_tabs();
|
477 |
+
|
478 |
+
// Field Padding
|
479 |
+
$this->add_responsive_control(
|
480 |
+
'field_padding',
|
481 |
+
[
|
482 |
+
'label' => __('Padding', 'wts-eae'),
|
483 |
+
'type' => Controls_Manager::DIMENSIONS,
|
484 |
+
'size_units' => ['px', '%', 'em'],
|
485 |
+
'selectors' => [
|
486 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]), {{WRAPPER}} .wts-eae-main .wpcf7 select, {{WRAPPER}} .wts-eae-main .wpcf7 textarea' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
487 |
+
],
|
488 |
+
]
|
489 |
+
);
|
490 |
+
|
491 |
+
// Textarea Part starts
|
492 |
+
$this->add_control(
|
493 |
+
'general_field_textarea_options',
|
494 |
+
[
|
495 |
+
'label' => __('Textarea', 'wts-eae'),
|
496 |
+
'type' => Controls_Manager::HEADING,
|
497 |
+
'separator' => 'before',
|
498 |
+
]
|
499 |
+
);
|
500 |
+
|
501 |
+
// Textarea Size -> Width
|
502 |
+
$this->add_responsive_control(
|
503 |
+
'textarea_width',
|
504 |
+
[
|
505 |
+
'label' => __('Textarea Width', 'wts-eae'),
|
506 |
+
'type' => Controls_Manager::SLIDER,
|
507 |
+
'size_units' => ['px', '%', 'em'],
|
508 |
+
'range' => [
|
509 |
+
'px' => [
|
510 |
+
'min' => 0,
|
511 |
+
'max' => 1000,
|
512 |
+
],
|
513 |
+
'%' => [
|
514 |
+
'min' => 0,
|
515 |
+
'max' => 100,
|
516 |
+
],
|
517 |
+
'em' => [
|
518 |
+
'min' => 0,
|
519 |
+
'max' => 100,
|
520 |
+
],
|
521 |
+
],
|
522 |
+
'default' => [
|
523 |
+
'unit' => '%',
|
524 |
+
'size' => 100,
|
525 |
+
],
|
526 |
+
'selectors' => [
|
527 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 textarea' => 'width:{{SIZE}}{{UNIT}};',
|
528 |
+
],
|
529 |
+
]
|
530 |
+
);
|
531 |
+
|
532 |
+
// Textarea Size -> Height
|
533 |
+
$this->add_responsive_control(
|
534 |
+
'textarea_height',
|
535 |
+
[
|
536 |
+
'label' => __('Textarea Height', 'wts-eae'),
|
537 |
+
'type' => Controls_Manager::SLIDER,
|
538 |
+
'size_units' => ['px'],
|
539 |
+
'range' => [
|
540 |
+
'px' => [
|
541 |
+
'min' => 0,
|
542 |
+
'max' => 1000,
|
543 |
+
],
|
544 |
+
],
|
545 |
+
'default' => [
|
546 |
+
'unit' => 'px',
|
547 |
+
'size' => 200,
|
548 |
+
],
|
549 |
+
'selectors' => [
|
550 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 textarea' => 'height:{{SIZE}}{{UNIT}};',
|
551 |
+
],
|
552 |
+
]
|
553 |
+
);
|
554 |
+
|
555 |
+
|
556 |
+
$this->end_controls_section();
|
557 |
+
|
558 |
+
// Text Field
|
559 |
+
$this->start_controls_section(
|
560 |
+
'label_field',
|
561 |
+
array(
|
562 |
+
'label' => __('Label', 'wts-eae'),
|
563 |
+
'tab' => Controls_Manager::TAB_STYLE,
|
564 |
+
// 'condition' => [
|
565 |
+
// 'show_title' => 'yes',
|
566 |
+
// ],
|
567 |
+
)
|
568 |
+
);
|
569 |
+
|
570 |
+
// Label Section
|
571 |
+
|
572 |
+
// Text Field Label Typography
|
573 |
+
$this->add_group_control(
|
574 |
+
Group_Control_Typography::get_type(),
|
575 |
+
[
|
576 |
+
'name' => 'text_field_label_typography',
|
577 |
+
'label' => __('Typography', 'wts-eae'),
|
578 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 label,{{WRAPPER}} .wts-eae-main .wpcf7 :not(.error-field)',
|
579 |
+
]
|
580 |
+
);
|
581 |
+
|
582 |
+
// Field Label Color
|
583 |
+
$this->add_control(
|
584 |
+
'field_label_color',
|
585 |
+
[
|
586 |
+
'label' => __('Color', 'wts-eae'),
|
587 |
+
'type' => Controls_Manager::COLOR,
|
588 |
+
'selectors' => [
|
589 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 label, {{WRAPPER}} .wpcf7-quiz-label' => 'color: {{VALUE}}',
|
590 |
+
],
|
591 |
+
]
|
592 |
+
);
|
593 |
+
|
594 |
+
$this->end_controls_section();
|
595 |
+
|
596 |
+
// Radio and Checkboxes
|
597 |
+
$this->start_controls_section(
|
598 |
+
'radios_and_checkboxes_field',
|
599 |
+
array(
|
600 |
+
'label' => __('Radio & Checkbox', 'wts-eae'),
|
601 |
+
'tab' => Controls_Manager::TAB_STYLE,
|
602 |
+
)
|
603 |
+
);
|
604 |
+
|
605 |
+
|
606 |
+
// RC Field Label Typography
|
607 |
+
$this->add_group_control(
|
608 |
+
Group_Control_Typography::get_type(),
|
609 |
+
[
|
610 |
+
'name' => 'rc_field_label_typography',
|
611 |
+
'label' => __('Typography', 'wts-eae'),
|
612 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 input[type="radio"]+span, {{WRAPPER}} .wts-eae-main .wpcf7 input[type="checkbox"]+span',
|
613 |
+
]
|
614 |
+
);
|
615 |
+
|
616 |
+
// RC Field Size
|
617 |
+
$this->add_responsive_control(
|
618 |
+
'rc_field_size',
|
619 |
+
[
|
620 |
+
'label' => __('Size', 'wts-eae'),
|
621 |
+
'type' => Controls_Manager::SLIDER,
|
622 |
+
'size_units' => ['px', '%', 'em'],
|
623 |
+
'range' => [
|
624 |
+
'px' => [
|
625 |
+
'min' => 0,
|
626 |
+
'max' => 100,
|
627 |
+
],
|
628 |
+
'%' => [
|
629 |
+
'min' => 0,
|
630 |
+
'max' => 100,
|
631 |
+
],
|
632 |
+
'em' => [
|
633 |
+
'min' => 0,
|
634 |
+
'max' => 100,
|
635 |
+
],
|
636 |
+
],
|
637 |
+
'default' => [
|
638 |
+
'unit' => 'px',
|
639 |
+
'size' => 16,
|
640 |
+
],
|
641 |
+
'selectors' => [
|
642 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 input[type="radio"],{{WRAPPER}} .wts-eae-main .wpcf7 input[type="checkbox"]' => 'width: {{SIZE}}{{UNIT}}; height:{{SIZE}}{{UNIT}};',
|
643 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 input[type="checkbox"]:checked,{{WRAPPER}} .wts-eae-main .wpcf7 input[type="radio"]:checked' => 'font-size:calc({{SIZE}}{{UNIT}}/1.2);',
|
644 |
+
],
|
645 |
+
]
|
646 |
+
);
|
647 |
+
|
648 |
+
// RC Tabs
|
649 |
+
$this->start_controls_tabs(
|
650 |
+
'rc_tabs'
|
651 |
+
);
|
652 |
+
|
653 |
+
// RC Normal Tab
|
654 |
+
$this->start_controls_tab(
|
655 |
+
'rc_normal_tab',
|
656 |
+
[
|
657 |
+
'label' => __('Normal', 'wts-eae'),
|
658 |
+
]
|
659 |
+
);
|
660 |
+
|
661 |
+
// RC Label Color
|
662 |
+
$this->add_control(
|
663 |
+
'rc_label_color',
|
664 |
+
[
|
665 |
+
'label' => __('Label Color', 'wts-eae'),
|
666 |
+
'type' => Controls_Manager::COLOR,
|
667 |
+
'selectors' => [
|
668 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 input[type="radio"]+span,
|
669 |
+
{{WRAPPER}} .wts-eae-main .wpcf7 input[type="checkbox"]+span' => 'color: {{VALUE}}',
|
670 |
+
],
|
671 |
+
]
|
672 |
+
);
|
673 |
+
|
674 |
+
// RC Background Color
|
675 |
+
$this->add_control(
|
676 |
+
'rc_color',
|
677 |
+
[
|
678 |
+
'label' => __('Background Color', 'wts-eae'),
|
679 |
+
'type' => Controls_Manager::COLOR,
|
680 |
+
'selectors' => [
|
681 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 input[type="radio"], {{WRAPPER}} .wts-eae-main .wpcf7 input[type="checkbox"]' => 'background-color: {{VALUE}}',
|
682 |
+
],
|
683 |
+
]
|
684 |
+
);
|
685 |
+
|
686 |
+
// RC Border Style Box
|
687 |
+
$this->add_group_control(
|
688 |
+
Group_Control_Border::get_type(),
|
689 |
+
[
|
690 |
+
'name' => 'rc_border_box',
|
691 |
+
'label' => __('Border', 'wts-eae'),
|
692 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control input[type="radio"], {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control input[type="checkbox"]',
|
693 |
+
'fields_options' => [
|
694 |
+
'border' => [
|
695 |
+
'default' => 'solid',
|
696 |
+
],
|
697 |
+
'width' => [
|
698 |
+
'default' => [
|
699 |
+
'top' => 1,
|
700 |
+
'right' => 1,
|
701 |
+
'bottom' => 1,
|
702 |
+
'left' => 1,
|
703 |
+
'unit' => 'px',
|
704 |
+
],
|
705 |
+
],
|
706 |
+
'color' => [
|
707 |
+
'global' => [
|
708 |
+
'default' => Global_Colors::COLOR_SECONDARY,
|
709 |
+
]
|
710 |
+
],
|
711 |
+
],
|
712 |
+
],
|
713 |
+
);
|
714 |
+
|
715 |
+
// RC Box Shadow
|
716 |
+
$this->add_group_control(
|
717 |
+
Group_Control_Box_Shadow::get_type(),
|
718 |
+
[
|
719 |
+
'name' => 'rc_box_shadow',
|
720 |
+
'label' => __('Box Shadow', 'wts-eae'),
|
721 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 input[type="radio"], {{WRAPPER}} .wts-eae-main .wpcf7 input[type="checkbox"]',
|
722 |
+
]
|
723 |
+
);
|
724 |
+
|
725 |
+
// RC Border Radius
|
726 |
+
$this->add_responsive_control(
|
727 |
+
'rc_field_border_radius',
|
728 |
+
[
|
729 |
+
'label' => __('Border Radius', 'wts-eae'),
|
730 |
+
'type' => Controls_Manager::DIMENSIONS,
|
731 |
+
'size_units' => ['px', '%', 'em'],
|
732 |
+
'selectors' => [
|
733 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 input[type="checkbox"]' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
734 |
+
],
|
735 |
+
]
|
736 |
+
);
|
737 |
+
|
738 |
+
$this->end_controls_tab();
|
739 |
+
|
740 |
+
// RC Selected Tab
|
741 |
+
$this->start_controls_tab(
|
742 |
+
'rc_selected_tab',
|
743 |
+
[
|
744 |
+
'label' => __('Selected', 'wts-eae'),
|
745 |
+
]
|
746 |
+
);
|
747 |
+
|
748 |
+
// RC Sign Color Checked
|
749 |
+
// $this->add_control(
|
750 |
+
// 'rc_sign_color_checked',
|
751 |
+
// [
|
752 |
+
// 'label' => __('Sign Color', 'wts-eae'),
|
753 |
+
// 'type' => Controls_Manager::COLOR,
|
754 |
+
// 'selectors' => [
|
755 |
+
// '{{WRAPPER}} .wts-eae-main .wpcf7 input[type="radio"]:checked,{{WRAPPER}} .wts-eae-main .wpcf7 input[type="checkbox"]:checked' => 'color: {{VALUE}}',
|
756 |
+
// ],
|
757 |
+
// ]
|
758 |
+
// );
|
759 |
+
|
760 |
+
// RC Selected Label Color
|
761 |
+
$this->add_control(
|
762 |
+
'rc_selected_label_color',
|
763 |
+
[
|
764 |
+
'label' => __('Label Color', 'wts-eae'),
|
765 |
+
'type' => Controls_Manager::COLOR,
|
766 |
+
'selectors' => [
|
767 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 input[type="radio"]:checked+span, {{WRAPPER}} .wts-eae-main .wpcf7 input[type="checkbox"]:checked+span' => 'color: {{VALUE}}',
|
768 |
+
],
|
769 |
+
]
|
770 |
+
);
|
771 |
+
|
772 |
+
// RC Selected Background Color
|
773 |
+
$this->add_control(
|
774 |
+
'rc_selected_background_color',
|
775 |
+
[
|
776 |
+
'label' => __('Background Color', 'wts-eae'),
|
777 |
+
'type' => Controls_Manager::COLOR,
|
778 |
+
'selectors' => [
|
779 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 input[type="radio"]:checked, {{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-list-item input[type="checkbox"]:checked' => 'background-color: {{VALUE}}',
|
780 |
+
],
|
781 |
+
]
|
782 |
+
);
|
783 |
+
|
784 |
+
// RC Selected Border Color
|
785 |
+
$this->add_control(
|
786 |
+
'rc_selected_border_color',
|
787 |
+
[
|
788 |
+
'label' => __('Border Color', 'wts-eae'),
|
789 |
+
'type' => Controls_Manager::COLOR,
|
790 |
+
'default' => '#61ce70',
|
791 |
+
'selectors' => [
|
792 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-list-item input[type="radio"]:checked,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-list-item input[type="checkbox"]:checked' => 'border-color: {{VALUE}}',
|
793 |
+
],
|
794 |
+
]
|
795 |
+
);
|
796 |
+
|
797 |
+
// RC Selected Border Radius
|
798 |
+
$this->add_responsive_control(
|
799 |
+
'rc_border_radius_focus',
|
800 |
+
[
|
801 |
+
'label' => __('Border Radius', 'wts-eae'),
|
802 |
+
'type' => Controls_Manager::DIMENSIONS,
|
803 |
+
'size_units' => ['px', '%', 'em'],
|
804 |
+
'selectors' => [
|
805 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-list-item input[type="checkbox"]:checked' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
806 |
+
],
|
807 |
+
]
|
808 |
+
);
|
809 |
+
|
810 |
+
$this->end_controls_tab();
|
811 |
+
$this->end_controls_tabs();
|
812 |
+
|
813 |
+
// RC Field Padding
|
814 |
+
$this->add_responsive_control(
|
815 |
+
'rc_field_padding',
|
816 |
+
[
|
817 |
+
'label' => __('Padding', 'wts-eae'),
|
818 |
+
'type' => Controls_Manager::DIMENSIONS,
|
819 |
+
'size_units' => ['px', '%', 'em'],
|
820 |
+
'selectors' => [
|
821 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-list-item' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
822 |
+
],
|
823 |
+
]
|
824 |
+
);
|
825 |
+
|
826 |
+
// RC Indentation
|
827 |
+
$this->add_responsive_control(
|
828 |
+
'rc-margin-left',
|
829 |
+
[
|
830 |
+
'label' => __('Indentation', 'wts-eae'),
|
831 |
+
'type' => Controls_Manager::SLIDER,
|
832 |
+
'size_units' => ['px', '%', 'em'],
|
833 |
+
'range' => [
|
834 |
+
'px' => [
|
835 |
+
'min' => 0,
|
836 |
+
'max' => 100,
|
837 |
+
],
|
838 |
+
'%' => [
|
839 |
+
'min' => 0,
|
840 |
+
'max' => 100,
|
841 |
+
],
|
842 |
+
'em' => [
|
843 |
+
'min' => 0,
|
844 |
+
'max' => 10,
|
845 |
+
],
|
846 |
+
],
|
847 |
+
'selectors' => [
|
848 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-list-item input[type="radio"]+span:before,{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-list-item input[type="checkbox"]+span:before' => 'margin-right: {{SIZE}}{{UNIT}};',
|
849 |
+
],
|
850 |
+
]
|
851 |
+
);
|
852 |
+
|
853 |
+
$this->add_control(
|
854 |
+
'checkbox_orientation_spacing',
|
855 |
+
[
|
856 |
+
'label' => __('Checkbox', 'wts-eae'),
|
857 |
+
'type' => Controls_Manager::HEADING,
|
858 |
+
'separator' => 'before',
|
859 |
+
]
|
860 |
+
);
|
861 |
+
|
862 |
+
// Checkbox field orientation
|
863 |
+
$this->add_control(
|
864 |
+
'checkbox_field_orientation',
|
865 |
+
[
|
866 |
+
'label' => __('Orientation', 'wts-eae'),
|
867 |
+
'type' => Controls_Manager::SELECT,
|
868 |
+
'default' => 'horizontal',
|
869 |
+
'options' => [
|
870 |
+
'horizontal' => __('Horizontal', 'wts-eae'),
|
871 |
+
'vertical' => __('Verical', 'wts-eae'),
|
872 |
+
],
|
873 |
+
'prefix_class' => 'checkbox-orientation-',
|
874 |
+
]
|
875 |
+
);
|
876 |
+
|
877 |
+
// Checkbox Spacing
|
878 |
+
$this->add_responsive_control(
|
879 |
+
'checkbox-spacing',
|
880 |
+
[
|
881 |
+
'label' => __('Spacing', 'wts-eae'),
|
882 |
+
'type' => Controls_Manager::SLIDER,
|
883 |
+
'size_units' => ['px', '%', 'em'],
|
884 |
+
'range' => [
|
885 |
+
'px' => [
|
886 |
+
'min' => 0,
|
887 |
+
'max' => 100,
|
888 |
+
],
|
889 |
+
'%' => [
|
890 |
+
'min' => 0,
|
891 |
+
'max' => 100,
|
892 |
+
],
|
893 |
+
'em' => [
|
894 |
+
'min' => 0,
|
895 |
+
'max' => 10,
|
896 |
+
]
|
897 |
+
],
|
898 |
+
'default' => [
|
899 |
+
'unit' => 'em',
|
900 |
+
'size' => 1,
|
901 |
+
],
|
902 |
+
'selectors' => [
|
903 |
+
// Checkbox Horizontal Spacing
|
904 |
+
'.checkbox-orientation-horizontal .wts-eae-main .wpcf7 .wpcf7-list-item input[type="checkbox"]+span' => 'margin-right: {{SIZE}}{{UNIT}};',
|
905 |
+
// Checkbox Vertical Spacing
|
906 |
+
'.checkbox-orientation-vertical .wts-eae-main .wpcf7-checkbox .wpcf7-list-item' => 'margin-bottom: {{SIZE}}{{UNIT}};'
|
907 |
+
],
|
908 |
+
]
|
909 |
+
);
|
910 |
+
|
911 |
+
|
912 |
+
$this->add_control(
|
913 |
+
'radio_orientation_spacing',
|
914 |
+
[
|
915 |
+
'label' => __('Radio', 'wts-eae'),
|
916 |
+
'type' => Controls_Manager::HEADING,
|
917 |
+
'separator' => 'before',
|
918 |
+
]
|
919 |
+
);
|
920 |
+
|
921 |
+
// Radio field orientation
|
922 |
+
$this->add_control(
|
923 |
+
'radio_field_orientation',
|
924 |
+
[
|
925 |
+
'label' => __('Orientation', 'wts-eae'),
|
926 |
+
'type' => Controls_Manager::SELECT,
|
927 |
+
'default' => 'horizontal',
|
928 |
+
'options' => [
|
929 |
+
'horizontal' => __('Horizontal', 'wts-eae'),
|
930 |
+
'vertical' => __('Verical', 'wts-eae'),
|
931 |
+
],
|
932 |
+
'prefix_class' => 'radio-orientation-',
|
933 |
+
]
|
934 |
+
);
|
935 |
+
|
936 |
+
|
937 |
+
// Radio Spacing
|
938 |
+
$this->add_responsive_control(
|
939 |
+
'radio-spacing',
|
940 |
+
[
|
941 |
+
'label' => __('Spacing', 'wts-eae'),
|
942 |
+
'type' => Controls_Manager::SLIDER,
|
943 |
+
'size_units' => ['px', '%', 'em'],
|
944 |
+
'range' => [
|
945 |
+
'px' => [
|
946 |
+
'min' => 0,
|
947 |
+
'max' => 100,
|
948 |
+
],
|
949 |
+
'%' => [
|
950 |
+
'min' => 0,
|
951 |
+
'max' => 100,
|
952 |
+
],
|
953 |
+
'em' => [
|
954 |
+
'min' => 0,
|
955 |
+
'max' => 10,
|
956 |
+
],
|
957 |
+
],
|
958 |
+
'default' => [
|
959 |
+
'unit' => 'em',
|
960 |
+
'size' => 1,
|
961 |
+
],
|
962 |
+
'selectors' => [
|
963 |
+
// Radio Horizontal Spacing
|
964 |
+
'.radio-orientation-horizontal .wts-eae-main .wpcf7 .wpcf7-list-item input[type="radio"]+span' => 'margin-right: {{SIZE}}{{UNIT}};',
|
965 |
+
// Radio Vertical Spacing
|
966 |
+
'.radio-orientation-vertical .wts-eae-main .wpcf7-radio .wpcf7-list-item' => 'margin-bottom: {{SIZE}}{{UNIT}};',
|
967 |
+
],
|
968 |
+
]
|
969 |
+
);
|
970 |
+
|
971 |
+
$this->end_controls_section();
|
972 |
+
|
973 |
+
// Submit Button
|
974 |
+
$this->start_controls_section(
|
975 |
+
'submit_button_field',
|
976 |
+
array(
|
977 |
+
'label' => __('Submit Button', 'wts-eae'),
|
978 |
+
'tab' => Controls_Manager::TAB_STYLE,
|
979 |
+
)
|
980 |
+
);
|
981 |
+
|
982 |
+
// Submit Field Label Typography
|
983 |
+
$this->add_group_control(
|
984 |
+
Group_Control_Typography::get_type(),
|
985 |
+
[
|
986 |
+
'name' => 'submit_field_label_typography',
|
987 |
+
'label' => __('Typography', 'wts-eae'),
|
988 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-submit',
|
989 |
+
]
|
990 |
+
);
|
991 |
+
|
992 |
+
// Submit Button Field Size
|
993 |
+
$this->add_control(
|
994 |
+
'button_size',
|
995 |
+
array(
|
996 |
+
'label' => __('Size', 'wts-eae'),
|
997 |
+
'type' => Controls_Manager::SELECT,
|
998 |
+
'default' => 'sm',
|
999 |
+
'options' => [
|
1000 |
+
'sm' => __('Small', 'wts-eae'),
|
1001 |
+
'md' => __('Medium', 'wts-eae'),
|
1002 |
+
'lg' => __('Large', 'wts-eae'),
|
1003 |
+
'xl' => __('Block', 'wts-eae'),
|
1004 |
+
],
|
1005 |
+
'prefix_class' => 'cf7-btn-size-',
|
1006 |
+
)
|
1007 |
+
);
|
1008 |
+
|
1009 |
+
// Submit Button Field Alignment
|
1010 |
+
$this->add_responsive_control(
|
1011 |
+
'button_field_alignment',
|
1012 |
+
[
|
1013 |
+
'label' => __('Alignment', 'wts-eae'),
|
1014 |
+
'type' => Controls_Manager::CHOOSE,
|
1015 |
+
'options' => array(
|
1016 |
+
'left' => array(
|
1017 |
+
'title' => __('Left', 'wts-eae'),
|
1018 |
+
'icon' => 'eicon-text-align-left',
|
1019 |
+
),
|
1020 |
+
'center' => array(
|
1021 |
+
'title' => __('Center', 'wts-eae'),
|
1022 |
+
'icon' => 'eicon-text-align-center',
|
1023 |
+
),
|
1024 |
+
'right' => array(
|
1025 |
+
'title' => __('Right', 'wts-eae'),
|
1026 |
+
'icon' => 'eicon-text-align-right',
|
1027 |
+
),
|
1028 |
+
),
|
1029 |
+
'prefix_class' => 'cf7-btn-alignment-'
|
1030 |
+
],
|
1031 |
+
);
|
1032 |
+
|
1033 |
+
// Tabs
|
1034 |
+
$this->start_controls_tabs(
|
1035 |
+
'button_field_tabs'
|
1036 |
+
);
|
1037 |
+
|
1038 |
+
$this->start_controls_tab(
|
1039 |
+
'button_field_normal_tab',
|
1040 |
+
[
|
1041 |
+
'label' => 'Normal',
|
1042 |
+
]
|
1043 |
+
);
|
1044 |
+
|
1045 |
+
// Submit Field Color
|
1046 |
+
$this->add_control(
|
1047 |
+
'submit_field_color',
|
1048 |
+
[
|
1049 |
+
'label' => __('Color', 'wts-eae'),
|
1050 |
+
'type' => Controls_Manager::COLOR,
|
1051 |
+
'selectors' => [
|
1052 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-submit' => 'color: {{VALUE}}',
|
1053 |
+
],
|
1054 |
+
]
|
1055 |
+
);
|
1056 |
+
|
1057 |
+
// Submit Field Background Color
|
1058 |
+
|
1059 |
+
$this->add_group_control(
|
1060 |
+
Group_Control_Background::get_type(),
|
1061 |
+
[
|
1062 |
+
'name' => 'submit_field_background',
|
1063 |
+
'label' => __('Background', 'wts-eae'),
|
1064 |
+
'types' => ['classic', 'gradient'],
|
1065 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-submit',
|
1066 |
+
]
|
1067 |
+
);
|
1068 |
+
|
1069 |
+
// Submit Field Border
|
1070 |
+
$this->add_group_control(
|
1071 |
+
Group_Control_Border::get_type(),
|
1072 |
+
[
|
1073 |
+
'name' => 'submit_field_border',
|
1074 |
+
'label' => __('Border', 'wts-eae'),
|
1075 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-submit',
|
1076 |
+
'fields_options' => [
|
1077 |
+
'border' => [
|
1078 |
+
'default' => 'solid',
|
1079 |
+
],
|
1080 |
+
'width' => [
|
1081 |
+
'default' => [
|
1082 |
+
'top' => 0,
|
1083 |
+
'right' => 0,
|
1084 |
+
'bottom' => 0,
|
1085 |
+
'left' => 0,
|
1086 |
+
'unit' => 'px',
|
1087 |
+
],
|
1088 |
+
],
|
1089 |
+
'color' => [
|
1090 |
+
'global' => [
|
1091 |
+
'default' => Global_Colors::COLOR_SECONDARY,
|
1092 |
+
]
|
1093 |
+
],
|
1094 |
+
],
|
1095 |
+
],
|
1096 |
+
);
|
1097 |
+
|
1098 |
+
// Submit Field Box Shadow
|
1099 |
+
$this->add_group_control(
|
1100 |
+
Group_Control_Box_Shadow::get_type(),
|
1101 |
+
[
|
1102 |
+
'name' => 'submit_field_box_shadow',
|
1103 |
+
'label' => __('Box Shadow', 'wts-eae'),
|
1104 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-submit',
|
1105 |
+
]
|
1106 |
+
);
|
1107 |
+
|
1108 |
+
// Submit Field Border Radius
|
1109 |
+
$this->add_responsive_control(
|
1110 |
+
'submit_field_border_radius',
|
1111 |
+
[
|
1112 |
+
'label' => __('Border Radius', 'wts-eae'),
|
1113 |
+
'type' => Controls_Manager::DIMENSIONS,
|
1114 |
+
'size_units' => ['px', '%', 'em'],
|
1115 |
+
'selectors' => [
|
1116 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-submit' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
1117 |
+
],
|
1118 |
+
]
|
1119 |
+
);
|
1120 |
+
|
1121 |
+
$this->end_controls_tab();
|
1122 |
+
|
1123 |
+
$this->start_controls_tab(
|
1124 |
+
'button_field_hover_tab',
|
1125 |
+
[
|
1126 |
+
'label' => 'Hover',
|
1127 |
+
]
|
1128 |
+
);
|
1129 |
+
|
1130 |
+
// Submit Field Color on hover
|
1131 |
+
$this->add_control(
|
1132 |
+
'submit_field_color_hover',
|
1133 |
+
[
|
1134 |
+
'label' => __('Color', 'wts-eae'),
|
1135 |
+
'type' => Controls_Manager::COLOR,
|
1136 |
+
'selectors' => [
|
1137 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-submit:hover' => 'color: {{VALUE}}',
|
1138 |
+
],
|
1139 |
+
]
|
1140 |
+
);
|
1141 |
+
|
1142 |
+
// Submit Field Background Color on hover
|
1143 |
+
|
1144 |
+
$this->add_group_control(
|
1145 |
+
Group_Control_Background::get_type(),
|
1146 |
+
[
|
1147 |
+
'name' => 'submit_field_background_hover',
|
1148 |
+
'label' => __('Background', 'wts-eae'),
|
1149 |
+
'types' => ['classic', 'gradient'],
|
1150 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-submit:hover',
|
1151 |
+
]
|
1152 |
+
);
|
1153 |
+
|
1154 |
+
// Submit Field Border Color on hover
|
1155 |
+
$this->add_control(
|
1156 |
+
'submit_border_color_focus',
|
1157 |
+
[
|
1158 |
+
'label' => __('Border Color', 'wts-eae'),
|
1159 |
+
'type' => Controls_Manager::COLOR,
|
1160 |
+
'selectors' => [
|
1161 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-submit:hover' => 'border-color: {{VALUE}}',
|
1162 |
+
],
|
1163 |
+
]
|
1164 |
+
);
|
1165 |
+
|
1166 |
+
// Submit Field Box Shadow on hover
|
1167 |
+
$this->add_group_control(
|
1168 |
+
Group_Control_Box_Shadow::get_type(),
|
1169 |
+
[
|
1170 |
+
'name' => 'submit_field_box_shadow_hover',
|
1171 |
+
'label' => __('Box Shadow', 'wts-eae'),
|
1172 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-submit:hover',
|
1173 |
+
]
|
1174 |
+
);
|
1175 |
+
|
1176 |
+
// Submit Field Border Radius on hover
|
1177 |
+
$this->add_responsive_control(
|
1178 |
+
'submit_field_border_radius_hover',
|
1179 |
+
[
|
1180 |
+
'label' => __('Border Radius', 'wts-eae'),
|
1181 |
+
'type' => Controls_Manager::DIMENSIONS,
|
1182 |
+
'size_units' => ['px', '%', 'em'],
|
1183 |
+
'selectors' => [
|
1184 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-submit:hover' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
1185 |
+
],
|
1186 |
+
]
|
1187 |
+
);
|
1188 |
+
|
1189 |
+
$this->end_controls_tab();
|
1190 |
+
$this->end_controls_tabs();
|
1191 |
+
|
1192 |
+
|
1193 |
+
// Submit Button Field Padding
|
1194 |
+
$this->add_responsive_control(
|
1195 |
+
'button_field_padding',
|
1196 |
+
[
|
1197 |
+
'label' => __('Padding', 'wts-eae'),
|
1198 |
+
'type' => Controls_Manager::DIMENSIONS,
|
1199 |
+
'size_units' => ['px', '%', 'em'],
|
1200 |
+
'selectors' => [
|
1201 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-submit' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
1202 |
+
],
|
1203 |
+
]
|
1204 |
+
);
|
1205 |
+
|
1206 |
+
// Submit Button Field Margin
|
1207 |
+
$this->add_responsive_control(
|
1208 |
+
'margin-top',
|
1209 |
+
[
|
1210 |
+
'label' => __('Margin Top', 'wts-eae'),
|
1211 |
+
'type' => Controls_Manager::SLIDER,
|
1212 |
+
'size_units' => ['px', '%', 'em'],
|
1213 |
+
'range' => [
|
1214 |
+
'px' => [
|
1215 |
+
'min' => 0,
|
1216 |
+
'max' => 100,
|
1217 |
+
],
|
1218 |
+
'%' => [
|
1219 |
+
'min' => 0,
|
1220 |
+
'max' => 100,
|
1221 |
+
],
|
1222 |
+
],
|
1223 |
+
'default' => [
|
1224 |
+
'unit' => 'em',
|
1225 |
+
'size' => 1,
|
1226 |
+
],
|
1227 |
+
'selectors' => [
|
1228 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-submit' => 'margin-top: {{SIZE}}{{UNIT}};',
|
1229 |
+
],
|
1230 |
+
]
|
1231 |
+
);
|
1232 |
+
|
1233 |
+
$this->end_controls_section();
|
1234 |
+
|
1235 |
+
// Success /Error Messages Field
|
1236 |
+
$this->start_controls_section(
|
1237 |
+
'success_error_messages_field',
|
1238 |
+
array(
|
1239 |
+
'label' => __('Success /Error Messages', 'wts-eae'),
|
1240 |
+
'tab' => Controls_Manager::TAB_STYLE,
|
1241 |
+
'conditions' => [
|
1242 |
+
'relation' => 'or',
|
1243 |
+
'terms' => [
|
1244 |
+
[
|
1245 |
+
'name' => 'show_validation_errors', 'operator' => '||', 'value' => 'show',
|
1246 |
+
],
|
1247 |
+
[
|
1248 |
+
'name' => 'show_output_error', 'operator' => '||', 'value' => 'show',
|
1249 |
+
],
|
1250 |
+
],
|
1251 |
+
],
|
1252 |
+
)
|
1253 |
+
);
|
1254 |
+
|
1255 |
+
$this->add_control(
|
1256 |
+
'show_response',
|
1257 |
+
[
|
1258 |
+
'label' => __('Preview Response', 'wts-eae'),
|
1259 |
+
'type' => Controls_Manager::SWITCHER,
|
1260 |
+
'label_on' => __('Show', 'wts-eae'),
|
1261 |
+
'label_off' => __('Hide', 'wts-eae'),
|
1262 |
+
'return_value' => 'yes',
|
1263 |
+
'default' => 'yes',
|
1264 |
+
]
|
1265 |
+
);
|
1266 |
+
|
1267 |
+
// SCM field typography
|
1268 |
+
$this->add_group_control(
|
1269 |
+
Group_Control_Typography::get_type(),
|
1270 |
+
[
|
1271 |
+
'name' => 'scm_field_label_typography',
|
1272 |
+
'label' => __('Typography', 'wts-eae'),
|
1273 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-response-output,{{WRAPPER}} .wts-eae-main .sent-box,{{WRAPPER}} .wts-eae-main .error-box',
|
1274 |
+
]
|
1275 |
+
);
|
1276 |
+
|
1277 |
+
// SCM Field Alignment
|
1278 |
+
$this->add_responsive_control(
|
1279 |
+
'scm_field_alignment',
|
1280 |
+
[
|
1281 |
+
'label' => __('Alignment', 'wts-eae'),
|
1282 |
+
'type' => Controls_Manager::CHOOSE,
|
1283 |
+
'options' => array(
|
1284 |
+
'left' => array(
|
1285 |
+
'title' => __('Left', 'wts-eae'),
|
1286 |
+
'icon' => 'eicon-text-align-left',
|
1287 |
+
),
|
1288 |
+
'center' => array(
|
1289 |
+
'title' => __('Center', 'wts-eae'),
|
1290 |
+
'icon' => 'eicon-text-align-center',
|
1291 |
+
),
|
1292 |
+
'right' => array(
|
1293 |
+
'title' => __('Right', 'wts-eae'),
|
1294 |
+
'icon' => 'eicon-text-align-right',
|
1295 |
+
),
|
1296 |
+
),
|
1297 |
+
'selectors' => [
|
1298 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-response-output,{{WRAPPER}} .wts-eae-main .sent-box,{{WRAPPER}} .wts-eae-main .error-box' => 'text-align: {{VALUE}}',
|
1299 |
+
],
|
1300 |
+
],
|
1301 |
+
);
|
1302 |
+
|
1303 |
+
// Tabs
|
1304 |
+
$this->start_controls_tabs(
|
1305 |
+
'success_error_messages_field_tabs'
|
1306 |
+
);
|
1307 |
+
|
1308 |
+
// Success Tab
|
1309 |
+
$this->start_controls_tab(
|
1310 |
+
'success_messages_tab',
|
1311 |
+
[
|
1312 |
+
'label' => 'Success',
|
1313 |
+
'condition' => [
|
1314 |
+
'show_output_error' => 'show',
|
1315 |
+
],
|
1316 |
+
]
|
1317 |
+
);
|
1318 |
+
|
1319 |
+
// SCM Field Color success
|
1320 |
+
$this->add_control(
|
1321 |
+
'scm_field_color_success',
|
1322 |
+
[
|
1323 |
+
'label' => __('Color', 'wts-eae'),
|
1324 |
+
'type' => Controls_Manager::COLOR,
|
1325 |
+
'selectors' => [
|
1326 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .sent .wpcf7-response-output,{{WRAPPER}} .wts-eae-main .sent-box' => 'color: {{VALUE}}',
|
1327 |
+
],
|
1328 |
+
]
|
1329 |
+
);
|
1330 |
+
|
1331 |
+
// SCM Field Background Color success
|
1332 |
+
|
1333 |
+
$this->add_group_control(
|
1334 |
+
Group_Control_Background::get_type(),
|
1335 |
+
[
|
1336 |
+
'name' => 'scm_field_background_success',
|
1337 |
+
'label' => __('Background', 'wts-eae'),
|
1338 |
+
'types' => ['classic', 'gradient'],
|
1339 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .sent .wpcf7-response-output, {{WRAPPER}} .wts-eae-main .sent-box',
|
1340 |
+
]
|
1341 |
+
);
|
1342 |
+
|
1343 |
+
// SCM Field Border Style success
|
1344 |
+
$this->add_group_control(
|
1345 |
+
Group_Control_Border::get_type(),
|
1346 |
+
[
|
1347 |
+
'name' => 'scm_field_border_success',
|
1348 |
+
'label' => __('Border', 'wts-eae'),
|
1349 |
+
'fields_options' => [
|
1350 |
+
'border' => [
|
1351 |
+
'default' => 'solid',
|
1352 |
+
],
|
1353 |
+
'width' => [
|
1354 |
+
'default' => [
|
1355 |
+
'top' => 0,
|
1356 |
+
'right' => 0,
|
1357 |
+
'bottom' => 0,
|
1358 |
+
'left' => 0,
|
1359 |
+
'unit' => 'px',
|
1360 |
+
],
|
1361 |
+
],
|
1362 |
+
'color' => [
|
1363 |
+
'global' => [
|
1364 |
+
'default' => Global_Colors::COLOR_SECONDARY,
|
1365 |
+
]
|
1366 |
+
],
|
1367 |
+
],
|
1368 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .sent .wpcf7-response-output,{{WRAPPER}} .wts-eae-main .sent-box',
|
1369 |
+
],
|
1370 |
+
);
|
1371 |
+
|
1372 |
+
// SCM Field Box Shadow success
|
1373 |
+
$this->add_group_control(
|
1374 |
+
Group_Control_Box_Shadow::get_type(),
|
1375 |
+
[
|
1376 |
+
'name' => 'scm_field_box_shadow_success',
|
1377 |
+
'label' => __('Box Shadow', 'wts-eae'),
|
1378 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .sent .wpcf7-response-output,{{WRAPPER}} .wts-eae-main .sent-box',
|
1379 |
+
]
|
1380 |
+
);
|
1381 |
+
|
1382 |
+
// SCM Field Border Radius success
|
1383 |
+
$this->add_responsive_control(
|
1384 |
+
'scm_field_border_radius_success',
|
1385 |
+
[
|
1386 |
+
'label' => __('Border Radius', 'wts-eae'),
|
1387 |
+
'type' => Controls_Manager::DIMENSIONS,
|
1388 |
+
'size_units' => ['px', '%', 'em'],
|
1389 |
+
'selectors' => [
|
1390 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .sent .wpcf7-response-output,{{WRAPPER}} .wts-eae-main .sent-box' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
1391 |
+
],
|
1392 |
+
]
|
1393 |
+
);
|
1394 |
+
|
1395 |
+
$this->end_controls_tab();
|
1396 |
+
|
1397 |
+
// Error Tab
|
1398 |
+
$this->start_controls_tab(
|
1399 |
+
'error_messages_tab',
|
1400 |
+
[
|
1401 |
+
'label' => 'Error',
|
1402 |
+
'condition' => [
|
1403 |
+
'show_output_error' => 'show',
|
1404 |
+
],
|
1405 |
+
],
|
1406 |
+
);
|
1407 |
+
|
1408 |
+
// SCM Field Color error
|
1409 |
+
$this->add_control(
|
1410 |
+
'scm_field_color_error',
|
1411 |
+
[
|
1412 |
+
'label' => __('Color', 'wts-eae'),
|
1413 |
+
'type' => Controls_Manager::COLOR,
|
1414 |
+
'selectors' => [
|
1415 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 :not(.sent) .wpcf7-response-output,{{WRAPPER}} .wts-eae-main .error-box' => 'color: {{VALUE}}',
|
1416 |
+
],
|
1417 |
+
|
1418 |
+
]
|
1419 |
+
);
|
1420 |
+
|
1421 |
+
// SCM Field Background Color error
|
1422 |
+
|
1423 |
+
$this->add_group_control(
|
1424 |
+
Group_Control_Background::get_type(),
|
1425 |
+
[
|
1426 |
+
'name' => 'scm_field_background_error',
|
1427 |
+
'label' => __('Background', 'wts-eae'),
|
1428 |
+
'types' => ['classic', 'gradient'],
|
1429 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 :not(.sent) .wpcf7-response-output,{{WRAPPER}} .wts-eae-main .error-box',
|
1430 |
+
]
|
1431 |
+
);
|
1432 |
+
|
1433 |
+
// SCM Field Border Style error
|
1434 |
+
$this->add_group_control(
|
1435 |
+
Group_Control_Border::get_type(),
|
1436 |
+
[
|
1437 |
+
'name' => 'scm_field_border_error',
|
1438 |
+
'label' => __('Border', 'wts-eae'),
|
1439 |
+
'fields_options' => [
|
1440 |
+
'border' => [
|
1441 |
+
'default' => 'solid',
|
1442 |
+
],
|
1443 |
+
'width' => [
|
1444 |
+
'default' => [
|
1445 |
+
'top' => 0,
|
1446 |
+
'right' => 0,
|
1447 |
+
'bottom' => 0,
|
1448 |
+
'left' => 0,
|
1449 |
+
'unit' => 'px',
|
1450 |
+
],
|
1451 |
+
],
|
1452 |
+
'color' => [
|
1453 |
+
'global' => [
|
1454 |
+
'default' => Global_Colors::COLOR_SECONDARY,
|
1455 |
+
]
|
1456 |
+
],
|
1457 |
+
],
|
1458 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 :not(.sent) .wpcf7-response-output,{{WRAPPER}} .wts-eae-main .error-box',
|
1459 |
+
],
|
1460 |
+
);
|
1461 |
+
|
1462 |
+
// SCM Field Box Shadow error
|
1463 |
+
$this->add_group_control(
|
1464 |
+
Group_Control_Box_Shadow::get_type(),
|
1465 |
+
[
|
1466 |
+
'name' => 'scm_field_box_shadow_error',
|
1467 |
+
'label' => __('Box Shadow', 'wts-eae'),
|
1468 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 :not(.sent) .wpcf7-response-output,{{WRAPPER}} .wts-eae-main .error-box',
|
1469 |
+
]
|
1470 |
+
);
|
1471 |
+
|
1472 |
+
// SCM Field Border Radius error
|
1473 |
+
$this->add_responsive_control(
|
1474 |
+
'scm_field_border_radius_error',
|
1475 |
+
[
|
1476 |
+
'label' => __('Border Radius', 'wts-eae'),
|
1477 |
+
'type' => Controls_Manager::DIMENSIONS,
|
1478 |
+
'size_units' => ['px', '%', 'em'],
|
1479 |
+
'selectors' => [
|
1480 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 :not(.sent) .wpcf7-response-output,{{WRAPPER}} .wts-eae-main .error-box' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
1481 |
+
],
|
1482 |
+
]
|
1483 |
+
);
|
1484 |
+
|
1485 |
+
$this->end_controls_tab();
|
1486 |
+
|
1487 |
+
// Validation Tab
|
1488 |
+
$this->start_controls_tab(
|
1489 |
+
'validation_error_messages_tab',
|
1490 |
+
[
|
1491 |
+
'label' => 'Validation',
|
1492 |
+
'condition' => [
|
1493 |
+
'show_validation_errors' => 'show',
|
1494 |
+
],
|
1495 |
+
]
|
1496 |
+
);
|
1497 |
+
|
1498 |
+
// Validation Error field typography
|
1499 |
+
$this->add_group_control(
|
1500 |
+
Group_Control_Typography::get_type(),
|
1501 |
+
[
|
1502 |
+
'name' => 'validation_error_field_label_typography',
|
1503 |
+
'label' => __('Typography', 'wts-eae'),
|
1504 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-not-valid-tip,{{WRAPPER}} .wts-eae-main .wpcf7 .error-field',
|
1505 |
+
'fields_options' => [
|
1506 |
+
'font_size' => [
|
1507 |
+
'default' => [
|
1508 |
+
'unit' => 'px',
|
1509 |
+
'size' => '16',
|
1510 |
+
],
|
1511 |
+
],
|
1512 |
+
],
|
1513 |
+
]
|
1514 |
+
);
|
1515 |
+
|
1516 |
+
// Validation Error Field Color error
|
1517 |
+
$this->add_control(
|
1518 |
+
'field_color_error',
|
1519 |
+
[
|
1520 |
+
'label' => __('Color', 'wts-eae'),
|
1521 |
+
'type' => Controls_Manager::COLOR,
|
1522 |
+
'selectors' => [
|
1523 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-not-valid-tip,{{WRAPPER}} .wts-eae-main .wpcf7 .error-field' => 'color: {{VALUE}}',
|
1524 |
+
],
|
1525 |
+
]
|
1526 |
+
);
|
1527 |
+
|
1528 |
+
// Validation Error Field Background Color error
|
1529 |
+
|
1530 |
+
$this->add_group_control(
|
1531 |
+
Group_Control_Background::get_type(),
|
1532 |
+
[
|
1533 |
+
'name' => 'field_background_error',
|
1534 |
+
'label' => __('Background', 'wts-eae'),
|
1535 |
+
'types' => ['classic', 'gradient'],
|
1536 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-not-valid-tip,{{WRAPPER}} .wts-eae-main .wpcf7 .error-field',
|
1537 |
+
]
|
1538 |
+
);
|
1539 |
+
|
1540 |
+
// Validation Error Field Border Style error
|
1541 |
+
$this->add_group_control(
|
1542 |
+
Group_Control_Border::get_type(),
|
1543 |
+
[
|
1544 |
+
'name' => 'validation_error_field_border_error',
|
1545 |
+
'label' => __('Border', 'wts-eae'),
|
1546 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-not-valid-tip,{{WRAPPER}} .wts-eae-main .wpcf7 .error-field',
|
1547 |
+
],
|
1548 |
+
);
|
1549 |
+
|
1550 |
+
// Validation Error Field Box Shadow error
|
1551 |
+
$this->add_group_control(
|
1552 |
+
Group_Control_Box_Shadow::get_type(),
|
1553 |
+
[
|
1554 |
+
'name' => 'validation_error_field_box_shadow_error',
|
1555 |
+
'label' => __('Box Shadow', 'wts-eae'),
|
1556 |
+
'selector' => '{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-not-valid-tip,{{WRAPPER}} .wts-eae-main .wpcf7 .error-field',
|
1557 |
+
]
|
1558 |
+
);
|
1559 |
+
|
1560 |
+
// Validation Error Field Border Radius error
|
1561 |
+
$this->add_responsive_control(
|
1562 |
+
'validation_error_field_border_radius_error',
|
1563 |
+
[
|
1564 |
+
'label' => __('Border Radius', 'wts-eae'),
|
1565 |
+
'type' => Controls_Manager::DIMENSIONS,
|
1566 |
+
'size_units' => ['px', '%', 'em'],
|
1567 |
+
'selectors' => [
|
1568 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-not-valid-tip,{{WRAPPER}} .wts-eae-main .wpcf7 .error-field' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
1569 |
+
],
|
1570 |
+
]
|
1571 |
+
);
|
1572 |
+
|
1573 |
+
// Validation Error Field Padding
|
1574 |
+
$this->add_responsive_control(
|
1575 |
+
'validation_error_field_padding',
|
1576 |
+
[
|
1577 |
+
'label' => __('Padding', 'wts-eae'),
|
1578 |
+
'type' => Controls_Manager::DIMENSIONS,
|
1579 |
+
'size_units' => ['px', '%', 'em'],
|
1580 |
+
'selectors' => [
|
1581 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-not-valid-tip,{{WRAPPER}} .wts-eae-main .wpcf7 .error-field' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
1582 |
+
],
|
1583 |
+
]
|
1584 |
+
);
|
1585 |
+
|
1586 |
+
// Validation error field margin top
|
1587 |
+
$this->add_responsive_control(
|
1588 |
+
'validation-error-field-margin-top',
|
1589 |
+
[
|
1590 |
+
'label' => __('Margin Top', 'wts-eae'),
|
1591 |
+
'type' => Controls_Manager::SLIDER,
|
1592 |
+
'size_units' => ['px', '%', 'em'],
|
1593 |
+
'range' => [
|
1594 |
+
'px' => [
|
1595 |
+
'min' => 0,
|
1596 |
+
'max' => 100,
|
1597 |
+
],
|
1598 |
+
'%' => [
|
1599 |
+
'min' => 0,
|
1600 |
+
'max' => 100,
|
1601 |
+
],
|
1602 |
+
],
|
1603 |
+
'default' => [
|
1604 |
+
'unit' => 'px',
|
1605 |
+
'size' => 10,
|
1606 |
+
],
|
1607 |
+
'selectors' => [
|
1608 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-not-valid-tip,{{WRAPPER}} .wts-eae-main .wpcf7 .error-field' => 'margin-top: {{SIZE}}{{UNIT}};',
|
1609 |
+
],
|
1610 |
+
]
|
1611 |
+
);
|
1612 |
+
|
1613 |
+
$this->end_controls_tab();
|
1614 |
+
$this->end_controls_tabs();
|
1615 |
+
|
1616 |
+
// SCM Field Padding
|
1617 |
+
$this->add_responsive_control(
|
1618 |
+
'scm_field_padding',
|
1619 |
+
[
|
1620 |
+
'label' => __('Padding', 'wts-eae'),
|
1621 |
+
'type' => Controls_Manager::DIMENSIONS,
|
1622 |
+
'size_units' => ['px', '%', 'em'],
|
1623 |
+
'selectors' => [
|
1624 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-response-output,{{WRAPPER}} .wts-eae-main .sent-box,{{WRAPPER}} .wts-eae-main .error-box' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
|
1625 |
+
],
|
1626 |
+
]
|
1627 |
+
);
|
1628 |
+
|
1629 |
+
$this->end_controls_section();
|
1630 |
+
|
1631 |
+
// Spacing section
|
1632 |
+
$this->start_controls_section(
|
1633 |
+
'input_spacing',
|
1634 |
+
array(
|
1635 |
+
'label' => __('Spacing', 'wts-eae'),
|
1636 |
+
'tab' => Controls_Manager::TAB_STYLE,
|
1637 |
+
)
|
1638 |
+
);
|
1639 |
+
|
1640 |
+
// Spacing
|
1641 |
+
|
1642 |
+
$this->add_responsive_control(
|
1643 |
+
'label_input_spacing',
|
1644 |
+
array(
|
1645 |
+
'label' => __('Between Label and Input', 'wts-eae'),
|
1646 |
+
'type' => Controls_Manager::SLIDER,
|
1647 |
+
'size_units' => array('px', '%', 'em'),
|
1648 |
+
'range' => array(
|
1649 |
+
'px' => array(
|
1650 |
+
'min' => 1,
|
1651 |
+
'max' => 60,
|
1652 |
+
),
|
1653 |
+
),
|
1654 |
+
'default' => array(
|
1655 |
+
'unit' => 'px',
|
1656 |
+
'size' => 5,
|
1657 |
+
),
|
1658 |
+
'selectors' => array(
|
1659 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]), {{WRAPPER}} .wts-eae-main .wpcf7 select, {{WRAPPER}} .wts-eae-main .wpcf7 textarea, {{WRAPPER}} .wts-eae-main .wpcf7 span.wpcf7-list-item' => 'margin-top: {{SIZE}}{{UNIT}};',
|
1660 |
+
),
|
1661 |
+
)
|
1662 |
+
);
|
1663 |
+
|
1664 |
+
$this->add_responsive_control(
|
1665 |
+
'cform7_input_margin_bottom',
|
1666 |
+
array(
|
1667 |
+
'label' => __('Between Fields', 'wts-eae'),
|
1668 |
+
'type' => Controls_Manager::SLIDER,
|
1669 |
+
'size_units' => array('px', '%', 'em'),
|
1670 |
+
'range' => array(
|
1671 |
+
'px' => array(
|
1672 |
+
'min' => 1,
|
1673 |
+
'max' => 60,
|
1674 |
+
),
|
1675 |
+
),
|
1676 |
+
'default' => array(
|
1677 |
+
'unit' => 'px',
|
1678 |
+
'size' => 10,
|
1679 |
+
),
|
1680 |
+
'selectors' => array(
|
1681 |
+
'{{WRAPPER}} .wts-eae-main .wpcf7 .wpcf7-form-control-wrap' => 'margin-bottom: {{SIZE}}{{UNIT}};display: block;',
|
1682 |
+
),
|
1683 |
+
)
|
1684 |
+
);
|
1685 |
+
|
1686 |
+
$this->end_controls_section();
|
1687 |
+
}
|
1688 |
+
|
1689 |
+
protected function render()
|
1690 |
+
{
|
1691 |
+
$settings = $this->get_settings_for_display();
|
1692 |
+
$formID = $settings['select_form'];
|
1693 |
+
if ($formID == 0) {
|
1694 |
+
echo "Select a form";
|
1695 |
+
} else { ?>
|
1696 |
+
<div class="wts-eae-main">
|
1697 |
+
<?php
|
1698 |
+
echo do_shortcode('[contact-form-7 id=' . $formID . ']');
|
1699 |
+
if (\Elementor\Plugin::$instance->editor->is_edit_mode()) {
|
1700 |
+
if ($settings['show_response'] == 'yes') { ?>
|
1701 |
+
<div class='wpcf7-response-output sent-box'>Thank you for your message. It has been sent.</div>
|
1702 |
+
<div class='wpcf7-response-output error-box validation-field-box' id="error-field-hidden">There was an error trying to send your message. Please try again later.</div>
|
1703 |
+
<?php
|
1704 |
+
}
|
1705 |
+
}
|
1706 |
+
?>
|
1707 |
+
</div>
|
1708 |
+
<?php }
|
1709 |
+
}
|
1710 |
+
}
|
readme.txt
CHANGED
@@ -117,13 +117,18 @@ New elements are added at the end of the default elementor widget area under the
|
|
117 |
1. Price table widget - It lets you create beautiful Pricing Table without any coding.
|
118 |
2. Content switcher - Use Content Switcher to present multiple content options smartly.
|
119 |
3. Flip box - Give your boring content more interactiveness with the flip effect.
|
120 |
-
4.
|
121 |
5. Advanced filterable gallery - Let your visitors navigate easily between different image categories.
|
122 |
6. Thumbnail slider - Create beautiful customized thumbnails for your slider.
|
123 |
7. Widget Manager - Load widgets on demand when required.
|
124 |
8. Elementor addon widgets section
|
125 |
|
126 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
127 |
= 1.11.10 =
|
128 |
* Enhancement : Added compatibility with Elementor 3.4.0
|
129 |
* Fixed : Modal Popup page scroll on responsive.
|
117 |
1. Price table widget - It lets you create beautiful Pricing Table without any coding.
|
118 |
2. Content switcher - Use Content Switcher to present multiple content options smartly.
|
119 |
3. Flip box - Give your boring content more interactiveness with the flip effect.
|
120 |
+
4. Comparison table - Add a table to sight the difference between two or more products.
|
121 |
5. Advanced filterable gallery - Let your visitors navigate easily between different image categories.
|
122 |
6. Thumbnail slider - Create beautiful customized thumbnails for your slider.
|
123 |
7. Widget Manager - Load widgets on demand when required.
|
124 |
8. Elementor addon widgets section
|
125 |
|
126 |
== Changelog ==
|
127 |
+
= 1.11.11 =
|
128 |
+
* Fixed : FlipBox Cube Hover Not Working.
|
129 |
+
* Fixed : Animated Gradient color change Bug.
|
130 |
+
* Fixed : Comparison Table feature tooltip hide on some themes.
|
131 |
+
|
132 |
= 1.11.10 =
|
133 |
* Enhancement : Added compatibility with Elementor 3.4.0
|
134 |
* Fixed : Modal Popup page scroll on responsive.
|