"use strict";(()=>{var Pe=Object.create;var Y=Object.defineProperty;var Ee=Object.getOwnPropertyDescriptor;var Se=Object.getOwnPropertyNames;var xe=Object.getPrototypeOf,Ae=Object.prototype.hasOwnProperty;var K=(t=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(t,{get:(e,n)=>(typeof require!="undefined"?require:e)[n]}):t)(function(t){if(typeof require!="undefined")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var ee=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Re=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Se(e))!Ae.call(t,o)&&o!==n&&Y(t,o,{get:()=>e[o],enumerable:!(r=Ee(e,o))||r.enumerable});return t};var Le=(t,e,n)=>(n=t!=null?Pe(xe(t)):{},Re(e||!t||!t.__esModule?Y(n,"default",{value:t,enumerable:!0}):n,t));var P=(t,e,n)=>new Promise((r,o)=>{var i=p=>{try{l(n.next(p))}catch(c){o(c)}},s=p=>{try{l(n.throw(p))}catch(c){o(c)}},l=p=>p.done?r(p.value):Promise.resolve(p.value).then(i,s);l((n=n.apply(t,e)).next())});var ne=ee((j,te)=>{"use strict";(function(t,e){typeof j=="object"?te.exports=j=e():typeof define=="function"&&define.amd?define([],e):t.CryptoJS=e()})(j,function(){var t=t||function(e,n){var r;if(typeof window!="undefined"&&window.crypto&&(r=window.crypto),typeof self!="undefined"&&self.crypto&&(r=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(r=globalThis.crypto),!r&&typeof window!="undefined"&&window.msCrypto&&(r=window.msCrypto),!r&&typeof global!="undefined"&&global.crypto&&(r=global.crypto),!r&&typeof K=="function")try{r=K("crypto")}catch(a){}var o=function(){if(r){if(typeof r.getRandomValues=="function")try{return r.getRandomValues(new Uint32Array(1))[0]}catch(a){}if(typeof r.randomBytes=="function")try{return r.randomBytes(4).readInt32LE()}catch(a){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function a(){}return function(u){var h;return a.prototype=u,h=new a,a.prototype=null,h}}(),s={},l=s.lib={},p=l.Base=function(){return{extend:function(a){var u=i(this);return a&&u.mixIn(a),(!u.hasOwnProperty("init")||this.init===u.init)&&(u.init=function(){u.$super.init.apply(this,arguments)}),u.init.prototype=u,u.$super=this,u},create:function(){var a=this.extend();return a.init.apply(a,arguments),a},init:function(){},mixIn:function(a){for(var u in a)a.hasOwnProperty(u)&&(this[u]=a[u]);a.hasOwnProperty("toString")&&(this.toString=a.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),c=l.WordArray=p.extend({init:function(a,u){a=this.words=a||[],u!=n?this.sigBytes=u:this.sigBytes=a.length*4},toString:function(a){return(a||_).stringify(this)},concat:function(a){var u=this.words,h=a.words,f=this.sigBytes,C=a.sigBytes;if(this.clamp(),f%4)for(var m=0;m>>2]>>>24-m%4*8&255;u[f+m>>>2]|=L<<24-(f+m)%4*8}else for(var S=0;S>>2]=h[S>>>2];return this.sigBytes+=C,this},clamp:function(){var a=this.words,u=this.sigBytes;a[u>>>2]&=4294967295<<32-u%4*8,a.length=e.ceil(u/4)},clone:function(){var a=p.clone.call(this);return a.words=this.words.slice(0),a},random:function(a){for(var u=[],h=0;h>>2]>>>24-C%4*8&255;f.push((m>>>4).toString(16)),f.push((m&15).toString(16))}return f.join("")},parse:function(a){for(var u=a.length,h=[],f=0;f>>3]|=parseInt(a.substr(f,2),16)<<24-f%8*4;return new c.init(h,u/2)}},x=w.Latin1={stringify:function(a){for(var u=a.words,h=a.sigBytes,f=[],C=0;C>>2]>>>24-C%4*8&255;f.push(String.fromCharCode(m))}return f.join("")},parse:function(a){for(var u=a.length,h=[],f=0;f>>2]|=(a.charCodeAt(f)&255)<<24-f%4*8;return new c.init(h,u)}},d=w.Utf8={stringify:function(a){try{return decodeURIComponent(escape(x.stringify(a)))}catch(u){throw new Error("Malformed UTF-8 data")}},parse:function(a){return x.parse(unescape(encodeURIComponent(a)))}},b=l.BufferedBlockAlgorithm=p.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(a){typeof a=="string"&&(a=d.parse(a)),this._data.concat(a),this._nDataBytes+=a.sigBytes},_process:function(a){var u,h=this._data,f=h.words,C=h.sigBytes,m=this.blockSize,L=m*4,S=C/L;a?S=e.ceil(S):S=e.max((S|0)-this._minBufferSize,0);var T=S*m,y=e.min(T*4,C);if(T){for(var R=0;R{"use strict";(function(t,e){typeof W=="object"?re.exports=W=e(ne()):typeof define=="function"&&define.amd?define(["./core"],e):e(t.CryptoJS)})(W,function(t){return function(e){var n=t,r=n.lib,o=r.WordArray,i=r.Hasher,s=n.algo,l=[],p=[];(function(){function _(E){for(var A=e.sqrt(E),a=2;a<=A;a++)if(!(E%a))return!1;return!0}function x(E){return(E-(E|0))*4294967296|0}for(var d=2,b=0;b<64;)_(d)&&(b<8&&(l[b]=x(e.pow(d,1/2))),p[b]=x(e.pow(d,1/3)),b++),d++})();var c=[],w=s.SHA256=i.extend({_doReset:function(){this._hash=new o.init(l.slice(0))},_doProcessBlock:function(_,x){for(var d=this._hash.words,b=d[0],E=d[1],A=d[2],a=d[3],u=d[4],h=d[5],f=d[6],C=d[7],m=0;m<64;m++){if(m<16)c[m]=_[x+m]|0;else{var L=c[m-15],S=(L<<25|L>>>7)^(L<<14|L>>>18)^L>>>3,T=c[m-2],y=(T<<15|T>>>17)^(T<<13|T>>>19)^T>>>10;c[m]=S+c[m-7]+y+c[m-16]}var R=u&h^~u&f,ye=b&E^b&A^E&A,be=(b<<30|b>>>2)^(b<<19|b>>>13)^(b<<10|b>>>22),Ce=(u<<26|u>>>6)^(u<<21|u>>>11)^(u<<7|u>>>25),Q=C+Ce+R+p[m]+c[m],_e=be+ye;C=f,f=h,h=u,u=a+Q|0,a=A,A=E,E=b,b=Q+_e|0}d[0]=d[0]+b|0,d[1]=d[1]+E|0,d[2]=d[2]+A|0,d[3]=d[3]+a|0,d[4]=d[4]+u|0,d[5]=d[5]+h|0,d[6]=d[6]+f|0,d[7]=d[7]+C|0},_doFinalize:function(){var _=this._data,x=_.words,d=this._nDataBytes*8,b=_.sigBytes*8;return x[b>>>5]|=128<<24-b%32,x[(b+64>>>9<<4)+14]=e.floor(d/4294967296),x[(b+64>>>9<<4)+15]=d,_.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var _=i.clone.call(this);return _._hash=this._hash.clone(),_}});n.SHA256=i._createHelper(w),n.HmacSHA256=i._createHmacHelper(w)}(Math),t.SHA256})});var ie=Le(oe());function ae(t,e){let i="abcdefghijklmnopqrstuvwxyz"+"ABCDEFGHIJKLMNOPQRSTUVWXYZ"+"0123456789";for(let s=0;s{t.complete?e(!0):(t.onload=()=>{e(!0)},t.onerror=()=>{n(!1)})})}function ce(){return P(this,null,function*(){let t=`${window.location.origin}/fastly/logo`,e=F,n=!1;try{let o=yield fetch(t),i=o.headers.get("content-type");o.ok&&i.startsWith("image/")?(e=t,n=!0):e=F}catch(o){e=F}let r=document.createElement("img");return r.src=e,r.id="fastlyLogo",r.alt=n?"Company Logo":"Fastly Logo",n?(r.style.display="block",r.style.width="auto",r.style.height="75px",r.style.margin="0 auto"):(r.style.display="block",r.style.height="40px"),r})}function U(t,e){return P(this,null,function*(){return e&&(yield B.setupChallengeUI()),Oe(t)})}function Oe(t){let{base:e,expires:n,hmac:r,hash:o}=t;console.log(`Challenge: ${e} => ${o}`);let i=ae(e,o);return console.log(`found answer: ${i}`),{ty:"pow",base:e,answer:i,hmac:r,expires:n}}function z(t,e,n){return P(this,null,function*(){if(n){let o=document.createElement("div");o.id="pageContainer"}return yield Ie(t,e)})}function Ie(t,e){return P(this,null,function*(){let n="",r=`${t}/pat?token=${e}`,o=yield fetch(r,{headers:{accept:"text/plain","content-type":"application/json"},referrerPolicy:"strict-origin-when-cross-origin",method:"POST",mode:"cors",credentials:"same-origin"});if(o.status===200)n=(yield o.json()).auth;else if(o.status===401)console.log("PAT challenge aborted.");else{let i=`Server responded with status ${o.status}: ${o.statusText}`;console.error(i)}return{ty:"pat",auth:n}})}var le='data:image/svg+xml,%0A %0A %0A %0A %0A %0A %0A';var ue='data:image/svg+xml,%0A %0A';var q='data:image/svg+xml,%0A %0A';var de='data:image/svg+xml,%0A %0A %0A';function Fe(){return P(this,null,function*(){if(!/complete|interactive|loaded/.test(document.readyState))return new Promise((t,e)=>window.addEventListener("DOMContentLoaded",()=>t()))})}function fe(t,e,n){return P(this,null,function*(){let r=document.getElementById("pageContainer"),o=document.getElementById("contentContainer");r||(r=document.createElement("div"),r.id="pageContainer",document.body.appendChild(r)),o||(o=document.createElement("main"),o.id="contentContainer",r.appendChild(o));let i=document.getElementById("errorContainer");for(;o.firstChild&&o.firstChild!==i;)o.removeChild(o.firstChild);if(i)i.style.display="flex",i.setAttribute("aria-hidden","false");else{i=document.createElement("div"),i.id="errorContainer",i.setAttribute("role","alert"),i.setAttribute("aria-hidden","true");let y=document.createElement("img");y.src=ue,y.id="fastlyErrorIcon",y.alt="",y.setAttribute("role","presentation");let R=document.createElement("div");R.textContent="Incorrect CAPTCHA",R.id="errorText",i.appendChild(y),i.appendChild(R)}let s=yield B.fetchAndCreateLogo(),l=document.createElement("p");l.textContent="Enter the characters seen in the image below:",l.id="captchaTitle";let p=document.createElement("div");p.id="captchaContainer";let c=document.createElement("img");c.src=t.image_b64,c.id="captchaImage",c.alt="CAPTCHA image challenge";let w=document.createElement("div");w.id="audioContainer",w.setAttribute("role","group"),w.setAttribute("aria-label","Audio CAPTCHA controls");let _=function(y,R){Ve(y,n,R)},x=new AudioContext,d=document.createElement("img");d.src=q,d.id="audioButton",d.dataset.token=e,d.dataset.playing="false",d.alt="Play audio CAPTCHA",d.setAttribute("role","button"),d.setAttribute("tabindex","0"),d.addEventListener("click",y=>{_(y,x)}),d.addEventListener("keydown",y=>{(y.key==="Enter"||y.key===" ")&&_(y,x)});let b=function(y){Ke(y,n)},E=document.createElement("a");E.id="audioDownload",E.style.backgroundImage=`url('${le}')`,E.setAttribute("tabindex","0"),E.addEventListener("click",b),E.addEventListener("keydown",y=>{y.key==="Enter"&&b(y)});let A=document.createElement("span");A.textContent="Download audio CAPTCHA",A.className="sr-only",E.appendChild(A);let a=document.createElement("div");a.id="inputContainer";let u=document.createElement("label");u.textContent="Answer",u.id="inputLabel",u.htmlFor="capInput";let h=document.createElement("form");h.id="capForm",h.dataset.token=e;let f=document.createElement("input");f.name="answer",f.required=!0,f.type="text",f.autocapitalize="off",f.autocomplete="off",f.spellcheck=!1,f.id="capInput",f.setAttribute("aria-required","true"),f.setAttribute("aria-labelledby","captchaTitle inputLabel");let C=document.createElement("button");C.textContent="Submit",C.type="submit",C.id="capSubmit";let m=document.createElement("div");m.id="errorModal",m.setAttribute("role","dialog"),m.setAttribute("aria-label","Error Message"),m.setAttribute("aria-hidden","true");let L=document.createElement("p");L.textContent="Audio is currently unavailable. Please try again later.";let S=document.createElement("button");S.id="errorModalBtn",S.textContent="Close",S.setAttribute("aria-label","Close error message"),S.addEventListener("click",()=>{let y=document.getElementById("errorModal");y&&(y.style.display="none",y.setAttribute("aria-hidden","true"))}),p.appendChild(c),w.appendChild(d),w.appendChild(E),m.appendChild(L),m.appendChild(S),h.appendChild(u),h.appendChild(f),h.appendChild(i),h.appendChild(C),a.appendChild(h),o.appendChild(s),o.appendChild(l),o.appendChild(p),o.appendChild(w),o.appendChild(a),o.appendChild(m),yield Fe(),f.focus();let T=new Promise(y=>{h.addEventListener("submit",R=>{R.preventDefault(),y({ty:"captcha",answer:f.value})})});return[f,C,d,T]})}function Ve(t,e,n){return P(this,null,function*(){t.preventDefault();let r=document.getElementById("audioButton"),o=`${e}/audio?token=${r.dataset.token}`;if(r.dataset.playing==="false"){r.dataset.playing="true";let i=yield fetch(o);if(i.ok){let s=yield i.arrayBuffer();n.decodeAudioData(s,l=>{let p=n.createBufferSource();p.buffer=l,p.connect(n.destination),p.start(0),r.src=de,p.onended=function(){r.src=q,r.dataset.playing="false"}},l=>{console.error("Error decoding audio data:",l)})}else{let s=document.getElementById("errorModal");s.style.display="block",s.setAttribute("aria-hidden","false"),r.dataset.playing="false"}}else return})}function Ke(t,e){return P(this,null,function*(){t.preventDefault();let n=document.getElementById("audioButton"),r=`${e}/audio?token=${n.dataset.token}`,o=yield fetch(r);if(!o.ok){let p=document.getElementById("errorModal");p&&(p.style.display="block",p.setAttribute("aria-hidden","false"));return}let i=yield o.blob(),s=URL.createObjectURL(i),l=document.createElement("a");l.href=s,l.download="audio_captcha",document.body.appendChild(l),l.click(),document.body.removeChild(l),URL.revokeObjectURL(s)})}function pe(t,e,n){return P(this,null,function*(){H("captcha_prompted");let r=document.querySelector(".fastly-challenge");for(;r.firstChild;)r.removeChild(r.firstChild);let o=document.createElement("iframe");return o.id="fastly-captcha-iframe",o.style.border="none",o.style.width="100%",o.style.height="400px",o.src=`${n}/assets/captcha-iframe.html`,o.onload=()=>{o.contentWindow&&o.contentWindow.postMessage({type:"captchaData",payload:{capImage:t.image_b64,token:e,postBackPrefix:n}},window.location.origin)},r.appendChild(o),new Promise(i=>{let s=l=>{l.source!==o.contentWindow||l.data.type!=="captchaResult"||(i(l.data.payload),window.removeEventListener("message",s),r.removeChild(o))};window.addEventListener("message",s)})})}var N=function(t,e){return N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},N(t,e)};function he(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");N(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function O(t,e,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function l(w){try{c(r.next(w))}catch(_){s(_)}}function p(w){try{c(r.throw(w))}catch(_){s(_)}}function c(w){w.done?i(w.value):o(w.value).then(l,p)}c((r=r.apply(t,e||[])).next())})}function I(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(c){return function(w){return p([c,w])}}function p(c){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,c[0]&&(n=0)),n;)try{if(r=1,o&&(i=c[0]&2?o.return:c[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,c[1])).done)return i;switch(o=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,o=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]=5?"chromium":k(["ApplePayError"in n,"CSSPrimitiveValue"in n,"Counter"in n,r.vendor.indexOf("Apple")===0,"getStorageUpdates"in r,"WebKitMediaKeys"in n])>=4?"webkit":k(["buildID"in navigator,"MozAppearance"in((e=(t=document.documentElement)===null||t===void 0?void 0:t.style)!==null&&e!==void 0?e:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4?"gecko":"unknown"}function yt(){var t,e=(t=navigator.userAgent)===null||t===void 0?void 0:t.toLowerCase();return M(e,"edg/")?"edge":M(e,"trident")||M(e,"msie")?"internet_explorer":M(e,"wechat")?"wechat":M(e,"firefox")?"firefox":M(e,"opera")||M(e,"opr")?"opera":M(e,"chrome")?"chrome":M(e,"safari")?"safari":"unknown"}function bt(){var t=Z(),e=t==="chromium",n=t==="gecko",r=window,o=navigator,i="connection";return e?k([!("SharedWorker"in r),o[i]&&"ontypechange"in o[i],!("sinkId"in new Audio)])>=2:n?k(["onorientationchange"in r,"orientation"in r,/android/i.test(o.appVersion)])>=2:!1}function Ct(){return document.hasFocus===void 0?!1:document.hasFocus()}function _t(){var t=window;return k([!("MediaSettingsRange"in t),"RTCEncodedAudioFrame"in t,""+t.Intl=="[object Intl]",""+t.Reflect=="[object Reflect]"])>=3}function Pt(){var t=navigator,e=[],n=t.language||t.userLanguage||t.browserLanguage||t.systemLanguage;if(n!==void 0&&e.push([n]),Array.isArray(t.languages)){var r=Z();r==="chromium"&&_t()||e.push(t.languages)}else if(typeof t.languages=="string"){var o=t.languages;o&&e.push(o.split(","))}return e}function Et(){if(navigator.mimeTypes===void 0)throw new v(-1,"navigator.mimeTypes is undefined");for(var t=navigator.mimeTypes,e=Object.getPrototypeOf(t)===MimeTypeArray.prototype,n=0;n=.001))try{var t=new XMLHttpRequest;t.open("get","https://m1.openfpcdn.io/botd/v".concat(Ue,"/npm-monitoring"),!0),t.send()}catch(e){console.error(e)}}function me(t){var e=t===void 0?{}:t,n=e.monitoring,r=n===void 0?!0:n;return O(this,void 0,void 0,function(){var o;return I(this,function(i){switch(i.label){case 0:return r&&Wt(),o=new jt,[4,o.collect()];case 1:return i.sent(),[2,o]}})})}function Ft(){return P(this,null,function*(){return window._fs_bdc_p?window._fs_bdc_p:(window._fs_bdc_p=me(),yield window._fs_bdc_p)})}function G(t){return P(this,null,function*(){try{t&&(yield B.setupChallengeUI());let e=yield Ft(),n=e.detect(),r=null;n.bot===!0&&n.botKind&&(r=n.botKind);let o=navigator.webdriver,i=e.getComponents(),{client_data:s,error_trace:l}=Vt(i);return{ty:"clientmetrics",webdriver:o,bot_detection_result:{bot_detected:n.bot,bot_kind:r},browser_metrics:{client_data:s,error_trace:l}}}catch(e){throw{code:"CLIENT_METRICS_ERROR",message:"Failed to perform client metrics challenge",details:e instanceof Error?e.message:"Unknown error occurred"}}})}function Vt(t){let e={},n=null;return Object.keys(t).forEach(r=>{let o=t[r];r==="errorTrace"?o&&typeof o=="object"&&"value"in o&&(n=JSON.stringify(o.value)):r!=="process"&&(o&&typeof o=="object"&&"state"in o?o.state===0?e[r]={value:o.value}:e[r]={error:o.error}:e[r]=o)}),{client_data:JSON.stringify(e),error_trace:n}}function H(t){let e=document.querySelector(".fastly-challenge");e&&e.setAttribute("data-challenge-status",t)}function X(t,e,n){return P(this,null,function*(){let r=[];for(let o of t){let i;try{switch(o.ty){case"pow":i=U(o.data,!0);break;case"pat":i=z(n,e,!0);break;case"captcha":i=fe(o.data,e,n).then(([,,,s])=>s);break;case"clientmetrics":i=G(!0);break;default:throw new Error("Unknown challenge type")}r.push(i)}catch(s){console.error("Error presenting challenge:",s);break}}return yield Promise.all(r)})}function we(t,e,n){return P(this,null,function*(){try{let r=[];for(let o of t){let i;switch(o.ty){case"pow":i=U(o.data,!1);break;case"pat":i=z(n,e,!1);break;case"captcha":i=pe(o.data,e,n).then(s=>s);break;case"clientmetrics":i=G(!1);break;default:throw new Error(`Unknown challenge type: ${o.ty}`)}r.push(i)}return yield Promise.all(r)}catch(r){let o=r instanceof Error?{message:r.message}:{message:String(r),name:"Error when issuing Embedded Challenge task"};throw yield fetch(`${n}/log-error`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({error:o,context:{challenges:t,token:e}})}),r}})}function Kt(t,e,n,r){return P(this,null,function*(){try{let o=yield X(t,e,n);yield ve({token:e,data:o},n,{doReload:r})}catch(o){console.error("Failed to send responses:",o)}})}function ve(r,o){return P(this,arguments,function*(t,e,n={}){try{let i=new URL(`${e}/fst-post-back`,window.location.origin);i.username="",i.password="";let s=yield fetch(i.toString(),{headers:{accept:"application/json","content-type":"application/json"},referrerPolicy:"strict-origin-when-cross-origin",method:"POST",body:JSON.stringify(t),mode:"cors",credentials:"same-origin"});if(s.status===200)yield Ut(s,e,n);else if(s.status===400){let l=`Bad Request: ${s.statusText}`;throw new Error(l)}else if(s.status===404){let l=`Not Found: ${s.statusText}`;throw new Error(l)}else if(s.status===405){let l=`Method Not Allowed: ${s.statusText}`;throw new Error(l)}else{let l=`Server responded with status ${s.status}: ${s.statusText}`;throw new Error(l)}}catch(i){throw console.error("Error during fetch request:",i),i}})}function Ut(r,o){return P(this,arguments,function*(t,e,n={}){try{let i=yield t.json();if(i.status==="success")n.isEmbedded?H("complete"):n.doReload&&location.reload();else if(i.ch&&i.tok)try{let s=n.isEmbedded?yield we(i.ch,i.tok,e):yield X(i.ch,i.tok,e),l={token:i.tok,data:s};yield ve(l,e,n)}catch(s){n.isEmbedded&&H("error"),console.error("An error occurred while sending responses. Please try again later.")}else throw n.isEmbedded&&H("error"),new Error("Unexpected response format.")}catch(i){n.isEmbedded&&H("error"),console.error("An error occurred while processing the server response. Please try again later.")}})}Object.defineProperty(window,"init",{value:Kt,configurable:!1,enumerable:!1,writable:!1});})(); ;init([{"ty":"pat","data":{}}], "AUW_6fZLueEL_fKXl8gZx3Pa2D8VTwH3yxqwbA9X8Pq6Gr32lR4VVviWIXuKjEN8tjtq-FWBuU6vSV44Loo9lvRjH85T4iXFUinO1cUNWzPlLzpyFIYC31H16RBv5WkQ8ssGhiDbkecryHwYpE4hf_ILartISTWQTmzku_v4HigeFe9aNzbKBuFAwqAePuDBD7pyQPm_kJAGbNSc3lFvO0aIIkMR4TMsHnoC7hlU7TQJb_lkwBgrUstl49Rp_LtXjrgkDb-eshfii0WrrDMfCm6PdwYzdZoNYBvWO5lxd4QCx_O_Q7_fiMr2tN624DtV33vXv-9kEQdrYURZeSgYJ0RE6apiZBTtXLTJRvte6CjPoZFJES1w_r8Tey2_l_BE4g==", "/_fs-ch-1T1wmsGaOgGaSxcX", true);