/home/techb158/balacoffee.com/wp-content/plugins/wp-rocket/assets/js
NameSizeModeActions
lazyload/-0755rm
browser-checker.js25760644editdlrm
browser-checker.min.js21470644editdlrm
cpcss-removal.js7840644editdlrm
cpcss-removal.min.js6670644editdlrm
elementor-animation.js16820644editdlrm
heartbeat.js00644editdlrm
lazyload-scripts.min.js99510644editdlrm
micromodal.min.js71020644editdlrm
preload-links.js58360644editdlrm
preload-links.min.js34020644editdlrm
wpr-admin-common.js16400644editdlrm
wpr-admin.js5795340644editdlrm
wpr-admin.js.map5848890644editdlrm
wpr-admin.js.min.map961170644editdlrm
wpr-admin.min.js934400644editdlrm
wpr-cpcss-heartbeat.js8690644editdlrm
wpr-cpcss.js51280644editdlrm
Edit: /home/techb158/balacoffee.com/wp-content/plugins/wp-rocket/assets/js/preload-links.min.js (3402B)
(function() { "use strict";var 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},e=function(){function i(e,t){for(var n=0;ni.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }());