Elementor Essential Addons - Version 3.3.0

Version Description

  • 15/09/2019 =
  • Improved : All post queries optimized to improve the load time and memory usage
  • Improved : Icon Manager optmized for better performance
  • Added : Content Timeline left and right layout
  • Fixed : Load More button overlapping issue
  • Fixed : Team Member icon issue
  • Fixed : Pricing Table style 3 and 4 ribbon issue
  • Lots of minor bugfix and improvements
Download this release

Release Info

Developer re_enter_rupok
Plugin Icon 128x128 Elementor Essential Addons
Version 3.3.0
Comparing to
See all releases

Code changes from version 3.2.0 to 3.3.0

Files changed (52) hide show
  1. assets/admin/css/admin-bar.css +16 -0
  2. assets/admin/css/notice.css +3 -2
  3. assets/admin/js/admin-bar.js +71 -0
  4. assets/front-end/css/eael.css +138 -138
  5. assets/front-end/css/eael.min.css +2 -2
  6. assets/front-end/js/eael.js +846 -993
  7. assets/front-end/js/eael.min.js +6 -7
  8. assets/front-end/js/post-grid/index.js +9 -52
  9. assets/front-end/js/post-grid/index.min.js +1 -1
  10. assets/front-end/js/post-timeline/index.js +0 -53
  11. assets/front-end/js/post-timeline/index.min.js +0 -1
  12. assets/front-end/js/twitter-feed/index.js +19 -15
  13. assets/front-end/js/twitter-feed/index.min.js +1 -1
  14. assets/front-end/js/vendor/load-more/load-more.js +56 -112
  15. assets/front-end/js/vendor/load-more/load-more.min.js +1 -1
  16. config.php +0 -1
  17. essential_adons_elementor.php +2 -2
  18. includes/Classes/Bootstrap.php +7 -5
  19. includes/Classes/Group_Control_EA_Posts.php +0 -171
  20. includes/Elements/Adv_Accordion.php +2 -3
  21. includes/Elements/Adv_Tabs.php +5 -6
  22. includes/Elements/Content_Ticker.php +596 -616
  23. includes/Elements/Creative_Button.php +2 -2
  24. includes/Elements/Cta_Box.php +1 -2
  25. includes/Elements/Data_Table.php +1 -2
  26. includes/Elements/Dual_Color_Header.php +4 -4
  27. includes/Elements/Feature_List.php +1 -2
  28. includes/Elements/Filterable_Gallery.php +4 -5
  29. includes/Elements/Flip_Box.php +4 -5
  30. includes/Elements/Info_Box.php +18 -15
  31. includes/Elements/Post_Grid.php +438 -468
  32. includes/Elements/Post_Timeline.php +285 -327
  33. includes/Elements/Pricing_Table.php +23 -32
  34. includes/Elements/Product_Grid.php +11 -13
  35. includes/Elements/Team_Member.php +2 -3
  36. includes/Elements/Tooltip.php +1 -2
  37. includes/Elements/Twitter_Feed.php +29 -1
  38. includes/Extensions/Reading_Progress.php +1 -1
  39. includes/Template/Content/Content_Ticker.php +32 -0
  40. includes/Template/Content/Post_Grid.php +89 -0
  41. includes/Template/Content/Post_Timeline.php +49 -0
  42. includes/Template/Content/Product_Grid.php +60 -0
  43. includes/Template/Content/Product_Loop.php +0 -49
  44. includes/Traits/Admin.php +46 -3
  45. includes/Traits/Elements.php +9 -12
  46. includes/Traits/Enqueue.php +17 -1
  47. includes/Traits/Helper.php +195 -261
  48. includes/Traits/Library.php +6 -2
  49. includes/templates/content/grid.php +0 -71
  50. includes/templates/content/ticker.php +0 -5
  51. includes/templates/content/timeline.php +0 -20
  52. readme.txt +10 -1
assets/admin/css/admin-bar.css ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #wpadminbar .ea-wp-admin-bar > .ab-item {
2
+ position: relative;
3
+ padding-left: 33px;
4
+ }
5
+
6
+ #wpadminbar .ea-wp-admin-bar > .ab-item:before {
7
+ position: absolute;
8
+ display: block;
9
+ width: 20px;
10
+ height: 20px;
11
+ content: "";
12
+ top: 0px;
13
+ left: 5px;
14
+ opacity: .75;
15
+ background: url("../images/ea-icon-white.svg") no-repeat scroll center 8px/ 85%!important;
16
+ }
assets/admin/css/notice.css CHANGED
@@ -35,17 +35,18 @@
35
  opacity: 1;
36
  }
37
  .wpdeveloper-update-notice .wpdeveloper-notice-thumbnail img {
38
- width: 40px;
39
  }
40
  .wpdeveloper-update-notice .wpdeveloper-notice-thumbnail {
41
  width: auto;
42
- padding: 0;
43
  }
44
  .wpdeveloper-update-notice .wpdeveloper-notice-message {
45
  padding: 5px 0;
46
  }
47
  .wpdeveloper-update-notice {
48
  border-color: #6648fe;
 
49
  }
50
  a.ea-notice-cta {
51
  background-color: #4d18ff;
35
  opacity: 1;
36
  }
37
  .wpdeveloper-update-notice .wpdeveloper-notice-thumbnail img {
38
+ width: 32px;
39
  }
40
  .wpdeveloper-update-notice .wpdeveloper-notice-thumbnail {
41
  width: auto;
42
+ padding: 7px;
43
  }
44
  .wpdeveloper-update-notice .wpdeveloper-notice-message {
45
  padding: 5px 0;
46
  }
47
  .wpdeveloper-update-notice {
48
  border-color: #6648fe;
49
+ padding: 0
50
  }
51
  a.ea-notice-cta {
52
  background-color: #4d18ff;
assets/admin/js/admin-bar.js ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function($) {
2
+ "use strict";
3
+
4
+ $(document).on('click', '.ea-clear-cache', function (e) {
5
+ e.preventDefault();
6
+
7
+ if(typeof localize != 'undefined' && localize) {
8
+ var pageID = $(this).parent().find('.ea-clear-cache-id').data('pageid'),
9
+ text = $(this).find('.ab-item');
10
+
11
+ $.ajax({
12
+ url: localize.ajaxurl,
13
+ type: "post",
14
+ data: {
15
+ action: "clear_cache_files_with_ajax",
16
+ security: localize.nonce,
17
+ pageID: pageID,
18
+ actionType: 'post'
19
+ },
20
+ beforeSend: function() {
21
+ text.text(
22
+ 'Clearing...'
23
+ );
24
+ },
25
+ success: function(response) {
26
+ setTimeout(function() {
27
+ text.text('Clear Page Cache');
28
+ }, 1000);
29
+ },
30
+ error: function() {
31
+ console.log('Something went wrong!');
32
+ }
33
+ });
34
+ } else {
35
+ console.log('This page has no widget from EA');
36
+ }
37
+ });
38
+
39
+ $(document).on('click', '.ea-all-cache-clear', function (e) {
40
+ e.preventDefault();
41
+
42
+ if(typeof localize != 'undefined' && localize) {
43
+ var text = $(this).find('.ab-item');
44
+
45
+ $.ajax({
46
+ url: localize.ajaxurl,
47
+ type: "post",
48
+ data: {
49
+ action: "clear_cache_files_with_ajax",
50
+ security: localize.nonce
51
+ },
52
+ beforeSend: function() {
53
+ text.text(
54
+ 'Clearing...'
55
+ );
56
+ },
57
+ success: function(response) {
58
+ setTimeout(function() {
59
+ text.text('Clear All Cache');
60
+ }, 1000);
61
+ },
62
+ error: function() {
63
+ console.log('Something went wrong!');
64
+ }
65
+ });
66
+ }else {
67
+ console.log('This page has no widget from EA, Clear cache from Dashboard');
68
+ }
69
+ });
70
+
71
+ })(jQuery);
assets/front-end/css/eael.css CHANGED
@@ -323,6 +323,73 @@
323
  width: 100%;
324
  }
325
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
326
  /*--------------------------*/
327
  /* 19. Call To Action
328
  /*-------------------------*/
@@ -570,73 +637,6 @@
570
  }
571
  }
572
 
573
- @-webkit-keyframes "loaderSpin" {
574
- 0% {
575
- transform: rotate(0deg);
576
- }
577
- 100% {
578
- transform: rotate(360deg);
579
- }
580
- }
581
- @keyframes "loaderSpin" {
582
- 0% {
583
- transform: rotate(0deg);
584
- }
585
- 100% {
586
- transform: rotate(360deg);
587
- }
588
- }
589
- .eael-load-more-button-wrap {
590
- display: flex;
591
- }
592
-
593
- .eael-load-more-button {
594
- display: flex;
595
- align-items: center;
596
- justify-content: center;
597
- padding: 1em 2em;
598
- border: 0px solid;
599
- font-size: 16px;
600
- overflow: hidden;
601
- }
602
- .eael-load-more-button .button__loader {
603
- left: -100%;
604
- top: auto;
605
- margin-right: 5px;
606
- transition: all .2s;
607
- }
608
- .eael-load-more-button > span {
609
- margin-left: -20px;
610
- }
611
-
612
- .eael-load-more-button.button--loading > span {
613
- margin-left: 0;
614
- }
615
- .eael-load-more-button.button--loading .button__loader {
616
- left: 0;
617
- }
618
-
619
- .eael-btn-loader {
620
- border-radius: 50%;
621
- width: 20px;
622
- height: 20px;
623
- font-size: 10px;
624
- position: relative;
625
- text-indent: -9999em;
626
- border-top: 4px solid rgba(255, 255, 255, 0.2);
627
- border-right: 4px solid rgba(255, 255, 255, 0.2);
628
- border-bottom: 4px solid rgba(255, 255, 255, 0.2);
629
- border-left: 4px solid #ffffff;
630
- transform: translateZ(0);
631
- -webkit-animation: loaderSpin 1.1s infinite linear;
632
- animation: loaderSpin 1.1s infinite linear;
633
- }
634
- .eael-btn-loader:after {
635
- border-radius: 50%;
636
- width: 20px;
637
- height: 20px;
638
- }
639
-
640
  /*--------------------------------*/
641
  /* 11. Contact Form 7 Styles
642
  /*--------------------------------*/
@@ -1342,50 +1342,59 @@ table.eael-data-table .sorting_asc.sorting-none:after {
1342
  text-align: center;
1343
  }
1344
 
1345
- /* -------------------------------- */
1346
- /* 20. Dual Color Heading
1347
- /* -------------------------------- */
1348
- .eael-dual-header {
1349
- display: block;
1350
- margin-bottom: 50px;
1351
  }
1352
 
1353
- .eael-dual-header .title,
1354
- .eael-dual-header .title span {
1355
- font-size: 36px;
1356
- font-weight: 700;
1357
- text-transform: uppercase;
1358
- line-height: 48px;
1359
- margin: 10px 0px;
1360
  }
1361
 
1362
- .eael-dual-header .subtext {
1363
- font-size: 16px;
1364
- display: block;
1365
  }
1366
 
1367
- .eael-dual-header i {
1368
- display: block;
1369
- padding: 0px;
1370
- margin: 20px 0px 10px 0px;
1371
- font-size: 36px;
1372
  }
1373
 
1374
- .eael-dual-header .title span.lead {
1375
- color: #1abc9c;
 
 
1376
  }
1377
 
1378
- /*--- Builder Related Css ---*/
1379
- .eael-dual-header-content-align-center {
1380
- text-align: center;
 
 
 
 
 
 
 
1381
  }
1382
-
1383
- .eael-dual-header-content-align-left {
1384
- text-align: left;
 
 
 
 
 
 
 
 
 
 
1385
  }
1386
 
1387
- .eael-dual-header-content-align-right {
1388
- text-align: right;
 
 
1389
  }
1390
 
1391
  .elementor-panel .pro-feature, .elementor-panel .pro-feature a {
@@ -1425,59 +1434,50 @@ table.eael-data-table .sorting_asc.sorting-none:after {
1425
  color: #f54;
1426
  }
1427
 
1428
- .eael-fancy-text-container p {
1429
- margin: 0;
 
 
 
 
1430
  }
1431
 
1432
- .eael-fancy-text-strings {
1433
- display: none;
 
 
 
 
 
1434
  }
1435
 
1436
- .eael-fancy-text-prefix,
1437
- .eael-fancy-text-suffix {
1438
- display: inline-block;
1439
  }
1440
 
1441
- .morphext > .animated {
1442
- display: inline-block;
 
 
 
1443
  }
1444
 
1445
- .typed-cursor {
1446
- opacity: 1;
1447
- -webkit-animation: blink_cursor 0.7s infinite;
1448
- animation: blink_cursor 0.7s infinite;
1449
  }
1450
 
1451
- @keyframes blink_cursor {
1452
- 0% {
1453
- opacity: 1;
1454
- }
1455
- 50% {
1456
- opacity: 0;
1457
- }
1458
- 100% {
1459
- opacity: 1;
1460
- }
1461
- }
1462
- @-webkit-keyframes blink_cursor {
1463
- 0% {
1464
- opacity: 1;
1465
- }
1466
- 50% {
1467
- opacity: 0;
1468
- }
1469
- 100% {
1470
- opacity: 1;
1471
- }
1472
  }
1473
- .eael-fancy-text-container.style-2 {
1474
- font-size: 24px;
 
1475
  }
1476
 
1477
- .eael-fancy-text-container.style-2 .eael-fancy-text-strings {
1478
- background: #ff5544;
1479
- color: #fff;
1480
- padding: 10px 25px;
1481
  }
1482
 
1483
  /*----------------------------*/
323
  width: 100%;
324
  }
325
 
326
+ @-webkit-keyframes "loaderSpin" {
327
+ 0% {
328
+ transform: rotate(0deg);
329
+ }
330
+ 100% {
331
+ transform: rotate(360deg);
332
+ }
333
+ }
334
+ @keyframes "loaderSpin" {
335
+ 0% {
336
+ transform: rotate(0deg);
337
+ }
338
+ 100% {
339
+ transform: rotate(360deg);
340
+ }
341
+ }
342
+ .eael-load-more-button-wrap {
343
+ display: flex;
344
+ }
345
+
346
+ .eael-load-more-button {
347
+ display: flex;
348
+ align-items: center;
349
+ justify-content: center;
350
+ padding: 1em 2em;
351
+ border: 0px solid;
352
+ font-size: 16px;
353
+ overflow: hidden;
354
+ }
355
+ .eael-load-more-button .button__loader {
356
+ left: -100%;
357
+ top: auto;
358
+ margin-right: 5px;
359
+ transition: all .2s;
360
+ }
361
+ .eael-load-more-button > span {
362
+ margin-left: -20px;
363
+ }
364
+
365
+ .eael-load-more-button.button--loading > span {
366
+ margin-left: 0;
367
+ }
368
+ .eael-load-more-button.button--loading .button__loader {
369
+ left: 0;
370
+ }
371
+
372
+ .eael-btn-loader {
373
+ border-radius: 50%;
374
+ width: 20px;
375
+ height: 20px;
376
+ font-size: 10px;
377
+ position: relative;
378
+ text-indent: -9999em;
379
+ border-top: 4px solid rgba(255, 255, 255, 0.2);
380
+ border-right: 4px solid rgba(255, 255, 255, 0.2);
381
+ border-bottom: 4px solid rgba(255, 255, 255, 0.2);
382
+ border-left: 4px solid #ffffff;
383
+ transform: translateZ(0);
384
+ -webkit-animation: loaderSpin 1.1s infinite linear;
385
+ animation: loaderSpin 1.1s infinite linear;
386
+ }
387
+ .eael-btn-loader:after {
388
+ border-radius: 50%;
389
+ width: 20px;
390
+ height: 20px;
391
+ }
392
+
393
  /*--------------------------*/
394
  /* 19. Call To Action
395
  /*-------------------------*/
637
  }
638
  }
639
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
640
  /*--------------------------------*/
641
  /* 11. Contact Form 7 Styles
642
  /*--------------------------------*/
1342
  text-align: center;
1343
  }
1344
 
1345
+ .eael-fancy-text-container p {
1346
+ margin: 0;
 
 
 
 
1347
  }
1348
 
1349
+ .eael-fancy-text-strings {
1350
+ display: none;
 
 
 
 
 
1351
  }
1352
 
1353
+ .eael-fancy-text-prefix,
1354
+ .eael-fancy-text-suffix {
1355
+ display: inline-block;
1356
  }
1357
 
1358
+ .morphext > .animated {
1359
+ display: inline-block;
 
 
 
1360
  }
1361
 
1362
+ .typed-cursor {
1363
+ opacity: 1;
1364
+ -webkit-animation: blink_cursor 0.7s infinite;
1365
+ animation: blink_cursor 0.7s infinite;
1366
  }
1367
 
1368
+ @keyframes blink_cursor {
1369
+ 0% {
1370
+ opacity: 1;
1371
+ }
1372
+ 50% {
1373
+ opacity: 0;
1374
+ }
1375
+ 100% {
1376
+ opacity: 1;
1377
+ }
1378
  }
1379
+ @-webkit-keyframes blink_cursor {
1380
+ 0% {
1381
+ opacity: 1;
1382
+ }
1383
+ 50% {
1384
+ opacity: 0;
1385
+ }
1386
+ 100% {
1387
+ opacity: 1;
1388
+ }
1389
+ }
1390
+ .eael-fancy-text-container.style-2 {
1391
+ font-size: 24px;
1392
  }
1393
 
1394
+ .eael-fancy-text-container.style-2 .eael-fancy-text-strings {
1395
+ background: #ff5544;
1396
+ color: #fff;
1397
+ padding: 10px 25px;
1398
  }
1399
 
1400
  .elementor-panel .pro-feature, .elementor-panel .pro-feature a {
1434
  color: #f54;
1435
  }
1436
 
1437
+ /* -------------------------------- */
1438
+ /* 20. Dual Color Heading
1439
+ /* -------------------------------- */
1440
+ .eael-dual-header {
1441
+ display: block;
1442
+ margin-bottom: 50px;
1443
  }
1444
 
1445
+ .eael-dual-header .title,
1446
+ .eael-dual-header .title span {
1447
+ font-size: 36px;
1448
+ font-weight: 700;
1449
+ text-transform: uppercase;
1450
+ line-height: 48px;
1451
+ margin: 10px 0px;
1452
  }
1453
 
1454
+ .eael-dual-header .subtext {
1455
+ font-size: 16px;
1456
+ display: block;
1457
  }
1458
 
1459
+ .eael-dual-header i {
1460
+ display: block;
1461
+ padding: 0px;
1462
+ margin: 20px 0px 10px 0px;
1463
+ font-size: 36px;
1464
  }
1465
 
1466
+ .eael-dual-header .title span.lead {
1467
+ color: #1abc9c;
 
 
1468
  }
1469
 
1470
+ /*--- Builder Related Css ---*/
1471
+ .eael-dual-header-content-align-center {
1472
+ text-align: center;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1473
  }
1474
+
1475
+ .eael-dual-header-content-align-left {
1476
+ text-align: left;
1477
  }
1478
 
1479
+ .eael-dual-header-content-align-right {
1480
+ text-align: right;
 
 
1481
  }
1482
 
1483
  /*----------------------------*/
assets/front-end/css/eael.min.css CHANGED
@@ -1,7 +1,7 @@
1
  .eael-adv-accordion{width:auto;height:auto;transition:all .3s ease-in-out}.eael-adv-accordion .eael-accordion-list .eael-accordion-header{padding:15px;border:1px solid rgba(0,0,0,.02);font-size:1rem;font-weight:600;line-height:1;transition:all .3s ease-in-out;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.eael-adv-accordion .eael-accordion-list .eael-accordion-header .fa-toggle{transform:rotate(0);z-index:10;transition:all .3s ease-in-out}.eael-adv-accordion .eael-accordion-list .eael-accordion-header.active .fa-toggle{transform:rotate(90deg);z-index:10;transition:all .3s ease-in-out}.fa-accordion-icon{display:inline-block;margin-right:10px}.eael-adv-accordion .eael-accordion-list .eael-accordion-content{display:none;border:1px solid #eee;padding:15px;box-sizing:border-box;font-size:1rem;line-height:1.7}.eael-adv-accordion .eael-accordion-list .eael-accordion-content p{margin:0}.eael-adv-accordion .eael-accordion-list .eael-accordion-content.active{display:block}@-webkit-keyframes rotate-90{0%{transform:rotateY(0)}100%{transform:rotateY(-180deg)}}@keyframes rotate-90{0%{transform:rotateY(0)}100%{transform:rotateY(-180deg)}}@-webkit-keyframes fadeIn{0%{opacity:1;transition:all .3s ease-in-out}100%{opacity:1;transition:all .3s ease-in-out}}@keyframes fadeIn{0%{opacity:1;transition:all .3s ease-in-out}100%{opacity:1;transition:all .3s ease-in-out}}
2
  .eael-advance-tabs{display:block}.eael-advance-tabs .eael-tabs-nav>ul{position:relative;padding:0;margin:0;list-style-type:none;display:flex;justify-content:flex-start;align-items:center;z-index:1}.eael-advance-tabs .eael-tabs-nav>ul li{position:relative;padding:1em 1.5em;flex:1 1 auto;cursor:pointer;display:flex;justify-content:center;align-items:center;text-align:center;background-color:#f1f1f1}.eael-advance-tabs .eael-tabs-nav>ul li:after{content:"";position:absolute;bottom:-10px;left:0;right:0;margin:0 auto;z-index:1;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #444;border-bottom:0;display:none}.eael-advance-tabs .eael-tabs-nav>ul li.active,.eael-advance-tabs .eael-tabs-nav>ul li.active-default,.eael-advance-tabs .eael-tabs-nav>ul li:hover{background-color:#444}.eael-advance-tabs.active-caret-on .eael-tabs-nav>ul li.active-default:after,.eael-advance-tabs.active-caret-on .eael-tabs-nav>ul li.active:after{display:none}.eael-advance-tabs .eael-tabs-nav>ul li.active-default:after,.eael-advance-tabs .eael-tabs-nav>ul li.active:after{display:block}.eael-tabs-content{display:flex;flex:1 1 auto}.eael-advance-tabs .eael-tabs-content>div{display:none;opacity:0}.eael-advance-tabs .eael-tabs-content>div.active,.eael-advance-tabs .eael-tabs-content>div.active-default{display:block;width:100%;padding:1em;opacity:1;-webkit-animation:fadeIn linear .3s;animation:fadeIn linear .3s}.eael-tab-inline-icon li a .fa{margin-right:10px;line-height:1}.eael-tab-top-icon li{display:flex;flex-wrap:wrap;text-align:center}.eael-tab-top-icon li a{display:flex;flex-wrap:wrap;text-align:center}.eael-tab-top-icon li .eael-tab-title,.eael-tab-top-icon li .fa{flex:1 1 100%;line-height:1}.eael-tab-top-icon li a .eael-tab-title{margin-top:10px}.eael-advance-tabs.eael-tabs-vertical{display:flex}.eael-advance-tabs.eael-tabs-vertical .eael-tabs-nav{flex:0 0 auto}.eael-advance-tabs.eael-tabs-vertical .eael-tabs-nav>ul{flex-flow:column wrap}.eael-advance-tabs.eael-tabs-vertical .eael-tabs-nav>ul>li{width:100%;justify-content:start}.eael-advance-tabs.eael-tabs-vertical .eael-tabs-nav>ul li::after{bottom:auto!important;right:-10px;top:calc(50% - 10px);left:auto!important;border-left:10px solid #444;border-right:0;border-top:10px solid transparent;border-bottom:10px solid transparent}@media only screen and (max-width:767px){.eael-advance-tabs .eael-tabs-nav>ul{flex-wrap:wrap}.eael-advance-tabs .eael-tabs-nav>ul li{flex:1 100%}.eael-advance-tabs.eael-tabs-vertical{flex-wrap:wrap}.eael-advance-tabs.eael-tabs-vertical div.eael-tabs-nav{flex:1 100%}.eael-advance-tabs.eael-tabs-vertical ul{flex:1 100%}.eael-advance-tabs.eael-tabs-vertical ul li{flex:1 100%}div.eael-advance-tabs.eael-tabs-vertical div.eael-tabs-nav>ul li::after{border-left-color:transparent!important;bottom:-20px!important;left:0!important;right:0!important;top:auto!important;border-left:10px solid transparent;border-right:10px solid transparent;border-top-color:#444!important}}
3
- .eael-caldera-form-align-left,.eael-caldera-form-btn-align-left{text-align:left}.eael-caldera-form-align-right,.eael-caldera-form-btn-align-right{text-align:right}.eael-caldera-form-align-center,.eael-caldera-form-btn-align-center{text-align:center}.eael-caldera-form .control-label{display:none}.eael-caldera-form-labels-yes .control-label{display:block}.eael-caldera-form-button-center .form-group input[type=button],.eael-caldera-form-button-center .form-group input[type=submit]{display:block;margin:0 auto}.eael-caldera-form-button-right .form-group input[type=button],.eael-caldera-form-button-right .form-group input[type=submit]{float:right}.eael-caldera-form .intl-tel-input{display:inherit}.eael-custom-radio-checkbox .caldera-grid input[type=checkbox],.eael-custom-radio-checkbox .caldera-grid input[type=radio]{border-style:solid;border-width:0;padding:3px;-webkit-appearance:none}.eael-caldera-form-button-full-width .form-group input[type=button],.eael-caldera-form-button-full-width .form-group input[type=submit]{width:100%}
4
  .eael-call-to-action{width:100%;height:auto;display:block;padding:30px;font-size:16px;color:#4d4d4d;font-weight:400;line-height:27px;margin:0 auto}.eael-call-to-action p{margin-bottom:10px}.eael-call-to-action .title{font-size:36px;font-weight:600;line-height:36px;margin-bottom:10px;text-transform:capitalize;font-style:normal}.eael-call-to-action.cta-center{text-align:center}.eael-call-to-action.cta-right{text-align:right}.eael-call-to-action.cta-left{text-align:left}.eael-call-to-action.bg-lite{background:#f4f4f4}.eael-call-to-action.bg-img{background-image:url(../img/bg.jpg);background-repeat:no-repeat;background-position:center;background-size:cover;position:relative;z-index:0;color:rgba(255,255,255,.7)}.eael-call-to-action.bg-img .icon{color:#fff}.eael-call-to-action.bg-img:after{content:"";position:absolute;width:100%;height:100%;top:0;left:0;z-index:-1;background:rgba(0,0,0,.8)}.eael-call-to-action.bg-img.bg-fixed{background-attachment:fixed;background-position:center center}.eael-call-to-action.bg-img .title{color:rgba(255,255,255,.9)}.eael-call-to-action.cta-flex,.eael-call-to-action.cta-icon-flex{display:flex;justify-content:space-between;align-items:flex-start}.eael-call-to-action.cta-icon-flex .icon{flex-grow:1;font-size:80px;text-align:left;line-height:130px}.eael-call-to-action.cta-icon-flex .action{flex-grow:1;text-align:right;padding-top:22px;flex-basis:22%}.eael-call-to-action.cta-icon-flex .content{flex-grow:1;padding:0 30px}.eael-call-to-action.cta-flex .content{padding:0 15px;flex-grow:1}.eael-call-to-action.cta-flex .action{flex-grow:1;text-align:right;padding-top:25px;flex-basis:23%}.eael-call-to-action .cta-button{position:relative;display:inline-block;padding:12px 30px;background:#f9f9f9;font-size:16px;text-decoration:none;color:#4d4d4d;transition:.5s;-ms-box-shadow:0 0 3px -1px rgba(0,0,0,.2);box-shadow:0 0 3px -1px rgba(0,0,0,.2);margin-right:10px;margin-top:10px;z-index:0;overflow:hidden}.eael-call-to-action .cta-button:last-child{margin-right:0}.eael-call-to-action .cta-button:focus{outline:0}.eael-call-to-action .cta-button:hover{color:#fff;background:#3f51b5;-ms-box-shadow:0 1px 12px 1px rgba(0,0,0,.1);box-shadow:0 1px 12px 1px rgba(0,0,0,.1)}.eael-call-to-action .cta-button.effect-1:after{content:"";position:absolute;width:100%;height:100%;background:#3f51b5;top:0;left:0;transform:translateY(-100%);-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);z-index:-1;transition:.5s;color:#fff}.eael-call-to-action .cta-button.effect-1:hover::after{transform:translateY(0)}.eael-call-to-action .cta-button.effect-2:after{content:"";position:absolute;width:100%;height:100%;background:#3f51b5;top:0;left:0;z-index:-1;transition:.5s;color:#fff;transform:translateX(-100%)}.eael-call-to-action .cta-button.effect-2:hover::after{transform:translateX(0)}@media only screen and (max-width:768px){.eael-call-to-action.cta-flex,.eael-call-to-action.cta-icon-flex{flex-wrap:wrap}.eael-call-to-action .title{font-size:28px;line-height:36px;margin-top:0}.eael-call-to-action.cta-icon-flex .icon{flex-grow:1;font-size:48px;line-height:90px;text-align:center}.eael-call-to-action.cta-flex .content,.eael-call-to-action.cta-icon-flex .content{flex-grow:1;text-align:center;padding:0}.eael-call-to-action.cta-flex .action,.eael-call-to-action.cta-icon-flex .action{text-align:center;padding-top:0}.eael-call-to-action .cta-button{padding:12px 25px}}@media only screen and (max-width:360px){.eael-call-to-action{font-size:14px;line-height:26px}.eael-call-to-action .cta-button{padding:4px 20px;font-size:12px}.eael-call-to-action .title{font-size:20px;line-height:30px}}
 
5
  @-webkit-keyframes loaderSpin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes loaderSpin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.eael-load-more-button-wrap{display:flex}.eael-load-more-button{display:flex;align-items:center;justify-content:center;padding:1em 2em;border:0 solid;font-size:16px;overflow:hidden}.eael-load-more-button .button__loader{left:-100%;top:auto;margin-right:5px;transition:all .2s}.eael-load-more-button>span{margin-left:-20px}.eael-load-more-button.button--loading>span{margin-left:0}.eael-load-more-button.button--loading .button__loader{left:0}.eael-btn-loader{border-radius:50%;width:20px;height:20px;font-size:10px;position:relative;text-indent:-9999em;border-top:4px solid rgba(255,255,255,.2);border-right:4px solid rgba(255,255,255,.2);border-bottom:4px solid rgba(255,255,255,.2);border-left:4px solid #fff;transform:translateZ(0);-webkit-animation:loaderSpin 1.1s infinite linear;animation:loaderSpin 1.1s infinite linear}.eael-btn-loader:after{border-radius:50%;width:20px;height:20px}
6
  .eael-contact-form-7.eael-contact-form-btn-align-center input.wpcf7-submit,.eael-contact-form.eael-contact-form-align-center{margin-left:auto!important;margin-right:auto!important;display:block;float:none}.eael-contact-form-7.eael-contact-form-btn-align-left input.wpcf7-submit,.eael-contact-form.eael-contact-form-align-left{float:left;width:auto}.eael-contact-form-7.eael-contact-form-btn-align-right input.wpcf7-submit,.eael-contact-form.eael-contact-form-align-right{float:right;width:auto}.eael-contact-form-7 .uneditable-input,.eael-contact-form-7 input[type=color],.eael-contact-form-7 input[type=date],.eael-contact-form-7 input[type=datetime-local],.eael-contact-form-7 input[type=datetime],.eael-contact-form-7 input[type=email],.eael-contact-form-7 input[type=month],.eael-contact-form-7 input[type=number],.eael-contact-form-7 input[type=password],.eael-contact-form-7 input[type=search],.eael-contact-form-7 input[type=tel],.eael-contact-form-7 input[type=text],.eael-contact-form-7 input[type=time],.eael-contact-form-7 input[type=url],.eael-contact-form-7 input[type=week],.eael-contact-form-7 textarea{transition:border linear .2s,box-shadow linear .2s}.eael-contact-form-7 .wpcf7-form::after,.eael-contact-form-7 .wpcf7-form::before{content:" ";clear:both;display:table}.eael-contact-form-7 .wpcf7-form:after{clear:both;content:"";font-size:0;height:0;display:block;visibility:hidden}.eael-contact-form-7 .wpcf7-form .wpcf7-form-control-wrap,.eael-contact-form-7 .wpcf7-form label{display:block}.eael-contact-form-7 .wpcf7-form p{margin-bottom:0}.eael-contact-form-7.labels-hide .wpcf7-form label{display:none}.eael-contact-form-7-title{margin-bottom:10px}.eael-contact-form-7-description{margin-bottom:20px}.eael-contact-form-7-button-full-width .wpcf7-form-control.wpcf7-submit{width:100%}.eael-contact-form-7-wrapper .eael-contact-form-align-center form{margin:0 auto}
7
  .eael-ticker-wrap{overflow:hidden;display:flex;flex-flow:row nowrap;align-items:center;width:100%}.eael-ticker-wrap .ticker-badge{flex:0 0 auto;padding:8px 12px}.eael-ticker-wrap .eael-ticker{overflow:hidden;flex:1 1 auto}.eael-ticker-wrap .eael-ticker .ticker-content{padding:8px 12px;line-height:1.8}.eael-ticker-wrap .eael-ticker .ticker-content p{margin:0}.eael-ticker-wrap .swiper-button-prev{left:auto!important;right:25px;transform:translateY(-50%) rotate(180deg)!important}.eael-ticker-wrap div.swiper-slide,.eael-ticker-wrap div.swiper-slide.swiper-slide-next,.eael-ticker-wrap div.swiper-slide.swiper-slide-prev{opacity:0!important}.eael-ticker-wrap div.swiper-slide.swiper-slide-active{opacity:1!important}.eael-ticker-wrap .eael-content-ticker.swiper-container .swiper-slide{text-align:left}@media only screen and (max-width:767px){.eael-ticker-wrap{flex-flow:row wrap}.content-ticker-pagination{display:none}}
@@ -22,8 +22,8 @@ table.eael-data-table thead .sorting,table.eael-data-table thead .sorting_asc,ta
22
  .eael-ninja-container input,.eael-ninja-container textarea{height:auto;padding:10px}.eael-contact-form-align-center .eael-ninja-container,.eael-contact-form-btn-align-center .eael-ninja-container .nf-field .nf-field-element input[type=button]{margin-left:auto!important;margin-right:auto!important;display:block;float:none}.eael-contact-form-align-left .eael-ninja-container,.eael-contact-form-btn-align-left .eael-ninja-container .nf-field .nf-field-element input[type=button]{float:left;width:auto}.eael-contact-form-align-right .eael-ninja-container,.eael-contact-form-btn-align-right .eael-ninja-container .nf-field .nf-field-element input[type=button]{float:right;width:auto}.eael-ninja-container .nf-field .nf-field-element input[type=password],.eael-ninja-container .nf-field .nf-field-element input[type=url],.eael-ninja-container .nf-field .nf-field-element textarea,.eael-ninja-container ul.wpuf-form li .wpuf-fields input[type=email],.eael-ninja-container ul.wpuf-form li .wpuf-fields input[type=number],.eael-ninja-container ul.wpuf-form li .wpuf-fields input[type=text]{max-width:100%}.eael-ninja-form .nf-form-title{display:none}.eael-ninja-form-title-yes .nf-form-title{display:block}.eael-ninja-form .title-description-hide .nf-form-title{display:none}.eael-ninja-form.title-description-hide .nf-form-title{display:none}.eael-ninja-form .nf-field-label{display:none}.eael-ninja-form-labels-yes .nf-field-label{display:block}.eael-ninja-form .submit-container input[type=button]{border:0;border-radius:0}.eael-ninja-form-button-full-width .submit-container input[type=button]{width:100%}
23
  .eael-post-grid{margin:0 -10px}.eael-grid-post{float:left;padding:10px}.eael-post-carousel .eael-grid-post{float:none;padding:0}.eael-grid-post-holder{border:1px solid rgba(0,0,0,.1)}.eael-grid-post-holder-inner{height:100%}.eael-entry-media{position:relative}.eael-entry-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;transition:opacity .2s ease-in-out,transform .25s cubic-bezier(.19,1,.22,1)}.eael-entry-overlay>a{position:absolute;top:0;left:0;width:100%;height:100%;z-index:3}.eael-entry-title{margin:10px 0 5px;font-size:1.2em}.eael-entry-thumbnail img{width:100%;max-width:100%;vertical-align:middle}.eael-entry-thumbnail>img{height:100%}.eael-entry-footer .eael-author-avatar{width:50px}.eael-entry-footer .eael-author-avatar .avatar{border-radius:50%}.eael-post-grid .eael-entry-footer .eael-entry-meta{padding-left:8px;text-align:left}.eael-grid-post .eael-entry-meta{display:flex;flex-direction:row}.eael-grid-post .eael-entry-footer .eael-entry-meta{flex-direction:column}.eael-entry-meta>div{font-size:12px;line-height:1.2;padding-bottom:5px}.eael-grid-post-excerpt p{margin:0;font-size:14px}.eael-entry-meta .eael-entry-footer .eael-posted-by{display:block}.eael-grid-post .eael-entry-footer,.eael-grid-post .eael-entry-wrapper{padding:15px}.eael-post-grid .eael-entry-header .eael-entry-meta span.eael-posted-on{padding-left:5px}.eael-post-grid .eael-entry-header .eael-entry-meta span.eael-posted-on::before{content:'\f111';font-family:FontAwesome;color:inherit;opacity:.4;font-size:.8em;padding-right:7px}.eael-entry-medianone{position:relative}.eael-entry-overlay{display:flex;align-items:center;justify-content:center}.eael-entry-overlay>i{color:#fff}.eael-entry-overlay.fade-in{visibility:hidden;opacity:0;transition:.3s}.eael-entry-medianone:hover .eael-entry-overlay.fade-in{visibility:visible;opacity:1}.eael-entry-medianone:hover .eael-entry-overlay.fade-in>i{transform:translate(0);opacity:1}.eael-entry-overlay.zoom-in{transform:scale(.9);visibility:hidden;opacity:0;transition:.3s}.eael-entry-medianone:hover .eael-entry-overlay.zoom-in{visibility:visible;opacity:1;transform:scale(1)}.eael-entry-overlay.slide-up{transform:translateY(100%);visibility:hidden;opacity:0;transition:.3s}.eael-entry-medianone:hover .eael-entry-overlay.slide-up{transform:translateY(0);visibility:visible;opacity:1}.eael-entry-medianone{overflow:hidden}.eael-entry-media.grid-hover-style-fade-in .eael-entry-overlay{opacity:0}.eael-entry-media.grid-hover-style-fade-in:hover .eael-entry-overlay{opacity:1}.eael-entry-media.grid-hover-style-none .eael-entry-overlay{display:none}.eael-entry-media.grid-hover-style-zoom-in .eael-entry-overlay{transform:scale(.4);opacity:0}.eael-entry-media.grid-hover-style-zoom-in:hover .eael-entry-overlay{transform:scale(1);opacity:1}.eael-entry-media.grid-hover-style-animate-down .eael-entry-overlay{transform:translateY(-100%)}.eael-entry-media.grid-hover-style-animate-down .eael-entry-overlay>i{transform:translateY(-100px);transition-delay:.1s;transition-duration:.3s}.eael-entry-media.grid-hover-style-animate-down:hover .eael-entry-overlay{transform:translate(0)}.eael-entry-media.grid-hover-style-animate-down:hover .eael-entry-overlay>i{transform:translateY(0)}.eael-entry-media.grid-hover-style-animate-up .eael-entry-overlay{transform:translateY(100%);visibility:hidden;opacity:0}.eael-entry-media.grid-hover-style-animate-up .eael-entry-overlay>i{transform:translateY(100px);transition-delay:.1s;transition-duration:.3s}.eael-entry-media.grid-hover-style-animate-up:hover .eael-entry-overlay{transform:translate(0);visibility:visible;opacity:1}.eael-entry-media.grid-hover-style-animate-up:hover .eael-entry-overlay>i{transform:translateY(0)}.eael-col-1 .eael-post-grid-column{float:none;width:100%}.eael-col-2 .eael-post-grid-column{float:left;width:50%}.eael-col-3 .eael-post-grid-column{float:left;width:33.3333%}.eael-col-4 .eael-post-grid-column{float:left;width:25%}.eael-col-5 .eael-post-grid-column{float:left;width:20%}.eael-col-6 .eael-post-grid-column{float:left;width:16.6666%}@media only screen and (max-width:979px){.eael-col-1 .eael-post-grid-column,.eael-col-2 .eael-post-grid-column,.eael-col-3 .eael-post-grid-column,.eael-col-4 .eael-post-grid-column,.eael-col-5 .eael-post-grid-column,.eael-col-6 .eael-post-grid-column{width:33.3333%}}@media only screen and (max-width:767px){.eael-col-1 .eael-post-grid-column,.eael-col-2 .eael-post-grid-column,.eael-col-3 .eael-post-grid-column,.eael-col-4 .eael-post-grid-column,.eael-col-5 .eael-post-grid-column,.eael-col-6 .eael-post-grid-column{width:50%}}@media only screen and (max-width:480px){.eael-col-1 .eael-post-grid-column,.eael-col-2 .eael-post-grid-column,.eael-col-3 .eael-post-grid-column,.eael-col-4 .eael-post-grid-column,.eael-col-5 .eael-post-grid-column,.eael-col-6 .eael-post-grid-column{float:none;width:100%}}.eael-author-avatar>a{display:block}.eael-entry-footer{overflow:hidden;display:flex}.eael-entry-footer>div{display:inline-block;float:left}
24
  .eael-post-timeline{margin-bottom:0;min-height:100%;overflow:hidden;position:relative}.eael-timeline-column{width:50%;margin-left:0;float:left;margin-top:0!important}.eael-timeline-post{position:relative}.eael-timeline-post:after{background-color:rgba(83,85,86,.2);content:"";width:2px;height:245px;position:absolute;right:0;top:70px}.eael-timeline-post:nth-child(2n):after{display:none}.eael-timeline-bullet{background-color:#9fa9af;border:5px solid #fff;border-radius:50%;box-shadow:0 1px 0 1px rgba(0,0,0,.1);content:"";height:20px;position:absolute;right:-9px;top:60px;width:20px;z-index:3;cursor:pointer}.eael-timeline-post:nth-child(2n) .eael-timeline-bullet{background-color:#9fa9af;border:5px solid #fff;border-radius:50%;bottom:36px;content:"";height:20px;left:-11px;position:absolute;top:300px;width:20px;z-index:3}.eael-timeline-post-inner{background:linear-gradient(45deg,#3f3f46 0,#05abe0 100%) repeat scroll 0 0 transparent;border:8px solid #e5eaed;box-shadow:0 1px 3px 0 rgba(0,0,0,.15);float:right;margin:30px 40px 30px auto;position:relative;height:320px;width:calc(100% - 40px)}.eael-timeline-post:nth-child(even) .eael-timeline-post-inner{float:left;margin-left:40px}.eael-timeline-post-inner:after{border-color:transparent transparent transparent #e5eaed;border-style:solid;border-width:15px;content:"";height:0;position:absolute;right:-36px;top:17px;width:0}.eael-timeline-post:nth-child(2n) .eael-timeline-post-inner:after{border-color:transparent #e5eaed transparent transparent;border-style:solid;border-width:15px;content:"";height:0;left:-36px;position:absolute;top:257px;width:0}.eael-timeline-post:nth-child(2n) .eael-timeline-post-inner::after{border-left-color:transparent!important}.eael-timeline-post p{margin:1.6rem 0 0 0;font-size:.9em;line-height:1.6em}.eael-timeline-post-image{background-size:cover;background-position:center center;background-repeat:no-repeat;display:block;height:100%;overflow:hidden;position:relative;opacity:.6;transition:all .3s}.eael-timeline-post-title{bottom:40px;position:absolute;width:100%}.eael-timeline-post-title h2{color:#fff;font-size:20px;font-weight:700;letter-spacing:1px;line-height:24px;padding:0 25px;text-align:left;text-transform:uppercase}.eael-timeline-post-excerpt{opacity:0;position:absolute;top:0;left:0;transition:all .3s}.eael-timeline-post-excerpt p{color:#fff;font-size:14px;padding:25px}.eael-timeline-post-inner:hover .eael-timeline-post-excerpt{opacity:1;top:10px}.eael-timeline-post-inner:hover .eael-timeline-post-image{opacity:.3}.eael-timeline-post time{opacity:0;background-color:rgba(0,0,0,.7);color:#fff;font-size:10px;border-radius:20px;position:absolute;right:-97px;width:100px;height:30px;line-height:30px;text-align:center;top:50px;z-index:99;transition:all .5s}.eael-timeline-post:nth-child(2n) time{background-color:rgba(0,0,0,.7);border-radius:20px;color:#fff;font-size:10px;height:30px;left:-99px;line-height:30px;position:absolute;text-align:center;top:290px;width:100px;z-index:99}.eael-timeline-post time:before{border-bottom:5px solid rgba(0,0,0,.7);border-left:5px solid transparent;border-right:5px solid transparent;content:"";height:0;left:45px;position:absolute;top:-5px;width:0}.eael-timeline-post:hover time{opacity:1}.eael-timeline-post::after{height:100%}.eael-post-timeline .eael-timeline-post:nth-last-child(2)::after{height:245px}.eael-post-timeline .eael-timeline-post:last-child::after{display:none}.eael-load-more-button-wrap{display:flex}@media only screen and (max-width:1366px){.eael-timeline-post-title h2{font-size:.8em}.eael-timeline-post-excerpt p{font-size:13px}}@media only screen and (max-width:1169px){.eael-timeline-post-inner{height:320px}}@media only screen and (max-width:992px){.eael-post-timeline{margin-left:0}.eael-timeline-bullet,.eael-timeline-post-inner:after,.eael-timeline-post:after,.eael-timeline-post:before{display:none}.eael-timeline-post{display:inline-block;float:left!important;width:50%!important;margin:15px auto}.eael-timeline-post-inner{height:320px;padding-bottom:30px}.eael-timeline-post-title{bottom:50px}.eael-timeline-post-title h2{font-size:.8em;line-height:1.2em}.eael-timeline-post .eael-timeline-post-inner{margin:0 10px auto 0;width:90%}.eael-timeline-post:nth-child(2n) .eael-timeline-post-inner{margin:0 auto 0 10px;width:90%}.eael-timeline-post-excerpt{opacity:0!important}.eael-timeline-post-image{opacity:.3}.eael-timeline-post time,.eael-timeline-post:nth-child(2n) time{background-color:#fff;border-radius:0;color:#444;font-size:12px;text-transform:uppercase;left:0;opacity:1;padding-top:3px;top:275px;width:100%}time:before{display:none}}@media only screen and (max-width:767px){.eael-timeline-post{display:block;float:none!important;margin:20px auto;width:100%!important}.eael-timeline-post .eael-timeline-post-inner,.eael-timeline-post:nth-child(2n) .eael-timeline-post-inner{display:block;float:none;margin:0 auto}}@media only screen and (max-width:479px){.eael-timeline-post .eael-timeline-post-inner,.eael-timeline-post:nth-child(2n) .eael-timeline-post-inner{height:250px;margin:0 auto;width:95%}.eael-timeline-post time,.eael-timeline-post:nth-child(2n) time{top:205px}}
25
- .eael-pricing{-webkit-display:flex;display:flex;justify-content:center;align-items:center}.eael-pricing .eael-pricing-item{width:100%;height:auto;margin:0}.eael-pricing .eael-pricing-button{display:inline-block;padding:12px 25px;background:#00c853;font-size:14px;font-weight:600;color:#fff;text-transform:uppercase;text-decoration:none;transition:.3s;border-radius:4px}.eael-pricing .eael-pricing-button:hover{background:#03b048}.eael-pricing .eael-pricing-item ul{padding:0;margin:0;list-style:none}.eael-pricing .eael-pricing-item ul li.disable-item{text-decoration:line-through;opacity:.5}.eael-pricing .eael-pricing-item ul li span.li-icon{color:#00c853;margin-right:6px}.eael-pricing .eael-pricing-item ul li.disable-item span.li-icon{color:#ef5350}.eael-pricing.style-1{position:relative;z-index:0;text-align:center}.eael-pricing.style-1 .eael-pricing-item{border:1px solid rgba(9,9,9,.1);padding:30px;border-radius:5px;transition:.5s}.eael-pricing.style-1 .eael-pricing-item:hover{box-shadow:0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.eael-pricing.style-1 .eael-pricing-item.featured{position:relative}.eael-pricing.style-1 .eael-pricing-item.ribbon-1:before{content:"";position:absolute;width:100%;height:3px;background:#00c853;top:0;left:0;right:0;z-index:1;border-radius:5px 5px 0 0}.eael-pricing.style-1 .eael-pricing-item.ribbon-2:before{content:"Featured";position:absolute;width:auto;background:#00c853;color:#fff;top:35px;right:-15px;z-index:10;font-size:10px;font-weight:600;text-transform:uppercase;padding:5px 10px}.eael-pricing.style-1 .eael-pricing-item.ribbon-2:after{content:"";position:absolute;top:20px;right:-15px;width:0;height:0;border-bottom:15px solid #00c853;border-right:15px solid transparent;z-index:9;opacity:.9}.eael-pricing.style-1 .eael-pricing-item.ribbon-3:before{content:"Featured";position:absolute;width:auto;background:rgba(0,0,0,.6);color:#fff;top:15px;right:15px;z-index:10;font-size:11px;font-weight:600;text-transform:uppercase;padding:5px 15px}.eael-pricing.style-1 .eael-pricing-item .header{display:block;position:relative;z-index:0;padding-bottom:15px;margin-bottom:15px}.eael-pricing.style-1 .eael-pricing-item .header:after{content:"";position:absolute;width:140px;height:1px;bottom:0;left:0;right:0;margin:0 auto;z-index:1;background:rgba(9,9,9,.1)}.eael-pricing.style-1 .eael-pricing-item .header .title{font-weight:700;line-height:30px;margin:0}.eael-pricing.style-1 .eael-pricing-item .eael-pricing-tag{position:relative;z-index:0;padding:15px 0;margin-bottom:15px}.eael-pricing.style-1 .eael-pricing-item .eael-pricing-tag:after{content:"";position:absolute;width:140px;height:1px;bottom:0;left:0;right:0;margin:0 auto;z-index:1;background:rgba(9,9,9,.04)}.eael-pricing.style-1 .eael-pricing-item .price-tag{position:relative;display:inline-block;font-size:28px;font-weight:500;line-height:0;margin:0 auto}.eael-pricing.style-1 .eael-pricing-item .price-tag .price-currency{font-size:24px;font-weight:700}.eael-pricing.style-1 .eael-pricing-item .price-period{color:#999}.eael-pricing.style-1 .eael-pricing-item .body ul{display:block;width:100%;margin-bottom:15px}.eael-pricing.style-1 .eael-pricing-item .body ul li{display:block;width:100%;height:auto;padding:10px 0;font-size:14px;color:#6d6d6d;border-bottom:1px solid rgba(9,9,9,.04)}.eael-pricing.style-1 .eael-pricing-item .body ul li:last-child{border:none}.eael-pricing.style-1 .eael-pricing-item.featured-large{padding:60px 0}.eael-pricing.style-2{position:relative;z-index:0;text-align:center}.eael-pricing.style-2 .eael-pricing-item{padding:30px 0;border-radius:5px;margin:0;border:1px solid rgba(9,9,9,.1)}.eael-pricing.style-2 .eael-pricing-item.featured{box-shadow:0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.eael-pricing.style-2 .eael-pricing-item.ribbon-1:before{content:"";position:absolute;width:100%;height:3px;background:#00c853;top:0;left:0;right:0;z-index:1;border-radius:5px 5px 0 0}.eael-pricing.style-2 .eael-pricing-item.ribbon-2:before{content:"Featured";position:absolute;width:auto;background:#00c853;color:#fff;top:35px;right:-15px;z-index:10;font-size:10px;font-weight:600;text-transform:uppercase;padding:5px 10px}.eael-pricing.style-2 .eael-pricing-item.ribbon-2:after{content:"";position:absolute;top:20px;right:-15px;width:0;height:0;border-bottom:15px solid #00c853;border-right:15px solid transparent;z-index:9;opacity:.9}.eael-pricing.style-2 .eael-pricing-item.ribbon-3:before{content:"Featured";position:absolute;width:auto;background:rgba(0,0,0,.6);color:#fff;top:15px;right:15px;z-index:10;font-size:11px;font-weight:600;text-transform:uppercase;padding:5px 15px}.eael-pricing.style-2 .eael-pricing-item .eael-pricing-icon .icon{display:inline-block;position:relative;width:80px;height:80px;background:#00c853;border-radius:50%;margin-bottom:30px;text-align:center;transition:.5s;overflow:hidden}.eael-pricing.style-2 .eael-pricing-item .eael-pricing-icon .icon i{font-size:30px;color:#fff;line-height:80px;transition:.5s}.eael-pricing.style-2 .eael-pricing-item:hover .eael-pricing-icon .icon{background:#43a047}.eael-pricing.style-2 .eael-pricing-item:hover .eael-pricing-icon .icon i{color:#fff}.eael-pricing.style-2 .eael-pricing-item .header{background:#c8e6c9;padding:25px 30px;margin-bottom:15px;position:relative;z-index:0}.eael-pricing.style-2 .eael-pricing-item.featured .header:after{content:"";position:absolute;width:100%;height:100%;top:0;left:0;right:0;bottom:0;z-index:-1;background:rgba(255,255,255,.4)}.eael-pricing.style-2 .eael-pricing-item .header .title{font-size:28px;font-weight:700;line-height:40px;margin:0}.eael-pricing.style-2 .eael-pricing-item .header .subititle{font-size:14px;font-weight:600;color:#6d6d6d}.eael-pricing.style-2 .eael-pricing-item .eael-pricing-tag{position:relative;z-index:0;padding:15px 0;margin-bottom:15px}.eael-pricing.style-2 .eael-pricing-item .eael-pricing-tag:after{content:"";position:absolute;width:140px;height:1px;bottom:0;left:0;right:0;margin:0 auto;z-index:1;background:rgba(9,9,9,.04)}.eael-pricing.style-2 .eael-pricing-item .price-tag{position:relative;display:inline-block;font-size:28px;font-weight:500;line-height:0;margin:0 auto}.eael-pricing.style-2 .eael-pricing-item .price-tag .price-currency{font-size:24px;font-weight:700;color:#00c853}.eael-pricing.style-2 .eael-pricing-item .price-period{color:#999}.eael-pricing.style-2 .eael-pricing-item .body ul{display:block;width:100%;margin-bottom:15px}.eael-pricing.style-2 .eael-pricing-item .body ul li{display:block;width:100%;height:auto;padding:10px 15px;font-size:14px;color:#6d6d6d;border-bottom:1px solid rgba(9,9,9,.04)}.eael-pricing.style-2 .eael-pricing-item .body ul li:last-child{border:none}@media only screen and (min-width:768px) and (max-width:992px){.eael-pricing{display:block}.eael-pricing .eael-pricing-item,.eael-pricing.style-2 .eael-pricing-item,.eael-pricing.style-4 .eael-pricing-item{width:100%;margin:0 auto 30px auto}}@media only screen and (max-width:480px){.eael-pricing{display:block}.eael-pricing .eael-pricing-item{width:100%}.eael-pricing .eael-pricing-item,.eael-pricing.style-2 .eael-pricing-item,.eael-pricing.style-4 .eael-pricing-item{margin:0 auto 30px auto}}.eael-pricing-content-align-center .eael-pricing{text-align:center}.eael-pricing-content-align-left .eael-pricing{text-align:left}.eael-pricing-content-align-right .eael-pricing{text-align:right}.eael-pricing-content-align-left .eael-pricing.style-2 .eael-pricing-item .price-tag{padding-left:45px}.eael-pricing-content-align-left .eael-pricing.style-2 .eael-pricing-item .price-tag:before{left:30px}.eael-pricing-content-align-right .eael-pricing.style-2 .eael-pricing-item .eael-pricing-tag{padding-right:30px}.eael-pricing-content-align-left .eael-pricing.style-2 .eael-pricing-item .eael-pricing-icon,.eael-pricing-content-align-left .eael-pricing.style-2 .eael-pricing-item .footer,.eael-pricing-content-align-left .eael-pricing.style-2 .eael-pricing-item .header,.eael-pricing-content-align-left .eael-pricing.style-4 .eael-pricing-item .footer,.eael-pricing-content-align-left .eael-pricing.style-4 .eael-pricing-item .header{padding-left:30px;padding-right:30px}.eael-pricing-content-align-right .eael-pricing.style-2 .eael-pricing-item .eael-pricing-icon,.eael-pricing-content-align-right .eael-pricing.style-2 .eael-pricing-item .footer,.eael-pricing-content-align-right .eael-pricing.style-2 .eael-pricing-item .header,.eael-pricing-content-align-right .eael-pricing.style-4 .eael-pricing-item .footer,.eael-pricing-content-align-right .eael-pricing.style-4 .eael-pricing-item .header{padding-right:30px;padding-left:30px}.eael-pricing-content-align-left .eael-pricing.style-2 .eael-pricing-item .body ul li,.eael-pricing-content-align-left .eael-pricing.style-4 .eael-pricing-item .body ul li{padding-left:30px}.eael-pricing-content-align-right .eael-pricing.style-2 .eael-pricing-item .body ul li,.eael-pricing-content-align-right .eael-pricing.style-4 .eael-pricing-item .body ul li{padding-right:30px}.eael-pricing-content-align-left .eael-pricing.style-3 .eael-pricing-item .header:after{transform:translateX(-80%)}.eael-pricing-content-align-right .eael-pricing.style-3 .eael-pricing-item .header:after{transform:translateX(80%)}.eael-pricing-content-align-left .eael-pricing.style-3 .eael-pricing-item:hover .header:after,.eael-pricing-content-align-right .eael-pricing.style-3 .eael-pricing-item:hover .header:after{transform:translateX(0)}.eael-pricing-content-align-left .eael-pricing.style-1 .eael-pricing-item .eael-pricing-tag:after,.eael-pricing-content-align-left .eael-pricing.style-1 .eael-pricing-item .header:after,.eael-pricing-content-align-left .eael-pricing.style-2 .eael-pricing-item .eael-pricing-tag:after,.eael-pricing-content-align-right .eael-pricing.style-1 .eael-pricing-item .eael-pricing-tag:after,.eael-pricing-content-align-right .eael-pricing.style-1 .eael-pricing-item .header:after,.eael-pricing-content-align-right .eael-pricing.style-2 .eael-pricing-item .eael-pricing-tag:after{margin:0;width:100%}.eael-pricing-button-align-right .eael-pricing.style-1 .footer,.eael-pricing-button-align-right .eael-pricing.style-2 .footer,.eael-pricing-button-align-right .eael-pricing.style-3 .footer,.eael-pricing-button-align-right .eael-pricing.style-4 .footer{text-align:right}.eael-pricing-button-align-center .eael-pricing.style-1 .footer,.eael-pricing-button-align-center .eael-pricing.style-2 .footer,.eael-pricing-button-align-center .eael-pricing.style-3 .footer,.eael-pricing-button-align-center .eael-pricing.style-4 .footer{text-align:center}.eael-pricing-button-align-left .eael-pricing.style-1 .footer,.eael-pricing-button-align-left .eael-pricing.style-2 .footer,.eael-pricing-button-align-left .eael-pricing.style-3 .footer,.eael-pricing-button-align-left .eael-pricing.style-4 .footer{text-align:left}.eael-pricing-content-align-center.eael-pricing-button-align-right .eael-pricing.style-2 .footer,.eael-pricing-content-align-center.eael-pricing-button-align-right .eael-pricing.style-4 .footer{padding-right:30px}.eael-pricing-content-align-center.eael-pricing-button-align-left .eael-pricing.style-2 .footer,.eael-pricing-content-align-center.eael-pricing-button-align-left .eael-pricing.style-4 .footer{padding-left:30px}.only-in-pro{width:100%;-webkit-display:flex;display:flex;align-items:center;justify-content:center;padding:15px;min-width:200px;background:#ef5350;color:#fff;text-align:center}.only-in-pro .title{font-family:Roboto,sans-serif;font-size:24px;line-height:40px;margin:0}div.tooltipster-sidetip.tooltipster-base.tooltipster-right .tooltipster-arrow{position:absolute;top:50%}div.tooltipster-sidetip.tooltipster-top div.tooltipster-box{margin-bottom:0!important}div.tooltipster-sidetip.tooltipster-bottom div.tooltipster-box{margin-top:0!important}.tooltipster-base.tooltipster-sidetip.tooltipster-top .tooltipster-arrow{top:auto;bottom:-8px}div.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow{top:-8px;bottom:auto}@media only screen and (max-width:480px){.eael-pricing.style-1 .eael-pricing-item .price-tag{display:block}}
26
  .eael-post-grid .woocommerce ul.products,.eael-product-grid .woocommerce ul.products{display:grid;grid-gap:25px;margin:0!important;padding:0!important}.eael-post-grid .woocommerce ul.products:after,.eael-post-grid .woocommerce ul.products:before,.eael-product-grid .woocommerce ul.products:after,.eael-product-grid .woocommerce ul.products:before{display:none}.eael-post-grid .woocommerce ul.products .product,.eael-product-grid .woocommerce ul.products .product{width:100%;margin:0;padding:0}.eael-post-grid .woocommerce ul.products.eael-product-columns-1,.eael-product-grid .woocommerce ul.products.eael-product-columns-1{grid-template-columns:100%}.eael-post-grid .woocommerce ul.products.eael-product-columns-2,.eael-product-grid .woocommerce ul.products.eael-product-columns-2{grid-template-columns:repeat(2,1fr)}@media screen and (max-width:480px){.eael-post-grid .woocommerce ul.products.eael-product-columns-2,.eael-product-grid .woocommerce ul.products.eael-product-columns-2{grid-template-columns:repeat(1,1fr)}}.eael-post-grid .woocommerce ul.products.eael-product-columns-3,.eael-product-grid .woocommerce ul.products.eael-product-columns-3{grid-template-columns:repeat(3,1fr)}@media screen and (max-width:767px){.eael-post-grid .woocommerce ul.products.eael-product-columns-3,.eael-product-grid .woocommerce ul.products.eael-product-columns-3{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:480px){.eael-post-grid .woocommerce ul.products.eael-product-columns-3,.eael-product-grid .woocommerce ul.products.eael-product-columns-3{grid-template-columns:repeat(1,1fr)}}.eael-post-grid .woocommerce ul.products.eael-product-columns-4,.eael-product-grid .woocommerce ul.products.eael-product-columns-4{grid-template-columns:repeat(4,1fr)}@media screen and (max-width:767px){.eael-post-grid .woocommerce ul.products.eael-product-columns-4,.eael-product-grid .woocommerce ul.products.eael-product-columns-4{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:480px){.eael-post-grid .woocommerce ul.products.eael-product-columns-4,.eael-product-grid .woocommerce ul.products.eael-product-columns-4{grid-template-columns:repeat(1,1fr)}}.eael-post-grid .woocommerce ul.products.eael-product-columns-5,.eael-product-grid .woocommerce ul.products.eael-product-columns-5{grid-template-columns:repeat(5,1fr)}@media screen and (max-width:767px){.eael-post-grid .woocommerce ul.products.eael-product-columns-5,.eael-product-grid .woocommerce ul.products.eael-product-columns-5{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:480px){.eael-post-grid .woocommerce ul.products.eael-product-columns-5,.eael-product-grid .woocommerce ul.products.eael-product-columns-5{grid-template-columns:repeat(1,1fr)}}.eael-post-grid .woocommerce ul.products.eael-product-columns-6,.eael-product-grid .woocommerce ul.products.eael-product-columns-6{grid-template-columns:repeat(6,1fr)}@media screen and (max-width:767px){.eael-post-grid .woocommerce ul.products.eael-product-columns-6,.eael-product-grid .woocommerce ul.products.eael-product-columns-6{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:480px){.eael-post-grid .woocommerce ul.products.eael-product-columns-6,.eael-product-grid .woocommerce ul.products.eael-product-columns-6{grid-template-columns:repeat(1,1fr)}}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product{position:relative;float:left;overflow:hidden;text-align:center;padding:0;border-radius:0;background-color:#fff;box-shadow:none}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product a,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product a,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product a,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product a{text-decoration:none}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product a:hover,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product a:hover,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product a:hover,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product a:hover{outline:0;box-shadow:none}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product img,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product img,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product img,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product img{width:100%;height:auto;-webkit-backface-visibility:hidden;backface-visibility:hidden}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .woocommerce-loop-product__title,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product .woocommerce-loop-product__title,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .woocommerce-loop-product__title,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px;font-weight:700;line-height:1;color:#333;margin:25px 0 12px;padding:0}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .onsale,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product .onsale,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .onsale,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .onsale{display:block;line-height:170px;font-size:13px;text-align:center;letter-spacing:0;text-shadow:0 1px 1px rgba(0,0,0,.6);text-transform:uppercase;color:#fff;background-color:#ff2a13;border-radius:0;border:none;box-shadow:none;position:absolute;height:100px;width:200px;z-index:1;left:-100px;top:-50px;right:auto;margin:0;padding:0;transform:rotate(-45deg)}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .price,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product .price,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .price,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .price{font-size:14px;margin-bottom:0}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .price del,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product .price del,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .price del,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .price del{opacity:.5;display:inline-block}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .price ins,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product .price ins,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .price ins,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .price ins{font-weight:400;background-color:transparent;color:#ff2a13}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .star-rating,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product .star-rating,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .star-rating,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .star-rating{display:block;float:none;font-size:14px;margin:10px auto}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .button.add_to_cart_button,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product .button.add_to_cart_button,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .button.add_to_cart_button,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .button.add_to_cart_button{display:block;font-size:14px;font-weight:400;line-height:38px;text-align:center;text-transform:uppercase;color:#fff;background-color:#333;padding:0;margin:15px;border-radius:0}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .button.add_to_cart_button:focus,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product .button.add_to_cart_button:focus,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .button.add_to_cart_button:focus,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .button.add_to_cart_button:focus{outline:0}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product a.added_to_cart,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product a.added_to_cart,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product a.added_to_cart,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product a.added_to_cart{display:block;margin:0 0 15px 0;padding:0;font-size:14px;line-height:1;text-transform:capitalize;color:#333;background-color:transparent}.eael-post-grid.eael-product-simple .woocommerce ul.products li.product,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product{border:1px solid #eee}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product{border:1px solid transparent}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .button.add_to_cart_button,.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product a.added_to_cart,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .button.add_to_cart_button,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product a.added_to_cart{visibility:hidden;transition:none}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product:hover,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product:hover{border:1px solid #eee}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product:hover .button.add_to_cart_button,.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product:hover a.added_to_cart,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product:hover .button.add_to_cart_button,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product:hover a.added_to_cart{visibility:visible}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product{position:relative;float:left;overflow:hidden;text-align:center;padding:0 0 15px 0;border-radius:0;background-color:#fff;box-shadow:none}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product a,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product a{text-decoration:none}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product a:hover,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product a:hover{outline:0;box-shadow:none}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product img,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product img{width:100%;height:auto;margin:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay{position:relative;overflow:hidden;line-height:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .button-wrap,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .button-wrap{position:absolute;top:50%;left:0;right:0;text-align:center;transform:translateY(-50%)}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button,.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .added_to_cart,.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .product-link,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .added_to_cart,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .product-link{display:inline-block;font-size:14px;line-height:38px;text-align:center;color:#fff;background-color:#333;width:38px;height:38px;border-style:none;border-radius:50%;vertical-align:middle;padding:0;margin:0 5px;transform:translateY(20px);opacity:0;transition:transform .2s,opacity .3s}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button:focus,.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .added_to_cart:focus,.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .product-link:focus,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button:focus,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .added_to_cart:focus,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .product-link:focus{outline:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button{font-size:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button:before,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button:before{display:none}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button:after,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button:after{content:"\f217";font:normal normal normal 14px/1 FontAwesome;font-size:14px;line-height:38px;text-rendering:auto;-webkit-font-smoothing:antialiased;vertical-align:middle;margin:0;padding:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button.loading:before,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button.loading:before{display:none}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button.loading:after,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button.loading:after{content:"\f110";display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:14px;line-height:38px;color:#fff;height:auto;width:auto;position:relative;top:0;left:0;margin:0;padding:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .added_to_cart,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .added_to_cart{font-size:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .added_to_cart:after,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .added_to_cart:after{content:"\f06e";font:normal normal normal 14px/1 FontAwesome;font-size:14px;line-height:38px;color:#fff;text-rendering:auto;-webkit-font-smoothing:antialiased;vertical-align:middle;margin:0;padding:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .woocommerce-loop-product__title,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px;font-weight:700;line-height:1;color:#333;margin:25px 0 12px;padding:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .onsale,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .onsale{display:block;line-height:170px;font-size:13px;text-align:center;letter-spacing:0;text-shadow:0 1px 1px rgba(0,0,0,.6);text-transform:uppercase;color:#fff;background-color:#ff2a13;border-radius:0;border:none;box-shadow:none;position:absolute;height:100px;width:200px;z-index:1;left:-100px;top:-50px;right:auto;margin:0;padding:0;transform:rotate(-45deg)}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .price,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .price{font-size:14px;margin-bottom:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .price del,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .price del{opacity:.5;display:inline-block}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .price ins,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .price ins{font-weight:400;background-color:transparent;color:#ff2a13}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .star-rating,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .star-rating{display:block;float:none;font-size:14px;margin:10px auto}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product:hover .overlay .add_to_cart_button,.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product:hover .overlay a,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product:hover .overlay .add_to_cart_button,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product:hover .overlay a{opacity:1;transform:translateY(0)}
 
27
  @-webkit-keyframes animateStripe{0%{transform:translate(0,0)}100%{transform:translate(35px,0)}}@keyframes animateStripe{0%{transform:translate(0,0)}100%{transform:translate(35px,0)}}@-webkit-keyframes animateStripeRTL{0%{transform:translate(0,0)}100%{transform:translate(-35px,0)}}@keyframes animateStripeRTL{0%{transform:translate(0,0)}100%{transform:translate(-35px,0)}}.eael-progressbar{position:relative}.eael-progressbar-title{font-size:20px;font-weight:400}.eael-progressbar-line{position:relative;display:block;width:100%;height:12px;background-color:#eee}.eael-progressbar-line .eael-progressbar-count-wrap{position:absolute;right:0;bottom:calc(100% + 5px);font-size:16px;font-weight:400;line-height:1}.eael-progressbar-line-fill{display:inline-block;position:absolute;top:50%;left:0;width:0;height:12px;background-color:#000;transform:translateY(-50%);transition:width 1.5s linear;overflow:hidden}.eael-progressbar-circle{position:relative;width:200px;height:200px}.eael-progressbar-circle .eael-progressbar-title{font-size:16px;font-weight:400}.eael-progressbar-circle .eael-progressbar-count-wrap{font-size:28px;font-weight:700}.eael-progressbar-circle-shadow{width:220px;height:220px;padding:10px;border-radius:50%}.eael-progressbar-circle-pie{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-clip-path:inset(0 0 0 50%);clip-path:inset(0 0 0 50%)}.eael-progressbar-circle-inner{height:100%;width:100%;border-width:12px;border-style:solid;border-color:#eee;border-radius:50%}.eael-progressbar-circle-half{position:absolute;left:0;top:0;height:100%;width:100%;border-width:12px;border-style:solid;border-color:#000;border-radius:50%;-webkit-clip-path:inset(0 50% 0 0);clip-path:inset(0 50% 0 0)}.eael-progressbar-circle-half-left{transform:rotate(0)}.eael-progressbar-circle-half-right{transform:rotate(180deg);visibility:hidden}.eael-progressbar-circle-inner-content{position:absolute;top:50%;width:100%;transform:translateY(-50%);text-align:center}.eael-progressbar-half-circle{position:relative;width:200px;height:100px;overflow:hidden}.eael-progressbar-half-circle .eael-progressbar-circle-pie{-webkit-clip-path:inset(0 0 50% 0);clip-path:inset(0 0 50% 0)}.eael-progressbar-half-circle .eael-progressbar-circle-half{-webkit-clip-path:inset(50% 0 0 0);clip-path:inset(50% 0 0 0);transform:rotate(0);transition:transform 1.5s linear}.eael-progressbar-half-circle .eael-progressbar-circle-inner-content{top:initial;bottom:0;transform:translateY(0)}.eael-progressbar-half-circle .eael-progressbar-title{font-size:16px;font-weight:400}.eael-progressbar-half-circle .eael-progressbar-count-wrap{font-size:28px;font-weight:700}.eael-progressbar-half-circle-after{position:relative;font-size:12px;font-weight:400;clear:both}.eael-progressbar-postfix-label{float:right}.eael-progressbar-line-stripe .eael-progressbar-line-fill:after{content:'';position:absolute;top:0;left:-35px;width:calc(100% + 70px);height:100%;background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:35px 35px}.eael-progressbar-line-animate .eael-progressbar-line-fill:after{-webkit-animation:animateStripe 2s linear infinite;animation:animateStripe 2s linear infinite}.eael-progressbar-line-animate-rtl .eael-progressbar-line-fill:after{-webkit-animation:animateStripeRTL 2s linear infinite;animation:animateStripeRTL 2s linear infinite}.eael-progressbar-circle-wrap>div{margin:0 auto}.eael-progressbar-box-container.left>div,.eael-progressbar-circle-container.left>div,.eael-progressbar-line-container.left{margin:0 auto 0 0}.eael-progressbar-box-container.center>div,.eael-progressbar-circle-container.center>div,.eael-progressbar-line-container.center{margin:0 auto}.eael-progressbar-box-container.right>div,.eael-progressbar-circle-container.right>div,.eael-progressbar-line-container.right{margin:0 0 0 auto}
28
  .eael-reading-progress-wrap.eael-reading-progress-wrap-local .eael-reading-progress-global{display:none}.eael-reading-progress-wrap.eael-reading-progress-wrap-global .eael-reading-progress-local{display:none}.eael-reading-progress-wrap.eael-reading-progress-wrap-disabled .eael-reading-progress-global,.eael-reading-progress-wrap.eael-reading-progress-wrap-disabled .eael-reading-progress-local{display:none}.eael-reading-progress-wrap .eael-reading-progress{width:100%;position:fixed;top:0;left:0;height:5px;z-index:999999}.eael-reading-progress-wrap .eael-reading-progress.eael-reading-progress-bottom{top:unset;bottom:0}.eael-reading-progress-wrap .eael-reading-progress .eael-reading-progress-fill{height:5px;background-color:#1fd18e;width:0%;transition:width 50ms ease}
29
  .eael-team-item{overflow:hidden;position:relative}.team-avatar-rounded figure img{border-radius:50%;height:auto}.eael-team-image>figure{margin:0;padding:0}.eael-team-image>figure img{display:block;margin:0 auto}.eael-team-item .eael-team-content{padding:10px}.eael-team-item .eael-team-member-name{font-size:20px;font-weight:700;letter-spacing:.05em;margin:5px 0;text-transform:uppercase}.eael-team-item .eael-team-member-position{font-size:14px;font-weight:400;letter-spacing:.05em;margin:5px 0 10px;text-transform:uppercase}.eael-team-item .eael-team-content,.eael-team-item .eael-team-content .eael-team-text{font-size:14px;line-height:1.5}.eael-team-content>ul{margin:0;padding:0}.eael-team-content li{display:inline-block;list-style:outside none none;margin-right:10px;text-align:center}.eael-team-content li a{font-size:2.5rem}.eael-team-align-left .eael-team-item .eael-team-content li,.eael-team-align-left .eael-team-item .eael-team-content p,.eael-team-align-left .eael-team-item .eael-team-content ul,.eael-team-align-left .eael-team-item .eael-team-member-name,.eael-team-align-left .eael-team-item .eael-team-member-position,.eael-team-align-left .eael-team-item .eael-team-text{text-align:left}.eael-team-align-right .eael-team-item .eael-team-content li,.eael-team-align-right .eael-team-item .eael-team-content p,.eael-team-align-right .eael-team-item .eael-team-content ul,.eael-team-align-right .eael-team-item .eael-team-member-name,.eael-team-align-right .eael-team-item .eael-team-member-position,.eael-team-align-right .eael-team-item .eael-team-text{text-align:right}.eael-team-align-centered .eael-team-item .eael-team-content li,.eael-team-align-centered .eael-team-item .eael-team-content p,.eael-team-align-centered .eael-team-item .eael-team-content ul,.eael-team-align-centered .eael-team-item .eael-team-member-name,.eael-team-align-centered .eael-team-item .eael-team-member-position,.eael-team-align-centered .eael-team-item .eael-team-text{text-align:center}.eael-team-item.eael-team-members-overlay .eael-team-content{bottom:10px;left:10px;margin-bottom:0;padding-top:15%;opacity:0;overflow:hidden;text-overflow:ellipsis;position:absolute;right:10px;top:10px;transition:all 615ms cubic-bezier(.19,1,.22,1) 0s}.eael-team-item.eael-team-members-overlay:hover .eael-team-content{opacity:1}.eael-team-member-social-link>a{display:inline-block;transition:all .3s cubic-bezier(.19,1,.22,1) 0s}.eael-team-member-social-link>a:focus{outline:0}
1
  .eael-adv-accordion{width:auto;height:auto;transition:all .3s ease-in-out}.eael-adv-accordion .eael-accordion-list .eael-accordion-header{padding:15px;border:1px solid rgba(0,0,0,.02);font-size:1rem;font-weight:600;line-height:1;transition:all .3s ease-in-out;display:flex;justify-content:space-between;align-items:center;cursor:pointer}.eael-adv-accordion .eael-accordion-list .eael-accordion-header .fa-toggle{transform:rotate(0);z-index:10;transition:all .3s ease-in-out}.eael-adv-accordion .eael-accordion-list .eael-accordion-header.active .fa-toggle{transform:rotate(90deg);z-index:10;transition:all .3s ease-in-out}.fa-accordion-icon{display:inline-block;margin-right:10px}.eael-adv-accordion .eael-accordion-list .eael-accordion-content{display:none;border:1px solid #eee;padding:15px;box-sizing:border-box;font-size:1rem;line-height:1.7}.eael-adv-accordion .eael-accordion-list .eael-accordion-content p{margin:0}.eael-adv-accordion .eael-accordion-list .eael-accordion-content.active{display:block}@-webkit-keyframes rotate-90{0%{transform:rotateY(0)}100%{transform:rotateY(-180deg)}}@keyframes rotate-90{0%{transform:rotateY(0)}100%{transform:rotateY(-180deg)}}@-webkit-keyframes fadeIn{0%{opacity:1;transition:all .3s ease-in-out}100%{opacity:1;transition:all .3s ease-in-out}}@keyframes fadeIn{0%{opacity:1;transition:all .3s ease-in-out}100%{opacity:1;transition:all .3s ease-in-out}}
2
  .eael-advance-tabs{display:block}.eael-advance-tabs .eael-tabs-nav>ul{position:relative;padding:0;margin:0;list-style-type:none;display:flex;justify-content:flex-start;align-items:center;z-index:1}.eael-advance-tabs .eael-tabs-nav>ul li{position:relative;padding:1em 1.5em;flex:1 1 auto;cursor:pointer;display:flex;justify-content:center;align-items:center;text-align:center;background-color:#f1f1f1}.eael-advance-tabs .eael-tabs-nav>ul li:after{content:"";position:absolute;bottom:-10px;left:0;right:0;margin:0 auto;z-index:1;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #444;border-bottom:0;display:none}.eael-advance-tabs .eael-tabs-nav>ul li.active,.eael-advance-tabs .eael-tabs-nav>ul li.active-default,.eael-advance-tabs .eael-tabs-nav>ul li:hover{background-color:#444}.eael-advance-tabs.active-caret-on .eael-tabs-nav>ul li.active-default:after,.eael-advance-tabs.active-caret-on .eael-tabs-nav>ul li.active:after{display:none}.eael-advance-tabs .eael-tabs-nav>ul li.active-default:after,.eael-advance-tabs .eael-tabs-nav>ul li.active:after{display:block}.eael-tabs-content{display:flex;flex:1 1 auto}.eael-advance-tabs .eael-tabs-content>div{display:none;opacity:0}.eael-advance-tabs .eael-tabs-content>div.active,.eael-advance-tabs .eael-tabs-content>div.active-default{display:block;width:100%;padding:1em;opacity:1;-webkit-animation:fadeIn linear .3s;animation:fadeIn linear .3s}.eael-tab-inline-icon li a .fa{margin-right:10px;line-height:1}.eael-tab-top-icon li{display:flex;flex-wrap:wrap;text-align:center}.eael-tab-top-icon li a{display:flex;flex-wrap:wrap;text-align:center}.eael-tab-top-icon li .eael-tab-title,.eael-tab-top-icon li .fa{flex:1 1 100%;line-height:1}.eael-tab-top-icon li a .eael-tab-title{margin-top:10px}.eael-advance-tabs.eael-tabs-vertical{display:flex}.eael-advance-tabs.eael-tabs-vertical .eael-tabs-nav{flex:0 0 auto}.eael-advance-tabs.eael-tabs-vertical .eael-tabs-nav>ul{flex-flow:column wrap}.eael-advance-tabs.eael-tabs-vertical .eael-tabs-nav>ul>li{width:100%;justify-content:start}.eael-advance-tabs.eael-tabs-vertical .eael-tabs-nav>ul li::after{bottom:auto!important;right:-10px;top:calc(50% - 10px);left:auto!important;border-left:10px solid #444;border-right:0;border-top:10px solid transparent;border-bottom:10px solid transparent}@media only screen and (max-width:767px){.eael-advance-tabs .eael-tabs-nav>ul{flex-wrap:wrap}.eael-advance-tabs .eael-tabs-nav>ul li{flex:1 100%}.eael-advance-tabs.eael-tabs-vertical{flex-wrap:wrap}.eael-advance-tabs.eael-tabs-vertical div.eael-tabs-nav{flex:1 100%}.eael-advance-tabs.eael-tabs-vertical ul{flex:1 100%}.eael-advance-tabs.eael-tabs-vertical ul li{flex:1 100%}div.eael-advance-tabs.eael-tabs-vertical div.eael-tabs-nav>ul li::after{border-left-color:transparent!important;bottom:-20px!important;left:0!important;right:0!important;top:auto!important;border-left:10px solid transparent;border-right:10px solid transparent;border-top-color:#444!important}}
 
3
  .eael-call-to-action{width:100%;height:auto;display:block;padding:30px;font-size:16px;color:#4d4d4d;font-weight:400;line-height:27px;margin:0 auto}.eael-call-to-action p{margin-bottom:10px}.eael-call-to-action .title{font-size:36px;font-weight:600;line-height:36px;margin-bottom:10px;text-transform:capitalize;font-style:normal}.eael-call-to-action.cta-center{text-align:center}.eael-call-to-action.cta-right{text-align:right}.eael-call-to-action.cta-left{text-align:left}.eael-call-to-action.bg-lite{background:#f4f4f4}.eael-call-to-action.bg-img{background-image:url(../img/bg.jpg);background-repeat:no-repeat;background-position:center;background-size:cover;position:relative;z-index:0;color:rgba(255,255,255,.7)}.eael-call-to-action.bg-img .icon{color:#fff}.eael-call-to-action.bg-img:after{content:"";position:absolute;width:100%;height:100%;top:0;left:0;z-index:-1;background:rgba(0,0,0,.8)}.eael-call-to-action.bg-img.bg-fixed{background-attachment:fixed;background-position:center center}.eael-call-to-action.bg-img .title{color:rgba(255,255,255,.9)}.eael-call-to-action.cta-flex,.eael-call-to-action.cta-icon-flex{display:flex;justify-content:space-between;align-items:flex-start}.eael-call-to-action.cta-icon-flex .icon{flex-grow:1;font-size:80px;text-align:left;line-height:130px}.eael-call-to-action.cta-icon-flex .action{flex-grow:1;text-align:right;padding-top:22px;flex-basis:22%}.eael-call-to-action.cta-icon-flex .content{flex-grow:1;padding:0 30px}.eael-call-to-action.cta-flex .content{padding:0 15px;flex-grow:1}.eael-call-to-action.cta-flex .action{flex-grow:1;text-align:right;padding-top:25px;flex-basis:23%}.eael-call-to-action .cta-button{position:relative;display:inline-block;padding:12px 30px;background:#f9f9f9;font-size:16px;text-decoration:none;color:#4d4d4d;transition:.5s;-ms-box-shadow:0 0 3px -1px rgba(0,0,0,.2);box-shadow:0 0 3px -1px rgba(0,0,0,.2);margin-right:10px;margin-top:10px;z-index:0;overflow:hidden}.eael-call-to-action .cta-button:last-child{margin-right:0}.eael-call-to-action .cta-button:focus{outline:0}.eael-call-to-action .cta-button:hover{color:#fff;background:#3f51b5;-ms-box-shadow:0 1px 12px 1px rgba(0,0,0,.1);box-shadow:0 1px 12px 1px rgba(0,0,0,.1)}.eael-call-to-action .cta-button.effect-1:after{content:"";position:absolute;width:100%;height:100%;background:#3f51b5;top:0;left:0;transform:translateY(-100%);-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);z-index:-1;transition:.5s;color:#fff}.eael-call-to-action .cta-button.effect-1:hover::after{transform:translateY(0)}.eael-call-to-action .cta-button.effect-2:after{content:"";position:absolute;width:100%;height:100%;background:#3f51b5;top:0;left:0;z-index:-1;transition:.5s;color:#fff;transform:translateX(-100%)}.eael-call-to-action .cta-button.effect-2:hover::after{transform:translateX(0)}@media only screen and (max-width:768px){.eael-call-to-action.cta-flex,.eael-call-to-action.cta-icon-flex{flex-wrap:wrap}.eael-call-to-action .title{font-size:28px;line-height:36px;margin-top:0}.eael-call-to-action.cta-icon-flex .icon{flex-grow:1;font-size:48px;line-height:90px;text-align:center}.eael-call-to-action.cta-flex .content,.eael-call-to-action.cta-icon-flex .content{flex-grow:1;text-align:center;padding:0}.eael-call-to-action.cta-flex .action,.eael-call-to-action.cta-icon-flex .action{text-align:center;padding-top:0}.eael-call-to-action .cta-button{padding:12px 25px}}@media only screen and (max-width:360px){.eael-call-to-action{font-size:14px;line-height:26px}.eael-call-to-action .cta-button{padding:4px 20px;font-size:12px}.eael-call-to-action .title{font-size:20px;line-height:30px}}
4
+ .eael-caldera-form-align-left,.eael-caldera-form-btn-align-left{text-align:left}.eael-caldera-form-align-right,.eael-caldera-form-btn-align-right{text-align:right}.eael-caldera-form-align-center,.eael-caldera-form-btn-align-center{text-align:center}.eael-caldera-form .control-label{display:none}.eael-caldera-form-labels-yes .control-label{display:block}.eael-caldera-form-button-center .form-group input[type=button],.eael-caldera-form-button-center .form-group input[type=submit]{display:block;margin:0 auto}.eael-caldera-form-button-right .form-group input[type=button],.eael-caldera-form-button-right .form-group input[type=submit]{float:right}.eael-caldera-form .intl-tel-input{display:inherit}.eael-custom-radio-checkbox .caldera-grid input[type=checkbox],.eael-custom-radio-checkbox .caldera-grid input[type=radio]{border-style:solid;border-width:0;padding:3px;-webkit-appearance:none}.eael-caldera-form-button-full-width .form-group input[type=button],.eael-caldera-form-button-full-width .form-group input[type=submit]{width:100%}
5
  @-webkit-keyframes loaderSpin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes loaderSpin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.eael-load-more-button-wrap{display:flex}.eael-load-more-button{display:flex;align-items:center;justify-content:center;padding:1em 2em;border:0 solid;font-size:16px;overflow:hidden}.eael-load-more-button .button__loader{left:-100%;top:auto;margin-right:5px;transition:all .2s}.eael-load-more-button>span{margin-left:-20px}.eael-load-more-button.button--loading>span{margin-left:0}.eael-load-more-button.button--loading .button__loader{left:0}.eael-btn-loader{border-radius:50%;width:20px;height:20px;font-size:10px;position:relative;text-indent:-9999em;border-top:4px solid rgba(255,255,255,.2);border-right:4px solid rgba(255,255,255,.2);border-bottom:4px solid rgba(255,255,255,.2);border-left:4px solid #fff;transform:translateZ(0);-webkit-animation:loaderSpin 1.1s infinite linear;animation:loaderSpin 1.1s infinite linear}.eael-btn-loader:after{border-radius:50%;width:20px;height:20px}
6
  .eael-contact-form-7.eael-contact-form-btn-align-center input.wpcf7-submit,.eael-contact-form.eael-contact-form-align-center{margin-left:auto!important;margin-right:auto!important;display:block;float:none}.eael-contact-form-7.eael-contact-form-btn-align-left input.wpcf7-submit,.eael-contact-form.eael-contact-form-align-left{float:left;width:auto}.eael-contact-form-7.eael-contact-form-btn-align-right input.wpcf7-submit,.eael-contact-form.eael-contact-form-align-right{float:right;width:auto}.eael-contact-form-7 .uneditable-input,.eael-contact-form-7 input[type=color],.eael-contact-form-7 input[type=date],.eael-contact-form-7 input[type=datetime-local],.eael-contact-form-7 input[type=datetime],.eael-contact-form-7 input[type=email],.eael-contact-form-7 input[type=month],.eael-contact-form-7 input[type=number],.eael-contact-form-7 input[type=password],.eael-contact-form-7 input[type=search],.eael-contact-form-7 input[type=tel],.eael-contact-form-7 input[type=text],.eael-contact-form-7 input[type=time],.eael-contact-form-7 input[type=url],.eael-contact-form-7 input[type=week],.eael-contact-form-7 textarea{transition:border linear .2s,box-shadow linear .2s}.eael-contact-form-7 .wpcf7-form::after,.eael-contact-form-7 .wpcf7-form::before{content:" ";clear:both;display:table}.eael-contact-form-7 .wpcf7-form:after{clear:both;content:"";font-size:0;height:0;display:block;visibility:hidden}.eael-contact-form-7 .wpcf7-form .wpcf7-form-control-wrap,.eael-contact-form-7 .wpcf7-form label{display:block}.eael-contact-form-7 .wpcf7-form p{margin-bottom:0}.eael-contact-form-7.labels-hide .wpcf7-form label{display:none}.eael-contact-form-7-title{margin-bottom:10px}.eael-contact-form-7-description{margin-bottom:20px}.eael-contact-form-7-button-full-width .wpcf7-form-control.wpcf7-submit{width:100%}.eael-contact-form-7-wrapper .eael-contact-form-align-center form{margin:0 auto}
7
  .eael-ticker-wrap{overflow:hidden;display:flex;flex-flow:row nowrap;align-items:center;width:100%}.eael-ticker-wrap .ticker-badge{flex:0 0 auto;padding:8px 12px}.eael-ticker-wrap .eael-ticker{overflow:hidden;flex:1 1 auto}.eael-ticker-wrap .eael-ticker .ticker-content{padding:8px 12px;line-height:1.8}.eael-ticker-wrap .eael-ticker .ticker-content p{margin:0}.eael-ticker-wrap .swiper-button-prev{left:auto!important;right:25px;transform:translateY(-50%) rotate(180deg)!important}.eael-ticker-wrap div.swiper-slide,.eael-ticker-wrap div.swiper-slide.swiper-slide-next,.eael-ticker-wrap div.swiper-slide.swiper-slide-prev{opacity:0!important}.eael-ticker-wrap div.swiper-slide.swiper-slide-active{opacity:1!important}.eael-ticker-wrap .eael-content-ticker.swiper-container .swiper-slide{text-align:left}@media only screen and (max-width:767px){.eael-ticker-wrap{flex-flow:row wrap}.content-ticker-pagination{display:none}}
22
  .eael-ninja-container input,.eael-ninja-container textarea{height:auto;padding:10px}.eael-contact-form-align-center .eael-ninja-container,.eael-contact-form-btn-align-center .eael-ninja-container .nf-field .nf-field-element input[type=button]{margin-left:auto!important;margin-right:auto!important;display:block;float:none}.eael-contact-form-align-left .eael-ninja-container,.eael-contact-form-btn-align-left .eael-ninja-container .nf-field .nf-field-element input[type=button]{float:left;width:auto}.eael-contact-form-align-right .eael-ninja-container,.eael-contact-form-btn-align-right .eael-ninja-container .nf-field .nf-field-element input[type=button]{float:right;width:auto}.eael-ninja-container .nf-field .nf-field-element input[type=password],.eael-ninja-container .nf-field .nf-field-element input[type=url],.eael-ninja-container .nf-field .nf-field-element textarea,.eael-ninja-container ul.wpuf-form li .wpuf-fields input[type=email],.eael-ninja-container ul.wpuf-form li .wpuf-fields input[type=number],.eael-ninja-container ul.wpuf-form li .wpuf-fields input[type=text]{max-width:100%}.eael-ninja-form .nf-form-title{display:none}.eael-ninja-form-title-yes .nf-form-title{display:block}.eael-ninja-form .title-description-hide .nf-form-title{display:none}.eael-ninja-form.title-description-hide .nf-form-title{display:none}.eael-ninja-form .nf-field-label{display:none}.eael-ninja-form-labels-yes .nf-field-label{display:block}.eael-ninja-form .submit-container input[type=button]{border:0;border-radius:0}.eael-ninja-form-button-full-width .submit-container input[type=button]{width:100%}
23
  .eael-post-grid{margin:0 -10px}.eael-grid-post{float:left;padding:10px}.eael-post-carousel .eael-grid-post{float:none;padding:0}.eael-grid-post-holder{border:1px solid rgba(0,0,0,.1)}.eael-grid-post-holder-inner{height:100%}.eael-entry-media{position:relative}.eael-entry-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;transition:opacity .2s ease-in-out,transform .25s cubic-bezier(.19,1,.22,1)}.eael-entry-overlay>a{position:absolute;top:0;left:0;width:100%;height:100%;z-index:3}.eael-entry-title{margin:10px 0 5px;font-size:1.2em}.eael-entry-thumbnail img{width:100%;max-width:100%;vertical-align:middle}.eael-entry-thumbnail>img{height:100%}.eael-entry-footer .eael-author-avatar{width:50px}.eael-entry-footer .eael-author-avatar .avatar{border-radius:50%}.eael-post-grid .eael-entry-footer .eael-entry-meta{padding-left:8px;text-align:left}.eael-grid-post .eael-entry-meta{display:flex;flex-direction:row}.eael-grid-post .eael-entry-footer .eael-entry-meta{flex-direction:column}.eael-entry-meta>div{font-size:12px;line-height:1.2;padding-bottom:5px}.eael-grid-post-excerpt p{margin:0;font-size:14px}.eael-entry-meta .eael-entry-footer .eael-posted-by{display:block}.eael-grid-post .eael-entry-footer,.eael-grid-post .eael-entry-wrapper{padding:15px}.eael-post-grid .eael-entry-header .eael-entry-meta span.eael-posted-on{padding-left:5px}.eael-post-grid .eael-entry-header .eael-entry-meta span.eael-posted-on::before{content:'\f111';font-family:FontAwesome;color:inherit;opacity:.4;font-size:.8em;padding-right:7px}.eael-entry-medianone{position:relative}.eael-entry-overlay{display:flex;align-items:center;justify-content:center}.eael-entry-overlay>i{color:#fff}.eael-entry-overlay.fade-in{visibility:hidden;opacity:0;transition:.3s}.eael-entry-medianone:hover .eael-entry-overlay.fade-in{visibility:visible;opacity:1}.eael-entry-medianone:hover .eael-entry-overlay.fade-in>i{transform:translate(0);opacity:1}.eael-entry-overlay.zoom-in{transform:scale(.9);visibility:hidden;opacity:0;transition:.3s}.eael-entry-medianone:hover .eael-entry-overlay.zoom-in{visibility:visible;opacity:1;transform:scale(1)}.eael-entry-overlay.slide-up{transform:translateY(100%);visibility:hidden;opacity:0;transition:.3s}.eael-entry-medianone:hover .eael-entry-overlay.slide-up{transform:translateY(0);visibility:visible;opacity:1}.eael-entry-medianone{overflow:hidden}.eael-entry-media.grid-hover-style-fade-in .eael-entry-overlay{opacity:0}.eael-entry-media.grid-hover-style-fade-in:hover .eael-entry-overlay{opacity:1}.eael-entry-media.grid-hover-style-none .eael-entry-overlay{display:none}.eael-entry-media.grid-hover-style-zoom-in .eael-entry-overlay{transform:scale(.4);opacity:0}.eael-entry-media.grid-hover-style-zoom-in:hover .eael-entry-overlay{transform:scale(1);opacity:1}.eael-entry-media.grid-hover-style-animate-down .eael-entry-overlay{transform:translateY(-100%)}.eael-entry-media.grid-hover-style-animate-down .eael-entry-overlay>i{transform:translateY(-100px);transition-delay:.1s;transition-duration:.3s}.eael-entry-media.grid-hover-style-animate-down:hover .eael-entry-overlay{transform:translate(0)}.eael-entry-media.grid-hover-style-animate-down:hover .eael-entry-overlay>i{transform:translateY(0)}.eael-entry-media.grid-hover-style-animate-up .eael-entry-overlay{transform:translateY(100%);visibility:hidden;opacity:0}.eael-entry-media.grid-hover-style-animate-up .eael-entry-overlay>i{transform:translateY(100px);transition-delay:.1s;transition-duration:.3s}.eael-entry-media.grid-hover-style-animate-up:hover .eael-entry-overlay{transform:translate(0);visibility:visible;opacity:1}.eael-entry-media.grid-hover-style-animate-up:hover .eael-entry-overlay>i{transform:translateY(0)}.eael-col-1 .eael-post-grid-column{float:none;width:100%}.eael-col-2 .eael-post-grid-column{float:left;width:50%}.eael-col-3 .eael-post-grid-column{float:left;width:33.3333%}.eael-col-4 .eael-post-grid-column{float:left;width:25%}.eael-col-5 .eael-post-grid-column{float:left;width:20%}.eael-col-6 .eael-post-grid-column{float:left;width:16.6666%}@media only screen and (max-width:979px){.eael-col-1 .eael-post-grid-column,.eael-col-2 .eael-post-grid-column,.eael-col-3 .eael-post-grid-column,.eael-col-4 .eael-post-grid-column,.eael-col-5 .eael-post-grid-column,.eael-col-6 .eael-post-grid-column{width:33.3333%}}@media only screen and (max-width:767px){.eael-col-1 .eael-post-grid-column,.eael-col-2 .eael-post-grid-column,.eael-col-3 .eael-post-grid-column,.eael-col-4 .eael-post-grid-column,.eael-col-5 .eael-post-grid-column,.eael-col-6 .eael-post-grid-column{width:50%}}@media only screen and (max-width:480px){.eael-col-1 .eael-post-grid-column,.eael-col-2 .eael-post-grid-column,.eael-col-3 .eael-post-grid-column,.eael-col-4 .eael-post-grid-column,.eael-col-5 .eael-post-grid-column,.eael-col-6 .eael-post-grid-column{float:none;width:100%}}.eael-author-avatar>a{display:block}.eael-entry-footer{overflow:hidden;display:flex}.eael-entry-footer>div{display:inline-block;float:left}
24
  .eael-post-timeline{margin-bottom:0;min-height:100%;overflow:hidden;position:relative}.eael-timeline-column{width:50%;margin-left:0;float:left;margin-top:0!important}.eael-timeline-post{position:relative}.eael-timeline-post:after{background-color:rgba(83,85,86,.2);content:"";width:2px;height:245px;position:absolute;right:0;top:70px}.eael-timeline-post:nth-child(2n):after{display:none}.eael-timeline-bullet{background-color:#9fa9af;border:5px solid #fff;border-radius:50%;box-shadow:0 1px 0 1px rgba(0,0,0,.1);content:"";height:20px;position:absolute;right:-9px;top:60px;width:20px;z-index:3;cursor:pointer}.eael-timeline-post:nth-child(2n) .eael-timeline-bullet{background-color:#9fa9af;border:5px solid #fff;border-radius:50%;bottom:36px;content:"";height:20px;left:-11px;position:absolute;top:300px;width:20px;z-index:3}.eael-timeline-post-inner{background:linear-gradient(45deg,#3f3f46 0,#05abe0 100%) repeat scroll 0 0 transparent;border:8px solid #e5eaed;box-shadow:0 1px 3px 0 rgba(0,0,0,.15);float:right;margin:30px 40px 30px auto;position:relative;height:320px;width:calc(100% - 40px)}.eael-timeline-post:nth-child(even) .eael-timeline-post-inner{float:left;margin-left:40px}.eael-timeline-post-inner:after{border-color:transparent transparent transparent #e5eaed;border-style:solid;border-width:15px;content:"";height:0;position:absolute;right:-36px;top:17px;width:0}.eael-timeline-post:nth-child(2n) .eael-timeline-post-inner:after{border-color:transparent #e5eaed transparent transparent;border-style:solid;border-width:15px;content:"";height:0;left:-36px;position:absolute;top:257px;width:0}.eael-timeline-post:nth-child(2n) .eael-timeline-post-inner::after{border-left-color:transparent!important}.eael-timeline-post p{margin:1.6rem 0 0 0;font-size:.9em;line-height:1.6em}.eael-timeline-post-image{background-size:cover;background-position:center center;background-repeat:no-repeat;display:block;height:100%;overflow:hidden;position:relative;opacity:.6;transition:all .3s}.eael-timeline-post-title{bottom:40px;position:absolute;width:100%}.eael-timeline-post-title h2{color:#fff;font-size:20px;font-weight:700;letter-spacing:1px;line-height:24px;padding:0 25px;text-align:left;text-transform:uppercase}.eael-timeline-post-excerpt{opacity:0;position:absolute;top:0;left:0;transition:all .3s}.eael-timeline-post-excerpt p{color:#fff;font-size:14px;padding:25px}.eael-timeline-post-inner:hover .eael-timeline-post-excerpt{opacity:1;top:10px}.eael-timeline-post-inner:hover .eael-timeline-post-image{opacity:.3}.eael-timeline-post time{opacity:0;background-color:rgba(0,0,0,.7);color:#fff;font-size:10px;border-radius:20px;position:absolute;right:-97px;width:100px;height:30px;line-height:30px;text-align:center;top:50px;z-index:99;transition:all .5s}.eael-timeline-post:nth-child(2n) time{background-color:rgba(0,0,0,.7);border-radius:20px;color:#fff;font-size:10px;height:30px;left:-99px;line-height:30px;position:absolute;text-align:center;top:290px;width:100px;z-index:99}.eael-timeline-post time:before{border-bottom:5px solid rgba(0,0,0,.7);border-left:5px solid transparent;border-right:5px solid transparent;content:"";height:0;left:45px;position:absolute;top:-5px;width:0}.eael-timeline-post:hover time{opacity:1}.eael-timeline-post::after{height:100%}.eael-post-timeline .eael-timeline-post:nth-last-child(2)::after{height:245px}.eael-post-timeline .eael-timeline-post:last-child::after{display:none}.eael-load-more-button-wrap{display:flex}@media only screen and (max-width:1366px){.eael-timeline-post-title h2{font-size:.8em}.eael-timeline-post-excerpt p{font-size:13px}}@media only screen and (max-width:1169px){.eael-timeline-post-inner{height:320px}}@media only screen and (max-width:992px){.eael-post-timeline{margin-left:0}.eael-timeline-bullet,.eael-timeline-post-inner:after,.eael-timeline-post:after,.eael-timeline-post:before{display:none}.eael-timeline-post{display:inline-block;float:left!important;width:50%!important;margin:15px auto}.eael-timeline-post-inner{height:320px;padding-bottom:30px}.eael-timeline-post-title{bottom:50px}.eael-timeline-post-title h2{font-size:.8em;line-height:1.2em}.eael-timeline-post .eael-timeline-post-inner{margin:0 10px auto 0;width:90%}.eael-timeline-post:nth-child(2n) .eael-timeline-post-inner{margin:0 auto 0 10px;width:90%}.eael-timeline-post-excerpt{opacity:0!important}.eael-timeline-post-image{opacity:.3}.eael-timeline-post time,.eael-timeline-post:nth-child(2n) time{background-color:#fff;border-radius:0;color:#444;font-size:12px;text-transform:uppercase;left:0;opacity:1;padding-top:3px;top:275px;width:100%}time:before{display:none}}@media only screen and (max-width:767px){.eael-timeline-post{display:block;float:none!important;margin:20px auto;width:100%!important}.eael-timeline-post .eael-timeline-post-inner,.eael-timeline-post:nth-child(2n) .eael-timeline-post-inner{display:block;float:none;margin:0 auto}}@media only screen and (max-width:479px){.eael-timeline-post .eael-timeline-post-inner,.eael-timeline-post:nth-child(2n) .eael-timeline-post-inner{height:250px;margin:0 auto;width:95%}.eael-timeline-post time,.eael-timeline-post:nth-child(2n) time{top:205px}}
 
25
  .eael-post-grid .woocommerce ul.products,.eael-product-grid .woocommerce ul.products{display:grid;grid-gap:25px;margin:0!important;padding:0!important}.eael-post-grid .woocommerce ul.products:after,.eael-post-grid .woocommerce ul.products:before,.eael-product-grid .woocommerce ul.products:after,.eael-product-grid .woocommerce ul.products:before{display:none}.eael-post-grid .woocommerce ul.products .product,.eael-product-grid .woocommerce ul.products .product{width:100%;margin:0;padding:0}.eael-post-grid .woocommerce ul.products.eael-product-columns-1,.eael-product-grid .woocommerce ul.products.eael-product-columns-1{grid-template-columns:100%}.eael-post-grid .woocommerce ul.products.eael-product-columns-2,.eael-product-grid .woocommerce ul.products.eael-product-columns-2{grid-template-columns:repeat(2,1fr)}@media screen and (max-width:480px){.eael-post-grid .woocommerce ul.products.eael-product-columns-2,.eael-product-grid .woocommerce ul.products.eael-product-columns-2{grid-template-columns:repeat(1,1fr)}}.eael-post-grid .woocommerce ul.products.eael-product-columns-3,.eael-product-grid .woocommerce ul.products.eael-product-columns-3{grid-template-columns:repeat(3,1fr)}@media screen and (max-width:767px){.eael-post-grid .woocommerce ul.products.eael-product-columns-3,.eael-product-grid .woocommerce ul.products.eael-product-columns-3{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:480px){.eael-post-grid .woocommerce ul.products.eael-product-columns-3,.eael-product-grid .woocommerce ul.products.eael-product-columns-3{grid-template-columns:repeat(1,1fr)}}.eael-post-grid .woocommerce ul.products.eael-product-columns-4,.eael-product-grid .woocommerce ul.products.eael-product-columns-4{grid-template-columns:repeat(4,1fr)}@media screen and (max-width:767px){.eael-post-grid .woocommerce ul.products.eael-product-columns-4,.eael-product-grid .woocommerce ul.products.eael-product-columns-4{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:480px){.eael-post-grid .woocommerce ul.products.eael-product-columns-4,.eael-product-grid .woocommerce ul.products.eael-product-columns-4{grid-template-columns:repeat(1,1fr)}}.eael-post-grid .woocommerce ul.products.eael-product-columns-5,.eael-product-grid .woocommerce ul.products.eael-product-columns-5{grid-template-columns:repeat(5,1fr)}@media screen and (max-width:767px){.eael-post-grid .woocommerce ul.products.eael-product-columns-5,.eael-product-grid .woocommerce ul.products.eael-product-columns-5{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:480px){.eael-post-grid .woocommerce ul.products.eael-product-columns-5,.eael-product-grid .woocommerce ul.products.eael-product-columns-5{grid-template-columns:repeat(1,1fr)}}.eael-post-grid .woocommerce ul.products.eael-product-columns-6,.eael-product-grid .woocommerce ul.products.eael-product-columns-6{grid-template-columns:repeat(6,1fr)}@media screen and (max-width:767px){.eael-post-grid .woocommerce ul.products.eael-product-columns-6,.eael-product-grid .woocommerce ul.products.eael-product-columns-6{grid-template-columns:repeat(2,1fr)}}@media screen and (max-width:480px){.eael-post-grid .woocommerce ul.products.eael-product-columns-6,.eael-product-grid .woocommerce ul.products.eael-product-columns-6{grid-template-columns:repeat(1,1fr)}}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product{position:relative;float:left;overflow:hidden;text-align:center;padding:0;border-radius:0;background-color:#fff;box-shadow:none}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product a,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product a,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product a,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product a{text-decoration:none}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product a:hover,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product a:hover,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product a:hover,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product a:hover{outline:0;box-shadow:none}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product img,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product img,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product img,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product img{width:100%;height:auto;-webkit-backface-visibility:hidden;backface-visibility:hidden}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .woocommerce-loop-product__title,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product .woocommerce-loop-product__title,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .woocommerce-loop-product__title,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px;font-weight:700;line-height:1;color:#333;margin:25px 0 12px;padding:0}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .onsale,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product .onsale,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .onsale,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .onsale{display:block;line-height:170px;font-size:13px;text-align:center;letter-spacing:0;text-shadow:0 1px 1px rgba(0,0,0,.6);text-transform:uppercase;color:#fff;background-color:#ff2a13;border-radius:0;border:none;box-shadow:none;position:absolute;height:100px;width:200px;z-index:1;left:-100px;top:-50px;right:auto;margin:0;padding:0;transform:rotate(-45deg)}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .price,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product .price,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .price,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .price{font-size:14px;margin-bottom:0}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .price del,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product .price del,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .price del,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .price del{opacity:.5;display:inline-block}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .price ins,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product .price ins,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .price ins,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .price ins{font-weight:400;background-color:transparent;color:#ff2a13}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .star-rating,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product .star-rating,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .star-rating,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .star-rating{display:block;float:none;font-size:14px;margin:10px auto}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .button.add_to_cart_button,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product .button.add_to_cart_button,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .button.add_to_cart_button,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .button.add_to_cart_button{display:block;font-size:14px;font-weight:400;line-height:38px;text-align:center;text-transform:uppercase;color:#fff;background-color:#333;padding:0;margin:15px;border-radius:0}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .button.add_to_cart_button:focus,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product .button.add_to_cart_button:focus,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .button.add_to_cart_button:focus,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product .button.add_to_cart_button:focus{outline:0}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product a.added_to_cart,.eael-post-grid.eael-product-simple .woocommerce ul.products li.product a.added_to_cart,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product a.added_to_cart,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product a.added_to_cart{display:block;margin:0 0 15px 0;padding:0;font-size:14px;line-height:1;text-transform:capitalize;color:#333;background-color:transparent}.eael-post-grid.eael-product-simple .woocommerce ul.products li.product,.eael-product-grid.eael-product-simple .woocommerce ul.products li.product{border:1px solid #eee}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product{border:1px solid transparent}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product .button.add_to_cart_button,.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product a.added_to_cart,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product .button.add_to_cart_button,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product a.added_to_cart{visibility:hidden;transition:none}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product:hover,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product:hover{border:1px solid #eee}.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product:hover .button.add_to_cart_button,.eael-post-grid.eael-product-reveal .woocommerce ul.products li.product:hover a.added_to_cart,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product:hover .button.add_to_cart_button,.eael-product-grid.eael-product-reveal .woocommerce ul.products li.product:hover a.added_to_cart{visibility:visible}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product{position:relative;float:left;overflow:hidden;text-align:center;padding:0 0 15px 0;border-radius:0;background-color:#fff;box-shadow:none}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product a,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product a{text-decoration:none}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product a:hover,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product a:hover{outline:0;box-shadow:none}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product img,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product img{width:100%;height:auto;margin:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay{position:relative;overflow:hidden;line-height:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .button-wrap,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .button-wrap{position:absolute;top:50%;left:0;right:0;text-align:center;transform:translateY(-50%)}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button,.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .added_to_cart,.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .product-link,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .added_to_cart,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .product-link{display:inline-block;font-size:14px;line-height:38px;text-align:center;color:#fff;background-color:#333;width:38px;height:38px;border-style:none;border-radius:50%;vertical-align:middle;padding:0;margin:0 5px;transform:translateY(20px);opacity:0;transition:transform .2s,opacity .3s}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button:focus,.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .added_to_cart:focus,.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .product-link:focus,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button:focus,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .added_to_cart:focus,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .product-link:focus{outline:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button{font-size:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button:before,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button:before{display:none}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button:after,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button:after{content:"\f217";font:normal normal normal 14px/1 FontAwesome;font-size:14px;line-height:38px;text-rendering:auto;-webkit-font-smoothing:antialiased;vertical-align:middle;margin:0;padding:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button.loading:before,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button.loading:before{display:none}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button.loading:after,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .add_to_cart_button.loading:after{content:"\f110";display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:14px;line-height:38px;color:#fff;height:auto;width:auto;position:relative;top:0;left:0;margin:0;padding:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .added_to_cart,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .added_to_cart{font-size:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .added_to_cart:after,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .overlay .added_to_cart:after{content:"\f06e";font:normal normal normal 14px/1 FontAwesome;font-size:14px;line-height:38px;color:#fff;text-rendering:auto;-webkit-font-smoothing:antialiased;vertical-align:middle;margin:0;padding:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .woocommerce-loop-product__title,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px;font-weight:700;line-height:1;color:#333;margin:25px 0 12px;padding:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .onsale,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .onsale{display:block;line-height:170px;font-size:13px;text-align:center;letter-spacing:0;text-shadow:0 1px 1px rgba(0,0,0,.6);text-transform:uppercase;color:#fff;background-color:#ff2a13;border-radius:0;border:none;box-shadow:none;position:absolute;height:100px;width:200px;z-index:1;left:-100px;top:-50px;right:auto;margin:0;padding:0;transform:rotate(-45deg)}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .price,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .price{font-size:14px;margin-bottom:0}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .price del,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .price del{opacity:.5;display:inline-block}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .price ins,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .price ins{font-weight:400;background-color:transparent;color:#ff2a13}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product .star-rating,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product .star-rating{display:block;float:none;font-size:14px;margin:10px auto}.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product:hover .overlay .add_to_cart_button,.eael-post-grid.eael-product-overlay .woocommerce ul.products li.product:hover .overlay a,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product:hover .overlay .add_to_cart_button,.eael-product-grid.eael-product-overlay .woocommerce ul.products li.product:hover .overlay a{opacity:1;transform:translateY(0)}
26
+ .eael-pricing{-webkit-display:flex;display:flex;justify-content:center;align-items:center}.eael-pricing .eael-pricing-item{width:100%;height:auto;margin:0}.eael-pricing .eael-pricing-button{display:inline-block;padding:12px 25px;background:#00c853;font-size:14px;font-weight:600;color:#fff;text-transform:uppercase;text-decoration:none;transition:.3s;border-radius:4px}.eael-pricing .eael-pricing-button:hover{background:#03b048}.eael-pricing .eael-pricing-item ul{padding:0;margin:0;list-style:none}.eael-pricing .eael-pricing-item ul li.disable-item{text-decoration:line-through;opacity:.5}.eael-pricing .eael-pricing-item ul li span.li-icon{color:#00c853;margin-right:6px}.eael-pricing .eael-pricing-item ul li.disable-item span.li-icon{color:#ef5350}.eael-pricing.style-1{position:relative;z-index:0;text-align:center}.eael-pricing.style-1 .eael-pricing-item{border:1px solid rgba(9,9,9,.1);padding:30px;border-radius:5px;transition:.5s}.eael-pricing.style-1 .eael-pricing-item:hover{box-shadow:0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.eael-pricing.style-1 .eael-pricing-item.featured{position:relative}.eael-pricing.style-1 .eael-pricing-item.ribbon-1:before{content:"";position:absolute;width:100%;height:3px;background:#00c853;top:0;left:0;right:0;z-index:1;border-radius:5px 5px 0 0}.eael-pricing.style-1 .eael-pricing-item.ribbon-2:before{content:"Featured";position:absolute;width:auto;background:#00c853;color:#fff;top:35px;right:-15px;z-index:10;font-size:10px;font-weight:600;text-transform:uppercase;padding:5px 10px}.eael-pricing.style-1 .eael-pricing-item.ribbon-2:after{content:"";position:absolute;top:20px;right:-15px;width:0;height:0;border-bottom:15px solid #00c853;border-right:15px solid transparent;z-index:9;opacity:.9}.eael-pricing.style-1 .eael-pricing-item.ribbon-3:before{content:"Featured";position:absolute;width:auto;background:rgba(0,0,0,.6);color:#fff;top:15px;right:15px;z-index:10;font-size:11px;font-weight:600;text-transform:uppercase;padding:5px 15px}.eael-pricing.style-1 .eael-pricing-item .header{display:block;position:relative;z-index:0;padding-bottom:15px;margin-bottom:15px}.eael-pricing.style-1 .eael-pricing-item .header:after{content:"";position:absolute;width:140px;height:1px;bottom:0;left:0;right:0;margin:0 auto;z-index:1;background:rgba(9,9,9,.1)}.eael-pricing.style-1 .eael-pricing-item .header .title{font-weight:700;line-height:30px;margin:0}.eael-pricing.style-1 .eael-pricing-item .eael-pricing-tag{position:relative;z-index:0;padding:15px 0;margin-bottom:15px}.eael-pricing.style-1 .eael-pricing-item .eael-pricing-tag:after{content:"";position:absolute;width:140px;height:1px;bottom:0;left:0;right:0;margin:0 auto;z-index:1;background:rgba(9,9,9,.04)}.eael-pricing.style-1 .eael-pricing-item .price-tag{position:relative;display:inline-block;font-size:28px;font-weight:500;line-height:0;margin:0 auto}.eael-pricing.style-1 .eael-pricing-item .price-tag .price-currency{font-size:24px;font-weight:700}.eael-pricing.style-1 .eael-pricing-item .price-period{color:#999}.eael-pricing.style-1 .eael-pricing-item .body ul{display:block;width:100%;margin-bottom:15px}.eael-pricing.style-1 .eael-pricing-item .body ul li{display:block;width:100%;height:auto;padding:10px 0;font-size:14px;color:#6d6d6d;border-bottom:1px solid rgba(9,9,9,.04)}.eael-pricing.style-1 .eael-pricing-item .body ul li:last-child{border:none}.eael-pricing.style-1 .eael-pricing-item.featured-large{padding:60px 0}.eael-pricing.style-2{position:relative;z-index:0;text-align:center}.eael-pricing.style-2 .eael-pricing-item{padding:30px 0;border-radius:5px;margin:0;border:1px solid rgba(9,9,9,.1)}.eael-pricing.style-2 .eael-pricing-item.featured{box-shadow:0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22)}.eael-pricing.style-2 .eael-pricing-item.ribbon-1:before{content:"";position:absolute;width:100%;height:3px;background:#00c853;top:0;left:0;right:0;z-index:1;border-radius:5px 5px 0 0}.eael-pricing.style-2 .eael-pricing-item.ribbon-2:before{content:"Featured";position:absolute;width:auto;background:#00c853;color:#fff;top:35px;right:-15px;z-index:10;font-size:10px;font-weight:600;text-transform:uppercase;padding:5px 10px}.eael-pricing.style-2 .eael-pricing-item.ribbon-2:after{content:"";position:absolute;top:20px;right:-15px;width:0;height:0;border-bottom:15px solid #00c853;border-right:15px solid transparent;z-index:9;opacity:.9}.eael-pricing.style-2 .eael-pricing-item.ribbon-3:before{content:"Featured";position:absolute;width:auto;background:rgba(0,0,0,.6);color:#fff;top:15px;right:15px;z-index:10;font-size:11px;font-weight:600;text-transform:uppercase;padding:5px 15px}.eael-pricing.style-2 .eael-pricing-item .eael-pricing-icon .icon{display:inline-block;position:relative;width:80px;height:80px;background:#00c853;border-radius:50%;margin-bottom:30px;text-align:center;transition:.5s;overflow:hidden}.eael-pricing.style-2 .eael-pricing-item .eael-pricing-icon .icon i{font-size:30px;color:#fff;line-height:80px;transition:.5s}.eael-pricing.style-2 .eael-pricing-item:hover .eael-pricing-icon .icon{background:#43a047}.eael-pricing.style-2 .eael-pricing-item:hover .eael-pricing-icon .icon i{color:#fff}.eael-pricing.style-2 .eael-pricing-item .header{background:#c8e6c9;padding:25px 30px;margin-bottom:15px;position:relative;z-index:0}.eael-pricing.style-2 .eael-pricing-item.featured .header:after{content:"";position:absolute;width:100%;height:100%;top:0;left:0;right:0;bottom:0;z-index:-1;background:rgba(255,255,255,.4)}.eael-pricing.style-2 .eael-pricing-item .header .title{font-size:28px;font-weight:700;line-height:40px;margin:0}.eael-pricing.style-2 .eael-pricing-item .header .subititle{font-size:14px;font-weight:600;color:#6d6d6d}.eael-pricing.style-2 .eael-pricing-item .eael-pricing-tag{position:relative;z-index:0;padding:15px 0;margin-bottom:15px}.eael-pricing.style-2 .eael-pricing-item .eael-pricing-tag:after{content:"";position:absolute;width:140px;height:1px;bottom:0;left:0;right:0;margin:0 auto;z-index:1;background:rgba(9,9,9,.04)}.eael-pricing.style-2 .eael-pricing-item .price-tag{position:relative;display:inline-block;font-size:28px;font-weight:500;line-height:0;margin:0 auto}.eael-pricing.style-2 .eael-pricing-item .price-tag .price-currency{font-size:24px;font-weight:700;color:#00c853}.eael-pricing.style-2 .eael-pricing-item .price-period{color:#999}.eael-pricing.style-2 .eael-pricing-item .body ul{display:block;width:100%;margin-bottom:15px}.eael-pricing.style-2 .eael-pricing-item .body ul li{display:block;width:100%;height:auto;padding:10px 15px;font-size:14px;color:#6d6d6d;border-bottom:1px solid rgba(9,9,9,.04)}.eael-pricing.style-2 .eael-pricing-item .body ul li:last-child{border:none}@media only screen and (min-width:768px) and (max-width:992px){.eael-pricing{display:block}.eael-pricing .eael-pricing-item,.eael-pricing.style-2 .eael-pricing-item,.eael-pricing.style-4 .eael-pricing-item{width:100%;margin:0 auto 30px auto}}@media only screen and (max-width:480px){.eael-pricing{display:block}.eael-pricing .eael-pricing-item{width:100%}.eael-pricing .eael-pricing-item,.eael-pricing.style-2 .eael-pricing-item,.eael-pricing.style-4 .eael-pricing-item{margin:0 auto 30px auto}}.eael-pricing-content-align-center .eael-pricing{text-align:center}.eael-pricing-content-align-left .eael-pricing{text-align:left}.eael-pricing-content-align-right .eael-pricing{text-align:right}.eael-pricing-content-align-left .eael-pricing.style-2 .eael-pricing-item .price-tag{padding-left:45px}.eael-pricing-content-align-left .eael-pricing.style-2 .eael-pricing-item .price-tag:before{left:30px}.eael-pricing-content-align-right .eael-pricing.style-2 .eael-pricing-item .eael-pricing-tag{padding-right:30px}.eael-pricing-content-align-left .eael-pricing.style-2 .eael-pricing-item .eael-pricing-icon,.eael-pricing-content-align-left .eael-pricing.style-2 .eael-pricing-item .footer,.eael-pricing-content-align-left .eael-pricing.style-2 .eael-pricing-item .header,.eael-pricing-content-align-left .eael-pricing.style-4 .eael-pricing-item .footer,.eael-pricing-content-align-left .eael-pricing.style-4 .eael-pricing-item .header{padding-left:30px;padding-right:30px}.eael-pricing-content-align-right .eael-pricing.style-2 .eael-pricing-item .eael-pricing-icon,.eael-pricing-content-align-right .eael-pricing.style-2 .eael-pricing-item .footer,.eael-pricing-content-align-right .eael-pricing.style-2 .eael-pricing-item .header,.eael-pricing-content-align-right .eael-pricing.style-4 .eael-pricing-item .footer,.eael-pricing-content-align-right .eael-pricing.style-4 .eael-pricing-item .header{padding-right:30px;padding-left:30px}.eael-pricing-content-align-left .eael-pricing.style-2 .eael-pricing-item .body ul li,.eael-pricing-content-align-left .eael-pricing.style-4 .eael-pricing-item .body ul li{padding-left:30px}.eael-pricing-content-align-right .eael-pricing.style-2 .eael-pricing-item .body ul li,.eael-pricing-content-align-right .eael-pricing.style-4 .eael-pricing-item .body ul li{padding-right:30px}.eael-pricing-content-align-left .eael-pricing.style-3 .eael-pricing-item .header:after{transform:translateX(-80%)}.eael-pricing-content-align-right .eael-pricing.style-3 .eael-pricing-item .header:after{transform:translateX(80%)}.eael-pricing-content-align-left .eael-pricing.style-3 .eael-pricing-item:hover .header:after,.eael-pricing-content-align-right .eael-pricing.style-3 .eael-pricing-item:hover .header:after{transform:translateX(0)}.eael-pricing-content-align-left .eael-pricing.style-1 .eael-pricing-item .eael-pricing-tag:after,.eael-pricing-content-align-left .eael-pricing.style-1 .eael-pricing-item .header:after,.eael-pricing-content-align-left .eael-pricing.style-2 .eael-pricing-item .eael-pricing-tag:after,.eael-pricing-content-align-right .eael-pricing.style-1 .eael-pricing-item .eael-pricing-tag:after,.eael-pricing-content-align-right .eael-pricing.style-1 .eael-pricing-item .header:after,.eael-pricing-content-align-right .eael-pricing.style-2 .eael-pricing-item .eael-pricing-tag:after{margin:0;width:100%}.eael-pricing-button-align-right .eael-pricing.style-1 .footer,.eael-pricing-button-align-right .eael-pricing.style-2 .footer,.eael-pricing-button-align-right .eael-pricing.style-3 .footer,.eael-pricing-button-align-right .eael-pricing.style-4 .footer{text-align:right}.eael-pricing-button-align-center .eael-pricing.style-1 .footer,.eael-pricing-button-align-center .eael-pricing.style-2 .footer,.eael-pricing-button-align-center .eael-pricing.style-3 .footer,.eael-pricing-button-align-center .eael-pricing.style-4 .footer{text-align:center}.eael-pricing-button-align-left .eael-pricing.style-1 .footer,.eael-pricing-button-align-left .eael-pricing.style-2 .footer,.eael-pricing-button-align-left .eael-pricing.style-3 .footer,.eael-pricing-button-align-left .eael-pricing.style-4 .footer{text-align:left}.eael-pricing-content-align-center.eael-pricing-button-align-right .eael-pricing.style-2 .footer,.eael-pricing-content-align-center.eael-pricing-button-align-right .eael-pricing.style-4 .footer{padding-right:30px}.eael-pricing-content-align-center.eael-pricing-button-align-left .eael-pricing.style-2 .footer,.eael-pricing-content-align-center.eael-pricing-button-align-left .eael-pricing.style-4 .footer{padding-left:30px}.only-in-pro{width:100%;-webkit-display:flex;display:flex;align-items:center;justify-content:center;padding:15px;min-width:200px;background:#ef5350;color:#fff;text-align:center}.only-in-pro .title{font-family:Roboto,sans-serif;font-size:24px;line-height:40px;margin:0}div.tooltipster-sidetip.tooltipster-base.tooltipster-right .tooltipster-arrow{position:absolute;top:50%}div.tooltipster-sidetip.tooltipster-top div.tooltipster-box{margin-bottom:0!important}div.tooltipster-sidetip.tooltipster-bottom div.tooltipster-box{margin-top:0!important}.tooltipster-base.tooltipster-sidetip.tooltipster-top .tooltipster-arrow{top:auto;bottom:-8px}div.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow{top:-8px;bottom:auto}@media only screen and (max-width:480px){.eael-pricing.style-1 .eael-pricing-item .price-tag{display:block}}
27
  @-webkit-keyframes animateStripe{0%{transform:translate(0,0)}100%{transform:translate(35px,0)}}@keyframes animateStripe{0%{transform:translate(0,0)}100%{transform:translate(35px,0)}}@-webkit-keyframes animateStripeRTL{0%{transform:translate(0,0)}100%{transform:translate(-35px,0)}}@keyframes animateStripeRTL{0%{transform:translate(0,0)}100%{transform:translate(-35px,0)}}.eael-progressbar{position:relative}.eael-progressbar-title{font-size:20px;font-weight:400}.eael-progressbar-line{position:relative;display:block;width:100%;height:12px;background-color:#eee}.eael-progressbar-line .eael-progressbar-count-wrap{position:absolute;right:0;bottom:calc(100% + 5px);font-size:16px;font-weight:400;line-height:1}.eael-progressbar-line-fill{display:inline-block;position:absolute;top:50%;left:0;width:0;height:12px;background-color:#000;transform:translateY(-50%);transition:width 1.5s linear;overflow:hidden}.eael-progressbar-circle{position:relative;width:200px;height:200px}.eael-progressbar-circle .eael-progressbar-title{font-size:16px;font-weight:400}.eael-progressbar-circle .eael-progressbar-count-wrap{font-size:28px;font-weight:700}.eael-progressbar-circle-shadow{width:220px;height:220px;padding:10px;border-radius:50%}.eael-progressbar-circle-pie{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-clip-path:inset(0 0 0 50%);clip-path:inset(0 0 0 50%)}.eael-progressbar-circle-inner{height:100%;width:100%;border-width:12px;border-style:solid;border-color:#eee;border-radius:50%}.eael-progressbar-circle-half{position:absolute;left:0;top:0;height:100%;width:100%;border-width:12px;border-style:solid;border-color:#000;border-radius:50%;-webkit-clip-path:inset(0 50% 0 0);clip-path:inset(0 50% 0 0)}.eael-progressbar-circle-half-left{transform:rotate(0)}.eael-progressbar-circle-half-right{transform:rotate(180deg);visibility:hidden}.eael-progressbar-circle-inner-content{position:absolute;top:50%;width:100%;transform:translateY(-50%);text-align:center}.eael-progressbar-half-circle{position:relative;width:200px;height:100px;overflow:hidden}.eael-progressbar-half-circle .eael-progressbar-circle-pie{-webkit-clip-path:inset(0 0 50% 0);clip-path:inset(0 0 50% 0)}.eael-progressbar-half-circle .eael-progressbar-circle-half{-webkit-clip-path:inset(50% 0 0 0);clip-path:inset(50% 0 0 0);transform:rotate(0);transition:transform 1.5s linear}.eael-progressbar-half-circle .eael-progressbar-circle-inner-content{top:initial;bottom:0;transform:translateY(0)}.eael-progressbar-half-circle .eael-progressbar-title{font-size:16px;font-weight:400}.eael-progressbar-half-circle .eael-progressbar-count-wrap{font-size:28px;font-weight:700}.eael-progressbar-half-circle-after{position:relative;font-size:12px;font-weight:400;clear:both}.eael-progressbar-postfix-label{float:right}.eael-progressbar-line-stripe .eael-progressbar-line-fill:after{content:'';position:absolute;top:0;left:-35px;width:calc(100% + 70px);height:100%;background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:35px 35px}.eael-progressbar-line-animate .eael-progressbar-line-fill:after{-webkit-animation:animateStripe 2s linear infinite;animation:animateStripe 2s linear infinite}.eael-progressbar-line-animate-rtl .eael-progressbar-line-fill:after{-webkit-animation:animateStripeRTL 2s linear infinite;animation:animateStripeRTL 2s linear infinite}.eael-progressbar-circle-wrap>div{margin:0 auto}.eael-progressbar-box-container.left>div,.eael-progressbar-circle-container.left>div,.eael-progressbar-line-container.left{margin:0 auto 0 0}.eael-progressbar-box-container.center>div,.eael-progressbar-circle-container.center>div,.eael-progressbar-line-container.center{margin:0 auto}.eael-progressbar-box-container.right>div,.eael-progressbar-circle-container.right>div,.eael-progressbar-line-container.right{margin:0 0 0 auto}
28
  .eael-reading-progress-wrap.eael-reading-progress-wrap-local .eael-reading-progress-global{display:none}.eael-reading-progress-wrap.eael-reading-progress-wrap-global .eael-reading-progress-local{display:none}.eael-reading-progress-wrap.eael-reading-progress-wrap-disabled .eael-reading-progress-global,.eael-reading-progress-wrap.eael-reading-progress-wrap-disabled .eael-reading-progress-local{display:none}.eael-reading-progress-wrap .eael-reading-progress{width:100%;position:fixed;top:0;left:0;height:5px;z-index:999999}.eael-reading-progress-wrap .eael-reading-progress.eael-reading-progress-bottom{top:unset;bottom:0}.eael-reading-progress-wrap .eael-reading-progress .eael-reading-progress-fill{height:5px;background-color:#1fd18e;width:0%;transition:width 50ms ease}
29
  .eael-team-item{overflow:hidden;position:relative}.team-avatar-rounded figure img{border-radius:50%;height:auto}.eael-team-image>figure{margin:0;padding:0}.eael-team-image>figure img{display:block;margin:0 auto}.eael-team-item .eael-team-content{padding:10px}.eael-team-item .eael-team-member-name{font-size:20px;font-weight:700;letter-spacing:.05em;margin:5px 0;text-transform:uppercase}.eael-team-item .eael-team-member-position{font-size:14px;font-weight:400;letter-spacing:.05em;margin:5px 0 10px;text-transform:uppercase}.eael-team-item .eael-team-content,.eael-team-item .eael-team-content .eael-team-text{font-size:14px;line-height:1.5}.eael-team-content>ul{margin:0;padding:0}.eael-team-content li{display:inline-block;list-style:outside none none;margin-right:10px;text-align:center}.eael-team-content li a{font-size:2.5rem}.eael-team-align-left .eael-team-item .eael-team-content li,.eael-team-align-left .eael-team-item .eael-team-content p,.eael-team-align-left .eael-team-item .eael-team-content ul,.eael-team-align-left .eael-team-item .eael-team-member-name,.eael-team-align-left .eael-team-item .eael-team-member-position,.eael-team-align-left .eael-team-item .eael-team-text{text-align:left}.eael-team-align-right .eael-team-item .eael-team-content li,.eael-team-align-right .eael-team-item .eael-team-content p,.eael-team-align-right .eael-team-item .eael-team-content ul,.eael-team-align-right .eael-team-item .eael-team-member-name,.eael-team-align-right .eael-team-item .eael-team-member-position,.eael-team-align-right .eael-team-item .eael-team-text{text-align:right}.eael-team-align-centered .eael-team-item .eael-team-content li,.eael-team-align-centered .eael-team-item .eael-team-content p,.eael-team-align-centered .eael-team-item .eael-team-content ul,.eael-team-align-centered .eael-team-item .eael-team-member-name,.eael-team-align-centered .eael-team-item .eael-team-member-position,.eael-team-align-centered .eael-team-item .eael-team-text{text-align:center}.eael-team-item.eael-team-members-overlay .eael-team-content{bottom:10px;left:10px;margin-bottom:0;padding-top:15%;opacity:0;overflow:hidden;text-overflow:ellipsis;position:absolute;right:10px;top:10px;transition:all 615ms cubic-bezier(.19,1,.22,1) 0s}.eael-team-item.eael-team-members-overlay:hover .eael-team-content{opacity:1}.eael-team-member-social-link>a{display:inline-block;transition:all .3s cubic-bezier(.19,1,.22,1) 0s}.eael-team-member-social-link>a:focus{outline:0}
assets/front-end/js/eael.js CHANGED
@@ -1,320 +1,547 @@
1
  /*!
2
- * Countdown v0.1.0
3
- * https://github.com/fengyuanchen/countdown
4
- *
5
- * Copyright 2014 Fengyuan Chen
6
- * Released under the MIT license
7
  */
8
 
9
- (function (factory) {
10
- if (typeof define === "function" && define.amd) {
11
- // AMD. Register as anonymous module.
12
- define(["jquery"], factory);
13
- } else {
14
- // Browser globals.
15
- factory(jQuery);
16
- }
17
- })(function ($) {
18
 
19
- "use strict";
20
 
21
- var Countdown = function (element, options) {
22
- this.$element = $(element);
23
- this.defaults = $.extend({}, Countdown.defaults, this.$element.data(), $.isPlainObject(options) ? options : {});
24
- this.init();
25
- };
 
 
 
 
 
 
 
 
26
 
27
- Countdown.prototype = {
28
- constructor: Countdown,
29
 
30
- init: function () {
31
- var content = this.$element.html(),
32
- date = new Date(this.defaults.date || content);
33
 
34
- if (date.getTime()) {
35
- this.content = content;
36
- this.date = date;
37
- this.find();
38
 
39
- if (this.defaults.autoStart) {
40
- this.start();
41
- }
42
- }
43
- },
44
 
45
- find: function () {
46
- var $element = this.$element;
47
 
48
- this.$days = $element.find("[data-days]");
49
- this.$hours = $element.find("[data-hours]");
50
- this.$minutes = $element.find("[data-minutes]");
51
- this.$seconds = $element.find("[data-seconds]");
 
 
 
 
 
 
 
 
52
 
53
- if ((this.$days.length + this.$hours.length + this.$minutes.length + this.$seconds.length) > 0) {
54
- this.found = true;
55
- }
56
- },
57
 
58
- reset: function () {
59
- if (this.found) {
60
- this.output("days");
61
- this.output("hours");
62
- this.output("minutes");
63
- this.output("seconds");
64
- } else {
65
- this.output();
66
- }
67
- },
 
 
 
68
 
69
- ready: function () {
70
- var date = this.date,
71
- decisecond = 100,
72
- second = 1000,
73
- minute = 60000,
74
- hour = 3600000,
75
- day = 86400000,
76
- remainder = {},
77
- diff;
78
 
79
- if (!date) {
80
- return false;
81
- }
 
 
 
 
 
 
82
 
83
- diff = date.getTime() - (new Date()).getTime();
 
84
 
85
- if (diff <= 0) {
86
- this.end();
87
- return false;
88
- }
 
 
 
 
 
 
89
 
90
- remainder.days = diff;
91
- remainder.hours = remainder.days % day;
92
- remainder.minutes = remainder.hours % hour;
93
- remainder.seconds = remainder.minutes % minute;
94
- remainder.milliseconds = remainder.seconds % second;
 
 
 
 
 
 
 
 
95
 
96
- this.days = Math.floor(remainder.days / day);
97
- this.hours = Math.floor(remainder.hours / hour);
98
- this.minutes = Math.floor(remainder.minutes / minute);
99
- this.seconds = Math.floor(remainder.seconds / second);
100
- this.deciseconds = Math.floor(remainder.milliseconds / decisecond);
101
 
102
- return true;
103
- },
 
 
104
 
105
- start: function () {
106
- if (!this.active && this.ready()) {
107
- this.active = true;
108
- this.reset();
109
- this.autoUpdate = this.defaults.fast ?
110
- setInterval($.proxy(this.fastUpdate, this), 100) :
111
- setInterval($.proxy(this.update, this), 1000);
112
- }
113
- },
114
 
115
- stop: function () {
116
- if (this.active) {
117
- this.active = false;
118
- clearInterval(this.autoUpdate);
119
- }
120
- },
121
 
122
- end: function () {
123
- if (!this.date) {
124
- return;
125
- }
 
126
 
127
- this.stop();
 
128
 
129
- this.days = 0;
130
- this.hours = 0;
131
- this.minutes = 0;
132
- this.seconds = 0;
133
- this.deciseconds = 0;
134
- this.reset();
135
- this.defaults.end();
136
- },
137
 
138
- destroy: function () {
139
- if (!this.date) {
140
- return;
141
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
 
143
- this.stop();
144
 
145
- this.$days = null;
146
- this.$hours = null;
147
- this.$minutes = null;
148
- this.$seconds = null;
149
 
150
- this.$element.empty().html(this.content);
151
- this.$element.removeData("countdown");
152
- },
153
 
154
- fastUpdate: function () {
155
- if (--this.deciseconds >= 0) {
156
- this.output("deciseconds");
157
- } else {
158
- this.deciseconds = 9;
159
- this.update();
160
- }
161
- },
162
-
163
- update: function () {
164
- if (--this.seconds >= 0) {
165
- this.output("seconds");
166
- } else {
167
- this.seconds = 59;
168
-
169
- if (--this.minutes >= 0) {
170
- this.output("minutes");
171
- } else {
172
- this.minutes = 59;
173
-
174
- if (--this.hours >= 0) {
175
- this.output("hours");
176
- } else {
177
- this.hours = 23;
178
 
179
- if (--this.days >= 0) {
180
- this.output("days");
181
- } else {
182
- this.end();
183
- }
184
- }
185
- }
186
- }
187
- },
188
 
189
- output: function (type) {
190
- if (!this.found) {
191
- this.$element.empty().html(this.template());
192
- return;
193
- }
194
 
195
- switch (type) {
196
- case "deciseconds":
197
- this.$seconds.text(this.getSecondsText());
198
- break;
199
 
200
- case "seconds":
201
- this.$seconds.text(this.seconds);
202
- break;
 
 
 
 
203
 
204
- case "minutes":
205
- this.$minutes.text(this.minutes);
206
- break;
207
 
208
- case "hours":
209
- this.$hours.text(this.hours);
210
- break;
 
 
 
211
 
212
- case "days":
213
- this.$days.text(this.days);
214
- break;
 
 
215
 
216
- // No default
217
- }
218
- },
219
 
220
- template: function () {
221
- return this.defaults.text
222
- .replace("%s", this.days)
223
- .replace("%s", this.hours)
224
- .replace("%s", this.minutes)
225
- .replace("%s", this.getSecondsText());
226
- },
227
 
228
- getSecondsText: function () {
229
- return this.active && this.defaults.fast ? (this.seconds + "." + this.deciseconds) : this.seconds;
230
- }
231
- };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
232
 
233
- // Default settings
234
- Countdown.defaults = {
235
- autoStart: true,
236
- date: null,
237
- fast: false,
238
- end: $.noop,
239
- text: "%s days, %s hours, %s minutes, %s seconds"
240
- };
241
 
242
- // Set default settings
243
- Countdown.setDefaults = function (options) {
244
- $.extend(Countdown.defaults, options);
245
- };
246
 
247
- // Register as jQuery plugin
248
- $.fn.countdown = function (options) {
249
- return this.each(function () {
250
- var $this = $(this),
251
- data = $this.data("countdown");
252
 
253
- if (!data) {
254
- $this.data("countdown", (data = new Countdown(this, options)));
255
- }
 
256
 
257
- if (typeof options === "string" && $.isFunction(data[options])) {
258
- data[options]();
259
- }
260
- });
261
- };
262
 
263
- $.fn.countdown.constructor = Countdown;
264
- $.fn.countdown.setDefaults = Countdown.setDefaults;
265
 
266
- $(function () {
267
- $("[countdown]").countdown();
268
- });
269
 
270
- });
 
271
 
272
- !function(t,s,e){"use strict";var i=function(t,s){var i=this;this.el=t,this.options={},Object.keys(r).forEach(function(t){i.options[t]=r[t]}),Object.keys(s).forEach(function(t){i.options[t]=s[t]}),this.isInput="input"===this.el.tagName.toLowerCase(),this.attr=this.options.attr,this.showCursor=!this.isInput&&this.options.showCursor,this.elContent=this.attr?this.el.getAttribute(this.attr):this.el.textContent,this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,e&&this.options.stringsElement instanceof e?this.stringsElement=this.options.stringsElement[0]:this.stringsElement=this.options.stringsElement,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.build()};i.prototype={constructor:i,init:function(){var t=this;t.timeout=setTimeout(function(){for(var s=0;s<t.strings.length;++s)t.sequence[s]=s;t.shuffle&&(t.sequence=t.shuffleArray(t.sequence)),t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos)},t.startDelay)},build:function(){var t=this;if(this.showCursor===!0&&(this.cursor=s.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)),this.stringsElement){this.strings=[],this.stringsElement.style.display="none";var e=Array.prototype.slice.apply(this.stringsElement.children);e.forEach(function(s){t.strings.push(s.innerHTML)})}this.init()},typewrite:function(t,s){if(this.stop!==!0){var e=Math.round(70*Math.random())+this.typeSpeed,i=this;i.timeout=setTimeout(function(){var e=0,r=t.substr(s);if("^"===r.charAt(0)){var o=1;/^\^\d+/.test(r)&&(r=/\d+/.exec(r)[0],o+=r.length,e=parseInt(r)),t=t.substring(0,s)+t.substring(s+o)}if("html"===i.contentType){var n=t.substr(s).charAt(0);if("<"===n||"&"===n){var a="",h="";for(h="<"===n?">":";";t.substr(s+1).charAt(0)!==h&&(a+=t.substr(s).charAt(0),s++,!(s+1>t.length)););s++,a+=h}}i.timeout=setTimeout(function(){if(s===t.length){if(i.options.onStringTyped(i.arrayPos),i.arrayPos===i.strings.length-1&&(i.options.callback(),i.curLoop++,i.loop===!1||i.curLoop===i.loopCount))return;i.timeout=setTimeout(function(){i.backspace(t,s)},i.backDelay)}else{0===s&&i.options.preStringTyped(i.arrayPos);var e=t.substr(0,s+1);i.attr?i.el.setAttribute(i.attr,e):i.isInput?i.el.value=e:"html"===i.contentType?i.el.innerHTML=e:i.el.textContent=e,s++,i.typewrite(t,s)}},e)},e)}},backspace:function(t,s){if(this.stop!==!0){var e=Math.round(70*Math.random())+this.backSpeed,i=this;i.timeout=setTimeout(function(){if("html"===i.contentType&&">"===t.substr(s).charAt(0)){for(var e="";"<"!==t.substr(s-1).charAt(0)&&(e-=t.substr(s).charAt(0),s--,!(s<0)););s--,e+="<"}var r=t.substr(0,s);i.attr?i.el.setAttribute(i.attr,r):i.isInput?i.el.value=r:"html"===i.contentType?i.el.innerHTML=r:i.el.textContent=r,s>i.stopNum?(s--,i.backspace(t,s)):s<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.shuffle&&(i.sequence=i.shuffleArray(i.sequence)),i.init()):i.typewrite(i.strings[i.sequence[i.arrayPos]],s))},e)}},shuffleArray:function(t){var s,e,i=t.length;if(i)for(;--i;)e=Math.floor(Math.random()*(i+1)),s=t[e],t[e]=t[i],t[i]=s;return t},reset:function(){var t=this;clearInterval(t.timeout);this.el.getAttribute("id");this.el.textContent="","undefined"!=typeof this.cursor&&"undefined"!=typeof this.cursor.parentNode&&this.cursor.parentNode.removeChild(this.cursor),this.strPos=0,this.arrayPos=0,this.curLoop=0,this.options.resetCallback()}},i["new"]=function(t,e){var r=Array.prototype.slice.apply(s.querySelectorAll(t));r.forEach(function(t){var s=t._typed,r="object"==typeof e&&e;s&&s.reset(),t._typed=s=new i(t,r),"string"==typeof e&&s[e]()})},e&&(e.fn.typed=function(t){return this.each(function(){var s=e(this),r=s.data("typed"),o="object"==typeof t&&t;r&&r.reset(),s.data("typed",r=new i(this,o)),"string"==typeof t&&r[t]()})}),t.Typed=i;var r={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window,document,window.jQuery);
273
- !function(a){"use strict";function b(b,c){this.element=a(b),this.settings=a.extend({},d,c),this._defaults=d,this._init()}var c="Morphext",d={animation:"bounceIn",separator:",",speed:2e3,complete:a.noop};b.prototype={_init:function(){var b=this;this.phrases=[],this.element.addClass("morphext"),a.each(this.element.text().split(this.settings.separator),function(c,d){b.phrases.push(a.trim(d))}),this.index=-1,this.animate(),this.start()},animate:function(){this.index=++this.index%this.phrases.length,this.element[0].innerHTML='<span class="animated '+this.settings.animation+'">'+this.phrases[this.index]+"</span>",a.isFunction(this.settings.complete)&&this.settings.complete.call(this)},start:function(){var a=this;this._interval=setInterval(function(){a.animate()},this.settings.speed)},stop:function(){this._interval=clearInterval(this._interval)}},a.fn[c]=function(d){return this.each(function(){a.data(this,"plugin_"+c)||a.data(this,"plugin_"+c,new b(this,d))})}}(jQuery);
 
274
 
275
- /*!
276
- * Morphext - Text Rotating Plugin for jQuery
277
- * https://github.com/MrSaints/Morphext
278
- *
279
- * Built on jQuery Boilerplate
280
- * http://jqueryboilerplate.com/
281
- *
282
- * Copyright 2014 Ian Lai and other contributors
283
- * Released under the MIT license
284
- * http://ian.mit-license.org/
285
  */
 
 
 
 
 
 
 
 
 
286
 
287
- /*eslint-env browser */
288
- /*global jQuery:false */
289
- /*eslint-disable no-underscore-dangle */
290
-
291
- (function ($) {
292
- "use strict";
293
-
294
- var pluginName = "Morphext",
295
- defaults = {
296
- animation: "bounceIn",
297
- separator: ",",
298
- speed: 2000,
299
- complete: $.noop
300
- };
301
-
302
- function Plugin (element, options) {
303
- this.element = $(element);
304
 
305
- this.settings = $.extend({}, defaults, options);
306
- this._defaults = defaults;
307
- this._init();
 
 
 
308
  }
 
 
309
 
310
- Plugin.prototype = {
311
- _init: function () {
312
- var $that = this;
313
- this.phrases = [];
 
314
 
315
- this.element.addClass("morphext");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
316
 
317
- $.each(this.element.text().split(this.settings.separator), function (key, value) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
318
  $that.phrases.push($.trim(value));
319
  });
320
 
@@ -1396,503 +1623,276 @@ return /******/ (function(modules) { // webpackBootstrap
1396
  });
1397
  ;
1398
  /*!
1399
- * imagesLoaded PACKAGED v4.1.4
1400
- * JavaScript is all like "You images are done yet or what?"
1401
- * MIT License
1402
- */
1403
-
1404
- /**
1405
- * EvEmitter v1.1.0
1406
- * Lil' event emitter
1407
- * MIT License
1408
  */
1409
 
1410
- /* jshint unused: true, undef: true, strict: true */
1411
-
1412
- ( function( global, factory ) {
1413
- // universal module definition
1414
- /* jshint strict: false */ /* globals define, module, window */
1415
- if ( typeof define == 'function' && define.amd ) {
1416
- // AMD - RequireJS
1417
- define( 'ev-emitter/ev-emitter',factory );
1418
- } else if ( typeof module == 'object' && module.exports ) {
1419
- // CommonJS - Browserify, Webpack
1420
- module.exports = factory();
1421
- } else {
1422
- // Browser globals
1423
- global.EvEmitter = factory();
1424
- }
1425
-
1426
- }( typeof window != 'undefined' ? window : this, function() {
1427
 
 
1428
 
 
 
 
 
 
1429
 
1430
- function EvEmitter() {}
 
1431
 
1432
- var proto = EvEmitter.prototype;
 
 
1433
 
1434
- proto.on = function( eventName, listener ) {
1435
- if ( !eventName || !listener ) {
1436
- return;
1437
- }
1438
- // set events hash
1439
- var events = this._events = this._events || {};
1440
- // set listeners array
1441
- var listeners = events[ eventName ] = events[ eventName ] || [];
1442
- // only add once
1443
- if ( listeners.indexOf( listener ) == -1 ) {
1444
- listeners.push( listener );
1445
- }
1446
 
1447
- return this;
1448
- };
 
 
 
1449
 
1450
- proto.once = function( eventName, listener ) {
1451
- if ( !eventName || !listener ) {
1452
- return;
1453
- }
1454
- // add event
1455
- this.on( eventName, listener );
1456
- // set once flag
1457
- // set onceEvents hash
1458
- var onceEvents = this._onceEvents = this._onceEvents || {};
1459
- // set onceListeners object
1460
- var onceListeners = onceEvents[ eventName ] = onceEvents[ eventName ] || {};
1461
- // set flag
1462
- onceListeners[ listener ] = true;
1463
 
1464
- return this;
1465
- };
 
 
1466
 
1467
- proto.off = function( eventName, listener ) {
1468
- var listeners = this._events && this._events[ eventName ];
1469
- if ( !listeners || !listeners.length ) {
1470
- return;
1471
- }
1472
- var index = listeners.indexOf( listener );
1473
- if ( index != -1 ) {
1474
- listeners.splice( index, 1 );
1475
- }
1476
 
1477
- return this;
1478
- };
 
 
 
 
 
 
 
 
1479
 
1480
- proto.emitEvent = function( eventName, args ) {
1481
- var listeners = this._events && this._events[ eventName ];
1482
- if ( !listeners || !listeners.length ) {
1483
- return;
1484
- }
1485
- // copy over to avoid interference if .off() in listener
1486
- listeners = listeners.slice(0);
1487
- args = args || [];
1488
- // once stuff
1489
- var onceListeners = this._onceEvents && this._onceEvents[ eventName ];
1490
 
1491
- for ( var i=0; i < listeners.length; i++ ) {
1492
- var listener = listeners[i]
1493
- var isOnce = onceListeners && onceListeners[ listener ];
1494
- if ( isOnce ) {
1495
- // remove listener
1496
- // remove before trigger to prevent recursion
1497
- this.off( eventName, listener );
1498
- // unset once flag
1499
- delete onceListeners[ listener ];
1500
- }
1501
- // trigger listener
1502
- listener.apply( this, args );
1503
- }
1504
 
1505
- return this;
1506
- };
1507
 
1508
- proto.allOff = function() {
1509
- delete this._events;
1510
- delete this._onceEvents;
1511
- };
1512
 
1513
- return EvEmitter;
 
 
 
 
1514
 
1515
- }));
 
 
 
 
1516
 
1517
- /*!
1518
- * imagesLoaded v4.1.4
1519
- * JavaScript is all like "You images are done yet or what?"
1520
- * MIT License
1521
- */
1522
 
1523
- ( function( window, factory ) { 'use strict';
1524
- // universal module definition
 
 
 
 
 
 
 
1525
 
1526
- /*global define: false, module: false, require: false */
 
 
 
 
 
1527
 
1528
- if ( typeof define == 'function' && define.amd ) {
1529
- // AMD
1530
- define( [
1531
- 'ev-emitter/ev-emitter'
1532
- ], function( EvEmitter ) {
1533
- return factory( window, EvEmitter );
1534
- });
1535
- } else if ( typeof module == 'object' && module.exports ) {
1536
- // CommonJS
1537
- module.exports = factory(
1538
- window,
1539
- require('ev-emitter')
1540
- );
1541
- } else {
1542
- // browser global
1543
- window.imagesLoaded = factory(
1544
- window,
1545
- window.EvEmitter
1546
- );
1547
- }
1548
 
1549
- })( typeof window !== 'undefined' ? window : this,
1550
 
1551
- // -------------------------- factory -------------------------- //
 
 
 
 
 
 
 
1552
 
1553
- function factory( window, EvEmitter ) {
 
 
 
1554
 
 
1555
 
 
 
 
 
1556
 
1557
- var $ = window.jQuery;
1558
- var console = window.console;
 
1559
 
1560
- // -------------------------- helpers -------------------------- //
 
 
 
 
 
 
 
1561
 
1562
- // extend objects
1563
- function extend( a, b ) {
1564
- for ( var prop in b ) {
1565
- a[ prop ] = b[ prop ];
1566
- }
1567
- return a;
1568
- }
1569
 
1570
- var arraySlice = Array.prototype.slice;
1571
-
1572
- // turn element or nodeList into an array
1573
- function makeArray( obj ) {
1574
- if ( Array.isArray( obj ) ) {
1575
- // use object if already an array
1576
- return obj;
1577
- }
1578
-
1579
- var isArrayLike = typeof obj == 'object' && typeof obj.length == 'number';
1580
- if ( isArrayLike ) {
1581
- // convert nodeList to array
1582
- return arraySlice.call( obj );
1583
- }
1584
-
1585
- // array of single index
1586
- return [ obj ];
1587
- }
1588
-
1589
- // -------------------------- imagesLoaded -------------------------- //
1590
-
1591
- /**
1592
- * @param {Array, Element, NodeList, String} elem
1593
- * @param {Object or Function} options - if function, use as callback
1594
- * @param {Function} onAlways - callback function
1595
- */
1596
- function ImagesLoaded( elem, options, onAlways ) {
1597
- // coerce ImagesLoaded() without new, to be new ImagesLoaded()
1598
- if ( !( this instanceof ImagesLoaded ) ) {
1599
- return new ImagesLoaded( elem, options, onAlways );
1600
- }
1601
- // use elem as selector string
1602
- var queryElem = elem;
1603
- if ( typeof elem == 'string' ) {
1604
- queryElem = document.querySelectorAll( elem );
1605
- }
1606
- // bail if bad element
1607
- if ( !queryElem ) {
1608
- console.error( 'Bad element for imagesLoaded ' + ( queryElem || elem ) );
1609
- return;
1610
- }
1611
-
1612
- this.elements = makeArray( queryElem );
1613
- this.options = extend( {}, this.options );
1614
- // shift arguments if no options set
1615
- if ( typeof options == 'function' ) {
1616
- onAlways = options;
1617
- } else {
1618
- extend( this.options, options );
1619
- }
1620
-
1621
- if ( onAlways ) {
1622
- this.on( 'always', onAlways );
1623
- }
1624
-
1625
- this.getImages();
1626
-
1627
- if ( $ ) {
1628
- // add jQuery Deferred object
1629
- this.jqDeferred = new $.Deferred();
1630
- }
1631
-
1632
- // HACK check async to allow time to bind listeners
1633
- setTimeout( this.check.bind( this ) );
1634
- }
1635
-
1636
- ImagesLoaded.prototype = Object.create( EvEmitter.prototype );
1637
-
1638
- ImagesLoaded.prototype.options = {};
1639
-
1640
- ImagesLoaded.prototype.getImages = function() {
1641
- this.images = [];
1642
-
1643
- // filter & find items if we have an item selector
1644
- this.elements.forEach( this.addElementImages, this );
1645
- };
1646
-
1647
- /**
1648
- * @param {Node} element
1649
- */
1650
- ImagesLoaded.prototype.addElementImages = function( elem ) {
1651
- // filter siblings
1652
- if ( elem.nodeName == 'IMG' ) {
1653
- this.addImage( elem );
1654
- }
1655
- // get background image on element
1656
- if ( this.options.background === true ) {
1657
- this.addElementBackgroundImages( elem );
1658
- }
1659
-
1660
- // find children
1661
- // no non-element nodes, #143
1662
- var nodeType = elem.nodeType;
1663
- if ( !nodeType || !elementNodeTypes[ nodeType ] ) {
1664
- return;
1665
- }
1666
- var childImgs = elem.querySelectorAll('img');
1667
- // concat childElems to filterFound array
1668
- for ( var i=0; i < childImgs.length; i++ ) {
1669
- var img = childImgs[i];
1670
- this.addImage( img );
1671
- }
1672
-
1673
- // get child background images
1674
- if ( typeof this.options.background == 'string' ) {
1675
- var children = elem.querySelectorAll( this.options.background );
1676
- for ( i=0; i < children.length; i++ ) {
1677
- var child = children[i];
1678
- this.addElementBackgroundImages( child );
1679
- }
1680
- }
1681
- };
1682
-
1683
- var elementNodeTypes = {
1684
- 1: true,
1685
- 9: true,
1686
- 11: true
1687
- };
1688
-
1689
- ImagesLoaded.prototype.addElementBackgroundImages = function( elem ) {
1690
- var style = getComputedStyle( elem );
1691
- if ( !style ) {
1692
- // Firefox returns null if in a hidden iframe https://bugzil.la/548397
1693
- return;
1694
- }
1695
- // get url inside url("...")
1696
- var reURL = /url\((['"])?(.*?)\1\)/gi;
1697
- var matches = reURL.exec( style.backgroundImage );
1698
- while ( matches !== null ) {
1699
- var url = matches && matches[2];
1700
- if ( url ) {
1701
- this.addBackground( url, elem );
1702
- }
1703
- matches = reURL.exec( style.backgroundImage );
1704
- }
1705
- };
1706
-
1707
- /**
1708
- * @param {Image} img
1709
- */
1710
- ImagesLoaded.prototype.addImage = function( img ) {
1711
- var loadingImage = new LoadingImage( img );
1712
- this.images.push( loadingImage );
1713
- };
1714
-
1715
- ImagesLoaded.prototype.addBackground = function( url, elem ) {
1716
- var background = new Background( url, elem );
1717
- this.images.push( background );
1718
- };
1719
-
1720
- ImagesLoaded.prototype.check = function() {
1721
- var _this = this;
1722
- this.progressedCount = 0;
1723
- this.hasAnyBroken = false;
1724
- // complete if no images
1725
- if ( !this.images.length ) {
1726
- this.complete();
1727
- return;
1728
- }
1729
-
1730
- function onProgress( image, elem, message ) {
1731
- // HACK - Chrome triggers event before object properties have changed. #83
1732
- setTimeout( function() {
1733
- _this.progress( image, elem, message );
1734
- });
1735
- }
1736
-
1737
- this.images.forEach( function( loadingImage ) {
1738
- loadingImage.once( 'progress', onProgress );
1739
- loadingImage.check();
1740
- });
1741
- };
1742
-
1743
- ImagesLoaded.prototype.progress = function( image, elem, message ) {
1744
- this.progressedCount++;
1745
- this.hasAnyBroken = this.hasAnyBroken || !image.isLoaded;
1746
- // progress event
1747
- this.emitEvent( 'progress', [ this, image, elem ] );
1748
- if ( this.jqDeferred && this.jqDeferred.notify ) {
1749
- this.jqDeferred.notify( this, image );
1750
- }
1751
- // check if completed
1752
- if ( this.progressedCount == this.images.length ) {
1753
- this.complete();
1754
- }
1755
-
1756
- if ( this.options.debug && console ) {
1757
- console.log( 'progress: ' + message, image, elem );
1758
- }
1759
- };
1760
-
1761
- ImagesLoaded.prototype.complete = function() {
1762
- var eventName = this.hasAnyBroken ? 'fail' : 'done';
1763
- this.isComplete = true;
1764
- this.emitEvent( eventName, [ this ] );
1765
- this.emitEvent( 'always', [ this ] );
1766
- if ( this.jqDeferred ) {
1767
- var jqMethod = this.hasAnyBroken ? 'reject' : 'resolve';
1768
- this.jqDeferred[ jqMethod ]( this );
1769
- }
1770
- };
1771
-
1772
- // -------------------------- -------------------------- //
1773
-
1774
- function LoadingImage( img ) {
1775
- this.img = img;
1776
- }
1777
-
1778
- LoadingImage.prototype = Object.create( EvEmitter.prototype );
1779
-
1780
- LoadingImage.prototype.check = function() {
1781
- // If complete is true and browser supports natural sizes,
1782
- // try to check for image status manually.
1783
- var isComplete = this.getIsImageComplete();
1784
- if ( isComplete ) {
1785
- // report based on naturalWidth
1786
- this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' );
1787
- return;
1788
- }
1789
 
1790
- // If none of the checks above matched, simulate loading on detached element.
1791
- this.proxyImage = new Image();
1792
- this.proxyImage.addEventListener( 'load', this );
1793
- this.proxyImage.addEventListener( 'error', this );
1794
- // bind to image as well for Firefox. #191
1795
- this.img.addEventListener( 'load', this );
1796
- this.img.addEventListener( 'error', this );
1797
- this.proxyImage.src = this.img.src;
1798
- };
1799
 
1800
- LoadingImage.prototype.getIsImageComplete = function() {
1801
- // check for non-zero, non-undefined naturalWidth
1802
- // fixes Safari+InfiniteScroll+Masonry bug infinite-scroll#671
1803
- return this.img.complete && this.img.naturalWidth;
1804
- };
 
 
 
 
1805
 
1806
- LoadingImage.prototype.confirm = function( isLoaded, message ) {
1807
- this.isLoaded = isLoaded;
1808
- this.emitEvent( 'progress', [ this, this.img, message ] );
1809
- };
 
1810
 
1811
- // ----- events ----- //
 
 
 
1812
 
1813
- // trigger specified handler for event type
1814
- LoadingImage.prototype.handleEvent = function( event ) {
1815
- var method = 'on' + event.type;
1816
- if ( this[ method ] ) {
1817
- this[ method ]( event );
1818
- }
1819
- };
1820
 
1821
- LoadingImage.prototype.onload = function() {
1822
- this.confirm( true, 'onload' );
1823
- this.unbindEvents();
1824
- };
1825
 
1826
- LoadingImage.prototype.onerror = function() {
1827
- this.confirm( false, 'onerror' );
1828
- this.unbindEvents();
1829
- };
1830
 
1831
- LoadingImage.prototype.unbindEvents = function() {
1832
- this.proxyImage.removeEventListener( 'load', this );
1833
- this.proxyImage.removeEventListener( 'error', this );
1834
- this.img.removeEventListener( 'load', this );
1835
- this.img.removeEventListener( 'error', this );
1836
- };
1837
 
1838
- // -------------------------- Background -------------------------- //
 
 
1839
 
1840
- function Background( url, element ) {
1841
- this.url = url;
1842
- this.element = element;
1843
- this.img = new Image();
1844
- }
 
 
1845
 
1846
- // inherit LoadingImage prototype
1847
- Background.prototype = Object.create( LoadingImage.prototype );
 
 
1848
 
1849
- Background.prototype.check = function() {
1850
- this.img.addEventListener( 'load', this );
1851
- this.img.addEventListener( 'error', this );
1852
- this.img.src = this.url;
1853
- // check if image is already complete
1854
- var isComplete = this.getIsImageComplete();
1855
- if ( isComplete ) {
1856
- this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' );
1857
- this.unbindEvents();
1858
- }
1859
- };
1860
 
1861
- Background.prototype.unbindEvents = function() {
1862
- this.img.removeEventListener( 'load', this );
1863
- this.img.removeEventListener( 'error', this );
1864
- };
1865
 
1866
- Background.prototype.confirm = function( isLoaded, message ) {
1867
- this.isLoaded = isLoaded;
1868
- this.emitEvent( 'progress', [ this, this.element, message ] );
1869
- };
 
1870
 
1871
- // -------------------------- jQuery -------------------------- //
 
 
1872
 
1873
- ImagesLoaded.makeJQueryPlugin = function( jQuery ) {
1874
- jQuery = jQuery || window.jQuery;
1875
- if ( !jQuery ) {
1876
- return;
1877
- }
1878
- // set local variable
1879
- $ = jQuery;
1880
- // $().imagesLoaded()
1881
- $.fn.imagesLoaded = function( options, callback ) {
1882
- var instance = new ImagesLoaded( this, options, callback );
1883
- return instance.jqDeferred.promise( $(this) );
1884
- };
1885
- };
1886
- // try making plugin
1887
- ImagesLoaded.makeJQueryPlugin();
1888
 
1889
- // -------------------------- -------------------------- //
 
1890
 
1891
- return ImagesLoaded;
 
 
1892
 
1893
  });
1894
 
1895
-
1896
  /**
1897
  * author Christopher Blum
1898
  * - based on the idea of Remy Sharp, http://remysharp.com/2009/01/26/element-in-view-event-plugin/
@@ -5599,6 +5599,53 @@ var trim = String.prototype.trim ?
5599
  }));
5600
 
5601
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5602
  /*! Magnific Popup - v1.1.0 - 2016-02-20
5603
  * http://dimsemenov.com/plugins/magnific-popup/
5604
  * Copyright (c) 2016 Dmitry Semenov; */
@@ -7460,53 +7507,6 @@ var trim = String.prototype.trim ?
7460
  /*>>retina*/
7461
  _checkInstance();
7462
  }));
7463
- (function($) {
7464
- $.fn.eaelProgressBar = function() {
7465
- var $this = $(this)
7466
- var $layout = $this.data('layout')
7467
- var $num = $this.data('count')
7468
- var $duration = $this.data('duration')
7469
-
7470
- $this.one('inview', function() {
7471
- if ($layout == 'line') {
7472
- $('.eael-progressbar-line-fill', $this).css({
7473
- 'width': $num + '%',
7474
- })
7475
- } else if ($layout == 'half_circle') {
7476
- $('.eael-progressbar-circle-half', $this).css({
7477
- 'transform': 'rotate(' + ($num * 1.8) + 'deg)',
7478
- })
7479
- }
7480
-
7481
- $('.eael-progressbar-count', $this).prop({
7482
- 'counter': 0
7483
- }).animate({
7484
- counter: $num
7485
- }, {
7486
- duration: $duration,
7487
- easing: 'linear',
7488
- step: function(counter) {
7489
- if ($layout == 'circle') {
7490
- var rotate = (counter * 3.6)
7491
- $('.eael-progressbar-circle-half-left', $this).css({
7492
- 'transform': "rotate(" + rotate + "deg)",
7493
- })
7494
- if (rotate > 180) {
7495
- $('.eael-progressbar-circle-pie', $this).css({
7496
- 'clip-path': 'inset(0)'
7497
- })
7498
- $('.eael-progressbar-circle-half-right', $this).css({
7499
- 'visibility': 'visible'
7500
- })
7501
- }
7502
- }
7503
-
7504
- $(this).text(Math.ceil(counter))
7505
- }
7506
- })
7507
- })
7508
- }
7509
- }(jQuery));
7510
  (function (root, factory) {
7511
  if (typeof define === 'function' && define.amd) {
7512
  // AMD. Register as an anonymous module unless amdModuleId is set
@@ -11775,124 +11775,69 @@ return $;
11775
 
11776
  }));
11777
 
11778
- (function($) {
11779
  "use strict";
11780
 
11781
- window.eaelLoadMore = function(options, settings) {
11782
- // Default Values for Load More Js
11783
- var optionsValue = {
11784
- totalPosts: options.totalPosts,
11785
- loadMoreBtn: options.loadMoreBtn,
11786
- postContainer: $(options.postContainer),
11787
- postStyle: options.postStyle // block, grid, timeline,
11788
- };
11789
-
11790
- // Settings Values
11791
- var settingsValue = {
11792
- postType: settings.postType,
11793
- perPage: settings.perPage,
11794
- postOrder: settings.postOrder,
11795
- orderBy: settings.orderBy,
11796
- showImage: settings.showImage,
11797
- showTitle: settings.showTitle,
11798
- showExcerpt: settings.showExcerpt,
11799
- showMeta: settings.showMeta,
11800
- imageSize: settings.imageSize,
11801
- metaPosition: settings.metaPosition,
11802
- excerptLength: settings.excerptLength,
11803
- btnText: settings.btnText,
11804
-
11805
- tax_query: settings.tax_query,
11806
-
11807
- post__in: settings.post__in,
11808
- excludePosts: settings.exclude_posts,
11809
- offset: parseInt(settings.offset, 10),
11810
- grid_style: settings.grid_style || "",
11811
- hover_animation: settings.hover_animation,
11812
- hover_icon: settings.hover_icon,
11813
- show_read_more_button: settings.show_read_more_button,
11814
- read_more_button_text: settings.read_more_button_text
11815
- };
11816
-
11817
- var offset = settingsValue.offset + settingsValue.perPage;
11818
-
11819
- optionsValue.loadMoreBtn.on("click", function(e) {
11820
- e.preventDefault();
 
11821
 
11822
- $(this).addClass("button--loading");
11823
- $(this)
11824
- .find("span")
11825
- .html("Loading...");
11826
-
11827
- $.ajax({
11828
- url: localize.ajaxurl,
11829
- type: "post",
11830
- data: {
11831
- action: "load_more",
11832
- post_style: optionsValue.postStyle,
11833
- eael_show_image: settingsValue.showImage,
11834
- image_size: settingsValue.imageSize,
11835
- eael_show_title: settingsValue.showTitle,
11836
- eael_show_meta: settingsValue.showMeta,
11837
- meta_position: settingsValue.metaPosition,
11838
-
11839
- eael_show_excerpt: settingsValue.showExcerpt,
11840
- eael_excerpt_length: settingsValue.excerptLength,
11841
-
11842
- post_type: settingsValue.postType,
11843
- posts_per_page: settingsValue.perPage,
11844
- offset: offset,
11845
-
11846
- tax_query: settingsValue.tax_query,
11847
-
11848
- post__not_in: settingsValue.excludePosts,
11849
-
11850
- post__in: settingsValue.post__in,
11851
-
11852
- orderby: settingsValue.orderBy,
11853
- order: settingsValue.postOrder,
11854
- grid_style: settingsValue.grid_style,
11855
- eael_post_grid_hover_animation:
11856
- settingsValue.hover_animation,
11857
- eael_post_grid_bg_hover_icon: settingsValue.hover_icon,
11858
- eael_show_read_more_button: settingsValue.show_read_more_button,
11859
- read_more_button_text: settingsValue.read_more_button_text
11860
- },
11861
- beforeSend: function() {
11862
- // _this.html('<i class="fa fa-spinner fa-spin"></i>&nbsp;Saving Data..');
11863
- },
11864
- success: function(response) {
11865
- var $content = $(response);
11866
- if (optionsValue.postStyle === "grid") {
11867
- setTimeout(function() {
11868
- optionsValue.postContainer.masonry();
11869
- optionsValue.postContainer
11870
- .append($content)
11871
- .masonry("appended", $content);
11872
- optionsValue.postContainer.masonry({
11873
- itemSelector: ".eael-grid-post",
11874
- percentPosition: true,
11875
- columnWidth: ".eael-post-grid-column"
11876
- });
11877
- }, 100);
11878
  } else {
11879
- optionsValue.postContainer.append($content);
11880
  }
11881
- optionsValue.loadMoreBtn.removeClass("button--loading");
11882
- optionsValue.loadMoreBtn
11883
- .find("span")
11884
- .html(settingsValue.btnText);
11885
 
11886
- offset = offset + settingsValue.perPage;
 
11887
 
11888
- if (offset >= optionsValue.totalPosts) {
11889
- optionsValue.loadMoreBtn.remove();
11890
- }
11891
- },
11892
- error: function() {}
11893
- });
11894
  });
11895
- };
11896
  })(jQuery);
11897
 
11898
  var AdvAccordionHandler = function($scope, $) {
@@ -12509,63 +12454,20 @@ jQuery(window).on("elementor/frontend/init", function() {
12509
  );
12510
  });
12511
 
12512
- var PostGrid = function ($scope, $) {
12513
-
12514
- var container = $('.eael-post-grid-container').eq(0),
12515
- $options = container.data('post_grid_options'),
12516
- $settings = container.data('post_grid_settings');
12517
-
12518
-
12519
- var options = {
12520
- totalPosts : parseInt($options.totalPosts),
12521
- loadMoreBtn : $( $options.loadMoreBtn ),
12522
- postContainer: $( $options.postContainer ),
12523
- postStyle : 'grid'
12524
- }
12525
-
12526
- var exclude_posts = JSON.parse($settings.exclude_posts),
12527
- tax_query = JSON.parse($settings.tax_query),
12528
- post__in = JSON.parse($settings.post__in);
12529
-
12530
- var settings = {
12531
- postType : $settings.postType,
12532
- perPage : parseInt($settings.perPage),
12533
- postOrder : $settings.postOrder,
12534
- orderBy : $settings.orderBy,
12535
- showImage : parseInt($settings.showImage),
12536
- imageSize : $settings.imageSize,
12537
- showTitle : parseInt($settings.showTitle),
12538
- showExcerpt : parseInt($settings.showExcerpt),
12539
- showMeta : parseInt($settings.showMeta),
12540
- offset : $settings.offset,
12541
- metaPosition : $settings.metaPosition,
12542
- excerptLength : $settings.excerptLength,
12543
- btnText : $settings.btnText,
12544
- tax_query : tax_query,
12545
- exclude_posts : exclude_posts,
12546
- post__in : post__in,
12547
- grid_style : $settings.grid_style,
12548
- hover_animation: $settings.hover_animation,
12549
- hover_icon: $settings.hover_icon,
12550
- show_read_more_button: $settings.eael_show_read_more_button,
12551
- read_more_button_text: $settings.read_more_button_text
12552
- }
12553
-
12554
- eaelLoadMore( options, settings );
12555
-
12556
-
12557
- var $gallery = $('.eael-post-grid:not(.eael-post-carousel)').isotope({
12558
- itemSelector: '.eael-grid-post',
12559
- percentPosition: true,
12560
- columnWidth: '.eael-post-grid-column'
12561
  });
12562
 
12563
  // layout gal, while images are loading
12564
  $gallery.imagesLoaded().progress(function() {
12565
  $gallery.isotope("layout");
12566
  });
12567
-
12568
- }
12569
 
12570
  jQuery(window).on("elementor/frontend/init", function() {
12571
  elementorFrontend.hooks.addAction(
@@ -12573,59 +12475,6 @@ jQuery(window).on("elementor/frontend/init", function() {
12573
  PostGrid
12574
  );
12575
  });
12576
- var postTimelineHandler = function($scope, $) {
12577
- var $_this = $scope.find(".eael-post-timeline"),
12578
- $currentTimelineId = "#" + $_this.attr("id"),
12579
- $total_posts = parseInt($_this.data("total_posts"), 10),
12580
- $timeline_id = $_this.data("timeline_id"),
12581
- $post_type = $_this.data("post_type"),
12582
- $posts_per_page = parseInt($_this.data("posts_per_page"), 10),
12583
- $post_order = $_this.data("post_order"),
12584
- $post_orderby = $_this.data("post_orderby"),
12585
- $post_offset = parseInt($_this.data("post_offset"), 10),
12586
- $show_images = $_this.data("show_images"),
12587
- $image_size = $_this.data("image_size"),
12588
- $show_title = $_this.data("show_title"),
12589
- $show_excerpt = $_this.data("show_excerpt"),
12590
- $excerpt_length = parseInt($_this.data("excerpt_length"), 10),
12591
- $btn_text = $_this.data("btn_text"),
12592
- $tax_query = $_this.data("tax_query"),
12593
- $post__in = $_this.data("post__in"),
12594
- $exclude_posts = $_this.data("exclude_posts");
12595
-
12596
- var options = {
12597
- totalPosts: $total_posts,
12598
- loadMoreBtn: $("#eael-load-more-btn-" + $timeline_id),
12599
- postContainer: $(".eael-post-appender-" + $timeline_id),
12600
- postStyle: "timeline"
12601
- };
12602
-
12603
- var settings = {
12604
- postType: $post_type,
12605
- perPage: $posts_per_page,
12606
- postOrder: $post_order,
12607
- orderBy: $post_orderby,
12608
- offset: $post_offset,
12609
-
12610
- showImage: $show_images,
12611
- imageSize: $image_size,
12612
- showTitle: $show_title,
12613
- showExcerpt: $show_excerpt,
12614
- excerptLength: parseInt($excerpt_length, 10),
12615
- btnText: $btn_text,
12616
- tax_query: $tax_query,
12617
- post__in: $post__in,
12618
- exclude_posts: $exclude_posts
12619
- };
12620
-
12621
- eaelLoadMore(options, settings);
12622
- };
12623
- jQuery(window).on("elementor/frontend/init", function() {
12624
- elementorFrontend.hooks.addAction(
12625
- "frontend/element_ready/eael-post-timeline.default",
12626
- postTimelineHandler
12627
- );
12628
- });
12629
 
12630
  var PricingTooltip = function($scope, $) {
12631
  if ($.fn.tooltipster) {
@@ -12684,6 +12533,37 @@ jQuery(window).on("elementor/frontend/init", function() {
12684
  );
12685
  });
12686
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12687
  jQuery(document).ready(function() {
12688
  // scroll func
12689
  jQuery(window).scroll(function() {
@@ -12761,30 +12641,3 @@ jQuery(document).ready(function() {
12761
  );
12762
  }
12763
  });
12764
-
12765
- var TwitterFeedHandler = function($scope, $) {
12766
- $gutter = $(".eael-twitter-feed-masonry", $scope).data('gutter');
12767
- $settings = {
12768
- itemSelector: ".eael-twitter-feed-item",
12769
- percentPosition: true,
12770
- masonry: {
12771
- columnWidth: ".eael-twitter-feed-item",
12772
- gutter: $gutter
12773
- }
12774
- };
12775
-
12776
- // init isotope
12777
- $twitter_feed_gallery = $(".eael-twitter-feed-masonry", $scope).isotope($settings);
12778
-
12779
- // layout gal, while images are loading
12780
- $twitter_feed_gallery.imagesLoaded().progress(function() {
12781
- $twitter_feed_gallery.isotope("layout");
12782
- });
12783
- };
12784
-
12785
- jQuery(window).on("elementor/frontend/init", function() {
12786
- elementorFrontend.hooks.addAction(
12787
- "frontend/element_ready/eael-twitter-feed.default",
12788
- TwitterFeedHandler
12789
- );
12790
- });
1
  /*!
2
+ * imagesLoaded PACKAGED v4.1.4
3
+ * JavaScript is all like "You images are done yet or what?"
4
+ * MIT License
 
 
5
  */
6
 
7
+ /**
8
+ * EvEmitter v1.1.0
9
+ * Lil' event emitter
10
+ * MIT License
11
+ */
 
 
 
 
12
 
13
+ /* jshint unused: true, undef: true, strict: true */
14
 
15
+ ( function( global, factory ) {
16
+ // universal module definition
17
+ /* jshint strict: false */ /* globals define, module, window */
18
+ if ( typeof define == 'function' && define.amd ) {
19
+ // AMD - RequireJS
20
+ define( 'ev-emitter/ev-emitter',factory );
21
+ } else if ( typeof module == 'object' && module.exports ) {
22
+ // CommonJS - Browserify, Webpack
23
+ module.exports = factory();
24
+ } else {
25
+ // Browser globals
26
+ global.EvEmitter = factory();
27
+ }
28
 
29
+ }( typeof window != 'undefined' ? window : this, function() {
 
30
 
 
 
 
31
 
 
 
 
 
32
 
33
+ function EvEmitter() {}
 
 
 
 
34
 
35
+ var proto = EvEmitter.prototype;
 
36
 
37
+ proto.on = function( eventName, listener ) {
38
+ if ( !eventName || !listener ) {
39
+ return;
40
+ }
41
+ // set events hash
42
+ var events = this._events = this._events || {};
43
+ // set listeners array
44
+ var listeners = events[ eventName ] = events[ eventName ] || [];
45
+ // only add once
46
+ if ( listeners.indexOf( listener ) == -1 ) {
47
+ listeners.push( listener );
48
+ }
49
 
50
+ return this;
51
+ };
 
 
52
 
53
+ proto.once = function( eventName, listener ) {
54
+ if ( !eventName || !listener ) {
55
+ return;
56
+ }
57
+ // add event
58
+ this.on( eventName, listener );
59
+ // set once flag
60
+ // set onceEvents hash
61
+ var onceEvents = this._onceEvents = this._onceEvents || {};
62
+ // set onceListeners object
63
+ var onceListeners = onceEvents[ eventName ] = onceEvents[ eventName ] || {};
64
+ // set flag
65
+ onceListeners[ listener ] = true;
66
 
67
+ return this;
68
+ };
 
 
 
 
 
 
 
69
 
70
+ proto.off = function( eventName, listener ) {
71
+ var listeners = this._events && this._events[ eventName ];
72
+ if ( !listeners || !listeners.length ) {
73
+ return;
74
+ }
75
+ var index = listeners.indexOf( listener );
76
+ if ( index != -1 ) {
77
+ listeners.splice( index, 1 );
78
+ }
79
 
80
+ return this;
81
+ };
82
 
83
+ proto.emitEvent = function( eventName, args ) {
84
+ var listeners = this._events && this._events[ eventName ];
85
+ if ( !listeners || !listeners.length ) {
86
+ return;
87
+ }
88
+ // copy over to avoid interference if .off() in listener
89
+ listeners = listeners.slice(0);
90
+ args = args || [];
91
+ // once stuff
92
+ var onceListeners = this._onceEvents && this._onceEvents[ eventName ];
93
 
94
+ for ( var i=0; i < listeners.length; i++ ) {
95
+ var listener = listeners[i]
96
+ var isOnce = onceListeners && onceListeners[ listener ];
97
+ if ( isOnce ) {
98
+ // remove listener
99
+ // remove before trigger to prevent recursion
100
+ this.off( eventName, listener );
101
+ // unset once flag
102
+ delete onceListeners[ listener ];
103
+ }
104
+ // trigger listener
105
+ listener.apply( this, args );
106
+ }
107
 
108
+ return this;
109
+ };
 
 
 
110
 
111
+ proto.allOff = function() {
112
+ delete this._events;
113
+ delete this._onceEvents;
114
+ };
115
 
116
+ return EvEmitter;
 
 
 
 
 
 
 
 
117
 
118
+ }));
 
 
 
 
 
119
 
120
+ /*!
121
+ * imagesLoaded v4.1.4
122
+ * JavaScript is all like "You images are done yet or what?"
123
+ * MIT License
124
+ */
125
 
126
+ ( function( window, factory ) { 'use strict';
127
+ // universal module definition
128
 
129
+ /*global define: false, module: false, require: false */
 
 
 
 
 
 
 
130
 
131
+ if ( typeof define == 'function' && define.amd ) {
132
+ // AMD
133
+ define( [
134
+ 'ev-emitter/ev-emitter'
135
+ ], function( EvEmitter ) {
136
+ return factory( window, EvEmitter );
137
+ });
138
+ } else if ( typeof module == 'object' && module.exports ) {
139
+ // CommonJS
140
+ module.exports = factory(
141
+ window,
142
+ require('ev-emitter')
143
+ );
144
+ } else {
145
+ // browser global
146
+ window.imagesLoaded = factory(
147
+ window,
148
+ window.EvEmitter
149
+ );
150
+ }
151
 
152
+ })( typeof window !== 'undefined' ? window : this,
153
 
154
+ // -------------------------- factory -------------------------- //
 
 
 
155
 
156
+ function factory( window, EvEmitter ) {
 
 
157
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
158
 
 
 
 
 
 
 
 
 
 
159
 
160
+ var $ = window.jQuery;
161
+ var console = window.console;
 
 
 
162
 
163
+ // -------------------------- helpers -------------------------- //
 
 
 
164
 
165
+ // extend objects
166
+ function extend( a, b ) {
167
+ for ( var prop in b ) {
168
+ a[ prop ] = b[ prop ];
169
+ }
170
+ return a;
171
+ }
172
 
173
+ var arraySlice = Array.prototype.slice;
 
 
174
 
175
+ // turn element or nodeList into an array
176
+ function makeArray( obj ) {
177
+ if ( Array.isArray( obj ) ) {
178
+ // use object if already an array
179
+ return obj;
180
+ }
181
 
182
+ var isArrayLike = typeof obj == 'object' && typeof obj.length == 'number';
183
+ if ( isArrayLike ) {
184
+ // convert nodeList to array
185
+ return arraySlice.call( obj );
186
+ }
187
 
188
+ // array of single index
189
+ return [ obj ];
190
+ }
191
 
192
+ // -------------------------- imagesLoaded -------------------------- //
 
 
 
 
 
 
193
 
194
+ /**
195
+ * @param {Array, Element, NodeList, String} elem
196
+ * @param {Object or Function} options - if function, use as callback
197
+ * @param {Function} onAlways - callback function
198
+ */
199
+ function ImagesLoaded( elem, options, onAlways ) {
200
+ // coerce ImagesLoaded() without new, to be new ImagesLoaded()
201
+ if ( !( this instanceof ImagesLoaded ) ) {
202
+ return new ImagesLoaded( elem, options, onAlways );
203
+ }
204
+ // use elem as selector string
205
+ var queryElem = elem;
206
+ if ( typeof elem == 'string' ) {
207
+ queryElem = document.querySelectorAll( elem );
208
+ }
209
+ // bail if bad element
210
+ if ( !queryElem ) {
211
+ console.error( 'Bad element for imagesLoaded ' + ( queryElem || elem ) );
212
+ return;
213
+ }
214
 
215
+ this.elements = makeArray( queryElem );
216
+ this.options = extend( {}, this.options );
217
+ // shift arguments if no options set
218
+ if ( typeof options == 'function' ) {
219
+ onAlways = options;
220
+ } else {
221
+ extend( this.options, options );
222
+ }
223
 
224
+ if ( onAlways ) {
225
+ this.on( 'always', onAlways );
226
+ }
 
227
 
228
+ this.getImages();
 
 
 
 
229
 
230
+ if ( $ ) {
231
+ // add jQuery Deferred object
232
+ this.jqDeferred = new $.Deferred();
233
+ }
234
 
235
+ // HACK check async to allow time to bind listeners
236
+ setTimeout( this.check.bind( this ) );
237
+ }
 
 
238
 
239
+ ImagesLoaded.prototype = Object.create( EvEmitter.prototype );
 
240
 
241
+ ImagesLoaded.prototype.options = {};
 
 
242
 
243
+ ImagesLoaded.prototype.getImages = function() {
244
+ this.images = [];
245
 
246
+ // filter & find items if we have an item selector
247
+ this.elements.forEach( this.addElementImages, this );
248
+ };
249
 
250
+ /**
251
+ * @param {Node} element
 
 
 
 
 
 
 
 
252
  */
253
+ ImagesLoaded.prototype.addElementImages = function( elem ) {
254
+ // filter siblings
255
+ if ( elem.nodeName == 'IMG' ) {
256
+ this.addImage( elem );
257
+ }
258
+ // get background image on element
259
+ if ( this.options.background === true ) {
260
+ this.addElementBackgroundImages( elem );
261
+ }
262
 
263
+ // find children
264
+ // no non-element nodes, #143
265
+ var nodeType = elem.nodeType;
266
+ if ( !nodeType || !elementNodeTypes[ nodeType ] ) {
267
+ return;
268
+ }
269
+ var childImgs = elem.querySelectorAll('img');
270
+ // concat childElems to filterFound array
271
+ for ( var i=0; i < childImgs.length; i++ ) {
272
+ var img = childImgs[i];
273
+ this.addImage( img );
274
+ }
 
 
 
 
 
275
 
276
+ // get child background images
277
+ if ( typeof this.options.background == 'string' ) {
278
+ var children = elem.querySelectorAll( this.options.background );
279
+ for ( i=0; i < children.length; i++ ) {
280
+ var child = children[i];
281
+ this.addElementBackgroundImages( child );
282
  }
283
+ }
284
+ };
285
 
286
+ var elementNodeTypes = {
287
+ 1: true,
288
+ 9: true,
289
+ 11: true
290
+ };
291
 
292
+ ImagesLoaded.prototype.addElementBackgroundImages = function( elem ) {
293
+ var style = getComputedStyle( elem );
294
+ if ( !style ) {
295
+ // Firefox returns null if in a hidden iframe https://bugzil.la/548397
296
+ return;
297
+ }
298
+ // get url inside url("...")
299
+ var reURL = /url\((['"])?(.*?)\1\)/gi;
300
+ var matches = reURL.exec( style.backgroundImage );
301
+ while ( matches !== null ) {
302
+ var url = matches && matches[2];
303
+ if ( url ) {
304
+ this.addBackground( url, elem );
305
+ }
306
+ matches = reURL.exec( style.backgroundImage );
307
+ }
308
+ };
309
 
310
+ /**
311
+ * @param {Image} img
312
+ */
313
+ ImagesLoaded.prototype.addImage = function( img ) {
314
+ var loadingImage = new LoadingImage( img );
315
+ this.images.push( loadingImage );
316
+ };
317
+
318
+ ImagesLoaded.prototype.addBackground = function( url, elem ) {
319
+ var background = new Background( url, elem );
320
+ this.images.push( background );
321
+ };
322
+
323
+ ImagesLoaded.prototype.check = function() {
324
+ var _this = this;
325
+ this.progressedCount = 0;
326
+ this.hasAnyBroken = false;
327
+ // complete if no images
328
+ if ( !this.images.length ) {
329
+ this.complete();
330
+ return;
331
+ }
332
+
333
+ function onProgress( image, elem, message ) {
334
+ // HACK - Chrome triggers event before object properties have changed. #83
335
+ setTimeout( function() {
336
+ _this.progress( image, elem, message );
337
+ });
338
+ }
339
+
340
+ this.images.forEach( function( loadingImage ) {
341
+ loadingImage.once( 'progress', onProgress );
342
+ loadingImage.check();
343
+ });
344
+ };
345
+
346
+ ImagesLoaded.prototype.progress = function( image, elem, message ) {
347
+ this.progressedCount++;
348
+ this.hasAnyBroken = this.hasAnyBroken || !image.isLoaded;
349
+ // progress event
350
+ this.emitEvent( 'progress', [ this, image, elem ] );
351
+ if ( this.jqDeferred && this.jqDeferred.notify ) {
352
+ this.jqDeferred.notify( this, image );
353
+ }
354
+ // check if completed
355
+ if ( this.progressedCount == this.images.length ) {
356
+ this.complete();
357
+ }
358
+
359
+ if ( this.options.debug && console ) {
360
+ console.log( 'progress: ' + message, image, elem );
361
+ }
362
+ };
363
+
364
+ ImagesLoaded.prototype.complete = function() {
365
+ var eventName = this.hasAnyBroken ? 'fail' : 'done';
366
+ this.isComplete = true;
367
+ this.emitEvent( eventName, [ this ] );
368
+ this.emitEvent( 'always', [ this ] );
369
+ if ( this.jqDeferred ) {
370
+ var jqMethod = this.hasAnyBroken ? 'reject' : 'resolve';
371
+ this.jqDeferred[ jqMethod ]( this );
372
+ }
373
+ };
374
+
375
+ // -------------------------- -------------------------- //
376
+
377
+ function LoadingImage( img ) {
378
+ this.img = img;
379
+ }
380
+
381
+ LoadingImage.prototype = Object.create( EvEmitter.prototype );
382
+
383
+ LoadingImage.prototype.check = function() {
384
+ // If complete is true and browser supports natural sizes,
385
+ // try to check for image status manually.
386
+ var isComplete = this.getIsImageComplete();
387
+ if ( isComplete ) {
388
+ // report based on naturalWidth
389
+ this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' );
390
+ return;
391
+ }
392
+
393
+ // If none of the checks above matched, simulate loading on detached element.
394
+ this.proxyImage = new Image();
395
+ this.proxyImage.addEventListener( 'load', this );
396
+ this.proxyImage.addEventListener( 'error', this );
397
+ // bind to image as well for Firefox. #191
398
+ this.img.addEventListener( 'load', this );
399
+ this.img.addEventListener( 'error', this );
400
+ this.proxyImage.src = this.img.src;
401
+ };
402
+
403
+ LoadingImage.prototype.getIsImageComplete = function() {
404
+ // check for non-zero, non-undefined naturalWidth
405
+ // fixes Safari+InfiniteScroll+Masonry bug infinite-scroll#671
406
+ return this.img.complete && this.img.naturalWidth;
407
+ };
408
+
409
+ LoadingImage.prototype.confirm = function( isLoaded, message ) {
410
+ this.isLoaded = isLoaded;
411
+ this.emitEvent( 'progress', [ this, this.img, message ] );
412
+ };
413
+
414
+ // ----- events ----- //
415
+
416
+ // trigger specified handler for event type
417
+ LoadingImage.prototype.handleEvent = function( event ) {
418
+ var method = 'on' + event.type;
419
+ if ( this[ method ] ) {
420
+ this[ method ]( event );
421
+ }
422
+ };
423
+
424
+ LoadingImage.prototype.onload = function() {
425
+ this.confirm( true, 'onload' );
426
+ this.unbindEvents();
427
+ };
428
+
429
+ LoadingImage.prototype.onerror = function() {
430
+ this.confirm( false, 'onerror' );
431
+ this.unbindEvents();
432
+ };
433
+
434
+ LoadingImage.prototype.unbindEvents = function() {
435
+ this.proxyImage.removeEventListener( 'load', this );
436
+ this.proxyImage.removeEventListener( 'error', this );
437
+ this.img.removeEventListener( 'load', this );
438
+ this.img.removeEventListener( 'error', this );
439
+ };
440
+
441
+ // -------------------------- Background -------------------------- //
442
+
443
+ function Background( url, element ) {
444
+ this.url = url;
445
+ this.element = element;
446
+ this.img = new Image();
447
+ }
448
+
449
+ // inherit LoadingImage prototype
450
+ Background.prototype = Object.create( LoadingImage.prototype );
451
+
452
+ Background.prototype.check = function() {
453
+ this.img.addEventListener( 'load', this );
454
+ this.img.addEventListener( 'error', this );
455
+ this.img.src = this.url;
456
+ // check if image is already complete
457
+ var isComplete = this.getIsImageComplete();
458
+ if ( isComplete ) {
459
+ this.confirm( this.img.naturalWidth !== 0, 'naturalWidth' );
460
+ this.unbindEvents();
461
+ }
462
+ };
463
+
464
+ Background.prototype.unbindEvents = function() {
465
+ this.img.removeEventListener( 'load', this );
466
+ this.img.removeEventListener( 'error', this );
467
+ };
468
+
469
+ Background.prototype.confirm = function( isLoaded, message ) {
470
+ this.isLoaded = isLoaded;
471
+ this.emitEvent( 'progress', [ this, this.element, message ] );
472
+ };
473
+
474
+ // -------------------------- jQuery -------------------------- //
475
+
476
+ ImagesLoaded.makeJQueryPlugin = function( jQuery ) {
477
+ jQuery = jQuery || window.jQuery;
478
+ if ( !jQuery ) {
479
+ return;
480
+ }
481
+ // set local variable
482
+ $ = jQuery;
483
+ // $().imagesLoaded()
484
+ $.fn.imagesLoaded = function( options, callback ) {
485
+ var instance = new ImagesLoaded( this, options, callback );
486
+ return instance.jqDeferred.promise( $(this) );
487
+ };
488
+ };
489
+ // try making plugin
490
+ ImagesLoaded.makeJQueryPlugin();
491
+
492
+ // -------------------------- -------------------------- //
493
+
494
+ return ImagesLoaded;
495
+
496
+ });
497
+
498
+
499
+ !function(t,s,e){"use strict";var i=function(t,s){var i=this;this.el=t,this.options={},Object.keys(r).forEach(function(t){i.options[t]=r[t]}),Object.keys(s).forEach(function(t){i.options[t]=s[t]}),this.isInput="input"===this.el.tagName.toLowerCase(),this.attr=this.options.attr,this.showCursor=!this.isInput&&this.options.showCursor,this.elContent=this.attr?this.el.getAttribute(this.attr):this.el.textContent,this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,e&&this.options.stringsElement instanceof e?this.stringsElement=this.options.stringsElement[0]:this.stringsElement=this.options.stringsElement,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.build()};i.prototype={constructor:i,init:function(){var t=this;t.timeout=setTimeout(function(){for(var s=0;s<t.strings.length;++s)t.sequence[s]=s;t.shuffle&&(t.sequence=t.shuffleArray(t.sequence)),t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos)},t.startDelay)},build:function(){var t=this;if(this.showCursor===!0&&(this.cursor=s.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)),this.stringsElement){this.strings=[],this.stringsElement.style.display="none";var e=Array.prototype.slice.apply(this.stringsElement.children);e.forEach(function(s){t.strings.push(s.innerHTML)})}this.init()},typewrite:function(t,s){if(this.stop!==!0){var e=Math.round(70*Math.random())+this.typeSpeed,i=this;i.timeout=setTimeout(function(){var e=0,r=t.substr(s);if("^"===r.charAt(0)){var o=1;/^\^\d+/.test(r)&&(r=/\d+/.exec(r)[0],o+=r.length,e=parseInt(r)),t=t.substring(0,s)+t.substring(s+o)}if("html"===i.contentType){var n=t.substr(s).charAt(0);if("<"===n||"&"===n){var a="",h="";for(h="<"===n?">":";";t.substr(s+1).charAt(0)!==h&&(a+=t.substr(s).charAt(0),s++,!(s+1>t.length)););s++,a+=h}}i.timeout=setTimeout(function(){if(s===t.length){if(i.options.onStringTyped(i.arrayPos),i.arrayPos===i.strings.length-1&&(i.options.callback(),i.curLoop++,i.loop===!1||i.curLoop===i.loopCount))return;i.timeout=setTimeout(function(){i.backspace(t,s)},i.backDelay)}else{0===s&&i.options.preStringTyped(i.arrayPos);var e=t.substr(0,s+1);i.attr?i.el.setAttribute(i.attr,e):i.isInput?i.el.value=e:"html"===i.contentType?i.el.innerHTML=e:i.el.textContent=e,s++,i.typewrite(t,s)}},e)},e)}},backspace:function(t,s){if(this.stop!==!0){var e=Math.round(70*Math.random())+this.backSpeed,i=this;i.timeout=setTimeout(function(){if("html"===i.contentType&&">"===t.substr(s).charAt(0)){for(var e="";"<"!==t.substr(s-1).charAt(0)&&(e-=t.substr(s).charAt(0),s--,!(s<0)););s--,e+="<"}var r=t.substr(0,s);i.attr?i.el.setAttribute(i.attr,r):i.isInput?i.el.value=r:"html"===i.contentType?i.el.innerHTML=r:i.el.textContent=r,s>i.stopNum?(s--,i.backspace(t,s)):s<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.shuffle&&(i.sequence=i.shuffleArray(i.sequence)),i.init()):i.typewrite(i.strings[i.sequence[i.arrayPos]],s))},e)}},shuffleArray:function(t){var s,e,i=t.length;if(i)for(;--i;)e=Math.floor(Math.random()*(i+1)),s=t[e],t[e]=t[i],t[i]=s;return t},reset:function(){var t=this;clearInterval(t.timeout);this.el.getAttribute("id");this.el.textContent="","undefined"!=typeof this.cursor&&"undefined"!=typeof this.cursor.parentNode&&this.cursor.parentNode.removeChild(this.cursor),this.strPos=0,this.arrayPos=0,this.curLoop=0,this.options.resetCallback()}},i["new"]=function(t,e){var r=Array.prototype.slice.apply(s.querySelectorAll(t));r.forEach(function(t){var s=t._typed,r="object"==typeof e&&e;s&&s.reset(),t._typed=s=new i(t,r),"string"==typeof e&&s[e]()})},e&&(e.fn.typed=function(t){return this.each(function(){var s=e(this),r=s.data("typed"),o="object"==typeof t&&t;r&&r.reset(),s.data("typed",r=new i(this,o)),"string"==typeof t&&r[t]()})}),t.Typed=i;var r={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window,document,window.jQuery);
500
+ !function(a){"use strict";function b(b,c){this.element=a(b),this.settings=a.extend({},d,c),this._defaults=d,this._init()}var c="Morphext",d={animation:"bounceIn",separator:",",speed:2e3,complete:a.noop};b.prototype={_init:function(){var b=this;this.phrases=[],this.element.addClass("morphext"),a.each(this.element.text().split(this.settings.separator),function(c,d){b.phrases.push(a.trim(d))}),this.index=-1,this.animate(),this.start()},animate:function(){this.index=++this.index%this.phrases.length,this.element[0].innerHTML='<span class="animated '+this.settings.animation+'">'+this.phrases[this.index]+"</span>",a.isFunction(this.settings.complete)&&this.settings.complete.call(this)},start:function(){var a=this;this._interval=setInterval(function(){a.animate()},this.settings.speed)},stop:function(){this._interval=clearInterval(this._interval)}},a.fn[c]=function(d){return this.each(function(){a.data(this,"plugin_"+c)||a.data(this,"plugin_"+c,new b(this,d))})}}(jQuery);
501
+
502
+ /*!
503
+ * Morphext - Text Rotating Plugin for jQuery
504
+ * https://github.com/MrSaints/Morphext
505
+ *
506
+ * Built on jQuery Boilerplate
507
+ * http://jqueryboilerplate.com/
508
+ *
509
+ * Copyright 2014 Ian Lai and other contributors
510
+ * Released under the MIT license
511
+ * http://ian.mit-license.org/
512
+ */
513
+
514
+ /*eslint-env browser */
515
+ /*global jQuery:false */
516
+ /*eslint-disable no-underscore-dangle */
517
+
518
+ (function ($) {
519
+ "use strict";
520
+
521
+ var pluginName = "Morphext",
522
+ defaults = {
523
+ animation: "bounceIn",
524
+ separator: ",",
525
+ speed: 2000,
526
+ complete: $.noop
527
+ };
528
+
529
+ function Plugin (element, options) {
530
+ this.element = $(element);
531
+
532
+ this.settings = $.extend({}, defaults, options);
533
+ this._defaults = defaults;
534
+ this._init();
535
+ }
536
+
537
+ Plugin.prototype = {
538
+ _init: function () {
539
+ var $that = this;
540
+ this.phrases = [];
541
+
542
+ this.element.addClass("morphext");
543
+
544
+ $.each(this.element.text().split(this.settings.separator), function (key, value) {
545
  $that.phrases.push($.trim(value));
546
  });
547
 
1623
  });
1624
  ;
1625
  /*!
1626
+ * Countdown v0.1.0
1627
+ * https://github.com/fengyuanchen/countdown
1628
+ *
1629
+ * Copyright 2014 Fengyuan Chen
1630
+ * Released under the MIT license
 
 
 
 
1631
  */
1632
 
1633
+ (function (factory) {
1634
+ if (typeof define === "function" && define.amd) {
1635
+ // AMD. Register as anonymous module.
1636
+ define(["jquery"], factory);
1637
+ } else {
1638
+ // Browser globals.
1639
+ factory(jQuery);
1640
+ }
1641
+ })(function ($) {
 
 
 
 
 
 
 
 
1642
 
1643
+ "use strict";
1644
 
1645
+ var Countdown = function (element, options) {
1646
+ this.$element = $(element);
1647
+ this.defaults = $.extend({}, Countdown.defaults, this.$element.data(), $.isPlainObject(options) ? options : {});
1648
+ this.init();
1649
+ };
1650
 
1651
+ Countdown.prototype = {
1652
+ constructor: Countdown,
1653
 
1654
+ init: function () {
1655
+ var content = this.$element.html(),
1656
+ date = new Date(this.defaults.date || content);
1657
 
1658
+ if (date.getTime()) {
1659
+ this.content = content;
1660
+ this.date = date;
1661
+ this.find();
 
 
 
 
 
 
 
 
1662
 
1663
+ if (this.defaults.autoStart) {
1664
+ this.start();
1665
+ }
1666
+ }
1667
+ },
1668
 
1669
+ find: function () {
1670
+ var $element = this.$element;
 
 
 
 
 
 
 
 
 
 
 
1671
 
1672
+ this.$days = $element.find("[data-days]");
1673
+ this.$hours = $element.find("[data-hours]");
1674
+ this.$minutes = $element.find("[data-minutes]");
1675
+ this.$seconds = $element.find("[data-seconds]");
1676
 
1677
+ if ((this.$days.length + this.$hours.length + this.$minutes.length + this.$seconds.length) > 0) {
1678
+ this.found = true;
1679
+ }
1680
+ },
 
 
 
 
 
1681
 
1682
+ reset: function () {
1683
+ if (this.found) {
1684
+ this.output("days");
1685
+ this.output("hours");
1686
+ this.output("minutes");
1687
+ this.output("seconds");
1688
+ } else {
1689
+ this.output();
1690
+ }
1691
+ },
1692
 
1693
+ ready: function () {
1694
+ var date = this.date,
1695
+ decisecond = 100,
1696
+ second = 1000,
1697
+ minute = 60000,
1698
+ hour = 3600000,
1699
+ day = 86400000,
1700
+ remainder = {},
1701
+ diff;
 
1702
 
1703
+ if (!date) {
1704
+ return false;
1705
+ }
 
 
 
 
 
 
 
 
 
 
1706
 
1707
+ diff = date.getTime() - (new Date()).getTime();
 
1708
 
1709
+ if (diff <= 0) {
1710
+ this.end();
1711
+ return false;
1712
+ }
1713
 
1714
+ remainder.days = diff;
1715
+ remainder.hours = remainder.days % day;
1716
+ remainder.minutes = remainder.hours % hour;
1717
+ remainder.seconds = remainder.minutes % minute;
1718
+ remainder.milliseconds = remainder.seconds % second;
1719
 
1720
+ this.days = Math.floor(remainder.days / day);
1721
+ this.hours = Math.floor(remainder.hours / hour);
1722
+ this.minutes = Math.floor(remainder.minutes / minute);
1723
+ this.seconds = Math.floor(remainder.seconds / second);
1724
+ this.deciseconds = Math.floor(remainder.milliseconds / decisecond);
1725
 
1726
+ return true;
1727
+ },
 
 
 
1728
 
1729
+ start: function () {
1730
+ if (!this.active && this.ready()) {
1731
+ this.active = true;
1732
+ this.reset();
1733
+ this.autoUpdate = this.defaults.fast ?
1734
+ setInterval($.proxy(this.fastUpdate, this), 100) :
1735
+ setInterval($.proxy(this.update, this), 1000);
1736
+ }
1737
+ },
1738
 
1739
+ stop: function () {
1740
+ if (this.active) {
1741
+ this.active = false;
1742
+ clearInterval(this.autoUpdate);
1743
+ }
1744
+ },
1745
 
1746
+ end: function () {
1747
+ if (!this.date) {
1748
+ return;
1749
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1750
 
1751
+ this.stop();
1752
 
1753
+ this.days = 0;
1754
+ this.hours = 0;
1755
+ this.minutes = 0;
1756
+ this.seconds = 0;
1757
+ this.deciseconds = 0;
1758
+ this.reset();
1759
+ this.defaults.end();
1760
+ },
1761
 
1762
+ destroy: function () {
1763
+ if (!this.date) {
1764
+ return;
1765
+ }
1766
 
1767
+ this.stop();
1768
 
1769
+ this.$days = null;
1770
+ this.$hours = null;
1771
+ this.$minutes = null;
1772
+ this.$seconds = null;
1773
 
1774
+ this.$element.empty().html(this.content);
1775
+ this.$element.removeData("countdown");
1776
+ },
1777
 
1778
+ fastUpdate: function () {
1779
+ if (--this.deciseconds >= 0) {
1780
+ this.output("deciseconds");
1781
+ } else {
1782
+ this.deciseconds = 9;
1783
+ this.update();
1784
+ }
1785
+ },
1786
 
1787
+ update: function () {
1788
+ if (--this.seconds >= 0) {
1789
+ this.output("seconds");
1790
+ } else {
1791
+ this.seconds = 59;
 
 
1792
 
1793
+ if (--this.minutes >= 0) {
1794
+ this.output("minutes");
1795
+ } else {
1796
+ this.minutes = 59;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1797
 
1798
+ if (--this.hours >= 0) {
1799
+ this.output("hours");
1800
+ } else {
1801
+ this.hours = 23;
 
 
 
 
 
1802
 
1803
+ if (--this.days >= 0) {
1804
+ this.output("days");
1805
+ } else {
1806
+ this.end();
1807
+ }
1808
+ }
1809
+ }
1810
+ }
1811
+ },
1812
 
1813
+ output: function (type) {
1814
+ if (!this.found) {
1815
+ this.$element.empty().html(this.template());
1816
+ return;
1817
+ }
1818
 
1819
+ switch (type) {
1820
+ case "deciseconds":
1821
+ this.$seconds.text(this.getSecondsText());
1822
+ break;
1823
 
1824
+ case "seconds":
1825
+ this.$seconds.text(this.seconds);
1826
+ break;
 
 
 
 
1827
 
1828
+ case "minutes":
1829
+ this.$minutes.text(this.minutes);
1830
+ break;
 
1831
 
1832
+ case "hours":
1833
+ this.$hours.text(this.hours);
1834
+ break;
 
1835
 
1836
+ case "days":
1837
+ this.$days.text(this.days);
1838
+ break;
 
 
 
1839
 
1840
+ // No default
1841
+ }
1842
+ },
1843
 
1844
+ template: function () {
1845
+ return this.defaults.text
1846
+ .replace("%s", this.days)
1847
+ .replace("%s", this.hours)
1848
+ .replace("%s", this.minutes)
1849
+ .replace("%s", this.getSecondsText());
1850
+ },
1851
 
1852
+ getSecondsText: function () {
1853
+ return this.active && this.defaults.fast ? (this.seconds + "." + this.deciseconds) : this.seconds;
1854
+ }
1855
+ };
1856
 
1857
+ // Default settings
1858
+ Countdown.defaults = {
1859
+ autoStart: true,
1860
+ date: null,
1861
+ fast: false,
1862
+ end: $.noop,
1863
+ text: "%s days, %s hours, %s minutes, %s seconds"
1864
+ };
 
 
 
1865
 
1866
+ // Set default settings
1867
+ Countdown.setDefaults = function (options) {
1868
+ $.extend(Countdown.defaults, options);
1869
+ };
1870
 
1871
+ // Register as jQuery plugin
1872
+ $.fn.countdown = function (options) {
1873
+ return this.each(function () {
1874
+ var $this = $(this),
1875
+ data = $this.data("countdown");
1876
 
1877
+ if (!data) {
1878
+ $this.data("countdown", (data = new Countdown(this, options)));
1879
+ }
1880
 
1881
+ if (typeof options === "string" && $.isFunction(data[options])) {
1882
+ data[options]();
1883
+ }
1884
+ });
1885
+ };
 
 
 
 
 
 
 
 
 
 
1886
 
1887
+ $.fn.countdown.constructor = Countdown;
1888
+ $.fn.countdown.setDefaults = Countdown.setDefaults;
1889
 
1890
+ $(function () {
1891
+ $("[countdown]").countdown();
1892
+ });
1893
 
1894
  });
1895
 
 
1896
  /**
1897
  * author Christopher Blum
1898
  * - based on the idea of Remy Sharp, http://remysharp.com/2009/01/26/element-in-view-event-plugin/
5599
  }));
5600
 
5601
 
5602
+ (function($) {
5603
+ $.fn.eaelProgressBar = function() {
5604
+ var $this = $(this)
5605
+ var $layout = $this.data('layout')
5606
+ var $num = $this.data('count')
5607
+ var $duration = $this.data('duration')
5608
+
5609
+ $this.one('inview', function() {
5610
+ if ($layout == 'line') {
5611
+ $('.eael-progressbar-line-fill', $this).css({
5612
+ 'width': $num + '%',
5613
+ })
5614
+ } else if ($layout == 'half_circle') {
5615
+ $('.eael-progressbar-circle-half', $this).css({
5616
+ 'transform': 'rotate(' + ($num * 1.8) + 'deg)',
5617
+ })
5618
+ }
5619
+
5620
+ $('.eael-progressbar-count', $this).prop({
5621
+ 'counter': 0
5622
+ }).animate({
5623
+ counter: $num
5624
+ }, {
5625
+ duration: $duration,
5626
+ easing: 'linear',
5627
+ step: function(counter) {
5628
+ if ($layout == 'circle') {
5629
+ var rotate = (counter * 3.6)
5630
+ $('.eael-progressbar-circle-half-left', $this).css({
5631
+ 'transform': "rotate(" + rotate + "deg)",
5632
+ })
5633
+ if (rotate > 180) {
5634
+ $('.eael-progressbar-circle-pie', $this).css({
5635
+ 'clip-path': 'inset(0)'
5636
+ })
5637
+ $('.eael-progressbar-circle-half-right', $this).css({
5638
+ 'visibility': 'visible'
5639
+ })
5640
+ }
5641
+ }
5642
+
5643
+ $(this).text(Math.ceil(counter))
5644
+ }
5645
+ })
5646
+ })
5647
+ }
5648
+ }(jQuery));
5649
  /*! Magnific Popup - v1.1.0 - 2016-02-20
5650
  * http://dimsemenov.com/plugins/magnific-popup/
5651
  * Copyright (c) 2016 Dmitry Semenov; */
7507
  /*>>retina*/
7508
  _checkInstance();
7509
  }));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7510
  (function (root, factory) {
7511
  if (typeof define === 'function' && define.amd) {
7512
  // AMD. Register as an anonymous module unless amdModuleId is set
11775
 
11776
  }));
11777
 
11778
+ (function ($) {
11779
  "use strict";
11780
 
11781
+ $(document).on("click", ".eael-load-more-button", function (e) {
11782
+ e.preventDefault();
11783
+ e.stopPropagation();
11784
+ e.stopImmediatePropagation();
11785
+
11786
+ var $this = $(this),
11787
+ $text = $("span", $this).html(),
11788
+ $widget_id = $this.data("widget"),
11789
+ $scope = $(".elementor-element-" + $widget_id),
11790
+ $class = $this.data("class"),
11791
+ $args = $this.data("args"),
11792
+ $settings = $this.data("settings"),
11793
+ $layout = $this.data("layout"),
11794
+ $page = parseInt($this.data("page")) + 1;
11795
+
11796
+ $this.addClass("button--loading");
11797
+ $("span", $this).html("Loading...");
11798
+
11799
+ $.ajax({
11800
+ url: localize.ajaxurl,
11801
+ type: "post",
11802
+ data: {
11803
+ action: "load_more",
11804
+ class: $class,
11805
+ args: $args,
11806
+ settings: $settings,
11807
+ page: $page
11808
+ },
11809
+ success: function (response) {
11810
+ var $content = $(response);
11811
+
11812
+ if (
11813
+ $content.hasClass("no-posts-found") ||
11814
+ $content.length == 0
11815
+ ) {
11816
+ $this.remove();
11817
+ } else {
11818
+ if ($layout == "masonry") {
11819
+ $isotope = $(".eael-post-appender", $scope).isotope();
11820
+ $isotope.append($content).isotope("appended", $content);
11821
+ $isotope.isotope("layout");
11822
 
11823
+ $isotope.imagesLoaded().progress(function() {
11824
+ $isotope.isotope("layout");
11825
+ });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11826
  } else {
11827
+ $(".eael-post-appender", $scope).append($content);
11828
  }
 
 
 
 
11829
 
11830
+ $this.removeClass("button--loading");
11831
+ $("span", $this).html($text);
11832
 
11833
+ $this.data("page", $page);
11834
+ }
11835
+ },
11836
+ error: function (response) {
11837
+ console.log(response);
11838
+ }
11839
  });
11840
+ });
11841
  })(jQuery);
11842
 
11843
  var AdvAccordionHandler = function($scope, $) {
12454
  );
12455
  });
12456
 
12457
+ var PostGrid = function($scope, $) {
12458
+ var $gallery = $(".eael-post-appender", $scope).isotope({
12459
+ itemSelector: ".eael-grid-post",
12460
+ masonry: {
12461
+ columnWidth: ".eael-post-grid-column",
12462
+ percentPosition: true
12463
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12464
  });
12465
 
12466
  // layout gal, while images are loading
12467
  $gallery.imagesLoaded().progress(function() {
12468
  $gallery.isotope("layout");
12469
  });
12470
+ };
 
12471
 
12472
  jQuery(window).on("elementor/frontend/init", function() {
12473
  elementorFrontend.hooks.addAction(
12475
  PostGrid
12476
  );
12477
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12478
 
12479
  var PricingTooltip = function($scope, $) {
12480
  if ($.fn.tooltipster) {
12533
  );
12534
  });
12535
 
12536
+ var TwitterFeedHandler = function($scope, $) {
12537
+ if (!isEditMode) {
12538
+ $gutter = $(".eael-twitter-feed-masonry", $scope).data("gutter");
12539
+ $settings = {
12540
+ itemSelector: ".eael-twitter-feed-item",
12541
+ percentPosition: true,
12542
+ masonry: {
12543
+ columnWidth: ".eael-twitter-feed-item",
12544
+ gutter: $gutter
12545
+ }
12546
+ };
12547
+
12548
+ // init isotope
12549
+ $twitter_feed_gallery = $(".eael-twitter-feed-masonry", $scope).isotope(
12550
+ $settings
12551
+ );
12552
+
12553
+ // layout gal, while images are loading
12554
+ $twitter_feed_gallery.imagesLoaded().progress(function() {
12555
+ $twitter_feed_gallery.isotope("layout");
12556
+ });
12557
+ }
12558
+ };
12559
+
12560
+ jQuery(window).on("elementor/frontend/init", function() {
12561
+ elementorFrontend.hooks.addAction(
12562
+ "frontend/element_ready/eael-twitter-feed.default",
12563
+ TwitterFeedHandler
12564
+ );
12565
+ });
12566
+
12567
  jQuery(document).ready(function() {
12568
  // scroll func
12569
  jQuery(window).scroll(function() {
12641
  );
12642
  }
12643
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/front-end/js/eael.min.js CHANGED
@@ -1,26 +1,25 @@
1
- !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(i){"use strict";var n=function(t,s){this.$element=i(t),this.defaults=i.extend({},n.defaults,this.$element.data(),i.isPlainObject(s)?s:{}),this.init()};n.prototype={constructor:n,init:function(){var t=this.$element.html(),s=new Date(this.defaults.date||t);s.getTime()&&(this.content=t,this.date=s,this.find(),this.defaults.autoStart&&this.start())},find:function(){var t=this.$element;this.$days=t.find("[data-days]"),this.$hours=t.find("[data-hours]"),this.$minutes=t.find("[data-minutes]"),this.$seconds=t.find("[data-seconds]"),0<this.$days.length+this.$hours.length+this.$minutes.length+this.$seconds.length&&(this.found=!0)},reset:function(){this.found?(this.output("days"),this.output("hours"),this.output("minutes"),this.output("seconds")):this.output()},ready:function(){var t,s=this.date,e={};return!!s&&((t=s.getTime()-(new Date).getTime())<=0?(this.end(),!1):(e.days=t,e.hours=e.days%864e5,e.minutes=e.hours%36e5,e.seconds=e.minutes%6e4,e.milliseconds=e.seconds%1e3,this.days=Math.floor(e.days/864e5),this.hours=Math.floor(e.hours/36e5),this.minutes=Math.floor(e.minutes/6e4),this.seconds=Math.floor(e.seconds/1e3),this.deciseconds=Math.floor(e.milliseconds/100),!0))},start:function(){!this.active&&this.ready()&&(this.active=!0,this.reset(),this.autoUpdate=this.defaults.fast?setInterval(i.proxy(this.fastUpdate,this),100):setInterval(i.proxy(this.update,this),1e3))},stop:function(){this.active&&(this.active=!1,clearInterval(this.autoUpdate))},end:function(){this.date&&(this.stop(),this.days=0,this.hours=0,this.minutes=0,this.seconds=0,this.deciseconds=0,this.reset(),this.defaults.end())},destroy:function(){this.date&&(this.stop(),this.$days=null,this.$hours=null,this.$minutes=null,this.$seconds=null,this.$element.empty().html(this.content),this.$element.removeData("countdown"))},fastUpdate:function(){0<=--this.deciseconds?this.output("deciseconds"):(this.deciseconds=9,this.update())},update:function(){0<=--this.seconds?this.output("seconds"):(this.seconds=59,0<=--this.minutes?this.output("minutes"):(this.minutes=59,0<=--this.hours?this.output("hours"):(this.hours=23,0<=--this.days?this.output("days"):this.end())))},output:function(t){if(this.found)switch(t){case"deciseconds":this.$seconds.text(this.getSecondsText());break;case"seconds":this.$seconds.text(this.seconds);break;case"minutes":this.$minutes.text(this.minutes);break;case"hours":this.$hours.text(this.hours);break;case"days":this.$days.text(this.days)}else this.$element.empty().html(this.template())},template:function(){return this.defaults.text.replace("%s",this.days).replace("%s",this.hours).replace("%s",this.minutes).replace("%s",this.getSecondsText())},getSecondsText:function(){return this.active&&this.defaults.fast?this.seconds+"."+this.deciseconds:this.seconds}},n.defaults={autoStart:!0,date:null,fast:!1,end:i.noop,text:"%s days, %s hours, %s minutes, %s seconds"},n.setDefaults=function(t){i.extend(n.defaults,t)},i.fn.countdown=function(e){return this.each(function(){var t=i(this),s=t.data("countdown");s||t.data("countdown",s=new n(this,e)),"string"==typeof e&&i.isFunction(s[e])&&s[e]()})},i.fn.countdown.constructor=n,i.fn.countdown.setDefaults=n.setDefaults,i(function(){i("[countdown]").countdown()})});
2
  !function(t,e,n){"use strict";function o(t,s){var e=this;this.el=t,this.options={},Object.keys(i).forEach(function(t){e.options[t]=i[t]}),Object.keys(s).forEach(function(t){e.options[t]=s[t]}),this.isInput="input"===this.el.tagName.toLowerCase(),this.attr=this.options.attr,this.showCursor=!this.isInput&&this.options.showCursor,this.elContent=this.attr?this.el.getAttribute(this.attr):this.el.textContent,this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,n&&this.options.stringsElement instanceof n?this.stringsElement=this.options.stringsElement[0]:this.stringsElement=this.options.stringsElement,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.build()}o.prototype={constructor:o,init:function(){var s=this;s.timeout=setTimeout(function(){for(var t=0;t<s.strings.length;++t)s.sequence[t]=t;s.shuffle&&(s.sequence=s.shuffleArray(s.sequence)),s.typewrite(s.strings[s.sequence[s.arrayPos]],s.strPos)},s.startDelay)},build:function(){var s=this;!0===this.showCursor&&(this.cursor=e.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)),this.stringsElement&&(this.strings=[],this.stringsElement.style.display="none",Array.prototype.slice.apply(this.stringsElement.children).forEach(function(t){s.strings.push(t.innerHTML)}));this.init()},typewrite:function(o,r){if(!0!==this.stop){var t=Math.round(70*Math.random())+this.typeSpeed,a=this;a.timeout=setTimeout(function(){var t=0,s=o.substr(r);if("^"===s.charAt(0)){var e=1;/^\^\d+/.test(s)&&(e+=(s=/\d+/.exec(s)[0]).length,t=parseInt(s)),o=o.substring(0,r)+o.substring(r+e)}if("html"===a.contentType){var i=o.substr(r).charAt(0);if("<"===i||"&"===i){var n;for(n="<"===i?">":";";o.substr(r+1).charAt(0)!==n&&(o.substr(r).charAt(0),!(++r+1>o.length)););r++,n}}a.timeout=setTimeout(function(){if(r===o.length){if(a.options.onStringTyped(a.arrayPos),a.arrayPos===a.strings.length-1&&(a.options.callback(),a.curLoop++,!1===a.loop||a.curLoop===a.loopCount))return;a.timeout=setTimeout(function(){a.backspace(o,r)},a.backDelay)}else{0===r&&a.options.preStringTyped(a.arrayPos);var t=o.substr(0,r+1);a.attr?a.el.setAttribute(a.attr,t):a.isInput?a.el.value=t:"html"===a.contentType?a.el.innerHTML=t:a.el.textContent=t,r++,a.typewrite(o,r)}},t)},t)}},backspace:function(s,e){if(!0!==this.stop){var t=Math.round(70*Math.random())+this.backSpeed,i=this;i.timeout=setTimeout(function(){if("html"===i.contentType&&">"===s.substr(e).charAt(0)){for(;"<"!==s.substr(e-1).charAt(0)&&(s.substr(e).charAt(0),!(--e<0)););e--,"<"}var t=s.substr(0,e);i.attr?i.el.setAttribute(i.attr,t):i.isInput?i.el.value=t:"html"===i.contentType?i.el.innerHTML=t:i.el.textContent=t,e>i.stopNum?(e--,i.backspace(s,e)):e<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.shuffle&&(i.sequence=i.shuffleArray(i.sequence)),i.init()):i.typewrite(i.strings[i.sequence[i.arrayPos]],e))},t)}},shuffleArray:function(t){var s,e,i=t.length;if(i)for(;--i;)s=t[e=Math.floor(Math.random()*(i+1))],t[e]=t[i],t[i]=s;return t},reset:function(){clearInterval(this.timeout),this.el.getAttribute("id"),this.el.textContent="",void 0!==this.cursor&&void 0!==this.cursor.parentNode&&this.cursor.parentNode.removeChild(this.cursor),this.strPos=0,this.arrayPos=0,this.curLoop=0,this.options.resetCallback()}},o.new=function(t,i){Array.prototype.slice.apply(e.querySelectorAll(t)).forEach(function(t){var s=t._typed,e="object"==typeof i&&i;s&&s.reset(),t._typed=s=new o(t,e),"string"==typeof i&&s[i]()})},n&&(n.fn.typed=function(i){return this.each(function(){var t=n(this),s=t.data("typed"),e="object"==typeof i&&i;s&&s.reset(),t.data("typed",s=new o(this,e)),"string"==typeof i&&s[i]()})}),t.Typed=o;var i={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window,document,window.jQuery),function(i){"use strict";function s(t,s){this.element=i(t),this.settings=i.extend({},n,s),this._defaults=n,this._init()}var e="Morphext",n={animation:"bounceIn",separator:",",speed:2e3,complete:i.noop};s.prototype={_init:function(){var e=this;this.phrases=[],this.element.addClass("morphext"),i.each(this.element.text().split(this.settings.separator),function(t,s){e.phrases.push(i.trim(s))}),this.index=-1,this.animate(),this.start()},animate:function(){this.index=++this.index%this.phrases.length,this.element[0].innerHTML='<span class="animated '+this.settings.animation+'">'+this.phrases[this.index]+"</span>",i.isFunction(this.settings.complete)&&this.settings.complete.call(this)},start:function(){var t=this;this._interval=setInterval(function(){t.animate()},this.settings.speed)},stop:function(){this._interval=clearInterval(this._interval)}},i.fn[e]=function(t){return this.each(function(){i.data(this,"plugin_"+e)||i.data(this,"plugin_"+e,new s(this,t))})}}(jQuery);
3
  !function(e){"use strict";var i="Morphext",s={animation:"bounceIn",separator:",",speed:2e3,complete:e.noop};function n(t,i){this.element=e(t),this.settings=e.extend({},s,i),this._defaults=s,this._init()}n.prototype={_init:function(){var s=this;this.phrases=[],this.element.addClass("morphext"),e.each(this.element.text().split(this.settings.separator),function(t,i){s.phrases.push(e.trim(i))}),this.index=-1,this.animate(),this.start()},animate:function(){this.index=++this.index%this.phrases.length,this.element[0].innerHTML='<span class="animated '+this.settings.animation+'">'+this.phrases[this.index]+"</span>",e.isFunction(this.settings.complete)&&this.settings.complete.call(this)},start:function(){var t=this;this._interval=setInterval(function(){t.animate()},this.settings.speed)},stop:function(){this._interval=clearInterval(this._interval)}},e.fn[i]=function(t){return this.each(function(){e.data(this,"plugin_"+i)||e.data(this,"plugin_"+i,new n(this,t))})}}(jQuery);
4
  !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Typed=e():t.Typed=e()}(this,function(){return i={},s.m=n=[function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t,e,s){return e&&i(t.prototype,e),s&&i(t,s),t};function i(t,e){for(var s=0;s<e.length;s++){var n=e[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var r=s(1),u=s(3),o=(n(a,[{key:"toggle",value:function(){this.pause.status?this.start():this.stop()}},{key:"stop",value:function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))}},{key:"start",value:function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))}},{key:"destroy",value:function(){this.reset(!1),this.options.onDestroy(this)}},{key:"reset",value:function(t){var e=arguments.length<=0||void 0===t||t;clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,e&&(this.insertCursor(),this.options.onReset(this),this.begin())}},{key:"begin",value:function(){var t=this;this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){t.currentElContent&&0!==t.currentElContent.length?t.backspace(t.currentElContent,t.currentElContent.length):t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos)},this.startDelay)}},{key:"typewrite",value:function(i,r){var o=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var t=this.humanizer(this.typeSpeed),a=1;!0!==this.pause.status?this.timeout=setTimeout(function(){r=u.htmlParser.typeHtmlChars(i,r,o);var t=0,e=i.substr(r);if("^"===e.charAt(0)&&/^\^\d+/.test(e)){var s=1;s+=(e=/\d+/.exec(e)[0]).length,t=parseInt(e),o.temporaryPause=!0,o.options.onTypingPaused(o.arrayPos,o),i=i.substring(0,r)+i.substring(r+s),o.toggleBlinking(!0)}if("`"===e.charAt(0)){for(;"`"!==i.substr(r+a).charAt(0)&&!(r+ ++a>i.length););var n=i.substring(0,r);i=n+i.substring(n.length+1,r+a)+i.substring(r+a+1),a--}o.timeout=setTimeout(function(){o.toggleBlinking(!1),r>=i.length?o.doneTyping(i,r):o.keepTyping(i,r,a),o.temporaryPause&&(o.temporaryPause=!1,o.options.onTypingResumed(o.arrayPos,o))},t)},t):this.setPauseStatus(i,r,!0)}},{key:"keepTyping",value:function(t,e,s){0===e&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),e+=s;var n=t.substr(0,e);this.replaceText(n),this.typewrite(t,e)}},{key:"doneTyping",value:function(t,e){var s=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){s.backspace(t,e)},this.backDelay))}},{key:"backspace",value:function(s,n){var i=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var t=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){n=u.htmlParser.backSpaceHtmlChars(s,n,i);var t=s.substr(0,n);if(i.replaceText(t),i.smartBackspace){var e=i.strings[i.arrayPos+1];e&&t===e.substr(0,n)?i.stopNum=n:i.stopNum=0}n>i.stopNum?(n--,i.backspace(s,n)):n<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.options.onLastStringBackspaced(),i.shuffleStringsIfNeeded(),i.begin()):i.typewrite(i.strings[i.sequence[i.arrayPos]],n))},t)}else this.setPauseStatus(s,n,!0)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(t,e,s){this.pause.typewrite=s,this.pause.curString=t,this.pause.curStrPos=e}},{key:"toggleBlinking",value:function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&((this.cursorBlinking=t)?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(t){return Math.round(Math.random()*t/2)+t}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))}},{key:"initFadeOut",value:function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)},this.fadeOutDelay)}},{key:"replaceText",value:function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t}},{key:"bindFocusEvents",value:function(){var e=this;this.isInput&&(this.el.addEventListener("focus",function(t){e.stop()}),this.el.addEventListener("blur",function(t){e.el.value&&0!==e.el.value.length||e.start()}))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),a);function a(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),r.initializer.load(this,e,t),this.begin()}e.default=o,t.exports=e.default},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var s=arguments[e];for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(t[n]=s[n])}return t},n=function(t,e,s){return e&&i(t.prototype,e),s&&i(t,s),t};function i(t,e){for(var s=0;s<e.length;s++){var n=e[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var r,o=s(2),u=(r=o)&&r.__esModule?r:{default:r},l=(n(c,[{key:"load",value:function(t,e,s){if(t.el="string"==typeof s?document.querySelector(s):s,t.options=a({},u.default,e),t.isInput="input"===t.el.tagName.toLowerCase(),t.attr=t.options.attr,t.bindInputFocusEvents=t.options.bindInputFocusEvents,t.showCursor=!t.isInput&&t.options.showCursor,t.cursorChar=t.options.cursorChar,t.cursorBlinking=!0,t.elContent=t.attr?t.el.getAttribute(t.attr):t.el.textContent,t.contentType=t.options.contentType,t.typeSpeed=t.options.typeSpeed,t.startDelay=t.options.startDelay,t.backSpeed=t.options.backSpeed,t.smartBackspace=t.options.smartBackspace,t.backDelay=t.options.backDelay,t.fadeOut=t.options.fadeOut,t.fadeOutClass=t.options.fadeOutClass,t.fadeOutDelay=t.options.fadeOutDelay,t.isPaused=!1,t.strings=t.options.strings.map(function(t){return t.trim()}),"string"==typeof t.options.stringsElement?t.stringsElement=document.querySelector(t.options.stringsElement):t.stringsElement=t.options.stringsElement,t.stringsElement){t.strings=[],t.stringsElement.style.display="none";var n=Array.prototype.slice.apply(t.stringsElement.children),i=n.length;if(i)for(var r=0;r<i;r+=1){var o=n[r];t.strings.push(o.innerHTML.trim())}}for(var r in t.strPos=0,t.arrayPos=0,t.stopNum=0,t.loop=t.options.loop,t.loopCount=t.options.loopCount,t.curLoop=0,t.shuffle=t.options.shuffle,t.sequence=[],t.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},t.typingComplete=!1,t.strings)t.sequence[r]=r;t.currentElContent=this.getCurrentElContent(t),t.autoInsertCss=t.options.autoInsertCss,this.appendAnimationCss(t)}},{key:"getCurrentElContent",value:function(t){return t.attr?t.el.getAttribute(t.attr):t.isInput?t.el.value:"html"===t.contentType?t.el.innerHTML:t.el.textContent}},{key:"appendAnimationCss",value:function(t){var e="data-typed-js-css";if(t.autoInsertCss&&(t.showCursor||t.fadeOut)&&!document.querySelector("["+e+"]")){var s=document.createElement("style");s.type="text/css",s.setAttribute(e,!0);var n="";t.showCursor&&(n+="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n "),t.fadeOut&&(n+="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n "),0!==s.length&&(s.innerHTML=n,document.body.appendChild(s))}}}]),c);function c(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c)}var p=new(e.default=l);e.initializer=p},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onComplete:function(t){},preStringTyped:function(t,e){},onStringTyped:function(t,e){},onLastStringBackspaced:function(t){},onTypingPaused:function(t,e){},onTypingResumed:function(t,e){},onReset:function(t){},onStop:function(t,e){},onStart:function(t,e){},onDestroy:function(t){}};e.default=s,t.exports=e.default},function(t,e){"use strict";function n(t,e){for(var s=0;s<e.length;s++){var n=e[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(e,"__esModule",{value:!0});var s=(function(t,e,s){return e&&n(t.prototype,e),s&&n(t,s),t}(i,[{key:"typeHtmlChars",value:function(t,e,s){if("html"!==s.contentType)return e;var n=t.substr(e).charAt(0);if("<"===n||"&"===n){var i="";for(i="<"===n?">":";";t.substr(e+1).charAt(0)!==i&&!(++e+1>t.length););e++}return e}},{key:"backSpaceHtmlChars",value:function(t,e,s){if("html"!==s.contentType)return e;var n=t.substr(e).charAt(0);if(">"===n||";"===n){var i="";for(i=">"===n?"<":"&";t.substr(e-1).charAt(0)!==i&&!(--e<0););e--}return e}}]),i);function i(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i)}var r=new(e.default=s);e.htmlParser=r}],s.c=i,s.p="",s(0);function s(t){if(i[t])return i[t].exports;var e=i[t]={exports:{},id:t,loaded:!1};return n[t].call(e.exports,e,e.exports,s),e.loaded=!0,e.exports}var n,i});
 
5
  !function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return-1==n.indexOf(t)&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{};return(i[e]=i[e]||{})[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return-1!=n&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],o=0;o<i.length;o++){var s=i[o];n&&n[s]&&(this.off(e,s),delete n[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),function(t,i){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("ev-emitter")):t.imagesLoaded=i(t,t.EvEmitter)}("undefined"!=typeof window?window:this,function(t,e){var o=t.jQuery,s=t.console;function r(e,t){for(var i in t)e[i]=t[i];return e}var h=Array.prototype.slice;function a(e,t,i){if(!(this instanceof a))return new a(e,t,i);var n=e;"string"==typeof e&&(n=document.querySelectorAll(e)),n?(this.elements=function(e){return Array.isArray(e)?e:"object"==typeof e&&"number"==typeof e.length?h.call(e):[e]}(n),this.options=r({},this.options),"function"==typeof t?i=t:r(this.options,t),i&&this.on("always",i),this.getImages(),o&&(this.jqDeferred=new o.Deferred),setTimeout(this.check.bind(this))):s.error("Bad element for imagesLoaded "+(n||e))}(a.prototype=Object.create(e.prototype)).options={},a.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},a.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&d[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var s=e.querySelectorAll(this.options.background);for(n=0;n<s.length;n++){var r=s[n];this.addElementBackgroundImages(r)}}}};var d={1:!0,9:!0,11:!0};function i(e){this.img=e}function n(e,t){this.url=e,this.element=t,this.img=new Image}return a.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,e),n=i.exec(t.backgroundImage)}},a.prototype.addImage=function(e){var t=new i(e);this.images.push(t)},a.prototype.addBackground=function(e,t){var i=new n(e,t);this.images.push(i)},a.prototype.check=function(){var n=this;function t(e,t,i){setTimeout(function(){n.progress(e,t,i)})}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach(function(e){e.once("progress",t),e.check()}):this.complete()},a.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&s&&s.log("progress: "+i,e,t)},a.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},(i.prototype=Object.create(e.prototype)).check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},i.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},a.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((o=e).fn.imagesLoaded=function(e,t){return new a(this,e,t).jqDeferred.promise(o(this))})},a.makeJQueryPlugin(),a});
6
  !function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(f){var a,d,i,c=[],h=document,u=window,s=h.documentElement;function t(){if(c.length){var e=0,t=f.map(c,function(e){var t=e.data.selector,n=e.$element;return t?n.find(t):n});for(a=a||function(){var e,t,n={height:u.innerHeight,width:u.innerWidth};return n.height||!(e=h.compatMode)&&f.support.boxModel||(n={height:(t="CSS1Compat"===e?s:h.body).clientHeight,width:t.clientWidth}),n}(),d=d||{top:u.pageYOffset||s.scrollTop||h.body.scrollTop,left:u.pageXOffset||s.scrollLeft||h.body.scrollLeft};e<c.length;e++)if(f.contains(s,t[e][0])){var n=f(t[e]),i=n[0].offsetHeight,o=n[0].offsetWidth,l=n.offset(),r=n.data("inview");if(!d||!a)return;l.top+i>d.top&&l.top<d.top+a.height&&l.left+o>d.left&&l.left<d.left+a.width?r||n.data("inview",!0).trigger("inview",[!0]):r&&n.data("inview",!1).trigger("inview",[!1])}}}f.event.special.inview={add:function(e){c.push({data:e,$element:f(this),element:this}),!i&&c.length&&(i=setInterval(t,250))},remove:function(e){for(var t=0;t<c.length;t++){var n=c[t];if(n.element===this&&n.data.guid===e.guid){c.splice(t,1);break}}c.length||(clearInterval(i),i=null)}},f(u).on("scroll resize scrollstop",function(){a=d=null}),!s.addEventListener&&s.attachEvent&&s.attachEvent("onfocusin",function(){d=null})});
7
  !function(e,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("jquery")):e.jQueryBridget=i(e,e.jQuery)}(window,function(t,e){"use strict";var i=Array.prototype.slice,o=t.console,d=void 0===o?function(){}:function(t){o.error(t)};function n(h,n,l){(l=l||e||t.jQuery)&&(n.prototype.option||(n.prototype.option=function(t){l.isPlainObject(t)&&(this.options=l.extend(!0,this.options,t))}),l.fn[h]=function(t){return"string"==typeof t?function(t,s,r){var a,u="$()."+h+'("'+s+'")';return t.each(function(t,e){var i=l.data(e,h);if(i){var o=i[s];if(o&&"_"!=s.charAt(0)){var n=o.apply(i,r);a=void 0===a?n:a}else d(u+" is not a valid method")}else d(h+" not initialized. Cannot call methods, i.e. "+u)}),void 0!==a?a:t}(this,t,i.call(arguments,1)):(function(t,o){t.each(function(t,e){var i=l.data(e,h);i?(i.option(o),i._init()):(i=new n(e,o),l.data(e,h,i))})}(this,t),this)},s(l))}function s(t){!t||t&&t.bridget||(t.bridget=n)}return s(e||t.jQuery),n}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return-1==o.indexOf(e)&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return-1!=o&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var s=i[n];o&&o[s]&&(this.off(t,s),delete o[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function g(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var i="undefined"==typeof console?function(){}:function(t){console.error(t)},v=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],_=v.length;function z(t){var e=getComputedStyle(t);return e||i("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}var I,x=!1;function S(t){if(function(){if(!x){x=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var e=document.body||document.documentElement;e.appendChild(t);var i=z(t);I=200==Math.round(g(i.width)),S.isBoxSizeOuter=I,e.removeChild(t)}}(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=z(t);if("none"==e.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<_;e++){t[v[e]]=0}return t}();var i={};i.width=t.offsetWidth,i.height=t.offsetHeight;for(var o=i.isBorderBox="border-box"==e.boxSizing,n=0;n<_;n++){var s=v[n],r=e[s],a=parseFloat(r);i[s]=isNaN(a)?0:a}var u=i.paddingLeft+i.paddingRight,h=i.paddingTop+i.paddingBottom,l=i.marginLeft+i.marginRight,d=i.marginTop+i.marginBottom,f=i.borderLeftWidth+i.borderRightWidth,c=i.borderTopWidth+i.borderBottomWidth,m=o&&I,p=g(e.width);!1!==p&&(i.width=p+(m?0:u+f));var y=g(e.height);return!1!==y&&(i.height=y+(m?0:h+c)),i.innerWidth=i.width-(u+f),i.innerHeight=i.height-(h+c),i.outerWidth=i.width+l,i.outerHeight=i.height+d,i}}return S}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var i=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i]+"MatchesSelector";if(t[o])return o}}();return function(t,e){return t[i](e)}}),function(e,i){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("desandro-matches-selector")):e.fizzyUIUtils=i(e,e.matchesSelector)}(window,function(h,s){var l={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},e=Array.prototype.slice;l.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?e.call(t):[t]},l.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},l.getParent=function(t,e){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,s(t,e))return t},l.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.filterFindElements=function(t,o){t=l.makeArray(t);var n=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(o){s(t,o)&&n.push(t);for(var e=t.querySelectorAll(o),i=0;i<e.length;i++)n.push(e[i])}else n.push(t)}),n},l.debounceMethod=function(t,e,o){o=o||100;var n=t.prototype[e],s=e+"Timeout";t.prototype[e]=function(){var t=this[s];clearTimeout(t);var e=arguments,i=this;this[s]=setTimeout(function(){n.apply(i,e),delete i[s]},o)}},l.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},l.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var d=h.console;return l.htmlInit=function(a,u){l.docReady(function(){var t=l.toDashed(u),n="data-"+t,e=document.querySelectorAll("["+n+"]"),i=document.querySelectorAll(".js-"+t),o=l.makeArray(e).concat(l.makeArray(i)),s=n+"-options",r=h.jQuery;o.forEach(function(e){var t,i=e.getAttribute(n)||e.getAttribute(s);try{t=i&&JSON.parse(i)}catch(t){return void(d&&d.error("Error parsing "+n+" on "+e.className+": "+t))}var o=new a(e,t);r&&r.data(e,u,o)})})},l}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";var i=document.documentElement.style,o="string"==typeof i.transition?"transition":"WebkitTransition",n="string"==typeof i.transform?"transform":"WebkitTransform",s={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],r={transform:n,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"};function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var u=a.prototype=Object.create(t.prototype);u.constructor=a,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},u.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.getSize=function(){this.size=e(this.element)},u.css=function(t){var e=this.element.style;for(var i in t){e[r[i]||i]=t[i]}},u.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],n=t[i?"top":"bottom"],s=parseFloat(o),r=parseFloat(n),a=this.layout.size;-1!=o.indexOf("%")&&(s=s/100*a.width),-1!=n.indexOf("%")&&(r=r/100*a.height),s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=e?a.paddingLeft:a.paddingRight,r-=i?a.paddingTop:a.paddingBottom,this.position.x=s,this.position.y=r},u.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",a=this.position.x+t[n];e[s]=this.getXValue(a),e[r]="";var u=o?"paddingTop":"paddingBottom",h=o?"top":"bottom",l=o?"bottom":"top",d=this.position.y+t[u];e[h]=this.getYValue(d),e[l]="",this.css(e),this.emitEvent("layout",[this])},u.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},u.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},u._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!n||this.isTransitioning){var s=t-i,r=e-o,a={};a.transform=this.getTranslate(s,r),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},u.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},u.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},u.moveTo=u._transitionTo,u.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},u._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},u.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var h="opacity,"+n.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});u.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:h,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(s,this,!1)}},u.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},u.onotransitionend=function(t){this.ontransitionend(t)};var l={"-webkit-transform":"transform"};u.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=l[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return!null}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd)e.onEnd[i].call(this),delete e.onEnd[i];this.emitEvent("transitionEnd",[this])}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(s,this,!1),this.isTransitioning=!1},u._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return u.removeTransitionStyles=function(){this.css(d)},u.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},u.remove=function(){o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},u.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},u.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},u.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},u.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},u.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},u.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}),function(n,s){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,i,o){return s(n,t,e,i,o)}):"object"==typeof module&&module.exports?module.exports=s(n,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):n.Outlayer=s(n,n.EvEmitter,n.getSize,n.fizzyUIUtils,n.Outlayer.Item)}(window,function(t,e,n,s,o){"use strict";function i(){}var r=t.console,a=t.jQuery,u=0,h={};function l(t,e){var i=s.getQueryElement(t);if(i){this.element=i,a&&(this.$element=a(this.element)),this.options=s.extend({},this.constructor.defaults),this.option(e);var o=++u;this.element.outlayerGUID=o,(h[o]=this)._create(),this._getOption("initLayout")&&this.layout()}else r&&r.error("Bad element for "+this.constructor.namespace+": "+(i||t))}l.namespace="outlayer",l.Item=o,l.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var d=l.prototype;function f(t){function e(){t.apply(this,arguments)}return(e.prototype=Object.create(t.prototype)).constructor=e}s.extend(d,e.prototype),d.option=function(t){s.extend(this.options,t)},d._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},l.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},d._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),s.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},d.reloadItems=function(){this.items=this._itemize(this.element.children)},d._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var s=new i(e[n],this);o.push(s)}return o},d._filterFindItemElements=function(t){return s.filterFindElements(t,this.options.itemSelector)},d.getItemElements=function(){return this.items.map(function(t){return t.element})},d.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},d._init=d.layout,d._resetLayout=function(){this.getSize()},d.getSize=function(){this.size=n(this.element)},d._getMeasurement=function(t,e){var i,o=this.options[t];o?("string"==typeof o?i=this.element.querySelector(o):o instanceof HTMLElement&&(i=o),this[t]=i?n(i)[e]:o):this[t]=0},d.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},d._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},d._layoutItems=function(t,i){if(this._emitCompleteOnItems("layout",t),t&&t.length){var o=[];t.forEach(function(t){var e=this._getItemLayoutPosition(t);e.item=t,e.isInstant=i||t.isLayoutInstant,o.push(e)},this),this._processLayoutQueue(o)}},d._getItemLayoutPosition=function(){return{x:0,y:0}},d._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},d.updateStagger=function(){var t=this.options.stagger;if(null!=t)return this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],o=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var n=c[o]||1;return i*n}(t),this.stagger;this.stagger=0},d._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},d._getContainerSize=i,d._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},d._emitCompleteOnItems=function(e,t){var i=this;function o(){i.dispatchEvent(e+"Complete",null,[t])}var n=t.length;if(t&&n){var s=0;t.forEach(function(t){t.once(e,r)})}else o();function r(){++s==n&&o()}},d.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),a)if(this.$element=this.$element||a(this.element),e){var n=a.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},d.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},d.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},d.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},d.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){s.removeFrom(this.stamps,t),this.unignore(t)},this)},d._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=s.makeArray(t)},d._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},d._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},d._manageStamp=i,d._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,o=n(t);return{left:e.left-i.left-o.marginLeft,top:e.top-i.top-o.marginTop,right:i.right-e.right-o.marginRight,bottom:i.bottom-e.bottom-o.marginBottom}},d.handleEvent=s.handleEvent,d.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},d.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},d.onresize=function(){this.resize()},s.debounceMethod(l,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var t=n(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},d.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},d.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},d.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},d.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var i=this.updateStagger();t.forEach(function(t,e){t.stagger(e*i),t.reveal()})}},d.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var i=this.updateStagger();t.forEach(function(t,e){t.stagger(e*i),t.hide()})}},d.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},d.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},d.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},d.getItems=function(t){t=s.makeArray(t);var i=[];return t.forEach(function(t){var e=this.getItem(t);e&&i.push(e)},this),i},d.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),s.removeFrom(this.items,t)},this)},d.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete h[e],delete this.element.outlayerGUID,a&&a.removeData(this.element,this.constructor.namespace)},l.data=function(t){var e=(t=s.getQueryElement(t))&&t.outlayerGUID;return e&&h[e]},l.create=function(t,e){var i=f(l);return i.defaults=s.extend({},l.defaults),s.extend(i.defaults,e),i.compatOptions=s.extend({},l.compatOptions),i.namespace=t,i.data=l.data,i.Item=f(o),s.htmlInit(i,t),a&&a.bridget&&a.bridget(t,i),i};var c={ms:1,s:1e3};return l.Item=o,l}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var n=i.destroy;return i.destroy=function(){n.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(e,i){"use strict";function o(t){(this.isotope=t)&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var n=o.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){n[t]=function(){return i.prototype[t].apply(this.isotope,arguments)}}),n.needsVerticalResizeLayout=function(){var t=e(this.isotope.element);return this.isotope.size&&t&&t.innerHeight!=this.isotope.size.innerHeight},n._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},n.getColumnWidth=function(){this.getSegmentSize("column","Width")},n.getRowHeight=function(){this.getSegmentSize("row","Height")},n.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},n.getFirstItemSize=function(){var t=this.isotope.filteredItems[0];return t&&t.element&&e(t.element)},n.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},n.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},o.modes={},o.create=function(t,e){function i(){o.apply(this,arguments)}return(i.prototype=Object.create(n)).constructor=i,e&&(i.options=e),o.modes[i.prototype.namespace=t]=i},o}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,h){var e=t.create("masonry");e.compatOptions.fitWidth="isFitWidth";var i=e.prototype;return i._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},i.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],e=t&&t.element;this.columnWidth=e&&h(e).outerWidth||this.containerWidth}var i=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,n=o/i,s=i-o%i;n=Math[s&&s<1?"round":"floor"](n),this.cols=Math.max(n,1)},i.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,e=h(t);this.containerWidth=e&&e.innerWidth},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var o=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),n={x:this.columnWidth*o.col,y:o.y},s=o.y+t.size.outerHeight,r=i+o.col,a=o.col;a<r;a++)this.colYs[a]=s;return n},i._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},i._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},i._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},i._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=1<t&&i+t>this.cols?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},i._manageStamp=function(t){var e=h(t),i=this._getElementOffset(t),o=this._getOption("originLeft")?i.left:i.right,n=o+e.outerWidth,s=Math.floor(o/this.columnWidth);s=Math.max(0,s);var r=Math.floor(n/this.columnWidth);r-=n%this.columnWidth?0:1,r=Math.min(this.cols-1,r);for(var a=(this._getOption("originTop")?i.top:i.bottom)+e.outerHeight,u=s;u<=r;u++)this.colYs[u]=Math.max(a,this.colYs[u])},i._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},i._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},i.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),o=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)n[s]||(o[s]=e.prototype[s]);var r=o.measureColumns;o.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=o._getOption;return o._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(r,a){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(t,e,i,o,n,s){return a(r,t,e,i,o,n,s)}):"object"==typeof module&&module.exports?module.exports=a(r,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):r.Isotope=a(r,r.Outlayer,r.getSize,r.matchesSelector,r.fizzyUIUtils,r.Isotope.Item,r.Isotope.LayoutMode)}(window,function(t,i,e,o,s,n,r){var a=t.jQuery,u=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},h=i.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});h.Item=n,h.LayoutMode=r;var l=h.prototype;l._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),i.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,i.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=i.prototype._itemize.apply(this,arguments),e=0;e<t.length;e++){t[e].id=this.itemGUID++}return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?s.extend(e.options,i):i,this.modes[t]=new e(this)},l.layout=function(){this._isLayoutInited||!this._getOption("initLayout")?this._layout():this.arrange()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e},l._bindArrangeComplete=function(){var t,e,i,o=this;function n(){t&&e&&i&&o.dispatchEvent("arrangeComplete",null,[o.filteredItems])}this.once("layoutComplete",function(){t=!0,n()}),this.once("hideComplete",function(){e=!0,n()}),this.once("revealComplete",function(){i=!0,n()})},l._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],o=[],n=[],s=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var u=s(a);u&&i.push(a),u&&a.isHidden?o.push(a):u||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},l._getFilterTest=function(e){return a&&this.options.isJQueryFiltering?function(t){return a(t.element).is(e)}:"function"==typeof e?function(t){return e(t.element)}:function(t){return o(t.element,e)}},l.updateSortData=function(t){var e;e=t?(t=s.makeArray(t),this.getItems(t)):this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=d(i)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var d=function(t){if("string"!=typeof t)return t;var e=u(t).split(" "),i=e[0],o=i.match(/^\[(.+)\]$/),n=function(e,i){return e?function(t){return t.getAttribute(e)}:function(t){var e=t.querySelector(i);return e&&e.textContent}}(o&&o[1],i),s=h.sortDataParsers[e[1]];return t=s?function(t){return t&&s(n(t))}:function(t){return t&&n(t)}};h.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){if(this.options.sortBy){var t=s.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=function(r,a){return function(t,e){for(var i=0;i<r.length;i++){var o=r[i],n=t.sortData[o],s=e.sortData[o];if(s<n||n<s)return(s<n?1:-1)*((void 0!==a[o]?a[o]:a)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},l._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},l._resetLayout=function(){i.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i<n;i++)o=e[i],this.element.appendChild(o.element);var s=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var f=l.remove;return l.remove=function(t){t=s.makeArray(t);var e=this.getItems(t);f.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var n=e[o];s.removeFrom(this.filteredItems,n)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},l._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.apply(this,e);return this.options.transitionDuration=i,o},l.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},h});
8
  !function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)}(function(d){function e(){}function u(e,t){g.ev.on(n+e+w,t)}function p(e,t,n,i){var o=document.createElement("div");return o.className="mfp-"+e,n&&(o.innerHTML=n),i?t&&t.appendChild(o):(o=d(o),t&&o.appendTo(t)),o}function f(e,t){g.ev.triggerHandler(n+e,t),g.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),g.st.callbacks[e]&&g.st.callbacks[e].apply(g,d.isArray(t)?t:[t]))}function m(e){return e===t&&g.currTemplate.closeBtn||(g.currTemplate.closeBtn=d(g.st.closeMarkup.replace("%title%",g.st.tClose)),t=e),g.currTemplate.closeBtn}function r(){d.magnificPopup.instance||((g=new e).init(),d.magnificPopup.instance=g)}var g,i,h,o,v,t,l="Close",c="BeforeClose",y="MarkupParse",C="Open",a="Change",n="mfp",w="."+n,b="mfp-ready",s="mfp-removing",I="mfp-prevent-close",x=!!window.jQuery,k=d(window);e.prototype={constructor:e,init:function(){var e=navigator.appVersion;g.isLowIE=g.isIE8=document.all&&!document.addEventListener,g.isAndroid=/android/gi.test(e),g.isIOS=/iphone|ipad|ipod/gi.test(e),g.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),g.probablyMobile=g.isAndroid||g.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),h=d(document),g.popupsCache={}},open:function(e){var t;if(!1===e.isObj){g.items=e.items.toArray(),g.index=0;var n,i=e.items;for(t=0;t<i.length;t++)if((n=i[t]).parsed&&(n=n.el[0]),n===e.el[0]){g.index=t;break}}else g.items=d.isArray(e.items)?e.items:[e.items],g.index=e.index||0;if(!g.isOpen){g.types=[],v="",e.mainEl&&e.mainEl.length?g.ev=e.mainEl.eq(0):g.ev=h,e.key?(g.popupsCache[e.key]||(g.popupsCache[e.key]={}),g.currTemplate=g.popupsCache[e.key]):g.currTemplate={},g.st=d.extend(!0,{},d.magnificPopup.defaults,e),g.fixedContentPos="auto"===g.st.fixedContentPos?!g.probablyMobile:g.st.fixedContentPos,g.st.modal&&(g.st.closeOnContentClick=!1,g.st.closeOnBgClick=!1,g.st.showCloseBtn=!1,g.st.enableEscapeKey=!1),g.bgOverlay||(g.bgOverlay=p("bg").on("click"+w,function(){g.close()}),g.wrap=p("wrap").attr("tabindex",-1).on("click"+w,function(e){g._checkIfClose(e.target)&&g.close()}),g.container=p("container",g.wrap)),g.contentContainer=p("content"),g.st.preloader&&(g.preloader=p("preloader",g.container,g.st.tLoading));var o=d.magnificPopup.modules;for(t=0;t<o.length;t++){var r=o[t];r=r.charAt(0).toUpperCase()+r.slice(1),g["init"+r].call(g)}f("BeforeOpen"),g.st.showCloseBtn&&(g.st.closeBtnInside?(u(y,function(e,t,n,i){n.close_replaceWith=m(i.type)}),v+=" mfp-close-btn-in"):g.wrap.append(m())),g.st.alignTop&&(v+=" mfp-align-top"),g.fixedContentPos?g.wrap.css({overflow:g.st.overflowY,overflowX:"hidden",overflowY:g.st.overflowY}):g.wrap.css({top:k.scrollTop(),position:"absolute"}),!1!==g.st.fixedBgPos&&("auto"!==g.st.fixedBgPos||g.fixedContentPos)||g.bgOverlay.css({height:h.height(),position:"absolute"}),g.st.enableEscapeKey&&h.on("keyup"+w,function(e){27===e.keyCode&&g.close()}),k.on("resize"+w,function(){g.updateSize()}),g.st.closeOnContentClick||(v+=" mfp-auto-cursor"),v&&g.wrap.addClass(v);var a=g.wH=k.height(),s={};if(g.fixedContentPos&&g._hasScrollBar(a)){var l=g._getScrollbarSize();l&&(s.marginRight=l)}g.fixedContentPos&&(g.isIE7?d("body, html").css("overflow","hidden"):s.overflow="hidden");var c=g.st.mainClass;return g.isIE7&&(c+=" mfp-ie7"),c&&g._addClassToMFP(c),g.updateItemHTML(),f("BuildControls"),d("html").css(s),g.bgOverlay.add(g.wrap).prependTo(g.st.prependTo||d(document.body)),g._lastFocusedEl=document.activeElement,setTimeout(function(){g.content?(g._addClassToMFP(b),g._setFocus()):g.bgOverlay.addClass(b),h.on("focusin"+w,g._onFocusIn)},16),g.isOpen=!0,g.updateSize(a),f(C),e}g.updateItemHTML()},close:function(){g.isOpen&&(f(c),g.isOpen=!1,g.st.removalDelay&&!g.isLowIE&&g.supportsTransition?(g._addClassToMFP(s),setTimeout(function(){g._close()},g.st.removalDelay)):g._close())},_close:function(){f(l);var e=s+" "+b+" ";if(g.bgOverlay.detach(),g.wrap.detach(),g.container.empty(),g.st.mainClass&&(e+=g.st.mainClass+" "),g._removeClassFromMFP(e),g.fixedContentPos){var t={marginRight:""};g.isIE7?d("body, html").css("overflow",""):t.overflow="",d("html").css(t)}h.off("keyup.mfp focusin"+w),g.ev.off(w),g.wrap.attr("class","mfp-wrap").removeAttr("style"),g.bgOverlay.attr("class","mfp-bg"),g.container.attr("class","mfp-container"),!g.st.showCloseBtn||g.st.closeBtnInside&&!0!==g.currTemplate[g.currItem.type]||g.currTemplate.closeBtn&&g.currTemplate.closeBtn.detach(),g.st.autoFocusLast&&g._lastFocusedEl&&d(g._lastFocusedEl).focus(),g.currItem=null,g.content=null,g.currTemplate=null,g.prevHeight=0,f("AfterClose")},updateSize:function(e){if(g.isIOS){var t=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*t;g.wrap.css("height",n),g.wH=n}else g.wH=e||k.height();g.fixedContentPos||g.wrap.css("height",g.wH),f("Resize")},updateItemHTML:function(){var e=g.items[g.index];g.contentContainer.detach(),g.content&&g.content.detach(),e.parsed||(e=g.parseEl(g.index));var t=e.type;if(f("BeforeChange",[g.currItem?g.currItem.type:"",t]),g.currItem=e,!g.currTemplate[t]){var n=!!g.st[t]&&g.st[t].markup;f("FirstMarkupParse",n),g.currTemplate[t]=!n||d(n)}o&&o!==e.type&&g.container.removeClass("mfp-"+o+"-holder");var i=g["get"+t.charAt(0).toUpperCase()+t.slice(1)](e,g.currTemplate[t]);g.appendContent(i,t),e.preloaded=!0,f(a,e),o=e.type,g.container.prepend(g.contentContainer),f("AfterChange")},appendContent:function(e,t){(g.content=e)?g.st.showCloseBtn&&g.st.closeBtnInside&&!0===g.currTemplate[t]?g.content.find(".mfp-close").length||g.content.append(m()):g.content=e:g.content="",f("BeforeAppend"),g.container.addClass("mfp-"+t+"-holder"),g.contentContainer.append(g.content)},parseEl:function(e){var t,n=g.items[e];if((n=n.tagName?{el:d(n)}:(t=n.type,{data:n,src:n.src})).el){for(var i=g.types,o=0;o<i.length;o++)if(n.el.hasClass("mfp-"+i[o])){t=i[o];break}n.src=n.el.attr("data-mfp-src"),n.src||(n.src=n.el.attr("href"))}return n.type=t||g.st.type||"inline",n.index=e,n.parsed=!0,g.items[e]=n,f("ElementParse",n),g.items[e]},addGroup:function(t,n){function e(e){e.mfpEl=this,g._openClick(e,t,n)}var i="click.magnificPopup";(n=n||{}).mainEl=t,n.items?(n.isObj=!0,t.off(i).on(i,e)):(n.isObj=!1,n.delegate?t.off(i).on(i,n.delegate,e):(n.items=t).off(i).on(i,e))},_openClick:function(e,t,n){if((void 0!==n.midClick?n.midClick:d.magnificPopup.defaults.midClick)||!(2===e.which||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey)){var i=void 0!==n.disableOn?n.disableOn:d.magnificPopup.defaults.disableOn;if(i)if(d.isFunction(i)){if(!i.call(g))return!0}else if(k.width()<i)return!0;e.type&&(e.preventDefault(),g.isOpen&&e.stopPropagation()),n.el=d(e.mfpEl),n.delegate&&(n.items=t.find(n.delegate)),g.open(n)}},updateStatus:function(e,t){if(g.preloader){i!==e&&g.container.removeClass("mfp-s-"+i),t||"loading"!==e||(t=g.st.tLoading);var n={status:e,text:t};f("UpdateStatus",n),e=n.status,t=n.text,g.preloader.html(t),g.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),g.container.addClass("mfp-s-"+e),i=e}},_checkIfClose:function(e){if(!d(e).hasClass(I)){var t=g.st.closeOnContentClick,n=g.st.closeOnBgClick;if(t&&n)return!0;if(!g.content||d(e).hasClass("mfp-close")||g.preloader&&e===g.preloader[0])return!0;if(e===g.content[0]||d.contains(g.content[0],e)){if(t)return!0}else if(n&&d.contains(document,e))return!0;return!1}},_addClassToMFP:function(e){g.bgOverlay.addClass(e),g.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),g.wrap.removeClass(e)},_hasScrollBar:function(e){return(g.isIE7?h.height():document.body.scrollHeight)>(e||k.height())},_setFocus:function(){(g.st.focus?g.content.find(g.st.focus).eq(0):g.wrap).focus()},_onFocusIn:function(e){if(e.target!==g.wrap[0]&&!d.contains(g.wrap[0],e.target))return g._setFocus(),!1},_parseMarkup:function(o,e,t){var r;t.data&&(e=d.extend(t.data,e)),f(y,[o,e,t]),d.each(e,function(e,t){if(void 0===t||!1===t)return!0;if(1<(r=e.split("_")).length){var n=o.find(w+"-"+r[0]);if(0<n.length){var i=r[1];"replaceWith"===i?n[0]!==t[0]&&n.replaceWith(t):"img"===i?n.is("img")?n.attr("src",t):n.replaceWith(d("<img>").attr("src",t).attr("class",n.attr("class"))):n.attr(r[1],t)}}else o.find(w+"-"+e).html(t)})},_getScrollbarSize:function(){if(void 0===g.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),g.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return g.scrollbarSize}},d.magnificPopup={instance:null,proto:e.prototype,modules:[],open:function(e,t){return r(),(e=e?d.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return d.magnificPopup.instance&&d.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(d.magnificPopup.defaults[e]=t.options),d.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},d.fn.magnificPopup=function(e){r();var t=d(this);if("string"==typeof e)if("open"===e){var n,i=x?t.data("magnificPopup"):t[0].magnificPopup,o=parseInt(arguments[1],10)||0;n=i.items?i.items[o]:(n=t,i.delegate&&(n=n.find(i.delegate)),n.eq(o)),g._openClick({mfpEl:n},t,i)}else g.isOpen&&g[e].apply(g,Array.prototype.slice.call(arguments,1));else e=d.extend(!0,{},e),x?t.data("magnificPopup",e):t[0].magnificPopup=e,g.addGroup(t,e);return t};function T(){S&&(P.after(S.addClass(_)).detach(),S=null)}var _,P,S,E="inline";d.magnificPopup.registerModule(E,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){g.types.push(E),u(l+"."+E,function(){T()})},getInline:function(e,t){if(T(),e.src){var n=g.st.inline,i=d(e.src);if(i.length){var o=i[0].parentNode;o&&o.tagName&&(P||(_=n.hiddenClass,P=p(_),_="mfp-"+_),S=i.after(P).detach().removeClass(_)),g.updateStatus("ready")}else g.updateStatus("error",n.tNotFound),i=d("<div>");return e.inlineElement=i}return g.updateStatus("ready"),g._parseMarkup(t,{},e),t}}});function z(){M&&d(document.body).removeClass(M)}function O(){z(),g.req&&g.req.abort()}var M,B="ajax";d.magnificPopup.registerModule(B,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){g.types.push(B),M=g.st.ajax.cursor,u(l+"."+B,O),u("BeforeChange."+B,O)},getAjax:function(o){M&&d(document.body).addClass(M),g.updateStatus("loading");var e=d.extend({url:o.src,success:function(e,t,n){var i={data:e,xhr:n};f("ParseAjax",i),g.appendContent(d(i.data),B),o.finished=!0,z(),g._setFocus(),setTimeout(function(){g.wrap.addClass(b)},16),g.updateStatus("ready"),f("AjaxContentAdded")},error:function(){z(),o.finished=o.loadError=!0,g.updateStatus("error",g.st.ajax.tError.replace("%url%",o.src))}},g.st.ajax.settings);return g.req=d.ajax(e),""}}});var L;d.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=g.st.image,t=".image";g.types.push("image"),u(C+t,function(){"image"===g.currItem.type&&e.cursor&&d(document.body).addClass(e.cursor)}),u(l+t,function(){e.cursor&&d(document.body).removeClass(e.cursor),k.off("resize"+w)}),u("Resize"+t,g.resizeImage),g.isLowIE&&u("AfterChange",g.resizeImage)},resizeImage:function(){var e=g.currItem;if(e&&e.img&&g.st.image.verticalFit){var t=0;g.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",g.wH-t)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,L&&clearInterval(L),e.isCheckingImgSize=!1,f("ImageHasSize",e),e.imgHidden&&(g.content&&g.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(t){var n=0,i=t.img[0],o=function(e){L&&clearInterval(L),L=setInterval(function(){0<i.naturalWidth?g._onImageHasSize(t):(200<n&&clearInterval(L),3===++n?o(10):40===n?o(50):100===n&&o(500))},e)};o(1)},getImage:function(e,t){var n=0,i=function(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===g.currItem&&(g._onImageHasSize(e),g.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,f("ImageLoadComplete")):++n<200?setTimeout(i,100):o())},o=function(){e&&(e.img.off(".mfploader"),e===g.currItem&&(g._onImageHasSize(e),g.updateStatus("error",r.tError.replace("%url%",e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)},r=g.st.image,a=t.find(".mfp-img");if(a.length){var s=document.createElement("img");s.className="mfp-img",e.el&&e.el.find("img").length&&(s.alt=e.el.find("img").attr("alt")),e.img=d(s).on("load.mfploader",i).on("error.mfploader",o),s.src=e.src,a.is("img")&&(e.img=e.img.clone()),0<(s=e.img[0]).naturalWidth?e.hasSize=!0:s.width||(e.hasSize=!1)}return g._parseMarkup(t,{title:function(e){if(e.data&&void 0!==e.data.title)return e.data.title;var t=g.st.image.titleSrc;if(t){if(d.isFunction(t))return t.call(g,e);if(e.el)return e.el.attr(t)||""}return""}(e),img_replaceWith:e.img},e),g.resizeImage(),e.hasSize?(L&&clearInterval(L),e.loadError?(t.addClass("mfp-loading"),g.updateStatus("error",r.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),g.updateStatus("ready"))):(g.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),g.findImageSize(e))),t}}});var H;d.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,r=g.st.zoom,t=".zoom";if(r.enabled&&g.supportsTransition){function n(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+r.duration/1e3+"s "+r.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return i["-webkit-"+o]=i["-moz-"+o]=i["-o-"+o]=i[o]=n,t.css(i),t}function i(){g.content.css("visibility","visible")}var o,a,s=r.duration;u("BuildControls"+t,function(){if(g._allowZoom()){if(clearTimeout(o),g.content.css("visibility","hidden"),!(e=g._getItemToZoom()))return void i();(a=n(e)).css(g._getOffset()),g.wrap.append(a),o=setTimeout(function(){a.css(g._getOffset(!0)),o=setTimeout(function(){i(),setTimeout(function(){a.remove(),e=a=null,f("ZoomAnimationEnded")},16)},s)},16)}}),u(c+t,function(){if(g._allowZoom()){if(clearTimeout(o),g.st.removalDelay=s,!e){if(!(e=g._getItemToZoom()))return;a=n(e)}a.css(g._getOffset(!0)),g.wrap.append(a),g.content.css("visibility","hidden"),setTimeout(function(){a.css(g._getOffset())},16)}}),u(l+t,function(){g._allowZoom()&&(i(),a&&a.remove(),e=null)})}},_allowZoom:function(){return"image"===g.currItem.type},_getItemToZoom:function(){return!!g.currItem.hasSize&&g.currItem.img},_getOffset:function(e){var t,n=(t=e?g.currItem.img:g.st.zoom.opener(g.currItem.el||g.currItem)).offset(),i=parseInt(t.css("padding-top"),10),o=parseInt(t.css("padding-bottom"),10);n.top-=d(window).scrollTop()-i;var r={width:t.width(),height:(x?t.innerHeight():t[0].offsetHeight)-o-i};return void 0===H&&(H=void 0!==document.createElement("p").style.MozTransform),H?r["-moz-transform"]=r.transform="translate("+n.left+"px,"+n.top+"px)":(r.left=n.left,r.top=n.top),r}}});function A(e){if(g.currTemplate[F]){var t=g.currTemplate[F].find("iframe");t.length&&(e||(t[0].src="//about:blank"),g.isIE8&&t.css("display",e?"block":"none"))}}var F="iframe";d.magnificPopup.registerModule(F,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){g.types.push(F),u("BeforeChange",function(e,t,n){t!==n&&(t===F?A():n===F&&A(!0))}),u(l+"."+F,function(){A()})},getIframe:function(e,t){var n=e.src,i=g.st.iframe;d.each(i.patterns,function(){if(-1<n.indexOf(this.index))return this.id&&(n="string"==typeof this.id?n.substr(n.lastIndexOf(this.id)+this.id.length,n.length):this.id.call(this,n)),n=this.src.replace("%id%",n),!1});var o={};return i.srcAction&&(o[i.srcAction]=n),g._parseMarkup(t,o,e),g.updateStatus("ready"),t}}});function j(e){var t=g.items.length;return t-1<e?e-t:e<0?t+e:e}function N(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)}d.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var r=g.st.gallery,e=".mfp-gallery";if(g.direction=!0,!r||!r.enabled)return!1;v+=" mfp-gallery",u(C+e,function(){r.navigateByImgClick&&g.wrap.on("click"+e,".mfp-img",function(){if(1<g.items.length)return g.next(),!1}),h.on("keydown"+e,function(e){37===e.keyCode?g.prev():39===e.keyCode&&g.next()})}),u("UpdateStatus"+e,function(e,t){t.text&&(t.text=N(t.text,g.currItem.index,g.items.length))}),u(y+e,function(e,t,n,i){var o=g.items.length;n.counter=1<o?N(r.tCounter,i.index,o):""}),u("BuildControls"+e,function(){if(1<g.items.length&&r.arrows&&!g.arrowLeft){var e=r.arrowMarkup,t=g.arrowLeft=d(e.replace(/%title%/gi,r.tPrev).replace(/%dir%/gi,"left")).addClass(I),n=g.arrowRight=d(e.replace(/%title%/gi,r.tNext).replace(/%dir%/gi,"right")).addClass(I);t.click(function(){g.prev()}),n.click(function(){g.next()}),g.container.append(t.add(n))}}),u(a+e,function(){g._preloadTimeout&&clearTimeout(g._preloadTimeout),g._preloadTimeout=setTimeout(function(){g.preloadNearbyImages(),g._preloadTimeout=null},16)}),u(l+e,function(){h.off(e),g.wrap.off("click"+e),g.arrowRight=g.arrowLeft=null})},next:function(){g.direction=!0,g.index=j(g.index+1),g.updateItemHTML()},prev:function(){g.direction=!1,g.index=j(g.index-1),g.updateItemHTML()},goTo:function(e){g.direction=e>=g.index,g.index=e,g.updateItemHTML()},preloadNearbyImages:function(){var e,t=g.st.gallery.preload,n=Math.min(t[0],g.items.length),i=Math.min(t[1],g.items.length);for(e=1;e<=(g.direction?i:n);e++)g._preloadItem(g.index+e);for(e=1;e<=(g.direction?n:i);e++)g._preloadItem(g.index-e)},_preloadItem:function(e){if(e=j(e),!g.items[e].preloaded){var t=g.items[e];t.parsed||(t=g.parseEl(e)),f("LazyLoad",t),"image"===t.type&&(t.img=d('<img class="mfp-img" />').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,f("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0}}}});var W="retina";d.magnificPopup.registerModule(W,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(1<window.devicePixelRatio){var n=g.st.retina,i=n.ratio;1<(i=isNaN(i)?i():i)&&(u("ImageHasSize."+W,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/i,width:"100%"})}),u("ElementParse."+W,function(e,t){t.src=n.replaceSrc(t,i)}))}}}}),r()});
9
  !function(s){s.fn.eaelProgressBar=function(){var a=s(this),i=a.data("layout"),e=a.data("count"),r=a.data("duration");a.one("inview",function(){"line"==i?s(".eael-progressbar-line-fill",a).css({width:e+"%"}):"half_circle"==i&&s(".eael-progressbar-circle-half",a).css({transform:"rotate("+1.8*e+"deg)"}),s(".eael-progressbar-count",a).prop({counter:0}).animate({counter:e},{duration:r,easing:"linear",step:function(e){if("circle"==i){var r=3.6*e;s(".eael-progressbar-circle-half-left",a).css({transform:"rotate("+r+"deg)"}),180<r&&(s(".eael-progressbar-circle-pie",a).css({"clip-path":"inset(0)"}),s(".eael-progressbar-circle-half-right",a).css({visibility:"visible"}))}s(this).text(Math.ceil(e))}})})}}(jQuery);
10
  !function(t,i){"function"==typeof define&&define.amd?define(["jquery"],function(t){return i(t)}):"object"==typeof exports?module.exports=i(require("jquery")):i(jQuery)}(0,function(E){function t(){this.__$emitterPrivate=E({}),this.__$emitterPublic=E({}),this.__instancesLatestArr=[],this.__plugins={},this._env=I}var c={animation:"fade",animationDuration:350,content:null,contentAsHTML:!1,contentCloning:!1,debug:!0,delay:300,delayTouch:[300,500],functionInit:null,functionBefore:null,functionReady:null,functionAfter:null,functionFormat:null,IEmin:6,interactive:!1,multiple:!1,parent:null,plugins:["sideTip"],repositionOnScroll:!1,restoration:"none",selfDestruction:!0,theme:[],timer:0,trackerInterval:500,trackOrigin:!1,trackTooltip:!1,trigger:"hover",triggerClose:{click:!1,mouseleave:!1,originClick:!1,scroll:!1,tap:!1,touchleave:!1},triggerOpen:{click:!1,mouseenter:!1,tap:!1,touchstart:!1},updateAnimation:"rotate",zIndex:9999999},n="undefined"!=typeof window?window:null,I={hasTouchCapability:!(!n||!("ontouchstart"in n||n.DocumentTouch&&n.document instanceof n.DocumentTouch||n.navigator.maxTouchPoints)),hasTransitions:function(){if(!n)return!1;var t=(n.document.body||n.document.documentElement).style,i="transition",o=["Moz","Webkit","Khtml","O","ms"];if("string"==typeof t[i])return!0;i=i.charAt(0).toUpperCase()+i.substr(1);for(var e=0;e<o.length;e++)if("string"==typeof t[o[e]+i])return!0;return!1}(),IE:!1,semVer:"4.2.6",window:n};function i(t){this.$container,this.constraints=null,this.__$tooltip,this.__init(t)}function s(o,e){var n=!0;return E.each(o,function(t,i){if(void 0===e[t]||o[t]!==e[t])return n=!1}),n}function p(t){var i=t.attr("id"),o=i?I.window.document.getElementById(i):null;return o?o===t[0]:E.contains(I.window.document.body,t[0])}t.prototype={__bridge:function(t,o,e){if(!o[e]){function i(){}i.prototype=t;var n=new i;n.__init&&n.__init(o),E.each(t,function(t,i){0!=t.indexOf("__")&&(o[t]?c.debug&&console.log("The "+t+" method of the "+e+" plugin conflicts with another plugin or native methods"):(o[t]=function(){return n[t].apply(n,Array.prototype.slice.apply(arguments))},o[t].bridged=n))}),o[e]=n}return this},__setWindow:function(t){return I.window=t,this},_getRuler:function(t){return new i(t)},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_plugin:function(t){var i=this;if("string"==typeof t){var o=t,e=null;return 0<o.indexOf(".")?e=i.__plugins[o]:E.each(i.__plugins,function(t,i){if(i.name.substring(i.name.length-o.length-1)=="."+o)return e=i,!1}),e}if(t.name.indexOf(".")<0)throw new Error("Plugins must be namespaced");return(i.__plugins[t.name]=t).core&&i.__bridge(t.core,i,t.name),this},_trigger:function(){var t=Array.prototype.slice.apply(arguments);return"string"==typeof t[0]&&(t[0]={type:t[0]}),this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,t),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,t),this},instances:function(t){var e=[];return E(t||".tooltipstered").each(function(){var o=E(this),t=o.data("tooltipster-ns");t&&E.each(t,function(t,i){e.push(o.data(i))})}),e},instancesLatest:function(){return this.__instancesLatestArr},off:function(){return this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},origins:function(t){return E((t?t+" ":"")+".tooltipstered").toArray()},setDefaults:function(t){return E.extend(c,t),this},triggerHandler:function(){return this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},E.tooltipster=new t,E.Tooltipster=function(t,i){this.__callbacks={close:[],open:[]},this.__closingTime,this.__Content,this.__contentBcr,this.__destroyed=!1,this.__$emitterPrivate=E({}),this.__$emitterPublic=E({}),this.__enabled=!0,this.__garbageCollector,this.__Geometry,this.__lastPosition,this.__namespace="tooltipster-"+Math.round(1e6*Math.random()),this.__options,this.__$originParents,this.__pointerIsOverOrigin=!1,this.__previousThemes=[],this.__state="closed",this.__timeouts={close:[],open:null},this.__touchEvents=[],this.__tracker=null,this._$origin,this._$tooltip,this.__init(t,i)},E.Tooltipster.prototype={__init:function(t,i){var o=this;if(o._$origin=E(t),o.__options=E.extend(!0,{},c,i),o.__optionsFormat(),!I.IE||I.IE>=o.__options.IEmin){var e=null;if(void 0===o._$origin.data("tooltipster-initialTitle")&&(void 0===(e=o._$origin.attr("title"))&&(e=null),o._$origin.data("tooltipster-initialTitle",e)),null!==o.__options.content)o.__contentSet(o.__options.content);else{var n,s=o._$origin.attr("data-tooltip-content");s&&(n=E(s)),n&&n[0]?o.__contentSet(n.first()):o.__contentSet(e)}o._$origin.removeAttr("title").addClass("tooltipstered"),o.__prepareOrigin(),o.__prepareGC(),E.each(o.__options.plugins,function(t,i){o._plug(i)}),I.hasTouchCapability&&E(I.window.document.body).on("touchmove."+o.__namespace+"-triggerOpen",function(t){o._touchRecordEvent(t)}),o._on("created",function(){o.__prepareTooltip()})._on("repositioned",function(t){o.__lastPosition=t.position})}else o.__options.disabled=!0},__contentInsert:function(){var t=this,i=t._$tooltip.find(".tooltipster-content"),o=t.__Content;return t._trigger({type:"format",content:t.__Content,format:function(t){o=t}}),t.__options.functionFormat&&(o=t.__options.functionFormat.call(t,t,{origin:t._$origin[0]},t.__Content)),"string"!=typeof o||t.__options.contentAsHTML?i.empty().append(o):i.text(o),t},__contentSet:function(t){return t instanceof E&&this.__options.contentCloning&&(t=t.clone(!0)),this.__Content=t,this._trigger({type:"updated",content:t}),this},__destroyError:function(){throw new Error("This tooltip has been destroyed and cannot execute your method call.")},__geometry:function(){var t=this,i=t._$origin,o=t._$origin.is("area");if(o){var e=t._$origin.parent().attr("name");i=E('img[usemap="#'+e+'"]')}var n=i[0].getBoundingClientRect(),s=E(I.window.document),r=E(I.window),_=i,a={available:{document:null,window:null},document:{size:{height:s.height(),width:s.width()}},window:{scroll:{left:I.window.scrollX||I.window.document.documentElement.scrollLeft,top:I.window.scrollY||I.window.document.documentElement.scrollTop},size:{height:r.height(),width:r.width()}},origin:{fixedLineage:!1,offset:{},size:{height:n.bottom-n.top,width:n.right-n.left},usemapImage:o?i[0]:null,windowOffset:{bottom:n.bottom,left:n.left,right:n.right,top:n.top}}};if(o){var l=t._$origin.attr("shape"),p=t._$origin.attr("coords");if(p&&(p=p.split(","),E.map(p,function(t,i){p[i]=parseInt(t)})),"default"!=l)switch(l){case"circle":var c=p[0],h=p[1],d=p[2],u=h-d,g=c-d;a.origin.size.height=2*d,a.origin.size.width=a.origin.size.height,a.origin.windowOffset.left+=g,a.origin.windowOffset.top+=u;break;case"rect":var f=p[0],m=p[1],w=p[2],v=p[3];a.origin.size.height=v-m,a.origin.size.width=w-f,a.origin.windowOffset.left+=f,a.origin.windowOffset.top+=m;break;case"poly":for(var y=0,b=0,$=0,C=0,O="even",T=0;T<p.length;T++){var z=p[T];O="even"==O?($<z&&($=z,0===T&&(y=$)),z<y&&(y=z),"odd"):(C<z&&(C=z,1==T&&(b=C)),z<b&&(b=z),"even")}a.origin.size.height=C-b,a.origin.size.width=$-y,a.origin.windowOffset.left+=y,a.origin.windowOffset.top+=b}}for(t._trigger({type:"geometry",edit:function(t){a.origin.size.height=t.height,a.origin.windowOffset.left=t.left,a.origin.windowOffset.top=t.top,a.origin.size.width=t.width},geometry:{height:a.origin.size.height,left:a.origin.windowOffset.left,top:a.origin.windowOffset.top,width:a.origin.size.width}}),a.origin.windowOffset.right=a.origin.windowOffset.left+a.origin.size.width,a.origin.windowOffset.bottom=a.origin.windowOffset.top+a.origin.size.height,a.origin.offset.left=a.origin.windowOffset.left+a.window.scroll.left,a.origin.offset.top=a.origin.windowOffset.top+a.window.scroll.top,a.origin.offset.bottom=a.origin.offset.top+a.origin.size.height,a.origin.offset.right=a.origin.offset.left+a.origin.size.width,a.available.document={bottom:{height:a.document.size.height-a.origin.offset.bottom,width:a.document.size.width},left:{height:a.document.size.height,width:a.origin.offset.left},right:{height:a.document.size.height,width:a.document.size.width-a.origin.offset.right},top:{height:a.origin.offset.top,width:a.document.size.width}},a.available.window={bottom:{height:Math.max(a.window.size.height-Math.max(a.origin.windowOffset.bottom,0),0),width:a.window.size.width},left:{height:a.window.size.height,width:Math.max(a.origin.windowOffset.left,0)},right:{height:a.window.size.height,width:Math.max(a.window.size.width-Math.max(a.origin.windowOffset.right,0),0)},top:{height:Math.max(a.origin.windowOffset.top,0),width:a.window.size.width}};"html"!=_[0].tagName.toLowerCase();){if("fixed"==_.css("position")){a.origin.fixedLineage=!0;break}_=_.parent()}return a},__optionsFormat:function(){return"number"==typeof this.__options.animationDuration&&(this.__options.animationDuration=[this.__options.animationDuration,this.__options.animationDuration]),"number"==typeof this.__options.delay&&(this.__options.delay=[this.__options.delay,this.__options.delay]),"number"==typeof this.__options.delayTouch&&(this.__options.delayTouch=[this.__options.delayTouch,this.__options.delayTouch]),"string"==typeof this.__options.theme&&(this.__options.theme=[this.__options.theme]),null===this.__options.parent?this.__options.parent=E(I.window.document.body):"string"==typeof this.__options.parent&&(this.__options.parent=E(this.__options.parent)),"hover"==this.__options.trigger?(this.__options.triggerOpen={mouseenter:!0,touchstart:!0},this.__options.triggerClose={mouseleave:!0,originClick:!0,touchleave:!0}):"click"==this.__options.trigger&&(this.__options.triggerOpen={click:!0,tap:!0},this.__options.triggerClose={click:!0,tap:!0}),this._trigger("options"),this},__prepareGC:function(){var t=this;return t.__options.selfDestruction?t.__garbageCollector=setInterval(function(){var o=(new Date).getTime();t.__touchEvents=E.grep(t.__touchEvents,function(t,i){return 6e4<o-t.time}),p(t._$origin)||t.close(function(){t.destroy()})},2e4):clearInterval(t.__garbageCollector),t},__prepareOrigin:function(){var i=this;if(i._$origin.off("."+i.__namespace+"-triggerOpen"),I.hasTouchCapability&&i._$origin.on("touchstart."+i.__namespace+"-triggerOpen touchend."+i.__namespace+"-triggerOpen touchcancel."+i.__namespace+"-triggerOpen",function(t){i._touchRecordEvent(t)}),i.__options.triggerOpen.click||i.__options.triggerOpen.tap&&I.hasTouchCapability){var t="";i.__options.triggerOpen.click&&(t+="click."+i.__namespace+"-triggerOpen "),i.__options.triggerOpen.tap&&I.hasTouchCapability&&(t+="touchend."+i.__namespace+"-triggerOpen"),i._$origin.on(t,function(t){i._touchIsMeaningfulEvent(t)&&i._open(t)})}if(i.__options.triggerOpen.mouseenter||i.__options.triggerOpen.touchstart&&I.hasTouchCapability){t="";i.__options.triggerOpen.mouseenter&&(t+="mouseenter."+i.__namespace+"-triggerOpen "),i.__options.triggerOpen.touchstart&&I.hasTouchCapability&&(t+="touchstart."+i.__namespace+"-triggerOpen"),i._$origin.on(t,function(t){!i._touchIsTouchEvent(t)&&i._touchIsEmulatedEvent(t)||(i.__pointerIsOverOrigin=!0,i._openShortly(t))})}if(i.__options.triggerClose.mouseleave||i.__options.triggerClose.touchleave&&I.hasTouchCapability){t="";i.__options.triggerClose.mouseleave&&(t+="mouseleave."+i.__namespace+"-triggerOpen "),i.__options.triggerClose.touchleave&&I.hasTouchCapability&&(t+="touchend."+i.__namespace+"-triggerOpen touchcancel."+i.__namespace+"-triggerOpen"),i._$origin.on(t,function(t){i._touchIsMeaningfulEvent(t)&&(i.__pointerIsOverOrigin=!1)})}return i},__prepareTooltip:function(){var o=this,t=o.__options.interactive?"auto":"";return o._$tooltip.attr("id",o.__namespace).css({"pointer-events":t,zIndex:o.__options.zIndex}),E.each(o.__previousThemes,function(t,i){o._$tooltip.removeClass(i)}),E.each(o.__options.theme,function(t,i){o._$tooltip.addClass(i)}),o.__previousThemes=E.merge([],o.__options.theme),o},__scrollHandler:function(t){var i=this;if(i.__options.triggerClose.scroll)i._close(t);else if(p(i._$origin)&&p(i._$tooltip)){var r=null;if(t.target===I.window.document)i.__Geometry.origin.fixedLineage||i.__options.repositionOnScroll&&i.reposition(t);else{r=i.__geometry();var _=!1;if("fixed"!=i._$origin.css("position")&&i.__$originParents.each(function(t,i){var o=E(i),e=o.css("overflow-x"),n=o.css("overflow-y");if("visible"!=e||"visible"!=n){var s=i.getBoundingClientRect();if("visible"!=e&&(r.origin.windowOffset.left<s.left||r.origin.windowOffset.right>s.right))return!(_=!0);if("visible"!=n&&(r.origin.windowOffset.top<s.top||r.origin.windowOffset.bottom>s.bottom))return!(_=!0)}if("fixed"==o.css("position"))return!1}),_)i._$tooltip.css("visibility","hidden");else if(i._$tooltip.css("visibility","visible"),i.__options.repositionOnScroll)i.reposition(t);else{var o=r.origin.offset.left-i.__Geometry.origin.offset.left,e=r.origin.offset.top-i.__Geometry.origin.offset.top;i._$tooltip.css({left:i.__lastPosition.coord.left+o,top:i.__lastPosition.coord.top+e})}}i._trigger({type:"scroll",event:t,geo:r})}return i},__stateSet:function(t){return this.__state=t,this._trigger({type:"state",state:t}),this},__timeoutsClear:function(){return clearTimeout(this.__timeouts.open),this.__timeouts.open=null,E.each(this.__timeouts.close,function(t,i){clearTimeout(i)}),this.__timeouts.close=[],this},__trackerStart:function(){var e=this,n=e._$tooltip.find(".tooltipster-content");return e.__options.trackTooltip&&(e.__contentBcr=n[0].getBoundingClientRect()),e.__tracker=setInterval(function(){if(p(e._$origin)&&p(e._$tooltip)){if(e.__options.trackOrigin){var t=e.__geometry(),i=!1;s(t.origin.size,e.__Geometry.origin.size)&&(e.__Geometry.origin.fixedLineage?s(t.origin.windowOffset,e.__Geometry.origin.windowOffset)&&(i=!0):s(t.origin.offset,e.__Geometry.origin.offset)&&(i=!0)),i||(e.__options.triggerClose.mouseleave?e._close():e.reposition())}if(e.__options.trackTooltip){var o=n[0].getBoundingClientRect();o.height===e.__contentBcr.height&&o.width===e.__contentBcr.width||(e.reposition(),e.__contentBcr=o)}}else e._close()},e.__options.trackerInterval),e},_close:function(o,t,i){var e=this,n=!0;if(e._trigger({type:"close",event:o,stop:function(){n=!1}}),n||i){t&&e.__callbacks.close.push(t),e.__callbacks.open=[],e.__timeoutsClear();function s(){E.each(e.__callbacks.close,function(t,i){i.call(e,e,{event:o,origin:e._$origin[0]})}),e.__callbacks.close=[]}if("closed"!=e.__state){var r=!0,_=(new Date).getTime()+e.__options.animationDuration[1];if("disappearing"==e.__state&&_>e.__closingTime&&0<e.__options.animationDuration[1]&&(r=!1),r){e.__closingTime=_,"disappearing"!=e.__state&&e.__stateSet("disappearing");function a(){clearInterval(e.__tracker),e._trigger({type:"closing",event:o}),e._$tooltip.off("."+e.__namespace+"-triggerClose").removeClass("tooltipster-dying"),E(I.window).off("."+e.__namespace+"-triggerClose"),e.__$originParents.each(function(t,i){E(i).off("scroll."+e.__namespace+"-triggerClose")}),e.__$originParents=null,E(I.window.document.body).off("."+e.__namespace+"-triggerClose"),e._$origin.off("."+e.__namespace+"-triggerClose"),e._off("dismissable"),e.__stateSet("closed"),e._trigger({type:"after",event:o}),e.__options.functionAfter&&e.__options.functionAfter.call(e,e,{event:o,origin:e._$origin[0]}),s()}I.hasTransitions?(e._$tooltip.css({"-moz-animation-duration":e.__options.animationDuration[1]+"ms","-ms-animation-duration":e.__options.animationDuration[1]+"ms","-o-animation-duration":e.__options.animationDuration[1]+"ms","-webkit-animation-duration":e.__options.animationDuration[1]+"ms","animation-duration":e.__options.animationDuration[1]+"ms","transition-duration":e.__options.animationDuration[1]+"ms"}),e._$tooltip.clearQueue().removeClass("tooltipster-show").addClass("tooltipster-dying"),0<e.__options.animationDuration[1]&&e._$tooltip.delay(e.__options.animationDuration[1]),e._$tooltip.queue(a)):e._$tooltip.stop().fadeOut(e.__options.animationDuration[1],a)}}else s()}return e},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_open:function(t,i){var o=this;if(!o.__destroying&&p(o._$origin)&&o.__enabled){var e=!0;if("closed"==o.__state&&(o._trigger({type:"before",event:t,stop:function(){e=!1}}),e&&o.__options.functionBefore&&(e=o.__options.functionBefore.call(o,o,{event:t,origin:o._$origin[0]}))),!1!==e&&null!==o.__Content){i&&o.__callbacks.open.push(i),o.__callbacks.close=[],o.__timeoutsClear();function n(){"stable"!=o.__state&&o.__stateSet("stable"),E.each(o.__callbacks.open,function(t,i){i.call(o,o,{origin:o._$origin[0],tooltip:o._$tooltip[0]})}),o.__callbacks.open=[]}var s;if("closed"!==o.__state)s=0,"disappearing"===o.__state?(o.__stateSet("appearing"),I.hasTransitions?(o._$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-show"),0<o.__options.animationDuration[0]&&o._$tooltip.delay(o.__options.animationDuration[0]),o._$tooltip.queue(n)):o._$tooltip.stop().fadeIn(n)):"stable"==o.__state&&n();else{if(o.__stateSet("appearing"),s=o.__options.animationDuration[0],o.__contentInsert(),o.reposition(t,!0),I.hasTransitions?(o._$tooltip.addClass("tooltipster-"+o.__options.animation).addClass("tooltipster-initial").css({"-moz-animation-duration":o.__options.animationDuration[0]+"ms","-ms-animation-duration":o.__options.animationDuration[0]+"ms","-o-animation-duration":o.__options.animationDuration[0]+"ms","-webkit-animation-duration":o.__options.animationDuration[0]+"ms","animation-duration":o.__options.animationDuration[0]+"ms","transition-duration":o.__options.animationDuration[0]+"ms"}),setTimeout(function(){"closed"!=o.__state&&(o._$tooltip.addClass("tooltipster-show").removeClass("tooltipster-initial"),0<o.__options.animationDuration[0]&&o._$tooltip.delay(o.__options.animationDuration[0]),o._$tooltip.queue(n))},0)):o._$tooltip.css("display","none").fadeIn(o.__options.animationDuration[0],n),o.__trackerStart(),E(I.window).on("resize."+o.__namespace+"-triggerClose",function(t){var i=E(document.activeElement);(i.is("input")||i.is("textarea"))&&E.contains(o._$tooltip[0],i[0])||o.reposition(t)}).on("scroll."+o.__namespace+"-triggerClose",function(t){o.__scrollHandler(t)}),o.__$originParents=o._$origin.parents(),o.__$originParents.each(function(t,i){E(i).on("scroll."+o.__namespace+"-triggerClose",function(t){o.__scrollHandler(t)})}),o.__options.triggerClose.mouseleave||o.__options.triggerClose.touchleave&&I.hasTouchCapability){o._on("dismissable",function(t){t.dismissable?t.delay?(l=setTimeout(function(){o._close(t.event)},t.delay),o.__timeouts.close.push(l)):o._close(t):clearTimeout(l)});var r=o._$origin,_="",a="",l=null;o.__options.interactive&&(r=r.add(o._$tooltip)),o.__options.triggerClose.mouseleave&&(_+="mouseenter."+o.__namespace+"-triggerClose ",a+="mouseleave."+o.__namespace+"-triggerClose "),o.__options.triggerClose.touchleave&&I.hasTouchCapability&&(_+="touchstart."+o.__namespace+"-triggerClose",a+="touchend."+o.__namespace+"-triggerClose touchcancel."+o.__namespace+"-triggerClose"),r.on(a,function(t){if(o._touchIsTouchEvent(t)||!o._touchIsEmulatedEvent(t)){var i="mouseleave"==t.type?o.__options.delay:o.__options.delayTouch;o._trigger({delay:i[1],dismissable:!0,event:t,type:"dismissable"})}}).on(_,function(t){!o._touchIsTouchEvent(t)&&o._touchIsEmulatedEvent(t)||o._trigger({dismissable:!1,event:t,type:"dismissable"})})}o.__options.triggerClose.originClick&&o._$origin.on("click."+o.__namespace+"-triggerClose",function(t){o._touchIsTouchEvent(t)||o._touchIsEmulatedEvent(t)||o._close(t)}),(o.__options.triggerClose.click||o.__options.triggerClose.tap&&I.hasTouchCapability)&&setTimeout(function(){if("closed"!=o.__state){var t="",i=E(I.window.document.body);o.__options.triggerClose.click&&(t+="click."+o.__namespace+"-triggerClose "),o.__options.triggerClose.tap&&I.hasTouchCapability&&(t+="touchend."+o.__namespace+"-triggerClose"),i.on(t,function(t){o._touchIsMeaningfulEvent(t)&&(o._touchRecordEvent(t),o.__options.interactive&&E.contains(o._$tooltip[0],t.target)||o._close(t))}),o.__options.triggerClose.tap&&I.hasTouchCapability&&i.on("touchstart."+o.__namespace+"-triggerClose",function(t){o._touchRecordEvent(t)})}},0),o._trigger("ready"),o.__options.functionReady&&o.__options.functionReady.call(o,o,{origin:o._$origin[0],tooltip:o._$tooltip[0]})}if(0<o.__options.timer){l=setTimeout(function(){o._close()},o.__options.timer+s);o.__timeouts.close.push(l)}}}return o},_openShortly:function(t){var i=this,o=!0;if("stable"!=i.__state&&"appearing"!=i.__state&&!i.__timeouts.open&&(i._trigger({type:"start",event:t,stop:function(){o=!1}}),o)){var e=0==t.type.indexOf("touch")?i.__options.delayTouch:i.__options.delay;e[0]?i.__timeouts.open=setTimeout(function(){i.__timeouts.open=null,i.__pointerIsOverOrigin&&i._touchIsMeaningfulEvent(t)?(i._trigger("startend"),i._open(t)):i._trigger("startcancel")},e[0]):(i._trigger("startend"),i._open(t))}return i},_optionsExtract:function(t,i){var e=this,o=E.extend(!0,{},i),n=e.__options[t];return n||(n={},E.each(i,function(t,i){var o=e.__options[t];void 0!==o&&(n[t]=o)})),E.each(o,function(t,i){void 0!==n[t]&&("object"!=typeof i||i instanceof Array||null==i||"object"!=typeof n[t]||n[t]instanceof Array||null==n[t]?o[t]=n[t]:E.extend(o[t],n[t]))}),o},_plug:function(t){var i=E.tooltipster._plugin(t);if(!i)throw new Error('The "'+t+'" plugin is not defined');return i.instance&&E.tooltipster.__bridge(i.instance,this,i.name),this},_touchIsEmulatedEvent:function(t){for(var i=!1,o=(new Date).getTime(),e=this.__touchEvents.length-1;0<=e;e--){var n=this.__touchEvents[e];if(!(o-n.time<500))break;n.target===t.target&&(i=!0)}return i},_touchIsMeaningfulEvent:function(t){return this._touchIsTouchEvent(t)&&!this._touchSwiped(t.target)||!this._touchIsTouchEvent(t)&&!this._touchIsEmulatedEvent(t)},_touchIsTouchEvent:function(t){return 0==t.type.indexOf("touch")},_touchRecordEvent:function(t){return this._touchIsTouchEvent(t)&&(t.time=(new Date).getTime(),this.__touchEvents.push(t)),this},_touchSwiped:function(t){for(var i=!1,o=this.__touchEvents.length-1;0<=o;o--){var e=this.__touchEvents[o];if("touchmove"==e.type){i=!0;break}if("touchstart"==e.type&&t===e.target)break}return i},_trigger:function(){var t=Array.prototype.slice.apply(arguments);return"string"==typeof t[0]&&(t[0]={type:t[0]}),t[0].instance=this,t[0].origin=this._$origin?this._$origin[0]:null,t[0].tooltip=this._$tooltip?this._$tooltip[0]:null,this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,t),E.tooltipster._trigger.apply(E.tooltipster,t),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,t),this},_unplug:function(o){var e=this;if(e[o]){var t=E.tooltipster._plugin(o);t.instance&&E.each(t.instance,function(t,i){e[t]&&e[t].bridged===e[o]&&delete e[t]}),e[o].__destroy&&e[o].__destroy(),delete e[o]}return e},close:function(t){return this.__destroyed?this.__destroyError():this._close(null,t),this},content:function(t){var i=this;if(void 0===t)return i.__Content;if(i.__destroyed)i.__destroyError();else if(i.__contentSet(t),null!==i.__Content){if("closed"!==i.__state&&(i.__contentInsert(),i.reposition(),i.__options.updateAnimation))if(I.hasTransitions){var o=i.__options.updateAnimation;i._$tooltip.addClass("tooltipster-update-"+o),setTimeout(function(){"closed"!=i.__state&&i._$tooltip.removeClass("tooltipster-update-"+o)},1e3)}else i._$tooltip.fadeTo(200,.5,function(){"closed"!=i.__state&&i._$tooltip.fadeTo(200,1)})}else i._close();return i},destroy:function(){var o=this;if(o.__destroyed)o.__destroyError();else{"closed"!=o.__state?o.option("animationDuration",0)._close(null,null,!0):o.__timeoutsClear(),o._trigger("destroy"),o.__destroyed=!0,o._$origin.removeData(o.__namespace).off("."+o.__namespace+"-triggerOpen"),E(I.window.document.body).off("."+o.__namespace+"-triggerOpen");var t=o._$origin.data("tooltipster-ns");if(t)if(1===t.length){var i=null;"previous"==o.__options.restoration?i=o._$origin.data("tooltipster-initialTitle"):"current"==o.__options.restoration&&(i="string"==typeof o.__Content?o.__Content:E("<div></div>").append(o.__Content).html()),i&&o._$origin.attr("title",i),o._$origin.removeClass("tooltipstered"),o._$origin.removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else t=E.grep(t,function(t,i){return t!==o.__namespace}),o._$origin.data("tooltipster-ns",t);o._trigger("destroyed"),o._off(),o.off(),o.__Content=null,o.__$emitterPrivate=null,o.__$emitterPublic=null,o.__options.parent=null,o._$origin=null,o._$tooltip=null,E.tooltipster.__instancesLatestArr=E.grep(E.tooltipster.__instancesLatestArr,function(t,i){return o!==t}),clearInterval(o.__garbageCollector)}return o},disable:function(){return this.__destroyed?this.__destroyError():(this._close(),this.__enabled=!1),this},elementOrigin:function(){if(!this.__destroyed)return this._$origin[0];this.__destroyError()},elementTooltip:function(){return this._$tooltip?this._$tooltip[0]:null},enable:function(){return this.__enabled=!0,this},hide:function(t){return this.close(t)},instance:function(){return this},off:function(){return this.__destroyed||this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},open:function(t){return this.__destroyed?this.__destroyError():this._open(null,t),this},option:function(t,i){return void 0===i?this.__options[t]:(this.__destroyed?this.__destroyError():(this.__options[t]=i,this.__optionsFormat(),0<=E.inArray(t,["trigger","triggerClose","triggerOpen"])&&this.__prepareOrigin(),"selfDestruction"===t&&this.__prepareGC()),this)},reposition:function(t,i){var o=this;return o.__destroyed?o.__destroyError():"closed"!=o.__state&&p(o._$origin)&&(i||p(o._$tooltip))&&(i||o._$tooltip.detach(),o.__Geometry=o.__geometry(),o._trigger({type:"reposition",event:t,helper:{geo:o.__Geometry}})),o},show:function(t){return this.open(t)},status:function(){return{destroyed:this.__destroyed,enabled:this.__enabled,open:"closed"!==this.__state,state:this.__state}},triggerHandler:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},E.fn.tooltipster=function(){var n=Array.prototype.slice.apply(arguments),e="You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE.";if(0===this.length)return this;if("string"==typeof n[0]){var s="#*$~&";return this.each(function(){var t=E(this).data("tooltipster-ns"),i=t?E(this).data(t[0]):null;if(!i)throw new Error("You called Tooltipster's \""+n[0]+'" method on an uninitialized element');if("function"!=typeof i[n[0]])throw new Error('Unknown method "'+n[0]+'"');1<this.length&&"content"==n[0]&&(n[1]instanceof E||"object"==typeof n[1]&&null!=n[1]&&n[1].tagName)&&!i.__options.contentCloning&&i.__options.debug&&console.log(e);var o=i[n[0]](n[1],n[2]);if(o!==i||"instance"===n[0])return s=o,!1}),"#*$~&"!==s?s:this}E.tooltipster.__instancesLatestArr=[];var t=n[0]&&void 0!==n[0].multiple,r=t&&n[0].multiple||!t&&c.multiple,i=n[0]&&void 0!==n[0].content,o=i&&n[0].content||!i&&c.content,_=n[0]&&void 0!==n[0].contentCloning,a=_&&n[0].contentCloning||!_&&c.contentCloning,l=n[0]&&void 0!==n[0].debug,p=l&&n[0].debug||!l&&c.debug;return 1<this.length&&(o instanceof E||"object"==typeof o&&null!=o&&o.tagName)&&!a&&p&&console.log(e),this.each(function(){var t=!1,i=E(this),o=i.data("tooltipster-ns"),e=null;o?r?t=!0:p&&(console.log("Tooltipster: one or more tooltips are already attached to the element below. Ignoring."),console.log(this)):t=!0,t&&(e=new E.Tooltipster(this,n[0]),(o=o||[]).push(e.__namespace),i.data("tooltipster-ns",o),i.data(e.__namespace,e),e.__options.functionInit&&e.__options.functionInit.call(e,e,{origin:this}),e._trigger("init")),E.tooltipster.__instancesLatestArr.push(e)}),this},i.prototype={__init:function(t){this.__$tooltip=t,this.__$tooltip.css({left:0,overflow:"hidden",position:"absolute",top:0}).find(".tooltipster-content").css("overflow","auto"),this.$container=E('<div class="tooltipster-ruler"></div>').append(this.__$tooltip).appendTo(I.window.document.body)},__forceRedraw:function(){var t=this.__$tooltip.parent();this.__$tooltip.detach(),this.__$tooltip.appendTo(t)},constrain:function(t,i){return this.constraints={width:t,height:i},this.__$tooltip.css({display:"block",height:"",overflow:"auto",width:t}),this},destroy:function(){this.__$tooltip.detach().find(".tooltipster-content").css({display:"",overflow:""}),this.$container.remove()},free:function(){return this.constraints=null,this.__$tooltip.css({display:"",height:"",overflow:"visible",width:""}),this},measure:function(){this.__forceRedraw();var t=this.__$tooltip[0].getBoundingClientRect(),i={size:{height:t.height||t.bottom-t.top,width:t.width||t.right-t.left}};if(this.constraints){var o=this.__$tooltip.find(".tooltipster-content"),e=this.__$tooltip.outerHeight(),n=o[0].getBoundingClientRect(),s={height:e<=this.constraints.height,width:t.width<=this.constraints.width&&n.width>=o[0].scrollWidth-1};i.fits=s.height&&s.width}return I.IE&&I.IE<=11&&i.size.width!==I.window.document.documentElement.clientWidth&&(i.size.width=Math.ceil(i.size.width)+1),i}};var o=navigator.userAgent.toLowerCase();-1!=o.indexOf("msie")?I.IE=parseInt(o.split("msie")[1]):-1!==o.toLowerCase().indexOf("trident")&&-1!==o.indexOf(" rv:11")?I.IE=11:-1!=o.toLowerCase().indexOf("edge/")&&(I.IE=parseInt(o.toLowerCase().split("edge/")[1]));var e="tooltipster.sideTip";return E.tooltipster._plugin({name:e,instance:{__defaults:function(){return{arrow:!0,distance:6,functionPosition:null,maxWidth:null,minIntersection:16,minWidth:0,position:null,side:"top",viewportAware:!0}},__init:function(t){var i=this;i.__instance=t,i.__namespace="tooltipster-sideTip-"+Math.round(1e6*Math.random()),i.__previousState="closed",i.__options,i.__optionsFormat(),i.__instance._on("state."+i.__namespace,function(t){"closed"==t.state?i.__close():"appearing"==t.state&&"closed"==i.__previousState&&i.__create(),i.__previousState=t.state}),i.__instance._on("options."+i.__namespace,function(){i.__optionsFormat()}),i.__instance._on("reposition."+i.__namespace,function(t){i.__reposition(t.event,t.helper)})},__close:function(){this.__instance.content()instanceof E&&this.__instance.content().detach(),this.__instance._$tooltip.remove(),this.__instance._$tooltip=null},__create:function(){var t=E('<div class="tooltipster-base tooltipster-sidetip"><div class="tooltipster-box"><div class="tooltipster-content"></div></div><div class="tooltipster-arrow"><div class="tooltipster-arrow-uncropped"><div class="tooltipster-arrow-border"></div><div class="tooltipster-arrow-background"></div></div></div></div>');this.__options.arrow||t.find(".tooltipster-box").css("margin",0).end().find(".tooltipster-arrow").hide(),this.__options.minWidth&&t.css("min-width",this.__options.minWidth+"px"),this.__options.maxWidth&&t.css("max-width",this.__options.maxWidth+"px"),this.__instance._$tooltip=t,this.__instance._trigger("created")},__destroy:function(){this.__instance._off("."+self.__namespace)},__optionsFormat:function(){var t=this;if(t.__options=t.__instance._optionsExtract(e,t.__defaults()),t.__options.position&&(t.__options.side=t.__options.position),"object"!=typeof t.__options.distance&&(t.__options.distance=[t.__options.distance]),t.__options.distance.length<4&&(void 0===t.__options.distance[1]&&(t.__options.distance[1]=t.__options.distance[0]),void 0===t.__options.distance[2]&&(t.__options.distance[2]=t.__options.distance[0]),void 0===t.__options.distance[3]&&(t.__options.distance[3]=t.__options.distance[1]),t.__options.distance={top:t.__options.distance[0],right:t.__options.distance[1],bottom:t.__options.distance[2],left:t.__options.distance[3]}),"string"==typeof t.__options.side){t.__options.side=[t.__options.side,{top:"bottom",right:"left",bottom:"top",left:"right"}[t.__options.side]],"left"==t.__options.side[0]||"right"==t.__options.side[0]?t.__options.side.push("top","bottom"):t.__options.side.push("right","left")}6===E.tooltipster._env.IE&&!0!==t.__options.arrow&&(t.__options.arrow=!1)},__reposition:function(a,l){var i,p=this,c=p.__targetFind(l),h=[];p.__instance._$tooltip.detach();var o=p.__instance._$tooltip.clone(),d=E.tooltipster._getRuler(o),u=!1,t=p.__instance.option("animation");switch(t&&o.removeClass("tooltipster-"+t),E.each(["window","document"],function(t,n){var s=null;if(p.__instance._trigger({container:n,helper:l,satisfied:u,takeTest:function(t){s=t},results:h,type:"positionTest"}),1==s||0!=s&&0==u&&("window"!=n||p.__options.viewportAware))for(t=0;t<p.__options.side.length;t++){var r={horizontal:0,vertical:0},_=p.__options.side[t];"top"==_||"bottom"==_?r.vertical=p.__options.distance[_]:r.horizontal=p.__options.distance[_],p.__sideChange(o,_),E.each(["natural","constrained"],function(t,i){if(s=null,p.__instance._trigger({container:n,event:a,helper:l,mode:i,results:h,satisfied:u,side:_,takeTest:function(t){s=t},type:"positionTest"}),1==s||0!=s&&0==u){var o={container:n,distance:r,fits:null,mode:i,outerSize:null,side:_,size:null,target:c[_],whole:null},e=("natural"==i?d.free():d.constrain(l.geo.available[n][_].width-r.horizontal,l.geo.available[n][_].height-r.vertical)).measure();if(o.size=e.size,o.outerSize={height:e.size.height+r.vertical,width:e.size.width+r.horizontal},"natural"==i?l.geo.available[n][_].width>=o.outerSize.width&&l.geo.available[n][_].height>=o.outerSize.height?o.fits=!0:o.fits=!1:o.fits=e.fits,"window"==n&&(o.fits?o.whole="top"==_||"bottom"==_?l.geo.origin.windowOffset.right>=p.__options.minIntersection&&l.geo.window.size.width-l.geo.origin.windowOffset.left>=p.__options.minIntersection:l.geo.origin.windowOffset.bottom>=p.__options.minIntersection&&l.geo.window.size.height-l.geo.origin.windowOffset.top>=p.__options.minIntersection:o.whole=!1),h.push(o),o.whole)u=!0;else if("natural"==o.mode&&(o.fits||o.size.width<=l.geo.available[n][_].width))return!1}})}}),p.__instance._trigger({edit:function(t){h=t},event:a,helper:l,results:h,type:"positionTested"}),h.sort(function(t,i){return t.whole&&!i.whole?-1:!t.whole&&i.whole?1:t.whole&&i.whole?(o=p.__options.side.indexOf(t.side))<(e=p.__options.side.indexOf(i.side))?-1:e<o?1:"natural"==t.mode?-1:1:t.fits&&!i.fits?-1:!t.fits&&i.fits?1:t.fits&&i.fits?(o=p.__options.side.indexOf(t.side))<(e=p.__options.side.indexOf(i.side))?-1:e<o?1:"natural"==t.mode?-1:1:"document"==t.container&&"bottom"==t.side&&"natural"==t.mode?-1:1;var o,e}),(i=h[0]).coord={},i.side){case"left":case"right":i.coord.top=Math.floor(i.target-i.size.height/2);break;case"bottom":case"top":i.coord.left=Math.floor(i.target-i.size.width/2)}switch(i.side){case"left":i.coord.left=l.geo.origin.windowOffset.left-i.outerSize.width;break;case"right":i.coord.left=l.geo.origin.windowOffset.right+i.distance.horizontal;break;case"top":i.coord.top=l.geo.origin.windowOffset.top-i.outerSize.height;break;case"bottom":i.coord.top=l.geo.origin.windowOffset.bottom+i.distance.vertical}"window"==i.container?"top"==i.side||"bottom"==i.side?i.coord.left<0?0<=l.geo.origin.windowOffset.right-this.__options.minIntersection?i.coord.left=0:i.coord.left=l.geo.origin.windowOffset.right-this.__options.minIntersection-1:i.coord.left>l.geo.window.size.width-i.size.width&&(l.geo.origin.windowOffset.left+this.__options.minIntersection<=l.geo.window.size.width?i.coord.left=l.geo.window.size.width-i.size.width:i.coord.left=l.geo.origin.windowOffset.left+this.__options.minIntersection+1-i.size.width):i.coord.top<0?0<=l.geo.origin.windowOffset.bottom-this.__options.minIntersection?i.coord.top=0:i.coord.top=l.geo.origin.windowOffset.bottom-this.__options.minIntersection-1:i.coord.top>l.geo.window.size.height-i.size.height&&(l.geo.origin.windowOffset.top+this.__options.minIntersection<=l.geo.window.size.height?i.coord.top=l.geo.window.size.height-i.size.height:i.coord.top=l.geo.origin.windowOffset.top+this.__options.minIntersection+1-i.size.height):(i.coord.left>l.geo.window.size.width-i.size.width&&(i.coord.left=l.geo.window.size.width-i.size.width),i.coord.left<0&&(i.coord.left=0)),p.__sideChange(o,i.side),l.tooltipClone=o[0],l.tooltipParent=p.__instance.option("parent").parent[0],l.mode=i.mode,l.whole=i.whole,l.origin=p.__instance._$origin[0],l.tooltip=p.__instance._$tooltip[0],delete i.container,delete i.fits,delete i.mode,delete i.outerSize,delete i.whole,i.distance=i.distance.horizontal||i.distance.vertical;var e,n,s,r=E.extend(!0,{},i);if(p.__instance._trigger({edit:function(t){i=t},event:a,helper:l,position:r,type:"position"}),p.__options.functionPosition){var _=p.__options.functionPosition.call(p,p.__instance,l,r);_&&(i=_)}d.destroy(),n="top"==i.side||"bottom"==i.side?(e={prop:"left",val:i.target-i.coord.left},i.size.width-this.__options.minIntersection):(e={prop:"top",val:i.target-i.coord.top},i.size.height-this.__options.minIntersection),e.val<this.__options.minIntersection?e.val=this.__options.minIntersection:e.val>n&&(e.val=n),s=l.geo.origin.fixedLineage?l.geo.origin.windowOffset:{left:l.geo.origin.windowOffset.left+l.geo.window.scroll.left,top:l.geo.origin.windowOffset.top+l.geo.window.scroll.top},i.coord={left:s.left+(i.coord.left-l.geo.origin.windowOffset.left),top:s.top+(i.coord.top-l.geo.origin.windowOffset.top)},p.__sideChange(p.__instance._$tooltip,i.side),l.geo.origin.fixedLineage?p.__instance._$tooltip.css("position","fixed"):p.__instance._$tooltip.css("position",""),p.__instance._$tooltip.css({left:i.coord.left,top:i.coord.top,height:i.size.height,width:i.size.width}).find(".tooltipster-arrow").css({left:"",top:""}).css(e.prop,e.val),p.__instance._$tooltip.appendTo(p.__instance.option("parent")),p.__instance._trigger({type:"repositioned",event:a,position:i})},__sideChange:function(t,i){t.removeClass("tooltipster-bottom").removeClass("tooltipster-left").removeClass("tooltipster-right").removeClass("tooltipster-top").addClass("tooltipster-"+i)},__targetFind:function(t){var i={},o=this.__instance._$origin[0].getClientRects();1<o.length&&1==this.__instance._$origin.css("opacity")&&(this.__instance._$origin.css("opacity",.99),o=this.__instance._$origin[0].getClientRects(),this.__instance._$origin.css("opacity",1));if(o.length<2)i.top=Math.floor(t.geo.origin.windowOffset.left+t.geo.origin.size.width/2),i.bottom=i.top,i.left=Math.floor(t.geo.origin.windowOffset.top+t.geo.origin.size.height/2),i.right=i.left;else{var e=o[0];i.top=Math.floor(e.left+(e.right-e.left)/2),e=2<o.length?o[Math.ceil(o.length/2)-1]:o[0],i.right=Math.floor(e.top+(e.bottom-e.top)/2),e=o[o.length-1],i.bottom=Math.floor(e.left+(e.right-e.left)/2),e=2<o.length?o[Math.ceil((o.length+1)/2)-1]:o[o.length-1],i.left=Math.floor(e.top+(e.bottom-e.top)/2)}return i}}}),E});
11
- !function(s){"use strict";window.eaelLoadMore=function(e,t){var o={totalPosts:e.totalPosts,loadMoreBtn:e.loadMoreBtn,postContainer:s(e.postContainer),postStyle:e.postStyle},r={postType:t.postType,perPage:t.perPage,postOrder:t.postOrder,orderBy:t.orderBy,showImage:t.showImage,showTitle:t.showTitle,showExcerpt:t.showExcerpt,showMeta:t.showMeta,imageSize:t.imageSize,metaPosition:t.metaPosition,excerptLength:t.excerptLength,btnText:t.btnText,tax_query:t.tax_query,post__in:t.post__in,excludePosts:t.exclude_posts,offset:parseInt(t.offset,10),grid_style:t.grid_style||"",hover_animation:t.hover_animation,hover_icon:t.hover_icon,show_read_more_button:t.show_read_more_button,read_more_button_text:t.read_more_button_text},a=r.offset+r.perPage;o.loadMoreBtn.on("click",function(e){e.preventDefault(),s(this).addClass("button--loading"),s(this).find("span").html("Loading..."),s.ajax({url:localize.ajaxurl,type:"post",data:{action:"load_more",post_style:o.postStyle,eael_show_image:r.showImage,image_size:r.imageSize,eael_show_title:r.showTitle,eael_show_meta:r.showMeta,meta_position:r.metaPosition,eael_show_excerpt:r.showExcerpt,eael_excerpt_length:r.excerptLength,post_type:r.postType,posts_per_page:r.perPage,offset:a,tax_query:r.tax_query,post__not_in:r.excludePosts,post__in:r.post__in,orderby:r.orderBy,order:r.postOrder,grid_style:r.grid_style,eael_post_grid_hover_animation:r.hover_animation,eael_post_grid_bg_hover_icon:r.hover_icon,eael_show_read_more_button:r.show_read_more_button,read_more_button_text:r.read_more_button_text},beforeSend:function(){},success:function(e){var t=s(e);"grid"===o.postStyle?setTimeout(function(){o.postContainer.masonry(),o.postContainer.append(t).masonry("appended",t),o.postContainer.masonry({itemSelector:".eael-grid-post",percentPosition:!0,columnWidth:".eael-post-grid-column"})},100):o.postContainer.append(t),o.loadMoreBtn.removeClass("button--loading"),o.loadMoreBtn.find("span").html(r.btnText),(a+=r.perPage)>=o.totalPosts&&o.loadMoreBtn.remove()},error:function(){}})})}}(jQuery);
12
  var AdvAccordionHandler=function(e,n){var a=e.find(".eael-adv-accordion"),o=e.find(".eael-accordion-header"),d=a.data("accordion-type"),t=a.data("toogle-speed");o.each(function(){n(this).hasClass("active-default")&&(n(this).addClass("show active"),n(this).next().slideDown(t))}),o.unbind("click"),o.click(function(e){e.preventDefault();var a=n(this);"accordion"===d?a.hasClass("show")?(a.removeClass("show active"),a.next().slideUp(t)):(a.parent().parent().find(".eael-accordion-header").removeClass("show active"),a.parent().parent().find(".eael-accordion-content").slideUp(t),a.toggleClass("show active"),a.next().slideToggle(t)):a.hasClass("show")?(a.removeClass("show active"),a.next().slideUp(t)):(a.addClass("show active"),a.next().slideDown(t))})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-adv-accordion.default",AdvAccordionHandler)});
13
  var AdvanceTabHandler=function(a,s){var e="#"+a.find(".eael-advance-tabs").attr("id").toString();s(e+" .eael-tabs-nav ul li").each(function(a){s(this).hasClass("active-default")?(s(e+" .eael-tabs-nav > ul li").removeClass("active").addClass("inactive"),s(this).removeClass("inactive")):0==a&&s(this).removeClass("inactive").addClass("active")}),s(e+" .eael-tabs-content div").each(function(a){s(this).hasClass("active-default")?s(e+" .eael-tabs-content > div").removeClass("active"):0==a&&s(this).removeClass("inactive").addClass("active")}),s(e+" .eael-tabs-nav ul li").click(function(){var a=s(this).index(),e=s(this).closest(".eael-advance-tabs"),t=s(e).children(".eael-tabs-nav").children("ul").children("li"),i=s(e).children(".eael-tabs-content").children("div");s(this).parent("li").addClass("active"),s(t).removeClass("active active-default").addClass("inactive"),s(this).addClass("active").removeClass("inactive"),s(i).removeClass("active").addClass("inactive"),s(i).eq(a).addClass("active").removeClass("inactive"),s(i).each(function(a){s(this).removeClass("active-default")})})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-adv-tabs.default",AdvanceTabHandler)});
14
  var ContentTicker=function(a,e){var t=a.find(".eael-content-ticker").eq(0),o=void 0!==t.data("items")?t.data("items"):1,i=void 0!==t.data("items-tablet")?t.data("items-tablet"):1,n=void 0!==t.data("items-mobile")?t.data("items-mobile"):1,d=void 0!==t.data("margin")?t.data("margin"):10,r=void 0!==t.data("margin-tablet")?t.data("margin-tablet"):10,l=void 0!==t.data("margin-mobile")?t.data("margin-mobile"):10,s=void 0!==t.data("effect")?t.data("effect"):"slide",p=void 0!==t.data("speed")?t.data("speed"):400,v=void 0!==t.data("autoplay")?t.data("autoplay"):5e3,c=void 0!==t.data("loop")&&t.data("loop"),u=void 0!==t.data("grab-cursor")&&t.data("grab-cursor"),m=void 0!==t.data("pagination")?t.data("pagination"):".swiper-pagination",w=void 0!==t.data("arrow-next")?t.data("arrow-next"):".swiper-button-next",b=void 0!==t.data("arrow-prev")?t.data("arrow-prev"):".swiper-button-prev",g=void 0!==t.data("pause-on-hover")?t.data("pause-on-hover"):"",f=new Swiper(t,{direction:"horizontal",loop:c,speed:p,effect:s,slidesPerView:o,spaceBetween:d,grabCursor:u,paginationClickable:!0,autoHeight:!0,autoplay:{delay:v},pagination:{el:m,clickable:!0},navigation:{nextEl:w,prevEl:b},breakpoints:{480:{slidesPerView:n,spaceBetween:l},768:{slidesPerView:i,spaceBetween:r}}});0===v&&f.autoplay.stop(),g&&0!==v&&(t.on("mouseenter",function(){f.autoplay.stop()}),t.on("mouseleave",function(){f.autoplay.start()}))};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-content-ticker.default",ContentTicker)});
15
  var CountDown=function(e,t){var n=e.find(".eael-countdown-wrapper").eq(0),d=void 0!==n.data("countdown-id")?n.data("countdown-id"):"",o=void 0!==n.data("expire-type")?n.data("expire-type"):"",a=void 0!==n.data("expiry-text")?n.data("expiry-text"):"",i=void 0!==n.data("expiry-title")?n.data("expiry-title"):"",r=void 0!==n.data("redirect-url")?n.data("redirect-url"):"",l=void 0!==n.data("template")?n.data("template"):"";jQuery(document).ready(function(e){"use strict";var t=e("#eael-countdown-"+d);t.countdown({end:function(){if("text"==o)t.html('<div class="eael-countdown-finish-message"><h4 class="expiry-title">'+i+'</h4><div class="eael-countdown-finish-text">'+a+"</div></div>");else if("url"===o){0<e("body").find("#elementor").length?t.html("Your Page will be redirected to given URL (only on Frontend)."):window.location.href=r}else"template"===o&&t.html(l)}})})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-countdown.default",CountDown)});
16
  var dataTable=function(e,n){var t=e.find(".eael-data-table-wrap");t.data("table_id");if("undefined"!=typeof enableProSorter&&n.isFunction(enableProSorter)&&n(document).ready(function(){enableProSorter(jQuery,t)}),1==t.data("custom_responsive")){var a=e.find(".eael-data-table").find("th");e.find(".eael-data-table").find("tbody").find("tr").each(function(e,t){n(t).find("td .td-content-wrapper").each(function(e,t){n(this).prepend('<div class="th-mobile-screen">'+a.eq(e).html()+"</div>")})})}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-data-table.default",dataTable)});
17
  var FancyText=function(t,e){var a=t.find(".eael-fancy-text-container").eq(0),n=void 0!==a.data("fancy-text-id")?a.data("fancy-text-id"):"",o=void 0!==a.data("fancy-text")?a.data("fancy-text"):"",d=void 0!==a.data("fancy-text-transition-type")?a.data("fancy-text-transition-type"):"",i=void 0!==a.data("fancy-text-speed")?a.data("fancy-text-speed"):"",y=void 0!==a.data("fancy-text-delay")?a.data("fancy-text-delay"):"",c=void 0!==a.data("fancy-text-cursor"),f=void 0!==a.data("fancy-text-loop")&&"yes"==a.data("fancy-text-loop");o=o.split("|"),"typing"==d&&e("#eael-fancy-text-"+n).typed({strings:o,typeSpeed:i,backSpeed:0,startDelay:300,backDelay:y,showCursor:c,loop:f}),"typing"!=d&&e("#eael-fancy-text-"+n).Morphext({animation:d,separator:", ",speed:y,complete:function(){}}),jQuery(window).on("load",function(){setTimeout(function(){e(".eael-fancy-text-strings",t).css("display","inline-block")},500)})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-fancy-text.default",FancyText)});
18
- var filterableGalleryHandler=function(s,d){if(!isEditMode){var c=d(".eael-filter-gallery-container",s),e=c.data("settings"),f=c.data("gallery-items"),a="masonry"==e.grid_style?"masonry":"fitRows",g="yes"==e.gallery_enabled,m=c.isotope({itemSelector:".eael-filterable-gallery-item-wrap",layoutMode:a,percentPosition:!0,stagger:30,transitionDuration:e.duration+"ms",filter:d(".eael-filter-gallery-control .control.active",s).data("filter")});m.imagesLoaded().progress(function(){m.isotope("layout")}),m.on("arrangeComplete",function(){m.isotope("layout")}),d(window).on("load",function(){m.isotope("layout")}),s.on("click",".control",function(){var e=d(this),a=e.data("filter");e.siblings().removeClass("active"),e.addClass("active"),m.isotope({filter:a})}),d(".eael-magnific-link",s).magnificPopup({type:"image",gallery:{enabled:g},callbacks:{close:function(){d("#elementor-lightbox").hide()}}}),d(s).magnificPopup({delegate:".eael-magnific-video-link",type:"iframe",callbacks:{close:function(){d("#elementor-lightbox").hide()}}}),s.on("click",".eael-gallery-load-more",function(e){e.preventDefault();var a=d(this),l=d(".eael-filter-gallery-container",s).children(".eael-filterable-gallery-item-wrap").length,t=c.data("total-gallery-items"),i=c.data("images-per-page"),o=c.data("nomore-item-text"),n=[];l==t&&(a.html('<div class="no-more-items-text">'+o+"</div>"),setTimeout(function(){a.fadeOut("slow")},600));for(var r=l;r<l+i;r++)n.push(d(f[r])[0]);c.append(n),m.isotope("appended",n),m.imagesLoaded().progress(function(){m.isotope("layout")}),d(".eael-magnific-link",s).magnificPopup({type:"image",gallery:{enabled:g},callbacks:{close:function(){d("#elementor-lightbox").hide()}}})})}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-filterable-gallery.default",filterableGalleryHandler)});
19
  !function(n){window.isEditMode=!1,n(window).on("elementor/frontend/init",function(){window.isEditMode=elementorFrontend.isEditMode()})}(jQuery);
 
20
  var ImageAccordion=function(e,a){var o=e.find(".eael-img-accordion").eq(0),i=void 0!==o.data("img-accordion-id")?o.data("img-accordion-id"):"";"on-click"===(void 0!==o.data("img-accordion-type")?o.data("img-accordion-type"):"")&&(a("#eael-img-accordion-"+i+" a").on("click",function(e){0==a(this).hasClass("overlay-active")&&e.preventDefault(),a("#eael-img-accordion-"+i+" a").css("flex","1"),a(this).find(".overlay").parent("a").addClass("overlay-active"),a("#eael-img-accordion-"+i+" a").find(".overlay-inner").removeClass("overlay-inner-show"),a(this).find(".overlay-inner").addClass("overlay-inner-show"),a(this).css("flex","3")}),a("#eael-img-accordion-"+i+" a").on("blur",function(e){a("#eael-img-accordion-"+i+" a").css("flex","1"),a("#eael-img-accordion-"+i+" a").find(".overlay-inner").removeClass("overlay-inner-show"),a(this).find(".overlay").parent("a").removeClass("overlay-active")}))};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-image-accordion.default",ImageAccordion)});
21
- var PostGrid=function(e,t){var o=t(".eael-post-grid-container").eq(0),r=o.data("post_grid_options"),s=o.data("post_grid_settings"),a={totalPosts:parseInt(r.totalPosts),loadMoreBtn:t(r.loadMoreBtn),postContainer:t(r.postContainer),postStyle:"grid"},n=JSON.parse(s.exclude_posts),i=JSON.parse(s.tax_query),p=JSON.parse(s.post__in),d={postType:s.postType,perPage:parseInt(s.perPage),postOrder:s.postOrder,orderBy:s.orderBy,showImage:parseInt(s.showImage),imageSize:s.imageSize,showTitle:parseInt(s.showTitle),showExcerpt:parseInt(s.showExcerpt),showMeta:parseInt(s.showMeta),offset:s.offset,metaPosition:s.metaPosition,excerptLength:s.excerptLength,btnText:s.btnText,tax_query:i,exclude_posts:n,post__in:p,grid_style:s.grid_style,hover_animation:s.hover_animation,hover_icon:s.hover_icon,show_read_more_button:s.eael_show_read_more_button,read_more_button_text:s.read_more_button_text};eaelLoadMore(a,d);var _=t(".eael-post-grid:not(.eael-post-carousel)").isotope({itemSelector:".eael-grid-post",percentPosition:!0,columnWidth:".eael-post-grid-column"});_.imagesLoaded().progress(function(){_.isotope("layout")})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-post-grid.default",PostGrid)});
22
- var postTimelineHandler=function(e,t){var a=e.find(".eael-post-timeline"),o=(a.attr("id"),parseInt(a.data("total_posts"),10)),n=a.data("timeline_id"),s=a.data("post_type"),d=parseInt(a.data("posts_per_page"),10),r=a.data("post_order"),p=a.data("post_orderby"),i=parseInt(a.data("post_offset"),10),l=a.data("show_images"),_=a.data("image_size"),m=a.data("show_title"),f=a.data("show_excerpt"),x=parseInt(a.data("excerpt_length"),10),c=a.data("btn_text"),h=a.data("tax_query"),y=a.data("post__in"),g=a.data("exclude_posts"),u={totalPosts:o,loadMoreBtn:t("#eael-load-more-btn-"+n),postContainer:t(".eael-post-appender-"+n),postStyle:"timeline"},w={postType:s,perPage:d,postOrder:r,orderBy:p,offset:i,showImage:l,imageSize:_,showTitle:m,showExcerpt:f,excerptLength:parseInt(x,10),btnText:c,tax_query:h,post__in:y,exclude_posts:g};eaelLoadMore(u,w)};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-post-timeline.default",postTimelineHandler)});
23
  var PricingTooltip=function(t,a){if(a.fn.tooltipster){var i,o=t.find(".tooltip");for(i=0;i<o.length;i++){var e=a("#"+a(o[i]).attr("id")),n=void 0!==e.data("side")&&e.data("side"),d=void 0!==e.data("trigger")?e.data("trigger"):"hover",r=void 0!==e.data("animation")?e.data("animation"):"fade",l=void 0!==e.data("animation_duration")?e.data("animation_duration"):300,f=void 0!==e.data("theme")?e.data("theme"):"default",m="yes"==e.data("arrow");e.tooltipster({animation:r,trigger:d,side:n,delay:l,arrow:m,theme:"tooltipster-"+f})}}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-pricing-table.default",PricingTooltip)});
24
- var ProgressBar=function(e,r){r(".eael-progressbar",e).eaelProgressBar()};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-progress-bar.default",ProgressBar)});
25
  jQuery(document).ready(function(){jQuery(window).scroll(function(){var e=(document.body.scrollTop||document.documentElement.scrollTop)/(document.documentElement.scrollHeight-document.documentElement.clientHeight)*100;jQuery(".eael-reading-progress-fill").css({width:e+"%"})}),isEditMode&&(elementor.settings.page.addChangeCallback("eael_ext_reading_progress",function(e){var r=elementor.settings.page.getSettings();"yes"==e?(0==jQuery(".eael-reading-progress-wrap").length&&jQuery("body").append('<div class="eael-reading-progress-wrap eael-reading-progress-wrap-local"><div class="eael-reading-progress eael-reading-progress-local eael-reading-progress-'+r.settings.eael_ext_reading_progress_position+'"><div class="eael-reading-progress-fill"></div></div><div class="eael-reading-progress eael-reading-progress-global eael-reading-progress-'+r.settings.eael_ext_reading_progress_position+'"><div class="eael-reading-progress-fill"></div></div></div>'),jQuery(".eael-reading-progress-wrap").addClass("eael-reading-progress-wrap-local").removeClass("eael-reading-progress-wrap-global eael-reading-progress-wrap-disabled")):(jQuery(".eael-reading-progress-wrap").removeClass("eael-reading-progress-wrap-local eael-reading-progress-wrap-global"),1==r.settings.eael_ext_reading_progress_has_global?jQuery(".eael-reading-progress-wrap").addClass("eael-reading-progress-wrap-global"):jQuery(".eael-reading-progress-wrap").addClass("eael-reading-progress-wrap-disabled"))}),elementor.settings.page.addChangeCallback("eael_ext_reading_progress_position",function(e){elementor.settings.page.setSettings("eael_ext_reading_progress_position",e),jQuery(".eael-reading-progress").removeClass("eael-reading-progress-top eael-reading-progress-bottom").addClass("eael-reading-progress-"+e)}))});
26
- var TwitterFeedHandler=function(e,t){$gutter=t(".eael-twitter-feed-masonry",e).data("gutter"),$settings={itemSelector:".eael-twitter-feed-item",percentPosition:!0,masonry:{columnWidth:".eael-twitter-feed-item",gutter:$gutter}},$twitter_feed_gallery=t(".eael-twitter-feed-masonry",e).isotope($settings),$twitter_feed_gallery.imagesLoaded().progress(function(){$twitter_feed_gallery.isotope("layout")})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-twitter-feed.default",TwitterFeedHandler)});
 
 
1
  !function(t,e,n){"use strict";function o(t,s){var e=this;this.el=t,this.options={},Object.keys(i).forEach(function(t){e.options[t]=i[t]}),Object.keys(s).forEach(function(t){e.options[t]=s[t]}),this.isInput="input"===this.el.tagName.toLowerCase(),this.attr=this.options.attr,this.showCursor=!this.isInput&&this.options.showCursor,this.elContent=this.attr?this.el.getAttribute(this.attr):this.el.textContent,this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,n&&this.options.stringsElement instanceof n?this.stringsElement=this.options.stringsElement[0]:this.stringsElement=this.options.stringsElement,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.build()}o.prototype={constructor:o,init:function(){var s=this;s.timeout=setTimeout(function(){for(var t=0;t<s.strings.length;++t)s.sequence[t]=t;s.shuffle&&(s.sequence=s.shuffleArray(s.sequence)),s.typewrite(s.strings[s.sequence[s.arrayPos]],s.strPos)},s.startDelay)},build:function(){var s=this;!0===this.showCursor&&(this.cursor=e.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)),this.stringsElement&&(this.strings=[],this.stringsElement.style.display="none",Array.prototype.slice.apply(this.stringsElement.children).forEach(function(t){s.strings.push(t.innerHTML)}));this.init()},typewrite:function(o,r){if(!0!==this.stop){var t=Math.round(70*Math.random())+this.typeSpeed,a=this;a.timeout=setTimeout(function(){var t=0,s=o.substr(r);if("^"===s.charAt(0)){var e=1;/^\^\d+/.test(s)&&(e+=(s=/\d+/.exec(s)[0]).length,t=parseInt(s)),o=o.substring(0,r)+o.substring(r+e)}if("html"===a.contentType){var i=o.substr(r).charAt(0);if("<"===i||"&"===i){var n;for(n="<"===i?">":";";o.substr(r+1).charAt(0)!==n&&(o.substr(r).charAt(0),!(++r+1>o.length)););r++,n}}a.timeout=setTimeout(function(){if(r===o.length){if(a.options.onStringTyped(a.arrayPos),a.arrayPos===a.strings.length-1&&(a.options.callback(),a.curLoop++,!1===a.loop||a.curLoop===a.loopCount))return;a.timeout=setTimeout(function(){a.backspace(o,r)},a.backDelay)}else{0===r&&a.options.preStringTyped(a.arrayPos);var t=o.substr(0,r+1);a.attr?a.el.setAttribute(a.attr,t):a.isInput?a.el.value=t:"html"===a.contentType?a.el.innerHTML=t:a.el.textContent=t,r++,a.typewrite(o,r)}},t)},t)}},backspace:function(s,e){if(!0!==this.stop){var t=Math.round(70*Math.random())+this.backSpeed,i=this;i.timeout=setTimeout(function(){if("html"===i.contentType&&">"===s.substr(e).charAt(0)){for(;"<"!==s.substr(e-1).charAt(0)&&(s.substr(e).charAt(0),!(--e<0)););e--,"<"}var t=s.substr(0,e);i.attr?i.el.setAttribute(i.attr,t):i.isInput?i.el.value=t:"html"===i.contentType?i.el.innerHTML=t:i.el.textContent=t,e>i.stopNum?(e--,i.backspace(s,e)):e<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.shuffle&&(i.sequence=i.shuffleArray(i.sequence)),i.init()):i.typewrite(i.strings[i.sequence[i.arrayPos]],e))},t)}},shuffleArray:function(t){var s,e,i=t.length;if(i)for(;--i;)s=t[e=Math.floor(Math.random()*(i+1))],t[e]=t[i],t[i]=s;return t},reset:function(){clearInterval(this.timeout),this.el.getAttribute("id"),this.el.textContent="",void 0!==this.cursor&&void 0!==this.cursor.parentNode&&this.cursor.parentNode.removeChild(this.cursor),this.strPos=0,this.arrayPos=0,this.curLoop=0,this.options.resetCallback()}},o.new=function(t,i){Array.prototype.slice.apply(e.querySelectorAll(t)).forEach(function(t){var s=t._typed,e="object"==typeof i&&i;s&&s.reset(),t._typed=s=new o(t,e),"string"==typeof i&&s[i]()})},n&&(n.fn.typed=function(i){return this.each(function(){var t=n(this),s=t.data("typed"),e="object"==typeof i&&i;s&&s.reset(),t.data("typed",s=new o(this,e)),"string"==typeof i&&s[i]()})}),t.Typed=o;var i={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window,document,window.jQuery),function(i){"use strict";function s(t,s){this.element=i(t),this.settings=i.extend({},n,s),this._defaults=n,this._init()}var e="Morphext",n={animation:"bounceIn",separator:",",speed:2e3,complete:i.noop};s.prototype={_init:function(){var e=this;this.phrases=[],this.element.addClass("morphext"),i.each(this.element.text().split(this.settings.separator),function(t,s){e.phrases.push(i.trim(s))}),this.index=-1,this.animate(),this.start()},animate:function(){this.index=++this.index%this.phrases.length,this.element[0].innerHTML='<span class="animated '+this.settings.animation+'">'+this.phrases[this.index]+"</span>",i.isFunction(this.settings.complete)&&this.settings.complete.call(this)},start:function(){var t=this;this._interval=setInterval(function(){t.animate()},this.settings.speed)},stop:function(){this._interval=clearInterval(this._interval)}},i.fn[e]=function(t){return this.each(function(){i.data(this,"plugin_"+e)||i.data(this,"plugin_"+e,new s(this,t))})}}(jQuery);
2
  !function(e){"use strict";var i="Morphext",s={animation:"bounceIn",separator:",",speed:2e3,complete:e.noop};function n(t,i){this.element=e(t),this.settings=e.extend({},s,i),this._defaults=s,this._init()}n.prototype={_init:function(){var s=this;this.phrases=[],this.element.addClass("morphext"),e.each(this.element.text().split(this.settings.separator),function(t,i){s.phrases.push(e.trim(i))}),this.index=-1,this.animate(),this.start()},animate:function(){this.index=++this.index%this.phrases.length,this.element[0].innerHTML='<span class="animated '+this.settings.animation+'">'+this.phrases[this.index]+"</span>",e.isFunction(this.settings.complete)&&this.settings.complete.call(this)},start:function(){var t=this;this._interval=setInterval(function(){t.animate()},this.settings.speed)},stop:function(){this._interval=clearInterval(this._interval)}},e.fn[i]=function(t){return this.each(function(){e.data(this,"plugin_"+i)||e.data(this,"plugin_"+i,new n(this,t))})}}(jQuery);
3
  !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Typed=e():t.Typed=e()}(this,function(){return i={},s.m=n=[function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t,e,s){return e&&i(t.prototype,e),s&&i(t,s),t};function i(t,e){for(var s=0;s<e.length;s++){var n=e[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var r=s(1),u=s(3),o=(n(a,[{key:"toggle",value:function(){this.pause.status?this.start():this.stop()}},{key:"stop",value:function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))}},{key:"start",value:function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))}},{key:"destroy",value:function(){this.reset(!1),this.options.onDestroy(this)}},{key:"reset",value:function(t){var e=arguments.length<=0||void 0===t||t;clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,e&&(this.insertCursor(),this.options.onReset(this),this.begin())}},{key:"begin",value:function(){var t=this;this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){t.currentElContent&&0!==t.currentElContent.length?t.backspace(t.currentElContent,t.currentElContent.length):t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos)},this.startDelay)}},{key:"typewrite",value:function(i,r){var o=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var t=this.humanizer(this.typeSpeed),a=1;!0!==this.pause.status?this.timeout=setTimeout(function(){r=u.htmlParser.typeHtmlChars(i,r,o);var t=0,e=i.substr(r);if("^"===e.charAt(0)&&/^\^\d+/.test(e)){var s=1;s+=(e=/\d+/.exec(e)[0]).length,t=parseInt(e),o.temporaryPause=!0,o.options.onTypingPaused(o.arrayPos,o),i=i.substring(0,r)+i.substring(r+s),o.toggleBlinking(!0)}if("`"===e.charAt(0)){for(;"`"!==i.substr(r+a).charAt(0)&&!(r+ ++a>i.length););var n=i.substring(0,r);i=n+i.substring(n.length+1,r+a)+i.substring(r+a+1),a--}o.timeout=setTimeout(function(){o.toggleBlinking(!1),r>=i.length?o.doneTyping(i,r):o.keepTyping(i,r,a),o.temporaryPause&&(o.temporaryPause=!1,o.options.onTypingResumed(o.arrayPos,o))},t)},t):this.setPauseStatus(i,r,!0)}},{key:"keepTyping",value:function(t,e,s){0===e&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),e+=s;var n=t.substr(0,e);this.replaceText(n),this.typewrite(t,e)}},{key:"doneTyping",value:function(t,e){var s=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){s.backspace(t,e)},this.backDelay))}},{key:"backspace",value:function(s,n){var i=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var t=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){n=u.htmlParser.backSpaceHtmlChars(s,n,i);var t=s.substr(0,n);if(i.replaceText(t),i.smartBackspace){var e=i.strings[i.arrayPos+1];e&&t===e.substr(0,n)?i.stopNum=n:i.stopNum=0}n>i.stopNum?(n--,i.backspace(s,n)):n<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.options.onLastStringBackspaced(),i.shuffleStringsIfNeeded(),i.begin()):i.typewrite(i.strings[i.sequence[i.arrayPos]],n))},t)}else this.setPauseStatus(s,n,!0)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(t,e,s){this.pause.typewrite=s,this.pause.curString=t,this.pause.curStrPos=e}},{key:"toggleBlinking",value:function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&((this.cursorBlinking=t)?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(t){return Math.round(Math.random()*t/2)+t}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))}},{key:"initFadeOut",value:function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)},this.fadeOutDelay)}},{key:"replaceText",value:function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t}},{key:"bindFocusEvents",value:function(){var e=this;this.isInput&&(this.el.addEventListener("focus",function(t){e.stop()}),this.el.addEventListener("blur",function(t){e.el.value&&0!==e.el.value.length||e.start()}))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),a);function a(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),r.initializer.load(this,e,t),this.begin()}e.default=o,t.exports=e.default},function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var s=arguments[e];for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(t[n]=s[n])}return t},n=function(t,e,s){return e&&i(t.prototype,e),s&&i(t,s),t};function i(t,e){for(var s=0;s<e.length;s++){var n=e[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var r,o=s(2),u=(r=o)&&r.__esModule?r:{default:r},l=(n(c,[{key:"load",value:function(t,e,s){if(t.el="string"==typeof s?document.querySelector(s):s,t.options=a({},u.default,e),t.isInput="input"===t.el.tagName.toLowerCase(),t.attr=t.options.attr,t.bindInputFocusEvents=t.options.bindInputFocusEvents,t.showCursor=!t.isInput&&t.options.showCursor,t.cursorChar=t.options.cursorChar,t.cursorBlinking=!0,t.elContent=t.attr?t.el.getAttribute(t.attr):t.el.textContent,t.contentType=t.options.contentType,t.typeSpeed=t.options.typeSpeed,t.startDelay=t.options.startDelay,t.backSpeed=t.options.backSpeed,t.smartBackspace=t.options.smartBackspace,t.backDelay=t.options.backDelay,t.fadeOut=t.options.fadeOut,t.fadeOutClass=t.options.fadeOutClass,t.fadeOutDelay=t.options.fadeOutDelay,t.isPaused=!1,t.strings=t.options.strings.map(function(t){return t.trim()}),"string"==typeof t.options.stringsElement?t.stringsElement=document.querySelector(t.options.stringsElement):t.stringsElement=t.options.stringsElement,t.stringsElement){t.strings=[],t.stringsElement.style.display="none";var n=Array.prototype.slice.apply(t.stringsElement.children),i=n.length;if(i)for(var r=0;r<i;r+=1){var o=n[r];t.strings.push(o.innerHTML.trim())}}for(var r in t.strPos=0,t.arrayPos=0,t.stopNum=0,t.loop=t.options.loop,t.loopCount=t.options.loopCount,t.curLoop=0,t.shuffle=t.options.shuffle,t.sequence=[],t.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},t.typingComplete=!1,t.strings)t.sequence[r]=r;t.currentElContent=this.getCurrentElContent(t),t.autoInsertCss=t.options.autoInsertCss,this.appendAnimationCss(t)}},{key:"getCurrentElContent",value:function(t){return t.attr?t.el.getAttribute(t.attr):t.isInput?t.el.value:"html"===t.contentType?t.el.innerHTML:t.el.textContent}},{key:"appendAnimationCss",value:function(t){var e="data-typed-js-css";if(t.autoInsertCss&&(t.showCursor||t.fadeOut)&&!document.querySelector("["+e+"]")){var s=document.createElement("style");s.type="text/css",s.setAttribute(e,!0);var n="";t.showCursor&&(n+="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n "),t.fadeOut&&(n+="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n "),0!==s.length&&(s.innerHTML=n,document.body.appendChild(s))}}}]),c);function c(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c)}var p=new(e.default=l);e.initializer=p},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onComplete:function(t){},preStringTyped:function(t,e){},onStringTyped:function(t,e){},onLastStringBackspaced:function(t){},onTypingPaused:function(t,e){},onTypingResumed:function(t,e){},onReset:function(t){},onStop:function(t,e){},onStart:function(t,e){},onDestroy:function(t){}};e.default=s,t.exports=e.default},function(t,e){"use strict";function n(t,e){for(var s=0;s<e.length;s++){var n=e[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Object.defineProperty(e,"__esModule",{value:!0});var s=(function(t,e,s){return e&&n(t.prototype,e),s&&n(t,s),t}(i,[{key:"typeHtmlChars",value:function(t,e,s){if("html"!==s.contentType)return e;var n=t.substr(e).charAt(0);if("<"===n||"&"===n){var i="";for(i="<"===n?">":";";t.substr(e+1).charAt(0)!==i&&!(++e+1>t.length););e++}return e}},{key:"backSpaceHtmlChars",value:function(t,e,s){if("html"!==s.contentType)return e;var n=t.substr(e).charAt(0);if(">"===n||";"===n){var i="";for(i=">"===n?"<":"&";t.substr(e-1).charAt(0)!==i&&!(--e<0););e--}return e}}]),i);function i(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i)}var r=new(e.default=s);e.htmlParser=r}],s.c=i,s.p="",s(0);function s(t){if(i[t])return i[t].exports;var e=i[t]={exports:{},id:t,loaded:!1};return n[t].call(e.exports,e,e.exports,s),e.loaded=!0,e.exports}var n,i});
4
+ !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(i){"use strict";var n=function(t,s){this.$element=i(t),this.defaults=i.extend({},n.defaults,this.$element.data(),i.isPlainObject(s)?s:{}),this.init()};n.prototype={constructor:n,init:function(){var t=this.$element.html(),s=new Date(this.defaults.date||t);s.getTime()&&(this.content=t,this.date=s,this.find(),this.defaults.autoStart&&this.start())},find:function(){var t=this.$element;this.$days=t.find("[data-days]"),this.$hours=t.find("[data-hours]"),this.$minutes=t.find("[data-minutes]"),this.$seconds=t.find("[data-seconds]"),0<this.$days.length+this.$hours.length+this.$minutes.length+this.$seconds.length&&(this.found=!0)},reset:function(){this.found?(this.output("days"),this.output("hours"),this.output("minutes"),this.output("seconds")):this.output()},ready:function(){var t,s=this.date,e={};return!!s&&((t=s.getTime()-(new Date).getTime())<=0?(this.end(),!1):(e.days=t,e.hours=e.days%864e5,e.minutes=e.hours%36e5,e.seconds=e.minutes%6e4,e.milliseconds=e.seconds%1e3,this.days=Math.floor(e.days/864e5),this.hours=Math.floor(e.hours/36e5),this.minutes=Math.floor(e.minutes/6e4),this.seconds=Math.floor(e.seconds/1e3),this.deciseconds=Math.floor(e.milliseconds/100),!0))},start:function(){!this.active&&this.ready()&&(this.active=!0,this.reset(),this.autoUpdate=this.defaults.fast?setInterval(i.proxy(this.fastUpdate,this),100):setInterval(i.proxy(this.update,this),1e3))},stop:function(){this.active&&(this.active=!1,clearInterval(this.autoUpdate))},end:function(){this.date&&(this.stop(),this.days=0,this.hours=0,this.minutes=0,this.seconds=0,this.deciseconds=0,this.reset(),this.defaults.end())},destroy:function(){this.date&&(this.stop(),this.$days=null,this.$hours=null,this.$minutes=null,this.$seconds=null,this.$element.empty().html(this.content),this.$element.removeData("countdown"))},fastUpdate:function(){0<=--this.deciseconds?this.output("deciseconds"):(this.deciseconds=9,this.update())},update:function(){0<=--this.seconds?this.output("seconds"):(this.seconds=59,0<=--this.minutes?this.output("minutes"):(this.minutes=59,0<=--this.hours?this.output("hours"):(this.hours=23,0<=--this.days?this.output("days"):this.end())))},output:function(t){if(this.found)switch(t){case"deciseconds":this.$seconds.text(this.getSecondsText());break;case"seconds":this.$seconds.text(this.seconds);break;case"minutes":this.$minutes.text(this.minutes);break;case"hours":this.$hours.text(this.hours);break;case"days":this.$days.text(this.days)}else this.$element.empty().html(this.template())},template:function(){return this.defaults.text.replace("%s",this.days).replace("%s",this.hours).replace("%s",this.minutes).replace("%s",this.getSecondsText())},getSecondsText:function(){return this.active&&this.defaults.fast?this.seconds+"."+this.deciseconds:this.seconds}},n.defaults={autoStart:!0,date:null,fast:!1,end:i.noop,text:"%s days, %s hours, %s minutes, %s seconds"},n.setDefaults=function(t){i.extend(n.defaults,t)},i.fn.countdown=function(e){return this.each(function(){var t=i(this),s=t.data("countdown");s||t.data("countdown",s=new n(this,e)),"string"==typeof e&&i.isFunction(s[e])&&s[e]()})},i.fn.countdown.constructor=n,i.fn.countdown.setDefaults=n.setDefaults,i(function(){i("[countdown]").countdown()})});
5
  !function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return-1==n.indexOf(t)&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{};return(i[e]=i[e]||{})[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return-1!=n&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],o=0;o<i.length;o++){var s=i[o];n&&n[s]&&(this.off(e,s),delete n[s]),s.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),function(t,i){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("ev-emitter")):t.imagesLoaded=i(t,t.EvEmitter)}("undefined"!=typeof window?window:this,function(t,e){var o=t.jQuery,s=t.console;function r(e,t){for(var i in t)e[i]=t[i];return e}var h=Array.prototype.slice;function a(e,t,i){if(!(this instanceof a))return new a(e,t,i);var n=e;"string"==typeof e&&(n=document.querySelectorAll(e)),n?(this.elements=function(e){return Array.isArray(e)?e:"object"==typeof e&&"number"==typeof e.length?h.call(e):[e]}(n),this.options=r({},this.options),"function"==typeof t?i=t:r(this.options,t),i&&this.on("always",i),this.getImages(),o&&(this.jqDeferred=new o.Deferred),setTimeout(this.check.bind(this))):s.error("Bad element for imagesLoaded "+(n||e))}(a.prototype=Object.create(e.prototype)).options={},a.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},a.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&d[t]){for(var i=e.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var s=e.querySelectorAll(this.options.background);for(n=0;n<s.length;n++){var r=s[n];this.addElementBackgroundImages(r)}}}};var d={1:!0,9:!0,11:!0};function i(e){this.img=e}function n(e,t){this.url=e,this.element=t,this.img=new Image}return a.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,e),n=i.exec(t.backgroundImage)}},a.prototype.addImage=function(e){var t=new i(e);this.images.push(t)},a.prototype.addBackground=function(e,t){var i=new n(e,t);this.images.push(i)},a.prototype.check=function(){var n=this;function t(e,t,i){setTimeout(function(){n.progress(e,t,i)})}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach(function(e){e.once("progress",t),e.check()}):this.complete()},a.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&s&&s.log("progress: "+i,e,t)},a.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},(i.prototype=Object.create(e.prototype)).check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},i.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},i.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},i.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},i.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},i.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},i.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(i.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},a.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((o=e).fn.imagesLoaded=function(e,t){return new a(this,e,t).jqDeferred.promise(o(this))})},a.makeJQueryPlugin(),a});
6
  !function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(f){var a,d,i,c=[],h=document,u=window,s=h.documentElement;function t(){if(c.length){var e=0,t=f.map(c,function(e){var t=e.data.selector,n=e.$element;return t?n.find(t):n});for(a=a||function(){var e,t,n={height:u.innerHeight,width:u.innerWidth};return n.height||!(e=h.compatMode)&&f.support.boxModel||(n={height:(t="CSS1Compat"===e?s:h.body).clientHeight,width:t.clientWidth}),n}(),d=d||{top:u.pageYOffset||s.scrollTop||h.body.scrollTop,left:u.pageXOffset||s.scrollLeft||h.body.scrollLeft};e<c.length;e++)if(f.contains(s,t[e][0])){var n=f(t[e]),i=n[0].offsetHeight,o=n[0].offsetWidth,l=n.offset(),r=n.data("inview");if(!d||!a)return;l.top+i>d.top&&l.top<d.top+a.height&&l.left+o>d.left&&l.left<d.left+a.width?r||n.data("inview",!0).trigger("inview",[!0]):r&&n.data("inview",!1).trigger("inview",[!1])}}}f.event.special.inview={add:function(e){c.push({data:e,$element:f(this),element:this}),!i&&c.length&&(i=setInterval(t,250))},remove:function(e){for(var t=0;t<c.length;t++){var n=c[t];if(n.element===this&&n.data.guid===e.guid){c.splice(t,1);break}}c.length||(clearInterval(i),i=null)}},f(u).on("scroll resize scrollstop",function(){a=d=null}),!s.addEventListener&&s.attachEvent&&s.attachEvent("onfocusin",function(){d=null})});
7
  !function(e,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("jquery")):e.jQueryBridget=i(e,e.jQuery)}(window,function(t,e){"use strict";var i=Array.prototype.slice,o=t.console,d=void 0===o?function(){}:function(t){o.error(t)};function n(h,n,l){(l=l||e||t.jQuery)&&(n.prototype.option||(n.prototype.option=function(t){l.isPlainObject(t)&&(this.options=l.extend(!0,this.options,t))}),l.fn[h]=function(t){return"string"==typeof t?function(t,s,r){var a,u="$()."+h+'("'+s+'")';return t.each(function(t,e){var i=l.data(e,h);if(i){var o=i[s];if(o&&"_"!=s.charAt(0)){var n=o.apply(i,r);a=void 0===a?n:a}else d(u+" is not a valid method")}else d(h+" not initialized. Cannot call methods, i.e. "+u)}),void 0!==a?a:t}(this,t,i.call(arguments,1)):(function(t,o){t.each(function(t,e){var i=l.data(e,h);i?(i.option(o),i._init()):(i=new n(e,o),l.data(e,h,i))})}(this,t),this)},s(l))}function s(t){!t||t&&t.bridget||(t.bridget=n)}return s(e||t.jQuery),n}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return-1==o.indexOf(e)&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return-1!=o&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var s=i[n];o&&o[s]&&(this.off(t,s),delete o[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function g(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var i="undefined"==typeof console?function(){}:function(t){console.error(t)},v=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],_=v.length;function z(t){var e=getComputedStyle(t);return e||i("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}var I,x=!1;function S(t){if(function(){if(!x){x=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var e=document.body||document.documentElement;e.appendChild(t);var i=z(t);I=200==Math.round(g(i.width)),S.isBoxSizeOuter=I,e.removeChild(t)}}(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=z(t);if("none"==e.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<_;e++){t[v[e]]=0}return t}();var i={};i.width=t.offsetWidth,i.height=t.offsetHeight;for(var o=i.isBorderBox="border-box"==e.boxSizing,n=0;n<_;n++){var s=v[n],r=e[s],a=parseFloat(r);i[s]=isNaN(a)?0:a}var u=i.paddingLeft+i.paddingRight,h=i.paddingTop+i.paddingBottom,l=i.marginLeft+i.marginRight,d=i.marginTop+i.marginBottom,f=i.borderLeftWidth+i.borderRightWidth,c=i.borderTopWidth+i.borderBottomWidth,m=o&&I,p=g(e.width);!1!==p&&(i.width=p+(m?0:u+f));var y=g(e.height);return!1!==y&&(i.height=y+(m?0:h+c)),i.innerWidth=i.width-(u+f),i.innerHeight=i.height-(h+c),i.outerWidth=i.width+l,i.outerHeight=i.height+d,i}}return S}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var i=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i]+"MatchesSelector";if(t[o])return o}}();return function(t,e){return t[i](e)}}),function(e,i){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(t){return i(e,t)}):"object"==typeof module&&module.exports?module.exports=i(e,require("desandro-matches-selector")):e.fizzyUIUtils=i(e,e.matchesSelector)}(window,function(h,s){var l={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},e=Array.prototype.slice;l.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?e.call(t):[t]},l.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},l.getParent=function(t,e){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,s(t,e))return t},l.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.filterFindElements=function(t,o){t=l.makeArray(t);var n=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(o){s(t,o)&&n.push(t);for(var e=t.querySelectorAll(o),i=0;i<e.length;i++)n.push(e[i])}else n.push(t)}),n},l.debounceMethod=function(t,e,o){o=o||100;var n=t.prototype[e],s=e+"Timeout";t.prototype[e]=function(){var t=this[s];clearTimeout(t);var e=arguments,i=this;this[s]=setTimeout(function(){n.apply(i,e),delete i[s]},o)}},l.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},l.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var d=h.console;return l.htmlInit=function(a,u){l.docReady(function(){var t=l.toDashed(u),n="data-"+t,e=document.querySelectorAll("["+n+"]"),i=document.querySelectorAll(".js-"+t),o=l.makeArray(e).concat(l.makeArray(i)),s=n+"-options",r=h.jQuery;o.forEach(function(e){var t,i=e.getAttribute(n)||e.getAttribute(s);try{t=i&&JSON.parse(i)}catch(t){return void(d&&d.error("Error parsing "+n+" on "+e.className+": "+t))}var o=new a(e,t);r&&r.data(e,u,o)})})},l}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";var i=document.documentElement.style,o="string"==typeof i.transition?"transition":"WebkitTransition",n="string"==typeof i.transform?"transform":"WebkitTransform",s={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],r={transform:n,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"};function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var u=a.prototype=Object.create(t.prototype);u.constructor=a,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},u.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.getSize=function(){this.size=e(this.element)},u.css=function(t){var e=this.element.style;for(var i in t){e[r[i]||i]=t[i]}},u.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],n=t[i?"top":"bottom"],s=parseFloat(o),r=parseFloat(n),a=this.layout.size;-1!=o.indexOf("%")&&(s=s/100*a.width),-1!=n.indexOf("%")&&(r=r/100*a.height),s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=e?a.paddingLeft:a.paddingRight,r-=i?a.paddingTop:a.paddingBottom,this.position.x=s,this.position.y=r},u.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",a=this.position.x+t[n];e[s]=this.getXValue(a),e[r]="";var u=o?"paddingTop":"paddingBottom",h=o?"top":"bottom",l=o?"bottom":"top",d=this.position.y+t[u];e[h]=this.getYValue(d),e[l]="",this.css(e),this.emitEvent("layout",[this])},u.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},u.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},u._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!n||this.isTransitioning){var s=t-i,r=e-o,a={};a.transform=this.getTranslate(s,r),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},u.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},u.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},u.moveTo=u._transitionTo,u.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},u._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},u.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var h="opacity,"+n.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});u.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:h,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(s,this,!1)}},u.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},u.onotransitionend=function(t){this.ontransitionend(t)};var l={"-webkit-transform":"transform"};u.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=l[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return!null}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd)e.onEnd[i].call(this),delete e.onEnd[i];this.emitEvent("transitionEnd",[this])}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(s,this,!1),this.isTransitioning=!1},u._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return u.removeTransitionStyles=function(){this.css(d)},u.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},u.remove=function(){o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},u.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},u.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},u.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},u.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},u.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},u.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}),function(n,s){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,i,o){return s(n,t,e,i,o)}):"object"==typeof module&&module.exports?module.exports=s(n,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):n.Outlayer=s(n,n.EvEmitter,n.getSize,n.fizzyUIUtils,n.Outlayer.Item)}(window,function(t,e,n,s,o){"use strict";function i(){}var r=t.console,a=t.jQuery,u=0,h={};function l(t,e){var i=s.getQueryElement(t);if(i){this.element=i,a&&(this.$element=a(this.element)),this.options=s.extend({},this.constructor.defaults),this.option(e);var o=++u;this.element.outlayerGUID=o,(h[o]=this)._create(),this._getOption("initLayout")&&this.layout()}else r&&r.error("Bad element for "+this.constructor.namespace+": "+(i||t))}l.namespace="outlayer",l.Item=o,l.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var d=l.prototype;function f(t){function e(){t.apply(this,arguments)}return(e.prototype=Object.create(t.prototype)).constructor=e}s.extend(d,e.prototype),d.option=function(t){s.extend(this.options,t)},d._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},l.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},d._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),s.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},d.reloadItems=function(){this.items=this._itemize(this.element.children)},d._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var s=new i(e[n],this);o.push(s)}return o},d._filterFindItemElements=function(t){return s.filterFindElements(t,this.options.itemSelector)},d.getItemElements=function(){return this.items.map(function(t){return t.element})},d.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},d._init=d.layout,d._resetLayout=function(){this.getSize()},d.getSize=function(){this.size=n(this.element)},d._getMeasurement=function(t,e){var i,o=this.options[t];o?("string"==typeof o?i=this.element.querySelector(o):o instanceof HTMLElement&&(i=o),this[t]=i?n(i)[e]:o):this[t]=0},d.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},d._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},d._layoutItems=function(t,i){if(this._emitCompleteOnItems("layout",t),t&&t.length){var o=[];t.forEach(function(t){var e=this._getItemLayoutPosition(t);e.item=t,e.isInstant=i||t.isLayoutInstant,o.push(e)},this),this._processLayoutQueue(o)}},d._getItemLayoutPosition=function(){return{x:0,y:0}},d._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},d.updateStagger=function(){var t=this.options.stagger;if(null!=t)return this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],o=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var n=c[o]||1;return i*n}(t),this.stagger;this.stagger=0},d._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},d._getContainerSize=i,d._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},d._emitCompleteOnItems=function(e,t){var i=this;function o(){i.dispatchEvent(e+"Complete",null,[t])}var n=t.length;if(t&&n){var s=0;t.forEach(function(t){t.once(e,r)})}else o();function r(){++s==n&&o()}},d.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),a)if(this.$element=this.$element||a(this.element),e){var n=a.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},d.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},d.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},d.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},d.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){s.removeFrom(this.stamps,t),this.unignore(t)},this)},d._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=s.makeArray(t)},d._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},d._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},d._manageStamp=i,d._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,o=n(t);return{left:e.left-i.left-o.marginLeft,top:e.top-i.top-o.marginTop,right:i.right-e.right-o.marginRight,bottom:i.bottom-e.bottom-o.marginBottom}},d.handleEvent=s.handleEvent,d.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},d.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},d.onresize=function(){this.resize()},s.debounceMethod(l,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var t=n(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},d.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},d.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},d.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},d.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var i=this.updateStagger();t.forEach(function(t,e){t.stagger(e*i),t.reveal()})}},d.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var i=this.updateStagger();t.forEach(function(t,e){t.stagger(e*i),t.hide()})}},d.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},d.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},d.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},d.getItems=function(t){t=s.makeArray(t);var i=[];return t.forEach(function(t){var e=this.getItem(t);e&&i.push(e)},this),i},d.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),s.removeFrom(this.items,t)},this)},d.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete h[e],delete this.element.outlayerGUID,a&&a.removeData(this.element,this.constructor.namespace)},l.data=function(t){var e=(t=s.getQueryElement(t))&&t.outlayerGUID;return e&&h[e]},l.create=function(t,e){var i=f(l);return i.defaults=s.extend({},l.defaults),s.extend(i.defaults,e),i.compatOptions=s.extend({},l.compatOptions),i.namespace=t,i.data=l.data,i.Item=f(o),s.htmlInit(i,t),a&&a.bridget&&a.bridget(t,i),i};var c={ms:1,s:1e3};return l.Item=o,l}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var n=i.destroy;return i.destroy=function(){n.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(e,i){"use strict";function o(t){(this.isotope=t)&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var n=o.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){n[t]=function(){return i.prototype[t].apply(this.isotope,arguments)}}),n.needsVerticalResizeLayout=function(){var t=e(this.isotope.element);return this.isotope.size&&t&&t.innerHeight!=this.isotope.size.innerHeight},n._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},n.getColumnWidth=function(){this.getSegmentSize("column","Width")},n.getRowHeight=function(){this.getSegmentSize("row","Height")},n.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},n.getFirstItemSize=function(){var t=this.isotope.filteredItems[0];return t&&t.element&&e(t.element)},n.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},n.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},o.modes={},o.create=function(t,e){function i(){o.apply(this,arguments)}return(i.prototype=Object.create(n)).constructor=i,e&&(i.options=e),o.modes[i.prototype.namespace=t]=i},o}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,h){var e=t.create("masonry");e.compatOptions.fitWidth="isFitWidth";var i=e.prototype;return i._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},i.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],e=t&&t.element;this.columnWidth=e&&h(e).outerWidth||this.containerWidth}var i=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,n=o/i,s=i-o%i;n=Math[s&&s<1?"round":"floor"](n),this.cols=Math.max(n,1)},i.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,e=h(t);this.containerWidth=e&&e.innerWidth},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var o=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),n={x:this.columnWidth*o.col,y:o.y},s=o.y+t.size.outerHeight,r=i+o.col,a=o.col;a<r;a++)this.colYs[a]=s;return n},i._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},i._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},i._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},i._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=1<t&&i+t>this.cols?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},i._manageStamp=function(t){var e=h(t),i=this._getElementOffset(t),o=this._getOption("originLeft")?i.left:i.right,n=o+e.outerWidth,s=Math.floor(o/this.columnWidth);s=Math.max(0,s);var r=Math.floor(n/this.columnWidth);r-=n%this.columnWidth?0:1,r=Math.min(this.cols-1,r);for(var a=(this._getOption("originTop")?i.top:i.bottom)+e.outerHeight,u=s;u<=r;u++)this.colYs[u]=Math.max(a,this.colYs[u])},i._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},i._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},i.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),o=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)n[s]||(o[s]=e.prototype[s]);var r=o.measureColumns;o.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=o._getOption;return o._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(r,a){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(t,e,i,o,n,s){return a(r,t,e,i,o,n,s)}):"object"==typeof module&&module.exports?module.exports=a(r,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):r.Isotope=a(r,r.Outlayer,r.getSize,r.matchesSelector,r.fizzyUIUtils,r.Isotope.Item,r.Isotope.LayoutMode)}(window,function(t,i,e,o,s,n,r){var a=t.jQuery,u=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},h=i.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});h.Item=n,h.LayoutMode=r;var l=h.prototype;l._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),i.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,i.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=i.prototype._itemize.apply(this,arguments),e=0;e<t.length;e++){t[e].id=this.itemGUID++}return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?s.extend(e.options,i):i,this.modes[t]=new e(this)},l.layout=function(){this._isLayoutInited||!this._getOption("initLayout")?this._layout():this.arrange()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e},l._bindArrangeComplete=function(){var t,e,i,o=this;function n(){t&&e&&i&&o.dispatchEvent("arrangeComplete",null,[o.filteredItems])}this.once("layoutComplete",function(){t=!0,n()}),this.once("hideComplete",function(){e=!0,n()}),this.once("revealComplete",function(){i=!0,n()})},l._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],o=[],n=[],s=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var u=s(a);u&&i.push(a),u&&a.isHidden?o.push(a):u||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},l._getFilterTest=function(e){return a&&this.options.isJQueryFiltering?function(t){return a(t.element).is(e)}:"function"==typeof e?function(t){return e(t.element)}:function(t){return o(t.element,e)}},l.updateSortData=function(t){var e;e=t?(t=s.makeArray(t),this.getItems(t)):this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=d(i)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var d=function(t){if("string"!=typeof t)return t;var e=u(t).split(" "),i=e[0],o=i.match(/^\[(.+)\]$/),n=function(e,i){return e?function(t){return t.getAttribute(e)}:function(t){var e=t.querySelector(i);return e&&e.textContent}}(o&&o[1],i),s=h.sortDataParsers[e[1]];return t=s?function(t){return t&&s(n(t))}:function(t){return t&&n(t)}};h.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){if(this.options.sortBy){var t=s.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=function(r,a){return function(t,e){for(var i=0;i<r.length;i++){var o=r[i],n=t.sortData[o],s=e.sortData[o];if(s<n||n<s)return(s<n?1:-1)*((void 0!==a[o]?a[o]:a)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},l._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},l._resetLayout=function(){i.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i<n;i++)o=e[i],this.element.appendChild(o.element);var s=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var f=l.remove;return l.remove=function(t){t=s.makeArray(t);var e=this.getItems(t);f.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var n=e[o];s.removeFrom(this.filteredItems,n)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},l._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.apply(this,e);return this.options.transitionDuration=i,o},l.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},h});
8
  !function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)}(function(d){function e(){}function u(e,t){g.ev.on(n+e+w,t)}function p(e,t,n,i){var o=document.createElement("div");return o.className="mfp-"+e,n&&(o.innerHTML=n),i?t&&t.appendChild(o):(o=d(o),t&&o.appendTo(t)),o}function f(e,t){g.ev.triggerHandler(n+e,t),g.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),g.st.callbacks[e]&&g.st.callbacks[e].apply(g,d.isArray(t)?t:[t]))}function m(e){return e===t&&g.currTemplate.closeBtn||(g.currTemplate.closeBtn=d(g.st.closeMarkup.replace("%title%",g.st.tClose)),t=e),g.currTemplate.closeBtn}function r(){d.magnificPopup.instance||((g=new e).init(),d.magnificPopup.instance=g)}var g,i,h,o,v,t,l="Close",c="BeforeClose",y="MarkupParse",C="Open",a="Change",n="mfp",w="."+n,b="mfp-ready",s="mfp-removing",I="mfp-prevent-close",x=!!window.jQuery,k=d(window);e.prototype={constructor:e,init:function(){var e=navigator.appVersion;g.isLowIE=g.isIE8=document.all&&!document.addEventListener,g.isAndroid=/android/gi.test(e),g.isIOS=/iphone|ipad|ipod/gi.test(e),g.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),g.probablyMobile=g.isAndroid||g.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),h=d(document),g.popupsCache={}},open:function(e){var t;if(!1===e.isObj){g.items=e.items.toArray(),g.index=0;var n,i=e.items;for(t=0;t<i.length;t++)if((n=i[t]).parsed&&(n=n.el[0]),n===e.el[0]){g.index=t;break}}else g.items=d.isArray(e.items)?e.items:[e.items],g.index=e.index||0;if(!g.isOpen){g.types=[],v="",e.mainEl&&e.mainEl.length?g.ev=e.mainEl.eq(0):g.ev=h,e.key?(g.popupsCache[e.key]||(g.popupsCache[e.key]={}),g.currTemplate=g.popupsCache[e.key]):g.currTemplate={},g.st=d.extend(!0,{},d.magnificPopup.defaults,e),g.fixedContentPos="auto"===g.st.fixedContentPos?!g.probablyMobile:g.st.fixedContentPos,g.st.modal&&(g.st.closeOnContentClick=!1,g.st.closeOnBgClick=!1,g.st.showCloseBtn=!1,g.st.enableEscapeKey=!1),g.bgOverlay||(g.bgOverlay=p("bg").on("click"+w,function(){g.close()}),g.wrap=p("wrap").attr("tabindex",-1).on("click"+w,function(e){g._checkIfClose(e.target)&&g.close()}),g.container=p("container",g.wrap)),g.contentContainer=p("content"),g.st.preloader&&(g.preloader=p("preloader",g.container,g.st.tLoading));var o=d.magnificPopup.modules;for(t=0;t<o.length;t++){var r=o[t];r=r.charAt(0).toUpperCase()+r.slice(1),g["init"+r].call(g)}f("BeforeOpen"),g.st.showCloseBtn&&(g.st.closeBtnInside?(u(y,function(e,t,n,i){n.close_replaceWith=m(i.type)}),v+=" mfp-close-btn-in"):g.wrap.append(m())),g.st.alignTop&&(v+=" mfp-align-top"),g.fixedContentPos?g.wrap.css({overflow:g.st.overflowY,overflowX:"hidden",overflowY:g.st.overflowY}):g.wrap.css({top:k.scrollTop(),position:"absolute"}),!1!==g.st.fixedBgPos&&("auto"!==g.st.fixedBgPos||g.fixedContentPos)||g.bgOverlay.css({height:h.height(),position:"absolute"}),g.st.enableEscapeKey&&h.on("keyup"+w,function(e){27===e.keyCode&&g.close()}),k.on("resize"+w,function(){g.updateSize()}),g.st.closeOnContentClick||(v+=" mfp-auto-cursor"),v&&g.wrap.addClass(v);var a=g.wH=k.height(),s={};if(g.fixedContentPos&&g._hasScrollBar(a)){var l=g._getScrollbarSize();l&&(s.marginRight=l)}g.fixedContentPos&&(g.isIE7?d("body, html").css("overflow","hidden"):s.overflow="hidden");var c=g.st.mainClass;return g.isIE7&&(c+=" mfp-ie7"),c&&g._addClassToMFP(c),g.updateItemHTML(),f("BuildControls"),d("html").css(s),g.bgOverlay.add(g.wrap).prependTo(g.st.prependTo||d(document.body)),g._lastFocusedEl=document.activeElement,setTimeout(function(){g.content?(g._addClassToMFP(b),g._setFocus()):g.bgOverlay.addClass(b),h.on("focusin"+w,g._onFocusIn)},16),g.isOpen=!0,g.updateSize(a),f(C),e}g.updateItemHTML()},close:function(){g.isOpen&&(f(c),g.isOpen=!1,g.st.removalDelay&&!g.isLowIE&&g.supportsTransition?(g._addClassToMFP(s),setTimeout(function(){g._close()},g.st.removalDelay)):g._close())},_close:function(){f(l);var e=s+" "+b+" ";if(g.bgOverlay.detach(),g.wrap.detach(),g.container.empty(),g.st.mainClass&&(e+=g.st.mainClass+" "),g._removeClassFromMFP(e),g.fixedContentPos){var t={marginRight:""};g.isIE7?d("body, html").css("overflow",""):t.overflow="",d("html").css(t)}h.off("keyup.mfp focusin"+w),g.ev.off(w),g.wrap.attr("class","mfp-wrap").removeAttr("style"),g.bgOverlay.attr("class","mfp-bg"),g.container.attr("class","mfp-container"),!g.st.showCloseBtn||g.st.closeBtnInside&&!0!==g.currTemplate[g.currItem.type]||g.currTemplate.closeBtn&&g.currTemplate.closeBtn.detach(),g.st.autoFocusLast&&g._lastFocusedEl&&d(g._lastFocusedEl).focus(),g.currItem=null,g.content=null,g.currTemplate=null,g.prevHeight=0,f("AfterClose")},updateSize:function(e){if(g.isIOS){var t=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*t;g.wrap.css("height",n),g.wH=n}else g.wH=e||k.height();g.fixedContentPos||g.wrap.css("height",g.wH),f("Resize")},updateItemHTML:function(){var e=g.items[g.index];g.contentContainer.detach(),g.content&&g.content.detach(),e.parsed||(e=g.parseEl(g.index));var t=e.type;if(f("BeforeChange",[g.currItem?g.currItem.type:"",t]),g.currItem=e,!g.currTemplate[t]){var n=!!g.st[t]&&g.st[t].markup;f("FirstMarkupParse",n),g.currTemplate[t]=!n||d(n)}o&&o!==e.type&&g.container.removeClass("mfp-"+o+"-holder");var i=g["get"+t.charAt(0).toUpperCase()+t.slice(1)](e,g.currTemplate[t]);g.appendContent(i,t),e.preloaded=!0,f(a,e),o=e.type,g.container.prepend(g.contentContainer),f("AfterChange")},appendContent:function(e,t){(g.content=e)?g.st.showCloseBtn&&g.st.closeBtnInside&&!0===g.currTemplate[t]?g.content.find(".mfp-close").length||g.content.append(m()):g.content=e:g.content="",f("BeforeAppend"),g.container.addClass("mfp-"+t+"-holder"),g.contentContainer.append(g.content)},parseEl:function(e){var t,n=g.items[e];if((n=n.tagName?{el:d(n)}:(t=n.type,{data:n,src:n.src})).el){for(var i=g.types,o=0;o<i.length;o++)if(n.el.hasClass("mfp-"+i[o])){t=i[o];break}n.src=n.el.attr("data-mfp-src"),n.src||(n.src=n.el.attr("href"))}return n.type=t||g.st.type||"inline",n.index=e,n.parsed=!0,g.items[e]=n,f("ElementParse",n),g.items[e]},addGroup:function(t,n){function e(e){e.mfpEl=this,g._openClick(e,t,n)}var i="click.magnificPopup";(n=n||{}).mainEl=t,n.items?(n.isObj=!0,t.off(i).on(i,e)):(n.isObj=!1,n.delegate?t.off(i).on(i,n.delegate,e):(n.items=t).off(i).on(i,e))},_openClick:function(e,t,n){if((void 0!==n.midClick?n.midClick:d.magnificPopup.defaults.midClick)||!(2===e.which||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey)){var i=void 0!==n.disableOn?n.disableOn:d.magnificPopup.defaults.disableOn;if(i)if(d.isFunction(i)){if(!i.call(g))return!0}else if(k.width()<i)return!0;e.type&&(e.preventDefault(),g.isOpen&&e.stopPropagation()),n.el=d(e.mfpEl),n.delegate&&(n.items=t.find(n.delegate)),g.open(n)}},updateStatus:function(e,t){if(g.preloader){i!==e&&g.container.removeClass("mfp-s-"+i),t||"loading"!==e||(t=g.st.tLoading);var n={status:e,text:t};f("UpdateStatus",n),e=n.status,t=n.text,g.preloader.html(t),g.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),g.container.addClass("mfp-s-"+e),i=e}},_checkIfClose:function(e){if(!d(e).hasClass(I)){var t=g.st.closeOnContentClick,n=g.st.closeOnBgClick;if(t&&n)return!0;if(!g.content||d(e).hasClass("mfp-close")||g.preloader&&e===g.preloader[0])return!0;if(e===g.content[0]||d.contains(g.content[0],e)){if(t)return!0}else if(n&&d.contains(document,e))return!0;return!1}},_addClassToMFP:function(e){g.bgOverlay.addClass(e),g.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),g.wrap.removeClass(e)},_hasScrollBar:function(e){return(g.isIE7?h.height():document.body.scrollHeight)>(e||k.height())},_setFocus:function(){(g.st.focus?g.content.find(g.st.focus).eq(0):g.wrap).focus()},_onFocusIn:function(e){if(e.target!==g.wrap[0]&&!d.contains(g.wrap[0],e.target))return g._setFocus(),!1},_parseMarkup:function(o,e,t){var r;t.data&&(e=d.extend(t.data,e)),f(y,[o,e,t]),d.each(e,function(e,t){if(void 0===t||!1===t)return!0;if(1<(r=e.split("_")).length){var n=o.find(w+"-"+r[0]);if(0<n.length){var i=r[1];"replaceWith"===i?n[0]!==t[0]&&n.replaceWith(t):"img"===i?n.is("img")?n.attr("src",t):n.replaceWith(d("<img>").attr("src",t).attr("class",n.attr("class"))):n.attr(r[1],t)}}else o.find(w+"-"+e).html(t)})},_getScrollbarSize:function(){if(void 0===g.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),g.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return g.scrollbarSize}},d.magnificPopup={instance:null,proto:e.prototype,modules:[],open:function(e,t){return r(),(e=e?d.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return d.magnificPopup.instance&&d.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(d.magnificPopup.defaults[e]=t.options),d.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},d.fn.magnificPopup=function(e){r();var t=d(this);if("string"==typeof e)if("open"===e){var n,i=x?t.data("magnificPopup"):t[0].magnificPopup,o=parseInt(arguments[1],10)||0;n=i.items?i.items[o]:(n=t,i.delegate&&(n=n.find(i.delegate)),n.eq(o)),g._openClick({mfpEl:n},t,i)}else g.isOpen&&g[e].apply(g,Array.prototype.slice.call(arguments,1));else e=d.extend(!0,{},e),x?t.data("magnificPopup",e):t[0].magnificPopup=e,g.addGroup(t,e);return t};function T(){S&&(P.after(S.addClass(_)).detach(),S=null)}var _,P,S,E="inline";d.magnificPopup.registerModule(E,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){g.types.push(E),u(l+"."+E,function(){T()})},getInline:function(e,t){if(T(),e.src){var n=g.st.inline,i=d(e.src);if(i.length){var o=i[0].parentNode;o&&o.tagName&&(P||(_=n.hiddenClass,P=p(_),_="mfp-"+_),S=i.after(P).detach().removeClass(_)),g.updateStatus("ready")}else g.updateStatus("error",n.tNotFound),i=d("<div>");return e.inlineElement=i}return g.updateStatus("ready"),g._parseMarkup(t,{},e),t}}});function z(){M&&d(document.body).removeClass(M)}function O(){z(),g.req&&g.req.abort()}var M,B="ajax";d.magnificPopup.registerModule(B,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){g.types.push(B),M=g.st.ajax.cursor,u(l+"."+B,O),u("BeforeChange."+B,O)},getAjax:function(o){M&&d(document.body).addClass(M),g.updateStatus("loading");var e=d.extend({url:o.src,success:function(e,t,n){var i={data:e,xhr:n};f("ParseAjax",i),g.appendContent(d(i.data),B),o.finished=!0,z(),g._setFocus(),setTimeout(function(){g.wrap.addClass(b)},16),g.updateStatus("ready"),f("AjaxContentAdded")},error:function(){z(),o.finished=o.loadError=!0,g.updateStatus("error",g.st.ajax.tError.replace("%url%",o.src))}},g.st.ajax.settings);return g.req=d.ajax(e),""}}});var L;d.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=g.st.image,t=".image";g.types.push("image"),u(C+t,function(){"image"===g.currItem.type&&e.cursor&&d(document.body).addClass(e.cursor)}),u(l+t,function(){e.cursor&&d(document.body).removeClass(e.cursor),k.off("resize"+w)}),u("Resize"+t,g.resizeImage),g.isLowIE&&u("AfterChange",g.resizeImage)},resizeImage:function(){var e=g.currItem;if(e&&e.img&&g.st.image.verticalFit){var t=0;g.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",g.wH-t)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,L&&clearInterval(L),e.isCheckingImgSize=!1,f("ImageHasSize",e),e.imgHidden&&(g.content&&g.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(t){var n=0,i=t.img[0],o=function(e){L&&clearInterval(L),L=setInterval(function(){0<i.naturalWidth?g._onImageHasSize(t):(200<n&&clearInterval(L),3===++n?o(10):40===n?o(50):100===n&&o(500))},e)};o(1)},getImage:function(e,t){var n=0,i=function(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===g.currItem&&(g._onImageHasSize(e),g.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,f("ImageLoadComplete")):++n<200?setTimeout(i,100):o())},o=function(){e&&(e.img.off(".mfploader"),e===g.currItem&&(g._onImageHasSize(e),g.updateStatus("error",r.tError.replace("%url%",e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)},r=g.st.image,a=t.find(".mfp-img");if(a.length){var s=document.createElement("img");s.className="mfp-img",e.el&&e.el.find("img").length&&(s.alt=e.el.find("img").attr("alt")),e.img=d(s).on("load.mfploader",i).on("error.mfploader",o),s.src=e.src,a.is("img")&&(e.img=e.img.clone()),0<(s=e.img[0]).naturalWidth?e.hasSize=!0:s.width||(e.hasSize=!1)}return g._parseMarkup(t,{title:function(e){if(e.data&&void 0!==e.data.title)return e.data.title;var t=g.st.image.titleSrc;if(t){if(d.isFunction(t))return t.call(g,e);if(e.el)return e.el.attr(t)||""}return""}(e),img_replaceWith:e.img},e),g.resizeImage(),e.hasSize?(L&&clearInterval(L),e.loadError?(t.addClass("mfp-loading"),g.updateStatus("error",r.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),g.updateStatus("ready"))):(g.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),g.findImageSize(e))),t}}});var H;d.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,r=g.st.zoom,t=".zoom";if(r.enabled&&g.supportsTransition){function n(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+r.duration/1e3+"s "+r.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return i["-webkit-"+o]=i["-moz-"+o]=i["-o-"+o]=i[o]=n,t.css(i),t}function i(){g.content.css("visibility","visible")}var o,a,s=r.duration;u("BuildControls"+t,function(){if(g._allowZoom()){if(clearTimeout(o),g.content.css("visibility","hidden"),!(e=g._getItemToZoom()))return void i();(a=n(e)).css(g._getOffset()),g.wrap.append(a),o=setTimeout(function(){a.css(g._getOffset(!0)),o=setTimeout(function(){i(),setTimeout(function(){a.remove(),e=a=null,f("ZoomAnimationEnded")},16)},s)},16)}}),u(c+t,function(){if(g._allowZoom()){if(clearTimeout(o),g.st.removalDelay=s,!e){if(!(e=g._getItemToZoom()))return;a=n(e)}a.css(g._getOffset(!0)),g.wrap.append(a),g.content.css("visibility","hidden"),setTimeout(function(){a.css(g._getOffset())},16)}}),u(l+t,function(){g._allowZoom()&&(i(),a&&a.remove(),e=null)})}},_allowZoom:function(){return"image"===g.currItem.type},_getItemToZoom:function(){return!!g.currItem.hasSize&&g.currItem.img},_getOffset:function(e){var t,n=(t=e?g.currItem.img:g.st.zoom.opener(g.currItem.el||g.currItem)).offset(),i=parseInt(t.css("padding-top"),10),o=parseInt(t.css("padding-bottom"),10);n.top-=d(window).scrollTop()-i;var r={width:t.width(),height:(x?t.innerHeight():t[0].offsetHeight)-o-i};return void 0===H&&(H=void 0!==document.createElement("p").style.MozTransform),H?r["-moz-transform"]=r.transform="translate("+n.left+"px,"+n.top+"px)":(r.left=n.left,r.top=n.top),r}}});function A(e){if(g.currTemplate[F]){var t=g.currTemplate[F].find("iframe");t.length&&(e||(t[0].src="//about:blank"),g.isIE8&&t.css("display",e?"block":"none"))}}var F="iframe";d.magnificPopup.registerModule(F,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){g.types.push(F),u("BeforeChange",function(e,t,n){t!==n&&(t===F?A():n===F&&A(!0))}),u(l+"."+F,function(){A()})},getIframe:function(e,t){var n=e.src,i=g.st.iframe;d.each(i.patterns,function(){if(-1<n.indexOf(this.index))return this.id&&(n="string"==typeof this.id?n.substr(n.lastIndexOf(this.id)+this.id.length,n.length):this.id.call(this,n)),n=this.src.replace("%id%",n),!1});var o={};return i.srcAction&&(o[i.srcAction]=n),g._parseMarkup(t,o,e),g.updateStatus("ready"),t}}});function j(e){var t=g.items.length;return t-1<e?e-t:e<0?t+e:e}function N(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)}d.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var r=g.st.gallery,e=".mfp-gallery";if(g.direction=!0,!r||!r.enabled)return!1;v+=" mfp-gallery",u(C+e,function(){r.navigateByImgClick&&g.wrap.on("click"+e,".mfp-img",function(){if(1<g.items.length)return g.next(),!1}),h.on("keydown"+e,function(e){37===e.keyCode?g.prev():39===e.keyCode&&g.next()})}),u("UpdateStatus"+e,function(e,t){t.text&&(t.text=N(t.text,g.currItem.index,g.items.length))}),u(y+e,function(e,t,n,i){var o=g.items.length;n.counter=1<o?N(r.tCounter,i.index,o):""}),u("BuildControls"+e,function(){if(1<g.items.length&&r.arrows&&!g.arrowLeft){var e=r.arrowMarkup,t=g.arrowLeft=d(e.replace(/%title%/gi,r.tPrev).replace(/%dir%/gi,"left")).addClass(I),n=g.arrowRight=d(e.replace(/%title%/gi,r.tNext).replace(/%dir%/gi,"right")).addClass(I);t.click(function(){g.prev()}),n.click(function(){g.next()}),g.container.append(t.add(n))}}),u(a+e,function(){g._preloadTimeout&&clearTimeout(g._preloadTimeout),g._preloadTimeout=setTimeout(function(){g.preloadNearbyImages(),g._preloadTimeout=null},16)}),u(l+e,function(){h.off(e),g.wrap.off("click"+e),g.arrowRight=g.arrowLeft=null})},next:function(){g.direction=!0,g.index=j(g.index+1),g.updateItemHTML()},prev:function(){g.direction=!1,g.index=j(g.index-1),g.updateItemHTML()},goTo:function(e){g.direction=e>=g.index,g.index=e,g.updateItemHTML()},preloadNearbyImages:function(){var e,t=g.st.gallery.preload,n=Math.min(t[0],g.items.length),i=Math.min(t[1],g.items.length);for(e=1;e<=(g.direction?i:n);e++)g._preloadItem(g.index+e);for(e=1;e<=(g.direction?n:i);e++)g._preloadItem(g.index-e)},_preloadItem:function(e){if(e=j(e),!g.items[e].preloaded){var t=g.items[e];t.parsed||(t=g.parseEl(e)),f("LazyLoad",t),"image"===t.type&&(t.img=d('<img class="mfp-img" />').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,f("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0}}}});var W="retina";d.magnificPopup.registerModule(W,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(1<window.devicePixelRatio){var n=g.st.retina,i=n.ratio;1<(i=isNaN(i)?i():i)&&(u("ImageHasSize."+W,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/i,width:"100%"})}),u("ElementParse."+W,function(e,t){t.src=n.replaceSrc(t,i)}))}}}}),r()});
9
  !function(s){s.fn.eaelProgressBar=function(){var a=s(this),i=a.data("layout"),e=a.data("count"),r=a.data("duration");a.one("inview",function(){"line"==i?s(".eael-progressbar-line-fill",a).css({width:e+"%"}):"half_circle"==i&&s(".eael-progressbar-circle-half",a).css({transform:"rotate("+1.8*e+"deg)"}),s(".eael-progressbar-count",a).prop({counter:0}).animate({counter:e},{duration:r,easing:"linear",step:function(e){if("circle"==i){var r=3.6*e;s(".eael-progressbar-circle-half-left",a).css({transform:"rotate("+r+"deg)"}),180<r&&(s(".eael-progressbar-circle-pie",a).css({"clip-path":"inset(0)"}),s(".eael-progressbar-circle-half-right",a).css({visibility:"visible"}))}s(this).text(Math.ceil(e))}})})}}(jQuery);
10
  !function(t,i){"function"==typeof define&&define.amd?define(["jquery"],function(t){return i(t)}):"object"==typeof exports?module.exports=i(require("jquery")):i(jQuery)}(0,function(E){function t(){this.__$emitterPrivate=E({}),this.__$emitterPublic=E({}),this.__instancesLatestArr=[],this.__plugins={},this._env=I}var c={animation:"fade",animationDuration:350,content:null,contentAsHTML:!1,contentCloning:!1,debug:!0,delay:300,delayTouch:[300,500],functionInit:null,functionBefore:null,functionReady:null,functionAfter:null,functionFormat:null,IEmin:6,interactive:!1,multiple:!1,parent:null,plugins:["sideTip"],repositionOnScroll:!1,restoration:"none",selfDestruction:!0,theme:[],timer:0,trackerInterval:500,trackOrigin:!1,trackTooltip:!1,trigger:"hover",triggerClose:{click:!1,mouseleave:!1,originClick:!1,scroll:!1,tap:!1,touchleave:!1},triggerOpen:{click:!1,mouseenter:!1,tap:!1,touchstart:!1},updateAnimation:"rotate",zIndex:9999999},n="undefined"!=typeof window?window:null,I={hasTouchCapability:!(!n||!("ontouchstart"in n||n.DocumentTouch&&n.document instanceof n.DocumentTouch||n.navigator.maxTouchPoints)),hasTransitions:function(){if(!n)return!1;var t=(n.document.body||n.document.documentElement).style,i="transition",o=["Moz","Webkit","Khtml","O","ms"];if("string"==typeof t[i])return!0;i=i.charAt(0).toUpperCase()+i.substr(1);for(var e=0;e<o.length;e++)if("string"==typeof t[o[e]+i])return!0;return!1}(),IE:!1,semVer:"4.2.6",window:n};function i(t){this.$container,this.constraints=null,this.__$tooltip,this.__init(t)}function s(o,e){var n=!0;return E.each(o,function(t,i){if(void 0===e[t]||o[t]!==e[t])return n=!1}),n}function p(t){var i=t.attr("id"),o=i?I.window.document.getElementById(i):null;return o?o===t[0]:E.contains(I.window.document.body,t[0])}t.prototype={__bridge:function(t,o,e){if(!o[e]){function i(){}i.prototype=t;var n=new i;n.__init&&n.__init(o),E.each(t,function(t,i){0!=t.indexOf("__")&&(o[t]?c.debug&&console.log("The "+t+" method of the "+e+" plugin conflicts with another plugin or native methods"):(o[t]=function(){return n[t].apply(n,Array.prototype.slice.apply(arguments))},o[t].bridged=n))}),o[e]=n}return this},__setWindow:function(t){return I.window=t,this},_getRuler:function(t){return new i(t)},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_plugin:function(t){var i=this;if("string"==typeof t){var o=t,e=null;return 0<o.indexOf(".")?e=i.__plugins[o]:E.each(i.__plugins,function(t,i){if(i.name.substring(i.name.length-o.length-1)=="."+o)return e=i,!1}),e}if(t.name.indexOf(".")<0)throw new Error("Plugins must be namespaced");return(i.__plugins[t.name]=t).core&&i.__bridge(t.core,i,t.name),this},_trigger:function(){var t=Array.prototype.slice.apply(arguments);return"string"==typeof t[0]&&(t[0]={type:t[0]}),this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,t),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,t),this},instances:function(t){var e=[];return E(t||".tooltipstered").each(function(){var o=E(this),t=o.data("tooltipster-ns");t&&E.each(t,function(t,i){e.push(o.data(i))})}),e},instancesLatest:function(){return this.__instancesLatestArr},off:function(){return this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},origins:function(t){return E((t?t+" ":"")+".tooltipstered").toArray()},setDefaults:function(t){return E.extend(c,t),this},triggerHandler:function(){return this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},E.tooltipster=new t,E.Tooltipster=function(t,i){this.__callbacks={close:[],open:[]},this.__closingTime,this.__Content,this.__contentBcr,this.__destroyed=!1,this.__$emitterPrivate=E({}),this.__$emitterPublic=E({}),this.__enabled=!0,this.__garbageCollector,this.__Geometry,this.__lastPosition,this.__namespace="tooltipster-"+Math.round(1e6*Math.random()),this.__options,this.__$originParents,this.__pointerIsOverOrigin=!1,this.__previousThemes=[],this.__state="closed",this.__timeouts={close:[],open:null},this.__touchEvents=[],this.__tracker=null,this._$origin,this._$tooltip,this.__init(t,i)},E.Tooltipster.prototype={__init:function(t,i){var o=this;if(o._$origin=E(t),o.__options=E.extend(!0,{},c,i),o.__optionsFormat(),!I.IE||I.IE>=o.__options.IEmin){var e=null;if(void 0===o._$origin.data("tooltipster-initialTitle")&&(void 0===(e=o._$origin.attr("title"))&&(e=null),o._$origin.data("tooltipster-initialTitle",e)),null!==o.__options.content)o.__contentSet(o.__options.content);else{var n,s=o._$origin.attr("data-tooltip-content");s&&(n=E(s)),n&&n[0]?o.__contentSet(n.first()):o.__contentSet(e)}o._$origin.removeAttr("title").addClass("tooltipstered"),o.__prepareOrigin(),o.__prepareGC(),E.each(o.__options.plugins,function(t,i){o._plug(i)}),I.hasTouchCapability&&E(I.window.document.body).on("touchmove."+o.__namespace+"-triggerOpen",function(t){o._touchRecordEvent(t)}),o._on("created",function(){o.__prepareTooltip()})._on("repositioned",function(t){o.__lastPosition=t.position})}else o.__options.disabled=!0},__contentInsert:function(){var t=this,i=t._$tooltip.find(".tooltipster-content"),o=t.__Content;return t._trigger({type:"format",content:t.__Content,format:function(t){o=t}}),t.__options.functionFormat&&(o=t.__options.functionFormat.call(t,t,{origin:t._$origin[0]},t.__Content)),"string"!=typeof o||t.__options.contentAsHTML?i.empty().append(o):i.text(o),t},__contentSet:function(t){return t instanceof E&&this.__options.contentCloning&&(t=t.clone(!0)),this.__Content=t,this._trigger({type:"updated",content:t}),this},__destroyError:function(){throw new Error("This tooltip has been destroyed and cannot execute your method call.")},__geometry:function(){var t=this,i=t._$origin,o=t._$origin.is("area");if(o){var e=t._$origin.parent().attr("name");i=E('img[usemap="#'+e+'"]')}var n=i[0].getBoundingClientRect(),s=E(I.window.document),r=E(I.window),_=i,a={available:{document:null,window:null},document:{size:{height:s.height(),width:s.width()}},window:{scroll:{left:I.window.scrollX||I.window.document.documentElement.scrollLeft,top:I.window.scrollY||I.window.document.documentElement.scrollTop},size:{height:r.height(),width:r.width()}},origin:{fixedLineage:!1,offset:{},size:{height:n.bottom-n.top,width:n.right-n.left},usemapImage:o?i[0]:null,windowOffset:{bottom:n.bottom,left:n.left,right:n.right,top:n.top}}};if(o){var l=t._$origin.attr("shape"),p=t._$origin.attr("coords");if(p&&(p=p.split(","),E.map(p,function(t,i){p[i]=parseInt(t)})),"default"!=l)switch(l){case"circle":var c=p[0],h=p[1],d=p[2],u=h-d,g=c-d;a.origin.size.height=2*d,a.origin.size.width=a.origin.size.height,a.origin.windowOffset.left+=g,a.origin.windowOffset.top+=u;break;case"rect":var f=p[0],m=p[1],w=p[2],v=p[3];a.origin.size.height=v-m,a.origin.size.width=w-f,a.origin.windowOffset.left+=f,a.origin.windowOffset.top+=m;break;case"poly":for(var y=0,b=0,$=0,C=0,O="even",T=0;T<p.length;T++){var z=p[T];O="even"==O?($<z&&($=z,0===T&&(y=$)),z<y&&(y=z),"odd"):(C<z&&(C=z,1==T&&(b=C)),z<b&&(b=z),"even")}a.origin.size.height=C-b,a.origin.size.width=$-y,a.origin.windowOffset.left+=y,a.origin.windowOffset.top+=b}}for(t._trigger({type:"geometry",edit:function(t){a.origin.size.height=t.height,a.origin.windowOffset.left=t.left,a.origin.windowOffset.top=t.top,a.origin.size.width=t.width},geometry:{height:a.origin.size.height,left:a.origin.windowOffset.left,top:a.origin.windowOffset.top,width:a.origin.size.width}}),a.origin.windowOffset.right=a.origin.windowOffset.left+a.origin.size.width,a.origin.windowOffset.bottom=a.origin.windowOffset.top+a.origin.size.height,a.origin.offset.left=a.origin.windowOffset.left+a.window.scroll.left,a.origin.offset.top=a.origin.windowOffset.top+a.window.scroll.top,a.origin.offset.bottom=a.origin.offset.top+a.origin.size.height,a.origin.offset.right=a.origin.offset.left+a.origin.size.width,a.available.document={bottom:{height:a.document.size.height-a.origin.offset.bottom,width:a.document.size.width},left:{height:a.document.size.height,width:a.origin.offset.left},right:{height:a.document.size.height,width:a.document.size.width-a.origin.offset.right},top:{height:a.origin.offset.top,width:a.document.size.width}},a.available.window={bottom:{height:Math.max(a.window.size.height-Math.max(a.origin.windowOffset.bottom,0),0),width:a.window.size.width},left:{height:a.window.size.height,width:Math.max(a.origin.windowOffset.left,0)},right:{height:a.window.size.height,width:Math.max(a.window.size.width-Math.max(a.origin.windowOffset.right,0),0)},top:{height:Math.max(a.origin.windowOffset.top,0),width:a.window.size.width}};"html"!=_[0].tagName.toLowerCase();){if("fixed"==_.css("position")){a.origin.fixedLineage=!0;break}_=_.parent()}return a},__optionsFormat:function(){return"number"==typeof this.__options.animationDuration&&(this.__options.animationDuration=[this.__options.animationDuration,this.__options.animationDuration]),"number"==typeof this.__options.delay&&(this.__options.delay=[this.__options.delay,this.__options.delay]),"number"==typeof this.__options.delayTouch&&(this.__options.delayTouch=[this.__options.delayTouch,this.__options.delayTouch]),"string"==typeof this.__options.theme&&(this.__options.theme=[this.__options.theme]),null===this.__options.parent?this.__options.parent=E(I.window.document.body):"string"==typeof this.__options.parent&&(this.__options.parent=E(this.__options.parent)),"hover"==this.__options.trigger?(this.__options.triggerOpen={mouseenter:!0,touchstart:!0},this.__options.triggerClose={mouseleave:!0,originClick:!0,touchleave:!0}):"click"==this.__options.trigger&&(this.__options.triggerOpen={click:!0,tap:!0},this.__options.triggerClose={click:!0,tap:!0}),this._trigger("options"),this},__prepareGC:function(){var t=this;return t.__options.selfDestruction?t.__garbageCollector=setInterval(function(){var o=(new Date).getTime();t.__touchEvents=E.grep(t.__touchEvents,function(t,i){return 6e4<o-t.time}),p(t._$origin)||t.close(function(){t.destroy()})},2e4):clearInterval(t.__garbageCollector),t},__prepareOrigin:function(){var i=this;if(i._$origin.off("."+i.__namespace+"-triggerOpen"),I.hasTouchCapability&&i._$origin.on("touchstart."+i.__namespace+"-triggerOpen touchend."+i.__namespace+"-triggerOpen touchcancel."+i.__namespace+"-triggerOpen",function(t){i._touchRecordEvent(t)}),i.__options.triggerOpen.click||i.__options.triggerOpen.tap&&I.hasTouchCapability){var t="";i.__options.triggerOpen.click&&(t+="click."+i.__namespace+"-triggerOpen "),i.__options.triggerOpen.tap&&I.hasTouchCapability&&(t+="touchend."+i.__namespace+"-triggerOpen"),i._$origin.on(t,function(t){i._touchIsMeaningfulEvent(t)&&i._open(t)})}if(i.__options.triggerOpen.mouseenter||i.__options.triggerOpen.touchstart&&I.hasTouchCapability){t="";i.__options.triggerOpen.mouseenter&&(t+="mouseenter."+i.__namespace+"-triggerOpen "),i.__options.triggerOpen.touchstart&&I.hasTouchCapability&&(t+="touchstart."+i.__namespace+"-triggerOpen"),i._$origin.on(t,function(t){!i._touchIsTouchEvent(t)&&i._touchIsEmulatedEvent(t)||(i.__pointerIsOverOrigin=!0,i._openShortly(t))})}if(i.__options.triggerClose.mouseleave||i.__options.triggerClose.touchleave&&I.hasTouchCapability){t="";i.__options.triggerClose.mouseleave&&(t+="mouseleave."+i.__namespace+"-triggerOpen "),i.__options.triggerClose.touchleave&&I.hasTouchCapability&&(t+="touchend."+i.__namespace+"-triggerOpen touchcancel."+i.__namespace+"-triggerOpen"),i._$origin.on(t,function(t){i._touchIsMeaningfulEvent(t)&&(i.__pointerIsOverOrigin=!1)})}return i},__prepareTooltip:function(){var o=this,t=o.__options.interactive?"auto":"";return o._$tooltip.attr("id",o.__namespace).css({"pointer-events":t,zIndex:o.__options.zIndex}),E.each(o.__previousThemes,function(t,i){o._$tooltip.removeClass(i)}),E.each(o.__options.theme,function(t,i){o._$tooltip.addClass(i)}),o.__previousThemes=E.merge([],o.__options.theme),o},__scrollHandler:function(t){var i=this;if(i.__options.triggerClose.scroll)i._close(t);else if(p(i._$origin)&&p(i._$tooltip)){var r=null;if(t.target===I.window.document)i.__Geometry.origin.fixedLineage||i.__options.repositionOnScroll&&i.reposition(t);else{r=i.__geometry();var _=!1;if("fixed"!=i._$origin.css("position")&&i.__$originParents.each(function(t,i){var o=E(i),e=o.css("overflow-x"),n=o.css("overflow-y");if("visible"!=e||"visible"!=n){var s=i.getBoundingClientRect();if("visible"!=e&&(r.origin.windowOffset.left<s.left||r.origin.windowOffset.right>s.right))return!(_=!0);if("visible"!=n&&(r.origin.windowOffset.top<s.top||r.origin.windowOffset.bottom>s.bottom))return!(_=!0)}if("fixed"==o.css("position"))return!1}),_)i._$tooltip.css("visibility","hidden");else if(i._$tooltip.css("visibility","visible"),i.__options.repositionOnScroll)i.reposition(t);else{var o=r.origin.offset.left-i.__Geometry.origin.offset.left,e=r.origin.offset.top-i.__Geometry.origin.offset.top;i._$tooltip.css({left:i.__lastPosition.coord.left+o,top:i.__lastPosition.coord.top+e})}}i._trigger({type:"scroll",event:t,geo:r})}return i},__stateSet:function(t){return this.__state=t,this._trigger({type:"state",state:t}),this},__timeoutsClear:function(){return clearTimeout(this.__timeouts.open),this.__timeouts.open=null,E.each(this.__timeouts.close,function(t,i){clearTimeout(i)}),this.__timeouts.close=[],this},__trackerStart:function(){var e=this,n=e._$tooltip.find(".tooltipster-content");return e.__options.trackTooltip&&(e.__contentBcr=n[0].getBoundingClientRect()),e.__tracker=setInterval(function(){if(p(e._$origin)&&p(e._$tooltip)){if(e.__options.trackOrigin){var t=e.__geometry(),i=!1;s(t.origin.size,e.__Geometry.origin.size)&&(e.__Geometry.origin.fixedLineage?s(t.origin.windowOffset,e.__Geometry.origin.windowOffset)&&(i=!0):s(t.origin.offset,e.__Geometry.origin.offset)&&(i=!0)),i||(e.__options.triggerClose.mouseleave?e._close():e.reposition())}if(e.__options.trackTooltip){var o=n[0].getBoundingClientRect();o.height===e.__contentBcr.height&&o.width===e.__contentBcr.width||(e.reposition(),e.__contentBcr=o)}}else e._close()},e.__options.trackerInterval),e},_close:function(o,t,i){var e=this,n=!0;if(e._trigger({type:"close",event:o,stop:function(){n=!1}}),n||i){t&&e.__callbacks.close.push(t),e.__callbacks.open=[],e.__timeoutsClear();function s(){E.each(e.__callbacks.close,function(t,i){i.call(e,e,{event:o,origin:e._$origin[0]})}),e.__callbacks.close=[]}if("closed"!=e.__state){var r=!0,_=(new Date).getTime()+e.__options.animationDuration[1];if("disappearing"==e.__state&&_>e.__closingTime&&0<e.__options.animationDuration[1]&&(r=!1),r){e.__closingTime=_,"disappearing"!=e.__state&&e.__stateSet("disappearing");function a(){clearInterval(e.__tracker),e._trigger({type:"closing",event:o}),e._$tooltip.off("."+e.__namespace+"-triggerClose").removeClass("tooltipster-dying"),E(I.window).off("."+e.__namespace+"-triggerClose"),e.__$originParents.each(function(t,i){E(i).off("scroll."+e.__namespace+"-triggerClose")}),e.__$originParents=null,E(I.window.document.body).off("."+e.__namespace+"-triggerClose"),e._$origin.off("."+e.__namespace+"-triggerClose"),e._off("dismissable"),e.__stateSet("closed"),e._trigger({type:"after",event:o}),e.__options.functionAfter&&e.__options.functionAfter.call(e,e,{event:o,origin:e._$origin[0]}),s()}I.hasTransitions?(e._$tooltip.css({"-moz-animation-duration":e.__options.animationDuration[1]+"ms","-ms-animation-duration":e.__options.animationDuration[1]+"ms","-o-animation-duration":e.__options.animationDuration[1]+"ms","-webkit-animation-duration":e.__options.animationDuration[1]+"ms","animation-duration":e.__options.animationDuration[1]+"ms","transition-duration":e.__options.animationDuration[1]+"ms"}),e._$tooltip.clearQueue().removeClass("tooltipster-show").addClass("tooltipster-dying"),0<e.__options.animationDuration[1]&&e._$tooltip.delay(e.__options.animationDuration[1]),e._$tooltip.queue(a)):e._$tooltip.stop().fadeOut(e.__options.animationDuration[1],a)}}else s()}return e},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_open:function(t,i){var o=this;if(!o.__destroying&&p(o._$origin)&&o.__enabled){var e=!0;if("closed"==o.__state&&(o._trigger({type:"before",event:t,stop:function(){e=!1}}),e&&o.__options.functionBefore&&(e=o.__options.functionBefore.call(o,o,{event:t,origin:o._$origin[0]}))),!1!==e&&null!==o.__Content){i&&o.__callbacks.open.push(i),o.__callbacks.close=[],o.__timeoutsClear();function n(){"stable"!=o.__state&&o.__stateSet("stable"),E.each(o.__callbacks.open,function(t,i){i.call(o,o,{origin:o._$origin[0],tooltip:o._$tooltip[0]})}),o.__callbacks.open=[]}var s;if("closed"!==o.__state)s=0,"disappearing"===o.__state?(o.__stateSet("appearing"),I.hasTransitions?(o._$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-show"),0<o.__options.animationDuration[0]&&o._$tooltip.delay(o.__options.animationDuration[0]),o._$tooltip.queue(n)):o._$tooltip.stop().fadeIn(n)):"stable"==o.__state&&n();else{if(o.__stateSet("appearing"),s=o.__options.animationDuration[0],o.__contentInsert(),o.reposition(t,!0),I.hasTransitions?(o._$tooltip.addClass("tooltipster-"+o.__options.animation).addClass("tooltipster-initial").css({"-moz-animation-duration":o.__options.animationDuration[0]+"ms","-ms-animation-duration":o.__options.animationDuration[0]+"ms","-o-animation-duration":o.__options.animationDuration[0]+"ms","-webkit-animation-duration":o.__options.animationDuration[0]+"ms","animation-duration":o.__options.animationDuration[0]+"ms","transition-duration":o.__options.animationDuration[0]+"ms"}),setTimeout(function(){"closed"!=o.__state&&(o._$tooltip.addClass("tooltipster-show").removeClass("tooltipster-initial"),0<o.__options.animationDuration[0]&&o._$tooltip.delay(o.__options.animationDuration[0]),o._$tooltip.queue(n))},0)):o._$tooltip.css("display","none").fadeIn(o.__options.animationDuration[0],n),o.__trackerStart(),E(I.window).on("resize."+o.__namespace+"-triggerClose",function(t){var i=E(document.activeElement);(i.is("input")||i.is("textarea"))&&E.contains(o._$tooltip[0],i[0])||o.reposition(t)}).on("scroll."+o.__namespace+"-triggerClose",function(t){o.__scrollHandler(t)}),o.__$originParents=o._$origin.parents(),o.__$originParents.each(function(t,i){E(i).on("scroll."+o.__namespace+"-triggerClose",function(t){o.__scrollHandler(t)})}),o.__options.triggerClose.mouseleave||o.__options.triggerClose.touchleave&&I.hasTouchCapability){o._on("dismissable",function(t){t.dismissable?t.delay?(l=setTimeout(function(){o._close(t.event)},t.delay),o.__timeouts.close.push(l)):o._close(t):clearTimeout(l)});var r=o._$origin,_="",a="",l=null;o.__options.interactive&&(r=r.add(o._$tooltip)),o.__options.triggerClose.mouseleave&&(_+="mouseenter."+o.__namespace+"-triggerClose ",a+="mouseleave."+o.__namespace+"-triggerClose "),o.__options.triggerClose.touchleave&&I.hasTouchCapability&&(_+="touchstart."+o.__namespace+"-triggerClose",a+="touchend."+o.__namespace+"-triggerClose touchcancel."+o.__namespace+"-triggerClose"),r.on(a,function(t){if(o._touchIsTouchEvent(t)||!o._touchIsEmulatedEvent(t)){var i="mouseleave"==t.type?o.__options.delay:o.__options.delayTouch;o._trigger({delay:i[1],dismissable:!0,event:t,type:"dismissable"})}}).on(_,function(t){!o._touchIsTouchEvent(t)&&o._touchIsEmulatedEvent(t)||o._trigger({dismissable:!1,event:t,type:"dismissable"})})}o.__options.triggerClose.originClick&&o._$origin.on("click."+o.__namespace+"-triggerClose",function(t){o._touchIsTouchEvent(t)||o._touchIsEmulatedEvent(t)||o._close(t)}),(o.__options.triggerClose.click||o.__options.triggerClose.tap&&I.hasTouchCapability)&&setTimeout(function(){if("closed"!=o.__state){var t="",i=E(I.window.document.body);o.__options.triggerClose.click&&(t+="click."+o.__namespace+"-triggerClose "),o.__options.triggerClose.tap&&I.hasTouchCapability&&(t+="touchend."+o.__namespace+"-triggerClose"),i.on(t,function(t){o._touchIsMeaningfulEvent(t)&&(o._touchRecordEvent(t),o.__options.interactive&&E.contains(o._$tooltip[0],t.target)||o._close(t))}),o.__options.triggerClose.tap&&I.hasTouchCapability&&i.on("touchstart."+o.__namespace+"-triggerClose",function(t){o._touchRecordEvent(t)})}},0),o._trigger("ready"),o.__options.functionReady&&o.__options.functionReady.call(o,o,{origin:o._$origin[0],tooltip:o._$tooltip[0]})}if(0<o.__options.timer){l=setTimeout(function(){o._close()},o.__options.timer+s);o.__timeouts.close.push(l)}}}return o},_openShortly:function(t){var i=this,o=!0;if("stable"!=i.__state&&"appearing"!=i.__state&&!i.__timeouts.open&&(i._trigger({type:"start",event:t,stop:function(){o=!1}}),o)){var e=0==t.type.indexOf("touch")?i.__options.delayTouch:i.__options.delay;e[0]?i.__timeouts.open=setTimeout(function(){i.__timeouts.open=null,i.__pointerIsOverOrigin&&i._touchIsMeaningfulEvent(t)?(i._trigger("startend"),i._open(t)):i._trigger("startcancel")},e[0]):(i._trigger("startend"),i._open(t))}return i},_optionsExtract:function(t,i){var e=this,o=E.extend(!0,{},i),n=e.__options[t];return n||(n={},E.each(i,function(t,i){var o=e.__options[t];void 0!==o&&(n[t]=o)})),E.each(o,function(t,i){void 0!==n[t]&&("object"!=typeof i||i instanceof Array||null==i||"object"!=typeof n[t]||n[t]instanceof Array||null==n[t]?o[t]=n[t]:E.extend(o[t],n[t]))}),o},_plug:function(t){var i=E.tooltipster._plugin(t);if(!i)throw new Error('The "'+t+'" plugin is not defined');return i.instance&&E.tooltipster.__bridge(i.instance,this,i.name),this},_touchIsEmulatedEvent:function(t){for(var i=!1,o=(new Date).getTime(),e=this.__touchEvents.length-1;0<=e;e--){var n=this.__touchEvents[e];if(!(o-n.time<500))break;n.target===t.target&&(i=!0)}return i},_touchIsMeaningfulEvent:function(t){return this._touchIsTouchEvent(t)&&!this._touchSwiped(t.target)||!this._touchIsTouchEvent(t)&&!this._touchIsEmulatedEvent(t)},_touchIsTouchEvent:function(t){return 0==t.type.indexOf("touch")},_touchRecordEvent:function(t){return this._touchIsTouchEvent(t)&&(t.time=(new Date).getTime(),this.__touchEvents.push(t)),this},_touchSwiped:function(t){for(var i=!1,o=this.__touchEvents.length-1;0<=o;o--){var e=this.__touchEvents[o];if("touchmove"==e.type){i=!0;break}if("touchstart"==e.type&&t===e.target)break}return i},_trigger:function(){var t=Array.prototype.slice.apply(arguments);return"string"==typeof t[0]&&(t[0]={type:t[0]}),t[0].instance=this,t[0].origin=this._$origin?this._$origin[0]:null,t[0].tooltip=this._$tooltip?this._$tooltip[0]:null,this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,t),E.tooltipster._trigger.apply(E.tooltipster,t),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,t),this},_unplug:function(o){var e=this;if(e[o]){var t=E.tooltipster._plugin(o);t.instance&&E.each(t.instance,function(t,i){e[t]&&e[t].bridged===e[o]&&delete e[t]}),e[o].__destroy&&e[o].__destroy(),delete e[o]}return e},close:function(t){return this.__destroyed?this.__destroyError():this._close(null,t),this},content:function(t){var i=this;if(void 0===t)return i.__Content;if(i.__destroyed)i.__destroyError();else if(i.__contentSet(t),null!==i.__Content){if("closed"!==i.__state&&(i.__contentInsert(),i.reposition(),i.__options.updateAnimation))if(I.hasTransitions){var o=i.__options.updateAnimation;i._$tooltip.addClass("tooltipster-update-"+o),setTimeout(function(){"closed"!=i.__state&&i._$tooltip.removeClass("tooltipster-update-"+o)},1e3)}else i._$tooltip.fadeTo(200,.5,function(){"closed"!=i.__state&&i._$tooltip.fadeTo(200,1)})}else i._close();return i},destroy:function(){var o=this;if(o.__destroyed)o.__destroyError();else{"closed"!=o.__state?o.option("animationDuration",0)._close(null,null,!0):o.__timeoutsClear(),o._trigger("destroy"),o.__destroyed=!0,o._$origin.removeData(o.__namespace).off("."+o.__namespace+"-triggerOpen"),E(I.window.document.body).off("."+o.__namespace+"-triggerOpen");var t=o._$origin.data("tooltipster-ns");if(t)if(1===t.length){var i=null;"previous"==o.__options.restoration?i=o._$origin.data("tooltipster-initialTitle"):"current"==o.__options.restoration&&(i="string"==typeof o.__Content?o.__Content:E("<div></div>").append(o.__Content).html()),i&&o._$origin.attr("title",i),o._$origin.removeClass("tooltipstered"),o._$origin.removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else t=E.grep(t,function(t,i){return t!==o.__namespace}),o._$origin.data("tooltipster-ns",t);o._trigger("destroyed"),o._off(),o.off(),o.__Content=null,o.__$emitterPrivate=null,o.__$emitterPublic=null,o.__options.parent=null,o._$origin=null,o._$tooltip=null,E.tooltipster.__instancesLatestArr=E.grep(E.tooltipster.__instancesLatestArr,function(t,i){return o!==t}),clearInterval(o.__garbageCollector)}return o},disable:function(){return this.__destroyed?this.__destroyError():(this._close(),this.__enabled=!1),this},elementOrigin:function(){if(!this.__destroyed)return this._$origin[0];this.__destroyError()},elementTooltip:function(){return this._$tooltip?this._$tooltip[0]:null},enable:function(){return this.__enabled=!0,this},hide:function(t){return this.close(t)},instance:function(){return this},off:function(){return this.__destroyed||this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},open:function(t){return this.__destroyed?this.__destroyError():this._open(null,t),this},option:function(t,i){return void 0===i?this.__options[t]:(this.__destroyed?this.__destroyError():(this.__options[t]=i,this.__optionsFormat(),0<=E.inArray(t,["trigger","triggerClose","triggerOpen"])&&this.__prepareOrigin(),"selfDestruction"===t&&this.__prepareGC()),this)},reposition:function(t,i){var o=this;return o.__destroyed?o.__destroyError():"closed"!=o.__state&&p(o._$origin)&&(i||p(o._$tooltip))&&(i||o._$tooltip.detach(),o.__Geometry=o.__geometry(),o._trigger({type:"reposition",event:t,helper:{geo:o.__Geometry}})),o},show:function(t){return this.open(t)},status:function(){return{destroyed:this.__destroyed,enabled:this.__enabled,open:"closed"!==this.__state,state:this.__state}},triggerHandler:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},E.fn.tooltipster=function(){var n=Array.prototype.slice.apply(arguments),e="You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE.";if(0===this.length)return this;if("string"==typeof n[0]){var s="#*$~&";return this.each(function(){var t=E(this).data("tooltipster-ns"),i=t?E(this).data(t[0]):null;if(!i)throw new Error("You called Tooltipster's \""+n[0]+'" method on an uninitialized element');if("function"!=typeof i[n[0]])throw new Error('Unknown method "'+n[0]+'"');1<this.length&&"content"==n[0]&&(n[1]instanceof E||"object"==typeof n[1]&&null!=n[1]&&n[1].tagName)&&!i.__options.contentCloning&&i.__options.debug&&console.log(e);var o=i[n[0]](n[1],n[2]);if(o!==i||"instance"===n[0])return s=o,!1}),"#*$~&"!==s?s:this}E.tooltipster.__instancesLatestArr=[];var t=n[0]&&void 0!==n[0].multiple,r=t&&n[0].multiple||!t&&c.multiple,i=n[0]&&void 0!==n[0].content,o=i&&n[0].content||!i&&c.content,_=n[0]&&void 0!==n[0].contentCloning,a=_&&n[0].contentCloning||!_&&c.contentCloning,l=n[0]&&void 0!==n[0].debug,p=l&&n[0].debug||!l&&c.debug;return 1<this.length&&(o instanceof E||"object"==typeof o&&null!=o&&o.tagName)&&!a&&p&&console.log(e),this.each(function(){var t=!1,i=E(this),o=i.data("tooltipster-ns"),e=null;o?r?t=!0:p&&(console.log("Tooltipster: one or more tooltips are already attached to the element below. Ignoring."),console.log(this)):t=!0,t&&(e=new E.Tooltipster(this,n[0]),(o=o||[]).push(e.__namespace),i.data("tooltipster-ns",o),i.data(e.__namespace,e),e.__options.functionInit&&e.__options.functionInit.call(e,e,{origin:this}),e._trigger("init")),E.tooltipster.__instancesLatestArr.push(e)}),this},i.prototype={__init:function(t){this.__$tooltip=t,this.__$tooltip.css({left:0,overflow:"hidden",position:"absolute",top:0}).find(".tooltipster-content").css("overflow","auto"),this.$container=E('<div class="tooltipster-ruler"></div>').append(this.__$tooltip).appendTo(I.window.document.body)},__forceRedraw:function(){var t=this.__$tooltip.parent();this.__$tooltip.detach(),this.__$tooltip.appendTo(t)},constrain:function(t,i){return this.constraints={width:t,height:i},this.__$tooltip.css({display:"block",height:"",overflow:"auto",width:t}),this},destroy:function(){this.__$tooltip.detach().find(".tooltipster-content").css({display:"",overflow:""}),this.$container.remove()},free:function(){return this.constraints=null,this.__$tooltip.css({display:"",height:"",overflow:"visible",width:""}),this},measure:function(){this.__forceRedraw();var t=this.__$tooltip[0].getBoundingClientRect(),i={size:{height:t.height||t.bottom-t.top,width:t.width||t.right-t.left}};if(this.constraints){var o=this.__$tooltip.find(".tooltipster-content"),e=this.__$tooltip.outerHeight(),n=o[0].getBoundingClientRect(),s={height:e<=this.constraints.height,width:t.width<=this.constraints.width&&n.width>=o[0].scrollWidth-1};i.fits=s.height&&s.width}return I.IE&&I.IE<=11&&i.size.width!==I.window.document.documentElement.clientWidth&&(i.size.width=Math.ceil(i.size.width)+1),i}};var o=navigator.userAgent.toLowerCase();-1!=o.indexOf("msie")?I.IE=parseInt(o.split("msie")[1]):-1!==o.toLowerCase().indexOf("trident")&&-1!==o.indexOf(" rv:11")?I.IE=11:-1!=o.toLowerCase().indexOf("edge/")&&(I.IE=parseInt(o.toLowerCase().split("edge/")[1]));var e="tooltipster.sideTip";return E.tooltipster._plugin({name:e,instance:{__defaults:function(){return{arrow:!0,distance:6,functionPosition:null,maxWidth:null,minIntersection:16,minWidth:0,position:null,side:"top",viewportAware:!0}},__init:function(t){var i=this;i.__instance=t,i.__namespace="tooltipster-sideTip-"+Math.round(1e6*Math.random()),i.__previousState="closed",i.__options,i.__optionsFormat(),i.__instance._on("state."+i.__namespace,function(t){"closed"==t.state?i.__close():"appearing"==t.state&&"closed"==i.__previousState&&i.__create(),i.__previousState=t.state}),i.__instance._on("options."+i.__namespace,function(){i.__optionsFormat()}),i.__instance._on("reposition."+i.__namespace,function(t){i.__reposition(t.event,t.helper)})},__close:function(){this.__instance.content()instanceof E&&this.__instance.content().detach(),this.__instance._$tooltip.remove(),this.__instance._$tooltip=null},__create:function(){var t=E('<div class="tooltipster-base tooltipster-sidetip"><div class="tooltipster-box"><div class="tooltipster-content"></div></div><div class="tooltipster-arrow"><div class="tooltipster-arrow-uncropped"><div class="tooltipster-arrow-border"></div><div class="tooltipster-arrow-background"></div></div></div></div>');this.__options.arrow||t.find(".tooltipster-box").css("margin",0).end().find(".tooltipster-arrow").hide(),this.__options.minWidth&&t.css("min-width",this.__options.minWidth+"px"),this.__options.maxWidth&&t.css("max-width",this.__options.maxWidth+"px"),this.__instance._$tooltip=t,this.__instance._trigger("created")},__destroy:function(){this.__instance._off("."+self.__namespace)},__optionsFormat:function(){var t=this;if(t.__options=t.__instance._optionsExtract(e,t.__defaults()),t.__options.position&&(t.__options.side=t.__options.position),"object"!=typeof t.__options.distance&&(t.__options.distance=[t.__options.distance]),t.__options.distance.length<4&&(void 0===t.__options.distance[1]&&(t.__options.distance[1]=t.__options.distance[0]),void 0===t.__options.distance[2]&&(t.__options.distance[2]=t.__options.distance[0]),void 0===t.__options.distance[3]&&(t.__options.distance[3]=t.__options.distance[1]),t.__options.distance={top:t.__options.distance[0],right:t.__options.distance[1],bottom:t.__options.distance[2],left:t.__options.distance[3]}),"string"==typeof t.__options.side){t.__options.side=[t.__options.side,{top:"bottom",right:"left",bottom:"top",left:"right"}[t.__options.side]],"left"==t.__options.side[0]||"right"==t.__options.side[0]?t.__options.side.push("top","bottom"):t.__options.side.push("right","left")}6===E.tooltipster._env.IE&&!0!==t.__options.arrow&&(t.__options.arrow=!1)},__reposition:function(a,l){var i,p=this,c=p.__targetFind(l),h=[];p.__instance._$tooltip.detach();var o=p.__instance._$tooltip.clone(),d=E.tooltipster._getRuler(o),u=!1,t=p.__instance.option("animation");switch(t&&o.removeClass("tooltipster-"+t),E.each(["window","document"],function(t,n){var s=null;if(p.__instance._trigger({container:n,helper:l,satisfied:u,takeTest:function(t){s=t},results:h,type:"positionTest"}),1==s||0!=s&&0==u&&("window"!=n||p.__options.viewportAware))for(t=0;t<p.__options.side.length;t++){var r={horizontal:0,vertical:0},_=p.__options.side[t];"top"==_||"bottom"==_?r.vertical=p.__options.distance[_]:r.horizontal=p.__options.distance[_],p.__sideChange(o,_),E.each(["natural","constrained"],function(t,i){if(s=null,p.__instance._trigger({container:n,event:a,helper:l,mode:i,results:h,satisfied:u,side:_,takeTest:function(t){s=t},type:"positionTest"}),1==s||0!=s&&0==u){var o={container:n,distance:r,fits:null,mode:i,outerSize:null,side:_,size:null,target:c[_],whole:null},e=("natural"==i?d.free():d.constrain(l.geo.available[n][_].width-r.horizontal,l.geo.available[n][_].height-r.vertical)).measure();if(o.size=e.size,o.outerSize={height:e.size.height+r.vertical,width:e.size.width+r.horizontal},"natural"==i?l.geo.available[n][_].width>=o.outerSize.width&&l.geo.available[n][_].height>=o.outerSize.height?o.fits=!0:o.fits=!1:o.fits=e.fits,"window"==n&&(o.fits?o.whole="top"==_||"bottom"==_?l.geo.origin.windowOffset.right>=p.__options.minIntersection&&l.geo.window.size.width-l.geo.origin.windowOffset.left>=p.__options.minIntersection:l.geo.origin.windowOffset.bottom>=p.__options.minIntersection&&l.geo.window.size.height-l.geo.origin.windowOffset.top>=p.__options.minIntersection:o.whole=!1),h.push(o),o.whole)u=!0;else if("natural"==o.mode&&(o.fits||o.size.width<=l.geo.available[n][_].width))return!1}})}}),p.__instance._trigger({edit:function(t){h=t},event:a,helper:l,results:h,type:"positionTested"}),h.sort(function(t,i){return t.whole&&!i.whole?-1:!t.whole&&i.whole?1:t.whole&&i.whole?(o=p.__options.side.indexOf(t.side))<(e=p.__options.side.indexOf(i.side))?-1:e<o?1:"natural"==t.mode?-1:1:t.fits&&!i.fits?-1:!t.fits&&i.fits?1:t.fits&&i.fits?(o=p.__options.side.indexOf(t.side))<(e=p.__options.side.indexOf(i.side))?-1:e<o?1:"natural"==t.mode?-1:1:"document"==t.container&&"bottom"==t.side&&"natural"==t.mode?-1:1;var o,e}),(i=h[0]).coord={},i.side){case"left":case"right":i.coord.top=Math.floor(i.target-i.size.height/2);break;case"bottom":case"top":i.coord.left=Math.floor(i.target-i.size.width/2)}switch(i.side){case"left":i.coord.left=l.geo.origin.windowOffset.left-i.outerSize.width;break;case"right":i.coord.left=l.geo.origin.windowOffset.right+i.distance.horizontal;break;case"top":i.coord.top=l.geo.origin.windowOffset.top-i.outerSize.height;break;case"bottom":i.coord.top=l.geo.origin.windowOffset.bottom+i.distance.vertical}"window"==i.container?"top"==i.side||"bottom"==i.side?i.coord.left<0?0<=l.geo.origin.windowOffset.right-this.__options.minIntersection?i.coord.left=0:i.coord.left=l.geo.origin.windowOffset.right-this.__options.minIntersection-1:i.coord.left>l.geo.window.size.width-i.size.width&&(l.geo.origin.windowOffset.left+this.__options.minIntersection<=l.geo.window.size.width?i.coord.left=l.geo.window.size.width-i.size.width:i.coord.left=l.geo.origin.windowOffset.left+this.__options.minIntersection+1-i.size.width):i.coord.top<0?0<=l.geo.origin.windowOffset.bottom-this.__options.minIntersection?i.coord.top=0:i.coord.top=l.geo.origin.windowOffset.bottom-this.__options.minIntersection-1:i.coord.top>l.geo.window.size.height-i.size.height&&(l.geo.origin.windowOffset.top+this.__options.minIntersection<=l.geo.window.size.height?i.coord.top=l.geo.window.size.height-i.size.height:i.coord.top=l.geo.origin.windowOffset.top+this.__options.minIntersection+1-i.size.height):(i.coord.left>l.geo.window.size.width-i.size.width&&(i.coord.left=l.geo.window.size.width-i.size.width),i.coord.left<0&&(i.coord.left=0)),p.__sideChange(o,i.side),l.tooltipClone=o[0],l.tooltipParent=p.__instance.option("parent").parent[0],l.mode=i.mode,l.whole=i.whole,l.origin=p.__instance._$origin[0],l.tooltip=p.__instance._$tooltip[0],delete i.container,delete i.fits,delete i.mode,delete i.outerSize,delete i.whole,i.distance=i.distance.horizontal||i.distance.vertical;var e,n,s,r=E.extend(!0,{},i);if(p.__instance._trigger({edit:function(t){i=t},event:a,helper:l,position:r,type:"position"}),p.__options.functionPosition){var _=p.__options.functionPosition.call(p,p.__instance,l,r);_&&(i=_)}d.destroy(),n="top"==i.side||"bottom"==i.side?(e={prop:"left",val:i.target-i.coord.left},i.size.width-this.__options.minIntersection):(e={prop:"top",val:i.target-i.coord.top},i.size.height-this.__options.minIntersection),e.val<this.__options.minIntersection?e.val=this.__options.minIntersection:e.val>n&&(e.val=n),s=l.geo.origin.fixedLineage?l.geo.origin.windowOffset:{left:l.geo.origin.windowOffset.left+l.geo.window.scroll.left,top:l.geo.origin.windowOffset.top+l.geo.window.scroll.top},i.coord={left:s.left+(i.coord.left-l.geo.origin.windowOffset.left),top:s.top+(i.coord.top-l.geo.origin.windowOffset.top)},p.__sideChange(p.__instance._$tooltip,i.side),l.geo.origin.fixedLineage?p.__instance._$tooltip.css("position","fixed"):p.__instance._$tooltip.css("position",""),p.__instance._$tooltip.css({left:i.coord.left,top:i.coord.top,height:i.size.height,width:i.size.width}).find(".tooltipster-arrow").css({left:"",top:""}).css(e.prop,e.val),p.__instance._$tooltip.appendTo(p.__instance.option("parent")),p.__instance._trigger({type:"repositioned",event:a,position:i})},__sideChange:function(t,i){t.removeClass("tooltipster-bottom").removeClass("tooltipster-left").removeClass("tooltipster-right").removeClass("tooltipster-top").addClass("tooltipster-"+i)},__targetFind:function(t){var i={},o=this.__instance._$origin[0].getClientRects();1<o.length&&1==this.__instance._$origin.css("opacity")&&(this.__instance._$origin.css("opacity",.99),o=this.__instance._$origin[0].getClientRects(),this.__instance._$origin.css("opacity",1));if(o.length<2)i.top=Math.floor(t.geo.origin.windowOffset.left+t.geo.origin.size.width/2),i.bottom=i.top,i.left=Math.floor(t.geo.origin.windowOffset.top+t.geo.origin.size.height/2),i.right=i.left;else{var e=o[0];i.top=Math.floor(e.left+(e.right-e.left)/2),e=2<o.length?o[Math.ceil(o.length/2)-1]:o[0],i.right=Math.floor(e.top+(e.bottom-e.top)/2),e=o[o.length-1],i.bottom=Math.floor(e.left+(e.right-e.left)/2),e=2<o.length?o[Math.ceil((o.length+1)/2)-1]:o[o.length-1],i.left=Math.floor(e.top+(e.bottom-e.top)/2)}return i}}}),E});
11
+ !function(r){"use strict";r(document).on("click",".eael-load-more-button",function(a){a.preventDefault(),a.stopPropagation(),a.stopImmediatePropagation();var o=r(this),s=r("span",o).html(),e=o.data("widget"),n=r(".elementor-element-"+e),t=o.data("class"),l=o.data("args"),p=o.data("settings"),d=o.data("layout"),i=parseInt(o.data("page"))+1;o.addClass("button--loading"),r("span",o).html("Loading..."),r.ajax({url:localize.ajaxurl,type:"post",data:{action:"load_more",class:t,args:l,settings:p,page:i},success:function(a){var e=r(a);if(e.hasClass("no-posts-found")||0==e.length)o.remove();else{if(r(".eael-post-appender",n).append(e),"masonry"==d){var t=r(".eael-post-appender",n).isotope();t.isotope("appended",e).isotope("layout"),t.imagesLoaded().progress(function(){t.isotope("layout")})}o.removeClass("button--loading"),r("span",o).html(s),o.data("page",i)}},error:function(a){console.log(a)}})})}(jQuery);
12
  var AdvAccordionHandler=function(e,n){var a=e.find(".eael-adv-accordion"),o=e.find(".eael-accordion-header"),d=a.data("accordion-type"),t=a.data("toogle-speed");o.each(function(){n(this).hasClass("active-default")&&(n(this).addClass("show active"),n(this).next().slideDown(t))}),o.unbind("click"),o.click(function(e){e.preventDefault();var a=n(this);"accordion"===d?a.hasClass("show")?(a.removeClass("show active"),a.next().slideUp(t)):(a.parent().parent().find(".eael-accordion-header").removeClass("show active"),a.parent().parent().find(".eael-accordion-content").slideUp(t),a.toggleClass("show active"),a.next().slideToggle(t)):a.hasClass("show")?(a.removeClass("show active"),a.next().slideUp(t)):(a.addClass("show active"),a.next().slideDown(t))})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-adv-accordion.default",AdvAccordionHandler)});
13
  var AdvanceTabHandler=function(a,s){var e="#"+a.find(".eael-advance-tabs").attr("id").toString();s(e+" .eael-tabs-nav ul li").each(function(a){s(this).hasClass("active-default")?(s(e+" .eael-tabs-nav > ul li").removeClass("active").addClass("inactive"),s(this).removeClass("inactive")):0==a&&s(this).removeClass("inactive").addClass("active")}),s(e+" .eael-tabs-content div").each(function(a){s(this).hasClass("active-default")?s(e+" .eael-tabs-content > div").removeClass("active"):0==a&&s(this).removeClass("inactive").addClass("active")}),s(e+" .eael-tabs-nav ul li").click(function(){var a=s(this).index(),e=s(this).closest(".eael-advance-tabs"),t=s(e).children(".eael-tabs-nav").children("ul").children("li"),i=s(e).children(".eael-tabs-content").children("div");s(this).parent("li").addClass("active"),s(t).removeClass("active active-default").addClass("inactive"),s(this).addClass("active").removeClass("inactive"),s(i).removeClass("active").addClass("inactive"),s(i).eq(a).addClass("active").removeClass("inactive"),s(i).each(function(a){s(this).removeClass("active-default")})})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-adv-tabs.default",AdvanceTabHandler)});
14
  var ContentTicker=function(a,e){var t=a.find(".eael-content-ticker").eq(0),o=void 0!==t.data("items")?t.data("items"):1,i=void 0!==t.data("items-tablet")?t.data("items-tablet"):1,n=void 0!==t.data("items-mobile")?t.data("items-mobile"):1,d=void 0!==t.data("margin")?t.data("margin"):10,r=void 0!==t.data("margin-tablet")?t.data("margin-tablet"):10,l=void 0!==t.data("margin-mobile")?t.data("margin-mobile"):10,s=void 0!==t.data("effect")?t.data("effect"):"slide",p=void 0!==t.data("speed")?t.data("speed"):400,v=void 0!==t.data("autoplay")?t.data("autoplay"):5e3,c=void 0!==t.data("loop")&&t.data("loop"),u=void 0!==t.data("grab-cursor")&&t.data("grab-cursor"),m=void 0!==t.data("pagination")?t.data("pagination"):".swiper-pagination",w=void 0!==t.data("arrow-next")?t.data("arrow-next"):".swiper-button-next",b=void 0!==t.data("arrow-prev")?t.data("arrow-prev"):".swiper-button-prev",g=void 0!==t.data("pause-on-hover")?t.data("pause-on-hover"):"",f=new Swiper(t,{direction:"horizontal",loop:c,speed:p,effect:s,slidesPerView:o,spaceBetween:d,grabCursor:u,paginationClickable:!0,autoHeight:!0,autoplay:{delay:v},pagination:{el:m,clickable:!0},navigation:{nextEl:w,prevEl:b},breakpoints:{480:{slidesPerView:n,spaceBetween:l},768:{slidesPerView:i,spaceBetween:r}}});0===v&&f.autoplay.stop(),g&&0!==v&&(t.on("mouseenter",function(){f.autoplay.stop()}),t.on("mouseleave",function(){f.autoplay.start()}))};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-content-ticker.default",ContentTicker)});
15
  var CountDown=function(e,t){var n=e.find(".eael-countdown-wrapper").eq(0),d=void 0!==n.data("countdown-id")?n.data("countdown-id"):"",o=void 0!==n.data("expire-type")?n.data("expire-type"):"",a=void 0!==n.data("expiry-text")?n.data("expiry-text"):"",i=void 0!==n.data("expiry-title")?n.data("expiry-title"):"",r=void 0!==n.data("redirect-url")?n.data("redirect-url"):"",l=void 0!==n.data("template")?n.data("template"):"";jQuery(document).ready(function(e){"use strict";var t=e("#eael-countdown-"+d);t.countdown({end:function(){if("text"==o)t.html('<div class="eael-countdown-finish-message"><h4 class="expiry-title">'+i+'</h4><div class="eael-countdown-finish-text">'+a+"</div></div>");else if("url"===o){0<e("body").find("#elementor").length?t.html("Your Page will be redirected to given URL (only on Frontend)."):window.location.href=r}else"template"===o&&t.html(l)}})})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-countdown.default",CountDown)});
16
  var dataTable=function(e,n){var t=e.find(".eael-data-table-wrap");t.data("table_id");if("undefined"!=typeof enableProSorter&&n.isFunction(enableProSorter)&&n(document).ready(function(){enableProSorter(jQuery,t)}),1==t.data("custom_responsive")){var a=e.find(".eael-data-table").find("th");e.find(".eael-data-table").find("tbody").find("tr").each(function(e,t){n(t).find("td .td-content-wrapper").each(function(e,t){n(this).prepend('<div class="th-mobile-screen">'+a.eq(e).html()+"</div>")})})}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-data-table.default",dataTable)});
17
  var FancyText=function(t,e){var a=t.find(".eael-fancy-text-container").eq(0),n=void 0!==a.data("fancy-text-id")?a.data("fancy-text-id"):"",o=void 0!==a.data("fancy-text")?a.data("fancy-text"):"",d=void 0!==a.data("fancy-text-transition-type")?a.data("fancy-text-transition-type"):"",i=void 0!==a.data("fancy-text-speed")?a.data("fancy-text-speed"):"",y=void 0!==a.data("fancy-text-delay")?a.data("fancy-text-delay"):"",c=void 0!==a.data("fancy-text-cursor"),f=void 0!==a.data("fancy-text-loop")&&"yes"==a.data("fancy-text-loop");o=o.split("|"),"typing"==d&&e("#eael-fancy-text-"+n).typed({strings:o,typeSpeed:i,backSpeed:0,startDelay:300,backDelay:y,showCursor:c,loop:f}),"typing"!=d&&e("#eael-fancy-text-"+n).Morphext({animation:d,separator:", ",speed:y,complete:function(){}}),jQuery(window).on("load",function(){setTimeout(function(){e(".eael-fancy-text-strings",t).css("display","inline-block")},500)})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-fancy-text.default",FancyText)});
 
18
  !function(n){window.isEditMode=!1,n(window).on("elementor/frontend/init",function(){window.isEditMode=elementorFrontend.isEditMode()})}(jQuery);
19
+ var filterableGalleryHandler=function(s,d){if(!isEditMode){var c=d(".eael-filter-gallery-container",s),e=c.data("settings"),f=c.data("gallery-items"),a="masonry"==e.grid_style?"masonry":"fitRows",g="yes"==e.gallery_enabled,m=c.isotope({itemSelector:".eael-filterable-gallery-item-wrap",layoutMode:a,percentPosition:!0,stagger:30,transitionDuration:e.duration+"ms",filter:d(".eael-filter-gallery-control .control.active",s).data("filter")});m.imagesLoaded().progress(function(){m.isotope("layout")}),m.on("arrangeComplete",function(){m.isotope("layout")}),d(window).on("load",function(){m.isotope("layout")}),s.on("click",".control",function(){var e=d(this),a=e.data("filter");e.siblings().removeClass("active"),e.addClass("active"),m.isotope({filter:a})}),d(".eael-magnific-link",s).magnificPopup({type:"image",gallery:{enabled:g},callbacks:{close:function(){d("#elementor-lightbox").hide()}}}),d(s).magnificPopup({delegate:".eael-magnific-video-link",type:"iframe",callbacks:{close:function(){d("#elementor-lightbox").hide()}}}),s.on("click",".eael-gallery-load-more",function(e){e.preventDefault();var a=d(this),l=d(".eael-filter-gallery-container",s).children(".eael-filterable-gallery-item-wrap").length,t=c.data("total-gallery-items"),i=c.data("images-per-page"),o=c.data("nomore-item-text"),n=[];l==t&&(a.html('<div class="no-more-items-text">'+o+"</div>"),setTimeout(function(){a.fadeOut("slow")},600));for(var r=l;r<l+i;r++)n.push(d(f[r])[0]);c.append(n),m.isotope("appended",n),m.imagesLoaded().progress(function(){m.isotope("layout")}),d(".eael-magnific-link",s).magnificPopup({type:"image",gallery:{enabled:g},callbacks:{close:function(){d("#elementor-lightbox").hide()}}})})}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-filterable-gallery.default",filterableGalleryHandler)});
20
  var ImageAccordion=function(e,a){var o=e.find(".eael-img-accordion").eq(0),i=void 0!==o.data("img-accordion-id")?o.data("img-accordion-id"):"";"on-click"===(void 0!==o.data("img-accordion-type")?o.data("img-accordion-type"):"")&&(a("#eael-img-accordion-"+i+" a").on("click",function(e){0==a(this).hasClass("overlay-active")&&e.preventDefault(),a("#eael-img-accordion-"+i+" a").css("flex","1"),a(this).find(".overlay").parent("a").addClass("overlay-active"),a("#eael-img-accordion-"+i+" a").find(".overlay-inner").removeClass("overlay-inner-show"),a(this).find(".overlay-inner").addClass("overlay-inner-show"),a(this).css("flex","3")}),a("#eael-img-accordion-"+i+" a").on("blur",function(e){a("#eael-img-accordion-"+i+" a").css("flex","1"),a("#eael-img-accordion-"+i+" a").find(".overlay-inner").removeClass("overlay-inner-show"),a(this).find(".overlay").parent("a").removeClass("overlay-active")}))};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-image-accordion.default",ImageAccordion)});
21
+ var PostGrid=function(e,o){var t=o(".eael-post-appender",e).isotope({itemSelector:".eael-grid-post",masonry:{columnWidth:".eael-post-grid-column",percentPosition:!0}});t.imagesLoaded().progress(function(){t.isotope("layout")})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-post-grid.default",PostGrid)});
 
22
  var PricingTooltip=function(t,a){if(a.fn.tooltipster){var i,o=t.find(".tooltip");for(i=0;i<o.length;i++){var e=a("#"+a(o[i]).attr("id")),n=void 0!==e.data("side")&&e.data("side"),d=void 0!==e.data("trigger")?e.data("trigger"):"hover",r=void 0!==e.data("animation")?e.data("animation"):"fade",l=void 0!==e.data("animation_duration")?e.data("animation_duration"):300,f=void 0!==e.data("theme")?e.data("theme"):"default",m="yes"==e.data("arrow");e.tooltipster({animation:r,trigger:d,side:n,delay:l,arrow:m,theme:"tooltipster-"+f})}}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-pricing-table.default",PricingTooltip)});
 
23
  jQuery(document).ready(function(){jQuery(window).scroll(function(){var e=(document.body.scrollTop||document.documentElement.scrollTop)/(document.documentElement.scrollHeight-document.documentElement.clientHeight)*100;jQuery(".eael-reading-progress-fill").css({width:e+"%"})}),isEditMode&&(elementor.settings.page.addChangeCallback("eael_ext_reading_progress",function(e){var r=elementor.settings.page.getSettings();"yes"==e?(0==jQuery(".eael-reading-progress-wrap").length&&jQuery("body").append('<div class="eael-reading-progress-wrap eael-reading-progress-wrap-local"><div class="eael-reading-progress eael-reading-progress-local eael-reading-progress-'+r.settings.eael_ext_reading_progress_position+'"><div class="eael-reading-progress-fill"></div></div><div class="eael-reading-progress eael-reading-progress-global eael-reading-progress-'+r.settings.eael_ext_reading_progress_position+'"><div class="eael-reading-progress-fill"></div></div></div>'),jQuery(".eael-reading-progress-wrap").addClass("eael-reading-progress-wrap-local").removeClass("eael-reading-progress-wrap-global eael-reading-progress-wrap-disabled")):(jQuery(".eael-reading-progress-wrap").removeClass("eael-reading-progress-wrap-local eael-reading-progress-wrap-global"),1==r.settings.eael_ext_reading_progress_has_global?jQuery(".eael-reading-progress-wrap").addClass("eael-reading-progress-wrap-global"):jQuery(".eael-reading-progress-wrap").addClass("eael-reading-progress-wrap-disabled"))}),elementor.settings.page.addChangeCallback("eael_ext_reading_progress_position",function(e){elementor.settings.page.setSettings("eael_ext_reading_progress_position",e),jQuery(".eael-reading-progress").removeClass("eael-reading-progress-top eael-reading-progress-bottom").addClass("eael-reading-progress-"+e)}))});
24
+ var ProgressBar=function(e,r){r(".eael-progressbar",e).eaelProgressBar()};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-progress-bar.default",ProgressBar)});
25
+ var TwitterFeedHandler=function(e,t){isEditMode||($gutter=t(".eael-twitter-feed-masonry",e).data("gutter"),$settings={itemSelector:".eael-twitter-feed-item",percentPosition:!0,masonry:{columnWidth:".eael-twitter-feed-item",gutter:$gutter}},$twitter_feed_gallery=t(".eael-twitter-feed-masonry",e).isotope($settings),$twitter_feed_gallery.imagesLoaded().progress(function(){$twitter_feed_gallery.isotope("layout")}))};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-twitter-feed.default",TwitterFeedHandler)});
assets/front-end/js/post-grid/index.js CHANGED
@@ -1,64 +1,21 @@
1
- var PostGrid = function ($scope, $) {
2
-
3
- var container = $('.eael-post-grid-container').eq(0),
4
- $options = container.data('post_grid_options'),
5
- $settings = container.data('post_grid_settings');
6
-
7
-
8
- var options = {
9
- totalPosts : parseInt($options.totalPosts),
10
- loadMoreBtn : $( $options.loadMoreBtn ),
11
- postContainer: $( $options.postContainer ),
12
- postStyle : 'grid'
13
- }
14
-
15
- var exclude_posts = JSON.parse($settings.exclude_posts),
16
- tax_query = JSON.parse($settings.tax_query),
17
- post__in = JSON.parse($settings.post__in);
18
-
19
- var settings = {
20
- postType : $settings.postType,
21
- perPage : parseInt($settings.perPage),
22
- postOrder : $settings.postOrder,
23
- orderBy : $settings.orderBy,
24
- showImage : parseInt($settings.showImage),
25
- imageSize : $settings.imageSize,
26
- showTitle : parseInt($settings.showTitle),
27
- showExcerpt : parseInt($settings.showExcerpt),
28
- showMeta : parseInt($settings.showMeta),
29
- offset : $settings.offset,
30
- metaPosition : $settings.metaPosition,
31
- excerptLength : $settings.excerptLength,
32
- btnText : $settings.btnText,
33
- tax_query : tax_query,
34
- exclude_posts : exclude_posts,
35
- post__in : post__in,
36
- grid_style : $settings.grid_style,
37
- hover_animation: $settings.hover_animation,
38
- hover_icon: $settings.hover_icon,
39
- show_read_more_button: $settings.eael_show_read_more_button,
40
- read_more_button_text: $settings.read_more_button_text
41
- }
42
-
43
- eaelLoadMore( options, settings );
44
-
45
-
46
- var $gallery = $('.eael-post-grid:not(.eael-post-carousel)').isotope({
47
- itemSelector: '.eael-grid-post',
48
- percentPosition: true,
49
- columnWidth: '.eael-post-grid-column'
50
  });
51
 
52
  // layout gal, while images are loading
53
  $gallery.imagesLoaded().progress(function() {
54
  $gallery.isotope("layout");
55
  });
56
-
57
- }
58
 
59
  jQuery(window).on("elementor/frontend/init", function() {
60
  elementorFrontend.hooks.addAction(
61
  "frontend/element_ready/eael-post-grid.default",
62
  PostGrid
63
  );
64
- });
1
+ var PostGrid = function($scope, $) {
2
+ var $gallery = $(".eael-post-appender", $scope).isotope({
3
+ itemSelector: ".eael-grid-post",
4
+ masonry: {
5
+ columnWidth: ".eael-post-grid-column",
6
+ percentPosition: true
7
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  });
9
 
10
  // layout gal, while images are loading
11
  $gallery.imagesLoaded().progress(function() {
12
  $gallery.isotope("layout");
13
  });
14
+ };
 
15
 
16
  jQuery(window).on("elementor/frontend/init", function() {
17
  elementorFrontend.hooks.addAction(
18
  "frontend/element_ready/eael-post-grid.default",
19
  PostGrid
20
  );
21
+ });
assets/front-end/js/post-grid/index.min.js CHANGED
@@ -1 +1 @@
1
- var PostGrid=function(e,t){var o=t(".eael-post-grid-container").eq(0),r=o.data("post_grid_options"),s=o.data("post_grid_settings"),a={totalPosts:parseInt(r.totalPosts),loadMoreBtn:t(r.loadMoreBtn),postContainer:t(r.postContainer),postStyle:"grid"},n=JSON.parse(s.exclude_posts),i=JSON.parse(s.tax_query),p=JSON.parse(s.post__in),d={postType:s.postType,perPage:parseInt(s.perPage),postOrder:s.postOrder,orderBy:s.orderBy,showImage:parseInt(s.showImage),imageSize:s.imageSize,showTitle:parseInt(s.showTitle),showExcerpt:parseInt(s.showExcerpt),showMeta:parseInt(s.showMeta),offset:s.offset,metaPosition:s.metaPosition,excerptLength:s.excerptLength,btnText:s.btnText,tax_query:i,exclude_posts:n,post__in:p,grid_style:s.grid_style,hover_animation:s.hover_animation,hover_icon:s.hover_icon,show_read_more_button:s.eael_show_read_more_button,read_more_button_text:s.read_more_button_text};eaelLoadMore(a,d);var _=t(".eael-post-grid:not(.eael-post-carousel)").isotope({itemSelector:".eael-grid-post",percentPosition:!0,columnWidth:".eael-post-grid-column"});_.imagesLoaded().progress(function(){_.isotope("layout")})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-post-grid.default",PostGrid)});
1
+ var PostGrid=function(e,o){var t=o(".eael-post-appender",e).isotope({itemSelector:".eael-grid-post",masonry:{columnWidth:".eael-post-grid-column",percentPosition:!0}});t.imagesLoaded().progress(function(){t.isotope("layout")})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-post-grid.default",PostGrid)});
assets/front-end/js/post-timeline/index.js DELETED
@@ -1,53 +0,0 @@
1
- var postTimelineHandler = function($scope, $) {
2
- var $_this = $scope.find(".eael-post-timeline"),
3
- $currentTimelineId = "#" + $_this.attr("id"),
4
- $total_posts = parseInt($_this.data("total_posts"), 10),
5
- $timeline_id = $_this.data("timeline_id"),
6
- $post_type = $_this.data("post_type"),
7
- $posts_per_page = parseInt($_this.data("posts_per_page"), 10),
8
- $post_order = $_this.data("post_order"),
9
- $post_orderby = $_this.data("post_orderby"),
10
- $post_offset = parseInt($_this.data("post_offset"), 10),
11
- $show_images = $_this.data("show_images"),
12
- $image_size = $_this.data("image_size"),
13
- $show_title = $_this.data("show_title"),
14
- $show_excerpt = $_this.data("show_excerpt"),
15
- $excerpt_length = parseInt($_this.data("excerpt_length"), 10),
16
- $btn_text = $_this.data("btn_text"),
17
- $tax_query = $_this.data("tax_query"),
18
- $post__in = $_this.data("post__in"),
19
- $exclude_posts = $_this.data("exclude_posts");
20
-
21
- var options = {
22
- totalPosts: $total_posts,
23
- loadMoreBtn: $("#eael-load-more-btn-" + $timeline_id),
24
- postContainer: $(".eael-post-appender-" + $timeline_id),
25
- postStyle: "timeline"
26
- };
27
-
28
- var settings = {
29
- postType: $post_type,
30
- perPage: $posts_per_page,
31
- postOrder: $post_order,
32
- orderBy: $post_orderby,
33
- offset: $post_offset,
34
-
35
- showImage: $show_images,
36
- imageSize: $image_size,
37
- showTitle: $show_title,
38
- showExcerpt: $show_excerpt,
39
- excerptLength: parseInt($excerpt_length, 10),
40
- btnText: $btn_text,
41
- tax_query: $tax_query,
42
- post__in: $post__in,
43
- exclude_posts: $exclude_posts
44
- };
45
-
46
- eaelLoadMore(options, settings);
47
- };
48
- jQuery(window).on("elementor/frontend/init", function() {
49
- elementorFrontend.hooks.addAction(
50
- "frontend/element_ready/eael-post-timeline.default",
51
- postTimelineHandler
52
- );
53
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/front-end/js/post-timeline/index.min.js DELETED
@@ -1 +0,0 @@
1
- var postTimelineHandler=function(e,t){var a=e.find(".eael-post-timeline"),o=(a.attr("id"),parseInt(a.data("total_posts"),10)),n=a.data("timeline_id"),s=a.data("post_type"),d=parseInt(a.data("posts_per_page"),10),r=a.data("post_order"),p=a.data("post_orderby"),i=parseInt(a.data("post_offset"),10),l=a.data("show_images"),_=a.data("image_size"),m=a.data("show_title"),f=a.data("show_excerpt"),x=parseInt(a.data("excerpt_length"),10),c=a.data("btn_text"),h=a.data("tax_query"),y=a.data("post__in"),g=a.data("exclude_posts"),u={totalPosts:o,loadMoreBtn:t("#eael-load-more-btn-"+n),postContainer:t(".eael-post-appender-"+n),postStyle:"timeline"},w={postType:s,perPage:d,postOrder:r,orderBy:p,offset:i,showImage:l,imageSize:_,showTitle:m,showExcerpt:f,excerptLength:parseInt(x,10),btnText:c,tax_query:h,post__in:y,exclude_posts:g};eaelLoadMore(u,w)};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-post-timeline.default",postTimelineHandler)});
 
assets/front-end/js/twitter-feed/index.js CHANGED
@@ -1,21 +1,25 @@
1
  var TwitterFeedHandler = function($scope, $) {
2
- $gutter = $(".eael-twitter-feed-masonry", $scope).data('gutter');
3
- $settings = {
4
- itemSelector: ".eael-twitter-feed-item",
5
- percentPosition: true,
6
- masonry: {
7
- columnWidth: ".eael-twitter-feed-item",
8
- gutter: $gutter
9
- }
10
- };
 
11
 
12
- // init isotope
13
- $twitter_feed_gallery = $(".eael-twitter-feed-masonry", $scope).isotope($settings);
 
 
14
 
15
- // layout gal, while images are loading
16
- $twitter_feed_gallery.imagesLoaded().progress(function() {
17
- $twitter_feed_gallery.isotope("layout");
18
- });
 
19
  };
20
 
21
  jQuery(window).on("elementor/frontend/init", function() {
1
  var TwitterFeedHandler = function($scope, $) {
2
+ if (!isEditMode) {
3
+ $gutter = $(".eael-twitter-feed-masonry", $scope).data("gutter");
4
+ $settings = {
5
+ itemSelector: ".eael-twitter-feed-item",
6
+ percentPosition: true,
7
+ masonry: {
8
+ columnWidth: ".eael-twitter-feed-item",
9
+ gutter: $gutter
10
+ }
11
+ };
12
 
13
+ // init isotope
14
+ $twitter_feed_gallery = $(".eael-twitter-feed-masonry", $scope).isotope(
15
+ $settings
16
+ );
17
 
18
+ // layout gal, while images are loading
19
+ $twitter_feed_gallery.imagesLoaded().progress(function() {
20
+ $twitter_feed_gallery.isotope("layout");
21
+ });
22
+ }
23
  };
24
 
25
  jQuery(window).on("elementor/frontend/init", function() {
assets/front-end/js/twitter-feed/index.min.js CHANGED
@@ -1 +1 @@
1
- var TwitterFeedHandler=function(e,t){$gutter=t(".eael-twitter-feed-masonry",e).data("gutter"),$settings={itemSelector:".eael-twitter-feed-item",percentPosition:!0,masonry:{columnWidth:".eael-twitter-feed-item",gutter:$gutter}},$twitter_feed_gallery=t(".eael-twitter-feed-masonry",e).isotope($settings),$twitter_feed_gallery.imagesLoaded().progress(function(){$twitter_feed_gallery.isotope("layout")})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-twitter-feed.default",TwitterFeedHandler)});
1
+ var TwitterFeedHandler=function(e,t){isEditMode||($gutter=t(".eael-twitter-feed-masonry",e).data("gutter"),$settings={itemSelector:".eael-twitter-feed-item",percentPosition:!0,masonry:{columnWidth:".eael-twitter-feed-item",gutter:$gutter}},$twitter_feed_gallery=t(".eael-twitter-feed-masonry",e).isotope($settings),$twitter_feed_gallery.imagesLoaded().progress(function(){$twitter_feed_gallery.isotope("layout")}))};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/eael-twitter-feed.default",TwitterFeedHandler)});
assets/front-end/js/vendor/load-more/load-more.js CHANGED
@@ -1,119 +1,63 @@
1
- (function($) {
2
  "use strict";
3
 
4
- window.eaelLoadMore = function(options, settings) {
5
- // Default Values for Load More Js
6
- var optionsValue = {
7
- totalPosts: options.totalPosts,
8
- loadMoreBtn: options.loadMoreBtn,
9
- postContainer: $(options.postContainer),
10
- postStyle: options.postStyle // block, grid, timeline,
11
- };
12
-
13
- // Settings Values
14
- var settingsValue = {
15
- postType: settings.postType,
16
- perPage: settings.perPage,
17
- postOrder: settings.postOrder,
18
- orderBy: settings.orderBy,
19
- showImage: settings.showImage,
20
- showTitle: settings.showTitle,
21
- showExcerpt: settings.showExcerpt,
22
- showMeta: settings.showMeta,
23
- imageSize: settings.imageSize,
24
- metaPosition: settings.metaPosition,
25
- excerptLength: settings.excerptLength,
26
- btnText: settings.btnText,
27
-
28
- tax_query: settings.tax_query,
29
-
30
- post__in: settings.post__in,
31
- excludePosts: settings.exclude_posts,
32
- offset: parseInt(settings.offset, 10),
33
- grid_style: settings.grid_style || "",
34
- hover_animation: settings.hover_animation,
35
- hover_icon: settings.hover_icon,
36
- show_read_more_button: settings.show_read_more_button,
37
- read_more_button_text: settings.read_more_button_text
38
- };
39
-
40
- var offset = settingsValue.offset + settingsValue.perPage;
41
-
42
- optionsValue.loadMoreBtn.on("click", function(e) {
43
- e.preventDefault();
44
-
45
- $(this).addClass("button--loading");
46
- $(this)
47
- .find("span")
48
- .html("Loading...");
49
-
50
- $.ajax({
51
- url: localize.ajaxurl,
52
- type: "post",
53
- data: {
54
- action: "load_more",
55
- post_style: optionsValue.postStyle,
56
- eael_show_image: settingsValue.showImage,
57
- image_size: settingsValue.imageSize,
58
- eael_show_title: settingsValue.showTitle,
59
- eael_show_meta: settingsValue.showMeta,
60
- meta_position: settingsValue.metaPosition,
61
-
62
- eael_show_excerpt: settingsValue.showExcerpt,
63
- eael_excerpt_length: settingsValue.excerptLength,
64
-
65
- post_type: settingsValue.postType,
66
- posts_per_page: settingsValue.perPage,
67
- offset: offset,
68
-
69
- tax_query: settingsValue.tax_query,
70
-
71
- post__not_in: settingsValue.excludePosts,
72
-
73
- post__in: settingsValue.post__in,
74
-
75
- orderby: settingsValue.orderBy,
76
- order: settingsValue.postOrder,
77
- grid_style: settingsValue.grid_style,
78
- eael_post_grid_hover_animation:
79
- settingsValue.hover_animation,
80
- eael_post_grid_bg_hover_icon: settingsValue.hover_icon,
81
- eael_show_read_more_button: settingsValue.show_read_more_button,
82
- read_more_button_text: settingsValue.read_more_button_text
83
- },
84
- beforeSend: function() {
85
- // _this.html('<i class="fa fa-spinner fa-spin"></i>&nbsp;Saving Data..');
86
- },
87
- success: function(response) {
88
- var $content = $(response);
89
- if (optionsValue.postStyle === "grid") {
90
- setTimeout(function() {
91
- optionsValue.postContainer.masonry();
92
- optionsValue.postContainer
93
- .append($content)
94
- .masonry("appended", $content);
95
- optionsValue.postContainer.masonry({
96
- itemSelector: ".eael-grid-post",
97
- percentPosition: true,
98
- columnWidth: ".eael-post-grid-column"
99
- });
100
- }, 100);
101
- } else {
102
- optionsValue.postContainer.append($content);
103
  }
104
- optionsValue.loadMoreBtn.removeClass("button--loading");
105
- optionsValue.loadMoreBtn
106
- .find("span")
107
- .html(settingsValue.btnText);
108
 
109
- offset = offset + settingsValue.perPage;
 
110
 
111
- if (offset >= optionsValue.totalPosts) {
112
- optionsValue.loadMoreBtn.remove();
113
- }
114
- },
115
- error: function() {}
116
- });
117
  });
118
- };
119
  })(jQuery);
1
+ (function ($) {
2
  "use strict";
3
 
4
+ $(document).on("click", ".eael-load-more-button", function (e) {
5
+ e.preventDefault();
6
+ e.stopPropagation();
7
+ e.stopImmediatePropagation();
8
+
9
+ var $this = $(this),
10
+ $text = $("span", $this).html(),
11
+ $widget_id = $this.data("widget"),
12
+ $scope = $(".elementor-element-" + $widget_id),
13
+ $class = $this.data("class"),
14
+ $args = $this.data("args"),
15
+ $settings = $this.data("settings"),
16
+ $layout = $this.data("layout"),
17
+ $page = parseInt($this.data("page")) + 1;
18
+
19
+ $this.addClass("button--loading");
20
+ $("span", $this).html("Loading...");
21
+
22
+ $.ajax({
23
+ url: localize.ajaxurl,
24
+ type: "post",
25
+ data: {
26
+ action: "load_more",
27
+ class: $class,
28
+ args: $args,
29
+ settings: $settings,
30
+ page: $page
31
+ },
32
+ success: function (response) {
33
+ var $content = $(response);
34
+
35
+ if (
36
+ $content.hasClass("no-posts-found") ||
37
+ $content.length == 0
38
+ ) {
39
+ $this.remove();
40
+ } else {
41
+ $(".eael-post-appender", $scope).append($content);
42
+
43
+ if ($layout == "masonry") {
44
+ var $isotope = $(".eael-post-appender", $scope).isotope();
45
+ $isotope.isotope("appended", $content).isotope("layout");
46
+
47
+ $isotope.imagesLoaded().progress(function() {
48
+ $isotope.isotope("layout");
49
+ });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  }
 
 
 
 
51
 
52
+ $this.removeClass("button--loading");
53
+ $("span", $this).html($text);
54
 
55
+ $this.data("page", $page);
56
+ }
57
+ },
58
+ error: function (response) {
59
+ console.log(response);
60
+ }
61
  });
62
+ });
63
  })(jQuery);
assets/front-end/js/vendor/load-more/load-more.min.js CHANGED
@@ -1 +1 @@
1
- !function(s){"use strict";window.eaelLoadMore=function(e,t){var o={totalPosts:e.totalPosts,loadMoreBtn:e.loadMoreBtn,postContainer:s(e.postContainer),postStyle:e.postStyle},r={postType:t.postType,perPage:t.perPage,postOrder:t.postOrder,orderBy:t.orderBy,showImage:t.showImage,showTitle:t.showTitle,showExcerpt:t.showExcerpt,showMeta:t.showMeta,imageSize:t.imageSize,metaPosition:t.metaPosition,excerptLength:t.excerptLength,btnText:t.btnText,tax_query:t.tax_query,post__in:t.post__in,excludePosts:t.exclude_posts,offset:parseInt(t.offset,10),grid_style:t.grid_style||"",hover_animation:t.hover_animation,hover_icon:t.hover_icon,show_read_more_button:t.show_read_more_button,read_more_button_text:t.read_more_button_text},a=r.offset+r.perPage;o.loadMoreBtn.on("click",function(e){e.preventDefault(),s(this).addClass("button--loading"),s(this).find("span").html("Loading..."),s.ajax({url:localize.ajaxurl,type:"post",data:{action:"load_more",post_style:o.postStyle,eael_show_image:r.showImage,image_size:r.imageSize,eael_show_title:r.showTitle,eael_show_meta:r.showMeta,meta_position:r.metaPosition,eael_show_excerpt:r.showExcerpt,eael_excerpt_length:r.excerptLength,post_type:r.postType,posts_per_page:r.perPage,offset:a,tax_query:r.tax_query,post__not_in:r.excludePosts,post__in:r.post__in,orderby:r.orderBy,order:r.postOrder,grid_style:r.grid_style,eael_post_grid_hover_animation:r.hover_animation,eael_post_grid_bg_hover_icon:r.hover_icon,eael_show_read_more_button:r.show_read_more_button,read_more_button_text:r.read_more_button_text},beforeSend:function(){},success:function(e){var t=s(e);"grid"===o.postStyle?setTimeout(function(){o.postContainer.masonry(),o.postContainer.append(t).masonry("appended",t),o.postContainer.masonry({itemSelector:".eael-grid-post",percentPosition:!0,columnWidth:".eael-post-grid-column"})},100):o.postContainer.append(t),o.loadMoreBtn.removeClass("button--loading"),o.loadMoreBtn.find("span").html(r.btnText),(a+=r.perPage)>=o.totalPosts&&o.loadMoreBtn.remove()},error:function(){}})})}}(jQuery);
1
+ !function(r){"use strict";r(document).on("click",".eael-load-more-button",function(a){a.preventDefault(),a.stopPropagation(),a.stopImmediatePropagation();var o=r(this),s=r("span",o).html(),e=o.data("widget"),n=r(".elementor-element-"+e),t=o.data("class"),l=o.data("args"),p=o.data("settings"),d=o.data("layout"),i=parseInt(o.data("page"))+1;o.addClass("button--loading"),r("span",o).html("Loading..."),r.ajax({url:localize.ajaxurl,type:"post",data:{action:"load_more",class:t,args:l,settings:p,page:i},success:function(a){var e=r(a);if(e.hasClass("no-posts-found")||0==e.length)o.remove();else{if(r(".eael-post-appender",n).append(e),"masonry"==d){var t=r(".eael-post-appender",n).isotope();t.isotope("appended",e).isotope("layout"),t.imagesLoaded().progress(function(){t.isotope("layout")})}o.removeClass("button--loading"),r("span",o).html(s),o.data("page",i)}},error:function(a){console.log(a)}})})}(jQuery);
config.php CHANGED
@@ -27,7 +27,6 @@ $config = [
27
  ],
28
  'js' => [
29
  EAEL_PLUGIN_PATH . DIRECTORY_SEPARATOR . 'assets/front-end/js/vendor/load-more/load-more.min.js',
30
- EAEL_PLUGIN_PATH . DIRECTORY_SEPARATOR . 'assets/front-end/js/post-timeline/index.min.js',
31
  ],
32
  ],
33
  ],
27
  ],
28
  'js' => [
29
  EAEL_PLUGIN_PATH . DIRECTORY_SEPARATOR . 'assets/front-end/js/vendor/load-more/load-more.min.js',
 
30
  ],
31
  ],
32
  ],
essential_adons_elementor.php CHANGED
@@ -4,7 +4,7 @@
4
  * Description: The ultimate elements library for Elementor page builder plugin for WordPress.
5
  * Plugin URI: https://essential-addons.com/elementor/
6
  * Author: WPDeveloper
7
- * Version: 3.2.0
8
  * Author URI: https://wpdeveloper.net/
9
  *
10
  * Text Domain: essential-addons-elementor
@@ -24,7 +24,7 @@ define('EAEL_PLUGIN_FILE', __FILE__);
24
  define('EAEL_PLUGIN_BASENAME', plugin_basename(__FILE__));
25
  define('EAEL_PLUGIN_PATH', plugin_dir_path(__FILE__));
26
  define('EAEL_PLUGIN_URL', plugins_url('/', __FILE__));
27
- define('EAEL_PLUGIN_VERSION', '3.2.0');
28
  define('EAEL_ASSET_PATH', WP_CONTENT_DIR . '/uploads/essential-addons-elementor');
29
  define('EAEL_ASSET_URL', WP_CONTENT_URL . '/uploads/essential-addons-elementor');
30
 
4
  * Description: The ultimate elements library for Elementor page builder plugin for WordPress.
5
  * Plugin URI: https://essential-addons.com/elementor/
6
  * Author: WPDeveloper
7
+ * Version: 3.3.0
8
  * Author URI: https://wpdeveloper.net/
9
  *
10
  * Text Domain: essential-addons-elementor
24
  define('EAEL_PLUGIN_BASENAME', plugin_basename(__FILE__));
25
  define('EAEL_PLUGIN_PATH', plugin_dir_path(__FILE__));
26
  define('EAEL_PLUGIN_URL', plugins_url('/', __FILE__));
27
+ define('EAEL_PLUGIN_VERSION', '3.3.0');
28
  define('EAEL_ASSET_PATH', WP_CONTENT_DIR . '/uploads/essential-addons-elementor');
29
  define('EAEL_ASSET_URL', WP_CONTENT_URL . '/uploads/essential-addons-elementor');
30
 
includes/Classes/Bootstrap.php CHANGED
@@ -81,9 +81,6 @@ class Bootstrap
81
  $this->start_plugin_tracking();
82
  }
83
 
84
- // post args
85
- $this->post_args = apply_filters('eael/post_args', $this->post_args);
86
-
87
  // register extensions
88
  $this->register_extensions();
89
 
@@ -112,7 +109,6 @@ class Bootstrap
112
 
113
  // Elements
114
  add_action('elementor/elements/categories_registered', array($this, 'register_widget_categories'));
115
- add_action('elementor/controls/controls_registered', array($this, 'register_controls_group'));
116
  add_action('elementor/widgets/widgets_registered', array($this, 'register_elements'));
117
  add_action('wp_footer', array($this, 'render_global_html'));
118
 
@@ -120,8 +116,9 @@ class Bootstrap
120
  if (is_admin()) {
121
  // Admin
122
  if (!$this->pro_enabled) {
123
- $this->admin_notice();
124
  }
 
125
 
126
  add_action('admin_menu', array($this, 'admin_menu'));
127
  add_action('admin_enqueue_scripts', array($this, 'admin_enqueue_scripts'));
@@ -136,6 +133,11 @@ class Bootstrap
136
  if (!did_action('elementor/loaded')) {
137
  add_action('admin_notices', array($this, 'elementor_not_loaded'));
138
  }
 
 
 
 
 
139
  }
140
  }
141
  }
81
  $this->start_plugin_tracking();
82
  }
83
 
 
 
 
84
  // register extensions
85
  $this->register_extensions();
86
 
109
 
110
  // Elements
111
  add_action('elementor/elements/categories_registered', array($this, 'register_widget_categories'));
 
112
  add_action('elementor/widgets/widgets_registered', array($this, 'register_elements'));
113
  add_action('wp_footer', array($this, 'render_global_html'));
114
 
116
  if (is_admin()) {
117
  // Admin
118
  if (!$this->pro_enabled) {
119
+ // TODO: you have to call admin_notice for pro also.
120
  }
121
+ $this->admin_notice(); // this line of code
122
 
123
  add_action('admin_menu', array($this, 'admin_menu'));
124
  add_action('admin_enqueue_scripts', array($this, 'admin_enqueue_scripts'));
133
  if (!did_action('elementor/loaded')) {
134
  add_action('admin_notices', array($this, 'elementor_not_loaded'));
135
  }
136
+
137
+ }
138
+
139
+ if(current_user_can('manage_options')) {
140
+ add_action( 'admin_bar_menu', [$this, 'admin_bar'], 900);
141
  }
142
  }
143
  }
includes/Classes/Group_Control_EA_Posts.php DELETED
@@ -1,171 +0,0 @@
1
- <?php
2
- namespace Essential_Addons_Elementor\Classes;
3
-
4
- if (!defined('ABSPATH')) {
5
- exit;
6
- } // Exit if accessed directly.
7
-
8
- use \Elementor\Controls_Manager as Controls_Manager;
9
- use \Elementor\Group_Control_Base as Group_Control_Base;
10
-
11
- class Group_Control_EA_Posts extends Group_Control_Base
12
- {
13
- use \Essential_Addons_Elementor\Traits\Helper;
14
-
15
- protected static $fields;
16
-
17
- public static function get_type()
18
- {
19
- return 'eaeposts';
20
- }
21
-
22
- public static function on_export_remove_setting_from_element($element, $control_id)
23
- {
24
- unset($element['settings'][$control_id . '_posts_ids']);
25
- unset($element['settings'][$control_id . '_authors']);
26
-
27
- foreach (Utils::get_post_types() as $post_type => $label) {
28
- $taxonomy_filter_args = [
29
- 'show_in_nav_menus' => true,
30
- 'object_type' => [$post_type],
31
- ];
32
-
33
- $taxonomies = get_taxonomies($taxonomy_filter_args, 'objects');
34
-
35
- foreach ($taxonomies as $taxonomy => $object) {
36
- unset($element['settings'][$control_id . '_' . $taxonomy . '_ids']);
37
- }
38
- }
39
-
40
- return $element;
41
- }
42
-
43
- protected function init_fields()
44
- {
45
- $fields = [];
46
-
47
- $fields['post_type'] = [
48
- 'label' => __('Source', 'essential-addons-elementor'),
49
- 'type' => Controls_Manager::SELECT,
50
- ];
51
-
52
- $fields['posts_ids'] = [
53
- 'label' => __('Search & Select', 'essential-addons-elementor'),
54
- 'type' => Controls_Manager::SELECT2,
55
- 'post_type' => '',
56
- 'options' => $this->eael_get_all_types_post(),
57
- 'label_block' => true,
58
- 'multiple' => true,
59
- 'condition' => [
60
- 'post_type' => 'by_id',
61
- ],
62
- ];
63
-
64
- $fields['authors'] = [
65
- 'label' => __('Author', 'essential-addons-elementor'),
66
- 'label_block' => true,
67
- 'type' => Controls_Manager::SELECT2,
68
- 'multiple' => true,
69
- 'default' => [],
70
- 'options' => $this->get_authors(),
71
- 'condition' => [
72
- 'post_type!' => [
73
- 'by_id',
74
- ],
75
- ],
76
- ];
77
-
78
- return $fields;
79
- }
80
-
81
- protected function prepare_fields($fields)
82
- {
83
-
84
- $post_types = $this->eael_get_post_types();
85
-
86
- $post_types_options = $post_types;
87
-
88
- $post_types_options['by_id'] = __('Manual Selection', 'essential-addons-elementor');
89
-
90
- $fields['post_type']['options'] = $post_types_options;
91
-
92
- $fields['post_type']['default'] = key($post_types);
93
-
94
- $fields['posts_ids']['object_type'] = array_keys($post_types);
95
-
96
- $taxonomy_filter_args = [
97
- 'show_in_nav_menus' => true,
98
- ];
99
-
100
- if (!empty($args['post_type'])) {
101
- $taxonomy_filter_args['object_type'] = [$args['post_type']];
102
- }
103
-
104
- $taxonomies = get_taxonomies($taxonomy_filter_args, 'objects');
105
-
106
- foreach ($taxonomies as $taxonomy => $object) {
107
- $taxonomy_args = [
108
- 'label' => $object->label,
109
- 'type' => Controls_Manager::SELECT2,
110
- 'label_block' => true,
111
- 'multiple' => true,
112
- 'object_type' => $taxonomy,
113
- 'options' => [],
114
- 'condition' => [
115
- 'post_type' => $object->object_type,
116
- ],
117
- ];
118
-
119
- $options = [];
120
-
121
- $taxonomy_args['type'] = Controls_Manager::SELECT2;
122
-
123
- $terms = get_terms($taxonomy);
124
-
125
- foreach ($terms as $term) {
126
- $options[$term->term_id] = $term->name;
127
- }
128
-
129
- $taxonomy_args['options'] = $options;
130
-
131
- $fields[$taxonomy . '_ids'] = $taxonomy_args;
132
- }
133
-
134
- unset($fields['post_format_ids']);
135
-
136
- return parent::prepare_fields($fields);
137
- }
138
-
139
- /**
140
- * All authors name and ID, who published at least 1 post.
141
- * @return array
142
- */
143
- public function get_authors()
144
- {
145
- $user_query = new \WP_User_Query(
146
- [
147
- 'who' => 'authors',
148
- 'has_published_posts' => true,
149
- 'fields' => [
150
- 'ID',
151
- 'display_name',
152
- ],
153
- ]
154
- );
155
-
156
- $authors = [];
157
-
158
- foreach ($user_query->get_results() as $result) {
159
- $authors[$result->ID] = $result->display_name;
160
- }
161
-
162
- return $authors;
163
- }
164
-
165
- protected function get_default_options()
166
- {
167
- return [
168
- 'popover' => false,
169
- ];
170
- }
171
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/Elements/Adv_Accordion.php CHANGED
@@ -12,7 +12,6 @@ use \Elementor\Group_Control_Background;
12
  use \Elementor\Group_Control_Border;
13
  use \Elementor\Group_Control_Box_Shadow;
14
  use \Elementor\Group_Control_Typography;
15
- use \Elementor\Icons_Manager;
16
  use \Elementor\Widget_Base;
17
 
18
  class Adv_Accordion extends Widget_Base
@@ -794,7 +793,7 @@ class Adv_Accordion extends Widget_Base
794
  <span>';
795
  if ($tab['eael_adv_accordion_tab_icon_show'] === 'yes') {
796
  if ($tab_icon_is_new || $tab_icon_migrated) {
797
- Icons_Manager::render_icon($tab['eael_adv_accordion_tab_title_icon_new'], ['class' => 'fa-accordion-icon']);
798
  } else {
799
  echo '<i class="' . $tab['eael_adv_accordion_tab_title_icon'] . ' fa-accordion-icon"></i>';
800
  }
@@ -803,7 +802,7 @@ class Adv_Accordion extends Widget_Base
803
  '</span>';
804
  if ($settings['eael_adv_accordion_icon_show'] === 'yes') {
805
  if ($accordion_icon_is_new || $accordion_icon_migrated) {
806
- Icons_Manager::render_icon($settings['eael_adv_accordion_icon_new'], ['class' => 'fa-toggle']);
807
  } else {
808
  echo '<i class="' . $settings['eael_adv_accordion_icon'] . ' fa-toggle"></i>';
809
  }
12
  use \Elementor\Group_Control_Border;
13
  use \Elementor\Group_Control_Box_Shadow;
14
  use \Elementor\Group_Control_Typography;
 
15
  use \Elementor\Widget_Base;
16
 
17
  class Adv_Accordion extends Widget_Base
793
  <span>';
794
  if ($tab['eael_adv_accordion_tab_icon_show'] === 'yes') {
795
  if ($tab_icon_is_new || $tab_icon_migrated) {
796
+ echo '<i class="' . $tab['eael_adv_accordion_tab_title_icon_new']['value'] . ' fa-accordion-icon"></i>';
797
  } else {
798
  echo '<i class="' . $tab['eael_adv_accordion_tab_title_icon'] . ' fa-accordion-icon"></i>';
799
  }
802
  '</span>';
803
  if ($settings['eael_adv_accordion_icon_show'] === 'yes') {
804
  if ($accordion_icon_is_new || $accordion_icon_migrated) {
805
+ echo '<i class="' . $settings['eael_adv_accordion_icon_new']['value'] . ' fa-toggle"></i>';
806
  } else {
807
  echo '<i class="' . $settings['eael_adv_accordion_icon'] . ' fa-toggle"></i>';
808
  }
includes/Elements/Adv_Tabs.php CHANGED
@@ -14,7 +14,6 @@ use \Elementor\Group_Control_Typography;
14
  use \Elementor\Utils;
15
  use \Elementor\Widget_Base;
16
  use \Elementor\Group_Control_Background;
17
- use \Elementor\Icons_Manager;
18
 
19
  class Adv_Tabs extends Widget_Base
20
  {
@@ -514,7 +513,7 @@ class Adv_Tabs extends Widget_Base
514
  'type' => Controls_Manager::COLOR,
515
  'default' => '#fff',
516
  'selectors' => [
517
- '{{WRAPPER}} .eael-advance-tabs .eael-tabs-nav > ul li:hover i' => 'color: {{VALUE}};',
518
  ],
519
  'condition' => [
520
  'eael_adv_tabs_icon_show' => 'yes',
@@ -571,7 +570,7 @@ class Adv_Tabs extends Widget_Base
571
  'default' => '#fff',
572
  'selectors' => [
573
  '{{WRAPPER}} .eael-advance-tabs .eael-tabs-nav > ul li.active' => 'color: {{VALUE}};',
574
- '{{WRAPPER}} .eael-advance-tabs .eael-tabs-nav > ul li.active-deafult' => 'color: {{VALUE}};',
575
  ],
576
  ]
577
  );
@@ -582,8 +581,8 @@ class Adv_Tabs extends Widget_Base
582
  'type' => Controls_Manager::COLOR,
583
  'default' => '#fff',
584
  'selectors' => [
585
- '{{WRAPPER}} .eael-advance-tabs .eael-tabs-nav > ul li.active i' => 'color: {{VALUE}};',
586
- '{{WRAPPER}} .eael-advance-tabs .eael-tabs-nav > ul li.active-default i' => 'color: {{VALUE}};',
587
  ],
588
  'condition' => [
589
  'eael_adv_tabs_icon_show' => 'yes',
@@ -794,7 +793,7 @@ class Adv_Tabs extends Widget_Base
794
  <li class="<?php echo esc_attr($tab['eael_adv_tabs_tab_show_as_default']); ?>"><?php if ($settings['eael_adv_tabs_icon_show'] === 'yes'):
795
  if ($tab['eael_adv_tabs_icon_type'] === 'icon'): ?>
796
  <?php if ($tab_icon_is_new || $tab_icon_migrated) {
797
- Icons_Manager::render_icon($tab['eael_adv_tabs_tab_title_icon_new']);
798
  } else {
799
  echo '<i class="' . $tab['eael_adv_tabs_tab_title_icon'] . '"></i>';
800
  } ?>
14
  use \Elementor\Utils;
15
  use \Elementor\Widget_Base;
16
  use \Elementor\Group_Control_Background;
 
17
 
18
  class Adv_Tabs extends Widget_Base
19
  {
513
  'type' => Controls_Manager::COLOR,
514
  'default' => '#fff',
515
  'selectors' => [
516
+ '{{WRAPPER}} .eael-advance-tabs .eael-tabs-nav > ul li:hover > i' => 'color: {{VALUE}};'
517
  ],
518
  'condition' => [
519
  'eael_adv_tabs_icon_show' => 'yes',
570
  'default' => '#fff',
571
  'selectors' => [
572
  '{{WRAPPER}} .eael-advance-tabs .eael-tabs-nav > ul li.active' => 'color: {{VALUE}};',
573
+ '{{WRAPPER}} .eael-advance-tabs .eael-tabs-nav > ul .active-default .eael-tab-title' => 'color: {{VALUE}};',
574
  ],
575
  ]
576
  );
581
  'type' => Controls_Manager::COLOR,
582
  'default' => '#fff',
583
  'selectors' => [
584
+ '{{WRAPPER}} .eael-advance-tabs .eael-tabs-nav > ul li.active > i' => 'color: {{VALUE}};',
585
+ '{{WRAPPER}} .eael-advance-tabs .eael-tabs-nav > ul li.active-default > i' => 'color: {{VALUE}};',
586
  ],
587
  'condition' => [
588
  'eael_adv_tabs_icon_show' => 'yes',
793
  <li class="<?php echo esc_attr($tab['eael_adv_tabs_tab_show_as_default']); ?>"><?php if ($settings['eael_adv_tabs_icon_show'] === 'yes'):
794
  if ($tab['eael_adv_tabs_icon_type'] === 'icon'): ?>
795
  <?php if ($tab_icon_is_new || $tab_icon_migrated) {
796
+ echo '<i class="' . $tab['eael_adv_tabs_tab_title_icon_new']['value'] . '"></i>';
797
  } else {
798
  echo '<i class="' . $tab['eael_adv_tabs_tab_title_icon'] . '"></i>';
799
  } ?>
includes/Elements/Content_Ticker.php CHANGED
@@ -10,209 +10,214 @@ use \Elementor\Controls_Manager;
10
  use \Elementor\Group_Control_Border;
11
  use \Elementor\Group_Control_Typography;
12
  use \Elementor\Widget_Base;
13
- use \Elementor\Icons_Manager;
14
-
15
- class Content_Ticker extends Widget_Base {
16
- use \Essential_Addons_Elementor\Traits\Helper;
17
-
18
- public function get_name() {
19
- return 'eael-content-ticker';
20
- }
21
-
22
- public function get_title() {
23
- return esc_html__( 'EA Content Ticker', 'essential-addons-elementor' );
24
- }
25
-
26
- public function get_icon() {
27
- return 'eicon-call-to-action';
28
- }
29
-
30
- public function get_categories() {
31
- return [ 'essential-addons-elementor' ];
32
- }
33
-
34
- protected function _register_controls() {
35
- /**
36
- * Content Ticker Content Settings
37
- */
38
- $this->start_controls_section(
39
- 'eael_section_content_ticker_settings',
40
- [
41
- 'label' => esc_html__( 'Ticker Settings', 'essential-addons-elementor' )
42
- ]
43
- );
44
-
45
- $ticker_options = apply_filters(
46
- 'eael_ticker_options',
47
- [
48
- 'options' => [
49
- 'dynamic' => esc_html__( 'Dynamic', 'essential-addons-elementor' ),
50
- 'custom' => esc_html__( 'Custom', 'essential-addons-elementor' ),
51
- ],
52
- 'conditions' => [
53
- 'custom'
54
- ]
55
- ]
56
- );
57
-
58
- $this->add_control(
59
- 'eael_ticker_type',
60
- [
61
- 'label' => esc_html__( 'Ticker Type', 'essential-addons-elementor' ),
62
- 'type' => Controls_Manager::SELECT,
63
- 'default' => 'dynamic',
64
- 'label_block' => false,
65
- 'options' => $ticker_options['options']
66
- ]
67
- );
68
-
69
- $this->add_control(
70
- 'eael_ticker_type_pro_alert',
71
- [
72
- 'label' => esc_html__( 'Custom Content available in pro version only!', 'essential-addons-elementor' ),
73
- 'type' => Controls_Manager::HEADING,
74
- 'condition' => [
75
- 'eael_ticker_type' => $ticker_options['conditions'],
76
- ]
77
- ]
78
- );
79
-
80
- $this->add_control(
81
- 'eael_ticker_tag_text',
82
- [
83
- 'label' => esc_html__( 'Tag Text', 'essential-addons-elementor' ),
84
- 'type' => Controls_Manager::TEXT,
85
- 'label_block' => false,
86
- 'default' => esc_html__( 'Trending Today', 'essential-addons-elementor' ),
87
- ]
88
- );
89
-
90
-
91
- $this->end_controls_section();
92
-
93
- /**
94
- * Query Controls
95
- * @source includes/elementor-helper.php
96
- */
97
- $this->eael_query_controls();
98
-
99
- do_action('eael_ticker_custom_content_controls', $this);
100
-
101
- /**
 
 
 
 
 
102
  * Content Tab: Carousel Settings
103
  */
104
  $this->start_controls_section(
105
  'section_additional_options',
106
  [
107
- 'label' => __( 'Animation Settings', 'essential-addons-elementor' ),
108
  ]
109
  );
110
-
111
  $this->add_control(
112
  'carousel_effect',
113
  [
114
- 'label' => __( 'Effect', 'essential-addons-elementor' ),
115
- 'description' => __( 'Sets transition effect', 'essential-addons-elementor' ),
116
- 'type' => Controls_Manager::SELECT,
117
- 'default' => 'slide',
118
- 'options' => [
119
- 'slide' => __( 'Slide', 'essential-addons-elementor' ),
120
- 'fade' => __( 'Fade', 'essential-addons-elementor' ),
121
  ],
122
  ]
123
  );
124
-
125
  $this->add_responsive_control(
126
  'items',
127
  [
128
- 'label' => __( 'Visible Items', 'essential-addons-elementor' ),
129
- 'type' => Controls_Manager::SLIDER,
130
- 'default' => [ 'size' => 1 ],
131
- 'tablet_default' => [ 'size' => 1 ],
132
- 'mobile_default' => [ 'size' => 1 ],
133
- 'range' => [
134
  'px' => [
135
- 'min' => 1,
136
- 'max' => 10,
137
- 'step' => 1,
138
  ],
139
  ],
140
- 'size_units' => '',
141
- 'condition' => [
142
- 'carousel_effect' => 'slide',
143
  ],
144
- 'separator' => 'before',
145
  ]
146
  );
147
-
148
  $this->add_responsive_control(
149
  'margin',
150
  [
151
- 'label' => __( 'Items Gap', 'essential-addons-elementor' ),
152
- 'type' => Controls_Manager::SLIDER,
153
- 'default' => [ 'size' => 10 ],
154
- 'range' => [
155
  'px' => [
156
- 'min' => 0,
157
- 'max' => 100,
158
- 'step' => 1,
159
  ],
160
  ],
161
- 'size_units' => '',
162
- 'condition' => [
163
- 'carousel_effect' => 'slide',
164
  ],
165
  ]
166
  );
167
-
168
  $this->add_control(
169
  'slider_speed',
170
  [
171
- 'label' => __( 'Slider Speed', 'essential-addons-elementor' ),
172
- 'description' => __( 'Duration of transition between slides (in ms)', 'essential-addons-elementor' ),
173
- 'type' => Controls_Manager::SLIDER,
174
- 'default' => [ 'size' => 400 ],
175
- 'range' => [
176
  'px' => [
177
- 'min' => 100,
178
- 'max' => 3000,
179
- 'step' => 1,
180
  ],
181
  ],
182
- 'size_units' => '',
183
- 'separator' => 'before',
184
  ]
185
  );
186
-
187
- $this->add_control(
188
  'autoplay',
189
  [
190
- 'label' => __( 'Autoplay', 'essential-addons-elementor' ),
191
- 'type' => Controls_Manager::SWITCHER,
192
- 'default' => 'yes',
193
- 'label_on' => __( 'Yes', 'essential-addons-elementor' ),
194
- 'label_off' => __( 'No', 'essential-addons-elementor' ),
195
- 'return_value' => 'yes',
196
- 'separator' => 'before',
197
  ]
198
  );
199
-
200
  $this->add_control(
201
  'autoplay_speed',
202
  [
203
- 'label' => __( 'Autoplay Speed', 'essential-addons-elementor' ),
204
- 'type' => Controls_Manager::SLIDER,
205
- 'default' => [ 'size' => 2000 ],
206
- 'range' => [
207
  'px' => [
208
- 'min' => 500,
209
- 'max' => 5000,
210
- 'step' => 1,
211
  ],
212
  ],
213
- 'size_units' => '',
214
- 'condition' => [
215
- 'autoplay' => 'yes',
216
  ],
217
  ]
218
  );
@@ -220,357 +225,357 @@ class Content_Ticker extends Widget_Base {
220
  $this->add_control(
221
  'pause_on_hover',
222
  [
223
- 'label' => __( 'Pause On Hover', 'essential-addons-elementor' ),
224
- 'type' => Controls_Manager::SWITCHER,
225
- 'default' => '',
226
- 'label_on' => __( 'Yes', 'essential-addons-elementor' ),
227
- 'label_off' => __( 'No', 'essential-addons-elementor' ),
228
- 'return_value' => 'yes',
229
- 'condition' => [
230
- 'autoplay' => 'yes',
231
  ],
232
  ]
233
  );
234
-
235
  $this->add_control(
236
  'infinite_loop',
237
  [
238
- 'label' => __( 'Infinite Loop', 'essential-addons-elementor' ),
239
- 'type' => Controls_Manager::SWITCHER,
240
- 'default' => 'yes',
241
- 'label_on' => __( 'Yes', 'essential-addons-elementor' ),
242
- 'label_off' => __( 'No', 'essential-addons-elementor' ),
243
- 'return_value' => 'yes',
244
  ]
245
  );
246
-
247
  $this->add_control(
248
  'grab_cursor',
249
  [
250
- 'label' => __( 'Grab Cursor', 'essential-addons-elementor' ),
251
- 'description' => __( 'Shows grab cursor when you hover over the slider', 'essential-addons-elementor' ),
252
- 'type' => Controls_Manager::SWITCHER,
253
- 'default' => '',
254
- 'label_on' => __( 'Show', 'essential-addons-elementor' ),
255
- 'label_off' => __( 'Hide', 'essential-addons-elementor' ),
256
- 'return_value' => 'yes',
257
- 'separator' => 'before',
258
  ]
259
  );
260
-
261
  $this->add_control(
262
  'navigation_heading',
263
  [
264
- 'label' => __( 'Navigation', 'essential-addons-elementor' ),
265
- 'type' => Controls_Manager::HEADING,
266
- 'separator' => 'before',
267
  ]
268
  );
269
-
270
  $this->add_control(
271
  'arrows',
272
  [
273
- 'label' => __( 'Arrows', 'essential-addons-elementor' ),
274
- 'type' => Controls_Manager::SWITCHER,
275
- 'default' => 'yes',
276
- 'label_on' => __( 'Yes', 'essential-addons-elementor' ),
277
- 'label_off' => __( 'No', 'essential-addons-elementor' ),
278
- 'return_value' => 'yes',
279
  ]
280
  );
281
-
282
  $this->add_control(
283
  'direction',
284
  [
285
- 'label' => __( 'Direction', 'essential-addons-elementor' ),
286
- 'type' => Controls_Manager::SELECT,
287
- 'default' => 'left',
288
- 'options' => [
289
- 'left' => __( 'Left', 'essential-addons-elementor' ),
290
- 'right' => __( 'Right', 'essential-addons-elementor' ),
291
- ],
292
- 'separator' => 'before',
293
- 'condition' => [
294
- 'carousel_effect' => 'slide',
295
- ],
296
- ]
297
- );
298
-
299
- $this->end_controls_section();
300
-
301
- if(!apply_filters('eael/pro_enabled', false)) {
302
- $this->start_controls_section(
303
- 'eael_section_pro',
304
- [
305
- 'label' => __( 'Go Premium for More Features', 'essential-addons-elementor' )
306
- ]
307
- );
308
-
309
- $this->add_control(
310
- 'eael_control_get_pro',
311
- [
312
- 'label' => __( 'Unlock more possibilities', 'essential-addons-elementor' ),
313
- 'type' => Controls_Manager::CHOOSE,
314
- 'options' => [
315
- '1' => [
316
- 'title' => __( '', 'essential-addons-elementor' ),
317
- 'icon' => 'fa fa-unlock-alt',
318
- ],
319
- ],
320
- 'default' => '1',
321
- 'description' => '<span class="pro-feature"> Get the <a href="https://wpdeveloper.net/in/upgrade-essential-addons-elementor" target="_blank">Pro version</a> for more stunning elements and customization options.</span>'
322
- ]
323
- );
324
-
325
- $this->end_controls_section();
326
- }
327
-
328
- /**
329
- * -------------------------------------------
330
- * Tab Style (Ticker Content Style)
331
- * -------------------------------------------
332
- */
333
- $this->start_controls_section(
334
- 'eael_section_ticker_typography_settings',
335
- [
336
- 'label' => esc_html__( 'Ticker Content', 'essential-addons-elementor' ),
337
- 'tab' => Controls_Manager::TAB_STYLE
338
- ]
339
- );
340
-
341
- $this->add_control(
342
- 'eael_ticker_content_bg',
343
- [
344
- 'label' => esc_html__( 'Background Color', 'essential-addons-elementor' ),
345
- 'type' => Controls_Manager::COLOR,
346
- 'default' => '',
347
- 'selectors' => [
348
- '{{WRAPPER}} .eael-ticker-wrap .eael-ticker' => 'background-color: {{VALUE}};',
349
- ],
350
- ]
351
- );
352
-
353
- $this->add_control(
354
- 'eael_ticker_content_color',
355
- [
356
- 'label' => esc_html__( 'Text Color', 'essential-addons-elementor' ),
357
- 'type' => Controls_Manager::COLOR,
358
- 'default' => '#222222',
359
- 'selectors' => [
360
- '{{WRAPPER}} .eael-ticker-wrap .eael-ticker .ticker-content a' => 'color: {{VALUE}};',
361
- ],
362
- ]
363
- );
364
- $this->add_control(
365
- 'eael_ticker_hover_content_color',
366
- [
367
- 'label' => esc_html__( 'Text Hover Color', 'essential-addons-elementor' ),
368
- 'type' => Controls_Manager::COLOR,
369
- 'default' => '#f44336',
370
- 'selectors' => [
371
- '{{WRAPPER}} .eael-ticker-wrap .eael-ticker .ticker-content a:hover' => 'color: {{VALUE}};',
372
- ],
373
- ]
374
- );
375
-
376
- $this->add_group_control(
377
- Group_Control_Typography::get_type(),
378
- [
379
- 'name' => 'eael_ticker_content_typography',
380
- 'selector' =>'{{WRAPPER}} .eael-ticker-wrap .eael-ticker .ticker-content a',
381
-
382
- ]
383
- );
384
-
385
- $this->add_responsive_control(
386
- 'eael_ticker_content_padding',
387
- [
388
- 'label' => esc_html__( 'Padding', 'essential-addons-elementor' ),
389
- 'type' => Controls_Manager::DIMENSIONS,
390
- 'size_units' => [ 'px', 'em', '%' ],
391
- 'selectors' => [
392
- '{{WRAPPER}} .eael-ticker-wrap .eael-ticker .ticker-content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
393
- ],
394
- ]
395
- );
396
-
397
- $this->end_controls_section();
398
-
399
- $this->start_controls_section(
400
- 'eael_section_ticker_tag_style_settings',
401
- [
402
- 'label' => esc_html__( 'Tag Style', 'essential-addons-elementor' ),
403
- 'tab' => Controls_Manager::TAB_STYLE
404
- ]
405
- );
406
- $this->add_control(
407
- 'eael_ticker_tag_bg_color',
408
- [
409
- 'label' => esc_html__( 'Background Color', 'essential-addons-elementor' ),
410
- 'type' => Controls_Manager::COLOR,
411
- 'default' => '#222222',
412
- 'selectors' => [
413
- '{{WRAPPER}} .eael-ticker-wrap .ticker-badge' => 'background-color: {{VALUE}};',
414
- ],
415
- ]
416
- );
417
- $this->add_control(
418
- 'eael_ticker_tag_color',
419
- [
420
- 'label' => esc_html__( 'Color', 'essential-addons-elementor' ),
421
- 'type' => Controls_Manager::COLOR,
422
- 'default' => '#fff',
423
- 'selectors' => [
424
- '{{WRAPPER}} .eael-ticker-wrap .ticker-badge span' => 'color: {{VALUE}};',
425
- ],
426
- ]
427
- );
428
-
429
- $this->add_group_control(
430
- Group_Control_Typography::get_type(),
431
- [
432
- 'name' => 'eael_ticker_tag_typography',
433
- 'selector' => '{{WRAPPER}} .eael-ticker-wrap .ticker-badge span',
434
- ]
435
- );
436
- $this->add_responsive_control(
437
- 'eael_ticker_tag_padding',
438
- [
439
- 'label' => esc_html__( 'Padding', 'essential-addons-elementor' ),
440
- 'type' => Controls_Manager::DIMENSIONS,
441
- 'size_units' => [ 'px', 'em', '%' ],
442
- 'selectors' => [
443
- '{{WRAPPER}} .eael-ticker-wrap .ticker-badge' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
444
- ],
445
- ]
446
- );
447
-
448
- $this->add_responsive_control(
449
- 'eael_ticker_tag_margin',
450
- [
451
- 'label' => esc_html__( 'Margin', 'essential-addons-elementor' ),
452
- 'type' => Controls_Manager::DIMENSIONS,
453
- 'size_units' => [ 'px', 'em', '%' ],
454
- 'selectors' => [
455
- '{{WRAPPER}} .eael-ticker-wrap .ticker-badge' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
456
- ],
457
- ]
458
- );
459
- $this->add_responsive_control(
460
- 'eael_ticker_tag_radius',
461
- [
462
- 'label' => esc_html__( 'Border Radius', 'essential-addons-elementor' ),
463
- 'type' => Controls_Manager::DIMENSIONS,
464
- 'size_units' => [ 'px', 'em', '%' ],
465
- 'selectors' => [
466
- '{{WRAPPER}} .eael-ticker-wrap .ticker-badge' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
467
- ],
468
- ]
469
- );
470
- $this->end_controls_section();
471
-
472
- /**
473
  * Style Tab: Arrows
474
  */
475
  $this->start_controls_section(
476
  'section_arrows_style',
477
  [
478
- 'label' => __( 'Arrows', 'essential-addons-elementor' ),
479
- 'tab' => Controls_Manager::TAB_STYLE,
480
- 'condition' => [
481
- 'arrows' => 'yes',
482
  ],
483
  ]
484
  );
485
-
486
  $this->add_control(
487
  'arrow_new',
488
  [
489
- 'label' => __( 'Choose Arrow', 'essential-addons-elementor' ),
490
- 'type' => Controls_Manager::ICONS,
491
- 'fa4compatibility' => 'arrow',
492
- 'label_block' => true,
493
- 'default' => [
494
- 'value' => 'fas fa-angle-right',
495
- 'library' => 'fa-solid'
496
- ],
497
  ]
498
  );
499
-
500
  $this->add_responsive_control(
501
  'arrows_size',
502
  [
503
- 'label' => __( 'Arrows Size', 'essential-addons-elementor' ),
504
- 'type' => Controls_Manager::SLIDER,
505
- 'default' => [ 'size' => '22' ],
506
- 'range' => [
507
  'px' => [
508
- 'min' => 5,
509
- 'max' => 100,
510
- 'step' => 1,
511
  ],
512
  ],
513
- 'size_units' => [ 'px' ],
514
- 'selectors' => [
515
- '{{WRAPPER}} .swiper-container-wrap .swiper-button-next, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev' => 'font-size: {{SIZE}}{{UNIT}};',
516
- ],
517
  ]
518
  );
519
-
520
  $this->add_responsive_control(
521
  'left_arrow_position',
522
  [
523
- 'label' => __( 'Align Left Arrow', 'essential-addons-elementor' ),
524
- 'type' => Controls_Manager::SLIDER,
525
- 'range' => [
526
  'px' => [
527
- 'min' => -100,
528
- 'max' => 100,
529
- 'step' => 1,
530
  ],
531
  ],
532
- 'size_units' => [ 'px' ],
533
- 'selectors' => [
534
- '{{WRAPPER}} .swiper-container-wrap .swiper-button-prev' => 'right: {{SIZE}}{{UNIT}};',
535
- ],
536
  ]
537
  );
538
-
539
  $this->add_responsive_control(
540
  'right_arrow_position',
541
  [
542
- 'label' => __( 'Align Right Arrow', 'essential-addons-elementor' ),
543
- 'type' => Controls_Manager::SLIDER,
544
- 'range' => [
545
  'px' => [
546
- 'min' => -100,
547
- 'max' => 100,
548
- 'step' => 1,
549
  ],
550
  ],
551
- 'size_units' => [ 'px' ],
552
- 'selectors' => [
553
- '{{WRAPPER}} .swiper-container-wrap .swiper-button-next' => 'right: {{SIZE}}{{UNIT}};',
554
- ],
555
  ]
556
  );
557
 
558
- $this->start_controls_tabs( 'tabs_arrows_style' );
559
 
560
  $this->start_controls_tab(
561
  'tab_arrows_normal',
562
  [
563
- 'label' => __( 'Normal', 'essential-addons-elementor' ),
564
  ]
565
  );
566
 
567
  $this->add_control(
568
  'arrows_bg_color_normal',
569
  [
570
- 'label' => __( 'Background Color', 'essential-addons-elementor' ),
571
- 'type' => Controls_Manager::COLOR,
572
- 'default' => '',
573
- 'selectors' => [
574
  '{{WRAPPER}} .swiper-container-wrap .swiper-button-next, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev' => 'background-color: {{VALUE}};',
575
  ],
576
  ]
@@ -579,54 +584,54 @@ class Content_Ticker extends Widget_Base {
579
  $this->add_control(
580
  'arrows_color_normal',
581
  [
582
- 'label' => __( 'Color', 'essential-addons-elementor' ),
583
- 'type' => Controls_Manager::COLOR,
584
- 'default' => '',
585
- 'selectors' => [
586
  '{{WRAPPER}} .swiper-container-wrap .swiper-button-next, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev' => 'color: {{VALUE}};',
587
  ],
588
  ]
589
  );
590
 
591
- $this->add_group_control(
592
- Group_Control_Border::get_type(),
593
- [
594
- 'name' => 'arrows_border_normal',
595
- 'label' => __( 'Border', 'essential-addons-elementor' ),
596
- 'placeholder' => '1px',
597
- 'default' => '1px',
598
- 'selector' => '{{WRAPPER}} .swiper-container-wrap .swiper-button-next, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev'
599
- ]
600
- );
601
-
602
- $this->add_control(
603
- 'arrows_border_radius_normal',
604
- [
605
- 'label' => __( 'Border Radius', 'essential-addons-elementor' ),
606
- 'type' => Controls_Manager::DIMENSIONS,
607
- 'size_units' => [ 'px', '%' ],
608
- 'selectors' => [
609
- '{{WRAPPER}} .swiper-container-wrap .swiper-button-next, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
610
- ],
611
- ]
612
- );
613
-
614
  $this->end_controls_tab();
615
 
616
  $this->start_controls_tab(
617
  'tab_arrows_hover',
618
  [
619
- 'label' => __( 'Hover', 'essential-addons-elementor' ),
620
  ]
621
  );
622
 
623
  $this->add_control(
624
  'arrows_bg_color_hover',
625
  [
626
- 'label' => __( 'Background Color', 'essential-addons-elementor' ),
627
- 'type' => Controls_Manager::COLOR,
628
- 'default' => '',
629
- 'selectors' => [
630
  '{{WRAPPER}} .swiper-container-wrap .swiper-button-next:hover, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev:hover' => 'background-color: {{VALUE}};',
631
  ],
632
  ]
@@ -635,10 +640,10 @@ class Content_Ticker extends Widget_Base {
635
  $this->add_control(
636
  'arrows_color_hover',
637
  [
638
- 'label' => __( 'Color', 'essential-addons-elementor' ),
639
- 'type' => Controls_Manager::COLOR,
640
- 'default' => '',
641
- 'selectors' => [
642
  '{{WRAPPER}} .swiper-container-wrap .swiper-button-next:hover, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev:hover' => 'color: {{VALUE}};',
643
  ],
644
  ]
@@ -647,167 +652,142 @@ class Content_Ticker extends Widget_Base {
647
  $this->add_control(
648
  'arrows_border_color_hover',
649
  [
650
- 'label' => __( 'Border Color', 'essential-addons-elementor' ),
651
- 'type' => Controls_Manager::COLOR,
652
- 'default' => '',
653
- 'selectors' => [
654
  '{{WRAPPER}} .swiper-container-wrap .swiper-button-next:hover, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev:hover' => 'border-color: {{VALUE}};',
655
  ],
656
  ]
657
  );
658
-
659
  $this->end_controls_tab();
660
-
661
  $this->end_controls_tabs();
662
 
663
- $this->add_responsive_control(
664
- 'arrows_padding',
665
- [
666
- 'label' => __( 'Padding', 'essential-addons-elementor' ),
667
- 'type' => Controls_Manager::DIMENSIONS,
668
- 'size_units' => [ 'px', '%' ],
669
- 'selectors' => [
670
- '{{WRAPPER}} .swiper-container-wrap .swiper-button-next, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
671
- ],
672
- 'separator' => 'before',
673
- ]
674
- );
675
-
676
  $this->end_controls_section();
677
- }
678
-
679
-
680
- protected function render( ) {
681
- $settings = $this->get_settings();
682
-
683
- /**
684
- * Setup the post arguments.
685
- */
686
- $settings['post_style'] = 'ticker';
687
- $post_args = $this->eael_get_post_settings( $settings );
688
- $query_args = $this->eael_get_query_args( 'eaeposts', $settings);
689
- $query_args = array_merge( $query_args, $post_args );
690
-
691
- /**
692
- * Get posts from database.
693
- */
694
- $posts = $this->eael_load_more_ajax( $query_args );
695
- /**
696
- * Render the content
697
- */
698
- $this->add_render_attribute( 'content-ticker-wrap', 'class', 'swiper-container-wrap eael-ticker' );
699
-
700
- $this->add_render_attribute( 'content-ticker', 'class', 'swiper-container eael-content-ticker' );
701
- $this->add_render_attribute( 'content-ticker', 'class', 'swiper-container-'.esc_attr( $this->get_id() ) );
702
- $this->add_render_attribute( 'content-ticker', 'data-pagination', '.swiper-pagination-'.esc_attr( $this->get_id() ) );
703
- $this->add_render_attribute( 'content-ticker', 'data-arrow-next', '.swiper-button-next-'.esc_attr( $this->get_id() ) );
704
- $this->add_render_attribute( 'content-ticker', 'data-arrow-prev', '.swiper-button-prev-'.esc_attr( $this->get_id() ) );
705
-
706
- if ( $settings['direction'] == 'right' ) {
707
- $this->add_render_attribute( 'content-ticker', 'dir', 'rtl' );
708
- }
709
-
710
- if ( ! empty( $settings['items']['size'] ) ) {
711
- $this->add_render_attribute( 'content-ticker', 'data-items', $settings['items']['size'] );
712
- }
713
- if ( ! empty( $settings['items_tablet']['size'] ) ) {
714
- $this->add_render_attribute( 'content-ticker', 'data-items-tablet', $settings['items_tablet']['size'] );
715
- }
716
- if ( ! empty( $settings['items_mobile']['size'] ) ) {
717
- $this->add_render_attribute( 'content-ticker', 'data-items-mobile', $settings['items_mobile']['size'] );
718
- }
719
- if ( ! empty( $settings['margin']['size'] ) ) {
720
- $this->add_render_attribute( 'content-ticker', 'data-margin', $settings['margin']['size'] );
721
- }
722
- if ( ! empty( $settings['margin_tablet']['size'] ) ) {
723
- $this->add_render_attribute( 'content-ticker', 'data-margin-tablet', $settings['margin_tablet']['size'] );
724
- }
725
- if ( ! empty( $settings['margin_mobile']['size'] ) ) {
726
- $this->add_render_attribute( 'content-ticker', 'data-margin-mobile', $settings['margin_mobile']['size'] );
727
- }
728
- if ( $settings['carousel_effect'] ) {
729
- $this->add_render_attribute( 'content-ticker', 'data-effect', $settings['carousel_effect'] );
730
- }
731
- if ( ! empty( $settings['slider_speed']['size'] ) ) {
732
- $this->add_render_attribute( 'content-ticker', 'data-speed', $settings['slider_speed']['size'] );
733
- }
734
- if ( $settings['autoplay'] == 'yes' && ! empty( $settings['autoplay_speed']['size'] ) ) {
735
- $this->add_render_attribute( 'content-ticker', 'data-autoplay', $settings['autoplay_speed']['size'] );
736
- } else {
737
- $this->add_render_attribute( 'content-ticker', 'data-autoplay', '999999' );
738
- }
739
- if( $settings['pause_on_hover'] == 'yes' ) {
740
- $this->add_render_attribute( 'content-ticker', 'data-pause-on-hover', 'true' );
741
  }
742
- if ( $settings['infinite_loop'] == 'yes' ) {
743
- $this->add_render_attribute( 'content-ticker', 'data-loop', true );
744
- }
745
- if ( $settings['grab_cursor'] == 'yes' ) {
746
- $this->add_render_attribute( 'content-ticker', 'data-grab-cursor', true );
747
- }
748
- if ( $settings['arrows'] == 'yes' ) {
749
- $this->add_render_attribute( 'content-ticker', 'data-arrows', '1' );
750
- }
751
-
752
- ?>
753
- <div class="eael-ticker-wrap" id="eael-ticker-wrap-<?php echo $this->get_id(); ?>">
754
- <?php if( !empty($settings['eael_ticker_tag_text']) ) : ?>
755
- <div class="ticker-badge">
756
- <span><?php echo $settings['eael_ticker_tag_text']; ?></span>
757
- </div>
758
- <?php endif; ?>
759
- <div <?php echo $this->get_render_attribute_string( 'content-ticker-wrap' ); ?> >
760
- <div <?php echo $this->get_render_attribute_string( 'content-ticker' ); ?> >
761
- <div class="swiper-wrapper">
762
- <?php
763
- if( 'dynamic' === $settings['eael_ticker_type'] ) {
764
- if( ! empty( $posts['content'] ) ) {
765
- echo $posts['content'];
766
- } else {
767
- echo ' <div class="swiper-slide"><a href="#" class="ticker-content">'. __( 'Something went wrong!', 'essential-addons-elementor' ) .'</a></div>';
768
- }
769
- }
770
- do_action( 'render_content_ticker_custom_content', $settings );
771
- ?>
772
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
773
  </div>
774
- <?php $this->render_arrows(); ?>
775
  </div>
776
- </div>
777
- <?php
778
- }
779
-
780
- /**
781
- * Render Content Ticker arrows output on the frontend.
782
- *
783
- * Written in PHP and used to generate the final HTML.
784
- *
785
- * @access protected
786
- */
787
- protected function render_arrows() {
788
- $settings = $this->get_settings_for_display();
789
- $icon_migrated = isset($settings['__fa4_migrated']['arrow_new']);
790
- $icon_is_new = empty($settings['arrow']);
791
-
792
- if ( $settings['arrows'] == 'yes' ) { ?>
793
- <?php
794
- if ($icon_is_new || $icon_migrated) {
795
- $arrow = $settings['arrow_new']['value'];
796
- } else {
797
- $arrow = $settings['arrow'];
798
- }
799
- ?>
800
- <!-- Add Arrows -->
801
- <div class="content-ticker-pagination">
802
- <div class="swiper-button-next swiper-button-next-<?php echo esc_attr( $this->get_id() ); ?>">
803
- <i class="<?php echo esc_attr( $arrow ); ?>"></i>
804
  </div>
805
- <div class="swiper-button-prev swiper-button-prev-<?php echo esc_attr( $this->get_id() ); ?>">
806
- <i class="<?php echo esc_attr( $arrow ); ?>"></i>
807
  </div>
808
- </div>
809
- <?php }
810
  }
811
-
812
- protected function content_template() {}
813
  }
10
  use \Elementor\Group_Control_Border;
11
  use \Elementor\Group_Control_Typography;
12
  use \Elementor\Widget_Base;
13
+
14
+ class Content_Ticker extends Widget_Base
15
+ {
16
+ use \Essential_Addons_Elementor\Traits\Helper;
17
+ use \Essential_Addons_Elementor\Template\Content\Content_Ticker;
18
+
19
+ public function get_name()
20
+ {
21
+ return 'eael-content-ticker';
22
+ }
23
+
24
+ public function get_title()
25
+ {
26
+ return esc_html__('EA Content Ticker', 'essential-addons-elementor');
27
+ }
28
+
29
+ public function get_icon()
30
+ {
31
+ return 'eicon-call-to-action';
32
+ }
33
+
34
+ public function get_categories()
35
+ {
36
+ return ['essential-addons-elementor'];
37
+ }
38
+
39
+ protected function _register_controls()
40
+ {
41
+ /**
42
+ * Content Ticker Content Settings
43
+ */
44
+ $this->start_controls_section(
45
+ 'eael_section_content_ticker_settings',
46
+ [
47
+ 'label' => esc_html__('Ticker Settings', 'essential-addons-elementor'),
48
+ ]
49
+ );
50
+
51
+ $ticker_options = apply_filters(
52
+ 'eael_ticker_options',
53
+ [
54
+ 'options' => [
55
+ 'dynamic' => esc_html__('Dynamic', 'essential-addons-elementor'),
56
+ 'custom' => esc_html__('Custom', 'essential-addons-elementor'),
57
+ ],
58
+ 'conditions' => [
59
+ 'custom',
60
+ ],
61
+ ]
62
+ );
63
+
64
+ $this->add_control(
65
+ 'eael_ticker_type',
66
+ [
67
+ 'label' => esc_html__('Ticker Type', 'essential-addons-elementor'),
68
+ 'type' => Controls_Manager::SELECT,
69
+ 'default' => 'dynamic',
70
+ 'label_block' => false,
71
+ 'options' => $ticker_options['options'],
72
+ ]
73
+ );
74
+
75
+ $this->add_control(
76
+ 'eael_ticker_type_pro_alert',
77
+ [
78
+ 'label' => esc_html__('Custom Content available in pro version only!', 'essential-addons-elementor'),
79
+ 'type' => Controls_Manager::HEADING,
80
+ 'condition' => [
81
+ 'eael_ticker_type' => $ticker_options['conditions'],
82
+ ],
83
+ ]
84
+ );
85
+
86
+ $this->add_control(
87
+ 'eael_ticker_tag_text',
88
+ [
89
+ 'label' => esc_html__('Tag Text', 'essential-addons-elementor'),
90
+ 'type' => Controls_Manager::TEXT,
91
+ 'label_block' => false,
92
+ 'default' => esc_html__('Trending Today', 'essential-addons-elementor'),
93
+ ]
94
+ );
95
+
96
+ $this->end_controls_section();
97
+
98
+ /**
99
+ * Query Controls
100
+ * @source includes/helper.php
101
+ */
102
+ $this->eael_query_controls();
103
+
104
+ do_action('eael_ticker_custom_content_controls', $this);
105
+
106
+ /**
107
  * Content Tab: Carousel Settings
108
  */
109
  $this->start_controls_section(
110
  'section_additional_options',
111
  [
112
+ 'label' => __('Animation Settings', 'essential-addons-elementor'),
113
  ]
114
  );
115
+
116
  $this->add_control(
117
  'carousel_effect',
118
  [
119
+ 'label' => __('Effect', 'essential-addons-elementor'),
120
+ 'description' => __('Sets transition effect', 'essential-addons-elementor'),
121
+ 'type' => Controls_Manager::SELECT,
122
+ 'default' => 'slide',
123
+ 'options' => [
124
+ 'slide' => __('Slide', 'essential-addons-elementor'),
125
+ 'fade' => __('Fade', 'essential-addons-elementor'),
126
  ],
127
  ]
128
  );
129
+
130
  $this->add_responsive_control(
131
  'items',
132
  [
133
+ 'label' => __('Visible Items', 'essential-addons-elementor'),
134
+ 'type' => Controls_Manager::SLIDER,
135
+ 'default' => ['size' => 1],
136
+ 'tablet_default' => ['size' => 1],
137
+ 'mobile_default' => ['size' => 1],
138
+ 'range' => [
139
  'px' => [
140
+ 'min' => 1,
141
+ 'max' => 10,
142
+ 'step' => 1,
143
  ],
144
  ],
145
+ 'size_units' => '',
146
+ 'condition' => [
147
+ 'carousel_effect' => 'slide',
148
  ],
149
+ 'separator' => 'before',
150
  ]
151
  );
152
+
153
  $this->add_responsive_control(
154
  'margin',
155
  [
156
+ 'label' => __('Items Gap', 'essential-addons-elementor'),
157
+ 'type' => Controls_Manager::SLIDER,
158
+ 'default' => ['size' => 10],
159
+ 'range' => [
160
  'px' => [
161
+ 'min' => 0,
162
+ 'max' => 100,
163
+ 'step' => 1,
164
  ],
165
  ],
166
+ 'size_units' => '',
167
+ 'condition' => [
168
+ 'carousel_effect' => 'slide',
169
  ],
170
  ]
171
  );
172
+
173
  $this->add_control(
174
  'slider_speed',
175
  [
176
+ 'label' => __('Slider Speed', 'essential-addons-elementor'),
177
+ 'description' => __('Duration of transition between slides (in ms)', 'essential-addons-elementor'),
178
+ 'type' => Controls_Manager::SLIDER,
179
+ 'default' => ['size' => 400],
180
+ 'range' => [
181
  'px' => [
182
+ 'min' => 100,
183
+ 'max' => 3000,
184
+ 'step' => 1,
185
  ],
186
  ],
187
+ 'size_units' => '',
188
+ 'separator' => 'before',
189
  ]
190
  );
191
+
192
+ $this->add_control(
193
  'autoplay',
194
  [
195
+ 'label' => __('Autoplay', 'essential-addons-elementor'),
196
+ 'type' => Controls_Manager::SWITCHER,
197
+ 'default' => 'yes',
198
+ 'label_on' => __('Yes', 'essential-addons-elementor'),
199
+ 'label_off' => __('No', 'essential-addons-elementor'),
200
+ 'return_value' => 'yes',
201
+ 'separator' => 'before',
202
  ]
203
  );
204
+
205
  $this->add_control(
206
  'autoplay_speed',
207
  [
208
+ 'label' => __('Autoplay Speed', 'essential-addons-elementor'),
209
+ 'type' => Controls_Manager::SLIDER,
210
+ 'default' => ['size' => 2000],
211
+ 'range' => [
212
  'px' => [
213
+ 'min' => 500,
214
+ 'max' => 5000,
215
+ 'step' => 1,
216
  ],
217
  ],
218
+ 'size_units' => '',
219
+ 'condition' => [
220
+ 'autoplay' => 'yes',
221
  ],
222
  ]
223
  );
225
  $this->add_control(
226
  'pause_on_hover',
227
  [
228
+ 'label' => __('Pause On Hover', 'essential-addons-elementor'),
229
+ 'type' => Controls_Manager::SWITCHER,
230
+ 'default' => '',
231
+ 'label_on' => __('Yes', 'essential-addons-elementor'),
232
+ 'label_off' => __('No', 'essential-addons-elementor'),
233
+ 'return_value' => 'yes',
234
+ 'condition' => [
235
+ 'autoplay' => 'yes',
236
  ],
237
  ]
238
  );
239
+
240
  $this->add_control(
241
  'infinite_loop',
242
  [
243
+ 'label' => __('Infinite Loop', 'essential-addons-elementor'),
244
+ 'type' => Controls_Manager::SWITCHER,
245
+ 'default' => 'yes',
246
+ 'label_on' => __('Yes', 'essential-addons-elementor'),
247
+ 'label_off' => __('No', 'essential-addons-elementor'),
248
+ 'return_value' => 'yes',
249
  ]
250
  );
251
+
252
  $this->add_control(
253
  'grab_cursor',
254
  [
255
+ 'label' => __('Grab Cursor', 'essential-addons-elementor'),
256
+ 'description' => __('Shows grab cursor when you hover over the slider', 'essential-addons-elementor'),
257
+ 'type' => Controls_Manager::SWITCHER,
258
+ 'default' => '',
259
+ 'label_on' => __('Show', 'essential-addons-elementor'),
260
+ 'label_off' => __('Hide', 'essential-addons-elementor'),
261
+ 'return_value' => 'yes',
262
+ 'separator' => 'before',
263
  ]
264
  );
265
+
266
  $this->add_control(
267
  'navigation_heading',
268
  [
269
+ 'label' => __('Navigation', 'essential-addons-elementor'),
270
+ 'type' => Controls_Manager::HEADING,
271
+ 'separator' => 'before',
272
  ]
273
  );
274
+
275
  $this->add_control(
276
  'arrows',
277
  [
278
+ 'label' => __('Arrows', 'essential-addons-elementor'),
279
+ 'type' => Controls_Manager::SWITCHER,
280
+ 'default' => 'yes',
281
+ 'label_on' => __('Yes', 'essential-addons-elementor'),
282
+ 'label_off' => __('No', 'essential-addons-elementor'),
283
+ 'return_value' => 'yes',
284
  ]
285
  );
286
+
287
  $this->add_control(
288
  'direction',
289
  [
290
+ 'label' => __('Direction', 'essential-addons-elementor'),
291
+ 'type' => Controls_Manager::SELECT,
292
+ 'default' => 'left',
293
+ 'options' => [
294
+ 'left' => __('Left', 'essential-addons-elementor'),
295
+ 'right' => __('Right', 'essential-addons-elementor'),
296
+ ],
297
+ 'separator' => 'before',
298
+ 'condition' => [
299
+ 'carousel_effect' => 'slide',
300
+ ],
301
+ ]
302
+ );
303
+
304
+ $this->end_controls_section();
305
+
306
+ if (!apply_filters('eael/pro_enabled', false)) {
307
+ $this->start_controls_section(
308
+ 'eael_section_pro',
309
+ [
310
+ 'label' => __('Go Premium for More Features', 'essential-addons-elementor'),
311
+ ]
312
+ );
313
+
314
+ $this->add_control(
315
+ 'eael_control_get_pro',
316
+ [
317
+ 'label' => __('Unlock more possibilities', 'essential-addons-elementor'),
318
+ 'type' => Controls_Manager::CHOOSE,
319
+ 'options' => [
320
+ '1' => [
321
+ 'title' => __('', 'essential-addons-elementor'),
322
+ 'icon' => 'fa fa-unlock-alt',
323
+ ],
324
+ ],
325
+ 'default' => '1',
326
+ 'description' => '<span class="pro-feature"> Get the <a href="https://wpdeveloper.net/in/upgrade-essential-addons-elementor" target="_blank">Pro version</a> for more stunning elements and customization options.</span>',
327
+ ]
328
+ );
329
+
330
+ $this->end_controls_section();
331
+ }
332
+
333
+ /**
334
+ * -------------------------------------------
335
+ * Tab Style (Ticker Content Style)
336
+ * -------------------------------------------
337
+ */
338
+ $this->start_controls_section(
339
+ 'eael_section_ticker_typography_settings',
340
+ [
341
+ 'label' => esc_html__('Ticker Content', 'essential-addons-elementor'),
342
+ 'tab' => Controls_Manager::TAB_STYLE,
343
+ ]
344
+ );
345
+
346
+ $this->add_control(
347
+ 'eael_ticker_content_bg',
348
+ [
349
+ 'label' => esc_html__('Background Color', 'essential-addons-elementor'),
350
+ 'type' => Controls_Manager::COLOR,
351
+ 'default' => '',
352
+ 'selectors' => [
353
+ '{{WRAPPER}} .eael-ticker-wrap .eael-ticker' => 'background-color: {{VALUE}};',
354
+ ],
355
+ ]
356
+ );
357
+
358
+ $this->add_control(
359
+ 'eael_ticker_content_color',
360
+ [
361
+ 'label' => esc_html__('Text Color', 'essential-addons-elementor'),
362
+ 'type' => Controls_Manager::COLOR,
363
+ 'default' => '#222222',
364
+ 'selectors' => [
365
+ '{{WRAPPER}} .eael-ticker-wrap .eael-ticker .ticker-content a' => 'color: {{VALUE}};',
366
+ ],
367
+ ]
368
+ );
369
+ $this->add_control(
370
+ 'eael_ticker_hover_content_color',
371
+ [
372
+ 'label' => esc_html__('Text Hover Color', 'essential-addons-elementor'),
373
+ 'type' => Controls_Manager::COLOR,
374
+ 'default' => '#f44336',
375
+ 'selectors' => [
376
+ '{{WRAPPER}} .eael-ticker-wrap .eael-ticker .ticker-content a:hover' => 'color: {{VALUE}};',
377
+ ],
378
+ ]
379
+ );
380
+
381
+ $this->add_group_control(
382
+ Group_Control_Typography::get_type(),
383
+ [
384
+ 'name' => 'eael_ticker_content_typography',
385
+ 'selector' => '{{WRAPPER}} .eael-ticker-wrap .eael-ticker .ticker-content a',
386
+
387
+ ]
388
+ );
389
+
390
+ $this->add_responsive_control(
391
+ 'eael_ticker_content_padding',
392
+ [
393
+ 'label' => esc_html__('Padding', 'essential-addons-elementor'),
394
+ 'type' => Controls_Manager::DIMENSIONS,
395
+ 'size_units' => ['px', 'em', '%'],
396
+ 'selectors' => [
397
+ '{{WRAPPER}} .eael-ticker-wrap .eael-ticker .ticker-content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
398
+ ],
399
+ ]
400
+ );
401
+
402
+ $this->end_controls_section();
403
+
404
+ $this->start_controls_section(
405
+ 'eael_section_ticker_tag_style_settings',
406
+ [
407
+ 'label' => esc_html__('Tag Style', 'essential-addons-elementor'),
408
+ 'tab' => Controls_Manager::TAB_STYLE,
409
+ ]
410
+ );
411
+ $this->add_control(
412
+ 'eael_ticker_tag_bg_color',
413
+ [
414
+ 'label' => esc_html__('Background Color', 'essential-addons-elementor'),
415
+ 'type' => Controls_Manager::COLOR,
416
+ 'default' => '#222222',
417
+ 'selectors' => [
418
+ '{{WRAPPER}} .eael-ticker-wrap .ticker-badge' => 'background-color: {{VALUE}};',
419
+ ],
420
+ ]
421
+ );
422
+ $this->add_control(
423
+ 'eael_ticker_tag_color',
424
+ [
425
+ 'label' => esc_html__('Color', 'essential-addons-elementor'),
426
+ 'type' => Controls_Manager::COLOR,
427
+ 'default' => '#fff',
428
+ 'selectors' => [
429
+ '{{WRAPPER}} .eael-ticker-wrap .ticker-badge span' => 'color: {{VALUE}};',
430
+ ],
431
+ ]
432
+ );
433
+
434
+ $this->add_group_control(
435
+ Group_Control_Typography::get_type(),
436
+ [
437
+ 'name' => 'eael_ticker_tag_typography',
438
+ 'selector' => '{{WRAPPER}} .eael-ticker-wrap .ticker-badge span',
439
+ ]
440
+ );
441
+ $this->add_responsive_control(
442
+ 'eael_ticker_tag_padding',
443
+ [
444
+ 'label' => esc_html__('Padding', 'essential-addons-elementor'),
445
+ 'type' => Controls_Manager::DIMENSIONS,
446
+ 'size_units' => ['px', 'em', '%'],
447
+ 'selectors' => [
448
+ '{{WRAPPER}} .eael-ticker-wrap .ticker-badge' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
449
+ ],
450
+ ]
451
+ );
452
+
453
+ $this->add_responsive_control(
454
+ 'eael_ticker_tag_margin',
455
+ [
456
+ 'label' => esc_html__('Margin', 'essential-addons-elementor'),
457
+ 'type' => Controls_Manager::DIMENSIONS,
458
+ 'size_units' => ['px', 'em', '%'],
459
+ 'selectors' => [
460
+ '{{WRAPPER}} .eael-ticker-wrap .ticker-badge' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
461
+ ],
462
+ ]
463
+ );
464
+ $this->add_responsive_control(
465
+ 'eael_ticker_tag_radius',
466
+ [
467
+ 'label' => esc_html__('Border Radius', 'essential-addons-elementor'),
468
+ 'type' => Controls_Manager::DIMENSIONS,
469
+ 'size_units' => ['px', 'em', '%'],
470
+ 'selectors' => [
471
+ '{{WRAPPER}} .eael-ticker-wrap .ticker-badge' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
472
+ ],
473
+ ]
474
+ );
475
+ $this->end_controls_section();
476
+
477
+ /**
478
  * Style Tab: Arrows
479
  */
480
  $this->start_controls_section(
481
  'section_arrows_style',
482
  [
483
+ 'label' => __('Arrows', 'essential-addons-elementor'),
484
+ 'tab' => Controls_Manager::TAB_STYLE,
485
+ 'condition' => [
486
+ 'arrows' => 'yes',
487
  ],
488
  ]
489
  );
490
+
491
  $this->add_control(
492
  'arrow_new',
493
  [
494
+ 'label' => __('Choose Arrow', 'essential-addons-elementor'),
495
+ 'type' => Controls_Manager::ICONS,
496
+ 'fa4compatibility' => 'arrow',
497
+ 'label_block' => true,
498
+ 'default' => [
499
+ 'value' => 'fas fa-angle-right',
500
+ 'library' => 'fa-solid',
501
+ ],
502
  ]
503
  );
504
+
505
  $this->add_responsive_control(
506
  'arrows_size',
507
  [
508
+ 'label' => __('Arrows Size', 'essential-addons-elementor'),
509
+ 'type' => Controls_Manager::SLIDER,
510
+ 'default' => ['size' => '22'],
511
+ 'range' => [
512
  'px' => [
513
+ 'min' => 5,
514
+ 'max' => 100,
515
+ 'step' => 1,
516
  ],
517
  ],
518
+ 'size_units' => ['px'],
519
+ 'selectors' => [
520
+ '{{WRAPPER}} .swiper-container-wrap .swiper-button-next, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev' => 'font-size: {{SIZE}}{{UNIT}};',
521
+ ],
522
  ]
523
  );
524
+
525
  $this->add_responsive_control(
526
  'left_arrow_position',
527
  [
528
+ 'label' => __('Align Left Arrow', 'essential-addons-elementor'),
529
+ 'type' => Controls_Manager::SLIDER,
530
+ 'range' => [
531
  'px' => [
532
+ 'min' => -100,
533
+ 'max' => 100,
534
+ 'step' => 1,
535
  ],
536
  ],
537
+ 'size_units' => ['px'],
538
+ 'selectors' => [
539
+ '{{WRAPPER}} .swiper-container-wrap .swiper-button-prev' => 'right: {{SIZE}}{{UNIT}};',
540
+ ],
541
  ]
542
  );
543
+
544
  $this->add_responsive_control(
545
  'right_arrow_position',
546
  [
547
+ 'label' => __('Align Right Arrow', 'essential-addons-elementor'),
548
+ 'type' => Controls_Manager::SLIDER,
549
+ 'range' => [
550
  'px' => [
551
+ 'min' => -100,
552
+ 'max' => 100,
553
+ 'step' => 1,
554
  ],
555
  ],
556
+ 'size_units' => ['px'],
557
+ 'selectors' => [
558
+ '{{WRAPPER}} .swiper-container-wrap .swiper-button-next' => 'right: {{SIZE}}{{UNIT}};',
559
+ ],
560
  ]
561
  );
562
 
563
+ $this->start_controls_tabs('tabs_arrows_style');
564
 
565
  $this->start_controls_tab(
566
  'tab_arrows_normal',
567
  [
568
+ 'label' => __('Normal', 'essential-addons-elementor'),
569
  ]
570
  );
571
 
572
  $this->add_control(
573
  'arrows_bg_color_normal',
574
  [
575
+ 'label' => __('Background Color', 'essential-addons-elementor'),
576
+ 'type' => Controls_Manager::COLOR,
577
+ 'default' => '',
578
+ 'selectors' => [
579
  '{{WRAPPER}} .swiper-container-wrap .swiper-button-next, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev' => 'background-color: {{VALUE}};',
580
  ],
581
  ]
584
  $this->add_control(
585
  'arrows_color_normal',
586
  [
587
+ 'label' => __('Color', 'essential-addons-elementor'),
588
+ 'type' => Controls_Manager::COLOR,
589
+ 'default' => '',
590
+ 'selectors' => [
591
  '{{WRAPPER}} .swiper-container-wrap .swiper-button-next, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev' => 'color: {{VALUE}};',
592
  ],
593
  ]
594
  );
595
 
596
+ $this->add_group_control(
597
+ Group_Control_Border::get_type(),
598
+ [
599
+ 'name' => 'arrows_border_normal',
600
+ 'label' => __('Border', 'essential-addons-elementor'),
601
+ 'placeholder' => '1px',
602
+ 'default' => '1px',
603
+ 'selector' => '{{WRAPPER}} .swiper-container-wrap .swiper-button-next, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev',
604
+ ]
605
+ );
606
+
607
+ $this->add_control(
608
+ 'arrows_border_radius_normal',
609
+ [
610
+ 'label' => __('Border Radius', 'essential-addons-elementor'),
611
+ 'type' => Controls_Manager::DIMENSIONS,
612
+ 'size_units' => ['px', '%'],
613
+ 'selectors' => [
614
+ '{{WRAPPER}} .swiper-container-wrap .swiper-button-next, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
615
+ ],
616
+ ]
617
+ );
618
+
619
  $this->end_controls_tab();
620
 
621
  $this->start_controls_tab(
622
  'tab_arrows_hover',
623
  [
624
+ 'label' => __('Hover', 'essential-addons-elementor'),
625
  ]
626
  );
627
 
628
  $this->add_control(
629
  'arrows_bg_color_hover',
630
  [
631
+ 'label' => __('Background Color', 'essential-addons-elementor'),
632
+ 'type' => Controls_Manager::COLOR,
633
+ 'default' => '',
634
+ 'selectors' => [
635
  '{{WRAPPER}} .swiper-container-wrap .swiper-button-next:hover, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev:hover' => 'background-color: {{VALUE}};',
636
  ],
637
  ]
640
  $this->add_control(
641
  'arrows_color_hover',
642
  [
643
+ 'label' => __('Color', 'essential-addons-elementor'),
644
+ 'type' => Controls_Manager::COLOR,
645
+ 'default' => '',
646
+ 'selectors' => [
647
  '{{WRAPPER}} .swiper-container-wrap .swiper-button-next:hover, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev:hover' => 'color: {{VALUE}};',
648
  ],
649
  ]
652
  $this->add_control(
653
  'arrows_border_color_hover',
654
  [
655
+ 'label' => __('Border Color', 'essential-addons-elementor'),
656
+ 'type' => Controls_Manager::COLOR,
657
+ 'default' => '',
658
+ 'selectors' => [
659
  '{{WRAPPER}} .swiper-container-wrap .swiper-button-next:hover, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev:hover' => 'border-color: {{VALUE}};',
660
  ],
661
  ]
662
  );
663
+
664
  $this->end_controls_tab();
665
+
666
  $this->end_controls_tabs();
667
 
668
+ $this->add_responsive_control(
669
+ 'arrows_padding',
670
+ [
671
+ 'label' => __('Padding', 'essential-addons-elementor'),
672
+ 'type' => Controls_Manager::DIMENSIONS,
673
+ 'size_units' => ['px', '%'],
674
+ 'selectors' => [
675
+ '{{WRAPPER}} .swiper-container-wrap .swiper-button-next, {{WRAPPER}} .swiper-container-wrap .swiper-button-prev' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
676
+ ],
677
+ 'separator' => 'before',
678
+ ]
679
+ );
680
+
681
  $this->end_controls_section();
682
+ }
683
+
684
+ protected function render()
685
+ {
686
+ $settings = $this->get_settings_for_display();
687
+ $args = $this->eael_get_query_args($settings);
688
+
689
+ $this->add_render_attribute('content-ticker-wrap', 'class', 'swiper-container-wrap eael-ticker');
690
+
691
+ $this->add_render_attribute('content-ticker', 'class', 'swiper-container eael-content-ticker');
692
+ $this->add_render_attribute('content-ticker', 'class', 'swiper-container-' . esc_attr($this->get_id()));
693
+ $this->add_render_attribute('content-ticker', 'data-pagination', '.swiper-pagination-' . esc_attr($this->get_id()));
694
+ $this->add_render_attribute('content-ticker', 'data-arrow-next', '.swiper-button-next-' . esc_attr($this->get_id()));
695
+ $this->add_render_attribute('content-ticker', 'data-arrow-prev', '.swiper-button-prev-' . esc_attr($this->get_id()));
696
+
697
+ if ($settings['direction'] == 'right') {
698
+ $this->add_render_attribute('content-ticker', 'dir', 'rtl');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
699
  }
700
+
701
+ if (!empty($settings['items']['size'])) {
702
+ $this->add_render_attribute('content-ticker', 'data-items', $settings['items']['size']);
703
+ }
704
+ if (!empty($settings['items_tablet']['size'])) {
705
+ $this->add_render_attribute('content-ticker', 'data-items-tablet', $settings['items_tablet']['size']);
706
+ }
707
+ if (!empty($settings['items_mobile']['size'])) {
708
+ $this->add_render_attribute('content-ticker', 'data-items-mobile', $settings['items_mobile']['size']);
709
+ }
710
+ if (!empty($settings['margin']['size'])) {
711
+ $this->add_render_attribute('content-ticker', 'data-margin', $settings['margin']['size']);
712
+ }
713
+ if (!empty($settings['margin_tablet']['size'])) {
714
+ $this->add_render_attribute('content-ticker', 'data-margin-tablet', $settings['margin_tablet']['size']);
715
+ }
716
+ if (!empty($settings['margin_mobile']['size'])) {
717
+ $this->add_render_attribute('content-ticker', 'data-margin-mobile', $settings['margin_mobile']['size']);
718
+ }
719
+ if ($settings['carousel_effect']) {
720
+ $this->add_render_attribute('content-ticker', 'data-effect', $settings['carousel_effect']);
721
+ }
722
+ if (!empty($settings['slider_speed']['size'])) {
723
+ $this->add_render_attribute('content-ticker', 'data-speed', $settings['slider_speed']['size']);
724
+ }
725
+ if ($settings['autoplay'] == 'yes' && !empty($settings['autoplay_speed']['size'])) {
726
+ $this->add_render_attribute('content-ticker', 'data-autoplay', $settings['autoplay_speed']['size']);
727
+ } else {
728
+ $this->add_render_attribute('content-ticker', 'data-autoplay', '999999');
729
+ }
730
+ if ($settings['pause_on_hover'] == 'yes') {
731
+ $this->add_render_attribute('content-ticker', 'data-pause-on-hover', 'true');
732
+ }
733
+ if ($settings['infinite_loop'] == 'yes') {
734
+ $this->add_render_attribute('content-ticker', 'data-loop', true);
735
+ }
736
+ if ($settings['grab_cursor'] == 'yes') {
737
+ $this->add_render_attribute('content-ticker', 'data-grab-cursor', true);
738
+ }
739
+ if ($settings['arrows'] == 'yes') {
740
+ $this->add_render_attribute('content-ticker', 'data-arrows', '1');
741
+ }
742
+
743
+ echo '<div class="eael-ticker-wrap" id="eael-ticker-wrap-' . $this->get_id() . '">';
744
+ if (!empty($settings['eael_ticker_tag_text'])) {
745
+ echo '<div class="ticker-badge">
746
+ <span>' . $settings['eael_ticker_tag_text'] . '</span>
747
+ </div>';
748
+ }
749
+
750
+ echo '<div ' . $this->get_render_attribute_string('content-ticker-wrap') . '>
751
+ <div ' . $this->get_render_attribute_string('content-ticker') . '>
752
+ <div class="swiper-wrapper">';
753
+ if ('dynamic' === $settings['eael_ticker_type']) {
754
+ echo self::__render_template($args, null);
755
+ }
756
+
757
+ do_action('render_content_ticker_custom_content', $settings);
758
+ echo '</div>
759
  </div>
760
+ ' . $this->render_arrows() . '
761
  </div>
762
+ </div>';
763
+ }
764
+
765
+ /**
766
+ * Render Content Ticker arrows output on the frontend.
767
+ *
768
+ * Written in PHP and used to generate the final HTML.
769
+ *
770
+ * @access protected
771
+ */
772
+ protected function render_arrows()
773
+ {
774
+ $settings = $this->get_settings_for_display();
775
+
776
+ if ($settings['arrows'] == 'yes') {
777
+ if (isset($settings['__fa4_migrated']['arrow_new']) || empty($settings['arrow'])) {
778
+ $arrow = $settings['arrow_new']['value'];
779
+ } else {
780
+ $arrow = $settings['arrow'];
781
+ }
782
+
783
+ return '<div class="content-ticker-pagination">
784
+ <div class="swiper-button-next swiper-button-next-' . $this->get_id() . '">
785
+ <i class="' . $arrow . '"></i>
 
 
 
 
786
  </div>
787
+ <div class="swiper-button-prev swiper-button-prev-' . $this->get_id() . '">
788
+ <i class="' . $arrow . '"></i>
789
  </div>
790
+ </div>';
791
+ }
792
  }
 
 
793
  }
includes/Elements/Creative_Button.php CHANGED
@@ -488,7 +488,7 @@ class Creative_Button extends Widget_Base {
488
  <span>
489
  <?php if ( $settings['eael_creative_button_icon_alignment'] == 'left' ) : ?>
490
  <?php if($icon_migrated || $icon_is_new) { ?>
491
- <?php Icons_Manager::render_icon($settings['eael_creative_button_icon_new']); ?>
492
  <?php } else { ?>
493
  <i class="<?php echo esc_attr($settings['eael_creative_button_icon'] ); ?> eael-creative-button-icon-left" aria-hidden="true"></i>
494
  <?php } ?>
@@ -498,7 +498,7 @@ class Creative_Button extends Widget_Base {
498
 
499
  <?php if ( $settings['eael_creative_button_icon_alignment'] == 'right' ) : ?>
500
  <?php if($icon_migrated || $icon_is_new) { ?>
501
- <?php Icons_Manager::render_icon($settings['eael_creative_button_icon_new']); ?>
502
  <?php } else { ?>
503
  <i class="<?php echo esc_attr($settings['eael_creative_button_icon'] ); ?> eael-creative-button-icon-right" aria-hidden="true"></i>
504
  <?php } ?>
488
  <span>
489
  <?php if ( $settings['eael_creative_button_icon_alignment'] == 'left' ) : ?>
490
  <?php if($icon_migrated || $icon_is_new) { ?>
491
+ <i class="<?php echo esc_attr($settings['eael_creative_button_icon_new']['value'] ); ?> eael-creative-button-icon-left" aria-hidden="true"></i>
492
  <?php } else { ?>
493
  <i class="<?php echo esc_attr($settings['eael_creative_button_icon'] ); ?> eael-creative-button-icon-left" aria-hidden="true"></i>
494
  <?php } ?>
498
 
499
  <?php if ( $settings['eael_creative_button_icon_alignment'] == 'right' ) : ?>
500
  <?php if($icon_migrated || $icon_is_new) { ?>
501
+ <i class="<?php echo esc_attr($settings['eael_creative_button_icon_new']['value'] ); ?> eael-creative-button-icon-right" aria-hidden="true"></i>
502
  <?php } else { ?>
503
  <i class="<?php echo esc_attr($settings['eael_creative_button_icon'] ); ?> eael-creative-button-icon-right" aria-hidden="true"></i>
504
  <?php } ?>
includes/Elements/Cta_Box.php CHANGED
@@ -13,7 +13,6 @@ use \Elementor\Group_Control_Box_Shadow;
13
  use \Elementor\Group_Control_Typography;
14
  use \Elementor\Utils;
15
  use \Elementor\Widget_Base;
16
- use \Elementor\Icons_Manager;
17
 
18
  class Cta_Box extends Widget_Base {
19
  use \Essential_Addons_Elementor\Traits\Helper;
@@ -737,7 +736,7 @@ class Cta_Box extends Widget_Base {
737
  <div class="eael-call-to-action cta-icon-flex <?php echo esc_attr( $cta_class ); ?>">
738
  <div class="icon">
739
  <?php if($icon_is_new || $icon_migrated) { ?>
740
- <?php Icons_Manager::render_icon($settings['eael_cta_flex_grid_icon_new']); ?>
741
  <?php } else { ?>
742
  <i class="<?php echo esc_attr( $settings['eael_cta_flex_grid_icon'] ); ?>"></i>
743
  <?php } ?>
13
  use \Elementor\Group_Control_Typography;
14
  use \Elementor\Utils;
15
  use \Elementor\Widget_Base;
 
16
 
17
  class Cta_Box extends Widget_Base {
18
  use \Essential_Addons_Elementor\Traits\Helper;
736
  <div class="eael-call-to-action cta-icon-flex <?php echo esc_attr( $cta_class ); ?>">
737
  <div class="icon">
738
  <?php if($icon_is_new || $icon_migrated) { ?>
739
+ <i class="<?php echo esc_attr( $settings['eael_cta_flex_grid_icon_new']['value'] ); ?>"></i>
740
  <?php } else { ?>
741
  <i class="<?php echo esc_attr( $settings['eael_cta_flex_grid_icon'] ); ?>"></i>
742
  <?php } ?>
includes/Elements/Data_Table.php CHANGED
@@ -12,7 +12,6 @@ use \Elementor\Group_Control_Border;
12
  use \Elementor\Group_Control_Typography;
13
  use \Elementor\Utils;
14
  use \Elementor\Widget_Base;
15
- use \Elementor\Icons_Manager;
16
 
17
  class Data_Table extends Widget_Base {
18
  use \Essential_Addons_Elementor\Traits\Helper;
@@ -1022,7 +1021,7 @@ class Data_Table extends Widget_Base {
1022
  <th <?php echo $this->get_render_attribute_string('th_class'.$i); ?>>
1023
  <?php if( $header_title['eael_data_table_header_col_icon_enabled'] == 'true' && $header_title['eael_data_table_header_icon_type'] == 'icon' ) : ?>
1024
  <?php if (empty($header_title['eael_data_table_header_col_icon']) || isset($header_title['__fa4_migrated']['eael_data_table_header_col_icon_new'])) { ?>
1025
- <?php Icons_Manager::render_icon($header_title['eael_data_table_header_col_icon_new'], ['class' => 'data-header-icon']); ?>
1026
  <?php } else { ?>
1027
  <i class="<?php echo $header_title['eael_data_table_header_col_icon'] ?> data-header-icon"></i>
1028
  <?php } ?>
12
  use \Elementor\Group_Control_Typography;
13
  use \Elementor\Utils;
14
  use \Elementor\Widget_Base;
 
15
 
16
  class Data_Table extends Widget_Base {
17
  use \Essential_Addons_Elementor\Traits\Helper;
1021
  <th <?php echo $this->get_render_attribute_string('th_class'.$i); ?>>
1022
  <?php if( $header_title['eael_data_table_header_col_icon_enabled'] == 'true' && $header_title['eael_data_table_header_icon_type'] == 'icon' ) : ?>
1023
  <?php if (empty($header_title['eael_data_table_header_col_icon']) || isset($header_title['__fa4_migrated']['eael_data_table_header_col_icon_new'])) { ?>
1024
+ <i class="<?php echo $header_title['eael_data_table_header_col_icon_new']['value'] ?> data-header-icon"></i>
1025
  <?php } else { ?>
1026
  <i class="<?php echo $header_title['eael_data_table_header_col_icon'] ?> data-header-icon"></i>
1027
  <?php } ?>
includes/Elements/Dual_Color_Header.php CHANGED
@@ -409,7 +409,7 @@ class Dual_Color_Header extends Widget_Base {
409
  <span class="subtext"><?php echo $settings['eael_dch_subtext']; ?></span>
410
  <?php if( 'yes' == $settings['eael_show_dch_icon_content'] ) : ?>
411
  <?php if($icon_is_new || $icon_migrated) { ?>
412
- <?php Icons_Manager::render_icon($settings['eael_dch_icon_new']); ?>
413
  <?php } else { ?>
414
  <i class="<?php echo esc_attr( $settings['eael_dch_icon'] ); ?>"></i>
415
  <?php } ?>
@@ -421,7 +421,7 @@ class Dual_Color_Header extends Widget_Base {
421
  <div class="eael-dual-header">
422
  <?php if( 'yes' == $settings['eael_show_dch_icon_content'] ) : ?>
423
  <?php if($icon_is_new || $icon_migrated) { ?>
424
- <?php Icons_Manager::render_icon($settings['eael_dch_icon_new']); ?>
425
  <?php } else { ?>
426
  <i class="<?php echo esc_attr( $settings['eael_dch_icon'] ); ?>"></i>
427
  <?php } ?>
@@ -435,7 +435,7 @@ class Dual_Color_Header extends Widget_Base {
435
  <div class="eael-dual-header">
436
  <?php if( 'yes' == $settings['eael_show_dch_icon_content'] ) : ?>
437
  <?php if($icon_is_new || $icon_migrated) { ?>
438
- <?php Icons_Manager::render_icon($settings['eael_dch_icon_new']); ?>
439
  <?php } else { ?>
440
  <i class="<?php echo esc_attr( $settings['eael_dch_icon'] ); ?>"></i>
441
  <?php } ?>
@@ -451,7 +451,7 @@ class Dual_Color_Header extends Widget_Base {
451
  <h2 class="title"><span class="lead"><?php esc_html_e( $settings['eael_dch_first_title'], 'essential-addons-elementor' ); ?></span> <span><?php esc_html_e( $settings['eael_dch_last_title'], 'essential-addons-elementor' ); ?></span></h2>
452
  <?php if( 'yes' == $settings['eael_show_dch_icon_content'] ) : ?>
453
  <?php if($icon_is_new || $icon_migrated) { ?>
454
- <?php Icons_Manager::render_icon($settings['eael_dch_icon_new']); ?>
455
  <?php } else { ?>
456
  <i class="<?php echo esc_attr( $settings['eael_dch_icon'] ); ?>"></i>
457
  <?php } ?>
409
  <span class="subtext"><?php echo $settings['eael_dch_subtext']; ?></span>
410
  <?php if( 'yes' == $settings['eael_show_dch_icon_content'] ) : ?>
411
  <?php if($icon_is_new || $icon_migrated) { ?>
412
+ <i class="<?php echo esc_attr( $settings['eael_dch_icon_new']['value'] ); ?>"></i>
413
  <?php } else { ?>
414
  <i class="<?php echo esc_attr( $settings['eael_dch_icon'] ); ?>"></i>
415
  <?php } ?>
421
  <div class="eael-dual-header">
422
  <?php if( 'yes' == $settings['eael_show_dch_icon_content'] ) : ?>
423
  <?php if($icon_is_new || $icon_migrated) { ?>
424
+ <i class="<?php echo esc_attr( $settings['eael_dch_icon_new']['value'] ); ?>"></i>
425
  <?php } else { ?>
426
  <i class="<?php echo esc_attr( $settings['eael_dch_icon'] ); ?>"></i>
427
  <?php } ?>
435
  <div class="eael-dual-header">
436
  <?php if( 'yes' == $settings['eael_show_dch_icon_content'] ) : ?>
437
  <?php if($icon_is_new || $icon_migrated) { ?>
438
+ <i class="<?php echo esc_attr( $settings['eael_dch_icon_new']['value'] ); ?>"></i>
439
  <?php } else { ?>
440
  <i class="<?php echo esc_attr( $settings['eael_dch_icon'] ); ?>"></i>
441
  <?php } ?>
451
  <h2 class="title"><span class="lead"><?php esc_html_e( $settings['eael_dch_first_title'], 'essential-addons-elementor' ); ?></span> <span><?php esc_html_e( $settings['eael_dch_last_title'], 'essential-addons-elementor' ); ?></span></h2>
452
  <?php if( 'yes' == $settings['eael_show_dch_icon_content'] ) : ?>
453
  <?php if($icon_is_new || $icon_migrated) { ?>
454
+ <i class="<?php echo esc_attr( $settings['eael_dch_icon_new']['value'] ); ?>"></i>
455
  <?php } else { ?>
456
  <i class="<?php echo esc_attr( $settings['eael_dch_icon'] ); ?>"></i>
457
  <?php } ?>
includes/Elements/Feature_List.php CHANGED
@@ -14,7 +14,6 @@ use \Elementor\Scheme_Color;
14
  use \Elementor\Scheme_Typography;
15
  use \Elementor\Utils;
16
  use \Elementor\Widget_Base;
17
- use \Elementor\Icons_Manager;
18
 
19
  class Feature_List extends Widget_Base
20
  {
@@ -769,7 +768,7 @@ class Feature_List extends Widget_Base
769
 
770
  <?php if ($item['eael_feature_list_icon_type'] == 'icon') { ?>
771
  <?php if (empty($item['eael_feature_list_icon']) || isset($item['__fa4_migrated']['eael_feature_list_icon_new'])) { ?>
772
- <?php Icons_Manager::render_icon($item['eael_feature_list_icon_new'], ['aria-hidden' => 'true']); ?>
773
  <?php } else { ?>
774
  <i class="<?php echo esc_attr( $item['eael_feature_list_icon'] ); ?>" aria-hidden="true"></i>
775
  <?php } ?>
14
  use \Elementor\Scheme_Typography;
15
  use \Elementor\Utils;
16
  use \Elementor\Widget_Base;
 
17
 
18
  class Feature_List extends Widget_Base
19
  {
768
 
769
  <?php if ($item['eael_feature_list_icon_type'] == 'icon') { ?>
770
  <?php if (empty($item['eael_feature_list_icon']) || isset($item['__fa4_migrated']['eael_feature_list_icon_new'])) { ?>
771
+ <i class="<?php echo esc_attr( $item['eael_feature_list_icon_new']['value'] ); ?>" aria-hidden="true"></i>
772
  <?php } else { ?>
773
  <i class="<?php echo esc_attr( $item['eael_feature_list_icon'] ); ?>" aria-hidden="true"></i>
774
  <?php } ?>
includes/Elements/Filterable_Gallery.php CHANGED
@@ -12,7 +12,6 @@ use \Elementor\Group_Control_Box_Shadow;
12
  use \Elementor\Group_Control_Typography;
13
  use \Elementor\Scheme_Typography;
14
  use \Elementor\Widget_Base;
15
- use \Elementor\Icons_Manager;
16
 
17
  class Filterable_Gallery extends Widget_Base
18
  {
@@ -1823,7 +1822,7 @@ class Filterable_Gallery extends Widget_Base
1823
  <span class="eael-button-loader"></span>
1824
  <?php if($settings['button_icon_position'] == 'before') {?>
1825
  <?php if($icon_is_new || $icon_migrated) { ?>
1826
- <?php Icons_Manager::render_icon($settings['load_more_icon_new'], ['class' => 'eael-filterable-gallery-load-more-icon']); ?>
1827
  <?php } else { ?>
1828
  <span class="eael-filterable-gallery-load-more-icon <?php echo esc_attr($settings['load_more_icon']); ?>" aria-hidden="true"></span>
1829
  <?php } ?>
@@ -1833,7 +1832,7 @@ class Filterable_Gallery extends Widget_Base
1833
  </span>
1834
  <?php if($settings['button_icon_position'] == 'after') {?>
1835
  <?php if($icon_is_new || $icon_migrated) { ?>
1836
- <?php Icons_Manager::render_icon($settings['load_more_icon_new'], ['class' => 'eael-filterable-gallery-load-more-icon']); ?>
1837
  <?php } else { ?>
1838
  <span class="eael-filterable-gallery-load-more-icon <?php echo esc_attr($settings['load_more_icon']); ?>" aria-hidden="true"></span>
1839
  <?php } ?>
@@ -1885,7 +1884,7 @@ class Filterable_Gallery extends Widget_Base
1885
  if ($item['show_lightbox'] == true) {
1886
  echo '<a href="' . esc_url($item['image']) . '" class="eael-magnific-link">';
1887
  if ($zoom_icon_is_new || $zoom_icon_migrated) {
1888
- Icons_Manager::render_icon($settings['eael_section_fg_zoom_icon_new']);
1889
  } else {
1890
  echo '<i class="' . $settings['eael_section_fg_zoom_icon'] . '" aria-hidden="true"></i>';
1891
  }
@@ -1907,7 +1906,7 @@ class Filterable_Gallery extends Widget_Base
1907
  echo '<a ' . $a_string . '>';
1908
 
1909
  if ($link_icon_is_new || $link_icon_migrated) {
1910
- Icons_Manager::render_icon($settings['eael_section_fg_link_icon_new']);
1911
  } else {
1912
  echo '<i class="' . $settings['eael_section_fg_link_icon'] . '" aria-hidden="true"></i>';
1913
  }
12
  use \Elementor\Group_Control_Typography;
13
  use \Elementor\Scheme_Typography;
14
  use \Elementor\Widget_Base;
 
15
 
16
  class Filterable_Gallery extends Widget_Base
17
  {
1822
  <span class="eael-button-loader"></span>
1823
  <?php if($settings['button_icon_position'] == 'before') {?>
1824
  <?php if($icon_is_new || $icon_migrated) { ?>
1825
+ <span class="eael-filterable-gallery-load-more-icon <?php echo esc_attr($settings['load_more_icon_new']['value']); ?>" aria-hidden="true"></span>
1826
  <?php } else { ?>
1827
  <span class="eael-filterable-gallery-load-more-icon <?php echo esc_attr($settings['load_more_icon']); ?>" aria-hidden="true"></span>
1828
  <?php } ?>
1832
  </span>
1833
  <?php if($settings['button_icon_position'] == 'after') {?>
1834
  <?php if($icon_is_new || $icon_migrated) { ?>
1835
+ <span class="eael-filterable-gallery-load-more-icon <?php echo esc_attr($settings['load_more_icon_new']['value']); ?>" aria-hidden="true"></span>
1836
  <?php } else { ?>
1837
  <span class="eael-filterable-gallery-load-more-icon <?php echo esc_attr($settings['load_more_icon']); ?>" aria-hidden="true"></span>
1838
  <?php } ?>
1884
  if ($item['show_lightbox'] == true) {
1885
  echo '<a href="' . esc_url($item['image']) . '" class="eael-magnific-link">';
1886
  if ($zoom_icon_is_new || $zoom_icon_migrated) {
1887
+ echo '<i class="' . $settings['eael_section_fg_zoom_icon_new']['value'] . '" aria-hidden="true"></i>';
1888
  } else {
1889
  echo '<i class="' . $settings['eael_section_fg_zoom_icon'] . '" aria-hidden="true"></i>';
1890
  }
1906
  echo '<a ' . $a_string . '>';
1907
 
1908
  if ($link_icon_is_new || $link_icon_migrated) {
1909
+ echo '<i class="' . $settings['eael_section_fg_link_icon_new']['value'] . '" aria-hidden="true"></i>';
1910
  } else {
1911
  echo '<i class="' . $settings['eael_section_fg_link_icon'] . '" aria-hidden="true"></i>';
1912
  }
includes/Elements/Flip_Box.php CHANGED
@@ -14,7 +14,6 @@ use \Elementor\Group_Control_Typography;
14
  use \Elementor\Modules\DynamicTags\Module as TagsModule;
15
  use \Elementor\Utils;
16
  use \Elementor\Widget_Base;
17
- use \Elementor\Icons_Manager;
18
 
19
  class Flip_Box extends Widget_Base {
20
 
@@ -1221,7 +1220,7 @@ class Flip_Box extends Widget_Base {
1221
  <div class="eael-elements-flip-box-icon-image">
1222
  <?php if( 'icon' === $settings['eael_flipbox_img_or_icon'] ) : ?>
1223
  <?php if ($front_icon_is_new || $front_icon_migrated) { ?>
1224
- <?php Icons_Manager::render_icon($settings['eael_flipbox_icon_new']); ?>
1225
  <?php } else { ?>
1226
  <i class="<?php echo esc_attr( $settings['eael_flipbox_icon'] ); ?>"></i>
1227
  <?php } ?>
@@ -1248,7 +1247,7 @@ class Flip_Box extends Widget_Base {
1248
  <img <?php echo $this->get_render_attribute_string('flipbox-back-icon-image-container'); ?>>
1249
  <?php elseif('icon' == $settings['eael_flipbox_img_or_icon_back']): ?>
1250
  <?php if ($back_icon_is_new || $back_icon_migrated) { ?>
1251
- <?php Icons_Manager::render_icon($settings['eael_flipbox_icon_back_new']); ?>
1252
  <?php } else { ?>
1253
  <i class="<?php echo esc_attr( $settings['eael_flipbox_icon_back'] ); ?>"></i>
1254
  <?php } ?>
@@ -1265,7 +1264,7 @@ class Flip_Box extends Widget_Base {
1265
  <a <?php echo $this->get_render_attribute_string('flipbox-button-container'); ?>>
1266
  <?php if( 'before' == $settings['button_icon_position'] ) : ?>
1267
  <?php if ($button_icon_is_new || $button_icon_migrated) { ?>
1268
- <?php Icons_Manager::render_icon($settings['button_icon_new']); ?>
1269
  <?php } else { ?>
1270
  <i class="<?php echo $settings['button_icon']; ?>"></i>
1271
  <?php } ?>
@@ -1273,7 +1272,7 @@ class Flip_Box extends Widget_Base {
1273
  <?php echo esc_attr($settings['flipbox_button_text']); ?>
1274
  <?php if( 'after' == $settings['button_icon_position'] ) : ?>
1275
  <?php if ($button_icon_is_new || $button_icon_migrated) { ?>
1276
- <?php Icons_Manager::render_icon($settings['button_icon_new']); ?>
1277
  <?php } else { ?>
1278
  <i class="<?php echo $settings['button_icon']; ?>"></i>
1279
  <?php } ?>
14
  use \Elementor\Modules\DynamicTags\Module as TagsModule;
15
  use \Elementor\Utils;
16
  use \Elementor\Widget_Base;
 
17
 
18
  class Flip_Box extends Widget_Base {
19
 
1220
  <div class="eael-elements-flip-box-icon-image">
1221
  <?php if( 'icon' === $settings['eael_flipbox_img_or_icon'] ) : ?>
1222
  <?php if ($front_icon_is_new || $front_icon_migrated) { ?>
1223
+ <i class="<?php echo esc_attr( $settings['eael_flipbox_icon_new']['value'] ); ?>"></i>
1224
  <?php } else { ?>
1225
  <i class="<?php echo esc_attr( $settings['eael_flipbox_icon'] ); ?>"></i>
1226
  <?php } ?>
1247
  <img <?php echo $this->get_render_attribute_string('flipbox-back-icon-image-container'); ?>>
1248
  <?php elseif('icon' == $settings['eael_flipbox_img_or_icon_back']): ?>
1249
  <?php if ($back_icon_is_new || $back_icon_migrated) { ?>
1250
+ <i class="<?php echo esc_attr( $settings['eael_flipbox_icon_back_new']['value'] ); ?>"></i>
1251
  <?php } else { ?>
1252
  <i class="<?php echo esc_attr( $settings['eael_flipbox_icon_back'] ); ?>"></i>
1253
  <?php } ?>
1264
  <a <?php echo $this->get_render_attribute_string('flipbox-button-container'); ?>>
1265
  <?php if( 'before' == $settings['button_icon_position'] ) : ?>
1266
  <?php if ($button_icon_is_new || $button_icon_migrated) { ?>
1267
+ <i class="<?php echo $settings['button_icon_new']['value']; ?>"></i>
1268
  <?php } else { ?>
1269
  <i class="<?php echo $settings['button_icon']; ?>"></i>
1270
  <?php } ?>
1272
  <?php echo esc_attr($settings['flipbox_button_text']); ?>
1273
  <?php if( 'after' == $settings['button_icon_position'] ) : ?>
1274
  <?php if ($button_icon_is_new || $button_icon_migrated) { ?>
1275
+ <i class="<?php echo $settings['button_icon_new']['value']; ?>"></i>
1276
  <?php } else { ?>
1277
  <i class="<?php echo $settings['button_icon']; ?>"></i>
1278
  <?php } ?>
includes/Elements/Info_Box.php CHANGED
@@ -14,7 +14,6 @@ use \Elementor\Group_Control_Image_Size;
14
  use \Elementor\Group_Control_Typography;
15
  use \Elementor\Utils;
16
  use \Elementor\Widget_Base;
17
- use \Elementor\Icons_Manager;
18
 
19
  class Info_Box extends Widget_Base {
20
  use \Essential_Addons_Elementor\Traits\Helper;
@@ -285,7 +284,7 @@ class Info_Box extends Widget_Base {
285
  $this->start_controls_section(
286
  'eael_infobox_button',
287
  [
288
- 'label' => esc_html__( 'Link', 'essential-addons-elementor' )
289
  ]
290
  );
291
 
@@ -1449,7 +1448,8 @@ class Info_Box extends Widget_Base {
1449
  *
1450
  * @param $settings
1451
  */
1452
- protected function eael_infobox_before( $settings ) {
 
1453
 
1454
  $this->add_render_attribute('eael_infobox_inner', 'class', 'eael-infobox');
1455
 
@@ -1476,7 +1476,8 @@ class Info_Box extends Widget_Base {
1476
  *
1477
  * @param $settings
1478
  */
1479
- protected function eael_infobox_after($settings) {
 
1480
  ob_start();?></div><?php
1481
  if( 'yes' == $settings['eael_show_infobox_clickable'] ) : ?></a><?php endif;
1482
  echo ob_get_clean();
@@ -1487,7 +1488,8 @@ class Info_Box extends Widget_Base {
1487
  *
1488
  * @param $settings
1489
  */
1490
- protected function render_infobox_icon($settings) {
 
1491
 
1492
  if( 'none' == $settings['eael_infobox_img_or_icon'] ) return;
1493
 
@@ -1531,7 +1533,7 @@ class Info_Box extends Widget_Base {
1531
  <?php if( 'icon' == $settings['eael_infobox_img_or_icon'] ) : ?>
1532
  <div class="infobox-icon-wrap">
1533
  <?php if ($infobox_icon_is_new || $infobox_icon_migrated) { ?>
1534
- <?php Icons_Manager::render_icon($settings['eael_infobox_icon_new']); ?>
1535
  <?php } else { ?>
1536
  <i class="<?php echo esc_attr( $settings['eael_infobox_icon'] ); ?>"></i>
1537
  <?php } ?>
@@ -1550,7 +1552,8 @@ class Info_Box extends Widget_Base {
1550
  }
1551
 
1552
 
1553
- protected function render_infobox_content( $settings ) {
 
1554
 
1555
  $this->add_render_attribute( 'infobox_content', 'class', 'infobox-content' );
1556
  if( 'icon' == $settings['eael_infobox_img_or_icon'] )
@@ -1586,7 +1589,8 @@ class Info_Box extends Widget_Base {
1586
  *
1587
  * @param $settings
1588
  */
1589
- protected function render_infobox_button( $settings ) {
 
1590
  if('yes' == $settings['eael_show_infobox_clickable'] || 'yes' != $settings['eael_show_infobox_button']) return;
1591
 
1592
  $button_icon_migrated = isset($settings['__fa4_migrated']['eael_infobox_button_icon_new']);
@@ -1615,7 +1619,7 @@ class Info_Box extends Widget_Base {
1615
  <a <?php echo $this->get_render_attribute_string('infobox_button'); ?>>
1616
  <?php if( 'left' == $settings['eael_infobox_button_icon_alignment']) : ?>
1617
  <?php if ($button_icon_is_new || $button_icon_migrated) { ?>
1618
- <?php Icons_Manager::render_icon($settings['eael_infobox_button_icon_new']); ?>
1619
  <?php } else { ?>
1620
  <i class="<?php echo esc_attr( $settings['eael_infobox_button_icon'] ); ?>"></i>
1621
  <?php } ?>
@@ -1623,7 +1627,7 @@ class Info_Box extends Widget_Base {
1623
  <?php echo esc_attr($settings['infobox_button_text']); ?>
1624
  <?php if( 'right' == $settings['eael_infobox_button_icon_alignment']) : ?>
1625
  <?php if ($button_icon_is_new || $button_icon_migrated) { ?>
1626
- <?php Icons_Manager::render_icon($settings['eael_infobox_button_icon_new']); ?>
1627
  <?php } else { ?>
1628
  <i class="<?php echo esc_attr( $settings['eael_infobox_button_icon'] ); ?>"></i>
1629
  <?php } ?>
@@ -1635,10 +1639,9 @@ class Info_Box extends Widget_Base {
1635
  }
1636
 
1637
  protected function render() {
1638
- $settings = $this->get_settings_for_display();
1639
- $this->eael_infobox_before( $settings );
1640
- $this->render_infobox_icon( $settings );
1641
- $this->render_infobox_content( $settings );
1642
- $this->eael_infobox_after( $settings );
1643
  }
1644
  }
14
  use \Elementor\Group_Control_Typography;
15
  use \Elementor\Utils;
16
  use \Elementor\Widget_Base;
 
17
 
18
  class Info_Box extends Widget_Base {
19
  use \Essential_Addons_Elementor\Traits\Helper;
284
  $this->start_controls_section(
285
  'eael_infobox_button',
286
  [
287
+ 'label' => esc_html__( 'Button', 'essential-addons-elementor' )
288
  ]
289
  );
290
 
1448
  *
1449
  * @param $settings
1450
  */
1451
+ protected function eael_infobox_before() {
1452
+ $settings = $this->get_settings();
1453
 
1454
  $this->add_render_attribute('eael_infobox_inner', 'class', 'eael-infobox');
1455
 
1476
  *
1477
  * @param $settings
1478
  */
1479
+ protected function eael_infobox_after() {
1480
+ $settings = $this->get_settings();
1481
  ob_start();?></div><?php
1482
  if( 'yes' == $settings['eael_show_infobox_clickable'] ) : ?></a><?php endif;
1483
  echo ob_get_clean();
1488
  *
1489
  * @param $settings
1490
  */
1491
+ protected function render_infobox_icon() {
1492
+ $settings = $this->get_settings();
1493
 
1494
  if( 'none' == $settings['eael_infobox_img_or_icon'] ) return;
1495
 
1533
  <?php if( 'icon' == $settings['eael_infobox_img_or_icon'] ) : ?>
1534
  <div class="infobox-icon-wrap">
1535
  <?php if ($infobox_icon_is_new || $infobox_icon_migrated) { ?>
1536
+ <i class="<?php echo esc_attr( $settings['eael_infobox_icon_new']['value'] ); ?>"></i>
1537
  <?php } else { ?>
1538
  <i class="<?php echo esc_attr( $settings['eael_infobox_icon'] ); ?>"></i>
1539
  <?php } ?>
1552
  }
1553
 
1554
 
1555
+ protected function render_infobox_content() {
1556
+ $settings = $this->get_settings();
1557
 
1558
  $this->add_render_attribute( 'infobox_content', 'class', 'infobox-content' );
1559
  if( 'icon' == $settings['eael_infobox_img_or_icon'] )
1589
  *
1590
  * @param $settings
1591
  */
1592
+ protected function render_infobox_button() {
1593
+ $settings = $this->get_settings();
1594
  if('yes' == $settings['eael_show_infobox_clickable'] || 'yes' != $settings['eael_show_infobox_button']) return;
1595
 
1596
  $button_icon_migrated = isset($settings['__fa4_migrated']['eael_infobox_button_icon_new']);
1619
  <a <?php echo $this->get_render_attribute_string('infobox_button'); ?>>
1620
  <?php if( 'left' == $settings['eael_infobox_button_icon_alignment']) : ?>
1621
  <?php if ($button_icon_is_new || $button_icon_migrated) { ?>
1622
+ <i class="<?php echo esc_attr( $settings['eael_infobox_button_icon_new']['value'] ); ?>"></i>
1623
  <?php } else { ?>
1624
  <i class="<?php echo esc_attr( $settings['eael_infobox_button_icon'] ); ?>"></i>
1625
  <?php } ?>
1627
  <?php echo esc_attr($settings['infobox_button_text']); ?>
1628
  <?php if( 'right' == $settings['eael_infobox_button_icon_alignment']) : ?>
1629
  <?php if ($button_icon_is_new || $button_icon_migrated) { ?>
1630
+ <i class="<?php echo esc_attr( $settings['eael_infobox_button_icon_new']['value'] ); ?>"></i>
1631
  <?php } else { ?>
1632
  <i class="<?php echo esc_attr( $settings['eael_infobox_button_icon'] ); ?>"></i>
1633
  <?php } ?>
1639
  }
1640
 
1641
  protected function render() {
1642
+ $this->eael_infobox_before();
1643
+ $this->render_infobox_icon();
1644
+ $this->render_infobox_content();
1645
+ $this->eael_infobox_after();
 
1646
  }
1647
  }
includes/Elements/Post_Grid.php CHANGED
@@ -12,512 +12,482 @@ use \Elementor\Group_Control_Box_Shadow;
12
  use \Elementor\Group_Control_Typography;
13
  use \Elementor\Scheme_Typography;
14
  use \Elementor\Widget_Base;
15
- use \Elementor\Icons_Manager;
16
 
17
- class Post_Grid extends Widget_Base {
18
- use \Essential_Addons_Elementor\Traits\Helper;
19
-
20
- public function get_name() {
21
- return 'eael-post-grid';
22
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
- public function get_title() {
25
- return __( 'EA Post Grid', 'essential-addons-elementor' );
26
- }
 
 
 
 
 
 
27
 
28
- public function get_icon() {
29
- return 'eicon-posts-grid';
30
- }
31
 
32
- public function get_categories() {
33
- return [ 'essential-addons-elementor' ];
34
- }
 
 
 
 
 
 
 
 
35
 
36
- protected function _register_controls() {
 
 
 
 
 
 
 
37
 
38
- /**
39
- * Query And Layout Controls!
40
- * @source includes/elementor-helper.php
41
- */
42
- $this->eael_query_controls();
43
- $this->eael_layout_controls();
 
 
 
 
44
 
45
- /**
46
- * Grid Style Controls!
47
- */
48
- $this->start_controls_section(
49
- 'eael_section_post_grid_style',
50
  [
51
- 'label' => __( 'Post Grid Style', 'essential-addons-elementor' ),
52
- 'tab' => Controls_Manager::TAB_STYLE
53
  ]
54
  );
55
 
56
- $this->add_control(
57
- 'eael_post_grid_bg_color',
58
- [
59
- 'label' => __( 'Post Background Color', 'essential-addons-elementor' ),
60
- 'type' => Controls_Manager::COLOR,
61
- 'default' => '#fff',
62
- 'selectors' => [
63
- '{{WRAPPER}} .eael-grid-post-holder' => 'background-color: {{VALUE}}',
64
- ]
65
-
66
- ]
67
- );
68
-
69
- $this->add_responsive_control(
70
- 'eael_post_grid_spacing',
71
- [
72
- 'label' => esc_html__( 'Spacing Between Items', 'essential-addons-elementor' ),
73
- 'type' => Controls_Manager::DIMENSIONS,
74
- 'size_units' => [ 'px', '%', 'em' ],
75
- 'selectors' => [
76
- '{{WRAPPER}} .eael-grid-post' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
77
- ],
78
- ]
79
- );
80
-
81
- $this->add_group_control(
82
- Group_Control_Border::get_type(),
83
- [
84
- 'name' => 'eael_post_grid_border',
85
- 'label' => esc_html__( 'Border', 'essential-addons-elementor' ),
86
- 'selector' => '{{WRAPPER}} .eael-grid-post-holder',
87
- ]
88
- );
89
-
90
- $this->add_control(
91
- 'eael_post_grid_border_radius',
92
- [
93
- 'label' => esc_html__( 'Border Radius', 'essential-addons-elementor' ),
94
- 'type' => Controls_Manager::DIMENSIONS,
95
- 'selectors' => [
96
- '{{WRAPPER}} .eael-grid-post-holder' => 'border-radius: {{TOP}}px {{RIGHT}}px {{BOTTOM}}px {{LEFT}}px;',
97
- ],
98
- ]
99
- );
100
-
101
- $this->add_group_control(
102
- Group_Control_Box_Shadow::get_type(),
103
- [
104
- 'name' => 'eael_post_grid_box_shadow',
105
- 'selector' => '{{WRAPPER}} .eael-grid-post-holder',
106
- ]
107
- );
108
-
109
-
110
- $this->end_controls_section();
111
 
112
  $this->start_controls_section(
113
  'eael_section_typography',
114
  [
115
- 'label' => __( 'Color & Typography', 'essential-addons-elementor' ),
116
- 'tab' => Controls_Manager::TAB_STYLE
 
 
 
 
 
 
 
 
 
117
  ]
118
  );
119
 
120
- $this->add_control(
121
- 'eael_post_grid_title_style',
122
- [
123
- 'label' => __( 'Title Style', 'essential-addons-elementor' ),
124
- 'type' => Controls_Manager::HEADING,
125
- 'separator' => 'before',
126
- ]
127
- );
 
 
 
 
128
 
129
  $this->add_control(
130
- 'eael_post_grid_title_color',
131
- [
132
- 'label' => __( 'Title Color', 'essential-addons-elementor' ),
133
- 'type' => Controls_Manager::COLOR,
134
- 'default'=> '#303133',
135
- 'selectors' => [
136
- '{{WRAPPER}} .eael-entry-title a' => 'color: {{VALUE}};',
137
- ]
138
-
139
- ]
140
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
141
 
142
  $this->add_control(
143
- 'eael_post_grid_title_hover_color',
144
- [
145
- 'label' => __( 'Title Hover Color', 'essential-addons-elementor' ),
146
- 'type' => Controls_Manager::COLOR,
147
- 'default'=> '#23527c',
148
- 'selectors' => [
149
- '{{WRAPPER}} .eael-entry-title:hover, {{WRAPPER}} .eael-entry-title a:hover' => 'color: {{VALUE}};',
150
- ]
151
-
152
- ]
153
- );
154
-
155
- $this->add_responsive_control(
156
- 'eael_post_grid_title_alignment',
157
- [
158
- 'label' => __( 'Title Alignment', 'essential-addons-elementor' ),
159
- 'type' => Controls_Manager::CHOOSE,
160
- 'options' => [
161
- 'left' => [
162
- 'title' => __( 'Left', 'essential-addons-elementor' ),
163
- 'icon' => 'fa fa-align-left',
164
- ],
165
- 'center' => [
166
- 'title' => __( 'Center', 'essential-addons-elementor' ),
167
- 'icon' => 'fa fa-align-center',
168
- ],
169
- 'right' => [
170
- 'title' => __( 'Right', 'essential-addons-elementor' ),
171
- 'icon' => 'fa fa-align-right',
172
- ]
173
- ],
174
- 'selectors' => [
175
- '{{WRAPPER}} .eael-entry-title' => 'text-align: {{VALUE}};',
176
- ]
177
- ]
178
- );
179
-
180
- $this->add_group_control(
181
- Group_Control_Typography::get_type(),
182
- [
183
- 'name' => 'eael_post_grid_title_typography',
184
- 'label' => __( 'Typography', 'essential-addons-elementor' ),
185
- 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
186
- 'selector' => '{{WRAPPER}} .eael-entry-title',
187
- ]
188
- );
189
-
190
- $this->add_control(
191
- 'eael_post_grid_excerpt_style',
192
- [
193
- 'label' => __( 'Excerpt Style', 'essential-addons-elementor' ),
194
- 'type' => Controls_Manager::HEADING,
195
- 'separator' => 'before',
196
- ]
197
- );
198
 
199
  $this->add_control(
200
- 'eael_post_grid_excerpt_color',
201
- [
202
- 'label' => __( 'Excerpt Color', 'essential-addons-elementor' ),
203
- 'type' => Controls_Manager::COLOR,
204
- 'default'=> '',
205
- 'selectors' => [
206
- '{{WRAPPER}} .eael-grid-post-excerpt p' => 'color: {{VALUE}};',
207
- ]
208
- ]
209
- );
210
 
211
  $this->add_responsive_control(
212
- 'eael_post_grid_excerpt_alignment',
213
- [
214
- 'label' => __( 'Excerpt Alignment', 'essential-addons-elementor' ),
215
- 'type' => Controls_Manager::CHOOSE,
216
- 'options' => [
217
- 'left' => [
218
- 'title' => __( 'Left', 'essential-addons-elementor' ),
219
- 'icon' => 'fa fa-align-left',
220
- ],
221
- 'center' => [
222
- 'title' => __( 'Center', 'essential-addons-elementor' ),
223
- 'icon' => 'fa fa-align-center',
224
- ],
225
- 'right' => [
226
- 'title' => __( 'Right', 'essential-addons-elementor' ),
227
- 'icon' => 'fa fa-align-right',
228
- ],
229
- 'justify' => [
230
- 'title' => __( 'Justified', 'essential-addons-elementor' ),
231
- 'icon' => 'fa fa-align-justify',
232
- ],
233
- ],
234
- 'selectors' => [
235
- '{{WRAPPER}} .eael-grid-post-excerpt p' => 'text-align: {{VALUE}};',
236
- ],
237
- ]
238
- );
239
-
240
- $this->add_group_control(
241
- Group_Control_Typography::get_type(),
242
- [
243
- 'name' => 'eael_post_grid_excerpt_typography',
244
- 'label' => __( 'Excerpt Typography', 'essential-addons-elementor' ),
245
- 'scheme' => Scheme_Typography::TYPOGRAPHY_3,
246
- 'selector' => '{{WRAPPER}} .eael-grid-post-excerpt p',
247
- ]
248
- );
249
-
250
-
251
- $this->add_control(
252
- 'eael_post_grid_meta_style',
253
- [
254
- 'label' => __( 'Meta Style', 'essential-addons-elementor' ),
255
- 'type' => Controls_Manager::HEADING,
256
- 'separator' => 'before',
257
- ]
258
- );
259
 
260
  $this->add_control(
261
- 'eael_post_grid_meta_color',
262
- [
263
- 'label' => __( 'Meta Color', 'essential-addons-elementor' ),
264
- 'type' => Controls_Manager::COLOR,
265
- 'default'=> '',
266
- 'selectors' => [
267
- '{{WRAPPER}} .eael-entry-meta, .eael-entry-meta a' => 'color: {{VALUE}};',
268
- ]
269
- ]
270
- );
271
 
272
  $this->add_responsive_control(
273
- 'eael_post_grid_meta_alignment',
274
- [
275
- 'label' => __( 'Meta Alignment', 'essential-addons-elementor' ),
276
- 'type' => Controls_Manager::CHOOSE,
277
- 'options' => [
278
- 'flex-start' => [
279
- 'title' => __( 'Left', 'essential-addons-elementor' ),
280
- 'icon' => 'fa fa-align-left',
281
- ],
282
- 'center' => [
283
- 'title' => __( 'Center', 'essential-addons-elementor' ),
284
- 'icon' => 'fa fa-align-center',
285
- ],
286
- 'flex-end' => [
287
- 'title' => __( 'Right', 'essential-addons-elementor' ),
288
- 'icon' => 'fa fa-align-right',
289
- ],
290
- 'stretch' => [
291
- 'title' => __( 'Justified', 'essential-addons-elementor' ),
292
- 'icon' => 'fa fa-align-justify',
293
- ],
294
- ],
295
- 'selectors' => [
296
- '{{WRAPPER}} .eael-entry-footer' => 'justify-content: {{VALUE}};',
297
- '{{WRAPPER}} .eael-entry-meta' => 'justify-content: {{VALUE}};'
298
- ],
299
- ]
300
- );
301
-
302
- $this->add_group_control(
303
- Group_Control_Typography::get_type(),
304
- [
305
- 'name' => 'eael_post_grid_meta_typography',
306
- 'label' => __( 'Meta Typography', 'essential-addons-elementor' ),
307
- 'scheme' => Scheme_Typography::TYPOGRAPHY_3,
308
- 'selector' => '{{WRAPPER}} .eael-entry-meta > div, {{WRAPPER}} .eael-entry-meta > span',
309
- ]
310
- );
311
-
312
-
313
- $this->end_controls_section();
314
-
315
- $this->start_controls_section(
316
  'eael_section_hover_card_styles',
317
  [
318
- 'label' => __( 'Hover Card Style', 'essential-addons-elementor' ),
319
- 'tab' => Controls_Manager::TAB_STYLE
320
  ]
321
- );
322
-
323
- $this->add_control(
324
- 'eael_post_grid_hover_animation',
325
- [
326
- 'label' => esc_html__( 'Animation', 'essential-addons-elementor' ),
327
- 'type' => Controls_Manager::SELECT,
328
- 'default' => 'fade-in',
329
- 'options' => [
330
- 'none' => esc_html__( 'None', 'essential-addons-elementor' ),
331
- 'fade-in' => esc_html__( 'FadeIn', 'essential-addons-elementor' ),
332
- 'zoom-in' => esc_html__( 'ZoomIn', 'essential-addons-elementor' ),
333
- 'slide-up' => esc_html__( 'SlideUp', 'essential-addons-elementor' ),
334
- ],
335
- ]
336
- );
337
-
338
- $this->add_control(
339
- 'eael_post_grid_bg_hover_icon_new',
340
- [
341
- 'label' => __( 'Post Hover Icon', 'essential-addons-elementor' ),
342
- 'type' => Controls_Manager::ICONS,
343
- 'fa4compatibility' => 'eael_post_grid_bg_hover_icon',
344
- 'default' => [
345
- 'value' => 'fa fa-long-arrow-right',
346
- 'library' => 'fa-solid',
347
- ],
348
- 'condition' => [
349
- 'eael_post_grid_hover_animation!' => 'none'
350
- ]
351
- ]
352
- );
353
-
354
- $this->add_control(
355
- 'eael_post_grid_hover_bg_color',
356
- [
357
- 'label' => __( 'Background Color', 'essential-addons-elementor' ),
358
- 'type' => Controls_Manager::COLOR,
359
- 'default' => 'rgba(0,0,0, .75)',
360
- 'selectors' => [
361
- '{{WRAPPER}} .eael-grid-post .eael-entry-overlay' => 'background-color: {{VALUE}}',
362
- ]
363
-
364
- ]
365
- );
366
 
367
  $this->add_control(
368
- 'eael_post_grid_hover_icon_color',
369
- [
370
- 'label' => __( 'Icon Color', 'essential-addons-elementor' ),
371
- 'type' => Controls_Manager::COLOR,
372
- 'default' => '#ffffff',
373
- 'selectors' => [
374
- '{{WRAPPER}} .eael-grid-post .eael-entry-overlay > i' => 'color: {{VALUE}}',
375
- ]
376
-
377
- ]
378
- );
379
-
380
- $this->add_responsive_control(
381
- 'eael_post_grid_hover_icon_fontsize',
382
- [
383
- 'label' => __( 'Icon font size', 'essential-addons-elementor' ),
384
- 'type' => Controls_Manager::SLIDER,
385
- 'default' => [
386
- 'unit' => 'px',
387
- 'size' => 18,
388
- ],
389
- 'size_units' => [ 'px', 'em' ],
390
- 'range' => [
391
- 'px' => [
392
- 'min' => 0,
393
- 'max' => 100,
394
- 'step' => 1,
395
- ],
396
- 'em' => [
397
- 'min' => 0,
398
- 'max' => 100,
399
- 'step' => 1,
400
- ]
401
- ],
402
- 'selectors' => [
403
- '{{WRAPPER}} .eael-grid-post .eael-entry-overlay > i' => 'font-size: {{SIZE}}{{UNIT}};',
404
- ],
405
- ]
406
- );
407
-
408
- $this->end_controls_section();
409
-
410
- /**
411
- * Load More Button Style Controls!
412
- */
413
- $this->eael_load_more_button_style();
414
-
415
- }
416
-
417
-
418
- protected function render() {
419
- $settings = $this->get_settings();
420
- /**
421
- * Setup the post arguments.
422
- */
423
- $settings['post_style'] = 'grid';
424
- $post_args = $this->eael_get_post_settings( $settings );
425
- $query_args = $this->eael_get_query_args( 'eaeposts', $settings );
426
- $query_args = array_merge($query_args, $post_args, $settings);
427
-
428
- if( isset( $query_args['tax_query'] ) ) {
429
- $tax_query = $query_args['tax_query'];
430
- }
431
- /**
432
- * Get posts from database.
433
- */
434
- $posts = $this->eael_load_more_ajax($query_args);
435
-
436
- /**
437
- * Set total posts.
438
- */
439
- $total_post = $posts['count'];
440
-
441
- $this->add_render_attribute(
442
- 'post_grid_wrapper',
443
- [
444
- 'id' => 'eael-post-grid-'.esc_attr($this->get_id()),
445
- 'class' => [
446
- 'eael-post-grid-container',
447
- esc_attr($query_args['eael_post_grid_columns'] )
448
- ]
449
- ]
450
- );
451
-
452
- $options = [
453
- 'totalPosts' => $total_post,
454
- 'loadMoreBtn' => '#eael-load-more-btn-'.$this->get_id(), // return selected item jquery $()
455
- 'postContainer' => '.eael-post-appender-'.esc_attr( $this->get_id() ), // return selected item jquery $()
456
- 'postStyle' => 'grid'
457
- ];
458
-
459
- $settings = [
460
- 'postType' => isset($query_args['post_type']) ? $query_args['post_type'] : '',
461
- 'perPage' => $query_args['posts_per_page'] != '' ? $query_args['posts_per_page'] : '4',
462
- 'postOrder' => $query_args['order'],
463
- 'orderBy' => $query_args['orderby'],
464
- 'showImage' => $query_args['eael_show_image'],
465
- 'imageSize' => $query_args['image_size'],
466
- 'showTitle' => $query_args['eael_show_title'],
467
- 'showExcerpt' => $query_args['eael_show_excerpt'],
468
- 'showMeta' => $query_args['eael_show_meta'],
469
- 'offset' => intval( $query_args['offset'] ),
470
- 'metaPosition' => $query_args['meta_position'],
471
- 'excerptLength' => intval($query_args['eael_excerpt_length'], 10 ),
472
- 'btnText' => $query_args['show_load_more_text'],
473
- 'tax_query' => json_encode( ! empty( $tax_query ) ? $tax_query : [] ),
474
- 'exclude_posts' => json_encode( ! empty( $query_args['post__not_in'] ) ? $query_args['post__not_in'] : []),
475
- 'post__in' => json_encode( ! empty( $query_args['post__in'] ) ? $query_args['post__in'] : [] ),
476
- 'hover_animation' => $query_args['eael_post_grid_hover_animation'],
477
- 'hover_icon' => ((isset($settings['__fa4_migrated']['eael_post_grid_bg_hover_icon_new']) || empty($settings['eael_post_grid_bg_hover_icon'])) ? $settings['eael_post_grid_bg_hover_icon_new']['value'] : $settings['eael_post_grid_bg_hover_icon']),
478
- 'eael_show_read_more_button' => $query_args['eael_show_read_more_button'],
479
- 'read_more_button_text' => $query_args['read_more_button_text']
480
- ];
481
-
482
- $this->add_render_attribute(
483
  'post_grid_wrapper',
484
  [
485
- 'data-post_grid_options' => wp_json_encode($options),
486
- 'data-post_grid_settings' => wp_json_encode($settings),
 
 
 
487
  ]
488
  );
489
-
490
 
491
- ?>
492
- <div <?php echo $this->get_render_attribute_string('post_grid_wrapper'); ?>>
493
- <div class="eael-post-grid eael-post-appender-<?php echo esc_attr( $this->get_id() ); ?>">
494
- <?php
495
- if( ! empty( $posts['content'] ) ){
496
- echo $posts['content'];
497
- } else {
498
- echo '<p class="text-danger">Something went wrong.</p>';
499
- }
500
- ?>
501
- </div>
502
- <div class="clearfix"></div>
503
- </div>
504
- <?php
505
- if( 1 == $query_args['show_load_more'] ) :
506
- if(
507
- $query_args['posts_per_page'] != '-1'
508
- && $total_post != $query_args['posts_per_page']
509
- && $total_post > intval( $query_args['offset'] ) + intval( ! empty( $query_args['posts_per_page'] ) ? $query_args['posts_per_page'] : 4 )
510
- ) :
511
- ?>
512
- <!-- Load More Button -->
513
- <div class="eael-load-more-button-wrap">
514
- <button class="eael-load-more-button" id="eael-load-more-btn-<?php echo $this->get_id(); ?>">
515
- <div class="eael-btn-loader button__loader"></div>
516
- <span><?php echo esc_html__( $query_args['show_load_more_text'], 'essential-addons-elementor' ); ?></span>
517
- </button>
518
- </div>
519
- <?php endif; endif;
520
- }
521
-
522
- protected function content_template() {}
 
 
 
 
 
 
 
 
 
 
523
  }
12
  use \Elementor\Group_Control_Typography;
13
  use \Elementor\Scheme_Typography;
14
  use \Elementor\Widget_Base;
 
15
 
16
+ class Post_Grid extends Widget_Base
17
+ {
18
+ use \Essential_Addons_Elementor\Traits\Helper;
19
+ use \Essential_Addons_Elementor\Template\Content\Post_Grid;
20
+
21
+ public function get_name()
22
+ {
23
+ return 'eael-post-grid';
24
+ }
25
+
26
+ public function get_title()
27
+ {
28
+ return __('EA Post Grid', 'essential-addons-elementor');
29
+ }
30
+
31
+ public function get_icon()
32
+ {
33
+ return 'eicon-posts-grid';
34
+ }
35
+
36
+ public function get_categories()
37
+ {
38
+ return ['essential-addons-elementor'];
39
+ }
40
+
41
+ protected function _register_controls()
42
+ {
43
+ /**
44
+ * Query And Layout Controls!
45
+ * @source includes/elementor-helper.php
46
+ */
47
+ $this->eael_query_controls();
48
+ $this->eael_layout_controls();
49
+
50
+ /**
51
+ * Grid Style Controls!
52
+ */
53
+ $this->start_controls_section(
54
+ 'eael_section_post_grid_style',
55
+ [
56
+ 'label' => __('Post Grid Style', 'essential-addons-elementor'),
57
+ 'tab' => Controls_Manager::TAB_STYLE,
58
+ ]
59
+ );
60
 
61
+ $this->add_control(
62
+ 'eael_post_grid_bg_color',
63
+ [
64
+ 'label' => __('Post Background Color', 'essential-addons-elementor'),
65
+ 'type' => Controls_Manager::COLOR,
66
+ 'default' => '#fff',
67
+ 'selectors' => [
68
+ '{{WRAPPER}} .eael-grid-post-holder' => 'background-color: {{VALUE}}',
69
+ ],
70
 
71
+ ]
72
+ );
 
73
 
74
+ $this->add_responsive_control(
75
+ 'eael_post_grid_spacing',
76
+ [
77
+ 'label' => esc_html__('Spacing Between Items', 'essential-addons-elementor'),
78
+ 'type' => Controls_Manager::DIMENSIONS,
79
+ 'size_units' => ['px', '%', 'em'],
80
+ 'selectors' => [
81
+ '{{WRAPPER}} .eael-grid-post' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
82
+ ],
83
+ ]
84
+ );
85
 
86
+ $this->add_group_control(
87
+ Group_Control_Border::get_type(),
88
+ [
89
+ 'name' => 'eael_post_grid_border',
90
+ 'label' => esc_html__('Border', 'essential-addons-elementor'),
91
+ 'selector' => '{{WRAPPER}} .eael-grid-post-holder',
92
+ ]
93
+ );
94
 
95
+ $this->add_control(
96
+ 'eael_post_grid_border_radius',
97
+ [
98
+ 'label' => esc_html__('Border Radius', 'essential-addons-elementor'),
99
+ 'type' => Controls_Manager::DIMENSIONS,
100
+ 'selectors' => [
101
+ '{{WRAPPER}} .eael-grid-post-holder' => 'border-radius: {{TOP}}px {{RIGHT}}px {{BOTTOM}}px {{LEFT}}px;',
102
+ ],
103
+ ]
104
+ );
105
 
106
+ $this->add_group_control(
107
+ Group_Control_Box_Shadow::get_type(),
 
 
 
108
  [
109
+ 'name' => 'eael_post_grid_box_shadow',
110
+ 'selector' => '{{WRAPPER}} .eael-grid-post-holder',
111
  ]
112
  );
113
 
114
+ $this->end_controls_section();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
 
116
  $this->start_controls_section(
117
  'eael_section_typography',
118
  [
119
+ 'label' => __('Color & Typography', 'essential-addons-elementor'),
120
+ 'tab' => Controls_Manager::TAB_STYLE,
121
+ ]
122
+ );
123
+
124
+ $this->add_control(
125
+ 'eael_post_grid_title_style',
126
+ [
127
+ 'label' => __('Title Style', 'essential-addons-elementor'),
128
+ 'type' => Controls_Manager::HEADING,
129
+ 'separator' => 'before',
130
  ]
131
  );
132
 
133
+ $this->add_control(
134
+ 'eael_post_grid_title_color',
135
+ [
136
+ 'label' => __('Title Color', 'essential-addons-elementor'),
137
+ 'type' => Controls_Manager::COLOR,
138
+ 'default' => '#303133',
139
+ 'selectors' => [
140
+ '{{WRAPPER}} .eael-entry-title a' => 'color: {{VALUE}};',
141
+ ],
142
+
143
+ ]
144
+ );
145
 
146
  $this->add_control(
147
+ 'eael_post_grid_title_hover_color',
148
+ [
149
+ 'label' => __('Title Hover Color', 'essential-addons-elementor'),
150
+ 'type' => Controls_Manager::COLOR,
151
+ 'default' => '#23527c',
152
+ 'selectors' => [
153
+ '{{WRAPPER}} .eael-entry-title:hover, {{WRAPPER}} .eael-entry-title a:hover' => 'color: {{VALUE}};',
154
+ ],
155
+
156
+ ]
157
+ );
158
+
159
+ $this->add_responsive_control(
160
+ 'eael_post_grid_title_alignment',
161
+ [
162
+ 'label' => __('Title Alignment', 'essential-addons-elementor'),
163
+ 'type' => Controls_Manager::CHOOSE,
164
+ 'options' => [
165
+ 'left' => [
166
+ 'title' => __('Left', 'essential-addons-elementor'),
167
+ 'icon' => 'fa fa-align-left',
168
+ ],
169
+ 'center' => [
170
+ 'title' => __('Center', 'essential-addons-elementor'),
171
+ 'icon' => 'fa fa-align-center',
172
+ ],
173
+ 'right' => [
174
+ 'title' => __('Right', 'essential-addons-elementor'),
175
+ 'icon' => 'fa fa-align-right',
176
+ ],
177
+ ],
178
+ 'selectors' => [
179
+ '{{WRAPPER}} .eael-entry-title' => 'text-align: {{VALUE}};',
180
+ ],
181
+ ]
182
+ );
183
+
184
+ $this->add_group_control(
185
+ Group_Control_Typography::get_type(),
186
+ [
187
+ 'name' => 'eael_post_grid_title_typography',
188
+ 'label' => __('Typography', 'essential-addons-elementor'),
189
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
190
+ 'selector' => '{{WRAPPER}} .eael-entry-title',
191
+ ]
192
+ );
193
 
194
  $this->add_control(
195
+ 'eael_post_grid_excerpt_style',
196
+ [
197
+ 'label' => __('Excerpt Style', 'essential-addons-elementor'),
198
+ 'type' => Controls_Manager::HEADING,
199
+ 'separator' => 'before',
200
+ ]
201
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
 
203
  $this->add_control(
204
+ 'eael_post_grid_excerpt_color',
205
+ [
206
+ 'label' => __('Excerpt Color', 'essential-addons-elementor'),
207
+ 'type' => Controls_Manager::COLOR,
208
+ 'default' => '',
209
+ 'selectors' => [
210
+ '{{WRAPPER}} .eael-grid-post-excerpt p' => 'color: {{VALUE}};',
211
+ ],
212
+ ]
213
+ );
214
 
215
  $this->add_responsive_control(
216
+ 'eael_post_grid_excerpt_alignment',
217
+ [
218
+ 'label' => __('Excerpt Alignment', 'essential-addons-elementor'),
219
+ 'type' => Controls_Manager::CHOOSE,
220
+ 'options' => [
221
+ 'left' => [
222
+ 'title' => __('Left', 'essential-addons-elementor'),
223
+ 'icon' => 'fa fa-align-left',
224
+ ],
225
+ 'center' => [
226
+ 'title' => __('Center', 'essential-addons-elementor'),
227
+ 'icon' => 'fa fa-align-center',
228
+ ],
229
+ 'right' => [
230
+ 'title' => __('Right', 'essential-addons-elementor'),
231
+ 'icon' => 'fa fa-align-right',
232
+ ],
233
+ 'justify' => [
234
+ 'title' => __('Justified', 'essential-addons-elementor'),
235
+ 'icon' => 'fa fa-align-justify',
236
+ ],
237
+ ],
238
+ 'selectors' => [
239
+ '{{WRAPPER}} .eael-grid-post-excerpt p' => 'text-align: {{VALUE}};',
240
+ ],
241
+ ]
242
+ );
243
+
244
+ $this->add_group_control(
245
+ Group_Control_Typography::get_type(),
246
+ [
247
+ 'name' => 'eael_post_grid_excerpt_typography',
248
+ 'label' => __('Excerpt Typography', 'essential-addons-elementor'),
249
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_3,
250
+ 'selector' => '{{WRAPPER}} .eael-grid-post-excerpt p',
251
+ ]
252
+ );
253
+
254
+ $this->add_control(
255
+ 'eael_post_grid_meta_style',
256
+ [
257
+ 'label' => __('Meta Style', 'essential-addons-elementor'),
258
+ 'type' => Controls_Manager::HEADING,
259
+ 'separator' => 'before',
260
+ ]
261
+ );
 
262
 
263
  $this->add_control(
264
+ 'eael_post_grid_meta_color',
265
+ [
266
+ 'label' => __('Meta Color', 'essential-addons-elementor'),
267
+ 'type' => Controls_Manager::COLOR,
268
+ 'default' => '',
269
+ 'selectors' => [
270
+ '{{WRAPPER}} .eael-entry-meta, .eael-entry-meta a' => 'color: {{VALUE}};',
271
+ ],
272
+ ]
273
+ );
274
 
275
  $this->add_responsive_control(
276
+ 'eael_post_grid_meta_alignment',
277
+ [
278
+ 'label' => __('Meta Alignment', 'essential-addons-elementor'),
279
+ 'type' => Controls_Manager::CHOOSE,
280
+ 'options' => [
281
+ 'flex-start' => [
282
+ 'title' => __('Left', 'essential-addons-elementor'),
283
+ 'icon' => 'fa fa-align-left',
284
+ ],
285
+ 'center' => [
286
+ 'title' => __('Center', 'essential-addons-elementor'),
287
+ 'icon' => 'fa fa-align-center',
288
+ ],
289
+ 'flex-end' => [
290
+ 'title' => __('Right', 'essential-addons-elementor'),
291
+ 'icon' => 'fa fa-align-right',
292
+ ],
293
+ 'stretch' => [
294
+ 'title' => __('Justified', 'essential-addons-elementor'),
295
+ 'icon' => 'fa fa-align-justify',
296
+ ],
297
+ ],
298
+ 'selectors' => [
299
+ '{{WRAPPER}} .eael-entry-footer' => 'justify-content: {{VALUE}};',
300
+ '{{WRAPPER}} .eael-entry-meta' => 'justify-content: {{VALUE}};',
301
+ ],
302
+ ]
303
+ );
304
+
305
+ $this->add_group_control(
306
+ Group_Control_Typography::get_type(),
307
+ [
308
+ 'name' => 'eael_post_grid_meta_typography',
309
+ 'label' => __('Meta Typography', 'essential-addons-elementor'),
310
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_3,
311
+ 'selector' => '{{WRAPPER}} .eael-entry-meta > div, {{WRAPPER}} .eael-entry-meta > span',
312
+ ]
313
+ );
314
+
315
+ $this->end_controls_section();
316
+
317
+ $this->start_controls_section(
 
318
  'eael_section_hover_card_styles',
319
  [
320
+ 'label' => __('Hover Card Style', 'essential-addons-elementor'),
321
+ 'tab' => Controls_Manager::TAB_STYLE,
322
  ]
323
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
324
 
325
  $this->add_control(
326
+ 'eael_post_grid_hover_animation',
327
+ [
328
+ 'label' => esc_html__('Animation', 'essential-addons-elementor'),
329
+ 'type' => Controls_Manager::SELECT,
330
+ 'default' => 'fade-in',
331
+ 'options' => [
332
+ 'none' => esc_html__('None', 'essential-addons-elementor'),
333
+ 'fade-in' => esc_html__('FadeIn', 'essential-addons-elementor'),
334
+ 'zoom-in' => esc_html__('ZoomIn', 'essential-addons-elementor'),
335
+ 'slide-up' => esc_html__('SlideUp', 'essential-addons-elementor'),
336
+ ],
337
+ ]
338
+ );
339
+
340
+ $this->add_control(
341
+ 'eael_post_grid_bg_hover_icon_new',
342
+ [
343
+ 'label' => __('Post Hover Icon', 'essential-addons-elementor'),
344
+ 'type' => Controls_Manager::ICONS,
345
+ 'fa4compatibility' => 'eael_post_grid_bg_hover_icon',
346
+ 'default' => [
347
+ 'value' => 'fa fa-long-arrow-right',
348
+ 'library' => 'fa-solid',
349
+ ],
350
+ 'condition' => [
351
+ 'eael_post_grid_hover_animation!' => 'none',
352
+ ],
353
+ ]
354
+ );
355
+
356
+ $this->add_control(
357
+ 'eael_post_grid_hover_bg_color',
358
+ [
359
+ 'label' => __('Background Color', 'essential-addons-elementor'),
360
+ 'type' => Controls_Manager::COLOR,
361
+ 'default' => 'rgba(0,0,0, .75)',
362
+ 'selectors' => [
363
+ '{{WRAPPER}} .eael-grid-post .eael-entry-overlay' => 'background-color: {{VALUE}}',
364
+ ],
365
+
366
+ ]
367
+ );
368
+
369
+ $this->add_control(
370
+ 'eael_post_grid_hover_icon_color',
371
+ [
372
+ 'label' => __('Icon Color', 'essential-addons-elementor'),
373
+ 'type' => Controls_Manager::COLOR,
374
+ 'default' => '#ffffff',
375
+ 'selectors' => [
376
+ '{{WRAPPER}} .eael-grid-post .eael-entry-overlay > i' => 'color: {{VALUE}}',
377
+ ],
378
+ ]
379
+ );
380
+
381
+ $this->add_responsive_control(
382
+ 'eael_post_grid_hover_icon_fontsize',
383
+ [
384
+ 'label' => __('Icon font size', 'essential-addons-elementor'),
385
+ 'type' => Controls_Manager::SLIDER,
386
+ 'default' => [
387
+ 'unit' => 'px',
388
+ 'size' => 18,
389
+ ],
390
+ 'size_units' => ['px', 'em'],
391
+ 'range' => [
392
+ 'px' => [
393
+ 'min' => 0,
394
+ 'max' => 100,
395
+ 'step' => 1,
396
+ ],
397
+ 'em' => [
398
+ 'min' => 0,
399
+ 'max' => 100,
400
+ 'step' => 1,
401
+ ],
402
+ ],
403
+ 'selectors' => [
404
+ '{{WRAPPER}} .eael-grid-post .eael-entry-overlay > i' => 'font-size: {{SIZE}}{{UNIT}};',
405
+ ],
406
+ ]
407
+ );
408
+
409
+ $this->end_controls_section();
410
+
411
+ /**
412
+ * Load More Button Style Controls!
413
+ */
414
+ $this->eael_load_more_button_style();
415
+ }
416
+
417
+ protected function render()
418
+ {
419
+ $settings = $this->get_settings_for_display();
420
+ $args = $this->eael_get_query_args($settings);
421
+ $settings = [
422
+ 'eael_show_image' => $settings['eael_show_image'],
423
+ 'image_size' => $settings['image_size'],
424
+ 'eael_show_title' => $settings['eael_show_title'],
425
+ 'eael_show_excerpt' => $settings['eael_show_excerpt'],
426
+ 'eael_show_meta' => $settings['eael_show_meta'],
427
+ 'meta_position' => $settings['meta_position'],
428
+ 'eael_excerpt_length' => intval($settings['eael_excerpt_length'], 10),
429
+ 'eael_post_grid_hover_animation' => $settings['eael_post_grid_hover_animation'],
430
+ 'eael_post_grid_bg_hover_icon' => (isset($settings['__fa4_migrated']['eael_post_grid_bg_hover_icon_new']) || empty($settings['eael_post_grid_bg_hover_icon'])) ? $settings['eael_post_grid_bg_hover_icon_new']['value'] : $settings['eael_post_grid_bg_hover_icon'],
431
+ 'eael_show_read_more_button' => $settings['eael_show_read_more_button'],
432
+ 'read_more_button_text' => $settings['read_more_button_text'],
433
+ 'read_more_button_text' => $settings['read_more_button_text'],
434
+
435
+ 'eael_post_grid_columns' => $settings['eael_post_grid_columns'],
436
+ 'show_load_more' => $settings['show_load_more'],
437
+ 'show_load_more_text' => $settings['show_load_more_text'],
438
+ ];
439
+
440
+ $this->add_render_attribute(
441
  'post_grid_wrapper',
442
  [
443
+ 'id' => 'eael-post-grid-' . esc_attr($this->get_id()),
444
+ 'class' => [
445
+ 'eael-post-grid-container',
446
+ esc_attr($settings['eael_post_grid_columns']),
447
+ ],
448
  ]
449
  );
 
450
 
451
+ echo '<div ' . $this->get_render_attribute_string('post_grid_wrapper') . '>
452
+ <div class="eael-post-grid eael-post-appender eael-post-appender-' . $this->get_id() . '">
453
+ ' . self::__render_template($args, $settings) . '
454
+ </div>
455
+ <div class="clearfix"></div>
456
+ </div>';
457
+
458
+ if (1 == $settings['show_load_more']) {
459
+ if ($args['posts_per_page'] != '-1') {
460
+ echo '<div class="eael-load-more-button-wrap">
461
+ <button class="eael-load-more-button" id="eael-load-more-btn-' . $this->get_id() . '" data-widget="' . $this->get_id() . '" data-class="' . get_class($this) . '" data-args="' . http_build_query($args) . '" data-settings="' . http_build_query($settings) . '" data-layout="masonry" data-page="1">
462
+ <div class="eael-btn-loader button__loader"></div>
463
+ <span>' . esc_html__($settings['show_load_more_text'], 'essential-addons-elementor') . '</span>
464
+ </button>
465
+ </div>';
466
+ }
467
+ }
468
+
469
+ if (\Elementor\Plugin::instance()->editor->is_edit_mode()) {
470
+ echo '<script type="text/javascript">
471
+ jQuery(document).ready(function() {
472
+ jQuery(".eael-post-grid").each(function() {
473
+ var $scope = jQuery(".elementor-element-' . $this->get_id() . '");
474
+
475
+ // init isotope
476
+ var $gallery = jQuery(".eael-post-grid", $scope).isotope({
477
+ itemSelector: ".eael-grid-post",
478
+ masonry: {
479
+ columnWidth: ".eael-post-grid-column",
480
+ percentPosition: true
481
+ }
482
+ });
483
+
484
+ // layout gal, while images are loading
485
+ $gallery.imagesLoaded().progress(function() {
486
+ $gallery.isotope("layout");
487
+ });
488
+ });
489
+ });
490
+ </script>';
491
+ }
492
+ }
493
  }
includes/Elements/Post_Timeline.php CHANGED
@@ -10,368 +10,326 @@ use \Elementor\Controls_Manager as Controls_Manager;
10
  use \Elementor\Group_Control_Typography as Group_Control_Typography;
11
  use \Elementor\Scheme_Typography as Scheme_Typography;
12
  use \Elementor\Widget_Base as Widget_Base;
13
- use \Essential_Addons_Elementor\Classes\Bootstrap;
14
 
15
- class Post_Timeline extends Widget_Base {
 
16
  use \Essential_Addons_Elementor\Traits\Helper;
17
-
18
- public function get_name() {
19
- return 'eael-post-timeline';
20
- }
21
-
22
- public function get_title() {
23
- return __( 'EA Post Timeline', 'essential-addons-elementor' );
24
- }
25
-
26
- public function get_icon() {
27
- return 'eicon-post-list';
28
- }
29
-
30
- public function get_categories() {
31
- return [ 'essential-addons-elementor' ];
32
- }
33
-
34
- protected function _register_controls() {
35
-
36
- /**
37
- * Query And Layout Controls!
38
- * @source includes/elementor-helper.php
39
- */
40
- $this->eael_query_controls();
41
- $this->eael_layout_controls();
42
-
43
- if(!apply_filters('eael/pro_enabled', false)) {
44
- $this->eael_go_premium();
45
- }
46
-
 
 
 
 
 
47
 
48
  $this->start_controls_section(
49
  'eael_section_post_timeline_style',
50
  [
51
- 'label' => __( 'Timeline Style', 'essential-addons-elementor' ),
52
- 'tab' => Controls_Manager::TAB_STYLE
53
  ]
54
  );
55
 
56
  $this->add_control(
57
- 'eael_timeline_overlay_color',
58
- [
59
- 'label' => __( 'Overlay Color', 'essential-addons-elementor' ),
60
- 'type' => Controls_Manager::COLOR,
61
- 'description' => __('Leave blank or Clear to use default gradient overlay', 'essential-addons-elementor'),
62
- 'default' => 'linear-gradient(45deg, #3f3f46 0%, #05abe0 100%) repeat scroll 0 0 rgba(0, 0, 0, 0)',
63
- 'selectors' => [
64
- '{{WRAPPER}} .eael-timeline-post-inner' => 'background: {{VALUE}}',
65
- ]
66
-
67
- ]
68
- );
69
 
70
- $this->add_control(
71
- 'eael_timeline_bullet_color',
72
- [
73
- 'label' => __( 'Timeline Bullet Color', 'essential-addons-elementor' ),
74
- 'type' => Controls_Manager::COLOR,
75
- 'default'=> '#9fa9af',
76
- 'selectors' => [
77
- '{{WRAPPER}} .eael-timeline-bullet' => 'background-color: {{VALUE}};',
78
- ]
79
-
80
- ]
81
- );
82
 
83
  $this->add_control(
84
- 'eael_timeline_bullet_border_color',
85
- [
86
- 'label' => __( 'Timeline Bullet Border Color', 'essential-addons-elementor' ),
87
- 'type' => Controls_Manager::COLOR,
88
- 'default'=> '#fff',
89
- 'selectors' => [
90
- '{{WRAPPER}} .eael-timeline-bullet' => 'border-color: {{VALUE}};',
91
- ]
92
-
93
- ]
94
- );
95
 
96
  $this->add_control(
97
- 'eael_timeline_vertical_line_color',
98
- [
99
- 'label' => __( 'Timeline Vertical Line Color', 'essential-addons-elementor' ),
100
- 'type' => Controls_Manager::COLOR,
101
- 'default'=> 'rgba(83, 85, 86, .2)',
102
- 'selectors' => [
103
- '{{WRAPPER}} .eael-timeline-post:after' => 'background-color: {{VALUE}};',
104
- ]
105
-
106
- ]
107
- );
108
 
109
  $this->add_control(
110
- 'eael_timeline_border_color',
111
- [
112
- 'label' => __( 'Border & Arrow Color', 'essential-addons-elementor' ),
113
- 'type' => Controls_Manager::COLOR,
114
- 'default'=> '#e5eaed',
115
- 'selectors' => [
116
- '{{WRAPPER}} .eael-timeline-post-inner' => 'border-color: {{VALUE}};',
117
- '{{WRAPPER}} .eael-timeline-post-inner::after' => 'border-left-color: {{VALUE}};',
118
- '{{WRAPPER}} .eael-timeline-post:nth-child(2n) .eael-timeline-post-inner::after' => 'border-right-color: {{VALUE}};',
119
- ]
120
-
121
- ]
122
- );
123
 
124
  $this->add_control(
125
- 'eael_timeline_date_background_color',
126
- [
127
- 'label' => __( 'Date Background Color', 'essential-addons-elementor' ),
128
- 'type' => Controls_Manager::COLOR,
129
- 'default'=> 'rgba(0, 0, 0, 0.7)',
130
- 'selectors' => [
131
- '{{WRAPPER}} .eael-timeline-post time' => 'background-color: {{VALUE}};',
132
- '{{WRAPPER}} .eael-timeline-post time::before' => 'border-bottom-color: {{VALUE}};',
133
- ]
134
-
135
- ]
136
- );
 
137
 
138
  $this->add_control(
139
- 'eael_timeline_date_color',
140
- [
141
- 'label' => __( 'Date Text Color', 'essential-addons-elementor' ),
142
- 'type' => Controls_Manager::COLOR,
143
- 'default'=> '#fff',
144
- 'selectors' => [
145
- '{{WRAPPER}} .eael-timeline-post time' => 'color: {{VALUE}};',
146
- ]
 
 
 
 
147
 
148
- ]
149
- );
 
 
 
 
 
 
 
150
 
 
 
151
 
152
- $this->end_controls_section();
153
 
154
  $this->start_controls_section(
155
  'eael_section_typography',
156
  [
157
- 'label' => __( 'Typography', 'essential-addons-elementor' ),
158
- 'tab' => Controls_Manager::TAB_STYLE
159
  ]
160
  );
161
 
162
- $this->add_control(
163
- 'eael_timeline_title_style',
164
- [
165
- 'label' => __( 'Title Style', 'essential-addons-elementor' ),
166
- 'type' => Controls_Manager::HEADING,
167
- 'separator' => 'before',
168
- ]
169
- );
170
 
171
  $this->add_control(
172
- 'eael_timeline_title_color',
173
- [
174
- 'label' => __( 'Title Color', 'essential-addons-elementor' ),
175
- 'type' => Controls_Manager::COLOR,
176
- 'default'=> '#fff',
177
- 'selectors' => [
178
- '{{WRAPPER}} .eael-timeline-post-title h2' => 'color: {{VALUE}};',
179
- ]
180
-
181
- ]
182
- );
183
-
184
- $this->add_responsive_control(
185
- 'eael_timeline_title_alignment',
186
- [
187
- 'label' => __( 'Title Alignment', 'essential-addons-elementor' ),
188
- 'type' => Controls_Manager::CHOOSE,
189
- 'options' => [
190
- 'left' => [
191
- 'title' => __( 'Left', 'essential-addons-elementor' ),
192
- 'icon' => 'fa fa-align-left',
193
- ],
194
- 'center' => [
195
- 'title' => __( 'Center', 'essential-addons-elementor' ),
196
- 'icon' => 'fa fa-align-center',
197
- ],
198
- 'right' => [
199
- 'title' => __( 'Right', 'essential-addons-elementor' ),
200
- 'icon' => 'fa fa-align-right',
201
- ]
202
- ],
203
- 'selectors' => [
204
- '{{WRAPPER}} .eael-timeline-post-title h2' => 'text-align: {{VALUE}};',
205
- ]
206
- ]
207
- );
208
-
209
- $this->add_group_control(
210
- Group_Control_Typography::get_type(),
211
- [
212
- 'name' => 'eael_timeline_title_typography',
213
- 'label' => __( 'Typography', 'essential-addons-elementor' ),
214
- 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
215
- 'selector' => '{{WRAPPER}} .eael-timeline-post-title h2',
216
- ]
217
- );
218
-
219
- $this->add_control(
220
- 'eael_timeline_excerpt_style',
221
- [
222
- 'label' => __( 'Excerpt Style', 'essential-addons-elementor' ),
223
- 'type' => Controls_Manager::HEADING,
224
- 'separator' => 'before',
225
- ]
226
- );
227
 
228
  $this->add_control(
229
- 'eael_timeline_excerpt_color',
230
- [
231
- 'label' => __( 'Excerpt Color', 'essential-addons-elementor' ),
232
- 'type' => Controls_Manager::COLOR,
233
- 'default'=> '#ffffff',
234
- 'selectors' => [
235
- '{{WRAPPER}} .eael-timeline-post-excerpt p' => 'color: {{VALUE}};',
236
- ]
237
- ]
238
- );
239
 
240
  $this->add_responsive_control(
241
- 'eael_timeline_excerpt_alignment',
242
- [
243
- 'label' => __( 'Excerpt Alignment', 'essential-addons-elementor' ),
244
- 'type' => Controls_Manager::CHOOSE,
245
- 'options' => [
246
- 'left' => [
247
- 'title' => __( 'Left', 'essential-addons-elementor' ),
248
- 'icon' => 'fa fa-align-left',
249
- ],
250
- 'center' => [
251
- 'title' => __( 'Center', 'essential-addons-elementor' ),
252
- 'icon' => 'fa fa-align-center',
253
- ],
254
- 'right' => [
255
- 'title' => __( 'Right', 'essential-addons-elementor' ),
256
- 'icon' => 'fa fa-align-right',
257
- ],
258
- 'justify' => [
259
- 'title' => __( 'Justified', 'essential-addons-elementor' ),
260
- 'icon' => 'fa fa-align-justify',
261
- ],
262
- ],
263
- 'selectors' => [
264
- '{{WRAPPER}} .eael-timeline-post-excerpt p' => 'text-align: {{VALUE}};',
265
- ],
266
- ]
267
- );
268
-
269
- $this->add_group_control(
270
- Group_Control_Typography::get_type(),
271
- [
272
- 'name' => 'eael_timeline_excerpt_typography',
273
- 'label' => __( 'excerpt Typography', 'essential-addons-elementor' ),
274
- 'scheme' => Scheme_Typography::TYPOGRAPHY_3,
275
- 'selector' => '{{WRAPPER}} .eael-timeline-post-excerpt p',
276
- ]
277
- );
278
-
279
-
280
- $this->end_controls_section();
281
-
282
- $this->eael_load_more_button_style();
283
-
284
- }
285
-
286
-
287
- protected function render( ) {
288
- $settings = $this->get_settings();
289
- /**
290
- * Setup the post arguments.
291
- */
292
- $settings['post_style'] = 'timeline';
293
- $post_args = $this->eael_get_post_settings( $settings );
294
- $query_args = $this->eael_get_query_args( 'eaeposts', $this->get_settings() );
295
- $settings = $query_args = array_merge( $query_args, $post_args );
296
-
297
- if( isset( $query_args['tax_query'] ) ) {
298
- $tax_query = $query_args['tax_query'];
299
- }
300
- /**
301
- * Get posts from database.
302
- */
303
- $posts = $this->eael_load_more_ajax( $query_args );
304
- /**
305
- * Set total posts.
306
- */
307
- $total_post = $posts['count'];
308
-
309
- $this->add_render_attribute(
310
- 'eael_post_timeline_wrapper',
311
- [
312
- 'id' => "eael-post-timeline-{$this->get_id()}",
313
- 'class' => 'eael-post-timeline',
314
- 'data-total_posts' => $total_post,
315
- 'data-timeline_id' => $this->get_id(),
316
-
317
- 'data-post_type' => $settings['post_type'],
318
- 'data-posts_per_page' => $settings['posts_per_page'] ? $settings['posts_per_page'] : 4,
319
- 'data-post_order' => $settings['order'],
320
- 'data-post_orderby' => $settings['orderby'],
321
- 'data-post_offset' => $settings['offset'],
322
-
323
- 'data-show_images' => $settings['eael_show_image'],
324
- 'data-image_size' => $settings['image_size'],
325
- 'data-show_title' => $settings['eael_show_title'],
326
-
327
- 'data-show_excerpt' => $settings['eael_show_excerpt'],
328
- 'data-excerpt_length' => $settings['eael_excerpt_length'],
329
-
330
- 'data-btn_text' => $settings['show_load_more_text'],
331
-
332
- 'data-tax_query' => json_encode( ! empty( $tax_query ) ? $tax_query : [] ),
333
- 'data-post__in' => json_encode( ! empty( $settings['post__in'] ) ? $settings['post__in'] : [] ),
334
-
335
- 'data-exclude_posts' => json_encode( ! empty( $exclude_posts ) ? $exclude_posts : [] ),
336
- ]
337
- );
338
-
339
- $this->add_render_attribute(
340
- 'eael_post_timeline',
341
- [
342
- 'class' => [ 'eael-post-timeline', "eael-post-appender-{$this->get_id()}" ]
343
- ]
344
- );
345
-
346
- ?>
347
- <div <?php echo $this->get_render_attribute_string('eael_post_timeline_wrapper'); ?>>
348
- <div <?php echo $this->get_render_attribute_string('eael_post_timeline'); ?>>
349
- <?php
350
- if( ! empty( $posts['content'] ) ){
351
- echo $posts['content'];
352
- } else {
353
- echo '<p>Something went wrong.</p>';
354
- }
355
- ?>
356
  </div>
357
- </div>
358
- <?php
359
- if( 1 == $settings['show_load_more'] ) :
360
- if(
361
- $settings['posts_per_page'] != '-1'
362
- && $total_post != $settings['posts_per_page']
363
- && $total_post > intval( $settings['offset'] ) + intval( ! empty( $settings['posts_per_page'] ) ? $settings['posts_per_page'] : 4 )
364
- ) :
365
- ?>
366
- <!-- Load More Button -->
367
- <div class="eael-load-more-button-wrap">
368
- <button class="eael-load-more-button" id="eael-load-more-btn-<?php echo $this->get_id(); ?>">
369
- <div class="eael-btn-loader button__loader"></div>
370
- <span><?php echo esc_html__( $settings['show_load_more_text'], 'essential-addons-elementor' ); ?></span>
371
- </button>
372
- </div>
373
- <?php endif; endif;
374
- }
375
-
376
- protected function content_template() { }
377
- }
10
  use \Elementor\Group_Control_Typography as Group_Control_Typography;
11
  use \Elementor\Scheme_Typography as Scheme_Typography;
12
  use \Elementor\Widget_Base as Widget_Base;
 
13
 
14
+ class Post_Timeline extends Widget_Base
15
+ {
16
  use \Essential_Addons_Elementor\Traits\Helper;
17
+ use \Essential_Addons_Elementor\Template\Content\Post_Timeline;
18
+
19
+ public function get_name()
20
+ {
21
+ return 'eael-post-timeline';
22
+ }
23
+
24
+ public function get_title()
25
+ {
26
+ return __('EA Post Timeline', 'essential-addons-elementor');
27
+ }
28
+
29
+ public function get_icon()
30
+ {
31
+ return 'eicon-post-list';
32
+ }
33
+
34
+ public function get_categories()
35
+ {
36
+ return ['essential-addons-elementor'];
37
+ }
38
+
39
+ protected function _register_controls()
40
+ {
41
+
42
+ /**
43
+ * Query And Layout Controls!
44
+ * @source includes/elementor-helper.php
45
+ */
46
+ $this->eael_query_controls();
47
+ $this->eael_layout_controls();
48
+
49
+ if (!apply_filters('eael/pro_enabled', false)) {
50
+ $this->eael_go_premium();
51
+ }
52
 
53
  $this->start_controls_section(
54
  'eael_section_post_timeline_style',
55
  [
56
+ 'label' => __('Timeline Style', 'essential-addons-elementor'),
57
+ 'tab' => Controls_Manager::TAB_STYLE,
58
  ]
59
  );
60
 
61
  $this->add_control(
62
+ 'eael_timeline_overlay_color',
63
+ [
64
+ 'label' => __('Overlay Color', 'essential-addons-elementor'),
65
+ 'type' => Controls_Manager::COLOR,
66
+ 'description' => __('Leave blank or Clear to use default gradient overlay', 'essential-addons-elementor'),
67
+ 'default' => 'linear-gradient(45deg, #3f3f46 0%, #05abe0 100%) repeat scroll 0 0 rgba(0, 0, 0, 0)',
68
+ 'selectors' => [
69
+ '{{WRAPPER}} .eael-timeline-post-inner' => 'background: {{VALUE}}',
70
+ ],
 
 
 
71
 
72
+ ]
73
+ );
 
 
 
 
 
 
 
 
 
 
74
 
75
  $this->add_control(
76
+ 'eael_timeline_bullet_color',
77
+ [
78
+ 'label' => __('Timeline Bullet Color', 'essential-addons-elementor'),
79
+ 'type' => Controls_Manager::COLOR,
80
+ 'default' => '#9fa9af',
81
+ 'selectors' => [
82
+ '{{WRAPPER}} .eael-timeline-bullet' => 'background-color: {{VALUE}};',
83
+ ],
84
+
85
+ ]
86
+ );
87
 
88
  $this->add_control(
89
+ 'eael_timeline_bullet_border_color',
90
+ [
91
+ 'label' => __('Timeline Bullet Border Color', 'essential-addons-elementor'),
92
+ 'type' => Controls_Manager::COLOR,
93
+ 'default' => '#fff',
94
+ 'selectors' => [
95
+ '{{WRAPPER}} .eael-timeline-bullet' => 'border-color: {{VALUE}};',
96
+ ],
97
+
98
+ ]
99
+ );
100
 
101
  $this->add_control(
102
+ 'eael_timeline_vertical_line_color',
103
+ [
104
+ 'label' => __('Timeline Vertical Line Color', 'essential-addons-elementor'),
105
+ 'type' => Controls_Manager::COLOR,
106
+ 'default' => 'rgba(83, 85, 86, .2)',
107
+ 'selectors' => [
108
+ '{{WRAPPER}} .eael-timeline-post:after' => 'background-color: {{VALUE}};',
109
+ ],
110
+
111
+ ]
112
+ );
 
 
113
 
114
  $this->add_control(
115
+ 'eael_timeline_border_color',
116
+ [
117
+ 'label' => __('Border & Arrow Color', 'essential-addons-elementor'),
118
+ 'type' => Controls_Manager::COLOR,
119
+ 'default' => '#e5eaed',
120
+ 'selectors' => [
121
+ '{{WRAPPER}} .eael-timeline-post-inner' => 'border-color: {{VALUE}};',
122
+ '{{WRAPPER}} .eael-timeline-post-inner::after' => 'border-left-color: {{VALUE}};',
123
+ '{{WRAPPER}} .eael-timeline-post:nth-child(2n) .eael-timeline-post-inner::after' => 'border-right-color: {{VALUE}};',
124
+ ],
125
+
126
+ ]
127
+ );
128
 
129
  $this->add_control(
130
+ 'eael_timeline_date_background_color',
131
+ [
132
+ 'label' => __('Date Background Color', 'essential-addons-elementor'),
133
+ 'type' => Controls_Manager::COLOR,
134
+ 'default' => 'rgba(0, 0, 0, 0.7)',
135
+ 'selectors' => [
136
+ '{{WRAPPER}} .eael-timeline-post time' => 'background-color: {{VALUE}};',
137
+ '{{WRAPPER}} .eael-timeline-post time::before' => 'border-bottom-color: {{VALUE}};',
138
+ ],
139
+
140
+ ]
141
+ );
142
 
143
+ $this->add_control(
144
+ 'eael_timeline_date_color',
145
+ [
146
+ 'label' => __('Date Text Color', 'essential-addons-elementor'),
147
+ 'type' => Controls_Manager::COLOR,
148
+ 'default' => '#fff',
149
+ 'selectors' => [
150
+ '{{WRAPPER}} .eael-timeline-post time' => 'color: {{VALUE}};',
151
+ ],
152
 
153
+ ]
154
+ );
155
 
156
+ $this->end_controls_section();
157
 
158
  $this->start_controls_section(
159
  'eael_section_typography',
160
  [
161
+ 'label' => __('Typography', 'essential-addons-elementor'),
162
+ 'tab' => Controls_Manager::TAB_STYLE,
163
  ]
164
  );
165
 
166
+ $this->add_control(
167
+ 'eael_timeline_title_style',
168
+ [
169
+ 'label' => __('Title Style', 'essential-addons-elementor'),
170
+ 'type' => Controls_Manager::HEADING,
171
+ 'separator' => 'before',
172
+ ]
173
+ );
174
 
175
  $this->add_control(
176
+ 'eael_timeline_title_color',
177
+ [
178
+ 'label' => __('Title Color', 'essential-addons-elementor'),
179
+ 'type' => Controls_Manager::COLOR,
180
+ 'default' => '#fff',
181
+ 'selectors' => [
182
+ '{{WRAPPER}} .eael-timeline-post-title h2' => 'color: {{VALUE}};',
183
+ ],
184
+
185
+ ]
186
+ );
187
+
188
+ $this->add_responsive_control(
189
+ 'eael_timeline_title_alignment',
190
+ [
191
+ 'label' => __('Title Alignment', 'essential-addons-elementor'),
192
+ 'type' => Controls_Manager::CHOOSE,
193
+ 'options' => [
194
+ 'left' => [
195
+ 'title' => __('Left', 'essential-addons-elementor'),
196
+ 'icon' => 'fa fa-align-left',
197
+ ],
198
+ 'center' => [
199
+ 'title' => __('Center', 'essential-addons-elementor'),
200
+ 'icon' => 'fa fa-align-center',
201
+ ],
202
+ 'right' => [
203
+ 'title' => __('Right', 'essential-addons-elementor'),
204
+ 'icon' => 'fa fa-align-right',
205
+ ],
206
+ ],
207
+ 'selectors' => [
208
+ '{{WRAPPER}} .eael-timeline-post-title h2' => 'text-align: {{VALUE}};',
209
+ ],
210
+ ]
211
+ );
212
+
213
+ $this->add_group_control(
214
+ Group_Control_Typography::get_type(),
215
+ [
216
+ 'name' => 'eael_timeline_title_typography',
217
+ 'label' => __('Typography', 'essential-addons-elementor'),
218
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
219
+ 'selector' => '{{WRAPPER}} .eael-timeline-post-title h2',
220
+ ]
221
+ );
222
+
223
+ $this->add_control(
224
+ 'eael_timeline_excerpt_style',
225
+ [
226
+ 'label' => __('Excerpt Style', 'essential-addons-elementor'),
227
+ 'type' => Controls_Manager::HEADING,
228
+ 'separator' => 'before',
229
+ ]
230
+ );
231
 
232
  $this->add_control(
233
+ 'eael_timeline_excerpt_color',
234
+ [
235
+ 'label' => __('Excerpt Color', 'essential-addons-elementor'),
236
+ 'type' => Controls_Manager::COLOR,
237
+ 'default' => '#ffffff',
238
+ 'selectors' => [
239
+ '{{WRAPPER}} .eael-timeline-post-excerpt p' => 'color: {{VALUE}};',
240
+ ],
241
+ ]
242
+ );
243
 
244
  $this->add_responsive_control(
245
+ 'eael_timeline_excerpt_alignment',
246
+ [
247
+ 'label' => __('Excerpt Alignment', 'essential-addons-elementor'),
248
+ 'type' => Controls_Manager::CHOOSE,
249
+ 'options' => [
250
+ 'left' => [
251
+ 'title' => __('Left', 'essential-addons-elementor'),
252
+ 'icon' => 'fa fa-align-left',
253
+ ],
254
+ 'center' => [
255
+ 'title' => __('Center', 'essential-addons-elementor'),
256
+ 'icon' => 'fa fa-align-center',
257
+ ],
258
+ 'right' => [
259
+ 'title' => __('Right', 'essential-addons-elementor'),
260
+ 'icon' => 'fa fa-align-right',
261
+ ],
262
+ 'justify' => [
263
+ 'title' => __('Justified', 'essential-addons-elementor'),
264
+ 'icon' => 'fa fa-align-justify',
265
+ ],
266
+ ],
267
+ 'selectors' => [
268
+ '{{WRAPPER}} .eael-timeline-post-excerpt p' => 'text-align: {{VALUE}};',
269
+ ],
270
+ ]
271
+ );
272
+
273
+ $this->add_group_control(
274
+ Group_Control_Typography::get_type(),
275
+ [
276
+ 'name' => 'eael_timeline_excerpt_typography',
277
+ 'label' => __('excerpt Typography', 'essential-addons-elementor'),
278
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_3,
279
+ 'selector' => '{{WRAPPER}} .eael-timeline-post-excerpt p',
280
+ ]
281
+ );
282
+
283
+ $this->end_controls_section();
284
+
285
+ $this->eael_load_more_button_style();
286
+
287
+ }
288
+
289
+ protected function render()
290
+ {
291
+ $settings = $this->get_settings_for_display();
292
+ $args = $this->eael_get_query_args($settings);
293
+ $settings = [
294
+ 'eael_show_image' => $settings['eael_show_image'],
295
+ 'image_size' => $settings['image_size'],
296
+ 'eael_show_title' => $settings['eael_show_title'],
297
+ 'eael_show_excerpt' => $settings['eael_show_excerpt'],
298
+ 'eael_excerpt_length' => $settings['eael_excerpt_length'],
299
+ 'show_load_more' => $settings['show_load_more'],
300
+ 'show_load_more_text' => $settings['show_load_more_text'],
301
+ ];
302
+
303
+ $this->add_render_attribute(
304
+ 'eael_post_timeline_wrapper',
305
+ [
306
+ 'id' => "eael-post-timeline-{$this->get_id()}",
307
+ 'class' => 'eael-post-timeline',
308
+ ]
309
+ );
310
+
311
+ $this->add_render_attribute(
312
+ 'eael_post_timeline',
313
+ [
314
+ 'class' => ['eael-post-timeline', 'eael-post-appender', "eael-post-appender-{$this->get_id()}"],
315
+ ]
316
+ );
317
+
318
+ echo '<div ' . $this->get_render_attribute_string('eael_post_timeline_wrapper') . '>
319
+ <div ' . $this->get_render_attribute_string('eael_post_timeline') . '>
320
+ ' . self::__render_template($args, $settings) . '
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
321
  </div>
322
+ </div>';
323
+
324
+ if (1 == $settings['show_load_more']) {
325
+ if ($args['posts_per_page'] != '-1') {
326
+ echo '<div class="eael-load-more-button-wrap">
327
+ <button class="eael-load-more-button" id="eael-load-more-btn-' . $this->get_id() . '" data-widget="' . $this->get_id() . '" data-class="' . get_class($this) . '" data-args="' . http_build_query($args) . '" data-settings="' . http_build_query($settings) . '" data-page="1">
328
+ <div class="eael-btn-loader button__loader"></div>
329
+ <span>' . esc_html__($settings['show_load_more_text'], 'essential-addons-elementor') . '</span>
330
+ </button>
331
+ </div>';
332
+ }
333
+ }
334
+ }
335
+ }
 
 
 
 
 
 
 
includes/Elements/Pricing_Table.php CHANGED
@@ -12,7 +12,6 @@ use \Elementor\Group_Control_Box_Shadow;
12
  use \Elementor\Group_Control_Image_Size;
13
  use \Elementor\Group_Control_Typography;
14
  use \Elementor\Widget_Base;
15
- use \Elementor\Icons_Manager;
16
 
17
  class Pricing_Table extends Widget_Base {
18
 
@@ -1731,16 +1730,17 @@ foreach ($settings['eael_pricing_table_items'] as $item):
1731
 
1732
  }
1733
  ?>
1734
- <li <?php echo $obj->get_render_attribute_string('pricing_feature_item' . $counter); ?>>
1735
- <?php if ('show' === $settings['eael_pricing_table_icon_enabled']): ?>
1736
- <span class="li-icon" style="color:<?php echo esc_attr($item['eael_pricing_table_list_icon_color']); ?>">
1737
- <?php if(isset($item['__fa4_migrated']['eael_pricing_table_list_icon_new']) || empty($item['eael_pricing_table_list_icon'])) { ?>
1738
- <?php Icons_Manager::render_icon($item['eael_pricing_table_list_icon_new']); ?>
1739
- <?php } else { ?>
1740
- <i class="<?php echo $item['eael_pricing_table_list_icon']; ?>"></i></span>
1741
- <?php } ?>
1742
- <?php endif;?>
1743
- <?php echo $item['eael_pricing_table_item']; ?>
 
1744
  </li>
1745
  <?php $counter++;endforeach;?>
1746
  </ul>
@@ -1753,16 +1753,7 @@ foreach ($settings['eael_pricing_table_items'] as $item):
1753
  $pricing_table_image_url = Group_Control_Image_Size::get_attachment_image_src( $pricing_table_image['id'], 'thumbnail', $settings );
1754
  $target = $settings['eael_pricing_table_btn_link']['is_external'] ? 'target="_blank"' : '';
1755
  $nofollow = $settings['eael_pricing_table_btn_link']['nofollow'] ? 'rel="nofollow"' : '';
1756
- if( 'yes' === $settings['eael_pricing_table_featured'] ) : $featured_class = 'featured '.$settings['eael_pricing_table_featured_styles']; else : $featured_class = ''; endif;
1757
-
1758
-
1759
- $style_2_icon_migrated = isset($settings['__fa4_migrated']['eael_pricing_table_style_2_icon_new']);
1760
- $style_2_icon_is_new = empty($settings['eael_pricing_table_style_2_icon']);
1761
- $button_icon_migrated = isset($settings['__fa4_migrated']['eael_pricing_table_button_icon_new']);
1762
- $button_icon_is_new = empty($settings['eael_pricing_table_button_icon']);
1763
-
1764
- // $featured_class = ('yes' === $settings['eael_pricing_table_featured']) ? 'featured '.$settings['eael_pricing_table_featured_styles'] : '';
1765
- // dump($featured_class);
1766
 
1767
  if( 'yes' === $settings['eael_pricing_table_onsale'] ) {
1768
  if( $settings['eael_pricing_table_price_cur_placement'] == 'left' ) {
@@ -1794,16 +1785,16 @@ foreach ($settings['eael_pricing_table_items'] as $item):
1794
  <div class="footer">
1795
  <a href="<?php echo esc_url( $settings['eael_pricing_table_btn_link']['url'] ); ?>" <?php echo $target; ?> <?php echo $nofollow; ?> class="eael-pricing-button">
1796
  <?php if( 'left' == $settings['eael_pricing_table_button_icon_alignment'] ) : ?>
1797
- <?php if ($button_icon_is_new || $button_icon_migrated) { ?>
1798
- <?php Icons_Manager::render_icon($settings['eael_pricing_table_button_icon_new']); ?>
1799
  <?php } else { ?>
1800
  <i class="<?php echo esc_attr( $settings['eael_pricing_table_button_icon'] ); ?> fa-icon-left"></i>
1801
  <?php } ?>
1802
  <?php echo $settings['eael_pricing_table_btn']; ?>
1803
  <?php elseif( 'right' == $settings['eael_pricing_table_button_icon_alignment'] ) : ?>
1804
  <?php echo $settings['eael_pricing_table_btn']; ?>
1805
- <?php if ($button_icon_is_new || $button_icon_migrated) { ?>
1806
- <?php Icons_Manager::render_icon($settings['eael_pricing_table_button_icon_new']); ?>
1807
  <?php } else { ?>
1808
  <i class="<?php echo esc_attr( $settings['eael_pricing_table_button_icon'] ); ?> fa-icon-right"></i>
1809
  <?php } ?>
@@ -1818,8 +1809,8 @@ foreach ($settings['eael_pricing_table_items'] as $item):
1818
  <div class="eael-pricing-item <?php echo esc_attr( $featured_class ); ?>">
1819
  <div class="eael-pricing-icon">
1820
  <span class="icon" style="background:<?php if('yes' != $settings['eael_pricing_table_icon_bg_show']) : echo 'none'; endif; ?>;">
1821
- <?php if ($style_2_icon_is_new || $style_2_icon_migrated) { ?>
1822
- <?php Icons_Manager::render_icon($settings['eael_pricing_table_style_2_icon_new']); ?>
1823
  <?php } else { ?>
1824
  <i class="<?php echo esc_attr( $settings['eael_pricing_table_style_2_icon'] ); ?>"></i>
1825
  <?php } ?>
@@ -1839,16 +1830,16 @@ foreach ($settings['eael_pricing_table_items'] as $item):
1839
  <div class="footer">
1840
  <a href="<?php echo esc_url( $settings['eael_pricing_table_btn_link']['url'] ); ?>" <?php echo $target; ?> <?php echo $nofollow; ?> class="eael-pricing-button">
1841
  <?php if( 'left' == $settings['eael_pricing_table_button_icon_alignment'] ) : ?>
1842
- <?php if ($button_icon_is_new || $button_icon_migrated) { ?>
1843
- <?php Icons_Manager::render_icon($settings['eael_pricing_table_button_icon_new']); ?>
1844
  <?php } else { ?>
1845
  <i class="<?php echo esc_attr( $settings['eael_pricing_table_button_icon'] ); ?> fa-icon-left"></i>
1846
  <?php } ?>
1847
  <?php echo $settings['eael_pricing_table_btn']; ?>
1848
  <?php elseif( 'right' == $settings['eael_pricing_table_button_icon_alignment'] ) : ?>
1849
  <?php echo $settings['eael_pricing_table_btn']; ?>
1850
- <?php if ($button_icon_is_new || $button_icon_migrated) { ?>
1851
- <?php Icons_Manager::render_icon($settings['eael_pricing_table_button_icon_new']); ?>
1852
  <?php } else { ?>
1853
  <i class="<?php echo esc_attr( $settings['eael_pricing_table_button_icon'] ); ?> fa-icon-right"></i>
1854
  <?php } ?>
@@ -1859,6 +1850,6 @@ foreach ($settings['eael_pricing_table_items'] as $item):
1859
  </div>
1860
  <?php endif; ?>
1861
  <?php
1862
- do_action('add_pricing_table_style_block', $settings, $this, $pricing, $target, $nofollow);
1863
  }
1864
  }
12
  use \Elementor\Group_Control_Image_Size;
13
  use \Elementor\Group_Control_Typography;
14
  use \Elementor\Widget_Base;
 
15
 
16
  class Pricing_Table extends Widget_Base {
17
 
1730
 
1731
  }
1732
  ?>
1733
+ <li <?php echo $obj->get_render_attribute_string('pricing_feature_item' . $counter); ?>>
1734
+ <?php if ('show' === $settings['eael_pricing_table_icon_enabled']): ?>
1735
+ <span class="li-icon" style="color:<?php echo esc_attr($item['eael_pricing_table_list_icon_color']); ?>">
1736
+ <?php if(isset($item['__fa4_migrated']['eael_pricing_table_list_icon_new']) || empty($item['eael_pricing_table_list_icon'])) { ?>
1737
+ <i class="<?php echo $item['eael_pricing_table_list_icon_new']['value']; ?>"></i>
1738
+ <?php } else { ?>
1739
+ <i class="<?php echo $item['eael_pricing_table_list_icon']; ?>"></i>
1740
+ <?php } ?>
1741
+ </span>
1742
+ <?php endif;?>
1743
+ <?php echo $item['eael_pricing_table_item']; ?>
1744
  </li>
1745
  <?php $counter++;endforeach;?>
1746
  </ul>
1753
  $pricing_table_image_url = Group_Control_Image_Size::get_attachment_image_src( $pricing_table_image['id'], 'thumbnail', $settings );
1754
  $target = $settings['eael_pricing_table_btn_link']['is_external'] ? 'target="_blank"' : '';
1755
  $nofollow = $settings['eael_pricing_table_btn_link']['nofollow'] ? 'rel="nofollow"' : '';
1756
+ $featured_class = ('yes' === $settings['eael_pricing_table_featured'] ? 'featured ' . $settings['eael_pricing_table_featured_styles'] : '');
 
 
 
 
 
 
 
 
 
1757
 
1758
  if( 'yes' === $settings['eael_pricing_table_onsale'] ) {
1759
  if( $settings['eael_pricing_table_price_cur_placement'] == 'left' ) {
1785
  <div class="footer">
1786
  <a href="<?php echo esc_url( $settings['eael_pricing_table_btn_link']['url'] ); ?>" <?php echo $target; ?> <?php echo $nofollow; ?> class="eael-pricing-button">
1787
  <?php if( 'left' == $settings['eael_pricing_table_button_icon_alignment'] ) : ?>
1788
+ <?php if (empty($settings['eael_pricing_table_button_icon']) || isset($settings['__fa4_migrated']['eael_pricing_table_button_icon_new'])) { ?>
1789
+ <i class="<?php echo esc_attr( $settings['eael_pricing_table_button_icon_new']['value'] ); ?> fa-icon-left"></i>
1790
  <?php } else { ?>
1791
  <i class="<?php echo esc_attr( $settings['eael_pricing_table_button_icon'] ); ?> fa-icon-left"></i>
1792
  <?php } ?>
1793
  <?php echo $settings['eael_pricing_table_btn']; ?>
1794
  <?php elseif( 'right' == $settings['eael_pricing_table_button_icon_alignment'] ) : ?>
1795
  <?php echo $settings['eael_pricing_table_btn']; ?>
1796
+ <?php if (empty($settings['eael_pricing_table_button_icon']) || isset($settings['__fa4_migrated']['eael_pricing_table_button_icon_new'])) { ?>
1797
+ <i class="<?php echo esc_attr( $settings['eael_pricing_table_button_icon_new']['value'] ); ?> fa-icon-right"></i>
1798
  <?php } else { ?>
1799
  <i class="<?php echo esc_attr( $settings['eael_pricing_table_button_icon'] ); ?> fa-icon-right"></i>
1800
  <?php } ?>
1809
  <div class="eael-pricing-item <?php echo esc_attr( $featured_class ); ?>">
1810
  <div class="eael-pricing-icon">
1811
  <span class="icon" style="background:<?php if('yes' != $settings['eael_pricing_table_icon_bg_show']) : echo 'none'; endif; ?>;">
1812
+ <?php if (empty($settings['eael_pricing_table_style_2_icon']) || isset($settings['__fa4_migrated']['eael_pricing_table_style_2_icon_new'])) { ?>
1813
+ <i class="<?php echo esc_attr( $settings['eael_pricing_table_style_2_icon_new']['value'] ); ?>"></i>
1814
  <?php } else { ?>
1815
  <i class="<?php echo esc_attr( $settings['eael_pricing_table_style_2_icon'] ); ?>"></i>
1816
  <?php } ?>
1830
  <div class="footer">
1831
  <a href="<?php echo esc_url( $settings['eael_pricing_table_btn_link']['url'] ); ?>" <?php echo $target; ?> <?php echo $nofollow; ?> class="eael-pricing-button">
1832
  <?php if( 'left' == $settings['eael_pricing_table_button_icon_alignment'] ) : ?>
1833
+ <?php if (empty($settings['eael_pricing_table_button_icon']) || isset($settings['__fa4_migrated']['eael_pricing_table_button_icon_new'])) { ?>
1834
+ <i class="<?php echo esc_attr( $settings['eael_pricing_table_button_icon_new']['value'] ); ?> fa-icon-left"></i>
1835
  <?php } else { ?>
1836
  <i class="<?php echo esc_attr( $settings['eael_pricing_table_button_icon'] ); ?> fa-icon-left"></i>
1837
  <?php } ?>
1838
  <?php echo $settings['eael_pricing_table_btn']; ?>
1839
  <?php elseif( 'right' == $settings['eael_pricing_table_button_icon_alignment'] ) : ?>
1840
  <?php echo $settings['eael_pricing_table_btn']; ?>
1841
+ <?php if (empty($settings['eael_pricing_table_button_icon']) || isset($settings['__fa4_migrated']['eael_pricing_table_button_icon_new'])) { ?>
1842
+ <i class="<?php echo esc_attr( $settings['eael_pricing_table_button_icon_new']['value'] ); ?> fa-icon-right"></i>
1843
  <?php } else { ?>
1844
  <i class="<?php echo esc_attr( $settings['eael_pricing_table_button_icon'] ); ?> fa-icon-right"></i>
1845
  <?php } ?>
1850
  </div>
1851
  <?php endif; ?>
1852
  <?php
1853
+ do_action('add_pricing_table_style_block', $settings, $this, $pricing, $target, $nofollow, $featured_class);
1854
  }
1855
  }
includes/Elements/Product_Grid.php CHANGED
@@ -14,7 +14,7 @@ use \Elementor\Widget_Base as Widget_Base;
14
  class Product_Grid extends Widget_Base
15
  {
16
  use \Essential_Addons_Elementor\Traits\Helper;
17
- use \Essential_Addons_Elementor\Template\Content\Product_Loop;
18
 
19
  public function get_name()
20
  {
@@ -442,7 +442,7 @@ class Product_Grid extends Widget_Base
442
 
443
  protected function render()
444
  {
445
- $settings = $this->get_settings();
446
 
447
  $args = [
448
  'post_type' => 'product',
@@ -494,19 +494,17 @@ class Product_Grid extends Widget_Base
494
  $args['order'] = 'DESC';
495
  }
496
 
 
 
 
 
 
 
497
  echo '<div class="eael-product-grid ' . $settings['eael_product_grid_style_preset'] . '">
498
  <div class="woocommerce">
499
- <ul class="products eael-product-columns-' . $settings['eael_product_grid_column'] . '">';
500
- $products = get_posts($args);
501
-
502
- if ($products) {
503
- foreach ($products as $product) {
504
- $this->template_product_loop($settings, $product);
505
- }
506
- } else {
507
- echo __('No products found');
508
- }
509
- echo '</ul>
510
  </div>
511
  </div>';
512
  }
14
  class Product_Grid extends Widget_Base
15
  {
16
  use \Essential_Addons_Elementor\Traits\Helper;
17
+ use \Essential_Addons_Elementor\Template\Content\Product_Grid;
18
 
19
  public function get_name()
20
  {
442
 
443
  protected function render()
444
  {
445
+ $settings = $this->get_settings_for_display();
446
 
447
  $args = [
448
  'post_type' => 'product',
494
  $args['order'] = 'DESC';
495
  }
496
 
497
+ $settings = [
498
+ 'eael_product_grid_style_preset' => $settings['eael_product_grid_style_preset'],
499
+ 'eael_product_grid_rating' => $settings['eael_product_grid_rating'],
500
+ 'eael_product_grid_column' => $settings['eael_product_grid_column']
501
+ ];
502
+
503
  echo '<div class="eael-product-grid ' . $settings['eael_product_grid_style_preset'] . '">
504
  <div class="woocommerce">
505
+ <ul class="products eael-product-columns-' . $settings['eael_product_grid_column'] . '">
506
+ ' . self::__render_template($args, $settings) . '
507
+ </ul>
 
 
 
 
 
 
 
 
508
  </div>
509
  </div>';
510
  }
includes/Elements/Team_Member.php CHANGED
@@ -12,7 +12,6 @@ use \Elementor\Group_Control_Image_Size;
12
  use \Elementor\Group_Control_Typography;
13
  use \Elementor\Utils;
14
  use \Elementor\Widget_Base;
15
- use \Elementor\Icons_Manager;
16
 
17
  class Team_Member extends Widget_Base {
18
 
@@ -746,9 +745,9 @@ class Team_Member extends Widget_Base {
746
  <?php if ( ! empty( $item['social'] ) || !empty($item['social_new'])) : ?>
747
  <?php $target = $item['link']['is_external'] ? ' target="_blank"' : ''; ?>
748
  <li class="eael-team-member-social-link">
749
- <a href="<?php echo esc_attr( $item['link']['url'] ); ?>"<?php echo $target; ?>>
750
  <?php if ($icon_is_new || $icon_migrated) { ?>
751
- <?php Icons_Manager::render_icon($item['social_new']); ?>
752
  <?php } else { ?>
753
  <i class="<?php echo esc_attr($item['social'] ); ?>"></i>
754
  <?php } ?>
12
  use \Elementor\Group_Control_Typography;
13
  use \Elementor\Utils;
14
  use \Elementor\Widget_Base;
 
15
 
16
  class Team_Member extends Widget_Base {
17
 
745
  <?php if ( ! empty( $item['social'] ) || !empty($item['social_new'])) : ?>
746
  <?php $target = $item['link']['is_external'] ? ' target="_blank"' : ''; ?>
747
  <li class="eael-team-member-social-link">
748
+ <a href="<?php echo esc_attr( $item['link']['url'] ); ?>" <?php echo $target; ?>>
749
  <?php if ($icon_is_new || $icon_migrated) { ?>
750
+ <i class="<?php echo esc_attr($item['social_new']['value'] ); ?>"></i>
751
  <?php } else { ?>
752
  <i class="<?php echo esc_attr($item['social'] ); ?>"></i>
753
  <?php } ?>
includes/Elements/Tooltip.php CHANGED
@@ -12,7 +12,6 @@ use \Elementor\Group_Control_Box_Shadow;
12
  use \Elementor\Group_Control_Typography;
13
  use \Elementor\Utils;
14
  use \Elementor\Widget_Base;
15
- use \Elementor\Icons_Manager;
16
 
17
  class Tooltip extends Widget_Base {
18
 
@@ -624,7 +623,7 @@ class Tooltip extends Widget_Base {
624
  <?php elseif( $settings['eael_tooltip_type'] === 'icon' ) : ?>
625
  <span class="eael-tooltip-content"><?php if( $settings['eael_tooltip_enable_link'] === 'yes' ) : ?><a href="<?php echo esc_url( $settings['eael_tooltip_link']['url'] ); ?>" <?php echo $target; ?> <?php echo $nofollow; ?> ><?php endif; ?>
626
  <?php if ($icon_is_new || $icon_migrated) { ?>
627
- <?php Icons_Manager::render_icon($settings['eael_tooltip_icon_content_new']); ?>
628
  <?php } else { ?>
629
  <i class="<?php echo esc_attr( $settings['eael_tooltip_icon_content'] ); ?>"></i>
630
  <?php } ?>
12
  use \Elementor\Group_Control_Typography;
13
  use \Elementor\Utils;
14
  use \Elementor\Widget_Base;
 
15
 
16
  class Tooltip extends Widget_Base {
17
 
623
  <?php elseif( $settings['eael_tooltip_type'] === 'icon' ) : ?>
624
  <span class="eael-tooltip-content"><?php if( $settings['eael_tooltip_enable_link'] === 'yes' ) : ?><a href="<?php echo esc_url( $settings['eael_tooltip_link']['url'] ); ?>" <?php echo $target; ?> <?php echo $nofollow; ?> ><?php endif; ?>
625
  <?php if ($icon_is_new || $icon_migrated) { ?>
626
+ <i class="<?php echo esc_attr( $settings['eael_tooltip_icon_content_new']['value'] ); ?>"></i>
627
  <?php } else { ?>
628
  <i class="<?php echo esc_attr( $settings['eael_tooltip_icon_content'] ); ?>"></i>
629
  <?php } ?>
includes/Elements/Twitter_Feed.php CHANGED
@@ -474,7 +474,7 @@ class Twitter_Feed extends Widget_Base
474
  {
475
  $settings = $this->get_settings();
476
 
477
- echo '<div class="eael-twitter-feed eael-twitter-feed-' . $this->get_id() . ' eael-twitter-feed-' . $settings['eael_twitter_feed_type'] . ' eael-twitter-feed-' . $settings['eael_twitter_feed_type_col_type'] . '" data-gutter="' . $settings['eael_twitter_feed_column_spacing']['size'] . '">
478
  ' . $this->twitter_feed_render_items($this->get_id(), $settings) . '
479
  </div>';
480
 
@@ -502,5 +502,33 @@ class Twitter_Feed extends Widget_Base
502
  }
503
  }
504
  </style>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
505
  }
506
  }
474
  {
475
  $settings = $this->get_settings();
476
 
477
+ echo '<div class="eael-twitter-feed eael-twitter-feed-' . $this->get_id() . ' eael-twitter-feed-' . $settings['eael_twitter_feed_type'] . ' eael-twitter-feed-' . $settings['eael_twitter_feed_type_col_type'] . ' clearfix" data-gutter="' . $settings['eael_twitter_feed_column_spacing']['size'] . '">
478
  ' . $this->twitter_feed_render_items($this->get_id(), $settings) . '
479
  </div>';
480
 
502
  }
503
  }
504
  </style>';
505
+
506
+ if (\Elementor\Plugin::instance()->editor->is_edit_mode()) {
507
+ echo '<script type="text/javascript">
508
+ jQuery(document).ready(function($) {
509
+ $(".eael-twitter-feed").each(function() {
510
+ var $node_id = "' . $this->get_id() . '",
511
+ $scope = $(".elementor-element-"+$node_id+""),
512
+ $gutter = $(".eael-twitter-feed", $scope).data("gutter"),
513
+ $settings = {
514
+ itemSelector: ".eael-twitter-feed-item",
515
+ percentPosition: true,
516
+ masonry: {
517
+ columnWidth: ".eael-twitter-feed-item",
518
+ gutter: $gutter
519
+ }
520
+ };
521
+
522
+ // init isotope
523
+ $twitter_feed_gallery = $(".eael-twitter-feed", $scope).isotope($settings);
524
+
525
+ // layout gal, while images are loading
526
+ $twitter_feed_gallery.imagesLoaded().progress(function() {
527
+ $twitter_feed_gallery.isotope("layout");
528
+ });
529
+ });
530
+ });
531
+ </script>';
532
+ }
533
  }
534
  }
includes/Extensions/Reading_Progress.php CHANGED
@@ -11,7 +11,7 @@ class Reading_Progress
11
  {
12
  public function __construct()
13
  {
14
- add_action('elementor/element/post/document_settings/after_section_end', [$this, 'register_controls'], 10);
15
  }
16
 
17
  public function register_controls($element)
11
  {
12
  public function __construct()
13
  {
14
+ add_action('elementor/documents/register_controls', [$this, 'register_controls'], 10);
15
  }
16
 
17
  public function register_controls($element)
includes/Template/Content/Content_Ticker.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Essential_Addons_Elementor\Template\Content;
4
+
5
+ if (!defined('ABSPATH')) {
6
+ exit;
7
+ } // Exit if accessed directly
8
+
9
+ trait Content_Ticker
10
+ {
11
+ public static function __render_template($args, $settings)
12
+ {
13
+ $html = '';
14
+ $query = new \WP_Query($args);
15
+
16
+ if ($query->have_posts()) {
17
+ while ($query->have_posts()) {
18
+ $query->the_post();
19
+
20
+ $html .= '<div class="swiper-slide"><div class="ticker-content">
21
+ <a href="' . get_the_permalink() . '" class="ticker-content-link">' . get_the_title() . '</a>
22
+ </div></div>';
23
+ }
24
+ } else {
25
+ $html .= '<div class="swiper-slide"><a href="#" class="ticker-content">' . __('No content found!', 'essential-addons-elementor') . '</a></div>';
26
+ }
27
+
28
+ wp_reset_postdata();
29
+
30
+ return $html;
31
+ }
32
+ }
includes/Template/Content/Post_Grid.php ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Essential_Addons_Elementor\Template\Content;
4
+
5
+ if (!defined('ABSPATH')) {
6
+ exit;
7
+ } // Exit if accessed directly
8
+
9
+ trait Post_Grid
10
+ {
11
+ public static function __render_template($args, $settings)
12
+ {
13
+ $query = new \WP_Query($args);
14
+
15
+ ob_start();
16
+
17
+ if($query->have_posts()) {
18
+ while($query->have_posts()) {
19
+ $query->the_post();
20
+ echo '<article class="eael-grid-post eael-post-grid-column">
21
+ <div class="eael-grid-post-holder">
22
+ <div class="eael-grid-post-holder-inner">';
23
+ if (has_post_thumbnail() && $settings['eael_show_image'] == 1) {
24
+ echo '<div class="eael-entry-media">';
25
+ if ('none' !== $settings['eael_post_grid_hover_animation']) {
26
+ echo '<div class="eael-entry-overlay ' . $settings['eael_post_grid_hover_animation'] . '">
27
+ <i class="' . $settings['eael_post_grid_bg_hover_icon'] . '" aria-hidden="true"></i>
28
+ <a href="' . get_the_permalink() . '"></a>
29
+ </div>';
30
+ }
31
+
32
+ echo '<div class="eael-entry-thumbnail">
33
+ <img src="' . esc_url(wp_get_attachment_image_url(get_post_thumbnail_id(), $settings['image_size'])) . '" alt="' . esc_attr(get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true)) . '">
34
+ </div>';
35
+ echo '</div>';
36
+ }
37
+
38
+ if ($settings['eael_show_title'] || $settings['eael_show_meta'] || $settings['eael_show_excerpt']) {
39
+ echo '<div class="eael-entry-wrapper">
40
+ <header class="eael-entry-header">';
41
+ if ($settings['eael_show_title']) {
42
+ echo '<h2 class="eael-entry-title"><a class="eael-grid-post-link" href="' . get_the_permalink() . '" title="' . get_the_title() . '">' . get_the_title() . '</a></h2>';
43
+ }
44
+
45
+ if ($settings['eael_show_meta'] && $settings['meta_position'] == 'meta-entry-header') {
46
+ echo '<div class="eael-entry-meta">
47
+ <span class="eael-posted-by">' . get_the_author_meta( 'display_name' ) . '</span>
48
+ <span class="eael-posted-on"><time datetime="' . get_the_date() . '">' . get_the_date() . '</time></span>
49
+ </div>';
50
+ }
51
+ echo '</header>';
52
+
53
+ if ($settings['eael_show_excerpt']) {
54
+ echo '<div class="eael-entry-content">
55
+ <div class="eael-grid-post-excerpt">
56
+ <p>' . implode(" ", array_slice(explode(" ", strip_tags(strip_shortcodes(get_the_excerpt() ? get_the_excerpt() : get_the_content()))), 0, $settings['eael_excerpt_length'])) . '...</p>';
57
+ if ($settings['eael_show_read_more_button']) {
58
+ echo '<a href="' . get_the_permalink() . '" class="eael-post-elements-readmore-btn">' . esc_attr($settings['read_more_button_text']) . '</a>';
59
+ }
60
+ echo '</div>
61
+ </div>';
62
+ }
63
+ echo '</div>';
64
+
65
+ if ($settings['eael_show_meta'] && $settings['meta_position'] == 'meta-entry-footer') {
66
+ echo '<div class="eael-entry-footer">
67
+ <div class="eael-author-avatar">
68
+ <a href="' . get_author_posts_url(get_the_author_meta('ID')) . '">' . get_avatar(get_the_author_meta('ID'), 96) . '</a>
69
+ </div>
70
+ <div class="eael-entry-meta">
71
+ <div class="eael-posted-by">' . get_the_author_posts_link() . '</div>
72
+ <div class="eael-posted-on"><time datetime="' . get_the_date() . '">' . get_the_date() . '</time></div>
73
+ </div>
74
+ </div>';
75
+ }
76
+ }
77
+ echo '</div>
78
+ </div>
79
+ </article>';
80
+ }
81
+ } else {
82
+ _e('<p class="no-posts-found">No posts found!</p>', 'essential-addons-elementor');
83
+ }
84
+
85
+ wp_reset_postdata();
86
+
87
+ return ob_get_clean();
88
+ }
89
+ }
includes/Template/Content/Post_Timeline.php ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Essential_Addons_Elementor\Template\Content;
4
+
5
+ if (!defined('ABSPATH')) {
6
+ exit;
7
+ } // Exit if accessed directly
8
+
9
+ trait Post_Timeline
10
+ {
11
+ public static function __render_template($args, $settings)
12
+ {
13
+ $html = '';
14
+ $query = new \WP_Query($args);
15
+
16
+ if ($query->have_posts()) {
17
+ while ($query->have_posts()) {
18
+ $query->the_post();
19
+
20
+ $html .= '<article class="eael-timeline-post eael-timeline-column">
21
+ <div class="eael-timeline-bullet"></div>
22
+ <div class="eael-timeline-post-inner">
23
+ <a class="eael-timeline-post-link" href="' . get_the_permalink() . '" title="' . get_the_title() . '">
24
+ <time datetime="' . get_the_date() . '">' . get_the_date() . '</time>
25
+ <div class="eael-timeline-post-image" ' . ($settings['eael_show_image'] == 1 ? 'style="background-image: url(' . wp_get_attachment_image_url(get_post_thumbnail_id(), $settings['image_size']) . ');"' : null) . '></div>';
26
+ if ($settings['eael_show_excerpt']) {
27
+ $html .= '<div class="eael-timeline-post-excerpt">
28
+ <p>' . implode(" ", array_slice(explode(" ", strip_tags(strip_shortcodes(get_the_excerpt() ? get_the_excerpt() : get_the_content()))), 0, $settings['eael_excerpt_length'])) . '</p>
29
+ </div>';
30
+ }
31
+
32
+ if ($settings['eael_show_title']) {
33
+ $html .= '<div class="eael-timeline-post-title">
34
+ <h2>' . get_the_title() . '</h2>
35
+ </div>';
36
+ }
37
+ $html .= '</a>
38
+ </div>
39
+ </article>';
40
+ }
41
+ } else {
42
+ $html .= __('<p class="no-posts-found">No posts found!</p>', 'essential-addons-elementor');
43
+ }
44
+
45
+ wp_reset_postdata();
46
+
47
+ return $html;
48
+ }
49
+ }
includes/Template/Content/Product_Grid.php ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Essential_Addons_Elementor\Template\Content;
4
+
5
+ if (!defined('ABSPATH')) {
6
+ exit;
7
+ } // Exit if accessed directly
8
+
9
+ trait Product_Grid
10
+ {
11
+ public static function __render_template($args, $settings)
12
+ {
13
+ $query = new \WP_Query($args);
14
+
15
+ ob_start();
16
+
17
+ if ($query->have_posts()) {
18
+ while ($query->have_posts()) {
19
+ $query->the_post();
20
+
21
+ $product = wc_get_product(get_the_ID());
22
+
23
+ if ($settings['eael_product_grid_style_preset'] == 'eael-product-simple' || $settings['eael_product_grid_style_preset'] == 'eael-product-reveal') {
24
+ echo '<li class="product">
25
+ <a href="' . $product->get_permalink() . '" class="woocommerce-LoopProduct-link woocommerce-loop-product__link">
26
+ ' . $product->get_image('woocommerce_thumbnail') . '
27
+ <h2 class="woocommerce-loop-product__title">' . $product->get_title() . '</h2>
28
+ ' . ($settings['eael_product_grid_rating'] != 'yes' ? '' : wc_get_rating_html($product->get_average_rating(), $product->get_rating_count())) . '
29
+ ' . ($product->is_on_sale() ? '<span class="onsale">' . __('Sale!', 'essential-addons-elementor') . '</span>' : '') . '
30
+ <span class="price">' . $product->get_price_html() . '</span>
31
+ </a>';
32
+ woocommerce_template_loop_add_to_cart();
33
+ echo '</li>';
34
+ } else if ($settings['eael_product_grid_style_preset'] == 'eael-product-overlay') {
35
+ echo '<li class="product">
36
+ <div class="overlay">
37
+ ' . $product->get_image('woocommerce_thumbnail') . '
38
+ <div class="button-wrap clearfix">
39
+ <a href="' . $product->get_permalink() . '" class="product-link"><span class="fas fa-link"></span></a>';
40
+ woocommerce_template_loop_add_to_cart();
41
+ echo '</div>
42
+ </div>
43
+ <h2 class="woocommerce-loop-product__title">' . $product->get_title() . '</h2>
44
+ ' . ($settings['eael_product_grid_rating'] != 'yes' ? '' : wc_get_rating_html($product->get_average_rating(), $product->get_rating_count())) . '
45
+ ' . ($product->is_on_sale() ? '<span class="onsale">' . __('Sale!', 'essential-addons-elementor') . '</span>' : '') . '
46
+ <span class="price">' . $product->get_price_html() . '</span>
47
+ </li>';
48
+ } else {
49
+ wc_get_template_part('content', 'product');
50
+ }
51
+ }
52
+ } else {
53
+ _e('<p class="no-posts-found">No posts found!</p>', 'essential-addons-elementor');
54
+ }
55
+
56
+ wp_reset_postdata();
57
+
58
+ return ob_get_clean();
59
+ }
60
+ }
includes/Template/Content/Product_Loop.php DELETED
@@ -1,49 +0,0 @@
1
- <?php
2
-
3
- namespace Essential_Addons_Elementor\Template\Content;
4
-
5
- if (!defined('ABSPATH')) {
6
- exit;
7
- } // Exit if accessed directly
8
-
9
- trait Product_Loop
10
- {
11
- public function template_product_loop($args, $post_object)
12
- {
13
- $GLOBALS['product'] = $product = wc_get_product($post_object->ID);
14
-
15
- if ($args['eael_product_grid_style_preset'] == 'eael-product-simple' || $args['eael_product_grid_style_preset'] == 'eael-product-reveal') {
16
- echo '<li class="product">
17
- <a href="' . $product->get_permalink() . '" class="woocommerce-LoopProduct-link woocommerce-loop-product__link">
18
- ' . $product->get_image('woocommerce_thumbnail') . '
19
- <h2 class="woocommerce-loop-product__title">' . $product->get_title() . '</h2>
20
- ' . ($args['eael_product_grid_rating'] != 'yes' ? '' : wc_get_rating_html($product->get_average_rating(), $product->get_rating_count())) . '
21
- ' . ($product->is_on_sale() ? '<span class="onsale">' . __('Sale!', 'essential-addons-elementor') . '</span>' : '') . '
22
- <span class="price">' . $product->get_price_html() . '</span>
23
- </a>';
24
-
25
- woocommerce_template_loop_add_to_cart();
26
- echo '</li>';
27
- } else if ($args['eael_product_grid_style_preset'] == 'eael-product-overlay') {
28
- echo '<li class="product">
29
- <div class="overlay">
30
- ' . $product->get_image('woocommerce_thumbnail') . '
31
- <div class="button-wrap clearfix">
32
- <a href="' . $product->get_permalink() . '" class="product-link"><span class="fas fa-link"></span></a>';
33
- woocommerce_template_loop_add_to_cart();
34
- echo '</div>
35
- </div>
36
- <h2 class="woocommerce-loop-product__title">' . $product->get_title() . '</h2>
37
- ' . ($args['eael_product_grid_rating'] != 'yes' ? '' : wc_get_rating_html($product->get_average_rating(), $product->get_rating_count())) . '
38
- ' . ($product->is_on_sale() ? '<span class="onsale">' . __('Sale!', 'essential-addons-elementor') . '</span>' : '') . '
39
- <span class="price">' . $product->get_price_html() . '</span>
40
- </li>';
41
- } else {
42
- setup_postdata($GLOBALS['post'] = $post_object);
43
- wc_get_template_part('content', 'product');
44
- wp_reset_postdata();
45
- }
46
-
47
- unset($GLOBALS['product']);
48
- }
49
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/Traits/Admin.php CHANGED
@@ -199,15 +199,22 @@ trait Admin
199
  * classes for wrapper,
200
  * Message message for showing.
201
  */
202
- $notice->classes( 'upsale', 'notice is-dismissible' );
203
- $notice->message( 'upsale', '<p>'. __( '<a href="https://essential-addons.com/elementor/reading-progress/" target="_blank">Reading Progress Bar</a> is Now Available for Elementor. Increase 20-40% Sales & Interaction in Your Site With Our New Plugin <a href="https://notificationx.com" target="_blank">NotificationX!</a>', $notice->text_domain ) .'</p>' );
204
  $notice->thumbnail( 'upsale', plugins_url( 'assets/admin/images/nx-icon.svg', EAEL_PLUGIN_BASENAME ) );
205
 
 
 
 
 
 
 
 
206
  $notice->upsale_args = array(
207
  'slug' => 'notificationx',
208
  'page_slug' => 'nx-builder',
209
  'file' => 'notificationx.php',
210
- 'btn_text' => __( 'Install NotificationX', 'essential-addons-elementor' ),
211
  'condition' => [
212
  'by' => 'class',
213
  'class' => 'NotificationX'
@@ -221,7 +228,43 @@ trait Admin
221
  'review' => $notice->makeTime($notice->timestamp, '3 Day'), // after 3 days
222
  ],
223
  );
 
 
 
224
 
225
  $notice->init();
226
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
227
  }
199
  * classes for wrapper,
200
  * Message message for showing.
201
  */
202
+ $notice->classes( 'upsale', 'notice is-dismissible ' );
203
+ $notice->message( 'upsale', '<p>'. __( '5000+ People already using <a href="hhttps://wpdeveloper.net/ea/notificationX" target="_blank">NotificationX</a> to increase their Sales & Engagement! Join Free or Get <a href="https://wpdeveloper.net/ea/notificationX" target="_blank">Exclusive Lifetime Pro</a> for only $39! Limied Time!', $notice->text_domain ) .'</p>' );
204
  $notice->thumbnail( 'upsale', plugins_url( 'assets/admin/images/nx-icon.svg', EAEL_PLUGIN_BASENAME ) );
205
 
206
+ // Update Notice For PRO Version
207
+ if( $this->pro_enabled && \version_compare( EAEL_PRO_PLUGIN_VERSION, '3.3.0', '<' ) ) {
208
+ $notice->classes( 'update', 'notice is-dismissible ' );
209
+ $notice->message( 'update', '<p>'. __( 'You are using an incompatible version of Essential Addons PRO. Please update to v3.3.0+. <a href="https://essential-addons.com/elementor/docs/manually-update-essential-addons-pro/" target="_blank">Follow manual update guide.</a>', $notice->text_domain ) .'</p>' );
210
+ $notice->thumbnail( 'update', plugins_url( 'assets/admin/images/icon-ea-logo.svg', EAEL_PLUGIN_BASENAME ) );
211
+ }
212
+
213
  $notice->upsale_args = array(
214
  'slug' => 'notificationx',
215
  'page_slug' => 'nx-builder',
216
  'file' => 'notificationx.php',
217
+ 'btn_text' => __( 'Install Free', 'essential-addons-elementor' ),
218
  'condition' => [
219
  'by' => 'class',
220
  'class' => 'NotificationX'
228
  'review' => $notice->makeTime($notice->timestamp, '3 Day'), // after 3 days
229
  ],
230
  );
231
+ if( $this->pro_enabled && \version_compare( EAEL_PRO_PLUGIN_VERSION, '3.3.0', '<' ) ) {
232
+ $notice->options_args['notice_will_show']['update'] = $notice->timestamp;
233
+ }
234
 
235
  $notice->init();
236
  }
237
+
238
+ public function admin_bar($wp_admin_bar) {
239
+ $wp_admin_bar->add_node([
240
+ 'id' => 'ea-wp-admin-bar',
241
+ 'meta' => [
242
+ 'class' => 'ea-wp-admin-bar'
243
+ ],
244
+ 'title' => 'EA Tools'
245
+ ]);
246
+
247
+ $wp_admin_bar->add_node([
248
+ 'parent' => 'ea-wp-admin-bar',
249
+ 'id' => 'ea-all-cache-clear',
250
+ 'href' => '#',
251
+ 'meta' => [
252
+ 'class' => 'ea-all-cache-clear'
253
+ ],
254
+ 'title' => 'Clear All Cache'
255
+ ]);
256
+
257
+ $wp_admin_bar->add_node([
258
+ 'parent' => 'ea-wp-admin-bar',
259
+ 'id' => 'ea-clear-cache-'.get_queried_object_id(),
260
+ 'href' => '#',
261
+ 'meta' => [
262
+ 'class' => 'ea-clear-cache',
263
+ 'html' => '<div class="ea-clear-cache-id" data-pageid="'.get_queried_object_id().'">'
264
+ ],
265
+ 'title' => 'Clear Page Cache'
266
+ ]);
267
+
268
+
269
+ }
270
  }
includes/Traits/Elements.php CHANGED
@@ -6,7 +6,6 @@ if (!defined('ABSPATH')) {
6
  exit();
7
  } // Exit if accessed directly
8
 
9
- use Essential_Addons_Elementor\Classes\Group_Control_EA_Posts;
10
  use \Elementor\Core\Settings\Manager as Settings_Manager;
11
 
12
  trait Elements
@@ -26,16 +25,6 @@ trait Elements
26
  ], 1);
27
  }
28
 
29
- /**
30
- * Add new elementor group control
31
- *
32
- * @since v1.0.0
33
- */
34
- public function register_controls_group($controls_manager)
35
- {
36
- $controls_manager->add_group_control('eaeposts', new Group_Control_EA_Posts);
37
- }
38
-
39
  /**
40
  * Register widgets
41
  *
@@ -62,6 +51,12 @@ trait Elements
62
  }
63
  }
64
 
 
 
 
 
 
 
65
  $widgets_manager->register_widget_type(new $this->registered_elements[$active_element]['class']);
66
  }
67
  }
@@ -117,7 +112,9 @@ trait Elements
117
  </div>';
118
 
119
  if ($page_settings_model->get_settings('eael_ext_reading_progress') != 'yes') {
120
- if ($global_settings['reading_progress']['display_condition'] == 'pages' && !is_page()) {
 
 
121
  return;
122
  } else if ($global_settings['reading_progress']['display_condition'] == 'posts' && !is_single()) {
123
  return;
6
  exit();
7
  } // Exit if accessed directly
8
 
 
9
  use \Elementor\Core\Settings\Manager as Settings_Manager;
10
 
11
  trait Elements
25
  ], 1);
26
  }
27
 
 
 
 
 
 
 
 
 
 
 
28
  /**
29
  * Register widgets
30
  *
51
  }
52
  }
53
 
54
+ if($this->pro_enabled && \version_compare(EAEL_PRO_PLUGIN_VERSION, '3.3.0', '<')) {
55
+ if(in_array($active_element, ['content-timeline', 'dynamic-filter-gallery', 'post-block', 'post-carousel', 'post-list'])) {
56
+ continue;
57
+ }
58
+ }
59
+
60
  $widgets_manager->register_widget_type(new $this->registered_elements[$active_element]['class']);
61
  }
62
  }
112
  </div>';
113
 
114
  if ($page_settings_model->get_settings('eael_ext_reading_progress') != 'yes') {
115
+ if(get_post_status($global_settings['reading_progress']['post_id']) != 'publish') {
116
+ return;
117
+ } else if ($global_settings['reading_progress']['display_condition'] == 'pages' && !is_page()) {
118
  return;
119
  } else if ($global_settings['reading_progress']['display_condition'] == 'posts' && !is_single()) {
120
  return;
includes/Traits/Enqueue.php CHANGED
@@ -42,13 +42,29 @@ trait Enqueue
42
  ELEMENTOR_ASSETS_URL . 'lib/font-awesome/css/v4-shims.min.css',
43
  false,
44
  EAEL_PLUGIN_VERSION
45
- );
 
 
 
 
 
 
 
 
46
 
47
  wp_enqueue_script(
48
  'font-awesome-4-shim',
49
  ELEMENTOR_ASSETS_URL . 'lib/font-awesome/js/v4-shims.min.js',
50
  false,
51
  EAEL_PLUGIN_VERSION
 
 
 
 
 
 
 
 
52
  );
53
 
54
  // My Assets
42
  ELEMENTOR_ASSETS_URL . 'lib/font-awesome/css/v4-shims.min.css',
43
  false,
44
  EAEL_PLUGIN_VERSION
45
+ );
46
+
47
+ //Admin bar css
48
+ wp_enqueue_style(
49
+ 'essential_addons_elementor-admin-bar-css',
50
+ EAEL_PLUGIN_URL . '/assets/admin/css/admin-bar.css',
51
+ false,
52
+ EAEL_PLUGIN_VERSION
53
+ );
54
 
55
  wp_enqueue_script(
56
  'font-awesome-4-shim',
57
  ELEMENTOR_ASSETS_URL . 'lib/font-awesome/js/v4-shims.min.js',
58
  false,
59
  EAEL_PLUGIN_VERSION
60
+ );
61
+
62
+ // Admin bar js
63
+ wp_enqueue_script(
64
+ 'ea-admin-bar',
65
+ EAEL_PLUGIN_URL . 'assets/admin/js/admin-bar.js',
66
+ ['jquery'],
67
+ EAEL_PLUGIN_VERSION
68
  );
69
 
70
  // My Assets
includes/Traits/Helper.php CHANGED
@@ -6,78 +6,33 @@ if (!defined('ABSPATH')) {
6
  exit;
7
  } // Exit if accessed directly
8
 
9
- use \Elementor\Controls_Manager as Controls_Manager;
10
- use \Elementor\Group_Control_Border as Group_Control_Border;
11
- use \Elementor\Group_Control_Box_Shadow as Group_Control_Box_Shadow;
12
- use \Elementor\Group_Control_Image_Size as Group_Control_Image_Size;
13
- use \Elementor\Group_Control_Typography as Group_Control_Typography;
14
- use \Elementor\Utils as Utils;
15
 
16
  trait Helper
17
  {
18
- /**
19
- * For All Settings Key Need To Display
20
- *
21
- */
22
- public $post_args = [
23
- // content ticker
24
- 'eael_ticker_type',
25
- 'eael_ticker_custom_contents',
26
-
27
- // post grid
28
- 'eael_post_grid_columns',
29
-
30
- // common
31
- 'meta_position',
32
- 'eael_show_meta',
33
- 'image_size',
34
- 'eael_show_image',
35
- 'eael_show_title',
36
- 'eael_show_excerpt',
37
- 'eael_excerpt_length',
38
- 'eael_show_read_more',
39
- 'eael_read_more_text',
40
- 'show_load_more',
41
- 'show_load_more_text',
42
- 'eael_show_read_more_button',
43
- 'read_more_button_text',
44
-
45
-
46
- // query_args
47
- 'post_type',
48
- 'post__in',
49
- 'posts_per_page',
50
- 'post_style',
51
- 'tax_query',
52
- 'post__not_in',
53
- 'eael_post_authors',
54
- 'eaeposts_authors',
55
- 'offset',
56
- 'orderby',
57
- 'order',
58
- ];
59
-
60
  /**
61
  * Get all types of post.
62
  * @return array
63
  */
64
  public function eael_get_all_types_post()
65
  {
66
- $posts_args = array(
67
  'post_type' => 'any',
68
  'post_style' => 'all_types',
69
  'post_status' => 'publish',
70
  'posts_per_page' => '-1',
71
- );
72
- $posts = $this->eael_load_more_ajax($posts_args);
73
 
74
- $post_list = [];
75
-
76
- foreach ($posts as $post) {
77
- $post_list[$post->ID] = $post->post_title;
78
  }
79
 
80
- return $post_list;
81
  }
82
 
83
  /**
@@ -86,6 +41,10 @@ trait Helper
86
  */
87
  protected function eael_query_controls()
88
  {
 
 
 
 
89
  if ('eael-content-ticker' === $this->get_name()) {
90
  $this->start_controls_section(
91
  'eael_section_content_ticker_filters',
@@ -96,9 +55,7 @@ trait Helper
96
  ],
97
  ]
98
  );
99
- }
100
-
101
- if ('eael-content-timeline' === $this->get_name()) {
102
  $this->start_controls_section(
103
  'eael_section_timeline__filters',
104
  [
@@ -108,9 +65,7 @@ trait Helper
108
  ],
109
  ]
110
  );
111
- }
112
-
113
- if ('eael-content-timeline' !== $this->get_name() && 'eael-content-ticker' !== $this->get_name()) {
114
  $this->start_controls_section(
115
  'eael_section_post__filters',
116
  [
@@ -119,13 +74,65 @@ trait Helper
119
  );
120
  }
121
 
122
- $this->add_group_control(
123
- 'eaeposts',
 
 
 
 
 
 
 
 
 
 
124
  [
125
- 'name' => 'eaeposts',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  ]
127
  );
128
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  $this->add_control(
130
  'post__not_in',
131
  [
@@ -242,6 +249,38 @@ trait Helper
242
  */
243
  if ('eael-content-timeline' === $this->get_name()) {
244
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
245
  $this->add_control(
246
  'eael_show_read_more',
247
  [
@@ -412,11 +451,15 @@ trait Helper
412
  );
413
 
414
  $this->add_control(
415
- 'eael_content_timeline_circle_icon',
416
  [
417
  'label' => esc_html__('Icon', 'essential-addons-elementor'),
418
- 'type' => Controls_Manager::ICON,
419
- 'default' => 'fa fa-pencil',
 
 
 
 
420
  'condition' => [
421
  'eael_content_timeline_choose' => 'dynamic',
422
  'eael_show_image_or_icon' => 'icon',
@@ -505,7 +548,7 @@ trait Helper
505
  [
506
  'label' => __('Button Text', 'essential-addons-elementor'),
507
  'type' => Controls_Manager::TEXT,
508
- 'default' => __( 'Read More', 'essential-addons-elementor' ),
509
  'condition' => [
510
  'eael_show_read_more_button' => '1',
511
  ],
@@ -835,73 +878,70 @@ trait Helper
835
  $this->end_controls_section();
836
  }
837
 
838
- public function eael_get_query_args($control_id, $settings)
839
  {
840
- $defaults = [
841
- $control_id . '_post_type' => 'post',
842
- $control_id . '_posts_ids' => [],
 
 
 
 
 
 
 
 
843
  'orderby' => 'date',
844
  'order' => 'desc',
845
  'posts_per_page' => 3,
846
  'offset' => 0,
847
- ];
848
-
849
- $settings = wp_parse_args($settings, $defaults);
850
 
851
- $post_type = $settings[$control_id . '_post_type'];
852
-
853
- $query_args = [
854
  'orderby' => $settings['orderby'],
855
  'order' => $settings['order'],
856
  'ignore_sticky_posts' => 1,
857
- 'post_status' => 'publish', // Hide drafts/private posts for admins
 
 
858
  ];
859
 
860
- if ('by_id' === $post_type) {
861
- $query_args['post_type'] = 'any';
862
- $query_args['post__in'] = $settings[$control_id . '_posts_ids'];
863
-
864
- if (empty($query_args['post__in'])) {
865
- // If no selection - return an empty query
866
- $query_args['post__in'] = [0];
867
- }
868
  } else {
869
- $query_args['post_type'] = $post_type;
870
- $query_args['posts_per_page'] = $settings['posts_per_page'];
871
- $query_args['tax_query'] = [];
872
 
873
- $query_args['offset'] = $settings['offset'];
874
-
875
- $taxonomies = get_object_taxonomies($post_type, 'objects');
876
 
877
  foreach ($taxonomies as $object) {
878
- $setting_key = $control_id . '_' . $object->name . '_ids';
879
 
880
  if (!empty($settings[$setting_key])) {
881
- $query_args['tax_query'][] = [
882
  'taxonomy' => $object->name,
883
  'field' => 'term_id',
884
  'terms' => $settings[$setting_key],
885
  ];
886
  }
887
  }
888
- }
889
 
890
- if (!empty($settings[$control_id . '_authors'])) {
891
- $query_args['author__in'] = $settings[$control_id . '_authors'];
 
892
  }
893
 
894
- $post__not_in = [];
895
- if (!empty($settings['post__not_in'])) {
896
- $post__not_in = array_merge($post__not_in, $settings['post__not_in']);
897
- $query_args['post__not_in'] = $post__not_in;
898
  }
899
 
900
- if (isset($query_args['tax_query']) && count($query_args['tax_query']) > 1) {
901
- $query_args['tax_query']['relation'] = 'OR';
902
  }
903
 
904
- return $query_args;
905
  }
906
 
907
  /**
@@ -910,65 +950,10 @@ trait Helper
910
  */
911
  public function eael_get_post_types()
912
  {
913
- $eael_cpts = get_post_types(array('public' => true, 'show_in_nav_menus' => true), 'object');
914
- $eael_exclude_cpts = array('elementor_library', 'attachment');
915
-
916
- foreach ($eael_exclude_cpts as $exclude_cpt) {
917
- unset($eael_cpts[$exclude_cpt]);
918
- }
919
- $post_types = array_merge($eael_cpts);
920
- foreach ($post_types as $type) {
921
- $types[$type->name] = $type->label;
922
- }
923
-
924
- return $types;
925
- }
926
-
927
- /**
928
- * Post Settings Parameter
929
- * @param array $settings
930
- * @return array
931
- */
932
- public function eael_get_post_settings($settings)
933
- {
934
- foreach ($settings as $key => $value) {
935
- if (in_array($key, $this->post_args)) {
936
- $post_args[$key] = $value;
937
- }
938
- }
939
 
940
- $post_args['post_style'] = isset($post_args['post_style']) ? $post_args['post_style'] : 'grid';
941
- $post_args['is_pro'] = isset($settings['is_pro']) ? $settings['is_pro'] : false;
942
- $post_args['post_status'] = 'publish';
943
-
944
- return $post_args;
945
- }
946
-
947
- /**
948
- * Getting Excerpts By Post Id
949
- * @param int $post_id
950
- * @param int $excerpt_length
951
- * @return string
952
- */
953
- public function eael_get_excerpt_by_id($post_id, $excerpt_length)
954
- {
955
- $the_post = get_post($post_id); //Gets post ID
956
-
957
- $the_excerpt = null;
958
- if ($the_post) {
959
- $the_excerpt = $the_post->post_excerpt ? $the_post->post_excerpt : $the_post->post_content;
960
- }
961
-
962
- $the_excerpt = strip_tags(strip_shortcodes($the_excerpt)); //Strips tags and images
963
- $words = explode(' ', $the_excerpt, $excerpt_length + 1);
964
-
965
- if (count($words) > $excerpt_length):
966
- array_pop($words);
967
- array_push($words, '…');
968
- $the_excerpt = implode(' ', $words);
969
- endif;
970
-
971
- return $the_excerpt;
972
  }
973
 
974
  /**
@@ -1291,16 +1276,20 @@ trait Helper
1291
  */
1292
  public function eael_get_authors()
1293
  {
1294
- $options = array();
1295
- $users = get_users();
1296
-
1297
- if ($users) {
1298
- foreach ($users as $user) {
1299
- $options[$user->ID] = $user->display_name;
1300
- }
 
 
 
 
1301
  }
1302
 
1303
- return $options;
1304
  }
1305
 
1306
  /**
@@ -1379,77 +1368,22 @@ trait Helper
1379
  */
1380
  public function eael_load_more_ajax()
1381
  {
1382
- if (isset($_POST['action']) && $_POST['action'] == 'load_more') {
1383
- $post_args = $this->eael_get_post_settings($_POST);
1384
- $post_args = array_merge($this->eael_get_query_args('eaeposts', $_POST), $post_args, $_POST);
1385
 
1386
- if (isset($_POST['tax_query']) && count($_POST['tax_query']) > 1) {
1387
- $post_args['tax_query']['relation'] = 'OR';
1388
- }
1389
- } else {
1390
- $args = func_get_args();
1391
- $post_args = $args[0];
1392
- }
1393
-
1394
- $posts = new \WP_Query($post_args);
1395
-
1396
- /**
1397
- * For returning all types of post as an array
1398
- * @return array;
1399
- */
1400
- if (isset($post_args['post_style']) && $post_args['post_style'] == 'all_types') {
1401
- return $posts->posts;
1402
- }
1403
 
1404
- $return = array();
1405
- $return['count'] = $posts->found_posts;
1406
-
1407
- if (isset($post_args['post_style'])) {
1408
- if (
1409
- $post_args['post_style'] == 'list'
1410
- || $post_args['post_style'] == 'dynamic_gallery'
1411
- || $post_args['post_style'] == 'content_timeline'
1412
- || $post_args['post_style'] == 'list'
1413
- || $post_args['post_style'] == 'block'
1414
- || $post_args['post_style'] == 'post_carousel'
1415
- ) {
1416
- $post_args['is_pro'] = true;
1417
- }
1418
- }
1419
-
1420
- if (isset($post_args['post_style']) && $post_args['post_style'] == 'list') {
1421
- $iterator = $feature_counter = 0;
1422
-
1423
- foreach ($posts->posts as $post) {
1424
- if (isset($post_args['featured_posts']) && $post->ID != $post_args['featured_posts']) {
1425
- $normal_posts[] = $post;
1426
- }
1427
- }
1428
- $posts->posts = array_merge(empty($post_args['featured_posts']) ? [] : [$post_args['featured_posts']], $normal_posts);
1429
  }
1430
 
1431
- ob_start();
1432
- while ($posts->have_posts()): $posts->the_post();
1433
- $isPrinted = false;
1434
- include ($post_args['is_pro'] ? EAEL_PRO_PLUGIN_PATH : EAEL_PLUGIN_PATH . DIRECTORY_SEPARATOR) . 'includes/templates/content/' . @$post_args['post_style'] . '.php';
1435
- endwhile;
1436
 
1437
- $return['content'] = ob_get_clean();
1438
-
1439
- wp_reset_postdata();
1440
- wp_reset_query();
1441
-
1442
- if (isset($_POST['action']) && $_POST['action'] == 'load_more') {
1443
- if ($_POST['post_style'] == 'list') {
1444
- echo json_encode($return);
1445
- die();
1446
- }
1447
-
1448
- echo $return['content'];
1449
- die();
1450
- } else {
1451
- return $return;
1452
- }
1453
  }
1454
 
1455
  /**
@@ -1463,7 +1397,7 @@ trait Helper
1463
  $items = get_transient($id . '_' . $settings['eael_twitter_feed_ac_name'] . '_tf_cache');
1464
  $html = '';
1465
 
1466
- if(empty($settings['eael_twitter_feed_consumer_key']) || empty($settings['eael_twitter_feed_consumer_secret'])) {
1467
  return;
1468
  }
1469
 
@@ -1516,14 +1450,14 @@ trait Helper
1516
  }
1517
  }
1518
 
1519
- if(empty($items)) {
1520
  return;
1521
  }
1522
-
1523
  if ($settings['eael_twitter_feed_hashtag_name']) {
1524
  foreach ($items as $key => $item) {
1525
  $match = false;
1526
-
1527
  if ($item['entities']['hashtags']) {
1528
  foreach ($item['entities']['hashtags'] as $tag) {
1529
  if (strcasecmp($tag['text'], $settings['eael_twitter_feed_hashtag_name']) == 0) {
@@ -1532,7 +1466,7 @@ trait Helper
1532
  }
1533
  }
1534
 
1535
- if($match == false) {
1536
  unset($items[$key]);
1537
  }
1538
  }
@@ -1544,29 +1478,29 @@ trait Helper
1544
  $html .= '<div class="eael-twitter-feed-item ' . $class . '">
1545
  <div class="eael-twitter-feed-item-inner">
1546
  <div class="eael-twitter-feed-item-header clearfix">';
1547
- if ($settings['eael_twitter_feed_show_avatar'] == 'true') {
1548
- $html .= '<a class="eael-twitter-feed-item-avatar avatar-' . $settings['eael_twitter_feed_avatar_style'] . '" href="//twitter.com/' . $settings['eael_twitter_feed_ac_name'] . '" target="_blank">
1549
  <img src="' . $item['user']['profile_image_url_https'] . '">
1550
  </a>';
1551
- }
1552
- $html .= '<a class="eael-twitter-feed-item-meta" href="//twitter.com/' . $settings['eael_twitter_feed_ac_name'] . '" target="_blank">';
1553
- if ($settings['eael_twitter_feed_show_icon'] == 'true') {
1554
- $html .= '<i class="fab fa-twitter eael-twitter-feed-item-icon"></i>';
1555
- }
1556
-
1557
- $html .= '<span class="eael-twitter-feed-item-author">' . $item['user']['name'] . '</span>
1558
  </a>';
1559
- if ($settings['eael_twitter_feed_show_date'] == 'true') {
1560
- $html .= '<span class="eael-twitter-feed-item-date">' . sprintf(__('%s ago', 'essential-addons-elementor'), human_time_diff(strtotime($item['created_at']))) . '</span>';
1561
- }
1562
- $html .= '</div>
1563
  <div class="eael-twitter-feed-item-content">
1564
  <p>' . substr(str_replace(@$item['entities']['urls'][0]['url'], '', $item['full_text']), 0, $settings['eael_twitter_feed_content_length']) . '...</p>';
1565
-
1566
- if ($settings['eael_twitter_feed_show_read_more'] == 'true') {
1567
- $html .= '<a href="//twitter.com/' . @$item['user']['screen_name'] . '\/status/' . $item['id'] . '" target="_blank" class="read-more-link">Read More <i class="fas fa-angle-double-right"></i></a>';
1568
- }
1569
- $html .= '</div>
1570
  ' . (isset($item['extended_entities']['media'][0]) && $settings['eael_twitter_feed_media'] == 'true' ? ($item['extended_entities']['media'][0]['type'] == 'photo' ? '<img src="' . $item['extended_entities']['media'][0]['media_url_https'] . '">' : '') : '') . '
1571
  </div>
1572
  </div>';
6
  exit;
7
  } // Exit if accessed directly
8
 
9
+ use \Elementor\Controls_Manager;
10
+ use \Elementor\Group_Control_Border;
11
+ use \Elementor\Group_Control_Box_Shadow;
12
+ use \Elementor\Group_Control_Image_Size;
13
+ use \Elementor\Group_Control_Typography;
14
+ use \Elementor\Utils;
15
 
16
  trait Helper
17
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  /**
19
  * Get all types of post.
20
  * @return array
21
  */
22
  public function eael_get_all_types_post()
23
  {
24
+ $posts = get_posts([
25
  'post_type' => 'any',
26
  'post_style' => 'all_types',
27
  'post_status' => 'publish',
28
  'posts_per_page' => '-1',
29
+ ]);
 
30
 
31
+ if (!empty($posts)) {
32
+ return wp_list_pluck($posts, 'post_title', 'ID');
 
 
33
  }
34
 
35
+ return [];
36
  }
37
 
38
  /**
41
  */
42
  protected function eael_query_controls()
43
  {
44
+ $post_types = $this->eael_get_post_types();
45
+ $post_types['by_id'] = __('Manual Selection', 'essential-addons-elementor');
46
+ $taxonomies = get_taxonomies([], 'objects');
47
+
48
  if ('eael-content-ticker' === $this->get_name()) {
49
  $this->start_controls_section(
50
  'eael_section_content_ticker_filters',
55
  ],
56
  ]
57
  );
58
+ } else if ('eael-content-timeline' === $this->get_name()) {
 
 
59
  $this->start_controls_section(
60
  'eael_section_timeline__filters',
61
  [
65
  ],
66
  ]
67
  );
68
+ } else {
 
 
69
  $this->start_controls_section(
70
  'eael_section_post__filters',
71
  [
74
  );
75
  }
76
 
77
+ $this->add_control(
78
+ 'post_type',
79
+ [
80
+ 'label' => __('Source', 'essential-addons-elementor'),
81
+ 'type' => Controls_Manager::SELECT,
82
+ 'options' => $post_types,
83
+ 'default' => key($post_types),
84
+ ]
85
+ );
86
+
87
+ $this->add_control(
88
+ 'posts_ids',
89
  [
90
+ 'label' => __('Search & Select', 'essential-addons-elementor'),
91
+ 'type' => Controls_Manager::SELECT2,
92
+ 'options' => $this->eael_get_all_types_post(),
93
+ 'label_block' => true,
94
+ 'multiple' => true,
95
+ 'condition' => [
96
+ 'post_type' => 'by_id',
97
+ ],
98
+ ]
99
+ );
100
+
101
+ $this->add_control(
102
+ 'authors', [
103
+ 'label' => __('Author', 'essential-addons-elementor'),
104
+ 'label_block' => true,
105
+ 'type' => Controls_Manager::SELECT2,
106
+ 'multiple' => true,
107
+ 'default' => [],
108
+ 'options' => $this->eael_get_authors(),
109
+ 'condition' => [
110
+ 'post_type!' => 'by_id',
111
+ ],
112
  ]
113
  );
114
 
115
+ foreach ($taxonomies as $taxonomy => $object) {
116
+ if (!in_array($object->object_type[0], array_keys($post_types))) {
117
+ continue;
118
+ }
119
+
120
+ $this->add_control(
121
+ $taxonomy . '_ids',
122
+ [
123
+ 'label' => $object->label,
124
+ 'type' => Controls_Manager::SELECT2,
125
+ 'label_block' => true,
126
+ 'multiple' => true,
127
+ 'object_type' => $taxonomy,
128
+ 'options' => wp_list_pluck(get_terms($taxonomy), 'name', 'term_id'),
129
+ 'condition' => [
130
+ 'post_type' => $object->object_type,
131
+ ],
132
+ ]
133
+ );
134
+ }
135
+
136
  $this->add_control(
137
  'post__not_in',
138
  [
249
  */
250
  if ('eael-content-timeline' === $this->get_name()) {
251
 
252
+ $this->add_control(
253
+ 'content_timeline_layout',
254
+ [
255
+ 'label' => esc_html__('Layout', 'essential-addons-elementor'),
256
+ 'type' => Controls_Manager::SELECT,
257
+ 'default' => 'center',
258
+ 'options' => [
259
+ 'left' => esc_html__('Right', 'essential-addons-elementor'),
260
+ 'center' => esc_html__('Center', 'essential-addons-elementor'),
261
+ 'right' => esc_html__('Left', 'essential-addons-elementor'),
262
+ ],
263
+ 'default' => 'center'
264
+ ]
265
+ );
266
+
267
+ $this->add_control(
268
+ 'date_position',
269
+ [
270
+ 'label' => esc_html__('Date Position', 'essential-addons-elementor'),
271
+ 'type' => Controls_Manager::SELECT,
272
+ 'default' => 'inside',
273
+ 'options' => [
274
+ 'inside' => esc_html__('Inside', 'essential-addons-elementor'),
275
+ 'outside' => esc_html__('Outside', 'essential-addons-elementor')
276
+ ],
277
+ 'default' => 'inside',
278
+ 'condition' => [
279
+ 'content_timeline_layout!' => 'center'
280
+ ]
281
+ ]
282
+ );
283
+
284
  $this->add_control(
285
  'eael_show_read_more',
286
  [
451
  );
452
 
453
  $this->add_control(
454
+ 'eael_content_timeline_circle_icon_new',
455
  [
456
  'label' => esc_html__('Icon', 'essential-addons-elementor'),
457
+ 'fa4compatibility' => 'eael_content_timeline_circle_icon',
458
+ 'type' => Controls_Manager::ICONS,
459
+ 'default' => [
460
+ 'value' => 'fas fa-pencil-alt',
461
+ 'library' => 'fa-solid',
462
+ ],
463
  'condition' => [
464
  'eael_content_timeline_choose' => 'dynamic',
465
  'eael_show_image_or_icon' => 'icon',
548
  [
549
  'label' => __('Button Text', 'essential-addons-elementor'),
550
  'type' => Controls_Manager::TEXT,
551
+ 'default' => __('Read More', 'essential-addons-elementor'),
552
  'condition' => [
553
  'eael_show_read_more_button' => '1',
554
  ],
878
  $this->end_controls_section();
879
  }
880
 
881
+ public function eael_get_query_args($settings = [])
882
  {
883
+ // fix old settings
884
+ foreach($settings as $key => $value) {
885
+ if(strpos($key, 'eaeposts_') !== false) {
886
+ $settings[str_replace('eaeposts_', '', $key)] = $value;
887
+ unset($settings[$key]);
888
+ }
889
+ };
890
+
891
+ $settings = wp_parse_args($settings, [
892
+ 'post_type' => 'post',
893
+ 'posts_ids' => [],
894
  'orderby' => 'date',
895
  'order' => 'desc',
896
  'posts_per_page' => 3,
897
  'offset' => 0,
898
+ 'post__not_in' => [],
899
+ ]);
 
900
 
901
+ $args = [
 
 
902
  'orderby' => $settings['orderby'],
903
  'order' => $settings['order'],
904
  'ignore_sticky_posts' => 1,
905
+ 'post_status' => 'publish',
906
+ 'posts_per_page' => $settings['posts_per_page'],
907
+ 'offset' => $settings['offset']
908
  ];
909
 
910
+ if ('by_id' === $settings['post_type']) {
911
+ $args['post_type'] = 'any';
912
+ $args['post__in'] = empty($settings['posts_ids']) ? [0] : $settings['posts_ids'];
 
 
 
 
 
913
  } else {
914
+ $args['post_type'] = $settings['post_type'];
915
+ $args['tax_query'] = [];
 
916
 
917
+ $taxonomies = get_object_taxonomies($settings['post_type'], 'objects');
 
 
918
 
919
  foreach ($taxonomies as $object) {
920
+ $setting_key = $object->name . '_ids';
921
 
922
  if (!empty($settings[$setting_key])) {
923
+ $args['tax_query'][] = [
924
  'taxonomy' => $object->name,
925
  'field' => 'term_id',
926
  'terms' => $settings[$setting_key],
927
  ];
928
  }
929
  }
 
930
 
931
+ if (!empty($args['tax_query'])) {
932
+ $args['tax_query']['relation'] = 'OR';
933
+ }
934
  }
935
 
936
+ if (!empty($settings['authors'])) {
937
+ $args['author__in'] = $settings['authors'];
 
 
938
  }
939
 
940
+ if (!empty($settings['post__not_in'])) {
941
+ $args['post__not_in'] = $settings['post__not_in'];
942
  }
943
 
944
+ return $args;
945
  }
946
 
947
  /**
950
  */
951
  public function eael_get_post_types()
952
  {
953
+ $post_types = get_post_types(['public' => true, 'show_in_nav_menus' => true], 'objects');
954
+ $post_types = wp_list_pluck($post_types, 'label', 'name');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
955
 
956
+ return array_diff_key($post_types, ['elementor_library', 'attachment']);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
957
  }
958
 
959
  /**
1276
  */
1277
  public function eael_get_authors()
1278
  {
1279
+ $users = get_users([
1280
+ 'who' => 'authors',
1281
+ 'has_published_posts' => true,
1282
+ 'fields' => [
1283
+ 'ID',
1284
+ 'display_name',
1285
+ ],
1286
+ ]);
1287
+
1288
+ if (!empty($users)) {
1289
+ return wp_list_pluck($users, 'display_name', 'ID');
1290
  }
1291
 
1292
+ return [];
1293
  }
1294
 
1295
  /**
1368
  */
1369
  public function eael_load_more_ajax()
1370
  {
1371
+ parse_str($_REQUEST['args'], $args);
1372
+ parse_str($_REQUEST['settings'], $settings);
 
1373
 
1374
+ $class = '\\' . str_replace('\\\\', '\\', $_REQUEST['class']);
1375
+ $args['offset'] = (int) $args['offset'] + (((int) $_REQUEST['page'] - 1) * (int) $args['posts_per_page']);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1376
 
1377
+ if(isset($_REQUEST['taxonomy']) && $_REQUEST['taxonomy']['taxonomy'] != 'all') {
1378
+ $args['tax_query'] = [
1379
+ $_REQUEST['taxonomy']
1380
+ ];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1381
  }
1382
 
1383
+ $html = $class::__render_template($args, $settings);
 
 
 
 
1384
 
1385
+ echo $html;
1386
+ wp_die();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1387
  }
1388
 
1389
  /**
1397
  $items = get_transient($id . '_' . $settings['eael_twitter_feed_ac_name'] . '_tf_cache');
1398
  $html = '';
1399
 
1400
+ if (empty($settings['eael_twitter_feed_consumer_key']) || empty($settings['eael_twitter_feed_consumer_secret'])) {
1401
  return;
1402
  }
1403
 
1450
  }
1451
  }
1452
 
1453
+ if (empty($items)) {
1454
  return;
1455
  }
1456
+
1457
  if ($settings['eael_twitter_feed_hashtag_name']) {
1458
  foreach ($items as $key => $item) {
1459
  $match = false;
1460
+
1461
  if ($item['entities']['hashtags']) {
1462
  foreach ($item['entities']['hashtags'] as $tag) {
1463
  if (strcasecmp($tag['text'], $settings['eael_twitter_feed_hashtag_name']) == 0) {
1466
  }
1467
  }
1468
 
1469
+ if ($match == false) {
1470
  unset($items[$key]);
1471
  }
1472
  }
1478
  $html .= '<div class="eael-twitter-feed-item ' . $class . '">
1479
  <div class="eael-twitter-feed-item-inner">
1480
  <div class="eael-twitter-feed-item-header clearfix">';
1481
+ if ($settings['eael_twitter_feed_show_avatar'] == 'true') {
1482
+ $html .= '<a class="eael-twitter-feed-item-avatar avatar-' . $settings['eael_twitter_feed_avatar_style'] . '" href="//twitter.com/' . $settings['eael_twitter_feed_ac_name'] . '" target="_blank">
1483
  <img src="' . $item['user']['profile_image_url_https'] . '">
1484
  </a>';
1485
+ }
1486
+ $html .= '<a class="eael-twitter-feed-item-meta" href="//twitter.com/' . $settings['eael_twitter_feed_ac_name'] . '" target="_blank">';
1487
+ if ($settings['eael_twitter_feed_show_icon'] == 'true') {
1488
+ $html .= '<i class="fab fa-twitter eael-twitter-feed-item-icon"></i>';
1489
+ }
1490
+
1491
+ $html .= '<span class="eael-twitter-feed-item-author">' . $item['user']['name'] . '</span>
1492
  </a>';
1493
+ if ($settings['eael_twitter_feed_show_date'] == 'true') {
1494
+ $html .= '<span class="eael-twitter-feed-item-date">' . sprintf(__('%s ago', 'essential-addons-elementor'), human_time_diff(strtotime($item['created_at']))) . '</span>';
1495
+ }
1496
+ $html .= '</div>
1497
  <div class="eael-twitter-feed-item-content">
1498
  <p>' . substr(str_replace(@$item['entities']['urls'][0]['url'], '', $item['full_text']), 0, $settings['eael_twitter_feed_content_length']) . '...</p>';
1499
+
1500
+ if ($settings['eael_twitter_feed_show_read_more'] == 'true') {
1501
+ $html .= '<a href="//twitter.com/' . @$item['user']['screen_name'] . '\/status/' . $item['id'] . '" target="_blank" class="read-more-link">Read More <i class="fas fa-angle-double-right"></i></a>';
1502
+ }
1503
+ $html .= '</div>
1504
  ' . (isset($item['extended_entities']['media'][0]) && $settings['eael_twitter_feed_media'] == 'true' ? ($item['extended_entities']['media'][0]['type'] == 'photo' ? '<img src="' . $item['extended_entities']['media'][0]['media_url_https'] . '">' : '') : '') . '
1505
  </div>
1506
  </div>';
includes/Traits/Library.php CHANGED
@@ -78,8 +78,12 @@ trait Library
78
  {
79
  check_ajax_referer('essential-addons-elementor', 'security');
80
 
81
- // clear cache files
82
- $this->empty_dir(EAEL_ASSET_PATH);
 
 
 
 
83
 
84
  wp_send_json(true);
85
  }
78
  {
79
  check_ajax_referer('essential-addons-elementor', 'security');
80
 
81
+ if(isset($_POST['pageID']) && 'post' === $_POST['actionType'] ) {
82
+ $this->remove_files($_POST['actionType'], $_POST['pageID']);
83
+ }else {
84
+ // clear cache files
85
+ $this->empty_dir(EAEL_ASSET_PATH);
86
+ }
87
 
88
  wp_send_json(true);
89
  }
includes/templates/content/grid.php DELETED
@@ -1,71 +0,0 @@
1
- <?php
2
- $post_hover_style = !empty($post_args['eael_post_grid_hover_style']) ? ' grid-hover-style-' . $post_args['eael_post_grid_hover_style'] : 'none';
3
- $post_carousel_image = wp_get_attachment_image_url(get_post_thumbnail_id(), $post_args['image_size']);
4
-
5
- ?>
6
- <article class="eael-grid-post eael-post-grid-column">
7
- <div class="eael-grid-post-holder">
8
- <div class="eael-grid-post-holder-inner">
9
- <?php if (has_post_thumbnail() && $post_args['eael_show_image'] == 1) { ?>
10
- <div class="eael-entry-media<?php echo esc_attr($post_hover_style); ?>">
11
- <?php if ('none' !== $post_args['eael_post_grid_hover_animation']){ ?>
12
- <div class="eael-entry-overlay<?php echo ' ' . esc_attr($post_args['eael_post_grid_hover_animation']); ?>">
13
- <?php if (!empty($post_args['eael_post_grid_bg_hover_icon_new'])) { ?>
14
- <i class="<?php echo esc_attr($post_args['eael_post_grid_bg_hover_icon_new']['value']); ?>" aria-hidden="true"></i>
15
- <?php } else { ?>
16
- <i class="fas long-arrow-alt-right" aria-hidden="true"></i>
17
- <?php }?>
18
- <a href="<?php echo get_permalink(); ?>"></a>
19
- </div>
20
- <?php }?>
21
-
22
- <?php if (!empty($post_carousel_image)){ ?>
23
- <div class="eael-entry-thumbnail">
24
- <img src="<?php echo esc_url($post_carousel_image); ?>" alt="<?php echo esc_attr(get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true)); ?>">
25
- </div>
26
- <?php }?>
27
- </div>
28
- <?php }?>
29
-
30
- <?php if ($post_args['eael_show_title'] || $post_args['eael_show_meta'] || $post_args['eael_show_excerpt']) {?>
31
- <div class="eael-entry-wrapper">
32
- <header class="eael-entry-header">
33
- <?php if ($post_args['eael_show_title']) {?>
34
- <h2 class="eael-entry-title"><a class="eael-grid-post-link" href="<?php echo get_permalink(); ?>" title="<?php the_title();?>"><?php the_title();?></a></h2>
35
- <?php }?>
36
-
37
- <?php if ($post_args['eael_show_meta'] && $post_args['meta_position'] == 'meta-entry-header') {?>
38
- <div class="eael-entry-meta">
39
- <span class="eael-posted-by"><?php the_author_posts_link();?></span>
40
- <span class="eael-posted-on"><time datetime="<?php echo get_the_date(); ?>"><?php echo get_the_date(); ?></time></span>
41
- </div>
42
- <?php }?>
43
- </header>
44
-
45
- <?php if ($post_args['eael_show_excerpt']) {?>
46
- <div class="eael-entry-content">
47
- <div class="eael-grid-post-excerpt">
48
- <p><?php echo $this->eael_get_excerpt_by_id(get_the_ID(), $post_args['eael_excerpt_length']); ?></p>
49
- <?php if($post_args['eael_show_read_more_button']) : ?>
50
- <a href="<?php the_permalink(); ?>" class="eael-post-elements-readmore-btn"><?php echo esc_attr($post_args['read_more_button_text']); ?></a>
51
- <?php endif; ?>
52
- </div>
53
- </div>
54
- <?php }?>
55
- </div>
56
-
57
- <?php if ($post_args['eael_show_meta'] && $post_args['meta_position'] == 'meta-entry-footer') {?>
58
- <div class="eael-entry-footer">
59
- <div class="eael-author-avatar">
60
- <a href="<?php echo get_author_posts_url(get_the_author_meta('ID'), get_the_author_meta('user_nicename')); ?>"><?php echo get_avatar(get_the_author_meta('ID'), 96); ?> </a>
61
- </div>
62
- <div class="eael-entry-meta">
63
- <div class="eael-posted-by"><?php the_author_posts_link();?></div>
64
- <div class="eael-posted-on"><time datetime="<?php echo get_the_date(); ?>"><?php echo get_the_date(); ?></time></div>
65
- </div>
66
- </div>
67
- <?php }?>
68
- <?php }?>
69
- </div>
70
- </div>
71
- </article>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/templates/content/ticker.php DELETED
@@ -1,5 +0,0 @@
1
- <div class="swiper-slide">
2
- <div class="ticker-content">
3
- <a href="<?php the_permalink(); ?>" class="ticker-content-link"><?php the_title(); ?></a>
4
- </div>
5
- </div>
 
 
 
 
 
includes/templates/content/timeline.php DELETED
@@ -1,20 +0,0 @@
1
- <article class="eael-timeline-post eael-timeline-column">
2
- <div class="eael-timeline-bullet"></div>
3
- <div class="eael-timeline-post-inner">
4
- <a class="eael-timeline-post-link" href="<?php echo get_permalink(); ?>" title="<?php the_title();?>">
5
- <time datetime="<?php echo get_the_date(); ?>"><?php echo get_the_date(); ?></time>
6
- <div class="eael-timeline-post-image" <?php if ($post_args['eael_show_image'] == 1) {?> style="background-image: url('<?php echo wp_get_attachment_image_url(get_post_thumbnail_id(), $post_args['image_size']) ?>');" <?php }?>></div>
7
- <?php if ($post_args['eael_show_excerpt']) {?>
8
- <div class="eael-timeline-post-excerpt">
9
- <p><?php echo $this->eael_get_excerpt_by_id(get_the_ID(), $post_args['eael_excerpt_length']); ?></p>
10
- </div>
11
- <?php }?>
12
-
13
- <?php if ($post_args['eael_show_title']) {?>
14
- <div class="eael-timeline-post-title">
15
- <h2><?php the_title();?></h2>
16
- </div>
17
- <?php }?>
18
- </a>
19
- </div>
20
- </article>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: elementor, elements, addons, elementor addon, elementor widget, page build
4
  Requires at least: 4.0
5
  Tested up to: 5.2
6
  Requires PHP: 5.4
7
- Stable tag: 3.2.0
8
  License: GPLv3
9
  License URI: https://opensource.org/licenses/GPL-3.0
10
 
@@ -171,6 +171,15 @@ Your existing elements/content will work with premium version. So you won't lose
171
 
172
  == Changelog ==
173
 
 
 
 
 
 
 
 
 
 
174
  = 3.2.0 - 19/08/2019 =
175
  - Icon Manager updated to new Font Awesome 5.x
176
  - Improved : Data Table mobile breakpoint updated
4
  Requires at least: 4.0
5
  Tested up to: 5.2
6
  Requires PHP: 5.4
7
+ Stable tag: 3.3.0
8
  License: GPLv3
9
  License URI: https://opensource.org/licenses/GPL-3.0
10
 
171
 
172
  == Changelog ==
173
 
174
+ = 3.3.0 - 15/09/2019 =
175
+ - Improved : All post queries optimized to improve the load time and memory usage
176
+ - Improved : Icon Manager optmized for better performance
177
+ - Added : Content Timeline left and right layout
178
+ - Fixed : Load More button overlapping issue
179
+ - Fixed : Team Member icon issue
180
+ - Fixed : Pricing Table style 3 and 4 ribbon issue
181
+ - Lots of minor bugfix and improvements
182
+
183
  = 3.2.0 - 19/08/2019 =
184
  - Icon Manager updated to new Font Awesome 5.x
185
  - Improved : Data Table mobile breakpoint updated