Version Description
Download this release
Release Info
Developer | averta |
Plugin | Shortcodes and extra features for Phlox theme |
Version | 2.6.10 |
Comparing to | |
See all releases |
Code changes from version 2.6.7 to 2.6.10
- README.txt +2 -2
- admin/assets/images/welcome/check.svg +1 -0
- admin/assets/images/welcome/lock-icon.svg +1 -0
- admin/assets/images/welcome/watermark-2.png +0 -0
- admin/assets/images/welcome/watermark.png +0 -0
- admin/assets/js/plugins.js +9 -11
- admin/assets/js/plugins.min.js +1 -1
- auxin-elements.php +2 -2
- includes/classes/class-auxin-demo-importer.php +14 -13
- includes/classes/class-auxin-welcome.php +59 -15
- includes/define.php +1 -1
- includes/elementor/class-auxin-elementor-core-elements.php +1 -1
- includes/elementor/modules/dynamic-tags/archive-url.php +40 -4
- includes/elementor/modules/query-control/module.php +2 -2
- includes/elementor/modules/templates-types-manager.php +8 -7
- includes/elementor/modules/theme-builder/classes/locations-manager.php +1 -1
- includes/elementor/modules/theme-builder/classes/preview-manager.php +4 -4
- includes/elementor/modules/theme-builder/module.php +4 -4
- includes/elementor/modules/theme-builder/theme-page-document.php +1 -1
- includes/elementor/widgets/before-after.php +1 -1
- includes/elementor/widgets/theme-elements/search.php +1 -1
- includes/general-hooks.php +0 -14
- languages/auxin-elements.pot +86 -67
- public/assets/js/plugins.js +1 -1
- public/templates/elementor/canvas.php +2 -2
README.txt
CHANGED
@@ -6,8 +6,8 @@ License URI: http://www.gnu.org/licenses/gpl.html
|
|
6 |
Tags: phlox, gallery, elementor, siteorigin, auxin, averta, auxin-elements, framework, widget, fullwidth, masonry, timeline, parallax
|
7 |
Requires PHP: 5.4
|
8 |
Requires at least: 4.6
|
9 |
-
Tested up to: 5.
|
10 |
-
Stable tag: 2.6.
|
11 |
License: GPLv3
|
12 |
License URI: http://www.gnu.org/licenses/gpl.html
|
13 |
|
6 |
Tags: phlox, gallery, elementor, siteorigin, auxin, averta, auxin-elements, framework, widget, fullwidth, masonry, timeline, parallax
|
7 |
Requires PHP: 5.4
|
8 |
Requires at least: 4.6
|
9 |
+
Tested up to: 5.5.0
|
10 |
+
Stable tag: 2.6.10
|
11 |
License: GPLv3
|
12 |
License URI: http://www.gnu.org/licenses/gpl.html
|
13 |
|
admin/assets/images/welcome/check.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="15.252" height="12.021" viewBox="0 0 15.252 12.021"><defs><style>.a{fill:#fff;}</style></defs><g transform="translate(-1187.362 -694.97)"><rect class="a" width="3" height="14" rx="1.5" transform="translate(1200.493 694.97) rotate(45)"/><rect class="a" width="7" height="3" rx="1.5" transform="translate(1189.483 699.579) rotate(45)"/></g></svg>
|
admin/assets/images/welcome/lock-icon.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="9.75" height="11.375" viewBox="0 0 9.75 11.375"><defs><style>.a{fill:#fff;}</style></defs><path class="a" d="M2.184-.812A.537.537,0,0,1,1.79-.978a.537.537,0,0,1-.165-.394V-6.754a.537.537,0,0,1,.165-.394.537.537,0,0,1,.394-.165h.559V-8.1a4.11,4.11,0,0,1,1.092-2.92A3.511,3.511,0,0,1,6.5-12.187,3.511,3.511,0,0,1,9.166-11.02,4.11,4.11,0,0,1,10.258-8.1v.787h.559a.537.537,0,0,1,.394.165.537.537,0,0,1,.165.394v5.383a.537.537,0,0,1-.165.394.537.537,0,0,1-.394.165ZM4.088-8.1v.787H8.912V-8.1A2.857,2.857,0,0,0,8.2-10.131v-.025a2.23,2.23,0,0,0-1.7-.736,2.23,2.23,0,0,0-1.7.736v.025A2.857,2.857,0,0,0,4.088-8.1Z" transform="translate(-1.625 12.188)"/></svg>
|
admin/assets/images/welcome/watermark-2.png
ADDED
Binary file
|
admin/assets/images/welcome/watermark.png
ADDED
Binary file
|
admin/assets/js/plugins.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Phlox Core Plugin - v2.6.
|
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!
|
@@ -1599,7 +1599,7 @@ if( typeof Object.create !== 'function' ){ Object.create = function (obj){ funct
|
|
1599 |
// Check envato elements token
|
1600 |
$(document).on(
|
1601 |
"click",
|
1602 |
-
".aux-verify-elements-token
|
1603 |
this._verifyEnvatoElementsToken.bind(this)
|
1604 |
);
|
1605 |
|
@@ -2671,17 +2671,15 @@ if( typeof Object.create !== 'function' ){ Object.create = function (obj){ funct
|
|
2671 |
$modalSectionElement.addClass("aux-step-in-progress");
|
2672 |
this._globalAJAX(
|
2673 |
function(response) {
|
2674 |
-
if (
|
2675 |
-
|
2676 |
-
|
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 |
}
|
1 |
+
/*! Phlox Core Plugin - v2.6.10 (2020-08)
|
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!
|
1599 |
// Check envato elements token
|
1600 |
$(document).on(
|
1601 |
"click",
|
1602 |
+
".aux-verify-elements-token",
|
1603 |
this._verifyEnvatoElementsToken.bind(this)
|
1604 |
);
|
1605 |
|
2671 |
$modalSectionElement.addClass("aux-step-in-progress");
|
2672 |
this._globalAJAX(
|
2673 |
function(response) {
|
2674 |
+
if (response.status) {
|
2675 |
+
$modalSectionElement.removeClass("aux-step-in-progress");
|
2676 |
+
$('.token-wrapper .result').addClass('success').text(response.message);
|
|
|
|
|
|
|
|
|
|
|
|
|
2677 |
self._stepManager({ currentTarget: self._buttonTarget });
|
2678 |
+
} else {
|
2679 |
+
$modalSectionElement.removeClass("aux-step-in-progress");
|
2680 |
+
$('.token-wrapper .result').addClass('error').text(response.message);
|
2681 |
}
|
2682 |
+
|
2683 |
}
|
2684 |
);
|
2685 |
}
|
admin/assets/js/plugins.min.js
CHANGED
@@ -1 +1 @@
|
|
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:"✕",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||" ")+"</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||" ")+"</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);
|
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:"✕",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(C){C.fn._fadeIn=C.fn.fadeIn;var T=C.noop||function(){},I=/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(e){n(window,e)},C.unblockUI=function(e){U(window,e)},C.growlUI=function(e,t,n,a){var s=C('<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||{},C.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:C.blockUI.defaults.growlCSS})};i();s.css("opacity");s.mouseover(function(){i({fadeIn:0,timeout:3e4});var e=C(".blockMsg");e.stop(),e.fadeTo(300,1)}).mouseout(function(){C(".blockMsg").fadeOut(1e3)})},C.fn.block=function(e){if(this[0]===window)return C.blockUI(e),this;var t=C.extend({},C.blockUI.defaults,e||{});return this.each(function(){var e=C(this);t.ignoreIfBlocked&&e.data("blockUI.isBlocked")||e.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,e)})},C.fn.unblock=function(e){return this[0]===window?(C.unblockUI(e),this):this.each(function(){U(this,e)})},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 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=C.extend({},C.blockUI.defaults,s||{})).ignoreIfBlocked||!C(e).data("blockUI.isBlocked")){if(s.overlayCSS=C.extend({},C.blockUI.defaults.overlayCSS,s.overlayCSS||{}),t=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&&A&&U(window,{fadeOut:0}),a&&"string"!=typeof a&&(a.parentNode||a.jquery)){var o=a.jquery?a[0]:a,r={};C(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)}C(e).data("blockUI.onUnblock",s.onUnblock);var l,c,u,d,h=s.baseZ;l=I||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||" ")+"</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||" ")+"</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(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=C(i?"body":e);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:e).length);if($||m){if(i&&s.allowBodyStretch&&C.support.boxModel&&C("html,body").css("height","100%"),($||!C.support.boxModel)&&!i)var g=O(e,"borderTopWidth"),x=O(e,"borderLeftWidth"),b=g?"(0 - "+g+")":0,v=x?"(0 - "+x+")":0;C.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)&&C(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=C(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 w=setTimeout(function(){i?C.unblockUI(s):C(e).unblock(s)},s.timeout);C(e).data("blockUI.timeout",w)}}}function U(e,t){var n,a,s=e==window,i=C(e),o=i.data("blockUI.history"),r=i.data("blockUI.timeout");r&&(clearTimeout(r),i.removeData("blockUI.timeout")),t=C.extend({},C.blockUI.defaults,t||{}),j(0,e,t),null===t.onUnblock&&(t.onUnblock=i.data("blockUI.onUnblock"),i.removeData("blockUI.onUnblock")),a=s?C("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=C(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=C(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=C(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?C(document).bind(i,n,o):C(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=C(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(C.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",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){e.status?(a.removeClass("aux-step-in-progress"),r(".token-wrapper .result").addClass("success").text(e.message),n._stepManager({currentTarget:n._buttonTarget})):(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.6.
|
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.
|
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.6.10
|
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.5.0
|
23 |
*/
|
24 |
|
25 |
// If this file is called directly, abort.
|
includes/classes/class-auxin-demo-importer.php
CHANGED
@@ -1826,19 +1826,20 @@ class Auxin_Demo_Importer {
|
|
1826 |
}
|
1827 |
}
|
1828 |
|
1829 |
-
|
1830 |
-
|
1831 |
-
|
1832 |
-
|
1833 |
-
|
1834 |
-
|
1835 |
-
|
1836 |
-
|
1837 |
-
|
1838 |
-
|
1839 |
-
|
1840 |
-
|
1841 |
-
|
|
|
1842 |
}
|
1843 |
}
|
1844 |
|
1826 |
}
|
1827 |
}
|
1828 |
|
1829 |
+
$svg_icon_patterns = [
|
1830 |
+
'icon',
|
1831 |
+
'selected_icon',
|
1832 |
+
'prev_icon',
|
1833 |
+
'next_icon'
|
1834 |
+
];
|
1835 |
+
|
1836 |
+
foreach( $svg_icon_patterns as $key => $pattern ) {
|
1837 |
+
preg_match_all('/"' . $pattern . '":(\{.*?\})/', $meta, $svg_urls, PREG_SET_ORDER );
|
1838 |
+
if ( !empty( $svg_urls ) ) {
|
1839 |
+
foreach ( $svg_urls as $svg_key => $svg_url ) {
|
1840 |
+
preg_match_all( '/\{\"url":.*?\}/' , $svg_url[0], $svg );
|
1841 |
+
$matches = !empty( $svg ) ? array_merge( $matches, $svg ) : $matches;
|
1842 |
+
}
|
1843 |
}
|
1844 |
}
|
1845 |
|
includes/classes/class-auxin-welcome.php
CHANGED
@@ -1386,14 +1386,18 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
|
|
1386 |
'next' => ''
|
1387 |
),
|
1388 |
'6' => array(
|
|
|
|
|
|
|
|
|
1389 |
'method' => 'envato_elements_step',
|
1390 |
'next' => '3'
|
1391 |
),
|
1392 |
-
'
|
1393 |
'method' => 'get_user_email_step',
|
1394 |
-
'next' => '
|
1395 |
),
|
1396 |
-
'
|
1397 |
'method' => 'verify_envato_elements_step',
|
1398 |
'next' => '3'
|
1399 |
)
|
@@ -1441,7 +1445,7 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
|
|
1441 |
|
1442 |
// Goto next step, if no required plugins found
|
1443 |
if( ! isset( $args['plugins'] ) ) {
|
1444 |
-
return call_user_func( array( $this, '
|
1445 |
}
|
1446 |
|
1447 |
$plugins_list = json_decode( stripslashes( $args['plugins'] ), true );
|
@@ -1450,7 +1454,7 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
|
|
1450 |
$has_plugin_required = ! empty( $plugins_list ) && ! empty( $plugins['all'] );
|
1451 |
|
1452 |
if( $has_plugin_required ) :
|
1453 |
-
$next_step = Auxels_Envato_Elements::get_instance()->is_envato_element_enabled() ? '
|
1454 |
ob_start();
|
1455 |
?>
|
1456 |
<div class="aux-setup-demo-content aux-content-col aux-install-plugins">
|
@@ -1510,7 +1514,7 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
|
|
1510 |
<?php
|
1511 |
return ob_get_clean();
|
1512 |
else :
|
1513 |
-
return Auxels_Envato_Elements::get_instance()->is_envato_element_enabled() ? call_user_func( array( $this, 'third_step' ), $args, '4' ) : call_user_func( array( $this, '
|
1514 |
return ;
|
1515 |
endif;
|
1516 |
}
|
@@ -1647,6 +1651,45 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
|
|
1647 |
return ob_get_clean();
|
1648 |
}
|
1649 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1650 |
public function envato_elements_step( array $args, $next_step ) {
|
1651 |
ob_start();
|
1652 |
?>
|
@@ -1658,9 +1701,9 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
|
|
1658 |
<?php _e( 'Explore and Subscribe', 'auxin-elements' ); ?>
|
1659 |
</a>
|
1660 |
<?php
|
1661 |
-
$activate_step = '
|
1662 |
if ( ! empty( get_option( 'phlox_envato_elements_license_code', '' ) ) ) {
|
1663 |
-
$activate_step = '
|
1664 |
}
|
1665 |
?>
|
1666 |
<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>
|
@@ -1715,9 +1758,6 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
|
|
1715 |
<p class="aux-step-description"><?php esc_html_e( "Enter your token below to verify your Subscription", 'auxin-elements' ); ?></p>
|
1716 |
<div class="token-wrapper">
|
1717 |
<input type="text" class="token-field" placeholder="<?php esc_attr_e( 'Enter token here', 'auxin-elements' ); ?>">
|
1718 |
-
<a href="#" class="aux-button aux-medium aux-verify-elements-token">
|
1719 |
-
<?php _e( 'Verify token', 'auxin-elements' ); ?>
|
1720 |
-
</a>
|
1721 |
<p class="result"></p>
|
1722 |
</div>
|
1723 |
<div class="aux-info-links">
|
@@ -1736,13 +1776,17 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
|
|
1736 |
<div class="aux-setup-demo-actions">
|
1737 |
<div class="aux-return-back">
|
1738 |
<a href="#"
|
1739 |
-
class="aux-button aux-medium aux-primary aux-
|
1740 |
data-next-step="<?php echo esc_attr( $next_step ); ?>"
|
1741 |
data-args="<?php echo htmlspecialchars( wp_json_encode($args), ENT_QUOTES, 'UTF-8' ); ?>"
|
1742 |
data-step-nonce="<?php echo wp_create_nonce( 'aux-step-manager' ); ?>"
|
1743 |
-
><?php esc_html_e( '
|
1744 |
-
<a href="#"
|
1745 |
-
|
|
|
|
|
|
|
|
|
1746 |
</a>
|
1747 |
</div>
|
1748 |
</div>
|
1386 |
'next' => ''
|
1387 |
),
|
1388 |
'6' => array(
|
1389 |
+
'method' => 'remove_watermark_step',
|
1390 |
+
'next' => '7'
|
1391 |
+
),
|
1392 |
+
'7' => array(
|
1393 |
'method' => 'envato_elements_step',
|
1394 |
'next' => '3'
|
1395 |
),
|
1396 |
+
'8' => array(
|
1397 |
'method' => 'get_user_email_step',
|
1398 |
+
'next' => '9'
|
1399 |
),
|
1400 |
+
'9' => array(
|
1401 |
'method' => 'verify_envato_elements_step',
|
1402 |
'next' => '3'
|
1403 |
)
|
1445 |
|
1446 |
// Goto next step, if no required plugins found
|
1447 |
if( ! isset( $args['plugins'] ) ) {
|
1448 |
+
return call_user_func( array( $this, 'remove_watermark_step' ), $args, '7' );
|
1449 |
}
|
1450 |
|
1451 |
$plugins_list = json_decode( stripslashes( $args['plugins'] ), true );
|
1454 |
$has_plugin_required = ! empty( $plugins_list ) && ! empty( $plugins['all'] );
|
1455 |
|
1456 |
if( $has_plugin_required ) :
|
1457 |
+
$next_step = Auxels_Envato_Elements::get_instance()->is_envato_element_enabled() ? '4' : $next_step;
|
1458 |
ob_start();
|
1459 |
?>
|
1460 |
<div class="aux-setup-demo-content aux-content-col aux-install-plugins">
|
1514 |
<?php
|
1515 |
return ob_get_clean();
|
1516 |
else :
|
1517 |
+
return Auxels_Envato_Elements::get_instance()->is_envato_element_enabled() ? call_user_func( array( $this, 'third_step' ), $args, '4' ) : call_user_func( array( $this, 'remove_watermark_step' ), $args, '7' ) ;
|
1518 |
return ;
|
1519 |
endif;
|
1520 |
}
|
1651 |
return ob_get_clean();
|
1652 |
}
|
1653 |
|
1654 |
+
public function remove_watermark_step( array $args, $next_step ) {
|
1655 |
+
ob_start();
|
1656 |
+
?>
|
1657 |
+
<div class="aux-setup-demo-content aux-content-col aux-step-remove-watermark">
|
1658 |
+
<div class="aux-watermark">
|
1659 |
+
<div class="locked">
|
1660 |
+
<img src="<?php echo esc_url( AUXELS_ADMIN_URL . '/assets/images/welcome/watermark-2.png' ); ?>" />
|
1661 |
+
<img class="lock-icon" src="<?php echo esc_url( AUXELS_ADMIN_URL . '/assets/images/welcome/lock-icon.svg' ); ?>" />
|
1662 |
+
</div>
|
1663 |
+
<div class="unlocked">
|
1664 |
+
<img src="<?php echo esc_url( AUXELS_ADMIN_URL . '/assets/images/welcome/watermark.png' ); ?>" />
|
1665 |
+
<img class="check-icon" src="<?php echo esc_url( AUXELS_ADMIN_URL . '/assets/images/welcome/check.svg' ); ?>" />
|
1666 |
+
</div>
|
1667 |
+
</div>
|
1668 |
+
<h2 class="aux-step-import-title"><?php esc_html_e( 'Remove Watermarks?', 'auxin-elements' ); ?></h2>
|
1669 |
+
<p class="aux-step-description"><?php esc_html_e( "For better and faster install proccess it's recommanded to install demo on a clean wordpress website.", 'auxin-elements' ); ?></p>
|
1670 |
+
<?php
|
1671 |
+
$skip_watermark_step = '3';
|
1672 |
+
?>
|
1673 |
+
</div>
|
1674 |
+
<div class="aux-setup-demo-actions">
|
1675 |
+
<div class="aux-return-back">
|
1676 |
+
<a href="#"
|
1677 |
+
class="aux-button aux-medium aux-primary aux-next-step"
|
1678 |
+
data-callback="envato_elements_step"
|
1679 |
+
data-next-step="<?php echo esc_attr( $next_step ); ?>"
|
1680 |
+
data-args="<?php echo htmlspecialchars( wp_json_encode($args), ENT_QUOTES, 'UTF-8' ); ?>"
|
1681 |
+
data-step-nonce="<?php echo wp_create_nonce( 'aux-step-manager' ); ?>"
|
1682 |
+
data-next-action="<?php echo isset( $args['next_action'] ) ? $args['next_action'] : false; ?>"
|
1683 |
+
><?php esc_html_e( 'Remove Watermarks', 'auxin-elements' ); ?></a>
|
1684 |
+
<a href="#" data-next-step="<?php echo esc_attr( $skip_watermark_step ); ?>" class="aux-button aux-next-step aux-outline aux-round aux-transparent aux-medium aux-skip" data-args="<?php echo htmlspecialchars( wp_json_encode($args), ENT_QUOTES, 'UTF-8' ); ?>" data-step-nonce="<?php echo wp_create_nonce( 'aux-step-manager' ); ?>">
|
1685 |
+
<?php _e( 'Skip', 'auxin-elements' ); ?>
|
1686 |
+
</a>
|
1687 |
+
</div>
|
1688 |
+
</div>
|
1689 |
+
<?php
|
1690 |
+
return ob_get_clean();
|
1691 |
+
}
|
1692 |
+
|
1693 |
public function envato_elements_step( array $args, $next_step ) {
|
1694 |
ob_start();
|
1695 |
?>
|
1701 |
<?php _e( 'Explore and Subscribe', 'auxin-elements' ); ?>
|
1702 |
</a>
|
1703 |
<?php
|
1704 |
+
$activate_step = '8';
|
1705 |
if ( ! empty( get_option( 'phlox_envato_elements_license_code', '' ) ) ) {
|
1706 |
+
$activate_step = '9';
|
1707 |
}
|
1708 |
?>
|
1709 |
<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>
|
1758 |
<p class="aux-step-description"><?php esc_html_e( "Enter your token below to verify your Subscription", 'auxin-elements' ); ?></p>
|
1759 |
<div class="token-wrapper">
|
1760 |
<input type="text" class="token-field" placeholder="<?php esc_attr_e( 'Enter token here', 'auxin-elements' ); ?>">
|
|
|
|
|
|
|
1761 |
<p class="result"></p>
|
1762 |
</div>
|
1763 |
<div class="aux-info-links">
|
1776 |
<div class="aux-setup-demo-actions">
|
1777 |
<div class="aux-return-back">
|
1778 |
<a href="#"
|
1779 |
+
class="aux-button aux-medium aux-primary button-next aux-verify-elements-token"
|
1780 |
data-next-step="<?php echo esc_attr( $next_step ); ?>"
|
1781 |
data-args="<?php echo htmlspecialchars( wp_json_encode($args), ENT_QUOTES, 'UTF-8' ); ?>"
|
1782 |
data-step-nonce="<?php echo wp_create_nonce( 'aux-step-manager' ); ?>"
|
1783 |
+
><?php esc_html_e( 'Verify Token', 'auxin-elements' ); ?></a>
|
1784 |
+
<a href="#"
|
1785 |
+
class="aux-button aux-outline aux-round aux-transparent aux-medium aux-next-step aux-skip"
|
1786 |
+
data-next-step="<?php echo esc_attr( $next_step ); ?>"
|
1787 |
+
data-args="<?php echo htmlspecialchars( wp_json_encode($args), ENT_QUOTES, 'UTF-8' ); ?>"
|
1788 |
+
data-step-nonce="<?php echo wp_create_nonce( 'aux-step-manager' );?>">
|
1789 |
+
<?php _e( 'Skip', 'auxin-elements' ); ?>
|
1790 |
</a>
|
1791 |
</div>
|
1792 |
</div>
|
includes/define.php
CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
|
|
12 |
}
|
13 |
|
14 |
|
15 |
-
define( 'AUXELS_VERSION' , '2.6.
|
16 |
|
17 |
define( 'AUXELS_SLUG' , 'auxin-elements' );
|
18 |
|
12 |
}
|
13 |
|
14 |
|
15 |
+
define( 'AUXELS_VERSION' , '2.6.10' );
|
16 |
|
17 |
define( 'AUXELS_SLUG' , 'auxin-elements' );
|
18 |
|
includes/elementor/class-auxin-elementor-core-elements.php
CHANGED
@@ -785,7 +785,7 @@ final class Elements {
|
|
785 |
*
|
786 |
*/
|
787 |
public function clear_cache(){
|
788 |
-
//\Elementor\Plugin
|
789 |
}
|
790 |
|
791 |
}
|
785 |
*
|
786 |
*/
|
787 |
public function clear_cache(){
|
788 |
+
//\Elementor\Plugin::instance()->files_manager->clear_cache();
|
789 |
}
|
790 |
|
791 |
}
|
includes/elementor/modules/dynamic-tags/archive-url.php
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
<?php
|
2 |
namespace Auxin\Plugin\CoreElements\Elementor\Modules\DynamicTags;
|
3 |
|
|
|
4 |
use Elementor\Core\DynamicTags\Data_Tag;
|
5 |
use Elementor\Modules\DynamicTags\Module as TagsModule;
|
6 |
|
@@ -15,7 +16,7 @@ class Archive_URL extends Data_Tag {
|
|
15 |
}
|
16 |
|
17 |
public function get_group() {
|
18 |
-
return '
|
19 |
}
|
20 |
|
21 |
public function get_categories() {
|
@@ -26,12 +27,47 @@ class Archive_URL extends Data_Tag {
|
|
26 |
return __( 'Archive URL', 'auxin-elements' );
|
27 |
}
|
28 |
|
29 |
-
public function
|
30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
}
|
32 |
|
33 |
public function get_value( array $options = [] ) {
|
34 |
-
return
|
|
|
|
|
|
|
|
|
35 |
}
|
36 |
}
|
37 |
|
1 |
<?php
|
2 |
namespace Auxin\Plugin\CoreElements\Elementor\Modules\DynamicTags;
|
3 |
|
4 |
+
use Elementor\Controls_Manager;
|
5 |
use Elementor\Core\DynamicTags\Data_Tag;
|
6 |
use Elementor\Modules\DynamicTags\Module as TagsModule;
|
7 |
|
16 |
}
|
17 |
|
18 |
public function get_group() {
|
19 |
+
return 'URL';
|
20 |
}
|
21 |
|
22 |
public function get_categories() {
|
27 |
return __( 'Archive URL', 'auxin-elements' );
|
28 |
}
|
29 |
|
30 |
+
public function get_archive_list() {
|
31 |
+
|
32 |
+
$items = [
|
33 |
+
'' => __( 'Select...', 'auxin-elements' ),
|
34 |
+
];
|
35 |
+
|
36 |
+
$items = array_merge( $items, auxin_get_available_post_types_with_archive() );
|
37 |
+
|
38 |
+
return $items;
|
39 |
+
}
|
40 |
+
|
41 |
+
public function is_settings_required() {
|
42 |
+
return true;
|
43 |
+
}
|
44 |
+
|
45 |
+
protected function _register_controls() {
|
46 |
+
$this->add_control(
|
47 |
+
'key',
|
48 |
+
[
|
49 |
+
'label' => __( 'Archives URL', 'auxin-elements' ),
|
50 |
+
'type' => Controls_Manager::SELECT,
|
51 |
+
'options' => $this->get_archive_list(),
|
52 |
+
'default' => ''
|
53 |
+
]
|
54 |
+
);
|
55 |
+
}
|
56 |
+
|
57 |
+
protected function get_archive_url() {
|
58 |
+
if( $key = $this->get_settings( 'key' ) ){
|
59 |
+
return get_post_type_archive_link( $key );
|
60 |
+
}
|
61 |
+
|
62 |
+
return '';
|
63 |
}
|
64 |
|
65 |
public function get_value( array $options = [] ) {
|
66 |
+
return $this->get_archive_url();
|
67 |
+
}
|
68 |
+
|
69 |
+
public function render() {
|
70 |
+
echo $this->get_archive_url();
|
71 |
}
|
72 |
}
|
73 |
|
includes/elementor/modules/query-control/module.php
CHANGED
@@ -290,7 +290,7 @@ class Module extends Module_Base {
|
|
290 |
}
|
291 |
|
292 |
public function register_controls() {
|
293 |
-
$controls_manager = Plugin
|
294 |
|
295 |
$controls = array(
|
296 |
'aux-query'=> array(
|
@@ -415,7 +415,7 @@ class Module extends Module_Base {
|
|
415 |
|
416 |
public function get_query_args( $control_id, $settings ) {
|
417 |
|
418 |
-
$controls_manager = Plugin
|
419 |
|
420 |
/** @var Group_Control_Posts $posts_query */
|
421 |
$posts_query = $controls_manager->get_control_groups( Group_Control_Posts::get_type() );
|
290 |
}
|
291 |
|
292 |
public function register_controls() {
|
293 |
+
$controls_manager = Plugin::instance()->controls_manager;
|
294 |
|
295 |
$controls = array(
|
296 |
'aux-query'=> array(
|
415 |
|
416 |
public function get_query_args( $control_id, $settings ) {
|
417 |
|
418 |
+
$controls_manager = Plugin::instance()->controls_manager;
|
419 |
|
420 |
/** @var Group_Control_Posts $posts_query */
|
421 |
$posts_query = $controls_manager->get_control_groups( Group_Control_Posts::get_type() );
|
includes/elementor/modules/templates-types-manager.php
CHANGED
@@ -21,7 +21,7 @@ class Templates_Types_Manager {
|
|
21 |
];
|
22 |
|
23 |
foreach ( $this->docs_types as $type => $class_name ) {
|
24 |
-
Plugin
|
25 |
}
|
26 |
}
|
27 |
|
@@ -49,11 +49,6 @@ class Templates_Types_Manager {
|
|
49 |
// 'group' => 'archive',
|
50 |
// 'title' => 'Archive',
|
51 |
// ),
|
52 |
-
// 'aux-archive-url' => array(
|
53 |
-
// 'file' => AUXELS_INC_DIR . '/elementor/modules/dynamic-tags/archive-url.php',
|
54 |
-
// 'class' => 'DynamicTags\Archive_URL',
|
55 |
-
// 'group' => 'archive',
|
56 |
-
// 'title' => 'Archive',
|
57 |
// ),
|
58 |
// 'aux-author-info' => array(
|
59 |
// 'file' => AUXELS_INC_DIR . '/elementor/modules/dynamic-tags/author-info.php',
|
@@ -145,6 +140,12 @@ class Templates_Types_Manager {
|
|
145 |
'group' => 'URL',
|
146 |
'title' => 'URL',
|
147 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
// 'aux-post-date' => array(
|
149 |
// 'file' => AUXELS_INC_DIR . '/elementor/modules/dynamic-tags/post-date.php',
|
150 |
// 'class' => 'DynamicTags\Post_Date',
|
@@ -247,7 +248,7 @@ class Templates_Types_Manager {
|
|
247 |
if( ! empty( $tags_info['file'] ) && ! empty( $tags_info['class'] ) ){
|
248 |
// In our Dynamic Tag we use a group named request-variables so we need
|
249 |
// To register that group as well before the tag
|
250 |
-
\Elementor\Plugin
|
251 |
'title' => $tags_info['title']
|
252 |
] );
|
253 |
|
21 |
];
|
22 |
|
23 |
foreach ( $this->docs_types as $type => $class_name ) {
|
24 |
+
Plugin::instance()->documents->register_document_type( $type, $class_name );
|
25 |
}
|
26 |
}
|
27 |
|
49 |
// 'group' => 'archive',
|
50 |
// 'title' => 'Archive',
|
51 |
// ),
|
|
|
|
|
|
|
|
|
|
|
52 |
// ),
|
53 |
// 'aux-author-info' => array(
|
54 |
// 'file' => AUXELS_INC_DIR . '/elementor/modules/dynamic-tags/author-info.php',
|
140 |
'group' => 'URL',
|
141 |
'title' => 'URL',
|
142 |
),
|
143 |
+
'aux-archive-url' => array(
|
144 |
+
'file' => AUXELS_INC_DIR . '/elementor/modules/dynamic-tags/archive-url.php',
|
145 |
+
'class' => 'DynamicTags\Archive_URL',
|
146 |
+
'group' => 'URL',
|
147 |
+
'title' => 'URL',
|
148 |
+
),
|
149 |
// 'aux-post-date' => array(
|
150 |
// 'file' => AUXELS_INC_DIR . '/elementor/modules/dynamic-tags/post-date.php',
|
151 |
// 'class' => 'DynamicTags\Post_Date',
|
248 |
if( ! empty( $tags_info['file'] ) && ! empty( $tags_info['class'] ) ){
|
249 |
// In our Dynamic Tag we use a group named request-variables so we need
|
250 |
// To register that group as well before the tag
|
251 |
+
\Elementor\Plugin::instance()->dynamic_tags->register_group( $tags_info['group'] , [
|
252 |
'title' => $tags_info['title']
|
253 |
] );
|
254 |
|
includes/elementor/modules/theme-builder/classes/locations-manager.php
CHANGED
@@ -177,7 +177,7 @@ class Locations_Manager {
|
|
177 |
}
|
178 |
|
179 |
public function get_doc_location( $post_id ) {
|
180 |
-
$document = Plugin
|
181 |
return $document->get_location();
|
182 |
}
|
183 |
|
177 |
}
|
178 |
|
179 |
public function get_doc_location( $post_id ) {
|
180 |
+
$document = Plugin::instance()->documents->get( $post_id );
|
181 |
return $document->get_location();
|
182 |
}
|
183 |
|
includes/elementor/modules/theme-builder/classes/preview-manager.php
CHANGED
@@ -42,7 +42,7 @@ class Preview_Manager {
|
|
42 |
* @return array
|
43 |
*/
|
44 |
public function filter_query_control_args( $query_vars ) {
|
45 |
-
$document = Plugin
|
46 |
|
47 |
if ( $document && $document instanceof Theme_Document ) {
|
48 |
$query_vars = $document->get_preview_as_query_args();
|
@@ -56,7 +56,7 @@ class Preview_Manager {
|
|
56 |
*/
|
57 |
public function switch_to_preview_query() {
|
58 |
$current_post_id = get_the_ID();
|
59 |
-
$document = Plugin
|
60 |
|
61 |
if ( ! $document || ! $document instanceof Theme_Document ) {
|
62 |
return;
|
@@ -64,13 +64,13 @@ class Preview_Manager {
|
|
64 |
|
65 |
$new_query_vars = $document->get_preview_as_query_args();
|
66 |
|
67 |
-
Plugin
|
68 |
}
|
69 |
|
70 |
/**
|
71 |
* @access public
|
72 |
*/
|
73 |
public function restore_current_query() {
|
74 |
-
Plugin
|
75 |
}
|
76 |
}
|
42 |
* @return array
|
43 |
*/
|
44 |
public function filter_query_control_args( $query_vars ) {
|
45 |
+
$document = Plugin::instance()->documents->get_doc_or_auto_save( get_the_ID() );
|
46 |
|
47 |
if ( $document && $document instanceof Theme_Document ) {
|
48 |
$query_vars = $document->get_preview_as_query_args();
|
56 |
*/
|
57 |
public function switch_to_preview_query() {
|
58 |
$current_post_id = get_the_ID();
|
59 |
+
$document = Plugin::instance()->documents->get_doc_or_auto_save( $current_post_id );
|
60 |
|
61 |
if ( ! $document || ! $document instanceof Theme_Document ) {
|
62 |
return;
|
64 |
|
65 |
$new_query_vars = $document->get_preview_as_query_args();
|
66 |
|
67 |
+
Plugin::instance()->db->switch_to_query( $new_query_vars, true );
|
68 |
}
|
69 |
|
70 |
/**
|
71 |
* @access public
|
72 |
*/
|
73 |
public function restore_current_query() {
|
74 |
+
Plugin::instance()->db->restore_current_query();
|
75 |
}
|
76 |
}
|
includes/elementor/modules/theme-builder/module.php
CHANGED
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
class Module extends Module_Base {
|
15 |
|
16 |
public static function is_preview() {
|
17 |
-
return Plugin
|
18 |
}
|
19 |
|
20 |
public function get_name() {
|
@@ -37,7 +37,7 @@ class Module extends Module_Base {
|
|
37 |
$document = null;
|
38 |
|
39 |
try {
|
40 |
-
$document = Plugin
|
41 |
} catch ( \Exception $e ) {
|
42 |
// Do nothing.
|
43 |
unset( $e );
|
@@ -55,7 +55,7 @@ class Module extends Module_Base {
|
|
55 |
* @var Theme_Document[] $document_types
|
56 |
*/
|
57 |
foreach ( $types as $type => $label ) {
|
58 |
-
$document_type = Plugin
|
59 |
$instance = new $document_type();
|
60 |
|
61 |
if ( $instance instanceof Theme_Document && 'section' !== $type ) {
|
@@ -119,7 +119,7 @@ class Module extends Module_Base {
|
|
119 |
<?php
|
120 |
|
121 |
foreach ( $post_types as $post_type => $post_type_config ) {
|
122 |
-
$doc_type = Plugin
|
123 |
$doc_name = ( new $doc_type() )->get_name();
|
124 |
|
125 |
if ( 'post' === $doc_name || 'page' === $doc_name ) {
|
14 |
class Module extends Module_Base {
|
15 |
|
16 |
public static function is_preview() {
|
17 |
+
return Plugin::instance()->preview->is_preview_mode() || is_preview();
|
18 |
}
|
19 |
|
20 |
public function get_name() {
|
37 |
$document = null;
|
38 |
|
39 |
try {
|
40 |
+
$document = Plugin::instance()->documents->get( $post_id );
|
41 |
} catch ( \Exception $e ) {
|
42 |
// Do nothing.
|
43 |
unset( $e );
|
55 |
* @var Theme_Document[] $document_types
|
56 |
*/
|
57 |
foreach ( $types as $type => $label ) {
|
58 |
+
$document_type = Plugin::instance()->documents->get_document_type( $type );
|
59 |
$instance = new $document_type();
|
60 |
|
61 |
if ( $instance instanceof Theme_Document && 'section' !== $type ) {
|
119 |
<?php
|
120 |
|
121 |
foreach ( $post_types as $post_type => $post_type_config ) {
|
122 |
+
$doc_type = Plugin::instance()->documents->get_document_type( $post_type );
|
123 |
$doc_name = ( new $doc_type() )->get_name();
|
124 |
|
125 |
if ( 'post' === $doc_name || 'page' === $doc_name ) {
|
includes/elementor/modules/theme-builder/theme-page-document.php
CHANGED
@@ -65,7 +65,7 @@ abstract class Theme_Document extends Library_Document {
|
|
65 |
}
|
66 |
|
67 |
public function print_content() {
|
68 |
-
$plugin = Plugin
|
69 |
|
70 |
if ( $plugin->preview->is_preview_mode( get_the_ID() ) ) {
|
71 |
echo $plugin->preview->builder_wrapper( '' );
|
65 |
}
|
66 |
|
67 |
public function print_content() {
|
68 |
+
$plugin = Plugin::instance();
|
69 |
|
70 |
if ( $plugin->preview->is_preview_mode( get_the_ID() ) ) {
|
71 |
echo $plugin->preview->builder_wrapper( '' );
|
includes/elementor/widgets/before-after.php
CHANGED
@@ -240,7 +240,7 @@ class BeforeAfter extends Widget_Base {
|
|
240 |
]
|
241 |
);
|
242 |
|
243 |
-
if ( Plugin
|
244 |
$this->add_render_attribute( 'wrapper', [
|
245 |
'class' => 'elementor-clickable',
|
246 |
] );
|
240 |
]
|
241 |
);
|
242 |
|
243 |
+
if ( Plugin::instance()->editor->is_edit_mode() ) {
|
244 |
$this->add_render_attribute( 'wrapper', [
|
245 |
'class' => 'elementor-clickable',
|
246 |
] );
|
includes/elementor/widgets/theme-elements/search.php
CHANGED
@@ -459,7 +459,7 @@ class SearchBox extends Widget_Base {
|
|
459 |
|
460 |
$args = [];
|
461 |
|
462 |
-
$is_edit = \Elementor\Plugin
|
463 |
$is_preview = isset( $_GET['preview'] ) && $_GET['preview'] ? true : false;
|
464 |
|
465 |
if ( $is_edit || $is_preview ) {
|
459 |
|
460 |
$args = [];
|
461 |
|
462 |
+
$is_edit = \Elementor\Plugin::instance()->editor->is_edit_mode();
|
463 |
$is_preview = isset( $_GET['preview'] ) && $_GET['preview'] ? true : false;
|
464 |
|
465 |
if ( $is_edit || $is_preview ) {
|
includes/general-hooks.php
CHANGED
@@ -3222,20 +3222,6 @@ add_filter( 'auxin_secondary_logo_id', 'auxin_page_custom_secondary_logo_id', 10
|
|
3222 |
|
3223 |
/*-----------------------------------------------------------------------------------*/
|
3224 |
|
3225 |
-
/**
|
3226 |
-
* Disable the query monitor on Elementor preview mode
|
3227 |
-
*
|
3228 |
-
* @return bool Whether to displatche the debug report or not
|
3229 |
-
*/
|
3230 |
-
function auxin_disable_query_monitor_on_elementor( $debug_enabled ){
|
3231 |
-
if( class_exists( '\\Elementor\\Plugin' ) && \Elementor\Plugin::$instance->preview->is_preview_mode() ){
|
3232 |
-
return false;
|
3233 |
-
}
|
3234 |
-
return $debug_enabled;
|
3235 |
-
}
|
3236 |
-
add_filter( 'qm/dispatch/ajax', "auxin_disable_query_monitor_on_elementor" );
|
3237 |
-
add_filter( 'qm/dispatch/html', "auxin_disable_query_monitor_on_elementor" );
|
3238 |
-
|
3239 |
/*-----------------------------------------------------------------------------------*/
|
3240 |
/* Function For Checking is website on maintenance mode
|
3241 |
/*-----------------------------------------------------------------------------------*/
|
3222 |
|
3223 |
/*-----------------------------------------------------------------------------------*/
|
3224 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3225 |
/*-----------------------------------------------------------------------------------*/
|
3226 |
/* Function For Checking is website on maintenance mode
|
3227 |
/*-----------------------------------------------------------------------------------*/
|
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.6.
|
5 |
"Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
|
6 |
-
"POT-Creation-Date: 2020-08-
|
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:192
|
98 |
#: includes/classes/class-auxin-welcome.php:1234
|
99 |
#: includes/classes/class-auxin-welcome.php:1269
|
100 |
-
#: includes/classes/class-auxin-welcome.php:
|
101 |
msgid "Close"
|
102 |
msgstr ""
|
103 |
|
@@ -338,7 +338,9 @@ msgid "You need to enter a unique id for notice."
|
|
338 |
msgstr ""
|
339 |
|
340 |
#: admin/includes/classes/class-auxin-notices.php:186
|
341 |
-
#: includes/classes/class-auxin-welcome.php:
|
|
|
|
|
342 |
msgid "Skip"
|
343 |
msgstr ""
|
344 |
|
@@ -1796,20 +1798,19 @@ msgstr ""
|
|
1796 |
|
1797 |
#: includes/classes/class-auxels-admin-assets.php:67
|
1798 |
#: includes/classes/class-auxin-welcome.php:1310
|
1799 |
-
#: includes/classes/class-auxin-welcome.php:
|
1800 |
-
#: includes/classes/class-auxin-welcome.php:
|
1801 |
-
#: includes/classes/class-auxin-welcome.php:1743
|
1802 |
msgid "Continue"
|
1803 |
msgstr ""
|
1804 |
|
1805 |
#: includes/classes/class-auxels-admin-assets.php:68
|
1806 |
#: includes/classes/class-auxin-welcome.php:522
|
1807 |
-
#: includes/classes/class-auxin-welcome.php:
|
1808 |
msgid "Install Plugins"
|
1809 |
msgstr ""
|
1810 |
|
1811 |
#: includes/classes/class-auxels-admin-assets.php:69
|
1812 |
-
#: includes/classes/class-auxin-welcome.php:
|
1813 |
msgid "Import Content"
|
1814 |
msgstr ""
|
1815 |
|
@@ -2217,11 +2218,10 @@ msgstr ""
|
|
2217 |
#: includes/classes/class-auxin-walker-nav-menu-back.php:371
|
2218 |
#: includes/classes/class-auxin-welcome.php:1313
|
2219 |
#: includes/classes/class-auxin-welcome.php:1341
|
2220 |
-
#: includes/classes/class-auxin-welcome.php:
|
2221 |
-
#: includes/classes/class-auxin-welcome.php:
|
2222 |
-
#: includes/classes/class-auxin-welcome.php:
|
2223 |
-
#: includes/classes/class-auxin-welcome.php:
|
2224 |
-
#: includes/classes/class-auxin-welcome.php:1745
|
2225 |
msgid "Cancel"
|
2226 |
msgstr ""
|
2227 |
|
@@ -2431,7 +2431,7 @@ msgstr ""
|
|
2431 |
#: includes/classes/class-auxin-welcome.php:829
|
2432 |
#: includes/classes/class-auxin-welcome.php:943
|
2433 |
#: includes/classes/class-auxin-welcome.php:1231
|
2434 |
-
#: includes/classes/class-auxin-welcome.php:
|
2435 |
msgid "Preview"
|
2436 |
msgstr ""
|
2437 |
|
@@ -2483,7 +2483,7 @@ msgstr ""
|
|
2483 |
|
2484 |
#: includes/classes/class-auxin-welcome.php:1066
|
2485 |
#: includes/classes/class-auxin-welcome.php:1096
|
2486 |
-
#: includes/classes/class-auxin-welcome.php:
|
2487 |
msgid "Ready to update"
|
2488 |
msgstr ""
|
2489 |
|
@@ -2535,164 +2535,178 @@ msgid "Are you sure you want to uninstall this demo?"
|
|
2535 |
msgstr ""
|
2536 |
|
2537 |
#: includes/classes/class-auxin-welcome.php:1347
|
2538 |
-
#: includes/classes/class-auxin-welcome.php:
|
2539 |
msgid "Please wait, this may take several minutes .."
|
2540 |
msgstr ""
|
2541 |
|
2542 |
-
#: includes/classes/class-auxin-welcome.php:
|
2543 |
msgid "An error occurred!"
|
2544 |
msgstr ""
|
2545 |
|
2546 |
-
#: includes/classes/class-auxin-welcome.php:
|
2547 |
msgid "Method not exist!"
|
2548 |
msgstr ""
|
2549 |
|
2550 |
-
#: includes/classes/class-auxin-welcome.php:
|
2551 |
-
#: includes/classes/class-auxin-welcome.php:
|
2552 |
msgid "Required Plugins for this demo."
|
2553 |
msgstr ""
|
2554 |
|
2555 |
-
#: includes/classes/class-auxin-welcome.php:
|
2556 |
msgid ""
|
2557 |
"For better and faster install process it's recommended to install demo on a "
|
2558 |
"clean WordPress website."
|
2559 |
msgstr ""
|
2560 |
|
2561 |
-
#: includes/classes/class-auxin-welcome.php:
|
2562 |
msgid "The following plugins are required to be installed for this demo."
|
2563 |
msgstr ""
|
2564 |
|
2565 |
-
#: includes/classes/class-auxin-welcome.php:
|
2566 |
msgid "Ready to install"
|
2567 |
msgstr ""
|
2568 |
|
2569 |
-
#: includes/classes/class-auxin-welcome.php:
|
2570 |
msgid "Not activated"
|
2571 |
msgstr ""
|
2572 |
|
2573 |
-
#: includes/classes/class-auxin-welcome.php:
|
2574 |
msgid "Import Demo Content of Phlox Theme."
|
2575 |
msgstr ""
|
2576 |
|
2577 |
-
#: includes/classes/class-auxin-welcome.php:
|
2578 |
msgid "Complete pre-build Website"
|
2579 |
msgstr ""
|
2580 |
|
2581 |
-
#: includes/classes/class-auxin-welcome.php:
|
2582 |
msgid "Import media (images, videos, etc.)"
|
2583 |
msgstr ""
|
2584 |
|
2585 |
-
#: includes/classes/class-auxin-welcome.php:
|
2586 |
msgid "Selected Data Only"
|
2587 |
msgstr ""
|
2588 |
|
2589 |
-
#: includes/classes/class-auxin-welcome.php:
|
2590 |
msgid "Posts/Pages"
|
2591 |
msgstr ""
|
2592 |
|
2593 |
-
#: includes/classes/class-auxin-welcome.php:
|
2594 |
msgid "Media"
|
2595 |
msgstr ""
|
2596 |
|
2597 |
-
#: includes/classes/class-auxin-welcome.php:
|
2598 |
msgid "Widgets"
|
2599 |
msgstr ""
|
2600 |
|
2601 |
-
#: includes/classes/class-auxin-welcome.php:
|
2602 |
msgid "Menus"
|
2603 |
msgstr ""
|
2604 |
|
2605 |
-
#: includes/classes/class-auxin-welcome.php:
|
2606 |
msgid "Theme Options"
|
2607 |
msgstr ""
|
2608 |
|
2609 |
-
#: includes/classes/class-auxin-welcome.php:
|
2610 |
msgid "MasterSlider (If Available)"
|
2611 |
msgstr ""
|
2612 |
|
2613 |
-
#: includes/classes/class-auxin-welcome.php:
|
2614 |
msgid "Importing Demo Content is in Progress..."
|
2615 |
msgstr ""
|
2616 |
|
2617 |
-
#: includes/classes/class-auxin-welcome.php:
|
2618 |
msgid ""
|
2619 |
"This process may take 5 to 10 minutes to complete, please do not close or "
|
2620 |
"refresh this page."
|
2621 |
msgstr ""
|
2622 |
|
2623 |
-
#: includes/classes/class-auxin-welcome.php:
|
2624 |
msgid "Congratulations!"
|
2625 |
msgstr ""
|
2626 |
|
2627 |
-
#: includes/classes/class-auxin-welcome.php:
|
2628 |
msgid "Demo has been successfully imported."
|
2629 |
msgstr ""
|
2630 |
|
2631 |
-
#: includes/classes/class-auxin-welcome.php:
|
2632 |
msgid "Customize"
|
2633 |
msgstr ""
|
2634 |
|
2635 |
-
#: includes/classes/class-auxin-welcome.php:
|
2636 |
msgid "Importing page content ..."
|
2637 |
msgstr ""
|
2638 |
|
2639 |
-
#: includes/classes/class-auxin-welcome.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2640 |
msgid ""
|
2641 |
"Images are copyrighted and watermarked. You can remove watermarks by having "
|
2642 |
"Envato Elements subscription"
|
2643 |
msgstr ""
|
2644 |
|
2645 |
-
#: includes/classes/class-auxin-welcome.php:
|
2646 |
msgid ""
|
2647 |
"By subscribing to Envato Elements you will have access to unlimited premium "
|
2648 |
"stock images, icons, graphical assets, videos and more."
|
2649 |
msgstr ""
|
2650 |
|
2651 |
-
#: includes/classes/class-auxin-welcome.php:
|
2652 |
msgid "Explore and Subscribe"
|
2653 |
msgstr ""
|
2654 |
|
2655 |
-
#: includes/classes/class-auxin-welcome.php:
|
2656 |
msgid "Already an Envato Elements member?"
|
2657 |
msgstr ""
|
2658 |
|
2659 |
-
#: includes/classes/class-auxin-welcome.php:
|
2660 |
msgid "Activate here"
|
2661 |
msgstr ""
|
2662 |
|
2663 |
-
#: includes/classes/class-auxin-welcome.php:
|
2664 |
-
#: includes/classes/class-auxin-welcome.php:
|
2665 |
msgid "Verify Your Envato Elements Subscription"
|
2666 |
msgstr ""
|
2667 |
|
2668 |
-
#: includes/classes/class-auxin-welcome.php:
|
2669 |
msgid "Enter your email below and click continue button"
|
2670 |
msgstr ""
|
2671 |
|
2672 |
-
#: includes/classes/class-auxin-welcome.php:
|
2673 |
msgid "Enter your email"
|
2674 |
msgstr ""
|
2675 |
|
2676 |
-
#: includes/classes/class-auxin-welcome.php:
|
2677 |
msgid "Enter your token below to verify your Subscription"
|
2678 |
msgstr ""
|
2679 |
|
2680 |
-
#: includes/classes/class-auxin-welcome.php:
|
2681 |
msgid "Enter token here"
|
2682 |
msgstr ""
|
2683 |
|
2684 |
-
#: includes/classes/class-auxin-welcome.php:
|
2685 |
-
msgid "Verify token"
|
2686 |
-
msgstr ""
|
2687 |
-
|
2688 |
-
#: includes/classes/class-auxin-welcome.php:1732
|
2689 |
msgid "How to generate a token ?"
|
2690 |
msgstr ""
|
2691 |
|
2692 |
-
#: includes/classes/class-auxin-welcome.php:
|
2693 |
msgid "Don't have subscription?"
|
2694 |
msgstr ""
|
2695 |
|
|
|
|
|
|
|
|
|
2696 |
#: includes/classes/class-auxin-widget-shortcode-map.php:308
|
2697 |
msgid "CSS"
|
2698 |
msgstr ""
|
@@ -3078,10 +3092,23 @@ msgstr ""
|
|
3078 |
msgid "Include Context"
|
3079 |
msgstr ""
|
3080 |
|
3081 |
-
#: includes/elementor/modules/dynamic-tags/archive-url.php:
|
3082 |
msgid "Archive URL"
|
3083 |
msgstr ""
|
3084 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3085 |
#: includes/elementor/modules/dynamic-tags/author-info.php:19
|
3086 |
msgid "Author Info"
|
3087 |
msgstr ""
|
@@ -3473,14 +3500,6 @@ msgstr ""
|
|
3473 |
msgid "Featured Colors"
|
3474 |
msgstr ""
|
3475 |
|
3476 |
-
#: includes/elementor/modules/dynamic-tags/featured-colors.php:36
|
3477 |
-
#: includes/elementor/modules/dynamic-tags/pages-url.php:35
|
3478 |
-
#: includes/elementor/modules/dynamic-tags/post-custom-field.php:80
|
3479 |
-
#: includes/elementor/modules/dynamic-tags/taxonomies-url.php:35
|
3480 |
-
#: includes/elementor/modules/theme-builder/module.php:85
|
3481 |
-
msgid "Select..."
|
3482 |
-
msgstr ""
|
3483 |
-
|
3484 |
#: includes/elementor/modules/dynamic-tags/featured-colors.php:42
|
3485 |
msgid "Color %s"
|
3486 |
msgstr ""
|
1 |
# Averta Copyright (c) {2020}
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
+
"Project-Id-Version: Phlox Core Elements 2.6.10\n"
|
5 |
"Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
|
6 |
+
"POT-Creation-Date: 2020-08-18 05:36:09+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:192
|
98 |
#: includes/classes/class-auxin-welcome.php:1234
|
99 |
#: includes/classes/class-auxin-welcome.php:1269
|
100 |
+
#: includes/classes/class-auxin-welcome.php:1633
|
101 |
msgid "Close"
|
102 |
msgstr ""
|
103 |
|
338 |
msgstr ""
|
339 |
|
340 |
#: admin/includes/classes/class-auxin-notices.php:186
|
341 |
+
#: includes/classes/class-auxin-welcome.php:1685
|
342 |
+
#: includes/classes/class-auxin-welcome.php:1714
|
343 |
+
#: includes/classes/class-auxin-welcome.php:1789
|
344 |
msgid "Skip"
|
345 |
msgstr ""
|
346 |
|
1798 |
|
1799 |
#: includes/classes/class-auxels-admin-assets.php:67
|
1800 |
#: includes/classes/class-auxin-welcome.php:1310
|
1801 |
+
#: includes/classes/class-auxin-welcome.php:1433
|
1802 |
+
#: includes/classes/class-auxin-welcome.php:1742
|
|
|
1803 |
msgid "Continue"
|
1804 |
msgstr ""
|
1805 |
|
1806 |
#: includes/classes/class-auxels-admin-assets.php:68
|
1807 |
#: includes/classes/class-auxin-welcome.php:522
|
1808 |
+
#: includes/classes/class-auxin-welcome.php:1508
|
1809 |
msgid "Install Plugins"
|
1810 |
msgstr ""
|
1811 |
|
1812 |
#: includes/classes/class-auxels-admin-assets.php:69
|
1813 |
+
#: includes/classes/class-auxin-welcome.php:1599
|
1814 |
msgid "Import Content"
|
1815 |
msgstr ""
|
1816 |
|
2218 |
#: includes/classes/class-auxin-walker-nav-menu-back.php:371
|
2219 |
#: includes/classes/class-auxin-welcome.php:1313
|
2220 |
#: includes/classes/class-auxin-welcome.php:1341
|
2221 |
+
#: includes/classes/class-auxin-welcome.php:1436
|
2222 |
+
#: includes/classes/class-auxin-welcome.php:1510
|
2223 |
+
#: includes/classes/class-auxin-welcome.php:1601
|
2224 |
+
#: includes/classes/class-auxin-welcome.php:1744
|
|
|
2225 |
msgid "Cancel"
|
2226 |
msgstr ""
|
2227 |
|
2431 |
#: includes/classes/class-auxin-welcome.php:829
|
2432 |
#: includes/classes/class-auxin-welcome.php:943
|
2433 |
#: includes/classes/class-auxin-welcome.php:1231
|
2434 |
+
#: includes/classes/class-auxin-welcome.php:1630
|
2435 |
msgid "Preview"
|
2436 |
msgstr ""
|
2437 |
|
2483 |
|
2484 |
#: includes/classes/class-auxin-welcome.php:1066
|
2485 |
#: includes/classes/class-auxin-welcome.php:1096
|
2486 |
+
#: includes/classes/class-auxin-welcome.php:1484
|
2487 |
msgid "Ready to update"
|
2488 |
msgstr ""
|
2489 |
|
2535 |
msgstr ""
|
2536 |
|
2537 |
#: includes/classes/class-auxin-welcome.php:1347
|
2538 |
+
#: includes/classes/class-auxin-welcome.php:1607
|
2539 |
msgid "Please wait, this may take several minutes .."
|
2540 |
msgstr ""
|
2541 |
|
2542 |
+
#: includes/classes/class-auxin-welcome.php:1409
|
2543 |
msgid "An error occurred!"
|
2544 |
msgstr ""
|
2545 |
|
2546 |
+
#: includes/classes/class-auxin-welcome.php:1411
|
2547 |
msgid "Method not exist!"
|
2548 |
msgstr ""
|
2549 |
|
2550 |
+
#: includes/classes/class-auxin-welcome.php:1425
|
2551 |
+
#: includes/classes/class-auxin-welcome.php:1461
|
2552 |
msgid "Required Plugins for this demo."
|
2553 |
msgstr ""
|
2554 |
|
2555 |
+
#: includes/classes/class-auxin-welcome.php:1427
|
2556 |
msgid ""
|
2557 |
"For better and faster install process it's recommended to install demo on a "
|
2558 |
"clean WordPress website."
|
2559 |
msgstr ""
|
2560 |
|
2561 |
+
#: includes/classes/class-auxin-welcome.php:1462
|
2562 |
msgid "The following plugins are required to be installed for this demo."
|
2563 |
msgstr ""
|
2564 |
|
2565 |
+
#: includes/classes/class-auxin-welcome.php:1476
|
2566 |
msgid "Ready to install"
|
2567 |
msgstr ""
|
2568 |
|
2569 |
+
#: includes/classes/class-auxin-welcome.php:1480
|
2570 |
msgid "Not activated"
|
2571 |
msgstr ""
|
2572 |
|
2573 |
+
#: includes/classes/class-auxin-welcome.php:1526
|
2574 |
msgid "Import Demo Content of Phlox Theme."
|
2575 |
msgstr ""
|
2576 |
|
2577 |
+
#: includes/classes/class-auxin-welcome.php:1531
|
2578 |
msgid "Complete pre-build Website"
|
2579 |
msgstr ""
|
2580 |
|
2581 |
+
#: includes/classes/class-auxin-welcome.php:1536
|
2582 |
msgid "Import media (images, videos, etc.)"
|
2583 |
msgstr ""
|
2584 |
|
2585 |
+
#: includes/classes/class-auxin-welcome.php:1543
|
2586 |
msgid "Selected Data Only"
|
2587 |
msgstr ""
|
2588 |
|
2589 |
+
#: includes/classes/class-auxin-welcome.php:1549
|
2590 |
msgid "Posts/Pages"
|
2591 |
msgstr ""
|
2592 |
|
2593 |
+
#: includes/classes/class-auxin-welcome.php:1554
|
2594 |
msgid "Media"
|
2595 |
msgstr ""
|
2596 |
|
2597 |
+
#: includes/classes/class-auxin-welcome.php:1559
|
2598 |
msgid "Widgets"
|
2599 |
msgstr ""
|
2600 |
|
2601 |
+
#: includes/classes/class-auxin-welcome.php:1566
|
2602 |
msgid "Menus"
|
2603 |
msgstr ""
|
2604 |
|
2605 |
+
#: includes/classes/class-auxin-welcome.php:1571
|
2606 |
msgid "Theme Options"
|
2607 |
msgstr ""
|
2608 |
|
2609 |
+
#: includes/classes/class-auxin-welcome.php:1576
|
2610 |
msgid "MasterSlider (If Available)"
|
2611 |
msgstr ""
|
2612 |
|
2613 |
+
#: includes/classes/class-auxin-welcome.php:1586
|
2614 |
msgid "Importing Demo Content is in Progress..."
|
2615 |
msgstr ""
|
2616 |
|
2617 |
+
#: includes/classes/class-auxin-welcome.php:1587
|
2618 |
msgid ""
|
2619 |
"This process may take 5 to 10 minutes to complete, please do not close or "
|
2620 |
"refresh this page."
|
2621 |
msgstr ""
|
2622 |
|
2623 |
+
#: includes/classes/class-auxin-welcome.php:1621
|
2624 |
msgid "Congratulations!"
|
2625 |
msgstr ""
|
2626 |
|
2627 |
+
#: includes/classes/class-auxin-welcome.php:1622
|
2628 |
msgid "Demo has been successfully imported."
|
2629 |
msgstr ""
|
2630 |
|
2631 |
+
#: includes/classes/class-auxin-welcome.php:1627
|
2632 |
msgid "Customize"
|
2633 |
msgstr ""
|
2634 |
|
2635 |
+
#: includes/classes/class-auxin-welcome.php:1644
|
2636 |
msgid "Importing page content ..."
|
2637 |
msgstr ""
|
2638 |
|
2639 |
+
#: includes/classes/class-auxin-welcome.php:1668
|
2640 |
+
msgid "Remove Watermarks?"
|
2641 |
+
msgstr ""
|
2642 |
+
|
2643 |
+
#: includes/classes/class-auxin-welcome.php:1669
|
2644 |
+
msgid ""
|
2645 |
+
"For better and faster install proccess it's recommanded to install demo on "
|
2646 |
+
"a clean wordpress website."
|
2647 |
+
msgstr ""
|
2648 |
+
|
2649 |
+
#: includes/classes/class-auxin-welcome.php:1683
|
2650 |
+
msgid "Remove Watermarks"
|
2651 |
+
msgstr ""
|
2652 |
+
|
2653 |
+
#: includes/classes/class-auxin-welcome.php:1698
|
2654 |
msgid ""
|
2655 |
"Images are copyrighted and watermarked. You can remove watermarks by having "
|
2656 |
"Envato Elements subscription"
|
2657 |
msgstr ""
|
2658 |
|
2659 |
+
#: includes/classes/class-auxin-welcome.php:1699
|
2660 |
msgid ""
|
2661 |
"By subscribing to Envato Elements you will have access to unlimited premium "
|
2662 |
"stock images, icons, graphical assets, videos and more."
|
2663 |
msgstr ""
|
2664 |
|
2665 |
+
#: includes/classes/class-auxin-welcome.php:1701
|
2666 |
msgid "Explore and Subscribe"
|
2667 |
msgstr ""
|
2668 |
|
2669 |
+
#: includes/classes/class-auxin-welcome.php:1709
|
2670 |
msgid "Already an Envato Elements member?"
|
2671 |
msgstr ""
|
2672 |
|
2673 |
+
#: includes/classes/class-auxin-welcome.php:1709
|
2674 |
msgid "Activate here"
|
2675 |
msgstr ""
|
2676 |
|
2677 |
+
#: includes/classes/class-auxin-welcome.php:1727
|
2678 |
+
#: includes/classes/class-auxin-welcome.php:1757
|
2679 |
msgid "Verify Your Envato Elements Subscription"
|
2680 |
msgstr ""
|
2681 |
|
2682 |
+
#: includes/classes/class-auxin-welcome.php:1728
|
2683 |
msgid "Enter your email below and click continue button"
|
2684 |
msgstr ""
|
2685 |
|
2686 |
+
#: includes/classes/class-auxin-welcome.php:1730
|
2687 |
msgid "Enter your email"
|
2688 |
msgstr ""
|
2689 |
|
2690 |
+
#: includes/classes/class-auxin-welcome.php:1758
|
2691 |
msgid "Enter your token below to verify your Subscription"
|
2692 |
msgstr ""
|
2693 |
|
2694 |
+
#: includes/classes/class-auxin-welcome.php:1760
|
2695 |
msgid "Enter token here"
|
2696 |
msgstr ""
|
2697 |
|
2698 |
+
#: includes/classes/class-auxin-welcome.php:1772
|
|
|
|
|
|
|
|
|
2699 |
msgid "How to generate a token ?"
|
2700 |
msgstr ""
|
2701 |
|
2702 |
+
#: includes/classes/class-auxin-welcome.php:1773
|
2703 |
msgid "Don't have subscription?"
|
2704 |
msgstr ""
|
2705 |
|
2706 |
+
#: includes/classes/class-auxin-welcome.php:1783
|
2707 |
+
msgid "Verify Token"
|
2708 |
+
msgstr ""
|
2709 |
+
|
2710 |
#: includes/classes/class-auxin-widget-shortcode-map.php:308
|
2711 |
msgid "CSS"
|
2712 |
msgstr ""
|
3092 |
msgid "Include Context"
|
3093 |
msgstr ""
|
3094 |
|
3095 |
+
#: includes/elementor/modules/dynamic-tags/archive-url.php:27
|
3096 |
msgid "Archive URL"
|
3097 |
msgstr ""
|
3098 |
|
3099 |
+
#: includes/elementor/modules/dynamic-tags/archive-url.php:33
|
3100 |
+
#: includes/elementor/modules/dynamic-tags/featured-colors.php:36
|
3101 |
+
#: includes/elementor/modules/dynamic-tags/pages-url.php:35
|
3102 |
+
#: includes/elementor/modules/dynamic-tags/post-custom-field.php:80
|
3103 |
+
#: includes/elementor/modules/dynamic-tags/taxonomies-url.php:35
|
3104 |
+
#: includes/elementor/modules/theme-builder/module.php:85
|
3105 |
+
msgid "Select..."
|
3106 |
+
msgstr ""
|
3107 |
+
|
3108 |
+
#: includes/elementor/modules/dynamic-tags/archive-url.php:49
|
3109 |
+
msgid "Archives URL"
|
3110 |
+
msgstr ""
|
3111 |
+
|
3112 |
#: includes/elementor/modules/dynamic-tags/author-info.php:19
|
3113 |
msgid "Author Info"
|
3114 |
msgstr ""
|
3500 |
msgid "Featured Colors"
|
3501 |
msgstr ""
|
3502 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3503 |
#: includes/elementor/modules/dynamic-tags/featured-colors.php:42
|
3504 |
msgid "Color %s"
|
3505 |
msgstr ""
|
public/assets/js/plugins.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Phlox Core Plugin - v2.6.
|
2 |
* All required plugins
|
3 |
* http://phlox.pro/
|
4 |
*/
|
1 |
+
/*! Phlox Core Plugin - v2.6.10 (2020-08)
|
2 |
* All required plugins
|
3 |
* http://phlox.pro/
|
4 |
*/
|
public/templates/elementor/canvas.php
CHANGED
@@ -6,7 +6,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
6 |
|
7 |
global $post;
|
8 |
|
9 |
-
\Elementor\Plugin
|
10 |
|
11 |
?>
|
12 |
<!DOCTYPE html>
|
@@ -34,7 +34,7 @@ global $post;
|
|
34 |
*/
|
35 |
do_action( 'elementor/page_templates/canvas/before_content' );
|
36 |
|
37 |
-
\Elementor\Plugin
|
38 |
|
39 |
/**
|
40 |
* After canvas page template content.
|
6 |
|
7 |
global $post;
|
8 |
|
9 |
+
\Elementor\Plugin::instance()->frontend->add_body_class( 'elementor-template-canvas' );
|
10 |
|
11 |
?>
|
12 |
<!DOCTYPE html>
|
34 |
*/
|
35 |
do_action( 'elementor/page_templates/canvas/before_content' );
|
36 |
|
37 |
+
\Elementor\Plugin::instance()->modules_manager->get_modules( 'page-templates' )->print_content();
|
38 |
|
39 |
/**
|
40 |
* After canvas page template content.
|