PageSourceSearch

https://www.decryptr.ai/_next/static/immutable/chunks/337dqi8ezkdhk.js

js decryptr.ai collected 2026-10-05 12:01:43 UTC 10,540 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94542,e=>{"use strict";var t=e.i(43476),r=e.i(33256);e.s(["default",0,function(){return(0,t.jsx)(r.AuthForm,{mode:"login"})}])},33256,e=>{"use strict";var t=e.i(43476),r=e.i(57688),n=e.i(22016),o=e.i(92989),a=e.i(71645),i=(0,a.forwardRef)(({as:e="div",...r},n)=>(0,t.jsx)(e,{...r,ref:n}));let s="onloadTurnstileCallback",c={normal:{width:300,height:65},compact:{width:150,height:140},invisible:{width:0,height:0,overflow:"hidden"},flexible:{minWidth:300,width:"100%",height:65}},l="unloaded",u,d=new Promise((e,t)=>{u={resolve:e,reject:t},"ready"===l&&e(void 0)}),p=(e=s)=>("unloaded"===l&&(l="loading",window[e]=()=>{u.resolve(),l="ready",delete window[e]}),d),f=(0,a.forwardRef)((e,r)=>{let{scriptOptions:n,options:o={},siteKey:u,onWidgetLoad:d,onSuccess:f,onExpire:m,onError:h,onBeforeInteractive:x,onAfterInteractive:w,onUnsupported:b,onTimeout:g,onLoadScript:v,id:y,style:E,as:T="div",injectScript:k=!0,rerenderOnCallbackChange:S=!1,...j}=e,N=o.size,I=(0,a.useMemo)(()=>{if(void 0===N)return{};let e=c[N];return"interaction-only"===o.appearance?{...e,height:"auto"}:e},[N,o.appearance]),C="execute"===o.execution?c.invisible:I,[R,O]=(0,a.useState)(C),P=(0,a.useRef)(null),[A,B]=(0,a.useState)(!1),F=(0,a.useRef)(void 0),U=(0,a.useRef)(!1),L=y||"cf-turnstile",$=(0,a.useRef)({onSuccess:f,onError:h,onExpire:m,onBeforeInteractive:x,onAfterInteractive:w,onUnsupported:b,onTimeout:g});(0,a.useEffect)(()=>{S||($.current={onSuccess:f,onError:h,onExpire:m,onBeforeInteractive:x,onAfterInteractive:w,onUnsupported:b,onTimeout:g})});let D=n?.id||"cf-turnstile-script",z=function(e="cf-turnstile-script"){let[t,r]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let t=()=>{document.getElementById(e)&&r(!0)},n=new MutationObserver(t);return n.observe(document,{childList:!0,subtree:!0}),t(),()=>{n.disconnect()}},[e]),t}(D),K=n?.onLoadCallbackName||"onloadTurnstileCallback",H=(0,a.useMemo)(()=>({sitekey:u,action:o.action,cData:o.cData,theme:o.theme||"auto",language:o.language||"auto",tabindex:o.tabIndex,"response-field":o.responseField,"response-field-name":o.responseFieldName,size:function(e){if("invisible"!==e)return e}(N),retry:o.retry||"auto","retry-interval":o.retryInterval||8e3,"refresh-expired":o.refreshExpired||"auto","refresh-timeout":o.refreshTimeout||"auto",execution:o.execution||"render",appearance:o.appearance||"always","feedback-enabled":o.feedbackEnabled??!0,"offlabel-show-privacy":o.offlabelShowPrivacy??!0,"offlabel-show-help":o.offlabelShowHelp??!0,callback:e=>{U.current=!0,S?f?.(e):$.current.onSuccess?.(e)},"error-callback":S?h:(...e)=>$.current.onError?.(...e),"expired-callback":S?m:(...e)=>$.current.onExpire?.(...e),"before-interactive-callback":S?x:(...e)=>$.current.onBeforeInteractive?.(...e),"after-interactive-callback":S?w:(...e)=>$.current.onAfterInteractive?.(...e),"unsupported-callback":S?b:(...e)=>$.current.onUnsupported?.(...e),"timeout-callback":S?g:(...e)=>$.current.onTimeout?.(...e)}),[o.action,o.appearance,o.cData,o.execution,o.language,o.refreshExpired,o.responseField,o.responseFieldName,o.retry,o.retryInterval,o.tabIndex,o.theme,o.feedbackEnabled,o.offlabelShowPrivacy,o.offlabelShowHelp,o.refreshTimeout,u,N,S,S?f:null,S?h:null,S?m:null,S?x:null,S?w:null,S?b:null,S?g:null]),W=(0,a.useCallback)(()=>"u">typeof window&&!!window.turnstile,[]),q=(0,a.useCallback)((e,t)=>{try{return window.turnstile.render(e,t)}catch(t){let e=S?h:$.current.onError;e?e(t instanceof Error?t.message:String(t)):console.error(t);return}},[S,S?h:null]);return(0,a.useEffect)(function(){k&&!A&&(p(K),(({render:e="explicit",onLoadCallbackName:t=s,scriptOptions:{nonce:r="",defer:n=!0,async:o=!0,id:a="",appendTo:i,onError:c,crossOrigin:l=""}={}})=>{let u=a||"cf-turnstile-script";
1if(document.getElementById(u))return;let d=document.createElement("script");d.id=u,d.src=`https://challenges.cloudflare.com/turnstile/v0/api.js?onload=${t}&render=${e}`,document.querySelector(`script[src="${d.src}"]`)||(d.defer=!!n,d.async=!!o,r&&d.setAttribute("nonce",r),l&&(d.crossOrigin=l),c&&(d.onerror=c,delete window[t]),("body"===i?document.body:document.getElementsByTagName("head")[0]).appendChild(d))})({onLoadCallbackName:K,scriptOptions:{...n,id:D}}))},[k,A,n,D,K]),(0,a.useEffect)(function(){"ready"!==l&&p(K).then(()=>B(!0)).catch(console.error)},[K]),(0,a.useEffect)(function(){if(!P.current||!A)return;let e=!1;return(async()=>{e||!P.current||(F.current=q(P.current,H),O(C),F.current&&d?.(F.current))})(),()=>{e=!0,F.current&&(window.turnstile.remove(F.current),U.current=!1)}},[L,A,H,C,q]),(0,a.useImperativeHandle)(r,()=>{let{turnstile:e}=window;return{getResponse:()=>e?.getResponse&&F.current&&W()?e.getResponse(F.current):void console.warn("Turnstile has not been loaded"),getResponsePromise:async(e=3e4,t=100)=>new Promise((r,n)=>{let o,a=async()=>{if(U.current&&window.turnstile&&F.current)try{let e=window.turnstile.getResponse(F.current);return o&&clearTimeout(o),e?r(e):n(Error("No response received"))}catch(e){return o&&clearTimeout(o),console.warn("Failed to get response",e),n(Error("Failed to get response"))}o||=setTimeout(()=>{o&&clearTimeout(o),n(Error("Timeout"))},e),await new Promise(e=>setTimeout(e,t)),await a()};a()}),reset(){if(!e?.reset||!F.current||!W())return void console.warn("Turnstile has not been loaded");O(C);try{U.current=!1,e.reset(F.current)}catch(e){console.warn(`Failed to reset Turnstile widget ${F.current}`,e)}},remove(){e?.remove&&F.current&&W()?(O(c.invisible),U.current=!1,e.remove(F.current),F.current=null):console.warn("Turnstile has not been loaded")},render(){if(!e?.render||!P.current||!W()||F.current)return void console.warn("Turnstile has not been loaded or container not found");let t=q(P.current,H);return F.current=t,F.current&&d?.(F.current),O(C),t},execute(){"execute"!==o.execution?console.warn('Execution mode is not set to "execute"'):e?.execute&&P.current&&F.current&&W()?(e.execute(P.current),O(I)):console.warn("Turnstile has not been loaded or container not found")},isExpired:()=>e?.isExpired&&F.current&&W()?e.isExpired(F.current):(console.warn("Turnstile has not been loaded"),!1)}},[F,o.execution,H,P,W,q,A,d,C,I]),(0,a.useEffect)(()=>{if(A||!z)return;if(window.turnstile)return void B(!0);let e=setInterval(()=>{window.turnstile&&(B(!0),clearInterval(e))},50);return()=>{clearInterval(e)}},[A,z]),(0,a.useEffect)(()=>{O(C)},[C]),(0,a.useEffect)(()=>{z&&"function"==typeof v&&v()},[z]),(0,t.jsx)(i,{ref:P,as:T,id:L,style:{...R,...E},...j})});f.displayName="Turnstile";var m=e.i(7471),h=e.i(12984);let x="Use at least 8 characters, with an upper and lower case letter, a number and a symbol.",w=e=>e.length>=8&&/[a-z]/.test(e)&&/[A-Z]/.test(e)&&/\d/.test(e)&&/[^A-Za-z0-9]/.test(e);e.s(["AuthForm",0,function({mode:e}){let i=(0,o.useRouter)(),[s,c]=(0,a.useState)(""),[l,u]=(0,a.useState)(""),[d,p]=(0,a.useState)(null),[b,g]=(0,a.useState)(!1),[v,y]=(0,a.useState)(null),E=(0,a.useRef)(null),T="signup"===e;async function k(e){if(e.preventDefault(),T&&!w(l))return void y({text:x,error:!0});if(!d)return void y({text:"One moment - checking you're human.",error:!1});g(!0),y(null);let t=(0,m.supabase)().auth,r=T?await t.signUp({email:s.trim(),password:l,options:{captchaToken:d,emailRedirectTo:`${location.origin}/home`}}):await t.signInWithPassword({email:s.trim(),password:l,options:{captchaToken:d}});(E.current?.reset(),p(null),g(!1),r.error)?y({text:r.error.message,error:!0}):T&&!r.data.session?y({text:"Check your email to confirm your account, then sign in."}):i.replace(T?"/setup":"/home")}async function S(){if(!s.trim())return y({text:"Enter your email first.",error:!0});if(!d)return y({text:"One moment - checking you're human."});let{error:e}=await (0,m.supabase)().auth.resetPasswordForEmail(s.trim(),{captchaToken:d,redirectTo:`${location.origin}/reset`});E.current?.reset(),p(null),y(e?{text:e.message,error:!0}:{text:"We've emailed you a link to set a new password."})}return(0,t.jsx)("div",{className:"grid min-h-dvh place-items-center px-6 py-10",children:(0,t.jsxs)("form",{onSubmit:k,className:"w-full max-w-[380px]",children:[(0,t.jsx)(n.default,{href:"/",className:"mx-auto block w-fit",children:(0,t.jsx)(r.default,{src:"/logo.png",alt:"Decryptr",width:40,height:40})}),(0,t.jsx)("h1",{className:"mt-8 text-[31px] font-extrabold leading-9",children:T?"Create your account":"Sign in to Decryptr"}),(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(h.OAuthButtons,{verb:T?"Sign up":"Sign in"})}),(0,t.jsx)("div",{className:"my-3",children:(0,t.jsx)(h.OrRule,{})}),(0,t.jsx)("input",{type:"email",autoComplete:"email",required:!0,placeholder:"Email",value:s,onChange:e=>c(e.target.value),className:"h-14 w-full rounded-[4px] border border-line bg-transparent px-3 text-[17px] outline-none placeholder:text-ink-45 focus:border-accent focus:ring-1 focus:ring-accent"}),(0,t.jsx)("input",{type:"password",autoComplete:T?"new-password":"current-password",required:!0,minLength:8,placeholder:"Password",value:l,onCh
1ange:e=>u(e.target.value),className:"mt-3 h-14 w-full rounded-[4px] border border-line bg-transparent px-3 text-[17px] outline-none placeholder:text-ink-45 focus:border-accent focus:ring-1 focus:ring-accent"}),T&&(0,t.jsx)("p",{className:`mt-1.5 text-[13px] ${l&&!w(l)?"text-loss":"text-ink-45"}`,children:x}),(0,t.jsx)("div",{className:"mt-3 flex justify-center",children:(0,t.jsx)(f,{ref:E,siteKey:m.TURNSTILE_SITE_KEY,onSuccess:p,onExpire:()=>p(null),options:{size:"flexible",theme:"auto",appearance:"interaction-only"}})}),v&&(0,t.jsx)("p",{className:`mt-3 text-[14px] ${v.error?"text-loss":"text-ink-70"}`,children:v.text}),(0,t.jsx)("button",{disabled:b,className:"press btn-primary mt-4 h-[52px] w-full rounded-full text-[17px]",children:b?"One moment…":T?"Create account":"Sign in"}),!T&&(0,t.jsx)("button",{type:"button",onClick:S,className:"press btn-outline mt-3 h-10 w-full rounded-full",children:"Forgot password?"}),(0,t.jsxs)("p",{className:"mt-8 text-ink-45",children:[T?"Have an account already? ":"Don't have an account? ",(0,t.jsx)(n.default,{href:T?"/login":"/signup",className:"text-accent hover:underline",children:T?"Sign in":"Sign up"})]}),T&&(0,t.jsxs)("p",{className:"mt-4 text-[12px] text-ink-45",children:["By signing up you agree to the ",(0,t.jsx)(n.default,{className:"text-accent",href:"/terms",children:"Terms"})," and"," ",(0,t.jsx)(n.default,{className:"text-accent",href:"/privacy",children:"Privacy Policy"}),". You must be 18 or over."]})]})})}],33256)}]);

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.