PageSourceSearch

https://supermetrics.com/cdn-cgi/challenge-platform/h/b/scripts/jsd/d76008a69eab/api.js?onload=smJsdOnload

js supermetrics.com collected 2026-09-24 06:59:04 UTC 5,106 bytes, 1 lines download raw bytes

1"use strict";(function(){function v(e,t){"@swc/helpers - instanceof";return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function C(e){"@swc/helpers - typeof";return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}var k=new Error("Cannot run Javascript Detection, it requires a document body."),T=new Error("A callback function must be defined as a parameter to execute");var E="/cdn-cgi/challenge-platform",M="cloudflare-invisible",j=1e4,D=3;function y(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function I(e){if(Array.isArray(e))return y(e)}function J(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function L(){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 O(e,t){if(e){if(typeof e=="string")return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}}function B(e){return I(e)||J(e)||O(e)||L()}function G(e){for(var t="abcdefghijklmnopqrstuvwxyz0123456789",r="",o=0;o<e;o++)r+=t.charAt(Math.floor(Math.random()*t.length));return r}function N(){return"jsdapi-".concat(G(6))}function P(e){for(var t=new TextEncoder().encode(e),r=[],o=32768,d=0;d<t.length;d+=o){var c;r.push((c=String).fromCharCode.apply(c,B(t.subarray(d,d+o))))}return btoa(r.join(""))}var F=RegExp("\\/cdn-cgi\\/challenge-platform(?:\\/.*)?\\/jsd\\/api\\.js","u");function U(){var e=document.currentScript;if(v(e,HTMLScriptElement)&&F.test(e.src))return e;var t=document.querySelectorAll("script"),r=!0,o=!1,d=void 0;try{for(var c=t[Symbol.iterator](),b;!(r=(b=c.next()).done);r=!0){var m=b.value;if(v(m,HTMLScriptElement)&&F.test(m.src))return m}}catch(g){o=!0,d=g}finally{try{!r&&c.return!=null&&c.return()}finally{if(o)throw d}}}(function(){var e,t,r;if(((r=window.cloudflare)===null||r===void 0?void 0:r.jsd)!==void 0){console.warn("window.cloudflare.jsd already defined, aborting. Did you embed api.js script multiple times?");return}var o=new Map,d=function(n){var a=Reflect.get(n,"data");if(!((typeof a=="undefined"?"undefined":C(a))!=="object"||a===null)){var i=Reflect.get(a,"source"),f=Reflect.get(a,"sid"),u=Reflect.get(a,"event");if(!(i!==M||typeof f!="string")){var p=o.get(f);if(p!==void 0)switch(u){case"success":{clearTimeout(p.timeout);var w=p.callback;c(f),w!==void 0&&w("success");break}case"error":{clearTimeout(p.timeout);var h=p.callback;c(f),h!==void 0&&h("error");break}default:break}}}};function c(l){var n=o.get(l);if(n!==void 0){var a=n.iframe;a.parentNode&&a.parentNode.removeChild(a),o.delete(l)}}window.addEventListener("message",d),(t=(e=window).cloudflare)!==null&&t!==void 0||(e.cloudflare={});var b=window.cloudflare;b.jsd={executeOnce:function(n){var a=Reflect.get(document,"body");if(!v(a,HTMLBodyElement))throw k;var i=n==null?void 0:n.callback;if(i!==void 0&&typeof i!="function")throw T;var f=P("".concat(Date.now()/1e3)),u="",p=10;do u=N(),p--;while(o.has(u)&&p>0);if(o.has(u)){i==null||i("ray_id_generation_failed");return}var w=o.size;if(w>D){i==null||i("too_many_simultaneous_requests");return}var h=setTimeout(function(){var A=o.get(u);if(A!==void 0){var R=A.callback;c(u),R!==void 0&&R("timeout")}},j),S=(n==null?void 0:n.nonce)===""||n==null?void 0:n.nonce,x="window['__CF$cv$params']={r:'".concat(u,"', t: '").concat(f,"', api: true};"),s=document.createElement("iframe");s.height="1",s.width="1",s.style.position="absolute",s.style.top="0",s.style.left="0",s.style.border="none",s.style.visibility="hidden",a.appendChild(s);var H=S!==void 0&&S!==""?'<script nonce="'.concat(S,'">').concat(x,'<\/script><script nonce="').concat(S,'" src="').concat(E,'/scripts/jsd/main.js"><\/script>'):"<script>".concat(x,'<\/script><script src="').concat(E,'/scripts/jsd/main.js"><\/script>');s.srcdoc="<html><head>".concat(H,"</head><body></body></html>"),o.set(u,{callback:i,iframe:s,timeout:h})}};function m(){var l,n,a=U();a===void 0&&console.error("[Cloudflare Javascript Detections] Could not find Javascript Detections API script tag, some features may not be available.");var i=(l=a==null?void 0:a.src)!==null&&l!==void 0?l:"",f=new URLSearchParams((n=i.split("?")[1])!==null&&n!==void 0?n:"");return{loadedAsync:(a==null?void 0:a.async)===!0||(a==null?void 0:a.defer)===!0,params:f,src:i}}var g=m(),_=g.params.get("onload");_!==null&&_!==""&&setTimeout(function(){var l=Reflect.get(window,_);typeof l=="function"?Reflect.apply(l,window,[]):(console.warn("[Cloudflare Javascript Detections] Unable to find onload callback '".concat(_,"' immediately after loading.")),setTimeout(function(){var n=Reflect.get(window,_);typeof n=="function"?Reflect.apply(n,window,[]):console.warn("[Cloudflare Javascript Detections] Unable to find onload callback '".concat(_,"' after 1 second."))},1e3))},0)})();})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.