PageSourceSearch

https://tinypoly.com/assets/chunks/K-3M8x4H.js

js tinypoly.com collected 2026-10-04 23:35:34 UTC 1,641 bytes, 1 lines download raw bytes

1import{i as e}from"./aKtaBQYM.js";import{_ as t,o as n}from"./FNoz6Tk7.js";import{p as r}from"./BLVuh69S.js";var i=e(t(),1),a=`0x4AAAAAAEDA5IHlRJTFPYSu`,o=n(),s=`cf-turnstile-sdk`,c=`https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit`;function l(){let e;return{promise:new Promise(t=>{e=t}),resolve:e}}var u=null;function d(){return window.turnstile?Promise.resolve():(u||=new Promise((e,t)=>{let n=document.getElementById(s);if(n){n.addEventListener(`load`,()=>e()),n.addEventListener(`error`,()=>t(Error(`Turnstile SDK failed to load`)));return}let r=document.createElement(`script`);r.id=s,r.src=c,r.async=!0,r.defer=!0,r.onload=()=>e(),r.onerror=()=>t(Error(`Turnstile SDK failed to load`)),document.head.appendChild(r)}),u)}var f=(0,i.forwardRef)(function(e,t){let n=(0,i.useRef)(null),s=(0,i.useRef)(null),c=(0,i.useRef)(l());return(0,i.useEffect)(()=>{let e=a;if(!e)return;let t=!1;return d().then(()=>{t||!n.current||!window.turnstile||(s.current=window.turnstile.render(n.current,{sitekey:e,theme:`auto`,appearance:`interaction-only`,callback:e=>c.current.resolve(e),"error-callback":()=>c.current.resolve(void 0),"expired-callback":()=>{c.current=l(),s.current&&window.turnstile?.reset(s.current)}}))}).catch(()=>c.current.resolve(void 0)),()=>{t=!0,s.current&&window.turnstile?.remove(s.current),s.current=null}},[]),(0,i.useImperativeHandle)(t,()=>({getToken:async()=>{let e=new Promise(e=>{setTimeout(()=>e(void 0),r)}),t=await Promise.race([c.current.promise,e]);return c.current=l(),s.current&&window.turnstile?.reset(s.current),t}}),[]),(0,o.jsx)(`div`,{ref:n,className:`auth-turnstile`})});export{f as t};

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.