/
home
/
suroeste
/
public_html
/
wp-content
/
plugins
/
wpda-builder-pro
/
dist
/
js
/
frontend
/
/home/suroeste/public_html/wp-content/plugins/wpda-builder-pro/dist/js/frontend
mkdir
upload
Name
Size
Mode
Actions
frontend.js
16992
0644
edit
dl
rm
mega-menu-frontend.js
1633
0644
edit
dl
rm
panel.js
302522
0644
edit
dl
rm
Edit:
/home/suroeste/public_html/wp-content/plugins/wpda-builder-pro/dist/js/frontend/frontend.js
(16992B)
!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=671)}({27:function(e,t,n){"use strict";n.d(t,"a",(function(){return N}));var i=Object.defineProperty;function r(e,t,n){var r=n.configurable,o=n.enumerable,a=n.initializer,l=n.value;return{configurable:r,enumerable:o,get:function(){if(this!==e){var n=a?a.call(this):l;return i(this,t,{configurable:r,enumerable:o,writable:!0,value:n}),n}},set:P(t)}}function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return w(r,t)}var a,l,s,u,c,d,f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function p(e,t,n,i){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(i):void 0})}function h(e,t,n,i,r){var o={};return Object.keys(i).forEach((function(e){o[e]=i[e]})),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=n.slice().reverse().reduce((function(n,i){return i(e,t,n)||n}),o),r&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(r):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(e,t,o),o=null),o}function y(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var b=Object.defineProperty,m=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyNames,v=Object.getOwnPropertySymbols;function w(e,t){return function(e){if(!e||!e.hasOwnProperty)return!1;for(var t=["value","initializer","get","set"],n=0,i=t.length;n<i;n++)if(e.hasOwnProperty(t[n]))return!0;return!1}(t[t.length-1])?e.apply(void 0,y(t).concat([[]])):function(){return e.apply(void 0,y(Array.prototype.slice.call(arguments)).concat([t]))}}var _=(l=h((a=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),p(this,"debounceTimeoutIds",l,this),p(this,"throttleTimeoutIds",s,this),p(this,"throttlePreviousTimestamps",u,this),p(this,"throttleTrailingArgs",c,this),p(this,"profileLastRan",d,this)}).prototype,"debounceTimeoutIds",[o],{enumerable:!0,initializer:function(){return{}}}),s=h(a.prototype,"throttleTimeoutIds",[o],{enumerable:!0,initializer:function(){return{}}}),u=h(a.prototype,"throttlePreviousTimestamps",[o],{enumerable:!0,initializer:function(){return{}}}),c=h(a.prototype,"throttleTrailingArgs",[o],{enumerable:!0,initializer:function(){return null}}),d=h(a.prototype,"profileLastRan",[o],{enumerable:!0,initializer:function(){return null}}),a),j="function"==typeof Symbol?Symbol("__core_decorators__"):"__core_decorators__";function O(e){return!1===e.hasOwnProperty(j)&&b(e,j,{value:new _}),e[j]}var k=v?function(e){return g(e).concat(v(e))}:g;function S(e){var t={};return k(e).forEach((function(n){return t[n]=m(e,n)})),t}function P(e){return function(t){return Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:t}),t}}function C(e,t){return e.bind?e.bind(t):function(){return e.apply(t,arguments)}}var E="object"===("undefined"==typeof console?"undefined":f(console))&&console&&"function"==typeof console.warn?C(console.warn,console):function(){};var M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var $=/^function ([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?(\([^\)]*\))[\s\S]+$/;!function(){function e(t,n,i,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.parentKlass=t,this.childKlass=n,this.parentDescriptor=i,this.childDescriptor=r}T(e,[{key:"_getTopic",value:function(e){return void 0===e?null:"value"in e?e.value:"get"in e?e.get:"set"in e?e.set:void 0}},{key:"_extractTopicSignature",value:function(e){switch(void 0===e?"undefined":M(e)){case"function":return this._extractFunctionSignature(e);default:return this.key}}},{key:"_extractFunctionSignature",value:function(e){var t=this;return e.toString().replace($,(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.key,i=arguments[2];return n+i}))}},{key:"key",get:function(){return this.childDescriptor.key}},{key:"parentNotation",get:function(){return this.parentKlass.constructor.name+"#"+this.parentPropertySignature}},{key:"childNotation",get:function(){return this.childKlass.constructor.name+"#"+this.childPropertySignature}},{key:"parentTopic",get:function(){return this._getTopic(this.parentDescriptor)}},{key:"childTopic",get:function(){return this._getTopic(this.childDescriptor)}},{key:"parentPropertySignature",get:function(){return this._extractTopicSignature(this.parentTopic)}},{key:"childPropertySignature",get:function(){return this._extractTopicSignature(this.childTopic)}}]),T(e,[{key:"assert",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";!0!==e&&this.error("{child} does not properly override {parent}"+t)}},{key:"error",value:function(e){var t=this;throw e=e.replace("{parent}",(function(e){return t.parentNotation})).replace("{child}",(function(e){return t.childNotation})),new SyntaxError(e)}}])}();Object.assign;Object.assign,"function"==typeof Symbol&&Symbol.iterator;Object.assign;function F(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var A=Object.defineProperty,z=Object.getPrototypeOf,x=void 0;function Q(e){for(var t=S(e.prototype),n=k(t),i=0,r=n.length;i<r;i++){var o=n[i],a=t[o];"function"==typeof a.value&&"constructor"!==o&&A(e.prototype,o,D(e.prototype,o,a))}}function D(e,t,n){var i=n.value,r=n.configurable,o=n.enumerable;if("function"!=typeof i)throw new SyntaxError("@autobind can only be used on functions, not: "+i);var a=e.constructor;return{configurable:r,enumerable:o,get:function(){if(this===e)return i;if(this.constructor!==a&&z(this).constructor===a)return i;if(this.constructor!==a&&t in this.constructor.prototype)return function(e,t){if("undefined"==typeof WeakMap)throw new Error("Using @autobind on "+t.name+"() requires WeakMap support due to its use of super."+t.name+"()\n See https://github.com/jayphelps/core-decorators.js/issues/20");x||(x=new WeakMap),!1===x.has(e)&&x.set(e,new WeakMap);var n=x.get(e);return!1===n.has(t)&&n.set(t,C(t,e)),n.get(t)}(this,i);var n=C(i,this);return A(this,t,{configurable:!0,writable:!0,enumerable:!1,value:n}),n},set:P(t)}}function H(e){return 1===e.length?Q.apply(void 0,F(e)):D.apply(void 0,F(e))}function N(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(){return H(arguments)}:H(t)}Object.assign;Object.assign;Object.defineProperty;"function"==typeof Symbol&&Symbol.iterator,Object.defineProperty,Object.getPrototypeOf;Object.assign;var R={};console.time&&console.time.bind(console),console.timeEnd&&console.timeEnd.bind(console);Object.assign,Object.getPrototypeOf,Object.getOwnPropertyDescriptor;var I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},L=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,r=!1,o=void 0;try{for(var a,l=e[Symbol.iterator]();!(i=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&l.return&&l.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},q=(console,{profile:console.profile?C(console.profile,console):function(){},profileEnd:console.profileEnd?C(console.profileEnd,console):function(){},warn:E});function K(e,t,n,i){var r=L(i,3),o=r[0],a=void 0===o?null:o,l=r[1],s=void 0!==l&&l,u=r[2],c=void 0===u?q:u;if(!W.__enabled)return W.__warned||(c.warn("console.profile is not supported. All @profile decorators are disabled."),W.__warned=!0),n;var d=n.value;if(null===a&&(a=e.constructor.name+"."+t),"function"!=typeof d)throw new SyntaxError("@profile can only be used on functions, not: "+d);return I({},n,{value:function(){var e=Date.now(),t=O(this);(!0===s&&!t.profileLastRan||!1===s||"number"==typeof s&&e-t.profileLastRan>s||"function"==typeof s&&s.apply(this,arguments))&&(c.profile(a),t.profileLastRan=e);try{return d.apply(this,arguments)}finally{c.profileEnd(a)}}})}function W(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return w(K,t)}W.__enabled=!!console.profile,W.__warned=!1;Object.defineProperty,Object.getOwnPropertyDescriptor},542:function(e,t){!function(e){var t=e(window),n=!0;function i(e){var t=0,n=document.querySelectorAll(".sticky_section_"+e+".sticky_enabled");return n&&(n=r(n)).forEach((function(e){return t+=e.clientHeight})),t}function r(e){var t=[];if(!e||!e.length)return t;for(var n=0;n<e.length;n++)t.push(e.item(n));return t}function o(){if(n&&Math.abs(window.scrollY)<=1)n=!1;else{var t=document.body.getAttribute("data-elementor-device-mode"),o=document.getElementById("wpadminbar"),a=o?o.clientHeight:0,l=document.querySelectorAll(".sticky_section_"+t+":not(.sticky_enabled), .sticky_placeholder");l&&(l=r(l)).forEach((function(n){var r=e(n);if(!r.parents(".sticky_section_"+t).length){var o=n.getBoundingClientRect(),l=o.top;if(l<i(t)+a&&!n.stickyCopy){var s=document.createElement("div");s.classList.add("sticky_placeholder"),s.stickyCopy=r,s.style.width=o.width+"px",s.style.height=o.height+"px",s.style.left=o.left+"px",n.parentNode.insertBefore(s,n),n.style.top=i(t)+a+"px",n.style.width=o.width+"px",r.toggleClass("sticky_enabled",!0)}l>=i(t)+a-o.height&&n.stickyCopy&&r.hasClass("sticky_placeholder")&&(n.stickyCopy[0].style.top="",n.stickyCopy[0].style.width="",n.stickyCopy.toggleClass("sticky_enabled",!1),n.remove())}}))}}t.on("elementor/frontend/init",(function(){if(window.elementorFrontend&&(elementorFrontend.config&&elementorFrontend.config.isEditMode||elementorFrontend.isEditMode&&elementorFrontend.isEditMode()))return;o(),t.on("scroll",o)}))}(jQuery)},543:function(e,t,n){},671:function(e,t,n){"use strict";n.r(t);n(542);var i,r,o,a,l,s,u,c=n(27),d=Object(c.a)(i=function(){function e(e){this.$el=null,this.el=null,this.$el=e,this.el=e[0],jQuery(".wpda-mobile-navigation-toggle",e).on("click",this.mobileNavToggle),0==this.$el.find(".menu-item-has-children > .mobile_switcher").length&&this.$el.find(".menu-item-has-children").append('<div class="mobile_switcher"></div>'),this.$el.find('.menu-item-has-children > .mobile_switcher, .menu-item-has-children > a[href*="#"]').on("tap click",this.mobileSubmenu)}var t=e.prototype;return t.mobileNavToggle=function(){this.$el.hasClass("mobile_menu_active")&&this.$el.find(".mobile_switcher.is-active").removeClass("is-active").prev("ul.sub-menu").slideUp(200),this.$el.toggleClass("mobile_menu_active")},t.mobileSubmenu=function(e){e.preventDefault();var t=jQuery(e.currentTarget||e.target),n=1;e.timeStamp-n>300&&(n=e.timeStamp,t.hasClass("is-active")?(t.parent().find("ul.sub-menu:eq(0)").slideUp(200),t.removeClass("is-active"),t.parent().removeClass("submenu-opened")):(t.parent().find("ul.sub-menu:eq(0)").slideDown(200),t.addClass("is-active"),t.parent().addClass("submenu-opened")))},e}())||i,f=Object(c.a)(r=function(e){if(this.$el=null,this.el=null,this.editMode=!1,this.editMode=elementorFrontend.config.isEditMode||elementorFrontend.isEditMode&&elementorFrontend.isEditMode(),!this.editMode){this.$el=e,this.el=e[0];var t=e.find(".wpda-builder-search"),n=e,i=n.find('input:not([type="submit"])'),r=n.find('input[type="submit"]'),o=jQuery("html, body"),a=function(){t.data("open",!1).removeClass("wpda-search-open")};i.on("click",(function(e){e.stopPropagation(),t.data("open",!0)})),n.on("click",(function(e){if(e.stopPropagation(),t.data("open")){if(""===i.val())return a(),!1}else t.data("open",!0).addClass("wpda-search-open"),i.focus(),o.on("click",(function(e){a()}))})),t.on("click",(function(){setTimeout(i.focus.bind(i),100)})),r.on("mouseover",(function(){jQuery(this).parents("form").addClass("wpda-hover_btn")})),r.on("mouseleave",(function(){jQuery(this).parents("form").removeClass("wpda-hover_btn")}))}})||r,p=Object(c.a)(o=function(){function e(e){this.$el=null,this.el=null,this.$body=jQuery("body"),this.sidebar=null,this.editMode=!1,this.editMode=elementorFrontend.config.isEditMode||elementorFrontend.isEditMode&&elementorFrontend.isEditMode(),this.editMode||(this.$el=e,this.sidebar=this.$body.find(".burger-id-"+this.$el.data("id")),jQuery(".wpda-builder-burger_sidebar",e).on("click",this.stateHandler),jQuery(".wpda-builder__burger_sidebar-cover",this.sidebar).on("click",this.stateHandler),jQuery(this.sidebar).on("swiperight",this.stateHandler))}var t=e.prototype;return t.stateHandler=function(e){this.toggleState(!this.sidebar.hasClass("active"))},t.toggleState=function(e){this.sidebar.toggleClass("active",e),this.$body.toggleClass("active_burger_sidebar",e)},e}())||o;function h(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var y=0;function b(e){return"__private_"+y+++"_"+e}function m(){var e=this;clearTimeout(h(this,l)[l]),h(this,l)[l]=setTimeout((function(){clearTimeout(h(e,l)[l]),e.resize()}),200)}var g,v,w={"wpda-builder-menu.default":d,"wpda-builder-search.default":f,"wpda-builder-woosearch.default":f,"wpda-builder-burger-sidebar.default":p,"wpda-builder-delimiter.default":Object(c.a)((l=b("timerResizeID"),s=b("deviceMode"),u=b("onResize"),a=function(){function e(e){Object.defineProperty(this,u,{value:m}),this.$el=null,this.el=null,Object.defineProperty(this,l,{writable:!0,value:null}),Object.defineProperty(this,s,{writable:!0,value:""}),this.delimiter=null,this.$el=e,this.el=e[0],this.delimiter=e.find(".wpda-builder-delimiter"),this.el.changed=this.editorChanged,jQuery(window).on("resize load",h(this,u)[u].bind(this)),this.resize()}var t=e.prototype;return t.editorChanged=function(e){var t=e.height,n=e.height_tablet,i=e.height_mobile;this.delimiter.toggleClass("unit_percent","%"===t.unit).toggleClass("unit_percent_tablet","%"===n.unit).toggleClass("unit_percent_mobile","%"===i.unit),this.resize()},t.resize=function(){var e=this;setTimeout((function(){var t=elementorFrontend.getCurrentDeviceMode();switch(e.delimiter.height(""),t){case"desktop":e.delimiter.hasClass("unit_percent")&&e.delimiter.height(e.delimiter.parents("section").height());break;case"tablet":e.delimiter.hasClass("unit_percent_tablet")&&e.delimiter.height(e.delimiter.parents("section").height());break;case"mobile":e.delimiter.hasClass("unit_percent_mobile")&&e.delimiter.height(e.delimiter.parents("section").height())}}))},e}()))||a,"wpda-builder-login.default":Object(c.a)(g=function(){function e(e){this.$el=null,this.el=null,this.$body=jQuery("body"),this.login=null,this.editMode=!1,this.editMode=elementorFrontend.config.isEditMode||elementorFrontend.isEditMode&&elementorFrontend.isEditMode(),this.editMode||(this.$el=e,this.login=this.$body.find(".login-id-"+this.$el.data("id")),jQuery(".wpda-builder-login",e).on("click",this.stateHandler),jQuery(".wpda-builder__login-modal-cover, .wpda-builder__login-modal-close",this.login).on("click",this.stateHandler))}var t=e.prototype;return t.stateHandler=function(e){this.toggleState(!this.login.hasClass("active"))},t.toggleState=function(e){this.login.toggleClass("active",e)},e}())||g,"wpda-builder-menu-items.default":Object(c.a)(v=function(e){this.$el=null,this.el=null})||v};!function(e){function t(e){var t=e.attr("data-widget_type");w.hasOwnProperty(t)&&new(0,w[t])(e)}jQuery(window).on("elementor/frontend/init",(function(){jQuery.each(w,(function(e){window.elementorFrontend.hooks.addAction("frontend/element_ready/".concat(e),t)}))}))}();n(543)}});
Save
cmd:
run