"use strict";function e(e,t){if(t==null||t>e.length)t=e.length;for(var n=0,r=new Array(t);n0&&i[i.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1] ").concat(o));var a=t(n,o);return console.log("found answer: ".concat(a)),{ty:"pow",base:n,answer:a,hmac:i,expires:r}};var o=function e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e$(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)};var a=function e(e,t,n,r){function o(e){return i(e,n)?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){e.done?n(e.value):o(e.value).then(a,u)}s((r=r.apply(e,t||[])).next())})};var c=function e(e,t){var n={label:0,sent:function e(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(t){return s([e,t])}}function s(u){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(n=0)),n;)try{if(r=1,i&&(o=u[0]&2?i.return:u[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;switch(i=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]=5?"chromium":b(["ApplePayError"in n,"CSSPrimitiveValue"in n,"Counter"in n,r.vendor.indexOf("Apple")===0,"getStorageUpdates"in r,"WebKitMediaKeys"in n])>=4?"webkit":b(["buildID"in navigator,"MozAppearance"in((t=(e=document.documentElement)===null||e===void 0?void 0:e.style)!==null&&t!==void 0?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4?"gecko":"unknown"};var U=function e(){var e,t=(e=navigator.userAgent)===null||e===void 0?void 0:e.toLowerCase();return m(t,"edg/")?"edge":m(t,"trident")||m(t,"msie")?"internet_explorer":m(t,"wechat")?"wechat":m(t,"firefox")?"firefox":m(t,"opera")||m(t,"opr")?"opera":m(t,"chrome")?"chrome":m(t,"safari")?"safari":"unknown"};var N=function e(){var e=W(),t=e==="chromium",n=e==="gecko",r=window,i=navigator,o="connection";return t?b([!("SharedWorker"in r),i[o]&&"ontypechange"in i[o],!("sinkId"in new Audio)])>=2:n?b(["onorientationchange"in r,"orientation"in r,/android/i.test(i.appVersion)])>=2:!1};var J=function e(){return document.hasFocus===void 0?!1:document.hasFocus()};var Z=function e(){var e=window;return b([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3};var K=function e(){var e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(n!==void 0&&t.push([n]),Array.isArray(e.languages)){var r=W();r==="chromium"&&Z()||t.push(e.languages)}else if(typeof e.languages=="string"){var i=e.languages;i&&t.push(i.split(","))}return t};var G=function e(){if(navigator.mimeTypes===void 0)throw new eY(-1,"navigator.mimeTypes is undefined");for(var e=navigator.mimeTypes,t=Object.getPrototypeOf(e)===MimeTypeArray.prototype,n=0;n=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/botd/v".concat(eX,"/npm-monitoring"),!0),e.send()}catch(e){console.error(e)}};var ec=function e(e){var t=e===void 0?{}:e,n=t.monitoring,r=n===void 0?!0:n;return a(this,void 0,void 0,function(){var e;return c(this,function(t){switch(t.label){case 0:return r&&es(),e=new e2,[4,e.collect()];case 1:return t.sent(),[2,e]}})})};var el=function e(e){var t={},n=null;return Object.keys(e).forEach(function(r){var i=e[r];r==="errorTrace"?i&&typeof i=="object"&&"value"in i&&(n=JSON.stringify(i.value)):r!=="process"&&(i&&typeof i=="object"&&"state"in i?i.state===0?t[r]={value:i.value}:t[r]={error:i.error}:t[r]=i)}),{client_data:JSON.stringify(t),error_trace:n}};var ed=Object.create;var ef=Object.defineProperty;var ep=Object.getOwnPropertyDescriptor;var eh=Object.getOwnPropertyNames;var ev=Object.getPrototypeOf,em=Object.prototype.hasOwnProperty;var ew=function(e){return(typeof require==="undefined"?"undefined":s(require))<"u"?require:(typeof Proxy==="undefined"?"undefined":s(Proxy))<"u"?new Proxy(e,{get:function(e,t){return((typeof require==="undefined"?"undefined":s(require))<"u"?require:e)[t]}}):e}(function(e){if((typeof require==="undefined"?"undefined":s(require))<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var eg=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}};var ey=function(e,t,n,r){var i=true,o=false,a=undefined;if(t&&typeof t=="object"||typeof t=="function")try{var u=function(){var i=c.value;!em.call(e,i)&&i!==n&&ef(e,i,{get:function(){return t[i]},enumerable:!(r=ep(t,i))||r.enumerable})};for(var s=eh(t)[Symbol.iterator](),c;!(i=(c=s.next()).done);i=true)u()}catch(e){o=true;a=e}finally{try{if(!i&&s.return!=null){s.return()}}finally{if(o){throw a}}}return e};var eb=function(e,t,n){return n=e!=null?ed(ev(e)):{},ey(t||!e||!e.__esModule?ef(n,"default",{value:e,enumerable:!0}):n,e)};var eA=eg(function(e,t){"use strict";(function(n,r){typeof e=="object"?t.exports=e=r():typeof define=="function"&&define.amd?define([],r):n.CryptoJS=r()})(e,function(){var e=e||function(e,t){var n;if((typeof window==="undefined"?"undefined":s(window))<"u"&&window.crypto&&(n=window.crypto),(typeof self==="undefined"?"undefined":s(self))<"u"&&self.crypto&&(n=self.crypto),(typeof globalThis==="undefined"?"undefined":s(globalThis))<"u"&&globalThis.crypto&&(n=globalThis.crypto),!n&&(typeof window==="undefined"?"undefined":s(window))<"u"&&window.msCrypto&&(n=window.msCrypto),!n&&(typeof global==="undefined"?"undefined":s(global))<"u"&&global.crypto&&(n=global.crypto),!n&&typeof ew=="function")try{n=ew("crypto")}catch(e){}var r=function e(){if(n){if(typeof n.getRandomValues=="function")try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if(typeof n.randomBytes=="function")try{return n.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){var e=function e(){};return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),o={},a=o.lib={},u=a.Base=function(){return{extend:function e(e){var t=i(this);return e&&t.mixIn(e),(!t.hasOwnProperty("init")||this.init===t.init)&&(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function e(){var e=this.extend();return e.init.apply(e,arguments),e},init:function e(){},mixIn:function e(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function e(){return this.init.prototype.extend(this)}}}(),c=a.WordArray=u.extend({init:function e(e,n){e=this.words=e||[],n!=t?this.sigBytes=n:this.sigBytes=e.length*4},toString:function e(e){return(e||d).stringify(this)},concat:function e(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var u=0;u>>2]=n[u>>>2];return this.sigBytes+=i,this},clamp:function t(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function e(){var e=u.clone.call(this);return e.words=this.words.slice(0),e},random:function e(e){for(var t=[],n=0;n>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((o&15).toString(16))}return r.join("")},parse:function e(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},f=l.Latin1={stringify:function e(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function e(e){for(var t=e.length,n=[],r=0;r>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new c.init(n,t)}},p=l.Utf8={stringify:function e(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function e(e){return f.parse(unescape(encodeURIComponent(e)))}},h=a.BufferedBlockAlgorithm=u.extend({reset:function e(){this._data=new c.init,this._nDataBytes=0},_append:function e(e){typeof e=="string"&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function t(t){var n,r=this._data,i=r.words,o=r.sigBytes,a=this.blockSize,u=a*4,s=o/u;t?s=e.ceil(s):s=e.max((s|0)-this._minBufferSize,0);var l=s*a,d=e.min(l*4,o);if(l){for(var f=0;f>>7)^(h<<14|h>>>18)^h>>>3,m=c[p-2],w=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;c[p]=v+c[p-7]+w+c[p-16]}var g=u&l^~u&d,y=r&i^r&o^i&o,b=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),A=(u<<26|u>>>6)^(u<<21|u>>>11)^(u<<7|u>>>25),C=f+A+g+s[p]+c[p],_=b+y;f=d,d=l,l=u,u=a+C|0,a=o,o=i,i=r,r=C+_|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+u|0,n[5]=n[5]+l|0,n[6]=n[6]+d|0,n[7]=n[7]+f|0},_doFinalize:function e(){var e=this._data,n=e.words,r=this._nDataBytes*8,i=e.sigBytes*8;return n[i>>>5]|=128<<24-i%32,n[(i+64>>>9<<4)+14]=t.floor(r/4294967296),n[(i+64>>>9<<4)+15]=r,e.sigBytes=n.length*4,this._process(),this._hash},clone:function e(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=o._createHelper(l),n.HmacSHA256=o._createHmacHelper(l)}(Math),e.SHA256})});var e_='data:image/svg+xml,%0A %0A %0A %0A %0A %0A %0A';var ex='data:image/svg+xml,%0A %0A';var eE='data:image/svg+xml,%0A %0A';var eS='data:image/svg+xml,%0A %0A %0A';var ek='data:image/svg+xml,%0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A';var eP='data:image/svg+xml,%0A Loading...%0A %0A %0A %0A %0A %0A %0A %0A';var eH=null,eL={setupChallengeUI:eB,renderLogo:e,fetchAndCreateLogo:eM};function eB(){return eT.apply(this,arguments)}function eT(){eT=r(function(){return l(this,function(e){return[2,eH||(eH=r(function(){var e,t,n,r,i;return l(this,function(o){switch(o.label){case 0:e=document.getElementById("pageContainer"),t=document.getElementById("contentContainer");if(!(e||(e=document.createElement("div"),e.id="pageContainer",document.body.appendChild(e)),!t))return[3,3];t=document.createElement("div"),t.id="contentContainer",e.appendChild(t);return[4,eM()];case 1:n=o.sent(),r=document.createElement("p");r.textContent="is verifying your browser...",r.id="spinnerText";i=document.createElement("img");i.src=eP,i.id="spinner",i.alt="",i.setAttribute("role","presentation"),t.appendChild(n),t.appendChild(r),t.appendChild(i);return[4,eL.renderLogo(n)];case 2:o.sent();o.label=3;case 3:eH=null;return[2]}})})(),eH)]})});return eT.apply(this,arguments)}function eM(){return ej.apply(this,arguments)}function ej(){ej=r(function(){var e,t,n,r,i,o,a;return l(this,function(u){switch(u.label){case 0:e="".concat(window.location.origin,"/fastly/logo"),t=ek,n=!1;u.label=1;case 1:u.trys.push([1,3,,4]);return[4,fetch(e)];case 2:r=u.sent(),i=r.headers.get("content-type");r.ok&&i.startsWith("image/")?(t=e,n=!0):t=ek;return[3,4];case 3:o=u.sent();t=ek;return[3,4];case 4:a=document.createElement("img");return[2,(a.src=t,a.id="fastlyLogo",a.alt=n?"Company Logo":"Fastly Logo",n?(a.style.display="block",a.style.width="auto",a.style.height="75px",a.style.margin="0 auto"):(a.style.display="block",a.style.height="40px"),a)]}})});return ej.apply(this,arguments)}function eO(){return eI.apply(this,arguments)}function eI(){eI=r(function(){return l(this,function(e){if(!/complete|interactive|loaded/.test(document.readyState))return[2,new Promise(function(e,t){return window.addEventListener("DOMContentLoaded",function(){return e()})})];return[2]})});return eI.apply(this,arguments)}function eR(e,t,n){return eq.apply(this,arguments)}function eq(){eq=r(function(e,t,n){var r,i,o,a,u,s,c,d,f,p,h,v,m,w,g,y,b,A,C,_,x,E,S,k,P;return l(this,function(l){switch(l.label){case 0:r=document.getElementById("pageContainer"),i=document.getElementById("contentContainer");r||(r=document.createElement("div"),r.id="pageContainer",document.body.appendChild(r)),i||(i=document.createElement("div"),i.id="contentContainer",r.appendChild(i));o=document.getElementById("errorContainer");for(;i.firstChild&&i.firstChild!==o;)i.removeChild(i.firstChild);if(o)o.style.display="flex",o.setAttribute("aria-hidden","false");else{o=document.createElement("div"),o.id="errorContainer",o.setAttribute("role","alert"),o.setAttribute("aria-hidden","true");a=document.createElement("img");a.src=ex,a.id="fastlyErrorIcon",a.alt="",a.setAttribute("role","presentation");u=document.createElement("div");u.textContent="Incorrect CAPTCHA",u.id="errorText",o.appendChild(a),o.appendChild(u)}return[4,eL.fetchAndCreateLogo()];case 1:s=l.sent(),c=document.createElement("p");c.textContent="Enter the characters seen in the image below:",c.id="captchaTitle";d=document.createElement("div");d.id="captchaContainer";f=document.createElement("img");f.src=e.image_b64,f.id="captchaImage",f.alt="CAPTCHA image challenge";p=document.createElement("div");p.id="audioContainer",p.setAttribute("role","group"),p.setAttribute("aria-label","Audio CAPTCHA controls");h=function e(e,t){eV(e,n,t)},v=new AudioContext,m=document.createElement("img");m.src=eE,m.id="audioButton",m.dataset.token=t,m.dataset.playing="false",m.alt="",m.setAttribute("role","button"),m.setAttribute("aria-label","Play audio CAPTCHA"),m.addEventListener("click",function(e){h(e,v)});w=function e(e){ez(e,n)},g=document.createElement("a");g.id="audioDownload",g.style.backgroundImage="url('".concat(e_,"')"),g.addEventListener("click",w);y=document.createElement("span");y.textContent="Download audio CAPTCHA",y.className="sr-only",g.appendChild(y);b=document.createElement("div");b.id="inputContainer";A=document.createElement("label");A.textContent="Answer",A.id="inputLabel",A.htmlFor="capInput";C=document.createElement("form");C.id="capForm",C.dataset.token=t;_=document.createElement("input");_.name="answer",_.required=!0,_.type="text",_.autocapitalize="off",_.autocomplete="off",_.spellcheck=!1,_.id="capInput",_.setAttribute("aria-required","true"),_.setAttribute("aria-labelledby","captchaTitle inputLabel");x=document.createElement("button");x.textContent="Submit",x.type="submit",x.id="capSubmit";E=document.createElement("div");E.id="errorModal",E.setAttribute("role","dialog"),E.setAttribute("aria-label","Error Message"),E.setAttribute("aria-hidden","true");S=document.createElement("p");S.textContent="Audio is currently unavailable. Please try again later.";k=document.createElement("button");k.id="errorModalBtn",k.textContent="Close",k.setAttribute("aria-label","Close error message"),k.addEventListener("click",function(){var e=document.getElementById("errorModal");e&&(e.style.display="none",e.setAttribute("aria-hidden","true"))}),d.appendChild(f),p.appendChild(m),p.appendChild(g),E.appendChild(S),E.appendChild(k),C.appendChild(A),C.appendChild(_),C.appendChild(o),C.appendChild(x),b.appendChild(C),i.appendChild(s),i.appendChild(c),i.appendChild(d),i.appendChild(p),i.appendChild(b),i.appendChild(E);return[4,eO()];case 2:l.sent(),_.focus();P=new Promise(function(e){C.addEventListener("submit",function(t){t.preventDefault(),e({ty:"captcha",answer:_.value})})});return[2,[_,x,m,P]]}})});return eq.apply(this,arguments)}function eV(e,t,n){return eD.apply(this,arguments)}function eD(){eD=r(function(e,t,n){var r,i,o,a,u;return l(this,function(s){switch(s.label){case 0:e.preventDefault();r=document.getElementById("audioButton"),i="".concat(t,"/audio?token=").concat(r.dataset.token);if(!(r.dataset.playing==="false"))return[3,5];r.dataset.playing="true";return[4,fetch(i)];case 1:o=s.sent();if(!o.ok)return[3,3];return[4,o.arrayBuffer()];case 2:a=s.sent();n.decodeAudioData(a,function(e){var t=n.createBufferSource();t.buffer=e,t.connect(n.destination),t.start(0),r.src=eS,t.onended=function(){r.src=eE,r.dataset.playing="false"}},function(e){console.error("Error decoding audio data:",e)});return[3,4];case 3:u=document.getElementById("errorModal");u.style.display="block",u.setAttribute("aria-hidden","false"),r.dataset.playing="false";s.label=4;case 4:return[3,6];case 5:return[2];case 6:return[2]}})});return eD.apply(this,arguments)}function ez(e,t){return eF.apply(this,arguments)}function eF(){eF=r(function(e,t){var n,r,i,o,a,u,s;return l(this,function(c){switch(c.label){case 0:e.preventDefault();n=document.getElementById("audioButton"),r="".concat(t,"/audio?token=").concat(n.dataset.token);return[4,fetch(r)];case 1:i=c.sent();if(!i.ok){o=document.getElementById("errorModal");o&&(o.style.display="block",o.setAttribute("aria-hidden","false"));return[2]}return[4,i.blob()];case 2:a=c.sent(),u=URL.createObjectURL(a),s=document.createElement("a");s.href=u,s.download="audio_captcha",document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(u);return[2]}})});return eF.apply(this,arguments)}var eW=eb(eC());function eU(e){return eN.apply(this,arguments)}function eN(){eN=r(function(e){return l(this,function(t){switch(t.label){case 0:return[4,eL.setupChallengeUI()];case 1:return[2,(t.sent(),n(e))]}})});return eN.apply(this,arguments)}function eJ(e,t){return eZ.apply(this,arguments)}function eZ(){eZ=r(function(e,t){var n;return l(this,function(r){switch(r.label){case 0:n=document.createElement("div");n.id="pageContainer";return[4,eK(e,t)];case 1:return[2,r.sent()]}})});return eZ.apply(this,arguments)}function eK(e,t){return eG.apply(this,arguments)}function eG(){eG=r(function(e,t){var n,r,i,o;return l(this,function(a){switch(a.label){case 0:n="",r="".concat(e,"/pat?token=").concat(t);return[4,fetch(r,{headers:{accept:"text/plain","content-type":"application/json"},referrerPolicy:"strict-origin-when-cross-origin",method:"POST",mode:"cors",credentials:"same-origin"})];case 1:i=a.sent();if(!(i.status===200))return[3,3];return[4,i.json()];case 2:n=a.sent().auth;return[3,4];case 3:if(i.status===401)console.log("PAT challenge aborted.");else{o="Server responded with status ".concat(i.status,": ").concat(i.statusText);console.error(o)}a.label=4;case 4:return[2,{ty:"pat",auth:n}]}})});return eG.apply(this,arguments)}var e$=function e(e,t){return e$=Object.setPrototypeOf||i({__proto__:[]},Array)&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e$(e,t)};var eX="1.9.1",eQ={Awesomium:"awesomium",Cef:"cef",CefSharp:"cefsharp",CoachJS:"coachjs",Electron:"electron",FMiner:"fminer",Geb:"geb",NightmareJS:"nightmarejs",Phantomas:"phantomas",PhantomJS:"phantomjs",Rhino:"rhino",Selenium:"selenium",Sequentum:"sequentum",SlimerJS:"slimerjs",WebDriverIO:"webdriverio",WebDriver:"webdriver",HeadlessChrome:"headless_chrome",Unknown:"unknown"},eY=function(e){o(t,e);function t(n,r){var i=e.call(this,r)||this;return i.state=n,i.name="BotdError",Object.setPrototypeOf(i,t.prototype),i}return t}(Error);var e0={detectAppVersion:h,detectDocumentAttributes:A,detectErrorTrace:C,detectEvalLengthInconsistency:_,detectFunctionBind:x,detectLanguagesLengthInconsistency:E,detectNotificationPermissions:k,detectPluginsArray:P,detectPluginsLengthInconsistency:H,detectProcess:L,detectUserAgent:T,detectWebDriver:M,detectWebGL:j,detectWindowExternal:O,detectWindowSize:I,detectMimeTypesConsistent:S,detectProductSub:B,detectDistinctiveProperties:R};var e1={android:N,browserKind:U,browserEngineKind:W,documentFocus:J,userAgent:en,appVersion:q,rtt:et,windowSize:ea,pluginsLength:Q,pluginsArray:X,errorTrace:D,productSub:ee,windowExternal:eo,mimeTypesConsistent:G,evalLength:z,webGL:ei,webDriver:er,languages:K,notificationPermissions:$,documentElementKeys:V,functionBind:F,process:Y,distinctiveProps:eu},e2=function(){var e=function e(){this.components=void 0,this.detections=void 0};return e.prototype.getComponents=function(){return this.components},e.prototype.getDetections=function(){return this.detections},e.prototype.detect=function(){if(this.components===void 0)throw new Error("BotDetector.detect can't be called before BotDetector.collect");var e=f(this.components,e0),t=e[0],n=e[1];return this.detections=t,n},e.prototype.collect=function(){return a(this,void 0,void 0,function(){var e;return c(this,function(t){switch(t.label){case 0:return e=this,[4,p(e1)];case 1:return e.components=t.sent(),[2,this.components]}})})},e}();function e3(){return e4.apply(this,arguments)}function e4(){e4=r(function(){var e,t,n,r,i,o,a,u;return l(this,function(s){switch(s.label){case 0:return[4,eL.setupChallengeUI()];case 1:s.sent();return[4,ec()];case 2:e=s.sent(),t=e.detect(),n=null;t.bot===!0&&(n=t.botKind);r=navigator.webdriver,i=e.getComponents(),o=el(i),a=o.client_data,u=o.error_trace;return[2,{ty:"clientmetrics",webdriver:r,bot_detection_result:{bot_detected:t.bot,bot_kind:n},browser_metrics:{client_data:a,error_trace:u}}]}})});return e4.apply(this,arguments)}function e5(e,t,n,r){return e7.apply(this,arguments)}function e7(){e7=r(function(e,t,n,r){var i,o;return l(this,function(a){switch(a.label){case 0:a.trys.push([0,3,,4]);return[4,e8(e,t,n)];case 1:i=a.sent();return[4,e9({token:t,data:i},"".concat(n),r)];case 2:a.sent();return[3,4];case 3:o=a.sent();console.error("Failed to send responses:",o);return[3,4];case 4:return[2]}})});return e7.apply(this,arguments)}function e8(e,t,n){return e6.apply(this,arguments)}function e6(){e6=r(function(e,t,n){var r,i,o,a,s,c,d,f;return l(this,function(l){switch(l.label){case 0:r=[];i=true,o=false,a=undefined;try{for(s=e[Symbol.iterator]();!(i=(c=s.next()).done);i=true){d=c.value;f=void 0;try{switch(d.ty){case"pow":f=eU(d.data);break;case"pat":f=eJ(n,t);break;case"captcha":f=eR(d.data,t,n).then(function(e){var t=u(e,4),n=t[3];return n});break;case"clientmetrics":f=e3();break;default:throw new Error("Unknown challenge type")}r.push(f)}catch(e){console.error("Error presenting challenge:",e);break}}}catch(e){o=true;a=e}finally{try{if(!i&&s.return!=null){s.return()}}finally{if(o){throw a}}}return[4,Promise.all(r)];case 1:return[2,l.sent()]}})});return e6.apply(this,arguments)}function e9(e,t,n){return te.apply(this,arguments)}function te(){te=r(function(e,t,n){var r,i,o,a,u,s,c;return l(this,function(l){switch(l.label){case 0:l.trys.push([0,5,,6]);r=new URL("".concat(t,"/fst-post-back"),window.location.origin);r.username="",r.password="";return[4,fetch(r.toString(),{headers:{accept:"application/json","content-type":"application/json"},referrerPolicy:"strict-origin-when-cross-origin",method:"POST",body:JSON.stringify(e),mode:"cors",credentials:"same-origin"})];case 1:i=l.sent();if(!(i.status===200))return[3,3];return[4,tt(i,n,t)];case 2:l.sent();return[3,4];case 3:if(i.status===400){o="Bad Request: ".concat(i.statusText);throw new Error(o)}else if(i.status===404){a="Not Found: ".concat(i.statusText);throw new Error(a)}else if(i.status===405){u="Method Not Allowed: ".concat(i.statusText);throw new Error(u)}else{s="Server responded with status ".concat(i.status,": ").concat(i.statusText);throw new Error(s)}l.label=4;case 4:return[3,6];case 5:c=l.sent();throw console.error("Error during fetch request:",c),c;case 6:return[2]}})});return te.apply(this,arguments)}function tt(e,t,n){return tn.apply(this,arguments)}function tn(){tn=r(function(e,t,n){var r,i,o,a,u;return l(this,function(s){switch(s.label){case 0:s.trys.push([0,10,,11]);return[4,e.json()];case 1:r=s.sent();if(!(r.status==="success"))return[3,2];t&&location.reload();return[3,9];case 2:if(!(r.ch&&r.tok))return[3,8];s.label=3;case 3:s.trys.push([3,6,,7]);return[4,e8(r.ch,r.tok,n)];case 4:i=s.sent(),o={token:r.tok,data:i};return[4,e9(o,n,t)];case 5:s.sent();return[3,7];case 6:a=s.sent();console.error("An error occurred while sending responses. Please try again later.");return[3,7];case 7:return[3,9];case 8:throw new Error("Unexpected response format.");case 9:return[3,11];case 10:u=s.sent();console.error("An error occurred while processing the server response. Please try again later.");return[3,11];case 11:return[2]}})});return tn.apply(this,arguments)}Object.defineProperty(window,"init",{value:e5,configurable:!1,enumerable:!1,writable:!1})})();init([{"ty":"pow","data":{"base":"AA6hH8p9SOktFzPo","hash":"1dafe8738eda038f4aa899878ca811d2acb933ae4befd4b3f5094e285481948e","hmac":"845993d8937ddda7f132a7d94937e189b4d14a2d976293f39ed083fb1d215bf1","expires":"1739480594"}}], "AbS3HIQ1u2cY_eI1U8nncvalOuWt5S-GrL4H0gXfr6PSgakDJjkhn2z_CAcydD-OpHmq8WdTMloB0uzNRHml6hgtj15uMgh9S3wsafnuyLWM4SduEAsMfIPwmlj7dk_gG4vmQDFjb2tuQuTNfyKokS-BLaXUprBs2NfDrtD7qgzAHqRAnIvfj3Lg9JTNI7VpwBYhA8YdDk_VFBfDBAmSn0hueOyCMH1l_b21RUPArUoDXhGmyIupRUPpS25jbQ==", "/_fs-ch-1T1wmsGaOgGaSxcX", true);