Shortcodes and extra features for Phlox theme - Version 2.5.17

Version Description

Download this release

Release Info

Developer averta
Plugin Icon 128x128 Shortcodes and extra features for Phlox theme
Version 2.5.17
Comparing to
See all releases

Code changes from version 2.5.16 to 2.5.17

README.txt CHANGED
@@ -7,7 +7,7 @@ Tags: phlox, gallery, elementor, siteorigin, auxin, averta, auxin-elements, fram
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
  Tested up to: 5.4.0
10
- Stable tag: 2.5.16
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
  Tested up to: 5.4.0
10
+ Stable tag: 2.5.17
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
admin/assets/images/welcome/envato_elements.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="308.737" height="33.03" viewBox="0 0 308.737 33.03"><defs><style>.a{fill:#81b441;}</style></defs><g transform="translate(-8076 -1517)"><path class="a" d="M19.829,8.521c-.79-.431-3.016-.144-5.673.646-4.667,3.159-8.617,7.9-8.9,15.438-.072.215-.5,0-.574-.072a10.509,10.509,0,0,1-.718-8.617c.215-.359-.431-.718-.574-.646a14.752,14.752,0,0,0-1.867,2.37,11.508,11.508,0,1,0,20.105,11.2c3.59-6.462.287-19.172-1.8-20.321Z" transform="translate(8075.964 1514.654)"/><path d="M50.745,10.432c-6.606,0-11.345,4.883-11.345,11.632,0,6.821,4.739,11.561,11.561,11.561a10.981,10.981,0,0,0,8.329-3.3,2.47,2.47,0,0,0,.718-1.652A1.83,1.83,0,0,0,58.069,26.8a2.144,2.144,0,0,0-1.58.718,7.631,7.631,0,0,1-5.529,2.3A6.87,6.87,0,0,1,44,23.428H58.859a2.073,2.073,0,0,0,2.37-2.3,11.172,11.172,0,0,0-.072-1.436c-.718-5.816-4.667-9.263-10.412-9.263Zm0,3.662c3.59,0,5.888,2.3,5.96,5.96H44A6.708,6.708,0,0,1,50.745,14.094Zm24.773-3.662a8.063,8.063,0,0,0-7.109,4.093V13.017a2.164,2.164,0,1,0-4.308,0V30.824a2.223,2.223,0,0,0,2.226,2.513,2.266,2.266,0,0,0,2.3-2.513v-9.55c0-4.165,2.37-7.037,5.744-7.037,3.231,0,4.883,2.154,4.883,6.534V30.824a2.236,2.236,0,0,0,2.3,2.513,2.192,2.192,0,0,0,2.226-2.513V19.335c-.072-4.236-2.226-8.9-8.258-8.9Zm28.65.287a2.257,2.257,0,0,0-2.226,1.8L95.767,28.1,89.592,12.514a2.391,2.391,0,0,0-2.3-1.8A2.289,2.289,0,0,0,85,12.873a2.77,2.77,0,0,0,.287,1.292l7.109,16.8a3.442,3.442,0,0,0,3.231,2.441,3.384,3.384,0,0,0,3.231-2.441l7.18-16.874a3.905,3.905,0,0,0,.287-1.221A2,2,0,0,0,104.168,10.719Zm13.14-.287a12.75,12.75,0,0,0-7.611,2.3,2.23,2.23,0,0,0-1.005,1.8,1.763,1.763,0,0,0,1.723,1.8,2.147,2.147,0,0,0,1.364-.5,8.781,8.781,0,0,1,5.1-1.652c3.375,0,5.242,1.723,5.242,4.667v.5c-7.54,0-15.151.933-15.151,7.468,0,4.667,4.021,6.821,7.97,6.821a8.353,8.353,0,0,0,7.324-3.662v1.149a2.067,2.067,0,0,0,2.154,2.3,2.026,2.026,0,0,0,2.011-2.3V19.12c.072-5.457-3.3-8.688-9.119-8.688Zm3.949,12.207h.933v1.077c0,3.806-2.441,6.247-6.175,6.247-1.005,0-4.38-.215-4.38-3.3,0-3.59,5.457-4.021,9.622-4.021Zm17.018-7.827c2.011,0,2.082-1.508,2.082-1.867a1.833,1.833,0,0,0-2.082-1.867h-4.093V6.913a2.242,2.242,0,1,0-4.452,0V26.444c0,4.524,2.226,6.893,6.462,6.893a8.234,8.234,0,0,0,2.872-.5,2.073,2.073,0,0,0,1.221-1.8,1.735,1.735,0,0,0-1.8-1.8,3.7,3.7,0,0,0-.79.144,4.942,4.942,0,0,1-.933.144c-1.723,0-2.513-1.149-2.513-3.518v-11.2Zm15.007-4.38c-6.822,0-11.776,4.883-11.776,11.561a11.539,11.539,0,0,0,3.375,8.329,12.081,12.081,0,0,0,8.4,3.3,11.5,11.5,0,0,0,11.848-11.632c0-6.678-5.026-11.561-11.848-11.561Zm0,19.316c-4.667,0-7.18-3.949-7.18-7.755,0-5.314,3.734-7.755,7.18-7.755s7.18,2.441,7.18,7.755C160.391,27.306,156.729,29.747,153.283,29.747Z" transform="translate(8064.864 1515.76)"/><path class="a" d="M231.54,33.03a9.016,9.016,0,0,1-5.242-1.58,10.217,10.217,0,0,1-3.734-4.236,13.166,13.166,0,0,1-1.364-5.888v-.933a13.354,13.354,0,0,1,1.293-5.888,10.424,10.424,0,0,1,3.59-4.236,8.977,8.977,0,0,1,5.026-1.508,8.2,8.2,0,0,1,6.534,2.872,10.854,10.854,0,0,1,2.513,7.4v1.149a.644.644,0,0,1-.646.646H223.641v.5a10.363,10.363,0,0,0,1.077,4.667,8.1,8.1,0,0,0,2.872,3.3,7.114,7.114,0,0,0,3.949,1.221,8.555,8.555,0,0,0,3.518-.646,6.859,6.859,0,0,0,2.513-2.082.681.681,0,0,1,.933-.144l.79.574a.681.681,0,0,1,.144.933,9.032,9.032,0,0,1-7.9,3.877Zm-7.683-14.648h13.93a9.376,9.376,0,0,0-.862-3.447,6.768,6.768,0,0,0-2.37-2.729,5.972,5.972,0,0,0-3.375-.933,6.582,6.582,0,0,0-4.954,2.154A8.7,8.7,0,0,0,223.857,18.382ZM244.178,32.6H243.1a.643.643,0,0,1-.646-.646V.646A.643.643,0,0,1,243.1,0h1.077a.644.644,0,0,1,.646.646V32.025A.633.633,0,0,1,244.178,32.6Zm13.284.431a9.016,9.016,0,0,1-5.242-1.58,10.216,10.216,0,0,1-3.734-4.236,13.166,13.166,0,0,1-1.364-5.888v-.933a13.353,13.353,0,0,1,1.293-5.888A10.424,10.424,0,0,1,252,10.268a8.976,8.976,0,0,1,5.026-1.508,8.2,8.2,0,0,1,6.534,2.872,10.854,10.854,0,0,1,2.513,7.4v1.149a.644.644,0,0,1-.646.646H249.563v.5a10.363,10.363,0,0,0,1.077,4.667,8.1,8.1,0,0,0,2.872,3.3,7.115,7.115,0,0,0,3.949,1.221,8.794,8.794,0,0,0,3.518-.646,6.861,6.861,0,0,0,2.513-2.082.681.681,0,0,1,.933-.144l.79.574a.681.681,0,0,1,.144.933,9.031,9.031,0,0,1-7.9,3.877Zm-7.755-14.648h13.93a9.375,9.375,0,0,0-.862-3.447,6.768,6.768,0,0,0-2.37-2.729,6.135,6.135,0,0,0-3.375-.933,6.583,6.583,0,0,0-4.955,2.154A9.709,9.709,0,0,0,249.707,18.382ZM299.468,32.6h-1.077a.643.643,0,0,1-.646-.646V17.664a7.862,7.862,0,0,0-1.292-4.955,4.705,4.705,0,0,0-4.021-1.436,6.984,6.984,0,0,0-5.816,2.944,6.343,6.343,0,0,0-1.364,3.159V32.025a.644.644,0,0,1-.646.646h-1.077a.644.644,0,0,1-.646-.646V17.161a6.8,6.8,0,0,0-1.292-4.524c-.79-.933-2.226-1.364-4.093-1.364a6.255,6.255,0,0,0-5.385,2.944,9.914,9.914,0,0,0-1.723,3.877V31.953a.644.644,0,0,1-.646.646h-1.149a.644.644,0,0,1-.646-.646V9.837a.644.644,0,0,1,.646-.646h1.149a.644.644,0,0,1,.646.646v2.657a7.442,7.442,0,0,1,2.154-2.082,8.364,8.364,0,0,1,5.026-1.58,8.244,8.244,0,0,1,4.955,1.364A5.575,5.575,0,0,1,284.6,13a9.139,9.139,0,0,1,2.657-2.585A9.747,9.747,0,0,1,292.574,8.9a7.462,7.462,0,0,1,5.816,2.226c1.293,1.436,1.939,3.662,1.939,6.534V32.1A1.178,1.178,0,0,1,299.468,32.6Zm12.781.431a9.016,9.016,0,0,1-5.242-1.58,10.216,10.216,0,0,1-3.734-4.236,13.164,13.164,0,0,1-1.364-5.888v-.933A13.353,13.353,0,0,1,303.2,14.5a10.424,10.424,0,0,1,3.59-4.236,8.977,8.977,0,0,1,5.026-1.508,8.2,8.2,0,0,1,6.534,2.872,10.855,10.855,0,0,1,2.513,7.4v1.149a.644.644,0,0,1-.646.646H304.35v.5a10.364,10.364,0,0,0,1.077,4.667,8.1,8.1,0,0,0,2.872,3.3,7.114,7.114,0,0,0,3.949,1.221,8.555,8.555,0,0,0,3.518-.646,6.86,6.86,0,0,0,2.513-2.082.681.681,0,0,1,.933-.144l.79.574a.681.681,0,0,1,.144.933,9.032,9.032,0,0,1-7.9,3.877Zm-7.755-14.648h13.93a9.378,9.378,0,0,0-.862-3.447,6.768,6.768,0,0,0-2.37-2.729,6.135,6.135,0,0,0-3.375-.933,6.583,6.583,0,0,0-4.955,2.154A9.71,9.71,0,0,0,304.494,18.382ZM339.463,32.6h-1.077a.644.644,0,0,1-.646-.646V17.52a7.408,7.408,0,0,0-1.292-4.811,5.061,5.061,0,0,0-4.021-1.436,5.863,5.863,0,0,0-4.452,1.867,9.245,9.245,0,0,0-2.585,4.811V32.025a.644.644,0,0,1-.646.646h-1.077a.644.644,0,0,1-.646-.646V9.909a.644.644,0,0,1,.646-.646h1.077a.644.644,0,0,1,.646.646v2.585a9.546,9.546,0,0,1,2.082-2.082,8.517,8.517,0,0,1,5.026-1.58,7.462,7.462,0,0,1,5.816,2.226c1.221,1.436,1.867,3.662,1.939,6.534V32.025A.953.953,0,0,1,339.463,32.6Zm10.843.431a4.614,4.614,0,0,1-3.949-1.58,7.322,7.322,0,0,1-1.221-4.6V11.7h-3.375a.644.644,0,0,1-.646-.646V9.981a.644.644,0,0,1,.646-.646h3.375V4.021a.644.644,0,0,1,.646-.646h1.149a.644.644,0,0,1,.646.646V9.335h4.308a.644.644,0,0,1,.646.646v1.077a.644.644,0,0,1-.646.646h-4.308V26.711a5.648,5.648,0,0,0,.646,3.088c.574.862,1.867.933,4.093.646a.711.711,0,0,1,.79.574l.215,1.005a.723.723,0,0,1-.431.79,11.056,11.056,0,0,1-2.585.215Zm12.494,0a11.021,11.021,0,0,1-6.391-1.8,5.73,5.73,0,0,1-2.585-4.883.644.644,0,0,1,.646-.646h1.077a.643.643,0,0,1,.646.646,3.717,3.717,0,0,0,1.723,3.088,8.27,8.27,0,0,0,4.739,1.149,7.363,7.363,0,0,0,4.38-1.221,3.383,3.383,0,0,0,1.58-2.8c0-2.37-2.082-3.877-6.319-4.811-2.872-.646-4.883-1.364-6.032-2.37a5.488,5.488,0,0,1-1.867-4.308,5.453,5.453,0,0,1,2.3-4.524,9.257,9.257,0,0,1,5.744-1.723,9.877,9.877,0,0,1,6.175,1.867,6.362,6.362,0,0,1,2.441,5.1.644.644,0,0,1-.646.646h-1.149a.644.644,0,0,1-.646-.646,3.7,3.7,0,0,0-1.651-3.159,7.3,7.3,0,0,0-4.452-1.364,6.531,6.531,0,0,0-4.165,1.149,3.249,3.249,0,0,0-1.436,2.657,2.977,2.977,0,0,0,.5,1.939,4,4,0,0,0,1.8,1.292,22.123,22.123,0,0,0,4.021,1.292,17.317,17.317,0,0,1,4.524,1.58,6.781,6.781,0,0,1,2.585,2.3,5.688,5.688,0,0,1,.79,3.231,5.52,5.52,0,0,1-2.441,4.739,10.218,10.218,0,0,1-5.888,1.58Z" transform="translate(8013.608 1517)"/></g></svg>
admin/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.5.16 (2020-05)
2
  * All required javascript plugins for admin
3
  * http://phlox.pro/
4
  * Place any jQuery/helper plugins in here, instead of separate, slower script files!
@@ -1588,6 +1588,21 @@ if( typeof Object.create !== 'function' ){ Object.create = function (obj){ funct
1588
  ".aux-refresh-page",
1589
  this._refresh.bind(this)
1590
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1591
  },
1592
 
1593
  /**
@@ -2598,6 +2613,77 @@ if( typeof Object.create !== 'function' ){ Object.create = function (obj){ funct
2598
  .next(".aux-more-items")
2599
  .toggleClass("aux-display");
2600
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2601
  }
2602
  });
2603
 
1
+ /*! Phlox Core Plugin - v2.5.17 (2020-05)
2
  * All required javascript plugins for admin
3
  * http://phlox.pro/
4
  * Place any jQuery/helper plugins in here, instead of separate, slower script files!
1588
  ".aux-refresh-page",
1589
  this._refresh.bind(this)
1590
  );
1591
+
1592
+ // Check envato elements email - get license code
1593
+ $(document).on(
1594
+ "click",
1595
+ ".aux-verify-elements-email",
1596
+ this._verifyEnvatoElementsEmail.bind(this)
1597
+ );
1598
+
1599
+ // Check envato elements token
1600
+ $(document).on(
1601
+ "click",
1602
+ ".aux-verify-elements-token, .aux-token-step-continue",
1603
+ this._verifyEnvatoElementsToken.bind(this)
1604
+ );
1605
+
1606
  },
1607
 
1608
  /**
2613
  .next(".aux-more-items")
2614
  .toggleClass("aux-display");
2615
  });
2616
+ },
2617
+
2618
+ /**
2619
+ * Get envato elements license code
2620
+ */
2621
+ _verifyEnvatoElementsEmail: function(e) {
2622
+
2623
+ // Check currentTarget existence
2624
+ if (!e.currentTarget) {
2625
+ return;
2626
+ }
2627
+
2628
+ var email = $('.email-field').val();
2629
+ var self = this;
2630
+ var $modalSectionElement = this.$modalElement.find(
2631
+ ".aux-steps-col"
2632
+ );
2633
+ this._buttonTarget = e.currentTarget
2634
+ this._ajaxData = {
2635
+ action: 'aux_verify_envato_elements_email',
2636
+ email: email,
2637
+ };
2638
+ $modalSectionElement.addClass("aux-step-in-progress");
2639
+ this._globalAJAX(
2640
+ function(response) {
2641
+ if (response.status) {
2642
+ self._stepManager({ currentTarget: self._buttonTarget });
2643
+ } else {
2644
+ $modalSectionElement.removeClass("aux-step-in-progress");
2645
+ $('.token-wrapper .result').addClass('error').text(response.message);
2646
+ }
2647
+ }
2648
+ );
2649
+ },
2650
+
2651
+ /**
2652
+ * verify envato elements token
2653
+ */
2654
+ _verifyEnvatoElementsToken: function(e) {
2655
+
2656
+ // Check currentTarget existence
2657
+ if (!e.currentTarget) {
2658
+ return;
2659
+ }
2660
+
2661
+ var token = $('.token-field').val();
2662
+ var self = this;
2663
+ var $modalSectionElement = this.$modalElement.find(
2664
+ ".aux-steps-col"
2665
+ );
2666
+ this._buttonTarget = e.currentTarget
2667
+ this._ajaxData = {
2668
+ action: 'aux_verify_envato_elements_token',
2669
+ token: token,
2670
+ };
2671
+ $modalSectionElement.addClass("aux-step-in-progress");
2672
+ this._globalAJAX(
2673
+ function(response) {
2674
+ if ( ! $(self._buttonTarget).hasClass('aux-token-step-continue') ) {
2675
+ if (response.status) {
2676
+ $modalSectionElement.removeClass("aux-step-in-progress");
2677
+ $('.token-wrapper .result').addClass('success').text(response.message);
2678
+ } else {
2679
+ $modalSectionElement.removeClass("aux-step-in-progress");
2680
+ $('.token-wrapper .result').addClass('error').text(response.message);
2681
+ }
2682
+ } else {
2683
+ self._stepManager({ currentTarget: self._buttonTarget });
2684
+ }
2685
+ }
2686
+ );
2687
  }
2688
  });
2689
 
admin/assets/js/plugins.min.js CHANGED
@@ -1 +1 @@
1
- "function"!=typeof Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),function(u){"use strict";if(void 0!==u)if(u.fn.jquery.match(/-ajax/))"console"in window&&window.console.info("Featherlight needs regular jQuery, not the slim version.");else{var a=[],s=function(e){return a=u.grep(a,function(t){return t!==e&&0<t.$instance.closest("body").length})},i={allowfullscreen:1,frameborder:1,height:1,longdesc:1,marginheight:1,marginwidth:1,name:1,referrerpolicy:1,scrolling:1,sandbox:1,src:1,srcdoc:1,width:1},n={keyup:"onKeyUp",resize:"onResize"},o=function(t){u.each(l.opened().reverse(),function(){if(!t.isDefaultPrevented()&&!1===this[n[t.type]](t))return t.preventDefault(),t.stopPropagation(),!1})},r=function(t){if(t!==l._globalHandlerInstalled){l._globalHandlerInstalled=t;var e=u.map(n,function(t,e){return e+"."+l.prototype.namespace}).join(" ");u(window)[t?"on":"off"](e,o)}};l.prototype={constructor:l,namespace:"featherlight",targetAttr:"data-featherlight",variant:null,resetCss:!1,background:null,openTrigger:"click",closeTrigger:"click",filter:null,root:"body",openSpeed:250,closeSpeed:250,closeOnClick:"background",closeOnEsc:!0,closeIcon:"&#10005;",loading:"",persist:!1,otherClose:null,beforeOpen:u.noop,beforeContent:u.noop,beforeClose:u.noop,afterOpen:u.noop,afterContent:u.noop,afterClose:u.noop,onKeyUp:u.noop,onResize:u.noop,type:null,contentFilters:["jquery","image","html","ajax","iframe","text"],setup:function(t,e){"object"!=typeof t||t instanceof u!=!1||e||(e=t,t=void 0);var n=u.extend(this,e,{target:t}),a=n.resetCss?n.namespace+"-reset":n.namespace,s=u(n.background||['<div class="'+a+"-loading "+a+'">','<div class="'+a+'-content">','<button class="'+a+"-close-icon "+n.namespace+'-close" aria-label="Close">',n.closeIcon,"</button>",'<div class="'+n.namespace+'-inner">'+n.loading+"</div>","</div>","</div>"].join("")),i="."+n.namespace+"-close"+(n.otherClose?","+n.otherClose:"");return n.$instance=s.clone().addClass(n.variant),n.$instance.on(n.closeTrigger+"."+n.namespace,function(t){if(!t.isDefaultPrevented()){var e=u(t.target);("background"===n.closeOnClick&&e.is("."+n.namespace)||"anywhere"===n.closeOnClick||e.closest(i).length)&&(n.close(t),t.preventDefault())}}),this},getContent:function(){if(!1!==this.persist&&this.$content)return this.$content;var e=this,t=this.constructor.contentFilters,n=function(t){return e.$currentTarget&&e.$currentTarget.attr(t)},a=n(e.targetAttr),s=e.target||a||"",i=t[e.type];if(!i&&s in t&&(i=t[s],s=e.target&&a),s=s||n("href")||"",!i)for(var o in t)e[o]&&(i=t[o],s=e[o]);if(!i){var r=s;if(s=null,u.each(e.contentFilters,function(){return(i=t[this]).test&&(s=i.test(r)),!s&&i.regex&&r.match&&r.match(i.regex)&&(s=r),!s}),!s)return"console"in window&&window.console.error("Featherlight: no content filter found "+(r?' for "'+r+'"':" (no target specified)")),!1}return i.process.call(e,s)},setContent:function(t){return this.$instance.removeClass(this.namespace+"-loading"),this.$instance.toggleClass(this.namespace+"-iframe",t.is("iframe")),this.$instance.find("."+this.namespace+"-inner").not(t).slice(1).remove().end().replaceWith(u.contains(this.$instance[0],t[0])?"":t),this.$content=t.addClass(this.namespace+"-inner"),this},open:function(e){var n=this;if(n.$instance.hide().appendTo(n.root),!(e&&e.isDefaultPrevented()||!1===n.beforeOpen(e))){e&&e.preventDefault();var t=n.getContent();if(t)return a.push(n),r(!0),n.$instance.fadeIn(n.openSpeed),n.beforeContent(e),u.when(t).always(function(t){n.setContent(t),n.afterContent(e)}).then(n.$instance.promise()).done(function(){n.afterOpen(e)})}return n.$instance.detach(),u.Deferred().reject().promise()},close:function(t){var e=this,n=u.Deferred();return!1===e.beforeClose(t)?n.reject():(0===s(e).length&&r(!1),e.$instance.fadeOut(e.closeSpeed,function(){e.$instance.detach(),e.afterClose(t),n.resolve()})),n.promise()},resize:function(t,e){if(t&&e){this.$content.css("width","").css("height","");var n=Math.max(t/(this.$content.parent().width()-1),e/(this.$content.parent().height()-1));1<n&&(n=e/Math.floor(e/n),this.$content.css("width",t/n+"px").css("height",e/n+"px"))}},chainCallbacks:function(t){for(var e in t)this[e]=u.proxy(t[e],this,u.proxy(this[e],this))}},u.extend(l,{id:0,autoBind:"[data-featherlight]",defaults:l.prototype,contentFilters:{jquery:{regex:/^[#.]\w/,test:function(t){return t instanceof u&&t},process:function(t){return!1!==this.persist?u(t):u(t).clone(!0)}},image:{regex:/\.(png|jpg|jpeg|gif|tiff?|bmp|svg)(\?\S*)?$/i,process:function(t){var e=u.Deferred(),n=new Image,a=u('<img src="'+t+'" alt="" class="'+this.namespace+'-image" />');return n.onload=function(){a.naturalWidth=n.width,a.naturalHeight=n.height,e.resolve(a)},n.onerror=function(){e.reject(a)},n.src=t,e.promise()}},html:{regex:/^\s*<[\w!][^<]*>/,process:function(t){return u(t)}},ajax:{regex:/./,process:function(t){var n=u.Deferred(),a=u("<div></div>").load(t,function(t,e){"error"!==e&&n.resolve(a.contents()),n.fail()});return n.promise()}},iframe:{process:function(t){var e=new u.Deferred,n=u("<iframe/>"),a=function(t,e){var n={},a=new RegExp("^"+e+"([A-Z])(.*)");for(var s in t){var i=s.match(a);i&&(n[(i[1]+i[2].replace(/([A-Z])/g,"-$1")).toLowerCase()]=t[s])}return n}(this,"iframe"),s=function(t,e){var n={};for(var a in t)a in e&&(n[a]=t[a],delete t[a]);return n}(a,i);return n.hide().attr("src",t).attr(s).css(a).on("load",function(){e.resolve(n.show())}).appendTo(this.$instance.find("."+this.namespace+"-content")),e.promise()}},text:{process:function(t){return u("<div>",{text:t})}}},functionAttributes:["beforeOpen","afterOpen","beforeContent","afterContent","beforeClose","afterClose"],readElementConfig:function(t,e){var a=this,s=new RegExp("^data-"+e+"-(.*)"),i={};return t&&t.attributes&&u.each(t.attributes,function(){var t=this.name.match(s);if(t){var e=this.value,n=u.camelCase(t[1]);if(0<=u.inArray(n,a.functionAttributes))e=new Function(e);else try{e=JSON.parse(e)}catch(t){}i[n]=e}}),i},extend:function(t,e){var n=function(){this.constructor=t};return n.prototype=this.prototype,t.prototype=new n,t.__super__=this.prototype,u.extend(t,this,e),t.defaults=t.prototype,t},attach:function(s,i,o){var r=this;"object"!=typeof i||i instanceof u!=!1||o||(o=i,i=void 0);var l,t=(o=u.extend({},o)).namespace||r.defaults.namespace,c=u.extend({},r.defaults,r.readElementConfig(s[0],t),o),e=function(t){var e=u(t.currentTarget),n=u.extend({$source:s,$currentTarget:e},r.readElementConfig(s[0],c.namespace),r.readElementConfig(t.currentTarget,c.namespace),o),a=l||e.data("featherlight-persisted")||new r(i,n);"shared"===a.persist?l=a:!1!==a.persist&&e.data("featherlight-persisted",a),n.$currentTarget.blur&&n.$currentTarget.blur(),a.open(t)};return s.on(c.openTrigger+"."+c.namespace,c.filter,e),e},current:function(){var t=this.opened();return t[t.length-1]||null},opened:function(){var e=this;return s(),u.grep(a,function(t){return t instanceof e})},close:function(t){var e=this.current();if(e)return e.close(t)},_onReady:function(){var e=this;e.autoBind&&(u(e.autoBind).each(function(){e.attach(u(this))}),u(document).on("click",e.autoBind,function(t){t.isDefaultPrevented()||e.attach(u(t.currentTarget))(t)}))},_callbackChain:{onKeyUp:function(t,e){return 27===e.keyCode?(this.closeOnEsc&&u.featherlight.close(e),!1):t(e)},beforeOpen:function(t,e){return u(document.documentElement).addClass("with-featherlight"),this._previouslyActive=document.activeElement,this._$previouslyTabbable=u("a, input, select, textarea, iframe, button, iframe, [contentEditable=true]").not("[tabindex]").not(this.$instance.find("button")),this._$previouslyWithTabIndex=u("[tabindex]").not('[tabindex="-1"]'),this._previousWithTabIndices=this._$previouslyWithTabIndex.map(function(t,e){return u(e).attr("tabindex")}),this._$previouslyWithTabIndex.add(this._$previouslyTabbable).attr("tabindex",-1),document.activeElement.blur&&document.activeElement.blur(),t(e)},afterClose:function(t,e){var n=t(e),a=this;return this._$previouslyTabbable.removeAttr("tabindex"),this._$previouslyWithTabIndex.each(function(t,e){u(e).attr("tabindex",a._previousWithTabIndices[t])}),this._previouslyActive.focus(),0===l.opened().length&&u(document.documentElement).removeClass("with-featherlight"),n},onResize:function(t,e){return this.resize(this.$content.naturalWidth,this.$content.naturalHeight),t(e)},afterContent:function(t,e){var n=t(e);return this.$instance.find("[autofocus]:not([disabled])").focus(),this.onResize(e),n}}}),u.featherlight=l,u.fn.featherlight=function(t,e){return l.attach(this,t,e),this},u(document).ready(function(){l._onReady()})}else"console"in window&&window.console.info("Too much lightness, Featherlight needs jQuery.");function l(t,e){if(!(this instanceof l)){var n=new l(t,e);return n.open(),n}this.id=l.id++,this.setup(t,e),this.chainCallbacks(l._callbackChain)}}(jQuery),function(){"use strict";function t(C){C.fn._fadeIn=C.fn.fadeIn;var I=C.noop||function(){},T=/MSIE/.test(navigator.userAgent),$=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),E=(document.documentMode,C.isFunction(document.createElement("div").style.setExpression));C.blockUI=function(t){n(window,t)},C.unblockUI=function(t){U(window,t)},C.growlUI=function(t,e,n,a){var s=C('<div class="growlUI"></div>');t&&s.append("<h1>"+t+"</h1>"),e&&s.append("<h2>"+e+"</h2>"),void 0===n&&(n=3e3);var i=function(t){t=t||{},C.blockUI({message:s,fadeIn:void 0!==t.fadeIn?t.fadeIn:700,fadeOut:void 0!==t.fadeOut?t.fadeOut:1e3,timeout:void 0!==t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:a,css:C.blockUI.defaults.growlCSS})};i();s.css("opacity");s.mouseover(function(){i({fadeIn:0,timeout:3e4});var t=C(".blockMsg");t.stop(),t.fadeTo(300,1)}).mouseout(function(){C(".blockMsg").fadeOut(1e3)})},C.fn.block=function(t){if(this[0]===window)return C.blockUI(t),this;var e=C.extend({},C.blockUI.defaults,t||{});return this.each(function(){var t=C(this);e.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){"static"==C.css(this,"position")&&(this.style.position="relative",C(this).data("blockUI.static",!0)),this.style.zoom=1,n(this,t)})},C.fn.unblock=function(t){return this[0]===window?(C.unblockUI(t),this):this.each(function(){U(this,t)})},C.blockUI.version=2.7,C.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var D=null,A=[];function n(t,s){var e,n,i=t==window,a=s&&void 0!==s.message?s.message:void 0;if(!(s=C.extend({},C.blockUI.defaults,s||{})).ignoreIfBlocked||!C(t).data("blockUI.isBlocked")){if(s.overlayCSS=C.extend({},C.blockUI.defaults.overlayCSS,s.overlayCSS||{}),e=C.extend({},C.blockUI.defaults.css,s.css||{}),s.onOverlayClick&&(s.overlayCSS.cursor="pointer"),n=C.extend({},C.blockUI.defaults.themedCSS,s.themedCSS||{}),a=void 0===a?s.message:a,i&&D&&U(window,{fadeOut:0}),a&&"string"!=typeof a&&(a.parentNode||a.jquery)){var o=a.jquery?a[0]:a,r={};C(t).data("blockUI.history",r),r.el=o,r.parent=o.parentNode,r.display=o.style.display,r.position=o.style.position,r.parent&&r.parent.removeChild(o)}C(t).data("blockUI.onUnblock",s.onUnblock);var l,c,u,d,h=s.baseZ;l=T||s.forceIframe?C('<iframe class="blockUI" style="z-index:'+h+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+s.iframeSrc+'"></iframe>'):C('<div class="blockUI" style="display:none"></div>'),c=s.theme?C('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+h+++';display:none"></div>'):C('<div class="blockUI blockOverlay" style="z-index:'+h+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),s.theme&&i?(d='<div class="blockUI '+s.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(h+10)+';display:none;position:fixed">',s.title&&(d+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(s.title||"&nbsp;")+"</div>"),d+='<div class="ui-widget-content ui-dialog-content"></div>',d+="</div>"):s.theme?(d='<div class="blockUI '+s.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(h+10)+';display:none;position:absolute">',s.title&&(d+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(s.title||"&nbsp;")+"</div>"),d+='<div class="ui-widget-content ui-dialog-content"></div>',d+="</div>"):d=i?'<div class="blockUI '+s.blockMsgClass+' blockPage" style="z-index:'+(h+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+s.blockMsgClass+' blockElement" style="z-index:'+(h+10)+';display:none;position:absolute"></div>',u=C(d),a&&(s.theme?(u.css(n),u.addClass("ui-widget-content")):u.css(e)),s.theme||c.css(s.overlayCSS),c.css("position",i?"fixed":"absolute"),(T||s.forceIframe)&&l.css("opacity",0);var p=[l,c,u],f=C(i?"body":t);C.each(p,function(){this.appendTo(f)}),s.theme&&s.draggable&&C.fn.draggable&&u.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var m=E&&(!C.support.boxModel||0<C("object,embed",i?null:t).length);if($||m){if(i&&s.allowBodyStretch&&C.support.boxModel&&C("html,body").css("height","100%"),($||!C.support.boxModel)&&!i)var g=O(t,"borderTopWidth"),x=O(t,"borderLeftWidth"),b=g?"(0 - "+g+")":0,v=x?"(0 - "+x+")":0;C.each(p,function(t,e){var n=e[0].style;if(n.position="absolute",t<2)i?n.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+s.quirksmodeOffsetHack+') + "px"'):n.setExpression("height",'this.parentNode.offsetHeight + "px"'),i?n.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):n.setExpression("width",'this.parentNode.offsetWidth + "px"'),v&&n.setExpression("left",v),b&&n.setExpression("top",b);else if(s.centerY)i&&n.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),n.marginTop=0;else if(!s.centerY&&i){var a="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(s.css&&s.css.top?parseInt(s.css.top,10):0)+') + "px"';n.setExpression("top",a)}})}if(a&&(s.theme?u.find(".ui-widget-content").append(a):u.append(a),(a.jquery||a.nodeType)&&C(a).show()),(T||s.forceIframe)&&s.showOverlay&&l.show(),s.fadeIn){var _=s.onBlock?s.onBlock:I,y=s.showOverlay&&!a?_:I,k=a?_:I;s.showOverlay&&c._fadeIn(s.fadeIn,y),a&&u._fadeIn(s.fadeIn,k)}else s.showOverlay&&c.show(),a&&u.show(),s.onBlock&&s.onBlock.bind(u)();if(j(1,t,s),i?(D=u[0],A=C(s.focusableElements,D),s.focusInput&&setTimeout(S,20)):function(t,e,n){var a=t.parentNode,s=t.style,i=(a.offsetWidth-t.offsetWidth)/2-O(a,"borderLeftWidth"),o=(a.offsetHeight-t.offsetHeight)/2-O(a,"borderTopWidth");e&&(s.left=0<i?i+"px":"0");n&&(s.top=0<o?o+"px":"0")}(u[0],s.centerX,s.centerY),s.timeout){var w=setTimeout(function(){i?C.unblockUI(s):C(t).unblock(s)},s.timeout);C(t).data("blockUI.timeout",w)}}}function U(t,e){var n,a,s=t==window,i=C(t),o=i.data("blockUI.history"),r=i.data("blockUI.timeout");r&&(clearTimeout(r),i.removeData("blockUI.timeout")),e=C.extend({},C.blockUI.defaults,e||{}),j(0,t,e),null===e.onUnblock&&(e.onUnblock=i.data("blockUI.onUnblock"),i.removeData("blockUI.onUnblock")),a=s?C("body").children().filter(".blockUI").add("body > .blockUI"):i.find(">.blockUI"),e.cursorReset&&(1<a.length&&(a[1].style.cursor=e.cursorReset),2<a.length&&(a[2].style.cursor=e.cursorReset)),s&&(D=A=null),e.fadeOut?(n=a.length,a.stop().fadeOut(e.fadeOut,function(){0==--n&&l(a,o,e,t)})):l(a,o,e,t)}function l(t,e,n,a){var s=C(a);if(!s.data("blockUI.isBlocked")){t.each(function(t,e){this.parentNode&&this.parentNode.removeChild(this)}),e&&e.el&&(e.el.style.display=e.display,e.el.style.position=e.position,e.el.style.cursor="default",e.parent&&e.parent.appendChild(e.el),s.removeData("blockUI.history")),s.data("blockUI.static")&&s.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(a,n);var i=C(document.body),o=i.width(),r=i[0].style.width;i.width(o-1).width(o),i[0].style.width=r}}function j(t,e,n){var a=e==window,s=C(e);if((t||(!a||D)&&(a||s.data("blockUI.isBlocked")))&&(s.data("blockUI.isBlocked",t),a&&n.bindEvents&&(!t||n.showOverlay))){var i="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?C(document).bind(i,n,o):C(document).unbind(i,o)}}function o(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&D&&t.data.constrainTabKey){var e=A,n=!t.shiftKey&&t.target===e[e.length-1],a=t.shiftKey&&t.target===e[0];if(n||a)return setTimeout(function(){S(a)},10),!1}var s=t.data,i=C(t.target);return i.hasClass("blockOverlay")&&s.onOverlayClick&&s.onOverlayClick(t),0<i.parents("div."+s.blockMsgClass).length||0===i.parents().children().filter("div.blockUI").length}function S(t){if(A){var e=A[!0===t?A.length-1:0];e&&e.focus()}}function O(t,e){return parseInt(C.css(t,e),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],t):t(jQuery)}(),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(b){"use strict";var v=b.scrollTo=function(t,e,n){return b(window).scrollTo(t,e,n)};function _(t){return!t.nodeName||-1!==b.inArray(t.nodeName.toLowerCase(),["iframe","#document","html","body"])}function e(t){return b.isFunction(t)||b.isPlainObject(t)?t:{top:t,left:t}}return v.defaults={axis:"xy",duration:0,limit:!0},b.fn.scrollTo=function(t,n,g){"object"==typeof n&&(g=n,n=0),"function"==typeof g&&(g={onAfter:g}),"max"===t&&(t=9e9),g=b.extend({},v.defaults,g),n=n||g.duration;var x=g.queue&&1<g.axis.length;return x&&(n/=2),g.offset=e(g.offset),g.over=e(g.over),this.each(function(){if(null!==t){var l,c=_(this),u=c?this.contentWindow||window:this,d=b(u),h=t,p={};switch(typeof h){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(h)){h=e(h);break}h=c?b(h):b(h,u);case"object":if(0===h.length)return;(h.is||h.style)&&(l=(h=b(h)).offset())}var f=b.isFunction(g.offset)&&g.offset(u,h)||g.offset;b.each(g.axis.split(""),function(t,e){var n="x"===e?"Left":"Top",a=n.toLowerCase(),s="scroll"+n,i=d[s](),o=v.max(u,e);if(l)p[s]=l[a]+(c?0:i-d.offset()[a]),g.margin&&(p[s]-=parseInt(h.css("margin"+n),10)||0,p[s]-=parseInt(h.css("border"+n+"Width"),10)||0),p[s]+=f[a]||0,g.over[a]&&(p[s]+=h["x"===e?"width":"height"]()*g.over[a]);else{var r=h[a];p[s]=r.slice&&"%"===r.slice(-1)?parseFloat(r)/100*o:r}g.limit&&/^\d+$/.test(p[s])&&(p[s]=p[s]<=0?0:Math.min(p[s],o)),!t&&1<g.axis.length&&(i===p[s]?p={}:x&&(m(g.onAfterFirst),p={}))}),m(g.onAfter)}function m(t){var e=b.extend({},g,{queue:!0,duration:n,complete:t&&function(){t.call(u,h,g)}});d.animate(p,e)}})},v.max=function(t,e){var n="x"===e?"Width":"Height",a="scroll"+n;if(!_(t))return t[a]-b(t)[n.toLowerCase()]();var s="client"+n,i=t.ownerDocument||t.document,o=i.documentElement,r=i.body;return Math.max(o[a],r[a])-Math.min(o[s],r[s])},b.Tween.propHooks.scrollLeft=b.Tween.propHooks.scrollTop={get:function(t){return b(t.elem)[t.prop]()},set:function(t){var e=this.get(t);if(t.options.interrupt&&t._last&&t._last!==e)return b(t.elem).stop();var n=Math.round(t.now);e!==n&&(b(t.elem)[t.prop](n),t._last=this.get(t))}},v}),function(r,e,n,t){"use strict";var a="AuxWizard",s={modalClass:".aux-open-modal",loading:aux_setup_params.svg_loader};function i(t,e){this.element=t,this.$element=r(t),this.settings=r.extend({},s,e),this._defaults=s,this._name=a,this.$modalElement=null,this._modalButton=null,this._ajaxData=null,this._ajaxUrl=aux_setup_params.ajaxurl,this._elStorage={},this._importData={},this.$isotopeTemplate=null,this.$isotopeList=null,this.$isotopePlugins=null,this.init()}r.extend(i.prototype,{init:function(){this._callIsotope(),r(".aux-isotope-group").on("change",this._changeGroup.bind(this)),this._openModal(),this._manipulations(),this._lazyloadConfig(),r(n).on("click",".aux-next-step",this._stepManager.bind(this)),r(n).on("click",".aux-install-demo",this._demoManager.bind(this)),r(n).on("click",".aux-uninstall-demo",this._uninstallDemo.bind(this)),r(n).on("click",".aux-copy-template",this._tempManager.bind(this)),r(n).on("click",".install-plugins",this._pluginManager.bind(this)),r(n).on("click",".aux-install-updates",this._updateManager.bind(this)),r(n).on("submit",".auxin-check-purchase",this._activateLicense.bind(this)),r(n).on("click",".aux-refresh-page",this._refresh.bind(this))},_globalAJAX:function(t){r.ajax({url:this._ajaxUrl,type:"post",data:this._ajaxData}).done(t)},_refresh:function(t){void 0!==t.preventDefault&&t.preventDefault(),location.reload()},_activateLicense:function(t){if(t.currentTarget){void 0!==t.preventDefault&&t.preventDefault();var e=r(t.currentTarget),n=e.find(".aux-activate-license"),a=e.find(".aux-notice"),s=null,i={};r.each(e.serializeArray(),function(t,e){i[e.name]=e.value}),a.length||(a=r("<div>",{class:"aux-notice"}).appendTo(e)),this._ajaxData={action:i.action,usermail:i.usermail,purchase:i.purchase,security:i.security},n.addClass("aux-button-loading"),a.removeClass("success warning").hide(),this._controlActions("off"),this._globalAJAX(function(t){null!==t&&t.success?(n.addClass("aux-button-success aux-refresh-page"),a.addClass("success"),s="aux-button-success aux-button-loading",r(this._modalButton).closest(".aux-purchase-activation-notice").fadeOut()):(n.addClass("aux-button-error"),a.addClass("warning"),s="aux-button-error aux-button-loading"),e.removeClass("aux-form-in-progress"),setTimeout(function(){n.removeClass(s),n.find("span").text(t.data.buttonText)},1e3),a.show().html(t.data.message),this._controlActions("on")}.bind(this))}},_openModal:function(){var e=this,t=(r(e.settings.modalClass).featherlight({targetAttr:"href",closeOnEsc:!1,closeOnClick:!1,contentFilters:["ajax"],loading:this.settings.loading,otherClose:".aux-pp-close",afterOpen:function(t){if(r(".featherlight .aux-wizard-plugins").length)new PerfectScrollbar(".featherlight .aux-wizard-plugins");e._modalButton=t.currentTarget,e.$modalElement=this.$instance,r(e._modalButton).hasClass("aux-has-next-action")&&e._tempManager({currentTarget:t.currentTarget})}}),r(".aux-ajax-open-modal").featherlight({targetAttr:"href",contentFilters:["ajax"],otherClose:".aux-pp-close",closeOnClick:!1,loading:this.settings.loading,afterOpen:function(t){e._modalButton=t.currentTarget,e.$modalElement=this.$instance}}));1===t.data("auto-open")&&t.click()},_changeGroup:function(t){if(t.currentTarget){var e=t.currentTarget.checked?"section":"page";this._ajaxData={action:"aux_isotope_group",group:e,nonce:r(t.currentTarget).data("nonce"),key:"templates_kit"},this._globalAJAX(function(t){null!==t&&t.success?this.$isotopeTemplate.AuxIsotope("changeGroup",e):console.log(t)}.bind(this))}},_updateManager:function(t){if(t.currentTarget){void 0!==t.preventDefault&&t.preventDefault();var e=r(t.currentTarget);this.$buttonParentEl=e.closest(".aux-updates-step"),this.$updatesListEl=this.$buttonParentEl.find(".aux-update-list"),this.$updatesList=this.$updatesListEl.find(".aux-item"),this._itemsCompleted=0,this._attemptsBuffer=0,this._currentItem=null,this._itemType=null,this._dataNonce=e.data("nonce"),this._buttonTarget=t.currentTarget,this.$currentNode=null,this.$updatesListEl.addClass("installing"),e.text(aux_setup_params.btnworks_text).addClass("disabled"),this._controlActions("off"),this._processUpdates()}},_processUpdates:function(){var t=this,e=!1;this.$currentNode&&(this.$currentNode.data("done_item")||(this._itemsCompleted++,this.$currentNode.data("done_item",1))),this.$updatesList.each(function(){null==t._currentItem||e?(r(this).addClass("work-in-progress"),t._currentItem=r(this).data("key"),t._itemType=r(this).data("type"),t.$currentNode=r(this),t._installUpdate(),e=!1):r(this).data("key")===t._currentItem&&(r(this).removeClass("work-in-progress"),e=!0)}),this._itemsCompleted>=this.$updatesList.length&&(this._controlActions("on"),this.$updatesListEl.removeClass("installing"),r(this._buttonTarget).text(aux_setup_params.activate_text).removeClass("disabled"),0==this.$updatesList.not(".aux-success").length&&this._refresh({currentTarget:this._buttonTarget}))},_installUpdate:function(){this._currentItem&&(this._ajaxData={action:"auxin_start_upgrading",key:this._currentItem,type:this._itemType,nonce:this._dataNonce},this._globalAJAX(function(t){this._updateActions(t)}.bind(this)))},_updateActions:function(t){"object"==typeof t&&t.success?(this.$currentNode.find(".column-status span").text(t.data.successMessage),this.$currentNode.addClass("aux-success").find(".aux-check-column").remove(),this.$currentNode.find(".check-column").append("<i class='aux-success-icon auxicon-check-mark-circle-outline'></i>")):this.$currentNode.addClass("aux-error").find(".column-status span").text(t.data.errorMessage),this._processUpdates()},_stepManager:function(t){if(t.currentTarget){void 0!==t.preventDefault&&t.preventDefault();var e=r(t.currentTarget),n=this.$modalElement.find(".aux-steps-col");this._ajaxData={action:"aux_step_manager",next_step:e.data("next-step"),nonce:e.data("step-nonce"),args:e.data("args"),next_action:e.data("next-action")},n.addClass("aux-step-in-progress"),this._controlActions("off"),this._globalAJAX(function(t){null!==t&&t.success?(n.removeClass("aux-step-in-progress").html(t.data.markup),this._ajaxData.next_action&&this._tempManager({currentTarget:this._modalButton})):console.log(t),this._controlActions("on")}.bind(this))}},_tempManager:function(t){if(t.currentTarget){void 0!==t.preventDefault&&t.preventDefault();var e=r(t.currentTarget),n=null!=this.$modalElement?this.$modalElement.find(".aux-steps-col"):null;this._ajaxData={action:"auxin_templates_data",verify:e.data("nonce"),ID:e.data("template-id"),type:e.data("template-type"),tmpl:e.data("template-page-tmpl"),status:e.data("status-type"),title:e.data("template-title")},"copy"===this._ajaxData.status&&e.addClass("aux-button-loading"),this._controlActions("off"),this._globalAJAX(function(t){null!==t&&t.success?"copy"===t.data.status?(this._updateElementorLocalStorage(this._ajaxData.type,t.data.result.content),e.addClass("aux-button-success"),setTimeout(function(){e.removeClass("aux-button-success aux-button-loading")},1e3)):(e.data("status-type","copy").prop("data-status-type","copy").addClass("aux-copy-template aux-orange").removeClass("aux-import-template aux-has-next-action aux-green2").removeAttr("href"),e.find("span").text(t.data.label),e.next(".aux-more-button").removeClass("hide"),n.html(t.data.result)):n.html(t.data),this._controlActions("on")}.bind(this))}},_updateElementorLocalStorage:function(t,e){this._elStorage.transfer={type:"copy",elementsType:t,elements:e},localStorage.setItem("elementor",JSON.stringify(this._elStorage))},_demoManager:function(e){if(e.currentTarget){void 0!==e.preventDefault&&e.preventDefault();var t=r(e.currentTarget),n=t.closest(".aux-setup-demo-actions"),a=n.find(".aux-return-back"),s=n.find(".aux-progress"),i=this.$modalElement.find(".aux-install-demos"),o=this.$modalElement.find(".aux-install-demos-waiting");this._ajaxData={action:"auxin_demo_data",ID:t.data("import-id"),verify:t.data("nonce"),options:i.find(".aux-import-parts").serializeArray()},this.$progressBarLabelEl=s.find(".aux-progress-label"),i.addClass("hide"),o.removeClass("hide"),a.addClass("hide"),s.removeClass("hide"),this.$progressBarLabelEl.text("Getting Demo Data ..."),this._controlActions("off"),this._globalAJAX(function(t){null!==t&&t.success?this._demoImport({target:e.currentTarget,step:"download",message:"Downloading Media ...",index:null}):(console.log(t),i.removeClass("hide"),o.addClass("hide"),a.removeClass("hide"),s.addClass("hide"),this._controlActions("on"))}.bind(this))}},_demoImport:function(e){this._ajaxData={action:"import_step",step:e.step,index:e.index},this.$progressBarLabelEl.text(e.message),this._globalAJAX(function(t){null!==t&&t.success?"final"!==t.data.next?this._demoImport({target:e.target,step:t.data.next,message:t.data.message,index:t.data.hasOwnProperty("index")?t.data.index:""}):(this.$progressBarLabelEl.text(t.data.message),setTimeout(function(){this._controlActions("on"),this._stepManager({currentTarget:e.target})}.bind(this),1e3)):console.log(t)}.bind(this))},_uninstallDemo:function(t){if(t.currentTarget){void 0!==t.preventDefault&&t.preventDefault();var e=r(t.currentTarget),n=e.closest(".aux-setup-demo-actions");this._ajaxData={action:"aux_ajax_uninstall",id:e.data("demo-id"),key:r(this._modalButton).data("demo-key"),nonce:e.data("demo-nonce"),plugins:e.data("demo-plugins")},n.find(".aux-return-back").addClass("hide"),n.find(".aux-progress").removeClass("hide"),this._controlActions("off"),this._globalAJAX(function(t){n.find(".aux-return-back").removeClass("hide"),n.find(".aux-progress").addClass("hide"),null!==t&&t.success?(this.$modalElement.find(".aux-steps-col").html(t.data.markup),r(this._modalButton).removeClass("aux-uninstall aux-orange").addClass("aux-green2").text(t.data.button).attr("href",t.data.url)):console.log(t),this._controlActions("on")}.bind(this))}},_pluginManager:function(t){if(t.currentTarget){void 0!==t.preventDefault&&t.preventDefault();var e=r(t.currentTarget);this.$buttonParentEl=e.closest(".aux-has-required-plugins"),this.$pluginsListEl=this.$buttonParentEl.find(".aux-wizard-plugins"),this._selectedPluginsNum=this.$buttonParentEl.find('.aux-plugin input[name="plugin[]"]:checked').length,this._itemsCompleted=0,this._attemptsBuffer=0,this._currentItem=null,this._buttonTarget=t.currentTarget,this.$currentNode=null,this.$pluginsListEl.addClass("installing"),e.text(aux_setup_params.btnworks_text).addClass("disabled"),this._controlActions("off"),this._processPlugins()}},_processPlugins:function(){var t=this,e=!1,n=this.$buttonParentEl.find(".aux-plugin");this._pluginScrollTo(),this.$currentNode&&(this.$currentNode.data("done_item")||(this._itemsCompleted++,this.$currentNode.data("done_item",1)),this.$currentNode.find(".spinner").css("visibility","hidden")),n.each(function(){null==t._currentItem||e?r(this).find('input[name="plugin[]"]').is(":checked")&&(r(this).addClass("work-in-progress"),t._currentItem=r(this).data("slug"),t.$currentNode=r(this),t.$currentNode.find(".spinner").css("visibility","visible"),t._installPlugin(),e=!1):r(this).data("slug")===t._currentItem&&(r(this).removeClass("work-in-progress"),e=!0)}),this._itemsCompleted>=this._selectedPluginsNum&&(this._controlActions("on"),this.$buttonParentEl.find(".aux-wizard-plugins").removeClass("installing"),r(this._buttonTarget).text(aux_setup_params.activate_text),this.$buttonParentEl.find(".skip-next").text(aux_setup_params.nextstep_text),0==this.$buttonParentEl.find(".aux-plugin").not(".aux-success").length&&this.$buttonParentEl.hasClass("aux-modal-item")&&this._stepManager({currentTarget:this._buttonTarget}))},_installPlugin:function(){if(this._currentItem){var t=this.$buttonParentEl.find('.aux-wizard-plugins input[name="plugin[]"]:checked').map(function(){return r(this).val()}).get();this._ajaxData={action:"aux_setup_plugins",wpnonce:aux_setup_params.wpnonce,slug:this._currentItem,plugins:t},this._globalAJAX(function(t){this._pluginActions(t)}.bind(this))}},_pluginActions:function(e){"object"==typeof e&&e.success?(this.$currentNode.find(".column-status span").text(e.data.message),void 0!==e.data.url?this.currentItemHash==e.data.hash?(this.$currentNode.data("done_item",0).find(".column-status span").text("failed"),this.currentItemHash=null,this._installPlugin()):(this._ajaxUrl=e.data.url,this._ajaxData=e.data,this.currentItemHash=e.data.hash,this._globalAJAX(function(t){this._ajaxUrl=aux_setup_params.ajaxurl,this.$currentNode.find(".column-status span").text(e.data.message),this._installPlugin()}.bind(this))):(this.$currentNode.addClass("aux-success").find(".aux-check-column").remove(),this.$currentNode.find(".check-column").append("<i class='aux-success-icon auxicon-check-mark-circle-outline'></i>"),this._processPlugins())):1<this._attemptsBuffer?(this._attemptsBuffer=0,this.$currentNode.addClass("aux-error").find(".column-status span").text("Ajax Error!"),this._processPlugins()):(this.currentItemHash=null,this._attemptsBuffer++,this._installPlugin())},_pluginScrollTo:function(){r(".aux-modal-item .aux-wizard-plugins").each(function(){r(this).scrollTo(r(this).find(".work-in-progress"),400)})},_controlActions:function(t){switch(t){case"on":r(e).off("beforeunload"),r(n).on("keydown keypress keyup"),r(".aux-pp-close").removeClass("hide");break;default:r(e).on("beforeunload",function(){return aux_setup_params.onbefore_text}),r(n).off("keydown keypress keyup"),r(".aux-pp-close").addClass("hide")}},_callIsotope:function(){this.$isotopeTemplate=r(".aux-isotope-templates").AuxIsotope({itemSelector:".aux-iso-item",revealTransitionDuration:0,revealBetweenDelay:0,revealTransitionDelay:0,hideTransitionDuration:0,hideBetweenDelay:0,hideTransitionDelay:0,updateUponResize:!0,transitionHelper:!0,filters:".aux-filters",slug:"filter",imgSizes:!0}),this.$isotopeList=r(".aux-isotope-list").AuxIsotope({itemSelector:".aux-iso-item",revealTransitionDuration:600,revealBetweenDelay:50,revealTransitionDelay:0,hideTransitionDuration:300,hideBetweenDelay:0,hideTransitionDelay:0,updateUponResize:!0,transitionHelper:!0,filters:".aux-filters",slug:"filter",imgSizes:!0}),this.$isotopePlugins=r(".aux-isotope-plugins-list").AuxIsotope({itemSelector:".aux-iso-item",revealTransitionDuration:600,revealBetweenDelay:50,revealTransitionDelay:50,hideTransitionDuration:100,hideBetweenDelay:0,hideTransitionDelay:0,updateUponResize:!0,transitionHelper:!0,filters:".aux-filters",slug:"filter",imgSizes:!0})},_lazyloadConfig:function(){n.addEventListener("lazyloaded",function(t){r(e).trigger("resize")})},_manipulations:function(){r(".aux-togglable").AuxinToggleSelected(),r('.aux-wizard-plugins input[name="plugin[]"]').each(function(){r(this).is(":checked")?r(this).closest(".aux-table-row").addClass("is-checked"):r(this).closest(".aux-table-row").removeClass("is-checked"),r(this).click(function(){r(this).is(":checked")?r(this).closest(".aux-table-row").addClass("is-checked"):r(this).closest(".aux-table-row").removeClass("is-checked")})}),r(".aux-plugins-step input[type=checkbox]").change(function(){0<r('.aux-wizard-plugins input[name="plugin[]"]').filter(":checked").length?r(".install-plugins").removeClass("disabled"):r(".install-plugins").addClass("disabled")}),r(n).on("click",".aux-install-demos input[type=checkbox]",function(t){0<r(".featherlight-content").find("input[type=checkbox]").filter(":checked").length?r(".featherlight-content").find(".button-next").removeClass("aux-next-step").data("callback","install_demos").attr("data-callback","install_demos").text(aux_setup_params.makedemo_text):r(".featherlight-content").find(".button-next").addClass("aux-next-step").text(aux_setup_params.nextstep_text).data("callback",null).removeAttr("data-callback")}),r(n).on("click",".aux-radio",function(t){r(this).closest("form").find(".aux-border").removeClass("is-checked"),r(this).parent(".aux-border").addClass("is-checked")}),r(n).on("click",".aux-more-button",function(t){t.preventDefault(),r(this).next(".aux-more-items").toggleClass("aux-display")})}}),r.fn[a]=function(t){return this.each(function(){new i(this,t)})}}(jQuery,window,document);
1
+ "function"!=typeof Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),function(u){"use strict";if(void 0!==u)if(u.fn.jquery.match(/-ajax/))"console"in window&&window.console.info("Featherlight needs regular jQuery, not the slim version.");else{var a=[],s=function(t){return a=u.grep(a,function(e){return e!==t&&0<e.$instance.closest("body").length})},i={allowfullscreen:1,frameborder:1,height:1,longdesc:1,marginheight:1,marginwidth:1,name:1,referrerpolicy:1,scrolling:1,sandbox:1,src:1,srcdoc:1,width:1},n={keyup:"onKeyUp",resize:"onResize"},o=function(e){u.each(l.opened().reverse(),function(){if(!e.isDefaultPrevented()&&!1===this[n[e.type]](e))return e.preventDefault(),e.stopPropagation(),!1})},r=function(e){if(e!==l._globalHandlerInstalled){l._globalHandlerInstalled=e;var t=u.map(n,function(e,t){return t+"."+l.prototype.namespace}).join(" ");u(window)[e?"on":"off"](t,o)}};l.prototype={constructor:l,namespace:"featherlight",targetAttr:"data-featherlight",variant:null,resetCss:!1,background:null,openTrigger:"click",closeTrigger:"click",filter:null,root:"body",openSpeed:250,closeSpeed:250,closeOnClick:"background",closeOnEsc:!0,closeIcon:"&#10005;",loading:"",persist:!1,otherClose:null,beforeOpen:u.noop,beforeContent:u.noop,beforeClose:u.noop,afterOpen:u.noop,afterContent:u.noop,afterClose:u.noop,onKeyUp:u.noop,onResize:u.noop,type:null,contentFilters:["jquery","image","html","ajax","iframe","text"],setup:function(e,t){"object"!=typeof e||e instanceof u!=!1||t||(t=e,e=void 0);var n=u.extend(this,t,{target:e}),a=n.resetCss?n.namespace+"-reset":n.namespace,s=u(n.background||['<div class="'+a+"-loading "+a+'">','<div class="'+a+'-content">','<button class="'+a+"-close-icon "+n.namespace+'-close" aria-label="Close">',n.closeIcon,"</button>",'<div class="'+n.namespace+'-inner">'+n.loading+"</div>","</div>","</div>"].join("")),i="."+n.namespace+"-close"+(n.otherClose?","+n.otherClose:"");return n.$instance=s.clone().addClass(n.variant),n.$instance.on(n.closeTrigger+"."+n.namespace,function(e){if(!e.isDefaultPrevented()){var t=u(e.target);("background"===n.closeOnClick&&t.is("."+n.namespace)||"anywhere"===n.closeOnClick||t.closest(i).length)&&(n.close(e),e.preventDefault())}}),this},getContent:function(){if(!1!==this.persist&&this.$content)return this.$content;var t=this,e=this.constructor.contentFilters,n=function(e){return t.$currentTarget&&t.$currentTarget.attr(e)},a=n(t.targetAttr),s=t.target||a||"",i=e[t.type];if(!i&&s in e&&(i=e[s],s=t.target&&a),s=s||n("href")||"",!i)for(var o in e)t[o]&&(i=e[o],s=t[o]);if(!i){var r=s;if(s=null,u.each(t.contentFilters,function(){return(i=e[this]).test&&(s=i.test(r)),!s&&i.regex&&r.match&&r.match(i.regex)&&(s=r),!s}),!s)return"console"in window&&window.console.error("Featherlight: no content filter found "+(r?' for "'+r+'"':" (no target specified)")),!1}return i.process.call(t,s)},setContent:function(e){return this.$instance.removeClass(this.namespace+"-loading"),this.$instance.toggleClass(this.namespace+"-iframe",e.is("iframe")),this.$instance.find("."+this.namespace+"-inner").not(e).slice(1).remove().end().replaceWith(u.contains(this.$instance[0],e[0])?"":e),this.$content=e.addClass(this.namespace+"-inner"),this},open:function(t){var n=this;if(n.$instance.hide().appendTo(n.root),!(t&&t.isDefaultPrevented()||!1===n.beforeOpen(t))){t&&t.preventDefault();var e=n.getContent();if(e)return a.push(n),r(!0),n.$instance.fadeIn(n.openSpeed),n.beforeContent(t),u.when(e).always(function(e){n.setContent(e),n.afterContent(t)}).then(n.$instance.promise()).done(function(){n.afterOpen(t)})}return n.$instance.detach(),u.Deferred().reject().promise()},close:function(e){var t=this,n=u.Deferred();return!1===t.beforeClose(e)?n.reject():(0===s(t).length&&r(!1),t.$instance.fadeOut(t.closeSpeed,function(){t.$instance.detach(),t.afterClose(e),n.resolve()})),n.promise()},resize:function(e,t){if(e&&t){this.$content.css("width","").css("height","");var n=Math.max(e/(this.$content.parent().width()-1),t/(this.$content.parent().height()-1));1<n&&(n=t/Math.floor(t/n),this.$content.css("width",e/n+"px").css("height",t/n+"px"))}},chainCallbacks:function(e){for(var t in e)this[t]=u.proxy(e[t],this,u.proxy(this[t],this))}},u.extend(l,{id:0,autoBind:"[data-featherlight]",defaults:l.prototype,contentFilters:{jquery:{regex:/^[#.]\w/,test:function(e){return e instanceof u&&e},process:function(e){return!1!==this.persist?u(e):u(e).clone(!0)}},image:{regex:/\.(png|jpg|jpeg|gif|tiff?|bmp|svg)(\?\S*)?$/i,process:function(e){var t=u.Deferred(),n=new Image,a=u('<img src="'+e+'" alt="" class="'+this.namespace+'-image" />');return n.onload=function(){a.naturalWidth=n.width,a.naturalHeight=n.height,t.resolve(a)},n.onerror=function(){t.reject(a)},n.src=e,t.promise()}},html:{regex:/^\s*<[\w!][^<]*>/,process:function(e){return u(e)}},ajax:{regex:/./,process:function(e){var n=u.Deferred(),a=u("<div></div>").load(e,function(e,t){"error"!==t&&n.resolve(a.contents()),n.fail()});return n.promise()}},iframe:{process:function(e){var t=new u.Deferred,n=u("<iframe/>"),a=function(e,t){var n={},a=new RegExp("^"+t+"([A-Z])(.*)");for(var s in e){var i=s.match(a);i&&(n[(i[1]+i[2].replace(/([A-Z])/g,"-$1")).toLowerCase()]=e[s])}return n}(this,"iframe"),s=function(e,t){var n={};for(var a in e)a in t&&(n[a]=e[a],delete e[a]);return n}(a,i);return n.hide().attr("src",e).attr(s).css(a).on("load",function(){t.resolve(n.show())}).appendTo(this.$instance.find("."+this.namespace+"-content")),t.promise()}},text:{process:function(e){return u("<div>",{text:e})}}},functionAttributes:["beforeOpen","afterOpen","beforeContent","afterContent","beforeClose","afterClose"],readElementConfig:function(e,t){var a=this,s=new RegExp("^data-"+t+"-(.*)"),i={};return e&&e.attributes&&u.each(e.attributes,function(){var e=this.name.match(s);if(e){var t=this.value,n=u.camelCase(e[1]);if(0<=u.inArray(n,a.functionAttributes))t=new Function(t);else try{t=JSON.parse(t)}catch(e){}i[n]=t}}),i},extend:function(e,t){var n=function(){this.constructor=e};return n.prototype=this.prototype,e.prototype=new n,e.__super__=this.prototype,u.extend(e,this,t),e.defaults=e.prototype,e},attach:function(s,i,o){var r=this;"object"!=typeof i||i instanceof u!=!1||o||(o=i,i=void 0);var l,e=(o=u.extend({},o)).namespace||r.defaults.namespace,c=u.extend({},r.defaults,r.readElementConfig(s[0],e),o),t=function(e){var t=u(e.currentTarget),n=u.extend({$source:s,$currentTarget:t},r.readElementConfig(s[0],c.namespace),r.readElementConfig(e.currentTarget,c.namespace),o),a=l||t.data("featherlight-persisted")||new r(i,n);"shared"===a.persist?l=a:!1!==a.persist&&t.data("featherlight-persisted",a),n.$currentTarget.blur&&n.$currentTarget.blur(),a.open(e)};return s.on(c.openTrigger+"."+c.namespace,c.filter,t),t},current:function(){var e=this.opened();return e[e.length-1]||null},opened:function(){var t=this;return s(),u.grep(a,function(e){return e instanceof t})},close:function(e){var t=this.current();if(t)return t.close(e)},_onReady:function(){var t=this;t.autoBind&&(u(t.autoBind).each(function(){t.attach(u(this))}),u(document).on("click",t.autoBind,function(e){e.isDefaultPrevented()||t.attach(u(e.currentTarget))(e)}))},_callbackChain:{onKeyUp:function(e,t){return 27===t.keyCode?(this.closeOnEsc&&u.featherlight.close(t),!1):e(t)},beforeOpen:function(e,t){return u(document.documentElement).addClass("with-featherlight"),this._previouslyActive=document.activeElement,this._$previouslyTabbable=u("a, input, select, textarea, iframe, button, iframe, [contentEditable=true]").not("[tabindex]").not(this.$instance.find("button")),this._$previouslyWithTabIndex=u("[tabindex]").not('[tabindex="-1"]'),this._previousWithTabIndices=this._$previouslyWithTabIndex.map(function(e,t){return u(t).attr("tabindex")}),this._$previouslyWithTabIndex.add(this._$previouslyTabbable).attr("tabindex",-1),document.activeElement.blur&&document.activeElement.blur(),e(t)},afterClose:function(e,t){var n=e(t),a=this;return this._$previouslyTabbable.removeAttr("tabindex"),this._$previouslyWithTabIndex.each(function(e,t){u(t).attr("tabindex",a._previousWithTabIndices[e])}),this._previouslyActive.focus(),0===l.opened().length&&u(document.documentElement).removeClass("with-featherlight"),n},onResize:function(e,t){return this.resize(this.$content.naturalWidth,this.$content.naturalHeight),e(t)},afterContent:function(e,t){var n=e(t);return this.$instance.find("[autofocus]:not([disabled])").focus(),this.onResize(t),n}}}),u.featherlight=l,u.fn.featherlight=function(e,t){return l.attach(this,e,t),this},u(document).ready(function(){l._onReady()})}else"console"in window&&window.console.info("Too much lightness, Featherlight needs jQuery.");function l(e,t){if(!(this instanceof l)){var n=new l(e,t);return n.open(),n}this.id=l.id++,this.setup(e,t),this.chainCallbacks(l._callbackChain)}}(jQuery),function(){"use strict";function e(w){w.fn._fadeIn=w.fn.fadeIn;var T=w.noop||function(){},I=/MSIE/.test(navigator.userAgent),$=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),E=(document.documentMode,w.isFunction(document.createElement("div").style.setExpression));w.blockUI=function(e){n(window,e)},w.unblockUI=function(e){U(window,e)},w.growlUI=function(e,t,n,a){var s=w('<div class="growlUI"></div>');e&&s.append("<h1>"+e+"</h1>"),t&&s.append("<h2>"+t+"</h2>"),void 0===n&&(n=3e3);var i=function(e){e=e||{},w.blockUI({message:s,fadeIn:void 0!==e.fadeIn?e.fadeIn:700,fadeOut:void 0!==e.fadeOut?e.fadeOut:1e3,timeout:void 0!==e.timeout?e.timeout:n,centerY:!1,showOverlay:!1,onUnblock:a,css:w.blockUI.defaults.growlCSS})};i();s.css("opacity");s.mouseover(function(){i({fadeIn:0,timeout:3e4});var e=w(".blockMsg");e.stop(),e.fadeTo(300,1)}).mouseout(function(){w(".blockMsg").fadeOut(1e3)})},w.fn.block=function(e){if(this[0]===window)return w.blockUI(e),this;var t=w.extend({},w.blockUI.defaults,e||{});return this.each(function(){var e=w(this);t.ignoreIfBlocked&&e.data("blockUI.isBlocked")||e.unblock({fadeOut:0})}),this.each(function(){"static"==w.css(this,"position")&&(this.style.position="relative",w(this).data("blockUI.static",!0)),this.style.zoom=1,n(this,e)})},w.fn.unblock=function(e){return this[0]===window?(w.unblockUI(e),this):this.each(function(){U(this,e)})},w.blockUI.version=2.7,w.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var A=null,D=[];function n(e,s){var t,n,i=e==window,a=s&&void 0!==s.message?s.message:void 0;if(!(s=w.extend({},w.blockUI.defaults,s||{})).ignoreIfBlocked||!w(e).data("blockUI.isBlocked")){if(s.overlayCSS=w.extend({},w.blockUI.defaults.overlayCSS,s.overlayCSS||{}),t=w.extend({},w.blockUI.defaults.css,s.css||{}),s.onOverlayClick&&(s.overlayCSS.cursor="pointer"),n=w.extend({},w.blockUI.defaults.themedCSS,s.themedCSS||{}),a=void 0===a?s.message:a,i&&A&&U(window,{fadeOut:0}),a&&"string"!=typeof a&&(a.parentNode||a.jquery)){var o=a.jquery?a[0]:a,r={};w(e).data("blockUI.history",r),r.el=o,r.parent=o.parentNode,r.display=o.style.display,r.position=o.style.position,r.parent&&r.parent.removeChild(o)}w(e).data("blockUI.onUnblock",s.onUnblock);var l,c,u,d,h=s.baseZ;l=I||s.forceIframe?w('<iframe class="blockUI" style="z-index:'+h+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+s.iframeSrc+'"></iframe>'):w('<div class="blockUI" style="display:none"></div>'),c=s.theme?w('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+h+++';display:none"></div>'):w('<div class="blockUI blockOverlay" style="z-index:'+h+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),s.theme&&i?(d='<div class="blockUI '+s.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(h+10)+';display:none;position:fixed">',s.title&&(d+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(s.title||"&nbsp;")+"</div>"),d+='<div class="ui-widget-content ui-dialog-content"></div>',d+="</div>"):s.theme?(d='<div class="blockUI '+s.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(h+10)+';display:none;position:absolute">',s.title&&(d+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(s.title||"&nbsp;")+"</div>"),d+='<div class="ui-widget-content ui-dialog-content"></div>',d+="</div>"):d=i?'<div class="blockUI '+s.blockMsgClass+' blockPage" style="z-index:'+(h+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+s.blockMsgClass+' blockElement" style="z-index:'+(h+10)+';display:none;position:absolute"></div>',u=w(d),a&&(s.theme?(u.css(n),u.addClass("ui-widget-content")):u.css(t)),s.theme||c.css(s.overlayCSS),c.css("position",i?"fixed":"absolute"),(I||s.forceIframe)&&l.css("opacity",0);var p=[l,c,u],f=w(i?"body":e);w.each(p,function(){this.appendTo(f)}),s.theme&&s.draggable&&w.fn.draggable&&u.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var m=E&&(!w.support.boxModel||0<w("object,embed",i?null:e).length);if($||m){if(i&&s.allowBodyStretch&&w.support.boxModel&&w("html,body").css("height","100%"),($||!w.support.boxModel)&&!i)var g=O(e,"borderTopWidth"),x=O(e,"borderLeftWidth"),b=g?"(0 - "+g+")":0,v=x?"(0 - "+x+")":0;w.each(p,function(e,t){var n=t[0].style;if(n.position="absolute",e<2)i?n.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+s.quirksmodeOffsetHack+') + "px"'):n.setExpression("height",'this.parentNode.offsetHeight + "px"'),i?n.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):n.setExpression("width",'this.parentNode.offsetWidth + "px"'),v&&n.setExpression("left",v),b&&n.setExpression("top",b);else if(s.centerY)i&&n.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),n.marginTop=0;else if(!s.centerY&&i){var a="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(s.css&&s.css.top?parseInt(s.css.top,10):0)+') + "px"';n.setExpression("top",a)}})}if(a&&(s.theme?u.find(".ui-widget-content").append(a):u.append(a),(a.jquery||a.nodeType)&&w(a).show()),(I||s.forceIframe)&&s.showOverlay&&l.show(),s.fadeIn){var _=s.onBlock?s.onBlock:T,y=s.showOverlay&&!a?_:T,k=a?_:T;s.showOverlay&&c._fadeIn(s.fadeIn,y),a&&u._fadeIn(s.fadeIn,k)}else s.showOverlay&&c.show(),a&&u.show(),s.onBlock&&s.onBlock.bind(u)();if(j(1,e,s),i?(A=u[0],D=w(s.focusableElements,A),s.focusInput&&setTimeout(S,20)):function(e,t,n){var a=e.parentNode,s=e.style,i=(a.offsetWidth-e.offsetWidth)/2-O(a,"borderLeftWidth"),o=(a.offsetHeight-e.offsetHeight)/2-O(a,"borderTopWidth");t&&(s.left=0<i?i+"px":"0");n&&(s.top=0<o?o+"px":"0")}(u[0],s.centerX,s.centerY),s.timeout){var C=setTimeout(function(){i?w.unblockUI(s):w(e).unblock(s)},s.timeout);w(e).data("blockUI.timeout",C)}}}function U(e,t){var n,a,s=e==window,i=w(e),o=i.data("blockUI.history"),r=i.data("blockUI.timeout");r&&(clearTimeout(r),i.removeData("blockUI.timeout")),t=w.extend({},w.blockUI.defaults,t||{}),j(0,e,t),null===t.onUnblock&&(t.onUnblock=i.data("blockUI.onUnblock"),i.removeData("blockUI.onUnblock")),a=s?w("body").children().filter(".blockUI").add("body > .blockUI"):i.find(">.blockUI"),t.cursorReset&&(1<a.length&&(a[1].style.cursor=t.cursorReset),2<a.length&&(a[2].style.cursor=t.cursorReset)),s&&(A=D=null),t.fadeOut?(n=a.length,a.stop().fadeOut(t.fadeOut,function(){0==--n&&l(a,o,t,e)})):l(a,o,t,e)}function l(e,t,n,a){var s=w(a);if(!s.data("blockUI.isBlocked")){e.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),t&&t.el&&(t.el.style.display=t.display,t.el.style.position=t.position,t.el.style.cursor="default",t.parent&&t.parent.appendChild(t.el),s.removeData("blockUI.history")),s.data("blockUI.static")&&s.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(a,n);var i=w(document.body),o=i.width(),r=i[0].style.width;i.width(o-1).width(o),i[0].style.width=r}}function j(e,t,n){var a=t==window,s=w(t);if((e||(!a||A)&&(a||s.data("blockUI.isBlocked")))&&(s.data("blockUI.isBlocked",e),a&&n.bindEvents&&(!e||n.showOverlay))){var i="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";e?w(document).bind(i,n,o):w(document).unbind(i,o)}}function o(e){if("keydown"===e.type&&e.keyCode&&9==e.keyCode&&A&&e.data.constrainTabKey){var t=D,n=!e.shiftKey&&e.target===t[t.length-1],a=e.shiftKey&&e.target===t[0];if(n||a)return setTimeout(function(){S(a)},10),!1}var s=e.data,i=w(e.target);return i.hasClass("blockOverlay")&&s.onOverlayClick&&s.onOverlayClick(e),0<i.parents("div."+s.blockMsgClass).length||0===i.parents().children().filter("div.blockUI").length}function S(e){if(D){var t=D[!0===e?D.length-1:0];t&&t.focus()}}function O(e,t){return parseInt(w.css(e,t),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}(),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(b){"use strict";var v=b.scrollTo=function(e,t,n){return b(window).scrollTo(e,t,n)};function _(e){return!e.nodeName||-1!==b.inArray(e.nodeName.toLowerCase(),["iframe","#document","html","body"])}function t(e){return b.isFunction(e)||b.isPlainObject(e)?e:{top:e,left:e}}return v.defaults={axis:"xy",duration:0,limit:!0},b.fn.scrollTo=function(e,n,g){"object"==typeof n&&(g=n,n=0),"function"==typeof g&&(g={onAfter:g}),"max"===e&&(e=9e9),g=b.extend({},v.defaults,g),n=n||g.duration;var x=g.queue&&1<g.axis.length;return x&&(n/=2),g.offset=t(g.offset),g.over=t(g.over),this.each(function(){if(null!==e){var l,c=_(this),u=c?this.contentWindow||window:this,d=b(u),h=e,p={};switch(typeof h){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(h)){h=t(h);break}h=c?b(h):b(h,u);case"object":if(0===h.length)return;(h.is||h.style)&&(l=(h=b(h)).offset())}var f=b.isFunction(g.offset)&&g.offset(u,h)||g.offset;b.each(g.axis.split(""),function(e,t){var n="x"===t?"Left":"Top",a=n.toLowerCase(),s="scroll"+n,i=d[s](),o=v.max(u,t);if(l)p[s]=l[a]+(c?0:i-d.offset()[a]),g.margin&&(p[s]-=parseInt(h.css("margin"+n),10)||0,p[s]-=parseInt(h.css("border"+n+"Width"),10)||0),p[s]+=f[a]||0,g.over[a]&&(p[s]+=h["x"===t?"width":"height"]()*g.over[a]);else{var r=h[a];p[s]=r.slice&&"%"===r.slice(-1)?parseFloat(r)/100*o:r}g.limit&&/^\d+$/.test(p[s])&&(p[s]=p[s]<=0?0:Math.min(p[s],o)),!e&&1<g.axis.length&&(i===p[s]?p={}:x&&(m(g.onAfterFirst),p={}))}),m(g.onAfter)}function m(e){var t=b.extend({},g,{queue:!0,duration:n,complete:e&&function(){e.call(u,h,g)}});d.animate(p,t)}})},v.max=function(e,t){var n="x"===t?"Width":"Height",a="scroll"+n;if(!_(e))return e[a]-b(e)[n.toLowerCase()]();var s="client"+n,i=e.ownerDocument||e.document,o=i.documentElement,r=i.body;return Math.max(o[a],r[a])-Math.min(o[s],r[s])},b.Tween.propHooks.scrollLeft=b.Tween.propHooks.scrollTop={get:function(e){return b(e.elem)[e.prop]()},set:function(e){var t=this.get(e);if(e.options.interrupt&&e._last&&e._last!==t)return b(e.elem).stop();var n=Math.round(e.now);t!==n&&(b(e.elem)[e.prop](n),e._last=this.get(e))}},v}),function(r,t,n,e){"use strict";var a="AuxWizard",s={modalClass:".aux-open-modal",loading:aux_setup_params.svg_loader};function i(e,t){this.element=e,this.$element=r(e),this.settings=r.extend({},s,t),this._defaults=s,this._name=a,this.$modalElement=null,this._modalButton=null,this._ajaxData=null,this._ajaxUrl=aux_setup_params.ajaxurl,this._elStorage={},this._importData={},this.$isotopeTemplate=null,this.$isotopeList=null,this.$isotopePlugins=null,this.init()}r.extend(i.prototype,{init:function(){this._callIsotope(),r(".aux-isotope-group").on("change",this._changeGroup.bind(this)),this._openModal(),this._manipulations(),this._lazyloadConfig(),r(n).on("click",".aux-next-step",this._stepManager.bind(this)),r(n).on("click",".aux-install-demo",this._demoManager.bind(this)),r(n).on("click",".aux-uninstall-demo",this._uninstallDemo.bind(this)),r(n).on("click",".aux-copy-template",this._tempManager.bind(this)),r(n).on("click",".install-plugins",this._pluginManager.bind(this)),r(n).on("click",".aux-install-updates",this._updateManager.bind(this)),r(n).on("submit",".auxin-check-purchase",this._activateLicense.bind(this)),r(n).on("click",".aux-refresh-page",this._refresh.bind(this)),r(n).on("click",".aux-verify-elements-email",this._verifyEnvatoElementsEmail.bind(this)),r(n).on("click",".aux-verify-elements-token, .aux-token-step-continue",this._verifyEnvatoElementsToken.bind(this))},_globalAJAX:function(e){r.ajax({url:this._ajaxUrl,type:"post",data:this._ajaxData}).done(e)},_refresh:function(e){void 0!==e.preventDefault&&e.preventDefault(),location.reload()},_activateLicense:function(e){if(e.currentTarget){void 0!==e.preventDefault&&e.preventDefault();var t=r(e.currentTarget),n=t.find(".aux-activate-license"),a=t.find(".aux-notice"),s=null,i={};r.each(t.serializeArray(),function(e,t){i[t.name]=t.value}),a.length||(a=r("<div>",{class:"aux-notice"}).appendTo(t)),this._ajaxData={action:i.action,usermail:i.usermail,purchase:i.purchase,security:i.security},n.addClass("aux-button-loading"),a.removeClass("success warning").hide(),this._controlActions("off"),this._globalAJAX(function(e){null!==e&&e.success?(n.addClass("aux-button-success aux-refresh-page"),a.addClass("success"),s="aux-button-success aux-button-loading",r(this._modalButton).closest(".aux-purchase-activation-notice").fadeOut()):(n.addClass("aux-button-error"),a.addClass("warning"),s="aux-button-error aux-button-loading"),t.removeClass("aux-form-in-progress"),setTimeout(function(){n.removeClass(s),n.find("span").text(e.data.buttonText)},1e3),a.show().html(e.data.message),this._controlActions("on")}.bind(this))}},_openModal:function(){var t=this,e=(r(t.settings.modalClass).featherlight({targetAttr:"href",closeOnEsc:!1,closeOnClick:!1,contentFilters:["ajax"],loading:this.settings.loading,otherClose:".aux-pp-close",afterOpen:function(e){if(r(".featherlight .aux-wizard-plugins").length)new PerfectScrollbar(".featherlight .aux-wizard-plugins");t._modalButton=e.currentTarget,t.$modalElement=this.$instance,r(t._modalButton).hasClass("aux-has-next-action")&&t._tempManager({currentTarget:e.currentTarget})}}),r(".aux-ajax-open-modal").featherlight({targetAttr:"href",contentFilters:["ajax"],otherClose:".aux-pp-close",closeOnClick:!1,loading:this.settings.loading,afterOpen:function(e){t._modalButton=e.currentTarget,t.$modalElement=this.$instance}}));1===e.data("auto-open")&&e.click()},_changeGroup:function(e){if(e.currentTarget){var t=e.currentTarget.checked?"section":"page";this._ajaxData={action:"aux_isotope_group",group:t,nonce:r(e.currentTarget).data("nonce"),key:"templates_kit"},this._globalAJAX(function(e){null!==e&&e.success?this.$isotopeTemplate.AuxIsotope("changeGroup",t):console.log(e)}.bind(this))}},_updateManager:function(e){if(e.currentTarget){void 0!==e.preventDefault&&e.preventDefault();var t=r(e.currentTarget);this.$buttonParentEl=t.closest(".aux-updates-step"),this.$updatesListEl=this.$buttonParentEl.find(".aux-update-list"),this.$updatesList=this.$updatesListEl.find(".aux-item"),this._itemsCompleted=0,this._attemptsBuffer=0,this._currentItem=null,this._itemType=null,this._dataNonce=t.data("nonce"),this._buttonTarget=e.currentTarget,this.$currentNode=null,this.$updatesListEl.addClass("installing"),t.text(aux_setup_params.btnworks_text).addClass("disabled"),this._controlActions("off"),this._processUpdates()}},_processUpdates:function(){var e=this,t=!1;this.$currentNode&&(this.$currentNode.data("done_item")||(this._itemsCompleted++,this.$currentNode.data("done_item",1))),this.$updatesList.each(function(){null==e._currentItem||t?(r(this).addClass("work-in-progress"),e._currentItem=r(this).data("key"),e._itemType=r(this).data("type"),e.$currentNode=r(this),e._installUpdate(),t=!1):r(this).data("key")===e._currentItem&&(r(this).removeClass("work-in-progress"),t=!0)}),this._itemsCompleted>=this.$updatesList.length&&(this._controlActions("on"),this.$updatesListEl.removeClass("installing"),r(this._buttonTarget).text(aux_setup_params.activate_text).removeClass("disabled"),0==this.$updatesList.not(".aux-success").length&&this._refresh({currentTarget:this._buttonTarget}))},_installUpdate:function(){this._currentItem&&(this._ajaxData={action:"auxin_start_upgrading",key:this._currentItem,type:this._itemType,nonce:this._dataNonce},this._globalAJAX(function(e){this._updateActions(e)}.bind(this)))},_updateActions:function(e){"object"==typeof e&&e.success?(this.$currentNode.find(".column-status span").text(e.data.successMessage),this.$currentNode.addClass("aux-success").find(".aux-check-column").remove(),this.$currentNode.find(".check-column").append("<i class='aux-success-icon auxicon-check-mark-circle-outline'></i>")):this.$currentNode.addClass("aux-error").find(".column-status span").text(e.data.errorMessage),this._processUpdates()},_stepManager:function(e){if(e.currentTarget){void 0!==e.preventDefault&&e.preventDefault();var t=r(e.currentTarget),n=this.$modalElement.find(".aux-steps-col");this._ajaxData={action:"aux_step_manager",next_step:t.data("next-step"),nonce:t.data("step-nonce"),args:t.data("args"),next_action:t.data("next-action")},n.addClass("aux-step-in-progress"),this._controlActions("off"),this._globalAJAX(function(e){null!==e&&e.success?(n.removeClass("aux-step-in-progress").html(e.data.markup),this._ajaxData.next_action&&this._tempManager({currentTarget:this._modalButton})):console.log(e),this._controlActions("on")}.bind(this))}},_tempManager:function(e){if(e.currentTarget){void 0!==e.preventDefault&&e.preventDefault();var t=r(e.currentTarget),n=null!=this.$modalElement?this.$modalElement.find(".aux-steps-col"):null;this._ajaxData={action:"auxin_templates_data",verify:t.data("nonce"),ID:t.data("template-id"),type:t.data("template-type"),tmpl:t.data("template-page-tmpl"),status:t.data("status-type"),title:t.data("template-title")},"copy"===this._ajaxData.status&&t.addClass("aux-button-loading"),this._controlActions("off"),this._globalAJAX(function(e){null!==e&&e.success?"copy"===e.data.status?(this._updateElementorLocalStorage(this._ajaxData.type,e.data.result.content),t.addClass("aux-button-success"),setTimeout(function(){t.removeClass("aux-button-success aux-button-loading")},1e3)):(t.data("status-type","copy").prop("data-status-type","copy").addClass("aux-copy-template aux-orange").removeClass("aux-import-template aux-has-next-action aux-green2").removeAttr("href"),t.find("span").text(e.data.label),t.next(".aux-more-button").removeClass("hide"),n.html(e.data.result)):n.html(e.data),this._controlActions("on")}.bind(this))}},_updateElementorLocalStorage:function(e,t){this._elStorage.transfer={type:"copy",elementsType:e,elements:t},localStorage.setItem("elementor",JSON.stringify(this._elStorage))},_demoManager:function(t){if(t.currentTarget){void 0!==t.preventDefault&&t.preventDefault();var e=r(t.currentTarget),n=e.closest(".aux-setup-demo-actions"),a=n.find(".aux-return-back"),s=n.find(".aux-progress"),i=this.$modalElement.find(".aux-install-demos"),o=this.$modalElement.find(".aux-install-demos-waiting");this._ajaxData={action:"auxin_demo_data",ID:e.data("import-id"),verify:e.data("nonce"),options:i.find(".aux-import-parts").serializeArray()},this.$progressBarLabelEl=s.find(".aux-progress-label"),i.addClass("hide"),o.removeClass("hide"),a.addClass("hide"),s.removeClass("hide"),this.$progressBarLabelEl.text("Getting Demo Data ..."),this._controlActions("off"),this._globalAJAX(function(e){null!==e&&e.success?this._demoImport({target:t.currentTarget,step:"download",message:"Downloading Media ...",index:null}):(console.log(e),i.removeClass("hide"),o.addClass("hide"),a.removeClass("hide"),s.addClass("hide"),this._controlActions("on"))}.bind(this))}},_demoImport:function(t){this._ajaxData={action:"import_step",step:t.step,index:t.index},this.$progressBarLabelEl.text(t.message),this._globalAJAX(function(e){null!==e&&e.success?"final"!==e.data.next?this._demoImport({target:t.target,step:e.data.next,message:e.data.message,index:e.data.hasOwnProperty("index")?e.data.index:""}):(this.$progressBarLabelEl.text(e.data.message),setTimeout(function(){this._controlActions("on"),this._stepManager({currentTarget:t.target})}.bind(this),1e3)):console.log(e)}.bind(this))},_uninstallDemo:function(e){if(e.currentTarget){void 0!==e.preventDefault&&e.preventDefault();var t=r(e.currentTarget),n=t.closest(".aux-setup-demo-actions");this._ajaxData={action:"aux_ajax_uninstall",id:t.data("demo-id"),key:r(this._modalButton).data("demo-key"),nonce:t.data("demo-nonce"),plugins:t.data("demo-plugins")},n.find(".aux-return-back").addClass("hide"),n.find(".aux-progress").removeClass("hide"),this._controlActions("off"),this._globalAJAX(function(e){n.find(".aux-return-back").removeClass("hide"),n.find(".aux-progress").addClass("hide"),null!==e&&e.success?(this.$modalElement.find(".aux-steps-col").html(e.data.markup),r(this._modalButton).removeClass("aux-uninstall aux-orange").addClass("aux-green2").text(e.data.button).attr("href",e.data.url)):console.log(e),this._controlActions("on")}.bind(this))}},_pluginManager:function(e){if(e.currentTarget){void 0!==e.preventDefault&&e.preventDefault();var t=r(e.currentTarget);this.$buttonParentEl=t.closest(".aux-has-required-plugins"),this.$pluginsListEl=this.$buttonParentEl.find(".aux-wizard-plugins"),this._selectedPluginsNum=this.$buttonParentEl.find('.aux-plugin input[name="plugin[]"]:checked').length,this._itemsCompleted=0,this._attemptsBuffer=0,this._currentItem=null,this._buttonTarget=e.currentTarget,this.$currentNode=null,this.$pluginsListEl.addClass("installing"),t.text(aux_setup_params.btnworks_text).addClass("disabled"),this._controlActions("off"),this._processPlugins()}},_processPlugins:function(){var e=this,t=!1,n=this.$buttonParentEl.find(".aux-plugin");this._pluginScrollTo(),this.$currentNode&&(this.$currentNode.data("done_item")||(this._itemsCompleted++,this.$currentNode.data("done_item",1)),this.$currentNode.find(".spinner").css("visibility","hidden")),n.each(function(){null==e._currentItem||t?r(this).find('input[name="plugin[]"]').is(":checked")&&(r(this).addClass("work-in-progress"),e._currentItem=r(this).data("slug"),e.$currentNode=r(this),e.$currentNode.find(".spinner").css("visibility","visible"),e._installPlugin(),t=!1):r(this).data("slug")===e._currentItem&&(r(this).removeClass("work-in-progress"),t=!0)}),this._itemsCompleted>=this._selectedPluginsNum&&(this._controlActions("on"),this.$buttonParentEl.find(".aux-wizard-plugins").removeClass("installing"),r(this._buttonTarget).text(aux_setup_params.activate_text),this.$buttonParentEl.find(".skip-next").text(aux_setup_params.nextstep_text),0==this.$buttonParentEl.find(".aux-plugin").not(".aux-success").length&&this.$buttonParentEl.hasClass("aux-modal-item")&&this._stepManager({currentTarget:this._buttonTarget}))},_installPlugin:function(){if(this._currentItem){var e=this.$buttonParentEl.find('.aux-wizard-plugins input[name="plugin[]"]:checked').map(function(){return r(this).val()}).get();this._ajaxData={action:"aux_setup_plugins",wpnonce:aux_setup_params.wpnonce,slug:this._currentItem,plugins:e},this._globalAJAX(function(e){this._pluginActions(e)}.bind(this))}},_pluginActions:function(t){"object"==typeof t&&t.success?(this.$currentNode.find(".column-status span").text(t.data.message),void 0!==t.data.url?this.currentItemHash==t.data.hash?(this.$currentNode.data("done_item",0).find(".column-status span").text("failed"),this.currentItemHash=null,this._installPlugin()):(this._ajaxUrl=t.data.url,this._ajaxData=t.data,this.currentItemHash=t.data.hash,this._globalAJAX(function(e){this._ajaxUrl=aux_setup_params.ajaxurl,this.$currentNode.find(".column-status span").text(t.data.message),this._installPlugin()}.bind(this))):(this.$currentNode.addClass("aux-success").find(".aux-check-column").remove(),this.$currentNode.find(".check-column").append("<i class='aux-success-icon auxicon-check-mark-circle-outline'></i>"),this._processPlugins())):1<this._attemptsBuffer?(this._attemptsBuffer=0,this.$currentNode.addClass("aux-error").find(".column-status span").text("Ajax Error!"),this._processPlugins()):(this.currentItemHash=null,this._attemptsBuffer++,this._installPlugin())},_pluginScrollTo:function(){r(".aux-modal-item .aux-wizard-plugins").each(function(){r(this).scrollTo(r(this).find(".work-in-progress"),400)})},_controlActions:function(e){switch(e){case"on":r(t).off("beforeunload"),r(n).on("keydown keypress keyup"),r(".aux-pp-close").removeClass("hide");break;default:r(t).on("beforeunload",function(){return aux_setup_params.onbefore_text}),r(n).off("keydown keypress keyup"),r(".aux-pp-close").addClass("hide")}},_callIsotope:function(){this.$isotopeTemplate=r(".aux-isotope-templates").AuxIsotope({itemSelector:".aux-iso-item",revealTransitionDuration:0,revealBetweenDelay:0,revealTransitionDelay:0,hideTransitionDuration:0,hideBetweenDelay:0,hideTransitionDelay:0,updateUponResize:!0,transitionHelper:!0,filters:".aux-filters",slug:"filter",imgSizes:!0}),this.$isotopeList=r(".aux-isotope-list").AuxIsotope({itemSelector:".aux-iso-item",revealTransitionDuration:600,revealBetweenDelay:50,revealTransitionDelay:0,hideTransitionDuration:300,hideBetweenDelay:0,hideTransitionDelay:0,updateUponResize:!0,transitionHelper:!0,filters:".aux-filters",slug:"filter",imgSizes:!0}),this.$isotopePlugins=r(".aux-isotope-plugins-list").AuxIsotope({itemSelector:".aux-iso-item",revealTransitionDuration:600,revealBetweenDelay:50,revealTransitionDelay:50,hideTransitionDuration:100,hideBetweenDelay:0,hideTransitionDelay:0,updateUponResize:!0,transitionHelper:!0,filters:".aux-filters",slug:"filter",imgSizes:!0})},_lazyloadConfig:function(){n.addEventListener("lazyloaded",function(e){r(t).trigger("resize")})},_manipulations:function(){r(".aux-togglable").AuxinToggleSelected(),r('.aux-wizard-plugins input[name="plugin[]"]').each(function(){r(this).is(":checked")?r(this).closest(".aux-table-row").addClass("is-checked"):r(this).closest(".aux-table-row").removeClass("is-checked"),r(this).click(function(){r(this).is(":checked")?r(this).closest(".aux-table-row").addClass("is-checked"):r(this).closest(".aux-table-row").removeClass("is-checked")})}),r(".aux-plugins-step input[type=checkbox]").change(function(){0<r('.aux-wizard-plugins input[name="plugin[]"]').filter(":checked").length?r(".install-plugins").removeClass("disabled"):r(".install-plugins").addClass("disabled")}),r(n).on("click",".aux-install-demos input[type=checkbox]",function(e){0<r(".featherlight-content").find("input[type=checkbox]").filter(":checked").length?r(".featherlight-content").find(".button-next").removeClass("aux-next-step").data("callback","install_demos").attr("data-callback","install_demos").text(aux_setup_params.makedemo_text):r(".featherlight-content").find(".button-next").addClass("aux-next-step").text(aux_setup_params.nextstep_text).data("callback",null).removeAttr("data-callback")}),r(n).on("click",".aux-radio",function(e){r(this).closest("form").find(".aux-border").removeClass("is-checked"),r(this).parent(".aux-border").addClass("is-checked")}),r(n).on("click",".aux-more-button",function(e){e.preventDefault(),r(this).next(".aux-more-items").toggleClass("aux-display")})},_verifyEnvatoElementsEmail:function(e){if(e.currentTarget){var t=r(".email-field").val(),n=this,a=this.$modalElement.find(".aux-steps-col");this._buttonTarget=e.currentTarget,this._ajaxData={action:"aux_verify_envato_elements_email",email:t},a.addClass("aux-step-in-progress"),this._globalAJAX(function(e){e.status?n._stepManager({currentTarget:n._buttonTarget}):(a.removeClass("aux-step-in-progress"),r(".token-wrapper .result").addClass("error").text(e.message))})}},_verifyEnvatoElementsToken:function(e){if(e.currentTarget){var t=r(".token-field").val(),n=this,a=this.$modalElement.find(".aux-steps-col");this._buttonTarget=e.currentTarget,this._ajaxData={action:"aux_verify_envato_elements_token",token:t},a.addClass("aux-step-in-progress"),this._globalAJAX(function(e){r(n._buttonTarget).hasClass("aux-token-step-continue")?n._stepManager({currentTarget:n._buttonTarget}):e.status?(a.removeClass("aux-step-in-progress"),r(".token-wrapper .result").addClass("success").text(e.message)):(a.removeClass("aux-step-in-progress"),r(".token-wrapper .result").addClass("error").text(e.message))})}}}),r.fn[a]=function(e){return this.each(function(){new i(this,e)})}}(jQuery,window,document);
auxin-elements.php CHANGED
@@ -12,14 +12,14 @@
12
  * Plugin Name: Phlox Core Elements
13
  * Plugin URI: https://wordpress.org/plugins/auxin-elements/
14
  * Description: Exclusive and comprehensive plugin that extends the functionality of Phlox theme by adding new Elements, widgets and options.
15
- * Version: 2.5.16
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
19
  * License: GPL2
20
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
21
  * Domain Path: /languages
22
- * Tested up to: 5.4.0
23
  */
24
 
25
  // If this file is called directly, abort.
12
  * Plugin Name: Phlox Core Elements
13
  * Plugin URI: https://wordpress.org/plugins/auxin-elements/
14
  * Description: Exclusive and comprehensive plugin that extends the functionality of Phlox theme by adding new Elements, widgets and options.
15
+ * Version: 2.5.17
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
19
  * License: GPL2
20
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
21
  * Domain Path: /languages
22
+ * Tested up to: 5.4.1
23
  */
24
 
25
  // If this file is called directly, abort.
includes/classes/class-auxels-envato-elements.php ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Main class for comunicating with envato elements
4
+ *
5
+ *
6
+ * @package Auxin
7
+ * @license LICENSE.txt
8
+ * @author averta
9
+ * @link http://phlox.pro/
10
+ * @copyright (c) 2010-2020 averta
11
+ */
12
+
13
+ // no direct access allowed
14
+ if ( ! defined('ABSPATH') ) exit;
15
+
16
+ /*--------------------------------*/
17
+
18
+
19
+ class Auxels_Envato_Elements {
20
+
21
+ /**
22
+ * Instance of this class.
23
+ *
24
+ * @var object
25
+ */
26
+ protected static $instance = null;
27
+
28
+ public $extension_id_endpoint = 'https://wp.envatoextensions.com/wp-json/elements-content/v1/activate';
29
+
30
+ public $token_verification_endpoint = 'https://api.extensions.envato.com/extensions/user_info';
31
+
32
+ /**
33
+ * Return an instance of this class.
34
+ *
35
+ * @return object A single instance of this class.
36
+ */
37
+ public static function get_instance() {
38
+
39
+ // If the single instance hasn't been set, set it now.
40
+ if ( null == self::$instance ) {
41
+ self::$instance = new self;
42
+ }
43
+
44
+ return self::$instance;
45
+ }
46
+
47
+ public function __construct() {
48
+ add_action( 'wp_ajax_aux_verify_envato_elements_email', array( $this, 'ajax_get_Extension_ID' ) );
49
+ add_action( 'wp_ajax_aux_verify_envato_elements_token', array( $this, 'ajax_verify_token' ) );
50
+ }
51
+
52
+ /**
53
+ * Return Extension ID for communicating with envato elements
54
+ */
55
+ public function ajax_get_Extension_ID() {
56
+
57
+ if ( ! empty( get_option( 'phlox_envato_elements_license_code', '' ) ) ) {
58
+ wp_send_json( array( 'status' => true, 'message' => __( 'Email verified.', 'auxin-elements') ) );
59
+ }
60
+
61
+ $admin_email = sanitize_email( $_POST['email'] );
62
+
63
+ if ( empty( $admin_email ) ) {
64
+ wp_send_json( array( 'status' => false, 'message' => __( "Email is required!", 'auxin-elements') ) );
65
+ }
66
+
67
+ $args['body'] = array(
68
+ 'email' => $admin_email,
69
+ 'condition_terms' => 1,
70
+ 'condition_emails' => 0
71
+ );
72
+
73
+ $args['headers'] = array(
74
+ 'user-agent' => 'Mozilla/5.0 ' . home_url(),
75
+ 'sslverify' => 1,
76
+ );
77
+
78
+ $response = wp_remote_post( $this->extension_id_endpoint, $args );
79
+ if ( $response && ! is_wp_error( $response ) ) {
80
+ $response = json_decode( $response['body'], true );
81
+ if ( isset( $response['license_code'] ) ) {
82
+ update_option( 'phlox_envato_elements_license_code', $response['license_code'] );
83
+ wp_send_json( array( 'status' => true, 'message' => __( 'Email verified.', 'auxin-elements') ) );
84
+ } elseif ( isset( $response['error'] ) ) {
85
+ wp_send_json( array( 'status' => false, 'message' => $response['error'] ) );
86
+ } elseif ( isset( $response['message'] ) ) {
87
+ wp_send_json( array( 'status' => false, 'message' => $response['message'] ) );
88
+ } else {
89
+ wp_send_json( array( 'status' => false, 'message' => __( 'Something went wrong. Please try again later', 'auxin-elements' ) ) );
90
+ }
91
+ } else {
92
+ wp_send_json( array( 'status' => false, 'message' => $response->get_error_message() ) );
93
+ }
94
+ }
95
+
96
+ /**
97
+ * Verify Envato Elemnents token
98
+ */
99
+ public function ajax_verify_token() {
100
+ wp_send_json( $this->verify_token() );
101
+ }
102
+
103
+ public function verify_token() {
104
+
105
+ if ( ! empty( get_option( 'phlox_envato_elements_token', '' ) ) ) {
106
+ return array( 'status' => true, 'message' => __( 'Token is valid.', 'auxin-elements') );
107
+ }
108
+
109
+ $extension_id = get_option( 'phlox_envato_elements_license_code', '' );
110
+ $token = sanitize_text_field( $_POST['token'] );
111
+
112
+ $args['headers'] = array(
113
+ 'Extensions-Extension-Id' => $extension_id,
114
+ 'Extensions-Token' => $token
115
+ );
116
+
117
+ $response = wp_remote_get( $this->token_verification_endpoint, $args );
118
+
119
+ if ( $response && ! is_wp_error( $response ) ) {
120
+ $response = json_decode( $response['body'], true );
121
+ if ( isset( $response['error'] ) && isset( $response['error']['message'] ) ) {
122
+ return array( 'status' => false, 'message' => $response['error']['message'] );
123
+ }
124
+
125
+ if ( isset( $response['subscription_status'] ) && $response['subscription_status'] == 'paid' ) {
126
+ update_option( 'phlox_envato_elements_token', $token );
127
+ return array( 'status' => true, 'message' => __( 'Token is valid.', 'auxin-elements' ) );
128
+ } else {
129
+ return array( 'status' => false, 'message' => __( ' Token is not valid.', 'auxin-elements' ) );
130
+ }
131
+ } else {
132
+ if ( is_wp_error( $response ) ) {
133
+ return array( 'status' => false, 'message' => $response->get_error_message() );
134
+ } else {
135
+ return array( 'status' => false, 'message' => __( 'Something went wrong. Please try again later', 'auxin-elements' ) );
136
+ }
137
+ }
138
+ }
139
+
140
+ /**
141
+ * Check if envato elements token and extension id provided or not
142
+ */
143
+ public function is_envato_element_enabled() {
144
+ return ( ! empty( get_option( 'phlox_envato_elements_license_code', '' ) ) && ! empty( get_option( 'phlox_envato_elements_token', '' ) ) ) ? true : false;
145
+ }
146
+
147
+ } // end widget class
148
+
includes/classes/class-auxin-demo-importer.php CHANGED
@@ -369,6 +369,7 @@ class Auxin_Demo_Importer {
369
  $getLicense = empty( $getLicense ) ? get_site_option( AUXELS_PURCHASE_KEY ) : $getLicense;
370
  $bearer = ! empty( $getLicense['token'] ) ? $getLicense['token'] : '';
371
  $getToken = 'Bearer ' . $bearer;
 
372
  $request = wp_remote_post(
373
  $url,
374
  array(
@@ -379,7 +380,9 @@ class Auxin_Demo_Importer {
379
  'authorization' => $getToken
380
  ),
381
  'headers' => array(
382
- 'Authorization' => $getToken
 
 
383
  ),
384
  'timeout' => 25
385
  )
@@ -1681,12 +1684,18 @@ class Auxin_Demo_Importer {
1681
  $matches = array_merge( $matches, $image );
1682
  }
1683
  }
1684
-
1685
- preg_match_all('/"wp_gallery":(\[.*?\])/', $meta, $wp_gallery, PREG_SET_ORDER );
1686
- if ( !empty( $wp_gallery ) ) {
1687
- foreach ( $wp_gallery as $gallery_key => $gallery_val ) {
1688
- preg_match_all( '/\{\"id":.*?\}/' , $gallery_val[0], $gallery );
1689
- $matches = !empty( $gallery ) ? array_merge( $matches, $gallery ) : $matches;
 
 
 
 
 
 
1690
  }
1691
  }
1692
 
@@ -1698,14 +1707,6 @@ class Auxin_Demo_Importer {
1698
  }
1699
  }
1700
 
1701
- preg_match_all('/"carousel":(\[.*?\])/', $meta, $icon_lists, PREG_SET_ORDER );
1702
- if ( !empty( $icon_lists ) ) {
1703
- foreach ( $icon_lists as $list_key => $icon_list ) {
1704
- preg_match_all( '/\{\"id":.*?\}/' , $icon_list[0], $list );
1705
- $matches = !empty( $list ) ? array_merge( $matches, $list ) : $matches;
1706
- }
1707
- }
1708
-
1709
  // remove empties
1710
  $matches = array_filter( $matches );
1711
 
369
  $getLicense = empty( $getLicense ) ? get_site_option( AUXELS_PURCHASE_KEY ) : $getLicense;
370
  $bearer = ! empty( $getLicense['token'] ) ? $getLicense['token'] : '';
371
  $getToken = 'Bearer ' . $bearer;
372
+
373
  $request = wp_remote_post(
374
  $url,
375
  array(
380
  'authorization' => $getToken
381
  ),
382
  'headers' => array(
383
+ 'Authorization' => $getToken,
384
+ 'Envato-Extensions-Token' => get_option( 'phlox_envato_elements_token', '' ),
385
+ 'Envato-Extensions-Extension-Id' => get_option( 'phlox_envato_elements_license_code', '' ),
386
  ),
387
  'timeout' => 25
388
  )
1684
  $matches = array_merge( $matches, $image );
1685
  }
1686
  }
1687
+ $patterns = array(
1688
+ '"wp_gallery":(\[.*?\])',
1689
+ '"carousel":(\[.*?\])',
1690
+ '"attach_id":\{.*?\}'
1691
+ );
1692
+ foreach( $patterns as $key => $pattern ) {
1693
+ preg_match_all('/' . $pattern . '/', $meta, $wp_gallery, PREG_SET_ORDER );
1694
+ if ( !empty( $wp_gallery ) ) {
1695
+ foreach ( $wp_gallery as $gallery_key => $gallery_val ) {
1696
+ preg_match_all( '/\{\"id":.*?\}/' , $gallery_val[0], $gallery );
1697
+ $matches = !empty( $gallery ) ? array_merge( $matches, $gallery ) : $matches;
1698
+ }
1699
  }
1700
  }
1701
 
1707
  }
1708
  }
1709
 
 
 
 
 
 
 
 
 
1710
  // remove empties
1711
  $matches = array_filter( $matches );
1712
 
includes/classes/class-auxin-welcome.php CHANGED
@@ -1396,7 +1396,7 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
1396
  ),
1397
  '2' => array(
1398
  'method' => 'second_step',
1399
- 'next' => '3'
1400
  ),
1401
  '3' => array(
1402
  'method' => 'third_step',
@@ -1409,7 +1409,20 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
1409
  '5' => array(
1410
  'method' => 'progress_step',
1411
  'next' => ''
 
 
 
 
 
 
 
 
 
 
 
 
1412
  )
 
1413
  );
1414
 
1415
  if ( ! wp_verify_nonce( $nonce, 'aux-step-manager' ) ) {
@@ -1461,7 +1474,8 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
1461
  $plugins = $this->get_plugins( $plugins_list );
1462
  $has_plugin_required = ! empty( $plugins_list ) && ! empty( $plugins['all'] );
1463
 
1464
- if( $has_plugin_required ) :
 
1465
  ob_start();
1466
  ?>
1467
  <div class="aux-setup-demo-content aux-content-col aux-install-plugins">
@@ -1520,8 +1534,9 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
1520
  </div>
1521
  <?php
1522
  return ob_get_clean();
1523
- else :
1524
- return call_user_func( array( $this, 'third_step' ), $args, '4' );
 
1525
  endif;
1526
  }
1527
 
@@ -1655,6 +1670,115 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
1655
  </div>
1656
  <?php
1657
  return ob_get_clean();
1658
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1659
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1660
  }
1396
  ),
1397
  '2' => array(
1398
  'method' => 'second_step',
1399
+ 'next' => '6'
1400
  ),
1401
  '3' => array(
1402
  'method' => 'third_step',
1409
  '5' => array(
1410
  'method' => 'progress_step',
1411
  'next' => ''
1412
+ ),
1413
+ '6' => array(
1414
+ 'method' => 'envato_elements_step',
1415
+ 'next' => '3'
1416
+ ),
1417
+ '7' => array(
1418
+ 'method' => 'get_user_email_step',
1419
+ 'next' => '8'
1420
+ ),
1421
+ '8' => array(
1422
+ 'method' => 'verify_envato_elements_step',
1423
+ 'next' => '3'
1424
  )
1425
+
1426
  );
1427
 
1428
  if ( ! wp_verify_nonce( $nonce, 'aux-step-manager' ) ) {
1474
  $plugins = $this->get_plugins( $plugins_list );
1475
  $has_plugin_required = ! empty( $plugins_list ) && ! empty( $plugins['all'] );
1476
 
1477
+ if( $has_plugin_required ) :
1478
+ $next_step = Auxels_Envato_Elements::get_instance()->is_envato_element_enabled() ? '3' : $next_step;
1479
  ob_start();
1480
  ?>
1481
  <div class="aux-setup-demo-content aux-content-col aux-install-plugins">
1534
  </div>
1535
  <?php
1536
  return ob_get_clean();
1537
+ else :
1538
+ return Auxels_Envato_Elements::get_instance()->is_envato_element_enabled() ? call_user_func( array( $this, 'third_step' ), $args, '4' ) : call_user_func( array( $this, 'envato_elements_step' ), $args, '3' ) ;
1539
+ return ;
1540
  endif;
1541
  }
1542
 
1670
  </div>
1671
  <?php
1672
  return ob_get_clean();
1673
+ }
1674
+
1675
+ public function envato_elements_step( array $args, $next_step ) {
1676
+ ob_start();
1677
+ ?>
1678
+ <div class="aux-setup-demo-content aux-content-col aux-step-envato-elements">
1679
+ <img src="<?php echo esc_url( AUXELS_ADMIN_URL . '/assets/images/welcome/envato_elements.svg' ); ?>" />
1680
+ <h2 class="aux-step-import-title"><?php esc_html_e( 'Images are copyrighted and watermarked. You can remove watermarks by having Envato Elements subscription', 'auxin-elements' ); ?></h2>
1681
+ <p class="aux-step-description"><?php esc_html_e( "By subscribing to Envato Elements you will have access to unlimited premium stock images, icons, graphical assets, videos and more.", 'auxin-elements' ); ?></p>
1682
+ <a href="http://avt.li/elements" class="aux-button aux-primary aux-medium aux-explore-envato">
1683
+ <?php _e( 'Explore and Subscribe', 'auxin-elements' ); ?>
1684
+ </a>
1685
+ <?php
1686
+ $activate_step = '7';
1687
+ if ( ! empty( get_option( 'phlox_envato_elements_license_code', '' ) ) ) {
1688
+ $activate_step = '8';
1689
+ }
1690
+ ?>
1691
+ <p><?php esc_html_e( 'Already an Envato Elements member?', 'auxin-elements' ); ?> <a href="#" class="aux-next-step" data-next-step="<?php echo esc_attr( $activate_step ); ?>" data-args="<?php echo htmlspecialchars( wp_json_encode($args), ENT_QUOTES, 'UTF-8' ); ?>" data-step-nonce="<?php echo wp_create_nonce( 'aux-step-manager' ); ?>"><?php esc_html_e( 'Activate here', 'auxin-elements' );?></a> </p>
1692
+ </div>
1693
+ <div class="aux-setup-demo-actions">
1694
+ <div class="aux-return-back">
1695
+ <a href="#" data-next-step="<?php echo esc_attr( $next_step ); ?>" class="aux-button aux-next-step aux-outline aux-round aux-transparent aux-medium" data-args="<?php echo htmlspecialchars( wp_json_encode($args), ENT_QUOTES, 'UTF-8' ); ?>" data-step-nonce="<?php echo wp_create_nonce( 'aux-step-manager' ); ?>">
1696
+ <?php _e( 'Skip', 'auxin-elements' ); ?>
1697
+ </a>
1698
+ </div>
1699
+ </div>
1700
+ <?php
1701
+ return ob_get_clean();
1702
+ }
1703
 
1704
+ public function get_user_email_step( array $args, $next_step) {
1705
+ ob_start();
1706
+ ?>
1707
+ <div class="aux-setup-demo-content aux-content-col aux-step-envato-elements aux-step-verify-envato-elements">
1708
+ <img src="<?php echo esc_url( AUXELS_ADMIN_URL . '/assets/images/welcome/activation.svg' ); ?>" />
1709
+ <h2 class="aux-step-import-title"><?php esc_html_e( 'Verify Your Envato Elements Subscription', 'auxin-elements' ); ?></h2>
1710
+ <p class="aux-step-description"><?php esc_html_e( "Enter your email below and click continue button", 'auxin-elements' ); ?></p>
1711
+ <div class="token-wrapper">
1712
+ <input type="text" class="email-field" placeholder="<?php esc_attr_e( 'Enter your email', 'auxin-elements' ); ?>">
1713
+ <p class="result"></p>
1714
+ </div>
1715
+ </div>
1716
+ <div class="aux-setup-demo-actions">
1717
+ <div class="aux-return-back">
1718
+ <a href="#"
1719
+ class="aux-button aux-medium aux-primary aux-verify-elements-email"
1720
+ data-callback="get_license_code"
1721
+ data-args="<?php echo htmlspecialchars( wp_json_encode($args), ENT_QUOTES, 'UTF-8' ); ?>"
1722
+ data-next-step="<?php echo esc_attr( $next_step ); ?>"
1723
+ data-step-nonce="<?php echo wp_create_nonce( 'aux-step-manager' ); ?>"
1724
+ ><?php esc_html_e( 'Continue', 'auxin-elements' ); ?></a>
1725
+ <a href="#" class="aux-button aux-outline aux-round aux-transparent aux-medium aux-pp-close">
1726
+ <?php _e( 'Cancel', 'auxin-elements' ); ?>
1727
+ </a>
1728
+ </div>
1729
+ </div>
1730
+ <?php
1731
+ return ob_get_clean();
1732
+ }
1733
+
1734
+ public function verify_envato_elements_step( array $args, $next_step) {
1735
+ ob_start();
1736
+ ?>
1737
+ <div class="aux-setup-demo-content aux-content-col aux-step-envato-elements aux-step-verify-envato-elements">
1738
+ <img src="<?php echo esc_url( AUXELS_ADMIN_URL . '/assets/images/welcome/activation.svg' ); ?>" />
1739
+ <h2 class="aux-step-import-title"><?php esc_html_e( 'Verify Your Envato Elements Subscription', 'auxin-elements' ); ?></h2>
1740
+ <p class="aux-step-description"><?php esc_html_e( "Enter your token below to verify your Subscription", 'auxin-elements' ); ?></p>
1741
+ <div class="token-wrapper">
1742
+ <input type="text" class="token-field" placeholder="<?php esc_attr_e( 'Enter token here', 'auxin-elements' ); ?>">
1743
+ <a href="#" class="aux-button aux-medium aux-verify-elements-token">
1744
+ <?php _e( 'Verify token', 'auxin-elements' ); ?>
1745
+ </a>
1746
+ <p class="result"></p>
1747
+ </div>
1748
+ <div class="aux-info-links">
1749
+ <?php
1750
+ $token_link = '#';
1751
+ $extension_id = get_option( 'phlox_envato_elements_license_code', '' );
1752
+ if ( ! empty( $extension_id ) ) {
1753
+ $extension_description = get_bloginfo( 'name' ) . ' (' . get_home_url() . ')';
1754
+ $token_link = 'https://api.extensions.envato.com/extensions/begin_activation?extension_id=' . $extension_id . '&extension_type=envato-wordpress&extension_description=' . $this->encode_url_parameter( $extension_description ) . '&utm_content=settings&irgwc=1&clickid=1bPRxZzJ-xyOR7DwUx0Mo3EUUkiwuR1BCVsiXk0&iradid=298927&utm_campaign=elements_af_1264782&iradtype=ONLINE_TRACKING_LINK&irmptype=mediapartner&utm_medium=affiliate&utm_source=impact_radius&mp=averta';
1755
+ }
1756
+ ?>
1757
+ <a href="<?php echo esc_url( $token_link ); ?>" target="_blank" class="aux-generate-token" ><?php esc_html_e( 'How to generate a token ?', 'auxin-elements' );?></a>
1758
+ <a href="#" class="aux-subscription" ><?php esc_html_e( 'Don\'t have subscription?', 'auxin-elements' );?></a>
1759
+ </div>
1760
+ </div>
1761
+ <div class="aux-setup-demo-actions">
1762
+ <div class="aux-return-back">
1763
+ <a href="#"
1764
+ class="aux-button aux-medium aux-primary aux-token-step-continue button-next"
1765
+ data-next-step="<?php echo esc_attr( $next_step ); ?>"
1766
+ data-args="<?php echo htmlspecialchars( wp_json_encode($args), ENT_QUOTES, 'UTF-8' ); ?>"
1767
+ data-step-nonce="<?php echo wp_create_nonce( 'aux-step-manager' ); ?>"
1768
+ ><?php esc_html_e( 'Continue', 'auxin-elements' ); ?></a>
1769
+ <a href="#" class="aux-button aux-outline aux-round aux-transparent aux-medium aux-pp-close">
1770
+ <?php _e( 'Cancel', 'auxin-elements' ); ?>
1771
+ </a>
1772
+ </div>
1773
+ </div>
1774
+ <?php
1775
+ return ob_get_clean();
1776
+ }
1777
+
1778
+ private function encode_url_parameter( $parameter ) {
1779
+ $parameter = html_entity_decode( $parameter, ENT_QUOTES | ENT_XML1, 'UTF-8' );
1780
+ $parameter = str_replace( '#', '', $parameter );
1781
+
1782
+ return urlencode( $parameter );
1783
+ }
1784
  }
includes/define.php CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
12
  }
13
 
14
 
15
- define( 'AUXELS_VERSION' , '2.5.16' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
12
  }
13
 
14
 
15
+ define( 'AUXELS_VERSION' , '2.5.17' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
includes/elementor/widgets/modern-button.php CHANGED
@@ -682,7 +682,7 @@ class ModernButton extends Widget_Base {
682
  Group_Control_Box_Shadow::get_type(),
683
  [
684
  'name' => 'icon_hover_box_shadow',
685
- 'selector' => '{{WRAPPER}} .aux-modern-button:hover .aux-button'
686
  ]
687
  );
688
 
@@ -741,7 +741,8 @@ class ModernButton extends Widget_Base {
741
  */
742
  protected function render() {
743
 
744
- $settings = $this->get_settings_for_display();
 
745
 
746
  $this->add_render_attribute( 'wrapper', 'class', 'aux-modern-button-wrapper' );
747
  $this->add_render_attribute( 'wrapper', 'class', 'aux-modern-button-align-' . $settings['btn_align'] );
@@ -753,14 +754,16 @@ class ModernButton extends Widget_Base {
753
  $this->add_render_attribute( 'button', 'class', 'aux-modern-button-' . $settings['btn_type'] );
754
  $this->add_render_attribute( 'button', 'class', 'aux-icon-' . $settings['icon_align'] );
755
 
 
756
  if ( ! empty( $settings['link']['url'] ) ) {
757
  $this->add_link_attributes( 'button', $settings['link'] );
 
758
  }
759
 
760
  ?>
761
  <div <?php echo $this->get_render_attribute_string( 'wrapper' ); ?> >
762
  <?php
763
- if ( auxin_is_true( $settings['open_video_in_lightbox'] ) ) {
764
 
765
  $this->add_render_attribute( 'button', 'class', 'aux-open-video' );
766
  $this->add_render_attribute( 'button', 'data-type', 'video' );
682
  Group_Control_Box_Shadow::get_type(),
683
  [
684
  'name' => 'icon_hover_box_shadow',
685
+ 'selector' => '{{WRAPPER}} .aux-modern-button:hover .aux-icon'
686
  ]
687
  );
688
 
741
  */
742
  protected function render() {
743
 
744
+ $url = '';
745
+ $settings = $this->get_settings_for_display();
746
 
747
  $this->add_render_attribute( 'wrapper', 'class', 'aux-modern-button-wrapper' );
748
  $this->add_render_attribute( 'wrapper', 'class', 'aux-modern-button-align-' . $settings['btn_align'] );
754
  $this->add_render_attribute( 'button', 'class', 'aux-modern-button-' . $settings['btn_type'] );
755
  $this->add_render_attribute( 'button', 'class', 'aux-icon-' . $settings['icon_align'] );
756
 
757
+
758
  if ( ! empty( $settings['link']['url'] ) ) {
759
  $this->add_link_attributes( 'button', $settings['link'] );
760
+ $url = $settings['link']['url'];
761
  }
762
 
763
  ?>
764
  <div <?php echo $this->get_render_attribute_string( 'wrapper' ); ?> >
765
  <?php
766
+ if ( auxin_is_true( $settings['open_video_in_lightbox'] ) && strlen( $url ) > 3 ) { // disable lighbox if anchor is set
767
 
768
  $this->add_render_attribute( 'button', 'class', 'aux-open-video' );
769
  $this->add_render_attribute( 'button', 'data-type', 'video' );
includes/elementor/widgets/theme-elements/menu.php CHANGED
@@ -323,7 +323,6 @@ class MenuBox extends Widget_Base {
323
  array(
324
  'label' => __('Text Align', 'auxin-elements'),
325
  'type' => Controls_Manager::CHOOSE,
326
- 'devices' => array( 'desktop', 'mobile' ),
327
  'options' => array(
328
  'left' => array(
329
  'title' => __( 'Left', 'auxin-elements' ),
@@ -1451,7 +1450,7 @@ class MenuBox extends Widget_Base {
1451
 
1452
  }
1453
 
1454
- printf( '<div class="aux-elementor-header aux-nav-menu-element aux-nav-menu-element-%s">', $this->get_id() );
1455
 
1456
  if ( 'default' === $settings['burger_type'] ) {
1457
  $burger_content = '<div class="aux-burger ' . $settings['burger_btn_style'] . '"><span class="mid-line"></span></div>';
323
  array(
324
  'label' => __('Text Align', 'auxin-elements'),
325
  'type' => Controls_Manager::CHOOSE,
 
326
  'options' => array(
327
  'left' => array(
328
  'title' => __( 'Left', 'auxin-elements' ),
1450
 
1451
  }
1452
 
1453
+ printf( '<div class="aux-elementor-header-menu aux-nav-menu-element aux-nav-menu-element-%s">', $this->get_id() );
1454
 
1455
  if ( 'default' === $settings['burger_type'] ) {
1456
  $burger_content = '<div class="aux-burger ' . $settings['burger_btn_style'] . '"><span class="mid-line"></span></div>';
includes/index.php CHANGED
@@ -12,7 +12,9 @@ Auxin_WhiteLabel::get_instance();
12
  Auxin_SVG_Support::get_instance();
13
  Auxin_Widget_Shortcode_Map::get_instance();
14
  Auxin_Import::get_instance();
15
-
 
 
16
 
17
  // load elements
18
  include_once( 'elements/about-widget.php' );
12
  Auxin_SVG_Support::get_instance();
13
  Auxin_Widget_Shortcode_Map::get_instance();
14
  Auxin_Import::get_instance();
15
+ if ( wp_doing_ajax() ) {
16
+ Auxels_Envato_Elements::get_instance();
17
+ }
18
 
19
  // load elements
20
  include_once( 'elements/about-widget.php' );
languages/auxin-elements.pot CHANGED
@@ -1,9 +1,9 @@
1
  # Averta Copyright (c) {2020}
2
  msgid ""
3
  msgstr ""
4
- "Project-Id-Version: Phlox Core Elements 2.5.16\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
- "POT-Creation-Date: 2020-05-04 16:06:37+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
@@ -97,7 +97,7 @@ msgstr ""
97
  #: includes/classes/class-auxin-demo-importer.php:180
98
  #: includes/classes/class-auxin-welcome.php:1259
99
  #: includes/classes/class-auxin-welcome.php:1294
100
- #: includes/classes/class-auxin-welcome.php:1639
101
  msgid "Close"
102
  msgstr ""
103
 
@@ -316,6 +316,7 @@ msgid "You need to enter a unique id for notice."
316
  msgstr ""
317
 
318
  #: admin/includes/classes/class-auxin-notices.php:186
 
319
  msgid "Skip"
320
  msgstr ""
321
 
@@ -1178,8 +1179,8 @@ msgstr ""
1178
  #: includes/elementor/widgets/theme-elements/copyright.php:146
1179
  #: includes/elementor/widgets/theme-elements/current-time.php:139
1180
  #: includes/elementor/widgets/theme-elements/logo.php:165
1181
- #: includes/elementor/widgets/theme-elements/menu.php:333
1182
- #: includes/elementor/widgets/theme-elements/menu.php:1344
1183
  #: includes/elementor/widgets/theme-elements/shopping-cart.php:199
1184
  #: includes/elementor/widgets/theme-elements/site-title.php:192
1185
  #: includes/elements/quote.php:112
@@ -1220,8 +1221,8 @@ msgstr ""
1220
  #: includes/elementor/widgets/theme-elements/current-time.php:135
1221
  #: includes/elementor/widgets/theme-elements/logo.php:161
1222
  #: includes/elementor/widgets/theme-elements/menu.php:281
1223
- #: includes/elementor/widgets/theme-elements/menu.php:329
1224
- #: includes/elementor/widgets/theme-elements/menu.php:1340
1225
  #: includes/elementor/widgets/theme-elements/shopping-cart.php:195
1226
  #: includes/elementor/widgets/theme-elements/site-title.php:188
1227
  #: includes/elements/button.php:183 includes/elements/image.php:151
@@ -1368,7 +1369,7 @@ msgstr ""
1368
  #: includes/elementor/widgets/recent-posts-tiles.php:130
1369
  #: includes/elementor/widgets/tabs.php:195
1370
  #: includes/elementor/widgets/text.php:1093
1371
- #: includes/elementor/widgets/theme-elements/menu.php:994
1372
  #: includes/elementor/widgets/theme-elements/modern-search.php:556
1373
  #: includes/elements/button.php:179 includes/elements/code.php:99
1374
  #: includes/elements/gallery.php:120 includes/elements/quote.php:109
@@ -1452,11 +1453,11 @@ msgstr ""
1452
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:516
1453
  #: includes/elementor/widgets/theme-elements/copyright.php:212
1454
  #: includes/elementor/widgets/theme-elements/logo.php:327
1455
- #: includes/elementor/widgets/theme-elements/menu.php:431
1456
- #: includes/elementor/widgets/theme-elements/menu.php:724
1457
- #: includes/elementor/widgets/theme-elements/menu.php:870
1458
- #: includes/elementor/widgets/theme-elements/menu.php:1033
1459
- #: includes/elementor/widgets/theme-elements/menu.php:1228
1460
  #: includes/elementor/widgets/theme-elements/modern-search.php:272
1461
  #: includes/elementor/widgets/theme-elements/modern-search.php:369
1462
  #: includes/elementor/widgets/theme-elements/modern-search.php:488
@@ -1766,18 +1767,20 @@ msgstr ""
1766
 
1767
  #: includes/classes/class-auxels-admin-assets.php:67
1768
  #: includes/classes/class-auxin-welcome.php:1335
1769
- #: includes/classes/class-auxin-welcome.php:1441
 
 
1770
  msgid "Continue"
1771
  msgstr ""
1772
 
1773
  #: includes/classes/class-auxels-admin-assets.php:68
1774
  #: includes/classes/class-auxin-welcome.php:548
1775
- #: includes/classes/class-auxin-welcome.php:1515
1776
  msgid "Install Plugins"
1777
  msgstr ""
1778
 
1779
  #: includes/classes/class-auxels-admin-assets.php:69
1780
- #: includes/classes/class-auxin-welcome.php:1605
1781
  msgid "Import Content"
1782
  msgstr ""
1783
 
@@ -1806,6 +1809,29 @@ msgstr ""
1806
  msgid "Add to Menu"
1807
  msgstr ""
1808
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1809
  #: includes/classes/class-auxels-import-parser.php:42
1810
  #: includes/classes/class-auxels-import-parser.php:74
1811
  #: includes/classes/class-auxels-import-parser.php:82
@@ -1884,7 +1910,7 @@ msgid "Importing Media"
1884
  msgstr ""
1885
 
1886
  #: includes/classes/class-auxin-demo-importer.php:281
1887
- #: includes/classes/class-auxin-demo-importer.php:1105
1888
  msgid "Importing Users"
1889
  msgstr ""
1890
 
@@ -1898,7 +1924,7 @@ msgid "Importing Options"
1898
  msgstr ""
1899
 
1900
  #: includes/classes/class-auxin-demo-importer.php:324
1901
- #: includes/classes/class-auxin-demo-importer.php:523
1902
  msgid "Importing Menus"
1903
  msgstr ""
1904
 
@@ -1906,19 +1932,19 @@ msgstr ""
1906
  msgid "Importing Widgets"
1907
  msgstr ""
1908
 
1909
- #: includes/classes/class-auxin-demo-importer.php:407
1910
  msgid "Retrieve Body Fails"
1911
  msgstr ""
1912
 
1913
- #: includes/classes/class-auxin-demo-importer.php:589
1914
  msgid "Importing Sliders"
1915
  msgstr ""
1916
 
1917
- #: includes/classes/class-auxin-demo-importer.php:1168
1918
  msgid "Preparing Site ..."
1919
  msgstr ""
1920
 
1921
- #: includes/classes/class-auxin-demo-importer.php:1183
1922
  msgid "All steps are successful"
1923
  msgstr ""
1924
 
@@ -2162,9 +2188,11 @@ msgstr ""
2162
  #: includes/classes/class-auxin-walker-nav-menu-back.php:371
2163
  #: includes/classes/class-auxin-welcome.php:1338
2164
  #: includes/classes/class-auxin-welcome.php:1366
2165
- #: includes/classes/class-auxin-welcome.php:1444
2166
- #: includes/classes/class-auxin-welcome.php:1517
2167
- #: includes/classes/class-auxin-welcome.php:1607
 
 
2168
  msgid "Cancel"
2169
  msgstr ""
2170
 
@@ -2390,7 +2418,7 @@ msgstr ""
2390
  #: includes/classes/class-auxin-welcome.php:852
2391
  #: includes/classes/class-auxin-welcome.php:966
2392
  #: includes/classes/class-auxin-welcome.php:1256
2393
- #: includes/classes/class-auxin-welcome.php:1636
2394
  msgid "Preview"
2395
  msgstr ""
2396
 
@@ -2442,7 +2470,7 @@ msgstr ""
2442
 
2443
  #: includes/classes/class-auxin-welcome.php:1091
2444
  #: includes/classes/class-auxin-welcome.php:1121
2445
- #: includes/classes/class-auxin-welcome.php:1491
2446
  msgid "Ready to update"
2447
  msgstr ""
2448
 
@@ -2467,7 +2495,7 @@ msgid "Demo has been successfully uninstalled."
2467
  msgstr ""
2468
 
2469
  #: includes/classes/class-auxin-welcome.php:1313
2470
- #: public/includes/frontend-ajax.php:158 public/includes/frontend-ajax.php:215
2471
  msgid "An Error Occurred!"
2472
  msgstr ""
2473
 
@@ -2494,107 +2522,164 @@ msgid "Are you sure you want to uninstall this demo?"
2494
  msgstr ""
2495
 
2496
  #: includes/classes/class-auxin-welcome.php:1372
2497
- #: includes/classes/class-auxin-welcome.php:1613
2498
  msgid "Please wait, this may take several minutes .."
2499
  msgstr ""
2500
 
2501
- #: includes/classes/class-auxin-welcome.php:1417
2502
  msgid "An error occurred!"
2503
  msgstr ""
2504
 
2505
- #: includes/classes/class-auxin-welcome.php:1419
2506
  msgid "Method not exist!"
2507
  msgstr ""
2508
 
2509
- #: includes/classes/class-auxin-welcome.php:1433
2510
- #: includes/classes/class-auxin-welcome.php:1468
2511
  msgid "Required Plugins for this demo."
2512
  msgstr ""
2513
 
2514
- #: includes/classes/class-auxin-welcome.php:1435
2515
  msgid ""
2516
  "For better and faster install process it's recommended to install demo on a "
2517
  "clean WordPress website."
2518
  msgstr ""
2519
 
2520
- #: includes/classes/class-auxin-welcome.php:1469
2521
  msgid "The following plugins are required to be installed for this demo."
2522
  msgstr ""
2523
 
2524
- #: includes/classes/class-auxin-welcome.php:1483
2525
  msgid "Ready to install"
2526
  msgstr ""
2527
 
2528
- #: includes/classes/class-auxin-welcome.php:1487
2529
  msgid "Not activated"
2530
  msgstr ""
2531
 
2532
- #: includes/classes/class-auxin-welcome.php:1532
2533
  msgid "Import Demo Content of Phlox Theme."
2534
  msgstr ""
2535
 
2536
- #: includes/classes/class-auxin-welcome.php:1537
2537
  msgid "Complete pre-build Website"
2538
  msgstr ""
2539
 
2540
- #: includes/classes/class-auxin-welcome.php:1542
2541
  msgid "Import media (images, videos, etc.)"
2542
  msgstr ""
2543
 
2544
- #: includes/classes/class-auxin-welcome.php:1549
2545
  msgid "Selected Data Only"
2546
  msgstr ""
2547
 
2548
- #: includes/classes/class-auxin-welcome.php:1555
2549
  msgid "Posts/Pages"
2550
  msgstr ""
2551
 
2552
- #: includes/classes/class-auxin-welcome.php:1560
2553
  msgid "Media"
2554
  msgstr ""
2555
 
2556
- #: includes/classes/class-auxin-welcome.php:1565
2557
  msgid "Widgets"
2558
  msgstr ""
2559
 
2560
- #: includes/classes/class-auxin-welcome.php:1572
2561
  msgid "Menus"
2562
  msgstr ""
2563
 
2564
- #: includes/classes/class-auxin-welcome.php:1577
2565
  msgid "Theme Options"
2566
  msgstr ""
2567
 
2568
- #: includes/classes/class-auxin-welcome.php:1582
2569
  msgid "MasterSlider (If Available)"
2570
  msgstr ""
2571
 
2572
- #: includes/classes/class-auxin-welcome.php:1592
2573
  msgid "Importing Demo Content is in Progress..."
2574
  msgstr ""
2575
 
2576
- #: includes/classes/class-auxin-welcome.php:1593
2577
  msgid ""
2578
  "This process may take 5 to 10 minutes to complete, please do not close or "
2579
  "refresh this page."
2580
  msgstr ""
2581
 
2582
- #: includes/classes/class-auxin-welcome.php:1627
2583
  msgid "Congratulations!"
2584
  msgstr ""
2585
 
2586
- #: includes/classes/class-auxin-welcome.php:1628
2587
  msgid "Demo has been successfully imported."
2588
  msgstr ""
2589
 
2590
- #: includes/classes/class-auxin-welcome.php:1633
2591
  msgid "Customize"
2592
  msgstr ""
2593
 
2594
- #: includes/classes/class-auxin-welcome.php:1650
2595
  msgid "Importing page content ..."
2596
  msgstr ""
2597
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2598
  #: includes/classes/class-auxin-widget-shortcode-map.php:308
2599
  msgid "CSS"
2600
  msgstr ""
@@ -2855,8 +2940,8 @@ msgstr ""
2855
  #: includes/elementor/widgets/theme-elements/current-time.php:143
2856
  #: includes/elementor/widgets/theme-elements/logo.php:169
2857
  #: includes/elementor/widgets/theme-elements/menu.php:282
2858
- #: includes/elementor/widgets/theme-elements/menu.php:337
2859
- #: includes/elementor/widgets/theme-elements/menu.php:1348
2860
  #: includes/elementor/widgets/theme-elements/shopping-cart.php:203
2861
  #: includes/elementor/widgets/theme-elements/site-title.php:196
2862
  #: includes/elements/button.php:187 includes/elements/image.php:152
@@ -3108,7 +3193,7 @@ msgstr ""
3108
  #: includes/elementor/widgets/testimonial.php:238
3109
  #: includes/elementor/widgets/text.php:115
3110
  #: includes/elementor/widgets/text.php:1537
3111
- #: includes/elementor/widgets/theme-elements/menu.php:653
3112
  #: includes/elementor/widgets/theme-elements/search.php:118
3113
  #: includes/elements/flickr.php:156 includes/elements/flickr.php:205
3114
  #: includes/elements/gallery.php:197 includes/elements/gallery.php:322
@@ -3150,7 +3235,7 @@ msgstr ""
3150
  #: includes/elementor/widgets/text.php:111
3151
  #: includes/elementor/widgets/theme-elements/logo.php:135
3152
  #: includes/elementor/widgets/theme-elements/menu.php:156
3153
- #: includes/elementor/widgets/theme-elements/menu.php:990
3154
  #: includes/elementor/widgets/theme-elements/search.php:101
3155
  #: includes/elements/accordion-widget.php:58 includes/elements/accordion.php:58
3156
  msgid "Type"
@@ -3348,7 +3433,7 @@ msgstr ""
3348
  #: includes/elementor/widgets/mailchimp.php:137
3349
  #: includes/elementor/widgets/recent-posts-grid-carousel.php:914
3350
  #: includes/elementor/widgets/theme-elements/current-time.php:109
3351
- #: includes/elementor/widgets/theme-elements/menu.php:995
3352
  #: includes/elements/image.php:98 includes/elements/staff.php:113
3353
  msgid "Custom"
3354
  msgstr ""
@@ -4038,9 +4123,9 @@ msgstr ""
4038
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:373
4039
  #: includes/elementor/widgets/theme-elements/logo.php:454
4040
  #: includes/elementor/widgets/theme-elements/logo.php:546
4041
- #: includes/elementor/widgets/theme-elements/menu.php:525
4042
- #: includes/elementor/widgets/theme-elements/menu.php:964
4043
- #: includes/elementor/widgets/theme-elements/menu.php:1322
4044
  #: includes/elementor/widgets/theme-elements/search.php:318
4045
  #: includes/elementor/widgets/theme-elements/search.php:428
4046
  #: includes/elementor/widgets/theme-elements/site-title.php:334
@@ -4078,14 +4163,14 @@ msgstr ""
4078
  #: includes/elementor/widgets/text.php:1428
4079
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:463
4080
  #: includes/elementor/widgets/theme-elements/logo.php:390
4081
- #: includes/elementor/widgets/theme-elements/menu.php:416
4082
- #: includes/elementor/widgets/theme-elements/menu.php:493
4083
- #: includes/elementor/widgets/theme-elements/menu.php:700
4084
- #: includes/elementor/widgets/theme-elements/menu.php:749
4085
- #: includes/elementor/widgets/theme-elements/menu.php:846
4086
- #: includes/elementor/widgets/theme-elements/menu.php:924
4087
- #: includes/elementor/widgets/theme-elements/menu.php:1204
4088
- #: includes/elementor/widgets/theme-elements/menu.php:1282
4089
  #: includes/elementor/widgets/theme-elements/modern-search.php:463
4090
  #: includes/elementor/widgets/theme-elements/modern-search.php:527
4091
  #: includes/elementor/widgets/theme-elements/search.php:363
@@ -4167,11 +4252,11 @@ msgstr ""
4167
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:490
4168
  #: includes/elementor/widgets/theme-elements/copyright.php:175
4169
  #: includes/elementor/widgets/theme-elements/logo.php:293
4170
- #: includes/elementor/widgets/theme-elements/menu.php:354
4171
- #: includes/elementor/widgets/theme-elements/menu.php:675
4172
- #: includes/elementor/widgets/theme-elements/menu.php:791
4173
- #: includes/elementor/widgets/theme-elements/menu.php:1012
4174
- #: includes/elementor/widgets/theme-elements/menu.php:1150
4175
  #: includes/elementor/widgets/theme-elements/modern-search.php:225
4176
  #: includes/elementor/widgets/theme-elements/modern-search.php:332
4177
  #: includes/elementor/widgets/theme-elements/modern-search.php:423
@@ -4268,9 +4353,9 @@ msgstr ""
4268
  #: includes/elementor/widgets/text.php:1355
4269
  #: includes/elementor/widgets/text.php:1416
4270
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:475
4271
- #: includes/elementor/widgets/theme-elements/menu.php:512
4272
- #: includes/elementor/widgets/theme-elements/menu.php:951
4273
- #: includes/elementor/widgets/theme-elements/menu.php:1309
4274
  #: includes/elementor/widgets/theme-elements/modern-search.php:440
4275
  #: includes/elementor/widgets/theme-elements/modern-search.php:505
4276
  #: includes/elementor/widgets/theme-elements/modern-search.php:608
@@ -4406,16 +4491,16 @@ msgstr ""
4406
  #: includes/elementor/widgets/theme-elements/current-time.php:172
4407
  #: includes/elementor/widgets/theme-elements/logo.php:423
4408
  #: includes/elementor/widgets/theme-elements/logo.php:515
4409
- #: includes/elementor/widgets/theme-elements/menu.php:361
4410
- #: includes/elementor/widgets/theme-elements/menu.php:438
4411
- #: includes/elementor/widgets/theme-elements/menu.php:551
4412
- #: includes/elementor/widgets/theme-elements/menu.php:798
4413
- #: includes/elementor/widgets/theme-elements/menu.php:877
4414
- #: includes/elementor/widgets/theme-elements/menu.php:1019
4415
- #: includes/elementor/widgets/theme-elements/menu.php:1040
4416
- #: includes/elementor/widgets/theme-elements/menu.php:1157
4417
- #: includes/elementor/widgets/theme-elements/menu.php:1235
4418
- #: includes/elementor/widgets/theme-elements/menu.php:1364
4419
  #: includes/elementor/widgets/theme-elements/modern-search.php:232
4420
  #: includes/elementor/widgets/theme-elements/modern-search.php:279
4421
  #: includes/elementor/widgets/theme-elements/modern-search.php:339
@@ -4752,7 +4837,7 @@ msgstr ""
4752
  #: includes/elementor/widgets/modern-button.php:262
4753
  #: includes/elementor/widgets/tabs.php:149
4754
  #: includes/elementor/widgets/text.php:1008
4755
- #: includes/elementor/widgets/theme-elements/menu.php:611
4756
  #: includes/elements/audio.php:97
4757
  msgid "Skin"
4758
  msgstr ""
@@ -5012,16 +5097,16 @@ msgstr ""
5012
  #: includes/elementor/widgets/text.php:383
5013
  #: includes/elementor/widgets/text.php:1028
5014
  #: includes/elementor/widgets/text.php:1055
5015
- #: includes/elementor/widgets/theme-elements/menu.php:398
5016
- #: includes/elementor/widgets/theme-elements/menu.php:475
5017
- #: includes/elementor/widgets/theme-elements/menu.php:588
5018
- #: includes/elementor/widgets/theme-elements/menu.php:683
5019
- #: includes/elementor/widgets/theme-elements/menu.php:732
5020
- #: includes/elementor/widgets/theme-elements/menu.php:836
5021
- #: includes/elementor/widgets/theme-elements/menu.php:915
5022
- #: includes/elementor/widgets/theme-elements/menu.php:1139
5023
- #: includes/elementor/widgets/theme-elements/menu.php:1195
5024
- #: includes/elementor/widgets/theme-elements/menu.php:1273
5025
  #: includes/elementor/widgets/theme-elements/shopping-cart.php:240
5026
  #: includes/elementor/widgets/theme-elements/shopping-cart.php:443
5027
  msgid "Background"
@@ -7913,7 +7998,7 @@ msgstr ""
7913
  #: includes/elementor/widgets/staff.php:838
7914
  #: includes/elementor/widgets/text.php:1389
7915
  #: includes/elementor/widgets/theme-elements/menu.php:324
7916
- #: includes/elementor/widgets/theme-elements/menu.php:1335
7917
  #: includes/elements/text.php:118
7918
  msgid "Text Align"
7919
  msgstr ""
@@ -7936,7 +8021,7 @@ msgstr ""
7936
 
7937
  #: includes/elementor/widgets/svg.php:137
7938
  #: includes/elementor/widgets/text.php:209
7939
- #: includes/elementor/widgets/theme-elements/menu.php:1111
7940
  msgid "Enter inline SVG content here"
7941
  msgstr ""
7942
 
@@ -8383,23 +8468,23 @@ msgid "Mobile Menu Type"
8383
  msgstr ""
8384
 
8385
  #: includes/elementor/widgets/theme-elements/menu.php:257
8386
- #: includes/elementor/widgets/theme-elements/menu.php:1061
8387
  msgid "Expandable under top header"
8388
  msgstr ""
8389
 
8390
  #: includes/elementor/widgets/theme-elements/menu.php:261
8391
- #: includes/elementor/widgets/theme-elements/menu.php:1073
8392
  msgid "FullScreen on entire page"
8393
  msgstr ""
8394
 
8395
  #: includes/elementor/widgets/theme-elements/menu.php:265
8396
- #: includes/elementor/widgets/theme-elements/menu.php:1065
8397
- #: includes/elementor/widgets/theme-elements/menu.php:1069
8398
- #: includes/elementor/widgets/theme-elements/menu.php:1077
8399
- #: includes/elementor/widgets/theme-elements/menu.php:1081
8400
- #: includes/elementor/widgets/theme-elements/menu.php:1085
8401
- #: includes/elementor/widgets/theme-elements/menu.php:1089
8402
- #: includes/elementor/widgets/theme-elements/menu.php:1093
8403
  msgid "Offcanvas panel"
8404
  msgstr ""
8405
 
@@ -8411,68 +8496,68 @@ msgstr ""
8411
  msgid "Menu Item"
8412
  msgstr ""
8413
 
8414
- #: includes/elementor/widgets/theme-elements/menu.php:543
8415
  msgid "Menu Item - Selected"
8416
  msgstr ""
8417
 
8418
- #: includes/elementor/widgets/theme-elements/menu.php:603
8419
  msgid "Submenu"
8420
  msgstr ""
8421
 
8422
- #: includes/elementor/widgets/theme-elements/menu.php:616
8423
  msgid "Paradox"
8424
  msgstr ""
8425
 
8426
- #: includes/elementor/widgets/theme-elements/menu.php:620
8427
  #: includes/elements/dropcap.php:56
8428
  msgid "Classic"
8429
  msgstr ""
8430
 
8431
- #: includes/elementor/widgets/theme-elements/menu.php:624
8432
  msgid "Dark Transparent"
8433
  msgstr ""
8434
 
8435
- #: includes/elementor/widgets/theme-elements/menu.php:628
8436
  msgid "Divided"
8437
  msgstr ""
8438
 
8439
- #: includes/elementor/widgets/theme-elements/menu.php:632
8440
  msgid "Center Paradox"
8441
  msgstr ""
8442
 
8443
- #: includes/elementor/widgets/theme-elements/menu.php:636
8444
  msgid "Modern Paradox"
8445
  msgstr ""
8446
 
8447
- #: includes/elementor/widgets/theme-elements/menu.php:648
8448
  msgid "Animation Effect"
8449
  msgstr ""
8450
 
8451
- #: includes/elementor/widgets/theme-elements/menu.php:657
8452
  msgid "Fade"
8453
  msgstr ""
8454
 
8455
- #: includes/elementor/widgets/theme-elements/menu.php:661
8456
  msgid "Fade and move"
8457
  msgstr ""
8458
 
8459
- #: includes/elementor/widgets/theme-elements/menu.php:781
8460
  msgid "Submenu Item"
8461
  msgstr ""
8462
 
8463
- #: includes/elementor/widgets/theme-elements/menu.php:982
8464
  msgid "Burger Button"
8465
  msgstr ""
8466
 
8467
- #: includes/elementor/widgets/theme-elements/menu.php:1056
8468
  msgid "Burger Button Style"
8469
  msgstr ""
8470
 
8471
- #: includes/elementor/widgets/theme-elements/menu.php:1127
8472
  msgid "Fullscreen Menu"
8473
  msgstr ""
8474
 
8475
- #: includes/elementor/widgets/theme-elements/menu.php:1405
8476
  msgid "There are no menus in your site."
8477
  msgstr ""
8478
 
@@ -11520,35 +11605,35 @@ msgstr ""
11520
  msgid "No data received."
11521
  msgstr ""
11522
 
11523
- #: public/includes/frontend-ajax.php:135 public/includes/frontend-ajax.php:184
11524
  msgid "Verification failed!"
11525
  msgstr ""
11526
 
11527
- #: public/includes/frontend-ajax.php:151
11528
  msgid "Your cart is currently empty."
11529
  msgstr ""
11530
 
11531
- #: public/includes/frontend-ajax.php:152
11532
  msgid "Item has been removed from your shopping cart."
11533
  msgstr ""
11534
 
11535
- #: public/includes/frontend-ajax.php:204
11536
  msgid "View cart"
11537
  msgstr ""
11538
 
11539
- #: public/includes/frontend-ajax.php:204
11540
  msgid "has been added to your cart."
11541
  msgstr ""
11542
 
11543
- #: public/includes/frontend-ajax.php:209
11544
  msgid "Sorry, this product cannot be purchased."
11545
  msgstr ""
11546
 
11547
- #: public/includes/frontend-ajax.php:265
11548
  msgid "From %s"
11549
  msgstr ""
11550
 
11551
- #: public/includes/frontend-ajax.php:266
11552
  msgid "Nothing found in %s"
11553
  msgstr ""
11554
 
1
  # Averta Copyright (c) {2020}
2
  msgid ""
3
  msgstr ""
4
+ "Project-Id-Version: Phlox Core Elements 2.5.17\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
+ "POT-Creation-Date: 2020-05-18 12:53:33+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
97
  #: includes/classes/class-auxin-demo-importer.php:180
98
  #: includes/classes/class-auxin-welcome.php:1259
99
  #: includes/classes/class-auxin-welcome.php:1294
100
+ #: includes/classes/class-auxin-welcome.php:1654
101
  msgid "Close"
102
  msgstr ""
103
 
316
  msgstr ""
317
 
318
  #: admin/includes/classes/class-auxin-notices.php:186
319
+ #: includes/classes/class-auxin-welcome.php:1696
320
  msgid "Skip"
321
  msgstr ""
322
 
1179
  #: includes/elementor/widgets/theme-elements/copyright.php:146
1180
  #: includes/elementor/widgets/theme-elements/current-time.php:139
1181
  #: includes/elementor/widgets/theme-elements/logo.php:165
1182
+ #: includes/elementor/widgets/theme-elements/menu.php:332
1183
+ #: includes/elementor/widgets/theme-elements/menu.php:1343
1184
  #: includes/elementor/widgets/theme-elements/shopping-cart.php:199
1185
  #: includes/elementor/widgets/theme-elements/site-title.php:192
1186
  #: includes/elements/quote.php:112
1221
  #: includes/elementor/widgets/theme-elements/current-time.php:135
1222
  #: includes/elementor/widgets/theme-elements/logo.php:161
1223
  #: includes/elementor/widgets/theme-elements/menu.php:281
1224
+ #: includes/elementor/widgets/theme-elements/menu.php:328
1225
+ #: includes/elementor/widgets/theme-elements/menu.php:1339
1226
  #: includes/elementor/widgets/theme-elements/shopping-cart.php:195
1227
  #: includes/elementor/widgets/theme-elements/site-title.php:188
1228
  #: includes/elements/button.php:183 includes/elements/image.php:151
1369
  #: includes/elementor/widgets/recent-posts-tiles.php:130
1370
  #: includes/elementor/widgets/tabs.php:195
1371
  #: includes/elementor/widgets/text.php:1093
1372
+ #: includes/elementor/widgets/theme-elements/menu.php:993
1373
  #: includes/elementor/widgets/theme-elements/modern-search.php:556
1374
  #: includes/elements/button.php:179 includes/elements/code.php:99
1375
  #: includes/elements/gallery.php:120 includes/elements/quote.php:109
1453
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:516
1454
  #: includes/elementor/widgets/theme-elements/copyright.php:212
1455
  #: includes/elementor/widgets/theme-elements/logo.php:327
1456
+ #: includes/elementor/widgets/theme-elements/menu.php:430
1457
+ #: includes/elementor/widgets/theme-elements/menu.php:723
1458
+ #: includes/elementor/widgets/theme-elements/menu.php:869
1459
+ #: includes/elementor/widgets/theme-elements/menu.php:1032
1460
+ #: includes/elementor/widgets/theme-elements/menu.php:1227
1461
  #: includes/elementor/widgets/theme-elements/modern-search.php:272
1462
  #: includes/elementor/widgets/theme-elements/modern-search.php:369
1463
  #: includes/elementor/widgets/theme-elements/modern-search.php:488
1767
 
1768
  #: includes/classes/class-auxels-admin-assets.php:67
1769
  #: includes/classes/class-auxin-welcome.php:1335
1770
+ #: includes/classes/class-auxin-welcome.php:1454
1771
+ #: includes/classes/class-auxin-welcome.php:1724
1772
+ #: includes/classes/class-auxin-welcome.php:1768
1773
  msgid "Continue"
1774
  msgstr ""
1775
 
1776
  #: includes/classes/class-auxels-admin-assets.php:68
1777
  #: includes/classes/class-auxin-welcome.php:548
1778
+ #: includes/classes/class-auxin-welcome.php:1529
1779
  msgid "Install Plugins"
1780
  msgstr ""
1781
 
1782
  #: includes/classes/class-auxels-admin-assets.php:69
1783
+ #: includes/classes/class-auxin-welcome.php:1620
1784
  msgid "Import Content"
1785
  msgstr ""
1786
 
1809
  msgid "Add to Menu"
1810
  msgstr ""
1811
 
1812
+ #: includes/classes/class-auxels-envato-elements.php:58
1813
+ #: includes/classes/class-auxels-envato-elements.php:83
1814
+ msgid "Email verified."
1815
+ msgstr ""
1816
+
1817
+ #: includes/classes/class-auxels-envato-elements.php:64
1818
+ msgid "Email is required!"
1819
+ msgstr ""
1820
+
1821
+ #: includes/classes/class-auxels-envato-elements.php:89
1822
+ #: includes/classes/class-auxels-envato-elements.php:135
1823
+ msgid "Something went wrong. Please try again later"
1824
+ msgstr ""
1825
+
1826
+ #: includes/classes/class-auxels-envato-elements.php:106
1827
+ #: includes/classes/class-auxels-envato-elements.php:127
1828
+ msgid "Token is valid."
1829
+ msgstr ""
1830
+
1831
+ #: includes/classes/class-auxels-envato-elements.php:129
1832
+ msgid " Token is not valid."
1833
+ msgstr ""
1834
+
1835
  #: includes/classes/class-auxels-import-parser.php:42
1836
  #: includes/classes/class-auxels-import-parser.php:74
1837
  #: includes/classes/class-auxels-import-parser.php:82
1910
  msgstr ""
1911
 
1912
  #: includes/classes/class-auxin-demo-importer.php:281
1913
+ #: includes/classes/class-auxin-demo-importer.php:1108
1914
  msgid "Importing Users"
1915
  msgstr ""
1916
 
1924
  msgstr ""
1925
 
1926
  #: includes/classes/class-auxin-demo-importer.php:324
1927
+ #: includes/classes/class-auxin-demo-importer.php:526
1928
  msgid "Importing Menus"
1929
  msgstr ""
1930
 
1932
  msgid "Importing Widgets"
1933
  msgstr ""
1934
 
1935
+ #: includes/classes/class-auxin-demo-importer.php:410
1936
  msgid "Retrieve Body Fails"
1937
  msgstr ""
1938
 
1939
+ #: includes/classes/class-auxin-demo-importer.php:592
1940
  msgid "Importing Sliders"
1941
  msgstr ""
1942
 
1943
+ #: includes/classes/class-auxin-demo-importer.php:1171
1944
  msgid "Preparing Site ..."
1945
  msgstr ""
1946
 
1947
+ #: includes/classes/class-auxin-demo-importer.php:1186
1948
  msgid "All steps are successful"
1949
  msgstr ""
1950
 
2188
  #: includes/classes/class-auxin-walker-nav-menu-back.php:371
2189
  #: includes/classes/class-auxin-welcome.php:1338
2190
  #: includes/classes/class-auxin-welcome.php:1366
2191
+ #: includes/classes/class-auxin-welcome.php:1457
2192
+ #: includes/classes/class-auxin-welcome.php:1531
2193
+ #: includes/classes/class-auxin-welcome.php:1622
2194
+ #: includes/classes/class-auxin-welcome.php:1726
2195
+ #: includes/classes/class-auxin-welcome.php:1770
2196
  msgid "Cancel"
2197
  msgstr ""
2198
 
2418
  #: includes/classes/class-auxin-welcome.php:852
2419
  #: includes/classes/class-auxin-welcome.php:966
2420
  #: includes/classes/class-auxin-welcome.php:1256
2421
+ #: includes/classes/class-auxin-welcome.php:1651
2422
  msgid "Preview"
2423
  msgstr ""
2424
 
2470
 
2471
  #: includes/classes/class-auxin-welcome.php:1091
2472
  #: includes/classes/class-auxin-welcome.php:1121
2473
+ #: includes/classes/class-auxin-welcome.php:1505
2474
  msgid "Ready to update"
2475
  msgstr ""
2476
 
2495
  msgstr ""
2496
 
2497
  #: includes/classes/class-auxin-welcome.php:1313
2498
+ #: public/includes/frontend-ajax.php:154 public/includes/frontend-ajax.php:211
2499
  msgid "An Error Occurred!"
2500
  msgstr ""
2501
 
2522
  msgstr ""
2523
 
2524
  #: includes/classes/class-auxin-welcome.php:1372
2525
+ #: includes/classes/class-auxin-welcome.php:1628
2526
  msgid "Please wait, this may take several minutes .."
2527
  msgstr ""
2528
 
2529
+ #: includes/classes/class-auxin-welcome.php:1430
2530
  msgid "An error occurred!"
2531
  msgstr ""
2532
 
2533
+ #: includes/classes/class-auxin-welcome.php:1432
2534
  msgid "Method not exist!"
2535
  msgstr ""
2536
 
2537
+ #: includes/classes/class-auxin-welcome.php:1446
2538
+ #: includes/classes/class-auxin-welcome.php:1482
2539
  msgid "Required Plugins for this demo."
2540
  msgstr ""
2541
 
2542
+ #: includes/classes/class-auxin-welcome.php:1448
2543
  msgid ""
2544
  "For better and faster install process it's recommended to install demo on a "
2545
  "clean WordPress website."
2546
  msgstr ""
2547
 
2548
+ #: includes/classes/class-auxin-welcome.php:1483
2549
  msgid "The following plugins are required to be installed for this demo."
2550
  msgstr ""
2551
 
2552
+ #: includes/classes/class-auxin-welcome.php:1497
2553
  msgid "Ready to install"
2554
  msgstr ""
2555
 
2556
+ #: includes/classes/class-auxin-welcome.php:1501
2557
  msgid "Not activated"
2558
  msgstr ""
2559
 
2560
+ #: includes/classes/class-auxin-welcome.php:1547
2561
  msgid "Import Demo Content of Phlox Theme."
2562
  msgstr ""
2563
 
2564
+ #: includes/classes/class-auxin-welcome.php:1552
2565
  msgid "Complete pre-build Website"
2566
  msgstr ""
2567
 
2568
+ #: includes/classes/class-auxin-welcome.php:1557
2569
  msgid "Import media (images, videos, etc.)"
2570
  msgstr ""
2571
 
2572
+ #: includes/classes/class-auxin-welcome.php:1564
2573
  msgid "Selected Data Only"
2574
  msgstr ""
2575
 
2576
+ #: includes/classes/class-auxin-welcome.php:1570
2577
  msgid "Posts/Pages"
2578
  msgstr ""
2579
 
2580
+ #: includes/classes/class-auxin-welcome.php:1575
2581
  msgid "Media"
2582
  msgstr ""
2583
 
2584
+ #: includes/classes/class-auxin-welcome.php:1580
2585
  msgid "Widgets"
2586
  msgstr ""
2587
 
2588
+ #: includes/classes/class-auxin-welcome.php:1587
2589
  msgid "Menus"
2590
  msgstr ""
2591
 
2592
+ #: includes/classes/class-auxin-welcome.php:1592
2593
  msgid "Theme Options"
2594
  msgstr ""
2595
 
2596
+ #: includes/classes/class-auxin-welcome.php:1597
2597
  msgid "MasterSlider (If Available)"
2598
  msgstr ""
2599
 
2600
+ #: includes/classes/class-auxin-welcome.php:1607
2601
  msgid "Importing Demo Content is in Progress..."
2602
  msgstr ""
2603
 
2604
+ #: includes/classes/class-auxin-welcome.php:1608
2605
  msgid ""
2606
  "This process may take 5 to 10 minutes to complete, please do not close or "
2607
  "refresh this page."
2608
  msgstr ""
2609
 
2610
+ #: includes/classes/class-auxin-welcome.php:1642
2611
  msgid "Congratulations!"
2612
  msgstr ""
2613
 
2614
+ #: includes/classes/class-auxin-welcome.php:1643
2615
  msgid "Demo has been successfully imported."
2616
  msgstr ""
2617
 
2618
+ #: includes/classes/class-auxin-welcome.php:1648
2619
  msgid "Customize"
2620
  msgstr ""
2621
 
2622
+ #: includes/classes/class-auxin-welcome.php:1665
2623
  msgid "Importing page content ..."
2624
  msgstr ""
2625
 
2626
+ #: includes/classes/class-auxin-welcome.php:1680
2627
+ msgid ""
2628
+ "Images are copyrighted and watermarked. You can remove watermarks by having "
2629
+ "Envato Elements subscription"
2630
+ msgstr ""
2631
+
2632
+ #: includes/classes/class-auxin-welcome.php:1681
2633
+ msgid ""
2634
+ "By subscribing to Envato Elements you will have access to unlimited premium "
2635
+ "stock images, icons, graphical assets, videos and more."
2636
+ msgstr ""
2637
+
2638
+ #: includes/classes/class-auxin-welcome.php:1683
2639
+ msgid "Explore and Subscribe"
2640
+ msgstr ""
2641
+
2642
+ #: includes/classes/class-auxin-welcome.php:1691
2643
+ msgid "Already an Envato Elements member?"
2644
+ msgstr ""
2645
+
2646
+ #: includes/classes/class-auxin-welcome.php:1691
2647
+ msgid "Activate here"
2648
+ msgstr ""
2649
+
2650
+ #: includes/classes/class-auxin-welcome.php:1709
2651
+ #: includes/classes/class-auxin-welcome.php:1739
2652
+ msgid "Verify Your Envato Elements Subscription"
2653
+ msgstr ""
2654
+
2655
+ #: includes/classes/class-auxin-welcome.php:1710
2656
+ msgid "Enter your email below and click continue button"
2657
+ msgstr ""
2658
+
2659
+ #: includes/classes/class-auxin-welcome.php:1712
2660
+ msgid "Enter your email"
2661
+ msgstr ""
2662
+
2663
+ #: includes/classes/class-auxin-welcome.php:1740
2664
+ msgid "Enter your token below to verify your Subscription"
2665
+ msgstr ""
2666
+
2667
+ #: includes/classes/class-auxin-welcome.php:1742
2668
+ msgid "Enter token here"
2669
+ msgstr ""
2670
+
2671
+ #: includes/classes/class-auxin-welcome.php:1744
2672
+ msgid "Verify token"
2673
+ msgstr ""
2674
+
2675
+ #: includes/classes/class-auxin-welcome.php:1757
2676
+ msgid "How to generate a token ?"
2677
+ msgstr ""
2678
+
2679
+ #: includes/classes/class-auxin-welcome.php:1758
2680
+ msgid "Don't have subscription?"
2681
+ msgstr ""
2682
+
2683
  #: includes/classes/class-auxin-widget-shortcode-map.php:308
2684
  msgid "CSS"
2685
  msgstr ""
2940
  #: includes/elementor/widgets/theme-elements/current-time.php:143
2941
  #: includes/elementor/widgets/theme-elements/logo.php:169
2942
  #: includes/elementor/widgets/theme-elements/menu.php:282
2943
+ #: includes/elementor/widgets/theme-elements/menu.php:336
2944
+ #: includes/elementor/widgets/theme-elements/menu.php:1347
2945
  #: includes/elementor/widgets/theme-elements/shopping-cart.php:203
2946
  #: includes/elementor/widgets/theme-elements/site-title.php:196
2947
  #: includes/elements/button.php:187 includes/elements/image.php:152
3193
  #: includes/elementor/widgets/testimonial.php:238
3194
  #: includes/elementor/widgets/text.php:115
3195
  #: includes/elementor/widgets/text.php:1537
3196
+ #: includes/elementor/widgets/theme-elements/menu.php:652
3197
  #: includes/elementor/widgets/theme-elements/search.php:118
3198
  #: includes/elements/flickr.php:156 includes/elements/flickr.php:205
3199
  #: includes/elements/gallery.php:197 includes/elements/gallery.php:322
3235
  #: includes/elementor/widgets/text.php:111
3236
  #: includes/elementor/widgets/theme-elements/logo.php:135
3237
  #: includes/elementor/widgets/theme-elements/menu.php:156
3238
+ #: includes/elementor/widgets/theme-elements/menu.php:989
3239
  #: includes/elementor/widgets/theme-elements/search.php:101
3240
  #: includes/elements/accordion-widget.php:58 includes/elements/accordion.php:58
3241
  msgid "Type"
3433
  #: includes/elementor/widgets/mailchimp.php:137
3434
  #: includes/elementor/widgets/recent-posts-grid-carousel.php:914
3435
  #: includes/elementor/widgets/theme-elements/current-time.php:109
3436
+ #: includes/elementor/widgets/theme-elements/menu.php:994
3437
  #: includes/elements/image.php:98 includes/elements/staff.php:113
3438
  msgid "Custom"
3439
  msgstr ""
4123
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:373
4124
  #: includes/elementor/widgets/theme-elements/logo.php:454
4125
  #: includes/elementor/widgets/theme-elements/logo.php:546
4126
+ #: includes/elementor/widgets/theme-elements/menu.php:524
4127
+ #: includes/elementor/widgets/theme-elements/menu.php:963
4128
+ #: includes/elementor/widgets/theme-elements/menu.php:1321
4129
  #: includes/elementor/widgets/theme-elements/search.php:318
4130
  #: includes/elementor/widgets/theme-elements/search.php:428
4131
  #: includes/elementor/widgets/theme-elements/site-title.php:334
4163
  #: includes/elementor/widgets/text.php:1428
4164
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:463
4165
  #: includes/elementor/widgets/theme-elements/logo.php:390
4166
+ #: includes/elementor/widgets/theme-elements/menu.php:415
4167
+ #: includes/elementor/widgets/theme-elements/menu.php:492
4168
+ #: includes/elementor/widgets/theme-elements/menu.php:699
4169
+ #: includes/elementor/widgets/theme-elements/menu.php:748
4170
+ #: includes/elementor/widgets/theme-elements/menu.php:845
4171
+ #: includes/elementor/widgets/theme-elements/menu.php:923
4172
+ #: includes/elementor/widgets/theme-elements/menu.php:1203
4173
+ #: includes/elementor/widgets/theme-elements/menu.php:1281
4174
  #: includes/elementor/widgets/theme-elements/modern-search.php:463
4175
  #: includes/elementor/widgets/theme-elements/modern-search.php:527
4176
  #: includes/elementor/widgets/theme-elements/search.php:363
4252
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:490
4253
  #: includes/elementor/widgets/theme-elements/copyright.php:175
4254
  #: includes/elementor/widgets/theme-elements/logo.php:293
4255
+ #: includes/elementor/widgets/theme-elements/menu.php:353
4256
+ #: includes/elementor/widgets/theme-elements/menu.php:674
4257
+ #: includes/elementor/widgets/theme-elements/menu.php:790
4258
+ #: includes/elementor/widgets/theme-elements/menu.php:1011
4259
+ #: includes/elementor/widgets/theme-elements/menu.php:1149
4260
  #: includes/elementor/widgets/theme-elements/modern-search.php:225
4261
  #: includes/elementor/widgets/theme-elements/modern-search.php:332
4262
  #: includes/elementor/widgets/theme-elements/modern-search.php:423
4353
  #: includes/elementor/widgets/text.php:1355
4354
  #: includes/elementor/widgets/text.php:1416
4355
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:475
4356
+ #: includes/elementor/widgets/theme-elements/menu.php:511
4357
+ #: includes/elementor/widgets/theme-elements/menu.php:950
4358
+ #: includes/elementor/widgets/theme-elements/menu.php:1308
4359
  #: includes/elementor/widgets/theme-elements/modern-search.php:440
4360
  #: includes/elementor/widgets/theme-elements/modern-search.php:505
4361
  #: includes/elementor/widgets/theme-elements/modern-search.php:608
4491
  #: includes/elementor/widgets/theme-elements/current-time.php:172
4492
  #: includes/elementor/widgets/theme-elements/logo.php:423
4493
  #: includes/elementor/widgets/theme-elements/logo.php:515
4494
+ #: includes/elementor/widgets/theme-elements/menu.php:360
4495
+ #: includes/elementor/widgets/theme-elements/menu.php:437
4496
+ #: includes/elementor/widgets/theme-elements/menu.php:550
4497
+ #: includes/elementor/widgets/theme-elements/menu.php:797
4498
+ #: includes/elementor/widgets/theme-elements/menu.php:876
4499
+ #: includes/elementor/widgets/theme-elements/menu.php:1018
4500
+ #: includes/elementor/widgets/theme-elements/menu.php:1039
4501
+ #: includes/elementor/widgets/theme-elements/menu.php:1156
4502
+ #: includes/elementor/widgets/theme-elements/menu.php:1234
4503
+ #: includes/elementor/widgets/theme-elements/menu.php:1363
4504
  #: includes/elementor/widgets/theme-elements/modern-search.php:232
4505
  #: includes/elementor/widgets/theme-elements/modern-search.php:279
4506
  #: includes/elementor/widgets/theme-elements/modern-search.php:339
4837
  #: includes/elementor/widgets/modern-button.php:262
4838
  #: includes/elementor/widgets/tabs.php:149
4839
  #: includes/elementor/widgets/text.php:1008
4840
+ #: includes/elementor/widgets/theme-elements/menu.php:610
4841
  #: includes/elements/audio.php:97
4842
  msgid "Skin"
4843
  msgstr ""
5097
  #: includes/elementor/widgets/text.php:383
5098
  #: includes/elementor/widgets/text.php:1028
5099
  #: includes/elementor/widgets/text.php:1055
5100
+ #: includes/elementor/widgets/theme-elements/menu.php:397
5101
+ #: includes/elementor/widgets/theme-elements/menu.php:474
5102
+ #: includes/elementor/widgets/theme-elements/menu.php:587
5103
+ #: includes/elementor/widgets/theme-elements/menu.php:682
5104
+ #: includes/elementor/widgets/theme-elements/menu.php:731
5105
+ #: includes/elementor/widgets/theme-elements/menu.php:835
5106
+ #: includes/elementor/widgets/theme-elements/menu.php:914
5107
+ #: includes/elementor/widgets/theme-elements/menu.php:1138
5108
+ #: includes/elementor/widgets/theme-elements/menu.php:1194
5109
+ #: includes/elementor/widgets/theme-elements/menu.php:1272
5110
  #: includes/elementor/widgets/theme-elements/shopping-cart.php:240
5111
  #: includes/elementor/widgets/theme-elements/shopping-cart.php:443
5112
  msgid "Background"
7998
  #: includes/elementor/widgets/staff.php:838
7999
  #: includes/elementor/widgets/text.php:1389
8000
  #: includes/elementor/widgets/theme-elements/menu.php:324
8001
+ #: includes/elementor/widgets/theme-elements/menu.php:1334
8002
  #: includes/elements/text.php:118
8003
  msgid "Text Align"
8004
  msgstr ""
8021
 
8022
  #: includes/elementor/widgets/svg.php:137
8023
  #: includes/elementor/widgets/text.php:209
8024
+ #: includes/elementor/widgets/theme-elements/menu.php:1110
8025
  msgid "Enter inline SVG content here"
8026
  msgstr ""
8027
 
8468
  msgstr ""
8469
 
8470
  #: includes/elementor/widgets/theme-elements/menu.php:257
8471
+ #: includes/elementor/widgets/theme-elements/menu.php:1060
8472
  msgid "Expandable under top header"
8473
  msgstr ""
8474
 
8475
  #: includes/elementor/widgets/theme-elements/menu.php:261
8476
+ #: includes/elementor/widgets/theme-elements/menu.php:1072
8477
  msgid "FullScreen on entire page"
8478
  msgstr ""
8479
 
8480
  #: includes/elementor/widgets/theme-elements/menu.php:265
8481
+ #: includes/elementor/widgets/theme-elements/menu.php:1064
8482
+ #: includes/elementor/widgets/theme-elements/menu.php:1068
8483
+ #: includes/elementor/widgets/theme-elements/menu.php:1076
8484
+ #: includes/elementor/widgets/theme-elements/menu.php:1080
8485
+ #: includes/elementor/widgets/theme-elements/menu.php:1084
8486
+ #: includes/elementor/widgets/theme-elements/menu.php:1088
8487
+ #: includes/elementor/widgets/theme-elements/menu.php:1092
8488
  msgid "Offcanvas panel"
8489
  msgstr ""
8490
 
8496
  msgid "Menu Item"
8497
  msgstr ""
8498
 
8499
+ #: includes/elementor/widgets/theme-elements/menu.php:542
8500
  msgid "Menu Item - Selected"
8501
  msgstr ""
8502
 
8503
+ #: includes/elementor/widgets/theme-elements/menu.php:602
8504
  msgid "Submenu"
8505
  msgstr ""
8506
 
8507
+ #: includes/elementor/widgets/theme-elements/menu.php:615
8508
  msgid "Paradox"
8509
  msgstr ""
8510
 
8511
+ #: includes/elementor/widgets/theme-elements/menu.php:619
8512
  #: includes/elements/dropcap.php:56
8513
  msgid "Classic"
8514
  msgstr ""
8515
 
8516
+ #: includes/elementor/widgets/theme-elements/menu.php:623
8517
  msgid "Dark Transparent"
8518
  msgstr ""
8519
 
8520
+ #: includes/elementor/widgets/theme-elements/menu.php:627
8521
  msgid "Divided"
8522
  msgstr ""
8523
 
8524
+ #: includes/elementor/widgets/theme-elements/menu.php:631
8525
  msgid "Center Paradox"
8526
  msgstr ""
8527
 
8528
+ #: includes/elementor/widgets/theme-elements/menu.php:635
8529
  msgid "Modern Paradox"
8530
  msgstr ""
8531
 
8532
+ #: includes/elementor/widgets/theme-elements/menu.php:647
8533
  msgid "Animation Effect"
8534
  msgstr ""
8535
 
8536
+ #: includes/elementor/widgets/theme-elements/menu.php:656
8537
  msgid "Fade"
8538
  msgstr ""
8539
 
8540
+ #: includes/elementor/widgets/theme-elements/menu.php:660
8541
  msgid "Fade and move"
8542
  msgstr ""
8543
 
8544
+ #: includes/elementor/widgets/theme-elements/menu.php:780
8545
  msgid "Submenu Item"
8546
  msgstr ""
8547
 
8548
+ #: includes/elementor/widgets/theme-elements/menu.php:981
8549
  msgid "Burger Button"
8550
  msgstr ""
8551
 
8552
+ #: includes/elementor/widgets/theme-elements/menu.php:1055
8553
  msgid "Burger Button Style"
8554
  msgstr ""
8555
 
8556
+ #: includes/elementor/widgets/theme-elements/menu.php:1126
8557
  msgid "Fullscreen Menu"
8558
  msgstr ""
8559
 
8560
+ #: includes/elementor/widgets/theme-elements/menu.php:1404
8561
  msgid "There are no menus in your site."
8562
  msgstr ""
8563
 
11605
  msgid "No data received."
11606
  msgstr ""
11607
 
11608
+ #: public/includes/frontend-ajax.php:136 public/includes/frontend-ajax.php:180
11609
  msgid "Verification failed!"
11610
  msgstr ""
11611
 
11612
+ #: public/includes/frontend-ajax.php:147
11613
  msgid "Your cart is currently empty."
11614
  msgstr ""
11615
 
11616
+ #: public/includes/frontend-ajax.php:148
11617
  msgid "Item has been removed from your shopping cart."
11618
  msgstr ""
11619
 
11620
+ #: public/includes/frontend-ajax.php:200
11621
  msgid "View cart"
11622
  msgstr ""
11623
 
11624
+ #: public/includes/frontend-ajax.php:200
11625
  msgid "has been added to your cart."
11626
  msgstr ""
11627
 
11628
+ #: public/includes/frontend-ajax.php:205
11629
  msgid "Sorry, this product cannot be purchased."
11630
  msgstr ""
11631
 
11632
+ #: public/includes/frontend-ajax.php:261
11633
  msgid "From %s"
11634
  msgstr ""
11635
 
11636
+ #: public/includes/frontend-ajax.php:262
11637
  msgid "Nothing found in %s"
11638
  msgstr ""
11639
 
public/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.5.16 (2020-05)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */
1
+ /*! Phlox Core Plugin - v2.5.17 (2020-05)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */
public/assets/js/scripts.js CHANGED
@@ -5,6 +5,7 @@
5
  e.preventDefault();
6
 
7
  var product_id = $(this).data("product_id");
 
8
  var verify_nonce = $(this).data("verify_nonce");
9
  var $cartBoxEl = $(this).closest('.aux-cart-wrapper').addClass('aux-cart-remove-in-progress');
10
 
@@ -15,6 +16,7 @@
15
  data: {
16
  action: "auxels_remove_from_cart",
17
  product_id: product_id,
 
18
  verify_nonce: verify_nonce,
19
  },
20
  success: function( response ){
@@ -29,7 +31,7 @@
29
  $('.aux-cart-contents').find('span').remove();
30
  } else {
31
  $('.aux-card-item').filter(function(){
32
- return $(this).data('product-id') == product_id;
33
  }).remove();
34
  $('.aux-cart-contents').find('span').text(response.data.count);
35
  }
5
  e.preventDefault();
6
 
7
  var product_id = $(this).data("product_id");
8
+ var cart_item_key= $(this).data("cart_item_key");
9
  var verify_nonce = $(this).data("verify_nonce");
10
  var $cartBoxEl = $(this).closest('.aux-cart-wrapper').addClass('aux-cart-remove-in-progress');
11
 
16
  data: {
17
  action: "auxels_remove_from_cart",
18
  product_id: product_id,
19
+ cart_item_key: cart_item_key,
20
  verify_nonce: verify_nonce,
21
  },
22
  success: function( response ){
31
  $('.aux-cart-contents').find('span').remove();
32
  } else {
33
  $('.aux-card-item').filter(function(){
34
+ return $(this).data('cart_item_key') == cart_item_key;
35
  }).remove();
36
  $('.aux-cart-contents').find('span').text(response.data.count);
37
  }
public/includes/frontend-ajax.php CHANGED
@@ -128,20 +128,16 @@ function auxels_remove_product_from_cart() {
128
 
129
  try {
130
 
131
- $nonce = $_POST['verify_nonce'];
132
- $id = $_POST['product_id'];
 
133
 
134
  if( ! isset( $_POST['product_id'] ) || ! wp_verify_nonce( $nonce, 'remove_cart-' . $id ) ){
135
  wp_send_json_error( sprintf( '<div class="aux-woocommerce-ajax-notification woocommerce-error">%s</div>', __('Verification failed!', 'auxin-elements') ) );
136
  }
137
 
138
  $cart = $woocommerce->cart;
139
- $cart_id = $cart->generate_cart_id($id);
140
- $cart_item_id = $cart->find_product_in_cart($cart_id);
141
-
142
- if( $cart_item_id ) {
143
- $cart->set_quantity( $cart_item_id, 0 );
144
- }
145
 
146
  $cart->calculate_totals();
147
 
128
 
129
  try {
130
 
131
+ $nonce = $_POST['verify_nonce'];
132
+ $id = $_POST['product_id'];
133
+ $cart_item_key = $_POST['cart_item_key'];
134
 
135
  if( ! isset( $_POST['product_id'] ) || ! wp_verify_nonce( $nonce, 'remove_cart-' . $id ) ){
136
  wp_send_json_error( sprintf( '<div class="aux-woocommerce-ajax-notification woocommerce-error">%s</div>', __('Verification failed!', 'auxin-elements') ) );
137
  }
138
 
139
  $cart = $woocommerce->cart;
140
+ $cart->remove_cart_item( $cart_item_key );
 
 
 
 
 
141
 
142
  $cart->calculate_totals();
143