File manager - Edit - /home/vblioqus/unfreezetiktok.com/wp-content/plugins/hummingbird-performance/admin/assets/js/wphb-add-delay.min.js
Back
!function(){function e(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function n(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){return r="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},r(e)}function o(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function u(n,r,o,a){var u=r&&r.prototype instanceof s?r:s,d=Object.create(u.prototype);return i(d,"_invoke",function(n,r,o){var i,a,u,s=0,d=o||[],f=!1,v={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,a=0,u=e,v.n=n,c}};function p(n,r){for(a=n,u=r,t=0;!f&&s&&!o&&t<d.length;t++){var o,i=d[t],p=v.p,w=i[2];n>3?(o=w===r)&&(u=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(a=0,v.v=r,v.n=i[1]):p<w&&(o=n<3||i[0]>r||r>w)&&(i[4]=n,i[5]=r,v.n=w,a=0))}if(o||n>1)return c;throw f=!0,r}return function(o,d,w){if(s>1)throw TypeError("Generator is already running");for(f&&1===d&&p(d,w),a=d,u=w;(t=a<2?e:u)||!f;){i||(a?a<3?(a>1&&(v.n=-1),p(a,u)):v.n=u:v.v=u);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(f=v.n<0)?u:n.call(r,v))!==c)break}catch(t){i=e,a=1,u=t}finally{s=1}}return{value:t,done:f}}}(n,o,a),!0),d}var c={};function s(){}function d(){}function f(){}t=Object.getPrototypeOf;var v=[][r]?t(t([][r]())):(i(t={},r,function(){return this}),t),p=f.prototype=s.prototype=Object.create(v);function w(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,i(e,a,"GeneratorFunction")),e.prototype=Object.create(p),e}return d.prototype=f,i(p,"constructor",f),i(f,"constructor",d),d.displayName="GeneratorFunction",i(f,a,"GeneratorFunction"),i(p),i(p,a,"Generator"),i(p,r,function(){return this}),i(p,"toString",function(){return"[object Generator]"}),(o=function(){return{w:u,m:w}})()}function i(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}i=function(e,t,n,r){function a(t,n){i(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},i(e,t,n,r)}function a(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,o)}function u(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(e){a(i,r,o,u,c,"next",e)}function c(e){a(i,r,o,u,c,"throw",e)}u(void 0)})}}!function(){"use strict";var t=["keydown","mousedown","mousemove","wheel","touchmove","touchstart","touchend"],i={normal:[],defer:[],async:[]},a=[],c=[],s=!1,d="",f=function(){var f=function(){void 0!==k&&clearTimeout(k),t.forEach(function(e){window.removeEventListener(e,f,{passive:!0})}),document.removeEventListener("visibilitychange",f),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",v):v()},v=function(){var e=u(o().m(function e(){return o().w(function(e){for(;;)switch(e.n){case 0:return p(),w(),m(),l(),h(),e.n=1,y(i.normal);case 1:return e.n=2,y(i.defer);case 2:return e.n=3,y(i.async);case 3:return e.n=4,g();case 4:return e.n=5,E();case 5:window.dispatchEvent(new Event("wphb-allScriptsLoaded")),O();case 6:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),p=function(){var e={},t=function(t,n){var r=function(n){return e[t].delayedEvents.indexOf(n)>=0?"wphb-"+n:n};e[t]||(e[t]={originalFunctions:{add:t.addEventListener,remove:t.removeEventListener},delayedEvents:[]},t.addEventListener=function(){arguments[0]=r(arguments[0]),e[t].originalFunctions.add.apply(t,arguments)},t.removeEventListener=function(){arguments[0]=r(arguments[0]),e[t].originalFunctions.remove.apply(t,arguments)}),e[t].delayedEvents.push(n)},n=function(e,t){var n=e[t];Object.defineProperty(e,t,{get:n||function(){},set:function(n){e["wphb-"+t]=n}})};t(document,"DOMContentLoaded"),t(window,"DOMContentLoaded"),t(window,"load"),t(window,"pageshow"),t(document,"readystatechange"),n(document,"onreadystatechange"),n(window,"onload"),n(window,"onpageshow")},w=function(){var e=window.jQuery;Object.defineProperty(window,"jQuery",{get:function(){return e},set:function(t){if(t&&t.fn&&!a.includes(t)){t.fn.ready=t.fn.init.prototype.ready=function(e){s?e.bind(document)(t):document.addEventListener("wphb-DOMContentLoaded",function(){return e.bind(document)(t)})};var o=t.fn.on;t.fn.on=t.fn.init.prototype.on=function(){var e=arguments;if(this[0]===window){function t(e){return e.split(" ").map(function(e){return"load"===e||0===e.indexOf("load.")?"wphb-jquery-load":e}).join(" ")}"string"==typeof arguments[0]||arguments[0]instanceof String?arguments[0]=t(arguments[0]):"object"==r(arguments[0])&&Object.keys(arguments[0]).forEach(function(r){delete Object.assign(e[0],n({},t(r),e[0][r]))[r]})}return o.apply(this,arguments),this},a.push(t)}e=t}})},m=function(){var e=new Map;document.write=document.writeln=function(t){var n=document.currentScript,r=document.createRange(),o=e.get(n);void 0===o&&(o=n.nextSibling,e.set(n,o));var i=document.createDocumentFragment();r.setStart(i,0),i.appendChild(r.createContextualFragment(t)),n.parentElement.insertBefore(i,o)}},l=function(){document.querySelectorAll("script[type=wphb-delay-type]").forEach(function(e){e.hasAttribute("src")?e.hasAttribute("defer")&&!1!==e.defer?i.defer.push(e):e.hasAttribute("async")&&!1!==e.async?i.async.push(e):i.normal.push(e):i.normal.push(e)})},h=function(){var t=document.createDocumentFragment();[].concat(e(i.normal),e(i.defer),e(i.async)).forEach(function(e){var n=e.getAttribute("src");if(n){var r=document.createElement("link");r.href=n,r.rel="preload",r.as="script",t.appendChild(r)}}),document.head.appendChild(t)},y=function(){var e=u(o().m(function e(t){var n;return o().w(function(e){for(;;)switch(e.n){case 0:if(!(n=t.shift())){e.n=2;break}return e.n=1,b(n);case 1:return e.a(2,y(t));case 2:return e.a(2,Promise.resolve())}},e)}));return function(t){return e.apply(this,arguments)}}(),b=function(){var t=u(o().m(function t(n){return o().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,L();case 1:return t.a(2,new Promise(function(t){var r=document.createElement("script");e(n.attributes).forEach(function(e){var t=e.nodeName;"type"!==t&&("data-wphb-type"===t&&(t="type"),r.setAttribute(t,e.nodeValue))}),n.hasAttribute("src")?(r.addEventListener("load",t),r.addEventListener("error",t)):(r.text=n.text,t()),n.parentNode.replaceChild(r,n)}))}},t)}));return function(e){return t.apply(this,arguments)}}(),g=function(){var e=u(o().m(function e(){return o().w(function(e){for(;;)switch(e.n){case 0:return s=!0,e.n=1,L();case 1:return document.dispatchEvent(new Event("wphb-DOMContentLoaded")),e.n=2,L();case 2:return window.dispatchEvent(new Event("wphb-DOMContentLoaded")),e.n=3,L();case 3:return document.dispatchEvent(new Event("wphb-readystatechange")),e.n=4,L();case 4:document.wphm_onreadystatechange&&document.wphm_onreadystatechange();case 5:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),E=function(){var e=u(o().m(function e(){var t;return o().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,L();case 1:return window.dispatchEvent(new Event("wphb-load")),e.n=2,L();case 2:return window.wphm_onload&&window.wphm_onload(),e.n=3,L();case 3:return a.forEach(function(e){return e(window).trigger("wphb-jquery-load")}),e.n=4,L();case 4:return(t=new Event("wphm-pageshow")).persisted=window.hbPersisted,window.dispatchEvent(t),e.n=5,L();case 5:window.wphm_onpageshow&&window.wphm_onpageshow({persisted:window.hbPersisted});case 6:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),L=function(){var e=u(o().m(function e(){return o().w(function(e){for(;;)if(0===e.n)return e.a(2,new Promise(function(e){requestAnimationFrame(e)}))},e)}));return function(){return e.apply(this,arguments)}}(),j=function(e){e.target.removeEventListener("click",j),P(e.target,"hb-onclick","onclick",e),c.push(e),e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()},O=function(){window.removeEventListener("touchstart",S,{passive:!0}),window.removeEventListener("mousedown",S),c.forEach(function(e){e.target===d&&e.target.dispatchEvent(new MouseEvent("click",{view:e.view,bubbles:!0,cancelable:!0}))})},S=function(e){"HTML"!==e.target.tagName&&(d||(d=e.target),window.addEventListener("touchend",A),window.addEventListener("mouseup",A),window.addEventListener("touchmove",_,{passive:!0}),window.addEventListener("mousemove",_),e.target.addEventListener("click",j),P(e.target,"onclick","hb-onclick",e))},_=function(e){window.removeEventListener("touchend",A),window.removeEventListener("mouseup",A),window.removeEventListener("touchmove",_,{passive:!0}),window.removeEventListener("mousemove",_),e.target.removeEventListener("click",j),P(e.target,"hb-onclick","onclick",e)},A=function(){window.removeEventListener("touchend",A),window.removeEventListener("mouseup",A),window.removeEventListener("touchmove",_,{passive:!0}),window.removeEventListener("mousemove",_)},P=function(e,t,n,r){e.hasAttribute&&e.hasAttribute(t)&&(r.target.setAttribute(n,r.target.getAttribute(t)),r.target.removeAttribute(t))};if(window.addEventListener("pageshow",function(e){window.hbPersisted=e.persisted}),t.forEach(function(e){window.addEventListener(e,f,{passive:!0})}),window.addEventListener("touchstart",S,{passive:!0}),window.addEventListener("mousedown",S),document.addEventListener("visibilitychange",f),"undefined"!=typeof delay_js_timeout_timer&&delay_js_timeout_timer>0)var k=setTimeout(function(){f()},delay_js_timeout_timer)};f()}()}(); //# sourceMappingURL=wphb-add-delay.min.js.map
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0.5 |
proxy
|
phpinfo
|
Settings