PageSourceSearch

https://dlgamer.fr/_nuxt/D2LYz7Pc.js

js dlgamer.fr collected 2026-10-07 06:13:17 UTC 1,568 bytes, 1 lines download raw bytes

1import{d as w,H as _,z as y,a0 as k,c as g,k as h,p as v,r as x,e as C}from"./C8ZUjzHs.js";const a="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",V=w({__name:"TurnstileWidget",props:{modelValue:{},action:{}},emits:["update:modelValue"],setup(c,{expose:u,emit:d}){const s=c,o=d,l=x(null);let t=null;const i=_().public.turnstileSiteKey,m=()=>{if(window.turnstile)return Promise.resolve();const e=document.querySelector(`script[src="${a}"]`);return e?new Promise(r=>{if(window.turnstile)return r();e.addEventListener("load",()=>r(),{once:!0})}):new Promise((r,f)=>{const n=document.createElement("script");n.src=a,n.async=!0,n.defer=!0,n.addEventListener("load",()=>r(),{once:!0}),n.addEventListener("error",()=>f(new Error("Failed to load Turnstile script")),{once:!0}),document.head.appendChild(n)})},p=()=>{!i||!l.value||!window.turnstile||(t=window.turnstile.render(l.value,{sitekey:i,theme:"dark",...s.action?{action:s.action}:{},callback:e=>o("update:modelValue",e),"expired-callback":()=>o("update:modelValue",null),"error-callback":()=>o("update:modelValue",null)}))};return u({reset:()=>{o("update:modelValue",null),t&&window.turnstile&&window.turnstile.reset(t)}}),y(async()=>{if(i)try{await m(),p()}catch(e){console.error("[TurnstileWidget] failed to load Cloudflare Turnstile",e)}}),k(()=>{if(t&&window.turnstile){try{window.turnstile.remove(t)}catch{}t=null}}),(e,r)=>v(i)?(C(),g("div",{key:0,ref_key:"container",ref:l,class:"flex justify-center"},null,512)):h("",!0)}}),b=Object.assign(V,{__name:"TurnstileWidget"});export{b as _};

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.