Elementor Addon Elements - Version 1.7.1

Version Description

  • Fixed tablet mode compatibility in Comparison Table
  • Fixed css issues in few widgets
  • Fixed missing wpml strings
  • Fixed issue in Particles opverlapping content
  • Added option to manage All tab text in Filterable Gallery
Download this release

Release Info

Developer wpvibes
Plugin Icon 128x128 Elementor Addon Elements
Version 1.7.1
Comparing to
See all releases

Code changes from version 1.7 to 1.7.1

Files changed (56) hide show
  1. assets/css/eae.css +6 -1
  2. assets/css/eae.min.css +1 -1
  3. assets/js/eae.js +13 -4
  4. assets/js/eae.min.js +1 -1
  5. classes/helper.php +0 -14
  6. elementor-addon-elements.php +2 -2
  7. inc/bootstrap.php +7 -5
  8. modules/advance-tabs.php +0 -743
  9. modules/animated-text/widgets/animated-text.php +0 -2
  10. modules/charts/module.php +0 -29
  11. modules/charts/skins/skin-bar-chart.php +0 -75
  12. modules/charts/skins/skin-base.php +0 -184
  13. modules/charts/skins/skin-bubble-chart.php +0 -23
  14. modules/charts/skins/skin-doughnut-chart.php +0 -23
  15. modules/charts/skins/skin-horizontal-bar-chart.php +0 -23
  16. modules/charts/skins/skin-line-chart.php +0 -23
  17. modules/charts/skins/skin-pie-chart.php +0 -23
  18. modules/charts/skins/skin-polar-area-chart.php +0 -23
  19. modules/charts/skins/skin-radar-chart.php +0 -23
  20. modules/charts/widgets/charts.php +0 -1157
  21. modules/comparison-table/widgets/comparison-table.php +2 -4
  22. modules/control-test.php +0 -111
  23. modules/dual-button/widgets/dual-button.php +0 -6
  24. modules/evergreen-timer/module.php +0 -18
  25. modules/evergreen-timer/skins/skin-1.php +0 -147
  26. modules/evergreen-timer/skins/skin-2.php +0 -908
  27. modules/evergreen-timer/skins/skin-3.php +0 -276
  28. modules/evergreen-timer/skins/skin-4.php +0 -112
  29. modules/evergreen-timer/skins/skin-base.php +0 -274
  30. modules/evergreen-timer/style.scss +0 -0
  31. modules/evergreen-timer/widgets/evergreen-timer.php +0 -210
  32. modules/filterable-gallery/widgets/filterable-gallery.php +1467 -1466
  33. modules/flip-box-set.php +0 -1800
  34. modules/flip-box/widgets/flip-box.php +0 -29
  35. modules/image-compare/widgets/image-compare.php +8 -9
  36. modules/info-circle/skins/skin-base.php +15 -22
  37. modules/info-circle/widgets/info-circle.php +0 -12
  38. modules/modal-popup/widgets/modal-popup.php +4 -5
  39. modules/pinterest.php +0 -550
  40. modules/post-list/widgets/post-list.php +23 -21
  41. modules/price-table/widgets/price-table.php +0 -26
  42. modules/progress-bar/skins/skin-base.php +0 -12
  43. modules/ribbon-badges/module.php +0 -349
  44. modules/shape-separator/widgets/shape-separator.php +4 -6
  45. modules/shape-separator2/triangle-bottom-left.php +0 -3
  46. modules/shape-separator2/triangle-bottom-right.php +0 -3
  47. modules/shape-separator2/triangle-upper-left.php +0 -3
  48. modules/shape-separator2/triangle-upper-right.php +0 -3
  49. modules/split-text/widgets/split-text.php +0 -2
  50. modules/text-separator/widgets/text-separator.php +0 -2
  51. modules/timeline/skins/skin-base.php +13 -30
  52. modules/timeline/widgets/timeline.php +0 -39
  53. modules/twitter/widgets/twitter.php +14 -18
  54. modules/unfold/Module.php +0 -1457
  55. readme.txt +7 -0
  56. wpml/wpml-compatibility.php +357 -357
assets/css/eae.css CHANGED
@@ -664,7 +664,7 @@ body:not(.elementor-editor-active) .eae-particle-wrapper{
664
  height:100%;
665
  }
666
 
667
- body:not(.elementor-editor-active) .eae-particle-wrapper .particles-js-canvas-el{ height:100%; position:absolute; z-index: 999;}
668
 
669
 
670
  /**
@@ -4550,3 +4550,8 @@ body.elementor-editor-active .elementor.elementor-edit-mode .elementor-element.e
4550
  background-color: transparent;
4551
  overflow:hidden;
4552
  }
 
 
 
 
 
664
  height:100%;
665
  }
666
 
667
+ body:not(.elementor-editor-active) .eae-particle-wrapper .particles-js-canvas-el{ height:100%; position:absolute; z-index: 0;}
668
 
669
 
670
  /**
4550
  background-color: transparent;
4551
  overflow:hidden;
4552
  }
4553
+
4554
+ /*Comparision Table Bug Fix elementor*/
4555
+ [data-elementor-device-mode='tablet'] .eae-tab-format-mobile .eae-ct-hide.eae-fbox-heading{
4556
+ display: none !important;
4557
+ }
assets/css/eae.min.css CHANGED
@@ -1 +1 @@
1
- .elementor-widget-wts-textseparator .elementor-widget-container{overflow:hidden}.wts-eae-textseparator{align-items:center;display:flex;flex-flow:row nowrap;margin:auto}.eae-separator-icon-inner i{height:1em;width:1em;text-align:center;position:relative;display:block}.eae-separator-icon-inner i:before{position:absolute;left:50%;-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%);transform:translateX(-50%)}.wts-eae-textseparator .eae-sep-holder{flex:1 1 auto;height:1px;min-width:10%;position:relative}.wts-eae-textseparator .eae-sep-holder .eae-sep-lines{border-top-width:1px;display:block;height:1px;position:relative;top:1px;width:100%}.eae-separator-title{margin:0;-moz-box-flex:0;flex:0 1 auto;line-height:1em;margin:0;overflow-wrap:break-word}.sep-align-right .sep-right{display:none}.sep-align-left .sep-left{display:none}.eae-icon-view-stacked i{color:#fff}.eae-icon-view-framed .eae-separator-icon-inner{border:1px solid}.eae-icon-shape-circle .eae-separator-icon-inner{border-radius:50%}.eae-separator-icon-wrapper,.eae-separator-title{margin:0 5px!important}.eae-separator-icon-inner{line-height:1}.wts-price-box-wrapper .eae-pt-heading,.wts-price-box-wrapper .eae-pt-sub-heading{margin:5px 0;text-align:center}.plan-price-shape{display:table;height:6em;margin:auto;width:6em}.eae-pt-price-box-shape-circle .plan-price-shape,.eae-pt-price-box-shape-square .plan-price-shape{border:1px solid}.eae-pt-price-box-shape-circle .plan-price-shape{border-radius:50%}.plan-price-block{padding:10px 0}.plan-price-shape-inner{display:table-cell;vertical-align:middle;padding:10px}.plan-price-shape-inner>span{display:block;font-size:1em;text-align:center}.eae-pt-feature-list{list-style:outside none none;text-align:center;margin:10px 0}.eae-pt-button-wrapper>a{text-align:center;display:inline-block;line-height:1}.eae-pt-button-wrapper{text-align:center}.wts-price-box-wrapper .heading-wrapper,.wts-price-box-wrapper .plan-features-wrapper{padding:10px 5px}.eae-pt-button-wrapper{padding:15px 0}.eae-pt-button-wrapper a{padding:5px 15px;border-radius:3px}.eae-pt-align-icon-right{float:right}.strike-feature{text-decoration:line-through}.eae-flip-box{width:100%;text-align:center}.eae-flip-box-wrapper{display:inline-block;width:100%}.eae-flip-box-inner{width:100%;height:200px;position:relative;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d}.eae-flip-box-inner .eae-flip-box-back,.eae-flip-box-inner .eae-flip-box-front{width:100%;height:100%;position:absolute;top:0;left:0;text-align:center;padding:10px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:all .6s ease 0s;-moz-transition:all .6s ease 0s;-ms-transition:all .6s ease 0s;-o-transition:all .6s ease 0s;transition:all .6s ease 0s}.eae-flip-box-front{z-index:2}.eae-flip-box-back{z-index:1}.eae-fb-animate-vertical .eae-flip-box-inner .eae-flip-box-front{-webkit-transform:perspective(1000px) rotateX(0);-ms-transform:perspective(1000px) rotateX(0);transform:perspective(1000px) rotateX(0)}.eae-fb-animate-vertical .eae-flip-box-inner .eae-flip-box-back{-webkit-transform:perspective(1000px) rotateX(180deg);transform:perspective(1000px) rotateX(180deg);-ms-transform:perspective(1000px) rotateX(180deg)}.eae-fb-animate-vertical .eae-flip-box-inner:hover .eae-flip-box-front{-webkit-transform:perspective(1000px) rotateX(180deg);transform:perspective(1000px) rotateX(180deg);-ms-transform:perspective(1000px) rotateX(180deg)}.eae-fb-animate-vertical .eae-flip-box-inner:hover .eae-flip-box-back{-webkit-transform:perspective(1000px) rotateX(0);transform:perspective(1000px) rotateX(0);-ms-transform:perspective(1000px) rotateX(0)}.eae-fb-animate-horizontal .eae-flip-box-inner .eae-flip-box-front{-webkit-transform:perspective(1000px) rotateY(0);transform:perspective(1000px) rotateY(0);-ms-transform:perspective(1000px) rotateY(0)}.eae-fb-animate-horizontal .eae-flip-box-inner .eae-flip-box-back{-webkit-transform:perspective(1000px) rotateY(180deg);transform:perspective(1000px) rotateY(180deg);-ms-transform:perspective(1000px) rotateY(180deg)}.eae-fb-animate-horizontal .eae-flip-box-inner:hover .eae-flip-box-front{-webkit-transform:perspective(1000px) rotateY(180deg);transform:perspective(1000px) rotateY(180deg);-ms-transform:perspective(1000px) rotateY(180deg)}.eae-fb-animate-horizontal .eae-flip-box-inner:hover .eae-flip-box-back{-webkit-transform:perspective(1000px) rotateY(0);transform:perspective(1000px) rotateY(0);-ms-transform:perspective(1000px) rotateY(0)}.eae-fb-animate-fade .eae-flip-box-inner .eae-flip-box-front{opacity:1}.eae-fb-animate-fade .eae-flip-box-inner .eae-flip-box-back{opacity:0}.eae-fb-animate-fade .eae-flip-box-inner:hover .eae-flip-box-front{opacity:0}.eae-fb-animate-fade .eae-flip-box-inner:hover .eae-flip-box-back{opacity:1}.eae-flip-box-wrapper:focus .eae-flip-box-back,.eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:2}.eae-flip-box-wrapper:focus .eae-flip-box-front,.eae-flip-box-wrapper:hover .eae-flip-box-front{z-index:1}.fade .eae-flip-box-wrapper .eae-flip-box-front{opacity:1;transition:1s}.fade .eae-flip-box-wrapper .eae-flip-box-back{opacity:0;transition:1s}.fade .eae-flip-box-wrapper:focus .eae-flip-box-front,.fade .eae-flip-box-wrapper:hover .eae-flip-box-front{opacity:0}.fade .eae-flip-box-wrapper:focus .eae-flip-box-back,.fade .eae-flip-box-wrapper:hover .eae-flip-box-back{opacity:1}.eae-fb-animate-flip .eae-flip-box-wrapper{perspective:800px}.eae-fb-animate-flip .eae-flip-box-inner{transform-style:preserve-3d;transform:rotateX(0) rotateY(0) rotateZ(0);transition:1s}.eae-fb-animate-flip .eae-flip-box-front{transform:translate3d(0,0,1px)}.eae-fb-animate-flip .eae-flip-box-back{transform:rotateY(180deg) translate3d(0,0,0)}.eae-fb-animate-flip .eae-flip-box-wrapper:focus .eae-flip-box-inner,.eae-fb-animate-flip .eae-flip-box-wrapper:hover .eae-flip-box-inner{transform:rotateY(180deg)}.up .eae-flip-box-front{transform:translate3d(0,0,1px)}.up .eae-flip-box-back{transform:rotateX(180deg) translate3d(0,0,0)}.up .eae-flip-box-wrapper:focus .eae-flip-box-inner,.up .eae-flip-box-wrapper:hover .eae-flip-box-inner{transform:rotateX(180deg)}.box .eae-flip-box-front{transform:translate3d(0,0,100px) scale(.85,.85)}.box .eae-flip-box-back{transform:rotateY(180deg) translate3d(0,0,100px) scale(.85,.85)}.box.up .eae-flip-box-back{transform:rotateX(180deg) translate3d(0,0,100px) scale(.85,.85)}.hideback .eae-flip-box-back,.hideback .eae-flip-box-front{backface-visibility:hidden}.eae-fb-animate-nananana .eae-flip-box-wrapper:focus .eae-flip-box-front,.eae-fb-animate-nananana .eae-flip-box-wrapper:hover .eae-flip-box-front{z-index:10;animation:batman 1s 2 alternate linear}.eae-fb-animate-flipcard .eae-flip-box-back,.eae-fb-animate-flipcard .eae-flip-box-front{transition:transform .4s ease;transform-origin:center center -150px;-webkit-transform-origin:center center -150px}.flipcard-rotate-top-down .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-top-down .eae-flip-box-back{transform:perspective(0) rotateX(90deg) rotateY(0) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-top-down .eae-flip-box-wrapper:hover .eae-flip-box-front{transform:perspective(0) rotateX(-90deg) rotateY(0) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-top-down .eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:99999;transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-down-top .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-down-top .eae-flip-box-back{transform:perspective(0) rotateX(-90deg) rotateY(0) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-down-top .eae-flip-box-wrapper:hover .eae-flip-box-front{transform:perspective(0) rotateX(90deg) rotateY(0) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-down-top .eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:99999;transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-left-right .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-left-right .eae-flip-box-back{transform:perspective(0) rotateX(0) rotateY(-90deg) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-left-right .eae-flip-box-wrapper:hover .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(90deg) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-left-right .eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:99999;transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-right-left .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-right-left .eae-flip-box-back{transform:perspective(0) rotateX(0) rotateY(90deg) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-right-left .eae-flip-box-wrapper:hover .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(-90deg) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-right-left .eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:99999;transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}@keyframes batman{0%{transform:scale(1,1) rotateZ(0)}100%{transform:scale(0,0) rotateZ(720deg);opacity:0}}.eae-flip-box-back i,.eae-flip-box-front i{font-size:32px;height:1em;width:1em;position:relative;display:block}.eae-flip-box-back i:before,.eae-flip-box-front i:before{position:absolute;left:50%;-webkit-transform:translate(-50%);-moz-transform:translate(-50%);-ms-transform:translate(-50%);-o-transform:translate(-50%);transform:translate(-50%)}.eae-fb-icon-view-framed{border:1px solid #92be43}.eae-fb-icon-shape-circle{border-radius:50%}.eae-flip-box-wrapper .icon-wrapper{display:inline-block;padding:10px;line-height:1}.eae-flip-box-wrapper .back-icon-title,.eae-flip-box-wrapper .front-icon-title{margin:10px auto;color:#fff}.eae-flip-box-wrapper .flipbox-content{display:block;position:relative;top:50%;transform:translateY(-50%);-ms-transform:translateY(-50%)}.flipbox-content p{margin-bottom:10px}.eae-fb-button{display:inline-block;padding:5px 10px}.eae-flip-box-front{background:#a0ce4e}.eae-flip-box-back{background:#73b9dc}@media only screen and (max-width:768px){.eae-flip-box-back,.eae-flip-box-front,.flipbox-content{cursor:pointer;overflow:visible!important;transform-style:preserve-3d;-webkit-transform-style:preserve-3d}}.elementor-widget-wts-shape-separator svg{display:block}.wts-eae-pl-wrapper ul{margin:0}.wts-eae-pl-wrapper ul li{list-style:none;overflow:hidden;margin-bottom:10px}.eae-pl-img-align-none .eae-pl-image-wrapper a{text-align:center}.eae-pl-title{margin:0}.eae-pl-title a{display:block}.eae-pl-readmore a{display:inline-block;border-radius:2px;color:#fff;padding:4px 8px}.eae-at-animation-text-wrapper{display:inline-block;position:relative;text-align:left}.eae-at-animation-text-wrapper .eae-at-animation-text{display:inline-block;position:absolute;white-space:nowrap;left:0;top:0}.eae-at-animation-text-wrapper .eae-at-animation-text.is-visible{position:relative}.no-js .eae-at-animation-text-wrapper .eae-at-animation-text{opacity:0}.no-js .eae-at-animation-text-wrapper .eae-at-animation-text.is-visible{opacity:1}.eae-animtext-wrapper{font-size:40px}.eae-st-rest-text{display:inline-block}.eae-st-split-text{display:inline-block}.eae-at-animation.type .eae-at-animation-text-wrapper{vertical-align:bottom;overflow:hidden}.eae-at-animation.type .eae-at-animation-text-wrapper::after{content:'';position:absolute;right:0;top:50%;bottom:auto;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);height:90%;width:1px}.eae-at-animation.type .eae-at-animation-text-wrapper.waiting::after{-webkit-animation:cd-pulse 1s infinite;-moz-animation:cd-pulse 1s infinite;animation:cd-pulse 1s infinite}.eae-at-animation.type .eae-at-animation-text-wrapper.selected::after{visibility:hidden}.eae-at-animation.type .eae-at-animation-text{visibility:hidden}.eae-at-animation.type .eae-at-animation-text.is-visible{visibility:visible}.eae-at-animation.type i{position:absolute;visibility:hidden}.eae-at-animation.type i.in{position:relative;visibility:visible}@-webkit-keyframes cd-pulse{0%{-webkit-transform:translateY(-50%) scale(1);opacity:1}40%{-webkit-transform:translateY(-50%) scale(.9);opacity:0}100%{-webkit-transform:translateY(-50%) scale(0);opacity:0}}@-moz-keyframes cd-pulse{0%{-moz-transform:translateY(-50%) scale(1);opacity:1}40%{-moz-transform:translateY(-50%) scale(.9);opacity:0}100%{-moz-transform:translateY(-50%) scale(0);opacity:0}}@keyframes cd-pulse{0%{-webkit-transform:translateY(-50%) scale(1);-moz-transform:translateY(-50%) scale(1);-ms-transform:translateY(-50%) scale(1);-o-transform:translateY(-50%) scale(1);transform:translateY(-50%) scale(1);opacity:1}40%{-webkit-transform:translateY(-50%) scale(.9);-moz-transform:translateY(-50%) scale(.9);-ms-transform:translateY(-50%) scale(.9);-o-transform:translateY(-50%) scale(.9);transform:translateY(-50%) scale(.9);opacity:0}100%{-webkit-transform:translateY(-50%) scale(0);-moz-transform:translateY(-50%) scale(0);-ms-transform:translateY(-50%) scale(0);-o-transform:translateY(-50%) scale(0);transform:translateY(-50%) scale(0);opacity:0}}.eae-img-comp-container{width:100%;position:relative;text-align:center}.eae-img-comp-container img{vertical-align:middle}.eae-img-comp-img{position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;transform:translateZ(0);backface-visibility:hidden}.eae-img-comp-img img{display:block;max-width:100%;width:100%}.eae-img-comp-slider{position:absolute;z-index:9;width:40px;height:40px;background-color:#2196f3;opacity:1;border-radius:50%}.icon-horizontal{cursor:ew-resize}.icon-vertical{cursor:n-resize}.mode-horizontal .eae-img-comp-overlay img{position:absolute;left:0;top:0;display:block;width:auto;height:100%!important;max-width:none!important}.mode-vertical .eae-img-comp-overlay img{position:absolute;left:0;top:0;display:block;width:100%;height:auto!important;max-width:none!important}.eae-img-comp-slider svg,.eae-slider-icon{top:50%;transform:translateY(-50%) translateX(-50%);position:absolute;left:50%;color:#fff}.elementor-widget-wts-ab-image{text-align:center}.elementor-widget-wts-ab-image .elementor-widget-container{display:inline-block;margin:0 auto!important;overflow:hidden}.eae-text-before{position:absolute!important;padding:10px;transition:transform .3s .7s,opacity .3s .7s;color:#d36118;z-index:0;background:rgba(255,255,255,.5);margin:20px}.eae-text-after{position:absolute!important;padding:10px;transition:transform .3s .7s,opacity .3s .7s;color:#d36118;z-index:0;background:rgba(255,255,255,.5);margin:20px}.divTest{display:inline-block;background-color:#00a0d2;padding:20px}.eae-particle-wrapper{position:absolute;left:0;top:0}.eae-particle-wrapper.eae-particle-area{width:100%;height:100%}body:not(.elementor-editor-active) .eae-particle-wrapper{width:100%;height:100%}body:not(.elementor-editor-active) .eae-particle-wrapper .particles-js-canvas-el{height:100%;position:absolute;z-index:999}.eae-section-bs{position:absolute;width:100%;height:100%;top:0}.eae-section-bs-inner{width:100%;height:100%!important}.eae-popup.mfp-bg{top:0;left:0;width:100%;height:100%;z-index:1042;overflow:hidden;position:fixed;background:#0b0b0b;opacity:.8}.eae-popup-link{padding:12px 24px;color:#fff;display:inline-flex;line-height:1}.eae-popup-link svg{fill:#fff}.eae-popup-link:hover{color:#fff}.eae-popup.mfp-wrap{top:0;left:0;width:100%;height:100%;z-index:1043;position:fixed;outline:0!important;-webkit-backface-visibility:hidden}.eae-popup .mfp-container{text-align:center;position:absolute;width:100%;height:100%;left:0;top:0;padding:0 8px;box-sizing:border-box}.eae-popup .mfp-container:before{content:'';display:inline-block;height:100%;vertical-align:middle}.eae-popup .mfp-align-top .mfp-container:before{display:none}.eae-popup .mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1045}.eae-modal-content{padding:20px}.eae-pop-btn-align-left .eae-popup-wrapper{text-align:left}.eae-pop-btn-align-right .eae-popup-wrapper{text-align:right}.eae-pop-btn-align-center .eae-popup-wrapper{text-align:center}.eae-pop-btn-align-justify .eae-popup-wrapper{text-align:center}.eae-pop-btn-align-justify .eae-popup-wrapper a{display:block}.eae-popup .mfp-ajax-holder .mfp-content,.eae-popup .mfp-inline-holder .mfp-content{width:50%;background-color:#fff;cursor:auto;overflow:hidden}.eae-popup .mfp-ajax-cur{cursor:progress}.eae-popup .mfp-zoom-out-cur,.eae-popup .mfp-zoom-out-cur .mfp-image-holder .eae-close{cursor:-moz-zoom-out;cursor:-webkit-zoom-out;cursor:zoom-out}.eae-popup .mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.eae-popup.mfp-auto-cursor .mfp-content{cursor:auto}.eae-popup .eae-close,.eae-popup .mfp-arrow,.eae-popup .mfp-counter,.eae-popup .mfp-preloader{-webkit-user-select:none;-moz-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.eae-popup .mfp-preloader{color:#ccc;position:absolute;top:50%;width:auto;text-align:center;margin-top:-.8em;left:8px;right:8px;z-index:1044}.eae-popup .mfp-preloader a{color:#ccc}.eae-popup .mfp-preloader a:hover{color:#fff}.mfp-s-ready .mfp-preloader{display:none}.mfp-s-error .mfp-content{display:none}button.eae-close,button.mfp-arrow{overflow:visible;cursor:pointer;background:0 0;border:0;-webkit-appearance:none;display:block;outline:0;padding:0;z-index:1046;box-shadow:none;touch-action:manipulation}button::-moz-focus-inner{padding:0;border:0}.eae-popup .eae-close{width:28px;height:28px;line-height:1em;position:absolute;right:10px;top:10px;text-decoration:none;text-align:center;opacity:1;color:#fff;font-size:28px;z-index:1500}.eae-close:focus,.eae-close:hover{opacity:1;cursor:pointer}.eae-close:active{top:1px}.eae-close:before{top:50%;left:50%;position:absolute;transform:translate(-50%,-50%)}.eae-popup.eae-close-btn-in .eae-close{color:#fff}.mfp-iframe-holder .eae-close,.mfp-image-holder .eae-close{color:#fff;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#ccc;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{position:absolute;opacity:.65;margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:transparent}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:focus,.mfp-arrow:hover{opacity:1}.mfp-arrow:after,.mfp-arrow:before{content:'';display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:medium inset transparent}.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left:after{border-right:17px solid #fff;margin-left:31px}.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-arrow-right{right:0}.mfp-arrow-right:after{border-left:17px solid #fff;margin-left:39px}.mfp-arrow-right:before{border-left:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .eae-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;line-height:0;box-sizing:border-box;padding:40px 0 40px;margin:0 auto}.eae-popup .mfp-figure{line-height:0}.eae-popup .mfp-figure:after{content:'';position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6);background:#444}.eae-popup .mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.eae-popup .mfp-figure figure{margin:0}.eae-popup .mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.eae-popup .mfp-title{text-align:left;line-height:1;word-wrap:break-word;color:#fff;background-color:#4054b2;padding:20px 20px 20px 20px}.eae-popup .mfp-image-holder .mfp-content{max-width:100%}.eae-popup .mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .eae-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}.elementor-element.eae-animated-gradient-yes,.elementor-element.eae-animated-gradient-yes .animated-gradient{background-size:400% 400%!important;-webkit-animation:AnimateGradient 15s ease-in-out infinite;-moz-animation:AnimateGradient 15s ease-in-out infinite;animation:AnimateGradient 15s ease-in-out infinite}.animated-gradient{position:absolute;top:0;left:0;height:100%;width:100%}@-webkit-keyframes AnimateGradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}@-moz-keyframes AnimateGradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}@keyframes AnimateGradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}.eae-swiper-outer-wrapper .swiper-slide{height:auto;overflow:inherit}.eae-swiper-outer-wrapper .swiper-slide-wrapper,.eae-swiper-outer-wrapper .testimonial-wrapper{height:100%}.eae-grid{display:flex;flex-wrap:wrap;flex-direction:row}.eae-masonry- .eae-grid-item{position:relative;height:100%}.eae-masonry- .eae-grid-item .testimonial-wrapper{height:100%}.eae-grid-container{transition:.1s all ease}.eae-grid-container{display:inline-block}.wrapper .content{margin:10px 0}.skin-2.testimonial-wrapper{display:flex;flex-direction:column;background-color:#9c989821;min-height:300px;padding:10px 20px;box-shadow:0 0 5px rgba(0,0,0,.15);color:#696969}.skin-2 .content-wrapper{padding:10px;position:relative;background-color:#fff;border-radius:10px;color:#77778e}.skin-2 i.after-content,.skin-2 i.before-content{position:absolute}.skin-2 i.before-content{top:10px;left:20px}.skin-2 i.after-content{bottom:10px;right:20px}.skin-2 blockquote{position:relative;font-size:14px;padding:10px;font-weight:500;text-align:left;margin:0;line-height:1.6em;font-style:italic}.skin-2 blockquote::after,.skin-2 blockquote::before{font-family:FontAwesome;content:"\201C";position:absolute;font-size:50px;opacity:.3;font-style:normal}.skin-2 blockquote::before{top:10px;left:20px}.skin-2 blockquote::after{content:"\201D";right:20px}.skin-2 .image-wrapper{position:relative;max-width:100%;text-align:center}.skin-2 img{width:100px;border-radius:25%}.skin-2 .detail-wrapper{text-align:center}.skin-2 .company,.skin-2 .designation,.skin-2 .rating-wrapper,.skin-2 .title{padding:5px 0}.skin-2 .rating-wrapper{color:navy}.skin-2 .title{font-weight:800;color:#000}.skin-2 blockquote p{margin:10px 0!important}.skin-1.testimonial-wrapper{display:flex;flex-direction:column;background-color:#fff;box-shadow:0 0 5px rgba(0,0,0,.15);color:#000}.skin-1 .content-wrapper{order:0}.skin-1 .image-wrapper{order:1;text-align:center;margin:15px 0}.skin-1 .detail-wrapper{order:2}.skin-1 .content-wrapper{padding:10px;position:relative}.skin-1 i.after-content,.skin-1 i.before-content{position:absolute}.skin-1 i.before-content{top:10px;left:20px}.skin-1 i.after-content{bottom:10px;right:20px}.skin-1 blockquote{position:relative;background-color:#fff;font-size:14px;padding:10px;font-weight:500;text-align:left;margin:0;line-height:1.6em;font-style:italic}.skin-1 blockquote::after,.skin-1 blockquote::before{font-family:FontAwesome;content:"\201C";position:absolute;font-size:50px;opacity:.3;font-style:normal}.skin-1 blockquote::before{top:10px;left:20px}.skin-1 blockquote::after{content:"\201D";right:20px}.skin-1 .image-wrapper{position:relative;max-width:100%}.skin-1 img{width:100px;height:auto;border-radius:50%}.skin-1 .detail-wrapper{display:flex;flex-direction:row-reverse;justify-content:space-between;padding:10px;background-color:rgba(157,163,156,.18)}.skin-1 .designation,.skin-1 .rating-wrapper,.skin-1 .title{margin:0 5px}.skin-1 .title-wrapper{display:flex;flex-direction:row}.skin-1 .rating-wrapper{color:#fecc1f}.skin-4.testimonial-wrapper{flex-direction:column;display:flex;background-color:#bfbfb6bd;min-height:300px;padding:10px 0;box-shadow:0 0 5px rgba(0,0,0,.15);color:#77778e}.skin-4 .content-wrapper{padding:10px;position:relative}.skin-4 .content-wrapper{order:2;color:#3c3c3c}.skin-4 i.after-content,.skin-4 i.before-content{position:absolute}.skin-4 i.before-content{top:10px;left:20px}.skin-4 i.after-content{bottom:10px;right:20px}.skin-4 blockquote{position:relative;font-size:14px;padding:10px;font-weight:500;text-align:left;margin:0;line-height:1.6em;font-style:italic}.skin-4 blockquote::after,.skin-4 blockquote::before{font-family:FontAwesome;content:"\201C";position:absolute;font-size:50px;opacity:.3;font-style:normal}.skin-4 blockquote::before{top:10px;left:20px}.skin-4 blockquote::after{content:"\201D";right:20px}.skin-4 .image-wrapper{position:relative;max-width:100%;text-align:center}.skin-4 img{width:100px;border-radius:50%}.skin-4 .detail-wrapper{text-align:center}.skin-2 .designation,.skin-2 .title,.skin-4 .rating-wrapper{padding:5px 0}.skin-4 .rating-wrapper{color:#690a69}.skin-4 .title{font-weight:800;color:#000}.skin-3.testimonial-wrapper{display:flex;flex-direction:row;background-color:#9c989821;box-shadow:0 0 5px rgba(0,0,0,.15);color:#000;overflow:hidden}.skin-3 .content-section{display:flex;flex-direction:column;align-self:center}.skin-3 .content-wrapper{padding:10px;position:relative}.skin-2 i.after-content,.skin-3 i.before-content{position:absolute}.skin-3 i.before-content{top:10px;left:20px}.skin-3 i.after-content{bottom:10px;right:20px}.skin-3 blockquote{position:relative;font-size:18px;padding:10px;font-weight:500;text-align:left;margin:0;line-height:1.6em;font-style:italic}.skin-3 blockquote::after,.skin-3 blockquote::before{font-family:FontAwesome;content:"\201C";position:absolute;font-size:50px;opacity:.3;font-style:normal}.skin-3 blockquote::before{top:10px;left:20px}.skin-3 blockquote::after{content:"\201D";right:20px}.skin-3 .image-wrapper{position:relative;max-width:30%;max-height:250px;text-align:center;align-self:center}.skin-3 img{width:100%}.testimonial-wrapper .skin-3 .eae-person-avatar{border-radius:50%}.skin-3 .detail-wrapper{text-align:left;padding-left:20px}.skin-3 .designation,.skin-3 .rating-wrapper,.skin-3 .title{padding:3px 0}.skin-3 .rating-wrapper{color:#800040}.skin-3 .title{font-weight:800}.eae-swiper-outer-wrapper .swiper-button-prev{-webkit-mask:url(arrow-left.svg) no-repeat 100% 100%;mask:url(arrow-left.svg) no-repeat 100% 100%;-webkit-mask-size:cover;mask-size:cover;background-image:none;background-color:#007aff;transform:translateY(-50%);margin-top:0}.eae-swiper-outer-wrapper .swiper-container-rtl .swiper-button-prev{-webkit-mask:url(arrow-right.svg) no-repeat 100% 100%;mask:url(arrow-right.svg) no-repeat 100% 100%}.eae-swiper-outer-wrapper .swiper-button-next{-webkit-mask:url(arrow-right.svg) no-repeat 100% 100%;mask:url(arrow-right.svg) no-repeat 100% 100%;-webkit-mask-size:cover;mask-size:cover;background-image:none;background-color:#007aff;transform:translateY(-50%);margin-top:0}.eae-swiper-outer-wrapper .swiper-container-rtl .swiper-button-next{-webkit-mask:url(arrow-left.svg) no-repeat 100% 100%;mask:url(arrow-left.svg) no-repeat 100% 100%}.elementor-widget-wts-testimonial-slider .eae-swiper-outer-wrapper .swiper-button-next,.elementor-widget-wts-testimonial-slider .eae-swiper-outer-wrapper .swiper-button-prev{-webkit-mask:none;mask:none;-webkit-mask-size:unset;mask-size:unset;background-image:none;background-color:unset;width:auto;height:auto;transform:translateY(-50%);margin-top:0}.swiper-container .swiper-button-next i,.swiper-container .swiper-button-prev i{width:1em;height:1em;text-align:center;position:relative}.elementor-widget-wts-testimonial-slider .eae-swiper-outer-wrapper .eae-swiper-button-wrapper{position:absolute;height:auto;line-height:0}.eae-hpos-right.eae-vpos-top .eae-swiper-button-wrapper{bottom:auto;top:0;width:auto;right:0}.eae-vpos-top.eae-hpos-left .eae-swiper-button-wrapper{bottom:auto;top:0;width:auto;left:0}.eeae-hpos-right.eae-vpos-bottom .eae-swiper-button-wrapper{bottom:0;top:auto;width:auto;right:0}.eae-vpos-bottom.eae-hpos-left .eae-swiper-button-wrapper{bottom:0;top:auto;width:auto;left:0}.eae-hpos-right.eae-vpos-middle .eae-swiper-button-wrapper{bottom:auto;top:50%;width:auto;right:0}.eae-hpos-left.eae-vpos-middle .eae-swiper-button-wrapper{bottom:auto;top:50%;width:auto;left:0}.eae-hpos-left .swiper-button-next,.eae-hpos-left .swiper-button-prev,.eae-hpos-right .swiper-button-next,.eae-hpos-right .swiper-button-prev{position:relative;display:inline-block;right:auto;left:auto}.eae-hpos-right.eae-vpos-bottom .swiper-button-next,.eae-hpos-right.eae-vpos-bottom .swiper-button-prev{top:auto;bottom:0;transform:unset}.eae-hpos-right.eae-vpos-top .swiper-button-next,.eae-hpos-right.eae-vpos-top .swiper-button-prev{top:0;bottom:auto;transform:unset}.eae-hpos-left.eae-vpos-top .swiper-button-next,.eae-hpos-left.eae-vpos-top .swiper-button-prev{top:0;bottom:auto;transform:unset}.eae-hpos-left.eae-vpos-bottom .swiper-button-next,.eae-hpos-left.eae-vpos-bottom .swiper-button-prev{top:auto;bottom:0;transform:unset}.eae-hpos-center.eae-vpos-bottom .swiper-button-next,.eae-hpos-center.eae-vpos-bottom .swiper-button-prev{top:auto;bottom:0;transform:unset}.eae-hpos-center.eae-vpos-top .swiper-button-next,.eae-hpos-center.eae-vpos-top .swiper-button-prev{top:0;bottom:auto;transform:unset}@media all and (max-width:900px){.mfp-arrow{-webkit-transform:scale(.75);transform:scale(.75)}.mfp-arrow-left{-webkit-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}.eae-info-circle{position:relative;width:90%;margin:0 auto;border-radius:50%;display:block}.eae-info-circle:before{content:'';display:block;position:absolute;top:4%;left:4%;width:92%;height:92%;border-radius:50%;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;pointer-events:none}.eae-info-circle:after{content:'';display:block;padding-top:100%}.eae-info-circle .eae-ic-icon-wrap{position:absolute;display:inline-block;top:50%;left:50%;z-index:2;line-height:1em;vertical-align:middle;overflow:hidden;max-width:100%}.eae-info-circle .eae-info-circle-item{top:0;left:0;width:100%;height:100%;display:block}.eae-info-circle .eae-info-circle-item.eae-active .eae-info-circle-item__content-wrap{visibility:visible;opacity:1;display:flex}.eae-info-circle .eae-info-circle-item__content-wrap{visibility:visible;display:none;height:91%;width:91%;opacity:0;top:50%;transform:translateY(-50%) translateX(-50%);position:absolute;left:50%;border-radius:50%;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.eae-info-circle .eae-info-circle-item__content-wrap:before{content:'';display:inline-block;height:100%;vertical-align:middle}.eae-info-circle .eae-info-circle-item__content{display:inline-block;top:50%;transform:translateY(-50%) translateX(-50%);position:absolute;left:50%;vertical-align:middle;z-index:1;max-height:100%;overflow:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-align:center;width:75%}@media screen and (max-width:767px){.eae-info-circle.eae-info-circle .eae-info-circle-item__content-wrap:before{display:none}.eae-info-circle:after,.eae-info-circle:before{display:none}.eae-info-circle{width:100%!important}.eae-info-circle-wrapper:after,.eae-info-circle-wrapper:before{display:none}.eae-info-circle .eae-ic-icon-wrap{display:block;text-align:center;position:relative!important;left:unset!important;margin-left:0!important;margin-top:0!important;margin-bottom:10px}.eae-info-circle-item{position:relative!important;border-radius:0!important;padding:0;margin:10px 0}.eae-info-circle .eae-info-circle-item__content-wrap{visibility:visible;opacity:1!important;display:flex!important;border-radius:0!important;border:none!important;margin:0!important;padding-right:0!important;padding-left:0!important;padding-bottom:0!important;width:100%;height:auto;line-height:1.5em;position:relative;top:unset;left:unset;transform:unset}.eae-info-circle .eae-info-circle-item__content{position:relative;top:unset;left:unset;transform:unset;width:100%;padding:10px}}.eae-icon-wrap i{height:1.25em;width:1.25em;line-height:1.25em;display:block}.eae-icon-wrap i img{top:50%;left:50%;transform:translateX(-50%) translateY(-50%);position:absolute}.eae-icon{display:inline-block;text-align:center;vertical-align:middle;max-width:100%;overflow:hidden;padding:10px}.eae-icon-shape-circle:not(.elementor-element){border-radius:50%}.eae-icon-view-framed:not(.elementor-element){border-width:1px;border-style:solid}.eae-icon-wrapper{display:flex}.eae-icon-wrapper .eae-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);line-height:1}.eae-timeline{position:relative;display:inline-block;width:100%}.eae-timline-progress-bar{width:4px;background-color:#f45b69;top:0;bottom:50px;position:absolute;transform:translateX(-50%)}.eae-timeline-item{position:relative;display:flex;flex-direction:row;padding-bottom:50px}.eae-timeline-item:last-child{padding-bottom:0!important}.eae-tl-top .eae-timeline-item{align-items:flex-start}.eae-tl-top .eae-tl-item-content::before{top:10px}.eae-timeline-item.image-position-row .eae-tl-item-image,.eae-timeline-item.image-position-row-reverse .eae-tl-item-image{margin-top:0;margin-bottom:0}.eae-tl-item-meta-wrapper-inner{display:none}.eae-tl-bottom .eae-timeline-item{align-items:flex-end}.eae-tl-bottom .eae-tl-item-content::before{bottom:10px}.eae-tl-center .eae-timeline-item{align-items:center}.eae-tl-center .eae-tl-item-content::before{bottom:calc(50% - 5px)}.eae-layout-center .eae-timline-progress-bar{left:50%}.eae-layout-center .eae-timeline-item:nth-child(odd){flex-direction:row-reverse}.eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-item-meta-wrapper{margin-right:0;margin-left:0;justify-content:flex-start}.eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-content-wrapper{padding-right:20px;padding-left:0}.eae-layout-center .eae-timeline-item:nth-child(even) .eae-tl-content-wrapper{padding-right:0;padding-left:20px}.eae-layout-left .eae-tl-content-wrapper{padding-right:10px;padding-left:20px}.eae-layout-left .eae-timline-progress-bar{display:none}.eae-layout-left .eae-tl-item-meta-wrapper{display:none}.eae-layout-left .eae-tl-item-meta-wrapper-inner{display:block}.eae-layout-right .eae-timline-progress-bar{display:none}.eae-layout-right .eae-tl-content-wrapper{padding-right:20px;padding-left:10px}.eae-layout-right .eae-tl-icon-wrapper{order:3}.eae-layout-right .eae-tl-item-meta-wrapper{display:none}.eae-layout-right .eae-tl-item-meta-wrapper-inner{display:block}.eae-tl-item-meta-wrapper{flex-grow:1;order:0;flex-basis:50%;flex-direction:initial;justify-content:flex-end;display:flex;align-items:center;margin-right:0}.eae-tl-item-meta{padding:0 20px}.eae-tl-icon-wrapper{height:auto;width:auto;flex-grow:0;flex-shrink:0;order:1;margin-left:0;margin-right:0;min-width:10px;min-height:10px;border-radius:999px;position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.eae-tl-content-wrapper{flex-grow:1;order:2;flex-basis:50%;position:relative;padding-right:0;padding-left:20px}.eae-tl-item-content{background:#f4f4f4;padding:25px;overflow:hidden;text-align:center;display:flex;flex-direction:row}.eae-tl-content{display:inline-block;position:relative;padding:10px;width:100%;color:#000}.eae-timeline-item.custom-image-style-yes.image-position-row .eae-content-inner,.eae-timeline-item.custom-image-style-yes.image-position-row-reverse .eae-content-inner,.image-position-row .eae-timeline .eae-timeline-item:not(.custom-image-style-yes) .eae-content-inner,.image-position-row-reverse .eae-timeline .eae-timeline-item:not(.custom-image-style-yes) .eae-content-inner{position:relative;left:50%;top:50%;transform:translate(-50%,-50%);line-height:1;width:100%}.custom-image-style-.image-position-row .eae-content-inner,.custom-image-style-.image-position-row-reverse .eae-content-inner,.custom-image-style-no.image-position-row .eae-content-inner,.custom-image-style-no.image-position-row-reverse .eae-content-inner{left:unset;top:unset;transform:unset}.eae-tl-item-image{display:inline-block}.image-position-row .eae-tl-item-image img,.image-position-row-reverse .eae-tl-item-image img{object-fit:cover;height:100%!important}.image-position-row .eae-tl-item-image,.image-position-row-reverse .eae-tl-item-image{margin:0}.image-position-column .eae-tl-item-image{margin:auto}.custom-image-style-.image-position-column .eae-tl-item-image,.custom-image-style-no.image-position-column .eae-tl-item-image{margin:0 auto}.eae-pb-inner-line{width:100%;background-color:#3d5ac3}.eae-tl-item-content::before{content:'';position:absolute;width:0;height:0;border-style:solid;border-width:8px 16px 8px 0;border-color:transparent #f4f4f4 transparent transparent}.eae-icon-wrapper{display:flex}.elementor-widget-bpel-timeline .eae-icon-wrapper{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);line-height:1}.eae-tl-read-more{display:inline-block;padding:5px;border:2px solid #000}.image-position-row .eae-timeline.eae-timeline-alternate-yes .eae-timeline-item:nth-child(odd):not(.custom-image-style-yes) .eae-tl-item-content{flex-direction:row-reverse!important}.image-position-row-reverse .eae-timeline.eae-timeline-alternate-yes .eae-timeline-item:nth-child(odd):not(.custom-image-style-yes) .eae-tl-item-content{flex-direction:row!important}@media screen and (min-width:1024px){.eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,.eae-layout-right .eae-tl-item-content::before{right:4px;border-width:8px 0 8px 16px;border-color:transparent transparent transparent #f4f4f4}.eae-layout-center .eae-timeline-item:nth-child(even) .eae-tl-item-content::before,.eae-layout-left .eae-tl-item-content::before{left:4px;border-width:8px 16px 8px 0;border-color:transparent #f4f4f4 transparent transparent}}@media screen and (max-width:1023px) and (min-width:768px){.image-position-row .eae-timeline.eae-timeline-alternate-yes .eae-timeline-item:nth-child(odd):not(.custom-image-style-yes) .eae-tl-item-content{flex-direction:row-reverse!important}.image-position-row-reverse .eae-timeline.eae-timeline-alternate-yes .eae-timeline-item:nth-child(odd):not(.custom-image-style-yes) .eae-tl-item-content{flex-direction:row!important}.eae-tl-res-style-mobile-tablet .eae-tl-item-meta-wrapper{display:none}.eae-tl-res-style-mobile-tablet .eae-tl-item-meta-wrapper-inner{display:block}.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item{flex-direction:row!important}.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item{flex-direction:row-reverse!important}.eae-layout-center.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item .eae-tl-item-content::before,.eae-layout-left .eae-timeline-item .eae-tl-item-content::before,.eae-layout-left .eae-tl-item-content::before,.eae-timeline.eae-layout-center.eae-tl-res-style-mobile .eae-timeline-item:nth-child(even) .eae-tl-item-content::before{left:4px!important;border-width:8px 16px 8px 0!important;border-color:transparent #f4f4f4 transparent transparent!important}.eae-layout-center.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before,.eae-layout-right .eae-timeline-item .eae-tl-item-content::before,.eae-layout-right .eae-tl-item-content::before,.eae-timeline.eae-layout-center.eae-tl-res-style-mobile .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before{right:4px!important;border-width:8px 0 8px 16px!important;border-color:transparent transparent transparent #f4f4f4!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper{padding-right:0!important;padding-left:20px!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper{padding-right:20px!important;padding-left:0!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timline-progress-bar{left:13px}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timline-progress-bar{left:calc(100% - 13px)}}@media screen and (max-width:767px){.eae-tl-item-meta-wrapper{display:none}.eae-tl-item-meta-wrapper-inner{display:block}.elementor-widget-bpel-timeline:not(.image-position-column) .eae-timeline .eae-tl-item-content{flex-direction:column-reverse!important}.eae-tl-item-image,.elementor-widget-bpel-timeline:not(.image-position-column) .eae-tl-content{width:100%!important}.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item,.eae-tl-res-style-mobile.eae-tl-res-layout-left .eae-timeline-item{flex-direction:row!important}.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item,.eae-tl-res-style-mobile.eae-tl-res-layout-right .eae-timeline-item{flex-direction:row-reverse!important}.eae-layout-left .eae-timeline-item .eae-tl-item-content::before,.eae-timeline.eae-layout-center.eae-tl-center.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,.eae-timeline.eae-layout-center.eae-tl-center.eae-tl-res-style-mobile.eae-tl-res-layout-left .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item .eae-tl-item-content::before,.eae-tl-res-style-mobile.eae-tl-res-layout-left .eae-timeline-item .eae-tl-item-content::before{left:4px!important;border-width:8px 16px 8px 0!important;border-color:transparent #f4f4f4 transparent transparent!important}.eae-layout-right .eae-timeline-item .eae-tl-item-content::before,.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before,.eae-tl-res-style-mobile.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before{right:4px!important;border-width:8px 0 8px 16px!important;border-color:transparent transparent transparent #f4f4f4!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper,.eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper{padding-right:0!important;padding-left:20px!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper,.eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper{padding-right:20px!important;padding-left:0!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timline-progress-bar,.eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-left .eae-timline-progress-bar{left:13px}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timline-progress-bar,.eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-right .eae-timline-progress-bar{left:calc(100% - 13px)}}[data-element_type="eae-evergreen-timer.skin1"] .eae-evergreen-wrapper{display:block;text-align:center}[data-element_type="eae-evergreen-timer.skin1"] #eaeclockdiv{font-family:sans-serif;color:#fff;display:inline-block;font-weight:100;text-align:center;font-size:30px}[data-element_type="eae-evergreen-timer.skin1"] .eae-time-wrapper{padding:10px;border-radius:3px;background:#00bf96;display:inline-block;overflow:hidden}[data-element_type="eae-evergreen-timer.skin1"] #eaeclockdiv div>span{padding:15px;width:100%;background:#00816a;display:inline-block}[data-element_type="eae-evergreen-timer.skin1"] .smalltext{padding:7px;font-size:16px}[data-element_type="eae-evergreen-timer.skin1"] .eae-egt-hide{display:none}.eae-egt-message{display:none}@media screen and (max-width:767px){[data-element_type="eae-evergreen-timer.skin1"] #eaeclockdiv div>span{padding:5px}[data-element_type="eae-evergreen-timer.skin1"] .eae-time-wrapper{padding:5px}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-o-backface-visibility:hidden;backface-visibility:hidden}[data-element_type="eae-evergreen-timer.skin2"] .eae-evergreen-wrapper{display:inline-block;width:100%;text-align:center;margin:auto}[data-element_type="eae-evergreen-timer.skin2"] .timer-container{display:inline-block}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper a{cursor:pointer;text-decoration:none;color:#ccc}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper a:hover{color:#fff}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul{list-style:none}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper.clearfix:after,[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper.clearfix:before{content:" ";display:table}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper.clearfix:after{clear:both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper{font:normal 11px "Helvetica Neue",Helvetica,sans-serif;-webkit-user-select:none}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-meridium{background:0 0!important;box-shadow:0 0 0!important;font-size:36px!important}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-meridium a{color:#313333}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper{text-align:center;position:relative;width:100%;margin:1em}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper:after,[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper:before{content:" ";display:table}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper:after{clear:both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul{position:relative;float:left;margin:5px;width:60px;height:90px;font-size:80px;font-weight:700;line-height:87px;border-radius:6px;background:#000}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li{z-index:1;position:absolute;left:0;top:0;width:100%;height:100%;line-height:87px;text-decoration:none!important}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li:first-child{z-index:2}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a{display:block;height:100%;-webkit-perspective:200px;-moz-perspective:200px;perspective:200px;margin:0!important;overflow:visible!important;cursor:default!important}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div{z-index:1;position:absolute;left:0;width:100%;height:50%;font-size:80px;overflow:hidden;outline:1px solid transparent}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div .shadow{position:absolute;width:100%;height:100%;z-index:2}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.up{-webkit-transform-origin:50% 100%;-moz-transform-origin:50% 100%;-ms-transform-origin:50% 100%;-o-transform-origin:50% 100%;transform-origin:50% 100%;top:0}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.up:after{content:"";position:absolute;top:44px;left:0;z-index:5;width:100%;height:3px;background-color:#000;background-color:rgba(0,0,0,.4)}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.down{-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;-o-transform-origin:50% 0;transform-origin:50% 0;bottom:0;border-bottom-left-radius:6px;border-bottom-right-radius:6px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div div.inn{position:absolute;left:0;z-index:1;width:100%;height:200%;color:#ccc;text-shadow:0 1px 2px #000;text-align:center;background-color:#333;border-radius:6px;font-size:70px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.up div.inn{top:0}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.down div.inn{bottom:0}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-before{z-index:3}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper .flip{box-shadow:0 2px 5px rgba(0,0,0,.7)}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-active{-webkit-animation:asd 10ms .49s linear both;-moz-animation:asd 10ms .49s linear both;animation:asd 10ms .49s linear both;z-index:5}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider{float:left;display:inline-block;position:relative;width:20px;height:100px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider:first-child{width:0}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-dot{display:block;background:#323434;width:10px;height:10px;position:absolute;border-radius:50%;box-shadow:0 0 5px rgba(0,0,0,.5);left:5px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider .flip-clock-label{position:absolute;top:-1.5em;right:-86px;color:#000;text-shadow:none}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider.minutes .flip-clock-label{right:-88px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider.seconds .flip-clock-label{right:-91px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-dot.top{top:30%}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-dot.bottom{bottom:30%}@-webkit-keyframes asd{0%{z-index:2}100%{z-index:4}}@-moz-keyframes asd{0%{z-index:2}100%{z-index:4}}@-o-keyframes asd{0%{z-index:2}100%{z-index:4}}@keyframes asd{0%{z-index:2}100%{z-index:4}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-active .down{z-index:2;-webkit-animation:turn .5s .5s linear both;-moz-animation:turn .5s .5s linear both;animation:turn .5s .5s linear both}@-webkit-keyframes turn{0%{-webkit-transform:rotateX(90deg)}100%{-webkit-transform:rotateX(0)}}@-moz-keyframes turn{0%{-moz-transform:rotateX(90deg)}100%{-moz-transform:rotateX(0)}}@-o-keyframes turn{0%{-o-transform:rotateX(90deg)}100%{-o-transform:rotateX(0)}}@keyframes turn{0%{transform:rotateX(90deg)}100%{transform:rotateX(0)}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-before .up{z-index:2;-webkit-animation:turn2 .5s linear both;-moz-animation:turn2 .5s linear both;animation:turn2 .5s linear both}@-webkit-keyframes turn2{0%{-webkit-transform:rotateX(0)}100%{-webkit-transform:rotateX(-90deg)}}@-moz-keyframes turn2{0%{-moz-transform:rotateX(0)}100%{-moz-transform:rotateX(-90deg)}}@-o-keyframes turn2{0%{-o-transform:rotateX(0)}100%{-o-transform:rotateX(-90deg)}}@keyframes turn2{0%{transform:rotateX(0)}100%{transform:rotateX(-90deg)}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li.flip-clock-active{z-index:3}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-before .up .shadow{background:-moz-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(0,0,0,.1)),color-stop(100%,#000));background:linear,top,rgba(0,0,0,.1) 0,#000 100%;background:-o-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-ms-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:linear,to bottom,rgba(0,0,0,.1) 0,#000 100%;-webkit-animation:show .5s linear both;-moz-animation:show .5s linear both;animation:show .5s linear both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-active .up .shadow{background:-moz-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(0,0,0,.1)),color-stop(100%,#000));background:linear,top,rgba(0,0,0,.1) 0,#000 100%;background:-o-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-ms-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:linear,to bottom,rgba(0,0,0,.1) 0,#000 100%;-webkit-animation:hide .5s .3s linear both;-moz-animation:hide .5s .3s linear both;animation:hide .5s .3s linear both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-before .down .shadow{background:-moz-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#000),color-stop(100%,rgba(0,0,0,.1)));background:linear,top,#000 0,rgba(0,0,0,.1) 100%;background:-o-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-ms-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:linear,to bottom,#000 0,rgba(0,0,0,.1) 100%;-webkit-animation:show .5s linear both;-moz-animation:show .5s linear both;animation:show .5s linear both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-active .down .shadow{background:-moz-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#000),color-stop(100%,rgba(0,0,0,.1)));background:linear,top,#000 0,rgba(0,0,0,.1) 100%;background:-o-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-ms-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:linear,to bottom,#000 0,rgba(0,0,0,.1) 100%;-webkit-animation:hide .5s .3s linear both;-moz-animation:hide .5s .3s linear both;animation:hide .5s .2s linear both}@-webkit-keyframes show{0%{opacity:0}100%{opacity:1}}@-moz-keyframes show{0%{opacity:0}100%{opacity:1}}@-o-keyframes show{0%{opacity:0}100%{opacity:1}}@keyframes show{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes hide{0%{opacity:1}100%{opacity:0}}@-moz-keyframes hide{0%{opacity:1}100%{opacity:0}}@-o-keyframes hide{0%{opacity:1}100%{opacity:0}}@keyframes hide{0%{opacity:1}100%{opacity:0}}@media screen and (max-width:767px){[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider{width:15px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-dot{height:5px;width:5px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul{height:40px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider{height:50px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li{line-height:37px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div div.inn{font-size:24px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul{margin:2px}}[data-element_type="eae-evergreen-timer.skin3"] #timer{font-family:sans-serif;color:#fff;display:inline-block;font-weight:100;text-align:center;font-size:30px}[data-element_type="eae-evergreen-timer.skin3"] .desc{display:flex;justify-content:center}[data-element_type="eae-evergreen-timer.skin3"].eae-egt-content-align-right .desc{justify-content:flex-end}[data-element_type="eae-evergreen-timer.skin3"].eae-egt-content-align-left .desc{justify-content:flex-start}[data-element_type="eae-evergreen-timer.skin3"] .desc .egt-time-text{display:inline-block;padding:0 50px 0 50px}[data-element_type="eae-evergreen-timer.skin3"] .eae-time-wrapper{padding:50px;border-radius:3px;background:#00bf96;display:inline-block;overflow:hidden;margin:5px;line-height:1em}[data-element_type="eae-evergreen-timer.skin3"] #timer span:nth-child(1){background:khaki}[data-element_type="eae-evergreen-timer.skin3"] #timer span:nth-child(2){background:#cd5c5c}[data-element_type="eae-evergreen-timer.skin3"] #timer span:nth-child(3){background:#5f9ea0}[data-element_type="eae-evergreen-timer.skin3"] #timer span:nth-child(4){background:#6495ed}[data-element_type="eae-evergreen-timer.skin3"] .fade{animation:flip .7s ease forwards}@keyframes flip{0%{transform:rotateY(0) scaleY(1.1);opacity:.5}50%{transform:rotateY(180deg) scaleY(1.3);opacity:0}100%{transform:rotateY(0);opacity:1}}@media screen and (max-width:767px){[data-element_type="eae-evergreen-timer.skin3"] #timer span{font-size:22px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider .flip-clock-label{top:-1.5em;right:-42px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider.minutes .flip-clock-label{right:-48px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider.seconds .flip-clock-label{right:-51px}}[data-element_type="eae-evergreen-timer.skin4"] .eae-evergreen-wrapper{width:100%}[data-element_type="eae-evergreen-timer.skin4"] .container{margin:0 auto}[data-element_type="eae-evergreen-timer.skin4"] .special{position:relative;width:840px;height:47px}[data-element_type="eae-evergreen-timer.skin4"] #counter{position:absolute;z-index:4000}[data-element_type="eae-evergreen-timer.skin4"] .digit-separator{position:relative;float:left;width:17px;height:44px;overflow:hidden;background-image:url(../digit-sep-svg.svg);background-repeat:no-repeat;background-position:0 0;background-color:#4054b2}[data-element_type="eae-evergreen-timer.skin4"] .digit{background-image:url(../digits-svg-alpha.svg);background-color:#4054b2}.eae-ct-wrapper *{box-sizing:border-box;margin:0;outline:0}article.eae-ct-wrapper{width:100%;max-width:1000px;margin:0 auto;position:relative}.eae-ct-wrapper tbody tr.eae-ct-header td,.eae-ct-wrapper th{position:relative}.eae-ct-wrapper ul{display:none;top:0;z-index:10;padding-bottom:14px}.eae-ct-wrapper li{list-style:none;flex:1;position:relative}.eae-ct-wrapper li:hover{cursor:pointer}.eae-ct-wrapper .eae-ct-heading{width:100%;padding:10px;background:#fff;font-size:20px;font-weight:700;height:60px;color:#999;text-align:center}.eae-ct-wrapper li.eae-ct-heading .eae-ct-heading-inner{position:absolute;align-self:center;top:50%;left:50%;transform:translate(-50%,-50%);width:100%}.eae-ct-wrapper li.eae-ct-heading.active{background:#f5f5f5}.eae-ct-wrapper table{border-collapse:collapse;table-layout:fixed;width:100%}.eae-ct-wrapper th{background:#f5f5f5;display:none}.eae-ct-wrapper td,.eae-ct-wrapper th{height:53px;vertical-align:middle}.eae-ct-wrapper table{border:none}.eae-ct-wrapper table td,.eae-ct-wrapper table th{border:none}.eae-ct-wrapper table tr td:first-child,.eae-ct-wrapper table tr td:last-child,.eae-ct-wrapper td,.eae-ct-wrapper th{padding:10px;empty-cells:show}.eae-ct-wrapper td,.eae-ct-wrapper th{text-align:center}.eae-ct-wrapper td+td,.eae-ct-wrapper th+th{text-align:center}.eae-ct-wrapper tr:first-child{background:0 0!important}.eae-ct-wrapper ul li:nth-child(1){display:table-cell}.eae-ct-wrapper tr td:nth-child(2){display:table-cell}.eae-ct-wrapper td:nth-child(1){display:table-cell}.eae-ct-wrapper td{display:none}.eae-ct-wrapper .sep{background:#f5f5f5;font-weight:700}.eae-ct-price-wrapper{display:flex;justify-content:center}.eae-ct-tt-type-icon .eae-ct-feature .tooltip{float:right}.eae-ct-wrapper .tooltiptext::before{content:'';border-width:5px 5px 0 5px;border-color:#fff;border-left-color:transparent;border-right-color:transparent;border-bottom-color:transparent;bottom:-10px;width:0;height:0;border-style:solid;position:absolute;margin:5px;left:42%}.eae-ct-wrapper .eae-ct-price{font-size:28px;font-weight:700;line-height:1em}.eae-ct-wrapper .eae-ct-currency{align-self:flex-start;margin-right:3px}.eae-ct-wrapper .eae-ct-fractional-price{align-self:flex-start;margin-left:3px}.eae-ct-wrapper .eae-ct-duration{align-self:flex-start}.eae-ct-wrapper .eae-ct-original-price{margin-right:5px;text-decoration:line-through;align-self:flex-end}.eae-ct-wrapper .tick{font-size:18px;color:#2ca01c}.feature-heading-blank.eae-ct-wrapper .hide{border:unset!important;background:unset!important}.eae-ct-wrapper .hide.eae-ct-hide.eae-fbox-heading{border:0 solid #000}.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper{position:absolute;top:0;width:100px;overflow:hidden;height:100px;z-index:998;padding:8px 12px}.eae-ct-ribbons-h-top.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper{position:absolute;top:0;width:100%;overflow:hidden;height:50px;z-index:999;padding:8px 12px}.eae-ct-ribbons-h-top.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper-top{background-color:rgba(63,195,135,.8);color:#fff;transform:translateY(-100%);position:absolute;width:100%;top:0;left:0}.eae-ct-ribbons-h-left.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);left:0;right:auto}.eae-ct-ribbons-h-right.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(90deg);left:auto;right:0}.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper span.eae-ct-ribbons-inner{position:absolute;text-align:center;left:0;top:0;width:200%;-webkit-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);-ms-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);margin-top:35px;font-size:13px;line-height:2;font-weight:800;text-transform:uppercase;background:rgba(63,195,135,.8);padding:8px 12px;color:#fff}.eae-ct-wrapper .tooltip{position:relative;display:inline-block}.eae-ct-wrapper .tooltip .tooltiptext{visibility:hidden;min-width:120px;background-color:#000;color:#fff;text-align:center;border-radius:6px;padding:5px 0;position:absolute;z-index:1;bottom:120%;left:50%;margin-left:-60px}.eae-ct-wrapper .tooltip:hover .tooltiptext{visibility:visible}.eae-ct-heading-tooltip{text-decoration-line:underline;text-decoration-style:dotted}.eae-ct-btn{padding:10px 15px 10px 15px;color:#fff;display:inline-block;line-height:1em}.eae-ct-btn:hover{color:#fff}.eae-ct-wrapper i.fa.fa-check,.eae-ct-wrapper i.fas.fa-check{color:#38f146}.eae-ct-wrapper i.fa.fa-close,.eae-ct-wrapper i.fas.fa-times{color:red}.button-heading-blank.eae-ct-wrapper tr:last-child td:first-child{background:0 0!important;border:none!important}.eae-ct-wrapper tr:last-child{background:0 0!important}tbody tr:nth-child(2){background:0 0!important}@media (min-width:767px){.eae-ct-wrapper .eae-ct-header,.eae-ct-wrapper td{width:330px}.eae-ct-wrapper td+td,.eae-ct-wrapper th+th{width:auto}}.eae-tab-format-all .eae-ct-wrapper ul{display:flex}.hide.eae-ct-hide{display:table-cell}@media (min-width:1023px){.eae-tab-format-all tbody tr.eae-ct-header{display:none}.eae-tab-format-mobile .eae-ct-wrapper td,.eae-tab-format-mobile .eae-ct-wrapper th,.eae-tab-format-tab-mob .eae-ct-wrapper td,.eae-tab-format-tab-mob .eae-ct-wrapper th{display:table-cell!important}.eae-tab-format-all .hide.eae-ct-hide{display:table-cell}.eae-tab-format-mobile .hide.eae-ct-hide,.eae-tab-format-tab-mob .hide.eae-ct-hide{display:none!important}}@media (max-width:1023px){.eae-tab-format-tab-mob .eae-ct-wrapper ul{display:flex}.eae-tab-format-all tbody tr.eae-ct-header,.eae-tab-format-tab-mob tbody tr.eae-ct-header{display:none}.eae-tab-format-all .hide.eae-ct-hide{display:table-cell}.eae-tab-format-tab-mob .hide.eae-ct-hide{display:table-cell}}@media (max-width:1023px) and (min-width:768px){.eae-tab-format-mobile .eae-ct-wrapper td,.eae-tab-format-mobile .eae-ct-wrapper th{display:table-cell!important}.eae-tab-format-all tbody tr.eae-ct-header,.eae-tab-format-tab-mob tbody tr.eae-ct-header{display:none}.eae-tab-format-tab-mob .hide.eae-ct-hide{display:table-cell}}@media (max-width:767px){.eae-tab-format-mobile .eae-ct-wrapper ul{display:flex}.eae-tab-format-mobile tbody tr.eae-ct-header{display:none}.eae-tab-format-all tbody tr.eae-ct-header,.eae-tab-format-mobile tbody tr.eae-ct-header{display:none}.eae-tab-format-mobile .hide.eae-ct-hide{display:table-cell}}.eae-progress-bar-wrapper{display:flex;flex-direction:column;align-items:flex-start;margin:15px 0}.eae-progress-bar-wrapper.eae-progress-bar{width:100%;position:relative;box-sizing:border-box}.eae-pb-bar,.eae-pb-bar-inner,.eae-pb-bar-skill,.eae-pb-bar-value{box-sizing:border-box}.eae-pb-bar{position:relative;height:100%;width:100%;overflow:hidden}.eae-pb-bar--no-overflow{overflow:visible}.eae-pb-bar-inner{position:absolute;top:0;left:0;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:left center;transform-origin:left center}.eae-pb-bar-inner.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:cubic-bezier(.1,1.14,.31,1.06);transition-delay:1.5s;-webkit-transform:scaleX(1);transform:scaleX(1)}.eae-pb-bar-skill,.eae-pb-bar-value{font-size:14px;letter-spacing:1px}.eae-pb-bar-value--aligned-value{-webkit-transform:translateX(-50%);transform:translateX(-50%)}.eae-progress-bar-skin1{height:20px;padding:4px;border:1px solid #ddd;border-radius:20px}.eae-pb-bar-skin1{border-radius:20px}.eae-pb-bar-inner-skin1{background-color:#00bfb3;background-size:200%;background-position:0 0;border-radius:20px}.eae-pb-bar-skill-skin1{position:absolute;bottom:20px;left:0;opacity:0}.eae-pb-bar-skill-skin1.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;left:0;opacity:1}.eae-pb-bar-value-skin1{position:absolute;bottom:20px;opacity:1;right:0}.eae-pb-bar-value-skin1.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;right:0;opacity:1}.eae-progress-bar-skin2{height:15px;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);border-radius:3px}@-webkit-keyframes progress-2-bg-animation{0%{background-position:0 0,0 0}100%{background-position:0 0,42px 0}}@keyframes progress-2-bg-animation{0%{background-position:0 0,0 0}100%{background-position:0 0,42px 0}}.eae-pb-bar-inner-skin2{background-image:linear-gradient(to top,rgba(255,255,255,.15),rgba(0,0,0,.2)),linear-gradient(135deg,#5eeb5b,#5eeb5b 33%,#358600 33%,#358600 66%,#5eeb5b 66%);background-size:100% 100%,42px 100%;background-position:0 0,0 0;border-radius:3px}.eae-pb-bar-inner-skin2.js-animated{-webkit-animation:progress-2-bg-animation 1.5s linear 0s infinite;animation:progress-2-bg-animation 1.5s linear 0s infinite}.eae-pb-bar-skill-skin2{position:absolute;left:0;opacity:0}.eae-pb-bar-skill-skin2.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;bottom:20px;opacity:1}.eae-pb-bar-value-skin2{position:absolute;right:0;opacity:0}.eae-pb-bar-value-skin2.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;bottom:20px;opacity:1}.eae-progress-bar-skin3{height:5px;background-color:#efefef}.eae-pb-bar-inner-skin3,.eae-pb-bar-value-skin3{background-color:#f40076}.eae-pb-bar-inner:after,.eae-pb-bar-value-skin3:after{border-top-color:#f40076}.eae-pb-bar-skill-skin3{position:absolute;bottom:10px;left:-10px;opacity:0}.eae-pb-bar-skill-skin3.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;left:0;opacity:1}.eae-pb-bar-value-skin3{position:absolute;display:inline-block;padding:0 8px;font-size:14px;color:#fff;opacity:0}.eae-pb-bar-value-skin3:after{position:absolute;left:50%;bottom:-10px;display:block;width:0;height:0;content:'';-webkit-transform:translateX(-50%);transform:translateX(-50%);border-width:5px;border-style:solid;border-color:#f40076 transparent transparent transparent}.eae-pb-bar-inner-skin3.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:cubic-bezier(.1,1.14,.31,1.06);transition-delay:1.5s;-webkit-transform:scaleX(1);transform:scaleX(1)}.eae-pb-bar-value-skin3.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:cubic-bezier(.1,1.14,.31,1.06);transition-delay:2s;bottom:14px;opacity:1}.eae-progress-bar-skin4{height:3px;background-color:#efefef}.eae-pb-bar-inner-skin4{background-color:#000}.eae-pb-bar-inner-skin4:after{position:absolute;top:50%;right:0;display:block;width:8px;height:8px;content:'';-webkit-transform:translateY(-50%);transform:translateY(-50%);background-color:#000;border-radius:50%}.eae-pb-bar-value-skin4{position:absolute;bottom:2px;font-size:14px;opacity:0}.eae-pb-bar-value-skin4.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:linear;transition-delay:1.5s;opacity:1}.eae-pb-bar-skill-skin4{position:absolute;bottom:2px;left:-20px;opacity:0}.eae-pb-bar-skill-skin4.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;left:0;opacity:1}.eae-progress-bar-skin5{height:30px;background-color:#f7f7f7}.eae-pb-bar-inner-skin5{background-color:#57b8ff}.eae-pb-bar-skill-skin5{position:absolute;top:50%;left:10px;color:#fff;-webkit-transform:translateY(-50%);transform:translateY(-50%);opacity:0}.eae-pb-bar-skill-skin5.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;opacity:1}.eae-pb-bar-value-skin5{position:absolute;top:50%;color:#fff;-webkit-transform:translateX(-100%) translateX(-10px) translateY(-50%);transform:translateX(-100%) translateX(-10px) translateY(-50%);opacity:0;z-index:10}.eae-pb-bar-value-skin5.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:linear;transition-delay:1.5s;opacity:1}.eae-dual-button-wrapper .eae-button-1-wrapper,.eae-dual-button-wrapper .eae-button-2-wrapper{overflow:hidden}.eae-dual-button-wrapper.button-style-horizontal{display:flex;flex-direction:row;position:relative}.eae-dual-button-main-wrapper{display:flex;flex-direction:row;justify-content:center}.eae-dual-button-wrapper a{min-width:0}.eae-dual-button-wrapper.button-style-vertical{display:inline-flex;flex-direction:column;position:relative}.eae-button-1.icon-before,.eae-button-2.icon-before{display:flex;flex-direction:row}.eae-button-1.icon-after,.eae-button-2.icon-after{display:flex;flex-direction:row-reverse}.eae-button-1-wrapper .eae-button-1,.eae-button-2-wrapper .eae-button-2{color:#000;align-items:center}.eae-button-1-wrapper:hover .eae-button-1,.eae-button-2-wrapper:hover .eae-button-2{color:#000}.eae-dual-button-wrapper.button-style-vertical .eae-button-1.icon-after,.eae-dual-button-wrapper.button-style-vertical .eae-button-1.icon-before,.eae-dual-button-wrapper.button-style-vertical .eae-button-2.icon-after,.eae-dual-button-wrapper.button-style-vertical .eae-button-2.icon-before{justify-content:center}.eae-button-1.icon-up,.eae-button-2.icon-up{display:flex;flex-direction:column;text-align:center}.eae-button-1.icon-down,.eae-button-2.icon-down{display:flex;flex-direction:column-reverse;text-align:center}.eae-button-1-wrapper{background:#ffb6c1;display:flex;justify-content:center;width:100%;line-height:1}.eae-button-2-wrapper{background:orange;display:flex;justify-content:center;width:100%;line-height:1}.eae-button-1.icon-up .icon-wrapper,.eae-button-2.icon-down .icon-wrapper,.eae-button-2.icon-up .icon-wrapper{text-align:center}.eae-button-1.icon-up .eae-button-text,.eae-button-2.icon-down .eae-button-text,.eae-button-2.icon-up .eae-button-text{text-align:center}.eae-button-1.icon-before i,.eae-button-2.icon-after i,.eae-button-2.icon-before i{align-self:center;margin:0 10px 0 0}.eae-button-1.icon-after i,.eae-button-2.icon-after i{align-self:center;margin:0 0 0 10px}.eae-button-1.icon-down i,.eae-button-1.icon-up i,.eae-button-2.icon-down i,.eae-button-2.icon-up i{align-self:center;margin:5px 0}.eae-dual-button-wrapper.button-style-horizontal .eae-button-1-wrapper,.eae-dual-button-wrapper.button-style-horizontal .eae-button-2-wrapper{padding:12px 30px}.eae-dual-button-wrapper.button-style-vertical .eae-button-1-wrapper,.eae-dual-button-wrapper.button-style-vertical .eae-button-2-wrapper{padding:20px 30px}.eae-button1,.eae-button2{position:relative;display:flex}.eae-dual-button-wrapper.button-style-horizontal .eae-button1,.eae-dual-button-wrapper.button-style-horizontal .eae-button2{min-width:150px}.eae-dual-button-wrapper.button-style-vertical .eae-button1{display:flex;flex-direction:column}.eae-button-separator-wrapper .eae-button-separator{width:40px;height:40px;line-height:40px;border-radius:50%;z-index:1;box-shadow:0 0 0 6px rgba(255,255,255,.2);background:#fafaf8;color:#444;text-transform:uppercase;text-align:center;vertical-align:middle;font-weight:400;font-size:14px;position:absolute;transform:translateY(-50%)}.eae-button-separator span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.eae-sweep-right{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.3s;transition-duration:.3s}.eae-sweep-right:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:0 50%;transform-origin:0 50%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-sweep-right:active,.eae-sweep-right:focus,.eae-sweep-right:hover{color:#fff}.eae-sweep-right:active:before,.eae-sweep-right:focus:before,.eae-sweep-right:hover:before{-webkit-transform:scaleX(1);transform:scaleX(1)}.eae-sweep-left{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.3s;transition-duration:.3s}.eae-sweep-left:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:100% 50%;transform-origin:100% 50%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-sweep-left:active,.eae-sweep-left:focus,.eae-sweep-left:hover{color:#fff}.eae-sweep-left:active:before,.eae-sweep-left:focus:before,.eae-sweep-left:hover:before{-webkit-transform:scaleX(1);transform:scaleX(1)}.eae-sweep-bottom{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.3s;transition-duration:.3s}.eae-sweep-bottom:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-sweep-bottom:active,.eae-sweep-bottom:focus,.eae-sweep-bottom:hover{color:#fff}.eae-sweep-bottom:active:before,.eae-sweep-bottom:focus:before,.eae-sweep-bottom:hover:before{-webkit-transform:scaleY(1);transform:scaleY(1)}.eae-sweep-top{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.3s;transition-duration:.3s}.eae-sweep-top:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-sweep-top:active,.eae-sweep-top:focus,.eae-sweep-top:hover{color:#fff}.eae-sweep-top:active:before,.eae-sweep-top:focus:before,.eae-sweep-top:hover:before{-webkit-transform:scaleY(1);transform:scaleY(1)}.eae-bounce-right{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.5s;transition-duration:.5s}.eae-bounce-right:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:0 50%;transform-origin:0 50%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-bounce-right:active,.eae-bounce-right:focus,.eae-bounce-right:hover{color:#fff}.eae-bounce-right:active:before,.eae-bounce-right:focus:before,.eae-bounce-right:hover:before{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transition-timing-function:cubic-bezier(.52,1.64,.37,.66);transition-timing-function:cubic-bezier(.52,1.64,.37,.66)}.eae-bounce-left{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.5s;transition-duration:.5s}.eae-bounce-left:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:100% 50%;transform-origin:100% 50%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-bounce-left:active,.eae-bounce-left:focus,.eae-bounce-left:hover{color:#fff}.eae-bounce-left:active:before,.eae-bounce-left:focus:before,.eae-bounce-left:hover:before{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transition-timing-function:cubic-bezier(.52,1.64,.37,.66);transition-timing-function:cubic-bezier(.52,1.64,.37,.66)}.eae-bounce-bottom{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.5s;transition-duration:.5s}.eae-bounce-bottom:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-bounce-bottom:active,.eae-bounce-bottom:focus,.eae-bounce-bottom:hover{color:#fff}.eae-bounce-bottom:active:before,.eae-bounce-bottom:focus:before,.eae-bounce-bottom:hover:before{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition-timing-function:cubic-bezier(.52,1.64,.37,.66);transition-timing-function:cubic-bezier(.52,1.64,.37,.66)}.eae-bounce-top{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.5s;transition-duration:.5s}.eae-bounce-top:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-bounce-top:active,.eae-bounce-top:focus,.eae-bounce-top:hover{color:#fff}.eae-bounce-top:active:before,.eae-bounce-top:focus:before,.eae-bounce-top:hover:before{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition-timing-function:cubic-bezier(.52,1.64,.37,.66);transition-timing-function:cubic-bezier(.52,1.64,.37,.66)}.eae-markers .marker{display:none}.eae-markers p{margin-bottom:0}.eae-fg-wrapper{display:flex;flex-direction:column;overflow:hidden}.eae-gallery-filter{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.eae-filter-label{padding:5px 10px;background-color:#a0ce4e;color:#fff;margin:0 3px 0 3px}.eae-filter-label.current{background-color:#73b9dc}.eae-fg-image{display:flex;flex-wrap:wrap;flex-direction:row}.eae-fg-wrapper .eae-gallery-item-inner img{width:100%;height:auto;display:block!important;transition:all .5s ease;-webkit-transition:all .5s ease}.eae-gallery-item{height:auto}.eae-gallery-filter a{color:#fff;text-decoration:none}.eae-gallery-filter a.current{font-weight:700}.eae-gallery-item-inner{position:relative;overflow:hidden}.eae-overlay-always .eae-gallery-item .eae-grid-overlay{display:block}.eae-overlay-hover .eae-gallery-item-inner:hover .eae-grid-overlay{display:block}.eae-overlay-hide-on-hover .eae-gallery-item-inner:hover .eae-grid-overlay{display:none}.eae-overlay-hide-on-hover .eae-grid-overlay{display:block}.eae-grid-overlay{position:absolute;top:0;left:0;display:none;z-index:99;background:rgba(0,0,0,.5);height:100%;width:100%}.eae-grid-overlay-inner{display:block;position:relative;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.eae-fg-wrapper .eae-icon-wrapper{display:flex;justify-content:center}.eae-overlay-caption{display:block;line-height:1em;margin-top:15px;color:#73b9dc}.eae-overlay-icon{line-height:1em;padding:.5em;display:inline-block}.eae-overlay-icon svg{height:auto}.eae-icon-view-framed .eae-overlay-icon{padding:.5em;color:#73b9dc;border:3px solid #73b9dc;background-color:transparent}.eae-icon-view-stacked .eae-overlay-icon{padding:.5em;color:#fff;background-color:#818a91}.eae-hover-direction-effect .eae-grid-overlay{position:absolute;z-index:99;background:rgba(0,0,0,.5);height:100%;width:100%}.eae-fg-wrapper.eae-image-ratio-yes .eae-gallery-item-inner .eae-fg-img-wrapper{position:relative;top:0;overflow:hidden;left:0;right:0;border:0}.eae-fg-wrapper.eae-image-ratio-yes .eae-gallery-item-inner .eae-fg-img-wrapper img{height:100%;width:100%;display:block;position:absolute;top:0;left:0;object-fit:cover}.wts-eae-ribbons-badges-wrapper{display:none}.wts-eae-enable-ribbons-badges-yes .elementor-column-wrap>.wts-eae-ribbons-badges-wrapper{display:block}.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-ribbon>.wts-eae-ribbons-badges-wrapper{position:absolute;top:0;left:auto;right:0;-ms-transform:rotate(90deg);width:150px;overflow:hidden;height:150px;z-index:999;padding:8px 12px}.wts-eae-badge-h-left.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-ribbon>.wts-eae-ribbons-badges-wrapper{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);left:0;right:auto}.wts-eae-badge-h-right.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-ribbon>.wts-eae-ribbons-badges-wrapper{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(90deg);left:auto;right:0}.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-ribbon>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{position:absolute;text-align:center;left:0;top:0;width:200%;-webkit-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);-ms-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);margin-top:35px;font-size:13px;line-height:2;font-weight:800;text-transform:uppercase;background:rgba(63,195,135,.8);padding:8px 12px}.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-badge>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{min-height:3.236em;min-width:3.236em;padding:0;font-size:1em;font-weight:700;position:absolute;text-align:center;line-height:3.236;top:-.5em;left:-.5em;margin:0;border-radius:100%;background-color:#77a464;color:#fff;font-size:.857em;z-index:9}.wts-eae-badge-h-left.wts-eae-badge-v-bottom.wts-eae-enable-ribbons-badges-yes>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{left:20px;right:auto;top:auto;bottom:20px}.wts-eae-badge-h-left.wts-eae-badge-v-top.wts-eae-enable-ribbons-badges-yes>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{left:20px;right:auto;top:20px;bottom:auto}.wts-eae-badge-h-right.wts-eae-badge-v-bottom.wts-eae-enable-ribbons-badges-yes>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{left:auto;right:20px;top:auto;bottom:20px}.wts-eae-badge-h-right.wts-eae-badge-v-top.wts-eae-enable-ribbons-badges-yes>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{left:auto;right:20px;top:20px;bottom:auto}.eae-flip-box-back svg,.eae-flip-box-front svg{width:25px;height:auto}.wts-eae-textseparator svg{width:25px;height:auto}.eae-img-comp-slider svg{width:22px;height:auto}.eae-popup-link svg{display:inline-block;width:1em}.eae-popup svg:focus,.eae-popup svg:hover{opacity:1;cursor:pointer}.eae-popup svg:active{top:1px}.eae-popup svg.eae-close{width:28px;height:28px;line-height:1em;text-decoration:none;text-align:center;opacity:1;background-color:#fff}.eae-dual-button-wrapper svg{width:1em;height:auto;display:block}eae-button-separator i{position:relative;display:block}.eae-button-1.icon-before svg,.eae-button-2.icon-after svg,.eae-button-2.icon-before svg{align-self:center;margin:0 10px 0 0}.eae-button-1.icon-after svg,.eae-button-2.icon-after svg{align-self:center;margin:0 0 0 10px}.eae-button-1.icon-down svg,.eae-button-1.icon-up svg,.eae-button-2.icon-down svg,.eae-button-2.icon-up svg{align-self:center;margin:5px 0}.eae-pt-button-wrapper a svg{width:1em}.eae-pt-action-button .eae-pt-align-icon-left{float:left}.eae-pt-action-button .eae-pt-align-icon-right{float:right}.eae-icon-wrap svg{width:20px;height:auto;font-size:20px;display:block}.eae-info-circle .eae-icon-wrap svg{width:20px;height:auto;font-size:20px}.eae-icon-view-stacked svg{fill:#fff}.ae-link-yes{cursor:pointer}.eae-element-unfold-content{padding:10px 0;background-color:#d3d3D3C4;width:100%;position:absolute;left:0;bottom:0;z-index:999}a.eae-unfold-link{background-color:#61ce70;color:#fff;display:inline-block;overflow:hidden}a.eae-unfold-link svg{background-color:#fff}.eae-unfold-button-icon{vertical-align:middle}.eae-fold-yes .elementor-column-wrap,.eae-fold-yes.elementor-section .elementor-container,.eae-fold-yes.elementor-widget{overflow:hidden}body.elementor-editor-active .elementor.elementor-edit-mode .elementor-element.elementor-section.eae-widget-unfold-yes .elementor-container,body.elementor-editor-preview .elementor.elementor-edit-mode .elementor-element.elementor-section.eae-widget-unfold-yes .elementor-container{overflow:hidden}body.elementor-editor-active .elementor.elementor-edit-mode .elementor-element.elementor-column.eae-widget-unfold-yes .elementor-column-wrap,body.elementor-editor-preview .elementor.elementor-edit-mode .elementor-element.elementor-column.eae-widget-unfold-yes .elementor-column-wrap{overflow:hidden}body.elementor-editor-active .elementor.elementor-edit-mode .elementor-element.elementor-widget.eae-widget-unfold-yes,body.elementor-editor-preview .elementor.elementor-edit-mode .elementor-element.elementor-widget.eae-widget-unfold-yes{overflow:hidden}.eae-widget-unfold-yes .elementor-widget-container .eae-fold-yes.eae-rc{display:none!important}.eae-unfold-button-icon svg{line-height:1em;text-decoration:none;-webkit-mask-repeat:no-repeat!important;text-align:center;opacity:1}.eae-fold-icon-type-svg .eae-unfold-button-icon,.eae-unfold-icon-type-svg .eae-unfold-button-icon{-webkit-mask-size:cover!important;background-image:none;transform:translateY(-50%)}.elementor-section.elementor-section-items-bottom.eae-widget-unfold-yes>.elementor-container,.elementor-section.elementor-section-items-middle.eae-widget-unfold-yes>.elementor-container{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:start}.elementor-section.elementor-section-content-bottom.eae-widget-unfold-yes>.elementor-container,.elementor-section.elementor-section-content-middle.eae-widget-unfold-yes>.elementor-container{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:start}.elementor-widget-wts-modal-popup.eae-pop-btn-type-image .eae-popup-link{padding:0;background-color:transparent;overflow:hidden}
1
+ .elementor-widget-wts-textseparator .elementor-widget-container{overflow:hidden}.wts-eae-textseparator{align-items:center;display:flex;flex-flow:row nowrap;margin:auto}.eae-separator-icon-inner i{height:1em;width:1em;text-align:center;position:relative;display:block}.eae-separator-icon-inner i:before{position:absolute;left:50%;-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%);transform:translateX(-50%)}.wts-eae-textseparator .eae-sep-holder{flex:1 1 auto;height:1px;min-width:10%;position:relative}.wts-eae-textseparator .eae-sep-holder .eae-sep-lines{border-top-width:1px;display:block;height:1px;position:relative;top:1px;width:100%}.eae-separator-title{margin:0;-moz-box-flex:0;flex:0 1 auto;line-height:1em;margin:0;overflow-wrap:break-word}.sep-align-right .sep-right{display:none}.sep-align-left .sep-left{display:none}.eae-icon-view-stacked i{color:#fff}.eae-icon-view-framed .eae-separator-icon-inner{border:1px solid}.eae-icon-shape-circle .eae-separator-icon-inner{border-radius:50%}.eae-separator-icon-wrapper,.eae-separator-title{margin:0 5px!important}.eae-separator-icon-inner{line-height:1}.wts-price-box-wrapper .eae-pt-heading,.wts-price-box-wrapper .eae-pt-sub-heading{margin:5px 0;text-align:center}.plan-price-shape{display:table;height:6em;margin:auto;width:6em}.eae-pt-price-box-shape-circle .plan-price-shape,.eae-pt-price-box-shape-square .plan-price-shape{border:1px solid}.eae-pt-price-box-shape-circle .plan-price-shape{border-radius:50%}.plan-price-block{padding:10px 0}.plan-price-shape-inner{display:table-cell;vertical-align:middle;padding:10px}.plan-price-shape-inner>span{display:block;font-size:1em;text-align:center}.eae-pt-feature-list{list-style:outside none none;text-align:center;margin:10px 0}.eae-pt-button-wrapper>a{text-align:center;display:inline-block;line-height:1}.eae-pt-button-wrapper{text-align:center}.wts-price-box-wrapper .heading-wrapper,.wts-price-box-wrapper .plan-features-wrapper{padding:10px 5px}.eae-pt-button-wrapper{padding:15px 0}.eae-pt-button-wrapper a{padding:5px 15px;border-radius:3px}.eae-pt-align-icon-right{float:right}.strike-feature{text-decoration:line-through}.eae-flip-box{width:100%;text-align:center}.eae-flip-box-wrapper{display:inline-block;width:100%}.eae-flip-box-inner{width:100%;height:200px;position:relative;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d}.eae-flip-box-inner .eae-flip-box-back,.eae-flip-box-inner .eae-flip-box-front{width:100%;height:100%;position:absolute;top:0;left:0;text-align:center;padding:10px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:all .6s ease 0s;-moz-transition:all .6s ease 0s;-ms-transition:all .6s ease 0s;-o-transition:all .6s ease 0s;transition:all .6s ease 0s}.eae-flip-box-front{z-index:2}.eae-flip-box-back{z-index:1}.eae-fb-animate-vertical .eae-flip-box-inner .eae-flip-box-front{-webkit-transform:perspective(1000px) rotateX(0);-ms-transform:perspective(1000px) rotateX(0);transform:perspective(1000px) rotateX(0)}.eae-fb-animate-vertical .eae-flip-box-inner .eae-flip-box-back{-webkit-transform:perspective(1000px) rotateX(180deg);transform:perspective(1000px) rotateX(180deg);-ms-transform:perspective(1000px) rotateX(180deg)}.eae-fb-animate-vertical .eae-flip-box-inner:hover .eae-flip-box-front{-webkit-transform:perspective(1000px) rotateX(180deg);transform:perspective(1000px) rotateX(180deg);-ms-transform:perspective(1000px) rotateX(180deg)}.eae-fb-animate-vertical .eae-flip-box-inner:hover .eae-flip-box-back{-webkit-transform:perspective(1000px) rotateX(0);transform:perspective(1000px) rotateX(0);-ms-transform:perspective(1000px) rotateX(0)}.eae-fb-animate-horizontal .eae-flip-box-inner .eae-flip-box-front{-webkit-transform:perspective(1000px) rotateY(0);transform:perspective(1000px) rotateY(0);-ms-transform:perspective(1000px) rotateY(0)}.eae-fb-animate-horizontal .eae-flip-box-inner .eae-flip-box-back{-webkit-transform:perspective(1000px) rotateY(180deg);transform:perspective(1000px) rotateY(180deg);-ms-transform:perspective(1000px) rotateY(180deg)}.eae-fb-animate-horizontal .eae-flip-box-inner:hover .eae-flip-box-front{-webkit-transform:perspective(1000px) rotateY(180deg);transform:perspective(1000px) rotateY(180deg);-ms-transform:perspective(1000px) rotateY(180deg)}.eae-fb-animate-horizontal .eae-flip-box-inner:hover .eae-flip-box-back{-webkit-transform:perspective(1000px) rotateY(0);transform:perspective(1000px) rotateY(0);-ms-transform:perspective(1000px) rotateY(0)}.eae-fb-animate-fade .eae-flip-box-inner .eae-flip-box-front{opacity:1}.eae-fb-animate-fade .eae-flip-box-inner .eae-flip-box-back{opacity:0}.eae-fb-animate-fade .eae-flip-box-inner:hover .eae-flip-box-front{opacity:0}.eae-fb-animate-fade .eae-flip-box-inner:hover .eae-flip-box-back{opacity:1}.eae-flip-box-wrapper:focus .eae-flip-box-back,.eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:2}.eae-flip-box-wrapper:focus .eae-flip-box-front,.eae-flip-box-wrapper:hover .eae-flip-box-front{z-index:1}.fade .eae-flip-box-wrapper .eae-flip-box-front{opacity:1;transition:1s}.fade .eae-flip-box-wrapper .eae-flip-box-back{opacity:0;transition:1s}.fade .eae-flip-box-wrapper:focus .eae-flip-box-front,.fade .eae-flip-box-wrapper:hover .eae-flip-box-front{opacity:0}.fade .eae-flip-box-wrapper:focus .eae-flip-box-back,.fade .eae-flip-box-wrapper:hover .eae-flip-box-back{opacity:1}.eae-fb-animate-flip .eae-flip-box-wrapper{perspective:800px}.eae-fb-animate-flip .eae-flip-box-inner{transform-style:preserve-3d;transform:rotateX(0) rotateY(0) rotateZ(0);transition:1s}.eae-fb-animate-flip .eae-flip-box-front{transform:translate3d(0,0,1px)}.eae-fb-animate-flip .eae-flip-box-back{transform:rotateY(180deg) translate3d(0,0,0)}.eae-fb-animate-flip .eae-flip-box-wrapper:focus .eae-flip-box-inner,.eae-fb-animate-flip .eae-flip-box-wrapper:hover .eae-flip-box-inner{transform:rotateY(180deg)}.up .eae-flip-box-front{transform:translate3d(0,0,1px)}.up .eae-flip-box-back{transform:rotateX(180deg) translate3d(0,0,0)}.up .eae-flip-box-wrapper:focus .eae-flip-box-inner,.up .eae-flip-box-wrapper:hover .eae-flip-box-inner{transform:rotateX(180deg)}.box .eae-flip-box-front{transform:translate3d(0,0,100px) scale(.85,.85)}.box .eae-flip-box-back{transform:rotateY(180deg) translate3d(0,0,100px) scale(.85,.85)}.box.up .eae-flip-box-back{transform:rotateX(180deg) translate3d(0,0,100px) scale(.85,.85)}.hideback .eae-flip-box-back,.hideback .eae-flip-box-front{backface-visibility:hidden}.eae-fb-animate-nananana .eae-flip-box-wrapper:focus .eae-flip-box-front,.eae-fb-animate-nananana .eae-flip-box-wrapper:hover .eae-flip-box-front{z-index:10;animation:batman 1s 2 alternate linear}.eae-fb-animate-flipcard .eae-flip-box-back,.eae-fb-animate-flipcard .eae-flip-box-front{transition:transform .4s ease;transform-origin:center center -150px;-webkit-transform-origin:center center -150px}.flipcard-rotate-top-down .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-top-down .eae-flip-box-back{transform:perspective(0) rotateX(90deg) rotateY(0) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-top-down .eae-flip-box-wrapper:hover .eae-flip-box-front{transform:perspective(0) rotateX(-90deg) rotateY(0) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-top-down .eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:99999;transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-down-top .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-down-top .eae-flip-box-back{transform:perspective(0) rotateX(-90deg) rotateY(0) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-down-top .eae-flip-box-wrapper:hover .eae-flip-box-front{transform:perspective(0) rotateX(90deg) rotateY(0) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-down-top .eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:99999;transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-left-right .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-left-right .eae-flip-box-back{transform:perspective(0) rotateX(0) rotateY(-90deg) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-left-right .eae-flip-box-wrapper:hover .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(90deg) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-left-right .eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:99999;transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-right-left .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}.flipcard-rotate-right-left .eae-flip-box-back{transform:perspective(0) rotateX(0) rotateY(90deg) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-right-left .eae-flip-box-wrapper:hover .eae-flip-box-front{transform:perspective(0) rotateX(0) rotateY(-90deg) rotateZ(0)}.eae-fb-animate-flipcard.flipcard-rotate-right-left .eae-flip-box-wrapper:hover .eae-flip-box-back{z-index:99999;transform:perspective(0) rotateX(0) rotateY(0) rotateZ(0)}@keyframes batman{0%{transform:scale(1,1) rotateZ(0)}100%{transform:scale(0,0) rotateZ(720deg);opacity:0}}.eae-flip-box-back i,.eae-flip-box-front i{font-size:32px;height:1em;width:1em;position:relative;display:block}.eae-flip-box-back i:before,.eae-flip-box-front i:before{position:absolute;left:50%;-webkit-transform:translate(-50%);-moz-transform:translate(-50%);-ms-transform:translate(-50%);-o-transform:translate(-50%);transform:translate(-50%)}.eae-fb-icon-view-framed{border:1px solid #92be43}.eae-fb-icon-shape-circle{border-radius:50%}.eae-flip-box-wrapper .icon-wrapper{display:inline-block;padding:10px;line-height:1}.eae-flip-box-wrapper .back-icon-title,.eae-flip-box-wrapper .front-icon-title{margin:10px auto;color:#fff}.eae-flip-box-wrapper .flipbox-content{display:block;position:relative;top:50%;transform:translateY(-50%);-ms-transform:translateY(-50%)}.flipbox-content p{margin-bottom:10px}.eae-fb-button{display:inline-block;padding:5px 10px}.eae-flip-box-front{background:#a0ce4e}.eae-flip-box-back{background:#73b9dc}@media only screen and (max-width:768px){.eae-flip-box-back,.eae-flip-box-front,.flipbox-content{cursor:pointer;overflow:visible!important;transform-style:preserve-3d;-webkit-transform-style:preserve-3d}}.elementor-widget-wts-shape-separator svg{display:block}.wts-eae-pl-wrapper ul{margin:0}.wts-eae-pl-wrapper ul li{list-style:none;overflow:hidden;margin-bottom:10px}.eae-pl-img-align-none .eae-pl-image-wrapper a{text-align:center}.eae-pl-title{margin:0}.eae-pl-title a{display:block}.eae-pl-readmore a{display:inline-block;border-radius:2px;color:#fff;padding:4px 8px}.eae-at-animation-text-wrapper{display:inline-block;position:relative;text-align:left}.eae-at-animation-text-wrapper .eae-at-animation-text{display:inline-block;position:absolute;white-space:nowrap;left:0;top:0}.eae-at-animation-text-wrapper .eae-at-animation-text.is-visible{position:relative}.no-js .eae-at-animation-text-wrapper .eae-at-animation-text{opacity:0}.no-js .eae-at-animation-text-wrapper .eae-at-animation-text.is-visible{opacity:1}.eae-animtext-wrapper{font-size:40px}.eae-st-rest-text{display:inline-block}.eae-st-split-text{display:inline-block}.eae-at-animation.type .eae-at-animation-text-wrapper{vertical-align:bottom;overflow:hidden}.eae-at-animation.type .eae-at-animation-text-wrapper::after{content:'';position:absolute;right:0;top:50%;bottom:auto;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);height:90%;width:1px}.eae-at-animation.type .eae-at-animation-text-wrapper.waiting::after{-webkit-animation:cd-pulse 1s infinite;-moz-animation:cd-pulse 1s infinite;animation:cd-pulse 1s infinite}.eae-at-animation.type .eae-at-animation-text-wrapper.selected::after{visibility:hidden}.eae-at-animation.type .eae-at-animation-text{visibility:hidden}.eae-at-animation.type .eae-at-animation-text.is-visible{visibility:visible}.eae-at-animation.type i{position:absolute;visibility:hidden}.eae-at-animation.type i.in{position:relative;visibility:visible}@-webkit-keyframes cd-pulse{0%{-webkit-transform:translateY(-50%) scale(1);opacity:1}40%{-webkit-transform:translateY(-50%) scale(.9);opacity:0}100%{-webkit-transform:translateY(-50%) scale(0);opacity:0}}@-moz-keyframes cd-pulse{0%{-moz-transform:translateY(-50%) scale(1);opacity:1}40%{-moz-transform:translateY(-50%) scale(.9);opacity:0}100%{-moz-transform:translateY(-50%) scale(0);opacity:0}}@keyframes cd-pulse{0%{-webkit-transform:translateY(-50%) scale(1);-moz-transform:translateY(-50%) scale(1);-ms-transform:translateY(-50%) scale(1);-o-transform:translateY(-50%) scale(1);transform:translateY(-50%) scale(1);opacity:1}40%{-webkit-transform:translateY(-50%) scale(.9);-moz-transform:translateY(-50%) scale(.9);-ms-transform:translateY(-50%) scale(.9);-o-transform:translateY(-50%) scale(.9);transform:translateY(-50%) scale(.9);opacity:0}100%{-webkit-transform:translateY(-50%) scale(0);-moz-transform:translateY(-50%) scale(0);-ms-transform:translateY(-50%) scale(0);-o-transform:translateY(-50%) scale(0);transform:translateY(-50%) scale(0);opacity:0}}.eae-img-comp-container{width:100%;position:relative;text-align:center}.eae-img-comp-container img{vertical-align:middle}.eae-img-comp-img{position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;transform:translateZ(0);backface-visibility:hidden}.eae-img-comp-img img{display:block;max-width:100%;width:100%}.eae-img-comp-slider{position:absolute;z-index:9;width:40px;height:40px;background-color:#2196f3;opacity:1;border-radius:50%}.icon-horizontal{cursor:ew-resize}.icon-vertical{cursor:n-resize}.mode-horizontal .eae-img-comp-overlay img{position:absolute;left:0;top:0;display:block;width:auto;height:100%!important;max-width:none!important}.mode-vertical .eae-img-comp-overlay img{position:absolute;left:0;top:0;display:block;width:100%;height:auto!important;max-width:none!important}.eae-img-comp-slider svg,.eae-slider-icon{top:50%;transform:translateY(-50%) translateX(-50%);position:absolute;left:50%;color:#fff}.elementor-widget-wts-ab-image{text-align:center}.elementor-widget-wts-ab-image .elementor-widget-container{display:inline-block;margin:0 auto!important;overflow:hidden}.eae-text-before{position:absolute!important;padding:10px;transition:transform .3s .7s,opacity .3s .7s;color:#d36118;z-index:0;background:rgba(255,255,255,.5);margin:20px}.eae-text-after{position:absolute!important;padding:10px;transition:transform .3s .7s,opacity .3s .7s;color:#d36118;z-index:0;background:rgba(255,255,255,.5);margin:20px}.divTest{display:inline-block;background-color:#00a0d2;padding:20px}.eae-particle-wrapper{position:absolute;left:0;top:0}.eae-particle-wrapper.eae-particle-area{width:100%;height:100%}body:not(.elementor-editor-active) .eae-particle-wrapper{width:100%;height:100%}body:not(.elementor-editor-active) .eae-particle-wrapper .particles-js-canvas-el{height:100%;position:absolute;z-index:0}.eae-section-bs{position:absolute;width:100%;height:100%;top:0}.eae-section-bs-inner{width:100%;height:100%!important}.eae-popup.mfp-bg{top:0;left:0;width:100%;height:100%;z-index:1042;overflow:hidden;position:fixed;background:#0b0b0b;opacity:.8}.eae-popup-link{padding:12px 24px;color:#fff;display:inline-flex;line-height:1}.eae-popup-link svg{fill:#fff}.eae-popup-link:hover{color:#fff}.eae-popup.mfp-wrap{top:0;left:0;width:100%;height:100%;z-index:1043;position:fixed;outline:0!important;-webkit-backface-visibility:hidden}.eae-popup .mfp-container{text-align:center;position:absolute;width:100%;height:100%;left:0;top:0;padding:0 8px;box-sizing:border-box}.eae-popup .mfp-container:before{content:'';display:inline-block;height:100%;vertical-align:middle}.eae-popup .mfp-align-top .mfp-container:before{display:none}.eae-popup .mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1045}.eae-modal-content{padding:20px}.eae-pop-btn-align-left .eae-popup-wrapper{text-align:left}.eae-pop-btn-align-right .eae-popup-wrapper{text-align:right}.eae-pop-btn-align-center .eae-popup-wrapper{text-align:center}.eae-pop-btn-align-justify .eae-popup-wrapper{text-align:center}.eae-pop-btn-align-justify .eae-popup-wrapper a{display:block}.eae-popup .mfp-ajax-holder .mfp-content,.eae-popup .mfp-inline-holder .mfp-content{width:50%;background-color:#fff;cursor:auto;overflow:hidden}.eae-popup .mfp-ajax-cur{cursor:progress}.eae-popup .mfp-zoom-out-cur,.eae-popup .mfp-zoom-out-cur .mfp-image-holder .eae-close{cursor:-moz-zoom-out;cursor:-webkit-zoom-out;cursor:zoom-out}.eae-popup .mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.eae-popup.mfp-auto-cursor .mfp-content{cursor:auto}.eae-popup .eae-close,.eae-popup .mfp-arrow,.eae-popup .mfp-counter,.eae-popup .mfp-preloader{-webkit-user-select:none;-moz-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.eae-popup .mfp-preloader{color:#ccc;position:absolute;top:50%;width:auto;text-align:center;margin-top:-.8em;left:8px;right:8px;z-index:1044}.eae-popup .mfp-preloader a{color:#ccc}.eae-popup .mfp-preloader a:hover{color:#fff}.mfp-s-ready .mfp-preloader{display:none}.mfp-s-error .mfp-content{display:none}button.eae-close,button.mfp-arrow{overflow:visible;cursor:pointer;background:0 0;border:0;-webkit-appearance:none;display:block;outline:0;padding:0;z-index:1046;box-shadow:none;touch-action:manipulation}button::-moz-focus-inner{padding:0;border:0}.eae-popup .eae-close{width:28px;height:28px;line-height:1em;position:absolute;right:10px;top:10px;text-decoration:none;text-align:center;opacity:1;color:#fff;font-size:28px;z-index:1500}.eae-close:focus,.eae-close:hover{opacity:1;cursor:pointer}.eae-close:active{top:1px}.eae-close:before{top:50%;left:50%;position:absolute;transform:translate(-50%,-50%)}.eae-popup.eae-close-btn-in .eae-close{color:#fff}.mfp-iframe-holder .eae-close,.mfp-image-holder .eae-close{color:#fff;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#ccc;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{position:absolute;opacity:.65;margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:transparent}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:focus,.mfp-arrow:hover{opacity:1}.mfp-arrow:after,.mfp-arrow:before{content:'';display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:medium inset transparent}.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left:after{border-right:17px solid #fff;margin-left:31px}.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-arrow-right{right:0}.mfp-arrow-right:after{border-left:17px solid #fff;margin-left:39px}.mfp-arrow-right:before{border-left:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .eae-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;line-height:0;box-sizing:border-box;padding:40px 0 40px;margin:0 auto}.eae-popup .mfp-figure{line-height:0}.eae-popup .mfp-figure:after{content:'';position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6);background:#444}.eae-popup .mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.eae-popup .mfp-figure figure{margin:0}.eae-popup .mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.eae-popup .mfp-title{text-align:left;line-height:1;word-wrap:break-word;color:#fff;background-color:#4054b2;padding:20px 20px 20px 20px}.eae-popup .mfp-image-holder .mfp-content{max-width:100%}.eae-popup .mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .eae-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}.elementor-element.eae-animated-gradient-yes,.elementor-element.eae-animated-gradient-yes .animated-gradient{background-size:400% 400%!important;-webkit-animation:AnimateGradient 15s ease-in-out infinite;-moz-animation:AnimateGradient 15s ease-in-out infinite;animation:AnimateGradient 15s ease-in-out infinite}.animated-gradient{position:absolute;top:0;left:0;height:100%;width:100%}@-webkit-keyframes AnimateGradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}@-moz-keyframes AnimateGradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}@keyframes AnimateGradient{0%{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}.eae-swiper-outer-wrapper .swiper-slide{height:auto;overflow:inherit}.eae-swiper-outer-wrapper .swiper-slide-wrapper,.eae-swiper-outer-wrapper .testimonial-wrapper{height:100%}.eae-grid{display:flex;flex-wrap:wrap;flex-direction:row}.eae-masonry- .eae-grid-item{position:relative;height:100%}.eae-masonry- .eae-grid-item .testimonial-wrapper{height:100%}.eae-grid-container{transition:.1s all ease}.eae-grid-container{display:inline-block}.wrapper .content{margin:10px 0}.skin-2.testimonial-wrapper{display:flex;flex-direction:column;background-color:#9c989821;min-height:300px;padding:10px 20px;box-shadow:0 0 5px rgba(0,0,0,.15);color:#696969}.skin-2 .content-wrapper{padding:10px;position:relative;background-color:#fff;border-radius:10px;color:#77778e}.skin-2 i.after-content,.skin-2 i.before-content{position:absolute}.skin-2 i.before-content{top:10px;left:20px}.skin-2 i.after-content{bottom:10px;right:20px}.skin-2 blockquote{position:relative;font-size:14px;padding:10px;font-weight:500;text-align:left;margin:0;line-height:1.6em;font-style:italic}.skin-2 blockquote::after,.skin-2 blockquote::before{font-family:FontAwesome;content:"\201C";position:absolute;font-size:50px;opacity:.3;font-style:normal}.skin-2 blockquote::before{top:10px;left:20px}.skin-2 blockquote::after{content:"\201D";right:20px}.skin-2 .image-wrapper{position:relative;max-width:100%;text-align:center}.skin-2 img{width:100px;border-radius:25%}.skin-2 .detail-wrapper{text-align:center}.skin-2 .company,.skin-2 .designation,.skin-2 .rating-wrapper,.skin-2 .title{padding:5px 0}.skin-2 .rating-wrapper{color:navy}.skin-2 .title{font-weight:800;color:#000}.skin-2 blockquote p{margin:10px 0!important}.skin-1.testimonial-wrapper{display:flex;flex-direction:column;background-color:#fff;box-shadow:0 0 5px rgba(0,0,0,.15);color:#000}.skin-1 .content-wrapper{order:0}.skin-1 .image-wrapper{order:1;text-align:center;margin:15px 0}.skin-1 .detail-wrapper{order:2}.skin-1 .content-wrapper{padding:10px;position:relative}.skin-1 i.after-content,.skin-1 i.before-content{position:absolute}.skin-1 i.before-content{top:10px;left:20px}.skin-1 i.after-content{bottom:10px;right:20px}.skin-1 blockquote{position:relative;background-color:#fff;font-size:14px;padding:10px;font-weight:500;text-align:left;margin:0;line-height:1.6em;font-style:italic}.skin-1 blockquote::after,.skin-1 blockquote::before{font-family:FontAwesome;content:"\201C";position:absolute;font-size:50px;opacity:.3;font-style:normal}.skin-1 blockquote::before{top:10px;left:20px}.skin-1 blockquote::after{content:"\201D";right:20px}.skin-1 .image-wrapper{position:relative;max-width:100%}.skin-1 img{width:100px;height:auto;border-radius:50%}.skin-1 .detail-wrapper{display:flex;flex-direction:row-reverse;justify-content:space-between;padding:10px;background-color:rgba(157,163,156,.18)}.skin-1 .designation,.skin-1 .rating-wrapper,.skin-1 .title{margin:0 5px}.skin-1 .title-wrapper{display:flex;flex-direction:row}.skin-1 .rating-wrapper{color:#fecc1f}.skin-4.testimonial-wrapper{flex-direction:column;display:flex;background-color:#bfbfb6bd;min-height:300px;padding:10px 0;box-shadow:0 0 5px rgba(0,0,0,.15);color:#77778e}.skin-4 .content-wrapper{padding:10px;position:relative}.skin-4 .content-wrapper{order:2;color:#3c3c3c}.skin-4 i.after-content,.skin-4 i.before-content{position:absolute}.skin-4 i.before-content{top:10px;left:20px}.skin-4 i.after-content{bottom:10px;right:20px}.skin-4 blockquote{position:relative;font-size:14px;padding:10px;font-weight:500;text-align:left;margin:0;line-height:1.6em;font-style:italic}.skin-4 blockquote::after,.skin-4 blockquote::before{font-family:FontAwesome;content:"\201C";position:absolute;font-size:50px;opacity:.3;font-style:normal}.skin-4 blockquote::before{top:10px;left:20px}.skin-4 blockquote::after{content:"\201D";right:20px}.skin-4 .image-wrapper{position:relative;max-width:100%;text-align:center}.skin-4 img{width:100px;border-radius:50%}.skin-4 .detail-wrapper{text-align:center}.skin-2 .designation,.skin-2 .title,.skin-4 .rating-wrapper{padding:5px 0}.skin-4 .rating-wrapper{color:#690a69}.skin-4 .title{font-weight:800;color:#000}.skin-3.testimonial-wrapper{display:flex;flex-direction:row;background-color:#9c989821;box-shadow:0 0 5px rgba(0,0,0,.15);color:#000;overflow:hidden}.skin-3 .content-section{display:flex;flex-direction:column;align-self:center}.skin-3 .content-wrapper{padding:10px;position:relative}.skin-2 i.after-content,.skin-3 i.before-content{position:absolute}.skin-3 i.before-content{top:10px;left:20px}.skin-3 i.after-content{bottom:10px;right:20px}.skin-3 blockquote{position:relative;font-size:18px;padding:10px;font-weight:500;text-align:left;margin:0;line-height:1.6em;font-style:italic}.skin-3 blockquote::after,.skin-3 blockquote::before{font-family:FontAwesome;content:"\201C";position:absolute;font-size:50px;opacity:.3;font-style:normal}.skin-3 blockquote::before{top:10px;left:20px}.skin-3 blockquote::after{content:"\201D";right:20px}.skin-3 .image-wrapper{position:relative;max-width:30%;max-height:250px;text-align:center;align-self:center}.skin-3 img{width:100%}.testimonial-wrapper .skin-3 .eae-person-avatar{border-radius:50%}.skin-3 .detail-wrapper{text-align:left;padding-left:20px}.skin-3 .designation,.skin-3 .rating-wrapper,.skin-3 .title{padding:3px 0}.skin-3 .rating-wrapper{color:#800040}.skin-3 .title{font-weight:800}.eae-swiper-outer-wrapper .swiper-button-prev{-webkit-mask:url(arrow-left.svg) no-repeat 100% 100%;mask:url(arrow-left.svg) no-repeat 100% 100%;-webkit-mask-size:cover;mask-size:cover;background-image:none;background-color:#007aff;transform:translateY(-50%);margin-top:0}.eae-swiper-outer-wrapper .swiper-container-rtl .swiper-button-prev{-webkit-mask:url(arrow-right.svg) no-repeat 100% 100%;mask:url(arrow-right.svg) no-repeat 100% 100%}.eae-swiper-outer-wrapper .swiper-button-next{-webkit-mask:url(arrow-right.svg) no-repeat 100% 100%;mask:url(arrow-right.svg) no-repeat 100% 100%;-webkit-mask-size:cover;mask-size:cover;background-image:none;background-color:#007aff;transform:translateY(-50%);margin-top:0}.eae-swiper-outer-wrapper .swiper-container-rtl .swiper-button-next{-webkit-mask:url(arrow-left.svg) no-repeat 100% 100%;mask:url(arrow-left.svg) no-repeat 100% 100%}.elementor-widget-wts-testimonial-slider .eae-swiper-outer-wrapper .swiper-button-next,.elementor-widget-wts-testimonial-slider .eae-swiper-outer-wrapper .swiper-button-prev{-webkit-mask:none;mask:none;-webkit-mask-size:unset;mask-size:unset;background-image:none;background-color:unset;width:auto;height:auto;transform:translateY(-50%);margin-top:0}.swiper-container .swiper-button-next i,.swiper-container .swiper-button-prev i{width:1em;height:1em;text-align:center;position:relative}.elementor-widget-wts-testimonial-slider .eae-swiper-outer-wrapper .eae-swiper-button-wrapper{position:absolute;height:auto;line-height:0}.eae-hpos-right.eae-vpos-top .eae-swiper-button-wrapper{bottom:auto;top:0;width:auto;right:0}.eae-vpos-top.eae-hpos-left .eae-swiper-button-wrapper{bottom:auto;top:0;width:auto;left:0}.eeae-hpos-right.eae-vpos-bottom .eae-swiper-button-wrapper{bottom:0;top:auto;width:auto;right:0}.eae-vpos-bottom.eae-hpos-left .eae-swiper-button-wrapper{bottom:0;top:auto;width:auto;left:0}.eae-hpos-right.eae-vpos-middle .eae-swiper-button-wrapper{bottom:auto;top:50%;width:auto;right:0}.eae-hpos-left.eae-vpos-middle .eae-swiper-button-wrapper{bottom:auto;top:50%;width:auto;left:0}.eae-hpos-left .swiper-button-next,.eae-hpos-left .swiper-button-prev,.eae-hpos-right .swiper-button-next,.eae-hpos-right .swiper-button-prev{position:relative;display:inline-block;right:auto;left:auto}.eae-hpos-right.eae-vpos-bottom .swiper-button-next,.eae-hpos-right.eae-vpos-bottom .swiper-button-prev{top:auto;bottom:0;transform:unset}.eae-hpos-right.eae-vpos-top .swiper-button-next,.eae-hpos-right.eae-vpos-top .swiper-button-prev{top:0;bottom:auto;transform:unset}.eae-hpos-left.eae-vpos-top .swiper-button-next,.eae-hpos-left.eae-vpos-top .swiper-button-prev{top:0;bottom:auto;transform:unset}.eae-hpos-left.eae-vpos-bottom .swiper-button-next,.eae-hpos-left.eae-vpos-bottom .swiper-button-prev{top:auto;bottom:0;transform:unset}.eae-hpos-center.eae-vpos-bottom .swiper-button-next,.eae-hpos-center.eae-vpos-bottom .swiper-button-prev{top:auto;bottom:0;transform:unset}.eae-hpos-center.eae-vpos-top .swiper-button-next,.eae-hpos-center.eae-vpos-top .swiper-button-prev{top:0;bottom:auto;transform:unset}@media all and (max-width:900px){.mfp-arrow{-webkit-transform:scale(.75);transform:scale(.75)}.mfp-arrow-left{-webkit-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}.eae-info-circle{position:relative;width:90%;margin:0 auto;border-radius:50%;display:block}.eae-info-circle:before{content:'';display:block;position:absolute;top:4%;left:4%;width:92%;height:92%;border-radius:50%;z-index:1;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;pointer-events:none}.eae-info-circle:after{content:'';display:block;padding-top:100%}.eae-info-circle .eae-ic-icon-wrap{position:absolute;display:inline-block;top:50%;left:50%;z-index:2;line-height:1em;vertical-align:middle;overflow:hidden;max-width:100%}.eae-info-circle .eae-info-circle-item{top:0;left:0;width:100%;height:100%;display:block}.eae-info-circle .eae-info-circle-item.eae-active .eae-info-circle-item__content-wrap{visibility:visible;opacity:1;display:flex}.eae-info-circle .eae-info-circle-item__content-wrap{visibility:visible;display:none;height:91%;width:91%;opacity:0;top:50%;transform:translateY(-50%) translateX(-50%);position:absolute;left:50%;border-radius:50%;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.eae-info-circle .eae-info-circle-item__content-wrap:before{content:'';display:inline-block;height:100%;vertical-align:middle}.eae-info-circle .eae-info-circle-item__content{display:inline-block;top:50%;transform:translateY(-50%) translateX(-50%);position:absolute;left:50%;vertical-align:middle;z-index:1;max-height:100%;overflow:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-align:center;width:75%}@media screen and (max-width:767px){.eae-info-circle.eae-info-circle .eae-info-circle-item__content-wrap:before{display:none}.eae-info-circle:after,.eae-info-circle:before{display:none}.eae-info-circle{width:100%!important}.eae-info-circle-wrapper:after,.eae-info-circle-wrapper:before{display:none}.eae-info-circle .eae-ic-icon-wrap{display:block;text-align:center;position:relative!important;left:unset!important;margin-left:0!important;margin-top:0!important;margin-bottom:10px}.eae-info-circle-item{position:relative!important;border-radius:0!important;padding:0;margin:10px 0}.eae-info-circle .eae-info-circle-item__content-wrap{visibility:visible;opacity:1!important;display:flex!important;border-radius:0!important;border:none!important;margin:0!important;padding-right:0!important;padding-left:0!important;padding-bottom:0!important;width:100%;height:auto;line-height:1.5em;position:relative;top:unset;left:unset;transform:unset}.eae-info-circle .eae-info-circle-item__content{position:relative;top:unset;left:unset;transform:unset;width:100%;padding:10px}}.eae-icon-wrap i{height:1.25em;width:1.25em;line-height:1.25em;display:block}.eae-icon-wrap i img{top:50%;left:50%;transform:translateX(-50%) translateY(-50%);position:absolute}.eae-icon{display:inline-block;text-align:center;vertical-align:middle;max-width:100%;overflow:hidden;padding:10px}.eae-icon-shape-circle:not(.elementor-element){border-radius:50%}.eae-icon-view-framed:not(.elementor-element){border-width:1px;border-style:solid}.eae-icon-wrapper{display:flex}.eae-icon-wrapper .eae-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);line-height:1}.eae-timeline{position:relative;display:inline-block;width:100%}.eae-timline-progress-bar{width:4px;background-color:#f45b69;top:0;bottom:50px;position:absolute;transform:translateX(-50%)}.eae-timeline-item{position:relative;display:flex;flex-direction:row;padding-bottom:50px}.eae-timeline-item:last-child{padding-bottom:0!important}.eae-tl-top .eae-timeline-item{align-items:flex-start}.eae-tl-top .eae-tl-item-content::before{top:10px}.eae-timeline-item.image-position-row .eae-tl-item-image,.eae-timeline-item.image-position-row-reverse .eae-tl-item-image{margin-top:0;margin-bottom:0}.eae-tl-item-meta-wrapper-inner{display:none}.eae-tl-bottom .eae-timeline-item{align-items:flex-end}.eae-tl-bottom .eae-tl-item-content::before{bottom:10px}.eae-tl-center .eae-timeline-item{align-items:center}.eae-tl-center .eae-tl-item-content::before{bottom:calc(50% - 5px)}.eae-layout-center .eae-timline-progress-bar{left:50%}.eae-layout-center .eae-timeline-item:nth-child(odd){flex-direction:row-reverse}.eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-item-meta-wrapper{margin-right:0;margin-left:0;justify-content:flex-start}.eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-content-wrapper{padding-right:20px;padding-left:0}.eae-layout-center .eae-timeline-item:nth-child(even) .eae-tl-content-wrapper{padding-right:0;padding-left:20px}.eae-layout-left .eae-tl-content-wrapper{padding-right:10px;padding-left:20px}.eae-layout-left .eae-timline-progress-bar{display:none}.eae-layout-left .eae-tl-item-meta-wrapper{display:none}.eae-layout-left .eae-tl-item-meta-wrapper-inner{display:block}.eae-layout-right .eae-timline-progress-bar{display:none}.eae-layout-right .eae-tl-content-wrapper{padding-right:20px;padding-left:10px}.eae-layout-right .eae-tl-icon-wrapper{order:3}.eae-layout-right .eae-tl-item-meta-wrapper{display:none}.eae-layout-right .eae-tl-item-meta-wrapper-inner{display:block}.eae-tl-item-meta-wrapper{flex-grow:1;order:0;flex-basis:50%;flex-direction:initial;justify-content:flex-end;display:flex;align-items:center;margin-right:0}.eae-tl-item-meta{padding:0 20px}.eae-tl-icon-wrapper{height:auto;width:auto;flex-grow:0;flex-shrink:0;order:1;margin-left:0;margin-right:0;min-width:10px;min-height:10px;border-radius:999px;position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.eae-tl-content-wrapper{flex-grow:1;order:2;flex-basis:50%;position:relative;padding-right:0;padding-left:20px}.eae-tl-item-content{background:#f4f4f4;padding:25px;overflow:hidden;text-align:center;display:flex;flex-direction:row}.eae-tl-content{display:inline-block;position:relative;padding:10px;width:100%;color:#000}.eae-timeline-item.custom-image-style-yes.image-position-row .eae-content-inner,.eae-timeline-item.custom-image-style-yes.image-position-row-reverse .eae-content-inner,.image-position-row .eae-timeline .eae-timeline-item:not(.custom-image-style-yes) .eae-content-inner,.image-position-row-reverse .eae-timeline .eae-timeline-item:not(.custom-image-style-yes) .eae-content-inner{position:relative;left:50%;top:50%;transform:translate(-50%,-50%);line-height:1;width:100%}.custom-image-style-.image-position-row .eae-content-inner,.custom-image-style-.image-position-row-reverse .eae-content-inner,.custom-image-style-no.image-position-row .eae-content-inner,.custom-image-style-no.image-position-row-reverse .eae-content-inner{left:unset;top:unset;transform:unset}.eae-tl-item-image{display:inline-block}.image-position-row .eae-tl-item-image img,.image-position-row-reverse .eae-tl-item-image img{object-fit:cover;height:100%!important}.image-position-row .eae-tl-item-image,.image-position-row-reverse .eae-tl-item-image{margin:0}.image-position-column .eae-tl-item-image{margin:auto}.custom-image-style-.image-position-column .eae-tl-item-image,.custom-image-style-no.image-position-column .eae-tl-item-image{margin:0 auto}.eae-pb-inner-line{width:100%;background-color:#3d5ac3}.eae-tl-item-content::before{content:'';position:absolute;width:0;height:0;border-style:solid;border-width:8px 16px 8px 0;border-color:transparent #f4f4f4 transparent transparent}.eae-icon-wrapper{display:flex}.elementor-widget-bpel-timeline .eae-icon-wrapper{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);line-height:1}.eae-tl-read-more{display:inline-block;padding:5px;border:2px solid #000}.image-position-row .eae-timeline.eae-timeline-alternate-yes .eae-timeline-item:nth-child(odd):not(.custom-image-style-yes) .eae-tl-item-content{flex-direction:row-reverse!important}.image-position-row-reverse .eae-timeline.eae-timeline-alternate-yes .eae-timeline-item:nth-child(odd):not(.custom-image-style-yes) .eae-tl-item-content{flex-direction:row!important}@media screen and (min-width:1024px){.eae-layout-center .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,.eae-layout-right .eae-tl-item-content::before{right:4px;border-width:8px 0 8px 16px;border-color:transparent transparent transparent #f4f4f4}.eae-layout-center .eae-timeline-item:nth-child(even) .eae-tl-item-content::before,.eae-layout-left .eae-tl-item-content::before{left:4px;border-width:8px 16px 8px 0;border-color:transparent #f4f4f4 transparent transparent}}@media screen and (max-width:1023px) and (min-width:768px){.image-position-row .eae-timeline.eae-timeline-alternate-yes .eae-timeline-item:nth-child(odd):not(.custom-image-style-yes) .eae-tl-item-content{flex-direction:row-reverse!important}.image-position-row-reverse .eae-timeline.eae-timeline-alternate-yes .eae-timeline-item:nth-child(odd):not(.custom-image-style-yes) .eae-tl-item-content{flex-direction:row!important}.eae-tl-res-style-mobile-tablet .eae-tl-item-meta-wrapper{display:none}.eae-tl-res-style-mobile-tablet .eae-tl-item-meta-wrapper-inner{display:block}.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item{flex-direction:row!important}.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item{flex-direction:row-reverse!important}.eae-layout-center.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item .eae-tl-item-content::before,.eae-layout-left .eae-timeline-item .eae-tl-item-content::before,.eae-layout-left .eae-tl-item-content::before,.eae-timeline.eae-layout-center.eae-tl-res-style-mobile .eae-timeline-item:nth-child(even) .eae-tl-item-content::before{left:4px!important;border-width:8px 16px 8px 0!important;border-color:transparent #f4f4f4 transparent transparent!important}.eae-layout-center.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before,.eae-layout-right .eae-timeline-item .eae-tl-item-content::before,.eae-layout-right .eae-tl-item-content::before,.eae-timeline.eae-layout-center.eae-tl-res-style-mobile .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before{right:4px!important;border-width:8px 0 8px 16px!important;border-color:transparent transparent transparent #f4f4f4!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper{padding-right:0!important;padding-left:20px!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper{padding-right:20px!important;padding-left:0!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timline-progress-bar{left:13px}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timline-progress-bar{left:calc(100% - 13px)}}@media screen and (max-width:767px){.eae-tl-item-meta-wrapper{display:none}.eae-tl-item-meta-wrapper-inner{display:block}.elementor-widget-bpel-timeline:not(.image-position-column) .eae-timeline .eae-tl-item-content{flex-direction:column-reverse!important}.eae-tl-item-image,.elementor-widget-bpel-timeline:not(.image-position-column) .eae-tl-content{width:100%!important}.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item,.eae-tl-res-style-mobile.eae-tl-res-layout-left .eae-timeline-item{flex-direction:row!important}.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item,.eae-tl-res-style-mobile.eae-tl-res-layout-right .eae-timeline-item{flex-direction:row-reverse!important}.eae-layout-left .eae-timeline-item .eae-tl-item-content::before,.eae-timeline.eae-layout-center.eae-tl-center.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,.eae-timeline.eae-layout-center.eae-tl-center.eae-tl-res-style-mobile.eae-tl-res-layout-left .eae-timeline-item:nth-child(odd) .eae-tl-item-content::before,.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-left .eae-timeline-item .eae-tl-item-content::before,.eae-tl-res-style-mobile.eae-tl-res-layout-left .eae-timeline-item .eae-tl-item-content::before{left:4px!important;border-width:8px 16px 8px 0!important;border-color:transparent #f4f4f4 transparent transparent!important}.eae-layout-right .eae-timeline-item .eae-tl-item-content::before,.eae-tl-res-style-mobile-tablet.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before,.eae-tl-res-style-mobile.eae-tl-res-layout-right .eae-timeline-item .eae-tl-item-content::before{right:4px!important;border-width:8px 0 8px 16px!important;border-color:transparent transparent transparent #f4f4f4!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper,.eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-left .eae-timeline-item .eae-tl-content-wrapper{padding-right:0!important;padding-left:20px!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper,.eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-right .eae-timeline-item .eae-tl-content-wrapper{padding-right:20px!important;padding-left:0!important}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-left .eae-timline-progress-bar,.eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-left .eae-timline-progress-bar{left:13px}.eae-tl-res-style-mobile-tablet.eae-layout-center.eae-tl-res-layout-right .eae-timline-progress-bar,.eae-tl-res-style-mobile.eae-layout-center.eae-tl-res-layout-right .eae-timline-progress-bar{left:calc(100% - 13px)}}[data-element_type="eae-evergreen-timer.skin1"] .eae-evergreen-wrapper{display:block;text-align:center}[data-element_type="eae-evergreen-timer.skin1"] #eaeclockdiv{font-family:sans-serif;color:#fff;display:inline-block;font-weight:100;text-align:center;font-size:30px}[data-element_type="eae-evergreen-timer.skin1"] .eae-time-wrapper{padding:10px;border-radius:3px;background:#00bf96;display:inline-block;overflow:hidden}[data-element_type="eae-evergreen-timer.skin1"] #eaeclockdiv div>span{padding:15px;width:100%;background:#00816a;display:inline-block}[data-element_type="eae-evergreen-timer.skin1"] .smalltext{padding:7px;font-size:16px}[data-element_type="eae-evergreen-timer.skin1"] .eae-egt-hide{display:none}.eae-egt-message{display:none}@media screen and (max-width:767px){[data-element_type="eae-evergreen-timer.skin1"] #eaeclockdiv div>span{padding:5px}[data-element_type="eae-evergreen-timer.skin1"] .eae-time-wrapper{padding:5px}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-o-backface-visibility:hidden;backface-visibility:hidden}[data-element_type="eae-evergreen-timer.skin2"] .eae-evergreen-wrapper{display:inline-block;width:100%;text-align:center;margin:auto}[data-element_type="eae-evergreen-timer.skin2"] .timer-container{display:inline-block}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper a{cursor:pointer;text-decoration:none;color:#ccc}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper a:hover{color:#fff}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul{list-style:none}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper.clearfix:after,[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper.clearfix:before{content:" ";display:table}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper.clearfix:after{clear:both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper{font:normal 11px "Helvetica Neue",Helvetica,sans-serif;-webkit-user-select:none}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-meridium{background:0 0!important;box-shadow:0 0 0!important;font-size:36px!important}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-meridium a{color:#313333}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper{text-align:center;position:relative;width:100%;margin:1em}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper:after,[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper:before{content:" ";display:table}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper:after{clear:both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul{position:relative;float:left;margin:5px;width:60px;height:90px;font-size:80px;font-weight:700;line-height:87px;border-radius:6px;background:#000}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li{z-index:1;position:absolute;left:0;top:0;width:100%;height:100%;line-height:87px;text-decoration:none!important}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li:first-child{z-index:2}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a{display:block;height:100%;-webkit-perspective:200px;-moz-perspective:200px;perspective:200px;margin:0!important;overflow:visible!important;cursor:default!important}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div{z-index:1;position:absolute;left:0;width:100%;height:50%;font-size:80px;overflow:hidden;outline:1px solid transparent}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div .shadow{position:absolute;width:100%;height:100%;z-index:2}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.up{-webkit-transform-origin:50% 100%;-moz-transform-origin:50% 100%;-ms-transform-origin:50% 100%;-o-transform-origin:50% 100%;transform-origin:50% 100%;top:0}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.up:after{content:"";position:absolute;top:44px;left:0;z-index:5;width:100%;height:3px;background-color:#000;background-color:rgba(0,0,0,.4)}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.down{-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;-o-transform-origin:50% 0;transform-origin:50% 0;bottom:0;border-bottom-left-radius:6px;border-bottom-right-radius:6px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div div.inn{position:absolute;left:0;z-index:1;width:100%;height:200%;color:#ccc;text-shadow:0 1px 2px #000;text-align:center;background-color:#333;border-radius:6px;font-size:70px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.up div.inn{top:0}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div.down div.inn{bottom:0}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-before{z-index:3}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper .flip{box-shadow:0 2px 5px rgba(0,0,0,.7)}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-active{-webkit-animation:asd 10ms .49s linear both;-moz-animation:asd 10ms .49s linear both;animation:asd 10ms .49s linear both;z-index:5}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider{float:left;display:inline-block;position:relative;width:20px;height:100px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider:first-child{width:0}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-dot{display:block;background:#323434;width:10px;height:10px;position:absolute;border-radius:50%;box-shadow:0 0 5px rgba(0,0,0,.5);left:5px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider .flip-clock-label{position:absolute;top:-1.5em;right:-86px;color:#000;text-shadow:none}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider.minutes .flip-clock-label{right:-88px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider.seconds .flip-clock-label{right:-91px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-dot.top{top:30%}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-dot.bottom{bottom:30%}@-webkit-keyframes asd{0%{z-index:2}100%{z-index:4}}@-moz-keyframes asd{0%{z-index:2}100%{z-index:4}}@-o-keyframes asd{0%{z-index:2}100%{z-index:4}}@keyframes asd{0%{z-index:2}100%{z-index:4}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-active .down{z-index:2;-webkit-animation:turn .5s .5s linear both;-moz-animation:turn .5s .5s linear both;animation:turn .5s .5s linear both}@-webkit-keyframes turn{0%{-webkit-transform:rotateX(90deg)}100%{-webkit-transform:rotateX(0)}}@-moz-keyframes turn{0%{-moz-transform:rotateX(90deg)}100%{-moz-transform:rotateX(0)}}@-o-keyframes turn{0%{-o-transform:rotateX(90deg)}100%{-o-transform:rotateX(0)}}@keyframes turn{0%{transform:rotateX(90deg)}100%{transform:rotateX(0)}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-before .up{z-index:2;-webkit-animation:turn2 .5s linear both;-moz-animation:turn2 .5s linear both;animation:turn2 .5s linear both}@-webkit-keyframes turn2{0%{-webkit-transform:rotateX(0)}100%{-webkit-transform:rotateX(-90deg)}}@-moz-keyframes turn2{0%{-moz-transform:rotateX(0)}100%{-moz-transform:rotateX(-90deg)}}@-o-keyframes turn2{0%{-o-transform:rotateX(0)}100%{-o-transform:rotateX(-90deg)}}@keyframes turn2{0%{transform:rotateX(0)}100%{transform:rotateX(-90deg)}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li.flip-clock-active{z-index:3}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-before .up .shadow{background:-moz-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(0,0,0,.1)),color-stop(100%,#000));background:linear,top,rgba(0,0,0,.1) 0,#000 100%;background:-o-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-ms-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:linear,to bottom,rgba(0,0,0,.1) 0,#000 100%;-webkit-animation:show .5s linear both;-moz-animation:show .5s linear both;animation:show .5s linear both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-active .up .shadow{background:-moz-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(0,0,0,.1)),color-stop(100%,#000));background:linear,top,rgba(0,0,0,.1) 0,#000 100%;background:-o-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:-ms-linear-gradient(top,rgba(0,0,0,.1) 0,#000 100%);background:linear,to bottom,rgba(0,0,0,.1) 0,#000 100%;-webkit-animation:hide .5s .3s linear both;-moz-animation:hide .5s .3s linear both;animation:hide .5s .3s linear both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-before .down .shadow{background:-moz-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#000),color-stop(100%,rgba(0,0,0,.1)));background:linear,top,#000 0,rgba(0,0,0,.1) 100%;background:-o-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-ms-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:linear,to bottom,#000 0,rgba(0,0,0,.1) 100%;-webkit-animation:show .5s linear both;-moz-animation:show .5s linear both;animation:show .5s linear both}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul.play li.flip-clock-active .down .shadow{background:-moz-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#000),color-stop(100%,rgba(0,0,0,.1)));background:linear,top,#000 0,rgba(0,0,0,.1) 100%;background:-o-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:-ms-linear-gradient(top,#000 0,rgba(0,0,0,.1) 100%);background:linear,to bottom,#000 0,rgba(0,0,0,.1) 100%;-webkit-animation:hide .5s .3s linear both;-moz-animation:hide .5s .3s linear both;animation:hide .5s .2s linear both}@-webkit-keyframes show{0%{opacity:0}100%{opacity:1}}@-moz-keyframes show{0%{opacity:0}100%{opacity:1}}@-o-keyframes show{0%{opacity:0}100%{opacity:1}}@keyframes show{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes hide{0%{opacity:1}100%{opacity:0}}@-moz-keyframes hide{0%{opacity:1}100%{opacity:0}}@-o-keyframes hide{0%{opacity:1}100%{opacity:0}}@keyframes hide{0%{opacity:1}100%{opacity:0}}@media screen and (max-width:767px){[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider{width:15px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-dot{height:5px;width:5px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul{height:40px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider{height:50px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li{line-height:37px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li a div div.inn{font-size:24px}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul{margin:2px}}[data-element_type="eae-evergreen-timer.skin3"] #timer{font-family:sans-serif;color:#fff;display:inline-block;font-weight:100;text-align:center;font-size:30px}[data-element_type="eae-evergreen-timer.skin3"] .desc{display:flex;justify-content:center}[data-element_type="eae-evergreen-timer.skin3"].eae-egt-content-align-right .desc{justify-content:flex-end}[data-element_type="eae-evergreen-timer.skin3"].eae-egt-content-align-left .desc{justify-content:flex-start}[data-element_type="eae-evergreen-timer.skin3"] .desc .egt-time-text{display:inline-block;padding:0 50px 0 50px}[data-element_type="eae-evergreen-timer.skin3"] .eae-time-wrapper{padding:50px;border-radius:3px;background:#00bf96;display:inline-block;overflow:hidden;margin:5px;line-height:1em}[data-element_type="eae-evergreen-timer.skin3"] #timer span:nth-child(1){background:khaki}[data-element_type="eae-evergreen-timer.skin3"] #timer span:nth-child(2){background:#cd5c5c}[data-element_type="eae-evergreen-timer.skin3"] #timer span:nth-child(3){background:#5f9ea0}[data-element_type="eae-evergreen-timer.skin3"] #timer span:nth-child(4){background:#6495ed}[data-element_type="eae-evergreen-timer.skin3"] .fade{animation:flip .7s ease forwards}@keyframes flip{0%{transform:rotateY(0) scaleY(1.1);opacity:.5}50%{transform:rotateY(180deg) scaleY(1.3);opacity:0}100%{transform:rotateY(0);opacity:1}}@media screen and (max-width:767px){[data-element_type="eae-evergreen-timer.skin3"] #timer span{font-size:22px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider .flip-clock-label{top:-1.5em;right:-42px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider.minutes .flip-clock-label{right:-48px}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider.seconds .flip-clock-label{right:-51px}}[data-element_type="eae-evergreen-timer.skin4"] .eae-evergreen-wrapper{width:100%}[data-element_type="eae-evergreen-timer.skin4"] .container{margin:0 auto}[data-element_type="eae-evergreen-timer.skin4"] .special{position:relative;width:840px;height:47px}[data-element_type="eae-evergreen-timer.skin4"] #counter{position:absolute;z-index:4000}[data-element_type="eae-evergreen-timer.skin4"] .digit-separator{position:relative;float:left;width:17px;height:44px;overflow:hidden;background-image:url(../digit-sep-svg.svg);background-repeat:no-repeat;background-position:0 0;background-color:#4054b2}[data-element_type="eae-evergreen-timer.skin4"] .digit{background-image:url(../digits-svg-alpha.svg);background-color:#4054b2}.eae-ct-wrapper *{box-sizing:border-box;margin:0;outline:0}article.eae-ct-wrapper{width:100%;max-width:1000px;margin:0 auto;position:relative}.eae-ct-wrapper tbody tr.eae-ct-header td,.eae-ct-wrapper th{position:relative}.eae-ct-wrapper ul{display:none;top:0;z-index:10;padding-bottom:14px}.eae-ct-wrapper li{list-style:none;flex:1;position:relative}.eae-ct-wrapper li:hover{cursor:pointer}.eae-ct-wrapper .eae-ct-heading{width:100%;padding:10px;background:#fff;font-size:20px;font-weight:700;height:60px;color:#999;text-align:center}.eae-ct-wrapper li.eae-ct-heading .eae-ct-heading-inner{position:absolute;align-self:center;top:50%;left:50%;transform:translate(-50%,-50%);width:100%}.eae-ct-wrapper li.eae-ct-heading.active{background:#f5f5f5}.eae-ct-wrapper table{border-collapse:collapse;table-layout:fixed;width:100%}.eae-ct-wrapper th{background:#f5f5f5;display:none}.eae-ct-wrapper td,.eae-ct-wrapper th{height:53px;vertical-align:middle}.eae-ct-wrapper table{border:none}.eae-ct-wrapper table td,.eae-ct-wrapper table th{border:none}.eae-ct-wrapper table tr td:first-child,.eae-ct-wrapper table tr td:last-child,.eae-ct-wrapper td,.eae-ct-wrapper th{padding:10px;empty-cells:show}.eae-ct-wrapper td,.eae-ct-wrapper th{text-align:center}.eae-ct-wrapper td+td,.eae-ct-wrapper th+th{text-align:center}.eae-ct-wrapper tr:first-child{background:0 0!important}.eae-ct-wrapper ul li:nth-child(1){display:table-cell}.eae-ct-wrapper tr td:nth-child(2){display:table-cell}.eae-ct-wrapper td:nth-child(1){display:table-cell}.eae-ct-wrapper td{display:none}.eae-ct-wrapper .sep{background:#f5f5f5;font-weight:700}.eae-ct-price-wrapper{display:flex;justify-content:center}.eae-ct-tt-type-icon .eae-ct-feature .tooltip{float:right}.eae-ct-wrapper .tooltiptext::before{content:'';border-width:5px 5px 0 5px;border-color:#fff;border-left-color:transparent;border-right-color:transparent;border-bottom-color:transparent;bottom:-10px;width:0;height:0;border-style:solid;position:absolute;margin:5px;left:42%}.eae-ct-wrapper .eae-ct-price{font-size:28px;font-weight:700;line-height:1em}.eae-ct-wrapper .eae-ct-currency{align-self:flex-start;margin-right:3px}.eae-ct-wrapper .eae-ct-fractional-price{align-self:flex-start;margin-left:3px}.eae-ct-wrapper .eae-ct-duration{align-self:flex-start}.eae-ct-wrapper .eae-ct-original-price{margin-right:5px;text-decoration:line-through;align-self:flex-end}.eae-ct-wrapper .tick{font-size:18px;color:#2ca01c}.feature-heading-blank.eae-ct-wrapper .hide{border:unset!important;background:unset!important}.eae-ct-wrapper .hide.eae-ct-hide.eae-fbox-heading{border:0 solid #000}.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper{position:absolute;top:0;width:100px;overflow:hidden;height:100px;z-index:998;padding:8px 12px}.eae-ct-ribbons-h-top.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper{position:absolute;top:0;width:100%;overflow:hidden;height:50px;z-index:999;padding:8px 12px}.eae-ct-ribbons-h-top.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper-top{background-color:rgba(63,195,135,.8);color:#fff;transform:translateY(-100%);position:absolute;width:100%;top:0;left:0}.eae-ct-ribbons-h-left.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);left:0;right:auto}.eae-ct-ribbons-h-right.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(90deg);left:auto;right:0}.eae-ct-ribbons-yes .eae-ct-ribbons-wrapper span.eae-ct-ribbons-inner{position:absolute;text-align:center;left:0;top:0;width:200%;-webkit-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);-ms-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);margin-top:35px;font-size:13px;line-height:2;font-weight:800;text-transform:uppercase;background:rgba(63,195,135,.8);padding:8px 12px;color:#fff}.eae-ct-wrapper .tooltip{position:relative;display:inline-block}.eae-ct-wrapper .tooltip .tooltiptext{visibility:hidden;min-width:120px;background-color:#000;color:#fff;text-align:center;border-radius:6px;padding:5px 0;position:absolute;z-index:1;bottom:120%;left:50%;margin-left:-60px}.eae-ct-wrapper .tooltip:hover .tooltiptext{visibility:visible}.eae-ct-heading-tooltip{text-decoration-line:underline;text-decoration-style:dotted}.eae-ct-btn{padding:10px 15px 10px 15px;color:#fff;display:inline-block;line-height:1em}.eae-ct-btn:hover{color:#fff}.eae-ct-wrapper i.fa.fa-check,.eae-ct-wrapper i.fas.fa-check{color:#38f146}.eae-ct-wrapper i.fa.fa-close,.eae-ct-wrapper i.fas.fa-times{color:red}.button-heading-blank.eae-ct-wrapper tr:last-child td:first-child{background:0 0!important;border:none!important}.eae-ct-wrapper tr:last-child{background:0 0!important}tbody tr:nth-child(2){background:0 0!important}@media (min-width:767px){.eae-ct-wrapper .eae-ct-header,.eae-ct-wrapper td{width:330px}.eae-ct-wrapper td+td,.eae-ct-wrapper th+th{width:auto}}.eae-tab-format-all .eae-ct-wrapper ul{display:flex}.hide.eae-ct-hide{display:table-cell}@media (min-width:1023px){.eae-tab-format-all tbody tr.eae-ct-header{display:none}.eae-tab-format-mobile .eae-ct-wrapper td,.eae-tab-format-mobile .eae-ct-wrapper th,.eae-tab-format-tab-mob .eae-ct-wrapper td,.eae-tab-format-tab-mob .eae-ct-wrapper th{display:table-cell!important}.eae-tab-format-all .hide.eae-ct-hide{display:table-cell}.eae-tab-format-mobile .hide.eae-ct-hide,.eae-tab-format-tab-mob .hide.eae-ct-hide{display:none!important}}@media (max-width:1023px){.eae-tab-format-tab-mob .eae-ct-wrapper ul{display:flex}.eae-tab-format-all tbody tr.eae-ct-header,.eae-tab-format-tab-mob tbody tr.eae-ct-header{display:none}.eae-tab-format-all .hide.eae-ct-hide{display:table-cell}.eae-tab-format-tab-mob .hide.eae-ct-hide{display:table-cell}}@media (max-width:1023px) and (min-width:768px){.eae-tab-format-mobile .eae-ct-wrapper td,.eae-tab-format-mobile .eae-ct-wrapper th{display:table-cell!important}.eae-tab-format-all tbody tr.eae-ct-header,.eae-tab-format-tab-mob tbody tr.eae-ct-header{display:none}.eae-tab-format-tab-mob .hide.eae-ct-hide{display:table-cell}}@media (max-width:767px){.eae-tab-format-mobile .eae-ct-wrapper ul{display:flex}.eae-tab-format-mobile tbody tr.eae-ct-header{display:none}.eae-tab-format-all tbody tr.eae-ct-header,.eae-tab-format-mobile tbody tr.eae-ct-header{display:none}.eae-tab-format-mobile .hide.eae-ct-hide{display:table-cell}}.eae-progress-bar-wrapper{display:flex;flex-direction:column;align-items:flex-start;margin:15px 0}.eae-progress-bar-wrapper.eae-progress-bar{width:100%;position:relative;box-sizing:border-box}.eae-pb-bar,.eae-pb-bar-inner,.eae-pb-bar-skill,.eae-pb-bar-value{box-sizing:border-box}.eae-pb-bar{position:relative;height:100%;width:100%;overflow:hidden}.eae-pb-bar--no-overflow{overflow:visible}.eae-pb-bar-inner{position:absolute;top:0;left:0;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:left center;transform-origin:left center}.eae-pb-bar-inner.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:cubic-bezier(.1,1.14,.31,1.06);transition-delay:1.5s;-webkit-transform:scaleX(1);transform:scaleX(1)}.eae-pb-bar-skill,.eae-pb-bar-value{font-size:14px;letter-spacing:1px}.eae-pb-bar-value--aligned-value{-webkit-transform:translateX(-50%);transform:translateX(-50%)}.eae-progress-bar-skin1{height:20px;padding:4px;border:1px solid #ddd;border-radius:20px}.eae-pb-bar-skin1{border-radius:20px}.eae-pb-bar-inner-skin1{background-color:#00bfb3;background-size:200%;background-position:0 0;border-radius:20px}.eae-pb-bar-skill-skin1{position:absolute;bottom:20px;left:0;opacity:0}.eae-pb-bar-skill-skin1.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;left:0;opacity:1}.eae-pb-bar-value-skin1{position:absolute;bottom:20px;opacity:1;right:0}.eae-pb-bar-value-skin1.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;right:0;opacity:1}.eae-progress-bar-skin2{height:15px;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);border-radius:3px}@-webkit-keyframes progress-2-bg-animation{0%{background-position:0 0,0 0}100%{background-position:0 0,42px 0}}@keyframes progress-2-bg-animation{0%{background-position:0 0,0 0}100%{background-position:0 0,42px 0}}.eae-pb-bar-inner-skin2{background-image:linear-gradient(to top,rgba(255,255,255,.15),rgba(0,0,0,.2)),linear-gradient(135deg,#5eeb5b,#5eeb5b 33%,#358600 33%,#358600 66%,#5eeb5b 66%);background-size:100% 100%,42px 100%;background-position:0 0,0 0;border-radius:3px}.eae-pb-bar-inner-skin2.js-animated{-webkit-animation:progress-2-bg-animation 1.5s linear 0s infinite;animation:progress-2-bg-animation 1.5s linear 0s infinite}.eae-pb-bar-skill-skin2{position:absolute;left:0;opacity:0}.eae-pb-bar-skill-skin2.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;bottom:20px;opacity:1}.eae-pb-bar-value-skin2{position:absolute;right:0;opacity:0}.eae-pb-bar-value-skin2.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;bottom:20px;opacity:1}.eae-progress-bar-skin3{height:5px;background-color:#efefef}.eae-pb-bar-inner-skin3,.eae-pb-bar-value-skin3{background-color:#f40076}.eae-pb-bar-inner:after,.eae-pb-bar-value-skin3:after{border-top-color:#f40076}.eae-pb-bar-skill-skin3{position:absolute;bottom:10px;left:-10px;opacity:0}.eae-pb-bar-skill-skin3.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;left:0;opacity:1}.eae-pb-bar-value-skin3{position:absolute;display:inline-block;padding:0 8px;font-size:14px;color:#fff;opacity:0}.eae-pb-bar-value-skin3:after{position:absolute;left:50%;bottom:-10px;display:block;width:0;height:0;content:'';-webkit-transform:translateX(-50%);transform:translateX(-50%);border-width:5px;border-style:solid;border-color:#f40076 transparent transparent transparent}.eae-pb-bar-inner-skin3.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:cubic-bezier(.1,1.14,.31,1.06);transition-delay:1.5s;-webkit-transform:scaleX(1);transform:scaleX(1)}.eae-pb-bar-value-skin3.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:cubic-bezier(.1,1.14,.31,1.06);transition-delay:2s;bottom:14px;opacity:1}.eae-progress-bar-skin4{height:3px;background-color:#efefef}.eae-pb-bar-inner-skin4{background-color:#000}.eae-pb-bar-inner-skin4:after{position:absolute;top:50%;right:0;display:block;width:8px;height:8px;content:'';-webkit-transform:translateY(-50%);transform:translateY(-50%);background-color:#000;border-radius:50%}.eae-pb-bar-value-skin4{position:absolute;bottom:2px;font-size:14px;opacity:0}.eae-pb-bar-value-skin4.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:linear;transition-delay:1.5s;opacity:1}.eae-pb-bar-skill-skin4{position:absolute;bottom:2px;left:-20px;opacity:0}.eae-pb-bar-skill-skin4.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;left:0;opacity:1}.eae-progress-bar-skin5{height:30px;background-color:#f7f7f7}.eae-pb-bar-inner-skin5{background-color:#57b8ff}.eae-pb-bar-skill-skin5{position:absolute;top:50%;left:10px;color:#fff;-webkit-transform:translateY(-50%);transform:translateY(-50%);opacity:0}.eae-pb-bar-skill-skin5.js-animated{transition-property:all;transition-duration:.5s;transition-timing-function:linear;transition-delay:.5s;opacity:1}.eae-pb-bar-value-skin5{position:absolute;top:50%;color:#fff;-webkit-transform:translateX(-100%) translateX(-10px) translateY(-50%);transform:translateX(-100%) translateX(-10px) translateY(-50%);opacity:0;z-index:10}.eae-pb-bar-value-skin5.js-animated{transition-property:all;transition-duration:1.5s;transition-timing-function:linear;transition-delay:1.5s;opacity:1}.eae-dual-button-wrapper .eae-button-1-wrapper,.eae-dual-button-wrapper .eae-button-2-wrapper{overflow:hidden}.eae-dual-button-wrapper.button-style-horizontal{display:flex;flex-direction:row;position:relative}.eae-dual-button-main-wrapper{display:flex;flex-direction:row;justify-content:center}.eae-dual-button-wrapper a{min-width:0}.eae-dual-button-wrapper.button-style-vertical{display:inline-flex;flex-direction:column;position:relative}.eae-button-1.icon-before,.eae-button-2.icon-before{display:flex;flex-direction:row}.eae-button-1.icon-after,.eae-button-2.icon-after{display:flex;flex-direction:row-reverse}.eae-button-1-wrapper .eae-button-1,.eae-button-2-wrapper .eae-button-2{color:#000;align-items:center}.eae-button-1-wrapper:hover .eae-button-1,.eae-button-2-wrapper:hover .eae-button-2{color:#000}.eae-dual-button-wrapper.button-style-vertical .eae-button-1.icon-after,.eae-dual-button-wrapper.button-style-vertical .eae-button-1.icon-before,.eae-dual-button-wrapper.button-style-vertical .eae-button-2.icon-after,.eae-dual-button-wrapper.button-style-vertical .eae-button-2.icon-before{justify-content:center}.eae-button-1.icon-up,.eae-button-2.icon-up{display:flex;flex-direction:column;text-align:center}.eae-button-1.icon-down,.eae-button-2.icon-down{display:flex;flex-direction:column-reverse;text-align:center}.eae-button-1-wrapper{background:#ffb6c1;display:flex;justify-content:center;width:100%;line-height:1}.eae-button-2-wrapper{background:orange;display:flex;justify-content:center;width:100%;line-height:1}.eae-button-1.icon-up .icon-wrapper,.eae-button-2.icon-down .icon-wrapper,.eae-button-2.icon-up .icon-wrapper{text-align:center}.eae-button-1.icon-up .eae-button-text,.eae-button-2.icon-down .eae-button-text,.eae-button-2.icon-up .eae-button-text{text-align:center}.eae-button-1.icon-before i,.eae-button-2.icon-after i,.eae-button-2.icon-before i{align-self:center;margin:0 10px 0 0}.eae-button-1.icon-after i,.eae-button-2.icon-after i{align-self:center;margin:0 0 0 10px}.eae-button-1.icon-down i,.eae-button-1.icon-up i,.eae-button-2.icon-down i,.eae-button-2.icon-up i{align-self:center;margin:5px 0}.eae-dual-button-wrapper.button-style-horizontal .eae-button-1-wrapper,.eae-dual-button-wrapper.button-style-horizontal .eae-button-2-wrapper{padding:12px 30px}.eae-dual-button-wrapper.button-style-vertical .eae-button-1-wrapper,.eae-dual-button-wrapper.button-style-vertical .eae-button-2-wrapper{padding:20px 30px}.eae-button1,.eae-button2{position:relative;display:flex}.eae-dual-button-wrapper.button-style-horizontal .eae-button1,.eae-dual-button-wrapper.button-style-horizontal .eae-button2{min-width:150px}.eae-dual-button-wrapper.button-style-vertical .eae-button1{display:flex;flex-direction:column}.eae-button-separator-wrapper .eae-button-separator{width:40px;height:40px;line-height:40px;border-radius:50%;z-index:1;box-shadow:0 0 0 6px rgba(255,255,255,.2);background:#fafaf8;color:#444;text-transform:uppercase;text-align:center;vertical-align:middle;font-weight:400;font-size:14px;position:absolute;transform:translateY(-50%)}.eae-button-separator span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.eae-sweep-right{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.3s;transition-duration:.3s}.eae-sweep-right:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:0 50%;transform-origin:0 50%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-sweep-right:active,.eae-sweep-right:focus,.eae-sweep-right:hover{color:#fff}.eae-sweep-right:active:before,.eae-sweep-right:focus:before,.eae-sweep-right:hover:before{-webkit-transform:scaleX(1);transform:scaleX(1)}.eae-sweep-left{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.3s;transition-duration:.3s}.eae-sweep-left:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:100% 50%;transform-origin:100% 50%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-sweep-left:active,.eae-sweep-left:focus,.eae-sweep-left:hover{color:#fff}.eae-sweep-left:active:before,.eae-sweep-left:focus:before,.eae-sweep-left:hover:before{-webkit-transform:scaleX(1);transform:scaleX(1)}.eae-sweep-bottom{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.3s;transition-duration:.3s}.eae-sweep-bottom:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-sweep-bottom:active,.eae-sweep-bottom:focus,.eae-sweep-bottom:hover{color:#fff}.eae-sweep-bottom:active:before,.eae-sweep-bottom:focus:before,.eae-sweep-bottom:hover:before{-webkit-transform:scaleY(1);transform:scaleY(1)}.eae-sweep-top{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.3s;transition-duration:.3s}.eae-sweep-top:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-sweep-top:active,.eae-sweep-top:focus,.eae-sweep-top:hover{color:#fff}.eae-sweep-top:active:before,.eae-sweep-top:focus:before,.eae-sweep-top:hover:before{-webkit-transform:scaleY(1);transform:scaleY(1)}.eae-bounce-right{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.5s;transition-duration:.5s}.eae-bounce-right:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:0 50%;transform-origin:0 50%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-bounce-right:active,.eae-bounce-right:focus,.eae-bounce-right:hover{color:#fff}.eae-bounce-right:active:before,.eae-bounce-right:focus:before,.eae-bounce-right:hover:before{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transition-timing-function:cubic-bezier(.52,1.64,.37,.66);transition-timing-function:cubic-bezier(.52,1.64,.37,.66)}.eae-bounce-left{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.5s;transition-duration:.5s}.eae-bounce-left:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:100% 50%;transform-origin:100% 50%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-bounce-left:active,.eae-bounce-left:focus,.eae-bounce-left:hover{color:#fff}.eae-bounce-left:active:before,.eae-bounce-left:focus:before,.eae-bounce-left:hover:before{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transition-timing-function:cubic-bezier(.52,1.64,.37,.66);transition-timing-function:cubic-bezier(.52,1.64,.37,.66)}.eae-bounce-bottom{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.5s;transition-duration:.5s}.eae-bounce-bottom:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:50% 0;transform-origin:50% 0;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-bounce-bottom:active,.eae-bounce-bottom:focus,.eae-bounce-bottom:hover{color:#fff}.eae-bounce-bottom:active:before,.eae-bounce-bottom:focus:before,.eae-bounce-bottom:hover:before{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition-timing-function:cubic-bezier(.52,1.64,.37,.66);transition-timing-function:cubic-bezier(.52,1.64,.37,.66)}.eae-bounce-top{vertical-align:middle;-webkit-transform:perspective(1px) translateZ(0);transform:perspective(1px) translateZ(0);box-shadow:0 0 1px transparent;position:relative;-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:.5s;transition-duration:.5s}.eae-bounce-top:before{content:"";position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;background:#2098d1;-webkit-transform:scaleY(0);transform:scaleY(0);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;-webkit-transition-property:transform;transition-property:transform;-webkit-transition-duration:.5s;transition-duration:.5s;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.eae-bounce-top:active,.eae-bounce-top:focus,.eae-bounce-top:hover{color:#fff}.eae-bounce-top:active:before,.eae-bounce-top:focus:before,.eae-bounce-top:hover:before{-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition-timing-function:cubic-bezier(.52,1.64,.37,.66);transition-timing-function:cubic-bezier(.52,1.64,.37,.66)}.eae-markers .marker{display:none}.eae-markers p{margin-bottom:0}.eae-fg-wrapper{display:flex;flex-direction:column;overflow:hidden}.eae-gallery-filter{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.eae-filter-label{padding:5px 10px;background-color:#a0ce4e;color:#fff;margin:0 3px 0 3px}.eae-filter-label.current{background-color:#73b9dc}.eae-fg-image{display:flex;flex-wrap:wrap;flex-direction:row}.eae-fg-wrapper .eae-gallery-item-inner img{width:100%;height:auto;display:block!important;transition:all .5s ease;-webkit-transition:all .5s ease}.eae-gallery-item{height:auto}.eae-gallery-filter a{color:#fff;text-decoration:none}.eae-gallery-filter a.current{font-weight:700}.eae-gallery-item-inner{position:relative;overflow:hidden}.eae-overlay-always .eae-gallery-item .eae-grid-overlay{display:block}.eae-overlay-hover .eae-gallery-item-inner:hover .eae-grid-overlay{display:block}.eae-overlay-hide-on-hover .eae-gallery-item-inner:hover .eae-grid-overlay{display:none}.eae-overlay-hide-on-hover .eae-grid-overlay{display:block}.eae-grid-overlay{position:absolute;top:0;left:0;display:none;z-index:99;background:rgba(0,0,0,.5);height:100%;width:100%}.eae-grid-overlay-inner{display:block;position:relative;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.eae-fg-wrapper .eae-icon-wrapper{display:flex;justify-content:center}.eae-overlay-caption{display:block;line-height:1em;margin-top:15px;color:#73b9dc}.eae-overlay-icon{line-height:1em;padding:.5em;display:inline-block}.eae-overlay-icon svg{height:auto}.eae-icon-view-framed .eae-overlay-icon{padding:.5em;color:#73b9dc;border:3px solid #73b9dc;background-color:transparent}.eae-icon-view-stacked .eae-overlay-icon{padding:.5em;color:#fff;background-color:#818a91}.eae-hover-direction-effect .eae-grid-overlay{position:absolute;z-index:99;background:rgba(0,0,0,.5);height:100%;width:100%}.eae-fg-wrapper.eae-image-ratio-yes .eae-gallery-item-inner .eae-fg-img-wrapper{position:relative;top:0;overflow:hidden;left:0;right:0;border:0}.eae-fg-wrapper.eae-image-ratio-yes .eae-gallery-item-inner .eae-fg-img-wrapper img{height:100%;width:100%;display:block;position:absolute;top:0;left:0;object-fit:cover}.wts-eae-ribbons-badges-wrapper{display:none}.wts-eae-enable-ribbons-badges-yes .elementor-column-wrap>.wts-eae-ribbons-badges-wrapper{display:block}.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-ribbon>.wts-eae-ribbons-badges-wrapper{position:absolute;top:0;left:auto;right:0;-ms-transform:rotate(90deg);width:150px;overflow:hidden;height:150px;z-index:999;padding:8px 12px}.wts-eae-badge-h-left.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-ribbon>.wts-eae-ribbons-badges-wrapper{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);left:0;right:auto}.wts-eae-badge-h-right.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-ribbon>.wts-eae-ribbons-badges-wrapper{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(90deg);left:auto;right:0}.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-ribbon>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{position:absolute;text-align:center;left:0;top:0;width:200%;-webkit-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);-ms-transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);transform:translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);margin-top:35px;font-size:13px;line-height:2;font-weight:800;text-transform:uppercase;background:rgba(63,195,135,.8);padding:8px 12px}.wts-eae-enable-ribbons-badges-yes.wts-eae-badge-type-badge>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{min-height:3.236em;min-width:3.236em;padding:0;font-size:1em;font-weight:700;position:absolute;text-align:center;line-height:3.236;top:-.5em;left:-.5em;margin:0;border-radius:100%;background-color:#77a464;color:#fff;font-size:.857em;z-index:9}.wts-eae-badge-h-left.wts-eae-badge-v-bottom.wts-eae-enable-ribbons-badges-yes>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{left:20px;right:auto;top:auto;bottom:20px}.wts-eae-badge-h-left.wts-eae-badge-v-top.wts-eae-enable-ribbons-badges-yes>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{left:20px;right:auto;top:20px;bottom:auto}.wts-eae-badge-h-right.wts-eae-badge-v-bottom.wts-eae-enable-ribbons-badges-yes>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{left:auto;right:20px;top:auto;bottom:20px}.wts-eae-badge-h-right.wts-eae-badge-v-top.wts-eae-enable-ribbons-badges-yes>.wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner{left:auto;right:20px;top:20px;bottom:auto}.eae-flip-box-back svg,.eae-flip-box-front svg{width:25px;height:auto}.wts-eae-textseparator svg{width:25px;height:auto}.eae-img-comp-slider svg{width:22px;height:auto}.eae-popup-link svg{display:inline-block;width:1em}.eae-popup svg:focus,.eae-popup svg:hover{opacity:1;cursor:pointer}.eae-popup svg:active{top:1px}.eae-popup svg.eae-close{width:28px;height:28px;line-height:1em;text-decoration:none;text-align:center;opacity:1;background-color:#fff}.eae-dual-button-wrapper svg{width:1em;height:auto;display:block}eae-button-separator i{position:relative;display:block}.eae-button-1.icon-before svg,.eae-button-2.icon-after svg,.eae-button-2.icon-before svg{align-self:center;margin:0 10px 0 0}.eae-button-1.icon-after svg,.eae-button-2.icon-after svg{align-self:center;margin:0 0 0 10px}.eae-button-1.icon-down svg,.eae-button-1.icon-up svg,.eae-button-2.icon-down svg,.eae-button-2.icon-up svg{align-self:center;margin:5px 0}.eae-pt-button-wrapper a svg{width:1em}.eae-pt-action-button .eae-pt-align-icon-left{float:left}.eae-pt-action-button .eae-pt-align-icon-right{float:right}.eae-icon-wrap svg{width:20px;height:auto;font-size:20px;display:block}.eae-info-circle .eae-icon-wrap svg{width:20px;height:auto;font-size:20px}.eae-icon-view-stacked svg{fill:#fff}.ae-link-yes{cursor:pointer}.eae-element-unfold-content{padding:10px 0;background-color:#d3d3D3C4;width:100%;position:absolute;left:0;bottom:0;z-index:999}a.eae-unfold-link{background-color:#61ce70;color:#fff;display:inline-block;overflow:hidden}a.eae-unfold-link svg{background-color:#fff}.eae-unfold-button-icon{vertical-align:middle}.eae-fold-yes .elementor-column-wrap,.eae-fold-yes.elementor-section .elementor-container,.eae-fold-yes.elementor-widget{overflow:hidden}body.elementor-editor-active .elementor.elementor-edit-mode .elementor-element.elementor-section.eae-widget-unfold-yes .elementor-container,body.elementor-editor-preview .elementor.elementor-edit-mode .elementor-element.elementor-section.eae-widget-unfold-yes .elementor-container{overflow:hidden}body.elementor-editor-active .elementor.elementor-edit-mode .elementor-element.elementor-column.eae-widget-unfold-yes .elementor-column-wrap,body.elementor-editor-preview .elementor.elementor-edit-mode .elementor-element.elementor-column.eae-widget-unfold-yes .elementor-column-wrap{overflow:hidden}body.elementor-editor-active .elementor.elementor-edit-mode .elementor-element.elementor-widget.eae-widget-unfold-yes,body.elementor-editor-preview .elementor.elementor-edit-mode .elementor-element.elementor-widget.eae-widget-unfold-yes{overflow:hidden}.eae-widget-unfold-yes .elementor-widget-container .eae-fold-yes.eae-rc{display:none!important}.eae-unfold-button-icon svg{line-height:1em;text-decoration:none;-webkit-mask-repeat:no-repeat!important;text-align:center;opacity:1}.eae-fold-icon-type-svg .eae-unfold-button-icon,.eae-unfold-icon-type-svg .eae-unfold-button-icon{-webkit-mask-size:cover!important;background-image:none;transform:translateY(-50%)}.elementor-section.elementor-section-items-bottom.eae-widget-unfold-yes>.elementor-container,.elementor-section.elementor-section-items-middle.eae-widget-unfold-yes>.elementor-container{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:start}.elementor-section.elementor-section-content-bottom.eae-widget-unfold-yes>.elementor-container,.elementor-section.elementor-section-content-middle.eae-widget-unfold-yes>.elementor-container{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:start}.elementor-widget-wts-modal-popup.eae-pop-btn-type-image .eae-popup-link{padding:0;background-color:transparent;overflow:hidden}[data-elementor-device-mode=tablet] .eae-tab-format-mobile .eae-ct-hide.eae-fbox-heading{display:none!important}
assets/js/eae.js CHANGED
@@ -447,7 +447,6 @@ var breakpoints = eae.breakpoints;
447
  if (element_type == 'column') {
448
  $scope.prepend('<div class="eae-particle-wrapper" id="eae-particle-' + id + '"></div>');
449
  } else {
450
- console.log('calling');
451
  $scope.prepend('<div class="eae-particle-wrapper " id="eae-particle-' + id + '"></div>');
452
  }
453
 
@@ -488,7 +487,6 @@ var breakpoints = eae.breakpoints;
488
  $scope.css('background-image', gradient_color);
489
  if($scope.hasClass('elementor-element-edit-mode'))
490
  {
491
- console.log('Editor');
492
  color = $scope.find('.animated-gradient').data('color');
493
  angle = $scope.find('.animated-gradient').data('angle');
494
  gradient_color_editor = 'linear-gradient(' + angle + ',' + color + ')';
@@ -946,6 +944,14 @@ var breakpoints = eae.breakpoints;
946
  $scope.find('.eae-info-circle-item').removeClass('eae-active');
947
  $(this).parent().addClass('eae-active');
948
  });
 
 
 
 
 
 
 
 
949
 
950
  function showDiv() {
951
  if ($scope.find('.eae-active').next().length > 0) {
@@ -2253,7 +2259,6 @@ var breakpoints = eae.breakpoints;
2253
  };
2254
 
2255
  var FilterableGallery = function ($scope , $){
2256
- console.log('Filterable Gallery');
2257
  var $wrapper = $scope.find('.eae-fg-wrapper');
2258
  var wid = $scope.data('id');
2259
  var maxtilt = $wrapper.attr('data-maxtilt');
@@ -2262,6 +2267,7 @@ var breakpoints = eae.breakpoints;
2262
  var axis = $wrapper.attr('data-tilt-axis');
2263
  var glare = $wrapper.attr('data-glare');
2264
  var overlay_speed = parseInt($wrapper.attr('data-overlay-speed'));
 
2265
  if(axis === 'x'){
2266
  axis = 'y';
2267
  }else if(axis === 'y'){
@@ -2303,7 +2309,10 @@ var breakpoints = eae.breakpoints;
2303
  horizontalOrder : true
2304
  }
2305
  };
2306
-
 
 
 
2307
  var $grid = $container.isotope(adata);
2308
  $grid.imagesLoaded().progress(function() {
2309
  $grid.isotope('layout');
447
  if (element_type == 'column') {
448
  $scope.prepend('<div class="eae-particle-wrapper" id="eae-particle-' + id + '"></div>');
449
  } else {
 
450
  $scope.prepend('<div class="eae-particle-wrapper " id="eae-particle-' + id + '"></div>');
451
  }
452
 
487
  $scope.css('background-image', gradient_color);
488
  if($scope.hasClass('elementor-element-edit-mode'))
489
  {
 
490
  color = $scope.find('.animated-gradient').data('color');
491
  angle = $scope.find('.animated-gradient').data('angle');
492
  gradient_color_editor = 'linear-gradient(' + angle + ',' + color + ')';
944
  $scope.find('.eae-info-circle-item').removeClass('eae-active');
945
  $(this).parent().addClass('eae-active');
946
  });
947
+ // if($scope.hasClass('eae-mouseenter-yes')){
948
+ // console.log('dfadf');
949
+ // $scope.find('.eae-ic-icon-wrap').on('mouseenter', function () {
950
+ // $scope.find('.eae-info-circle-item').removeClass('eae-active');
951
+ // $(this).parent().addClass('eae-active');
952
+ // });
953
+ // }
954
+
955
 
956
  function showDiv() {
957
  if ($scope.find('.eae-active').next().length > 0) {
2259
  };
2260
 
2261
  var FilterableGallery = function ($scope , $){
 
2262
  var $wrapper = $scope.find('.eae-fg-wrapper');
2263
  var wid = $scope.data('id');
2264
  var maxtilt = $wrapper.attr('data-maxtilt');
2267
  var axis = $wrapper.attr('data-tilt-axis');
2268
  var glare = $wrapper.attr('data-glare');
2269
  var overlay_speed = parseInt($wrapper.attr('data-overlay-speed'));
2270
+
2271
  if(axis === 'x'){
2272
  axis = 'y';
2273
  }else if(axis === 'y'){
2309
  horizontalOrder : true
2310
  }
2311
  };
2312
+ if(!$scope.hasClass('eae-show-all-yes')){
2313
+ $scope.find('.eae-gallery-filter a').first().addClass('current');
2314
+ adata['filter'] = $scope.find('.eae-gallery-filter a').first().attr('data-filter');
2315
+ }
2316
  var $grid = $container.isotope(adata);
2317
  $grid.imagesLoaded().progress(function() {
2318
  $grid.isotope('layout');
assets/js/eae.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/wts-gmap.default",(function(e){map=function(a){$wrapper=e.find(".eae-markers");var i=$wrapper.data("zoom"),t=a.find(".marker"),n=$wrapper.data("style"),d=($wrapper.data("scroll"),{zoom:i,center:new google.maps.LatLng(0,0),mapTypeId:google.maps.MapTypeId.ROADMAP,styles:n}),r=new google.maps.Map(a[0],d);return r.markers=[],t.each((function(){!function(a,i){var t=$wrapper.data("animate");$wrapper.data("show-info-window-onload");$wrapper=e.find(".eae-markers");var n=new google.maps.LatLng(a.attr("data-lat"),a.attr("data-lng"));if(icon_img=a.attr("data-icon"),""!=icon_img)var d={url:a.attr("data-icon"),scaledSize:new google.maps.Size(a.attr("data-icon-size"),a.attr("data-icon-size"))};var r=new google.maps.Marker({position:n,map:i,icon:d,animation:google.maps.Animation.DROP});"animate-yes"==t&&"yes"!=a.data("info-window")&&r.setAnimation(google.maps.Animation.BOUNCE);"animate-yes"==t&&google.maps.event.addListener(r,"click",(function(){r.setAnimation(null)}));if(i.markers.push(r),a.html()){var s=new google.maps.InfoWindow({content:a.html()});"yes"==a.data("info-window")&&s.open(i,r),google.maps.event.addListener(r,"click",(function(){s.open(i,r)}))}"animate-yes"==t&&google.maps.event.addListener(s,"closeclick",(function(){r.setAnimation(google.maps.Animation.BOUNCE)}))}(jQuery(this),r)})),function(e,a){var i=new google.maps.LatLngBounds;jQuery.each(e.markers,(function(e,a){var t=new google.maps.LatLng(a.position.lat(),a.position.lng());i.extend(t)})),1==e.markers.length?(e.setCenter(i.getCenter()),e.setZoom(a)):e.fitBounds(i)}(r,i),r}(e.find(".eae-markers"))})),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e){var a,i,t,n,d,r,s,l=[],o=[],c=e.children(".eae-section-bs").children(".eae-section-bs-inner");c&&c.data("eae-bg-slider")&&(slider_images=c.data("eae-bg-slider"),a=c.data("eae-bg-slider-transition"),i=c.data("eae-bg-slider-animation"),n=("yes"==(t=c.data("eae-bg-custom-overlay"))||c.data("eae-bg-slider-overlay"),eae_editor.plugin_url+"assets/lib/vegas/overlays/"+c.data("eae-bg-slider-overlay")),d=c.data("eae-bg-slider-cover"),r=c.data("eae-bs-slider-delay"),s=c.data("eae-bs-slider-timer"),"undefined"!=typeof slider_images&&(l=slider_images.split(","),jQuery.each(l,(function(e,a){var i=[];i.src=a,o.push(i)})),c.vegas({slides:o,transition:a,animation:i,overlay:n,cover:d,delay:r,timer:s,init:function(){"yes"==t&&c.children(".vegas-overlay").css("background-image","")}})))}))}));var isEditMode=!1,breakpoints=eae.breakpoints;!function(e){e(window).on("elementor/frontend/init",(function(){var a=function(e,a){function i(e){$icons=a(document).find(e).find(".eae-ic-icon-wrap"),window.innerWidth<767?$icons.each((function(e,i){a(i).css("top",a(i).height()/2+8+"px"),a(i).next(".eae-info-circle-item__content-wrap").css("padding-top",a(i).height()/2+8+"px")})):$icons.each((function(e,i){a(i).css("margin-left",-.5*a(i).outerWidth()),a(i).css("margin-top",-.5*a(i).outerHeight()),$a=function(e){return e=(e-90)*Math.PI/180,{x:50+45*Math.cos(e),y:50+45*Math.sin(e)}}($angle),$b=360/$icons.length,a(i).css("left",$a.x+"%"),a(i).css("top",$a.y+"%"),$angle+=$b}))}$wrap_class=".elementor-element-"+e.data("id"),$angle=0,i(e);var t=null;function n(){"yes"==e.find(".eae-info-circle").data("autoplay")&&(t=setInterval(d,$autoplayDuration))}function d(){e.find(".eae-active").next().length>0?e.find(".eae-active").next().addClass("eae-active").siblings().removeClass("eae-active"):e.find(".eae-info-circle-item").eq(0).addClass("eae-active").siblings().removeClass("eae-active")}$autoplayDuration=e.find(".eae-info-circle").data("delay"),n(),e.find(".eae-ic-icon-wrap").hover((function(){clearInterval(t)}),(function(){n()})),e.find(".eae-info-circle-item").length>0&&a(e.find(".eae-info-circle-item")[0]).addClass("eae-active"),e.find(".eae-ic-icon-wrap").on("click mouseenter",(function(){e.find(".eae-info-circle-item").removeClass("eae-active"),a(this).parent().addClass("eae-active")})),window.addEventListener("resize",i.bind(this,$wrap_class))},i=function(e,a){function i(){var i=e.find(".eae-timline-progress-bar"),t=e.find(".eae-timeline-item"),n=e.find(".eae-timeline"),d=a(n).height(),r=a(t).last().find(".eae-tl-icon-wrapper").offset().top-a(t[0]).parent().offset().top,s=e.find(".eae-tl-icon-wrapper");a(i).css("top",a(t[0]).find(".eae-tl-icon-wrapper").offset().top-a(t[0]).parent().offset().top),a(i).css("bottom",d-r),a(i).css("left",s.eq(0)[0].offsetLeft+s.eq(0).width()/2),a(i).css("display","block"),t.each((function(e,i){new Waypoint({element:a(i),handler:function(e){"down"==e?a(i).addClass("eae-tl-item-focused"):a(i).removeClass("eae-tl-item-focused")},offset:100})}))}i(),window.addEventListener("resize",i),window.addEventListener("scroll",(function(){e.find(".eae-timline-progress-bar"),e.find(".eae-pb-inner-line").css("height",a(window).scrollTop()-e.find(".eae-timeline").offset().top+100),e.find(".eae-pb-inner-line").css("max-height",e.find(".eae-pb-inner-line").parent().height())}))};function t(e,a,i){var t=new Date;t.setTime(t.getTime()+60*i*60*1e3);var n="expires="+t.toUTCString();document.cookie=e+"="+a+";"+n+";path=/"}function n(e){for(var a=e+"=",i=decodeURIComponent(document.cookie).split(";"),t=0;t<i.length;t++){for(var n=i[t];" "==n.charAt(0);)n=n.substring(1);if(0==n.indexOf(a))return n.substring(a.length,n.length)}return""}var d=function(e,a){$wrapper=e.find(".eae-progress-bar");$wrapper.attr("data-skill");var i=$wrapper.attr("data-value"),t=$wrapper.attr("data-skin"),n=$wrapper.find(".eae-pb-bar-skill"),d=$wrapper.find(".eae-pb-bar-value"),r=$wrapper.find(".eae-pb-bar"),s=$wrapper.find(".eae-pb-bar-inner");"skin1"===t&&a(s).attr("style","width : "+i+"%"),"skin2"===t&&a(s).attr("style","width : "+i+"%"),"skin3"===t&&(a(d).addClass("eae-pb-bar-value--aligned-value"),a(d).attr("style","left :"+i+"%"),a(s).attr("style","width :"+i+"%")),"skin4"===t&&(a(d).addClass("eae-pb-bar-value--aligned-value"),a(d).attr("style","left :"+i+"%"),a(s).attr("style","width :"+i+"%"),a(r).addClass("eae-pb-bar--no-overflow")),"skin5"===t&&(a(d).addClass("eae-pb-bar-value--aligned-value"),a(d).attr("style","left :"+i+"%"),a(s).attr("style","width :"+i+"%")),$wrapper.each((function(e,i){new Waypoint({element:i,skill_value:a(i).find(".eae-pb-bar-skill"),valueElem:a(i).find(".eae-pb-bar-value"),prgBar:a(i).find(".eae-pb-bar-bar"),prgInner:a(i).find(".eae-pb-bar-inner"),handler:function(e){"down"==e&&(a(d).hasClass("js-animated")||a(d).addClass("js-animated"),a(s).hasClass("js-animated")||a(s).addClass("js-animated"),a(n).hasClass("js-animated")||a(n).addClass("js-animated"))},offset:"bottom-in-view"})}))};e.fn.EAEHoverDirection=function(a){var i=e.extend({inaccuracy:30,speed:200},a);this.find(".overlay").css({top:-9999999}),this.mouseenter((function(a){container=e(this),overlay=container.find(".overlay"),parentOffset=container.offset(),relX=a.pageX-parentOffset.left,relY=a.pageY-parentOffset.top,overlay.css({top:0,left:0,width:container.width(),height:container.height()}),relX>container.width()-i.inaccuracy?overlay.css({top:0,left:container.width()}):relX<i.inaccuracy?overlay.css({top:0,left:-container.width()}):relY>container.height()-i.inaccuracy?overlay.css({top:container.width(),left:0}):relY<i.inaccuracy&&overlay.css({top:-container.width(),left:0}),overlay.animate({top:0,left:0},i.speed)})),this.mouseleave((function(a){container=e(this),overlay=container.find(".overlay"),parentOffset=container.offset(),relX=a.pageX-parentOffset.left,relY=a.pageY-parentOffset.top,relX<=0&&overlay.animate({top:0,left:-container.width()},i.speed),relX>=container.width()&&overlay.animate({top:0,left:container.width()},i.speed),relY<=0&&overlay.animate({left:0,top:-container.height()},i.speed),relY>=container.height()&&overlay.animate({left:0,top:container.height()},i.speed)}))},elementorFrontend.hooks.addAction("frontend/element_ready/wts-ab-image.default",(function(e,a){e.find(".eae-img-comp-container").imagesLoaded().done((function(){ab_style=e.find(".eae-img-comp-container").data("ab-style"),slider_pos=e.find(".eae-img-comp-container").data("slider-pos"),"horizontal"===ab_style?(separator_width=parseInt(e.find(".eae-img-comp-overlay").css("border-right-width")),function(e){var a,i;a=e.find(".eae-img-comp-overlay"),i=(i=a.width())*slider_pos/100,function(a){var t,n,d,r=0;function s(e){e.preventDefault(),r=1,window.addEventListener("mousemove",o),t.addEventListener("touchmove",c)}function l(){r=0}function o(e){var i;if(0==r)return!1;(i=function(e){var i;return e=e||window.event,i=a.getBoundingClientRect(),e.pageX-i.left}(e))<0&&(i=0),i>n&&(i=n),f(i)}function c(e){var i;if(0==r)return!1;(i=function(e){var i;return i=a.getBoundingClientRect(),e.changedTouches[0].clientX-i.left}(e))<0&&(i=0),i>n&&(i=n),f(i)}function f(e){a.style.width=e+"px",t.style.left=a.offsetWidth-t.offsetWidth/2-separator_width/2+"px"}n=a.offsetWidth,d=a.offsetHeight,a.style.width=i+"px",(t=(t=e.find(".eae-img-comp-slider"))[0]).style.top=d/2-t.offsetHeight/2+"px",t.style.left=i-t.offsetWidth/2-separator_width/2+"px",e.hasClass("elementor-element-edit-mode")||(t.addEventListener("mousedown",s),window.addEventListener("mouseup",l),t.addEventListener("touchstart",s),window.addEventListener("touchstop",l))}(a[0])}(e)):(separator_width=parseInt(e.find(".eae-img-comp-overlay").css("border-bottom-width")),function(e){var a;a=e.find(".eae-img-comp-overlay"),start_pos=a.height(),start_pos=start_pos*slider_pos/100,function(a){var i,t,n,d=0;function r(e){e.preventDefault(),d=1,window.addEventListener("mousemove",l),i.addEventListener("touchmove",o)}function s(){d=0}function l(e){var i;if(0==d)return!1;(i=function(e){var i,t=0;return e=e||window.event,i=a.getBoundingClientRect(),t=e.pageY-i.top,t-=window.pageYOffset}(e))<0&&(i=0),i>n&&(i=n),c(i)}function o(e){var i;if(0==d)return!1;(i=function(e){var i;return i=a.getBoundingClientRect(),e.changedTouches[0].clientY-i.top}(e))<0&&(i=0),i>n&&(i=n),c(i)}function c(e){a.style.height=e+"px",i.style.top=a.offsetHeight-i.offsetHeight/2-separator_width/2+"px"}t=a.offsetWidth,n=a.offsetHeight,a.style.height=start_pos+"px",(i=(i=e.find(".eae-img-comp-slider"))[0]).style.top=start_pos-i.offsetHeight/2-separator_width/2+"px",i.style.left=t/2-i.offsetWidth/2+"px",e.hasClass("elementor-element-edit-mode")||(i.addEventListener("mousedown",r),window.addEventListener("mouseup",s),i.addEventListener("touchstart",r),window.addEventListener("touchstop",s))}(a[0])}(e))}))})),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e,a){e.hasClass("eae-particle-yes")&&(id=e.data("id"),element_type=e.data("element_type"),pdata=e.data("eae-particle"),pdata_wrapper=e.find(".eae-particle-wrapper").data("eae-pdata"),"undefined"!=typeof pdata&&""!=pdata?e.find(".eae-section-bs").length>0?(e.find(".eae-section-bs").after('<div class="eae-particle-wrapper" id="eae-particle-'+id+'"></div>'),particlesJS("eae-particle-"+id,pdata)):("column"==element_type?e.prepend('<div class="eae-particle-wrapper" id="eae-particle-'+id+'"></div>'):(console.log("calling"),e.prepend('<div class="eae-particle-wrapper " id="eae-particle-'+id+'"></div>')),particlesJS("eae-particle-"+id,pdata)):"undefined"!=typeof pdata_wrapper&&""!=pdata_wrapper&&(element_type,e.prepend('<div class="eae-particle-wrapper eae-particle-area" id="eae-particle-'+id+'"></div>'),particlesJS("eae-particle-"+id,JSON.parse(pdata_wrapper))))})),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e,a){if(e.hasClass("eae-animated-gradient-yes")){id=e.data("id"),color=e.data("color"),angle=e.data("angle");var i="linear-gradient("+angle+","+color+")";heading=e.find(".elementor-heading-title"),e.css("background-image",i),e.hasClass("elementor-element-edit-mode")&&(console.log("Editor"),color=e.find(".animated-gradient").data("color"),angle=e.find(".animated-gradient").data("angle"),gradient_color_editor="linear-gradient("+angle+","+color+")",e.prepend('<div class="animated-gradient" style="background-image : '+gradient_color_editor+' "></div>'))}})),elementorFrontend.hooks.addAction("frontend/element_ready/wts-modal-popup.default",(function(e,a){$preview_modal=e.find(".eae-popup-wrapper").data("preview-modal"),$close_btn_type=e.find(".eae-popup-wrapper").data("close-button-type"),$close_btn=e.find(".eae-popup-wrapper").data("close-btn"),"icon"==$close_btn_type?$close_btn_html='<i class="eae-close '+$close_btn+'"> </i>':$close_btn_html='<svg class="eae-close" style="-webkit-mask: url('+$close_btn+"); mask: url("+$close_btn+'); "></svg>',$magnific=e.find(".eae-popup-link").eaePopup({type:"inline",disableOn:0,key:null,midClick:!1,mainClass:"eae-popup eae-popup-"+e.find(".eae-popup-link").data("id")+" eae-wrap-"+e.find(".eae-popup-link").data("ctrl-id"),preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:e.find(".eae-popup-wrapper").data("close-in-out"),showCloseBtn:!0,enableEscapeKey:!1,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:$close_btn_html,tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}),"yes"==$preview_modal&&e.hasClass("elementor-element-edit-mode")&&e.find(".eae-popup-link").click()})),elementorFrontend.hooks.addAction("frontend/element_ready/wts-testimonial-slider.default",(function(e,a){if(e.find(".eae-grid-wrapper").hasClass("eae-masonry-yes")){var i=e.find(".eae-grid").masonry({});i.imagesLoaded().progress((function(){i.masonry("layout")}))}if(e.find(".eae-layout-carousel").length){outer_wrapper=e.find(".eae-swiper-outer-wrapper"),wid=e.data("id"),wclass=".elementor-element-"+wid;var t=outer_wrapper.data("direction"),n=outer_wrapper.data("speed"),d=outer_wrapper.data("autoplay"),r=outer_wrapper.data("duration"),s=outer_wrapper.data("effect"),l=outer_wrapper.data("space"),o=outer_wrapper.data("loop");o="yes"==o;var c=outer_wrapper.data("slides-per-view"),f=outer_wrapper.data("slides-per-group"),p=outer_wrapper.data("ptype"),m=outer_wrapper.data("navigation"),g=outer_wrapper.data("clickable"),u=outer_wrapper.data("keyboard"),v=outer_wrapper.data("scrollbar");adata={direction:t,effect:s,spaceBetween:l.desktop,loop:o,speed:n,slidesPerView:c.desktop,slidesPerGroup:f.desktop,observer:!0,mousewheel:{invert:!0},breakpoints:{1024:{spaceBetween:l.tablet,slidesPerView:c.tablet,slidesPerGroup:f.tablet},767:{spaceBetween:l.mobile,slidesPerView:c.mobile,slidesPerGroup:f.mobile}}},"fade"==s&&(adata.fadeEffect={crossFade:!1}),adata.autoplay="yes"==d&&{delay:r,disableOnInteraction:!1},"yes"==m&&(adata.navigation={nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}),""!=p&&(adata.pagination={el:".swiper-pagination",type:p}),"bullets"==p&&"yes"==g&&(adata.pagination={el:".swiper-pagination",clickable:!0,type:p}),"yes"==v&&(adata.scrollbar={el:".swiper-scrollbar",draggable:!0}),"yes"==u&&(adata.keyboard={enabled:!0,onlyInViewport:!0}),0==o&&(adata.autoplay={delay:r,stopOnLastSlide:!0,disableOnInteraction:!1}),window.mswiper=new Swiper(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .swiper-container",adata),a(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .swiper-container").css("visibility","visible")}})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin1",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin2",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin3",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin4",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin1",i),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin2",i),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin3",i),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin4",i),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin1",(function(e,a){var i=e.find(".eae-evergreen-wrapper").data("egtime"),d=e.find(".eae-evergreen-wrapper").data("egt-expire"),r=e.find(".eae-evergreen-wrapper").data("element-type"),s="eae-"+e.find(".eae-evergreen-wrapper").data("id"),l="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),o=e.find(".eae-evergreen-wrapper").data("actions"),c=e.find(".eae-evergreen-wrapper").data("unqid"),f=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===r){g=new Date(i),i=g.getTime();var p="expires="+g.toUTCString();document.cookie=l+"="+g.getTime()+";"+p+";path=/"}else{var m=n(s),g="";if(""!==m){(g=new Date(parseInt(m))).setSeconds(g.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),i=g.getTime();var u=new Date(parseInt(m));u.setTime(u.getTime()+60*d*60*1e3);var v="expires="+u.toUTCString();document.cookie=s+"="+m+";"+v+";path=/";var h=new Date(parseInt(m));h.setTime(h.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));p="expires="+h.toUTCString();i-f>0&&(document.cookie=l+"="+m+";"+p+";path=/")}else{temp_date=i,(g=new Date).setSeconds(g.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),i=g.getTime(),t(s,(new Date).getTime(),d);var w=new Date;w.setTime(w.getTime()+1e3*temp_date);var y="expires="+w.toUTCString();document.cookie=l+"="+(new Date).getTime()+";"+y+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")&&i-f<0)return o.length>0&&o.forEach((function(i){"redirect"===i&&($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==a.trim($url)&&(window.location.href=$url1)),"hide"===i&&(e.hasClass("elementor-element-edit-mode")||(e.find("#eaeclockdiv").css("display","none"),e.find(".egt-title").css("display","none"))),"message"===i&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===i&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))})),days="00",hours="00",minutes="00",seconds="00",e.find("."+c).find("#eaedivDays").html(days),e.find("."+c).find("#eaedivHours").html(hours.slice(-2)),e.find("."+c).find("#eaedivMinutes").html(minutes.slice(-2)),void e.find("."+c).find("#eaedivSeconds").html(seconds.slice(-2));e.hasClass("elementor-element-edit-mode")&&("countdown"===r?(g=new Date(i),i=g.getTime()):((g=new Date).setSeconds(g.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),i=g.getTime()));var k=setInterval((function(){var t=(new Date).getTime(),n=i-t,d=0,r=0,s=0,l=0;n>0?(d=Math.floor(n/864e5),r="0"+Math.floor(n%864e5/36e5),s="0"+Math.floor(n%36e5/6e4),l="0"+Math.floor(n%6e4/1e3)):(o.length>0&&(e.hasClass("elementor-element-edit-mode")||o.forEach((function(i){"redirect"===i&&($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==a.trim($url1)&&(window.location.href=$url1)),"hide"===i&&(e.find("#eaeclockdiv").css("display","none"),e.find(".egt-title").css("display","none")),"message"===i&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===i&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))}))),clearInterval(k),d="0",r="00",s="00",l="00"),d<10&&(d="0"+d),e.find("."+c).find("#eaedivDays").html(d),e.find("."+c).find("#eaedivHours").html(r.slice(-2)),e.find("."+c).find("#eaedivMinutes").html(s.slice(-2)),e.find("."+c).find("#eaedivSeconds").html(l.slice(-2))}),1e3)})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin2",(function(e,a){var i=e.find(".eae-evergreen-wrapper").data("egtime"),d=e.find(".eae-evergreen-wrapper").data("egt-expire"),r=e.find(".eae-evergreen-wrapper").data("element-type"),s="eae-"+e.find(".eae-evergreen-wrapper").data("id"),l="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),o=e.find(".eae-evergreen-wrapper").data("actions"),c=e.find(".eae-evergreen-wrapper").data("unqid"),f=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===r){g=new Date(i),i=g.getTime();var p="expires="+g.toUTCString();document.cookie=l+"="+g.getTime()+";"+p+";path=/"}else{var m=n(s),g="";if(""!==m){(g=new Date(parseInt(m))).setSeconds(g.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),i=g.getTime();var u=new Date(parseInt(m));u.setTime(u.getTime()+60*d*60*1e3);var v="expires="+u.toUTCString();document.cookie=s+"="+m+";"+v+";path=/";var h=new Date(parseInt(m));h.setTime(h.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));p="expires="+h.toUTCString();i-f>0&&(document.cookie=l+"="+m+";"+p+";path=/")}else{temp_date=i,(g=new Date).setSeconds(g.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),i=g.getTime(),t(s,(new Date).getTime(),d);var w=new Date;w.setTime(w.getTime()+1e3*temp_date);var y="expires="+w.toUTCString();document.cookie=l+"="+(new Date).getTime()+";"+y+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")&&i-f<0)return void(o.length>0&&o.forEach((function(i){"redirect"===i&&($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==a.trim($url)&&(window.location.href=$url)),"hide"===i&&(e.find("."+c).find(".timer-container").css("display","none"),e.find("."+c).find(".egt-title").css("display","none")),"message"===i&&e.find("."+c).find(".eae-egt-message").css("display","block"),"hide_parent"===i&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))})));e.hasClass("elementor-element-edit-mode")&&("countdown"===r?(g=new Date(i),i=g.getTime()):((g=new Date).setSeconds(g.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),i=g.getTime()));var k=setInterval((function(){var t=(new Date).getTime(),n=i-t,d=Math.floor(n/864e5),r=Math.floor(n%864e5/36e5),s=Math.floor(n%36e5/6e4),l=Math.floor(n%6e4/1e3);if(e.find("."+c).find("#eaeulSec1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulSec").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulSec").find(".flip-clock-before").removeClass("flip-clock-before"),n<0)return clearInterval(k),void(o.length>0&&o.forEach((function(i){"redirect"===i&&(e.hasClass("elementor-element-edit-mode")||($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==a.trim($url1)&&(window.location.href=$url1))),"hide"===i&&(e.hasClass("elementor-element-edit-mode")||(e.find("."+c).find(".timer-container").css("display","none"),e.find("."+c).find(".egt-title").css("display","none"))),"message"===i&&(e.hasClass("elementor-element-edit-mode")||e.find("."+c).find(".eae-egt-message").css("display","block")),"hide_parent"===i&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))})));if(2===a.trim(l).length){var f="#eaeulSec1 li:eq( "+a.trim(l).charAt(1)+" )",p="#eaeulSec li:eq( "+a.trim(l).charAt(0)+" )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec li:first-child").addClass("flip-clock-before"))}else{f="#eaeulSec1 li:eq( "+a.trim(l).charAt(0)+" )",p="#eaeulSec li:eq( 0 )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulMin1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulMin").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulMin").find(".flip-clock-before").removeClass("flip-clock-before"),2==a.trim(s).length){f="#eaeulMin1 li:eq( "+a.trim(s).charAt(1)+" )",p="#eaeulMin li:eq( "+a.trim(s).charAt(0)+" )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin li:first-child").addClass("flip-clock-before"))}else{f="#eaeulMin1 li:eq( "+a.trim(s).charAt(0)+" )",p="#eaeulMin li:eq( 0 )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulHour1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulHour1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulHour").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulHour").find(".flip-clock-before").removeClass("flip-clock-before"),2==a.trim(r).length){f="#eaeulHour1 li:eq( "+a.trim(r).charAt(1)+" )",p="#eaeulHour li:eq( "+a.trim(r).charAt(0)+" )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before"))}else{f="#eaeulHour1 li:eq( "+a.trim(r).charAt(0)+" )",p="#eaeulHour li:eq( 0 )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulDay1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulDay1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulDay").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulDay").find(".flip-clock-before").removeClass("flip-clock-before"),2==a.trim(d).length){f="#eaeulDay1 li:eq( "+a.trim(d).charAt(1)+" )",p="#eaeulDay li:eq( "+a.trim(d).charAt(0)+" )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before"))}else{f="#eaeulDay1 li:eq( "+a.trim(d).charAt(0)+" )",p="#eaeulDay li:eq( 0 )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before"))}}),1e3)})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin3",(function(e,a){var i,d=e.find(".eae-evergreen-wrapper").data("egtime"),r=e.find(".eae-evergreen-wrapper").data("egt-expire"),s=e.find(".eae-evergreen-wrapper").data("element-type"),l="eae-"+e.find(".eae-evergreen-wrapper").data("id"),o="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),c=e.find(".eae-evergreen-wrapper").data("actions"),f=e.find(".eae-evergreen-wrapper").data("days"),p=e.find(".eae-evergreen-wrapper").data("hours"),m=e.find(".eae-evergreen-wrapper").data("mins"),g=e.find(".eae-evergreen-wrapper").data("seconds"),u=e.find(".eae-evergreen-wrapper").data("unqid"),v=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===s){y=new Date(d),d=y.getTime();var h="expires="+y.toUTCString();document.cookie=o+"="+y.getTime()+";"+h+";path=/"}else{var w=n(l),y="";if(""!==w){(y=new Date(parseInt(w))).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),d=y.getTime();var k=new Date(parseInt(w));k.setTime(k.getTime()+60*r*60*1e3);var b="expires="+k.toUTCString();document.cookie=l+"="+w+";"+b+";path=/";var C=new Date(parseInt(w));C.setTime(C.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));h="expires="+C.toUTCString();d-v>0&&(document.cookie=o+"="+w+";"+h+";path=/")}else{temp_date=d,(y=new Date).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),d=y.getTime(),t(l,(new Date).getTime(),r);var _=new Date;_.setTime(_.getTime()+1e3*temp_date);var T="expires="+_.toUTCString();document.cookie=o+"="+(new Date).getTime()+";"+T+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")){var x=D(d);if(parseInt(x.all)<1){if(c.length>0&&(c.forEach((function(a){"redirect"===a&&(e.hasClass("elementor-element-edit-mode")||($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==$url&&(window.location.href=$url))),"hide_parent"===a&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none"))),"hide"===a&&(e.find("#timer").css("display","none"),e.find(".egt-title").css("display","none"),e.find(".desc").css("display","none")),"message"===a&&e.find(".eae-egt-message").css("display","block")})),1===c.length&&(""===c[0]||"message"===c[0]))){var $=e.find("."+u).find("#timer")[0];"yes"===f&&($.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===p&&("yes"===f?a($).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):$.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===m&&("yes"===f||"yes"===p?a($).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):$.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===g&&("yes"===f||"yes"===p||"yes"===m?a($).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):$.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>")}return}}function D(e){var a=d-new Date;return{days:Math.floor(a/864e5),hours:"0"+Math.floor(a/36e5%24),minutes:"0"+Math.floor(a/6e4%60),seconds:"0"+Math.floor(a/1e3%60),all:a}}function S(e){e.classList.add("fade"),setTimeout((function(){e.classList.remove("fade")}),700)}e.hasClass("elementor-element-edit-mode")&&("countdown"===s?(y=new Date(d),d=y.getTime()):((y=new Date).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),d=y.getTime())),D(d).all>1&&(i=setInterval((function(){var t=e.find("."+u).find("#timer")[0],n=D(d);"yes"===f&&(n.days<10&&(n.days="0"+n.days),t.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+n.days+"</div></span>"),"yes"===p&&("yes"===f?a(t).append("<span class='egt-time eae-time-wrapper'><div>"+n.hours.slice(-2)+"</div></span>"):t.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+n.hours.slice(-2)+"</div></span>"),"yes"===m&&("yes"===f||"yes"===p?a(t).append("<span class='egt-time eae-time-wrapper'><div>"+n.minutes.slice(-2)+"</div></span>"):t.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+n.minutes.slice(-2)+"</div></span>"),"yes"===g&&("yes"===f||"yes"===p||"yes"===m?a(t).append("<span class='egt-time eae-time-wrapper'><div>"+n.seconds.slice(-2)+"</div></span>"):t.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+n.seconds.slice(-2)+"</div></span>");var r=t.getElementsByTagName("span");"yes"===f&&59==n.hours&&59==n.minutes&&59==n.seconds&&S(r[0]),"yes"===p&&("yes"===f?59==n.minutes&&59==n.seconds&&S(r[1]):59==n.minutes&&59==n.seconds&&S(r[0])),"yes"===m&&("yes"===f?"yes"===p?59==n.seconds&&S(r[2]):59==n.seconds&&S(r[1]):"yes"===p?59==n.seconds&&S(r[1]):59==n.seconds&&S(r[0])),"yes"===g&&("yes"===f?"yes"===p?"yes"===m&&S(r[3]):S("yes"===m?r[2]:r[1]):"yes"===p?"yes"===m&&S(r[2]):S("yes"===m?r[1]:r[0])),n.all<=1&&(clearInterval(i),"yes"===f&&(t.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===p&&("yes"===f?a(t).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):t.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===m&&("yes"===f||"yes"===p?a(t).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):t.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===g&&("yes"===f||"yes"===p||"yes"===m?a(t).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):t.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),e.hasClass("elementor-element-edit-mode")||c.length>0&&c.forEach((function(a){"redirect"===a&&($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==$url1&&(window.location.href=$url1)),"hide"===a&&(e.find("#timer").css("display","none"),e.find(".egt-title").css("display","none"),e.find(".desc").css("display","none")),"message"===a&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===a&&($p_secs=e.closest("section"),$p_secs.css("display","none"))})))}),1e3))})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-comparisontable.default",(function(e,a){a(e.find(".eae-ct-heading")[0]).addClass("active"),e.find("ul").on("click","li",(function(){var i=a(this).index()+2;e.find("tr").find("td:not(:eq(0))").hide(),e.find("td:nth-child("+i+")").css("display","table-cell"),e.find("tr").find("th:not(:eq(0))").hide(),e.find("li").removeClass("active"),a(this).addClass("active")}));var i=window.matchMedia("(min-width: 767px)");function t(a){a.matches?e.find(".sep").attr("colspan",5):e.find(".sep").attr("colspan",2)}i.addListener(t),t(i)})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin1",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin2",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin3",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin4",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin5",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-filterableGallery.default",(function(e,a){console.log("Filterable Gallery");var i=e.find(".eae-fg-wrapper"),t=e.data("id"),n=i.attr("data-maxtilt"),d=i.attr("data-perspective"),r=i.attr("data-speed"),s=i.attr("data-tilt-axis"),l=i.attr("data-glare"),o=parseInt(i.attr("data-overlay-speed"));if(s="x"===s?"y":"y"===s?"x":"both","yes"===l)var c=i.attr("data-max-glare");l="yes"===l;var f=a(".elementor-element-"+t+" .eae-fg-image"),p=i.hasClass("masonry-yes")?"masonry":"fitRows";adata={percentPosition:!0,animationOptions:{duration:750,easing:"linear",queue:!1}},"fitRows"===p&&(adata.layoutMode="fitRows"),"masonry"===p&&(adata.masonry={columnWidth:".eae-gallery-item",horizontalOrder:!0});var m=f.isotope(adata);m.imagesLoaded().progress((function(){m.isotope("layout")})),e.find(".eae-tilt-yes")&&(atilt={maxTilt:n,perspective:d,easing:"linear",scale:1,speed:r,disableAxis:s,transition:!0,reset:!0,glare:l,maxGlare:c},e.find(".el-tilt").tilt(atilt)),a(".elementor-element-"+t+" .eae-gallery-filter a").on("click",(function(){e.find(".eae-gallery-filter .current").removeClass("current"),a(this).addClass("current");var i=a(this).attr("data-filter");adata.filter=i;var t=f.isotope(adata);return t.imagesLoaded().progress((function(){if(t.isotope("layout"),isEditMode)return!1;e.find(".eae-tilt-yes")&&(e.find(".el-tilt").tilt(atilt),e.find(".el-tilt").tilt.reset.call(e.find(".el-tilt")))})),!1})),i.hasClass("eae-hover-direction-effect")||e.find(".eae-gallery-item-inner").hover((function(){a(this).find(".eae-grid-overlay").addClass("animated")})),i.hasClass("eae-hover-direction-effect")&&(e.find(".eae-gallery-item-inner").hover((function(){a(this).find(".eae-grid-overlay").addClass("overlay")})),i.find(".eae-gallery-item-inner").EAEHoverDirection({speed:o}))})),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e,a){isEditMode||e.data("wts-url")&&"yes"==e.data("wts-link")&&e.on("click",(function(a){e.data("wts-url")&&"yes"==e.data("wts-new-window")?window.open(e.data("wts-url")):location.href=e.data("wts-url")}))}))}))}(jQuery);
1
+ jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/wts-gmap.default",(function(e){map=function(a){$wrapper=e.find(".eae-markers");var i=$wrapper.data("zoom"),t=a.find(".marker"),n=$wrapper.data("style"),d=($wrapper.data("scroll"),{zoom:i,center:new google.maps.LatLng(0,0),mapTypeId:google.maps.MapTypeId.ROADMAP,styles:n}),r=new google.maps.Map(a[0],d);return r.markers=[],t.each((function(){!function(a,i){var t=$wrapper.data("animate");$wrapper.data("show-info-window-onload");$wrapper=e.find(".eae-markers");var n=new google.maps.LatLng(a.attr("data-lat"),a.attr("data-lng"));if(icon_img=a.attr("data-icon"),""!=icon_img)var d={url:a.attr("data-icon"),scaledSize:new google.maps.Size(a.attr("data-icon-size"),a.attr("data-icon-size"))};var r=new google.maps.Marker({position:n,map:i,icon:d,animation:google.maps.Animation.DROP});"animate-yes"==t&&"yes"!=a.data("info-window")&&r.setAnimation(google.maps.Animation.BOUNCE);"animate-yes"==t&&google.maps.event.addListener(r,"click",(function(){r.setAnimation(null)}));if(i.markers.push(r),a.html()){var s=new google.maps.InfoWindow({content:a.html()});"yes"==a.data("info-window")&&s.open(i,r),google.maps.event.addListener(r,"click",(function(){s.open(i,r)}))}"animate-yes"==t&&google.maps.event.addListener(s,"closeclick",(function(){r.setAnimation(google.maps.Animation.BOUNCE)}))}(jQuery(this),r)})),function(e,a){var i=new google.maps.LatLngBounds;jQuery.each(e.markers,(function(e,a){var t=new google.maps.LatLng(a.position.lat(),a.position.lng());i.extend(t)})),1==e.markers.length?(e.setCenter(i.getCenter()),e.setZoom(a)):e.fitBounds(i)}(r,i),r}(e.find(".eae-markers"))})),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e){var a,i,t,n,d,r,s,l=[],o=[],c=e.children(".eae-section-bs").children(".eae-section-bs-inner");c&&c.data("eae-bg-slider")&&(slider_images=c.data("eae-bg-slider"),a=c.data("eae-bg-slider-transition"),i=c.data("eae-bg-slider-animation"),n=("yes"==(t=c.data("eae-bg-custom-overlay"))||c.data("eae-bg-slider-overlay"),eae_editor.plugin_url+"assets/lib/vegas/overlays/"+c.data("eae-bg-slider-overlay")),d=c.data("eae-bg-slider-cover"),r=c.data("eae-bs-slider-delay"),s=c.data("eae-bs-slider-timer"),"undefined"!=typeof slider_images&&(l=slider_images.split(","),jQuery.each(l,(function(e,a){var i=[];i.src=a,o.push(i)})),c.vegas({slides:o,transition:a,animation:i,overlay:n,cover:d,delay:r,timer:s,init:function(){"yes"==t&&c.children(".vegas-overlay").css("background-image","")}})))}))}));var isEditMode=!1,breakpoints=eae.breakpoints;!function(e){e(window).on("elementor/frontend/init",(function(){var a=function(e,a){function i(e){$icons=a(document).find(e).find(".eae-ic-icon-wrap"),window.innerWidth<767?$icons.each((function(e,i){a(i).css("top",a(i).height()/2+8+"px"),a(i).next(".eae-info-circle-item__content-wrap").css("padding-top",a(i).height()/2+8+"px")})):$icons.each((function(e,i){a(i).css("margin-left",-.5*a(i).outerWidth()),a(i).css("margin-top",-.5*a(i).outerHeight()),$a=function(e){return e=(e-90)*Math.PI/180,{x:50+45*Math.cos(e),y:50+45*Math.sin(e)}}($angle),$b=360/$icons.length,a(i).css("left",$a.x+"%"),a(i).css("top",$a.y+"%"),$angle+=$b}))}$wrap_class=".elementor-element-"+e.data("id"),$angle=0,i(e);var t=null;function n(){"yes"==e.find(".eae-info-circle").data("autoplay")&&(t=setInterval(d,$autoplayDuration))}function d(){e.find(".eae-active").next().length>0?e.find(".eae-active").next().addClass("eae-active").siblings().removeClass("eae-active"):e.find(".eae-info-circle-item").eq(0).addClass("eae-active").siblings().removeClass("eae-active")}$autoplayDuration=e.find(".eae-info-circle").data("delay"),n(),e.find(".eae-ic-icon-wrap").hover((function(){clearInterval(t)}),(function(){n()})),e.find(".eae-info-circle-item").length>0&&a(e.find(".eae-info-circle-item")[0]).addClass("eae-active"),e.find(".eae-ic-icon-wrap").on("click mouseenter",(function(){e.find(".eae-info-circle-item").removeClass("eae-active"),a(this).parent().addClass("eae-active")})),window.addEventListener("resize",i.bind(this,$wrap_class))},i=function(e,a){function i(){var i=e.find(".eae-timline-progress-bar"),t=e.find(".eae-timeline-item"),n=e.find(".eae-timeline"),d=a(n).height(),r=a(t).last().find(".eae-tl-icon-wrapper").offset().top-a(t[0]).parent().offset().top,s=e.find(".eae-tl-icon-wrapper");a(i).css("top",a(t[0]).find(".eae-tl-icon-wrapper").offset().top-a(t[0]).parent().offset().top),a(i).css("bottom",d-r),a(i).css("left",s.eq(0)[0].offsetLeft+s.eq(0).width()/2),a(i).css("display","block"),t.each((function(e,i){new Waypoint({element:a(i),handler:function(e){"down"==e?a(i).addClass("eae-tl-item-focused"):a(i).removeClass("eae-tl-item-focused")},offset:100})}))}i(),window.addEventListener("resize",i),window.addEventListener("scroll",(function(){e.find(".eae-timline-progress-bar"),e.find(".eae-pb-inner-line").css("height",a(window).scrollTop()-e.find(".eae-timeline").offset().top+100),e.find(".eae-pb-inner-line").css("max-height",e.find(".eae-pb-inner-line").parent().height())}))};function t(e,a,i){var t=new Date;t.setTime(t.getTime()+60*i*60*1e3);var n="expires="+t.toUTCString();document.cookie=e+"="+a+";"+n+";path=/"}function n(e){for(var a=e+"=",i=decodeURIComponent(document.cookie).split(";"),t=0;t<i.length;t++){for(var n=i[t];" "==n.charAt(0);)n=n.substring(1);if(0==n.indexOf(a))return n.substring(a.length,n.length)}return""}var d=function(e,a){$wrapper=e.find(".eae-progress-bar");$wrapper.attr("data-skill");var i=$wrapper.attr("data-value"),t=$wrapper.attr("data-skin"),n=$wrapper.find(".eae-pb-bar-skill"),d=$wrapper.find(".eae-pb-bar-value"),r=$wrapper.find(".eae-pb-bar"),s=$wrapper.find(".eae-pb-bar-inner");"skin1"===t&&a(s).attr("style","width : "+i+"%"),"skin2"===t&&a(s).attr("style","width : "+i+"%"),"skin3"===t&&(a(d).addClass("eae-pb-bar-value--aligned-value"),a(d).attr("style","left :"+i+"%"),a(s).attr("style","width :"+i+"%")),"skin4"===t&&(a(d).addClass("eae-pb-bar-value--aligned-value"),a(d).attr("style","left :"+i+"%"),a(s).attr("style","width :"+i+"%"),a(r).addClass("eae-pb-bar--no-overflow")),"skin5"===t&&(a(d).addClass("eae-pb-bar-value--aligned-value"),a(d).attr("style","left :"+i+"%"),a(s).attr("style","width :"+i+"%")),$wrapper.each((function(e,i){new Waypoint({element:i,skill_value:a(i).find(".eae-pb-bar-skill"),valueElem:a(i).find(".eae-pb-bar-value"),prgBar:a(i).find(".eae-pb-bar-bar"),prgInner:a(i).find(".eae-pb-bar-inner"),handler:function(e){"down"==e&&(a(d).hasClass("js-animated")||a(d).addClass("js-animated"),a(s).hasClass("js-animated")||a(s).addClass("js-animated"),a(n).hasClass("js-animated")||a(n).addClass("js-animated"))},offset:"bottom-in-view"})}))};e.fn.EAEHoverDirection=function(a){var i=e.extend({inaccuracy:30,speed:200},a);this.find(".overlay").css({top:-9999999}),this.mouseenter((function(a){container=e(this),overlay=container.find(".overlay"),parentOffset=container.offset(),relX=a.pageX-parentOffset.left,relY=a.pageY-parentOffset.top,overlay.css({top:0,left:0,width:container.width(),height:container.height()}),relX>container.width()-i.inaccuracy?overlay.css({top:0,left:container.width()}):relX<i.inaccuracy?overlay.css({top:0,left:-container.width()}):relY>container.height()-i.inaccuracy?overlay.css({top:container.width(),left:0}):relY<i.inaccuracy&&overlay.css({top:-container.width(),left:0}),overlay.animate({top:0,left:0},i.speed)})),this.mouseleave((function(a){container=e(this),overlay=container.find(".overlay"),parentOffset=container.offset(),relX=a.pageX-parentOffset.left,relY=a.pageY-parentOffset.top,relX<=0&&overlay.animate({top:0,left:-container.width()},i.speed),relX>=container.width()&&overlay.animate({top:0,left:container.width()},i.speed),relY<=0&&overlay.animate({left:0,top:-container.height()},i.speed),relY>=container.height()&&overlay.animate({left:0,top:container.height()},i.speed)}))},elementorFrontend.hooks.addAction("frontend/element_ready/wts-ab-image.default",(function(e,a){e.find(".eae-img-comp-container").imagesLoaded().done((function(){ab_style=e.find(".eae-img-comp-container").data("ab-style"),slider_pos=e.find(".eae-img-comp-container").data("slider-pos"),"horizontal"===ab_style?(separator_width=parseInt(e.find(".eae-img-comp-overlay").css("border-right-width")),function(e){var a,i;a=e.find(".eae-img-comp-overlay"),i=(i=a.width())*slider_pos/100,function(a){var t,n,d,r=0;function s(e){e.preventDefault(),r=1,window.addEventListener("mousemove",o),t.addEventListener("touchmove",c)}function l(){r=0}function o(e){var i;if(0==r)return!1;(i=function(e){var i;return e=e||window.event,i=a.getBoundingClientRect(),e.pageX-i.left}(e))<0&&(i=0),i>n&&(i=n),f(i)}function c(e){var i;if(0==r)return!1;(i=function(e){var i;return i=a.getBoundingClientRect(),e.changedTouches[0].clientX-i.left}(e))<0&&(i=0),i>n&&(i=n),f(i)}function f(e){a.style.width=e+"px",t.style.left=a.offsetWidth-t.offsetWidth/2-separator_width/2+"px"}n=a.offsetWidth,d=a.offsetHeight,a.style.width=i+"px",(t=(t=e.find(".eae-img-comp-slider"))[0]).style.top=d/2-t.offsetHeight/2+"px",t.style.left=i-t.offsetWidth/2-separator_width/2+"px",e.hasClass("elementor-element-edit-mode")||(t.addEventListener("mousedown",s),window.addEventListener("mouseup",l),t.addEventListener("touchstart",s),window.addEventListener("touchstop",l))}(a[0])}(e)):(separator_width=parseInt(e.find(".eae-img-comp-overlay").css("border-bottom-width")),function(e){var a;a=e.find(".eae-img-comp-overlay"),start_pos=a.height(),start_pos=start_pos*slider_pos/100,function(a){var i,t,n,d=0;function r(e){e.preventDefault(),d=1,window.addEventListener("mousemove",l),i.addEventListener("touchmove",o)}function s(){d=0}function l(e){var i;if(0==d)return!1;(i=function(e){var i,t=0;return e=e||window.event,i=a.getBoundingClientRect(),t=e.pageY-i.top,t-=window.pageYOffset}(e))<0&&(i=0),i>n&&(i=n),c(i)}function o(e){var i;if(0==d)return!1;(i=function(e){var i;return i=a.getBoundingClientRect(),e.changedTouches[0].clientY-i.top}(e))<0&&(i=0),i>n&&(i=n),c(i)}function c(e){a.style.height=e+"px",i.style.top=a.offsetHeight-i.offsetHeight/2-separator_width/2+"px"}t=a.offsetWidth,n=a.offsetHeight,a.style.height=start_pos+"px",(i=(i=e.find(".eae-img-comp-slider"))[0]).style.top=start_pos-i.offsetHeight/2-separator_width/2+"px",i.style.left=t/2-i.offsetWidth/2+"px",e.hasClass("elementor-element-edit-mode")||(i.addEventListener("mousedown",r),window.addEventListener("mouseup",s),i.addEventListener("touchstart",r),window.addEventListener("touchstop",s))}(a[0])}(e))}))})),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e,a){e.hasClass("eae-particle-yes")&&(id=e.data("id"),element_type=e.data("element_type"),pdata=e.data("eae-particle"),pdata_wrapper=e.find(".eae-particle-wrapper").data("eae-pdata"),"undefined"!=typeof pdata&&""!=pdata?e.find(".eae-section-bs").length>0?(e.find(".eae-section-bs").after('<div class="eae-particle-wrapper" id="eae-particle-'+id+'"></div>'),particlesJS("eae-particle-"+id,pdata)):("column"==element_type?e.prepend('<div class="eae-particle-wrapper" id="eae-particle-'+id+'"></div>'):e.prepend('<div class="eae-particle-wrapper " id="eae-particle-'+id+'"></div>'),particlesJS("eae-particle-"+id,pdata)):"undefined"!=typeof pdata_wrapper&&""!=pdata_wrapper&&(element_type,e.prepend('<div class="eae-particle-wrapper eae-particle-area" id="eae-particle-'+id+'"></div>'),particlesJS("eae-particle-"+id,JSON.parse(pdata_wrapper))))})),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e,a){if(e.hasClass("eae-animated-gradient-yes")){id=e.data("id"),color=e.data("color"),angle=e.data("angle");var i="linear-gradient("+angle+","+color+")";heading=e.find(".elementor-heading-title"),e.css("background-image",i),e.hasClass("elementor-element-edit-mode")&&(color=e.find(".animated-gradient").data("color"),angle=e.find(".animated-gradient").data("angle"),gradient_color_editor="linear-gradient("+angle+","+color+")",e.prepend('<div class="animated-gradient" style="background-image : '+gradient_color_editor+' "></div>'))}})),elementorFrontend.hooks.addAction("frontend/element_ready/wts-modal-popup.default",(function(e,a){$preview_modal=e.find(".eae-popup-wrapper").data("preview-modal"),$close_btn_type=e.find(".eae-popup-wrapper").data("close-button-type"),$close_btn=e.find(".eae-popup-wrapper").data("close-btn"),"icon"==$close_btn_type?$close_btn_html='<i class="eae-close '+$close_btn+'"> </i>':$close_btn_html='<svg class="eae-close" style="-webkit-mask: url('+$close_btn+"); mask: url("+$close_btn+'); "></svg>',$magnific=e.find(".eae-popup-link").eaePopup({type:"inline",disableOn:0,key:null,midClick:!1,mainClass:"eae-popup eae-popup-"+e.find(".eae-popup-link").data("id")+" eae-wrap-"+e.find(".eae-popup-link").data("ctrl-id"),preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:e.find(".eae-popup-wrapper").data("close-in-out"),showCloseBtn:!0,enableEscapeKey:!1,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:$close_btn_html,tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}),"yes"==$preview_modal&&e.hasClass("elementor-element-edit-mode")&&e.find(".eae-popup-link").click()})),elementorFrontend.hooks.addAction("frontend/element_ready/wts-testimonial-slider.default",(function(e,a){if(e.find(".eae-grid-wrapper").hasClass("eae-masonry-yes")){var i=e.find(".eae-grid").masonry({});i.imagesLoaded().progress((function(){i.masonry("layout")}))}if(e.find(".eae-layout-carousel").length){outer_wrapper=e.find(".eae-swiper-outer-wrapper"),wid=e.data("id"),wclass=".elementor-element-"+wid;var t=outer_wrapper.data("direction"),n=outer_wrapper.data("speed"),d=outer_wrapper.data("autoplay"),r=outer_wrapper.data("duration"),s=outer_wrapper.data("effect"),l=outer_wrapper.data("space"),o=outer_wrapper.data("loop");o="yes"==o;var c=outer_wrapper.data("slides-per-view"),f=outer_wrapper.data("slides-per-group"),p=outer_wrapper.data("ptype"),m=outer_wrapper.data("navigation"),u=outer_wrapper.data("clickable"),g=outer_wrapper.data("keyboard"),v=outer_wrapper.data("scrollbar");adata={direction:t,effect:s,spaceBetween:l.desktop,loop:o,speed:n,slidesPerView:c.desktop,slidesPerGroup:f.desktop,observer:!0,mousewheel:{invert:!0},breakpoints:{1024:{spaceBetween:l.tablet,slidesPerView:c.tablet,slidesPerGroup:f.tablet},767:{spaceBetween:l.mobile,slidesPerView:c.mobile,slidesPerGroup:f.mobile}}},"fade"==s&&(adata.fadeEffect={crossFade:!1}),adata.autoplay="yes"==d&&{delay:r,disableOnInteraction:!1},"yes"==m&&(adata.navigation={nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}),""!=p&&(adata.pagination={el:".swiper-pagination",type:p}),"bullets"==p&&"yes"==u&&(adata.pagination={el:".swiper-pagination",clickable:!0,type:p}),"yes"==v&&(adata.scrollbar={el:".swiper-scrollbar",draggable:!0}),"yes"==g&&(adata.keyboard={enabled:!0,onlyInViewport:!0}),0==o&&(adata.autoplay={delay:r,stopOnLastSlide:!0,disableOnInteraction:!1}),window.mswiper=new Swiper(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .swiper-container",adata),a(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .swiper-container").css("visibility","visible")}})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin1",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin2",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin3",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin4",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin1",i),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin2",i),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin3",i),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin4",i),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin1",(function(e,a){var i=e.find(".eae-evergreen-wrapper").data("egtime"),d=e.find(".eae-evergreen-wrapper").data("egt-expire"),r=e.find(".eae-evergreen-wrapper").data("element-type"),s="eae-"+e.find(".eae-evergreen-wrapper").data("id"),l="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),o=e.find(".eae-evergreen-wrapper").data("actions"),c=e.find(".eae-evergreen-wrapper").data("unqid"),f=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===r){u=new Date(i),i=u.getTime();var p="expires="+u.toUTCString();document.cookie=l+"="+u.getTime()+";"+p+";path=/"}else{var m=n(s),u="";if(""!==m){(u=new Date(parseInt(m))).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),i=u.getTime();var g=new Date(parseInt(m));g.setTime(g.getTime()+60*d*60*1e3);var v="expires="+g.toUTCString();document.cookie=s+"="+m+";"+v+";path=/";var h=new Date(parseInt(m));h.setTime(h.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));p="expires="+h.toUTCString();i-f>0&&(document.cookie=l+"="+m+";"+p+";path=/")}else{temp_date=i,(u=new Date).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),i=u.getTime(),t(s,(new Date).getTime(),d);var w=new Date;w.setTime(w.getTime()+1e3*temp_date);var y="expires="+w.toUTCString();document.cookie=l+"="+(new Date).getTime()+";"+y+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")&&i-f<0)return o.length>0&&o.forEach((function(i){"redirect"===i&&($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==a.trim($url)&&(window.location.href=$url1)),"hide"===i&&(e.hasClass("elementor-element-edit-mode")||(e.find("#eaeclockdiv").css("display","none"),e.find(".egt-title").css("display","none"))),"message"===i&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===i&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))})),days="00",hours="00",minutes="00",seconds="00",e.find("."+c).find("#eaedivDays").html(days),e.find("."+c).find("#eaedivHours").html(hours.slice(-2)),e.find("."+c).find("#eaedivMinutes").html(minutes.slice(-2)),void e.find("."+c).find("#eaedivSeconds").html(seconds.slice(-2));e.hasClass("elementor-element-edit-mode")&&("countdown"===r?(u=new Date(i),i=u.getTime()):((u=new Date).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),i=u.getTime()));var k=setInterval((function(){var t=(new Date).getTime(),n=i-t,d=0,r=0,s=0,l=0;n>0?(d=Math.floor(n/864e5),r="0"+Math.floor(n%864e5/36e5),s="0"+Math.floor(n%36e5/6e4),l="0"+Math.floor(n%6e4/1e3)):(o.length>0&&(e.hasClass("elementor-element-edit-mode")||o.forEach((function(i){"redirect"===i&&($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==a.trim($url1)&&(window.location.href=$url1)),"hide"===i&&(e.find("#eaeclockdiv").css("display","none"),e.find(".egt-title").css("display","none")),"message"===i&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===i&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))}))),clearInterval(k),d="0",r="00",s="00",l="00"),d<10&&(d="0"+d),e.find("."+c).find("#eaedivDays").html(d),e.find("."+c).find("#eaedivHours").html(r.slice(-2)),e.find("."+c).find("#eaedivMinutes").html(s.slice(-2)),e.find("."+c).find("#eaedivSeconds").html(l.slice(-2))}),1e3)})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin2",(function(e,a){var i=e.find(".eae-evergreen-wrapper").data("egtime"),d=e.find(".eae-evergreen-wrapper").data("egt-expire"),r=e.find(".eae-evergreen-wrapper").data("element-type"),s="eae-"+e.find(".eae-evergreen-wrapper").data("id"),l="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),o=e.find(".eae-evergreen-wrapper").data("actions"),c=e.find(".eae-evergreen-wrapper").data("unqid"),f=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===r){u=new Date(i),i=u.getTime();var p="expires="+u.toUTCString();document.cookie=l+"="+u.getTime()+";"+p+";path=/"}else{var m=n(s),u="";if(""!==m){(u=new Date(parseInt(m))).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),i=u.getTime();var g=new Date(parseInt(m));g.setTime(g.getTime()+60*d*60*1e3);var v="expires="+g.toUTCString();document.cookie=s+"="+m+";"+v+";path=/";var h=new Date(parseInt(m));h.setTime(h.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));p="expires="+h.toUTCString();i-f>0&&(document.cookie=l+"="+m+";"+p+";path=/")}else{temp_date=i,(u=new Date).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),i=u.getTime(),t(s,(new Date).getTime(),d);var w=new Date;w.setTime(w.getTime()+1e3*temp_date);var y="expires="+w.toUTCString();document.cookie=l+"="+(new Date).getTime()+";"+y+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")&&i-f<0)return void(o.length>0&&o.forEach((function(i){"redirect"===i&&($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==a.trim($url)&&(window.location.href=$url)),"hide"===i&&(e.find("."+c).find(".timer-container").css("display","none"),e.find("."+c).find(".egt-title").css("display","none")),"message"===i&&e.find("."+c).find(".eae-egt-message").css("display","block"),"hide_parent"===i&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))})));e.hasClass("elementor-element-edit-mode")&&("countdown"===r?(u=new Date(i),i=u.getTime()):((u=new Date).setSeconds(u.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),i=u.getTime()));var k=setInterval((function(){var t=(new Date).getTime(),n=i-t,d=Math.floor(n/864e5),r=Math.floor(n%864e5/36e5),s=Math.floor(n%36e5/6e4),l=Math.floor(n%6e4/1e3);if(e.find("."+c).find("#eaeulSec1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulSec").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulSec").find(".flip-clock-before").removeClass("flip-clock-before"),n<0)return clearInterval(k),void(o.length>0&&o.forEach((function(i){"redirect"===i&&(e.hasClass("elementor-element-edit-mode")||($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==a.trim($url1)&&(window.location.href=$url1))),"hide"===i&&(e.hasClass("elementor-element-edit-mode")||(e.find("."+c).find(".timer-container").css("display","none"),e.find("."+c).find(".egt-title").css("display","none"))),"message"===i&&(e.hasClass("elementor-element-edit-mode")||e.find("."+c).find(".eae-egt-message").css("display","block")),"hide_parent"===i&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))})));if(2===a.trim(l).length){var f="#eaeulSec1 li:eq( "+a.trim(l).charAt(1)+" )",p="#eaeulSec li:eq( "+a.trim(l).charAt(0)+" )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec li:first-child").addClass("flip-clock-before"))}else{f="#eaeulSec1 li:eq( "+a.trim(l).charAt(0)+" )",p="#eaeulSec li:eq( 0 )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulMin1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulMin").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulMin").find(".flip-clock-before").removeClass("flip-clock-before"),2==a.trim(s).length){f="#eaeulMin1 li:eq( "+a.trim(s).charAt(1)+" )",p="#eaeulMin li:eq( "+a.trim(s).charAt(0)+" )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin li:first-child").addClass("flip-clock-before"))}else{f="#eaeulMin1 li:eq( "+a.trim(s).charAt(0)+" )",p="#eaeulMin li:eq( 0 )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulHour1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulHour1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulHour").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulHour").find(".flip-clock-before").removeClass("flip-clock-before"),2==a.trim(r).length){f="#eaeulHour1 li:eq( "+a.trim(r).charAt(1)+" )",p="#eaeulHour li:eq( "+a.trim(r).charAt(0)+" )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before"))}else{f="#eaeulHour1 li:eq( "+a.trim(r).charAt(0)+" )",p="#eaeulHour li:eq( 0 )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulDay1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulDay1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulDay").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulDay").find(".flip-clock-before").removeClass("flip-clock-before"),2==a.trim(d).length){f="#eaeulDay1 li:eq( "+a.trim(d).charAt(1)+" )",p="#eaeulDay li:eq( "+a.trim(d).charAt(0)+" )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before"))}else{f="#eaeulDay1 li:eq( "+a.trim(d).charAt(0)+" )",p="#eaeulDay li:eq( 0 )";e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before")),e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before"))}}),1e3)})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin3",(function(e,a){var i,d=e.find(".eae-evergreen-wrapper").data("egtime"),r=e.find(".eae-evergreen-wrapper").data("egt-expire"),s=e.find(".eae-evergreen-wrapper").data("element-type"),l="eae-"+e.find(".eae-evergreen-wrapper").data("id"),o="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),c=e.find(".eae-evergreen-wrapper").data("actions"),f=e.find(".eae-evergreen-wrapper").data("days"),p=e.find(".eae-evergreen-wrapper").data("hours"),m=e.find(".eae-evergreen-wrapper").data("mins"),u=e.find(".eae-evergreen-wrapper").data("seconds"),g=e.find(".eae-evergreen-wrapper").data("unqid"),v=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===s){y=new Date(d),d=y.getTime();var h="expires="+y.toUTCString();document.cookie=o+"="+y.getTime()+";"+h+";path=/"}else{var w=n(l),y="";if(""!==w){(y=new Date(parseInt(w))).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),d=y.getTime();var k=new Date(parseInt(w));k.setTime(k.getTime()+60*r*60*1e3);var b="expires="+k.toUTCString();document.cookie=l+"="+w+";"+b+";path=/";var C=new Date(parseInt(w));C.setTime(C.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));h="expires="+C.toUTCString();d-v>0&&(document.cookie=o+"="+w+";"+h+";path=/")}else{temp_date=d,(y=new Date).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),d=y.getTime(),t(l,(new Date).getTime(),r);var _=new Date;_.setTime(_.getTime()+1e3*temp_date);var T="expires="+_.toUTCString();document.cookie=o+"="+(new Date).getTime()+";"+T+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")){var x=D(d);if(parseInt(x.all)<1){if(c.length>0&&(c.forEach((function(a){"redirect"===a&&(e.hasClass("elementor-element-edit-mode")||($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==$url&&(window.location.href=$url))),"hide_parent"===a&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none"))),"hide"===a&&(e.find("#timer").css("display","none"),e.find(".egt-title").css("display","none"),e.find(".desc").css("display","none")),"message"===a&&e.find(".eae-egt-message").css("display","block")})),1===c.length&&(""===c[0]||"message"===c[0]))){var $=e.find("."+g).find("#timer")[0];"yes"===f&&($.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===p&&("yes"===f?a($).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):$.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===m&&("yes"===f||"yes"===p?a($).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):$.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===u&&("yes"===f||"yes"===p||"yes"===m?a($).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):$.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>")}return}}function D(e){var a=d-new Date;return{days:Math.floor(a/864e5),hours:"0"+Math.floor(a/36e5%24),minutes:"0"+Math.floor(a/6e4%60),seconds:"0"+Math.floor(a/1e3%60),all:a}}function S(e){e.classList.add("fade"),setTimeout((function(){e.classList.remove("fade")}),700)}e.hasClass("elementor-element-edit-mode")&&("countdown"===s?(y=new Date(d),d=y.getTime()):((y=new Date).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),d=y.getTime())),D(d).all>1&&(i=setInterval((function(){var t=e.find("."+g).find("#timer")[0],n=D(d);"yes"===f&&(n.days<10&&(n.days="0"+n.days),t.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+n.days+"</div></span>"),"yes"===p&&("yes"===f?a(t).append("<span class='egt-time eae-time-wrapper'><div>"+n.hours.slice(-2)+"</div></span>"):t.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+n.hours.slice(-2)+"</div></span>"),"yes"===m&&("yes"===f||"yes"===p?a(t).append("<span class='egt-time eae-time-wrapper'><div>"+n.minutes.slice(-2)+"</div></span>"):t.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+n.minutes.slice(-2)+"</div></span>"),"yes"===u&&("yes"===f||"yes"===p||"yes"===m?a(t).append("<span class='egt-time eae-time-wrapper'><div>"+n.seconds.slice(-2)+"</div></span>"):t.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+n.seconds.slice(-2)+"</div></span>");var r=t.getElementsByTagName("span");"yes"===f&&59==n.hours&&59==n.minutes&&59==n.seconds&&S(r[0]),"yes"===p&&("yes"===f?59==n.minutes&&59==n.seconds&&S(r[1]):59==n.minutes&&59==n.seconds&&S(r[0])),"yes"===m&&("yes"===f?"yes"===p?59==n.seconds&&S(r[2]):59==n.seconds&&S(r[1]):"yes"===p?59==n.seconds&&S(r[1]):59==n.seconds&&S(r[0])),"yes"===u&&("yes"===f?"yes"===p?"yes"===m&&S(r[3]):S("yes"===m?r[2]:r[1]):"yes"===p?"yes"===m&&S(r[2]):S("yes"===m?r[1]:r[0])),n.all<=1&&(clearInterval(i),"yes"===f&&(t.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===p&&("yes"===f?a(t).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):t.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===m&&("yes"===f||"yes"===p?a(t).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):t.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===u&&("yes"===f||"yes"===p||"yes"===m?a(t).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):t.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),e.hasClass("elementor-element-edit-mode")||c.length>0&&c.forEach((function(a){"redirect"===a&&($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==$url1&&(window.location.href=$url1)),"hide"===a&&(e.find("#timer").css("display","none"),e.find(".egt-title").css("display","none"),e.find(".desc").css("display","none")),"message"===a&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===a&&($p_secs=e.closest("section"),$p_secs.css("display","none"))})))}),1e3))})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-comparisontable.default",(function(e,a){a(e.find(".eae-ct-heading")[0]).addClass("active"),e.find("ul").on("click","li",(function(){var i=a(this).index()+2;e.find("tr").find("td:not(:eq(0))").hide(),e.find("td:nth-child("+i+")").css("display","table-cell"),e.find("tr").find("th:not(:eq(0))").hide(),e.find("li").removeClass("active"),a(this).addClass("active")}));var i=window.matchMedia("(min-width: 767px)");function t(a){a.matches?e.find(".sep").attr("colspan",5):e.find(".sep").attr("colspan",2)}i.addListener(t),t(i)})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin1",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin2",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin3",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin4",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin5",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-filterableGallery.default",(function(e,a){var i=e.find(".eae-fg-wrapper"),t=e.data("id"),n=i.attr("data-maxtilt"),d=i.attr("data-perspective"),r=i.attr("data-speed"),s=i.attr("data-tilt-axis"),l=i.attr("data-glare"),o=parseInt(i.attr("data-overlay-speed"));if(s="x"===s?"y":"y"===s?"x":"both","yes"===l)var c=i.attr("data-max-glare");l="yes"===l;var f=a(".elementor-element-"+t+" .eae-fg-image"),p=i.hasClass("masonry-yes")?"masonry":"fitRows";adata={percentPosition:!0,animationOptions:{duration:750,easing:"linear",queue:!1}},"fitRows"===p&&(adata.layoutMode="fitRows"),"masonry"===p&&(adata.masonry={columnWidth:".eae-gallery-item",horizontalOrder:!0}),e.hasClass("eae-show-all-yes")||(e.find(".eae-gallery-filter a").first().addClass("current"),adata.filter=e.find(".eae-gallery-filter a").first().attr("data-filter"));var m=f.isotope(adata);m.imagesLoaded().progress((function(){m.isotope("layout")})),e.find(".eae-tilt-yes")&&(atilt={maxTilt:n,perspective:d,easing:"linear",scale:1,speed:r,disableAxis:s,transition:!0,reset:!0,glare:l,maxGlare:c},e.find(".el-tilt").tilt(atilt)),a(".elementor-element-"+t+" .eae-gallery-filter a").on("click",(function(){e.find(".eae-gallery-filter .current").removeClass("current"),a(this).addClass("current");var i=a(this).attr("data-filter");adata.filter=i;var t=f.isotope(adata);return t.imagesLoaded().progress((function(){if(t.isotope("layout"),isEditMode)return!1;e.find(".eae-tilt-yes")&&(e.find(".el-tilt").tilt(atilt),e.find(".el-tilt").tilt.reset.call(e.find(".el-tilt")))})),!1})),i.hasClass("eae-hover-direction-effect")||e.find(".eae-gallery-item-inner").hover((function(){a(this).find(".eae-grid-overlay").addClass("animated")})),i.hasClass("eae-hover-direction-effect")&&(e.find(".eae-gallery-item-inner").hover((function(){a(this).find(".eae-grid-overlay").addClass("overlay")})),i.find(".eae-gallery-item-inner").EAEHoverDirection({speed:o}))})),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e,a){isEditMode||e.data("wts-url")&&"yes"==e.data("wts-link")&&e.on("click",(function(a){e.data("wts-url")&&"yes"==e.data("wts-new-window")?window.open(e.data("wts-url")):location.href=e.data("wts-url")}))}))}))}(jQuery);
classes/helper.php CHANGED
@@ -5,7 +5,6 @@ namespace WTS_EAE\Classes;
5
  use Elementor\Controls_Manager;
6
  use Elementor\Core\Kits\Documents\Tabs\Colors_And_Typography;
7
  use Elementor\Core\Kits\Documents\Tabs\Global_Colors;
8
- use Elementor\Scheme_Color;
9
  use WTS_EAE\Controls\Group\Group_Control_Icon;
10
  use Elementor\Group_Control_Border;
11
  use Elementor\Group_Control_Box_Shadow;
@@ -316,11 +315,6 @@ class Helper {
316
  [
317
  'label' => __( 'Primary Color', 'wts-eae' ),
318
  'type' => Controls_Manager::COLOR,
319
- // 'scheme' => [
320
- // 'type' => Scheme_Color::get_type(),
321
- // 'value' => Scheme_Color::COLOR_1,
322
- // ],
323
-
324
  'global' => [
325
  'default' => Global_Colors::COLOR_PRIMARY,
326
  ],
@@ -431,10 +425,6 @@ class Helper {
431
  [
432
  'label' => __( 'Primary Color', 'wts-eae' ),
433
  'type' => Controls_Manager::COLOR,
434
- // 'scheme' => [
435
- // 'type' => Scheme_Color::get_type(),
436
- // 'value' => Scheme_Color::COLOR_1,
437
- // ],
438
  'global' => [
439
  'default' => Global_Colors::COLOR_PRIMARY,
440
  ],
@@ -456,10 +446,6 @@ class Helper {
456
  [
457
  'label' => __( 'Secondary Color', 'wts-eae' ),
458
  'type' => Controls_Manager::COLOR,
459
- // 'scheme' => [
460
- // 'type' => Scheme_Color::get_type(),
461
- // 'value' => Scheme_Color::COLOR_4,
462
- // ],
463
  'global' => [
464
  'default' => Global_Colors::COLOR_ACCENT,
465
  ],
5
  use Elementor\Controls_Manager;
6
  use Elementor\Core\Kits\Documents\Tabs\Colors_And_Typography;
7
  use Elementor\Core\Kits\Documents\Tabs\Global_Colors;
 
8
  use WTS_EAE\Controls\Group\Group_Control_Icon;
9
  use Elementor\Group_Control_Border;
10
  use Elementor\Group_Control_Box_Shadow;
315
  [
316
  'label' => __( 'Primary Color', 'wts-eae' ),
317
  'type' => Controls_Manager::COLOR,
 
 
 
 
 
318
  'global' => [
319
  'default' => Global_Colors::COLOR_PRIMARY,
320
  ],
425
  [
426
  'label' => __( 'Primary Color', 'wts-eae' ),
427
  'type' => Controls_Manager::COLOR,
 
 
 
 
428
  'global' => [
429
  'default' => Global_Colors::COLOR_PRIMARY,
430
  ],
446
  [
447
  'label' => __( 'Secondary Color', 'wts-eae' ),
448
  'type' => Controls_Manager::COLOR,
 
 
 
 
449
  'global' => [
450
  'default' => Global_Colors::COLOR_ACCENT,
451
  ],
elementor-addon-elements.php CHANGED
@@ -4,7 +4,7 @@
4
  * Description: Add new elements to Elementor page builder plugin.
5
  * Plugin URI: https://www.elementoraddons.com/elements-addon-elements/
6
  * Author: WP Vibes
7
- * Version: 1.7
8
  * Author URI: https://wpvibes.com/
9
  *
10
  * Text Domain: wts-eae
@@ -14,7 +14,7 @@ define( 'EAE_FILE', __FILE__ );
14
  define( 'EAE_URL', plugins_url( '/', __FILE__ ) );
15
  define( 'EAE_PATH', plugin_dir_path( __FILE__ ) );
16
  define( 'EAE_SCRIPT_SUFFIX', defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min' );
17
- define( 'EAE_VERSION', '1.7');
18
 
19
 
20
  if ( ! function_exists( '_is_elementor_installed' ) ) {
4
  * Description: Add new elements to Elementor page builder plugin.
5
  * Plugin URI: https://www.elementoraddons.com/elements-addon-elements/
6
  * Author: WP Vibes
7
+ * Version: 1.7.1
8
  * Author URI: https://wpvibes.com/
9
  *
10
  * Text Domain: wts-eae
14
  define( 'EAE_URL', plugins_url( '/', __FILE__ ) );
15
  define( 'EAE_PATH', plugin_dir_path( __FILE__ ) );
16
  define( 'EAE_SCRIPT_SUFFIX', defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min' );
17
+ define( 'EAE_VERSION', '1.7.1');
18
 
19
 
20
  if ( ! function_exists( '_is_elementor_installed' ) ) {
inc/bootstrap.php CHANGED
@@ -165,11 +165,13 @@ class Plugin {
165
  wp_enqueue_script( 'eae-main', EAE_URL . 'assets/js/eae'.EAE_SCRIPT_SUFFIX.'.js', array(
166
  'jquery',
167
  ), '1.0', true );
168
- wp_localize_script('eae-main','eae',array(
169
- 'ajaxurl' => admin_url('admin-ajax.php'),
170
- 'current_url' => base64_encode( self::$helper->get_current_url_non_paged()),
171
- 'breakpoints' => Elementor\Core\Responsive\Responsive::get_breakpoints()
172
- ));
 
 
173
  wp_register_script( 'eae-particles', EAE_URL . 'assets/js/particles'.EAE_SCRIPT_SUFFIX.'.js', array( 'jquery' ), '1.0', true );
174
 
175
  wp_register_style( 'vegas-css', EAE_URL . 'assets/lib/vegas/vegas'.EAE_SCRIPT_SUFFIX.'.css' );
165
  wp_enqueue_script( 'eae-main', EAE_URL . 'assets/js/eae'.EAE_SCRIPT_SUFFIX.'.js', array(
166
  'jquery',
167
  ), '1.0', true );
168
+ if(is_plugin_active('elementor/elementor.php')) {
169
+ wp_localize_script('eae-main', 'eae', array(
170
+ 'ajaxurl' => admin_url('admin-ajax.php'),
171
+ 'current_url' => base64_encode(self::$helper->get_current_url_non_paged()),
172
+ 'breakpoints' => Elementor\Core\Responsive\Responsive::get_breakpoints()
173
+ ));
174
+ }
175
  wp_register_script( 'eae-particles', EAE_URL . 'assets/js/particles'.EAE_SCRIPT_SUFFIX.'.js', array( 'jquery' ), '1.0', true );
176
 
177
  wp_register_style( 'vegas-css', EAE_URL . 'assets/lib/vegas/vegas'.EAE_SCRIPT_SUFFIX.'.css' );
modules/advance-tabs.php DELETED
@@ -1,743 +0,0 @@
1
- <?php
2
- namespace Elementor;
3
-
4
- if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
5
-
6
- class Widget_Advance_Tabs extends Widget_Base {
7
-
8
- public function get_name() {
9
- return 'wts-advance-tabs';
10
- }
11
-
12
- public function get_title() {
13
- return __( 'EAE - Advance Tabs', 'wts-eae' );
14
- }
15
-
16
- public function get_icon() {
17
- return 'eicon-divider wts-eae-pe';
18
- }
19
-
20
-
21
- public function get_categories() {
22
- return [ 'wts-eae' ];
23
- }
24
-
25
- public function get_script_depends() {
26
- return [ 'eae-stickyanything' ];
27
- }
28
-
29
- protected function _register_controls() {
30
-
31
- $this->start_controls_section(
32
- 'section_tabs',
33
- [
34
- 'label' => __( 'Tabs', 'wts-eae' )
35
- ]
36
- );
37
- $this->add_control(
38
- 'tab_position',
39
- [
40
- 'label' => __( 'Tab Position', 'wts-eae' ),
41
- 'type' => Controls_Manager::SELECT,
42
- 'options' => [
43
- 'top' => __( 'Top', 'wts-eae' ),
44
- 'left' => __( 'Left', 'wts-eae' ),
45
- ],
46
- 'default' => 'top',
47
- 'prefix_class' => 'eae-nav-pos-',
48
- ]
49
- );
50
-
51
- $this->add_control(
52
- 'tab_Sticky',
53
- [
54
- 'label' => __( 'Sticky Tab', 'wts-eae' ),
55
- 'type' => Controls_Manager::SWITCHER,
56
- 'options' => [
57
- 'yes' => __( 'Yes', 'wts-eae' ),
58
- 'no' => __( 'No', 'wts-eae' ),
59
- ],
60
- 'default' => 'no',
61
- //'prefix_class' => 'eae-nav-sticky-',
62
-
63
- ]
64
- );
65
-
66
- $this->add_control(
67
- 'scroll_offset',
68
- [
69
- 'label' => __( 'Scroll Offset', 'wts-eae' ),
70
- 'type' => Controls_Manager::TEXT,
71
- 'default' => 20,
72
- 'condition' => [
73
- 'tab_Sticky' => 'yes',
74
- ],
75
- ]
76
- );
77
-
78
- $repeater = new Repeater();
79
-
80
- $repeater->add_control('tab_title',
81
- [
82
- 'label' => __( 'Tab Title', 'wts-eae' ),
83
- 'type' => Controls_Manager::TEXT,
84
- 'default' => __( 'Tab Title', 'wts-eae' ),
85
- 'placeholder' => __( 'Tab Title', 'wts-eae' ),
86
- 'label_block' => true,
87
- ]
88
- );
89
-
90
- $repeater->add_control(
91
- 'tab_element',
92
- [
93
- 'label' => __( 'Tab Element', 'wts-eae' ),
94
- 'type' => Controls_Manager::CHOOSE,
95
- 'options' => [
96
- 'none' => [
97
- 'title' => __( 'None', 'wts-eae' ),
98
- 'icon' => 'fa fa-ban',
99
- ],
100
- 'image' => [
101
- 'title' => __( 'Image', 'wts-eae' ),
102
- 'icon' => 'fa fa-picture-o',
103
- ],
104
- 'icon' => [
105
- 'title' => __( 'Icon', 'wts-eae' ),
106
- 'icon' => 'fa fa-star',
107
-
108
- ],
109
- ],
110
- 'default' => 'icon',
111
- ]
112
- );
113
-
114
- $repeater->add_control('tab_image',
115
- [
116
- 'label' => __( 'Choose Image', 'wts-eae' ),
117
- 'type' => Controls_Manager::MEDIA,
118
- 'default' => [
119
- 'url' => Utils::get_placeholder_image_src(),
120
- ],
121
- 'condition' => [
122
- 'tab_element' => 'image',
123
- ],
124
- 'show_label' => true,
125
- ]
126
- );
127
-
128
- $repeater->add_group_control(
129
- Group_Control_Image_Size::get_type(),
130
- [
131
- 'name' => 'tab_image_size', // Actually its `image_size`
132
- 'default' => 'thumbnail',
133
- 'condition' => [
134
- 'tab_element' => 'image',
135
- 'tab_image[id]!' => '',
136
- ],
137
- ]
138
- );
139
-
140
- $repeater->add_control(
141
- 'tab_icon',
142
- [
143
- 'label' => __( 'Icon', 'wts-eae' ),
144
- 'type' => Controls_Manager::ICON,
145
- 'default' => 'fa fa-star',
146
- 'condition' => [
147
- 'tab_element' => 'icon',
148
- ],
149
- ]
150
- );
151
-
152
- $repeater->add_control('tab_content',
153
- [
154
- 'label' => __( 'Content', 'wts-eae' ),
155
- 'default' => __( 'Tab Content', 'wts-eae' ),
156
- 'placeholder' => __( 'Tab Content', 'wts-eae' ),
157
- 'type' => Controls_Manager::WYSIWYG,
158
- 'show_label' => true,
159
- ]
160
- );
161
-
162
- $this->add_control(
163
- 'eae_tabs',
164
- [
165
- 'label' => __( 'Tabs Items', 'wts-eae' ),
166
- 'type' => Controls_Manager::REPEATER,
167
- 'default' => [
168
- [
169
- 'tab_title' => __( 'Adv Tab 1', 'wts-eae' ),
170
- 'tab_content' => __( 'Advance responsive tab', 'wts-eae' ),
171
- ],
172
- [
173
- 'tab_title' => __( 'Adv Tab 2', 'wts-eae' ),
174
- 'tab_content' => __( 'Advance responsive tab', 'wts-eae' ),
175
- ],
176
- ],
177
- 'show_label' => true,
178
- 'fields' => array_values($repeater->get_controls()),
179
- 'title_field' => '{{{ tab_title }}}',
180
- ]
181
- );
182
-
183
- $this->end_controls_section();
184
-
185
- $this->start_controls_section(
186
- 'tab_style',
187
- [
188
- 'label' => __('General', 'wts-eae'),
189
- 'tab' => Controls_Manager::TAB_STYLE
190
- ]
191
- );
192
-
193
-
194
- $this->add_group_control(
195
- Group_Control_Border::get_type(),
196
- [
197
- 'name' => 'tab_title_border',
198
- 'selector' => '{{WRAPPER}} .eae-tab-nav li',
199
- ]
200
- );
201
-
202
- $this->add_control(
203
- 'bord_separator',
204
- [
205
- 'label' => __('', 'wts-eae'),
206
- 'type' => Controls_Manager::HEADING,
207
- 'separator' => 'before',
208
- ]
209
- );
210
-
211
- $this->start_controls_tabs( 'advance_tabs_menu_style' );
212
-
213
-
214
- $this->start_controls_tab(
215
- 'tab_menu_item_normal',
216
- [
217
- 'label' => __( 'Normal', 'wts-eae' ),
218
- ]
219
- );
220
-
221
-
222
- $this->add_control(
223
- 'tab_color',
224
- [
225
- 'label' => __('Color', 'wts-eae'),
226
- 'type' => Controls_Manager::COLOR,
227
- 'scheme' => [
228
- 'type' => Scheme_Color::get_type(),
229
- 'value' => Scheme_Color::COLOR_1
230
- ],
231
- 'selectors' => [
232
- '{{WRAPPER}} .eae-tab-nav li span' => 'color: {{VALUE}}'
233
- ]
234
- ]
235
- );
236
-
237
- $this->add_control(
238
- 'icon_color',
239
- [
240
- 'label' => __('Icon Color', 'wts-eae'),
241
- 'type' => Controls_Manager::COLOR,
242
- 'scheme' => [
243
- 'type' => Scheme_Color::get_type(),
244
- 'value' => Scheme_Color::COLOR_1
245
- ],
246
- 'selectors' => [
247
- '{{WRAPPER}} .eae-tab-nav li i' => 'color: {{VALUE}}'
248
- ]
249
- ]
250
- );
251
-
252
- $this->add_control(
253
- 'tab_background_color',
254
- [
255
- 'label' => __('Background Color', 'wts-eae'),
256
- 'type' => Controls_Manager::COLOR,
257
- 'selectors' => [
258
- '{{WRAPPER}} .eae-tab-nav li' => 'background-color: {{VALUE}}'
259
- ]
260
- ]
261
- );
262
- $this->add_control(
263
- 'tab_border_color',
264
- [
265
- 'label' => __('Border Color', 'wts-eae'),
266
- 'type' => Controls_Manager::COLOR,
267
- 'selectors' => [
268
- '{{WRAPPER}} .eae-tab-nav li' => 'border-color: {{VALUE}}'
269
- ]
270
- ]
271
- );
272
-
273
- $this->add_responsive_control(
274
- 'tab_title_border_radius',
275
- [
276
- 'label' => __( 'Border Radius', 'wts-eae' ),
277
- 'type' => Controls_Manager::DIMENSIONS,
278
- 'size_units' => [ 'px', '%' ],
279
- 'selectors' => [
280
- '{{WRAPPER}} .eae-tab-nav li' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
281
- ],
282
- ]
283
- );
284
-
285
- $this -> end_controls_tab();
286
-
287
- $this->start_controls_tab(
288
- 'tab_menu_item_hover',
289
- [
290
- 'label' => __( 'hover/active', 'wts-eae' ),
291
- ]
292
- );
293
-
294
-
295
- $this->add_control(
296
- 'tab_color_hover',
297
- [
298
- 'label' => __('Color', 'wts-eae'),
299
- 'type' => Controls_Manager::COLOR,
300
- 'scheme' => [
301
- 'type' => Scheme_Color::get_type(),
302
- 'value' => Scheme_Color::COLOR_1
303
- ],
304
- 'selectors' => [
305
- '{{WRAPPER}} .eae-tab-nav li:hover span, {{WRAPPER}} .eae-tabs nav li.tab-current span' => 'color: {{VALUE}}'
306
- ]
307
- ]
308
- );
309
-
310
- $this->add_control(
311
- 'icon_color_hover',
312
- [
313
- 'label' => __('Icon Color', 'wts-eae'),
314
- 'type' => Controls_Manager::COLOR,
315
- 'scheme' => [
316
- 'type' => Scheme_Color::get_type(),
317
- 'value' => Scheme_Color::COLOR_2
318
- ],
319
- 'selectors' => [
320
- '{{WRAPPER}} .eae-tab-nav li:hover i, {{WRAPPER}} .eae-tabs nav li.tab-current i' => 'color: {{VALUE}}'
321
- ]
322
- ]
323
- );
324
-
325
- $this->add_control(
326
- 'tab_background_color_hover',
327
- [
328
- 'label' => __('Background Color', 'wts-eae'),
329
- 'type' => Controls_Manager::COLOR,
330
- 'selectors' => [
331
- '{{WRAPPER}} .eae-tab-nav li:hover, {{WRAPPER}} .eae-tabs nav li.tab-current' => 'background-color: {{VALUE}}'
332
- ]
333
- ]
334
- );
335
- $this->add_control(
336
- 'tab_border_color_hover',
337
- [
338
- 'label' => __('Border Color', 'wts-eae'),
339
- 'type' => Controls_Manager::COLOR,
340
- 'selectors' => [
341
- '{{WRAPPER}} .eae-tab-nav li:hover' => 'border-color: {{VALUE}}'
342
- ]
343
- ]
344
- );
345
-
346
-
347
- $this->add_responsive_control(
348
- 'tab_title_border_radius_hover',
349
- [
350
- 'label' => __( 'Border Radius', 'wts-eae' ),
351
- 'type' => Controls_Manager::DIMENSIONS,
352
- 'size_units' => [ 'px', '%' ],
353
- 'selectors' => [
354
- '{{WRAPPER}} .eae-tab-nav li:hover, {{WRAPPER}} .eae-tabs nav li.tab-current ' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
355
- ],
356
- ]
357
- );
358
-
359
- $this -> end_controls_tab();
360
-
361
- $this -> end_controls_tabs();
362
-
363
- $this->add_control(
364
- 'tab_head',
365
- [
366
- 'label' => __('', 'wts-eae'),
367
- 'type' => Controls_Manager::HEADING,
368
- 'separator' => 'before',
369
- ]
370
- );
371
-
372
- $this->add_control(
373
- 'separator_color',
374
- [
375
- 'label' => __('Separator Color', 'wts-eae'),
376
- 'type' => Controls_Manager::COLOR,
377
- 'scheme' => [
378
- 'type' => Scheme_Color::get_type(),
379
- 'value' => Scheme_Color::COLOR_1
380
- ],
381
- 'selectors' => [
382
- '{{WRAPPER}}.eae-nav-pos-top nav li.tab-current::before' => 'background: {{VALUE}}',
383
- '{{WRAPPER}}.eae-nav-pos-top nav li.tab-current::after' => 'background: {{VALUE}}',
384
- ]
385
- ]
386
- );
387
-
388
- $this->add_control(
389
- 'separator_height',
390
- [
391
- 'label' => __( 'Separator Height', 'wts-eae' ),
392
- 'type' => Controls_Manager::SLIDER,
393
- 'default' => [
394
- 'size' => 1,
395
- ],
396
- 'range' => [
397
- 'px' => [
398
- 'min' => 0,
399
- 'max' => 5,
400
- ],
401
- ],
402
- 'selectors' => [
403
- '{{WRAPPER}}.eae-nav-pos-top nav li.tab-current::before' => 'height: {{SIZE}}px',
404
- '{{WRAPPER}}.eae-nav-pos-top nav li.tab-current::after' => 'height: {{SIZE}}px',
405
- ],
406
- ]
407
- );
408
-
409
- $this->add_responsive_control(
410
- 'nav_width',
411
- [
412
- 'label' => __( 'Tab Width', 'wts-eae' ),
413
- 'type' => Controls_Manager::SLIDER,
414
- 'default' => [
415
- 'size' => 20,
416
- ],
417
- 'range' => [
418
- '%' => [
419
- 'min' => 20,
420
- 'max' => 100,
421
- ],
422
- ],
423
- 'selectors' => [
424
- '{{WRAPPER}}.eae-nav-pos-left .eae-tabs nav' => 'width: calc({{SIZE}}% - 1%);',
425
- '{{WRAPPER}}.eae-nav-pos-left .eae-content' => 'width: calc(100% - {{SIZE}}% - 1%);',
426
- //'{{WRAPPER}}.eae-nav-pos-top .eae-tabs nav li' => 'width: {{SIZE}}%;',
427
- ],
428
- ]
429
- );
430
-
431
- $this->add_control(
432
- 'show_text_mobile',
433
- [
434
- 'label' => __( 'Title on Mobile', 'wts-eae' ),
435
- 'type' => Controls_Manager::SELECT,
436
- 'options' => [
437
- 'yes' => __( 'Yes', 'wts-eae' ),
438
- 'no' => __( 'No', 'wts-eae' ),
439
- ],
440
- 'default' => 'no',
441
- ]
442
- );
443
-
444
- $this->add_group_control(
445
- Group_Control_Typography::get_type(),
446
- [
447
- 'name' => 'typography',
448
- 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
449
- 'selector' => '{{WRAPPER}} .eae-tab-nav li span',
450
- ]
451
-
452
- );
453
-
454
-
455
- $this->add_responsive_control(
456
- 'tab_title_align',
457
- [
458
- 'label' => __( 'Alignment', 'wts-eae' ),
459
- 'type' => Controls_Manager::CHOOSE,
460
- 'options' => [
461
- 'left' => [
462
- 'title' => __( 'Left', 'wts-eae' ),
463
- 'icon' => 'fa fa-align-left',
464
- ],
465
- 'center' => [
466
- 'title' => __( 'Center', 'wts-eae' ),
467
- 'icon' => 'fa fa-align-center',
468
- ],
469
- 'right' => [
470
- 'title' => __( 'Right', 'wts-eae' ),
471
- 'icon' => 'fa fa-align-right',
472
- ],
473
- ],
474
- 'selectors' => [
475
- '{{WRAPPER}} .eae-tabs nav' => 'text-align: {{VALUE}};',
476
- ],
477
- ]
478
- );
479
-
480
- $this->add_responsive_control(
481
- 'icon_size',
482
- [
483
- 'label' => __( 'Icon Size', 'wts-eae' ),
484
- 'type' => Controls_Manager::SLIDER,
485
- 'default' => [
486
- 'size' => 20,
487
- ],
488
- 'range' => [
489
- 'px' => [
490
- 'min' => 6,
491
- 'max' => 30,
492
- ],
493
- ],
494
- 'selectors' => [
495
- '{{WRAPPER}} .eae-tab-nav li a>:first-child' => 'width: {{SIZE}}{{UNIT}};',
496
- '{{WRAPPER}} .eae-tab-nav li a>:first-child ' => 'font-size: {{SIZE}}{{UNIT}};',
497
- ],
498
- ]
499
- );
500
-
501
-
502
- $this->end_controls_section();
503
-
504
- $this->start_controls_section(
505
- 'tab_content_style',
506
- [
507
- 'label' => __('Content', 'wts-eae'),
508
- 'tab' => Controls_Manager::TAB_STYLE
509
- ]
510
- );
511
-
512
- $this->add_responsive_control(
513
- 'tab_text_align',
514
- [
515
- 'label' => __( 'Alignment', 'wts-eae' ),
516
- 'type' => Controls_Manager::CHOOSE,
517
- 'options' => [
518
- 'left' => [
519
- 'title' => __( 'Left', 'wts-eae' ),
520
- 'icon' => 'fa fa-align-left',
521
- ],
522
- 'center' => [
523
- 'title' => __( 'Center', 'wts-eae' ),
524
- 'icon' => 'fa fa-align-center',
525
- ],
526
- 'right' => [
527
- 'title' => __( 'Right', 'wts-eae' ),
528
- 'icon' => 'fa fa-align-right',
529
- ],
530
- 'justify' => [
531
- 'title' => __( 'Justified', 'wts-eae' ),
532
- 'icon' => 'fa fa-align-justify',
533
- ],
534
- ],
535
- 'selectors' => [
536
- '{{WRAPPER}} .eae-content section' => 'text-align: {{VALUE}};',
537
- ],
538
- ]
539
- );
540
-
541
- $this->add_control(
542
- 'text_color',
543
- [
544
- 'label' => __( 'Text Color', 'wts-eae' ),
545
- 'type' => Controls_Manager::COLOR,
546
- 'default' => '',
547
- 'selectors' => [
548
- '{{WRAPPER}} .eae-content section' => 'color: {{VALUE}};',
549
- ],
550
- 'scheme' => [
551
- 'type' => Scheme_Color::get_type(),
552
- 'value' => Scheme_Color::COLOR_3,
553
- ],
554
- ]
555
- );
556
-
557
- $this->add_group_control(
558
- Group_Control_Typography::get_type(),
559
- [
560
- 'name' => 'content_typography',
561
- 'scheme' => Scheme_Typography::TYPOGRAPHY_3,
562
- 'selector' => '{{WRAPPER}} .eae-content section'
563
- ]
564
- );
565
-
566
- $this->add_group_control(
567
- Group_Control_Border::get_type(),
568
- [
569
- 'name' => 'tab_content_border',
570
- 'selector' => '{{WRAPPER}} .eae-content section',
571
- 'separator' => 'before',
572
- ]
573
- );
574
-
575
- $this->add_responsive_control(
576
- 'tab_content_border_radius',
577
- [
578
- 'label' => __( 'Border Radius', 'wts-eae' ),
579
- 'type' => Controls_Manager::DIMENSIONS,
580
- 'size_units' => [ 'px', '%' ],
581
- 'selectors' => [
582
- '{{WRAPPER}} .eae-content section' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
583
- ],
584
- ]
585
- );
586
-
587
- $this->end_controls_section();
588
- }
589
-
590
-
591
- protected function render() {
592
- $settings = $this->get_settings();
593
- //print_r($this->get_id());
594
- //echo "<pre>";print_r($settings['eae_tabs']);echo "</pre>";
595
-
596
- ?>
597
-
598
- <?php if(count($settings['eae_tabs'])){
599
- ?>
600
- <div id="advance_tabs" class="eae-tabs text-mobile-<?php echo $settings['show_text_mobile'] ?>" data-sticky-menu="<?php echo "eae-nav-sticky-".$settings['tab_Sticky'] ?>" data-scroll-offset="<?php echo $settings['scroll_offset'] ?>" >
601
- <nav class="eae-tab-nav">
602
- <ul>
603
- <?php
604
- $a_style="";
605
- $var1 = 1;
606
- foreach ($settings['eae_tabs'] as $tab){
607
- if($var1 == 1)
608
- {
609
- $cont ="class='tab-current'";
610
- }
611
- else{
612
- $cont ="";
613
- }
614
- $var1 ++;
615
- ?>
616
- <li <?php echo $cont; ?> ><a href="<?php echo '#'.$tab['_id']; ?> " >
617
- <?php
618
- if($tab['tab_element']== "none")
619
- $a_style="";
620
- if($tab['tab_element']== "icon")
621
- $a_style = '<i class="'.$tab['tab_icon'].'"></i>';
622
- if($tab['tab_element']== "image")
623
- $a_style = '<img src="'.$tab['tab_image']['url'].'"></img>';
624
-
625
- echo $a_style;
626
- ?>
627
- <span><?php echo $tab['tab_title']; ?></span></a></li>
628
- <?php
629
- }
630
-
631
- ?>
632
- </ul>
633
- </nav>
634
- <div class="eae-content">
635
- <?php
636
- $var = 1;
637
- foreach ($settings['eae_tabs'] as $index => $tab){
638
- $eae_tab_content_key = $this->get_repeater_setting_key( 'tab_content', 'eae_tabs', $index );
639
- if($var == 1)
640
- {
641
- $this->add_render_attribute( $eae_tab_content_key, [
642
- 'class' => [ 'content-current'],
643
- ] );
644
- }
645
- $var++;
646
-
647
- $this->add_inline_editing_attributes( $eae_tab_content_key, 'advanced' );
648
-
649
- ?>
650
-
651
- <section id="<?php echo "#".$tab['_id']; ?>" <?php echo $this->get_render_attribute_string( $eae_tab_content_key); ?> >
652
- <?php
653
- echo $tab['tab_content'];
654
- ?>
655
- </section>
656
-
657
- <?php
658
- }
659
- ?>
660
-
661
- </div>
662
- </div>
663
- <?php
664
- }
665
- }
666
-
667
- protected function _content_template() {
668
- ?>
669
- <# if(settings.eae_tabs){ #>
670
- <div id="advance_tabs" class="eae-tabs text-mobile-{{{settings.show_text_mobile }}}" data-sticky-menu="eae-nav-sticky-{{{settings.tab_Sticky}}}" data-scroll-offset="{{{settings.scroll_offset}}}" >
671
- <nav class="eae-tab-nav">
672
- <ul>
673
- <#
674
-
675
- var var1 = 1;
676
- var cont ="";
677
- _.each( settings.eae_tabs, function( tab, index ) {
678
- var a_style="";
679
- if(var1 == 1)
680
- {
681
- cont ="class='tab-current'";
682
- }
683
- else{
684
- cont ="";
685
- }
686
- var1 ++;
687
- #>
688
- <li {{{cont}}} ><a href="{{{'#'+settings.eae_tabs._id }}} " >
689
- <#
690
- view.addRenderAttribute('iconclass','class',tab.tab_icon);
691
- if(tab.tab_element == "none")
692
- a_style="";
693
- if(tab.tab_element == "icon")
694
- a_style = '<i class="'+ tab.tab_icon + '"></i>';
695
- if(tab.tab_element== "image")
696
- a_style = '<img src="+ tab.tab_image.url +"/>';
697
- #>
698
-
699
- {{{a_style}}}
700
- <span>{{{ tab.tab_title}}}</span></a></li>
701
- <# } ); #>
702
-
703
- </ul>
704
- </nav>
705
-
706
- <div class="eae-content">
707
- <#
708
- var var2 = 1;
709
- var cont ="";
710
- _.each( settings.eae_tabs, function( tab, index ) {
711
- var eae_tab_content_key = view.getRepeaterSettingKey( 'tab_content', 'eae_tabs', index );
712
-
713
- if(var2 == 1)
714
- {
715
- view.addRenderAttribute( eae_tab_content_key, {
716
- 'class': 'content-current',
717
- });
718
- }
719
- else{
720
- cont ="";
721
- }
722
- var2++;
723
- view.addInlineEditingAttributes( eae_tab_content_key, 'advanced' );
724
-
725
- #>
726
- <section id="#{{{tab._id}}}" {{{ view.getRenderAttributeString(eae_tab_content_key)}}}>
727
- {{{tab.tab_content}}}
728
- </section>
729
-
730
- <#
731
- });
732
- #>
733
-
734
- </div>
735
- </div>
736
- <# } #>
737
- <?php
738
- }
739
-
740
-
741
- }
742
-
743
- Plugin::instance()->widgets_manager->register_widget_type( new Widget_Advance_Tabs() );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/animated-text/widgets/animated-text.php CHANGED
@@ -7,9 +7,7 @@ use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
7
  use Elementor\Group_Control_Background;
8
  use Elementor\Group_Control_Border;
9
  use WTS_EAE\Base\EAE_Widget_Base;
10
- use Elementor\Scheme_Color;
11
  use Elementor\Group_Control_Typography;
12
- use Elementor\Scheme_Typography;
13
 
14
 
15
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
7
  use Elementor\Group_Control_Background;
8
  use Elementor\Group_Control_Border;
9
  use WTS_EAE\Base\EAE_Widget_Base;
 
10
  use Elementor\Group_Control_Typography;
 
11
 
12
 
13
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
modules/charts/module.php DELETED
@@ -1,29 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\Charts;
4
-
5
- use WTS_EAE\Base\Module_Base;
6
-
7
- class Module extends Module_Base{
8
-
9
- public function get_widgets() {
10
- return [
11
- 'Charts',
12
- ];
13
- }
14
-
15
- public function get_name() {
16
- return 'eae-charts';
17
- }
18
-
19
- public function get_title() {
20
-
21
- return __('Charts', 'wts-eae');
22
-
23
- }
24
-
25
- function add_dependent_js_css() {
26
- parent::add_dependent_js_css(); // TODO: Change the autogenerated stub
27
- wp_enqueue_script( 'eae-chart');
28
- }
29
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/charts/skins/skin-bar-chart.php DELETED
@@ -1,75 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\Charts\Skins;
4
-
5
- use Elementor\Widget_Base;
6
- use Elementor\Repeater;
7
-
8
- class Skin_Bar_Chart extends Skin_Base {
9
-
10
- public function get_id() {
11
- return 'bar';
12
- }
13
-
14
- public function get_title() {
15
- return __( 'Bar', 'wts-eae' );
16
- }
17
-
18
- public function register_items_control( Widget_Base $widget ) {
19
- $this->parent = $widget;
20
- }
21
-
22
- public function register_style_controls() {
23
- //parent::register_style_controls(); // TODO: Change the autogenerated stub
24
- // $this->eae_charts_style_section();
25
-
26
- }
27
-
28
- // function additional_control(){
29
- // $repeater = new Repeater();
30
- //
31
- // $repeater->add_control(
32
- // 'bar_chart_background',
33
- // [
34
- // 'label' => __('Bar Background', 'wts-eae'),
35
- // 'type' => Controls_Manager::COLOR,
36
- // ]
37
- // );
38
- //
39
- // $repeater->add_control(
40
- // 'bar_border_width',
41
- // [
42
- // 'label' => __('Border Width', 'wts-eae'),
43
- // 'type' => Controls_Manager::NUMBER,
44
- // 'min' => 1,
45
- // 'max' => 10,
46
- // ]
47
- // );
48
- //
49
- // $repeater->add_control(
50
- // 'bar_chart_border_color',
51
- // [
52
- // 'label' => __(' Bar Border Color', 'wts-eae'),
53
- // 'type' => Controls_Manager::COLOR,
54
- // ]
55
- // );
56
- //
57
- // $repeater->add_control(
58
- // 'bar_thickness',
59
- // [
60
- // 'label' => __( 'Bar Width', 'wts-eae'),
61
- // 'type' => Controls_Manager::NUMBER,
62
- // 'default' => 60,
63
- // 'min' => 20,
64
- // 'max' => 100,
65
- // ]
66
- // );
67
- //
68
- //
69
- // $repeater->end_controls_tab();
70
- // }
71
-
72
- public function render() {
73
- $this->common_render();
74
- }
75
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/charts/skins/skin-base.php DELETED
@@ -1,184 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\Charts\Skins;
4
-
5
- use WTS_EAE\Classes\Post_Helper;
6
- use Elementor\Controls_Manager;
7
- use Elementor\Skin_Base as Elementor_Skin_Base;
8
- use Elementor\Widget_Base;
9
- use Elementor\Utils;
10
-
11
- abstract class Skin_Base extends Elementor_Skin_Base{
12
-
13
- protected function _register_controls_actions() {
14
-
15
- add_action( 'elementor/element/eae-charts/tl_skins/after_section_end', [ $this, 'register_style_controls'] );
16
- }
17
-
18
- public function register_controls( Widget_Base $widget ) {
19
- $this->parent = $widget;
20
- }
21
-
22
- function common_render(){
23
- $settings = $this->parent->get_settings_for_display();
24
-
25
- // echo '<pre>'; print_r($settings); echo '</pre>';
26
- $type = $settings['_skin'];
27
- $labels = $settings['data_label'];
28
- $show_xaxis_label = $settings['x_axis_show_title'];
29
- $xaxis_label = $settings['x_axis_label'];
30
- $xaxis_grid_line = $settings['x_axis_grid_line'];
31
- $xaxis_gridLine_color = $settings['xaxis_grid_line_color'];
32
- $xaxis_gridLine_width = $settings['xaxis_grid_line_width']['size'];
33
- $label_rotation = $settings['label_rotation'];
34
- $show_yaxis_label = $settings['y_axis_show_title'];
35
- $yaxis_label = $settings['y_axis_label'];
36
- $yaxis_grid_line = $settings['y_axis_grid_line'];
37
- $yaxis_gridLine_color = $settings['yaxis_grid_line_color'];
38
- $yaxis_gridLine_width = $settings['yaxis_grid_line_width']['size'];
39
- $datasetText = $settings['dataset_text'];
40
- $show_main_title = $settings['chart_Heading'];
41
- $title = $settings['chart_main_title'];
42
- $title_position = $settings['title_position'];
43
- $step_size = $settings['step_size'];
44
- $min_val = $settings['y_axis_min_val'];
45
- $max_val = $settings['y_axis_max_val'];
46
- $display_legend = $settings['legend_display'];
47
- $legend_position = $settings['legend_position'];
48
- // $legend_align = $settings['legend_align'];
49
- $tooltip = $settings['show_tooltips'];
50
- $tooltip_mode = $settings['tooltips_mode'];
51
- $animation = $settings['chart_animation'];
52
- $animation_duration = $settings['duration_animation'];
53
- $height = $settings['eae_chart_height'];
54
- $title_color = $settings['heading_color'];
55
- $title_font_family = $settings['heading_font_family'];
56
- $title_font_size = $settings['heading_font_size']['size'];
57
- $title_font_style = $settings['heading_font_style'];
58
- $title_line_height = $settings['heading_font_style'];
59
- $title_padding = $settings['heading_line_height'];
60
- $xaxis_label_color = $settings['xaxis_label_color'];
61
- $xaxis_font_family = $settings['xaxis_font_family'];
62
- $xaxis_font_size = $settings['xaxis_font_size']['size'];
63
- $xaxis_font_style = $settings['xaxis_font_style'];
64
- $xaxis_line_height = $settings['xaxis_line_height'];
65
- $data_label_color = $settings['data_label_color'];
66
- $data_font_family = $settings['data_font_family'];
67
- $data_font_size = $settings['data_font_size']['size'];
68
- $data_font_style = $settings['data_font_style'];
69
- $data_line_height = $settings['data_line_height'];
70
- $yaxis_label_color = $settings['yaxis_label_color'];
71
- $yaxis_font_family = $settings['yaxis_font_family'];
72
- $yaxis_font_size = $settings['yaxis_font_size']['size'];
73
- $yaxis_font_style = $settings['yaxis_font_style'];
74
- $yaxis_line_height = $settings['yaxis_line_height'];
75
- $yaxis_data_label_color = $settings['yaxis_data_color'];
76
- $yaxis_data_font_size = $settings['yaxis_data_font_size']['size'];
77
- $legend_color = $settings['legend_color'];
78
- $legend_font_family = $settings['legend_font_family'];
79
- $legend_font_size = $settings['legend_font_size']['size'];
80
- $legend_font_style = $settings['legend_font_style'];
81
-
82
- // echo $xaxis_font_size;
83
-
84
- // echo'<pre>'; print_r($datasetText); echo'</pre>';
85
-
86
- $chart_data = [];
87
- foreach ($datasetText as $dataValue){
88
- $col_data = [
89
- 'label' => $dataValue['dataset_label'],
90
- 'data' => $dataValue['dataset_data'],
91
- 'backgroundColor' => $dataValue['bar_chart_background'],
92
- 'borderColor' => $dataValue['bar_chart_border_color'],
93
- 'borderWidth' => $dataValue['bar_border_width'],
94
- //'barPercentage' => $dataValue['bar_column_width'],
95
- ];
96
- array_push($chart_data , $col_data);
97
-
98
- }
99
- // echo'<pre>'; print_r($chart_data); echo'</pre>';
100
-
101
- $this->parent->add_render_attribute('chart-wrapper', 'class', 'eae-chart-outer-wrapper');
102
- $this->parent->add_render_attribute('wrapper' , 'class' , 'eae-chart-wrapper');
103
- $this->parent->add_render_attribute('chart-wrapper', 'data-type', $type);
104
- $this->parent->add_render_attribute('chart-wrapper', 'data-labels', $labels);
105
- $this->parent->add_render_attribute('chart-wrapper', 'data-show-xaxis-label', $show_xaxis_label);
106
- $this->parent->add_render_attribute('chart-wrapper', 'data-xaxis-label', $xaxis_label);
107
- $this->parent->add_render_attribute('chart-wrapper', 'data-show-gridLine', $xaxis_grid_line);
108
- $this->parent->add_render_attribute('chart-wrapper', 'data-gridLine-color', $xaxis_gridLine_color);
109
- $this->parent->add_render_attribute('chart-wrapper', 'data-gridLine-width', $xaxis_gridLine_width);
110
- $this->parent->add_render_attribute('chart-wrapper', 'data-label-rotation', $label_rotation);
111
- $this->parent->add_render_attribute('chart-wrapper', 'data-show-yaxis-label', $show_yaxis_label);
112
- $this->parent->add_render_attribute('chart-wrapper', 'data-yaxis-label', $yaxis_label);
113
- $this->parent->add_render_attribute('chart-wrapper', 'data-yaxis-show-gridLine', $yaxis_grid_line);
114
- $this->parent->add_render_attribute('chart-wrapper', 'data-yaxis-gridLine-color', $yaxis_gridLine_color);
115
- $this->parent->add_render_attribute('chart-wrapper', 'data-yaxis-gridLine-width', $yaxis_gridLine_width);
116
- $final_data = str_replace('"[','[',json_encode($chart_data));
117
- $final_data = str_replace(']"',']',$final_data);
118
- $this->parent->add_render_attribute('chart-wrapper', 'data-chart', $final_data);
119
- $this->parent->add_render_attribute('chart-wrapper', 'data-show-chart-heading', $show_main_title);
120
- $this->parent->add_render_attribute('chart-wrapper', 'data-chart-heading', $title );
121
- $this->parent->add_render_attribute('chart-wrapper', 'data-chart-heading-position', $title_position);
122
- $this->parent->add_render_attribute('chart-wrapper', 'data-step-size', $step_size);
123
- $this->parent->add_render_attribute('chart-wrapper', 'data-min-val', $min_val);
124
- $this->parent->add_render_attribute('chart-wrapper', 'data-max-val', $max_val);
125
- $this->parent->add_render_attribute('chart-wrapper', 'data-display-legend', $display_legend);
126
- $this->parent->add_render_attribute('chart-wrapper', 'data-legend-position', $legend_position);
127
- // $this->parent->add_render_attribute('chart-wrapper', 'data-legend-align', $legend_align);
128
- $this->parent->add_render_attribute('chart-wrapper', 'data-show-tooltip', $tooltip);
129
- $this->parent->add_render_attribute('chart-wrapper', 'data-tooltip-mode', $tooltip_mode);
130
- $this->parent->add_render_attribute('chart-wrapper', 'data-chart-animation', $animation);
131
- $this->parent->add_render_attribute('chart-wrapper', 'data-animation-duration', $animation_duration);
132
- $this->parent->add_render_attribute('wrapper', 'width', 1101);
133
- $this->parent->add_render_attribute('wrapper', 'height', $height);
134
- $this->parent->add_render_attribute('chart-wrapper', 'data-title-color', $title_color);
135
- $this->parent->add_render_attribute('chart-wrapper', 'data-title-font-family', $title_font_family);
136
- $this->parent->add_render_attribute('chart-wrapper', 'data-title-font-size', $title_font_size);
137
- $this->parent->add_render_attribute('chart-wrapper', 'data-title-font-style', $title_font_style);
138
- $this->parent->add_render_attribute('chart-wrapper', 'data-title-line-height', $title_line_height);
139
- $this->parent->add_render_attribute('chart-wrapper', 'data-title-padding', $title_padding);
140
- $this->parent->add_render_attribute('chart-wrapper', 'data-xaxis_label_color', $xaxis_label_color);
141
- $this->parent->add_render_attribute('chart-wrapper', 'data-xaxis_label_font_family', $xaxis_font_family);
142
- $this->parent->add_render_attribute('chart-wrapper', 'data-xaxis_label_font_size', $xaxis_font_size);
143
- $this->parent->add_render_attribute('chart-wrapper', 'data-xaxis_label_font_style', $xaxis_font_style);
144
- $this->parent->add_render_attribute('chart-wrapper', 'data-xaxis_label_line_height', $xaxis_line_height);
145
- $this->parent->add_render_attribute('chart-wrapper', 'data-data_label_color', $data_label_color);
146
- $this->parent->add_render_attribute('chart-wrapper', 'data-data_label_font_family', $data_font_family);
147
- $this->parent->add_render_attribute('chart-wrapper', 'data-data_label_font_size', $data_font_size);
148
- $this->parent->add_render_attribute('chart-wrapper', 'data-data_label_font_style', $data_font_style);
149
- $this->parent->add_render_attribute('chart-wrapper', 'data-data_label_line_height', $data_line_height);
150
- $this->parent->add_render_attribute('chart-wrapper', 'data-yaxis_label_color', $yaxis_label_color);
151
- $this->parent->add_render_attribute('chart-wrapper', 'data-yaxis_label_font_family', $yaxis_font_family);
152
- $this->parent->add_render_attribute('chart-wrapper', 'data-yaxis_label_font_size', $yaxis_font_size);
153
- $this->parent->add_render_attribute('chart-wrapper', 'data-yaxis_label_font_style', $yaxis_font_style);
154
- $this->parent->add_render_attribute('chart-wrapper', 'data-yaxis_label_line_height', $yaxis_line_height);
155
- $this->parent->add_render_attribute('chart-wrapper', 'data-yaxis_data_color', $yaxis_data_label_color);
156
- $this->parent->add_render_attribute('chart-wrapper', 'data-yaxis_data_font_size', $yaxis_data_font_size);
157
- $this->parent->add_render_attribute('chart-wrapper', 'data-legend-color', $legend_color);
158
- $this->parent->add_render_attribute('chart-wrapper', 'data-legend-font-family', $legend_font_family);
159
- $this->parent->add_render_attribute('chart-wrapper', 'data-legend-font-size', $legend_font_size);
160
- $this->parent->add_render_attribute('chart-wrapper', 'data-legend-font-style', $legend_font_style);
161
-
162
-
163
-
164
-
165
-
166
- ?>
167
- <div <?php echo $this->parent->get_render_attribute_string('chart-wrapper');?>>
168
- <div class="eae-chart-inner-wrapper">
169
- <canvas <?php echo $this->parent->get_render_attribute_string('wrapper');?> ></canvas>
170
- </div>
171
- </div>
172
-
173
- <?php
174
- }
175
- function _content_template() {?>
176
- <div class="eae-canvas-wrapper">
177
- <#
178
-
179
- #>
180
- </div>
181
- <?php
182
- }
183
-
184
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/charts/skins/skin-bubble-chart.php DELETED
@@ -1,23 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\Charts\Skins;
4
-
5
- use Elementor\Widget_Base;
6
-
7
- class Skin_Bubble_Chart extends Skin_Base {
8
-
9
- public function get_id() {
10
- return 'bubble';
11
- }
12
-
13
- public function get_title() {
14
- return __( 'Bubble', 'wts-eae' );
15
- }
16
-
17
- public function register_items_control( Widget_Base $widget ) {
18
- $this->parent = $widget;
19
- }
20
- public function render() {
21
- $this->common_render();
22
- }
23
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/charts/skins/skin-doughnut-chart.php DELETED
@@ -1,23 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\Charts\Skins;
4
-
5
- use Elementor\Widget_Base;
6
-
7
- class Skin_Doughnut_Chart extends Skin_Base {
8
-
9
- public function get_id() {
10
- return 'doughnut';
11
- }
12
-
13
- public function get_title() {
14
- return __( 'Doughnut', 'wts-eae' );
15
- }
16
-
17
- public function register_items_control( Widget_Base $widget ) {
18
- $this->parent = $widget;
19
- }
20
- public function render() {
21
- $this->common_render();
22
- }
23
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/charts/skins/skin-horizontal-bar-chart.php DELETED
@@ -1,23 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\Charts\Skins;
4
-
5
- use Elementor\Widget_Base;
6
-
7
- class Skin_horizontal_Bar_Chart extends Skin_Base {
8
-
9
- public function get_id() {
10
- return 'horizontalBar';
11
- }
12
-
13
- public function get_title() {
14
- return __( 'Horizontal Bar', 'wts-eae' );
15
- }
16
-
17
- public function register_items_control( Widget_Base $widget ) {
18
- $this->parent = $widget;
19
- }
20
- public function render() {
21
- $this->common_render();
22
- }
23
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/charts/skins/skin-line-chart.php DELETED
@@ -1,23 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\Charts\Skins;
4
-
5
- use Elementor\Widget_Base;
6
-
7
- class Skin_Line_Chart extends Skin_Base {
8
-
9
- public function get_id() {
10
- return 'line';
11
- }
12
-
13
- public function get_title() {
14
- return __( 'Line', 'wts-eae' );
15
- }
16
-
17
- public function register_items_control( Widget_Base $widget ) {
18
- $this->parent = $widget;
19
- }
20
- public function render() {
21
- $this->common_render();
22
- }
23
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/charts/skins/skin-pie-chart.php DELETED
@@ -1,23 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\Charts\Skins;
4
-
5
- use Elementor\Widget_Base;
6
-
7
- class Skin_Pie_Chart extends Skin_Base {
8
-
9
- public function get_id() {
10
- return 'pie';
11
- }
12
-
13
- public function get_title() {
14
- return __( 'Pie', 'wts-eae' );
15
- }
16
-
17
- public function register_items_control( Widget_Base $widget ) {
18
- $this->parent = $widget;
19
- }
20
- public function render() {
21
- $this->common_render();
22
- }
23
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/charts/skins/skin-polar-area-chart.php DELETED
@@ -1,23 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\Charts\Skins;
4
-
5
- use Elementor\Widget_Base;
6
-
7
- class Skin_Polar_Area_Chart extends Skin_Base {
8
-
9
- public function get_id() {
10
- return 'polarArea';
11
- }
12
-
13
- public function get_title() {
14
- return __( 'Polar Area', 'wts-eae' );
15
- }
16
-
17
- public function register_items_control( Widget_Base $widget ) {
18
- $this->parent = $widget;
19
- }
20
- public function render() {
21
- $this->common_render();
22
- }
23
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/charts/skins/skin-radar-chart.php DELETED
@@ -1,23 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\Charts\Skins;
4
-
5
- use Elementor\Widget_Base;
6
-
7
- class Skin_Radar_Chart extends Skin_Base {
8
-
9
- public function get_id() {
10
- return 'radar';
11
- }
12
-
13
- public function get_title() {
14
- return __( 'Radar', 'wts-eae' );
15
- }
16
-
17
- public function register_items_control( Widget_Base $widget ) {
18
- $this->parent = $widget;
19
- }
20
- public function render() {
21
- $this->common_render();
22
- }
23
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/charts/widgets/charts.php DELETED
@@ -1,1157 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\Charts\Widgets;
4
-
5
- use Elementor\Controls_Manager;
6
- use WTS_EAE\Base\EAE_Widget_Base;
7
- use WTS_EAE\Modules\Charts\Skins;
8
- use Elementor\Repeater;
9
- use Elementor\Scheme_Color;
10
- use Elementor\Group_Control_Border;
11
- use Elementor\Group_Control_Background;
12
- use Elementor\Group_Control_Box_Shadow;
13
- use Elementor\Group_Control_Typography;
14
- use Elementor\Scheme_Typography;
15
-
16
- class Charts extends EAE_Widget_Base {
17
- public function get_name() {
18
- return 'eae-charts';
19
- }
20
-
21
- public function get_title() {
22
-
23
- return __('EAE-Charts', 'wts-eae');
24
-
25
- }
26
-
27
- public function get_icon() {
28
- return 'eae-icons eae-compare-table';
29
- }
30
-
31
- public function get_categories() {
32
- return [ 'wts-eae' ];
33
- }
34
-
35
- protected function _register_skins(){
36
- $this->add_skin( new Skins\Skin_Bar_Chart( $this ) );
37
- $this->add_skin( new Skins\Skin_horizontal_Bar_Chart( $this ) );
38
- $this->add_skin( new Skins\Skin_Line_Chart( $this ) );
39
- $this->add_skin( new Skins\Skin_Pie_Chart( $this ) );
40
- $this->add_skin( new Skins\Skin_Doughnut_Chart( $this ) );
41
- $this->add_skin( new Skins\Skin_Polar_Area_Chart( $this ) );
42
- $this->add_skin( new Skins\Skin_Radar_Chart( $this ) );
43
- // $this->add_skin( new Skins\Skin_Bubble_Chart( $this ) );
44
-
45
- }
46
-
47
- protected $_has_template_content = false;
48
-
49
- protected function _register_controls()
50
- {
51
- $this->start_controls_section(
52
- 'section_layout',
53
- [
54
- 'label' => __('Layout', 'wts-eae')
55
- ]
56
- );
57
- $this->end_controls_section();
58
-
59
- $this->start_controls_section(
60
- 'section_x_axis',
61
- [
62
- 'label' => __('X - Axis', 'wts-eae')
63
- ]
64
- );
65
-
66
- $this->add_control(
67
- 'x_axis_title',
68
- [
69
- 'label' => __('X-Axis', 'wts-eae'),
70
- 'type' => Controls_Manager::HEADING,
71
- 'separator' => 'before',
72
- ]
73
- );
74
-
75
- $this->add_control(
76
- 'x_axis_show_title',
77
- [
78
- 'label' => __('Enable X-Axis Title', 'wts-eae'),
79
- 'type' => Controls_Manager::SWITCHER,
80
- 'label_on' => __( 'Yes', 'wts-eae' ),
81
- 'label_off' => __( 'No', 'wts-eae' ),
82
- 'return_value' => 'true',
83
- 'default' => '',
84
- ]
85
- );
86
-
87
- $this->add_control(
88
- 'x_axis_label',
89
- [
90
- 'label' => __('Title', 'wts-eae'),
91
- 'type' => Controls_Manager::TEXT,
92
- 'default' => '',
93
- 'placeholder' => __('Enter Title', 'wts-eae'),
94
- 'condition' => [
95
- 'x_axis_show_title' => 'true'
96
- ]
97
- ]
98
- );
99
-
100
- $this->add_control(
101
- 'data_label',
102
- [
103
- 'label' => __('Data Labels', 'wts-eae'),
104
- 'type' => Controls_Manager::TEXT,
105
- 'default' => 'Jan, Feb, Mar, Apr',
106
- 'placeholder' => __("January, February, March", 'wts-eae'),
107
- 'description' => __("Enter X-Axis Data Labels Separated With ' , ' "),
108
- ]
109
- );
110
-
111
- $this->add_control(
112
- 'x_axis_grid_line',
113
- [
114
- 'label' => __('Enable Grid Lines', 'wts-eae'),
115
- 'type' => Controls_Manager::SWITCHER,
116
- 'label_on' => __( 'Yes', 'wts-eae' ),
117
- 'label_off' => __( 'No', 'wts-eae' ),
118
- 'return_value' => 'true',
119
- 'default' => '',
120
- 'description' => __(" Enable or Disable X-Axis Grid Lines "),
121
- ]
122
- );
123
-
124
-
125
- $this->add_control('label_rotation',
126
- [
127
- 'label' => __( 'Label\'s Rotation ', 'wts-eae' ),
128
- 'type' => Controls_Manager::NUMBER,
129
- 'min' => 0,
130
- 'max' => 360,
131
- 'default' => 0,
132
- 'condition' => [
133
- '_skin' => 'bar'
134
- ]
135
- ]
136
- );
137
-
138
- $this->end_controls_section();
139
-
140
-
141
- $this->start_controls_section(
142
- 'section_y_axis',
143
- [
144
- 'label' => __('Y - Axis', 'wts-eae')
145
- ]
146
- );
147
-
148
- $this->add_control(
149
- 'y_axis_show_title',
150
- [
151
- 'label' => __('Enable Y-Axis Title', 'wts-eae'),
152
- 'type' => Controls_Manager::SWITCHER,
153
- 'label_on' => __( 'Yes', 'wts-eae' ),
154
- 'label_off' => __( 'No', 'wts-eae' ),
155
- 'return_value' => 'true',
156
- 'default' => '',
157
- ]
158
- );
159
-
160
- $this->add_control(
161
- 'y_axis_label',
162
- [
163
- 'label' => __('Title', 'wts-eae'),
164
- 'type' => Controls_Manager::TEXT,
165
- 'default' => '',
166
- 'placeholder' => __('Enter Title', 'wts-eae'),
167
- 'condition' => [
168
- 'y_axis_show_title' => 'true'
169
- ]
170
- ]
171
- );
172
-
173
-
174
- $repeater = new Repeater();
175
-
176
- $repeater->start_controls_tabs('chart_items_tab');
177
-
178
- $repeater->start_controls_tab(
179
- 'content',
180
- [
181
- 'label' => __('Content', 'wts-eae'),
182
- ]
183
- );
184
- $repeater->add_control(
185
- 'dataset_label',
186
- [
187
- 'label' => __('Label', 'wts-eae'),
188
- 'type' => Controls_Manager::TEXT,
189
- 'default' => __('Title', 'wts-eae'),
190
- 'placeholder' => __('Enter your label', 'wts-eae')
191
- ]
192
- );
193
-
194
- $repeater->add_control(
195
- 'dataset_data',
196
- [
197
- 'label' => __('Data', 'wts-eae'),
198
- 'type' => Controls_Manager::TEXT,
199
- 'default' => '',
200
- 'placeholder' => __("10, 20, 30", 'wts-eae'),
201
- 'description' => __("Enter Y-Axis Data Numbers Separated With ' , ' "),
202
- ]
203
- );
204
-
205
- $repeater->end_controls_tab();
206
-
207
- $repeater->start_controls_tab(
208
- 'style',
209
- [
210
- 'label' => __('Style', 'wts-eae'),
211
- ]
212
- );
213
-
214
- $repeater->add_control(
215
- 'bar_chart_background',
216
- [
217
- 'label' => __('Bar Background', 'wts-eae'),
218
- 'type' => Controls_Manager::COLOR,
219
- 'default' => '',
220
- ]
221
- );
222
-
223
- $repeater->add_control(
224
- 'bar_border_width',
225
- [
226
- 'label' => __('Border Width', 'wts-eae'),
227
- 'type' => Controls_Manager::NUMBER,
228
- 'default' => 1,
229
- 'min' => 1,
230
- 'max' => 10,
231
- ]
232
- );
233
-
234
- $repeater->add_control(
235
- 'bar_chart_border_color',
236
- [
237
- 'label' => __(' Bar Border Color', 'wts-eae'),
238
- 'type' => Controls_Manager::COLOR,
239
- 'default' => '#000000',
240
- ]
241
- );
242
-
243
- $repeater->end_controls_tab();
244
-
245
-
246
- $this->add_control(
247
- 'dataset_text',
248
- [
249
- 'label' => __( 'Datasets', 'wts-eae' ),
250
- 'type' => Controls_Manager::REPEATER,
251
- 'show_label' => true,
252
- 'default' => [
253
- [
254
- 'dataset_label' => __( 'Elementor', 'wts-eae' ),
255
- 'dataset_data' => [13, 20, 30, 40],
256
- 'bar_chart_background' => '#D1406F',
257
- 'bar_border_width' => 1,
258
- 'bar_chart_border_color' => '#ffffff'
259
-
260
-
261
- ],
262
- [
263
- 'dataset_label' => __( 'Beaver Builder', 'wts-eae' ),
264
- 'dataset_data' => [15, 25, 35, 45],
265
- 'bar_chart_background' => '#E08A11',
266
- 'bar_border_width' => 1,
267
- 'bar_chart_border_color' => '#ffffff'
268
-
269
- ],
270
- ],
271
- 'fields' => array_values( $repeater->get_controls() ),
272
- ]
273
- );
274
-
275
- $this->add_control(
276
- 'y_axis_grid_line',
277
- [
278
- 'label' => __('Enable Grid Lines', 'wts-eae'),
279
- 'type' => Controls_Manager::SWITCHER,
280
- 'label_on' => __( 'Yes', 'wts-eae' ),
281
- 'label_off' => __( 'No', 'wts-eae' ),
282
- 'return_value' => 'true',
283
- 'default' => '',
284
- 'description' => __(" Enable or Disable Y-Axis Grid Lines "),
285
- ]
286
- );
287
-
288
- $this->end_controls_section();
289
-
290
- $this->start_controls_section(
291
- 'section_title',
292
- [
293
- 'label' => __('Title', 'wts-eae')
294
- ]
295
- );
296
-
297
- $this->add_control(
298
- 'chart_Heading',
299
- [
300
- 'label' => __('Enable Title', 'wts-eae'),
301
- 'type' => Controls_Manager::SWITCHER,
302
- 'label_on' => __( 'Yes', 'wts-eae' ),
303
- 'label_off' => __( 'No', 'wts-eae' ),
304
- 'return_value' => 'true',
305
- 'default' => '',
306
- ]
307
- );
308
-
309
- $this->add_control(
310
- 'chart_main_title',
311
- [
312
- 'label' => __('Title', 'wts-eae'),
313
- 'type' => Controls_Manager::TEXT,
314
- 'default' => '',
315
- 'placeholder' => __('Enter Title', 'wts-eae'),
316
- 'condition' => [
317
- 'chart_Heading' => 'true'
318
- ]
319
- ]
320
- );
321
-
322
- $this->add_control(
323
- 'title_position',
324
- [
325
- 'type' => Controls_Manager::SELECT,
326
- 'label' => __( 'Position', 'wts-eae' ),
327
- 'default' => 'top',
328
- 'condition' => [
329
- 'chart_Heading' => 'true'
330
- ],
331
- 'options' => [
332
- 'top' => __( 'Top', 'wts-eae' ),
333
- 'left' => __( 'Left', 'wts-eae' ),
334
- 'right' => __( 'Right', 'wts-eae' ),
335
- 'bottom' =>__( 'Bottom', 'wts-eae' ),
336
-
337
- ]
338
-
339
- ]
340
- );
341
-
342
- $this->end_controls_section();
343
-
344
-
345
- $this->start_controls_section(
346
- 'section_additional_settings',
347
- [
348
- 'label' => __('Additional Settings', 'wts-eae')
349
- ]
350
- );
351
-
352
- $this->add_control('step_size',
353
- [
354
- 'label' => __( 'Step Size', 'wts-eae' ),
355
- 'type' => Controls_Manager::NUMBER,
356
- 'condition' => [
357
- '_skin!' => [ 'pie', 'doughnut' ]
358
- ]
359
- ]
360
- );
361
-
362
- $this->add_control('y_axis_min_val',
363
- [
364
- 'label' => __( 'Minimum Value', 'wts-eae' ),
365
- 'type' => Controls_Manager::NUMBER,
366
- 'title' => __('Set Y-axis minimum value, to override if data has a smaller value'),
367
- 'condition' => [
368
- '_skin!' => [ 'pie', 'doughnut', 'radar', 'polarArea' ]
369
- ]
370
- ]
371
- );
372
-
373
- $this->add_control('y_axis_max_val',
374
- [
375
- 'label' => __( 'Maximum Value', 'wts-eae' ),
376
- 'type' => Controls_Manager::NUMBER,
377
- 'title' => __('Set Y-axis maximum value, to override if data has a larger value'),
378
- 'min' => 0,
379
- 'default' => 1,
380
- 'condition' => [
381
- '_skin!' => [ 'pie', 'doughnut' ]
382
- ]
383
- ]
384
- );
385
-
386
- $this->add_control('legend_display',
387
- [
388
- 'label' => __('Show Legend', 'wts-eae'),
389
- 'type' => Controls_Manager::SWITCHER,
390
- 'label_on' => 'Yes',
391
- 'label_off' => 'No',
392
- 'return_value' => 'true',
393
- 'description' => __('Show or Hide datasets label','wts-eae'),
394
- ]
395
- );
396
-
397
- $this->add_control('legend_position',
398
- [
399
- 'label' => __('Legend Position', 'wts-eae'),
400
- 'type' => Controls_Manager::SELECT,
401
- 'options' => [
402
- 'top' => __('Top', 'wts-eae'),
403
- 'right' => __('Right', 'wts-eae'),
404
- 'bottom' => __('Bottom', 'wts-eae'),
405
- 'left' => __('Left', 'wts-eae'),
406
- ],
407
- 'default' => 'top',
408
- 'condition' => [
409
- 'legend_display' => 'true'
410
- ]
411
- ]
412
- );
413
-
414
- // $this->add_control(
415
- // 'legend_align',
416
- // [
417
- // 'label' => __( 'Alignment', 'wts-eae' ),
418
- // 'type' => Controls_Manager::CHOOSE,
419
- // 'options' => [
420
- // 'start' => [
421
- // 'title' => __( 'Left', 'wts-eae' ),
422
- // 'icon' => 'fa fa-align-left',
423
- // ],
424
- // 'center' => [
425
- // 'title' => __( 'Center', 'wts-eae' ),
426
- // 'icon' => 'fa fa-align-center',
427
- // ],
428
- // 'end' => [
429
- // 'title' => __( 'Right', 'wts-eae' ),
430
- // 'icon' => 'fa fa-align-right',
431
- // ],
432
- // ],
433
- // 'default' => 'center',
434
- // 'condition' => [
435
- // 'legend_display' => 'true'
436
- // ]
437
- // ]
438
- // );
439
-
440
- $this->add_control('show_tooltips',
441
- [
442
- 'label' => __('Show Tooltip', 'wts-eae'),
443
- 'type' => Controls_Manager::SWITCHER,
444
- 'label_on' => 'Yes',
445
- 'label_off' => 'No',
446
- 'return_value' => 'true',
447
- ]
448
- );
449
-
450
- $this->add_control('tooltips_mode',
451
- [
452
- 'label' => __('Mode', 'wts-eae'),
453
- 'type' => Controls_Manager::SELECT,
454
- 'options' => [
455
- 'index' => __('Index', 'wts-eae'),
456
- 'point' => __('Point', 'wts-eae'),
457
- 'nearest' => __('Nearest', 'wts-eae'),
458
- 'dataset' => __('Dataset', 'wts-eae'),
459
- 'x' => __('X', 'wts-eae'),
460
- 'y' => __('Y', 'wts-eae'),
461
- ],
462
- 'default' => 'nearest',
463
- 'condition' => [
464
- 'show_tooltips' => 'true'
465
- ]
466
- ]
467
- );
468
-
469
- $this->add_control('chart_animation',
470
- [
471
- 'label' => __('Animation', 'wts-eae'),
472
- 'type' => Controls_Manager::SELECT,
473
- 'options' => [
474
- 'linear' => __('Linear','wts-eae'),
475
- 'easeInQuad' => __('Ease in Quad','wts-eae'),
476
- 'easeOutQuad' => __('Ease out Quad','wts-eae'),
477
- 'easeInOutQuad' => __('Ease in out Quad','wts-eae'),
478
- 'easeInCubic' => __('Ease in Cubic','wts-eae'),
479
- 'easeOutCubic' => __('Ease out Cubic','wts-eae'),
480
- 'easeInOutCubic' => __('Ease in out Cubic','wts-eae'),
481
- 'easeInQuart' => __('Ease in Quart','wts-eae'),
482
- 'easeOutQuart' => __('Ease out Quart','wts-eae'),
483
- 'easeInOutQuart' => __('Ease in out Quart','wts-eae'),
484
- 'easeInQuint' => __('Ease in Quint','wts-eae'),
485
- 'easeOutQuint' => __('Ease out Quint','wts-eae'),
486
- 'easeInOutQuint' => __('Ease in out Quint','wts-eae'),
487
- 'easeInSine' => __('Ease in Sine','wts-eae'),
488
- 'easeOutSine' => __('Ease out Sine','wts-eae'),
489
- 'easeInOutSine' => __('Ease in out Sine','wts-eae'),
490
- 'easeInExpo' => __('Ease in Expo','wts-eae'),
491
- 'easeOutExpo' => __('Ease out Expo','wts-eae'),
492
- 'easeInOutExpo' => __('Ease in out Cubic','wts-eae'),
493
- 'easeInCirc' => __('Ease in Circle','wts-eae'),
494
- 'easeOutCirc' => __('Ease out Circle','wts-eae'),
495
- 'easeInOutCirc' => __('Ease in out Circle','wts-eae'),
496
- 'easeInElastic' => __('Ease in Elastic','wts-eae'),
497
- 'easeOutElastic' => __('Ease out Elastic','wts-eae'),
498
- 'easeInOutElastic' => __('Ease in out Elastic','wts-eae'),
499
- 'easeInBack' => __('Ease in Back','wts-eae'),
500
- 'easeOutBack' => __('Ease out Back','wts-eae'),
501
- 'easeInOutBack' => __('Ease in Out Back','wts-eae'),
502
- 'easeInBounce' => __('Ease in Bounce','wts-eae'),
503
- 'easeOutBounce' => __('Ease out Bounce','wts-eae'),
504
- 'easeInOutBounce' => __('Ease in out Bounce','wts-eae'),
505
- ],
506
- 'default' => 'easeOutQuart',
507
- ]
508
- );
509
-
510
- $this->add_control('duration_animation',
511
- [
512
- 'label' => __('Animation Duration', 'wts-eae'),
513
- 'type' => Controls_Manager::NUMBER,
514
- ]
515
- );
516
-
517
- $this->end_controls_section();
518
-
519
- $this->start_controls_section(
520
- 'section_style',
521
- [
522
- 'label' => __( 'General', 'wts-eae' ),
523
- 'tab' => Controls_Manager::TAB_STYLE,
524
- ]
525
- );
526
-
527
- $this->add_responsive_control('eae_chart_height',
528
- [
529
- 'label' => __('Height', 'wts-eae'),
530
- 'type' => Controls_Manager::NUMBER,
531
- 'default' => 500,
532
- 'selectors' => [
533
- '{{WRAPPER}} .eae-chart-wrapper' => 'height: {{SIZE}}px'
534
- ]
535
- ]
536
- );
537
-
538
- $this->add_group_control(
539
- Group_Control_Background::get_type(),
540
- [
541
- 'name' => 'eae_chart_background_color',
542
- 'label' => __( 'Background Color', 'wts-eae' ),
543
- 'types' => [ 'none', 'classic', 'gradient' ],
544
- 'selector' => '{{WRAPPER}} .eae-chart-outer-wrapper',
545
- ]
546
- );
547
-
548
- $this->add_group_control(
549
- Group_Control_Border::get_type(),
550
- [
551
- 'name' => 'eae_chart_border',
552
- 'label' => __( 'Border', 'wts-eae' ),
553
- 'selector' => '{{WRAPPER}} .eae-chart-outer-wrapper',
554
- ]
555
- );
556
-
557
- $this->add_control(
558
- 'eae_chart_border_radius',
559
- [
560
- 'label' => __( 'Border Radius', 'wts-eae' ),
561
- 'type' => Controls_Manager::DIMENSIONS,
562
- 'size_units' => array( 'px', '%' ),
563
- 'selectors' => [
564
- '{{WRAPPER}} .eae-chart-outer-wrapper' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
565
- ],
566
- ]
567
- );
568
-
569
- $this->add_group_control(
570
- Group_Control_Box_Shadow::get_type(),
571
- [
572
- 'name' => 'eae_chart_box_shadow',
573
- 'label' => 'Box Shadow',
574
- 'selector' => '{{WRAPPER}} .eae-chart-outer-wrapper',
575
- ]
576
- );
577
-
578
- $this->add_responsive_control('eae_chart_margin',
579
- [
580
- 'label' => __('Margin', 'wts-eae'),
581
- 'type' => Controls_Manager::DIMENSIONS,
582
- 'size_units' => [ 'px', 'em', '%' ],
583
- 'selectors' => [
584
- '{{WRAPPER}} .eae-chart-outer-wrapper' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}',
585
- ]
586
- ]
587
- );
588
-
589
- $this->add_responsive_control('eae_chart_padding',
590
- [
591
- 'label' => __('Padding', 'wts-eae'),
592
- 'type' => Controls_Manager::DIMENSIONS,
593
- 'size_units' => [ 'px', 'em', '%' ],
594
- 'selectors' => [
595
- '{{WRAPPER}} .eae-chart-outer-wrapper' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}',
596
- ]
597
- ]
598
- );
599
-
600
- $this->end_controls_section();
601
-
602
- $this->start_controls_section(
603
- 'heading_style',
604
- [
605
- 'label' => __( 'Title', 'wts-eae' ),
606
- 'tab' => Controls_Manager::TAB_STYLE,
607
- 'condition' => [
608
- 'chart_Heading' => 'true'
609
- ]
610
- ]
611
- );
612
-
613
- $this->add_control(
614
- 'heading_color',
615
- [
616
- 'label' => __( 'Color', 'wts-eae' ),
617
- 'type' => Controls_Manager::COLOR,
618
- 'scheme' => [
619
- 'type' => Scheme_Color::get_type(),
620
- 'value' => Scheme_Color::COLOR_4,
621
- ],
622
-
623
- ]
624
- );
625
-
626
- $this->add_control('title_typography',
627
- [
628
- 'label' => __('Typography', 'wts-eae'),
629
- 'type' => Controls_Manager::POPOVER_TOGGLE,
630
- ]
631
- );
632
-
633
- $this->start_popover();
634
-
635
- $this->add_control(
636
- 'heading_font_family',
637
- [
638
- 'label' => __( 'Family', 'wts-eae'),
639
- 'type' => Controls_Manager::FONT,
640
- 'default' => '',
641
- ]
642
- );
643
-
644
- $this->add_control('heading_font_size',
645
- [
646
- 'label' => __( 'Size', 'wts-eae' ),
647
- 'type' => Controls_Manager::SLIDER,
648
- 'range' => [
649
- 'px' => [
650
- 'min' => 1,
651
- 'max' => 200,
652
- ]
653
- ],
654
- 'default' => [
655
- 'unit' => 'px',
656
- 'size' => 15
657
- ],
658
-
659
- ]
660
- );
661
-
662
- $this->add_control('heading_font_style',
663
- [
664
- 'label' => __('Style', 'wts-eae'),
665
- 'type' => Controls_Manager::SELECT,
666
- 'default' => '',
667
- 'options' => [
668
- '' => _x( 'Default', 'wts-eae' ),
669
- 'normal' => _x( 'Normal', 'wts-eae' ),
670
- 'bold' => _x( 'Bold', 'wts-eae' ),
671
- 'italic' => _x( 'Italic', 'wts-eae' ),
672
- 'oblique' => _x( 'Oblique', 'wts-eae' ),
673
- ],
674
- ]
675
- );
676
-
677
- $this->add_responsive_control(
678
- 'heading_line_height',
679
- [
680
- 'label' => __('Line-Height', 'wts-eae'),
681
- 'type' => Controls_Manager::NUMBER,
682
- 'min' => 1,
683
- 'default' => '',
684
- ]
685
- );
686
-
687
- $this->end_popover();
688
-
689
- $this->add_control('heading_padding',
690
- [
691
- 'label' => __('Padding', 'wts-eae'),
692
- 'type' => Controls_Manager::NUMBER,
693
- 'min' => 1,
694
- 'max' => 200,
695
- 'default' => '',
696
- ]
697
- );
698
-
699
- $this->end_controls_section();
700
-
701
- $this->start_controls_section(
702
- 'xaxis_style',
703
- [
704
- 'label' => __( 'X-Axis', 'wts-eae' ),
705
- 'tab' => Controls_Manager::TAB_STYLE,
706
- ]
707
- );
708
-
709
- $this->add_control(
710
- 'xaxis_label_color',
711
- [
712
- 'label' => __( 'Axis Label Color', 'wts-eae' ),
713
- 'type' => Controls_Manager::COLOR,
714
- 'scheme' => [
715
- 'type' => Scheme_Color::get_type(),
716
- 'value' => Scheme_Color::COLOR_4,
717
- ],
718
- 'condition' => [
719
- 'x_axis_show_title' => 'true'
720
- ]
721
-
722
- ]
723
- );
724
-
725
- $this->add_control('xaxis_typography',
726
- [
727
- 'label' => __('Axis Label Typography', 'wts-eae'),
728
- 'type' => Controls_Manager::POPOVER_TOGGLE,
729
- 'condition' => [
730
- 'x_axis_show_title' => 'true'
731
- ]
732
- ]
733
- );
734
-
735
- $this->start_popover();
736
-
737
- $this->add_control(
738
- 'xaxis_font_family',
739
- [
740
- 'label' => __( 'Family', 'wts-eae'),
741
- 'type' => Controls_Manager::FONT,
742
- 'default' => '',
743
- ]
744
- );
745
-
746
- $this->add_control('xaxis_font_size',
747
- [
748
- 'label' => __( 'Size', 'wts-eae' ),
749
- 'type' => Controls_Manager::SLIDER,
750
- 'range' => [
751
- 'px' => [
752
- 'min' => 1,
753
- 'max' => 200,
754
- ]
755
- ],
756
- 'default' => [
757
- 'unit' => 'px',
758
- 'size' => 12
759
- ],
760
-
761
- ]
762
- );
763
-
764
- $this->add_control('xaxis_font_style',
765
- [
766
- 'label' => __('Style', 'wts-eae'),
767
- 'type' => Controls_Manager::SELECT,
768
- 'default' => '',
769
- 'options' => [
770
- '' => _x( 'Default', 'wts-eae' ),
771
- 'normal' => _x( 'Normal', 'wts-eae' ),
772
- 'bold' => _x( 'Bold', 'wts-eae' ),
773
- 'italic' => _x( 'Italic', 'wts-eae' ),
774
- 'oblique' => _x( 'Oblique', 'wts-eae' ),
775
- ],
776
- ]
777
- );
778
-
779
- $this->add_responsive_control(
780
- 'xaxis_line_height',
781
- [
782
- 'label' => __('Line-Height', 'wts-eae'),
783
- 'type' => Controls_Manager::NUMBER,
784
- 'min' => 1,
785
- 'default' => '',
786
- ]
787
- );
788
-
789
- $this->end_popover();
790
-
791
- $this->add_control(
792
- 'data_label_color',
793
- [
794
- 'label' => __( 'Data Label Color', 'wts-eae' ),
795
- 'type' => Controls_Manager::COLOR,
796
- 'scheme' => [
797
- 'type' => Scheme_Color::get_type(),
798
- 'value' => Scheme_Color::COLOR_4,
799
- ],
800
-
801
- ]
802
- );
803
-
804
- $this->add_control('data_label_typography',
805
- [
806
- 'label' => __('Data Label Typography', 'wts-eae'),
807
- 'type' => Controls_Manager::POPOVER_TOGGLE,
808
- ]
809
- );
810
-
811
- $this->start_popover();
812
-
813
- $this->add_control(
814
- 'data_font_family',
815
- [
816
- 'label' => __( 'Family', 'wts-eae'),
817
- 'type' => Controls_Manager::FONT,
818
- 'default' => '',
819
- ]
820
- );
821
-
822
- $this->add_control('data_font_size',
823
- [
824
- 'label' => __( 'Size', 'wts-eae' ),
825
- 'type' => Controls_Manager::SLIDER,
826
- 'range' => [
827
- 'px' => [
828
- 'min' => 1,
829
- 'max' => 200,
830
- ]
831
- ],
832
- 'default' => [
833
- 'unit' => 'px',
834
- 'size' => 12
835
- ],
836
-
837
- ]
838
- );
839
-
840
- $this->add_control('data_font_style',
841
- [
842
- 'label' => __('Style', 'wts-eae'),
843
- 'type' => Controls_Manager::SELECT,
844
- 'default' => '',
845
- 'options' => [
846
- '' => _x( 'Default', 'wts-eae' ),
847
- 'normal' => _x( 'Normal', 'wts-eae' ),
848
- 'bold' => _x( 'Bold', 'wts-eae' ),
849
- 'italic' => _x( 'Italic', 'wts-eae' ),
850
- 'oblique' => _x( 'Oblique', 'wts-eae' ),
851
- ],
852
- ]
853
- );
854
-
855
- $this->add_responsive_control(
856
- 'data_line_height',
857
- [
858
- 'label' => __('Line-Height', 'wts-eae'),
859
- 'type' => Controls_Manager::NUMBER,
860
- 'min' => 1,
861
- 'default' => '',
862
- ]
863
- );
864
-
865
- $this->end_popover();
866
-
867
- $this->add_control(
868
- 'xaxis_grid_line_color',
869
- [
870
- 'label' => __( 'Grid Color', 'wts-eae' ),
871
- 'type' => Controls_Manager::COLOR,
872
- 'scheme' => [
873
- 'type' => Scheme_Color::get_type(),
874
- 'value' => Scheme_Color::COLOR_4,
875
- ],
876
- 'condition' => [
877
- 'x_axis_grid_line' => 'true'
878
- ],
879
-
880
- ]
881
- );
882
-
883
- $this->add_control('xaxis_grid_line_width',
884
- [
885
- 'label' => __( 'Grid Width', 'wts-eae' ),
886
- 'type' => Controls_Manager::SLIDER,
887
- 'range' => [
888
- 'px' => [
889
- 'min' => 0,
890
- 'max' => 10,
891
- ]
892
- ],
893
- 'default' => [
894
- 'unit' => 'px',
895
- 'size' => 1
896
- ],
897
- 'condition' => [
898
- 'x_axis_grid_line' => 'true'
899
- ],
900
- ]
901
- );
902
-
903
- $this->end_controls_section();
904
-
905
- $this->start_controls_section(
906
- 'yaxis_style',
907
- [
908
- 'label' => __( 'Y-Axis', 'wts-eae' ),
909
- 'tab' => Controls_Manager::TAB_STYLE,
910
- ]
911
- );
912
-
913
- $this->add_control(
914
- 'yaxis_label_color',
915
- [
916
- 'label' => __( 'Axis Label Color', 'wts-eae' ),
917
- 'type' => Controls_Manager::COLOR,
918
- 'scheme' => [
919
- 'type' => Scheme_Color::get_type(),
920
- 'value' => Scheme_Color::COLOR_4,
921
- ],
922
- 'condition' => [
923
- 'y_axis_show_title' => 'true'
924
- ]
925
-
926
- ]
927
- );
928
-
929
- $this->add_control('yaxis_typography',
930
- [
931
- 'label' => __('Typography', 'wts-eae'),
932
- 'type' => Controls_Manager::POPOVER_TOGGLE,
933
- 'condition' => [
934
- 'y_axis_show_title' => 'true'
935
- ]
936
- ]
937
- );
938
-
939
- $this->start_popover();
940
-
941
- $this->add_control(
942
- 'yaxis_font_family',
943
- [
944
- 'label' => __( 'Family', 'wts-eae'),
945
- 'type' => Controls_Manager::FONT,
946
- 'default' => '',
947
- ]
948
- );
949
-
950
- $this->add_control('yaxis_font_size',
951
- [
952
- 'label' => __( 'Size', 'wts-eae' ),
953
- 'type' => Controls_Manager::SLIDER,
954
- 'range' => [
955
- 'px' => [
956
- 'min' => 1,
957
- 'max' => 200,
958
- ]
959
- ],
960
- 'default' => [
961
- 'unit' => 'px',
962
- 'size' => 12
963
- ],
964
-
965
- ]
966
- );
967
-
968
- $this->add_control('yaxis_font_style',
969
- [
970
- 'label' => __('Style', 'wts-eae'),
971
- 'type' => Controls_Manager::SELECT,
972
- 'default' => '',
973
- 'options' => [
974
- '' => _x( 'Default', 'wts-eae' ),
975
- 'normal' => _x( 'Normal', 'wts-eae' ),
976
- 'bold' => _x( 'Bold', 'wts-eae' ),
977
- 'italic' => _x( 'Italic', 'wts-eae' ),
978
- 'oblique' => _x( 'Oblique', 'wts-eae' ),
979
- ],
980
- ]
981
- );
982
-
983
- $this->add_responsive_control(
984
- 'yaxis_line_height',
985
- [
986
- 'label' => __('Line-Height', 'wts-eae'),
987
- 'type' => Controls_Manager::NUMBER,
988
- 'min' => 1,
989
- 'default' => '',
990
- ]
991
- );
992
-
993
- $this->end_popover();
994
-
995
- $this->add_control('yaxis_data',
996
- [
997
- 'label' => __('Data', 'wts-eae'),
998
- 'type' => Controls_Manager::POPOVER_TOGGLE,
999
-
1000
- ]
1001
- );
1002
-
1003
- $this->start_popover();
1004
-
1005
- $this->add_control(
1006
- 'yaxis_data_color',
1007
- [
1008
- 'label' => __( 'Color', 'wts-eae' ),
1009
- 'type' => Controls_Manager::COLOR,
1010
- 'scheme' => [
1011
- 'type' => Scheme_Color::get_type(),
1012
- 'value' => Scheme_Color::COLOR_4,
1013
- ]
1014
- ]
1015
- );
1016
-
1017
- $this->add_control('yaxis_data_font_size',
1018
- [
1019
- 'label' => __( 'Size', 'wts-eae' ),
1020
- 'type' => Controls_Manager::SLIDER,
1021
- 'range' => [
1022
- 'px' => [
1023
- 'min' => 1,
1024
- 'max' => 200,
1025
- ]
1026
- ],
1027
- 'default' => [
1028
- 'unit' => 'px',
1029
- 'size' => 12
1030
- ],
1031
-
1032
- ]
1033
- );
1034
-
1035
- $this->end_popover();
1036
-
1037
- $this->add_control(
1038
- 'yaxis_grid_line_color',
1039
- [
1040
- 'label' => __( 'Grid Color', 'wts-eae' ),
1041
- 'type' => Controls_Manager::COLOR,
1042
- 'scheme' => [
1043
- 'type' => Scheme_Color::get_type(),
1044
- 'value' => Scheme_Color::COLOR_4,
1045
- ],
1046
- 'condition' => [
1047
- 'y_axis_grid_line' => 'true'
1048
- ],
1049
-
1050
- ]
1051
- );
1052
-
1053
- $this->add_control('yaxis_grid_line_width',
1054
- [
1055
- 'label' => __( 'Grid Width', 'wts-eae' ),
1056
- 'type' => Controls_Manager::SLIDER,
1057
- 'range' => [
1058
- 'px' => [
1059
- 'min' => 0,
1060
- 'max' => 10,
1061
- ]
1062
- ],
1063
- 'default' => [
1064
- 'unit' => 'px',
1065
- 'size' => 1
1066
- ],
1067
- 'condition' => [
1068
- 'y_axis_grid_line' => 'true'
1069
- ],
1070
- ]
1071
- );
1072
-
1073
- $this->end_controls_section();
1074
-
1075
- $this->start_controls_section(
1076
- 'legend_style',
1077
- [
1078
- 'label' => __( 'Legend', 'wts-eae' ),
1079
- 'tab' => Controls_Manager::TAB_STYLE,
1080
- 'condition' => [
1081
- 'legend_display' => 'true'
1082
- ]
1083
- ]
1084
- );
1085
-
1086
- $this->add_control(
1087
- 'legend_color',
1088
- [
1089
- 'label' => __( 'Legend Color', 'wts-eae' ),
1090
- 'type' => Controls_Manager::COLOR,
1091
- 'scheme' => [
1092
- 'type' => Scheme_Color::get_type(),
1093
- 'value' => Scheme_Color::COLOR_4,
1094
- ],
1095
- ]
1096
- );
1097
-
1098
- $this->add_control('legend_typography',
1099
- [
1100
- 'label' => __('Typography', 'wts-eae'),
1101
- 'type' => Controls_Manager::POPOVER_TOGGLE,
1102
- ]
1103
- );
1104
-
1105
- $this->start_popover();
1106
-
1107
- $this->add_control(
1108
- 'legend_font_family',
1109
- [
1110
- 'label' => __( 'Family', 'wts-eae'),
1111
- 'type' => Controls_Manager::FONT,
1112
- 'default' => '',
1113
- ]
1114
- );
1115
-
1116
- $this->add_control('legend_font_size',
1117
- [
1118
- 'label' => __( 'Size', 'wts-eae' ),
1119
- 'type' => Controls_Manager::SLIDER,
1120
- 'range' => [
1121
- 'px' => [
1122
- 'min' => 1,
1123
- 'max' => 200,
1124
- ]
1125
- ],
1126
- 'default' => [
1127
- 'unit' => 'px',
1128
- 'size' => 12
1129
- ],
1130
-
1131
- ]
1132
- );
1133
-
1134
- $this->add_control('legend_font_style',
1135
- [
1136
- 'label' => __('Style', 'wts-eae'),
1137
- 'type' => Controls_Manager::SELECT,
1138
- 'default' => '',
1139
- 'options' => [
1140
- '' => _x( 'Default', 'wts-eae' ),
1141
- 'normal' => _x( 'Normal', 'wts-eae' ),
1142
- 'bold' => _x( 'Bold', 'wts-eae' ),
1143
- 'italic' => _x( 'Italic', 'wts-eae' ),
1144
- 'oblique' => _x( 'Oblique', 'wts-eae' ),
1145
- ],
1146
- ]
1147
- );
1148
-
1149
- $this->end_popover();
1150
-
1151
- $this->end_controls_section();
1152
-
1153
- }
1154
-
1155
-
1156
-
1157
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/comparison-table/widgets/comparison-table.php CHANGED
@@ -7,9 +7,7 @@ use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
7
  use Elementor\Icons_Manager;
8
  use Elementor\Repeater;
9
  use WTS_EAE\Base\EAE_Widget_Base;
10
- use Elementor\Scheme_Color;
11
  use Elementor\Group_Control_Typography;
12
- use Elementor\Scheme_Typography;
13
  use Elementor\Group_Control_Border;
14
  use Elementor\Group_Control_Background;
15
  use Elementor\Group_Control_Text_Shadow;
@@ -44,7 +42,7 @@ class ComparisonTable extends EAE_Widget_Base {
44
  $this->add_control(
45
  'table_count',
46
  [
47
- 'label' => __( 'Table', 'wts-eae' ),
48
  'type' => Controls_Manager::NUMBER,
49
  'default' => 2,
50
  'min' => 2,
@@ -199,7 +197,7 @@ class ComparisonTable extends EAE_Widget_Base {
199
  $this->start_controls_section(
200
  'section_table_' . $i,
201
  [
202
- 'label' => __( 'Table ' . $i, 'wts-eae' ),
203
  'operator' => '>',
204
  'condition' => [
205
  'table_count' => $this->add_condition_value( $i ),
7
  use Elementor\Icons_Manager;
8
  use Elementor\Repeater;
9
  use WTS_EAE\Base\EAE_Widget_Base;
 
10
  use Elementor\Group_Control_Typography;
 
11
  use Elementor\Group_Control_Border;
12
  use Elementor\Group_Control_Background;
13
  use Elementor\Group_Control_Text_Shadow;
42
  $this->add_control(
43
  'table_count',
44
  [
45
+ 'label' => __( 'Plan', 'wts-eae' ),
46
  'type' => Controls_Manager::NUMBER,
47
  'default' => 2,
48
  'min' => 2,
197
  $this->start_controls_section(
198
  'section_table_' . $i,
199
  [
200
+ 'label' => __( 'Plan ' . $i, 'wts-eae' ),
201
  'operator' => '>',
202
  'condition' => [
203
  'table_count' => $this->add_condition_value( $i ),
modules/control-test.php DELETED
@@ -1,111 +0,0 @@
1
- <?php
2
- namespace Elementor;
3
-
4
- if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
5
-
6
- class Widget_Test_Control extends Widget_Base {
7
-
8
- public function get_name() {
9
- return 'wts-testcontrol';
10
- }
11
-
12
- public function get_title() {
13
- return __( 'EAE - Test Control', 'wts-eae' );
14
- }
15
-
16
- public function get_icon() {
17
- return 'eicon-flip-box wts-eae-pe';
18
- }
19
-
20
- public function get_categories() {
21
- return [ 'wts-eae' ];
22
- }
23
-
24
- protected function _register_controls() {
25
- $this->start_controls_section(
26
- 'section_general',
27
- [
28
- 'label' => __( 'General', 'wts-eae' )
29
- ]
30
- );
31
-
32
- $this->add_group_control(
33
- Group_Control_Background::get_type(),
34
- [
35
- 'name' => 'front_box_background_out',
36
- 'types' => [ 'classic', 'gradient'],
37
- //'selector' => '{{WRAPPER}} .divTest',
38
- ]
39
- );
40
-
41
- $this->add_control(
42
- 'front_box__color',
43
- [
44
- 'label' => __( 'Title', 'wts-eae' ),
45
- 'type' => Controls_Manager::COLOR,
46
- 'selectors' => [
47
- '{{WRAPPER}} {{CURRENT_ITEM}}.divTest' => 'color: {{VALUE}};',
48
- ],
49
- ]
50
- );
51
-
52
- $repeater = new Repeater();
53
-
54
- $repeater->add_group_control(
55
- Group_Control_Background::get_type(),
56
- [
57
- 'name' => 'front_box_background_ind',
58
- 'types' => [ 'classic', 'gradient'],
59
- 'selector' => '{{WRAPPER}} {{CURRENT_ITEM}}.divTest',
60
- ]
61
- );
62
- $repeater->add_group_control(
63
- Group_Control_Typography::get_type(),
64
- [
65
- 'name' => 'front_box_title_typography',
66
- 'label' => __( 'Title Typography', 'wts-eae' ),
67
- 'scheme' => Scheme_Typography::TYPOGRAPHY_4,
68
- 'selector' => '{{WRAPPER}} {{CURRENT_ITEM}}.divTest',
69
-
70
- ]
71
- );
72
-
73
- $repeater->add_control(
74
- 'front_box_title_color',
75
- [
76
- 'label' => __( 'Title', 'wts-eae' ),
77
- 'type' => Controls_Manager::COLOR,
78
- 'selectors' => [
79
- '{{WRAPPER}} {{CURRENT_ITEM}} i' => 'color: {{VALUE}};',
80
- ],
81
- ]
82
- );
83
-
84
- $this->add_control(
85
- 'eae_flip_box_set',
86
- [
87
- 'label' => __( 'Flip Box', 'wts-eae' ),
88
- 'type' => Controls_Manager::REPEATER,
89
- 'show_label' => true,
90
- 'fields' => array_values($repeater->get_controls()),
91
- ]
92
- );
93
-
94
- }
95
-
96
- protected function render( ) {
97
- $settings = $this->get_settings_for_display();
98
- //print_r($settings['eae_flip_box_set']);
99
- foreach ($settings['eae_flip_box_set'] as $flipbox) {
100
- ?>
101
- <div class="elementor-repeater-item-<?php echo $flipbox['_id']; ?> divTest">
102
- Satish
103
- <i>Kumar</i>
104
- </div>
105
-
106
- <?php
107
- }
108
- }
109
- }
110
-
111
- Plugin::instance()->widgets_manager->register_widget_type( new Widget_Test_Control() );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/dual-button/widgets/dual-button.php CHANGED
@@ -5,9 +5,7 @@ use Elementor\Controls_Manager;
5
  use Elementor\Core\Kits\Documents\Tabs\Global_Colors;
6
  use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
7
  use WTS_EAE\Base\EAE_Widget_Base;
8
- use Elementor\Scheme_Color;
9
  use Elementor\Group_Control_Typography;
10
- use Elementor\Scheme_Typography;
11
  use Elementor\Group_Control_Border;
12
  use Elementor\Group_Control_Background;
13
  use Elementor\Group_Control_Box_Shadow;
@@ -750,10 +748,6 @@ class DualButton extends EAE_Widget_Base {
750
  'label' => __( 'Color', 'wts-eae' ),
751
  'type' => Controls_Manager::COLOR,
752
  'default' => '',
753
- // 'scheme' => [
754
- // 'type' => Scheme_Color::get_type(),
755
- // 'value' => Scheme_Color::COLOR_2,
756
- // ],
757
  'global' => [
758
  'default' => Global_Colors::COLOR_SECONDARY,
759
  ],
5
  use Elementor\Core\Kits\Documents\Tabs\Global_Colors;
6
  use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
7
  use WTS_EAE\Base\EAE_Widget_Base;
 
8
  use Elementor\Group_Control_Typography;
 
9
  use Elementor\Group_Control_Border;
10
  use Elementor\Group_Control_Background;
11
  use Elementor\Group_Control_Box_Shadow;
748
  'label' => __( 'Color', 'wts-eae' ),
749
  'type' => Controls_Manager::COLOR,
750
  'default' => '',
 
 
 
 
751
  'global' => [
752
  'default' => Global_Colors::COLOR_SECONDARY,
753
  ],
modules/evergreen-timer/module.php DELETED
@@ -1,18 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\EvergreenTimer;
4
-
5
- use WTS_EAE\Base\Module_Base;
6
-
7
- class Module extends Module_Base {
8
-
9
- public function get_widgets() {
10
- return [
11
- 'Evergreen_Timer',
12
- ];
13
- }
14
-
15
- public function get_name() {
16
- return 'eae-evergreen-timer';
17
- }
18
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/evergreen-timer/skins/skin-1.php DELETED
@@ -1,147 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\EvergreenTimer\Skins;
4
-
5
- use Elementor\Controls_Manager;
6
- use Elementor\Plugin;
7
- use Elementor\Widget_Base;
8
- use Elementor\Group_Control_Background;
9
- use Elementor\Group_Control_Border;
10
-
11
- class Skin_1 extends Skin_Base {
12
-
13
- protected function _register_controls_actions() {
14
- parent::_register_controls_actions(); // TODO: Change the autogenerated stub
15
- add_action( 'elementor/element/eae-evergreen-timer/skin1_general_style/before_section_end', [
16
- $this,'extra_controls_add'
17
- ] );
18
- }
19
-
20
- public function get_id() {
21
- return 'skin1';
22
- }
23
-
24
- public function get_title() {
25
- return __( 'Skin 1', 'wts-eae' );
26
- }
27
-
28
- function extra_controls_add(){
29
- $this->add_group_control(
30
- Group_Control_Border::get_type(),
31
- [
32
- 'name' => 'box_border',
33
- 'label' => __( 'Border', 'wts-eae' ),
34
- 'selector' =>
35
- '{{WRAPPER}} .eae-time-wrapper',
36
- ]
37
- );
38
- $this->add_control(
39
- 'border_radius',
40
- [
41
- 'label' => __( 'Border Radius', 'wts-eae' ),
42
- 'type' => Controls_Manager::DIMENSIONS,
43
- 'size_units' => [ 'px', '%' ],
44
- 'selectors' => [
45
- '{{WRAPPER}} .eae-time-wrapper' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
46
- ],
47
- ]
48
- );
49
- }
50
- function render(){
51
- $data = $this->parent->get_data();
52
- $settings = $this->parent->get_settings_for_display();
53
- //print_r($data);
54
- $actions = $this->eae_get_egt_actions($settings);
55
- if($settings['action_after_expire'] !== ''){
56
- $this->parent->add_render_attribute( 'wrapper', 'data-actions', json_encode($settings['action_after_expire']) );
57
- if($settings['redirect_url_expire'] !== ''){
58
- $this->parent->add_render_attribute( 'wrapper', 'data-redirected-url', $settings['redirect_url_expire'] );
59
- }
60
- }
61
- else{
62
- $this->parent->add_render_attribute( 'wrapper', 'data-actions', '[""]' );
63
- }
64
-
65
- $cookie_temp_name = "eae-temp-". $data['id'];
66
- $cookie_name = "eae-temp-". $data['id'];
67
- $show_data = 'show';
68
- if(isset($_COOKIE[$cookie_temp_name])) {
69
- //echo 'cookie set';
70
- //echo 'cookie value'. $_COOKIE[$cookie_temp_name];
71
- }
72
- else {
73
- //echo 'cookie not set';
74
-
75
- $this->parent->add_render_attribute( 'wrapper', 'class', 'eae-evergreen-expire' );
76
-
77
- if ( ! Plugin::instance()->editor->is_edit_mode() ) {
78
- if($settings['action_after_expire'] !== ''){
79
- foreach ( $actions as $index => $item ) :
80
- if ( $item['type'] == 'redirect' || $item['type'] == 'hide_parent' || $item['type'] == 'hide' ) {
81
- $show_data = 'hide';
82
- }
83
- endforeach;
84
- }
85
- }
86
- }
87
- //$countDownDate = $this->get_egt_interval($settings);
88
- //echo 'countdowndate '. $countDownDate;
89
-
90
- $unqId = 'eae-egt-'.rand();
91
- $this->parent->add_render_attribute( 'wrapper', 'class', 'eae-evergreen-wrapper' );
92
- $this->parent->add_render_attribute( 'wrapper', 'class', $unqId );
93
- $this->parent->add_render_attribute( 'wrapper', 'data-id', $data['id'] );
94
- $this->parent->add_render_attribute( 'wrapper', 'data-unqid', $unqId );
95
- $this->parent->add_render_attribute( 'wrapper', 'data-element-type', $settings['countdown_type'] );
96
- $this->parent->add_render_attribute( 'wrapper', 'data-egtime', $this->get_egt_interval($settings) );
97
- $this->parent->add_render_attribute( 'wrapper', 'data-egt-expire', $settings['egt_expiry'] );
98
-
99
- $this->parent->add_render_attribute( 'wrapper_days', 'class', 'eae-time-wrapper' );
100
- if($settings['show_days'] !== 'yes'){
101
- $this->parent->add_render_attribute( 'wrapper_days', 'class', 'eae-egt-hide' );
102
- }
103
- $this->parent->add_render_attribute( 'wrapper_hours', 'class', 'eae-time-wrapper' );
104
- if($settings['show_hours'] !== 'yes'){
105
- $this->parent->add_render_attribute( 'wrapper_hours', 'class', 'eae-egt-hide' );
106
- }
107
- $this->parent->add_render_attribute( 'wrapper_minutes', 'class', 'eae-time-wrapper' );
108
- if($settings['show_minutes'] !== 'yes'){
109
- $this->parent->add_render_attribute( 'wrapper_minutes', 'class', 'eae-egt-hide' );
110
- }
111
- $this->parent->add_render_attribute( 'wrapper_seconds', 'class', 'eae-time-wrapper' );
112
- if($settings['show_seconds'] !== 'yes'){
113
- $this->parent->add_render_attribute( 'wrapper_seconds', 'class', 'eae-egt-hide' );
114
- }
115
- ?>
116
-
117
- <div <?php echo $this->parent->get_render_attribute_string( 'wrapper' ); ?>>
118
-
119
- <?php if($show_data === 'show') {
120
- ?>
121
- <h2 class="egt-title"><?php echo $settings['countdown_title'] ?></h2>
122
- <div id="eaeclockdiv">
123
- <div <?php echo $this->parent->get_render_attribute_string( 'wrapper_days' ); ?>>
124
- <span id="eaedivDays" class="egt-time egt-days"></span>
125
- <div class="egt-time-text smalltext">Days</div>
126
- </div>
127
- <div <?php echo $this->parent->get_render_attribute_string( 'wrapper_hours' ); ?>>
128
- <span id="eaedivHours" class="egt-time egt-hours"></span>
129
- <div class="egt-time-text smalltext">Hours</div>
130
- </div>
131
- <div <?php echo $this->parent->get_render_attribute_string( 'wrapper_minutes' ); ?>>
132
- <span id="eaedivMinutes" class="egt-time egt-minutes"></span>
133
- <div class="egt-time-text smalltext">Minutes</div>
134
- </div>
135
- <div <?php echo $this->parent->get_render_attribute_string( 'wrapper_seconds' ); ?>>
136
- <span id="eaedivSeconds" class="egt-time egt-seconds"></span>
137
- <div class="egt-time-text smalltext">Seconds</div>
138
- </div>
139
- </div>
140
- <?php } ?>
141
- <div class="eae-egt-message">
142
- <?php echo do_shortcode( $settings['expire_message'] ); ?>
143
- </div>
144
- </div>
145
- <?php
146
- }
147
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/evergreen-timer/skins/skin-2.php DELETED
@@ -1,908 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\EvergreenTimer\Skins;
4
-
5
- use Elementor\Controls_Manager;
6
- use Elementor\Plugin;
7
- use Elementor\Widget_Base;
8
- use Elementor\Group_Control_Background;
9
- use Elementor\Group_Control_Border;
10
-
11
- class Skin_2 extends Skin_Base {
12
-
13
- protected function _register_controls_actions() {
14
- parent::_register_controls_actions(); // TODO: Change the autogenerated stub
15
- add_action( 'elementor/element/eae-evergreen-timer/skin2_time_text_style/before_section_end', [
16
- $this,
17
- 'extra_controls_update'
18
- ] );
19
- add_action( 'elementor/element/eae-evergreen-timer/skin2_general_style/before_section_end', [
20
- $this,
21
- 'add_controls'
22
- ] );
23
- }
24
-
25
- public function get_id() {
26
- return 'skin2';
27
- }
28
-
29
- public function get_title() {
30
- return __( 'Skin 2', 'wts-eae' );
31
- }
32
-
33
- function extra_controls_update() {
34
- $this->remove_control( 'wrapper_bg_color' );
35
- $this->remove_responsive_control( 'wrapper_padding' );
36
- //$this->remove_responsive_control('box_border');
37
- $this->remove_control( 'border_radius' );
38
- $this->remove_responsive_control( 'time_num_padding' );
39
- $this->remove_responsive_control( 'time_text_padding' );
40
-
41
- $this->add_responsive_control(
42
- 'time_label_margin',
43
- [
44
- 'label' => __( 'Margin', 'wts-eae' ),
45
- 'type' => Controls_Manager::DIMENSIONS,
46
- 'size_units' => [ 'px', 'em', '%' ],
47
- 'selectors' => [
48
- '{{WRAPPER}}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider .flip-clock-label' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
49
- ],
50
- ]
51
- );
52
- }
53
-
54
- function add_controls() {
55
- $this->add_responsive_control(
56
- 'item_height',
57
- [
58
- 'label' => __( 'Height', 'wts-eae' ),
59
- 'type' => Controls_Manager::SLIDER,
60
- 'range' => [
61
- 'px' => [
62
- 'min' => 0,
63
- 'max' => 100,
64
- ],
65
- ],
66
- 'default' => [
67
- 'size' => 90,
68
- ],
69
- 'mobile_default' => [
70
- 'size' => 30,
71
- ],
72
- 'selectors' => [
73
- '{{WRAPPER}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul' => 'height: {{SIZE}}{{UNIT}} !important;',
74
- '{{WRAPPER}}[data-element_type="eae-evergreen-timer.skin2"] .flip-clock-divider' => 'height: calc({{SIZE}}{{UNIT}} + 10px) !important;',
75
- '{{WRAPPER}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul li' => 'line-height: calc({{SIZE}}{{UNIT}} - 3px) !important;',
76
- ],
77
- ]
78
- );
79
- $this->add_responsive_control(
80
- 'item_width',
81
- [
82
- 'label' => __( 'Width', 'wts-eae' ),
83
- 'type' => Controls_Manager::SLIDER,
84
- 'range' => [
85
- 'px' => [
86
- 'min' => 0,
87
- 'max' => 100,
88
- ],
89
- ],
90
- 'default' => [
91
- 'size' => 60,
92
- ],
93
- 'mobile_default' => [
94
- 'size' => 25,
95
- ],
96
- 'selectors' => [
97
- '{{WRAPPER}}[data-element_type="eae-evergreen-timer.skin2"] .eae-flip-clock-wrapper ul' => 'width: {{SIZE}}{{UNIT}} !important;',
98
- ],
99
- ]
100
- );
101
- }
102
-
103
- function render() {
104
- $data = $this->parent->get_data();
105
- $settings = $this->parent->get_settings_for_display();
106
-
107
- $actions = $this->eae_get_egt_actions( $settings );
108
- //echo '<pre>';print_r($settings);echo '</pre>';
109
- if ( $settings['action_after_expire'] !== '' ) {
110
- $this->parent->add_render_attribute( 'wrapper', 'data-actions', json_encode( $settings['action_after_expire'] ) );
111
- if ( $settings['redirect_url_expire'] !== '' ) {
112
- $this->parent->add_render_attribute( 'wrapper', 'data-redirected-url', $settings['redirect_url_expire'] );
113
- }
114
- } else {
115
- $this->parent->add_render_attribute( 'wrapper', 'data-actions', '[""]' );
116
- }
117
-
118
- $cookie_temp_name = "eae-temp-" . $data['id'];
119
- $cookie_name = "eae-temp-" . $data['id'];
120
- $show_data = 'show';
121
- if ( isset( $_COOKIE[ $cookie_temp_name ] ) ) {
122
- //echo 'cookie set';
123
- //echo 'cookie value'. $_COOKIE[$cookie_temp_name];
124
- } else {
125
- $this->parent->add_render_attribute( 'wrapper', 'class', 'eae-evergreen-expire' );
126
-
127
- if ( ! Plugin::instance()->editor->is_edit_mode() ) {
128
- if ( $settings['action_after_expire'] !== '' ) {
129
- foreach ( $actions as $index => $item ) :
130
- if ( $item['type'] == 'redirect' || $item['type'] == 'hide_parent' || $item['type'] == 'hide' ) {
131
- $show_data = 'hide';
132
- }
133
- endforeach;
134
- }
135
- }
136
- }
137
-
138
- $unqId = 'eae-egt-' . rand();
139
- $this->parent->add_render_attribute( 'wrapper', 'class', 'eae-evergreen-wrapper' );
140
- $this->parent->add_render_attribute( 'wrapper', 'class', $unqId );
141
- $this->parent->add_render_attribute( 'wrapper', 'data-unqid', $unqId );
142
- $this->parent->add_render_attribute( 'wrapper', 'data-id', $data['id'] );
143
- $this->parent->add_render_attribute( 'wrapper', 'data-element-type', $settings['countdown_type'] );
144
- $this->parent->add_render_attribute( 'wrapper', 'data-egtime', $this->get_egt_interval( $settings ) );
145
- $this->parent->add_render_attribute( 'wrapper', 'data-egt-expire', $settings['egt_expiry'] );
146
-
147
- $this->parent->add_render_attribute( 'wrapper_days', 'class', 'eae-time-wrapper' );
148
- if ( $settings['show_days'] !== 'yes' ) {
149
- $this->parent->add_render_attribute( 'wrapper_days', 'class', 'eae-egt-hide' );
150
- }
151
- $this->parent->add_render_attribute( 'wrapper_hours', 'class', 'eae-time-wrapper' );
152
- if ( $settings['show_hours'] !== 'yes' ) {
153
- $this->parent->add_render_attribute( 'wrapper_hours', 'class', 'eae-egt-hide' );
154
- }
155
- $this->parent->add_render_attribute( 'wrapper_minutes', 'class', 'eae-time-wrapper' );
156
- if ( $settings['show_minutes'] !== 'yes' ) {
157
- $this->parent->add_render_attribute( 'wrapper_minutes', 'class', 'eae-egt-hide' );
158
- }
159
- $this->parent->add_render_attribute( 'wrapper_seconds', 'class', 'eae-time-wrapper' );
160
- if ( $settings['show_seconds'] !== 'yes' ) {
161
- $this->parent->add_render_attribute( 'wrapper_seconds', 'class', 'eae-egt-hide' );
162
- }
163
- ?>
164
-
165
- <div <?php echo $this->parent->get_render_attribute_string( 'wrapper' ); ?>>
166
-
167
- <?php if ( $show_data === 'show' ) { ?>
168
- <h2 class="egt-title"><?php echo $settings['countdown_title'] ?></h2>
169
- <div class="timer-container">
170
- <div class="eae-flip-clock-wrapper">
171
- <?php
172
- if ( $settings['show_days'] == 'yes' ) {
173
- ?>
174
- <span class="flip-clock-divider days"><span
175
- class="flip-clock-label egt-time-text">Days</span><span
176
- class="flip-clock-dot top"></span><span
177
- class="flip-clock-dot bottom"></span></span>
178
- <ul data-id="eaeulDay" id="eaeulDay" class="flip play seconds">
179
- <li data-digit="0" class=""><a href="#" class="">
180
- <div class="up">
181
- <div class="shadow"></div>
182
- <div class="inn egt-time">0</div>
183
- </div>
184
- <div class="down">
185
- <div class="shadow"></div>
186
- <div class="inn egt-time">0</div>
187
- </div>
188
- </a></li>
189
- <li data-digit="1" class=""><a href="#" class="">
190
- <div class="up">
191
- <div class="shadow"></div>
192
- <div class="inn egt-time">1</div>
193
- </div>
194
- <div class="down">
195
- <div class="shadow"></div>
196
- <div class="inn egt-time">1</div>
197
- </div>
198
- </a></li>
199
- <li data-digit="2" class=""><a href="#" class="">
200
- <div class="up">
201
- <div class="shadow"></div>
202
- <div class="inn egt-time">2</div>
203
- </div>
204
- <div class="down">
205
- <div class="shadow"></div>
206
- <div class="inn egt-time">2</div>
207
- </div>
208
- </a></li>
209
- <li data-digit="3"><a href="#" class="">
210
- <div class="up">
211
- <div class="shadow"></div>
212
- <div class="inn egt-time">3</div>
213
- </div>
214
- <div class="down">
215
- <div class="shadow"></div>
216
- <div class="inn egt-time">3</div>
217
- </div>
218
- </a></li>
219
- <li data-digit="4" class=""><a href="#" class="">
220
- <div class="up">
221
- <div class="shadow"></div>
222
- <div class="inn egt-time">4</div>
223
- </div>
224
- <div class="down">
225
- <div class="shadow"></div>
226
- <div class="inn egt-time">4</div>
227
- </div>
228
- </a></li>
229
- <li data-digit="5" class=""><a href="#" class="">
230
- <div class="up">
231
- <div class="shadow"></div>
232
- <div class="inn egt-time">5</div>
233
- </div>
234
- <div class="down">
235
- <div class="shadow"></div>
236
- <div class="inn egt-time">5</div>
237
- </div>
238
- </a></li>
239
- <li data-digit="6" class=""><a href="#" class="">
240
- <div class="up">
241
- <div class="shadow"></div>
242
- <div class="inn egt-time">6</div>
243
- </div>
244
- <div class="down">
245
- <div class="shadow"></div>
246
- <div class="inn egt-time">6</div>
247
- </div>
248
- </a></li>
249
- <li data-digit="7" class=""><a href="#" class="">
250
- <div class="up">
251
- <div class="shadow"></div>
252
- <div class="inn egt-time">7</div>
253
- </div>
254
- <div class="down">
255
- <div class="shadow"></div>
256
- <div class="inn egt-time">7</div>
257
- </div>
258
- </a></li>
259
- <li data-digit="8" class=""><a href="#" class="">
260
- <div class="up">
261
- <div class="shadow"></div>
262
- <div class="inn egt-time">8</div>
263
- </div>
264
- <div class="down">
265
- <div class="shadow"></div>
266
- <div class="inn egt-time">8</div>
267
- </div>
268
- </a></li>
269
- <li data-digit="9" class=""><a href="#" class="">
270
- <div class="up">
271
- <div class="shadow"></div>
272
- <div class="inn egt-time">9</div>
273
- </div>
274
- <div class="down">
275
- <div class="shadow"></div>
276
- <div class="inn egt-time">9</div>
277
- </div>
278
- </a></li>
279
- </ul>
280
- <ul data-id="eaeulDay1" id="eaeulDay1" class="flip play minutes">
281
- <li data-digit="0" class=""><a href="#" class="">
282
- <div class="up">
283
- <div class="shadow"></div>
284
- <div class="inn egt-time">0</div>
285
- </div>
286
- <div class="down">
287
- <div class="shadow"></div>
288
- <div class="inn egt-time">0</div>
289
- </div>
290
- </a></li>
291
- <li data-digit="1" class=""><a href="#" class="">
292
- <div class="up">
293
- <div class="shadow"></div>
294
- <div class="inn egt-time">1</div>
295
- </div>
296
- <div class="down">
297
- <div class="shadow"></div>
298
- <div class="inn egt-time">1</div>
299
- </div>
300
- </a></li>
301
- <li data-digit="2" class=""><a href="#" class="">
302
- <div class="up">
303
- <div class="shadow"></div>
304
- <div class="inn egt-time">2</div>
305
- </div>
306
- <div class="down">
307
- <div class="shadow"></div>
308
- <div class="inn egt-time">2</div>
309
- </div>
310
- </a></li>
311
- <li data-digit="3"><a href="#" class="">
312
- <div class="up">
313
- <div class="shadow"></div>
314
- <div class="inn egt-time">3</div>
315
- </div>
316
- <div class="down">
317
- <div class="shadow"></div>
318
- <div class="inn egt-time">3</div>
319
- </div>
320
- </a></li>
321
- <li data-digit="4" class=""><a href="#" class="">
322
- <div class="up">
323
- <div class="shadow"></div>
324
- <div class="inn egt-time">4</div>
325
- </div>
326
- <div class="down">
327
- <div class="shadow"></div>
328
- <div class="inn egt-time">4</div>
329
- </div>
330
- </a></li>
331
- <li data-digit="5" class=""><a href="#" class="">
332
- <div class="up">
333
- <div class="shadow"></div>
334
- <div class="inn egt-time">5</div>
335
- </div>
336
- <div class="down">
337
- <div class="shadow"></div>
338
- <div class="inn egt-time">5</div>
339
- </div>
340
- </a></li>
341
- <li data-digit="6" class=""><a href="#" class="">
342
- <div class="up">
343
- <div class="shadow"></div>
344
- <div class="inn egt-time">6</div>
345
- </div>
346
- <div class="down">
347
- <div class="shadow"></div>
348
- <div class="inn egt-time">6</div>
349
- </div>
350
- </a></li>
351
- <li data-digit="7" class=""><a href="#" class="">
352
- <div class="up">
353
- <div class="shadow"></div>
354
- <div class="inn egt-time">7</div>
355
- </div>
356
- <div class="down">
357
- <div class="shadow"></div>
358
- <div class="inn egt-time">7</div>
359
- </div>
360
- </a></li>
361
- <li data-digit="8" class=""><a href="#" class="">
362
- <div class="up">
363
- <div class="shadow"></div>
364
- <div class="inn egt-time">8</div>
365
- </div>
366
- <div class="down">
367
- <div class="shadow"></div>
368
- <div class="inn egt-time">8</div>
369
- </div>
370
- </a></li>
371
- <li data-digit="9" class=""><a href="#" class="">
372
- <div class="up">
373
- <div class="shadow"></div>
374
- <div class="inn egt-time">9</div>
375
- </div>
376
- <div class="down">
377
- <div class="shadow"></div>
378
- <div class="inn egt-time">9</div>
379
- </div>
380
- </a></li>
381
- </ul>
382
- <?php
383
- }
384
- if ( $settings['show_hours'] == 'yes' ) {
385
- ?>
386
- <span class="flip-clock-divider hours"><span
387
- class="flip-clock-label egt-time-text">Hours</span><span
388
- class="flip-clock-dot top"></span><span
389
- class="flip-clock-dot bottom"></span></span>
390
- <ul data-id="eaeulHour" id="eaeulHour" class="flip play seconds">
391
- <li data-digit="0" class=""><a href="#" class="">
392
- <div class="up">
393
- <div class="shadow"></div>
394
- <div class="inn egt-time">0</div>
395
- </div>
396
- <div class="down">
397
- <div class="shadow"></div>
398
- <div class="inn egt-time">0</div>
399
- </div>
400
- </a></li>
401
- <li data-digit="1" class=""><a href="#" class="">
402
- <div class="up">
403
- <div class="shadow"></div>
404
- <div class="inn egt-time">1</div>
405
- </div>
406
- <div class="down">
407
- <div class="shadow"></div>
408
- <div class="inn egt-time">1</div>
409
- </div>
410
- </a></li>
411
- <li data-digit="2" class=""><a href="#" class="">
412
- <div class="up">
413
- <div class="shadow"></div>
414
- <div class="inn egt-time">2</div>
415
- </div>
416
- <div class="down">
417
- <div class="shadow"></div>
418
- <div class="inn egt-time">2</div>
419
- </div>
420
- </a></li>
421
- <li data-digit="3"><a href="#" class="">
422
- <div class="up">
423
- <div class="shadow"></div>
424
- <div class="inn egt-time">3</div>
425
- </div>
426
- <div class="down">
427
- <div class="shadow"></div>
428
- <div class="inn egt-time">3</div>
429
- </div>
430
- </a></li>
431
- <li data-digit="4" class=""><a href="#" class="">
432
- <div class="up">
433
- <div class="shadow"></div>
434
- <div class="inn egt-time">4</div>
435
- </div>
436
- <div class="down">
437
- <div class="shadow"></div>
438
- <div class="inn egt-time">4</div>
439
- </div>
440
- </a></li>
441
- <li data-digit="5" class=""><a href="#" class="">
442
- <div class="up">
443
- <div class="shadow"></div>
444
- <div class="inn egt-time">5</div>
445
- </div>
446
- <div class="down">
447
- <div class="shadow"></div>
448
- <div class="inn egt-time">5</div>
449
- </div>
450
- </a></li>
451
- </ul>
452
- <ul data-id="eaeulHour1" id="eaeulHour1" class="flip play minutes">
453
- <li data-digit="0" class=""><a href="#" class="">
454
- <div class="up">
455
- <div class="shadow"></div>
456
- <div class="inn egt-time">0</div>
457
- </div>
458
- <div class="down">
459
- <div class="shadow"></div>
460
- <div class="inn egt-time">0</div>
461
- </div>
462
- </a></li>
463
- <li data-digit="1" class=""><a href="#" class="">
464
- <div class="up">
465
- <div class="shadow"></div>
466
- <div class="inn egt-time">1</div>
467
- </div>
468
- <div class="down">
469
- <div class="shadow"></div>
470
- <div class="inn egt-time">1</div>
471
- </div>
472
- </a></li>
473
- <li data-digit="2" class=""><a href="#" class="">
474
- <div class="up">
475
- <div class="shadow"></div>
476
- <div class="inn egt-time">2</div>
477
- </div>
478
- <div class="down">
479
- <div class="shadow"></div>
480
- <div class="inn egt-time">2</div>
481
- </div>
482
- </a></li>
483
- <li data-digit="3"><a href="#" class="">
484
- <div class="up">
485
- <div class="shadow"></div>
486
- <div class="inn egt-time">3</div>
487
- </div>
488
- <div class="down">
489
- <div class="shadow"></div>
490
- <div class="inn egt-time">3</div>
491
- </div>
492
- </a></li>
493
- <li data-digit="4" class=""><a href="#" class="">
494
- <div class="up">
495
- <div class="shadow"></div>
496
- <div class="inn egt-time">4</div>
497
- </div>
498
- <div class="down">
499
- <div class="shadow"></div>
500
- <div class="inn egt-time">4</div>
501
- </div>
502
- </a></li>
503
- <li data-digit="5" class=""><a href="#" class="">
504
- <div class="up">
505
- <div class="shadow"></div>
506
- <div class="inn egt-time">5</div>
507
- </div>
508
- <div class="down">
509
- <div class="shadow"></div>
510
- <div class="inn egt-time">5</div>
511
- </div>
512
- </a></li>
513
- <li data-digit="6" class=""><a href="#" class="">
514
- <div class="up">
515
- <div class="shadow"></div>
516
- <div class="inn egt-time">6</div>
517
- </div>
518
- <div class="down">
519
- <div class="shadow"></div>
520
- <div class="inn egt-time">6</div>
521
- </div>
522
- </a></li>
523
- <li data-digit="7" class=""><a href="#" class="">
524
- <div class="up">
525
- <div class="shadow"></div>
526
- <div class="inn egt-time">7</div>
527
- </div>
528
- <div class="down">
529
- <div class="shadow"></div>
530
- <div class="inn egt-time">7</div>
531
- </div>
532
- </a></li>
533
- <li data-digit="8" class=""><a href="#" class="">
534
- <div class="up">
535
- <div class="shadow"></div>
536
- <div class="inn egt-time">8</div>
537
- </div>
538
- <div class="down">
539
- <div class="shadow"></div>
540
- <div class="inn egt-time">8</div>
541
- </div>
542
- </a></li>
543
- <li data-digit="9" class=""><a href="#" class="">
544
- <div class="up">
545
- <div class="shadow"></div>
546
- <div class="inn egt-time">9</div>
547
- </div>
548
- <div class="down">
549
- <div class="shadow"></div>
550
- <div class="inn egt-time">9</div>
551
- </div>
552
- </a></li>
553
- </ul>
554
- <?php
555
- }
556
- if ( $settings['show_minutes'] == 'yes' ) {
557
- ?>
558
- <span class="flip-clock-divider minutes"><span class="flip-clock-label egt-time-text">Minutes</span><span
559
- class="flip-clock-dot top"></span><span
560
- class="flip-clock-dot bottom"></span></span>
561
- <ul data-id="eaeulMin" id="eaeulMin" class="flip play seconds">
562
- <li data-digit="0" class=""><a href="#" class="">
563
- <div class="up">
564
- <div class="shadow"></div>
565
- <div class="inn egt-time">0</div>
566
- </div>
567
- <div class="down">
568
- <div class="shadow"></div>
569
- <div class="inn egt-time">0</div>
570
- </div>
571
- </a></li>
572
- <li data-digit="1" class=""><a href="#" class="">
573
- <div class="up">
574
- <div class="shadow"></div>
575
- <div class="inn egt-time">1</div>
576
- </div>
577
- <div class="down">
578
- <div class="shadow"></div>
579
- <div class="inn egt-time">1</div>
580
- </div>
581
- </a></li>
582
- <li data-digit="2" class=""><a href="#" class="">
583
- <div class="up">
584
- <div class="shadow"></div>
585
- <div class="inn egt-time">2</div>
586
- </div>
587
- <div class="down">
588
- <div class="shadow"></div>
589
- <div class="inn egt-time">2</div>
590
- </div>
591
- </a></li>
592
- <li data-digit="3"><a href="#" class="">
593
- <div class="up">
594
- <div class="shadow"></div>
595
- <div class="inn egt-time">3</div>
596
- </div>
597
- <div class="down">
598
- <div class="shadow"></div>
599
- <div class="inn egt-time">3</div>
600
- </div>
601
- </a></li>
602
- <li data-digit="4" class=""><a href="#" class="">
603
- <div class="up">
604
- <div class="shadow"></div>
605
- <div class="inn egt-time">4</div>
606
- </div>
607
- <div class="down">
608
- <div class="shadow"></div>
609
- <div class="inn egt-time">4</div>
610
- </div>
611
- </a></li>
612
- <li data-digit="5" class=""><a href="#" class="">
613
- <div class="up">
614
- <div class="shadow"></div>
615
- <div class="inn egt-time">5</div>
616
- </div>
617
- <div class="down">
618
- <div class="shadow"></div>
619
- <div class="inn egt-time">5</div>
620
- </div>
621
- </a></li>
622
- </ul>
623
- <ul data-id="eaeulMin1" id="eaeulMin1" class="flip play minutes">
624
- <li data-digit="0" class=""><a href="#" class="">
625
- <div class="up">
626
- <div class="shadow"></div>
627
- <div class="inn egt-time">0</div>
628
- </div>
629
- <div class="down">
630
- <div class="shadow"></div>
631
- <div class="inn egt-time">0</div>
632
- </div>
633
- </a></li>
634
- <li data-digit="1" class=""><a href="#" class="">
635
- <div class="up">
636
- <div class="shadow"></div>
637
- <div class="inn egt-time">1</div>
638
- </div>
639
- <div class="down">
640
- <div class="shadow"></div>
641
- <div class="inn egt-time">1</div>
642
- </div>
643
- </a></li>
644
- <li data-digit="2" class=""><a href="#" class="">
645
- <div class="up">
646
- <div class="shadow"></div>
647
- <div class="inn egt-time">2</div>
648
- </div>
649
- <div class="down">
650
- <div class="shadow"></div>
651
- <div class="inn egt-time">2</div>
652
- </div>
653
- </a></li>
654
- <li data-digit="3"><a href="#" class="">
655
- <div class="up">
656
- <div class="shadow"></div>
657
- <div class="inn egt-time">3</div>
658
- </div>
659
- <div class="down">
660
- <div class="shadow"></div>
661
- <div class="inn egt-time">3</div>
662
- </div>
663
- </a></li>
664
- <li data-digit="4" class=""><a href="#" class="">
665
- <div class="up">
666
- <div class="shadow"></div>
667
- <div class="inn egt-time">4</div>
668
- </div>
669
- <div class="down">
670
- <div class="shadow"></div>
671
- <div class="inn egt-time">4</div>
672
- </div>
673
- </a></li>
674
- <li data-digit="5" class=""><a href="#" class="">
675
- <div class="up">
676
- <div class="shadow"></div>
677
- <div class="inn egt-time">5</div>
678
- </div>
679
- <div class="down">
680
- <div class="shadow"></div>
681
- <div class="inn egt-time">5</div>
682
- </div>
683
- </a></li>
684
- <li data-digit="6" class=""><a href="#" class="">
685
- <div class="up">
686
- <div class="shadow"></div>
687
- <div class="inn egt-time">6</div>
688
- </div>
689
- <div class="down">
690
- <div class="shadow"></div>
691
- <div class="inn egt-time">6</div>
692
- </div>
693
- </a></li>
694
- <li data-digit="7" class=""><a href="#" class="">
695
- <div class="up">
696
- <div class="shadow"></div>
697
- <div class="inn egt-time">7</div>
698
- </div>
699
- <div class="down">
700
- <div class="shadow"></div>
701
- <div class="inn egt-time">7</div>
702
- </div>
703
- </a></li>
704
- <li data-digit="8" class=""><a href="#" class="">
705
- <div class="up">
706
- <div class="shadow"></div>
707
- <div class="inn egt-time">8</div>
708
- </div>
709
- <div class="down">
710
- <div class="shadow"></div>
711
- <div class="inn egt-time">8</div>
712
- </div>
713
- </a></li>
714
- <li data-digit="9" class=""><a href="#" class="">
715
- <div class="up">
716
- <div class="shadow"></div>
717
- <div class="inn egt-time">9</div>
718
- </div>
719
- <div class="down">
720
- <div class="shadow"></div>
721
- <div class="inn egt-time">9</div>
722
- </div>
723
- </a></li>
724
- </ul>
725
- <?php
726
- }
727
- if ( $settings['show_seconds'] == 'yes' ) {
728
- ?>
729
- <span class="flip-clock-divider seconds"><span class="flip-clock-label egt-time-text">Seconds</span><span
730
- class="flip-clock-dot top"></span><span
731
- class="flip-clock-dot bottom"></span></span>
732
- <ul data-id="eaeulSec1" id="eaeulSec" class="flip play seconds">
733
- <li data-digit="0" class=""><a href="#" class="">
734
- <div class="up">
735
- <div class="shadow"></div>
736
- <div class="inn egt-time">0</div>
737
- </div>
738
- <div class="down">
739
- <div class="shadow"></div>
740
- <div class="inn egt-time">0</div>
741
- </div>
742
- </a></li>
743
- <li data-digit="1" class=""><a href="#" class="">
744
- <div class="up">
745
- <div class="shadow"></div>
746
- <div class="inn egt-time">1</div>
747
- </div>
748
- <div class="down">
749
- <div class="shadow"></div>
750
- <div class="inn egt-time">1</div>
751
- </div>
752
- </a></li>
753
- <li data-digit="2" class=""><a href="#" class="">
754
- <div class="up">
755
- <div class="shadow"></div>
756
- <div class="inn egt-time">2</div>
757
- </div>
758
- <div class="down">
759
- <div class="shadow"></div>
760
- <div class="inn egt-time">2</div>
761
- </div>
762
- </a></li>
763
- <li data-digit="3"><a href="#" class="">
764
- <div class="up">
765
- <div class="shadow"></div>
766
- <div class="inn egt-time">3</div>
767
- </div>
768
- <div class="down">
769
- <div class="shadow"></div>
770
- <div class="inn egt-time">3</div>
771
- </div>
772
- </a></li>
773
- <li data-digit="4" class=""><a href="#" class="">
774
- <div class="up">
775
- <div class="shadow"></div>
776
- <div class="inn egt-time">4</div>
777
- </div>
778
- <div class="down">
779
- <div class="shadow"></div>
780
- <div class="inn egt-time">4</div>
781
- </div>
782
- </a></li>
783
- <li data-digit="5" class=""><a href="#" class="">
784
- <div class="up">
785
- <div class="shadow"></div>
786
- <div class="inn egt-time">5</div>
787
- </div>
788
- <div class="down">
789
- <div class="shadow"></div>
790
- <div class="inn egt-time">5</div>
791
- </div>
792
- </a></li>
793
- </ul>
794
- <ul data-id="eaeulSec1" id="eaeulSec1" class="flip play minutes">
795
- <li data-digit="0" class=""><a href="#" class="">
796
- <div class="up">
797
- <div class="shadow"></div>
798
- <div class="inn egt-time">0</div>
799
- </div>
800
- <div class="down">
801
- <div class="shadow"></div>
802
- <div class="inn egt-time">0</div>
803
- </div>
804
- </a></li>
805
- <li data-digit="1" class=""><a href="#" class="">
806
- <div class="up">
807
- <div class="shadow"></div>
808
- <div class="inn egt-time">1</div>
809
- </div>
810
- <div class="down">
811
- <div class="shadow"></div>
812
- <div class="inn egt-time">1</div>
813
- </div>
814
- </a></li>
815
- <li data-digit="2" class=""><a href="#" class="">
816
- <div class="up">
817
- <div class="shadow"></div>
818
- <div class="inn egt-time">2</div>
819
- </div>
820
- <div class="down">
821
- <div class="shadow"></div>
822
- <div class="inn egt-time">2</div>
823
- </div>
824
- </a></li>
825
- <li data-digit="3"><a href="#" class="">
826
- <div class="up">
827
- <div class="shadow"></div>
828
- <div class="inn egt-time">3</div>
829
- </div>
830
- <div class="down">
831
- <div class="shadow"></div>
832
- <div class="inn egt-time">3</div>
833
- </div>
834
- </a></li>
835
- <li data-digit="4" class=""><a href="#" class="">
836
- <div class="up">
837
- <div class="shadow"></div>
838
- <div class="inn egt-time">4</div>
839
- </div>
840
- <div class="down">
841
- <div class="shadow"></div>
842
- <div class="inn egt-time">4</div>
843
- </div>
844
- </a></li>
845
- <li data-digit="5" class=""><a href="#" class="">
846
- <div class="up">
847
- <div class="shadow"></div>
848
- <div class="inn egt-time">5</div>
849
- </div>
850
- <div class="down">
851
- <div class="shadow"></div>
852
- <div class="inn egt-time">5</div>
853
- </div>
854
- </a></li>
855
- <li data-digit="6" class=""><a href="#" class="">
856
- <div class="up">
857
- <div class="shadow"></div>
858
- <div class="inn egt-time">6</div>
859
- </div>
860
- <div class="down">
861
- <div class="shadow"></div>
862
- <div class="inn egt-time">6</div>
863
- </div>
864
- </a></li>
865
- <li data-digit="7" class=""><a href="#" class="">
866
- <div class="up">
867
- <div class="shadow"></div>
868
- <div class="inn egt-time">7</div>
869
- </div>
870
- <div class="down">
871
- <div class="shadow"></div>
872
- <div class="inn egt-time">7</div>
873
- </div>
874
- </a></li>
875
- <li data-digit="8" class=""><a href="#" class="">
876
- <div class="up">
877
- <div class="shadow"></div>
878
- <div class="inn egt-time">8</div>
879
- </div>
880
- <div class="down">
881
- <div class="shadow"></div>
882
- <div class="inn egt-time">8</div>
883
- </div>
884
- </a></li>
885
- <li data-digit="9" class=""><a href="#" class="">
886
- <div class="up">
887
- <div class="shadow"></div>
888
- <div class="inn egt-time">9</div>
889
- </div>
890
- <div class="down">
891
- <div class="shadow"></div>
892
- <div class="inn egt-time">9</div>
893
- </div>
894
- </a></li>
895
- </ul>
896
- <?php
897
- }
898
- ?>
899
- </div>
900
- </div>
901
- <?php } ?>
902
- <div class="eae-egt-message">
903
- <?php echo do_shortcode( $settings['expire_message'] ); ?>
904
- </div>
905
- </div>
906
- <?php
907
- }
908
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/evergreen-timer/skins/skin-3.php DELETED
@@ -1,276 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\EvergreenTimer\Skins;
4
-
5
- use Elementor\Controls_Manager;
6
- use Elementor\Plugin;
7
- use Elementor\Widget_Base;
8
- use Elementor\Group_Control_Background;
9
- use Elementor\Group_Control_Border;
10
-
11
- class Skin_3 extends Skin_Base {
12
-
13
- protected function _register_controls_actions() {
14
- parent::_register_controls_actions(); // TODO: Change the autogenerated stub
15
- add_action( 'elementor/element/eae-evergreen-timer/skin3_general_style/before_section_end', [
16
- $this,
17
- 'general_control_add'
18
- ] );
19
- add_action( 'elementor/element/eae-evergreen-timer/skin3_time_style/before_section_end', [
20
- $this,
21
- 'extra_controls_add'
22
- ] );
23
- add_action( 'elementor/element/eae-evergreen-timer/skin3_time_text_style/after_section_end', [
24
- $this,
25
- 'extra_controls_update'
26
- ] );
27
- }
28
-
29
- public function get_id() {
30
- return 'skin3';
31
- }
32
-
33
- public function get_title() {
34
- return __( 'Skin 3', 'wts-eae' );
35
- }
36
-
37
- function extra_controls_update() {
38
- $this->remove_control( 'wrapper_bg_color' );
39
- $this->remove_responsive_control( 'wrapper_padding' );
40
- $this->remove_control( 'time_num_bg_color' );
41
- $this->remove_control( 'time_text_bg_color' );
42
- //$this->remove_responsive_control( 'time_num_padding' );
43
- //$this->remove_responsive_control( 'time_text_padding' );
44
-
45
- $this->update_responsive_control(
46
- 'time_num_padding',
47
- [
48
- 'mobile_default' => [
49
- 'top' => '21',
50
- 'bottom' => '21',
51
- 'left' => '21',
52
- 'right' => '21',
53
- ],
54
- 'selectors' => [
55
- '{{WRAPPER}} .egt-time' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
56
- '{{WRAPPER}} .egt-time-text' => 'padding: 0 {{RIGHT}}{{UNIT}} 0 {{LEFT}}{{UNIT}} !important;',
57
- ],
58
- ]
59
- );
60
-
61
- $this->update_control( 'wrapper_align',
62
- [
63
- 'prefix_class' => 'eae-egt-content-align-',
64
- ]
65
- );
66
- $this->update_responsive_control( 'time_text_padding',
67
- [
68
- 'selectors' => [
69
- '{{WRAPPER}} .egt-time-text' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
70
- ]
71
- ]
72
- );
73
- }
74
-
75
- function general_control_add() {
76
- /*$this->add_responsive_control(
77
- 'item_height',
78
- [
79
- 'label' => __( 'Height', 'wts-eae' ),
80
- 'type' => Controls_Manager::SLIDER,
81
- 'range' => [
82
- 'px' => [
83
- 'min' => 0,
84
- 'max' => 150,
85
- ],
86
- ],
87
- 'default' => [
88
- 'size' => 90,
89
- ],
90
- 'mobile_default' => [
91
- 'size' => 30,
92
- ],
93
- 'selectors' => [
94
- '{{WRAPPER}}[data-element_type="eae-evergreen-timer.skin3"] #timer' => 'grid-template-rows: {{SIZE}}{{UNIT}} !important;',
95
- ],
96
- ]
97
- );
98
- $this->add_responsive_control(
99
- 'item_width',
100
- [
101
- 'label' => __( 'Width', 'wts-eae' ),
102
- 'type' => Controls_Manager::SLIDER,
103
- 'range' => [
104
- 'px' => [
105
- 'min' => 200,
106
- 'max' => 1000,
107
- ],
108
- ],
109
- 'default' => [
110
- 'size' => 768,
111
- ],
112
- 'selectors' => [
113
- '{{WRAPPER}}[data-element_type="eae-evergreen-timer.skin3"] .eae-evergreen-wrapper' => 'max-width: {{SIZE}}{{UNIT}} !important;',
114
- ],
115
- ]
116
- );*/
117
-
118
- $this->add_group_control(
119
- Group_Control_Border::get_type(),
120
- [
121
- 'name' => 'box_border',
122
- 'label' => __( 'Border', 'wts-eae' ),
123
- 'selector' =>
124
- '{{WRAPPER}} #timer span',
125
- ]
126
- );
127
- $this->add_control(
128
- 'border_radius',
129
- [
130
- 'label' => __( 'Border Radius', 'wts-eae' ),
131
- 'type' => Controls_Manager::DIMENSIONS,
132
- 'size_units' => [ 'px', '%' ],
133
- 'selectors' => [
134
- '{{WRAPPER}}[data-element_type="eae-evergreen-timer.skin3"] #timer span' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
135
- ],
136
- ]
137
- );
138
- }
139
-
140
- function extra_controls_add() {
141
- $this->add_control(
142
- 'time_num_bg_color1',
143
- [
144
- 'label' => __( 'Background Color Day', 'wts-eae' ),
145
- 'type' => Controls_Manager::COLOR,
146
- 'selectors' => [
147
- '{{WRAPPER}} #timer span:nth-child(1)' => 'background-color: {{VALUE}}'
148
- ]
149
- ]
150
- );
151
- $this->add_control(
152
- 'time_num_bg_color2',
153
- [
154
- 'label' => __( 'Background Color Hour', 'wts-eae' ),
155
- 'type' => Controls_Manager::COLOR,
156
- 'selectors' => [
157
- '{{WRAPPER}} #timer span:nth-child(2)' => 'background-color: {{VALUE}}'
158
- ]
159
- ]
160
- );
161
- $this->add_control(
162
- 'time_num_bg_color3',
163
- [
164
- 'label' => __( 'Background Color Minutes', 'wts-eae' ),
165
- 'type' => Controls_Manager::COLOR,
166
- 'selectors' => [
167
- '{{WRAPPER}} #timer span:nth-child(3)' => 'background-color: {{VALUE}}'
168
- ]
169
- ]
170
- );
171
- $this->add_control(
172
- 'time_num_bg_color4',
173
- [
174
- 'label' => __( 'Background Color Seconds', 'wts-eae' ),
175
- 'type' => Controls_Manager::COLOR,
176
- 'selectors' => [
177
- '{{WRAPPER}} #timer span:nth-child(4)' => 'background-color: {{VALUE}}'
178
- ]
179
- ]
180
- );
181
- }
182
-
183
- function render() {
184
- $data = $this->parent->get_data();
185
- $settings = $this->parent->get_settings_for_display();
186
- //print_r($data);
187
- $actions = $this->eae_get_egt_actions($settings);
188
-
189
- if($settings['action_after_expire'] !== ''){
190
- $this->parent->add_render_attribute( 'wrapper', 'data-actions', json_encode($settings['action_after_expire']) );
191
- if($settings['redirect_url_expire'] !== ''){
192
- $this->parent->add_render_attribute( 'wrapper', 'data-redirected-url', $settings['redirect_url_expire'] );
193
- }
194
- }
195
- else{
196
- $this->parent->add_render_attribute( 'wrapper', 'data-actions', '[""]' );
197
- }
198
-
199
- $cookie_temp_name = "eae-temp-". $data['id'];
200
- $cookie_name = "eae-temp-". $data['id'];
201
- $show_data = 'show';
202
- if(isset($_COOKIE[$cookie_temp_name])) {
203
- //echo 'cookie set';
204
- //echo 'cookie value'. $_COOKIE[$cookie_temp_name];
205
- }
206
- else {
207
- $this->parent->add_render_attribute( 'wrapper', 'class', 'eae-evergreen-expire' );
208
-
209
- if ( ! Plugin::instance()->editor->is_edit_mode() ) {
210
- if($settings['action_after_expire'] !== ''){
211
- foreach ( $actions as $index => $item ) :
212
- if ( $item['type'] == 'redirect' || $item['type'] == 'hide_parent' || $item['type'] == 'hide' ) {
213
- $show_data = 'hide';
214
- }
215
- endforeach;
216
- }
217
- }
218
- }
219
-
220
- $unqId = 'eae-egt-'.rand();
221
- $this->parent->add_render_attribute( 'wrapper', 'class', 'eae-evergreen-wrapper' );
222
- $this->parent->add_render_attribute( 'wrapper', 'class', $unqId );
223
- $this->parent->add_render_attribute( 'wrapper', 'data-unqid', $unqId );
224
- $this->parent->add_render_attribute( 'wrapper', 'data-id', $data['id'] );
225
- $this->parent->add_render_attribute( 'wrapper', 'data-element-type', $settings['countdown_type'] );
226
- $this->parent->add_render_attribute( 'wrapper', 'data-egtime', $this->get_egt_interval( $settings ) );
227
- $this->parent->add_render_attribute( 'wrapper', 'data-egt-expire', $settings['egt_expiry'] );
228
-
229
- if ( $settings['show_days'] == 'yes' ) {
230
- $this->parent->add_render_attribute( 'wrapper', 'data-days', 'yes' );
231
- }
232
- if ( $settings['show_hours'] == 'yes' ) {
233
- $this->parent->add_render_attribute( 'wrapper', 'data-hours', 'yes' );
234
- }
235
- if ( $settings['show_minutes'] == 'yes' ) {
236
- $this->parent->add_render_attribute( 'wrapper', 'data-mins', 'yes' );
237
- }
238
- if ( $settings['show_seconds'] == 'yes' ) {
239
- $this->parent->add_render_attribute( 'wrapper', 'data-seconds', 'yes' );
240
- }
241
- ?>
242
-
243
- <div <?php echo $this->parent->get_render_attribute_string( 'wrapper' ); ?>>
244
- <?php if($show_data === 'show') { ?>
245
- <h2 class="egt-title"><?php echo $settings['countdown_title'] ?></h2>
246
-
247
- <div id="timer"></div>
248
-
249
- <div class="desc">
250
- <?php
251
- if ( $settings['show_days'] == 'yes' ) {
252
- ?>
253
- <span class="egt-time-text">Days</span>
254
- <?php }
255
- if ( $settings['show_hours'] == 'yes' ) {
256
- ?>
257
- <span class="egt-time-text">Hours</span>
258
- <?php }
259
- if ( $settings['show_minutes'] == 'yes' ) {
260
- ?>
261
- <span class="egt-time-text">Minutes</span>
262
- <?php }
263
- if ( $settings['show_seconds'] == 'yes' ) {
264
- ?>
265
- <span class="egt-time-text">Seconds</span>
266
- <?php }
267
- ?>
268
- </div>
269
- <?php } ?>
270
- <div class="eae-egt-message">
271
- <?php echo do_shortcode( $settings['expire_message'] ); ?>
272
- </div>
273
- </div>
274
- <?php
275
- }
276
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/evergreen-timer/skins/skin-4.php DELETED
@@ -1,112 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\EvergreenTimer\Skins;
4
-
5
- use Elementor\Controls_Manager;
6
- use Elementor\Widget_Base;
7
- use Elementor\Group_Control_Background;
8
- use Elementor\Group_Control_Border;
9
-
10
- class Skin_4 extends Skin_Base {
11
-
12
- protected function _register_controls_actions() {
13
- parent::_register_controls_actions(); // TODO: Change the autogenerated stub
14
- add_action( 'elementor/element/eae-evergreen-timer/skin4_time_text_style/after_section_end', [
15
- $this,'extra_controls_update'
16
- ] );
17
- }
18
-
19
- public function get_id() {
20
- return 'skin4';
21
- }
22
-
23
- public function get_title() {
24
- return __( 'Skin 4', 'wts-eae' );
25
- }
26
-
27
- function extra_controls_update(){
28
- $this->remove_control('wrapper_bg_color');
29
- $this->remove_control('wrapper_padding');
30
- $this->remove_control('time_num_color');
31
- $this->remove_control('time_text_color');
32
- $this->remove_control('time_text_bg_color');
33
-
34
- $this->remove_control('time_text_typography');
35
-
36
- $this->remove_responsive_control('time_num_padding');
37
- $this->remove_responsive_control('time_text_padding');
38
-
39
- $this->update_control(
40
- 'time_num_bg_color',
41
- [
42
- 'selectors' => [
43
- '{{WRAPPER}} .digit' => 'background-color: {{VALUE}}'
44
- ]
45
- ]
46
- );
47
-
48
- $this->start_controls_section(
49
- 'time_sep_style',
50
- [
51
- 'label' => __( 'Time Separator', 'wts-eae' ),
52
- 'tab' => Controls_Manager::TAB_STYLE,
53
- ]
54
- );
55
-
56
-
57
- $this->add_control(
58
- 'time_sep_color',
59
- [
60
- 'label' => __( 'Background Color', 'wts-eae' ),
61
- 'type' => Controls_Manager::COLOR,
62
- 'selectors' => [
63
- '{{WRAPPER}} .digit-separator' => 'background-color: {{VALUE}}'
64
- ]
65
- ]
66
- );
67
-
68
- $this->end_controls_section();
69
- }
70
- function render(){
71
- $data = $this->parent->get_data();
72
- $settings = $this->parent->get_settings_for_display();
73
- //print_r($data);
74
- $actions = $this->eae_get_egt_actions($settings);
75
-
76
- if ( $actions ) {
77
- $this->parent->add_render_attribute( 'wrapper', 'data-actions', json_encode($actions) );
78
- }
79
- $this->parent->add_render_attribute( 'wrapper', 'data-id', $data['id'] );
80
- $this->parent->add_render_attribute( 'wrapper', 'data-element-type', $settings['countdown_type'] );
81
- $this->parent->add_render_attribute( 'wrapper', 'data-egtime', $this->get_egt_interval($settings) );
82
- $this->parent->add_render_attribute( 'wrapper', 'data-egt-expire', $settings['egt_expiry'] );
83
-
84
- if ( $settings['show_days'] == 'yes' ) {
85
- $this->parent->add_render_attribute( 'wrapper', 'data-days', 'yes' );
86
- }
87
- if ( $settings['show_hours'] == 'yes' ) {
88
- $this->parent->add_render_attribute( 'wrapper', 'data-hours', 'yes' );
89
- }
90
- if ( $settings['show_minutes'] == 'yes' ) {
91
- $this->parent->add_render_attribute( 'wrapper', 'data-mins', 'yes' );
92
- }
93
- if ( $settings['show_seconds'] == 'yes' ) {
94
- $this->parent->add_render_attribute( 'wrapper', 'data-seconds', 'yes' );
95
- }
96
- ?>
97
-
98
- <div class="eae-evergreen-wrapper" <?php echo $this->parent->get_render_attribute_string( 'wrapper' ); ?>>
99
- <h2 class="egt-title"><?php echo $settings['countdown_title'] ?></h2>
100
- <div class="container">
101
- <div class="special">
102
- <div id="counter">
103
- </div>
104
- </div>
105
- </div>
106
- <div class="eae-egt-message">
107
- <?php echo do_shortcode( $settings['expire_message'] ); ?>
108
- </div>
109
- </div>
110
- <?php
111
- }
112
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/evergreen-timer/skins/skin-base.php DELETED
@@ -1,274 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\EvergreenTimer\Skins;
4
-
5
- use WTS_EAE\Plugin;
6
- use Elementor\Controls_Manager;
7
- use Elementor\Skin_Base as Elementor_Skin_Base;
8
- use Elementor\Widget_Base;
9
- use Elementor\Repeater;
10
- use Elementor\Group_Control_Background;
11
- use WTS_EAE\Controls\Group\Group_Control_Icon;
12
- use Elementor\Utils;
13
- use WTS_EAE\Classes\Helper;
14
- use Elementor\Group_Control_Image_Size;
15
- use Elementor\Group_Control_Border;
16
- use Elementor\Group_Control_Text_Shadow;
17
- use Elementor\Group_Control_Box_Shadow;
18
- use Elementor\Scheme_Typography;
19
- use Elementor\Scheme_Color;
20
- use Elementor\Group_Control_Typography;
21
-
22
- abstract class Skin_Base extends Elementor_Skin_Base {
23
-
24
- protected function _register_controls_actions() {
25
- add_action( 'elementor/element/eae-evergreen-timer/egt_skins/before_section_end', [
26
- $this,
27
- 'register_controls'
28
- ] );
29
- add_action( 'elementor/element/eae-evergreen-timer/egt_skins/after_section_end', [
30
- $this,
31
- 'register_items_control'
32
- ] );
33
- add_action( 'elementor/element/eae-evergreen-timer/egt_skins/after_section_end', [
34
- $this,
35
- 'register_style_controls'
36
- ] );
37
- }
38
-
39
- public function register_items_control( Widget_Base $widget ) {
40
-
41
- $this->start_controls_section(
42
- 'general_style',
43
- [
44
- 'label' => __( 'General', 'wts-eae' ),
45
- 'tab' => Controls_Manager::TAB_STYLE,
46
- ]
47
- );
48
- $this->add_control(
49
- 'wrapper_bg_color',
50
- [
51
- 'label' => __( 'Background Color', 'wts-eae' ),
52
- 'type' => Controls_Manager::COLOR,
53
- 'selectors' => [
54
- '{{WRAPPER}} .eae-time-wrapper' => 'background-color: {{VALUE}}'
55
- ]
56
- ]
57
- );
58
- $this->add_control(
59
- 'wrapper_align',
60
- [
61
- 'label' => __( 'Alignment', 'wts-eae' ),
62
- 'type' => Controls_Manager::CHOOSE,
63
- 'default' => 'center',
64
- 'options' => [
65
- 'left' => [
66
- 'title' => __( 'Left', 'wts-eae' ),
67
- 'icon' => 'fa fa-align-left',
68
- ],
69
- 'center' => [
70
- 'title' => __( 'Center', 'wts-eae' ),
71
- 'icon' => 'fa fa-align-center',
72
- ],
73
- 'right' => [
74
- 'title' => __( 'Right', 'wts-eae' ),
75
- 'icon' => 'fa fa-align-right',
76
- ],
77
- ],
78
- 'selectors' => [
79
- '{{WRAPPER}} .eae-evergreen-wrapper' => 'text-align: {{VALUE}}',
80
- ],
81
- ]
82
- );
83
-
84
- $this->add_responsive_control(
85
- 'wrapper_padding',
86
- [
87
- 'label' => __( 'Padding', 'wts-eae' ),
88
- 'type' => Controls_Manager::DIMENSIONS,
89
- 'size_units' => [ 'px', 'em', '%' ],
90
- 'selectors' => [
91
- '{{WRAPPER}} .eae-time-wrapper' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
92
- ],
93
- ]
94
- );
95
-
96
- $this->end_controls_section();
97
-
98
- $this->start_controls_section(
99
- 'title_style',
100
- [
101
- 'label' => __( 'Title', 'wts-eae' ),
102
- 'tab' => Controls_Manager::TAB_STYLE,
103
- ]
104
- );
105
-
106
- $this->add_control(
107
- 'title_color',
108
- [
109
- 'label' => __( 'Color', 'wts-eae' ),
110
- 'type' => Controls_Manager::COLOR,
111
- 'selectors' => [
112
- '{{WRAPPER}} .egt-title' => 'color: {{VALUE}}'
113
- ]
114
- ]
115
- );
116
-
117
- $this->add_group_control(
118
- Group_Control_Typography::get_type(),
119
- [
120
- 'name' => 'title_typography',
121
- 'label' => __( 'Typography', 'wts-eae' ),
122
- 'selector' => '{{WRAPPER}} .egt-title',
123
- ]
124
- );
125
-
126
- $this->end_controls_section();
127
-
128
- $this->start_controls_section(
129
- 'time_style',
130
- [
131
- 'label' => __( 'Time Digit', 'wts-eae' ),
132
- 'tab' => Controls_Manager::TAB_STYLE,
133
- ]
134
- );
135
-
136
- $this->add_group_control(
137
- Group_Control_Typography::get_type(),
138
- [
139
- 'name' => 'time_num_typography',
140
- 'label' => __( 'Typography', 'wts-eae' ),
141
- 'selector' => '{{WRAPPER}} .egt-time',
142
- ]
143
- );
144
-
145
- $this->add_control(
146
- 'time_num_color',
147
- [
148
- 'label' => __( 'Color', 'wts-eae' ),
149
- 'type' => Controls_Manager::COLOR,
150
- 'selectors' => [
151
- '{{WRAPPER}} .egt-time' => 'color: {{VALUE}} !important;'
152
- ]
153
- ]
154
- );
155
- $this->add_control(
156
- 'time_num_bg_color',
157
- [
158
- 'label' => __( 'Background Color', 'wts-eae' ),
159
- 'type' => Controls_Manager::COLOR,
160
- 'selectors' => [
161
- '{{WRAPPER}} .egt-time' => 'background-color: {{VALUE}} !important;'
162
- ]
163
- ]
164
- );
165
-
166
- $this->add_responsive_control(
167
- 'time_num_padding',
168
- [
169
- 'label' => __( 'Padding', 'wts-eae' ),
170
- 'type' => Controls_Manager::DIMENSIONS,
171
- 'size_units' => [ 'px', 'em', '%' ],
172
- 'selectors' => [
173
- '{{WRAPPER}} .egt-time' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;',
174
- ],
175
- ]
176
- );
177
- $this->end_controls_section();
178
-
179
- $this->start_controls_section(
180
- 'time_text_style',
181
- [
182
- 'label' => __( 'Time Label', 'wts-eae' ),
183
- 'tab' => Controls_Manager::TAB_STYLE,
184
- ]
185
- );
186
- $this->add_group_control(
187
- Group_Control_Typography::get_type(),
188
- [
189
- 'name' => 'time_text_typography',
190
- 'label' => __( 'Typography', 'wts-eae' ),
191
- 'selector' => '{{WRAPPER}} .egt-time-text',
192
- ]
193
- );
194
- $this->add_control(
195
- 'time_text_color',
196
- [
197
- 'label' => __( 'Color', 'wts-eae' ),
198
- 'type' => Controls_Manager::COLOR,
199
- 'selectors' => [
200
- '{{WRAPPER}} .egt-time-text' => 'color: {{VALUE}}'
201
- ]
202
- ]
203
- );
204
- $this->add_control(
205
- 'time_text_bg_color',
206
- [
207
- 'label' => __( 'Background Color', 'wts-eae' ),
208
- 'type' => Controls_Manager::COLOR,
209
- 'selectors' => [
210
- '{{WRAPPER}} .egt-time-text' => 'background-color: {{VALUE}}'
211
- ]
212
- ]
213
- );
214
-
215
- $this->add_responsive_control(
216
- 'time_text_padding',
217
- [
218
- 'label' => __( 'Padding', 'wts-eae' ),
219
- 'type' => Controls_Manager::DIMENSIONS,
220
- 'size_units' => [ 'px', 'em', '%' ],
221
- 'selectors' => [
222
- '{{WRAPPER}} .egt-time-text' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
223
- ],
224
- ]
225
- );
226
- $this->end_controls_section();
227
- }
228
-
229
- public function register_style_controls() {
230
- //$this->bpel_eg_style_section();
231
- }
232
-
233
- public function register_controls( Widget_Base $widget ) {
234
- $this->parent = $widget;
235
- }
236
-
237
- public function get_egt_interval($settings){
238
- if($settings['countdown_type'] !== 'countdown'){
239
- $minutes = empty( $settings['egt_minutes'] ) ? 0 : ( $settings['egt_minutes'] * 60 );
240
- $hours = empty( $settings['egt_hours'] ) ? 0 : ( $settings['egt_hours'] * 60 * 60 );
241
-
242
- $egt_interval = $hours + $minutes ;
243
- }
244
- else
245
- {
246
- $egt_interval = $settings['timer_date'];
247
- }
248
-
249
-
250
- return $egt_interval;
251
- }
252
-
253
- public function eae_get_egt_actions($settings) {
254
- $actions = $settings['action_after_expire'];
255
-
256
- if ( empty( $actions ) || ! is_array( $actions) ) {
257
- return false;
258
- }
259
-
260
- $exp_actions = [];
261
-
262
- foreach ( $actions as $exp_action ) {
263
- $action_to_run = [ 'type' => $exp_action ];
264
- if ( 'redirect' === $exp_action ) {
265
- if ( empty( $settings['redirect_url_expire']['url'] ) ) {
266
- continue;
267
- }
268
- $action_to_run['redirect_url'] = $settings['redirect_url_expire']['url'];
269
- }
270
- $exp_actions[] = $action_to_run;
271
- }
272
- return $exp_actions;
273
- }
274
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/evergreen-timer/style.scss DELETED
File without changes
modules/evergreen-timer/widgets/evergreen-timer.php DELETED
@@ -1,210 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\EvergreenTimer\Widgets;
4
-
5
- use WTS_EAE\Modules\EvergreenTimer\Skins;
6
- use Elementor\Controls_Manager;
7
- use Elementor\Utils;
8
- use WTS_EAE\Base\EAE_Widget_Base;
9
-
10
- class Evergreen_Timer extends EAE_Widget_Base {
11
-
12
- public function get_name() {
13
- return 'eae-evergreen-timer';
14
- }
15
-
16
- public function get_title() {
17
- return __( 'EAE - Evergreen Timer', 'wts-eae' );
18
- }
19
-
20
- public function get_icon() {
21
- return 'eae-icons eae-timer';
22
- }
23
-
24
- protected function _register_controls() {
25
-
26
- $this->start_controls_section(
27
- 'egt_skins',
28
- [
29
- 'label' => __( 'Skins', 'wts-eae' ),
30
- ]
31
- );
32
-
33
- $this->register_common_controls();
34
-
35
- $this->end_controls_section();
36
- }
37
-
38
- protected function _register_skins() {
39
- $this->add_skin( new Skins\Skin_1( $this ) );
40
- $this->add_skin( new Skins\Skin_2( $this ) );
41
- $this->add_skin( new Skins\Skin_3( $this ) );
42
- //$this->add_skin( new Skins\Skin_4( $this ) );
43
- }
44
- protected $_has_template_content = false;
45
- public function register_common_controls(){
46
- $this->add_control(
47
- 'countdown_type',
48
- [
49
- 'label' => __( 'Type', 'wts-eae' ),
50
- 'type' => Controls_Manager::SELECT,
51
- 'options' => [
52
- 'countdown' => __( 'Countdown', 'wts-eae' ),
53
- 'evergreen_timer' => __( 'Evergreen Timer', 'wts-eae' ),
54
- ],
55
- 'label_block' => true,
56
- 'default' => 'evergreen_timer',
57
- ]
58
- );
59
-
60
- $this->add_control(
61
- 'egt_expiry',
62
- [
63
- 'label' => __( 'Cookie Expire (in hours)', 'wts-eae' ),
64
- 'type' => Controls_Manager::TEXT,
65
- 'label_block' => true,
66
- 'default' => '24',
67
- 'condition' => [
68
- 'countdown_type' => 'evergreen_timer'
69
- ]
70
- ]
71
- );
72
-
73
- $this->add_control(
74
- 'timer_date',
75
- [
76
- 'label' => __( 'Due Date', 'wts-eae' ),
77
- 'type' => Controls_Manager::DATE_TIME,
78
- //'default' => date( 'Y-m-d H:i', strtotime( '+1 month' ) + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ),
79
- 'default' => date( 'Y-m-d H:i', strtotime( '+1 month' ) + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ),
80
- /* translators: %s: Time zone. */
81
- 'description' => sprintf( __( 'Date set according to your timezone: %s.', 'wts-eae' ), Utils::get_timezone_string() ),
82
- 'condition' => [
83
- 'countdown_type' => 'countdown'
84
- ]
85
- ]
86
- );
87
-
88
- $this->add_control(
89
- 'countdown_title',
90
- [
91
- 'label' => __( 'Title', 'wts-eae' ),
92
- 'type' => Controls_Manager::TEXT,
93
- 'default' => 'Evergreen Title',
94
- ]
95
- );
96
- $this->add_control(
97
- 'egt_hours',
98
- [
99
- 'label' => __( 'Hours', 'wts-eae' ),
100
- 'type' => Controls_Manager::NUMBER,
101
- 'label_block' => false,
102
- 'default' => '25',
103
- 'condition' => [
104
- 'countdown_type' => 'evergreen_timer'
105
- ]
106
- ]
107
- );
108
- $this->add_control(
109
- 'egt_minutes',
110
- [
111
- 'label' => __( 'Minutes', 'wts-eae' ),
112
- 'type' => Controls_Manager::NUMBER,
113
- 'label_block' => false,
114
- 'default' => '59',
115
- 'condition' => [
116
- 'countdown_type' => 'evergreen_timer'
117
- ]
118
- ]
119
- );
120
- $this->add_control(
121
- 'show_days',
122
- [
123
- 'label' => __( 'Days', 'wts-eae' ),
124
- 'type' => Controls_Manager::SWITCHER,
125
- 'label_on' => __( 'Show', 'wts-eae' ),
126
- 'label_off' => __( 'Hide', 'wts-eae' ),
127
- 'default' => 'yes',
128
- ]
129
- );
130
- $this->add_control(
131
- 'show_hours',
132
- [
133
- 'label' => __( 'Hours', 'wts-eae' ),
134
- 'type' => Controls_Manager::SWITCHER,
135
- 'label_on' => __( 'Show', 'wts-eae' ),
136
- 'label_off' => __( 'Hide', 'wts-eae' ),
137
- 'default' => 'yes',
138
- ]
139
- );
140
- $this->add_control(
141
- 'show_minutes',
142
- [
143
- 'label' => __( 'Minutes', 'wts-eae' ),
144
- 'type' => Controls_Manager::SWITCHER,
145
- 'label_on' => __( 'Show', 'wts-eae' ),
146
- 'label_off' => __( 'Hide', 'wts-eae' ),
147
- 'default' => 'yes',
148
- ]
149
- );
150
- $this->add_control(
151
- 'show_seconds',
152
- [
153
- 'label' => __( 'Seconds', 'wts-eae' ),
154
- 'type' => Controls_Manager::SWITCHER,
155
- 'label_on' => __( 'Show', 'wts-eae' ),
156
- 'label_off' => __( 'Hide', 'wts-eae' ),
157
- 'default' => 'yes',
158
- ]
159
- );
160
- $this->add_control(
161
- 'action_after_expire',
162
- [
163
- 'label' => __( 'Action', 'wts-eae' ),
164
- 'type' => Controls_Manager::SELECT2,
165
- 'options' => [
166
- 'redirect' => __( 'Redirect', 'wts-eae' ),
167
- 'hide_parent' => __( 'Hide Parent Section', 'wts-eae' ),
168
- 'hide' => __( 'Hide', 'wts-eae' ),
169
- 'message' => __( 'Show Message', 'wts-eae' ),
170
- ],
171
- 'label_block' => true,
172
- 'separator' => 'before',
173
- 'multiple' => true,
174
- ]
175
- );
176
-
177
- $this->add_control(
178
- 'expire_message',
179
- [
180
- 'label' => __( 'Message', 'wts-eae' ),
181
- 'type' => Controls_Manager::TEXTAREA,
182
- 'label_block' => true,
183
- 'separator' => 'before',
184
- 'dynamic' => [
185
- 'active' => true,
186
- ],
187
- 'condition' => [
188
- 'action_after_expire' => 'message'
189
- ]
190
- ]
191
- );
192
-
193
- $this->add_control(
194
- 'redirect_url_expire',
195
- [
196
- 'label' => __( 'Redirect URL', 'wts-eae' ),
197
- 'type' => Controls_Manager::URL,
198
- 'label_block' => true,
199
- 'separator' => 'before',
200
- 'show_external' => false,
201
- 'dynamic' => [
202
- 'active' => true,
203
- ],
204
- 'condition' => [
205
- 'action_after_expire' => 'redirect'
206
- ]
207
- ]
208
- );
209
- }
210
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/filterable-gallery/widgets/filterable-gallery.php CHANGED
@@ -3,21 +3,17 @@
3
  namespace WTS_EAE\Modules\FilterableGallery\Widgets;
4
 
5
  use Elementor\Controls_Manager;
6
- use Elementor\Core\Kits\Documents\Tabs\Colors_And_Typography;
7
- use Elementor\Core\Kits\Documents\Tabs\Global_Colors;
8
- use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
9
  use Elementor\Group_Control_Background;
10
  use Elementor\Group_Control_Border;
11
  use WTS_EAE\Base\EAE_Widget_Base;
12
- use Elementor\Scheme_Color;
13
  use Elementor\Group_Control_Typography;
14
  use Elementor\Group_Control_Image_Size;
15
- use Elementor\Scheme_Typography;
16
  use Elementor\Group_Control_Box_Shadow;
17
  use Elementor\Group_Control_Css_Filter;
18
  use Elementor\Repeater;
19
  use Elementor\Icons_Manager;
20
- use Elementor\Core\Schemes;
 
21
  use Elementor\Utils;
22
  use Elementor\Plugin;
23
 
@@ -26,1489 +22,1494 @@ if (!defined('ABSPATH')) exit; // Exit if accessed directly
26
  class FilterableGallery extends EAE_Widget_Base
27
  {
28
 
29
- public function get_name()
30
- {
31
- return 'eae-filterableGallery';
32
- }
33
-
34
- public function get_title()
35
- {
36
- return __('EAE - Filterable Gallery', 'wts-eae');
37
- }
38
-
39
- public function get_icon()
40
- {
41
- return 'eicon-flip-box wts-eae-pe';
42
- }
43
-
44
- public function get_categories()
45
- {
46
- return ['wts-eae'];
47
- }
48
-
49
- protected function _register_controls()
50
- {
51
- $this->start_controls_section(
52
- 'general',
53
- [
54
- 'label' => __('General', 'wts-eae'),
55
- ]
56
- );
57
- $repeater = new Repeater();
58
-
59
- $repeater->add_control(
60
- 'eae_filter_label',
61
- [
62
- 'label' => __('Filter Label', 'wts-eae'),
63
- 'type' => Controls_Manager::TEXT,
64
- 'dynamic' => [
65
- 'active' => true,
66
- ],
67
- 'default' => 'Filter'
68
- ]
69
- );
70
-
71
- $repeater->add_control(
72
- 'eae_img_gallery',
73
- [
74
- 'label' => __('Add Images', 'wts-eae'),
75
- 'type' => Controls_Manager::GALLERY,
76
- 'dynamic' => [
77
- 'active' => true,
78
- ],
79
- 'show_label' => false,
80
- ]
81
- );
82
-
83
- $this->add_control(
84
- 'eae_filterable_gallery_content',
85
- [
86
- 'label' => __('Items', 'wts-eae'),
87
- 'type' => Controls_Manager::REPEATER,
88
- //----------------------OLD-------------------
89
- // 'fields' => array_values($repeater->get_controls()),
90
- //--------------NEW----------------------
91
- 'fields' => $repeater->get_controls(),
92
- 'title_field' => '{{{eae_filter_label}}}',
93
- 'show_label' => true,
94
- 'default' => [
95
- [
96
- 'eae_filter_label' => 'Filter1',
97
- ],
98
- [
99
- 'eae_filter_label' => 'Filter2'
100
- ],
101
- [
102
- 'eae_filter_label' => 'Filter3'
103
- ],
104
- ],
105
- ]
106
- );
107
-
108
- $this->end_controls_section();
109
-
110
- $this->start_controls_section(
111
- 'setting',
112
- [
113
- 'label' => __('Setting', 'wts-eae'),
114
- ]
115
- );
116
-
117
- $this->add_group_control(
118
- Group_Control_Image_Size::get_type(),
119
- [
120
- 'name' => 'thumbnail', // Usage: `{name}_size` and `{name}_custom_dimension`, in this case `thumbnail_size` and `thumbnail_custom_dimension`.
121
- 'exclude' => ['custom'],
122
- 'separator' => 'none',
123
- ]
124
- );
125
-
126
- $this->add_responsive_control(
127
- 'columns',
128
- [
129
- 'label' => __('Columns', 'wts-eae'),
130
- 'type' => Controls_Manager::NUMBER,
131
- 'desktop_default' => '3',
132
- 'tablet_default' => '2',
133
- 'mobile_default' => '1',
134
- 'min' => 1,
135
- 'max' => 6,
136
- 'selectors' => [
137
- '{{WRAPPER}} .eae-gallery-item' => 'width: calc(100%/{{VALUE}})',
138
- ]
139
- ]
140
- );
141
-
142
- $this->add_control(
143
- 'enable_image_ratio',
144
- [
145
- 'label' => __('Enable Image Ratio', 'wts-eae'),
146
- 'type' => Controls_Manager::SWITCHER,
147
- 'label_on' => __('Yes', 'wts-eae'),
148
- 'label_off' => __('No', 'wts-eae'),
149
- 'return_value' => 'yes',
150
- 'default' => 'no',
151
- ]
152
- );
153
-
154
- $this->add_responsive_control(
155
- 'image_ratio',
156
- [
157
- 'label' => __('Image Ratio', 'ae-pro'),
158
- 'type' => Controls_Manager::SLIDER,
159
- 'default' => [
160
- 'size' => 0.66,
161
- ],
162
- 'tablet_default' => [
163
- 'size' => '',
164
- ],
165
- 'mobile_default' => [
166
- 'size' => 0.5,
167
- ],
168
- 'range' => [
169
- 'px' => [
170
- 'min' => 0.1,
171
- 'max' => 2,
172
- 'step' => 0.01,
173
- ],
174
- ],
175
- 'selectors' => [
176
- '{{WRAPPER}} .eae-fg-wrapper.eae-image-ratio-yes .eae-gallery-item-inner .eae-fg-img-wrapper' => 'padding-bottom: calc( {{SIZE}} * 100% );',
177
- ],
178
- 'condition' => [
179
- 'enable_image_ratio' => 'yes',
180
- ]
181
- ]
182
- );
183
-
184
- $this->add_responsive_control(
185
- 'gutter',
186
- [
187
- 'label' => __('Gutter', 'wts-eae'),
188
- 'type' => Controls_Manager::SLIDER,
189
- 'range' => [
190
- 'px' => [
191
- 'min' => 0,
192
- 'max' => 40,
193
- 'step' => 2,
194
- ]
195
- ],
196
- 'default' => [
197
- 'unit' => 'px',
198
- 'size' => 10,
199
- ],
200
- 'selectors' => [
201
- '{{WRAPPER}} .eae-gallery-item' => 'padding-left:calc({{SIZE}}{{UNIT}}/2); padding-right:calc({{SIZE}}{{UNIT}}/2); margin-bottom:{{SIZE}}{{UNIT}}',
202
- '{{WRAPPER}} .eae-gallery-filter' => 'margin-left:calc({{SIZE}}{{UNIT}}/2); margin-right:calc({{SIZE}}{{UNIT}}/2); margin-bottom:{{SIZE}}{{UNIT}}',
203
- ]
204
- ]
205
- );
206
-
207
-
208
- $this->add_control(
209
- 'show_all',
210
- [
211
- 'label' => __('Show "All" Filter Tab', 'wts-eae'),
212
- 'type' => Controls_Manager::SWITCHER,
213
- 'label_on' => __('Show', 'wts-eae'),
214
- 'label_off' => __('Hide', 'wts-eae'),
215
- 'return_value' => 'yes',
216
- 'default' => 'yes',
217
- ]
218
- );
219
- $this->add_control(
220
- 'masonry',
221
- [
222
- 'label' => __('Masonry', 'wts-eae'),
223
- 'type' => Controls_Manager::SWITCHER,
224
- 'label_on' => __('Yes', 'wts-eae'),
225
- 'label_off' => __('No', 'wts-eae'),
226
- 'return_value' => 'yes',
227
- 'default' => 'yes',
228
- 'render_type' => 'template',
229
- ]
230
- );
231
- $this->add_control(
232
- 'hover_tilt',
233
- [
234
- 'label' => __('Hover Tilt', 'wts-eae'),
235
- 'type' => Controls_Manager::SWITCHER,
236
- 'label_on' => __('Yes', 'wts-eae'),
237
- 'label_off' => __('No', 'wts-eae'),
238
- 'return_value' => 'yes',
239
- 'default' => 'no',
240
- ]
241
- );
242
- $this->add_control(
243
- 'open_lightbox',
244
- [
245
- 'label' => __('Lightbox', 'wts-eae'),
246
- 'type' => Controls_Manager::SWITCHER,
247
- 'options' =>
248
- [
249
- 'default' => __('Default', 'wts-eae'),
250
- 'yes' => __('Yes', 'wts-eae'),
251
- 'no' => __('No', 'wts-eae'),
252
- ],
253
- 'default' => 'no',
254
- 'return_value' => 'yes',
255
- ]
256
- );
257
- $this->add_control(
258
- 'hover_scale',
259
- [
260
- 'label' => __('Hover Scale', 'wts-eae'),
261
- 'type' => Controls_Manager::SWITCHER,
262
- 'options' =>
263
- [
264
- 'default' => __('Default', 'wts-eae'),
265
- 'yes' => __('Yes', 'wts-eae'),
266
- 'no' => __('No', 'wts-eae'),
267
- ],
268
- 'default' => 'yes',
269
- 'return_value' => 'yes',
270
- ]
271
- );
272
-
273
- $this->add_control(
274
- 'scale_value',
275
- [
276
- 'label' => __('Scale Value', 'wts-eae'),
277
- 'type' => Controls_Manager::NUMBER,
278
- 'min' => 0,
279
- 'max' => 2,
280
- 'step' => .1,
281
- 'default' => 1.1,
282
- 'selectors' => [
283
- '{{WRAPPER}} .eae-gallery-item-inner:hover img' => 'transform: scale({{VALUE}})',
284
- ],
285
- 'condition' => [
286
- 'hover_scale' => 'yes',
287
- ]
288
-
289
- ]
290
- );
291
-
292
-
293
- $this->end_controls_section();
294
-
295
- $this->start_controls_section(
296
- 'tilt_setting',
297
- [
298
- 'label' => __('Tilt Setting', 'wts-eae'),
299
- 'condition' => [
300
- 'hover_tilt' => 'yes',
301
- ]
302
- ]
303
- );
304
- $this->add_control(
305
- 'max_tilt',
306
- [
307
- 'label' => __('Max Tilt', 'wts-eae'),
308
- 'type' => Controls_Manager::NUMBER,
309
- 'min' => 5,
310
- 'max' => 100,
311
- 'step' => 5,
312
- 'default' => 20,
313
-
314
- ]
315
- );
316
- $this->add_control(
317
- 'perspective',
318
- [
319
- 'label' => __('Perspective', 'wts-eae'),
320
- 'type' => Controls_Manager::NUMBER,
321
- 'description' => __('Transform perspective, the lower the more extreme the tilt gets.', 'wts-eae'),
322
- 'min' => 100,
323
- 'max' => 1000,
324
- 'step' => 50,
325
- 'default' => 800,
326
- ]
327
- );
328
-
329
- $this->add_control(
330
- 'speed',
331
- [
332
- 'label' => __('Speed', 'wts-eae'),
333
- 'type' => Controls_Manager::NUMBER,
334
- 'min' => 100,
335
- 'max' => 1000,
336
- 'step' => 50,
337
- 'default' => 300,
338
- ]
339
- );
340
-
341
- $this->add_control(
342
- 'tilt_axis',
343
- [
344
- 'label' => __('Tilt Axis', 'wts-eae'),
345
- 'type' => Controls_Manager::SELECT,
346
- 'default' => 'both',
347
- 'options' => [
348
- 'both' => __('Both', 'wts-eae'),
349
- 'x' => __('X', 'wts-eae'),
350
- 'y' => __('Y', 'wts-eae'),
351
- ],
352
- ]
353
- );
354
-
355
-
356
- $this->add_control(
357
- 'glare',
358
- [
359
- 'label' => __('Glare', 'wts-eae'),
360
- 'type' => Controls_Manager::SWITCHER,
361
- 'label_on' => __('Yes', 'wts-eae'),
362
- 'label_off' => __('No', 'wts-eae'),
363
- 'return_value' => 'yes',
364
- 'default' => 'yes',
365
- ]
366
- );
367
-
368
- $this->add_control(
369
- 'max_glare',
370
- [
371
- 'label' => __('Glare', 'wts-eae'),
372
- 'type' => Controls_Manager::NUMBER,
373
- 'min' => 0,
374
- 'max' => 1,
375
- 'step' => .1,
376
- 'default' => 0.5,
377
- 'condition' => [
378
- 'glare' => 'yes',
379
- ]
380
- ]
381
- );
382
-
383
-
384
- $this->end_controls_section();
385
-
386
- $this->start_controls_section(
387
- 'overlay_setting',
388
- [
389
- 'label' => __('Overlay Setting', 'wts-eae'),
390
- ]
391
- );
392
-
393
- $this->add_control(
394
- 'show_overlay',
395
- [
396
- 'label' => __('Show Overlay', 'wts-eae'),
397
- 'type' => Controls_Manager::SELECT,
398
- 'options' => [
399
- 'hover' => __('On Hover', 'wts-eae'),
400
- 'always' => __('Always', 'wts-eae'),
401
- 'never' => __('Never', 'wts-eae'),
402
- 'hide-on-hover' => __('Hide on Hover', 'wts-eae')
403
- ],
404
- 'default' => 'hover',
405
- 'render_type' => 'template',
406
- 'prefix_class' => 'eae-overlay-',
407
- ]
408
- );
409
-
410
- $this->add_control(
411
- 'caption',
412
- [
413
- 'label' => __('Caption', 'wts-eae'),
414
- 'type' => Controls_Manager::SWITCHER,
415
- 'default' => 'yes',
416
- 'label_on' => __('Yes', 'wts-eae'),
417
- 'label_off' => __('No', 'wts-eae'),
418
- 'return_value' => 'yes',
419
- 'condition' =>
420
- [
421
- 'show_overlay!' => 'never',
422
- ]
423
- ]
424
-
425
-
426
- );
427
-
428
-
429
- $this->add_control(
430
- 'icon_style',
431
- [
432
- 'label' => __('Icon', 'wts-eae'),
433
- 'type' => Controls_Manager::HEADING,
434
- 'separator' => 'before',
435
- 'condition' =>
436
- [
437
- 'show_overlay!' => 'never',
438
- ]
439
-
440
- ]
441
- );
442
-
443
- $this->add_control(
444
- 'icon',
445
- [
446
- 'label' => __('Icon', 'wts-eae'),
447
- 'type' => Controls_Manager::ICONS,
448
- 'label_block' => true,
449
- 'default' => [
450
- 'value' => 'fas fa-star',
451
- 'library' => 'fa-solid',
452
- ],
453
-
454
- 'condition' =>
455
- [
456
- 'show_overlay!' => 'never',
457
- ]
458
- ]
459
- );
460
-
461
- $this->add_control(
462
- 'view',
463
- [
464
- 'label' => __('View', 'wts-eae'),
465
- 'type' => Controls_Manager::SELECT,
466
- 'options' => [
467
- 'default' => __('Default', 'wts-eae'),
468
- 'stacked' => __('Stacked', 'wts-eae'),
469
- 'framed' => __('Framed', 'wts-eae'),
470
-
471
- ],
472
- 'default' => 'framed',
473
- 'prefix_class' => 'eae-icon-view-',
474
- 'condition' => [
475
- 'icon!' => '',
476
- 'show_overlay!' => 'never',
477
- ],
478
- ]
479
- );
480
-
481
- $this->add_control(
482
- 'hover_direction_aware',
483
- [
484
- 'label' => __('Hover Direction Aware', 'wts-eae'),
485
- 'type' => Controls_Manager::SWITCHER,
486
- 'label_on' => __('Yes', 'wts-eae'),
487
- 'label_off' => __('No', 'wts-eae'),
488
- 'return_value' => 'yes',
489
- 'default' => 'label_off',
490
- 'condition' => [
491
- 'show_overlay' => 'hover',
492
- ]
493
- ]
494
- );
495
-
496
- $this->add_control(
497
- 'overlay_speed',
498
- [
499
- 'label' => __('Overlay Speed', 'wts-eae'),
500
- 'type' => Controls_Manager::SLIDER,
501
- 'default' => [
502
- 'size' => '500',
503
- ],
504
- 'range' => [
505
- 'px' => [
506
- 'min' => 100,
507
- 'max' => 1000,
508
- 'step' => 100,
509
- ],
510
- ],
511
- 'condition' => [
512
- 'show_overlay' => 'hover',
513
- 'hover_direction_aware' => 'yes',
514
- ]
515
- ]
516
- );
517
-
518
-
519
- $this->end_controls_section();
520
-
521
- $this->start_controls_section(
522
- 'general_style_section',
523
- [
524
- 'label' => __('General', 'wts-eae'),
525
- 'tab' => Controls_Manager::TAB_STYLE
526
- ]
527
- );
528
- $this->start_controls_tabs('style_tabs');
529
-
530
- $this->start_controls_tab(
531
- 'normal',
532
- [
533
- 'label' => __('Normal', 'wts-eae')
534
- ]
535
- );
536
-
537
- $this->add_group_control(
538
- Group_Control_Border::get_type(),
539
- [
540
- 'name' => 'grid_border',
541
- 'label' => __('Border', 'wts-eae'),
542
- 'selector' => '{{WRAPPER}} .eae-gallery-item .eae-gallery-item-inner',
543
- ]
544
- );
545
-
546
- $this->add_control(
547
- 'item_border_radius',
548
- [
549
- 'label' => __('Border Radius', 'wts-eae'),
550
- 'type' => Controls_Manager::DIMENSIONS,
551
- 'size_units' => ['px', '%'],
552
- 'selectors' => [
553
- '{{WRAPPER}} .eae-gallery-item-inner' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
554
- ],
555
- ]
556
- );
557
-
558
- $this->add_group_control(
559
- Group_Control_Box_Shadow::get_type(),
560
- [
561
- 'name' => 'item_box_shadow',
562
- 'label' => __('Item Shadow', 'wts-eae'),
563
- 'selector' => '{{WRAPPER}} .eae-gallery-item-inner',
564
- ]
565
- );
566
-
567
- $this->end_controls_tab();
568
-
569
-
570
- $this->start_controls_tab(
571
- 'hover',
572
- [
573
- 'label' => __('Hover', 'wts-eae')
574
- ]
575
- );
576
-
577
- $this->add_group_control(
578
- Group_Control_Border::get_type(),
579
- [
580
- 'name' => 'grid_border_hover',
581
- 'label' => __('Border', 'wts-eae'),
582
- 'selector' => '{{WRAPPER}} .eae-gallery-item-inner:hover',
583
- ]
584
- );
585
-
586
- $this->add_control(
587
- 'item_border_radius_hover',
588
- [
589
- 'label' => __('Border Radius', 'wts-eae'),
590
- 'type' => Controls_Manager::DIMENSIONS,
591
- 'size_units' => ['px', '%'],
592
- 'selectors' => [
593
- '{{WRAPPER}} .eae-gallery-item-inner:hover *' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
594
- '{{WRAPPER}} .eae-gallery-item-inner:hover' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
595
- ],
596
- ]
597
- );
598
-
599
- $this->add_group_control(
600
- Group_Control_Box_Shadow::get_type(),
601
- [
602
- 'name' => 'item_box_shadow_hover',
603
- 'label' => __('Item Shadow', 'wts-eae'),
604
- 'selector' => '{{WRAPPER}} .eae-gallery-item-inner:hover ',
605
- ]
606
- );
607
-
608
- $this->end_controls_tab();
609
-
610
- $this->end_controls_tabs();
611
-
612
- $this->end_controls_section();
613
-
614
-
615
- //---
616
-
617
-
618
- $this->start_controls_section(
619
- 'imgae_style_section',
620
- [
621
- 'label' => __('Image', 'wts-eae'),
622
- 'tab' => Controls_Manager::TAB_STYLE
623
- ]
624
- );
625
- $this->start_controls_tabs('image_style_tabs');
626
-
627
- $this->start_controls_tab(
628
- 'image_normal',
629
- [
630
- 'label' => __('Normal', 'wts-eae')
631
- ]
632
- );
633
-
634
- $this->add_control(
635
- 'fg_image_opacity',
636
- [
637
- 'label' => __('Opacity', 'wts-eae'),
638
- 'type' => Controls_Manager::SLIDER,
639
- 'range' => [
640
- 'px' => [
641
- 'max' => 1,
642
- 'min' => 0.10,
643
- 'step' => 0.01,
644
- ],
645
- ],
646
- 'selectors' => [
647
- '{{WRAPPER}} .eae-gallery-item-inner img' => 'opacity: {{SIZE}};',
648
- ],
649
- ]
650
- );
651
-
652
- $this->add_group_control(
653
- Group_Control_Css_Filter::get_type(),
654
- [
655
- 'name' => 'img_css_filters',
656
- 'selector' => '{{WRAPPER}} .eae-gallery-item-inner img',
657
- ]
658
- );
659
-
660
-
661
- $this->end_controls_tab();
662
-
663
-
664
- $this->start_controls_tab(
665
- 'image_hover',
666
- [
667
- 'label' => __('Hover', 'wts-eae')
668
- ]
669
- );
670
-
671
- $this->add_control(
672
- 'image_hover_opacity',
673
- [
674
- 'label' => __('Opacity', 'wts-eae'),
675
- 'type' => Controls_Manager::SLIDER,
676
- 'range' => [
677
- 'px' => [
678
- 'max' => 1,
679
- 'min' => 0.10,
680
- 'step' => 0.01,
681
- ],
682
- ],
683
- 'selectors' => [
684
- '{{WRAPPER}} .eae-gallery-item-inner:hover img' => 'opacity: {{SIZE}};',
685
- ],
686
- ]
687
- );
688
-
689
- $this->add_group_control(
690
- Group_Control_Css_Filter::get_type(),
691
- [
692
- 'name' => 'img_hover_css_filters',
693
- 'selector' => '{{WRAPPER}} .eae-gallery-item-inner:hover img',
694
- ]
695
- );
696
-
697
-
698
- $this->end_controls_tab();
699
-
700
- $this->end_controls_tabs();
701
-
702
- $this->end_controls_section();
703
-
704
- //-------
705
-
706
- $this->start_controls_section(
707
- 'style_section',
708
- [
709
- 'label' => __('Overlay', 'wts-eae'),
710
- 'tab' => Controls_Manager::TAB_STYLE,
711
- 'condition' => [
712
- 'show_overlay!' => 'never',
713
- ],
714
- ]
715
- );
716
-
717
- $this->add_control(
718
- 'overlay',
719
- [
720
- 'label' => __('Overlay', 'wts-eae'),
721
- 'type' => Controls_Manager::HEADING,
722
- 'separator' => 'before',
723
- 'condition' => [
724
- 'show_overlay!' => 'never',
725
- ]
726
- ]
727
-
728
- );
729
-
730
- $this->add_group_control(
731
- Group_Control_Background::get_type(),
732
- [
733
- 'name' => 'overlay_color',
734
- 'label' => __('Color', 'wts-eae'),
735
- 'types' => ['none', 'classic', 'gradient'],
736
- 'selector' => '{{WRAPPER}} .eae-gallery-item-inner .eae-grid-overlay',
737
- 'condition' => [
738
- 'show_overlay!' => 'never',
739
- ],
740
- ]
741
- );
742
-
743
-
744
- $this->add_control(
745
- 'eae_animation',
746
- [
747
- 'label' => __('Animation', 'wts-eae'),
748
- 'type' => Controls_Manager::SELECT,
749
- 'options' => [
750
- '' => __('None', 'wts-eae'),
751
- 'pulse' => __('Pulse', 'wts-eae'),
752
- 'headShake' => __('Head Shake', 'wts-eae'),
753
- 'tada' => __('Tada', 'wts-eae'),
754
- 'fadeIn' => __('Fade In', 'wts-eae'),
755
- 'fadeInDown' => __('Fade In Down', 'wts-eae'),
756
- 'fadeInLeft' => __('Fade In Left', 'wts-eae'),
757
- 'fadeInRight' => __('Fade In Right', 'wts-eae'),
758
- 'fadeInUp' => __('Fade In Up', 'wts-eae'),
759
- 'rotateInDownLeft' => __('Rotate In Down Left', 'wts-eae'),
760
- 'rotateInDownRight' => __('Rotate In Down Right', 'wts-eae'),
761
- 'rotateInUpLeft' => __('Rotate In Up Left', 'wts-eae'),
762
- 'rotateInUpRight' => __('Rotate In Up Right', 'wts-eae'),
763
- 'zoomIn' => __('Zoom In', 'wts-eae'),
764
- 'zoomInDown' => __('Zoom In Down', 'wts-eae'),
765
- 'zoomInLeft' => __('Zoom In Left', 'wts-eae'),
766
- 'zoomInRight' => __('Zoom In Right', 'wts-eae'),
767
- 'zoomInUp' => __('Zoom In Up', 'wts-eae'),
768
- 'slideInLeft' => __('Slide In Left', 'wts-eae'),
769
- 'slideInRight' => __('Slide In Right', 'wts-eae'),
770
- 'slideInUp' => __('Slide In Up', 'wts-eae'),
771
- 'slideInDown' => __('Slide In Down', 'wts-eae'),
772
- ],
773
- 'default' => 'fadeIn',
774
- 'condition' => [
775
- 'show_overlay' => ['hover', 'hide-on-hover'],
776
- 'hover_direction_aware!' => 'yes',
777
- ]
778
- ]
779
- );
780
-
781
- $this->add_control(
782
- 'animation_time',
783
- [
784
- 'label' => __('Animation Time', 'wts-eae'),
785
- 'type' => Controls_Manager::SLIDER,
786
- 'default' => [
787
- 'size' => 1.00
788
- ],
789
- 'range' => [
790
- 'min' => 1.00,
791
- 'max' => 10.00,
792
- 'step' => 0.01
793
- ],
794
- 'condition' => [
795
- 'animation!' => ''
796
- ],
797
- 'selectors' => [
798
- '{{WRAPPER}}.eae-grid-overlay' => 'animation-duration:{{SIZE}}s;'
799
- ]
800
- ]
801
- );
802
-
803
- $this->add_control(
804
- 'caption_style',
805
- [
806
- 'label' => __('Caption', 'ae-pro'),
807
- 'type' => Controls_Manager::HEADING,
808
- 'separator' => 'before',
809
- 'condition' => [
810
- 'caption' => 'yes',
811
- ]
812
- ]
813
-
814
- );
815
-
816
- $this->add_group_control(
817
- Group_Control_Typography::get_type(),
818
- [
819
- 'name' => 'typography',
820
- 'label' => __('Typography', 'ae-pro'),
821
- // 'scheme' => Scheme_Typography::TYPOGRAPHY_2,
822
- 'global' => [
823
- 'default' => Global_Typography::TYPOGRAPHY_SECONDARY,
824
- ],
825
- 'selector' => '{{WRAPPER}} .eae-overlay-caption',
826
- 'condition' => [
827
- 'caption' => 'yes',
828
- ]
829
- ]
830
- );
831
-
832
- $this->add_control(
833
- 'caption_color',
834
- [
835
- 'label' => __('Color', 'wts-eae'),
836
- 'type' => Controls_Manager::COLOR,
837
- 'selectors' => [
838
- '{{WRAPPER}} .eae-overlay-caption' => 'color:{{VALUE}};'
839
- ],
840
- // 'scheme' => [
841
- // 'type' => Scheme_Color::get_type(),
842
- // 'value' => Scheme_Color::COLOR_1,
843
- // ],
844
- 'global' => [
845
- 'default' => Global_Colors::COLOR_PRIMARY,
846
- ],
847
- 'condition' => [
848
- 'caption' => 'yes',
849
- ]
850
- ]
851
- );
852
-
853
- $this->add_control(
854
- 'caption_color_hover',
855
- [
856
- 'label' => __('Hover Color', 'ae-pro'),
857
- 'type' => Controls_Manager::COLOR,
858
- 'selectors' => [
859
- '{{WRAPPER}} .eae-overlay-caption:hover' => 'color:{{VALUE}};'
860
- ],
861
- 'condition' => [
862
- 'caption' => 'yes',
863
- ]
864
- ]
865
- );
866
-
867
-
868
- $this->add_control(
869
- 'icon_overlay_style',
870
- [
871
- 'label' => __('Icon', 'wts-eae'),
872
- 'type' => Controls_Manager::HEADING,
873
- 'separator' => 'before',
874
- 'condition' => [
875
- 'icon!' => '',
876
- 'show_overlay!' => 'never',
877
- ],
878
-
879
- ]
880
-
881
- );
882
-
883
- $this->add_control(
884
- 'primary_color',
885
- [
886
- 'label' => __('Primary Color', 'wts-eae'),
887
- 'type' => Controls_Manager::COLOR,
888
- 'default' => '',
889
- 'selectors' => [
890
- '{{WRAPPER}}.eae-icon-view-stacked .eae-overlay-icon' => 'background-color: {{VALUE}};',
891
- '{{WRAPPER}}.eae-icon-view-framed .eae-overlay-icon, {{WRAPPER}}.eae-icon-view-default .eae-overlay-icon' => 'color: {{VALUE}}; border-color: {{VALUE}};',
892
- '{{WRAPPER}}.eae-icon-view-framed .eae-overlay-icon svg, {{WRAPPER}}.eae-icon-view-default .eae-overlay-icon svg' => 'fill : {{VALUE}};',
893
- ],
894
- 'global' => [
895
- 'default' => Global_Colors::COLOR_PRIMARY,
896
- ],
897
- 'condition' => [
898
- 'icon!' => '',
899
- 'show_overlay!' => 'never',
900
-
901
- ],
902
- ]
903
- );
904
-
905
- $this->add_control(
906
- 'secondary_color',
907
- [
908
- 'label' => __('Secondary Color', 'wts-eae'),
909
- 'type' => Controls_Manager::COLOR,
910
- 'default' => '',
911
- 'selectors' => [
912
- '{{WRAPPER}}.eae-icon-view-framed .eae-overlay-icon' => 'background-color: {{VALUE}};',
913
- '{{WRAPPER}}.eae-icon-view-stacked .eae-overlay-icon i' => 'color: {{VALUE}};',
914
- '{{WRAPPER}}.eae-icon-view-stacked .eae-overlay-icon svg' => 'fill: {{VALUE}};',
915
- ],
916
- 'condition' => [
917
- 'icon!' => '',
918
- 'view!' => 'default',
919
- 'show_overlay!' => 'never',
920
- ],
921
- ]
922
- );
923
-
924
- $this->add_control(
925
- 'primary_color_hover',
926
- [
927
- 'label' => __('Primary Color Hover', 'wts-eae'),
928
- 'type' => Controls_Manager::COLOR,
929
- 'default' => '',
930
- 'selectors' => [
931
- '{{WRAPPER}}.eae-icon-view-stacked .eae-overlay-icon:hover' => 'background-color: {{VALUE}};',
932
- '{{WRAPPER}}.eae-icon-view-framed .eae-overlay-icon:hover, {{WRAPPER}}.eae-icon-view-default .eae-overlay-icon' => 'color: {{VALUE}}; border-color: {{VALUE}};',
933
- '{{WRAPPER}}.eae-icon-view-framed .eae-overlay-icon:hover svg, {{WRAPPER}}.eae-icon-view-default .eae-overlay-icon:hover svg' => 'fill: {{VALUE}}',
934
- ],
935
- 'condition' => [
936
- 'icon!' => '',
937
- 'show_overlay!' => 'never',
938
- ],
939
-
940
- ]
941
- );
942
-
943
- $this->add_control(
944
- 'secondary_color_hover',
945
- [
946
- 'label' => __('Secondary Color Hover', 'wts-eae'),
947
- 'type' => Controls_Manager::COLOR,
948
- 'default' => '',
949
- 'condition' => [
950
- 'view!' => 'default',
951
- 'show_overlay!' => 'never',
952
- ],
953
- 'selectors' => [
954
- '{{WRAPPER}}.eae-icon-view-framed:hover .eae-overlay-icon:hover' => 'background-color: {{VALUE}};',
955
- '{{WRAPPER}}.eae-icon-view-stacked:hover .eae-overlay-icon:hover' => 'color: {{VALUE}};',
956
- '{{WRAPPER}}.eae-icon-view-stacked:hover .eae-overlay-icon:hover svg' => 'fill: {{VALUE}};',
957
- ],
958
- ]
959
- );
960
-
961
- $this->add_control(
962
- 'size',
963
- [
964
- 'label' => __('Size', 'wts-eae'),
965
- 'type' => Controls_Manager::SLIDER,
966
- 'range' => [
967
- 'px' => [
968
- 'min' => 6,
969
- 'max' => 300,
970
- ],
971
- ],
972
- 'default' => [
973
- 'size' => '20',
974
- 'unit' => 'px',
975
- ],
976
- 'selectors' => [
977
- '{{WRAPPER}} .eae-overlay-icon i' => 'font-size: {{SIZE}}{{UNIT}};',
978
- '{{WRAPPER}} .eae-overlay-icon svg' => 'width : {{SIZE}}{{UNIT}};',
979
- ],
980
- 'condition' => [
981
- 'icon!' => '',
982
- 'show_overlay!' => 'never',
983
- ],
984
- ]
985
- );
986
-
987
- $this->add_control(
988
- 'icon_padding',
989
- [
990
- 'label' => __('Icon Padding', 'wts-eae'),
991
- 'type' => Controls_Manager::SLIDER,
992
- 'selectors' => [
993
- '{{WRAPPER}} .eae-overlay-icon' => 'padding: {{SIZE}}{{UNIT}};',
994
- ],
995
- 'range' => [
996
- 'em' => [
997
- 'min' => 0,
998
- 'max' => 5,
999
- ],
1000
- ],
1001
- 'condition' => [
1002
- 'view!' => 'default',
1003
- 'show_overlay!' => 'never',
1004
- ],
1005
-
1006
- ]
1007
- );
1008
-
1009
- $this->add_control(
1010
- 'rotate',
1011
- [
1012
- 'label' => __('Rotate', 'wts-eae'),
1013
- 'type' => Controls_Manager::SLIDER,
1014
- 'default' => [
1015
- 'size' => 0,
1016
- 'unit' => 'deg',
1017
- ],
1018
- 'selectors' => [
1019
- '{{WRAPPER}} .eae-overlay-icon i , {{WRAPPER}} .eae-overlay-icon svg' => 'transform: rotate({{SIZE}}{{UNIT}});',
1020
- ],
1021
- 'condition' => [
1022
- 'icon!' => '',
1023
- 'show_overlay!' => 'never',
1024
- ],
1025
- ]
1026
- );
1027
-
1028
- $this->add_control(
1029
- 'border_width',
1030
- [
1031
- 'label' => __('Border Width', 'wts-eae'),
1032
- 'type' => Controls_Manager::DIMENSIONS,
1033
- 'selectors' => [
1034
- '{{WRAPPER}} .eae-overlay-icon' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1035
- ],
1036
- 'condition' => [
1037
- 'view' => 'framed',
1038
- 'show_overlay!' => 'never',
1039
- ],
1040
- ]
1041
- );
1042
-
1043
- $this->add_control(
1044
- 'border_radius',
1045
- [
1046
- 'label' => __('Border Radius', 'wts-eae'),
1047
- 'type' => Controls_Manager::DIMENSIONS,
1048
- 'size_units' => ['px', '%'],
1049
- 'selectors' => [
1050
- '{{WRAPPER}} .eae-overlay-icon' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1051
- ],
1052
- 'condition' => [
1053
- 'view!' => 'default',
1054
- 'show_overlay!' => 'never',
1055
- ],
1056
- ]
1057
- );
1058
-
1059
- $this->end_controls_section();
1060
-
1061
- $this->start_controls_section(
1062
- 'filter_style_section',
1063
- [
1064
- 'label' => __('Filter', 'wts-eae'),
1065
- 'tab' => Controls_Manager::TAB_STYLE
1066
- ]
1067
- );
1068
-
1069
- $this->add_group_control(
1070
- Group_Control_Typography::get_type(),
1071
- [
1072
- 'name' => 'filter_typography',
1073
- 'label' => __('Typography', 'wts-eae'),
1074
- // 'global' => [
1075
- // 'default' => Colors_And_Typography::TYPOGRAPHY_ACCENT,
1076
- // ],
1077
- 'global' => [
1078
- 'default' => Global_Typography::TYPOGRAPHY_ACCENT
1079
- ],
1080
- 'selector' => '{{WRAPPER}} .eae-filter-label',
1081
- ]
1082
- );
1083
- $this->start_controls_tabs('filter_style_tabs');
1084
-
1085
- $this->start_controls_tab(
1086
- 'filter_normal',
1087
- [
1088
- 'label' => __('Normal', 'wts-eae')
1089
- ]
1090
- );
1091
-
1092
- $this->add_control(
1093
- 'filter_color',
1094
- [
1095
- 'label' => __('Color', 'wts-eae'),
1096
- 'type' => Controls_Manager::COLOR,
1097
- 'selectors' => [
1098
- '{{WRAPPER}} .eae-filter-label' => 'color: {{VALUE}}',
1099
- ],
1100
- ]
1101
- );
1102
-
1103
- $this->add_control(
1104
- 'current_filter_color',
1105
- [
1106
- 'label' => __('Current Color', 'wts-eae'),
1107
- 'type' => Controls_Manager::COLOR,
1108
- 'selectors' => [
1109
- '{{WRAPPER}} .eae-filter-label.current' => 'color: {{VALUE}}',
1110
- ],
1111
- ]
1112
- );
1113
-
1114
- $this->add_control(
1115
- 'filter_bg_color',
1116
- [
1117
- 'label' => __('Background Color', 'wts-eae'),
1118
- 'type' => Controls_Manager::COLOR,
1119
- // 'global' => [
1120
- // 'default' => Colors_And_Typography::COLOR_ACCENT,
1121
- // ],
1122
- 'global' => [
1123
- 'default' => Global_Colors::COLOR_ACCENT,
1124
- ],
1125
- 'selectors' => [
1126
- '{{WRAPPER}} .eae-filter-label' => 'background-color: {{VALUE}}',
1127
- ],
1128
- ]
1129
- );
1130
-
1131
- $this->add_control(
1132
- 'current_filter_bg_color',
1133
- [
1134
- 'label' => __('Current Background Color', 'wts-eae'),
1135
- 'type' => Controls_Manager::COLOR,
1136
- // 'global' => [
1137
- // 'default' => Colors_And_Typography::COLOR_PRIMARY,
1138
- // ],
1139
- 'global' => [
1140
- 'default' => Global_Colors::COLOR_PRIMARY,
1141
- ],
1142
- 'selectors' => [
1143
- '{{WRAPPER}} .eae-filter-label.current' => 'background-color: {{VALUE}}',
1144
- ],
1145
- ]
1146
- );
1147
-
1148
- $this->add_group_control(
1149
- Group_Control_Border::get_type(),
1150
- [
1151
- 'name' => 'filter-border',
1152
- 'label' => __('Border', 'wts-eae'),
1153
- 'selector' => '{{WRAPPER}} .eae-filter-label',
1154
- ]
1155
- );
1156
-
1157
- $this->add_control(
1158
- 'filter_border_current_color',
1159
- [
1160
- 'label' => __('Current Border Color', 'wts-eae'),
1161
- 'type' => Controls_Manager::COLOR,
1162
- 'selectors' => [
1163
- '{{WRAPPER}} .eae-filter-label.current' => 'border-color: {{VALUE}}',
1164
- ],
1165
- ]
1166
- );
1167
- $this->add_group_control(
1168
- Group_Control_Box_Shadow::get_type(),
1169
- [
1170
- 'name' => 'filter_border_box_shadow',
1171
- 'label' => __( 'Box Shadow', 'wts-eae' ),
1172
- 'selector' => '{{WRAPPER}} .eae-filter-label',
1173
- ]
1174
- );
1175
-
1176
-
1177
- $this->add_control(
1178
- 'filter_border_radius',
1179
- [
1180
- 'label' => __('Border Radius', 'wts-eae'),
1181
- 'type' => Controls_Manager::DIMENSIONS,
1182
- 'size_units' => ['px', '%'],
1183
- 'selectors' => [
1184
- '{{WRAPPER}} .eae-filter-label' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1185
- ],
1186
- ]
1187
- );
1188
-
1189
- $this->end_controls_tab();
1190
-
1191
-
1192
- $this->start_controls_tab(
1193
- 'filter_hover',
1194
- [
1195
- 'label' => __('Hover', 'wts-eae')
1196
- ]
1197
- );
1198
-
1199
- $this->add_control(
1200
- 'filter_hover_color',
1201
- [
1202
- 'label' => __('Color', 'wts-eae'),
1203
- 'type' => Controls_Manager::COLOR,
1204
- 'selectors' => [
1205
- '{{WRAPPER}} .eae-filter-label:hover' => 'color: {{VALUE}}',
1206
- ],
1207
- ]
1208
- );
1209
- $this->add_control(
1210
- 'current_filter_hover_color',
1211
- [
1212
- 'label' => __('Current Color', 'wts-eae'),
1213
- 'type' => Controls_Manager::COLOR,
1214
- 'selectors' => [
1215
- '{{WRAPPER}} .eae-filter-label:hover.current' => 'color: {{VALUE}}',
1216
- ],
1217
- ]
1218
- );
1219
-
1220
- $this->add_control(
1221
- 'filter_bg_hover_color',
1222
- [
1223
- 'label' => __('Background Color', 'wts-eae'),
1224
- 'type' => Controls_Manager::COLOR,
1225
- 'selectors' => [
1226
- '{{WRAPPER}} .eae-filter-label:hover' => 'background-color: {{VALUE}}',
1227
- ],
1228
- ]
1229
- );
1230
- $this->add_control(
1231
- 'current_filter_bg_hover_color',
1232
- [
1233
- 'label' => __('Current Background Color', 'wts-eae'),
1234
- 'type' => Controls_Manager::COLOR,
1235
- 'selectors' => [
1236
- '{{WRAPPER}} .eae-filter-label:hover.current' => 'background-color: {{VALUE}}',
1237
- ],
1238
- ]
1239
- );
1240
- $this->add_control(
1241
- 'filter_border_hover_color',
1242
- [
1243
- 'label' => __('Border Color', 'wts-eae'),
1244
- 'type' => Controls_Manager::COLOR,
1245
- 'selectors' => [
1246
- '{{WRAPPER}} .eae-filter-label:hover' => 'border-color: {{VALUE}}',
1247
- ],
1248
- ]
1249
- );
1250
- $this->add_control(
1251
- 'filter_border_current_hover_color',
1252
- [
1253
- 'label' => __('Current Border Color', 'wts-eae'),
1254
- 'type' => Controls_Manager::COLOR,
1255
- 'selectors' => [
1256
- '{{WRAPPER}} .eae-filter-label:hover.current' => 'border-color: {{VALUE}}',
1257
- ],
1258
- ]
1259
- );
1260
-
1261
- $this->add_group_control(
1262
- Group_Control_Box_Shadow::get_type(),
1263
- [
1264
- 'name' => 'filter_border_box_shadow_hover',
1265
- 'label' => __( 'Box Shadow', 'wts-eae' ),
1266
- 'selector' => '{{WRAPPER}} .eae-filter-label:hover',
1267
- ]
1268
- );
1269
-
1270
- $this->add_control(
1271
- 'filter_border_hover_radius',
1272
- [
1273
- 'label' => __('Border Radius', 'wts-eae'),
1274
- 'type' => Controls_Manager::DIMENSIONS,
1275
- 'size_units' => ['px', '%'],
1276
- 'selectors' => [
1277
- '{{WRAPPER}} .eae-filter-label:hover' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1278
- ],
1279
- ]
1280
- );
1281
-
1282
-
1283
- $this->end_controls_tab();
1284
-
1285
- $this->end_controls_tabs();
1286
-
1287
- $this->add_responsive_control(
1288
- 'filter_align',
1289
- [
1290
- 'label' => __( 'Alignment', 'wts-eae' ),
1291
- 'type' => Controls_Manager::CHOOSE,
1292
- 'options' => [
1293
- 'flex-start' => [
1294
- 'title' => __( 'Left', 'wts-eae' ),
1295
- 'icon' => 'fa fa-align-left',
1296
- ],
1297
- 'center' => [
1298
- 'title' => __( 'Center', 'wts-eae' ),
1299
- 'icon' => 'fa fa-align-center',
1300
- ],
1301
- 'flex-end' => [
1302
- 'title' => __( 'Right', 'wts-eae' ),
1303
- 'icon' => 'fa fa-align-right',
1304
- ],
1305
- ],
1306
- 'selectors' => [
1307
- '{{WRAPPER}} .eae-gallery-filter' => 'justify-content : {{VALUE}}'
1308
- ],
1309
- 'default' => 'center',
1310
- 'toggle' => true,
1311
- ]
1312
- );
1313
-
1314
- $this->add_responsive_control(
1315
- 'filter_padding',
1316
- [
1317
- 'label' => __('Padding', 'wts-eae'),
1318
- 'type' => Controls_Manager::DIMENSIONS,
1319
- 'size_units' => ['px', 'em'],
1320
- 'selectors' => [
1321
- '{{WRAPPER}} .eae-filter-label' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1322
- ],
1323
- ]
1324
- );
1325
- $this->add_responsive_control(
1326
- 'filter_margin',
1327
- [
1328
- 'label' => __('Spacing', 'wts-eae'),
1329
- 'type' => Controls_Manager::DIMENSIONS,
1330
- 'size_units' => ['px', 'em'],
1331
- 'selectors' => [
1332
- '{{WRAPPER}} .eae-filter-label' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1333
- ],
1334
- 'default' => [
1335
- 'top' => '',
1336
- 'right' => '',
1337
- 'bottom' => '10',
1338
- 'left' => '',
1339
- 'unit' => 'px',
1340
- 'isLinked' => '',
1341
- ],
1342
- ]
1343
- );
1344
-
1345
-
1346
- $this->end_controls_section();
1347
-
1348
-
1349
- }
1350
-
1351
- protected function render()
1352
- {
1353
- $settings = $this->get_settings_for_display();
1354
- $max_tilt = $settings['max_tilt'];
1355
- $perspective = $settings['perspective'];
1356
- $speed = $settings['speed'];
1357
- $tilt_axis = $settings['tilt_axis'];
1358
- $glare = $settings['glare'];
1359
- $max_glare = $settings['max_glare'];
1360
- $animation = $settings['eae_animation'];
1361
- $icon = $settings['icon']['value'];
1362
- $overlay_speed = $settings['overlay_speed']['size'];
1363
-
1364
- $filter_groups = $settings['eae_filterable_gallery_content'];
1365
- //echo '<pre>'; print_r($filter_groups); echo '</pre>';
1366
-
1367
- $this->add_render_attribute('gallery-wrapper', 'class', 'eae-fg-wrapper');
1368
- if ($settings['hover_tilt'] == 'yes') {
1369
- $this->add_render_attribute('gallery-wrapper', 'class', 'eae-tilt-yes');
1370
- $this->add_render_attribute('gallery-wrapper', 'data-maxtilt', $max_tilt);
1371
- $this->add_render_attribute('gallery-wrapper', 'data-perspective', $perspective);
1372
- $this->add_render_attribute('gallery-wrapper', 'data-speed', $speed);
1373
- $this->add_render_attribute('gallery-wrapper', 'data-tilt-axis', $tilt_axis);
1374
- $this->add_render_attribute('gallery-wrapper', 'data-glare', $glare);
1375
- if ($glare == 'yes') {
1376
- $this->add_render_attribute('gallery-wrapper', 'data-max-glare', $max_glare);
1377
- }
1378
- }
1379
- if ($settings['masonry'] == 'yes') {
1380
- $this->add_render_attribute('gallery-wrapper', 'class', 'masonry-yes');
1381
- }
1382
- if ($settings['hover_direction_aware'] == 'yes' && $settings['show_overlay'] == 'hover') {
1383
- $this->add_render_attribute('gallery-wrapper', 'class', 'eae-hover-direction-effect');
1384
- $this->add_render_attribute('gallery-wrapper', 'data-overlay-speed', $overlay_speed);
1385
- }
1386
- if ($settings['enable_image_ratio'] == 'yes') {
1387
- $this->add_render_attribute('gallery-wrapper', 'class', 'eae-image-ratio-' . $settings['enable_image_ratio']);
1388
- }
1389
-
1390
- if($settings['open_lightbox'] === 'yes'){
1391
- $this->add_render_attribute('link', [
1392
- 'data-elementor-open-lightbox' => $settings['open_lightbox'],
1393
- 'data-elementor-lightbox-slideshow' => 'eae-fg-gallery-' . rand(0, 99999),
1394
- ]);
1395
- }else{
1396
- $this->add_render_attribute('link', [
1397
- 'data-elementor-open-lightbox' => 'no',
1398
- ]);
1399
- }
1400
-
1401
- if (Plugin::$instance->editor->is_edit_mode()) {
1402
- $this->add_render_attribute('link', [
1403
- 'class' => 'elementor-clickable',
1404
- ]);
1405
- }
1406
-
1407
- ?>
 
 
 
 
1408
  <div <?php echo $this->get_render_attribute_string('gallery-wrapper'); ?>>
1409
  <div class="eae-gallery-filter">
1410
- <?PHP if ($settings['show_all'] == 'yes' && count($settings['eae_filterable_gallery_content']) > 1) { ?>
1411
- <a href="#" data-filter="*" class="eae-filter-label current">All</a>
1412
- <?php } ?>
1413
- <?php
1414
- if (count($settings['eae_filterable_gallery_content']) > 1) {
1415
- //echo '<pre>'; print_r($filter_groups); echo '</pre>';
1416
- $demo_images = [];
1417
- if( empty($filter_group[0]['eae_img_gallery']) && empty($filter_group[1]['eae_img_gallery']) && empty($filter_group[0]['eae_img_gallery']) ){
1418
- $demo_images[] = $this->get_placeholder_images();
1419
- }
1420
- foreach ($filter_groups as $filter_group) {
1421
- $images = $filter_group['eae_img_gallery'];
1422
- if(empty($images)){
1423
- //echo '<pre>'; print_r($demo_images); echo '</pre>';
1424
- $images = $demo_images;
1425
- }
1426
- if (!empty($images)) {
1427
- $filter_label = $filter_group['eae_filter_label'];
1428
- $filter_name = strtolower($filter_group['eae_filter_label']);
1429
- $filter_name = str_replace(" ", "-", $filter_name);
1430
- //$filter_group['eae_filter_class'];
1431
- ?>
1432
  <a href="#" data-filter=".<?php echo $filter_name; ?>"
1433
  class="eae-filter-label"><?php echo $filter_label; ?></a>
1434
- <?php
1435
- }
1436
- }
1437
- }
1438
- ?>
1439
  </div>
1440
  <div class="eae-fg-image">
1441
- <?php
1442
- foreach ($filter_groups as $filter_group) {
1443
- $images = $filter_group['eae_img_gallery'];
1444
- if(empty($images)){
1445
- //echo '<pre>'; print_r($demo_images); echo '</pre>';
1446
- $images = $demo_images;
1447
- }
1448
- $filter_name = strtolower($filter_group['eae_filter_label']);
1449
- $filter_name = str_replace(" ", "-", $filter_name);
1450
- $this->add_render_attribute('gallery-item-' . $filter_group['_id'], 'class', 'eae-gallery-item');
1451
- $this->add_render_attribute('gallery-item-' . $filter_group['_id'], 'class', $filter_name);
1452
- if ($settings['hover_tilt'] == 'yes') {
1453
- $this->add_render_attribute('gallery-item-' . $filter_group['_id'], 'class', 'el-tilt');
1454
- }
1455
- if (!empty($images)) {
1456
- foreach ($images as $image) {
1457
- ?>
 
1458
  <div <?php echo $this->get_render_attribute_string('gallery-item-' . $filter_group['_id']); ?>>
1459
  <div class="eae-gallery-item-inner">
1460
- <a href="<?php echo $image['url']; ?>" <?php echo $this->get_render_attribute_string('link'); ?>>
1461
- <?php if ($settings['enable_image_ratio'] == 'yes'){ ?>
1462
  <div class="eae-fg-img-wrapper">
1463
- <?php } ?>
1464
- <?php if(!empty($image['id'])){
1465
- $img = wp_get_attachment_image($image['id'], $settings['thumbnail_size']);
1466
- echo $img;
1467
- }else{?>
1468
  <img src="<?php echo $image['url']; ?>">
1469
- <?php }
1470
-
1471
- ?>
1472
- <?php if ($settings['enable_image_ratio'] == 'yes'){ ?>
1473
  </div>
1474
- <?php } ?>
1475
  <div class="eae-grid-overlay <?php echo $animation ?>">
1476
  <div class="eae-grid-overlay-inner">
1477
  <div class="eae-icon-wrapper">
1478
- <?php if (!empty($icon)) { ?>
1479
  <div class="eae-overlay-icon">
1480
- <?php
1481
- Icons_Manager::render_icon($settings['icon'], ['aria-hidden' => 'true']);
1482
- ?>
1483
  </div>
1484
- <?php } ?>
1485
  </div>
1486
- <?php
1487
- $caption = wp_get_attachment_caption($image['id']);
1488
- if (!empty($caption) && $settings['caption'] == 'yes') { ?>
1489
  <div class="eae-overlay-caption"><?php echo $caption; ?></div>
1490
- <?php } ?>
1491
  </div>
1492
  </div>
1493
  </a>
1494
  </div>
1495
  </div>
1496
- <?php }
1497
- }
1498
- }
1499
- ?>
1500
  </div>
1501
  </div>
1502
- <?php
1503
-
1504
- }
1505
-
1506
- public function get_placeholder_images(){
1507
- $demo_images =
1508
- [
1509
- 'id' => '',
1510
- 'url' => Utils::get_placeholder_image_src(),
1511
- ];
1512
- return $demo_images;
1513
- }
1514
  }
3
  namespace WTS_EAE\Modules\FilterableGallery\Widgets;
4
 
5
  use Elementor\Controls_Manager;
 
 
 
6
  use Elementor\Group_Control_Background;
7
  use Elementor\Group_Control_Border;
8
  use WTS_EAE\Base\EAE_Widget_Base;
 
9
  use Elementor\Group_Control_Typography;
10
  use Elementor\Group_Control_Image_Size;
 
11
  use Elementor\Group_Control_Box_Shadow;
12
  use Elementor\Group_Control_Css_Filter;
13
  use Elementor\Repeater;
14
  use Elementor\Icons_Manager;
15
+ use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
16
+ use Elementor\Core\Kits\Documents\Tabs\Global_Colors;
17
  use Elementor\Utils;
18
  use Elementor\Plugin;
19
 
22
  class FilterableGallery extends EAE_Widget_Base
23
  {
24
 
25
+ public function get_name()
26
+ {
27
+ return 'eae-filterableGallery';
28
+ }
29
+
30
+ public function get_title()
31
+ {
32
+ return __('EAE - Filterable Gallery', 'wts-eae');
33
+ }
34
+
35
+ public function get_icon()
36
+ {
37
+ return 'eicon-flip-box wts-eae-pe';
38
+ }
39
+
40
+ public function get_categories()
41
+ {
42
+ return ['wts-eae'];
43
+ }
44
+
45
+ protected function _register_controls()
46
+ {
47
+ $this->start_controls_section(
48
+ 'general',
49
+ [
50
+ 'label' => __('General', 'wts-eae'),
51
+ ]
52
+ );
53
+ $repeater = new Repeater();
54
+
55
+ $repeater->add_control(
56
+ 'eae_filter_label',
57
+ [
58
+ 'label' => __('Filter Label', 'wts-eae'),
59
+ 'type' => Controls_Manager::TEXT,
60
+ 'dynamic' => [
61
+ 'active' => true,
62
+ ],
63
+ 'default' => 'Filter'
64
+ ]
65
+ );
66
+
67
+ $repeater->add_control(
68
+ 'eae_img_gallery',
69
+ [
70
+ 'label' => __('Add Images', 'wts-eae'),
71
+ 'type' => Controls_Manager::GALLERY,
72
+ 'dynamic' => [
73
+ 'active' => true,
74
+ ],
75
+ 'show_label' => false,
76
+ ]
77
+ );
78
+
79
+ $this->add_control(
80
+ 'eae_filterable_gallery_content',
81
+ [
82
+ 'label' => __('Items', 'wts-eae'),
83
+ 'type' => Controls_Manager::REPEATER,
84
+ 'fields' => array_values($repeater->get_controls()),
85
+ 'title_field' => '{{{eae_filter_label}}}',
86
+ 'show_label' => true,
87
+ 'default' => [
88
+ [
89
+ 'eae_filter_label' => 'Filter1',
90
+ ],
91
+ [
92
+ 'eae_filter_label' => 'Filter2'
93
+ ],
94
+ [
95
+ 'eae_filter_label' => 'Filter3'
96
+ ],
97
+ ],
98
+ ]
99
+ );
100
+
101
+ $this->end_controls_section();
102
+
103
+ $this->start_controls_section(
104
+ 'setting',
105
+ [
106
+ 'label' => __('Setting', 'wts-eae'),
107
+ ]
108
+ );
109
+
110
+ $this->add_group_control(
111
+ Group_Control_Image_Size::get_type(),
112
+ [
113
+ 'name' => 'thumbnail', // Usage: `{name}_size` and `{name}_custom_dimension`, in this case `thumbnail_size` and `thumbnail_custom_dimension`.
114
+ 'exclude' => ['custom'],
115
+ 'separator' => 'none',
116
+ ]
117
+ );
118
+
119
+ $this->add_responsive_control(
120
+ 'columns',
121
+ [
122
+ 'label' => __('Columns', 'wts-eae'),
123
+ 'type' => Controls_Manager::NUMBER,
124
+ 'desktop_default' => '3',
125
+ 'tablet_default' => '2',
126
+ 'mobile_default' => '1',
127
+ 'min' => 1,
128
+ 'max' => 6,
129
+ 'selectors' => [
130
+ '{{WRAPPER}} .eae-gallery-item' => 'width: calc(100%/{{VALUE}})',
131
+ ]
132
+ ]
133
+ );
134
+
135
+ $this->add_control(
136
+ 'enable_image_ratio',
137
+ [
138
+ 'label' => __('Enable Image Ratio', 'wts-eae'),
139
+ 'type' => Controls_Manager::SWITCHER,
140
+ 'label_on' => __('Yes', 'wts-eae'),
141
+ 'label_off' => __('No', 'wts-eae'),
142
+ 'return_value' => 'yes',
143
+ 'default' => 'no',
144
+ ]
145
+ );
146
+
147
+ $this->add_responsive_control(
148
+ 'image_ratio',
149
+ [
150
+ 'label' => __('Image Ratio', 'wts-eae'),
151
+ 'type' => Controls_Manager::SLIDER,
152
+ 'default' => [
153
+ 'size' => 0.66,
154
+ ],
155
+ 'tablet_default' => [
156
+ 'size' => '',
157
+ ],
158
+ 'mobile_default' => [
159
+ 'size' => 0.5,
160
+ ],
161
+ 'range' => [
162
+ 'px' => [
163
+ 'min' => 0.1,
164
+ 'max' => 2,
165
+ 'step' => 0.01,
166
+ ],
167
+ ],
168
+ 'selectors' => [
169
+ '{{WRAPPER}} .eae-fg-wrapper.eae-image-ratio-yes .eae-gallery-item-inner .eae-fg-img-wrapper' => 'padding-bottom: calc( {{SIZE}} * 100% );',
170
+ ],
171
+ 'condition' => [
172
+ 'enable_image_ratio' => 'yes',
173
+ ]
174
+ ]
175
+ );
176
+
177
+ $this->add_responsive_control(
178
+ 'gutter',
179
+ [
180
+ 'label' => __('Gutter', 'wts-eae'),
181
+ 'type' => Controls_Manager::SLIDER,
182
+ 'range' => [
183
+ 'px' => [
184
+ 'min' => 0,
185
+ 'max' => 40,
186
+ 'step' => 2,
187
+ ]
188
+ ],
189
+ 'default' => [
190
+ 'unit' => 'px',
191
+ 'size' => 10,
192
+ ],
193
+ 'selectors' => [
194
+ '{{WRAPPER}} .eae-gallery-item' => 'padding-left:calc({{SIZE}}{{UNIT}}/2); padding-right:calc({{SIZE}}{{UNIT}}/2); margin-bottom:{{SIZE}}{{UNIT}}',
195
+ '{{WRAPPER}} .eae-gallery-filter' => 'margin-left:calc({{SIZE}}{{UNIT}}/2); margin-right:calc({{SIZE}}{{UNIT}}/2); margin-bottom:{{SIZE}}{{UNIT}}',
196
+ ]
197
+ ]
198
+ );
199
+
200
+
201
+ $this->add_control(
202
+ 'show_all',
203
+ [
204
+ 'label' => __('Show "All" Filter Tab', 'wts-eae'),
205
+ 'type' => Controls_Manager::SWITCHER,
206
+ 'label_on' => __('Show', 'wts-eae'),
207
+ 'label_off' => __('Hide', 'wts-eae'),
208
+ 'return_value' => 'yes',
209
+ 'default' => 'yes',
210
+ 'render_type' => 'template',
211
+ 'prefix_class' => 'eae-show-all-',
212
+ ]
213
+ );
214
+
215
+ $this->add_control(
216
+ 'show_all_tab_text',
217
+ [
218
+ 'label' => __('All Tab Text', 'wts-eae'),
219
+ 'type' => Controls_Manager::TEXT,
220
+ 'dynamic' => [
221
+ 'active' => true,
222
+ ],
223
+ 'default' => __('All', 'wts-eae'),
224
+ 'condition' => [
225
+ 'show_all' => 'yes',
226
+ ]
227
+ ]
228
+ );
229
+
230
+ $this->add_control(
231
+ 'masonry',
232
+ [
233
+ 'label' => __('Masonry', 'wts-eae'),
234
+ 'type' => Controls_Manager::SWITCHER,
235
+ 'label_on' => __('Yes', 'wts-eae'),
236
+ 'label_off' => __('No', 'wts-eae'),
237
+ 'return_value' => 'yes',
238
+ 'default' => 'yes',
239
+ 'render_type' => 'template',
240
+ ]
241
+ );
242
+
243
+ $this->add_control(
244
+ 'hover_tilt',
245
+ [
246
+ 'label' => __('Hover Tilt', 'wts-eae'),
247
+ 'type' => Controls_Manager::SWITCHER,
248
+ 'label_on' => __('Yes', 'wts-eae'),
249
+ 'label_off' => __('No', 'wts-eae'),
250
+ 'return_value' => 'yes',
251
+ 'default' => 'no',
252
+ ]
253
+ );
254
+ $this->add_control(
255
+ 'open_lightbox',
256
+ [
257
+ 'label' => __('Lightbox', 'wts-eae'),
258
+ 'type' => Controls_Manager::SWITCHER,
259
+ 'options' =>
260
+ [
261
+ 'default' => __('Default', 'wts-eae'),
262
+ 'yes' => __('Yes', 'wts-eae'),
263
+ 'no' => __('No', 'wts-eae'),
264
+ ],
265
+ 'default' => 'no',
266
+ 'return_value' => 'yes',
267
+ ]
268
+ );
269
+ $this->add_control(
270
+ 'hover_scale',
271
+ [
272
+ 'label' => __('Hover Scale', 'wts-eae'),
273
+ 'type' => Controls_Manager::SWITCHER,
274
+ 'options' =>
275
+ [
276
+ 'default' => __('Default', 'wts-eae'),
277
+ 'yes' => __('Yes', 'wts-eae'),
278
+ 'no' => __('No', 'wts-eae'),
279
+ ],
280
+ 'default' => 'yes',
281
+ 'return_value' => 'yes',
282
+ ]
283
+ );
284
+
285
+ $this->add_control(
286
+ 'scale_value',
287
+ [
288
+ 'label' => __('Scale Value', 'wts-eae'),
289
+ 'type' => Controls_Manager::NUMBER,
290
+ 'min' => 0,
291
+ 'max' => 2,
292
+ 'step' => .1,
293
+ 'default' => 1.1,
294
+ 'selectors' => [
295
+ '{{WRAPPER}} .eae-gallery-item-inner:hover img' => 'transform: scale({{VALUE}})',
296
+ ],
297
+ 'condition' => [
298
+ 'hover_scale' => 'yes',
299
+ ]
300
+
301
+ ]
302
+ );
303
+
304
+
305
+ $this->end_controls_section();
306
+
307
+ $this->start_controls_section(
308
+ 'tilt_setting',
309
+ [
310
+ 'label' => __('Tilt Setting', 'wts-eae'),
311
+ 'condition' => [
312
+ 'hover_tilt' => 'yes',
313
+ ]
314
+ ]
315
+ );
316
+ $this->add_control(
317
+ 'max_tilt',
318
+ [
319
+ 'label' => __('Max Tilt', 'wts-eae'),
320
+ 'type' => Controls_Manager::NUMBER,
321
+ 'min' => 5,
322
+ 'max' => 100,
323
+ 'step' => 5,
324
+ 'default' => 20,
325
+
326
+ ]
327
+ );
328
+ $this->add_control(
329
+ 'perspective',
330
+ [
331
+ 'label' => __('Perspective', 'wts-eae'),
332
+ 'type' => Controls_Manager::NUMBER,
333
+ 'description' => __('Transform perspective, the lower the more extreme the tilt gets.', 'wts-eae'),
334
+ 'min' => 100,
335
+ 'max' => 1000,
336
+ 'step' => 50,
337
+ 'default' => 800,
338
+ ]
339
+ );
340
+
341
+ $this->add_control(
342
+ 'speed',
343
+ [
344
+ 'label' => __('Speed', 'wts-eae'),
345
+ 'type' => Controls_Manager::NUMBER,
346
+ 'min' => 100,
347
+ 'max' => 1000,
348
+ 'step' => 50,
349
+ 'default' => 300,
350
+ ]
351
+ );
352
+
353
+ $this->add_control(
354
+ 'tilt_axis',
355
+ [
356
+ 'label' => __('Tilt Axis', 'wts-eae'),
357
+ 'type' => Controls_Manager::SELECT,
358
+ 'default' => 'both',
359
+ 'options' => [
360
+ 'both' => __('Both', 'wts-eae'),
361
+ 'x' => __('X', 'wts-eae'),
362
+ 'y' => __('Y', 'wts-eae'),
363
+ ],
364
+ ]
365
+ );
366
+
367
+
368
+ $this->add_control(
369
+ 'glare',
370
+ [
371
+ 'label' => __('Glare', 'wts-eae'),
372
+ 'type' => Controls_Manager::SWITCHER,
373
+ 'label_on' => __('Yes', 'wts-eae'),
374
+ 'label_off' => __('No', 'wts-eae'),
375
+ 'return_value' => 'yes',
376
+ 'default' => 'yes',
377
+ ]
378
+ );
379
+
380
+ $this->add_control(
381
+ 'max_glare',
382
+ [
383
+ 'label' => __('Glare', 'wts-eae'),
384
+ 'type' => Controls_Manager::NUMBER,
385
+ 'min' => 0,
386
+ 'max' => 1,
387
+ 'step' => .1,
388
+ 'default' => 0.5,
389
+ 'condition' => [
390
+ 'glare' => 'yes',
391
+ ]
392
+ ]
393
+ );
394
+
395
+
396
+ $this->end_controls_section();
397
+
398
+ $this->start_controls_section(
399
+ 'overlay_setting',
400
+ [
401
+ 'label' => __('Overlay Setting', 'wts-eae'),
402
+ ]
403
+ );
404
+
405
+ $this->add_control(
406
+ 'show_overlay',
407
+ [
408
+ 'label' => __('Show Overlay', 'wts-eae'),
409
+ 'type' => Controls_Manager::SELECT,
410
+ 'options' => [
411
+ 'hover' => __('On Hover', 'wts-eae'),
412
+ 'always' => __('Always', 'wts-eae'),
413
+ 'never' => __('Never', 'wts-eae'),
414
+ 'hide-on-hover' => __('Hide on Hover', 'wts-eae')
415
+ ],
416
+ 'default' => 'hover',
417
+ 'render_type' => 'template',
418
+ 'prefix_class' => 'eae-overlay-',
419
+ ]
420
+ );
421
+
422
+ $this->add_control(
423
+ 'caption',
424
+ [
425
+ 'label' => __('Caption', 'wts-eae'),
426
+ 'type' => Controls_Manager::SWITCHER,
427
+ 'default' => 'yes',
428
+ 'label_on' => __('Yes', 'wts-eae'),
429
+ 'label_off' => __('No', 'wts-eae'),
430
+ 'return_value' => 'yes',
431
+ 'condition' =>
432
+ [
433
+ 'show_overlay!' => 'never',
434
+ ]
435
+ ]
436
+
437
+
438
+ );
439
+
440
+
441
+ $this->add_control(
442
+ 'icon_style',
443
+ [
444
+ 'label' => __('Icon', 'wts-eae'),
445
+ 'type' => Controls_Manager::HEADING,
446
+ 'separator' => 'before',
447
+ 'condition' =>
448
+ [
449
+ 'show_overlay!' => 'never',
450
+ ]
451
+
452
+ ]
453
+ );
454
+
455
+ $this->add_control(
456
+ 'icon',
457
+ [
458
+ 'label' => __('Icon', 'wts-eae'),
459
+ 'type' => Controls_Manager::ICONS,
460
+ 'label_block' => true,
461
+ 'default' => [
462
+ 'value' => 'fas fa-star',
463
+ 'library' => 'fa-solid',
464
+ ],
465
+
466
+ 'condition' =>
467
+ [
468
+ 'show_overlay!' => 'never',
469
+ ]
470
+ ]
471
+ );
472
+
473
+ $this->add_control(
474
+ 'view',
475
+ [
476
+ 'label' => __('View', 'wts-eae'),
477
+ 'type' => Controls_Manager::SELECT,
478
+ 'options' => [
479
+ 'default' => __('Default', 'wts-eae'),
480
+ 'stacked' => __('Stacked', 'wts-eae'),
481
+ 'framed' => __('Framed', 'wts-eae'),
482
+
483
+ ],
484
+ 'default' => 'framed',
485
+ 'prefix_class' => 'eae-icon-view-',
486
+ 'condition' => [
487
+ 'icon!' => '',
488
+ 'show_overlay!' => 'never',
489
+ ],
490
+ ]
491
+ );
492
+
493
+ $this->add_control(
494
+ 'hover_direction_aware',
495
+ [
496
+ 'label' => __('Hover Direction Aware', 'wts-eae'),
497
+ 'type' => Controls_Manager::SWITCHER,
498
+ 'label_on' => __('Yes', 'wts-eae'),
499
+ 'label_off' => __('No', 'wts-eae'),
500
+ 'return_value' => 'yes',
501
+ 'default' => 'label_off',
502
+ 'condition' => [
503
+ 'show_overlay' => 'hover',
504
+ ]
505
+ ]
506
+ );
507
+
508
+ $this->add_control(
509
+ 'overlay_speed',
510
+ [
511
+ 'label' => __('Overlay Speed', 'wts-eae'),
512
+ 'type' => Controls_Manager::SLIDER,
513
+ 'default' => [
514
+ 'size' => '500',
515
+ ],
516
+ 'range' => [
517
+ 'px' => [
518
+ 'min' => 100,
519
+ 'max' => 1000,
520
+ 'step' => 100,
521
+ ],
522
+ ],
523
+ 'condition' => [
524
+ 'show_overlay' => 'hover',
525
+ 'hover_direction_aware' => 'yes',
526
+ ]
527
+ ]
528
+ );
529
+
530
+
531
+ $this->end_controls_section();
532
+
533
+ $this->start_controls_section(
534
+ 'general_style_section',
535
+ [
536
+ 'label' => __('General', 'wts-eae'),
537
+ 'tab' => Controls_Manager::TAB_STYLE
538
+ ]
539
+ );
540
+ $this->start_controls_tabs('style_tabs');
541
+
542
+ $this->start_controls_tab(
543
+ 'normal',
544
+ [
545
+ 'label' => __('Normal', 'wts-eae')
546
+ ]
547
+ );
548
+
549
+ $this->add_group_control(
550
+ Group_Control_Border::get_type(),
551
+ [
552
+ 'name' => 'grid_border',
553
+ 'label' => __('Border', 'wts-eae'),
554
+ 'selector' => '{{WRAPPER}} .eae-gallery-item .eae-gallery-item-inner',
555
+ ]
556
+ );
557
+
558
+ $this->add_control(
559
+ 'item_border_radius',
560
+ [
561
+ 'label' => __('Border Radius', 'wts-eae'),
562
+ 'type' => Controls_Manager::DIMENSIONS,
563
+ 'size_units' => ['px', '%'],
564
+ 'selectors' => [
565
+ '{{WRAPPER}} .eae-gallery-item-inner' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
566
+ ],
567
+ ]
568
+ );
569
+
570
+ $this->add_group_control(
571
+ Group_Control_Box_Shadow::get_type(),
572
+ [
573
+ 'name' => 'item_box_shadow',
574
+ 'label' => __('Item Shadow', 'wts-eae'),
575
+ 'selector' => '{{WRAPPER}} .eae-gallery-item-inner',
576
+ ]
577
+ );
578
+
579
+ $this->end_controls_tab();
580
+
581
+
582
+ $this->start_controls_tab(
583
+ 'hover',
584
+ [
585
+ 'label' => __('Hover', 'wts-eae')
586
+ ]
587
+ );
588
+
589
+ $this->add_group_control(
590
+ Group_Control_Border::get_type(),
591
+ [
592
+ 'name' => 'grid_border_hover',
593
+ 'label' => __('Border', 'wts-eae'),
594
+ 'selector' => '{{WRAPPER}} .eae-gallery-item-inner:hover',
595
+ ]
596
+ );
597
+
598
+ $this->add_control(
599
+ 'item_border_radius_hover',
600
+ [
601
+ 'label' => __('Border Radius', 'wts-eae'),
602
+ 'type' => Controls_Manager::DIMENSIONS,
603
+ 'size_units' => ['px', '%'],
604
+ 'selectors' => [
605
+ '{{WRAPPER}} .eae-gallery-item-inner:hover *' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
606
+ '{{WRAPPER}} .eae-gallery-item-inner:hover' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};'
607
+ ],
608
+ ]
609
+ );
610
+
611
+ $this->add_group_control(
612
+ Group_Control_Box_Shadow::get_type(),
613
+ [
614
+ 'name' => 'item_box_shadow_hover',
615
+ 'label' => __('Item Shadow', 'wts-eae'),
616
+ 'selector' => '{{WRAPPER}} .eae-gallery-item-inner:hover ',
617
+ ]
618
+ );
619
+
620
+ $this->end_controls_tab();
621
+
622
+ $this->end_controls_tabs();
623
+
624
+ $this->end_controls_section();
625
+
626
+
627
+ //---
628
+
629
+
630
+ $this->start_controls_section(
631
+ 'imgae_style_section',
632
+ [
633
+ 'label' => __('Image', 'wts-eae'),
634
+ 'tab' => Controls_Manager::TAB_STYLE
635
+ ]
636
+ );
637
+ $this->start_controls_tabs('image_style_tabs');
638
+
639
+ $this->start_controls_tab(
640
+ 'image_normal',
641
+ [
642
+ 'label' => __('Normal', 'wts-eae')
643
+ ]
644
+ );
645
+
646
+ $this->add_control(
647
+ 'fg_image_opacity',
648
+ [
649
+ 'label' => __('Opacity', 'wts-eae'),
650
+ 'type' => Controls_Manager::SLIDER,
651
+ 'range' => [
652
+ 'px' => [
653
+ 'max' => 1,
654
+ 'min' => 0.10,
655
+ 'step' => 0.01,
656
+ ],
657
+ ],
658
+ 'selectors' => [
659
+ '{{WRAPPER}} .eae-gallery-item-inner img' => 'opacity: {{SIZE}};',
660
+ ],
661
+ ]
662
+ );
663
+
664
+ $this->add_group_control(
665
+ Group_Control_Css_Filter::get_type(),
666
+ [
667
+ 'name' => 'img_css_filters',
668
+ 'selector' => '{{WRAPPER}} .eae-gallery-item-inner img',
669
+ ]
670
+ );
671
+
672
+
673
+ $this->end_controls_tab();
674
+
675
+
676
+ $this->start_controls_tab(
677
+ 'image_hover',
678
+ [
679
+ 'label' => __('Hover', 'wts-eae')
680
+ ]
681
+ );
682
+
683
+ $this->add_control(
684
+ 'image_hover_opacity',
685
+ [
686
+ 'label' => __('Opacity', 'wts-eae'),
687
+ 'type' => Controls_Manager::SLIDER,
688
+ 'range' => [
689
+ 'px' => [
690
+ 'max' => 1,
691
+ 'min' => 0.10,
692
+ 'step' => 0.01,
693
+ ],
694
+ ],
695
+ 'selectors' => [
696
+ '{{WRAPPER}} .eae-gallery-item-inner:hover img' => 'opacity: {{SIZE}};',
697
+ ],
698
+ ]
699
+ );
700
+
701
+ $this->add_group_control(
702
+ Group_Control_Css_Filter::get_type(),
703
+ [
704
+ 'name' => 'img_hover_css_filters',
705
+ 'selector' => '{{WRAPPER}} .eae-gallery-item-inner:hover img',
706
+ ]
707
+ );
708
+
709
+
710
+ $this->end_controls_tab();
711
+
712
+ $this->end_controls_tabs();
713
+
714
+ $this->end_controls_section();
715
+
716
+ //-------
717
+
718
+ $this->start_controls_section(
719
+ 'style_section',
720
+ [
721
+ 'label' => __('Overlay', 'wts-eae'),
722
+ 'tab' => Controls_Manager::TAB_STYLE,
723
+ 'condition' => [
724
+ 'show_overlay!' => 'never',
725
+ ],
726
+ ]
727
+ );
728
+
729
+ $this->add_control(
730
+ 'overlay',
731
+ [
732
+ 'label' => __('Overlay', 'wts-eae'),
733
+ 'type' => Controls_Manager::HEADING,
734
+ 'separator' => 'before',
735
+ 'condition' => [
736
+ 'show_overlay!' => 'never',
737
+ ]
738
+ ]
739
+
740
+ );
741
+
742
+ $this->add_group_control(
743
+ Group_Control_Background::get_type(),
744
+ [
745
+ 'name' => 'overlay_color',
746
+ 'label' => __('Color', 'wts-eae'),
747
+ 'types' => ['none', 'classic', 'gradient'],
748
+ 'selector' => '{{WRAPPER}} .eae-gallery-item-inner .eae-grid-overlay',
749
+ 'condition' => [
750
+ 'show_overlay!' => 'never',
751
+ ],
752
+ ]
753
+ );
754
+
755
+
756
+ $this->add_control(
757
+ 'eae_animation',
758
+ [
759
+ 'label' => __('Animation', 'wts-eae'),
760
+ 'type' => Controls_Manager::SELECT,
761
+ 'options' => [
762
+ '' => __('None', 'wts-eae'),
763
+ 'pulse' => __('Pulse', 'wts-eae'),
764
+ 'headShake' => __('Head Shake', 'wts-eae'),
765
+ 'tada' => __('Tada', 'wts-eae'),
766
+ 'fadeIn' => __('Fade In', 'wts-eae'),
767
+ 'fadeInDown' => __('Fade In Down', 'wts-eae'),
768
+ 'fadeInLeft' => __('Fade In Left', 'wts-eae'),
769
+ 'fadeInRight' => __('Fade In Right', 'wts-eae'),
770
+ 'fadeInUp' => __('Fade In Up', 'wts-eae'),
771
+ 'rotateInDownLeft' => __('Rotate In Down Left', 'wts-eae'),
772
+ 'rotateInDownRight' => __('Rotate In Down Right', 'wts-eae'),
773
+ 'rotateInUpLeft' => __('Rotate In Up Left', 'wts-eae'),
774
+ 'rotateInUpRight' => __('Rotate In Up Right', 'wts-eae'),
775
+ 'zoomIn' => __('Zoom In', 'wts-eae'),
776
+ 'zoomInDown' => __('Zoom In Down', 'wts-eae'),
777
+ 'zoomInLeft' => __('Zoom In Left', 'wts-eae'),
778
+ 'zoomInRight' => __('Zoom In Right', 'wts-eae'),
779
+ 'zoomInUp' => __('Zoom In Up', 'wts-eae'),
780
+ 'slideInLeft' => __('Slide In Left', 'wts-eae'),
781
+ 'slideInRight' => __('Slide In Right', 'wts-eae'),
782
+ 'slideInUp' => __('Slide In Up', 'wts-eae'),
783
+ 'slideInDown' => __('Slide In Down', 'wts-eae'),
784
+ ],
785
+ 'default' => 'fadeIn',
786
+ 'condition' => [
787
+ 'show_overlay' => ['hover', 'hide-on-hover'],
788
+ 'hover_direction_aware!' => 'yes',
789
+ ]
790
+ ]
791
+ );
792
+
793
+ $this->add_control(
794
+ 'animation_time',
795
+ [
796
+ 'label' => __('Animation Time', 'wts-eae'),
797
+ 'type' => Controls_Manager::SLIDER,
798
+ 'default' => [
799
+ 'size' => 1.00
800
+ ],
801
+ 'range' => [
802
+ 'min' => 1.00,
803
+ 'max' => 10.00,
804
+ 'step' => 0.01
805
+ ],
806
+ 'condition' => [
807
+ 'animation!' => ''
808
+ ],
809
+ 'selectors' => [
810
+ '{{WRAPPER}}.eae-grid-overlay' => 'animation-duration:{{SIZE}}s;'
811
+ ]
812
+ ]
813
+ );
814
+
815
+ $this->add_control(
816
+ 'caption_style',
817
+ [
818
+ 'label' => __('Caption', 'wts-eae'),
819
+ 'type' => Controls_Manager::HEADING,
820
+ 'separator' => 'before',
821
+ 'condition' => [
822
+ 'caption' => 'yes',
823
+ ]
824
+ ]
825
+
826
+ );
827
+
828
+ $this->add_group_control(
829
+ Group_Control_Typography::get_type(),
830
+ [
831
+ 'name' => 'typography',
832
+ 'label' => __('Typography', 'wts-eae'),
833
+ 'global' => [
834
+ 'default' => Global_Typography::TYPOGRAPHY_SECONDARY,
835
+ ],
836
+ 'selector' => '{{WRAPPER}} .eae-overlay-caption',
837
+ 'condition' => [
838
+ 'caption' => 'yes',
839
+ ]
840
+ ]
841
+ );
842
+
843
+ $this->add_control(
844
+ 'caption_color',
845
+ [
846
+ 'label' => __('Color', 'wts-eae'),
847
+ 'type' => Controls_Manager::COLOR,
848
+ 'selectors' => [
849
+ '{{WRAPPER}} .eae-overlay-caption' => 'color:{{VALUE}};'
850
+ ],
851
+ 'global' => [
852
+ 'default' => Global_Colors::COLOR_PRIMARY,
853
+ ],
854
+ 'condition' => [
855
+ 'caption' => 'yes',
856
+ ]
857
+ ]
858
+ );
859
+
860
+ $this->add_control(
861
+ 'caption_color_hover',
862
+ [
863
+ 'label' => __('Hover Color', 'wts-eae'),
864
+ 'type' => Controls_Manager::COLOR,
865
+ 'selectors' => [
866
+ '{{WRAPPER}} .eae-overlay-caption:hover' => 'color:{{VALUE}};'
867
+ ],
868
+ 'condition' => [
869
+ 'caption' => 'yes',
870
+ ]
871
+ ]
872
+ );
873
+
874
+
875
+ $this->add_control(
876
+ 'icon_overlay_style',
877
+ [
878
+ 'label' => __('Icon', 'wts-eae'),
879
+ 'type' => Controls_Manager::HEADING,
880
+ 'separator' => 'before',
881
+ 'condition' => [
882
+ 'icon!' => '',
883
+ 'show_overlay!' => 'never',
884
+ ],
885
+
886
+ ]
887
+
888
+ );
889
+
890
+ $this->add_control(
891
+ 'primary_color',
892
+ [
893
+ 'label' => __('Primary Color', 'wts-eae'),
894
+ 'type' => Controls_Manager::COLOR,
895
+ 'default' => '',
896
+ 'selectors' => [
897
+ '{{WRAPPER}}.eae-icon-view-stacked .eae-overlay-icon' => 'background-color: {{VALUE}};',
898
+ '{{WRAPPER}}.eae-icon-view-framed .eae-overlay-icon, {{WRAPPER}}.eae-icon-view-default .eae-overlay-icon' => 'color: {{VALUE}}; border-color: {{VALUE}};',
899
+ '{{WRAPPER}}.eae-icon-view-framed .eae-overlay-icon svg, {{WRAPPER}}.eae-icon-view-default .eae-overlay-icon svg' => 'fill : {{VALUE}};',
900
+ ],
901
+ 'global' => [
902
+ 'default' => Global_Colors::COLOR_PRIMARY,
903
+ ],
904
+ 'condition' => [
905
+ 'icon!' => '',
906
+ 'show_overlay!' => 'never',
907
+
908
+ ],
909
+ ]
910
+ );
911
+
912
+ $this->add_control(
913
+ 'secondary_color',
914
+ [
915
+ 'label' => __('Secondary Color', 'wts-eae'),
916
+ 'type' => Controls_Manager::COLOR,
917
+ 'default' => '',
918
+ 'selectors' => [
919
+ '{{WRAPPER}}.eae-icon-view-framed .eae-overlay-icon' => 'background-color: {{VALUE}};',
920
+ '{{WRAPPER}}.eae-icon-view-stacked .eae-overlay-icon i' => 'color: {{VALUE}};',
921
+ '{{WRAPPER}}.eae-icon-view-stacked .eae-overlay-icon svg' => 'fill: {{VALUE}};',
922
+ ],
923
+ 'condition' => [
924
+ 'icon!' => '',
925
+ 'view!' => 'default',
926
+ 'show_overlay!' => 'never',
927
+ ],
928
+ ]
929
+ );
930
+
931
+ $this->add_control(
932
+ 'primary_color_hover',
933
+ [
934
+ 'label' => __('Primary Color Hover', 'wts-eae'),
935
+ 'type' => Controls_Manager::COLOR,
936
+ 'default' => '',
937
+ 'selectors' => [
938
+ '{{WRAPPER}}.eae-icon-view-stacked .eae-overlay-icon:hover' => 'background-color: {{VALUE}};',
939
+ '{{WRAPPER}}.eae-icon-view-framed .eae-overlay-icon:hover, {{WRAPPER}}.eae-icon-view-default .eae-overlay-icon' => 'color: {{VALUE}}; border-color: {{VALUE}};',
940
+ '{{WRAPPER}}.eae-icon-view-framed .eae-overlay-icon:hover svg, {{WRAPPER}}.eae-icon-view-default .eae-overlay-icon:hover svg' => 'fill: {{VALUE}}',
941
+ ],
942
+ 'condition' => [
943
+ 'icon!' => '',
944
+ 'show_overlay!' => 'never',
945
+ ],
946
+
947
+ ]
948
+ );
949
+
950
+ $this->add_control(
951
+ 'secondary_color_hover',
952
+ [
953
+ 'label' => __('Secondary Color Hover', 'wts-eae'),
954
+ 'type' => Controls_Manager::COLOR,
955
+ 'default' => '',
956
+ 'condition' => [
957
+ 'view!' => 'default',
958
+ 'show_overlay!' => 'never',
959
+ ],
960
+ 'selectors' => [
961
+ '{{WRAPPER}}.eae-icon-view-framed:hover .eae-overlay-icon:hover' => 'background-color: {{VALUE}};',
962
+ '{{WRAPPER}}.eae-icon-view-stacked:hover .eae-overlay-icon:hover' => 'color: {{VALUE}};',
963
+ '{{WRAPPER}}.eae-icon-view-stacked:hover .eae-overlay-icon:hover svg' => 'fill: {{VALUE}};',
964
+ ],
965
+ ]
966
+ );
967
+
968
+ $this->add_control(
969
+ 'size',
970
+ [
971
+ 'label' => __('Size', 'wts-eae'),
972
+ 'type' => Controls_Manager::SLIDER,
973
+ 'range' => [
974
+ 'px' => [
975
+ 'min' => 6,
976
+ 'max' => 300,
977
+ ],
978
+ ],
979
+ 'default' => [
980
+ 'size' => '20',
981
+ 'unit' => 'px',
982
+ ],
983
+ 'selectors' => [
984
+ '{{WRAPPER}} .eae-overlay-icon i' => 'font-size: {{SIZE}}{{UNIT}};',
985
+ '{{WRAPPER}} .eae-overlay-icon svg' => 'width : {{SIZE}}{{UNIT}};',
986
+ ],
987
+ 'condition' => [
988
+ 'icon!' => '',
989
+ 'show_overlay!' => 'never',
990
+ ],
991
+ ]
992
+ );
993
+
994
+ $this->add_control(
995
+ 'icon_padding',
996
+ [
997
+ 'label' => __('Icon Padding', 'wts-eae'),
998
+ 'type' => Controls_Manager::SLIDER,
999
+ 'selectors' => [
1000
+ '{{WRAPPER}} .eae-overlay-icon' => 'padding: {{SIZE}}{{UNIT}};',
1001
+ ],
1002
+ 'range' => [
1003
+ 'em' => [
1004
+ 'min' => 0,
1005
+ 'max' => 5,
1006
+ ],
1007
+ ],
1008
+ 'condition' => [
1009
+ 'view!' => 'default',
1010
+ 'show_overlay!' => 'never',
1011
+ ],
1012
+
1013
+ ]
1014
+ );
1015
+
1016
+ $this->add_control(
1017
+ 'rotate',
1018
+ [
1019
+ 'label' => __('Rotate', 'wts-eae'),
1020
+ 'type' => Controls_Manager::SLIDER,
1021
+ 'default' => [
1022
+ 'size' => 0,
1023
+ 'unit' => 'deg',
1024
+ ],
1025
+ 'selectors' => [
1026
+ '{{WRAPPER}} .eae-overlay-icon i , {{WRAPPER}} .eae-overlay-icon svg' => 'transform: rotate({{SIZE}}{{UNIT}});',
1027
+ ],
1028
+ 'condition' => [
1029
+ 'icon!' => '',
1030
+ 'show_overlay!' => 'never',
1031
+ ],
1032
+ ]
1033
+ );
1034
+
1035
+ $this->add_control(
1036
+ 'border_width',
1037
+ [
1038
+ 'label' => __('Border Width', 'wts-eae'),
1039
+ 'type' => Controls_Manager::DIMENSIONS,
1040
+ 'selectors' => [
1041
+ '{{WRAPPER}} .eae-overlay-icon' => 'border-width: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1042
+ ],
1043
+ 'condition' => [
1044
+ 'view' => 'framed',
1045
+ 'show_overlay!' => 'never',
1046
+ ],
1047
+ ]
1048
+ );
1049
+
1050
+ $this->add_control(
1051
+ 'border_radius',
1052
+ [
1053
+ 'label' => __('Border Radius', 'wts-eae'),
1054
+ 'type' => Controls_Manager::DIMENSIONS,
1055
+ 'size_units' => ['px', '%'],
1056
+ 'selectors' => [
1057
+ '{{WRAPPER}} .eae-overlay-icon' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1058
+ ],
1059
+ 'condition' => [
1060
+ 'view!' => 'default',
1061
+ 'show_overlay!' => 'never',
1062
+ ],
1063
+ ]
1064
+ );
1065
+
1066
+ $this->end_controls_section();
1067
+
1068
+ $this->start_controls_section(
1069
+ 'filter_style_section',
1070
+ [
1071
+ 'label' => __('Filter', 'wts-eae'),
1072
+ 'tab' => Controls_Manager::TAB_STYLE
1073
+ ]
1074
+ );
1075
+
1076
+ $this->add_group_control(
1077
+ Group_Control_Typography::get_type(),
1078
+ [
1079
+ 'name' => 'filter_typography',
1080
+ 'label' => __('Typography', 'wts-eae'),
1081
+
1082
+ 'global' => [
1083
+ 'default' => Global_Typography::TYPOGRAPHY_ACCENT
1084
+ ],
1085
+ 'selector' => '{{WRAPPER}} .eae-filter-label',
1086
+ ]
1087
+ );
1088
+ $this->start_controls_tabs('filter_style_tabs');
1089
+
1090
+ $this->start_controls_tab(
1091
+ 'filter_normal',
1092
+ [
1093
+ 'label' => __('Normal', 'wts-eae')
1094
+ ]
1095
+ );
1096
+
1097
+ $this->add_control(
1098
+ 'filter_color',
1099
+ [
1100
+ 'label' => __('Color', 'wts-eae'),
1101
+ 'type' => Controls_Manager::COLOR,
1102
+ 'selectors' => [
1103
+ '{{WRAPPER}} .eae-filter-label' => 'color: {{VALUE}}',
1104
+ ],
1105
+ ]
1106
+ );
1107
+
1108
+ $this->add_control(
1109
+ 'current_filter_color',
1110
+ [
1111
+ 'label' => __('Current Color', 'wts-eae'),
1112
+ 'type' => Controls_Manager::COLOR,
1113
+ 'selectors' => [
1114
+ '{{WRAPPER}} .eae-filter-label.current' => 'color: {{VALUE}}',
1115
+ ],
1116
+ ]
1117
+ );
1118
+
1119
+ $this->add_control(
1120
+ 'filter_bg_color',
1121
+ [
1122
+ 'label' => __('Background Color', 'wts-eae'),
1123
+ 'type' => Controls_Manager::COLOR,
1124
+ 'global' => [
1125
+ 'default' => Global_Colors::COLOR_ACCENT,
1126
+ ],
1127
+ 'selectors' => [
1128
+ '{{WRAPPER}} .eae-filter-label' => 'background-color: {{VALUE}}',
1129
+ ],
1130
+ ]
1131
+ );
1132
+
1133
+ $this->add_control(
1134
+ 'current_filter_bg_color',
1135
+ [
1136
+ 'label' => __('Current Background Color', 'wts-eae'),
1137
+ 'type' => Controls_Manager::COLOR,
1138
+ 'global' => [
1139
+ 'default' => Global_Colors::COLOR_PRIMARY,
1140
+ ],
1141
+ 'selectors' => [
1142
+ '{{WRAPPER}} .eae-filter-label.current' => 'background-color: {{VALUE}}',
1143
+ ],
1144
+ ]
1145
+ );
1146
+
1147
+ $this->add_group_control(
1148
+ Group_Control_Border::get_type(),
1149
+ [
1150
+ 'name' => 'filter-border',
1151
+ 'label' => __('Border', 'wts-eae'),
1152
+ 'selector' => '{{WRAPPER}} .eae-filter-label',
1153
+ ]
1154
+ );
1155
+
1156
+ $this->add_control(
1157
+ 'filter_border_current_color',
1158
+ [
1159
+ 'label' => __('Current Border Color', 'wts-eae'),
1160
+ 'type' => Controls_Manager::COLOR,
1161
+ 'selectors' => [
1162
+ '{{WRAPPER}} .eae-filter-label.current' => 'border-color: {{VALUE}}',
1163
+ ],
1164
+ ]
1165
+ );
1166
+ $this->add_group_control(
1167
+ Group_Control_Box_Shadow::get_type(),
1168
+ [
1169
+ 'name' => 'filter_border_box_shadow',
1170
+ 'label' => __( 'Box Shadow', 'wts-eae' ),
1171
+ 'selector' => '{{WRAPPER}} .eae-filter-label',
1172
+ ]
1173
+ );
1174
+
1175
+
1176
+ $this->add_control(
1177
+ 'filter_border_radius',
1178
+ [
1179
+ 'label' => __('Border Radius', 'wts-eae'),
1180
+ 'type' => Controls_Manager::DIMENSIONS,
1181
+ 'size_units' => ['px', '%'],
1182
+ 'selectors' => [
1183
+ '{{WRAPPER}} .eae-filter-label' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1184
+ ],
1185
+ ]
1186
+ );
1187
+
1188
+ $this->end_controls_tab();
1189
+
1190
+
1191
+ $this->start_controls_tab(
1192
+ 'filter_hover',
1193
+ [
1194
+ 'label' => __('Hover', 'wts-eae')
1195
+ ]
1196
+ );
1197
+
1198
+ $this->add_control(
1199
+ 'filter_hover_color',
1200
+ [
1201
+ 'label' => __('Color', 'wts-eae'),
1202
+ 'type' => Controls_Manager::COLOR,
1203
+ 'selectors' => [
1204
+ '{{WRAPPER}} .eae-filter-label:hover' => 'color: {{VALUE}}',
1205
+ ],
1206
+ ]
1207
+ );
1208
+ $this->add_control(
1209
+ 'current_filter_hover_color',
1210
+ [
1211
+ 'label' => __('Current Color', 'wts-eae'),
1212
+ 'type' => Controls_Manager::COLOR,
1213
+ 'selectors' => [
1214
+ '{{WRAPPER}} .eae-filter-label:hover.current' => 'color: {{VALUE}}',
1215
+ ],
1216
+ ]
1217
+ );
1218
+
1219
+ $this->add_control(
1220
+ 'filter_bg_hover_color',
1221
+ [
1222
+ 'label' => __('Background Color', 'wts-eae'),
1223
+ 'type' => Controls_Manager::COLOR,
1224
+ 'selectors' => [
1225
+ '{{WRAPPER}} .eae-filter-label:hover' => 'background-color: {{VALUE}}',
1226
+ ],
1227
+ ]
1228
+ );
1229
+ $this->add_control(
1230
+ 'current_filter_bg_hover_color',
1231
+ [
1232
+ 'label' => __('Current Background Color', 'wts-eae'),
1233
+ 'type' => Controls_Manager::COLOR,
1234
+ 'selectors' => [
1235
+ '{{WRAPPER}} .eae-filter-label:hover.current' => 'background-color: {{VALUE}}',
1236
+ ],
1237
+ ]
1238
+ );
1239
+ $this->add_control(
1240
+ 'filter_border_hover_color',
1241
+ [
1242
+ 'label' => __('Border Color', 'wts-eae'),
1243
+ 'type' => Controls_Manager::COLOR,
1244
+ 'selectors' => [
1245
+ '{{WRAPPER}} .eae-filter-label:hover' => 'border-color: {{VALUE}}',
1246
+ ],
1247
+ ]
1248
+ );
1249
+ $this->add_control(
1250
+ 'filter_border_current_hover_color',
1251
+ [
1252
+ 'label' => __('Current Border Color', 'wts-eae'),
1253
+ 'type' => Controls_Manager::COLOR,
1254
+ 'selectors' => [
1255
+ '{{WRAPPER}} .eae-filter-label:hover.current' => 'border-color: {{VALUE}}',
1256
+ ],
1257
+ ]
1258
+ );
1259
+
1260
+ $this->add_group_control(
1261
+ Group_Control_Box_Shadow::get_type(),
1262
+ [
1263
+ 'name' => 'filter_border_box_shadow_hover',
1264
+ 'label' => __( 'Box Shadow', 'wts-eae' ),
1265
+ 'selector' => '{{WRAPPER}} .eae-filter-label:hover',
1266
+ ]
1267
+ );
1268
+
1269
+ $this->add_control(
1270
+ 'filter_border_hover_radius',
1271
+ [
1272
+ 'label' => __('Border Radius', 'wts-eae'),
1273
+ 'type' => Controls_Manager::DIMENSIONS,
1274
+ 'size_units' => ['px', '%'],
1275
+ 'selectors' => [
1276
+ '{{WRAPPER}} .eae-filter-label:hover' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1277
+ ],
1278
+ ]
1279
+ );
1280
+
1281
+
1282
+ $this->end_controls_tab();
1283
+
1284
+ $this->end_controls_tabs();
1285
+
1286
+ $this->add_responsive_control(
1287
+ 'filter_align',
1288
+ [
1289
+ 'label' => __( 'Alignment', 'wts-eae' ),
1290
+ 'type' => Controls_Manager::CHOOSE,
1291
+ 'options' => [
1292
+ 'flex-start' => [
1293
+ 'title' => __( 'Left', 'wts-eae' ),
1294
+ 'icon' => 'fa fa-align-left',
1295
+ ],
1296
+ 'center' => [
1297
+ 'title' => __( 'Center', 'wts-eae' ),
1298
+ 'icon' => 'fa fa-align-center',
1299
+ ],
1300
+ 'flex-end' => [
1301
+ 'title' => __( 'Right', 'wts-eae' ),
1302
+ 'icon' => 'fa fa-align-right',
1303
+ ],
1304
+ ],
1305
+ 'selectors' => [
1306
+ '{{WRAPPER}} .eae-gallery-filter' => 'justify-content : {{VALUE}}'
1307
+ ],
1308
+ 'default' => 'center',
1309
+ 'toggle' => true,
1310
+ ]
1311
+ );
1312
+
1313
+ $this->add_responsive_control(
1314
+ 'filter_padding',
1315
+ [
1316
+ 'label' => __('Padding', 'wts-eae'),
1317
+ 'type' => Controls_Manager::DIMENSIONS,
1318
+ 'size_units' => ['px', 'em'],
1319
+ 'selectors' => [
1320
+ '{{WRAPPER}} .eae-filter-label' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1321
+ ],
1322
+ ]
1323
+ );
1324
+ $this->add_responsive_control(
1325
+ 'filter_margin',
1326
+ [
1327
+ 'label' => __('Spacing', 'wts-eae'),
1328
+ 'type' => Controls_Manager::DIMENSIONS,
1329
+ 'size_units' => ['px', 'em'],
1330
+ 'selectors' => [
1331
+ '{{WRAPPER}} .eae-filter-label' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1332
+ ],
1333
+ 'default' => [
1334
+ 'top' => '',
1335
+ 'right' => '',
1336
+ 'bottom' => '10',
1337
+ 'left' => '',
1338
+ 'unit' => 'px',
1339
+ 'isLinked' => '',
1340
+ ],
1341
+ ]
1342
+ );
1343
+
1344
+
1345
+ $this->end_controls_section();
1346
+
1347
+
1348
+ }
1349
+
1350
+ protected function render()
1351
+ {
1352
+ $settings = $this->get_settings_for_display();
1353
+ //echo '<pre>'; print_r($settings); echo '</pre>';
1354
+ $max_tilt = $settings['max_tilt'];
1355
+ $perspective = $settings['perspective'];
1356
+ $speed = $settings['speed'];
1357
+ $tilt_axis = $settings['tilt_axis'];
1358
+ $glare = $settings['glare'];
1359
+ $max_glare = $settings['max_glare'];
1360
+ $animation = $settings['eae_animation'];
1361
+ $icon = $settings['icon']['value'];
1362
+ $overlay_speed = $settings['overlay_speed']['size'];
1363
+
1364
+ $filter_groups = $settings['eae_filterable_gallery_content'];
1365
+ //echo '<pre>'; print_r($filter_groups); echo '</pre>';
1366
+
1367
+ $this->add_render_attribute('gallery-wrapper', 'class', 'eae-fg-wrapper');
1368
+ if ($settings['hover_tilt'] == 'yes') {
1369
+ $this->add_render_attribute('gallery-wrapper', 'class', 'eae-tilt-yes');
1370
+ $this->add_render_attribute('gallery-wrapper', 'data-maxtilt', $max_tilt);
1371
+ $this->add_render_attribute('gallery-wrapper', 'data-perspective', $perspective);
1372
+ $this->add_render_attribute('gallery-wrapper', 'data-speed', $speed);
1373
+ $this->add_render_attribute('gallery-wrapper', 'data-tilt-axis', $tilt_axis);
1374
+ $this->add_render_attribute('gallery-wrapper', 'data-glare', $glare);
1375
+ if ($glare == 'yes') {
1376
+ $this->add_render_attribute('gallery-wrapper', 'data-max-glare', $max_glare);
1377
+ }
1378
+ }
1379
+ if ($settings['masonry'] == 'yes') {
1380
+ $this->add_render_attribute('gallery-wrapper', 'class', 'masonry-yes');
1381
+ }
1382
+ if ($settings['hover_direction_aware'] == 'yes' && $settings['show_overlay'] == 'hover') {
1383
+ $this->add_render_attribute('gallery-wrapper', 'class', 'eae-hover-direction-effect');
1384
+ $this->add_render_attribute('gallery-wrapper', 'data-overlay-speed', $overlay_speed);
1385
+ }
1386
+ if ($settings['enable_image_ratio'] == 'yes') {
1387
+ $this->add_render_attribute('gallery-wrapper', 'class', 'eae-image-ratio-' . $settings['enable_image_ratio']);
1388
+ }
1389
+
1390
+ if($settings['open_lightbox'] === 'yes'){
1391
+ $this->add_render_attribute('link', [
1392
+ 'data-elementor-open-lightbox' => $settings['open_lightbox'],
1393
+ 'data-elementor-lightbox-slideshow' => 'eae-fg-gallery-' . rand(0, 99999),
1394
+ ]);
1395
+ }else{
1396
+ $this->add_render_attribute('link', [
1397
+ 'data-elementor-open-lightbox' => 'no',
1398
+ ]);
1399
+ }
1400
+
1401
+ if (Plugin::$instance->editor->is_edit_mode()) {
1402
+ $this->add_render_attribute('link', [
1403
+ 'class' => 'elementor-clickable',
1404
+ ]);
1405
+ }
1406
+
1407
+ ?>
1408
  <div <?php echo $this->get_render_attribute_string('gallery-wrapper'); ?>>
1409
  <div class="eae-gallery-filter">
1410
+ <?PHP if ($settings['show_all'] == 'yes' && count($settings['eae_filterable_gallery_content']) > 1) { ?>
1411
+ <a href="#" data-filter="*" class="eae-filter-label current"><?php echo $settings['show_all_tab_text']; ?></a>
1412
+ <?php } ?>
1413
+ <?php
1414
+ if (count($settings['eae_filterable_gallery_content']) > 1) {
1415
+ //echo '<pre>'; print_r($filter_groups); echo '</pre>';
1416
+ $demo_images = [];
1417
+ if( empty($filter_group[0]['eae_img_gallery']) && empty($filter_group[1]['eae_img_gallery']) && empty($filter_group[0]['eae_img_gallery']) ){
1418
+ $demo_images[] = $this->get_placeholder_images();
1419
+ }
1420
+ foreach ($filter_groups as $filter_group) {
1421
+ $images = $filter_group['eae_img_gallery'];
1422
+ if(empty($images)){
1423
+ //echo '<pre>'; print_r($demo_images); echo '</pre>';
1424
+ $images = $demo_images;
1425
+ }
1426
+ if (!empty($images)) {
1427
+ $filter_label = $filter_group['eae_filter_label'];
1428
+ $filter_name = strtolower($filter_group['eae_filter_label']);
1429
+ $filter_name = str_replace(" ", "-", $filter_name);
1430
+ //$filter_group['eae_filter_class'];
1431
+ ?>
1432
  <a href="#" data-filter=".<?php echo $filter_name; ?>"
1433
  class="eae-filter-label"><?php echo $filter_label; ?></a>
1434
+ <?php
1435
+ }
1436
+ }
1437
+ }
1438
+ ?>
1439
  </div>
1440
  <div class="eae-fg-image">
1441
+ <?php
1442
+ foreach ($filter_groups as $filter_group) {
1443
+ $images = $filter_group['eae_img_gallery'];
1444
+ if(empty($images)){
1445
+ //echo '<pre>'; print_r($demo_images); echo '</pre>';
1446
+ $images = $demo_images;
1447
+ }
1448
+ $filter_name = strtolower($filter_group['eae_filter_label']);
1449
+ $filter_name = str_replace(" ", "-", $filter_name);
1450
+ $this->add_render_attribute('gallery-item-' . $filter_group['_id'], 'class', 'eae-gallery-item');
1451
+ $this->add_render_attribute('gallery-item-' . $filter_group['_id'], 'class', $filter_name);
1452
+ if ($settings['hover_tilt'] == 'yes') {
1453
+ $this->add_render_attribute('gallery-item-' . $filter_group['_id'], 'class', 'el-tilt');
1454
+ }
1455
+ if (!empty($images)) {
1456
+ foreach ($images as $image) {
1457
+ $image_url=wp_get_attachment_image_url($image['id'],$settings['thumbnail_size']);
1458
+ ?>
1459
  <div <?php echo $this->get_render_attribute_string('gallery-item-' . $filter_group['_id']); ?>>
1460
  <div class="eae-gallery-item-inner">
1461
+ <a href="<?php echo $image_url; ?>" <?php echo $this->get_render_attribute_string('link'); ?>>
1462
+ <?php if ($settings['enable_image_ratio'] == 'yes'){ ?>
1463
  <div class="eae-fg-img-wrapper">
1464
+ <?php } ?>
1465
+ <?php if(!empty($image['id'])){
1466
+ $img = wp_get_attachment_image($image['id'], $settings['thumbnail_size']);
1467
+ echo $img;
1468
+ }else{?>
1469
  <img src="<?php echo $image['url']; ?>">
1470
+ <?php }
1471
+
1472
+ ?>
1473
+ <?php if ($settings['enable_image_ratio'] == 'yes'){ ?>
1474
  </div>
1475
+ <?php } ?>
1476
  <div class="eae-grid-overlay <?php echo $animation ?>">
1477
  <div class="eae-grid-overlay-inner">
1478
  <div class="eae-icon-wrapper">
1479
+ <?php if (!empty($icon)) { ?>
1480
  <div class="eae-overlay-icon">
1481
+ <?php
1482
+ Icons_Manager::render_icon($settings['icon'], ['aria-hidden' => 'true']);
1483
+ ?>
1484
  </div>
1485
+ <?php } ?>
1486
  </div>
1487
+ <?php
1488
+ $caption = wp_get_attachment_caption($image['id']);
1489
+ if (!empty($caption) && $settings['caption'] == 'yes') { ?>
1490
  <div class="eae-overlay-caption"><?php echo $caption; ?></div>
1491
+ <?php } ?>
1492
  </div>
1493
  </div>
1494
  </a>
1495
  </div>
1496
  </div>
1497
+ <?php }
1498
+ }
1499
+ }
1500
+ ?>
1501
  </div>
1502
  </div>
1503
+ <?php
1504
+
1505
+ }
1506
+
1507
+ public function get_placeholder_images(){
1508
+ $demo_images =
1509
+ [
1510
+ 'id' => '',
1511
+ 'url' => Utils::get_placeholder_image_src(),
1512
+ ];
1513
+ return $demo_images;
1514
+ }
1515
  }
modules/flip-box-set.php DELETED
@@ -1,1800 +0,0 @@
1
- <?php
2
- namespace Elementor;
3
-
4
- if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
5
-
6
- class Widget_FlipBoxSet extends Widget_Base {
7
-
8
- public function get_name() {
9
- return 'wts-flipboxset';
10
- }
11
-
12
- public function get_title() {
13
- return __( 'EAE - Flip Box Set', 'wts-eae' );
14
- }
15
-
16
- public function get_icon() {
17
- return 'eicon-flip-box wts-eae-pe';
18
- }
19
-
20
- public function get_categories() {
21
- return [ 'wts-eae' ];
22
- }
23
-
24
- protected function _register_controls() {
25
-
26
- $this->start_controls_section(
27
- 'section_general',
28
- [
29
- 'label' => __( 'General', 'wts-eae' )
30
- ]
31
- );
32
-
33
- $this->add_responsive_control(
34
- 'flip_box_count_row',
35
- [
36
- 'label' => __( 'Column', 'wts-eae' ),
37
- 'type' => Controls_Manager::NUMBER,
38
- 'desktop_default' => '3',
39
- 'tablet_default' => '2',
40
- 'mobile_default' => '1',
41
- 'min' => 1,
42
- 'max' => 6,
43
- 'selectors' => [
44
- '{{WRAPPER}} .eae-flip-box-wrapper' => 'width: calc(100%/{{VALUE}} - 1%) ',
45
- ]
46
- ]
47
- );
48
- $repeater = new Repeater();
49
-
50
- $repeater->add_control(
51
- 'front_box_heading',
52
- [
53
- 'label' => __('Front Box', 'wts-eae'),
54
- 'type' => Controls_Manager::HEADING,
55
- ]
56
- );
57
-
58
- $repeater -> start_controls_tabs( 'front_box' );
59
-
60
- $repeater -> start_controls_tab(
61
- 'front_box_content',
62
- [
63
- 'label' => __( 'Content', 'wts-eae' ),
64
- ]
65
- );
66
-
67
- $repeater->add_control(
68
- 'front_box_element',
69
- [
70
- 'label' => __( 'Box Element', 'wts-eae' ),
71
- 'type' => Controls_Manager::CHOOSE,
72
- 'options' => [
73
- 'none' => [
74
- 'title' => __( 'None', 'wts-eae' ),
75
- 'icon' => 'fa fa-ban',
76
- ],
77
- 'image' => [
78
- 'title' => __( 'Image', 'wts-eae' ),
79
- 'icon' => 'fa fa-picture-o',
80
- ],
81
- 'icon' => [
82
- 'title' => __( 'Icon', 'wts-eae' ),
83
- 'icon' => 'fa fa-star',
84
-
85
- ],
86
- ],
87
- 'default' => 'icon',
88
- ]
89
- );
90
-
91
- $repeater->add_control('front_box_image',
92
- [
93
- 'label' => __( 'Choose Image', 'wts-eae' ),
94
- 'type' => Controls_Manager::MEDIA,
95
- 'default' => [
96
- 'url' => Utils::get_placeholder_image_src(),
97
- ],
98
- 'condition' => [
99
- 'front_box_element' => 'image',
100
- ],
101
- 'show_label'=> true,
102
- ]
103
- );
104
-
105
- $repeater->add_group_control(
106
- Group_Control_Image_Size::get_type(),
107
- [
108
- 'name' => 'front_image_size', // Actually its `image_size`
109
- 'default' => 'thumbnail',
110
- 'condition' => [
111
- 'front_box_element' => 'image',
112
- 'front_box_image[id]!' => '',
113
- ],
114
- ]
115
- );
116
- $repeater->add_control(
117
- 'front_image_width',
118
- [
119
- 'label' => __( 'Image Width', 'wts-eae' ),
120
- 'type' => Controls_Manager::SLIDER,
121
- 'range' => [
122
- 'px' => [
123
- 'min' => 6,
124
- 'max' => 300,
125
- ],
126
- ],
127
- 'default' => [
128
- 'size' => 100,
129
- ],
130
- 'selectors' => [
131
- '{{WRAPPER}} {{CURRENT_ITEM}} .eae-flip-box-front img' => 'max-width: {{SIZE}}{{UNIT}};',
132
- ],
133
- 'condition' => [
134
- 'front_box_element' => 'image',
135
- 'front_box_image[id]!' => '',
136
- ],
137
- ]
138
- );
139
-
140
- $repeater->add_control(
141
- 'front_icon',
142
- [
143
- 'label' => __( 'Icon', 'wts-eae' ),
144
- 'type' => Controls_Manager::ICON,
145
- 'label_block' => true,
146
- 'default' => 'fa fa-star',
147
- 'condition' => [
148
- 'front_box_element' => 'icon',
149
- ],
150
- ]
151
- );
152
-
153
- $repeater->add_control(
154
- 'front_title',
155
- [
156
- 'label' => __( 'Title', 'wts-eae' ),
157
- 'type' => Controls_Manager::TEXT,
158
- 'placeholder' => __( 'Enter text', 'wts-eae' ),
159
- 'default' => __( 'Text Title', 'wts-eae' ),
160
- ]
161
- );
162
-
163
- $repeater->add_control(
164
- 'front_title_html_tag',
165
- [
166
- 'label' => __( 'HTML Tag', 'wts-eae' ),
167
- 'type' => Controls_Manager::SELECT,
168
- 'options' => [
169
- 'h1' => __( 'H1', 'wts-eae' ),
170
- 'h2' => __( 'H2', 'wts-eae' ),
171
- 'h3' => __( 'H3', 'wts-eae' ),
172
- 'h4' => __( 'H4', 'wts-eae' ),
173
- 'h5' => __( 'H5', 'wts-eae' ),
174
- 'h6' => __( 'H6', 'wts-eae' )
175
- ],
176
- 'default' => 'h3',
177
- ]
178
- );
179
-
180
- $repeater->add_control(
181
- 'front_text',
182
- [
183
- 'label' => __( 'Text', 'wts-eae' ),
184
- 'type' => Controls_Manager::TEXTAREA,
185
- 'placeholder' => __( 'Enter text', 'wts-eae' ),
186
- 'default' => __( 'Add some nice text here.', 'wts-eae' ),
187
- ]
188
- );
189
- $repeater -> end_controls_tab();
190
-
191
- $repeater -> start_controls_tab(
192
- 'front_box_background_ind_head',
193
- [
194
- 'label' => __( 'Style', 'wts-eae' ),
195
- ]
196
- );
197
-
198
- $repeater->add_control(
199
- 'style_indv',
200
- [
201
- 'label' => __( 'Overwrite Global Style', 'wts-eae' ),
202
- 'type' => Controls_Manager::SWITCHER,
203
- 'options' => [
204
- 'yes' => __( 'Yes', 'wts-eae' ),
205
- 'no' => __( 'No', 'wts-eae' ),
206
- ],
207
- 'default' => 'no',
208
-
209
- ]
210
- );
211
-
212
- $repeater->add_control(
213
- 'front_icon_view',
214
- [
215
- 'label' => __( 'View', 'wts-eae' ),
216
- 'type' => Controls_Manager::SELECT,
217
- 'options' => [
218
- 'default' => __( 'Default', 'wts-eae' ),
219
- 'stacked' => __( 'Stacked', 'wts-eae' ),
220
- 'framed' => __( 'Framed', 'wts-eae' ),
221
- ],
222
- 'default' => 'default',
223
- 'condition' => [
224
- 'front_box_element' => 'icon',
225
- 'style_indv' => 'yes',
226
- ],
227
-
228
- ]
229
- );
230
-
231
- $repeater->add_control(
232
- 'front_icon_shape',
233
- [
234
- 'label' => __( 'Shape', 'wts-eae' ),
235
- 'type' => Controls_Manager::SELECT,
236
- 'options' => [
237
- 'circle' => __( 'Circle', 'wts-eae' ),
238
- 'square' => __( 'Square', 'wts-eae' ),
239
- ],
240
- 'default' => 'circle',
241
- 'condition' => [
242
- 'front_box_element' => 'icon',
243
- 'front_icon_view!' => 'default',
244
- 'style_indv' => 'yes',
245
- ],
246
- ]
247
- );
248
-
249
-
250
- $repeater->add_group_control(
251
- Group_Control_Background::get_type(),
252
- [
253
- 'name' => 'front_box_background_ind',
254
- 'types' => [ 'classic', 'gradient'],
255
- 'selector' => '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-flip-box-front',
256
- 'condition' => [
257
- 'style_indv' => 'yes',
258
- ],
259
- ]
260
- );
261
- $repeater->add_control(
262
- 'front_box_background_overlay_ind',
263
- [
264
- 'label' => __( 'Background Overlay', 'wts-eae' ),
265
- 'type' => Controls_Manager::COLOR,
266
- 'default' => '',
267
- 'separator' => 'before',
268
- 'condition' => [
269
- 'front_box_background_ind_image[id]!' => '',
270
- 'style_indv' => 'yes',
271
- ],
272
- ]
273
- );
274
- $repeater->add_control(
275
- 'front_box_title_color_indv',
276
- [
277
- 'label' => __( 'Title', 'wts-eae' ),
278
- 'type' => Controls_Manager::COLOR,
279
- 'scheme' => [
280
- 'type' => Scheme_Color::get_type(),
281
- 'value' => Scheme_Color::COLOR_1,
282
- ],
283
- 'default' => '#FFF',
284
- 'selectors' => [
285
- '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .front-icon-title ' => 'color: {{VALUE}};',
286
- ],
287
- 'condition' => [
288
- 'style_indv' => 'yes',
289
- ],
290
- ]
291
- );
292
-
293
- $repeater->add_group_control(
294
- Group_Control_Typography::get_type(),
295
- [
296
- 'name' => 'front_box_title_typography_indv',
297
- 'label' => __( 'Title Typography', 'wts-eae' ),
298
- 'scheme' => Scheme_Typography::TYPOGRAPHY_4,
299
- 'selector' => '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .front-icon-title',
300
- 'condition' => [
301
- 'style_indv' => 'yes',
302
- ],
303
- ]
304
- );
305
-
306
- $repeater->add_control(
307
- 'front_box_text_color_indv',
308
- [
309
- 'label' => __( 'Description Color', 'wts-eae' ),
310
- 'type' => Controls_Manager::COLOR,
311
- 'scheme' => [
312
- 'type' => Scheme_Color::get_type(),
313
- 'value' => Scheme_Color::COLOR_1,
314
- ],
315
- 'default' => '#FFF',
316
- 'selectors' => [
317
- '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-flip-box-front p' => 'color: {{VALUE}};',
318
- ],
319
- 'condition' => [
320
- 'style_indv' => 'yes',
321
- ],
322
-
323
- ]
324
- );
325
-
326
- $repeater->add_group_control(
327
- Group_Control_Typography::get_type(),
328
- [
329
- 'name' => 'front_box_text_typography_indv',
330
- 'label' => __( 'Description Typography', 'wts-eae' ),
331
- 'scheme' => Scheme_Typography::TYPOGRAPHY_4,
332
- 'selector' => '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-flip-box-front p',
333
- 'condition' => [
334
- 'style_indv' => 'yes',
335
- ],
336
- ]
337
- );
338
-
339
-
340
- /**
341
- * Front Box icons styles
342
- **/
343
- $repeater->add_control(
344
- 'front_box_icon_color_indv',
345
- [
346
- 'label' => __( 'Icon Color', 'wts-eae' ),
347
- 'type' => Controls_Manager::COLOR,
348
- 'scheme' => [
349
- 'type' => Scheme_Color::get_type(),
350
- 'value' => Scheme_Color::COLOR_1,
351
- ],
352
- 'default' => '#FFF',
353
- 'selectors' => [
354
- '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-flip-box-front .icon-wrapper i' => 'color: {{VALUE}};',
355
- ],
356
- 'condition' => [
357
- 'style_indv' => 'yes',
358
- ],
359
- ]
360
- );
361
-
362
- $repeater->add_control(
363
- 'front_box_icon_fill_color_indv',
364
- [
365
- 'label' => __( 'Icon Fill Color', 'wts-eae' ),
366
- 'type' => Controls_Manager::COLOR,
367
- 'scheme' => [
368
- 'type' => Scheme_Color::get_type(),
369
- 'value' => Scheme_Color::COLOR_1,
370
- ],
371
- 'selectors' => [
372
- '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-fb-icon-view-stacked' => 'background-color: {{VALUE}};',
373
- ],
374
- 'condition' => [
375
- 'front_icon_view' => 'stacked',
376
- 'style_indv' => 'yes',
377
- ],
378
- ]
379
- );
380
-
381
- $repeater->add_group_control(
382
- Group_Control_Border::get_type(),
383
- [
384
- 'name' => 'front_box_icon_border_indv',
385
- 'label' => __( 'Box Border', 'wts-eae' ),
386
- 'placeholder' => '1px',
387
- 'default' => '1px',
388
- 'selector' => '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-flip-box-front .eae-fb-icon-view-framed, {{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-flip-box-front .eae-fb-icon-view-stacked',
389
- 'label_block' => true,
390
- 'condition' => [
391
- 'front_icon_view!' => 'default',
392
- 'style_indv' => 'yes',
393
- ],
394
- ]
395
- );
396
-
397
- $repeater->add_control(
398
- 'front_icon_size_indv',
399
- [
400
- 'label' => __( 'Icon Size', 'wts-eae' ),
401
- 'type' => Controls_Manager::SLIDER,
402
- 'range' => [
403
- 'px' => [
404
- 'min' => 6,
405
- 'max' => 300,
406
- ],
407
- ],
408
- 'selectors' => [
409
- '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-flip-box-front .icon-wrapper i' => 'font-size: {{SIZE}}{{UNIT}};',
410
- ],
411
- 'condition' => [
412
- 'style_indv' => 'yes',
413
- ],
414
- ]
415
- );
416
-
417
- $repeater->add_control(
418
- 'front_icon_padding_indv',
419
- [
420
- 'label' => __( 'Icon Padding', 'wts-eae' ),
421
- 'type' => Controls_Manager::SLIDER,
422
- 'selectors' => [
423
- '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-flip-box-front .icon-wrapper' => 'padding: {{SIZE}}{{UNIT}};',
424
- ],
425
- 'default' => [
426
- 'size' => 1.5,
427
- 'unit' => 'em',
428
- ],
429
- 'range' => [
430
- 'em' => [
431
- 'min' => 0,
432
- ],
433
- ],
434
- 'condition' => [
435
- 'front_icon_view!' => 'default',
436
- 'style_indv' => 'yes',
437
- ],
438
- ]
439
- );
440
-
441
- $repeater->end_controls_tab();
442
-
443
- $repeater->end_controls_tabs();
444
-
445
- $repeater->add_control(
446
- 'back_box_heading',
447
- [
448
- 'label' => __('Back Box', 'wts-eae'),
449
- 'type' => Controls_Manager::HEADING,
450
- ]
451
- );
452
-
453
- $repeater->start_controls_tabs( 'back_box_a' );
454
-
455
- $repeater->start_controls_tab(
456
- 'back_box_content',
457
- [
458
- 'label' => __( 'Content', 'wts-eae' ),
459
- ]
460
- );
461
-
462
-
463
-
464
- $repeater->add_control(
465
- 'back_box_element',
466
- [
467
- 'label' => __( 'Box Element', 'wts-eae' ),
468
- 'type' => Controls_Manager::CHOOSE,
469
- 'options' => [
470
- 'none' => [
471
- 'title' => __( 'None', 'wts-eae' ),
472
- 'icon' => 'fa fa-ban',
473
- ],
474
- 'image'=> [
475
- 'title' => __( 'Image', 'wts-eae' ),
476
- 'icon' => 'fa fa-picture-o',
477
- ],
478
- 'icon' => [
479
- 'title' => __( 'Icon', 'wts-eae' ),
480
- 'icon' => 'fa fa-star',
481
-
482
- ],
483
- ],
484
- 'default' => 'icon',
485
- ]
486
- );
487
-
488
- $repeater->add_control('back_box_image',
489
- [
490
- 'label' => __( 'Choose Image', 'wts-eae' ),
491
- 'type' => Controls_Manager::MEDIA,
492
- 'default' => [
493
- 'url' => Utils::get_placeholder_image_src(),
494
- ],
495
- 'condition' => [
496
- 'back_box_element' => 'image',
497
- ],
498
- 'show_label' => true,
499
- ]
500
- );
501
-
502
- $repeater->add_group_control(
503
- Group_Control_Image_Size::get_type(),
504
- [
505
- 'name' => 'back_image_size', // Actually its `image_size`
506
- 'default' => 'thumbnail',
507
- 'condition' => [
508
- 'back_box_element' => 'image',
509
- 'back_box_image[id]!' => '',
510
- ],
511
- ]
512
- );
513
- $repeater->add_control(
514
- 'back_image_width',
515
- [
516
- 'label' => __( 'Image Width', 'wts-eae' ),
517
- 'type' => Controls_Manager::SLIDER,
518
- 'range' => [
519
- 'px' => [
520
- 'min' => 6,
521
- 'max' => 300,
522
- ],
523
- ],
524
- 'default' => [
525
- 'size' => 100,
526
- ],
527
- 'selectors' => [
528
- '{{WRAPPER}} {{CURRENT_ITEM}} .eae-flip-box-back img' => 'max-width: {{SIZE}}{{UNIT}};',
529
- ],
530
- 'condition' => [
531
- 'back_box_element' => 'image',
532
- 'back_box_image[id]!' => '',
533
- ],
534
- ]
535
- );
536
-
537
- $repeater->add_control(
538
- 'back_icon',
539
- [
540
- 'label' => __( 'Icon', 'wts-eae' ),
541
- 'type' => Controls_Manager::ICON,
542
- 'label_block' => true,
543
- 'default' => 'fa fa-star',
544
- 'condition' => [
545
- 'back_box_element' => 'icon',
546
- ],
547
- ]
548
- );
549
-
550
-
551
- $repeater->add_control(
552
- 'back_title',
553
- [
554
- 'label' => __( 'Title', 'wts-eae' ),
555
- 'type' => Controls_Manager::TEXT,
556
- 'placeholder' => __( 'Enter text', 'wts-eae' ),
557
- 'default' => __( 'Text Title', 'wts-eae' ),
558
- ]
559
- );
560
-
561
- $repeater->add_control(
562
- 'back_title_html_tag',
563
- [
564
- 'label' => __( 'HTML Tag', 'wts-eae' ),
565
- 'type' => Controls_Manager::SELECT,
566
- 'options' => [
567
- 'h1' => __( 'H1', 'wts-eae' ),
568
- 'h2' => __( 'H2', 'wts-eae' ),
569
- 'h3' => __( 'H3', 'wts-eae' ),
570
- 'h4' => __( 'H4', 'wts-eae' ),
571
- 'h5' => __( 'H5', 'wts-eae' ),
572
- 'h6' => __( 'H6', 'wts-eae' )
573
- ],
574
- 'default' => 'h3',
575
- ]
576
- );
577
-
578
- $repeater->add_control(
579
- 'back_text',
580
- [
581
- 'label' => __( 'Text', 'wts-eae' ),
582
- 'type' => Controls_Manager::TEXTAREA,
583
- 'placeholder' => __( 'Enter text', 'wts-eae' ),
584
- 'default' => __( 'Add some nice text here.', 'wts-eae' ),
585
- ]
586
- );
587
- $repeater -> end_controls_tab();
588
-
589
- $repeater -> start_controls_tab(
590
- 'back_box_background_head',
591
- [
592
- 'label' => __( 'Style', 'wts-eae' ),
593
- ]
594
- );
595
-
596
- $repeater->add_control(
597
- 'back_icon_view',
598
- [
599
- 'label' => __( 'View', 'wts-eae' ),
600
- 'type' => Controls_Manager::SELECT,
601
- 'options' => [
602
- 'default' => __( 'Default', 'wts-eae' ),
603
- 'stacked' => __( 'Stacked', 'wts-eae' ),
604
- 'framed' => __( 'Framed', 'wts-eae' ),
605
- ],
606
- 'default' => 'default',
607
- 'condition' => [
608
- 'back_box_element' => 'icon',
609
- ],
610
-
611
- ]
612
- );
613
-
614
- $repeater->add_control(
615
- 'back_icon_shape',
616
- [
617
- 'label' => __( 'Shape', 'wts-eae' ),
618
- 'type' => Controls_Manager::SELECT,
619
- 'options' => [
620
- 'circle' => __( 'Circle', 'wts-eae' ),
621
- 'square' => __( 'Square', 'wts-eae' ),
622
- ],
623
- 'default' => 'circle',
624
- 'condition' => [
625
- 'back_box_element' => 'icon',
626
- 'back_icon_view!' => 'default',
627
- ],
628
- ]
629
- );
630
-
631
- $repeater->add_group_control(
632
- Group_Control_Background::get_type(),
633
- [
634
- 'name' => 'back_box_background_ind',
635
- 'types' => [ 'classic', 'gradient' ],
636
- 'selector' => '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-flip-box-back',
637
- 'condition' => [
638
- 'style_indv' => 'yes',
639
- ],
640
- ]
641
- );
642
-
643
- $repeater->add_control(
644
- 'back_box_background_overlay_ind',
645
- [
646
- 'label' => __( 'Background Overlay', 'wts-eae' ),
647
- 'type' => Controls_Manager::COLOR,
648
- 'default' => '',
649
- 'separator' => 'before',
650
- 'condition' => [
651
- 'back_box_background_ind_image[id]!' => '',
652
- 'style_indv' => 'yes',
653
-
654
- ],
655
- ]
656
- );
657
- $repeater->add_control(
658
- 'back_box_title_color_indv',
659
- [
660
- 'label' => __( 'Title', 'wts-eae' ),
661
- 'type' => Controls_Manager::COLOR,
662
- 'scheme' => [
663
- 'type' => Scheme_Color::get_type(),
664
- 'value' => Scheme_Color::COLOR_1,
665
- ],
666
- 'default' => '#FFF',
667
- 'selectors' => [
668
- '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .back-icon-title' => 'color: {{VALUE}};',
669
- ],
670
- 'condition' => [
671
- 'style_indv' => 'yes',
672
- ],
673
-
674
- ]
675
- );
676
-
677
- $repeater->add_group_control(
678
- Group_Control_Typography::get_type(),
679
- [
680
- 'name' => 'back_box_title_typography_indv',
681
- 'label' => __( 'Title Typography', 'wts-eae' ),
682
- 'scheme' => Scheme_Typography::TYPOGRAPHY_4,
683
- 'selector' => '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .back-icon-title',
684
- 'condition' => [
685
- 'style_indv' => 'yes',
686
- ],
687
- ]
688
- );
689
-
690
- $repeater->add_control(
691
- 'back_box_text_color_indv',
692
- [
693
- 'label' => __( 'Description Color', 'wts-eae' ),
694
- 'type' => Controls_Manager::COLOR,
695
- 'scheme' => [
696
- 'type' => Scheme_Color::get_type(),
697
- 'value' => Scheme_Color::COLOR_1,
698
- ],
699
- 'default' => '#FFF',
700
- 'selectors' => [
701
- '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-flip-box-back p' => 'color: {{VALUE}};',
702
- ],
703
- 'condition' => [
704
- 'style_indv' => 'yes',
705
- ],
706
-
707
- ]
708
- );
709
-
710
- $repeater->add_group_control(
711
- Group_Control_Typography::get_type(),
712
- [
713
- 'name' => 'back_box_text_typography_indv',
714
- 'label' => __( 'Description Typography', 'wts-eae' ),
715
- 'scheme' => Scheme_Typography::TYPOGRAPHY_4,
716
- 'selector' => '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-flip-box-back p',
717
- 'condition' => [
718
- 'style_indv' => 'yes',
719
- ],
720
- ]
721
- );
722
-
723
-
724
- /**
725
- * Back Box icons styles
726
- **/
727
- $repeater->add_control(
728
- 'back_box_icon_color_indv',
729
- [
730
- 'label' => __( 'Icon Color', 'wts-eae' ),
731
- 'type' => Controls_Manager::COLOR,
732
- 'scheme' => [
733
- 'type' => Scheme_Color::get_type(),
734
- 'value' => Scheme_Color::COLOR_1,
735
- ],
736
- 'default' => '#FFF',
737
- 'selectors' => [
738
- '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-flip-box-back .icon-wrapper i' => 'color: {{VALUE}};',
739
- ],
740
- 'condition' => [
741
- 'back_icon!' => '',
742
- 'style_indv' => 'yes',
743
- ],
744
- ]
745
- );
746
-
747
- $repeater->add_control(
748
- 'back_box_icon_fill_color_indv',
749
- [
750
- 'label' => __( 'Icon Fill Color', 'wts-eae' ),
751
- 'type' => Controls_Manager::COLOR,
752
- 'scheme' => [
753
- 'type' => Scheme_Color::get_type(),
754
- 'value' => Scheme_Color::COLOR_1,
755
- ],
756
- 'selectors' => [
757
- '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-flip-box-back .eae-fb-icon-view-stacked' => 'background-color: {{VALUE}};',
758
- ],
759
- 'condition' => [
760
- 'front_icon_view' => 'stacked',
761
- 'style_indv' => 'yes',
762
- ],
763
- ]
764
- );
765
-
766
- $repeater->add_group_control(
767
- Group_Control_Border::get_type(),
768
- [
769
- 'name' => 'back_box_icon_border_indv',
770
- 'label' => __( 'Box Border', 'wts-eae' ),
771
- 'placeholder' => '1px',
772
- 'default' => '1px',
773
- 'selector' => '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-flip-box-back .eae-fb-icon-view-framed, {{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-flip-box-back .eae-fb-icon-view-stacked',
774
- 'label_block' => true,
775
- 'condition' => [
776
- 'back_icon_view!' => 'default',
777
- 'style_indv' => 'yes',
778
- ],
779
- ]
780
- );
781
-
782
- $repeater->add_control(
783
- 'back_icon_size_indv',
784
- [
785
- 'label' => __( 'Icon Size', 'wts-eae' ),
786
- 'type' => Controls_Manager::SLIDER,
787
- 'range' => [
788
- 'px' => [
789
- 'min' => 6,
790
- 'max' => 300,
791
- ],
792
- ],
793
- 'selectors' => [
794
- '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-flip-box-back .icon-wrapper i' => 'font-size: {{SIZE}}{{UNIT}};',
795
- ],
796
- 'condition' => [
797
- 'style_indv' => 'yes',
798
- ],
799
- ]
800
- );
801
-
802
- $repeater->add_control(
803
- 'back_icon_padding_indv',
804
- [
805
- 'label' => __( 'Icon Padding', 'wts-eae' ),
806
- 'type' => Controls_Manager::SLIDER,
807
- 'selectors' => [
808
- '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-flip-box-back .icon-wrapper' => 'padding: {{SIZE}}{{UNIT}};',
809
- ],
810
- 'default' => [
811
- 'size' => 1.5,
812
- 'unit' => 'em',
813
- ],
814
- 'range' => [
815
- 'em' => [
816
- 'min' => 0,
817
- ],
818
- ],
819
- 'condition' => [
820
- 'back_icon_view!' => 'default',
821
- 'style_indv' => 'yes',
822
- ],
823
- ]
824
- );
825
-
826
- $repeater->end_controls_tab();
827
-
828
- $repeater->end_controls_tabs();
829
-
830
- $repeater->add_control(
831
- 'action_button',
832
- [
833
- 'label' => __('Action Button', 'wts-eae'),
834
- 'type' => Controls_Manager::HEADING,
835
- ]
836
- );
837
- $repeater->start_controls_tabs( 'back_box_button_style' );
838
-
839
- $repeater->start_controls_tab(
840
- 'action_button_content',
841
- [
842
- 'label' => __( 'Content', 'wts-eae' ),
843
- ]
844
- );
845
-
846
-
847
- $repeater->add_control(
848
- 'action_text',
849
- [
850
- 'label' => __( 'Button Text', 'wts-eae' ),
851
- 'type' => Controls_Manager::TEXT,
852
- 'placeholder' => __( 'Buy', 'wts-eae' ),
853
- 'default' => __( 'Buy Now', 'wts-eae' ),
854
- ]
855
- );
856
-
857
- $repeater->add_control(
858
- 'link',
859
- [
860
- 'label' => __( 'Link to', 'wts-eae' ),
861
- 'type' => Controls_Manager::URL,
862
- 'placeholder' => __( 'http://your-link.com', 'wts-eae' ),
863
- 'separator' => 'before',
864
- ]
865
- );
866
- $repeater->end_controls_tab();
867
-
868
- $repeater->start_controls_tab(
869
- 'action_button_Style_indv',
870
- [
871
- 'label' => __( 'Style', 'wts-eae' ),
872
- ]
873
- );
874
-
875
- $repeater->add_control(
876
- 'button_text_color_indv',
877
- [
878
- 'label' => __( 'Text Color', 'wts-eae' ),
879
- 'type' => Controls_Manager::COLOR,
880
- 'default' => '#fff',
881
- 'selectors' => [
882
- '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-fb-button' => 'color: {{VALUE}};',
883
- ],
884
- 'condition' => [
885
- 'style_indv' => 'yes',
886
- ],
887
- ]
888
- );
889
-
890
- $repeater->add_group_control(
891
- Group_Control_Typography::get_type(),
892
- [
893
- 'name' => 'typography_indv',
894
- 'label' => __( 'Typography', 'wts-eae' ),
895
- 'scheme' => Scheme_Typography::TYPOGRAPHY_4,
896
- 'selector' => '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-fb-button',
897
- 'condition' => [
898
- 'style_indv' => 'yes',
899
- ],
900
- ]
901
- );
902
-
903
- $repeater->add_control(
904
- 'background_color_indv',
905
- [
906
- 'label' => __( 'Background Color', 'wts-eae' ),
907
- 'type' => Controls_Manager::COLOR,
908
- 'scheme' => [
909
- 'type' => Scheme_Color::get_type(),
910
- 'value' => Scheme_Color::COLOR_4,
911
- ],
912
- 'default' => '#93C64F',
913
- 'selectors' => [
914
- '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-fb-button' => 'background-color: {{VALUE}};',
915
- ],
916
- 'condition' => [
917
- 'style_indv'=> 'yes',
918
- ],
919
- ]
920
- );
921
-
922
- $repeater->add_group_control(
923
- Group_Control_Border::get_type(),
924
- [
925
- 'name' => 'border_indv',
926
- 'label' => __( 'Border', 'wts-eae' ),
927
- 'placeholder' => '1px',
928
- 'default' => '1px',
929
- 'selector' => '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-fb-button',
930
- 'condition' => [
931
- 'style_indv' => 'yes',
932
- ],
933
- ]
934
- );
935
-
936
- $repeater->add_control(
937
- 'border_radius_indv',
938
- [
939
- 'label' => __( 'Border Radius', 'wts-eae' ),
940
- 'type' => Controls_Manager::DIMENSIONS,
941
- 'size_units' => [ 'px', '%' ],
942
- 'selectors' => [
943
- '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-fb-button' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
944
- ],
945
- 'condition' => [
946
- 'style_indv' => 'yes',
947
- ],
948
- ]
949
- );
950
-
951
- $repeater->add_control(
952
- 'text_padding_indv',
953
- [
954
- 'label' => __( 'Text Padding', 'wts-eae' ),
955
- 'type' => Controls_Manager::DIMENSIONS,
956
- 'size_units' => [ 'px', 'em', '%' ],
957
- 'selectors' => [
958
- '{{WRAPPER}} {{CURRENT_ITEM}}.overwrite-style-yes .eae-fb-button' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
959
- ],
960
- 'condition' => [
961
- 'style_indv' => 'yes',
962
- ],
963
- ]
964
- );
965
-
966
- $repeater->end_controls_tab();
967
-
968
- $repeater->end_controls_tabs();
969
-
970
- $this->add_control(
971
- 'eae_flip_box_set',
972
- [
973
- 'label' => __( 'Flip Box', 'wts-eae' ),
974
- 'type' => Controls_Manager::REPEATER,
975
- 'show_label' => true,
976
- 'fields' => array_values($repeater->get_controls()),
977
- ]
978
- );
979
-
980
- $this->end_controls_section();
981
-
982
- $this->start_controls_section(
983
- 'section_general_style',
984
- [
985
- 'label' => __( 'General', 'wts-eae' ),
986
- 'tab' => Controls_Manager::TAB_STYLE
987
- ]
988
- );
989
-
990
- $this->add_control(
991
- 'animation_style',
992
- [
993
- 'label' => __( 'Animation Style', 'wts-eae' ),
994
- 'type' => Controls_Manager::SELECT,
995
- 'options' => [
996
- 'horizontal' => __( 'Horizontal', 'wts-eae' ),
997
- 'vertical' => __( 'Vertical', 'wts-eae' ),
998
- 'flipcard flipcard-rotate-top-down' => __( 'Cube - Top Down', 'wts-eae' ),
999
- 'flipcard flipcard-rotate-down-top' => __( 'Cube - Down Top', 'wts-eae' ),
1000
- 'flipcard flipcard-rotate-left-right' => __( 'Cube - Left Right', 'wts-eae' ),
1001
- 'flipcard flipcard-rotate-right-left' => __( 'Cube - Right Left', 'wts-eae' ),
1002
- 'fade' =>__('Fade','wts-eae'),
1003
- '' =>__('Rollover','wts-eae'),
1004
- 'flip box' =>__('Flip Box','wts-eae'),
1005
- 'flip box fade' =>__('Flip Box Fade','wts-eae'),
1006
- 'flip box fade up' =>__('Fade Up','wts-eae'),
1007
- 'flip box fade hideback' =>__('Fade Hideback','wts-eae'),
1008
- 'flip box fade up hideback' =>__('Fade Up Hideback','wts-eae'),
1009
- 'nananana' =>__('Nananana','wts-eae'),
1010
- 'zommin' => __( 'Zoom In', 'wts-eae' ),
1011
- 'zoomout' => __( 'Zoom Out', 'wts-eae' ),
1012
- ],
1013
- 'default' => 'vertical',
1014
- 'prefix_class' => 'eae-fb-animate-'
1015
- ]
1016
- );
1017
-
1018
-
1019
- $this->add_group_control(
1020
- Group_Control_Border::get_type(),
1021
- [
1022
- 'name' => 'flip_box_border',
1023
- 'label' => __( 'Box Border', 'wts-eae' ),
1024
- 'selector' => '{{WRAPPER}} .eae-flip-box-inner > div',
1025
- ]
1026
- );
1027
-
1028
-
1029
-
1030
- $this->add_control(
1031
- 'box_border_radius',
1032
- [
1033
- 'label' => __( 'Border Radius', 'wts-eae' ),
1034
- 'type' => Controls_Manager::DIMENSIONS,
1035
- 'size_units' => [ 'px', '%' ],
1036
- 'selectors' => [
1037
- '{{WRAPPER}} .eae-flip-box-front' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1038
- '{{WRAPPER}} .eae-flip-box-back' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1039
- ],
1040
- ]
1041
- );
1042
-
1043
- $this->add_control(
1044
- 'box_height',
1045
- [
1046
- 'type' => Controls_Manager::TEXT,
1047
- 'label' => __( 'Box Height', 'wts-eae' ),
1048
- 'placeholder' => __( '250', 'wts-eae' ),
1049
- 'default' => __( '250', 'wts-eae' ),
1050
- 'selectors' => [
1051
- '{{WRAPPER}} .eae-flip-box-inner' => 'height: {{VALUE}}px;',
1052
- '{{WRAPPER}}.eae-fb-animate-flipcard .eae-flip-box-front' => 'transform-origin: center center calc(-{{VALUE}}px/2);-webkit-transform-origin:center center calc(-{{VALUE}}px/2);',
1053
- '{{WRAPPER}}.eae-fb-animate-flipcard .eae-flip-box-back' => 'transform-origin: center center calc(-{{VALUE }}px/2);-webkit-transform-origin:center center calc(-{{VALUE}}px/2);'
1054
- ],
1055
- ]
1056
- );
1057
-
1058
- $this->end_controls_section();
1059
-
1060
- $this->start_controls_section(
1061
- 'section-front-box-style',
1062
- [
1063
- 'label' => __( 'Front Box', 'wts-eae' ),
1064
- 'tab' => Controls_Manager::TAB_STYLE
1065
- ]
1066
- );
1067
- $this->add_control(
1068
- 'front_icon_view_global',
1069
- [
1070
- 'label' => __( 'View', 'wts-eae' ),
1071
- 'type' => Controls_Manager::SELECT,
1072
- 'options' => [
1073
- 'default' => __( 'Default', 'wts-eae' ),
1074
- 'stacked' => __( 'Stacked', 'wts-eae' ),
1075
- 'framed' => __( 'Framed', 'wts-eae' ),
1076
- ],
1077
- 'default' => 'default',
1078
-
1079
- ]
1080
- );
1081
-
1082
- $this->add_control(
1083
- 'front_icon_shape_global',
1084
- [
1085
- 'label' => __( 'Shape', 'wts-eae' ),
1086
- 'type' => Controls_Manager::SELECT,
1087
- 'options' => [
1088
- 'circle' => __( 'Circle', 'wts-eae' ),
1089
- 'square' => __( 'Square', 'wts-eae' ),
1090
- ],
1091
- 'default' => 'circle',
1092
- 'condition' => [
1093
- 'front_icon_view_global!' => 'default',
1094
- ],
1095
- ]
1096
- );
1097
-
1098
- $this->add_group_control(
1099
- Group_Control_Background::get_type(),
1100
- [
1101
- 'name' => 'front_box_background',
1102
- 'label' => __( 'Front Box Background', 'wts-eae' ),
1103
- 'types' => [ 'classic','gradient' ],
1104
- 'selector' => '{{WRAPPER}} .overwrite-style-no .eae-flip-box-front',
1105
- ]
1106
-
1107
- );
1108
-
1109
-
1110
- $this->add_control(
1111
- 'front_box_title_color',
1112
- [
1113
- 'label' => __( 'Title', 'wts-eae' ),
1114
- 'type' => Controls_Manager::COLOR,
1115
- 'scheme' => [
1116
- 'type' => Scheme_Color::get_type(),
1117
- 'value' => Scheme_Color::COLOR_1,
1118
- ],
1119
- 'default' => '#FFF',
1120
- 'selectors' => [
1121
- '{{WRAPPER}} .front-icon-title ' => 'color: {{VALUE}};',
1122
- ],
1123
- ]
1124
- );
1125
-
1126
- $this->add_group_control(
1127
- Group_Control_Typography::get_type(),
1128
- [
1129
- 'name' => 'front_box_title_typography',
1130
- 'label' => __( 'Title Typography', 'wts-eae' ),
1131
- 'scheme' => Scheme_Typography::TYPOGRAPHY_4,
1132
- 'selector' => '{{WRAPPER}} .front-icon-title',
1133
- ]
1134
- );
1135
-
1136
- $this->add_control(
1137
- 'front_box_text_color',
1138
- [
1139
- 'label' => __( 'Description Color', 'wts-eae' ),
1140
- 'type' => Controls_Manager::COLOR,
1141
- 'scheme' => [
1142
- 'type' => Scheme_Color::get_type(),
1143
- 'value' => Scheme_Color::COLOR_1,
1144
- ],
1145
- 'default' => '#FFF',
1146
- 'selectors' => [
1147
- '{{WRAPPER}} .eae-flip-box-front p' => 'color: {{VALUE}};',
1148
- ],
1149
-
1150
- ]
1151
- );
1152
-
1153
- $this->add_group_control(
1154
- Group_Control_Typography::get_type(),
1155
- [
1156
- 'name' => 'front_box_text_typography',
1157
- 'label' => __( 'Description Typography', 'wts-eae' ),
1158
- 'scheme' => Scheme_Typography::TYPOGRAPHY_4,
1159
- 'selector' => '{{WRAPPER}} .eae-flip-box-front p',
1160
- ]
1161
- );
1162
-
1163
-
1164
- /**
1165
- * Front Box icons styles
1166
- **/
1167
- $this->add_control(
1168
- 'front_box_icon_color',
1169
- [
1170
- 'label' => __( 'Icon Color', 'wts-eae' ),
1171
- 'type' => Controls_Manager::COLOR,
1172
- 'scheme' => [
1173
- 'type' => Scheme_Color::get_type(),
1174
- 'value' => Scheme_Color::COLOR_1,
1175
- ],
1176
- 'default' => '#FFF',
1177
- 'selectors' => [
1178
- '{{WRAPPER}} .eae-flip-box-front .icon-wrapper i' => 'color: {{VALUE}};',
1179
- ],
1180
- ]
1181
- );
1182
-
1183
- $this->add_control(
1184
- 'front_box_icon_fill_color',
1185
- [
1186
- 'label' => __( 'Icon Fill Color', 'wts-eae' ),
1187
- 'type' => Controls_Manager::COLOR,
1188
- 'scheme' => [
1189
- 'type' => Scheme_Color::get_type(),
1190
- 'value' => Scheme_Color::COLOR_1,
1191
- ],
1192
- 'selectors' => [
1193
- '{{WRAPPER}} .eae-fb-icon-view-stacked' => 'background-color: {{VALUE}};',
1194
- ],
1195
- 'condition' => [
1196
- 'front_icon_view_global' => 'stacked'
1197
- ],
1198
- ]
1199
- );
1200
-
1201
- $this->add_group_control(
1202
- Group_Control_Border::get_type(),
1203
- [
1204
- 'name' => 'front_box_icon_border',
1205
- 'label' => __( 'Box Border', 'wts-eae' ),
1206
- 'placeholder' => '1px',
1207
- 'default' => '1px',
1208
- 'selector' => '{{WRAPPER}} .eae-flip-box-front .eae-fb-icon-view-framed, {{WRAPPER}} .eae-flip-box-front .eae-fb-icon-view-stacked',
1209
- 'label_block' => true,
1210
- 'condition' => [
1211
- 'front_icon_view_global!' => 'default'
1212
- ],
1213
- ]
1214
- );
1215
-
1216
- $this->add_control(
1217
- 'front_icon_size',
1218
- [
1219
- 'label' => __( 'Icon Size', 'wts-eae' ),
1220
- 'type' => Controls_Manager::SLIDER,
1221
- 'range' => [
1222
- 'px' => [
1223
- 'min' => 6,
1224
- 'max' => 300,
1225
- ],
1226
- ],
1227
- 'selectors' => [
1228
- '{{WRAPPER}} .eae-flip-box-front .icon-wrapper i' => 'font-size: {{SIZE}}{{UNIT}};',
1229
- ],
1230
- ]
1231
- );
1232
-
1233
- $this->add_control(
1234
- 'front_icon_padding',
1235
- [
1236
- 'label' => __( 'Icon Padding', 'wts-eae' ),
1237
- 'type' => Controls_Manager::SLIDER,
1238
- 'selectors' => [
1239
- '{{WRAPPER}} .eae-flip-box-front .icon-wrapper' => 'padding: {{SIZE}}{{UNIT}};',
1240
- ],
1241
- 'default' => [
1242
- 'size' => 1.5,
1243
- 'unit' => 'em',
1244
- ],
1245
- 'range' => [
1246
- 'em' => [
1247
- 'min' => 0,
1248
- ],
1249
- ],
1250
- ]
1251
- );
1252
-
1253
- $this->end_controls_section();
1254
-
1255
-
1256
-
1257
- $this->start_controls_section(
1258
- 'section-back-box-style',
1259
- [
1260
- 'label' => __( 'Back Box', 'wts-eae' ),
1261
- 'tab' => Controls_Manager::TAB_STYLE
1262
- ]
1263
- );
1264
-
1265
- $this->add_control(
1266
- 'back_icon_view_global',
1267
- [
1268
- 'label' => __( 'View', 'wts-eae' ),
1269
- 'type' => Controls_Manager::SELECT,
1270
- 'options' => [
1271
- 'default' => __( 'Default', 'wts-eae' ),
1272
- 'stacked' => __( 'Stacked', 'wts-eae' ),
1273
- 'framed' => __( 'Framed', 'wts-eae' ),
1274
- ],
1275
- 'default' => 'default',
1276
- ]
1277
- );
1278
-
1279
- $this->add_control(
1280
- 'back_icon_shape_global',
1281
- [
1282
- 'label' => __( 'Shape', 'wts-eae' ),
1283
- 'type' => Controls_Manager::SELECT,
1284
- 'options' => [
1285
- 'circle' => __( 'Circle', 'wts-eae' ),
1286
- 'square' => __( 'Square', 'wts-eae' ),
1287
- ],
1288
- 'default' => 'circle',
1289
-
1290
- ]
1291
- );
1292
- $this->add_group_control(
1293
- Group_Control_Background::get_type(),
1294
- [
1295
- 'name' => 'back_box_background',
1296
- 'label' => __( 'Back Box Background', 'wts-eae' ),
1297
- 'types' => [ 'classic','gradient' ],
1298
- 'selector' => '{{WRAPPER}} .eae-flip-box-back',
1299
- ]
1300
- );
1301
-
1302
- $this->add_control(
1303
- 'back_box_title_color',
1304
- [
1305
- 'label' => __( 'Title', 'wts-eae' ),
1306
- 'type' => Controls_Manager::COLOR,
1307
- 'scheme' => [
1308
- 'type' => Scheme_Color::get_type(),
1309
- 'value' => Scheme_Color::COLOR_1,
1310
- ],
1311
- 'default' => '#FFF',
1312
- 'selectors' => [
1313
- '{{WRAPPER}} .back-icon-title' => 'color: {{VALUE}};',
1314
- ],
1315
-
1316
- ]
1317
- );
1318
-
1319
- $this->add_group_control(
1320
- Group_Control_Typography::get_type(),
1321
- [
1322
- 'name' => 'back_box_title_typography',
1323
- 'label' => __( 'Title Typography', 'wts-eae' ),
1324
- 'scheme' => Scheme_Typography::TYPOGRAPHY_4,
1325
- 'selector' => '{{WRAPPER}} .back-icon-title',
1326
- ]
1327
- );
1328
-
1329
- $this->add_control(
1330
- 'back_box_text_color',
1331
- [
1332
- 'label' => __( 'Description Color', 'wts-eae' ),
1333
- 'type' => Controls_Manager::COLOR,
1334
- 'scheme' => [
1335
- 'type' => Scheme_Color::get_type(),
1336
- 'value' => Scheme_Color::COLOR_1,
1337
- ],
1338
- 'default' => '#FFF',
1339
- 'selectors' => [
1340
- '{{WRAPPER}} .eae-flip-box-back p' => 'color: {{VALUE}};',
1341
- ],
1342
-
1343
- ]
1344
- );
1345
-
1346
- $this->add_group_control(
1347
- Group_Control_Typography::get_type(),
1348
- [
1349
- 'name' => 'back_box_text_typography',
1350
- 'label' => __( 'Description Typography', 'wts-eae' ),
1351
- 'scheme' => Scheme_Typography::TYPOGRAPHY_4,
1352
- 'selector' => '{{WRAPPER}} .eae-flip-box-back p',
1353
- ]
1354
- );
1355
-
1356
-
1357
- /**
1358
- * Back Box icons styles
1359
- **/
1360
- $this->add_control(
1361
- 'back_box_icon_color',
1362
- [
1363
- 'label' => __( 'Icon Color', 'wts-eae' ),
1364
- 'type' => Controls_Manager::COLOR,
1365
- 'scheme' => [
1366
- 'type' => Scheme_Color::get_type(),
1367
- 'value' => Scheme_Color::COLOR_1,
1368
- ],
1369
- 'default' => '#FFF',
1370
- 'selectors' => [
1371
- '{{WRAPPER}} .eae-flip-box-back .icon-wrapper i' => 'color: {{VALUE}};',
1372
- ],
1373
- ]
1374
- );
1375
-
1376
- $this->add_control(
1377
- 'back_box_icon_fill_color',
1378
- [
1379
- 'label' => __( 'Icon Fill Color', 'wts-eae' ),
1380
- 'type' => Controls_Manager::COLOR,
1381
- 'scheme' => [
1382
- 'type' => Scheme_Color::get_type(),
1383
- 'value' => Scheme_Color::COLOR_1,
1384
- ],
1385
- 'selectors' => [
1386
- '{{WRAPPER}} .eae-flip-box-back .eae-fb-icon-view-stacked' => 'background-color: {{VALUE}};',
1387
- ],
1388
- 'condition' => [
1389
- 'back_icon_view_global' => 'stacked'
1390
- ],
1391
- ]
1392
- );
1393
-
1394
- $this->add_group_control(
1395
- Group_Control_Border::get_type(),
1396
- [
1397
- 'name' => 'back_box_icon_border',
1398
- 'label' => __( 'Box Border', 'wts-eae' ),
1399
- 'placeholder' => '1px',
1400
- 'default' => '1px',
1401
- 'selector' => '{{WRAPPER}} .eae-flip-box-back .eae-fb-icon-view-framed, {{WRAPPER}} .eae-flip-box-back .eae-fb-icon-view-stacked',
1402
- 'label_block' => true,
1403
- 'condition' => [
1404
- 'back_icon_view!' => 'default'
1405
- ],
1406
- ]
1407
- );
1408
-
1409
- $this->add_control(
1410
- 'back_icon_size',
1411
- [
1412
- 'label' => __( 'Icon Size', 'wts-eae' ),
1413
- 'type' => Controls_Manager::SLIDER,
1414
- 'range' => [
1415
- 'px' => [
1416
- 'min' => 6,
1417
- 'max' => 300,
1418
- ],
1419
- ],
1420
- 'selectors' => [
1421
- '{{WRAPPER}} .eae-flip-box-back .icon-wrapper i' => 'font-size: {{SIZE}}{{UNIT}};',
1422
- ],
1423
- ]
1424
- );
1425
-
1426
- $this->add_control(
1427
- 'back_icon_padding',
1428
- [
1429
- 'label' => __( 'Icon Padding', 'wts-eae' ),
1430
- 'type' => Controls_Manager::SLIDER,
1431
- 'selectors' => [
1432
- '{{WRAPPER}} .eae-flip-box-back .icon-wrapper' => 'padding: {{SIZE}}{{UNIT}};',
1433
- ],
1434
- 'default' => [
1435
- 'size' => 1.5,
1436
- 'unit' => 'em',
1437
- ],
1438
- 'range' => [
1439
- 'em' => [
1440
- 'min' => 0,
1441
- ],
1442
- ],
1443
- 'condition' => [
1444
- 'back_icon_view!' => 'default',
1445
- ],
1446
- ]
1447
- );
1448
-
1449
-
1450
-
1451
- $this->end_controls_section();
1452
-
1453
- $this->start_controls_section(
1454
- 'section-action-button-style',
1455
- [
1456
- 'label' => __( 'Action Button', 'wts-eae' ),
1457
- 'tab' => Controls_Manager::TAB_STYLE,
1458
- ]
1459
- );
1460
-
1461
- $this->add_control(
1462
- 'button_text_color',
1463
- [
1464
- 'label' => __( 'Text Color', 'wts-eae' ),
1465
- 'type' => Controls_Manager::COLOR,
1466
- 'default' => '#fff',
1467
- 'selectors' => [
1468
- '{{WRAPPER}} .eae-fb-button' => 'color: {{VALUE}};',
1469
- ],
1470
- ]
1471
- );
1472
-
1473
- $this->add_group_control(
1474
- Group_Control_Typography::get_type(),
1475
- [
1476
- 'name' => 'typography',
1477
- 'label' => __( 'Typography', 'wts-eae' ),
1478
- 'scheme' => Scheme_Typography::TYPOGRAPHY_4,
1479
- 'selector' => '{{WRAPPER}} .eae-fb-button',
1480
- ]
1481
- );
1482
-
1483
- $this->add_control(
1484
- 'background_color',
1485
- [
1486
- 'label' => __( 'Background Color', 'wts-eae' ),
1487
- 'type' => Controls_Manager::COLOR,
1488
- 'scheme' => [
1489
- 'type' => Scheme_Color::get_type(),
1490
- 'value' => Scheme_Color::COLOR_4,
1491
- ],
1492
- 'default' => '#93C64F',
1493
- 'selectors' => [
1494
- '{{WRAPPER}} .eae-fb-button' => 'background-color: {{VALUE}};',
1495
- ],
1496
- ]
1497
- );
1498
-
1499
- $this->add_group_control(
1500
- Group_Control_Border::get_type(),
1501
- [
1502
- 'name' => 'border',
1503
- 'label' => __( 'Border', 'wts-eae' ),
1504
- 'placeholder' => '1px',
1505
- 'default' => '1px',
1506
- 'selector' => '{{WRAPPER}} .eae-fb-button',
1507
- ]
1508
- );
1509
-
1510
- $this->add_control(
1511
- 'border_radius',
1512
- [
1513
- 'label' => __( 'Border Radius', 'wts-eae' ),
1514
- 'type' => Controls_Manager::DIMENSIONS,
1515
- 'size_units' => [ 'px', '%' ],
1516
- 'selectors' => [
1517
- '{{WRAPPER}} .eae-fb-button' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1518
- ],
1519
- ]
1520
- );
1521
-
1522
- $this->add_control(
1523
- 'text_padding',
1524
- [
1525
- 'label' => __( 'Text Padding', 'wts-eae' ),
1526
- 'type' => Controls_Manager::DIMENSIONS,
1527
- 'size_units' => [ 'px', 'em', '%' ],
1528
- 'selectors' => [
1529
- '{{WRAPPER}} .eae-fb-button' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1530
- ],
1531
- ]
1532
- );
1533
-
1534
- $this->end_controls_section();
1535
-
1536
- }
1537
- protected function render( ) {
1538
- $settings = $this->get_settings_for_display();
1539
-
1540
- if(count($settings['eae_flip_box_set'])){
1541
- //echo "<pre>";print_r($settings);echo "</pre>";
1542
- ?>
1543
- <div class="eae-flip-box">
1544
- <?php
1545
- foreach ($settings['eae_flip_box_set'] as $flipbox){
1546
- //echo "<pre>";print_r($flipbox);echo "</pre>";
1547
- if($flipbox['front_box_element'] == "icon") {
1548
- if($flipbox['style_indv'] == "yes") {
1549
- $this->add_render_attribute( $flipbox['_id'].'-front-icon-wrapper', 'class', 'icon-wrapper' );
1550
- $this->add_render_attribute( $flipbox['_id'].'-front-icon-wrapper', 'class', 'eae-fb-icon-view-' . $flipbox['front_icon_view'] );
1551
- $this->add_render_attribute( $flipbox['_id'].'-front-icon-wrapper', 'class', 'eae-fb-icon-shape-' . $flipbox['front_icon_shape'] );
1552
- }
1553
- else
1554
- {
1555
- $this->add_render_attribute( $flipbox['_id'].'-front-icon-wrapper', 'class', 'icon-wrapper' );
1556
- $this->add_render_attribute( $flipbox['_id'].'-front-icon-wrapper', 'class', 'eae-fb-icon-view-' . $settings['front_icon_view_global'] );
1557
- $this->add_render_attribute( $flipbox['_id'].'-front-icon-wrapper', 'class', 'eae-fb-icon-shape-' . $settings['front_icon_shape_global'] );
1558
- }
1559
- $this->add_render_attribute( $flipbox['_id'].'-front-icon-title', 'class', 'front-icon-title' );
1560
- $this->add_render_attribute( $flipbox['_id'].'-front-icon', 'class', $flipbox['front_icon'] );
1561
- }
1562
- if($flipbox['back_box_element'] == "icon") {
1563
- if($flipbox['style_indv'] == "yes") {
1564
- $this->add_render_attribute($flipbox['_id'] . '-back-icon-wrapper', 'class', 'icon-wrapper');
1565
- $this->add_render_attribute($flipbox['_id'] . '-back-icon-wrapper', 'class', 'eae-fb-icon-view-' . $flipbox['back_icon_view']);
1566
- $this->add_render_attribute($flipbox['_id'] . '-back-icon-wrapper', 'class', 'eae-fb-icon-shape-' . $flipbox['back_icon_shape']);
1567
- }
1568
- else
1569
- {
1570
- $this->add_render_attribute( $flipbox['_id'].'-back-icon-wrapper', 'class', 'icon-wrapper' );
1571
- $this->add_render_attribute( $flipbox['_id'].'-back-icon-wrapper', 'class', 'eae-fb-icon-view-' . $settings['back_icon_view_global'] );
1572
- $this->add_render_attribute( $flipbox['_id'].'-back-icon-wrapper', 'class', 'eae-fb-icon-shape-' . $settings['back_icon_shape_global'] );
1573
- }
1574
- $this->add_render_attribute( $flipbox['_id'].'-back-icon-title', 'class', 'back-icon-title' );
1575
- $this->add_render_attribute( $flipbox['_id'].'-back-icon', 'class', $flipbox['back_icon'] );
1576
- }
1577
- $this->add_render_attribute( $flipbox['_id'].'-button', 'class', 'eae-fb-button' );
1578
- if ( ! empty( $flipbox['link']['url'] ) ) {
1579
- $this->add_render_attribute( $flipbox['_id'].'-button', 'href', $flipbox['link']['url'] );
1580
-
1581
- if ( ! empty( $flipbox['link']['is_external'] ) ) {
1582
- $this->add_render_attribute( $flipbox['_id'].'-button', 'target', '_blank' );
1583
- }
1584
- }
1585
- ?>
1586
-
1587
- <div class="elementor-repeater-item-<?php echo $flipbox['_id']; ?> overwrite-style-<?php echo $flipbox['style_indv']; ?> eae-flip-box-wrapper ">
1588
- <div class="eae-flip-box-inner" >
1589
-
1590
- <div class="eae-flip-box-front">
1591
- <div class="flipbox-content">
1592
- <?php if($flipbox['front_box_element'] == "icon") {?>
1593
- <?php if(!empty($flipbox['front_icon'])){ ?>
1594
- <div <?php echo $this->get_render_attribute_string( $flipbox['_id'].'-front-icon-wrapper' ); ?>>
1595
- <i <?php echo $this->get_render_attribute_string( $flipbox['_id'].'-front-icon' ); ?>></i>
1596
- </div>
1597
- <?php } } ?>
1598
- <?php if($flipbox['front_box_element'] == "image"){
1599
- if($flipbox['front_box_image']['url'] !="")
1600
- {
1601
- $pix = wp_get_attachment_image_src($flipbox['front_box_image']['id'],$flipbox['front_image_size_size']);
1602
- echo "<img src='".$pix[0]."'>";
1603
-
1604
- }
1605
- }?>
1606
-
1607
- <?php if(!empty($flipbox['front_title'])){ ?>
1608
- <<?php echo $flipbox['front_title_html_tag']; ?> <?php echo $this->get_render_attribute_string( $flipbox['_id'].'-front-icon-title' ); ?> >
1609
- <?php echo $flipbox['front_title']; ?>
1610
- </<?php echo $flipbox['front_title_html_tag']; ?>>
1611
- <?php } ?>
1612
-
1613
- <?php if(!empty($flipbox['front_text'])){ ?>
1614
- <p>
1615
- <?php echo $flipbox['front_text']; ?>
1616
- </p>
1617
- <?php } ?>
1618
- </div>
1619
- </div>
1620
-
1621
- <div class="eae-flip-box-back">
1622
- <div class="flipbox-content">
1623
- <?php if($flipbox['back_box_element'] == "icon") {?>
1624
- <?php if(!empty($flipbox['back_icon'])){ ?>
1625
- <div <?php echo $this->get_render_attribute_string( $flipbox['_id'].'-back-icon-wrapper' ); ?>>
1626
- <i <?php echo $this->get_render_attribute_string( $flipbox['_id'].'-back-icon' ); ?>></i>
1627
- </div>
1628
- <?php } }?>
1629
- <?php if($flipbox['back_box_element'] == "image"){
1630
- if($flipbox['back_box_image']['url'] !="")
1631
- {
1632
- //echo "<img src='".$flipbox['back_box_image']['url']."'>";
1633
- $back_pix = wp_get_attachment_image_src($flipbox['back_box_image']['id'],$flipbox['back_image_size_size']);
1634
- echo "<img src='".$back_pix[0]."'>";
1635
- }
1636
- }?>
1637
- <?php if(!empty($flipbox['back_title'])){ ?>
1638
- <<?php echo $flipbox['back_title_html_tag']; ?> <?php echo $this->get_render_attribute_string( 'back-icon-title' ); ?> >
1639
- <?php echo $flipbox['back_title']; ?>
1640
- </<?php echo $flipbox['back_title_html_tag']; ?>>
1641
- <?php } ?>
1642
-
1643
- <?php if(!empty($flipbox['back_text'])){ ?>
1644
- <p>
1645
- <?php echo $flipbox['back_text']; ?>
1646
- </p>
1647
- <?php } ?>
1648
-
1649
- <?php if(!empty($flipbox['action_text'])){ ?>
1650
- <div class="eae-fb-button-wrapper">
1651
- <a <?php echo $this->get_render_attribute_string( $flipbox['_id'].'-button' ); ?>>
1652
- <span class="elementor-button-text"><?php echo $flipbox['action_text']; ?></span>
1653
- </a>
1654
- </div>
1655
- <?php } ?>
1656
- </div>
1657
- </div>
1658
-
1659
- </div>
1660
- </div>
1661
-
1662
- <?php
1663
- }
1664
- ?>
1665
- </div>
1666
- <?php }
1667
-
1668
- }
1669
-
1670
- protected function _content_template() {
1671
- ?>
1672
- <div class="eae-flip-box">
1673
- <#
1674
-
1675
- if(settings.eae_flip_box_set.length){
1676
- settings.eae_flip_box_set.forEach(flipbox);
1677
-
1678
- function flipbox(item, index){
1679
- if(item.front_box_element == "icon") {
1680
- if(item.style_indv == "yes") {
1681
- view.addRenderAttribute( item._id + '-front-icon-wrapper', 'class', 'icon-wrapper' );
1682
- view.addRenderAttribute( item._id + '-front-icon-wrapper', 'class', 'eae-fb-icon-view-' + item.front_icon_view );
1683
- view.addRenderAttribute( item._id + '-front-icon-wrapper', 'class', 'eae-fb-icon-shape-' + item.front_icon_shape );
1684
- }
1685
- else
1686
- {
1687
- view.addRenderAttribute( item._id + '-front-icon-wrapper', 'class', 'icon-wrapper' );
1688
- view.addRenderAttribute( item._id + '-front-icon-wrapper', 'class', 'eae-fb-icon-view-' + item.front_icon_view_global );
1689
- view.addRenderAttribute( item._id + '-front-icon-wrapper', 'class', 'eae-fb-icon-shape-' + item.front_icon_shape_global );
1690
- }
1691
- view.addRenderAttribute( item._id + '-front-icon-title', 'class', 'front-icon-title' );
1692
- view.addRenderAttribute( item._id + '-front-icon', 'class', item.front_icon );
1693
- }
1694
- if(item.back_box_element == "icon") {
1695
- if(item.style_indv == "yes") {
1696
- view.addRenderAttribute(item._id + '-back-icon-wrapper', 'class', 'icon-wrapper');
1697
- view.addRenderAttribute(item._id + '-back-icon-wrapper', 'class', 'eae-fb-icon-view-' + item.back_icon_view);
1698
- view.addRenderAttribute(item._id + '-back-icon-wrapper', 'class', 'eae-fb-icon-shape-' + item.back_icon_shape);
1699
- }
1700
- else
1701
- {
1702
- view.addRenderAttribute( item._id + '-back-icon-wrapper', 'class', 'icon-wrapper' );
1703
- view.addRenderAttribute( item._id + '-back-icon-wrapper', 'class', 'eae-fb-icon-view-' + item.back_icon_view_global );
1704
- view.addRenderAttribute( item._id + '-back-icon-wrapper', 'class', 'eae-fb-icon-shape-' + item.back_icon_shape_global );
1705
- }
1706
- view.addRenderAttribute( item._id + '-back-icon-title', 'class', 'back-icon-title' );
1707
- view.addRenderAttribute( item._id + '-back-icon', 'class', item.back_icon );
1708
- }
1709
-
1710
- view.addRenderAttribute( item._id + '-button', 'class', 'eae-fb-button' );
1711
- if ( item.link.url !== "" ) {
1712
- view.addRenderAttribute( item._id + '-button', 'href', item.link.url);
1713
-
1714
- if ( item.link.is_external !== "" ) {
1715
- view.addRenderAttribute( item._id + '-button', 'target', '_blank' );
1716
- }
1717
- }
1718
-
1719
- #>
1720
-
1721
- <div class="elementor-repeater-item-{{{ item._id }}} overwrite-style-{{{ item.style_indv }}} eae-flip-box-wrapper ">
1722
- <div class="eae-flip-box-inner" >
1723
-
1724
- <div class="eae-flip-box-front">
1725
- <div class="flipbox-content">
1726
-
1727
- <# if(item.front_box_element == "icon") {
1728
- if(item.front_icon !== ""){ #>
1729
- <div {{{ view.getRenderAttributeString( item._id + '-front-icon-wrapper' ) }}}>
1730
- <i {{{ view.getRenderAttributeString( item._id + '-front-icon' ) }}}></i>
1731
- </div>
1732
- <# } } #>
1733
- <# if(item.front_box_element == "image"){
1734
- if(item.front_box_image.url !="")
1735
- { #>
1736
- <img src='{{{ item.front_box_image.url }}}'>
1737
- <# }
1738
- }#>
1739
-
1740
- <# if(item.front_title !== "" ){ #>
1741
- <{{{ item.front_title_html_tag }}} {{{ view.getRenderAttributeString( item._id + '-front-icon-title' ) }}} >
1742
- {{{ item.front_title }}}
1743
- </{{{ item.front_title_html_tag }}}>
1744
- <# } #>
1745
-
1746
- <# if(item.front_text !== ""){ #>
1747
- <p>
1748
- {{{ item.front_text }}}
1749
- </p>
1750
- <# } #>
1751
-
1752
-
1753
- </div>
1754
- </div>
1755
-
1756
- <div class="eae-flip-box-back">
1757
- <div class="flipbox-content">
1758
- <# if(item.back_box_element == "icon") { #>
1759
- <# if(item.back_icon !== "" ){ #>
1760
- <div {{{ view.getRenderAttributeString( item._id + '-back-icon-wrapper' ) }}}>
1761
- <i {{{ view.getRenderAttributeString( item._id + '-back-icon' ) }}}></i>
1762
- </div>
1763
- <# } } #>
1764
- <# if(item.back_box_element == "image"){
1765
- if(item.back_box_image.url !="")
1766
- { #>
1767
- <img src='{{{ item.back_box_image.url }}}'>
1768
- <# }
1769
- } #>
1770
- <# if(item.back_title !== "" ){ #>
1771
- <{{{ item.back_title_html_tag }}} {{{ view.getRenderAttributeString( 'back-icon-title' ) }}} >
1772
- {{{ item.back_title }}}
1773
- </{{{ item.back_title_html_tag }}}>
1774
- <# } #>
1775
-
1776
- <# if(item.back_text !== ""){ #>
1777
- <p>
1778
- {{{ item.back_text }}}
1779
- </p>
1780
- <# } #>
1781
-
1782
- <# if(item.action_text !== ""){ #>
1783
- <div class="eae-fb-button-wrapper">
1784
- <a {{{ view.getRenderAttributeString( item._id + '-button' ) }}}>
1785
- <span class="elementor-button-text">{{{ item.action_text }}}</span>
1786
- </a>
1787
- </div>
1788
- <# } #>
1789
- </div>
1790
- </div>
1791
- </div>
1792
- </div>
1793
-
1794
-
1795
- <# } } #>
1796
- </div>
1797
- <?php
1798
- }
1799
- }
1800
- Plugin::instance()->widgets_manager->register_widget_type( new Widget_FlipBoxSet() );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/flip-box/widgets/flip-box.php CHANGED
@@ -8,9 +8,7 @@ use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
8
  use Elementor\Group_Control_Background;
9
  use Elementor\Group_Control_Border;
10
  use WTS_EAE\Base\EAE_Widget_Base;
11
- use Elementor\Scheme_Color;
12
  use Elementor\Group_Control_Typography;
13
- use Elementor\Scheme_Typography;
14
  use Elementor\Icons_Manager;
15
 
16
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -442,10 +440,6 @@ class FlipBox extends EAE_Widget_Base {
442
  [
443
  'label' => __( 'Icon Fill Color', 'wts-eae' ),
444
  'type' => Controls_Manager::COLOR,
445
- // 'scheme' => [
446
- // 'type' => Scheme_Color::get_type(),
447
- // 'value' => Scheme_Color::COLOR_1,
448
- // ],
449
  'global' => [
450
  'default' => Global_Colors::COLOR_PRIMARY,
451
  ],
@@ -547,10 +541,6 @@ class FlipBox extends EAE_Widget_Base {
547
  [
548
  'label' => __( 'Title', 'wts-eae' ),
549
  'type' => Controls_Manager::COLOR,
550
- // 'scheme' => [
551
- // 'type' => Scheme_Color::get_type(),
552
- // 'value' => Scheme_Color::COLOR_1,
553
- // ],
554
  'global' => [
555
  'default' => Global_Colors::COLOR_PRIMARY,
556
  ],
@@ -567,7 +557,6 @@ class FlipBox extends EAE_Widget_Base {
567
  [
568
  'name' => 'back_box_title_typography',
569
  'label' => __( 'Title Typography', 'wts-eae' ),
570
- //'scheme' => Scheme_Typography::TYPOGRAPHY_4,
571
  'global' => [
572
  'default' => Global_Typography::TYPOGRAPHY_ACCENT,
573
  ],
@@ -580,10 +569,6 @@ class FlipBox extends EAE_Widget_Base {
580
  [
581
  'label' => __( 'Description Color', 'wts-eae' ),
582
  'type' => Controls_Manager::COLOR,
583
- // 'scheme' => [
584
- // 'type' => Scheme_Color::get_type(),
585
- // 'value' => Scheme_Color::COLOR_1,
586
- // ],
587
  'global' => [
588
  'default' => Global_Colors::COLOR_PRIMARY,
589
  ],
@@ -600,7 +585,6 @@ class FlipBox extends EAE_Widget_Base {
600
  [
601
  'name' => 'back_box_text_typography',
602
  'label' => __( 'Description Typography', 'wts-eae' ),
603
- // 'scheme' => Scheme_Typography::TYPOGRAPHY_4,
604
  'global' => [
605
  'default' => Global_Typography::TYPOGRAPHY_ACCENT,
606
  ],
@@ -617,10 +601,6 @@ class FlipBox extends EAE_Widget_Base {
617
  [
618
  'label' => __( 'Icon Color', 'wts-eae' ),
619
  'type' => Controls_Manager::COLOR,
620
- // 'scheme' => [
621
- // 'type' => Scheme_Color::get_type(),
622
- // 'value' => Scheme_Color::COLOR_1,
623
- // ],
624
  'global' => [
625
  'default' => Global_Colors::COLOR_PRIMARY,
626
  ],
@@ -638,10 +618,6 @@ class FlipBox extends EAE_Widget_Base {
638
  [
639
  'label' => __( 'Icon Fill Color', 'wts-eae' ),
640
  'type' => Controls_Manager::COLOR,
641
- // 'scheme' => [
642
- // 'type' => Scheme_Color::get_type(),
643
- // 'value' => Scheme_Color::COLOR_1,
644
- // ],
645
  'global' => [
646
  'default' => Global_Colors::COLOR_PRIMARY,
647
  ],
@@ -756,7 +732,6 @@ class FlipBox extends EAE_Widget_Base {
756
  [
757
  'name' => 'typography',
758
  'label' => __( 'Typography', 'wts-eae' ),
759
- // 'scheme' => Scheme_Typography::TYPOGRAPHY_4,
760
  'global' => [
761
  'default' => Global_Typography::TYPOGRAPHY_ACCENT,
762
  ],
@@ -769,10 +744,6 @@ class FlipBox extends EAE_Widget_Base {
769
  [
770
  'label' => __( 'Background Color', 'wts-eae' ),
771
  'type' => Controls_Manager::COLOR,
772
- // 'scheme' => [
773
- // 'type' => Scheme_Color::get_type(),
774
- // 'value' => Scheme_Color::COLOR_4,
775
- // ],
776
  'global' => [
777
  'default' => Global_Colors::COLOR_ACCENT,
778
  ],
8
  use Elementor\Group_Control_Background;
9
  use Elementor\Group_Control_Border;
10
  use WTS_EAE\Base\EAE_Widget_Base;
 
11
  use Elementor\Group_Control_Typography;
 
12
  use Elementor\Icons_Manager;
13
 
14
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
440
  [
441
  'label' => __( 'Icon Fill Color', 'wts-eae' ),
442
  'type' => Controls_Manager::COLOR,
 
 
 
 
443
  'global' => [
444
  'default' => Global_Colors::COLOR_PRIMARY,
445
  ],
541
  [
542
  'label' => __( 'Title', 'wts-eae' ),
543
  'type' => Controls_Manager::COLOR,
 
 
 
 
544
  'global' => [
545
  'default' => Global_Colors::COLOR_PRIMARY,
546
  ],
557
  [
558
  'name' => 'back_box_title_typography',
559
  'label' => __( 'Title Typography', 'wts-eae' ),
 
560
  'global' => [
561
  'default' => Global_Typography::TYPOGRAPHY_ACCENT,
562
  ],
569
  [
570
  'label' => __( 'Description Color', 'wts-eae' ),
571
  'type' => Controls_Manager::COLOR,
 
 
 
 
572
  'global' => [
573
  'default' => Global_Colors::COLOR_PRIMARY,
574
  ],
585
  [
586
  'name' => 'back_box_text_typography',
587
  'label' => __( 'Description Typography', 'wts-eae' ),
 
588
  'global' => [
589
  'default' => Global_Typography::TYPOGRAPHY_ACCENT,
590
  ],
601
  [
602
  'label' => __( 'Icon Color', 'wts-eae' ),
603
  'type' => Controls_Manager::COLOR,
 
 
 
 
604
  'global' => [
605
  'default' => Global_Colors::COLOR_PRIMARY,
606
  ],
618
  [
619
  'label' => __( 'Icon Fill Color', 'wts-eae' ),
620
  'type' => Controls_Manager::COLOR,
 
 
 
 
621
  'global' => [
622
  'default' => Global_Colors::COLOR_PRIMARY,
623
  ],
732
  [
733
  'name' => 'typography',
734
  'label' => __( 'Typography', 'wts-eae' ),
 
735
  'global' => [
736
  'default' => Global_Typography::TYPOGRAPHY_ACCENT,
737
  ],
744
  [
745
  'label' => __( 'Background Color', 'wts-eae' ),
746
  'type' => Controls_Manager::COLOR,
 
 
 
 
747
  'global' => [
748
  'default' => Global_Colors::COLOR_ACCENT,
749
  ],
modules/image-compare/widgets/image-compare.php CHANGED
@@ -3,10 +3,9 @@ namespace WTS_EAE\Modules\ImageCompare\Widgets;
3
 
4
  use Elementor\Controls_Manager;
5
  use Elementor\Core\Kits\Documents\Tabs\Global_Colors;
 
6
  use WTS_EAE\Base\EAE_Widget_Base;
7
- use Elementor\Scheme_Color;
8
  use Elementor\Group_Control_Typography;
9
- use Elementor\Scheme_Typography;
10
  use Elementor\Utils;
11
  use Elementor\Group_Control_Image_Size;
12
  use Elementor\Group_Control_Border;
@@ -369,7 +368,9 @@ class ImageCompare extends EAE_Widget_Base {
369
  Group_Control_Typography::get_type(),
370
  [
371
  'name' => 'label_text_typography',
372
- 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
 
 
373
  'selector' => '{{WRAPPER}} .eae-text-after, {{WRAPPER}} .eae-text-before',
374
  ]
375
  );
@@ -379,9 +380,8 @@ class ImageCompare extends EAE_Widget_Base {
379
  [
380
  'label' => __('Color', 'wts-eae'),
381
  'type' => Controls_Manager::COLOR,
382
- 'scheme' => [
383
- 'type' => Scheme_Color::get_type(),
384
- 'value' => Scheme_Color::COLOR_1
385
  ],
386
  'selectors' => [
387
  '{{WRAPPER}} .eae-text-after' => 'color: {{VALUE}}',
@@ -394,7 +394,6 @@ class ImageCompare extends EAE_Widget_Base {
394
  [
395
  'label' => __('BackgroundColor', 'wts-eae'),
396
  'type' => Controls_Manager::COLOR,
397
- 'type' => Scheme_Color::get_type(),
398
  'selectors' => [
399
  '{{WRAPPER}} .eae-text-after' => 'background-color: {{VALUE}}',
400
  '{{WRAPPER}} .eae-text-before' => 'background-color: {{VALUE}}'
@@ -517,7 +516,7 @@ class ImageCompare extends EAE_Widget_Base {
517
  #>
518
 
519
  <div {{{ view.getRenderAttributeString( 'wrapper') }}} >
520
- <img src="{{{ settings.before_image.url }}}" />
521
  <# if(settings.text_before) {#>
522
  <span class="eae-text-before">{{{settings.text_before}}}</span>
523
  <# } #>
@@ -530,7 +529,7 @@ class ImageCompare extends EAE_Widget_Base {
530
  </div>
531
 
532
  <div class="eae-img-comp-img eae-img-comp-overlay">
533
- <img src="{{{ settings.after_image.url }}}" >
534
  <# if(settings.text_after) { #>
535
  <span class="eae-text-after">{{{settings.text_after}}}</span>
536
  <# } #>
3
 
4
  use Elementor\Controls_Manager;
5
  use Elementor\Core\Kits\Documents\Tabs\Global_Colors;
6
+ use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
7
  use WTS_EAE\Base\EAE_Widget_Base;
 
8
  use Elementor\Group_Control_Typography;
 
9
  use Elementor\Utils;
10
  use Elementor\Group_Control_Image_Size;
11
  use Elementor\Group_Control_Border;
368
  Group_Control_Typography::get_type(),
369
  [
370
  'name' => 'label_text_typography',
371
+ 'global' => [
372
+ 'default' => Global_Typography::TYPOGRAPHY_PRIMARY
373
+ ],
374
  'selector' => '{{WRAPPER}} .eae-text-after, {{WRAPPER}} .eae-text-before',
375
  ]
376
  );
380
  [
381
  'label' => __('Color', 'wts-eae'),
382
  'type' => Controls_Manager::COLOR,
383
+ 'global' => [
384
+ 'default' => Global_Colors::COLOR_PRIMARY
 
385
  ],
386
  'selectors' => [
387
  '{{WRAPPER}} .eae-text-after' => 'color: {{VALUE}}',
394
  [
395
  'label' => __('BackgroundColor', 'wts-eae'),
396
  'type' => Controls_Manager::COLOR,
 
397
  'selectors' => [
398
  '{{WRAPPER}} .eae-text-after' => 'background-color: {{VALUE}}',
399
  '{{WRAPPER}} .eae-text-before' => 'background-color: {{VALUE}}'
516
  #>
517
 
518
  <div {{{ view.getRenderAttributeString( 'wrapper') }}} >
519
+ <img src="{{{ settings.before_image.url }}}" data-skip-lazy="1"/>
520
  <# if(settings.text_before) {#>
521
  <span class="eae-text-before">{{{settings.text_before}}}</span>
522
  <# } #>
529
  </div>
530
 
531
  <div class="eae-img-comp-img eae-img-comp-overlay">
532
+ <img src="{{{ settings.after_image.url }}}" data-skip-lazy="1">
533
  <# if(settings.text_after) { #>
534
  <span class="eae-text-after">{{{settings.text_after}}}</span>
535
  <# } #>
modules/info-circle/skins/skin-base.php CHANGED
@@ -15,8 +15,6 @@ use WTS_EAE\Controls\Group\Group_Control_Icon;
15
  use WTS_EAE\Classes\Helper;
16
  use Elementor\Group_Control_Text_Shadow;
17
  use Elementor\Group_Control_Box_Shadow;
18
- use Elementor\Scheme_Typography;
19
- use Elementor\Scheme_Color;
20
  use Elementor\Group_Control_Typography;
21
 
22
  abstract class Skin_Base extends Elementor_Skin_Base {
@@ -97,6 +95,9 @@ abstract class Skin_Base extends Elementor_Skin_Base {
97
  'label' => __( 'Custom Icon', 'wts-eae' ),
98
  'type' => Controls_Manager::MEDIA,
99
  'label_block' => true,
 
 
 
100
  ]
101
  );
102
 
@@ -304,7 +305,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
304
  [
305
  'name' => 'title_typography_ind',
306
  'label' => __( 'Title Typography', 'wts-eae' ),
307
- // 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
308
  'global' => [
309
  'default' => Global_Typography::TYPOGRAPHY_PRIMARY,
310
  ],
@@ -320,7 +320,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
320
  [
321
  'name' => 'content_typography_ind',
322
  'label' => __( 'Content Typography', 'wts-eae' ),
323
- // 'scheme' => Scheme_Typography::TYPOGRAPHY_3,
324
  'global' => [
325
  'default' => Global_Typography::TYPOGRAPHY_TEXT,
326
  ],
@@ -337,10 +336,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
337
  [
338
  'label' => __( 'Title Color', 'wts-eae' ),
339
  'type' => Controls_Manager::COLOR,
340
- // 'scheme' => [
341
- // 'type' => Scheme_Color::get_type(),
342
- // 'value' => Scheme_Color::COLOR_1,
343
- // ],
344
  'global' => [
345
  'default' => Global_Colors::COLOR_PRIMARY,
346
  ],
@@ -358,10 +353,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
358
  [
359
  'label' => __( 'Content Color', 'wts-eae' ),
360
  'type' => Controls_Manager::COLOR,
361
- // 'scheme' => [
362
- // 'type' => Scheme_Color::get_type(),
363
- // 'value' => Scheme_Color::COLOR_3,
364
- // ],
365
  'global' => [
366
  'default' => Global_Colors::COLOR_TEXT,
367
  ],
@@ -464,6 +455,18 @@ abstract class Skin_Base extends Elementor_Skin_Base {
464
  'tab' => Controls_Manager::TAB_STYLE,
465
  ]
466
  );
 
 
 
 
 
 
 
 
 
 
 
 
467
 
468
  $this->add_control(
469
  'ic_content_auto_change',
@@ -528,10 +531,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
528
  [
529
  'label' => __( 'Title Color', 'wts-eae' ),
530
  'type' => Controls_Manager::COLOR,
531
- // 'scheme' => [
532
- // 'type' => Scheme_Color::get_type(),
533
- // 'value' => Scheme_Color::COLOR_1,
534
- // ],
535
  'global' => [
536
  'default' => Global_Colors::COLOR_PRIMARY,
537
  ],
@@ -546,10 +545,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
546
  [
547
  'label' => __( 'Content Color', 'wts-eae' ),
548
  'type' => Controls_Manager::COLOR,
549
- // 'scheme' => [
550
- // 'type' => Scheme_Color::get_type(),
551
- // 'value' => Scheme_Color::COLOR_3,
552
- // ],
553
  'global' => [
554
  'default' => Global_Colors::COLOR_TEXT,
555
  ],
@@ -563,7 +558,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
563
  [
564
  'name' => 'title_typography',
565
  'label' => __( 'Title Typography', 'wts-eae' ),
566
- // 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
567
  'global' => [
568
  'default' => Global_Typography::TYPOGRAPHY_PRIMARY,
569
  ],
@@ -579,7 +573,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
579
  'global' => [
580
  'default' => Global_Typography::TYPOGRAPHY_TEXT,
581
  ],
582
- // 'scheme' => Scheme_Typography::TYPOGRAPHY_3,
583
  'selector' => '{{WRAPPER}} .eae-ic-description',
584
  ]
585
  );
15
  use WTS_EAE\Classes\Helper;
16
  use Elementor\Group_Control_Text_Shadow;
17
  use Elementor\Group_Control_Box_Shadow;
 
 
18
  use Elementor\Group_Control_Typography;
19
 
20
  abstract class Skin_Base extends Elementor_Skin_Base {
95
  'label' => __( 'Custom Icon', 'wts-eae' ),
96
  'type' => Controls_Manager::MEDIA,
97
  'label_block' => true,
98
+ 'condition' => [
99
+ $this->get_control_id( 'global_icon_type' ) => 'image'
100
+ ],
101
  ]
102
  );
103
 
305
  [
306
  'name' => 'title_typography_ind',
307
  'label' => __( 'Title Typography', 'wts-eae' ),
 
308
  'global' => [
309
  'default' => Global_Typography::TYPOGRAPHY_PRIMARY,
310
  ],
320
  [
321
  'name' => 'content_typography_ind',
322
  'label' => __( 'Content Typography', 'wts-eae' ),
 
323
  'global' => [
324
  'default' => Global_Typography::TYPOGRAPHY_TEXT,
325
  ],
336
  [
337
  'label' => __( 'Title Color', 'wts-eae' ),
338
  'type' => Controls_Manager::COLOR,
 
 
 
 
339
  'global' => [
340
  'default' => Global_Colors::COLOR_PRIMARY,
341
  ],
353
  [
354
  'label' => __( 'Content Color', 'wts-eae' ),
355
  'type' => Controls_Manager::COLOR,
 
 
 
 
356
  'global' => [
357
  'default' => Global_Colors::COLOR_TEXT,
358
  ],
455
  'tab' => Controls_Manager::TAB_STYLE,
456
  ]
457
  );
458
+ // $this->add_control(
459
+ // 'ic_content_mouseenter',
460
+ // [
461
+ // 'label' => __( 'Content Change on MouseEnter', 'wts-eae' ),
462
+ // 'type' => Controls_Manager::SWITCHER,
463
+ // 'label_on' => __( 'Yes', 'your-plugin' ),
464
+ // 'label_off' => __( 'No', 'your-plugin' ),
465
+ // 'return_value' => 'yes',
466
+ // 'default' => 'yes',
467
+ // 'prefix_class' => 'eae-mouseenter-'
468
+ // ]
469
+ // );
470
 
471
  $this->add_control(
472
  'ic_content_auto_change',
531
  [
532
  'label' => __( 'Title Color', 'wts-eae' ),
533
  'type' => Controls_Manager::COLOR,
 
 
 
 
534
  'global' => [
535
  'default' => Global_Colors::COLOR_PRIMARY,
536
  ],
545
  [
546
  'label' => __( 'Content Color', 'wts-eae' ),
547
  'type' => Controls_Manager::COLOR,
 
 
 
 
548
  'global' => [
549
  'default' => Global_Colors::COLOR_TEXT,
550
  ],
558
  [
559
  'name' => 'title_typography',
560
  'label' => __( 'Title Typography', 'wts-eae' ),
 
561
  'global' => [
562
  'default' => Global_Typography::TYPOGRAPHY_PRIMARY,
563
  ],
573
  'global' => [
574
  'default' => Global_Typography::TYPOGRAPHY_TEXT,
575
  ],
 
576
  'selector' => '{{WRAPPER}} .eae-ic-description',
577
  ]
578
  );
modules/info-circle/widgets/info-circle.php CHANGED
@@ -8,9 +8,7 @@ use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
8
  use Elementor\Repeater;
9
  use WTS_EAE\Classes\Helper;
10
  use Elementor\Controls_Manager;
11
- use Elementor\Scheme_Typography;
12
  use Elementor\Group_Control_Typography;
13
- use Elementor\Scheme_Color;
14
  use Elementor\Group_Control_Background;
15
  use WTS_EAE\Controls\Group\Group_Control_Icon;
16
  use WTS_EAE\Modules\InfoCircle\Skins;
@@ -166,7 +164,6 @@ class Info_Circle extends EAE_Widget_Base {
166
  [
167
  'name' => 'title_typography_ind',
168
  'label' => __( 'Title Typography', 'wts-eae' ),
169
- // 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
170
  'global' => [
171
  'default' => Global_Typography::TYPOGRAPHY_PRIMARY,
172
  ],
@@ -182,7 +179,6 @@ class Info_Circle extends EAE_Widget_Base {
182
  [
183
  'name' => 'content_typography_ind',
184
  'label' => __( 'Content Typography', 'wts-eae' ),
185
- // 'scheme' => Scheme_Typography::TYPOGRAPHY_3,
186
  'global' => [
187
  'default' => Global_Typography::TYPOGRAPHY_TEXT,
188
  ],
@@ -199,10 +195,6 @@ class Info_Circle extends EAE_Widget_Base {
199
  [
200
  'label' => __( 'Title Color', 'wts-eae' ),
201
  'type' => Controls_Manager::COLOR,
202
- // 'scheme' => [
203
- // 'type' => Scheme_Color::get_type(),
204
- // 'value' => Scheme_Color::COLOR_1,
205
- // ],
206
  'global' => [
207
  'default' => Global_Colors::COLOR_PRIMARY,
208
  ],
@@ -220,10 +212,6 @@ class Info_Circle extends EAE_Widget_Base {
220
  [
221
  'label' => __( 'Content Color', 'wts-eae' ),
222
  'type' => Controls_Manager::COLOR,
223
- // 'scheme' => [
224
- // 'type' => Scheme_Color::get_type(),
225
- // 'value' => Scheme_Color::COLOR_3,
226
- // ],
227
  'global' => [
228
  'default' => Global_Colors::COLOR_TEXT,
229
  ],
8
  use Elementor\Repeater;
9
  use WTS_EAE\Classes\Helper;
10
  use Elementor\Controls_Manager;
 
11
  use Elementor\Group_Control_Typography;
 
12
  use Elementor\Group_Control_Background;
13
  use WTS_EAE\Controls\Group\Group_Control_Icon;
14
  use WTS_EAE\Modules\InfoCircle\Skins;
164
  [
165
  'name' => 'title_typography_ind',
166
  'label' => __( 'Title Typography', 'wts-eae' ),
 
167
  'global' => [
168
  'default' => Global_Typography::TYPOGRAPHY_PRIMARY,
169
  ],
179
  [
180
  'name' => 'content_typography_ind',
181
  'label' => __( 'Content Typography', 'wts-eae' ),
 
182
  'global' => [
183
  'default' => Global_Typography::TYPOGRAPHY_TEXT,
184
  ],
195
  [
196
  'label' => __( 'Title Color', 'wts-eae' ),
197
  'type' => Controls_Manager::COLOR,
 
 
 
 
198
  'global' => [
199
  'default' => Global_Colors::COLOR_PRIMARY,
200
  ],
212
  [
213
  'label' => __( 'Content Color', 'wts-eae' ),
214
  'type' => Controls_Manager::COLOR,
 
 
 
 
215
  'global' => [
216
  'default' => Global_Colors::COLOR_TEXT,
217
  ],
modules/modal-popup/widgets/modal-popup.php CHANGED
@@ -8,14 +8,11 @@ use Elementor\Plugin as EPlugin;
8
  use Elementor\Controls_Manager;
9
  use Elementor\Utils;
10
  use WTS_EAE\Base\EAE_Widget_Base;
11
- use Elementor\Scheme_Color;
12
  use Elementor\Group_Control_Typography;
13
- use Elementor\Scheme_Typography;
14
  use Elementor\Group_Control_Text_Shadow;
15
  use Elementor\Group_Control_Box_Shadow;
16
  use Elementor\Group_Control_Border;
17
  use Elementor\Icons_Manager;
18
- use Elementor\Core\Schemes;
19
 
20
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
21
 
@@ -184,7 +181,7 @@ class ModalPopup extends EAE_Widget_Base {
184
  'type' => Controls_Manager::COLOR,
185
  'default' => 'rgba(0,0,0,0.75)',
186
  'selectors' => [
187
- '{{WRAPPER}}.mfp-bg' => 'background-color: {{VALUE}};',
188
  ],
189
 
190
  ]
@@ -534,7 +531,9 @@ class ModalPopup extends EAE_Widget_Base {
534
  [
535
  'name' => 'btn_text_typography',
536
  'label' => __( 'Typography', 'wts-eae' ),
537
- 'scheme' => Schemes\Typography::TYPOGRAPHY_4,
 
 
538
  //'selector' => '.eae-popup-{{ID}} .eae-popup-link',
539
  'selector' => '{{WRAPPER}} .eae-popup-link',
540
  'condition' => [
8
  use Elementor\Controls_Manager;
9
  use Elementor\Utils;
10
  use WTS_EAE\Base\EAE_Widget_Base;
 
11
  use Elementor\Group_Control_Typography;
 
12
  use Elementor\Group_Control_Text_Shadow;
13
  use Elementor\Group_Control_Box_Shadow;
14
  use Elementor\Group_Control_Border;
15
  use Elementor\Icons_Manager;
 
16
 
17
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
18
 
181
  'type' => Controls_Manager::COLOR,
182
  'default' => 'rgba(0,0,0,0.75)',
183
  'selectors' => [
184
+ 'body .eae-popup.mfp-bg.eae-wrap-{{ID}}' => 'background-color: {{VALUE}};',
185
  ],
186
 
187
  ]
531
  [
532
  'name' => 'btn_text_typography',
533
  'label' => __( 'Typography', 'wts-eae' ),
534
+ 'global' => [
535
+ 'default' => Global_Typography::TYPOGRAPHY_ACCENT,
536
+ ],
537
  //'selector' => '.eae-popup-{{ID}} .eae-popup-link',
538
  'selector' => '{{WRAPPER}} .eae-popup-link',
539
  'condition' => [
modules/pinterest.php DELETED
@@ -1,550 +0,0 @@
1
- <?php
2
-
3
- namespace EAE;
4
-
5
- use Elementor\Controls_Manager;
6
- use Elementor\Widget_Base;
7
- use Elementor\Plugin;
8
-
9
-
10
- if ( ! defined( 'ABSPATH' ) ) {
11
- exit;
12
- } //Exit if accessed directly
13
-
14
- class EAE_Pinterest extends Widget_Base {
15
-
16
-
17
- public function get_name() {
18
- return 'wts-pinterest';
19
- }
20
-
21
- public function get_title() {
22
- return __( 'EAE - Pinterest', 'wts-eae' );
23
- }
24
-
25
- public function get_icon() {
26
- return 'fa fa-pinterest';
27
- }
28
-
29
- public function get_categories() {
30
- return [ ' wts-eae' ];
31
- }
32
-
33
- protected function _register_controls() {
34
- $this->start_controls_section(
35
- 'section_general',
36
- [
37
- 'label' => __( 'General', 'wts-eae' )
38
- ]
39
- );
40
-
41
- $this->add_control(
42
- 'embed_type',
43
- [
44
- 'label' => __( 'Embed Type', 'wts-eae' ),
45
- 'type' => Controls_Manager::SELECT,
46
- 'default' => 'follow_button',
47
- 'options' => [
48
- 'save_button' => __( 'Save Button', 'wts-eae' ),
49
- 'follow_button' => __( 'Follow', 'wts-eae' ),
50
- 'pin' => __( 'Pin', 'wts-eae' ),
51
- 'board' => __( 'Board', 'wts-eae' ),
52
- 'profile' => __( 'Profile', 'wts-eae' )
53
- ]
54
- ]
55
- );
56
-
57
- $this->add_control(
58
- 'button_type',
59
- [
60
- 'label' => __( 'Button Type', 'wts-eae' ),
61
- 'type' => Controls_Manager::SELECT,
62
- 'default' => 'one_image',
63
- 'options' => [
64
- 'one_image' => __( 'One Image', 'wts-eae' ),
65
- 'any_image' => __( 'Any Image', 'wts-eae' ),
66
- //'hover' => __('Hover' , 'wts-eae')
67
- ],
68
- 'condition' => [
69
- 'embed_type' => 'save_button',
70
- ]
71
- ]
72
-
73
- );
74
-
75
- $this->add_control(
76
- 'custom_pinterest_icon',
77
- [
78
- 'label' => __( 'Custom Pinterest Icon', 'wts-eae' ),
79
- 'type' => Controls_Manager::MEDIA,
80
- 'condition' => [
81
- 'embed_type' => 'save_button'
82
- ]
83
-
84
- ]
85
- );
86
-
87
- $this->add_control(
88
- 'user_url',
89
- [
90
- 'label' => __( "User URL", 'wts-eae' ),
91
- 'type' => Controls_Manager::TEXT,
92
- 'default' => 'https://www.pinterest.com/pinterest',
93
- 'condition' => [
94
- 'embed_type' => 'follow_button'
95
- ]
96
-
97
- ]
98
-
99
- );
100
-
101
- $this->add_control(
102
- 'user_name',
103
- [
104
- 'label' => __( 'User Name', 'wts-eae' ),
105
- 'type' => Controls_Manager::TEXT,
106
- 'placeholder' => 'Pinterest',
107
- 'default' => 'Pinterest',
108
- 'condition' => [
109
- 'embed_type' => 'follow_button'
110
- ]
111
- ]
112
- );
113
-
114
- $this->add_control(
115
- 'round_button',
116
- [
117
- 'label' => __( 'Round Button', 'wts-eae' ),
118
- 'type' => Controls_Manager::SWITCHER,
119
- 'default' => '',
120
- 'label_on' => __( 'Yes', 'wts-eae' ),
121
- 'label_off' => __( 'No', 'wts-eae' ),
122
- 'return_value' => 'yes',
123
- 'condition' => [
124
- 'embed_type' => 'save_button',
125
- ]
126
- ]
127
- );
128
-
129
- $this->add_control(
130
- 'large_button',
131
- [
132
- 'label' => __( 'Large Button', 'wts-eae' ),
133
- 'type' => Controls_Manager::SWITCHER,
134
- 'default' => '',
135
- 'label_on' => __( 'Yes', 'wts-eae' ),
136
- 'label_off' => __( 'No', 'wts-eae' ),
137
- 'return_value' => 'yes',
138
- 'condition' => [
139
- 'embed_type' => [ 'save_button', 'follow_button' ]
140
- ]
141
- ]
142
- );
143
-
144
- $this->add_control(
145
- 'save_label',
146
- [
147
- 'label' => __( 'Show Save Label', 'wts-eae' ),
148
- 'type' => Controls_Manager::SWITCHER,
149
- 'label_on' => __( 'Yes', 'wts-eae' ),
150
- 'label_off' => __( 'No', 'wts-eae' ),
151
- 'return_value' => 'yes',
152
- 'condition' => [
153
- 'embed_type' => 'save_button',
154
- 'round_button!' => 'yes'
155
- ]
156
-
157
- ]
158
- );
159
-
160
- $this->add_control(
161
- 'show_pin_count',
162
- [
163
- 'label' => __( 'Show Pin Count', 'wts-eae' ),
164
- 'type' => Controls_Manager::SELECT,
165
- 'options' => [
166
- '' => __( 'Not Shown', 'wts-eae' ),
167
- 'above' => __( 'Above the Button', 'wts-eae' ),
168
- 'beside' => __( 'Beside the Button', 'wts-eae' )
169
- ],
170
- 'condition' => [
171
- 'embed_type' => 'save_button',
172
- 'button_type' => 'one_image',
173
- 'round_button!' => 'yes'
174
- ]
175
- ]
176
- );
177
-
178
-
179
- $this->add_control(
180
- 'source_url',
181
- [
182
- 'label' => __( 'URL', 'wts-eae' ),
183
- 'type' => Controls_Manager::TEXT,
184
- 'default' => 'https://www.flickr.com/photos/kentbrew/6851755809',
185
- 'condition' => [
186
- 'embed_type' => 'save_button',
187
- 'button_type' => 'one_image'
188
- ]
189
- ]
190
-
191
- );
192
- $this->add_control(
193
- 'image_url',
194
- [
195
- 'label' => __( 'Image URL', 'wts-eae' ),
196
- 'type' => Controls_Manager::TEXT,
197
- 'default' => 'https://farm8.staticflickr.com/7027/6851755809_df5b2051c9_z.jpg',
198
- 'condition' => [
199
- 'embed_type' => 'save_button',
200
- 'button_type' => 'one_image'
201
- ]
202
- ]
203
-
204
- );
205
-
206
- $this->add_control(
207
- 'description',
208
- [
209
- 'label' => __( 'Description', 'wts-eae' ),
210
- 'type' => Controls_Manager::TEXTAREA,
211
- 'condition' => [
212
- 'embed_type' => 'save_button',
213
- 'button_type' => 'one_image'
214
- ]
215
- ]
216
-
217
- );
218
-
219
-
220
- $this->add_control(
221
- 'pin_url',
222
- [
223
- 'label' => __( 'Pin Url', 'wts-eae' ),
224
- 'type' => Controls_Manager::TEXT,
225
- 'default' => 'https://www.pinterest.com/pin/99360735500167749',
226
- 'condition' => [
227
- 'embed_type' => 'pin'
228
- ]
229
-
230
- ]
231
- );
232
-
233
- $this->add_control(
234
- 'board_url',
235
- [
236
- 'label' => __( 'Pinterest Board URL', 'wts-eae' ),
237
- 'type' => Controls_Manager::TEXT,
238
- 'default' => 'https://www.pinterest.com/pinterest/official-news',
239
- 'condition' => [
240
- 'embed_type' => 'board'
241
- ]
242
- ]
243
- );
244
-
245
- $this->add_control(
246
- 'profile_url',
247
- [
248
- 'label' => __( 'Pinterest User URL', 'wts-eae' ),
249
- 'type' => Controls_Manager::TEXT,
250
- 'default' => 'https://www.pinterest.com/pinterest/',
251
- 'condition' => [
252
- 'embed_type' => 'profile'
253
- ]
254
- ]
255
- );
256
-
257
- $this->add_control(
258
- 'image_width',
259
- [
260
- 'label' => __( 'Image Width', 'wts-eae' ),
261
- 'type' => Controls_Manager::SLIDER,
262
- 'default' => [
263
- 'size' => 80
264
- ],
265
- 'range' => [
266
- 'px' => [
267
- 'min' => 50,
268
- 'max' => 500,
269
- 'step' => 5
270
- ]
271
- ],
272
- 'condition' => [
273
- 'embed_type' => [ 'board', 'profile' ]
274
- ]
275
- ]
276
- );
277
-
278
-
279
- $this->add_control(
280
- 'board_width',
281
- [
282
- 'label' => __( 'Board Width', 'wts-eae' ),
283
- 'type' => Controls_Manager::SLIDER,
284
- 'default' => [
285
- 'size' => 400
286
- ],
287
- 'range' => [
288
- 'px' => [
289
- 'min' => 60,
290
- 'max' => 1300,
291
- 'step' => 10
292
- ]
293
- ],
294
- 'condition' => [
295
- 'embed_type' => [ 'board', 'profile' ]
296
- ]
297
- ]
298
- );
299
-
300
- $this->add_control(
301
- 'image_height',
302
- [
303
- 'label' => __( 'Image Height', 'wts-eae' ),
304
- 'type' => Controls_Manager::SLIDER,
305
- 'default' => [
306
- 'size' => 240
307
- ],
308
- 'range' => [
309
- 'px' => [
310
- 'min' => 60,
311
- 'max' => 1300,
312
- 'step' => 10
313
- ]
314
- ],
315
- 'condition' => [
316
- 'embed_type' => [ 'board', 'profile' ]
317
- ]
318
- ]
319
- );
320
-
321
-
322
- $this->add_control(
323
- 'pin_size',
324
- [
325
- 'label' => __( 'Pin Size', 'wts-eae' ),
326
- 'type' => Controls_Manager::SELECT,
327
- 'default' => 'small',
328
- 'options' => [
329
- 'small' => __( 'Small', 'wts-eae' ),
330
- 'medium' => __( 'Medium', 'wts-eae' ),
331
- 'large' => __( 'Large', 'wts-eae' ),
332
- ],
333
- 'condition' => [
334
- 'embed_type' => 'pin',
335
- ]
336
- ]
337
- );
338
-
339
-
340
- $this->add_control(
341
- 'hide_description',
342
- [
343
- 'label' => __( 'Hide Description', 'wts-eae' ),
344
- 'type' => Controls_Manager::SWITCHER,
345
- 'default' => '',
346
- 'label_on' => __( 'Yes', 'wts-eae' ),
347
- 'label_off' => __( 'No', 'wts-eae' ),
348
- 'return_value' => 'yes',
349
- 'condition' => [
350
- 'embed_type' => 'pin'
351
- ]
352
- ]
353
- );
354
-
355
-
356
- $this->add_control(
357
- 'language',
358
- [
359
- 'label' => __( 'Language', 'wts-eae' ),
360
- 'type' => Controls_Manager::SELECT,
361
- 'options' => $this->languages(),
362
- 'default' => '',
363
- 'condition' => [
364
- 'round_button!' => 'yes',
365
- 'embed_type' => 'save_button'
366
- ]
367
- ]
368
- );
369
- }
370
-
371
- public function languages() {
372
- $languages = [
373
- '' => __( 'Automatic', 'wts-eae' ),
374
- 'en' => __( 'English', 'wts-eae' ),
375
- 'ar' => __( 'Arabic', 'wts-eae' ),
376
- 'bn' => __( 'Bengali', 'wts-eae' ),
377
- 'cs' => __( 'Czech', 'wts-eae' ),
378
- 'da' => __( 'Danish', 'wts-eae' ),
379
- 'de' => __( 'German', 'wts-eae' ),
380
- 'el' => __( 'Greek', 'wts-eae' ),
381
- 'es' => __( 'Spanish', 'wts-eae' ),
382
- 'fa' => __( 'Persian', 'wts-eae' ),
383
- 'fi' => __( 'Finnish', 'wts-eae' ),
384
- 'fil' => __( 'Filipino', 'wts-eae' ),
385
- 'fr' => __( 'French', 'wts-eae' ),
386
- 'he' => __( 'Hebrew', 'wts-eae' ),
387
- 'hi' => __( 'Hindi', 'wts-eae' ),
388
- 'hu' => __( 'Hungarian', 'wts-eae' ),
389
- 'id' => __( 'Indonesian', 'wts-eae' ),
390
- 'it' => __( 'Italian', 'wts-eae' ),
391
- 'ja' => __( 'Japanese', 'wts-eae' ),
392
- 'ko' => __( 'Korean', 'wts-eae' ),
393
- 'msa' => __( 'Malay', 'wts-eae' ),
394
- 'nl' => __( 'Dutch', 'wts-eae' ),
395
- 'no' => __( 'Norwegian', 'wts-eae' ),
396
- 'pl' => __( 'Polish', 'wts-eae' ),
397
- 'pt' => __( 'Portuguese', 'wts-eae' ),
398
- 'pt-br' => __( 'Portuguese (Brazil)', 'wts-eae' ),
399
- 'ro' => __( 'Romania', 'wts-eae' ),
400
- 'ru' => __( 'Rus', 'wts-eae' ),
401
- 'sv' => __( 'Swedish', 'wts-eae' ),
402
- 'th' => __( 'Thai', 'wts-eae' ),
403
- 'tr' => __( 'Turkish', 'wts-eae' ),
404
- 'uk' => __( 'Ukrainian', 'wts-eae' ),
405
- 'ur' => __( 'Urdu', 'wts-eae' ),
406
- 'vi' => __( 'Vietnamese', 'wts-eae' ),
407
- 'zh-cn' => __( 'Chinese (Simplified)', 'wts-eae' ),
408
- 'zh-tw' => __( 'Chinese (Traditional)', 'wts-eae' ),
409
- ];
410
-
411
- return $languages;
412
-
413
- }
414
-
415
- public function render() {
416
- $settings = $this->get_settings();
417
- //echo '<pre>'; print_r($settings); echo '</pre>';
418
-
419
- switch ( $settings['embed_type'] ) {
420
-
421
- case "save_button" :
422
- $this->get_save_button_html( $settings );
423
- break;
424
-
425
- case "follow_button" :
426
- $this->get_follow_button_html( $settings );
427
- break;
428
-
429
- case "pin" :
430
- $this->get_pin_html( $settings );
431
- break;
432
-
433
- case "board" :
434
- $this->get_board_html( $settings );
435
- break;
436
-
437
- case "profile" :
438
- $this->get_profile_html( $settings );
439
- break;
440
-
441
- }
442
- ?>
443
- <?php
444
-
445
- }
446
-
447
- public function get_save_button_html( $settings ) {
448
- if ( $settings['button_type'] == 'one_image' ) {
449
- $this->add_render_attribute( 'save_button', 'data-pin-do', 'buttonPin' );
450
- if ( $settings['round_button'] != 'yes' ) {
451
- $this->add_render_attribute( 'save_button', 'data-pin-count', $settings['show_pin_count'] );
452
- }
453
- $this->add_render_attribute( 'save_button', 'href', 'https://in.pinterest.com/pin/create/button/?url=' . $settings['source_url'] . '&media=' . $settings['image_url'] . '&description=' . $settings['description'] );
454
- }
455
- if ( $settings['button_type'] == 'any_image' ) {
456
- $this->add_render_attribute( 'save_button', 'data-pin-do', 'buttonBookmark' );
457
- $this->add_render_attribute( 'save_button', 'href', 'https://in.pinterest.com/pin/create/button/' );
458
- }
459
- if ( $settings['large_button'] == 'yes' ) {
460
- $this->add_render_attribute( 'save_button', 'data-pin-tall', 'true' );
461
- }
462
- if ( $settings['round_button'] == 'yes' ) {
463
- $this->add_render_attribute( 'save_button', 'data-pin-round', 'true' );
464
- }
465
- if ( $settings['save_label'] == 'yes' && $settings['round_button'] != 'yes' ) {
466
- $this->add_render_attribute( 'save_button', 'data-pin-save', 'true' );
467
- }
468
- if ( $settings['custom_pinterest_icon']['url'] != "" ) {
469
- $this->add_render_attribute( 'save_button', 'data-pin-custom', 'true' );
470
- }
471
-
472
- $this->add_render_attribute( 'save_button', 'data-pin-lang', $settings['language'] );
473
-
474
- ?>
475
- <a <?php echo $this->get_render_attribute_string( 'save_button' ); ?> >
476
- <?php
477
- if ( $settings['custom_pinterest_icon']['url'] != "" ) {
478
- ?>
479
- <img src="<?php echo $settings['custom_pinterest_icon']['url']; ?>" height="25"/>
480
- <?php
481
- }
482
- ?>
483
- </a>
484
- <?php
485
-
486
- }
487
-
488
- public function get_follow_button_html( $settings ) {
489
- if ( $settings['embed_type'] == 'follow_button' ) {
490
- $this->add_render_attribute( 'follow-button', 'data-pin-do', 'buttonFollow' );
491
- }
492
- $this->add_render_attribute( 'follow-button', 'href', $settings['user_url'] );
493
- if ( $settings['large_button'] == 'yes' ) {
494
- $this->add_render_attribute( 'follow-button', 'data-pin-tall', 'true' );
495
- }
496
-
497
- ?>
498
- <a <?php echo $this->get_render_attribute_string( 'follow-button' ) ?> ><?php echo $settings['user_name'] ?> </a>
499
-
500
- <?php
501
- }
502
-
503
- public function get_pin_html( $settings ) {
504
- if ( $settings['embed_type'] == 'pin' ) {
505
- $this->add_render_attribute( 'pin', 'data-pin-do', 'embedPin' );
506
- }
507
- $this->add_render_attribute( 'pin', 'href', $settings['pin_url'] );
508
- $this->add_render_attribute( 'pin', 'data-pin-width', $settings['pin_size'] );
509
- if ( $settings['hide_description'] == 'yes' ) {
510
- $this->add_render_attribute( 'pin', 'data-pin-terse', 'true' );
511
- }
512
- ?>
513
- <a <?php echo $this->get_render_attribute_string( 'pin' ); ?> ></a>
514
- <?php
515
-
516
-
517
- }
518
-
519
- public function get_board_html( $settings ) {
520
- if ( $settings['embed_type'] == 'board' ) {
521
- $this->add_render_attribute( 'board', 'data-pin-do', 'embedBoard' );
522
- }
523
-
524
- $this->add_render_attribute( 'board', 'href', $settings['board_url'] );
525
- $this->add_render_attribute( 'board', 'data-pin-scale-width', $settings['image_width']['size'] );
526
- $this->add_render_attribute( 'board', 'data-pin-board-width', $settings['board_width']['size'] );
527
- $this->add_render_attribute( 'board', 'data-pin-scale-height', $settings['image_height']['size'] );
528
- ?>
529
- <a <?php echo $this->get_render_attribute_string( 'board' ); ?> ></a>
530
- <?php
531
- }
532
-
533
- public function get_profile_html( $settings ) {
534
- if ( $settings['embed_type'] == 'profile' ) {
535
- $this->add_render_attribute( 'profile', 'data-pin-do', 'embedUser' );
536
- }
537
-
538
- $this->add_render_attribute( 'profile', 'href', $settings['profile_url'] );
539
- $this->add_render_attribute( 'profile', 'data-pin-scale-width', $settings['image_width']['size'] );
540
- $this->add_render_attribute( 'profile', 'data-pin-board-width', $settings['board_width']['size'] );
541
- $this->add_render_attribute( 'profile', 'data-pin-scale-height', $settings['image_height']['size'] );
542
- ?>
543
- <a <?php echo $this->get_render_attribute_string( 'profile' ); ?> ></a>
544
- <?php
545
- }
546
-
547
-
548
- }
549
-
550
- Plugin::instance()->widgets_manager->register_widget_type( new EAE_Pinterest() );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/post-list/widgets/post-list.php CHANGED
@@ -3,10 +3,10 @@ namespace WTS_EAE\Modules\PostList\Widgets;
3
 
4
 
5
  use Elementor\Controls_Manager;
 
 
6
  use WTS_EAE\Base\EAE_Widget_Base;
7
- use Elementor\Scheme_Color;
8
  use Elementor\Group_Control_Typography;
9
- use Elementor\Scheme_Typography;
10
  use Elementor\Group_Control_Border;
11
  use Elementor\Group_Control_Background;
12
  use WTS_EAE\Classes\Helper;
@@ -383,10 +383,9 @@ class PostList extends EAE_Widget_Base {
383
  [
384
  'label' => __( 'Title Color', 'wts-eae' ),
385
  'type' => Controls_Manager::COLOR,
386
- 'scheme' => [
387
- 'type' => Scheme_Color::get_type(),
388
- 'value' => Scheme_Color::COLOR_1,
389
- ],
390
  'selectors' => [
391
  '{{WRAPPER}} .eae-pl-title a' => 'color: {{VALUE}};',
392
  ]
@@ -424,7 +423,9 @@ class PostList extends EAE_Widget_Base {
424
  [
425
  'name' => 'title_typography',
426
  'label' => __( 'Title Typography', 'wts-eae' ),
427
- 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
 
 
428
  'selector' => '{{WRAPPER}} .eae-pl-title a',
429
  ]
430
  );
@@ -443,10 +444,9 @@ class PostList extends EAE_Widget_Base {
443
  [
444
  'label' => __( 'Excrept Color', 'wts-eae' ),
445
  'type' => Controls_Manager::COLOR,
446
- 'scheme' => [
447
- 'type' => Scheme_Color::get_type(),
448
- 'value' => Scheme_Color::COLOR_3,
449
- ],
450
  'selectors' => [
451
  '{{WRAPPER}} .eae-pl-content-box' => 'color: {{VALUE}};',
452
  ]
@@ -487,7 +487,9 @@ class PostList extends EAE_Widget_Base {
487
  [
488
  'name' => 'excrept_typography',
489
  'label' => __( 'Excrept Typography', 'wts-eae' ),
490
- 'scheme' => Scheme_Typography::TYPOGRAPHY_3,
 
 
491
  'selector' => '{{WRAPPER}} .eae-pl-content-box',
492
  ]
493
  );
@@ -506,10 +508,9 @@ class PostList extends EAE_Widget_Base {
506
  [
507
  'label' => __( 'Readmore Color', 'wts-eae' ),
508
  'type' => Controls_Manager::COLOR,
509
- 'scheme' => [
510
- 'type' => Scheme_Color::get_type(),
511
- 'value' => Scheme_Color::COLOR_3,
512
- ],
513
  'selectors' => [
514
  '{{WRAPPER}} .eae-pl-readmore a' => 'color: {{VALUE}};',
515
  ]
@@ -547,7 +548,9 @@ class PostList extends EAE_Widget_Base {
547
  [
548
  'name' => 'readmore_typography',
549
  'label' => __( 'Readmore Typography', 'wts-eae' ),
550
- 'scheme' => Scheme_Typography::TYPOGRAPHY_3,
 
 
551
  'selector' => '{{WRAPPER}} .eae-pl-readmore a',
552
  ]
553
  );
@@ -624,10 +627,9 @@ class PostList extends EAE_Widget_Base {
624
  [
625
  'label' => __( 'Background Color', 'wts-eae' ),
626
  'type' => Controls_Manager::COLOR,
627
- 'scheme' => [
628
- 'type' => Scheme_Color::get_type(),
629
- 'value' => Scheme_Color::COLOR_1,
630
- ],
631
  'selectors' => [
632
  '{{WRAPPER}} .eae-pl-readmore a' => 'background-color: {{VALUE}};',
633
  ],
3
 
4
 
5
  use Elementor\Controls_Manager;
6
+ use Elementor\Core\Kits\Documents\Tabs\Global_Colors;
7
+ use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
8
  use WTS_EAE\Base\EAE_Widget_Base;
 
9
  use Elementor\Group_Control_Typography;
 
10
  use Elementor\Group_Control_Border;
11
  use Elementor\Group_Control_Background;
12
  use WTS_EAE\Classes\Helper;
383
  [
384
  'label' => __( 'Title Color', 'wts-eae' ),
385
  'type' => Controls_Manager::COLOR,
386
+ 'global' => [
387
+ 'default' => Global_Colors::COLOR_PRIMARY,
388
+ ],
 
389
  'selectors' => [
390
  '{{WRAPPER}} .eae-pl-title a' => 'color: {{VALUE}};',
391
  ]
423
  [
424
  'name' => 'title_typography',
425
  'label' => __( 'Title Typography', 'wts-eae' ),
426
+ 'global' => [
427
+ 'default' => Global_Typography::TYPOGRAPHY_PRIMARY
428
+ ],
429
  'selector' => '{{WRAPPER}} .eae-pl-title a',
430
  ]
431
  );
444
  [
445
  'label' => __( 'Excrept Color', 'wts-eae' ),
446
  'type' => Controls_Manager::COLOR,
447
+ 'global' => [
448
+ 'default' => Global_Colors::COLOR_TEXT,
449
+ ],
 
450
  'selectors' => [
451
  '{{WRAPPER}} .eae-pl-content-box' => 'color: {{VALUE}};',
452
  ]
487
  [
488
  'name' => 'excrept_typography',
489
  'label' => __( 'Excrept Typography', 'wts-eae' ),
490
+ 'global' => [
491
+ 'default' => Global_Typography::TYPOGRAPHY_TEXT,
492
+ ],
493
  'selector' => '{{WRAPPER}} .eae-pl-content-box',
494
  ]
495
  );
508
  [
509
  'label' => __( 'Readmore Color', 'wts-eae' ),
510
  'type' => Controls_Manager::COLOR,
511
+ 'global' => [
512
+ 'default' => Global_Colors::COLOR_TEXT,
513
+ ],
 
514
  'selectors' => [
515
  '{{WRAPPER}} .eae-pl-readmore a' => 'color: {{VALUE}};',
516
  ]
548
  [
549
  'name' => 'readmore_typography',
550
  'label' => __( 'Readmore Typography', 'wts-eae' ),
551
+ 'global' => [
552
+ 'default' => Global_Typography::TYPOGRAPHY_TEXT,
553
+ ],
554
  'selector' => '{{WRAPPER}} .eae-pl-readmore a',
555
  ]
556
  );
627
  [
628
  'label' => __( 'Background Color', 'wts-eae' ),
629
  'type' => Controls_Manager::COLOR,
630
+ 'global' => [
631
+ 'default' => Global_Colors::COLOR_PRIMARY,
632
+ ],
 
633
  'selectors' => [
634
  '{{WRAPPER}} .eae-pl-readmore a' => 'background-color: {{VALUE}};',
635
  ],
modules/price-table/widgets/price-table.php CHANGED
@@ -4,15 +4,12 @@ namespace WTS_EAE\Modules\PriceTable\Widgets;
4
  use Elementor\Controls_Manager;
5
  use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
6
  use WTS_EAE\Base\EAE_Widget_Base;
7
- use Elementor\Scheme_Color;
8
  use Elementor\Group_Control_Typography;
9
- use Elementor\Scheme_Typography;
10
  use Elementor\Group_Control_Border;
11
  use Elementor\Group_Control_Box_Shadow;
12
  use Elementor\Group_Control_Background;
13
  use Elementor\Icons_Manager;
14
  //use Elementor\Core\Kits\Controls\Repeater;
15
- use Elementor\Core\Schemes\Color;
16
  use Elementor\Repeater;
17
 
18
 
@@ -394,10 +391,6 @@ class PriceTable extends EAE_Widget_Base {
394
  [
395
  'label' => __( 'Heading Color', 'wts-eae' ),
396
  'type' => Controls_Manager::COLOR,
397
- // 'scheme' => [
398
- // 'type' => Scheme_Color::get_type(),
399
- // 'value' => Scheme_Color::COLOR_1,
400
- // ],
401
  'default' => '#FFF',
402
  'selectors' => [
403
  '{{WRAPPER}} .eae-pt-heading' => 'color: {{VALUE}};',
@@ -421,10 +414,6 @@ class PriceTable extends EAE_Widget_Base {
421
  [
422
  'label' => __( 'Sub Heading Color', 'wts-eae' ),
423
  'type' => Controls_Manager::COLOR,
424
- // 'scheme' => [
425
- // 'type' => Scheme_Color::get_type(),
426
- // 'value' => Scheme_Color::COLOR_1,
427
- // ],
428
  'default' => '#FFF',
429
  'selectors' => [
430
  '{{WRAPPER}} .eae-pt-sub-heading' => 'color: {{VALUE}};',
@@ -478,10 +467,6 @@ class PriceTable extends EAE_Widget_Base {
478
  [
479
  'label' => __( 'Price Text Color', 'wts-eae' ),
480
  'type' => Controls_Manager::COLOR,
481
- // 'scheme' => [
482
- // 'type' => Scheme_Color::get_type(),
483
- // 'value' => Scheme_Color::COLOR_1,
484
- // ],
485
  'default' => '#FFF',
486
  'selectors' => [
487
  '{{WRAPPER}} .plan-price-shape-inner .price-text' => 'color: {{VALUE}};',
@@ -588,10 +573,6 @@ class PriceTable extends EAE_Widget_Base {
588
  [
589
  'label' => __( 'Features Color', 'wts-eae' ),
590
  'type' => Controls_Manager::COLOR,
591
- // 'scheme' => [
592
- // 'type' => Scheme_Color::get_type(),
593
- // 'value' => Scheme_Color::COLOR_1,
594
- // ],
595
  'default' => '#FFF',
596
  'selectors' => [
597
  '{{WRAPPER}} .eae-pt-feature-list li' => 'color: {{VALUE}};',
@@ -674,10 +655,6 @@ class PriceTable extends EAE_Widget_Base {
674
  [
675
  'label' => __( 'Section Background', 'wts-eae' ),
676
  'type' => Controls_Manager::COLOR,
677
- // 'scheme' => [
678
- // 'type' => Scheme_Color::get_type(),
679
- // 'value' => Scheme_Color::COLOR_1,
680
- // ],
681
  'default' => '#333333',
682
  'selectors' => [
683
  '{{WRAPPER}} .eae-pt-button-wrapper' => 'background-color: {{VALUE}};',
@@ -715,9 +692,6 @@ class PriceTable extends EAE_Widget_Base {
715
  [
716
  'label' => __( 'Background Color', 'wts-eae' ),
717
  'type' => Controls_Manager::COLOR,
718
- // 'scheme' => [
719
- // 'type' => Scheme_Color::get_type(),
720
- // ],
721
  'default' => '#93C64F',
722
  'selectors' => [
723
  '{{WRAPPER}} .eae-pt-action-button' => 'background-color: {{VALUE}};',
4
  use Elementor\Controls_Manager;
5
  use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
6
  use WTS_EAE\Base\EAE_Widget_Base;
 
7
  use Elementor\Group_Control_Typography;
 
8
  use Elementor\Group_Control_Border;
9
  use Elementor\Group_Control_Box_Shadow;
10
  use Elementor\Group_Control_Background;
11
  use Elementor\Icons_Manager;
12
  //use Elementor\Core\Kits\Controls\Repeater;
 
13
  use Elementor\Repeater;
14
 
15
 
391
  [
392
  'label' => __( 'Heading Color', 'wts-eae' ),
393
  'type' => Controls_Manager::COLOR,
 
 
 
 
394
  'default' => '#FFF',
395
  'selectors' => [
396
  '{{WRAPPER}} .eae-pt-heading' => 'color: {{VALUE}};',
414
  [
415
  'label' => __( 'Sub Heading Color', 'wts-eae' ),
416
  'type' => Controls_Manager::COLOR,
 
 
 
 
417
  'default' => '#FFF',
418
  'selectors' => [
419
  '{{WRAPPER}} .eae-pt-sub-heading' => 'color: {{VALUE}};',
467
  [
468
  'label' => __( 'Price Text Color', 'wts-eae' ),
469
  'type' => Controls_Manager::COLOR,
 
 
 
 
470
  'default' => '#FFF',
471
  'selectors' => [
472
  '{{WRAPPER}} .plan-price-shape-inner .price-text' => 'color: {{VALUE}};',
573
  [
574
  'label' => __( 'Features Color', 'wts-eae' ),
575
  'type' => Controls_Manager::COLOR,
 
 
 
 
576
  'default' => '#FFF',
577
  'selectors' => [
578
  '{{WRAPPER}} .eae-pt-feature-list li' => 'color: {{VALUE}};',
655
  [
656
  'label' => __( 'Section Background', 'wts-eae' ),
657
  'type' => Controls_Manager::COLOR,
 
 
 
 
658
  'default' => '#333333',
659
  'selectors' => [
660
  '{{WRAPPER}} .eae-pt-button-wrapper' => 'background-color: {{VALUE}};',
692
  [
693
  'label' => __( 'Background Color', 'wts-eae' ),
694
  'type' => Controls_Manager::COLOR,
 
 
 
695
  'default' => '#93C64F',
696
  'selectors' => [
697
  '{{WRAPPER}} .eae-pt-action-button' => 'background-color: {{VALUE}};',
modules/progress-bar/skins/skin-base.php CHANGED
@@ -8,10 +8,8 @@ use WTS_EAE\Classes\Post_Helper;
8
  use Elementor\Controls_Manager;
9
  use Elementor\Skin_Base as Elementor_Skin_Base;
10
  use Elementor\Widget_Base;
11
- use Elementor\Scheme_Color;
12
  use Elementor\Group_Control_Text_Shadow;
13
  use Elementor\Group_Control_Typography;
14
- use Elementor\Scheme_Typography;
15
 
16
  abstract class Skin_Base extends Elementor_Skin_Base {
17
 
@@ -72,10 +70,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
72
  [
73
  'label' => __( 'Color', 'wts-eae' ),
74
  'type' => Controls_Manager::COLOR,
75
- // 'scheme' => [
76
- // 'type' => Scheme_Color::get_type(),
77
- // 'value' => Scheme_Color::COLOR_2,
78
- // ],
79
  'global' => [
80
  'default' => Global_Colors::COLOR_SECONDARY,
81
  ],
@@ -90,7 +84,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
90
  [
91
  'name' => 'title_typography',
92
  'selector' => '{{WRAPPER}} .eae-pb-bar-skill',
93
- // 'scheme' => Scheme_Typography::TYPOGRAPHY_2,
94
  'global' => [
95
  'default' => Global_Typography::TYPOGRAPHY_SECONDARY,
96
  ],
@@ -112,10 +105,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
112
  [
113
  'label' => __( 'Color', 'wts-eae' ),
114
  'type' => Controls_Manager::COLOR,
115
- // 'scheme' => [
116
- // 'type' => Scheme_Color::get_type(),
117
- // 'value' => Scheme_Color::COLOR_2,
118
- // ],
119
  'selectors' => [
120
  '{{WRAPPER}} .eae-pb-bar-value' => 'color: {{VALUE}};',
121
  ],
@@ -130,7 +119,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
130
  [
131
  'name' => 'value_typography',
132
  'selector' => '{{WRAPPER}} .eae-pb-bar-value',
133
- // 'scheme' => Scheme_Typography::TYPOGRAPHY_2,
134
  'global' => [
135
  'default' => Global_Typography::TYPOGRAPHY_SECONDARY,
136
  ],
8
  use Elementor\Controls_Manager;
9
  use Elementor\Skin_Base as Elementor_Skin_Base;
10
  use Elementor\Widget_Base;
 
11
  use Elementor\Group_Control_Text_Shadow;
12
  use Elementor\Group_Control_Typography;
 
13
 
14
  abstract class Skin_Base extends Elementor_Skin_Base {
15
 
70
  [
71
  'label' => __( 'Color', 'wts-eae' ),
72
  'type' => Controls_Manager::COLOR,
 
 
 
 
73
  'global' => [
74
  'default' => Global_Colors::COLOR_SECONDARY,
75
  ],
84
  [
85
  'name' => 'title_typography',
86
  'selector' => '{{WRAPPER}} .eae-pb-bar-skill',
 
87
  'global' => [
88
  'default' => Global_Typography::TYPOGRAPHY_SECONDARY,
89
  ],
105
  [
106
  'label' => __( 'Color', 'wts-eae' ),
107
  'type' => Controls_Manager::COLOR,
 
 
 
 
108
  'selectors' => [
109
  '{{WRAPPER}} .eae-pb-bar-value' => 'color: {{VALUE}};',
110
  ],
119
  [
120
  'name' => 'value_typography',
121
  'selector' => '{{WRAPPER}} .eae-pb-bar-value',
 
122
  'global' => [
123
  'default' => Global_Typography::TYPOGRAPHY_SECONDARY,
124
  ],
modules/ribbon-badges/module.php DELETED
@@ -1,349 +0,0 @@
1
- <?php
2
- namespace WTS_EAE\Modules\RibbonBadges;
3
-
4
- use Elementor\Controls_Manager;
5
- use Elementor\Scheme_Color;
6
- use Elementor\Group_Control_Typography;
7
- use Elementor\Scheme_Typography;
8
- use WTS_EAE\Classes\Helper;
9
-
10
-
11
-
12
- class Module{
13
- private static $_instance = null;
14
-
15
- public static function instance() {
16
- if ( is_null( self::$_instance ) ) {
17
- self::$_instance = new self();
18
- }
19
- return self::$_instance;
20
- }
21
-
22
- private function __construct() {
23
- add_action( 'elementor/element/after_section_end',[ $this, 'add_fields'],10,3);
24
-
25
- add_action( 'elementor/frontend/section/before_render',[ $this, 'before_section_render'],10,1);
26
- add_action( 'elementor/frontend/column/before_render',[ $this, 'before_section_render'],10,1);
27
-
28
- add_action( 'elementor/section/print_template', [ $this, '_content_template'],10,2);
29
- add_action( 'elementor/column/print_template', [ $this, '_content_template'],10,2);
30
-
31
-
32
- }
33
-
34
- public function add_fields($element,$section_id, $args){
35
-
36
- if ( ('section' === $element->get_name() && 'section_background' === $section_id) || ('column' === $element->get_name() && 'section_style' === $section_id)) {
37
- $element->start_controls_section(
38
- 'ribbons_badges',
39
- [
40
- 'tab' => Controls_Manager::TAB_STYLE,
41
- 'label' => __( 'EAE - Ribbons & Badges', 'wts-eae' ),
42
- ]
43
- );
44
-
45
- $element->add_control(
46
- 'ribbon_badges_layout_heading',
47
- [
48
- 'type' => Controls_Manager::HEADING,
49
- 'label' => 'Layout',
50
- 'seperator' => 'after'
51
- ]
52
- );
53
-
54
- $element->add_control(
55
- 'ribbons_badges_switcher',
56
- [
57
- 'label' => __('Enable Ribbons and Badges', 'wts-eae'),
58
- 'type' => Controls_Manager::SWITCHER,
59
- 'default' => '',
60
- 'label_on' => __('Yes', 'wts-eae'),
61
- 'label_off' => __('No', 'wts-eae'),
62
- 'return_value' => 'yes',
63
- 'prefix_class' => 'wts-eae-enable-ribbons-badges-',
64
- 'render_type' => 'template'
65
-
66
- ]
67
- );
68
-
69
- $element -> add_control(
70
- 'ribbons_badges_type',
71
- [
72
- 'label' => __(' Type ' , 'wts-eae'),
73
- 'type' => Controls_Manager::SELECT,
74
- 'options' =>
75
- [
76
- 'ribbon' => __( 'Ribbon' , 'wts-eae'),
77
- 'badge' =>__( 'Badge' , 'wts-eae'),
78
- ],
79
- 'default'=>'ribbon',
80
- 'condition' => [
81
- 'ribbons_badges_switcher!' => ''
82
- ],
83
- 'prefix_class' => 'wts-eae-badge-type-',
84
-
85
- ]
86
- );
87
-
88
- $element->add_control(
89
- 'ribbons_badges_title',
90
- [
91
- 'label' => __('Title','ae-pro'),
92
- 'type' => Controls_Manager::TEXT,
93
- 'placeholder' => __('Sale Badge Title','wts-eae'),
94
- 'default' => __('Sale!','wts-eae'),
95
- 'condition' => [
96
- 'ribbons_badges_switcher!' => ''
97
- ]
98
- ]
99
- );
100
-
101
- $element->add_control(
102
- 'ribbons_badges_horizontal_position',
103
- [
104
- 'label' => __( 'Horizontal Position', 'wts-eae' ),
105
- 'type' => Controls_Manager::CHOOSE,
106
- //'label_block' => true,
107
- 'options' => [
108
- 'left' => [
109
- 'title' => __( 'Left', 'wts-eae' ),
110
- 'icon' => 'eicon-h-align-left',
111
- ],
112
- 'right' => [
113
- 'title' => __( 'Right', 'wts-eae' ),
114
- 'icon' => 'eicon-h-align-right',
115
- ]
116
-
117
- ],
118
- 'prefix_class' => 'wts-eae-badge-h-',
119
- 'default' => 'left',
120
- 'condition' => [
121
- 'ribbons_badges_switcher!' => ''
122
- ]
123
- ]
124
- );
125
-
126
- $element->add_control(
127
- 'ribbons_badges_vertical_position',
128
- [
129
- 'label' => __( 'Vertical Position', 'wts-eae' ),
130
- 'type' => Controls_Manager::CHOOSE,
131
- //'label_block' => true,
132
- 'options' => [
133
- 'top' => [
134
- 'title' => __( 'Top', 'wts-eae' ),
135
- 'icon' => 'eicon-v-align-top',
136
- ],
137
- 'bottom' => [
138
- 'title' => __( 'Bottom', 'wts-eae' ),
139
- 'icon' => 'eicon-v-align-bottom',
140
- ]
141
-
142
- ],
143
- 'prefix_class' => 'wts-eae-badge-v-',
144
- 'default' => 'top',
145
- 'condition' => [
146
- 'ribbons_badges_type' => 'badge',
147
- 'ribbons_badges_switcher!' => ''
148
- ]
149
- ]
150
- );
151
-
152
- $element->add_control(
153
- 'ribbon_badges_style_heading',
154
- [
155
- 'type' => Controls_Manager::HEADING,
156
- 'label' => 'Style',
157
- 'separator' => 'before',
158
- 'condition' => [
159
- 'ribbons_badges_switcher!' => ''
160
- ]
161
- ]
162
- );
163
-
164
- $helper = new Helper();
165
-
166
- $element->add_control(
167
- 'wts-eae_ribbons_badges_bg_color',
168
- [
169
- 'label' => __( 'Background Color', 'wts-eae' ),
170
- 'type' => Controls_Manager::COLOR,
171
- 'scheme' => [
172
- 'type' => Scheme_Color::get_type(),
173
- 'value' => Scheme_Color::COLOR_4,
174
- ],
175
- 'selectors' => [
176
- '{{WRAPPER}} > .wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner' => 'background-color: {{VALUE}} !important;',
177
- ],
178
- 'condition' => [
179
- 'ribbons_badges_switcher!' => ''
180
- ]
181
- ]
182
- );
183
-
184
-
185
- $ribbon_distance_transform = is_rtl() ? 'translateY(-50%) translateX({{SIZE}}{{UNIT}}) rotate(-45deg)' : 'translateY(-50%) translateX(-50%) translateX({{SIZE}}{{UNIT}}) rotate(-45deg)';
186
-
187
- $element->add_responsive_control(
188
- 'wts-eae_ribbons_badges_distance',
189
- [
190
- 'label' => __( 'Distance', 'wts-eae' ),
191
- 'type' => Controls_Manager::SLIDER,
192
- 'range' => [
193
- 'px' => [
194
- 'min' => 0,
195
- 'max' => 50,
196
- ],
197
- ],
198
- 'selectors' => [
199
- '{{WRAPPER}} > .wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner' => 'margin-top: {{SIZE}}{{UNIT}};',
200
- '{{WRAPPER}}.wts-eae-badge-type-ribbon > .wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner' => 'transform: ' . $ribbon_distance_transform,
201
- ],
202
- 'condition' => [
203
- 'ribbons_badges_type' => 'ribbon',
204
- 'ribbons_badges_switcher!' => ''
205
- ]
206
- ]
207
- );
208
-
209
- $element->add_responsive_control(
210
- 'wts-eae_ribbons_badges_size',
211
- [
212
- 'label' => __( 'Size', 'wts-eae' ),
213
- 'type' => Controls_Manager::SLIDER,
214
- 'size_units' => [ 'em', 'px' ],
215
- 'default' => [
216
- 'unit' => 'em',
217
- ],
218
- 'tablet_default' => [
219
- 'unit' => 'em',
220
- ],
221
- 'mobile_default' => [
222
- 'unit' => 'em',
223
- ],
224
- 'range' => [
225
- 'em' => [
226
- 'min' => 0,
227
- 'max' => 25,
228
- 'step' => 0.1
229
- ],
230
- ],
231
- 'selectors' => [
232
- '{{WRAPPER}} > .wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner' => 'min-height: {{SIZE}}{{UNIT}}; min-width: {{SIZE}}{{UNIT}}; line-height: {{SIZE}};',
233
- ],
234
- 'condition' => [
235
- 'ribbons_badges_type' => 'badge',
236
- 'ribbons_badges_switcher!' => ''
237
- ]
238
- ]
239
- );
240
-
241
- $element->add_control(
242
- 'wts-eae_ribbons_badges_text_color',
243
- [
244
- 'label' => __( 'Text Color', 'wts-eae' ),
245
- 'type' => Controls_Manager::COLOR,
246
- 'default' => '#ffffff',
247
- 'selectors' => [
248
- '{{WRAPPER}} > .wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner' => 'color: {{VALUE}}',
249
- ],
250
- 'condition' => [
251
- 'ribbons_badges_switcher!' => ''
252
- ]
253
- ]
254
- );
255
-
256
- $element->add_group_control(
257
- Group_Control_Typography::get_type(),
258
- [
259
- 'name' => 'wts-eae_ribbons_badges_typography',
260
- 'selector' => '{{WRAPPER}} > .wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner',
261
- 'scheme' => Scheme_Typography::TYPOGRAPHY_4,
262
- 'condition' => [
263
- 'ribbons_badges_switcher!' => ''
264
- ]
265
- ]
266
- );
267
-
268
-
269
- $helper->box_model_controls($element,[
270
- 'name' => 'badge_style',
271
- 'label' => __('Badge','wts-eae'),
272
- 'border' => true,
273
- 'border-radius' => true,
274
- 'margin' => true,
275
- 'padding' => true,
276
- 'box-shadow' => true,
277
- 'selector' => '{{WRAPPER}} > .wts-eae-ribbons-badges-wrapper span.wts-eae-ribbons-badges-inner',
278
- ]);
279
-
280
- $element->end_controls_section();
281
- }
282
- }
283
-
284
- public function before_section_render(\Elementor\Element_Base $element){
285
- if($element->get_name() != 'section' && $element->get_name() != 'column'){
286
- return;
287
- }
288
- $settings = $element->get_settings();
289
-
290
- if($settings['ribbons_badges_switcher'] == 'yes'){
291
- $element->add_render_attribute('_wrapper', 'data-wts-eae-rb-text', $settings['ribbons_badges_title']);
292
- }
293
-
294
- ?>
295
- <?php }
296
-
297
- function _content_template($template,$widget){
298
- if($widget->get_name() != 'section' && $widget->get_name() != 'column'){
299
- return $template;
300
- }
301
-
302
- $old_template = $template;
303
- ob_start();
304
- ?>
305
- <?php
306
- if($widget->get_name() == 'section'){ ?>
307
- <#
308
- if(settings.ribbons_badges_switcher == 'yes'){
309
- view.addRenderAttribute( 'element-type', 'class', 'wts-eae-ribbons-badges-section-yes' );
310
- view.addRenderAttribute( 'element-type', 'data-text', settings.ribbons_badges_title);
311
- }
312
-
313
- #>
314
- <?php }
315
- ?>
316
- <?php
317
- if($widget->get_name() == 'column'){ ?>
318
- <#
319
-
320
- if(settings.ribbons_badges_switcher == 'yes'){
321
- view.addRenderAttribute( 'element-type', 'class', 'wts-eae-ribbons-badges-column-yes' );
322
- view.addRenderAttribute( 'element-type', 'data-text', settings.ribbons_badges_title);
323
- }
324
-
325
- #>
326
- <?php }
327
- ?>
328
-
329
- <div {{{view.getRenderAttributeString('element-type')}}}></div>
330
- <!-- <#-->
331
- <!---->
332
- <!-- view.addRenderAttribute( 'element-type', 'class', 'wts-eae-ribbons-badges-inner' );-->
333
- <!---->
334
- <!-- #>-->
335
-
336
- <!-- <div class="wts-eae-ribbons-badges-wrapper">-->
337
- <!-- <span {{{view.getRenderAttributeString('element-type')}}}>-->
338
- <!-- {{ settings.ribbons_badges_title }}-->
339
- <!-- </span>-->
340
- <!-- </div>-->
341
-
342
- <?php
343
- $slider_content = ob_get_contents();
344
- ob_end_clean();
345
- $template = $slider_content.$old_template;
346
- return $template;
347
- }
348
-
349
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
modules/shape-separator/widgets/shape-separator.php CHANGED
@@ -2,10 +2,9 @@
2
  namespace WTS_EAE\Modules\ShapeSeparator\Widgets;
3
 
4
  use Elementor\Controls_Manager;
 
5
  use WTS_EAE\Base\EAE_Widget_Base;
6
- use Elementor\Scheme_Color;
7
  use Elementor\Group_Control_Typography;
8
- use Elementor\Scheme_Typography;
9
  use Elementor\Group_Control_Border;
10
  use Elementor\Group_Control_Background;
11
 
@@ -60,10 +59,9 @@ class ShapeSeparator extends EAE_Widget_Base {
60
  [
61
  'label' => __( 'Shape Color', 'wts-eae' ),
62
  'type' => Controls_Manager::COLOR,
63
- 'scheme' => [
64
- 'type' => Scheme_Color::get_type(),
65
- 'value' => Scheme_Color::COLOR_1,
66
- ],
67
  'selectors' => [
68
  '{{WRAPPER}} svg' => 'fill:{{VALUE}}',
69
  ],
2
  namespace WTS_EAE\Modules\ShapeSeparator\Widgets;
3
 
4
  use Elementor\Controls_Manager;
5
+ use Elementor\Core\Kits\Documents\Tabs\Global_Colors;
6
  use WTS_EAE\Base\EAE_Widget_Base;
 
7
  use Elementor\Group_Control_Typography;
 
8
  use Elementor\Group_Control_Border;
9
  use Elementor\Group_Control_Background;
10
 
59
  [
60
  'label' => __( 'Shape Color', 'wts-eae' ),
61
  'type' => Controls_Manager::COLOR,
62
+ 'global' => [
63
+ 'default' => Global_Colors::COLOR_PRIMARY,
64
+ ],
 
65
  'selectors' => [
66
  '{{WRAPPER}} svg' => 'fill:{{VALUE}}',
67
  ],
modules/shape-separator2/triangle-bottom-left.php DELETED
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" version="1.1" fill="<?php echo $settings['shape_color']; ?>" width="100%" height="90" viewBox="0 0 50 50" stroke="<?php echo $settings['shape_color']; ?>" stroke-width="1" preserveAspectRatio="none" style="height: <?php echo $settings['shape_height']; ?>px;">
2
- <polygon points="0,0 0,50 50,50"></polygon>
3
- </svg>
 
 
 
modules/shape-separator2/triangle-bottom-right.php DELETED
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" version="1.1" fill="<?php echo $settings['shape_color']; ?>" width="100%" height="90" viewBox="0 0 50 50" preserveAspectRatio="none" style="height: <?php echo $settings['shape_height']; ?>px;">
2
- <polygon class="fil0" points="0,50 50,50 50,0"></polygon>
3
- </svg>
 
 
 
modules/shape-separator2/triangle-upper-left.php DELETED
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" version="1.1" fill="<?php echo $settings['shape_color']; ?>" width="100%" height="90" viewBox="0 0 50 50" preserveAspectRatio="none" style="height: <?php echo $settings['shape_height']; ?>px;">
2
- <polygon class="fil0" points="0,0 50,0 0,50"></polygon>
3
- </svg>
 
 
 
modules/shape-separator2/triangle-upper-right.php DELETED
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" version="1.1" fill="<?php echo $settings['shape_color']; ?>" width="100%" height="90" viewBox="0 0 50 50" preserveAspectRatio="none" style="height: <?php echo $settings['shape_height']; ?>px;">
2
- <polygon class="fil0" points="0,0 50,0 50,50"></polygon>
3
- </svg>
 
 
 
modules/split-text/widgets/split-text.php CHANGED
@@ -5,9 +5,7 @@ use Elementor\Controls_Manager;
5
  use Elementor\Core\Kits\Documents\Tabs\Global_Colors;
6
  use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
7
  use WTS_EAE\Base\EAE_Widget_Base;
8
- use Elementor\Scheme_Color;
9
  use Elementor\Group_Control_Typography;
10
- use Elementor\Scheme_Typography;
11
  use Elementor\Group_Control_Border;
12
  use Elementor\Group_Control_Background;
13
 
5
  use Elementor\Core\Kits\Documents\Tabs\Global_Colors;
6
  use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
7
  use WTS_EAE\Base\EAE_Widget_Base;
 
8
  use Elementor\Group_Control_Typography;
 
9
  use Elementor\Group_Control_Border;
10
  use Elementor\Group_Control_Background;
11
 
modules/text-separator/widgets/text-separator.php CHANGED
@@ -6,9 +6,7 @@ use Elementor\Core\Kits\Documents\Tabs\Colors_And_Typography;
6
  use Elementor\Core\Kits\Documents\Tabs\Global_Colors;
7
  use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
8
  use WTS_EAE\Base\EAE_Widget_Base;
9
- use Elementor\Scheme_Color;
10
  use Elementor\Group_Control_Typography;
11
- use Elementor\Scheme_Typography;
12
  use Elementor\Icons_Manager;
13
 
14
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
6
  use Elementor\Core\Kits\Documents\Tabs\Global_Colors;
7
  use Elementor\Core\Kits\Documents\Tabs\Global_Typography;
8
  use WTS_EAE\Base\EAE_Widget_Base;
 
9
  use Elementor\Group_Control_Typography;
 
10
  use Elementor\Icons_Manager;
11
 
12
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
modules/timeline/skins/skin-base.php CHANGED
@@ -11,12 +11,10 @@ use Elementor\Skin_Base as Elementor_Skin_Base;
11
  use Elementor\Widget_Base;
12
  use WTS_EAE\Classes\Helper;
13
  use Elementor\Group_Control_Border;
14
- use Elementor\Scheme_Color;
15
  use Elementor\Group_Control_Background;
16
  use Elementor\Group_Control_Text_Shadow;
17
  use Elementor\Group_Control_Box_Shadow;
18
  use Elementor\Group_Control_Typography;
19
- use Elementor\Scheme_Typography;
20
 
21
  abstract class Skin_Base extends Elementor_Skin_Base {
22
 
@@ -507,10 +505,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
507
  [
508
  'label' => __( 'Content Color', 'wts-eae' ),
509
  'type' => Controls_Manager::COLOR,
510
- // 'scheme' => [
511
- // 'type' => Scheme_Color::get_type(),
512
- // 'value' => Scheme_Color::COLOR_3,
513
- // ],
514
  'global' => [
515
  'default' => Global_Colors::COLOR_TEXT,
516
  ],
@@ -524,7 +518,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
524
  [
525
  'name' => 'title_typography',
526
  'label' => __( 'Title Typography', 'wts-eae' ),
527
- // 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
528
  'global' => [
529
  'default' => Global_Typography::TYPOGRAPHY_PRIMARY,
530
  ],
@@ -537,7 +530,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
537
  [
538
  'name' => 'content_typography',
539
  'label' => __( 'Content Typography', 'wts-eae' ),
540
- // 'scheme' => Scheme_Typography::TYPOGRAPHY_3,
541
  'global' => [
542
  'default' => Global_Typography::TYPOGRAPHY_TEXT,
543
  ],
@@ -849,10 +841,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
849
  [
850
  'label' => __( 'Color', 'wts-eae' ),
851
  'type' => Controls_Manager::COLOR,
852
- // 'scheme' => [
853
- // 'type' => Scheme_Color::get_type(),
854
- // 'value' => Scheme_Color::COLOR_3,
855
- // ],
856
  'global' => [
857
  'default' => Global_Colors::COLOR_TEXT,
858
  ],
@@ -876,7 +864,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
876
  [
877
  'name' => 'date_typography',
878
  'label' => __( 'Typography', 'wts-eae' ),
879
- // 'scheme' => Scheme_Typography::TYPOGRAPHY_3,
880
  'global' => [
881
  'default' => Global_Typography::TYPOGRAPHY_TEXT,
882
  ],
@@ -897,10 +884,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
897
  [
898
  'label' => __( 'Color', 'wts-eae' ),
899
  'type' => Controls_Manager::COLOR,
900
- // 'scheme' => [
901
- // 'type' => Scheme_Color::get_type(),
902
- // 'value' => Scheme_Color::COLOR_3,
903
- // ],
904
  'global' => [
905
  'default' => Global_Colors::COLOR_TEXT,
906
  ],
@@ -924,7 +907,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
924
  [
925
  'name' => 'date_typography_hover',
926
  'label' => __( 'Typography', 'wts-eae' ),
927
- // 'scheme' => Scheme_Typography::TYPOGRAPHY_3,
928
  'global' => [
929
  'default' => Global_Typography::TYPOGRAPHY_TEXT,
930
  ],
@@ -945,10 +927,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
945
  [
946
  'label' => __( 'Color', 'wts-eae' ),
947
  'type' => Controls_Manager::COLOR,
948
- // 'scheme' => [
949
- // 'type' => Scheme_Color::get_type(),
950
- // 'value' => Scheme_Color::COLOR_3,
951
- // ],
952
  'global' => [
953
  'default' => Global_Colors::COLOR_TEXT,
954
  ],
@@ -998,10 +976,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
998
  [
999
  'label' => __( 'Color', 'wts-eae' ),
1000
  'type' => Controls_Manager::COLOR,
1001
- // 'scheme' => [
1002
- // 'type' => Scheme_Color::get_type(),
1003
- // 'value' => Scheme_Color::COLOR_1,
1004
- // ],
1005
  'global' => [
1006
  'default' => Global_Colors::COLOR_PRIMARY,
1007
  ],
@@ -1015,10 +989,6 @@ abstract class Skin_Base extends Elementor_Skin_Base {
1015
  [
1016
  'label' => __( 'Progress Color', 'wts-eae' ),
1017
  'type' => Controls_Manager::COLOR,
1018
- // 'scheme' => [
1019
- // 'type' => Scheme_Color::get_type(),
1020
- // 'value' => Scheme_Color::COLOR_4,
1021
- // ],
1022
  'global' => [
1023
  'default' => Global_Colors::COLOR_ACCENT,
1024
  ],
@@ -1028,6 +998,19 @@ abstract class Skin_Base extends Elementor_Skin_Base {
1028
  ],
1029
  ]
1030
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
1031
  $this->add_control(
1032
  'line_thickness',
1033
  [
11
  use Elementor\Widget_Base;
12
  use WTS_EAE\Classes\Helper;
13
  use Elementor\Group_Control_Border;
 
14
  use Elementor\Group_Control_Background;
15
  use Elementor\Group_Control_Text_Shadow;
16
  use Elementor\Group_Control_Box_Shadow;
17
  use Elementor\Group_Control_Typography;
 
18
 
19
  abstract class Skin_Base extends Elementor_Skin_Base {
20
 
505
  [
506
  'label' => __( 'Content Color', 'wts-eae' ),
507
  'type' => Controls_Manager::COLOR,
 
 
 
 
508
  'global' => [
509
  'default' => Global_Colors::COLOR_TEXT,
510
  ],
518
  [
519
  'name' => 'title_typography',
520
  'label' => __( 'Title Typography', 'wts-eae' ),
 
521
  'global' => [
522
  'default' => Global_Typography::TYPOGRAPHY_PRIMARY,
523
  ],
530
  [
531
  'name' => 'content_typography',
532
  'label' => __( 'Content Typography', 'wts-eae' ),
 
533
  'global' => [
534
  'default' => Global_Typography::TYPOGRAPHY_TEXT,
535
  ],
841
  [
842
  'label' => __( 'Color', 'wts-eae' ),
843
  'type' => Controls_Manager::COLOR,
 
 
 
 
844
  'global' => [
845
  'default' => Global_Colors::COLOR_TEXT,
846
  ],
864
  [
865
  'name' => 'date_typography',
866
  'label' => __( 'Typography', 'wts-eae' ),
 
867
  'global' => [
868
  'default' => Global_Typography::TYPOGRAPHY_TEXT,
869
  ],
884
  [
885
  'label' => __( 'Color', 'wts-eae' ),
886
  'type' => Controls_Manager::COLOR,
 
 
 
 
887
  'global' => [
888
  'default' => Global_Colors::COLOR_TEXT,
889
  ],
907
  [
908
  'name' => 'date_typography_hover',
909
  'label' => __( 'Typography', 'wts-eae' ),
 
910
  'global' => [
911
  'default' => Global_Typography::TYPOGRAPHY_TEXT,
912
  ],
927
  [
928
  'label' => __( 'Color', 'wts-eae' ),
929
  'type' => Controls_Manager::COLOR,
 
 
 
 
930
  'global' => [
931
  'default' => Global_Colors::COLOR_TEXT,
932
  ],
976
  [
977
  'label' => __( 'Color', 'wts-eae' ),
978
  'type' => Controls_Manager::COLOR,
 
 
 
 
979
  'global' => [
980
  'default' => Global_Colors::COLOR_PRIMARY,
981
  ],
989
  [
990
  'label' => __( 'Progress Color', 'wts-eae' ),
991
  'type' => Controls_Manager::COLOR,
 
 
 
 
992
  'global' => [
993
  'default' => Global_Colors::COLOR_ACCENT,
994
  ],
998
  ],
999
  ]
1000
  );
1001
+
1002
+ // $this->add_control(
1003
+ // 'progress_offset',
1004
+ // [
1005
+ // 'label' => __('Progress Offset' , 'wts-eae'),
1006
+ // 'type' => Controls_Manager::NUMBER,
1007
+ // 'default' => 100,
1008
+ // 'min' => 100,
1009
+ // 'max' => 1000,
1010
+ // 'step' => 50,
1011
+ // ]
1012
+ // );
1013
+
1014
  $this->add_control(
1015
  'line_thickness',
1016
  [
modules/timeline/widgets/timeline.php CHANGED
@@ -14,7 +14,6 @@ use Elementor\Group_Control_Image_Size;
14
  use WTS_EAE\Controls\Hover_Transition;
15
  use WTS_EAE\Controls\Group\Group_Control_Icon;
16
  use WTS_EAE\Modules\Timeline\Skins;
17
- use Elementor\Scheme_Color;
18
 
19
  class Timeline extends EAE_Widget_Base {
20
 
@@ -261,10 +260,6 @@ class Timeline extends EAE_Widget_Base {
261
  [
262
  'label' => __( 'Title Color', 'wts-eae' ),
263
  'type' => Controls_Manager::COLOR,
264
- // 'scheme' => [
265
- // 'type' => Scheme_Color::get_type(),
266
- // 'value' => Scheme_Color::COLOR_1,
267
- // ],
268
  'global' => [
269
  'default' => Global_Colors::COLOR_PRIMARY,
270
  ],
@@ -282,10 +277,6 @@ class Timeline extends EAE_Widget_Base {
282
  [
283
  'label' => __( 'Date Color', 'wts-eae' ),
284
  'type' => Controls_Manager::COLOR,
285
- // 'scheme' => [
286
- // 'type' => Scheme_Color::get_type(),
287
- // 'value' => Scheme_Color::COLOR_2,
288
- // ],
289
  'global' => [
290
  'default' => Global_Colors::COLOR_SECONDARY,
291
  ],
@@ -304,10 +295,6 @@ class Timeline extends EAE_Widget_Base {
304
  [
305
  'label' => __( 'Content Color', 'wts-eae' ),
306
  'type' => Controls_Manager::COLOR,
307
- // 'scheme' => [
308
- // 'type' => Scheme_Color::get_type(),
309
- // 'value' => Scheme_Color::COLOR_3,
310
- // ],
311
  'global' => [
312
  'default' => Global_Colors::COLOR_TEXT,
313
  ],
@@ -363,11 +350,6 @@ class Timeline extends EAE_Widget_Base {
363
  [
364
  'label' => __( 'Title Color', 'wts-eae' ),
365
  'type' => Controls_Manager::COLOR,
366
- // 'scheme' => [
367
- // 'type' => Scheme_Color::get_type(),
368
- // 'value' => Scheme_Color::COLOR_1,
369
- // ],
370
-
371
  'global' => [
372
  'default' => Global_Colors::COLOR_PRIMARY,
373
  ],
@@ -385,10 +367,6 @@ class Timeline extends EAE_Widget_Base {
385
  [
386
  'label' => __( 'Date Color', 'wts-eae' ),
387
  'type' => Controls_Manager::COLOR,
388
- // 'scheme' => [
389
- // 'type' => Scheme_Color::get_type(),
390
- // 'value' => Scheme_Color::COLOR_2,
391
- // ],
392
  'global' => [
393
  'default' => Global_Colors::COLOR_SECONDARY,
394
  ],
@@ -407,10 +385,6 @@ class Timeline extends EAE_Widget_Base {
407
  [
408
  'label' => __( 'Content Color', 'wts-eae' ),
409
  'type' => Controls_Manager::COLOR,
410
- // 'scheme' => [
411
- // 'type' => Scheme_Color::get_type(),
412
- // 'value' => Scheme_Color::COLOR_3,
413
- // ],
414
  'global' => [
415
  'default' => Global_Colors::COLOR_TEXT,
416
  ],
@@ -482,10 +456,6 @@ class Timeline extends EAE_Widget_Base {
482
  [
483
  'label' => __( 'Title Color', 'wts-eae' ),
484
  'type' => Controls_Manager::COLOR,
485
- // 'scheme' => [
486
- // 'type' => Scheme_Color::get_type(),
487
- // 'value' => Scheme_Color::COLOR_1,
488
- // ],
489
  'global' => [
490
  'default' => Global_Colors::COLOR_PRIMARY,
491
  ],
@@ -502,10 +472,6 @@ class Timeline extends EAE_Widget_Base {
502
  [
503
  'label' => __( 'Date Color', 'wts-eae' ),
504
  'type' => Controls_Manager::COLOR,
505
- // 'scheme' => [
506
- // 'type' => Scheme_Color::get_type(),
507
- // 'value' => Scheme_Color::COLOR_2,
508
- // ],
509
  'global' => [
510
  'default' => Global_Colors::COLOR_SECONDARY,
511
  ],
@@ -523,11 +489,6 @@ class Timeline extends EAE_Widget_Base {
523
  [
524
  'label' => __( 'Content Color', 'wts-eae' ),
525
  'type' => Controls_Manager::COLOR,
526
- // 'scheme' => [
527
- // 'type' => Scheme_Color::get_type(),
528
- // 'value' => Scheme_Color::COLOR_3,
529
- // ],
530
-
531
  'global' => [
532
  'default' => Global_Colors::COLOR_TEXT,
533
  ],
14
  use WTS_EAE\Controls\Hover_Transition;
15
  use WTS_EAE\Controls\Group\Group_Control_Icon;
16
  use WTS_EAE\Modules\Timeline\Skins;
 
17
 
18
  class Timeline extends EAE_Widget_Base {
19
 
260
  [
261
  'label' => __( 'Title Color', 'wts-eae' ),
262
  'type' => Controls_Manager::COLOR,
 
 
 
 
263
  'global' => [
264
  'default' => Global_Colors::COLOR_PRIMARY,
265
  ],
277
  [
278
  'label' => __( 'Date Color', 'wts-eae' ),
279
  'type' => Controls_Manager::COLOR,
 
 
 
 
280
  'global' => [
281
  'default' => Global_Colors::COLOR_SECONDARY,
282
  ],
295
  [
296
  'label' => __( 'Content Color', 'wts-eae' ),
297
  'type' => Controls_Manager::COLOR,
 
 
 
 
298
  'global' => [
299
  'default' => Global_Colors::COLOR_TEXT,
300
  ],
350
  [
351
  'label' => __( 'Title Color', 'wts-eae' ),
352
  'type' => Controls_Manager::COLOR,
 
 
 
 
 
353
  'global' => [
354
  'default' => Global_Colors::COLOR_PRIMARY,
355
  ],
367
  [
368
  'label' => __( 'Date Color', 'wts-eae' ),
369
  'type' => Controls_Manager::COLOR,
 
 
 
 
370
  'global' => [
371
  'default' => Global_Colors::COLOR_SECONDARY,
372
  ],
385
  [
386
  'label' => __( 'Content Color', 'wts-eae' ),
387
  'type' => Controls_Manager::COLOR,
 
 
 
 
388
  'global' => [
389
  'default' => Global_Colors::COLOR_TEXT,
390
  ],
456
  [
457
  'label' => __( 'Title Color', 'wts-eae' ),
458
  'type' => Controls_Manager::COLOR,
 
 
 
 
459
  'global' => [
460
  'default' => Global_Colors::COLOR_PRIMARY,
461
  ],
472
  [
473
  'label' => __( 'Date Color', 'wts-eae' ),
474
  'type' => Controls_Manager::COLOR,
 
 
 
 
475
  'global' => [
476
  'default' => Global_Colors::COLOR_SECONDARY,
477
  ],
489
  [
490
  'label' => __( 'Content Color', 'wts-eae' ),
491
  'type' => Controls_Manager::COLOR,
 
 
 
 
 
492
  'global' => [
493
  'default' => Global_Colors::COLOR_TEXT,
494
  ],
modules/twitter/widgets/twitter.php CHANGED
@@ -3,9 +3,9 @@
3
  namespace WTS_EAE\Modules\Twitter\Widgets;
4
 
5
  use Elementor\Controls_Manager;
 
6
  use Elementor\Widget_Base;
7
  use Elementor\Plugin;
8
- use Elementor\Scheme_Color;
9
  use WTS_EAE\Base\EAE_Widget_Base;
10
 
11
  if ( ! defined( 'ABSPATH' ) ) {
@@ -251,10 +251,10 @@ class Twitter extends EAE_Widget_Base {
251
  [
252
  'label' =>__('Display Link Color' , 'wts-eae'),
253
  'type' =>Controls_Manager::COLOR,
254
- 'scheme' => [
255
- 'type' => Scheme_Color::get_type(),
256
- 'value' => Scheme_Color::COLOR_1,
257
- ],
258
  'conditions' => [
259
  'terms' => [
260
  [
@@ -339,12 +339,10 @@ class Twitter extends EAE_Widget_Base {
339
  [
340
  'label' => __( 'Display Link Color', 'wts-eae' ),
341
  'type' => Controls_Manager::COLOR,
342
- 'scheme' => [
343
- 'type' => Scheme_Color::get_type(),
344
- 'value' => Scheme_Color::COLOR_1,
345
- ],
346
  'condition' => [
347
-
348
  'display_mode_collection' => 'timeline',
349
  'embed_type' => 'collection',
350
  //'display_mode_profile' =>'timeline'
@@ -419,10 +417,9 @@ class Twitter extends EAE_Widget_Base {
419
  [
420
  'label' => __( 'Display Link Color', 'wts-eae' ),
421
  'type' => Controls_Manager::COLOR,
422
- 'scheme' => [
423
- 'type' => Scheme_Color::get_type(),
424
- 'value' => Scheme_Color::COLOR_1,
425
- ],
426
  'condition' => [
427
 
428
  'display_mode_profile' => 'timeline',
@@ -587,10 +584,9 @@ class Twitter extends EAE_Widget_Base {
587
  [
588
  'label' => __( 'Display Link Color', 'wts-eae' ),
589
  'type' => Controls_Manager::COLOR,
590
- 'scheme' => [
591
- 'type' => Scheme_Color::get_type(),
592
- 'value' => Scheme_Color::COLOR_1,
593
- ],
594
  'condition' => [
595
 
596
  //'display_mode_profile' =>'timeline',
3
  namespace WTS_EAE\Modules\Twitter\Widgets;
4
 
5
  use Elementor\Controls_Manager;
6
+ use Elementor\Core\Kits\Documents\Tabs\Global_Colors;
7
  use Elementor\Widget_Base;
8
  use Elementor\Plugin;
 
9
  use WTS_EAE\Base\EAE_Widget_Base;
10
 
11
  if ( ! defined( 'ABSPATH' ) ) {
251
  [
252
  'label' =>__('Display Link Color' , 'wts-eae'),
253
  'type' =>Controls_Manager::COLOR,
254
+
255
+ 'global' => [
256
+ 'default' => Global_Colors::Color_Primary,
257
+ ],
258
  'conditions' => [
259
  'terms' => [
260
  [
339
  [
340
  'label' => __( 'Display Link Color', 'wts-eae' ),
341
  'type' => Controls_Manager::COLOR,
342
+ 'global' => [
343
+ 'default' => Global_Colors::COLOR_PRIMARY,
344
+ ],
 
345
  'condition' => [
 
346
  'display_mode_collection' => 'timeline',
347
  'embed_type' => 'collection',
348
  //'display_mode_profile' =>'timeline'
417
  [
418
  'label' => __( 'Display Link Color', 'wts-eae' ),
419
  'type' => Controls_Manager::COLOR,
420
+ 'global' => [
421
+ 'default' => Global_Colors::COLOR_PRIMARY,
422
+ ],
 
423
  'condition' => [
424
 
425
  'display_mode_profile' => 'timeline',
584
  [
585
  'label' => __( 'Display Link Color', 'wts-eae' ),
586
  'type' => Controls_Manager::COLOR,
587
+ 'global' => [
588
+ 'default' => Global_Colors::COLOR_PRIMARY,
589
+ ],
 
590
  'condition' => [
591
 
592
  //'display_mode_profile' =>'timeline',
modules/unfold/Module.php DELETED
@@ -1,1457 +0,0 @@
1
- <?php
2
-
3
- namespace WTS_EAE\Modules\Unfold;
4
-
5
- use Elementor\Controls_Manager;
6
- use Elementor\Icons_Manager;
7
- use Elementor\Scheme_Typography;
8
- use Elementor\Group_Control_Border;
9
- use Elementor\Group_Control_Typography;
10
- use Elementor\Group_Control_Box_Shadow;
11
- use Elementor\Group_Control_Text_Shadow;
12
- use Elementor\Group_Control_Background;
13
- use Elementor\Core\Schemes;
14
- class Module {
15
- private static $_instance = null;
16
-
17
- public function __construct()
18
- {
19
- //Widget add fields
20
- add_action('elementor/element/common/_section_style/after_section_end', [$this, 'widget_unfold'], 10);
21
- //Widget FrontEnd
22
- add_action( 'elementor/widget/render_content', [$this, 'render_content'], 10 , 2 );
23
- //Column and Section add fields
24
- add_action( 'elementor/element/after_section_end', [ $this, 'register_controls' ], 10, 3 );
25
- //Column and Section Editor
26
- add_action( 'elementor/element/print_template', [ $this, '_print_template'],10,2);
27
- add_filter( 'elementor/widget/print_template', [ $this, '_content_template'],10,2);
28
- add_action( 'elementor/section/print_template', [ $this, '_print_template'],10,2);
29
- add_action( 'elementor/column/print_template', [ $this, '_print_template'],10,2);
30
- //Column and Section Front End
31
- add_action( 'elementor/frontend/before_render', [ $this, '_before_render']);
32
- }
33
-
34
- public function widget_unfold($element){
35
-
36
- $element->start_controls_section(
37
- 'widget_unfold',
38
- [
39
- 'tab' => Controls_Manager::TAB_ADVANCED,
40
- 'label' => __('EAE - Unfold', 'wts-eae')
41
- ]
42
- );
43
- $element->add_control(
44
- 'widget_enable_unfold',
45
- [
46
- 'type' => Controls_Manager::SWITCHER,
47
- 'label' => __('Enable', 'wts-eae'),
48
- 'default' => '',
49
- 'label_on' => __( 'Yes', 'wts-eae' ),
50
- 'label_off' => __( 'No', 'wts-eae' ),
51
- 'prefix_class' => 'eae-widget-unfold-',
52
- 'return_value' => 'yes',
53
- 'render_type' => 'template',
54
- ]
55
- );
56
-
57
- $element->start_controls_tabs(
58
- 'widget_unfold_tabs',
59
- [
60
- 'condition' => [
61
- 'widget_enable_unfold' => 'yes',
62
- ],
63
- ]
64
- );
65
-
66
-
67
- $element->start_controls_tab(
68
- 'widget_unfold_tab',
69
- [
70
- 'label' => __( 'Unfold', 'wts-eae' ),
71
-
72
- ]
73
- );
74
-
75
- $element->add_control(
76
- 'widget_unfold_button_text',
77
- [
78
- 'label' => __( 'Text', 'wts-eae' ),
79
- 'type' => Controls_Manager::TEXT,
80
- 'default' => __( 'Unfold', 'wts-eae' ),
81
- 'placeholder' => __( 'Type your text here', 'wts-eae' ),
82
- ]
83
- );
84
-
85
- $element->add_control(
86
- 'widget_icon_unfold',
87
- [
88
- 'label' => __( 'Icon', 'wts-eae' ),
89
- 'type' => Controls_Manager::ICONS,
90
- 'default' => [
91
- 'value' => 'fas fa-angle-down',
92
- 'library' => 'solid',
93
- ],
94
- 'skin' => 'inline',
95
- 'label_block' => false,
96
- 'exclude_inline_options' => 'svg',
97
- 'recommended' => [
98
- 'fa-solid' => [
99
- 'chevron-down',
100
- 'angle-down',
101
- 'angle-double-down',
102
- 'caret-down',
103
- 'caret-square-down',
104
- ],
105
- 'fa-regular' => [
106
- 'caret-square-down',
107
- ],
108
- ],
109
- ]
110
- );
111
-
112
-
113
-
114
- $element->end_controls_tab();
115
-
116
- $element->start_controls_tab(
117
- 'widget_fold_tab',
118
- [
119
- 'label' => __( 'Fold', 'wts-eae' ),
120
- ]
121
- );
122
-
123
- $element->add_control(
124
- 'widget_fold_button_text',
125
- [
126
- 'label' => __( 'Text', 'wts-eae' ),
127
- 'type' => Controls_Manager::TEXT,
128
- 'default' => __( 'Fold', 'wts-eae' ),
129
- 'placeholder' => __( 'Type your text here', 'wts-eae' ),
130
- ]
131
- );
132
- $element->add_control(
133
- 'widget_icon_fold',
134
- [
135
- 'label' => __( 'Icon', 'wts-eae' ),
136
- 'type' => Controls_Manager::ICONS,
137
- 'default' => [
138
- 'value' => 'fas fa-angle-up',
139
- 'library' => 'solid',
140
- ],
141
- 'skin' => 'inline',
142
- 'label_block' => false,
143
- 'exclude_inline_options' => 'svg',
144
- 'recommended' => [
145
- 'fa-solid' => [
146
- 'chevron-up',
147
- 'angle-up',
148
- 'angle-double-up',
149
- 'caret-up',
150
- 'caret-square-up',
151
- ],
152
- 'fa-regular' => [
153
- 'caret-square-up',
154
- ],
155
- ],
156
- ]
157
- );
158
-
159
-
160
- $element->end_controls_tab();
161
-
162
- $element->end_controls_tabs();
163
-
164
- $element->add_responsive_control(
165
- 'widget_icon_spacing',
166
- [
167
- 'label' => __( 'Icon Spacing', 'wts-eae' ),
168
- 'type' => Controls_Manager::SLIDER,
169
- 'range' => [
170
- 'px' => [
171
- 'max' => 50,
172
- ],
173
- ],
174
- 'default' => [
175
- 'size' => '10',
176
- 'unit' => 'px'
177
- ],
178
- 'selectors' => [
179
- '{{WRAPPER}} .eae-element-unfold-content span.eae-unfold-align-icon-before' => 'margin-right: {{SIZE}}px;',
180
- '{{WRAPPER}} .eae-element-unfold-content span.eae-unfold-align-icon-after' => 'margin-left: {{SIZE}}px;',
181
-
182
- ],
183
- 'condition' => [
184
- 'widget_enable_unfold' => 'yes',
185
- ],
186
-
187
- ]
188
- );
189
-
190
- $element->add_control(
191
- 'widget_unfold_button_icon_position',
192
- [
193
- 'label' => __('Icon Position', 'premium-addons-pro'),
194
- 'type' => Controls_Manager::SELECT,
195
- 'default' => 'before',
196
- 'options' => [
197
- 'before' => __('Before', 'premium-addons-pro'),
198
- 'after' => __('After', 'premium-addons-pro'),
199
- ],
200
- 'condition' => [
201
- 'widget_enable_unfold' => 'yes',
202
- ],
203
-
204
- ]
205
- );
206
-
207
- $element->add_responsive_control(
208
- 'widget_unfold_button_align',
209
- [
210
- 'label' => __( 'Alignment', 'premium-addons-pro' ),
211
- 'type' => Controls_Manager::CHOOSE,
212
- 'options' => [
213
- 'left' => [
214
- 'title' => __( 'Left', 'premium-addons-pro' ),
215
- 'icon' => 'fa fa-align-left',
216
- ],
217
- 'center' => [
218
- 'title' => __( 'Center', 'premium-addons-pro' ),
219
- 'icon' => 'fa fa-align-center',
220
- ],
221
- 'right' => [
222
- 'title' => __( 'Right', 'premium-addons-pro' ),
223
- 'icon' => 'fa fa-align-right',
224
- ],
225
- ],
226
- 'selectors' => [
227
- '{{WRAPPER}} .eae-element-unfold-content' => 'text-align: {{VALUE}}',
228
- ],
229
- 'condition' => [
230
- 'widget_enable_unfold' => 'yes',
231
- ],
232
- 'default' => 'center',
233
- ]
234
- );
235
-
236
- $element->add_control(
237
- 'widget_unfold_adv_set',
238
- [
239
- 'label' => __( 'Additional Setting', 'wts-eae' ),
240
- 'type' =>Controls_Manager::HEADING,
241
- 'separator' => 'before',
242
- 'condition' => [
243
- 'widget_enable_unfold' => 'yes',
244
- ],
245
- ]
246
- );
247
- $element->add_responsive_control(
248
- 'widget_fold_max_height',
249
- [
250
- 'label' => __( 'Fold Height', 'ae-pro' ),
251
- 'type' => Controls_Manager::SLIDER,
252
- 'range' => [
253
- 'px' => [
254
- 'min' => 0,
255
- 'max' => 1000,
256
- 'step' => 1
257
- ],
258
- ],
259
- 'devices' => [ 'desktop', 'tablet', 'mobile' ],
260
- 'desktop_default' => [
261
- 'size' => 300,
262
- ],
263
- 'tablet_default' => [
264
- 'size' => 400,
265
- ],
266
- 'mobile_default' => [
267
- 'size' => 500,
268
- ],
269
- 'render_type' => 'template',
270
-
271
- 'selectors' => [
272
- '{{WRAPPER}}.eae-widget-unfold-yes.elementor-widget' => 'max-height: {{SIZE}}{{UNIT}};',
273
- ],
274
- 'condition' => [
275
- 'widget_enable_unfold' => 'yes',
276
- ],
277
- ]
278
- );
279
- $element->add_control(
280
- 'widget_unfold_animation_speed',
281
- [
282
- 'label' => __( 'Animation Speed', 'ae-pro' ),
283
- 'type' => Controls_Manager::SLIDER,
284
- 'range' => [
285
- 'px' => [
286
- 'min' => 500,
287
- 'max' => 5000,
288
- 'step' => 100
289
- ],
290
- ],
291
- 'default' => [
292
- 'size' => 500,
293
- ],
294
- 'condition' => [
295
- 'widget_enable_unfold' => 'yes',
296
- ],
297
- ]
298
- );
299
- $element->add_control(
300
- 'widget_button_hover_animation',
301
- [
302
- 'label' => __( 'Animation', 'wts-eae' ),
303
- 'type' => Controls_Manager::SELECT,
304
- 'options' => [
305
- 'none' => __( 'None', 'wts-eae' ),
306
- 'sweep-left' => __( 'Style 1', 'wts-eae' ),
307
- 'sweep-right' => __( 'Style 2', 'wts-eae' ),
308
- 'bounce-left' => __( 'Style 3', 'wts-eae' ),
309
- 'bounce-right' => __( 'Style 4', 'wts-eae' ),
310
- 'sweep-top' => __( 'Style 5', 'wts-eae' ),
311
- 'sweep-bottom' => __( 'Style 6', 'wts-eae' ),
312
- 'bounce-top' => __( 'Style 7', 'wts-eae' ),
313
- 'bounce-bottom' => __( 'Style 8', 'wts-eae' ),
314
- ],
315
- 'render_type' => 'template',
316
- 'default' => 'none',
317
- 'condition' => [
318
- 'widget_enable_unfold' => 'yes',
319
- ],
320
- ]
321
- );
322
-
323
-
324
-
325
- $element->add_control(
326
- 'widget_unfold_style',
327
- [
328
- 'label' => __( 'Style Unfold Container', 'wts-eae' ),
329
- 'type' =>Controls_Manager::HEADING,
330
- 'separator' => 'before',
331
- 'condition' => [
332
- 'widget_enable_unfold' => 'yes',
333
- ],
334
- ]
335
- );
336
- $element->start_controls_tabs(
337
- 'widget_unfold_section_style',
338
- [
339
- 'condition' => [
340
- 'widget_enable_unfold' => 'yes',
341
- ],
342
- ]
343
- );
344
- $element->start_controls_tab(
345
- 'widget_unfold_section_style_normal',
346
- [
347
- 'label' => __( 'Normal', 'wts-eae' ),
348
- ]
349
- );
350
- $element->add_group_control(
351
- Group_Control_Background::get_type(),
352
- [
353
- 'name' => 'widget_unfold_section_background',
354
- 'label' => __( 'Background Color', 'wts-eae' ),
355
- 'types' => [ 'classic', 'gradient' ],
356
- 'selector' => '{{WRAPPER}} .eae-element-unfold-content',
357
- ]
358
- );
359
- $element->end_controls_tab();
360
-
361
- $element->start_controls_tab(
362
- 'widget_unfold_section_style_hover',
363
- [
364
- 'label' => __( 'Hover', 'wts-eae' ),
365
- ]
366
- );
367
- $element->add_group_control(
368
- Group_Control_Background::get_type(),
369
- [
370
- 'name' => 'widget_unfold_section_background_hover',
371
- 'label' => __( 'Background Color', 'wts-eae' ),
372
- 'types' => [ 'classic', 'gradient' ],
373
- 'selector' => '{{WRAPPER}} .eae-element-unfold-content:hover',
374
- ]
375
- );
376
- $element->end_controls_tab();
377
-
378
- $element->end_controls_tabs();
379
-
380
-
381
-
382
- $element->add_responsive_control(
383
- 'widget_unfold_section_padding',
384
- [
385
- 'label' => __( 'Padding', 'wts-eae' ),
386
- 'type' => Controls_Manager::DIMENSIONS,
387
- 'size_units' => [ 'px', '%', 'em' ],
388
- 'selectors' => [
389
- '{{WRAPPER}} .eae-element-unfold-content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
390
- ],
391
- 'default' => [
392
- 'top' => '15',
393
- 'right' => '',
394
- 'bottom' => '15',
395
- 'left' => '',
396
- 'unit' => 'px',
397
- 'isLinked' => '',
398
- ],
399
- 'condition' => [
400
- 'widget_enable_unfold' => 'yes',
401
- ],
402
- ]
403
- );
404
-
405
- $element->add_control(
406
- 'widget_unfold_style_button',
407
- [
408
- 'label' => __( 'Style Unfold Button', 'wts-eae' ),
409
- 'type' =>Controls_Manager::HEADING,
410
- 'separator' => 'before',
411
- 'condition' => [
412
- 'widget_enable_unfold' => 'yes',
413
- ],
414
- ]
415
- );
416
- $element->start_controls_tabs(
417
- 'widget_unfold_button_style',
418
- [
419
- 'condition' => [
420
- 'widget_enable_unfold' => 'yes',
421
- ],
422
- ]
423
- );
424
- $element->start_controls_tab(
425
- 'widget_unfold_button_style_normal',
426
- [
427
- 'label' => __( 'Normal', 'wts-eae' ),
428
- ]
429
- );
430
- $element->add_control(
431
- 'widget_unfold_button_color',
432
- [
433
- 'label' => __( 'Color', 'wts-eae' ),
434
- 'type' => Controls_Manager::COLOR,
435
- 'selectors' => [
436
- '{{WRAPPER}} a.eae-unfold-link' => 'color: {{VALUE}}',
437
- '{{WRAPPER}} a.eae-unfold-link svg' => 'background-color: {{VALUE}}',
438
- ],
439
- ]
440
- );
441
- $element->add_group_control(
442
- Group_Control_Background::get_type(),
443
- [
444
- 'name' => 'widget_unfold_button_background',
445
- 'label' => __( 'Background Color', 'wts-eae' ),
446
- 'types' => [ 'classic', 'gradient' ],
447
- 'selector' => '{{WRAPPER}} a.eae-unfold-link',
448
- ]
449
- );
450
-
451
- $element->end_controls_tab();
452
-
453
- $element->start_controls_tab(
454
- 'widget_unfold_button_style_hover',
455
- [
456
- 'label' => __( 'Hover', 'wts-eae' ),
457
- ]
458
- );
459
- $element->add_control(
460
- 'widget_unfold_button_color_hover',
461
- [
462
- 'label' => __( 'Color', 'wts-eae' ),
463
- 'type' => Controls_Manager::COLOR,
464
- 'selectors' => [
465
- '{{WRAPPER}} a.eae-unfold-link:hover' => 'color: {{VALUE}}',
466
- '{{WRAPPER}} a.eae-unfold-link:hover svg' => 'background-color: {{VALUE}}',
467
- ],
468
- ]
469
- );
470
- $element->add_group_control(
471
- Group_Control_Background::get_type(),
472
- [
473
- 'name' => 'widget_unfold_button_background_hover',
474
- 'label' => __( 'Background Color', 'wts-eae' ),
475
- 'types' => [ 'classic', 'gradient' ],
476
- 'selector' => '{{WRAPPER}} a.eae-unfold-link.eae-none:hover , {{WRAPPER}} a.eae-unfold-link:hover:before , {{WRAPPER}} a.eae-unfold-link:before',
477
- ]
478
- );
479
- $element->add_control(
480
- 'widget_unfold_border_hover_color',
481
- [
482
- 'label' => __( 'Border Color', 'wts-eae' ),
483
- 'type' => Controls_Manager::COLOR,
484
- 'condition' => [
485
- 'unfold_border_border!' => '',
486
- ],
487
- 'selectors' => [
488
- '{{WRAPPER}} a.eae-unfold-link:hover' => 'border-color: {{VALUE}};',
489
- ],
490
- ]
491
- );
492
- $element->end_controls_tab();
493
-
494
- $element->end_controls_tabs();
495
-
496
- $element->add_group_control(
497
- Group_Control_Typography::get_type(),
498
- [
499
- 'name' => 'widget_unfold_button_typography',
500
- 'scheme' => Scheme_Typography::TYPOGRAPHY_4,
501
- 'selector' => '{{WRAPPER}} a.eae-unfold-link .eae-unfold-button-text',
502
- 'condition' => [
503
- 'widget_enable_unfold' => 'yes',
504
- ],
505
- ]
506
- );
507
- $element->add_responsive_control(
508
- 'widget_icon_size',
509
- [
510
- 'label' => __( 'Icon Size', 'wts-eae' ),
511
- 'type' => Controls_Manager::SLIDER,
512
- 'range' => [
513
- 'px' => [
514
- 'max' => 100,
515
- ],
516
- ],
517
- 'default' => [
518
- 'size' => '18',
519
- 'unit' => 'px'
520
- ],
521
- 'selectors' => [
522
- '{{WRAPPER}} .eae-element-unfold-content span.eae-unfold-button-icon i' => 'font-size: {{SIZE}}px;',
523
- '{{WRAPPER}} .eae-element-unfold-content span.eae-unfold-button-icon svg' => 'width: {{SIZE}}px; height : {{SIZE}}px',
524
-
525
- ],
526
- 'condition' => [
527
- 'widget_enable_unfold' => 'yes',
528
- ],
529
-
530
- ]
531
- );
532
-
533
- $element->add_group_control(
534
- Group_Control_Border::get_type(),
535
- [
536
- 'name' => 'widget_unfold_button_border',
537
- 'fields_options' => [
538
- // 'border' => [
539
- // 'default' => 'solid',
540
- // ],
541
- // 'width' => [
542
- // 'default' => [
543
- // 'top' => 1,
544
- // 'right' => 1,
545
- // 'bottom' => 1,
546
- // 'left' => 1,
547
- // 'unit' => 'px'
548
- // ],
549
- // ],
550
- // 'color' => [
551
- // 'default' => '#0c0c0c',
552
- // ]
553
- ],
554
- 'condition' => [
555
- 'widget_enable_unfold' => 'yes',
556
- ],
557
- 'selector' => '{{WRAPPER}} a.eae-unfold-link',
558
- ]
559
- );
560
- $element->add_control(
561
- 'widget_border_hover_color',
562
- [
563
- 'label' => __( 'Border Color Hover', 'wts-eae' ),
564
- 'type' => Controls_Manager::COLOR,
565
- 'condition' => [
566
- 'widget_unfold_button_border_border!' => '',
567
- ],
568
- 'selectors' => [
569
- '{{WRAPPER}} a.eae-unfold-link:hover' => 'border-color: {{VALUE}};',
570
- ],
571
-
572
- ]
573
- );
574
-
575
- $element->add_control(
576
- 'widget_unfold_border_radius',
577
- [
578
- 'label' => __( 'Border Radius', 'wts-eae' ),
579
- 'type' => Controls_Manager::DIMENSIONS,
580
- 'size_units' => [ 'px', '%' ],
581
- 'selectors' => [
582
- '{{WRAPPER}} a.eae-unfold-link' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
583
- ],
584
- 'condition' => [
585
- 'widget_enable_unfold' => 'yes',
586
- ],
587
- ]
588
- );
589
-
590
- $element->add_responsive_control(
591
- 'widget_unfold_button_padding',
592
- [
593
- 'label' => __( 'Padding', 'wts-eae' ),
594
- 'type' => Controls_Manager::DIMENSIONS,
595
- 'size_units' => [ 'px', '%', 'em' ],
596
- 'selectors' => [
597
- '{{WRAPPER}} a.eae-unfold-link' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
598
- ],
599
- 'default' => [
600
- 'top' => '5',
601
- 'right' => '20',
602
- 'bottom' => '5',
603
- 'left' => '20',
604
- 'unit' => 'px',
605
- ],
606
- 'condition' => [
607
- 'widget_enable_unfold' => 'yes',
608
- ],
609
- ]
610
- );
611
-
612
-
613
-
614
-
615
- $element->end_controls_section();
616
-
617
- }
618
- public function register_controls($element, $section_id, $args){
619
- if ( ('section' === $element->get_name() && 'section_background' === $section_id) || ('column' === $element->get_name() && 'section_style' === $section_id) || ('heading' === $element->get_name() && 'section_effects' === $section_id) ) {
620
- $elm = $element->get_name();
621
- $element->start_controls_section(
622
- 'sc_unfold',
623
- [
624
- 'tab' => Controls_Manager::TAB_STYLE,
625
- 'label' => __('EAE - Unfold', 'wts-eae')
626
- ]
627
- );
628
- $element->add_control(
629
- 'sc_enable_unfold',
630
- [
631
- 'type' => Controls_Manager::SWITCHER,
632
- 'label' => __('Enable', 'wts-eae'),
633
- 'default' => '',
634
- 'label_on' => __( 'Yes', 'wts-eae' ),
635
- 'label_off' => __( 'No', 'wts-eae' ),
636
- 'prefix_class' => 'eae-widget-unfold-',
637
- 'return_value' => 'yes',
638
- 'render_type' => 'template',
639
- ]
640
- );
641
-
642
- $element->start_controls_tabs(
643
- 'sc_unfold_tabs',
644
- [
645
- 'condition' => [
646
- 'sc_enable_unfold' => 'yes',
647
- ],
648
- ]
649
- );
650
-
651
-
652
- $element->start_controls_tab(
653
- 'sc_unfold_tab',
654
- [
655
- 'label' => __( 'Unfold', 'wts-eae' ),
656
-
657
- ]
658
- );
659
-
660
- $element->add_control(
661
- 'sc_unfold_button_text',
662
- [
663
- 'label' => __( 'Text', 'wts-eae' ),
664
- 'type' => Controls_Manager::TEXT,
665
- 'default' => __( 'Unfold', 'wts-eae' ),
666
- 'placeholder' => __( 'Type your text here', 'wts-eae' ),
667
- ]
668
- );
669
-
670
- $element->add_control(
671
- 'sc_icon_unfold',
672
- [
673
- 'label' => __( 'Icon', 'wts-eae' ),
674
- 'type' => Controls_Manager::ICONS,
675
- 'default' => [
676
- 'value' => 'fas fa-angle-down',
677
- 'library' => 'solid',
678
- ],
679
- 'skin' => 'inline',
680
- 'label_block' => false,
681
- 'exclude_inline_options' => 'svg',
682
- 'recommended' => [
683
- 'fa-solid' => [
684
- 'chevron-down',
685
- 'angle-down',
686
- 'angle-double-down',
687
- 'caret-down',
688
- 'caret-square-down',
689
- ],
690
- 'fa-regular' => [
691
- 'caret-square-down',
692
- ],
693
- ],
694
-
695
- ]
696
- );
697
-
698
-
699
-
700
- $element->end_controls_tab();
701
-
702
- $element->start_controls_tab(
703
- 'sc_fold_tab',
704
- [
705
- 'label' => __( 'Fold', 'wts-eae' ),
706
- ]
707
- );
708
-
709
- $element->add_control(
710
- 'sc_fold_button_text',
711
- [
712
- 'label' => __( 'Text', 'wts-eae' ),
713
- 'type' => Controls_Manager::TEXT,
714
- 'default' => __( 'Fold', 'wts-eae' ),
715
- 'placeholder' => __( 'Type your text here', 'wts-eae' ),
716
- ]
717
- );
718
- $element->add_control(
719
- 'sc_icon_fold',
720
- [
721
- 'label' => __( 'Icon', 'wts-eae' ),
722
- 'type' => Controls_Manager::ICONS,
723
- 'default' => [
724
- 'value' => 'fas fa-angle-up',
725
- 'library' => 'solid',
726
- ],
727
- 'skin' => 'inline',
728
- 'label_block' => false,
729
- 'exclude_inline_options' => 'svg',
730
- 'recommended' => [
731
- 'fa-solid' => [
732
- 'chevron-up',
733
- 'angle-up',
734
- 'angle-double-up',
735
- 'caret-up',
736
- 'caret-square-up',
737
- ],
738
- 'fa-regular' => [
739
- 'caret-square-up',
740
- ],
741
- ],
742
- ]
743
- );
744
-
745
-
746
- $element->end_controls_tab();
747
-
748
- $element->end_controls_tabs();
749
-
750
- $element->add_responsive_control(
751
- 'sc_icon_spacing',
752
- [
753
- 'label' => __( 'Icon Spacing', 'wts-eae' ),
754
- 'type' => Controls_Manager::SLIDER,
755
- 'range' => [
756
- 'px' => [
757
- 'max' => 50,
758
- ],
759
- ],
760
- 'default' => [
761
- 'size' => '10',
762
- 'unit' => 'px'
763
- ],
764
- 'selectors' => [
765
- '{{WRAPPER}} .eae-element-unfold-content span.eae-unfold-align-icon-before' => 'margin-right: {{SIZE}}px;',
766
- '{{WRAPPER}} .eae-element-unfold-content span.eae-unfold-align-icon-after' => 'margin-left: {{SIZE}}px;',
767
-
768
- ],
769
- 'condition' => [
770
- 'sc_enable_unfold' => 'yes',
771
- ],
772
-
773
- ]
774
- );
775
-
776
- $element->add_control(
777
- 'sc_unfold_button_icon_position',
778
- [
779
- 'label' => __('Icon Position', 'premium-addons-pro'),
780
- 'type' => Controls_Manager::SELECT,
781
- 'default' => 'before',
782
- 'options' => [
783
- 'before' => __('Before', 'premium-addons-pro'),
784
- 'after' => __('After', 'premium-addons-pro'),
785
- ],
786
- 'condition' => [
787
- 'sc_enable_unfold' => 'yes',
788
- ],
789
-
790
- ]
791
- );
792
-
793
- $element->add_responsive_control(
794
- 'sc_unfold_button_align',
795
- [
796
- 'label' => __( 'Alignment', 'premium-addons-pro' ),
797
- 'type' => Controls_Manager::CHOOSE,
798
- 'options' => [
799
- 'left' => [
800
- 'title' => __( 'Left', 'premium-addons-pro' ),
801
- 'icon' => 'fa fa-align-left',
802
- ],
803
- 'center' => [
804
- 'title' => __( 'Center', 'premium-addons-pro' ),
805
- 'icon' => 'fa fa-align-center',
806
- ],
807
- 'right' => [
808
- 'title' => __( 'Right', 'premium-addons-pro' ),
809
- 'icon' => 'fa fa-align-right',
810
- ],
811
- ],
812
- 'selectors' => [
813
- '{{WRAPPER}} .eae-element-unfold-content' => 'text-align: {{VALUE}}',
814
- ],
815
- 'condition' => [
816
- 'sc_enable_unfold' => 'yes',
817
- ],
818
- 'default' => 'center',
819
- ]
820
- );
821
-
822
- $element->add_control(
823
- 'sc_unfold_adv_set',
824
- [
825
- 'label' => __( 'Additional Setting', 'wts-eae' ),
826
- 'type' =>Controls_Manager::HEADING,
827
- 'separator' => 'before',
828
- 'condition' => [
829
- 'sc_enable_unfold' => 'yes',
830
- ],
831
- ]
832
- );
833
- $element->add_responsive_control(
834
- 'sc_fold_max_height',
835
- [
836
- 'label' => __( 'Fold Height', 'ae-pro' ),
837
- 'type' => Controls_Manager::SLIDER,
838
- 'range' => [
839
- 'px' => [
840
- 'min' => 0,
841
- 'max' => 1000,
842
- 'step' => 1
843
- ],
844
- ],
845
- 'devices' => [ 'desktop', 'tablet', 'mobile' ],
846
- 'desktop_default' => [
847
- 'size' => 300,
848
- ],
849
- 'tablet_default' => [
850
- 'size' => 400,
851
- ],
852
- 'mobile_default' => [
853
- 'size' => 500,
854
- ],
855
- 'render_type' => 'template',
856
-
857
- 'condition' => [
858
- 'sc_enable_unfold' => 'yes',
859
- ],
860
- ]
861
- );
862
- $element->add_control(
863
- 'sc_unfold_animation_speed',
864
- [
865
- 'label' => __( 'Animation Speed', 'ae-pro' ),
866
- 'type' => Controls_Manager::SLIDER,
867
- 'range' => [
868
- 'px' => [
869
- 'min' => 500,
870
- 'max' => 5000,
871
- 'step' => 100
872
- ],
873
- ],
874
- 'default' => [
875
- 'size' => 500,
876
- ],
877
- 'condition' => [
878
- 'sc_enable_unfold' => 'yes',
879
- ],
880
- ]
881
- );
882
-
883
- $element->add_control(
884
- 'sc_button_hover_animation',
885
- [
886
- 'label' => __( 'Animation', 'wts-eae' ),
887
- 'type' => Controls_Manager::SELECT,
888
- 'options' => [
889
- 'none' => __( 'None', 'wts-eae' ),
890
- 'sweep-left' => __( 'Style 1', 'wts-eae' ),
891
- 'sweep-right' => __( 'Style 2', 'wts-eae' ),
892
- 'bounce-left' => __( 'Style 3', 'wts-eae' ),
893
- 'bounce-right' => __( 'Style 4', 'wts-eae' ),
894
- 'sweep-top' => __( 'Style 5', 'wts-eae' ),
895
- 'sweep-bottom' => __( 'Style 6', 'wts-eae' ),
896
- 'bounce-top' => __( 'Style 7', 'wts-eae' ),
897
- 'bounce-bottom' => __( 'Style 8', 'wts-eae' ),
898
- ],
899
- 'render_type' => 'template',
900
- 'default' => 'none',
901
- 'condition' => [
902
- 'sc_enable_unfold' => 'yes',
903
- ],
904
- ]
905
- );
906
- if($element->get_name() === 'section'){
907
- $element->add_control(
908
- 'unfold_position',
909
- [
910
- 'label' => __( 'Position', 'wts-eae' ),
911
- 'type' => Controls_Manager::SELECT,
912
- 'default' => 'inside',
913
- 'options' => [
914
- 'inside' => __( 'Inside', 'wts-eae' ),
915
- 'outside' => __( 'Outside', 'wts-eae' ),
916
- ],
917
- 'condition' => [
918
- 'sc_enable_unfold' => 'yes',
919
- ],
920
- ]
921
- );
922
- }
923
-
924
- $element->add_control(
925
- 'sc_unfold_style',
926
- [
927
- 'label' => __( 'Style Unfold Container', 'wts-eae' ),
928
- 'type' =>Controls_Manager::HEADING,
929
- 'separator' => 'before',
930
- 'condition' => [
931
- 'sc_enable_unfold' => 'yes',
932
- ],
933
- ]
934
- );
935
- $element->start_controls_tabs(
936
- 'unfold_section_style',
937
- [
938
- 'condition' => [
939
- 'sc_enable_unfold' => 'yes',
940
- ],
941
- ]
942
- );
943
- $element->start_controls_tab(
944
- 'unfold_section_style_normal',
945
- [
946
- 'label' => __( 'Normal', 'wts-eae' ),
947
- ]
948
- );
949
- $element->add_group_control(
950
- Group_Control_Background::get_type(),
951
- [
952
- 'name' => 'unfold_section_background',
953
- 'label' => __( 'Background Color', 'wts-eae' ),
954
- 'types' => [ 'classic', 'gradient' ],
955
- 'selector' => '{{WRAPPER}} .eae-element-unfold-content',
956
- ]
957
- );
958
- $element->end_controls_tab();
959
-
960
- $element->start_controls_tab(
961
- 'unfold_section_style_hover',
962
- [
963
- 'label' => __( 'Hover', 'wts-eae' ),
964
- ]
965
- );
966
- $element->add_group_control(
967
- Group_Control_Background::get_type(),
968
- [
969
- 'name' => 'unfold_section_background_hover',
970
- 'label' => __( 'Background Color', 'wts-eae' ),
971
- 'types' => [ 'classic', 'gradient' ],
972
- 'selector' => '{{WRAPPER}} .eae-element-unfold-content:hover',
973
- ]
974
- );
975
- $element->end_controls_tab();
976
-
977
- $element->end_controls_tabs();
978
-
979
-
980
-
981
- $element->add_responsive_control(
982
- 'unfold_section_padding',
983
- [
984
- 'label' => __( 'Padding', 'wts-eae' ),
985
- 'type' => Controls_Manager::DIMENSIONS,
986
- 'size_units' => [ 'px', '%', 'em' ],
987
- 'selectors' => [
988
- '{{WRAPPER}} .eae-element-unfold-content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
989
- ],
990
- 'default' => [
991
- 'top' => '15',
992
- 'right' => '',
993
- 'bottom' => '15',
994
- 'left' => '',
995
- 'unit' => 'px',
996
- 'isLinked' => '',
997
- ],
998
- 'condition' => [
999
- 'sc_enable_unfold' => 'yes',
1000
- ],
1001
- ]
1002
- );
1003
-
1004
- $element->add_control(
1005
- 'sc_unfold_style_button',
1006
- [
1007
- 'label' => __( 'Style Unfold Button', 'wts-eae' ),
1008
- 'type' =>Controls_Manager::HEADING,
1009
- 'separator' => 'before',
1010
- 'condition' => [
1011
- 'sc_enable_unfold' => 'yes',
1012
- ],
1013
- ]
1014
- );
1015
- $element->start_controls_tabs(
1016
- 'unfold_button_style',
1017
- [
1018
- 'condition' => [
1019
- 'sc_enable_unfold' => 'yes',
1020
- ],
1021
- ]
1022
- );
1023
- $element->start_controls_tab(
1024
- 'unfold_button_style_normal',
1025
- [
1026
- 'label' => __( 'Normal', 'wts-eae' ),
1027
- ]
1028
- );
1029
- $element->add_control(
1030
- 'unfold_button_color',
1031
- [
1032
- 'label' => __( 'Color', 'wts-eae' ),
1033
- 'type' => Controls_Manager::COLOR,
1034
- 'scheme' => [
1035
- 'type' => Schemes\Color::get_type(),
1036
- 'value' => Schemes\Color::COLOR_1,
1037
- ],
1038
- 'selectors' => [
1039
- '{{WRAPPER}} a.eae-unfold-link' => 'color: {{VALUE}}',
1040
- '{{WRAPPER}} a.eae-unfold-link svg' => 'background-color: {{VALUE}}; fill: {{VALUE}};',
1041
- '{{WRAPPER}}.eae-unfold-icon-type-svg a.eae-unfold-link .eae-unfold-button-icon' => 'background-color: {{VALUE}};',
1042
- '{{WRAPPER}}.eae-fold-icon-type-svg a.eae-unfold-link .eae-unfold-button-icon' => 'background-color: {{VALUE}};',
1043
- ],
1044
- ]
1045
- );
1046
- $element->add_group_control(
1047
- Group_Control_Background::get_type(),
1048
- [
1049
- 'name' => 'unfold_button_background',
1050
- 'label' => __( 'Background Color', 'wts-eae' ),
1051
- 'types' => [ 'classic', 'gradient' ],
1052
- 'selector' => '{{WRAPPER}} a.eae-unfold-link',
1053
- ]
1054
- );
1055
-
1056
- $element->end_controls_tab();
1057
-
1058
- $element->start_controls_tab(
1059
- 'unfold_button_style_hover',
1060
- [
1061
- 'label' => __( 'Hover', 'wts-eae' ),
1062
- ]
1063
- );
1064
- $element->add_control(
1065
- 'unfold_button_color_hover',
1066
- [
1067
- 'label' => __( 'Color', 'wts-eae' ),
1068
- 'type' => Controls_Manager::COLOR,
1069
- 'scheme' => [
1070
- 'type' => Schemes\Color::get_type(),
1071
- 'value' => Schemes\Color::COLOR_1,
1072
- ],
1073
- 'selectors' => [
1074
- '{{WRAPPER}} a.eae-unfold-link:hover' => 'color: {{VALUE}}',
1075
- '{{WRAPPER}} a.eae-unfold-link:hover svg' => 'background-color: {{VALUE}}',
1076
- ],
1077
- ]
1078
- );
1079
- $element->add_group_control(
1080
- Group_Control_Background::get_type(),
1081
- [
1082
- 'name' => 'unfold_button_background_hover',
1083
- 'label' => __( 'Background Color', 'wts-eae' ),
1084
- 'types' => [ 'classic', 'gradient' ],
1085
- 'selector' => '{{WRAPPER}} a.eae-unfold-link.eae-none:hover , {{WRAPPER}} a.eae-unfold-link:hover:before , {{WRAPPER}} a.eae-unfold-link:before',
1086
- ]
1087
- );
1088
- $element->add_group_control(
1089
- Group_Control_Box_Shadow::get_type(),
1090
- [
1091
- 'name' => 'unfold_button_box_shadow_hover',
1092
- 'selector' => '{{WRAPPER}} a.eae-unfold-link:hover',
1093
- ]
1094
- );
1095
-
1096
- $element->end_controls_tab();
1097
-
1098
- $element->end_controls_tabs();
1099
-
1100
- $element->add_group_control(
1101
- Group_Control_Typography::get_type(),
1102
- [
1103
- 'name' => 'unfold_button_typography',
1104
- 'scheme' => Schemes\Typography::TYPOGRAPHY_4,
1105
- 'selector' => '{{WRAPPER}} a.eae-unfold-link .eae-unfold-button-text',
1106
- 'condition' => [
1107
- 'sc_enable_unfold' => 'yes',
1108
- ],
1109
- ]
1110
- );
1111
-
1112
- $element->add_responsive_control(
1113
- 'sc_icon_size',
1114
- [
1115
- 'label' => __( 'Icon Size', 'wts-eae' ),
1116
- 'type' => Controls_Manager::SLIDER,
1117
- 'range' => [
1118
- 'px' => [
1119
- 'max' => 100,
1120
- ],
1121
- ],
1122
- 'default' => [
1123
- 'size' => '18',
1124
- 'unit' => 'px'
1125
- ],
1126
- 'selectors' => [
1127
- '{{WRAPPER}} .eae-element-unfold-content span.eae-unfold-button-icon i' => 'font-size: {{SIZE}}px;',
1128
- '{{WRAPPER}} .eae-element-unfold-content span.eae-unfold-button-icon svg' => 'width: {{SIZE}}px; height : {{SIZE}}px',
1129
-
1130
- ],
1131
- 'condition' => [
1132
- 'sc_enable_unfold' => 'yes',
1133
- ],
1134
-
1135
- ]
1136
- );
1137
-
1138
- $element->add_group_control(
1139
- Group_Control_Border::get_type(),
1140
- [
1141
- 'name' => 'unfold_button_border',
1142
- 'fields_options' => [
1143
- // 'border' => [
1144
- // 'default' => 'solid',
1145
- // ],
1146
- // 'width' => [
1147
- // 'default' => [
1148
- // 'top' => 1,
1149
- // 'right' => 1,
1150
- // 'bottom' => 1,
1151
- // 'left' => 1,
1152
- // 'unit' => 'px'
1153
- // ],
1154
- // ],
1155
- // 'color' => [
1156
- // 'default' => '#0c0c0c',
1157
- // ]
1158
- ],
1159
- 'condition' => [
1160
- 'sc_enable_unfold' => 'yes',
1161
- ],
1162
- 'selector' => '{{WRAPPER}} a.eae-unfold-link',
1163
- ]
1164
- );
1165
- $element->add_control(
1166
- 'unfold_border_hover_color',
1167
- [
1168
- 'label' => __( 'Border Color Hover', 'wts-eae' ),
1169
- 'type' => Controls_Manager::COLOR,
1170
- 'condition' => [
1171
- 'unfold_button_border_border!' => '',
1172
- ],
1173
- 'selectors' => [
1174
- '{{WRAPPER}} a.eae-unfold-link:hover' => 'border-color: {{VALUE}};',
1175
- ],
1176
- ]
1177
- );
1178
-
1179
- $element->add_control(
1180
- 'unfold_border_radius',
1181
- [
1182
- 'label' => __( 'Border Radius', 'wts-eae' ),
1183
- 'type' => Controls_Manager::DIMENSIONS,
1184
- 'size_units' => [ 'px', '%' ],
1185
- 'selectors' => [
1186
- '{{WRAPPER}} a.eae-unfold-link' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1187
- ],
1188
- 'condition' => [
1189
- 'sc_enable_unfold' => 'yes',
1190
- ],
1191
- ]
1192
- );
1193
-
1194
- $element->add_responsive_control(
1195
- 'unfold_button_padding',
1196
- [
1197
- 'label' => __( 'Padding', 'wts-eae' ),
1198
- 'type' => Controls_Manager::DIMENSIONS,
1199
- 'size_units' => [ 'px', '%', 'em' ],
1200
- 'selectors' => [
1201
- '{{WRAPPER}} a.eae-unfold-link' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
1202
- ],
1203
- 'default' => [
1204
- 'top' => '5',
1205
- 'right' => '20',
1206
- 'bottom' => '5',
1207
- 'left' => '20',
1208
- 'unit' => 'px',
1209
- ],
1210
- 'condition' => [
1211
- 'sc_enable_unfold' => 'yes',
1212
- ],
1213
- ]
1214
- );
1215
-
1216
-
1217
-
1218
-
1219
- $element->end_controls_section();
1220
- }
1221
- }
1222
-
1223
- public function _before_render($element){
1224
- if($element->get_name() != 'section' && $element->get_name() != 'column'){
1225
- return;
1226
- }
1227
- $settings = $element->get_settings();
1228
- if($settings['sc_enable_unfold'] == 'yes') {
1229
- $max_fold_height['desktop'] = $settings['sc_fold_max_height']['size'];
1230
- $max_fold_height['tablet'] = $settings['sc_fold_max_height_tablet']['size'];
1231
- $max_fold_height['mobile'] = $settings['sc_fold_max_height_mobile']['size'];
1232
-
1233
- if($element->get_name() == 'section'){
1234
- $element->add_render_attribute('_wrapper' , 'data-unfold-position' , $settings['unfold_position']);
1235
- }
1236
- $element->add_render_attribute('_wrapper' , 'data-fold-text' , $settings['sc_fold_button_text']);
1237
- $element->add_render_attribute('_wrapper' , 'data-unfold-text' , $settings['sc_unfold_button_text']);
1238
- //$element->add_render_attribute('_wrapper' , 'data-unfold-icon' , $settings['sc_icon_unfold']['value']);
1239
- //$element->add_render_attribute('_wrapper' , 'data-fold-icon' , $settings['sc_icon_fold']['value']);
1240
- $element->add_render_attribute('_wrapper' , 'data-fold-height' , json_encode($max_fold_height, JSON_NUMERIC_CHECK));
1241
- $element->add_render_attribute('_wrapper' , 'data-animation-speed' , $settings['sc_unfold_animation_speed']['size']);
1242
- $element->add_render_attribute('_wrapper' , 'data-hover-animation' , $settings['sc_button_hover_animation']);
1243
- $element->add_render_attribute('_wrapper' , 'data-icon-pos' , $settings['sc_unfold_button_icon_position']);
1244
- $unfold_button_icon_type = isset($settings['sc_icon_unfold']['value']['url']) ? 'svg' : 'icon';
1245
- $fold_button_icon_type = isset($settings['sc_icon_fold']['value']['url']) ? 'svg' : 'icon';
1246
- $class = [
1247
- 'eae-fold-yes',
1248
- 'eae-unfold-icon-type-'.$unfold_button_icon_type,
1249
- 'eae-fold-icon-type-'.$fold_button_icon_type,
1250
- ];
1251
- $element->add_render_attribute('_wrapper' , 'class' , $class);
1252
-
1253
- $element->add_render_attribute( '_wrapper', 'data-unfold-icon-type', $unfold_button_icon_type);
1254
- if($unfold_button_icon_type == 'svg'){
1255
- $element->add_render_attribute( '_wrapper', 'data-unfold-icon', $settings['sc_icon_unfold']['value']['url'] );
1256
- // $icon_html = "<svg style='-webkit-mask: url(". $settings['widget_icon_unfold']['value']['url'] . "); mask: url(". $settings['widget_icon_unfold']['value']['url'] . "'); ></svg>";
1257
- }else{
1258
- $element->add_render_attribute( '_wrapper', 'data-unfold-icon', $settings['sc_icon_unfold']['value'] );
1259
- // $icon_html = "<i class='".$settings['widget_icon_fold']['value']."'></i>";
1260
- }
1261
-
1262
- $element->add_render_attribute( '_wrapper', 'data-fold-icon-type', $fold_button_icon_type);
1263
- if($fold_button_icon_type == 'svg'){
1264
- $element->add_render_attribute( '_wrapper', 'data-fold-icon', $settings['sc_icon_fold']['value']['url'] );
1265
- }else{
1266
- $element->add_render_attribute( '_wrapper', 'data-fold-icon', $settings['sc_icon_fold']['value'] );
1267
- }
1268
- ?>
1269
- <!-- <div class="ae-element-post-content-inner">-->
1270
- <!-- <div class="eae-unfold-button">-->
1271
- <!-- <a class="li-post-content-unfold-link" href="#">-->
1272
- <!-- --><?php //if($settings['sc_unfold_button_icon_position'] == 'before'){ ?>
1273
- <!-- <span class="eae-unfold-button-icon eae-unfold-align-icon---><?php //echo $settings['sc_unfold_button_icon_position']; ?><!--">-->
1274
- <!-- <i class="--><?php //echo $settings['sc_icon_unfold']['value']; ?><!--"></i>-->
1275
- <!-- </span>-->
1276
- <!-- --><?php // } ?>
1277
- <!-- <span class="eae-unfold-button-text">--><?php //echo $settings['sc_fold_button_text']; ?><!--</span>-->
1278
- <!-- --><?php //if($settings['sc_unfold_button_icon_position'] == 'after'){ ?>
1279
- <!-- <span class="eae-unfold-button-icon eae-unfold-align-icon---><?php //echo $settings['sc_unfold_button_icon_position']; ?><!--">-->
1280
- <!-- <i class="--><?php //echo $settings['sc_icon_unfold']['value']; ?><!--"></i>-->
1281
- <!-- </span>-->
1282
- <!-- --><?php // } ?>
1283
- <!-- </a>-->
1284
- <!-- </div>-->
1285
- <!-- </div>-->
1286
- <?php }
1287
-
1288
- }
1289
- public function render_content( $content, $widget ) {
1290
- $widget_id = $widget->get_id();
1291
- $settings = $widget->get_settings_for_display();
1292
-
1293
- if($settings['widget_enable_unfold'] == 'yes') {
1294
- $max_fold_height['desktop'] = $settings['widget_fold_max_height']['size'];
1295
- $max_fold_height['tablet'] = $settings['widget_fold_max_height_tablet']['size'];
1296
- $max_fold_height['mobile'] = $settings['widget_fold_max_height_mobile']['size'];
1297
- $widget->add_render_attribute( '_wrapper', 'class', ['eae-fold-yes' ,'eae-rc'] );
1298
- $widget->add_render_attribute( '_wrapper', 'data-fold-text', $settings['widget_fold_button_text'] );
1299
- $widget->add_render_attribute( '_wrapper', 'data-unfold-text', $settings['widget_unfold_button_text'] );
1300
- $widget->add_render_attribute('_wrapper' , 'data-fold-height' , json_encode($max_fold_height, JSON_NUMERIC_CHECK));
1301
- $widget->add_render_attribute( '_wrapper', 'data-animation-speed', $settings['widget_unfold_animation_speed']['size'] );
1302
- $widget->add_render_attribute( '_wrapper', 'data-icon-pos', $settings['widget_unfold_button_icon_position'] );
1303
- $widget->add_render_attribute( '_wrapper', 'data-hover-animation', $settings['widget_button_hover_animation'] );
1304
- $widget->add_render_attribute( 'unfold_link', 'class', 'eae-unfold-link' );
1305
- $widget->add_render_attribute( 'unfold_link', 'href', '#' );
1306
- $unfold_button_icon_type = isset($settings['widget_icon_unfold']['value']['url']) ? 'svg' : 'icon';
1307
- $widget->add_render_attribute( '_wrapper', 'data-unfold-icon-type', $unfold_button_icon_type);
1308
- if($unfold_button_icon_type == 'svg'){
1309
- $widget->add_render_attribute( '_wrapper', 'data-unfold-icon', $settings['widget_icon_unfold']['value']['url'] );
1310
- ob_start();
1311
- Icons_Manager::render_icon($settings['widget_icon_unfold']);
1312
- $icon_html = ob_get_contents();
1313
- ob_end_clean();
1314
- }else{
1315
- $widget->add_render_attribute( '_wrapper', 'data-unfold-icon', $settings['widget_icon_unfold']['value'] );
1316
- ob_start();
1317
- Icons_Manager::render_icon($settings['widget_icon_unfold']);
1318
- $icon_html = ob_get_contents();
1319
- ob_end_clean();
1320
-
1321
- }
1322
- $fold_button_icon_type = isset($settings['widget_icon_fold']['value']['url']) ? 'svg' : 'icon';
1323
- $widget->add_render_attribute( '_wrapper', 'data-fold-icon-type', $fold_button_icon_type);
1324
- if($fold_button_icon_type == 'svg'){
1325
- $widget->add_render_attribute( '_wrapper', 'data-fold-icon', $settings['widget_icon_fold']['value']['url'] );
1326
- }else{
1327
- $widget->add_render_attribute( '_wrapper', 'data-fold-icon', $settings['widget_icon_fold']['value'] );
1328
- }
1329
-
1330
- $button_str = "<div ". $widget->get_render_attribute_string( '_wrapper' ).">";
1331
- $button_str .= "<a ".$widget->get_render_attribute_string( 'unfold_link' ).">";
1332
- if($settings['widget_unfold_button_icon_position'] == 'before'){
1333
- $button_str .= "<span class='eae-unfold-button-icon eae-unfold-align-icon-".$settings['widget_unfold_button_icon_position']."'>";
1334
- $button_str .= $icon_html;
1335
- $button_str .= "</span>";
1336
- }
1337
- $button_str .= "<span class='eae-unfold-button-text'>".$settings['widget_unfold_button_text']."</span>";
1338
- if($settings['widget_unfold_button_icon_position'] == 'after'){
1339
- $button_str .= "<span class='eae-unfold-button-icon eae-unfold-align-icon-".$settings['widget_unfold_button_icon_position']."'>";
1340
- $button_str .= $icon_html;
1341
- $button_str .= "</span>";
1342
- }
1343
- $button_str .= "</div>";
1344
- $button_str .= "</a>";
1345
- $content = $content . $button_str;
1346
- }
1347
- return $content;
1348
- }
1349
-
1350
- function _print_template($template,$widget){
1351
- if ( $widget->get_name() != 'section' && $widget->get_name() != 'column' ) {
1352
- return $template;
1353
- }
1354
-
1355
- $old_template = $template;
1356
- ob_start();
1357
- if($widget->get_name() == 'section'){ ?>
1358
- <# if(settings.sc_enable_unfold == 'yes'){
1359
- view.addRenderAttribute('wrapper', 'data-unfold-position', settings.unfold_position);
1360
- } #>
1361
- <?php }
1362
- ?>
1363
- <# if(settings.sc_enable_unfold == 'yes'){
1364
- unfold_icon_settings = settings.sc_icon_unfold;
1365
- max_fold_height = {
1366
- 'desktop' : settings.sc_fold_max_height.size,
1367
- 'tablet' : settings.sc_fold_max_height_tablet.size,
1368
- 'mobile' : settings.sc_fold_max_height_mobile.size,
1369
- };
1370
-
1371
- fold_icon_settings = settings.sc_icon_fold;
1372
- view.addRenderAttribute('wrapper', 'class', ['eae-unfold-setting-data', 'eae-fold']);
1373
- view.addRenderAttribute('wrapper', 'data-unfold-text', settings.sc_unfold_button_text);
1374
- view.addRenderAttribute('wrapper', 'data-fold-text', settings.sc_fold_button_text);
1375
- view.addRenderAttribute('wrapper', 'data-unfold-animation-speed', settings.sc_unfold_animation_speed.size);
1376
- view.addRenderAttribute('wrapper', 'data-fold-height', JSON.stringify(max_fold_height));
1377
- view.addRenderAttribute('wrapper', 'data-hover-animation', settings.sc_button_hover_animation);
1378
- view.addRenderAttribute('wrapper', 'data-icon-pos', settings.sc_unfold_button_icon_position);
1379
- if(unfold_icon_settings.value.hasOwnProperty('url')){
1380
- view.addRenderAttribute('wrapper', 'data-unfold-icon-type', 'svg');
1381
- view.addRenderAttribute('wrapper', 'data-unfold-icon', settings.sc_icon_unfold.value.url);
1382
- }else{
1383
- view.addRenderAttribute('wrapper', 'data-unfold-icon-type', 'icon');
1384
- view.addRenderAttribute('wrapper', 'data-unfold-icon', settings.sc_icon_unfold.value);
1385
- }
1386
- if(fold_icon_settings.value.hasOwnProperty('url')){
1387
- view.addRenderAttribute('wrapper', 'data-fold-icon-type', 'svg');
1388
- view.addRenderAttribute('wrapper', 'data-fold-icon', settings.sc_icon_fold.value.url);
1389
- }else{
1390
- view.addRenderAttribute('wrapper', 'data-fold-icon-type', 'icon');
1391
- view.addRenderAttribute('wrapper', 'data-fold-icon', settings.sc_icon_fold.value);
1392
- }
1393
- #>
1394
- <div {{{ view.getRenderAttributeString( 'wrapper' ) }}} ></div>
1395
- <# } #>
1396
- <?php
1397
- $slider_content = ob_get_contents();
1398
- ob_end_clean();
1399
- $template = $slider_content . $old_template;
1400
- return $template;
1401
- }
1402
- function _content_template($template,$widget){
1403
- if(empty($template)){
1404
- return $template;
1405
- }
1406
- $old_template = $template;
1407
- ob_start();
1408
- ?>
1409
- <# if(settings.widget_enable_unfold == 'yes'){
1410
- unfold_icon_settings = settings.widget_icon_unfold;
1411
- fold_icon_settings = settings.widget_icon_fold;
1412
- max_fold_height = {
1413
- 'desktop' : settings.widget_fold_max_height.size,
1414
- 'tablet' : settings.widget_fold_max_height_tablet.size,
1415
- 'mobile' : settings.widget_fold_max_height_mobile.size,
1416
- };
1417
- view.addRenderAttribute('wrapper', 'class', ['eae-unfold-setting-data', 'eae-fold']);
1418
- view.addRenderAttribute('wrapper', 'data-unfold-text', settings.widget_unfold_button_text);
1419
- view.addRenderAttribute('wrapper', 'data-fold-text', settings.widget_fold_button_text);
1420
- view.addRenderAttribute('wrapper', 'data-unfold-animation-speed', settings.widget_unfold_animation_speed.size);
1421
- view.addRenderAttribute('wrapper', 'data-hover-animation', settings.widget_button_hover_animation);
1422
- view.addRenderAttribute('wrapper', 'data-fold-height', JSON.stringify(max_fold_height));
1423
- view.addRenderAttribute('wrapper', 'data-icon-pos', settings.widget_unfold_button_icon_position);
1424
- if(unfold_icon_settings.value.hasOwnProperty('url')){
1425
- view.addRenderAttribute('wrapper', 'data-unfold-icon-type', 'svg');
1426
- view.addRenderAttribute('wrapper', 'data-unfold-icon', settings.widget_icon_unfold.value.url);
1427
- }else{
1428
- view.addRenderAttribute('wrapper', 'data-unfold-icon-type', 'icon');
1429
- view.addRenderAttribute('wrapper', 'data-unfold-icon', settings.widget_icon_unfold.value);
1430
- }
1431
- if(fold_icon_settings.value.hasOwnProperty('url')){
1432
- view.addRenderAttribute('wrapper', 'data-fold-icon-type', 'svg');
1433
- view.addRenderAttribute('wrapper', 'data-fold-icon', settings.widget_icon_fold.value.url);
1434
- }else{
1435
- view.addRenderAttribute('wrapper', 'data-fold-icon-type', 'icon');
1436
- view.addRenderAttribute('wrapper', 'data-fold-icon', settings.widget_icon_fold.value);
1437
- }
1438
- #>
1439
- <div {{{ view.getRenderAttributeString( 'wrapper' ) }}} ></div>
1440
- <# } #>
1441
- <?php
1442
- $slider_content = ob_get_contents();
1443
- ob_end_clean();
1444
- $template = $slider_content . $old_template;
1445
- return $template;
1446
- }
1447
-
1448
-
1449
-
1450
- public static function instance() {
1451
- if ( is_null( self::$_instance ) ) {
1452
- self::$_instance = new self();
1453
- }
1454
- return self::$_instance;
1455
- }
1456
- }
1457
- //AnimatedGradientBackground::instance();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -72,6 +72,13 @@ Column gap => No gap
72
 
73
  == Changelog ==
74
 
 
 
 
 
 
 
 
75
  = 1.7.0 =
76
  * Fixed compatibility with Elementor 3.0
77
 
72
 
73
  == Changelog ==
74
 
75
+ = 1.7.1 =
76
+ * Fixed tablet mode compatibility in Comparison Table
77
+ * Fixed css issues in few widgets
78
+ * Fixed missing wpml strings
79
+ * Fixed issue in Particles opverlapping content
80
+ * Added option to manage All tab text in Filterable Gallery
81
+
82
  = 1.7.0 =
83
  * Fixed compatibility with Elementor 3.0
84
 
wpml/wpml-compatibility.php CHANGED
@@ -21,28 +21,28 @@ class WPML_Compatibility {
21
 
22
  public function wpml_widgets($widgets){
23
 
24
- $widgets = $this->split_text($widgets);
25
- $widgets = $this->flip_box($widgets);
26
- $widgets = $this->dual_button($widgets);
27
- $widgets = $this->image_compare($widgets);
28
- $widgets = $this->modal_popup($widgets);
29
- $widgets = $this->progress_bar($widgets);
30
- $widgets = $this->text_separator($widgets);
31
- $widgets = $this->twitter($widgets);
32
- $widgets = $this->post_list($widgets);
33
- $widgets = $this->animated_text($widgets);
34
- $widgets = $this->gmap($widgets);
35
- $widgets = $this->filterable_gallery($widgets);
36
- $widgets = $this->price_table($widgets);
37
- $widgets = $this->timeline($widgets);
38
- $widgets = $this->info_circle($widgets);
39
- $widgets = $this->comparison_table($widgets);
40
 
41
 
42
  return $widgets;
43
  }
44
 
45
- private function split_text($widgets){
46
 
47
  $widgets[ 'wts-splittext' ] = [
48
  'conditions' => ['widgetType' => 'wts-splittext'],
@@ -53,46 +53,216 @@ class WPML_Compatibility {
53
  'editor_type' => 'LINE'
54
  ],
55
  ]
56
- ];
57
-
58
-
59
 
60
  return $widgets;
61
 
62
- }
63
-
64
  private function flip_box($widgets){
65
 
66
-
67
-
68
- $widgets[ 'wts-flipbox' ] = [
69
  'conditions' => ['widgetType' => 'wts-flipbox'],
70
  'fields' => [
71
  [
72
  'field' => 'front_title',
73
- 'type' => __('', 'wts-eae'),
74
  'editor_type' => 'LINE'
75
- ],
76
- [
77
  'field' => 'front-text',
78
- 'type' => __('Front Text', 'wts-eae'),
79
  'editor_type' => 'AREA'
80
- ],
81
- [
82
  'field' => 'back_title',
83
- 'type' => __('', 'wts-eae'),
84
  'editor_type' => 'LINE'
85
- ],
86
- [
87
  'field' => 'back_text',
88
- 'type' => __('Back Text', 'wts-eae'),
89
  'editor_type' => 'AREA'
90
- ],
91
- [
92
  'field' => 'action_text',
93
- 'type' => __('', 'wts-eae'),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  'editor_type' => 'LINE'
95
  ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  ]
97
  ];
98
 
@@ -100,325 +270,155 @@ class WPML_Compatibility {
100
 
101
  }
102
 
103
- private function dual_button($widgets){
104
-
105
- $widgets[ 'eae-dual-button' ] = [
106
- 'conditions' => ['widgetType' => 'eae-dual-button'],
107
- 'fields' => [
108
- [
109
- 'field' => 'button1_text',
110
- 'type' => __('', 'wts-eae'),
111
- 'editor_type' => 'LINE'
112
- ],
113
- [
114
- 'field' => 'button2_text',
115
- 'type' => __('', 'wts-eae'),
116
- 'editor_type' => 'LINE'
117
- ],
118
- [
119
- 'field' => 'separator_text',
120
- 'type' => __('', 'wts-eae'),
121
- 'editor_type' => 'LINE'
122
- ],
123
- ]
124
- ];
125
-
126
- return $widgets;
127
-
128
- }
129
-
130
- private function image_compare($widgets){
131
-
132
- $widgets[ 'wts-ab-image' ] = [
133
- 'conditions' => ['widgetType' => 'wts-ab-image'],
134
- 'fields' => [
135
- [
136
- 'field' => 'text_before',
137
- 'type' => __('', 'wts-eae'),
138
- 'editor_type' => 'LINE'
139
- ],
140
- [
141
- 'field' => 'text_after',
142
- 'type' => __('', 'wts-eae'),
143
- 'editor_type' => 'LINE'
144
- ],
145
- ]
146
- ];
147
-
148
- return $widgets;
149
-
150
- }
151
-
152
- private function modal_popup($widgets){
153
-
154
- $widgets[ 'wts-modal-popup' ] = [
155
- 'conditions' => ['widgetType' => 'wts-modal-popup'],
156
- 'fields' => [
157
- [
158
- 'field' => 'modal_title',
159
- 'type' => __('', 'wts-eae'),
160
- 'editor_type' => 'LINE'
161
- ],
162
- [
163
- 'field' => 'modal_content',
164
- 'type' => __('', 'wts-eae'),
165
- 'editor_type' => 'AREA'
166
- ],
167
- [
168
- 'field' => 'button_text',
169
- 'type' => __('', 'wts-eae'),
170
- 'editor_type' => 'LINE'
171
- ],
172
- ]
173
- ];
174
-
175
- return $widgets;
176
-
177
- }
178
-
179
- private function progress_bar($widgets){
180
-
181
- $widgets[ 'eae-progress-bar' ] = [
182
- 'conditions' => ['widgetType' => 'eae-progress-bar'],
183
- 'fields' => [
184
- [
185
- 'field' => 'progress_title',
186
- 'type' => __('', 'wts-eae'),
187
- 'editor_type' => 'LINE'
188
- ],
189
-
190
- ]
191
- ];
192
-
193
- return $widgets;
194
-
195
- }
196
-
197
- private function text_separator($widgets){
198
-
199
- $widgets[ 'wts-textseparator' ] = [
200
- 'conditions' => ['widgetType' => 'wts-textseparator'],
201
- 'fields' => [
202
- [
203
- 'field' => 'title',
204
- 'type' => __('', 'wts-eae'),
205
- 'editor_type' => 'AREA'
206
- ],
207
-
208
- ]
209
- ];
210
-
211
- return $widgets;
212
-
213
- }
214
-
215
- private function twitter($widgets){
216
-
217
- $widgets[ 'wts-twitter' ] = [
218
- 'conditions' => ['widgetType' => 'wts-twitter'],
219
- 'fields' => [
220
- [
221
- 'field' => 'username',
222
- 'type' => __('', 'wts-eae'),
223
- 'editor_type' => 'LINE'
224
- ],
225
- [
226
- 'field' => 'hashtag',
227
- 'type' => __('', 'wts-eae'),
228
- 'editor_type' => 'LINE'
229
- ],
230
- [
231
- 'field' => 'dm_username',
232
- 'type' => __('', 'wts-eae'),
233
- 'editor_type' => 'LINE'
234
- ],
235
- [
236
- 'field' => 'dm_prefill_text',
237
- 'type' => __('', 'wts-eae'),
238
- 'editor_type' => 'AREA'
239
- ],
240
- [
241
- 'field' => 'share_username',
242
- 'type' => __('', 'wts-eae'),
243
- 'editor_type' => 'LINE'
244
- ],
245
- [
246
- 'field' => 'share_prefill_text',
247
- 'type' => __('', 'wts-eae'),
248
- 'editor_type' => 'AREA'
249
- ],
250
- [
251
- 'field' => 'share_hashtags',
252
- 'type' => __('', 'wts-eae'),
253
- 'editor_type' => 'AREA'
254
- ],
255
- [
256
- 'field' => 'prefill_text',
257
- 'type' => __('', 'wts-eae'),
258
- 'editor_type' => 'AREA'
259
- ],
260
- [
261
- 'field' => 'prefill_custom',
262
- 'type' => __('', 'wts-eae'),
263
- 'editor_type' => 'AREA'
264
- ],
265
-
266
- ]
267
- ];
268
-
269
- return $widgets;
270
-
271
- }
272
-
273
- private function post_list($widgets){
274
-
275
- $widgets[ 'wts-postlist' ] = [
276
- 'conditions' => ['widgetType' => 'wts-postlist'],
277
- 'fields' => [
278
- [
279
- 'field' => 'read_more_text',
280
- 'type' => __('', 'wts-eae'),
281
- 'editor_type' => 'LINE'
282
- ],
283
-
284
- ]
285
- ];
286
-
287
- return $widgets;
288
-
289
- }
290
-
291
- private function animated_text($widgets){
292
-
293
- $widgets[ 'wts-AnimatedText'] = [
294
-
295
- 'conditions' => [ 'widgetType' => 'wts-AnimatedText' ],
296
- 'fields' => [
297
- [
298
- 'field' => 'pre-text',
299
- 'type' => __('Animated Text: Pre Text', 'wts-eae'),
300
- 'editor_type' => 'AREA'
301
- ],
302
- [
303
- 'field' => 'post-text',
304
- 'type' => __('Animated Text: Post Text', 'wts-eae'),
305
- 'editor_type' => 'AREA'
306
- ],
307
- ],
308
- 'integration-class' => '\WTS_EAE\WPML_EAE_Animated_Text'
309
- ];
310
-
311
- return $widgets;
312
- }
313
-
314
- private function gmap($widgets){
315
-
316
- $widgets[ 'wts-gmap'] = [
317
-
318
- 'conditions' => [ 'widgetType' => 'wts-gmap' ],
319
- 'fields' => [],
320
- 'integration-class' => '\WTS_EAE\WPML_EAE_Gmap'
321
- ];
322
-
323
- return $widgets;
324
- }
325
-
326
- private function filterable_gallery($widgets){
327
-
328
- $widgets[ 'eae-filterableGallery'] = [
329
-
330
- 'conditions' => [ 'widgetType' => 'eae-filterableGallery' ],
331
- 'fields' => [],
332
- 'integration-class' => '\WTS_EAE\WPML_EAE_Filterable_Gallery'
333
- ];
334
-
335
- return $widgets;
336
- }
337
-
338
- private function price_table($widgets){
339
-
340
- $widgets[ 'wts-pricetable'] = [
341
-
342
- 'conditions' => [ 'widgetType' => 'wts-pricetable' ],
343
- 'fields' => [
344
- [
345
- 'field' => 'heading',
346
- 'type' => __('Price Table: Plan Heading', 'wts-eae'),
347
- 'editor_type' => 'LINE'
348
- ],
349
- [
350
- 'field' => 'sub-heading',
351
- 'type' => __('Price Table: Plan Sub Heading', 'wts-eae'),
352
- 'editor_type' => 'LINE'
353
- ],
354
- [
355
- 'field' => 'price-box-text',
356
- 'type' => __('Price Table: Price Box Text', 'wts-eae'),
357
- 'editor_type' => 'LINE'
358
- ],
359
- [
360
- 'field' => 'price-box-subtext',
361
- 'type' => __('Price Table: Price Box SubText', 'wts-eae'),
362
- 'editor_type' => 'LINE'
363
- ],
364
- [
365
- 'field' => 'action_text',
366
- 'type' => __('Price Table: Button Text', 'wts-eae'),
367
- 'editor_type' => 'LINE'
368
- ],
369
- ],
370
- 'integration-class' => '\WTS_EAE\WPML_EAE_Price_Table'
371
- ];
372
-
373
- return $widgets;
374
- }
375
-
376
- private function timeline($widgets){
377
-
378
- $widgets[ 'eae-timeline'] = [
379
-
380
- 'conditions' => [ 'widgetType' => 'eae-timeline' ],
381
- 'fields' => [],
382
- 'integration-class' => '\WTS_EAE\WPML_EAE_Timeline'
383
- ];
384
-
385
- return $widgets;
386
- }
387
-
388
- private function info_circle($widgets){
389
-
390
- $widgets[ 'eae-info-circle'] = [
391
-
392
- 'conditions' => [ 'widgetType' => 'eae-info-circle' ],
393
- 'fields' => [],
394
- 'integration-class' => '\WTS_EAE\WPML_EAE_Info_Circle'
395
- ];
396
-
397
- return $widgets;
398
- }
399
-
400
- private function comparison_table($widgets){
401
-
402
- $widgets[ 'eae-comparisontable'] = [
403
-
404
- 'conditions' => [ 'widgetType' => 'eae-comparisontable' ],
405
- 'fields' => [
406
- [
407
- 'field' => 'feature_box_heading',
408
- 'type' => __('Comparison Table: Feature Box Heading', 'wts-eae'),
409
- 'editor_type' => 'LINE'
410
- ],
411
- [
412
- 'field' => 'button_heading_text',
413
- 'type' => __('Comparison Table: Button Heading', 'wts-eae'),
414
- 'editor_type' => 'LINE'
415
- ],
416
- ],
417
- 'integration-class' => '\WTS_EAE\WPML_EAE_Comparison_Table'
418
- ];
419
-
420
- return $widgets;
421
- }
422
 
423
 
424
 
21
 
22
  public function wpml_widgets($widgets){
23
 
24
+ $widgets = $this->split_text($widgets);
25
+ $widgets = $this->flip_box($widgets);
26
+ $widgets = $this->dual_button($widgets);
27
+ $widgets = $this->image_compare($widgets);
28
+ $widgets = $this->modal_popup($widgets);
29
+ $widgets = $this->progress_bar($widgets);
30
+ $widgets = $this->text_separator($widgets);
31
+ $widgets = $this->twitter($widgets);
32
+ $widgets = $this->post_list($widgets);
33
+ $widgets = $this->animated_text($widgets);
34
+ $widgets = $this->gmap($widgets);
35
+ $widgets = $this->filterable_gallery($widgets);
36
+ $widgets = $this->price_table($widgets);
37
+ $widgets = $this->timeline($widgets);
38
+ $widgets = $this->info_circle($widgets);
39
+ $widgets = $this->comparison_table($widgets);
40
 
41
 
42
  return $widgets;
43
  }
44
 
45
+ private function split_text($widgets){
46
 
47
  $widgets[ 'wts-splittext' ] = [
48
  'conditions' => ['widgetType' => 'wts-splittext'],
53
  'editor_type' => 'LINE'
54
  ],
55
  ]
56
+ ];
57
+
58
+
59
 
60
  return $widgets;
61
 
62
+ }
63
+
64
  private function flip_box($widgets){
65
 
66
+
67
+
68
+ $widgets[ 'wts-flipbox' ] = [
69
  'conditions' => ['widgetType' => 'wts-flipbox'],
70
  'fields' => [
71
  [
72
  'field' => 'front_title',
73
+ 'type' => __('Flip Box: Front Title', 'wts-eae'),
74
  'editor_type' => 'LINE'
75
+ ],
76
+ [
77
  'field' => 'front-text',
78
+ 'type' => __('Flip Box: Front Text', 'wts-eae'),
79
  'editor_type' => 'AREA'
80
+ ],
81
+ [
82
  'field' => 'back_title',
83
+ 'type' => __('Flip Box: Back Title', 'wts-eae'),
84
  'editor_type' => 'LINE'
85
+ ],
86
+ [
87
  'field' => 'back_text',
88
+ 'type' => __('Flip Box: Back Text', 'wts-eae'),
89
  'editor_type' => 'AREA'
90
+ ],
91
+ [
92
  'field' => 'action_text',
93
+ 'type' => __('Flip Box: Button Text', 'wts-eae'),
94
+ 'editor_type' => 'LINE'
95
+ ],
96
+ ]
97
+ ];
98
+
99
+ return $widgets;
100
+
101
+ }
102
+
103
+ private function dual_button($widgets){
104
+
105
+ $widgets[ 'eae-dual-button' ] = [
106
+ 'conditions' => ['widgetType' => 'eae-dual-button'],
107
+ 'fields' => [
108
+ [
109
+ 'field' => 'button1_text',
110
+ 'type' => __('Dual Button: Button 1 Text', 'wts-eae'),
111
+ 'editor_type' => 'LINE'
112
+ ],
113
+ [
114
+ 'field' => 'button2_text',
115
+ 'type' => __('Dual Button: Button 2 Text', 'wts-eae'),
116
+ 'editor_type' => 'LINE'
117
+ ],
118
+ [
119
+ 'field' => 'separator_text',
120
+ 'type' => __('Dual Button: Separator Text', 'wts-eae'),
121
+ 'editor_type' => 'LINE'
122
+ ],
123
+ ]
124
+ ];
125
+
126
+ return $widgets;
127
+
128
+ }
129
+
130
+ private function image_compare($widgets){
131
+
132
+ $widgets[ 'wts-ab-image' ] = [
133
+ 'conditions' => ['widgetType' => 'wts-ab-image'],
134
+ 'fields' => [
135
+ [
136
+ 'field' => 'text_before',
137
+ 'type' => __('Image Compare: Before Text', 'wts-eae'),
138
+ 'editor_type' => 'LINE'
139
+ ],
140
+ [
141
+ 'field' => 'text_after',
142
+ 'type' => __('Image Compare: After Text', 'wts-eae'),
143
+ 'editor_type' => 'LINE'
144
+ ],
145
+ ]
146
+ ];
147
+
148
+ return $widgets;
149
+
150
+ }
151
+
152
+ private function modal_popup($widgets){
153
+
154
+ $widgets[ 'wts-modal-popup' ] = [
155
+ 'conditions' => ['widgetType' => 'wts-modal-popup'],
156
+ 'fields' => [
157
+ [
158
+ 'field' => 'modal_title',
159
+ 'type' => __('Modal Popup: Title', 'wts-eae'),
160
+ 'editor_type' => 'LINE'
161
+ ],
162
+ [
163
+ 'field' => 'modal_content',
164
+ 'type' => __('Modal Popup: Text', 'wts-eae'),
165
+ 'editor_type' => 'AREA'
166
+ ],
167
+ [
168
+ 'field' => 'button_text',
169
+ 'type' => __('Modal Popup: Button Text', 'wts-eae'),
170
+ 'editor_type' => 'LINE'
171
+ ],
172
+ ]
173
+ ];
174
+
175
+ return $widgets;
176
+
177
+ }
178
+
179
+ private function progress_bar($widgets){
180
+
181
+ $widgets[ 'eae-progress-bar' ] = [
182
+ 'conditions' => ['widgetType' => 'eae-progress-bar'],
183
+ 'fields' => [
184
+ [
185
+ 'field' => 'progress_title',
186
+ 'type' => __('Progress Bar: Title', 'wts-eae'),
187
+ 'editor_type' => 'LINE'
188
+ ],
189
+
190
+ ]
191
+ ];
192
+
193
+ return $widgets;
194
+
195
+ }
196
+
197
+ private function text_separator($widgets){
198
+
199
+ $widgets[ 'wts-textseparator' ] = [
200
+ 'conditions' => ['widgetType' => 'wts-textseparator'],
201
+ 'fields' => [
202
+ [
203
+ 'field' => 'title',
204
+ 'type' => __('Text Separator: Title', 'wts-eae'),
205
+ 'editor_type' => 'AREA'
206
+ ],
207
+
208
+ ]
209
+ ];
210
+
211
+ return $widgets;
212
+
213
+ }
214
+
215
+ private function twitter($widgets){
216
+
217
+ $widgets[ 'wts-twitter' ] = [
218
+ 'conditions' => ['widgetType' => 'wts-twitter'],
219
+ 'fields' => [
220
+ [
221
+ 'field' => 'username',
222
+ 'type' => __('Twitter: Username', 'wts-eae'),
223
+ 'editor_type' => 'LINE'
224
+ ],
225
+ [
226
+ 'field' => 'hashtag',
227
+ 'type' => __('Twitter: Hashtag', 'wts-eae'),
228
+ 'editor_type' => 'LINE'
229
+ ],
230
+ [
231
+ 'field' => 'dm_username',
232
+ 'type' => __('Twitter: Username', 'wts-eae'),
233
+ 'editor_type' => 'LINE'
234
+ ],
235
+ [
236
+ 'field' => 'dm_prefill_text',
237
+ 'type' => __('Twitter: Prefill Text', 'wts-eae'),
238
+ 'editor_type' => 'AREA'
239
+ ],
240
+ [
241
+ 'field' => 'share_username',
242
+ 'type' => __('Twitter: Share Username', 'wts-eae'),
243
  'editor_type' => 'LINE'
244
  ],
245
+ [
246
+ 'field' => 'share_prefill_text',
247
+ 'type' => __('Twitter: Share Prefill Text', 'wts-eae'),
248
+ 'editor_type' => 'AREA'
249
+ ],
250
+ [
251
+ 'field' => 'share_hashtags',
252
+ 'type' => __('Twitter: Share Hashtag Text', 'wts-eae'),
253
+ 'editor_type' => 'AREA'
254
+ ],
255
+ [
256
+ 'field' => 'prefill_text',
257
+ 'type' => __('Twitter: Prefill Text', 'wts-eae'),
258
+ 'editor_type' => 'AREA'
259
+ ],
260
+ [
261
+ 'field' => 'prefill_custom',
262
+ 'type' => __('Twitter: Prefill Custom Text', 'wts-eae'),
263
+ 'editor_type' => 'AREA'
264
+ ],
265
+
266
  ]
267
  ];
268
 
270
 
271
  }
272
 
273
+ private function post_list($widgets){
274
+
275
+ $widgets[ 'wts-postlist' ] = [
276
+ 'conditions' => ['widgetType' => 'wts-postlist'],
277
+ 'fields' => [
278
+ [
279
+ 'field' => 'read_more_text',
280
+ 'type' => __('Post List: Read More Text', 'wts-eae'),
281
+ 'editor_type' => 'LINE'
282
+ ],
283
+
284
+ ]
285
+ ];
286
+
287
+ return $widgets;
288
+
289
+ }
290
+
291
+ private function animated_text($widgets){
292
+
293
+ $widgets[ 'wts-AnimatedText'] = [
294
+
295
+ 'conditions' => [ 'widgetType' => 'wts-AnimatedText' ],
296
+ 'fields' => [
297
+ [
298
+ 'field' => 'pre-text',
299
+ 'type' => __('Animated Text: Pre Text', 'wts-eae'),
300
+ 'editor_type' => 'AREA'
301
+ ],
302
+ [
303
+ 'field' => 'post-text',
304
+ 'type' => __('Animated Text: Post Text', 'wts-eae'),
305
+ 'editor_type' => 'AREA'
306
+ ],
307
+ ],
308
+ 'integration-class' => '\WTS_EAE\WPML_EAE_Animated_Text'
309
+ ];
310
+
311
+ return $widgets;
312
+ }
313
+
314
+ private function gmap($widgets){
315
+
316
+ $widgets[ 'wts-gmap'] = [
317
+
318
+ 'conditions' => [ 'widgetType' => 'wts-gmap' ],
319
+ 'fields' => [],
320
+ 'integration-class' => '\WTS_EAE\WPML_EAE_Gmap'
321
+ ];
322
+
323
+ return $widgets;
324
+ }
325
+
326
+ private function filterable_gallery($widgets){
327
+
328
+ $widgets[ 'eae-filterableGallery'] = [
329
+
330
+ 'conditions' => [ 'widgetType' => 'eae-filterableGallery' ],
331
+ 'fields' => [],
332
+ 'integration-class' => '\WTS_EAE\WPML_EAE_Filterable_Gallery'
333
+ ];
334
+
335
+ return $widgets;
336
+ }
337
+
338
+ private function price_table($widgets){
339
+
340
+ $widgets[ 'wts-pricetable'] = [
341
+
342
+ 'conditions' => [ 'widgetType' => 'wts-pricetable' ],
343
+ 'fields' => [
344
+ [
345
+ 'field' => 'heading',
346
+ 'type' => __('Price Table: Plan Heading', 'wts-eae'),
347
+ 'editor_type' => 'LINE'
348
+ ],
349
+ [
350
+ 'field' => 'sub-heading',
351
+ 'type' => __('Price Table: Plan Sub Heading', 'wts-eae'),
352
+ 'editor_type' => 'LINE'
353
+ ],
354
+ [
355
+ 'field' => 'price-box-text',
356
+ 'type' => __('Price Table: Price Box Text', 'wts-eae'),
357
+ 'editor_type' => 'LINE'
358
+ ],
359
+ [
360
+ 'field' => 'price-box-subtext',
361
+ 'type' => __('Price Table: Price Box SubText', 'wts-eae'),
362
+ 'editor_type' => 'LINE'
363
+ ],
364
+ [
365
+ 'field' => 'action_text',
366
+ 'type' => __('Price Table: Button Text', 'wts-eae'),
367
+ 'editor_type' => 'LINE'
368
+ ],
369
+ ],
370
+ 'integration-class' => '\WTS_EAE\WPML_EAE_Price_Table'
371
+ ];
372
+
373
+ return $widgets;
374
+ }
375
+
376
+ private function timeline($widgets){
377
+
378
+ $widgets[ 'eae-timeline'] = [
379
+
380
+ 'conditions' => [ 'widgetType' => 'eae-timeline' ],
381
+ 'fields' => [],
382
+ 'integration-class' => '\WTS_EAE\WPML_EAE_Timeline'
383
+ ];
384
+
385
+ return $widgets;
386
+ }
387
+
388
+ private function info_circle($widgets){
389
+
390
+ $widgets[ 'eae-info-circle'] = [
391
+
392
+ 'conditions' => [ 'widgetType' => 'eae-info-circle' ],
393
+ 'fields' => [],
394
+ 'integration-class' => '\WTS_EAE\WPML_EAE_Info_Circle'
395
+ ];
396
+
397
+ return $widgets;
398
+ }
399
+
400
+ private function comparison_table($widgets){
401
+
402
+ $widgets[ 'eae-comparisontable'] = [
403
+
404
+ 'conditions' => [ 'widgetType' => 'eae-comparisontable' ],
405
+ 'fields' => [
406
+ [
407
+ 'field' => 'feature_box_heading',
408
+ 'type' => __('Comparison Table: Feature Box Heading', 'wts-eae'),
409
+ 'editor_type' => 'LINE'
410
+ ],
411
+ [
412
+ 'field' => 'button_heading_text',
413
+ 'type' => __('Comparison Table: Button Heading', 'wts-eae'),
414
+ 'editor_type' => 'LINE'
415
+ ],
416
+ ],
417
+ 'integration-class' => '\WTS_EAE\WPML_EAE_Comparison_Table'
418
+ ];
419
+
420
+ return $widgets;
421
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
422
 
423
 
424