PageSourceSearch

https://sekrd.com/_next/static/chunks/0y-h5~um65brr.js

js sekrd.com collected 2026-10-05 18:29:54 UTC 22,488 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,45605,e=>{"use strict";var t=e.i(43476),r=e.i(71645);e.s(["SekrdLogo",0,function({size:e=40}){let n=(0,r.useId)();return(0,t.jsxs)("svg",{width:e,height:e,viewBox:"0 0 80 80",fill:"none",role:"img","aria-label":"Sekrd",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("mask",{id:n,children:[(0,t.jsx)("path",{d:"M40 6L12 16v20c0 16 12 28 28 34 16-6 28-18 28-34V16L40 6z",fill:"white"}),(0,t.jsx)("text",{x:"40",y:"51",textAnchor:"middle",fill:"black",fontSize:"44",fontWeight:"800",fontFamily:"SF Pro Display,-apple-system,Helvetica Neue,Helvetica,Arial,sans-serif",children:"S"})]})}),(0,t.jsx)("path",{d:"M40 6L12 16v20c0 16 12 28 28 34 16-6 28-18 28-34V16L40 6z",fill:"#1C1C1E",stroke:"#1C1C1E",strokeWidth:"4",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M40 6L12 16v20c0 16 12 28 28 34 16-6 28-18 28-34V16L40 6z",fill:"#30D158",mask:`url(#${n})`}),(0,t.jsx)("circle",{cx:"57.5",cy:"14",r:"10",fill:"#1C1C1E"}),(0,t.jsxs)("circle",{cx:"57.5",cy:"14",r:"5.5",fill:"#30D158",children:[(0,t.jsx)("animate",{attributeName:"r",values:"5.5;3.5;5.5",dur:"2.5s",repeatCount:"indefinite",calcMode:"spline",keySplines:"0.4 0 0.2 1;0.4 0 0.2 1"}),(0,t.jsx)("animate",{attributeName:"opacity",values:"1;0.45;1",dur:"2.5s",repeatCount:"indefinite",calcMode:"spline",keySplines:"0.4 0 0.2 1;0.4 0 0.2 1"})]})]})}])},3265,e=>{"use strict";var t=e.i(43476),r=e.i(22016),n=e.i(71645),i=e.i(26732),s=e.i(45605);let a=[{href:"/pricing",label:"Pricing"},{href:"/docs",label:"Docs"},{href:"/blog",label:"Blog"},{href:"/about",label:"About"}];e.s(["Navbar",0,function(){let[e,l]=(0,n.useState)(!1),{data:o}=(0,i.useSession)();return(0,t.jsxs)("nav",{className:"sticky top-0 z-50 backdrop-blur-xl bg-black/80 border-b border-white/5",children:[(0,t.jsxs)("div",{className:"max-w-6xl mx-auto px-6 h-16 flex items-center justify-between",children:[(0,t.jsxs)(r.default,{href:"/",className:"flex items-center gap-2.5 group",children:[(0,t.jsx)(s.SekrdLogo,{size:28}),(0,t.jsx)("span",{className:"font-[var(--font-heading)] text-lg font-bold tracking-tight group-hover:text-[#30D158] transition-colors",children:"sekrd"})]}),(0,t.jsx)("div",{className:"hidden md:flex items-center gap-6",children:a.map(e=>(0,t.jsx)(r.default,{href:e.href,className:"text-sm text-[#86868B] hover:text-white transition-colors py-2 px-1",children:e.label},e.href))}),(0,t.jsx)("div",{className:"hidden md:flex items-center gap-3",children:o?.user?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{href:"/dashboard",className:"text-sm text-[#86868B] hover:text-white transition-colors px-3 py-2",children:"Dashboard"}),(0,t.jsx)("span",{className:"text-sm text-[#A1A1A6] px-2",children:o.user.name||o.user.email}),(0,t.jsx)("button",{type:"button",onClick:()=>(0,i.signOut)(),className:"text-sm text-[#86868B] hover:text-white transition-colors px-3 py-2",children:"Sign Out"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{href:"/auth/signin",className:"text-sm text-[#86868B] hover:text-white transition-colors px-3 py-2",children:"Sign In"}),(0,t.jsx)(r.default,{href:"/scan",className:"px-4 py-2 bg-[#30D158] text-black text-sm font-semibold rounded-lg hover:bg-[#28B84C] transition-all hover:shadow-[0_0_20px_rgba(48,209,88,0.3)]",children:"Scan Now"})]})}),(0,t.jsx)("button",{type:"button",className:"md:hidden p-2.5 -mr-2.5",onClick:()=>l(!e),"aria-label":e?"Close menu":"Open menu","aria-expanded":e,children:(0,t.jsx)("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:e?(0,t.jsx)("path",{d:"M6 6l12 12M6 18L18 6"}):(0,t.jsx)("path",{d:"M4 6h16M4 12h16M4 18h16"})})})]}),e&&(0,t.jsx)("div",{className:"md:hidden border-t border-white/5 bg-black/95 backdrop-blur-xl",children:(0,t.jsxs)("div",{className:"px-6 py-3",children:[(0,t.jsx)("div",{className:"flex flex-wrap gap-x-5 gap-y-1",children:a.map(e=>(0,t.jsx)(r.default,{href:e.href,className:"text-sm text-[#86868B] hover:text-white py-1.5",onClick:()=>l(!1),children:e.label},e.href))}),(0,t.jsx)("div",{className:"mt-2 pt-2 border-t border-white/5 flex items-center gap-4",children:o?.user?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{href:"/dashboard",className:"text-sm font-bold text-white py-1.5",onClick:()=>l(!1),children:"Dashboard"}),(0,t.jsx)("button",{type:"button",onClick:()=>(0,i.signOut)(),className:"text-sm text-[#86868B] py-1.5",children:"Sign Out"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{href:"/auth/signin",className:"text-sm text-[#86868B] py-1.5",children:"Sign In"}),(0,t.jsx)(r.default,{href:"/scan",className:"px-4 py-1.5 bg-[#30D158] text-black text-sm font-semibold rounded-lg",children:"Scan Now"})]})})]})})]})}])},58902,e=>{"use strict";e.i(47167);var t=e.i(43476),r=e.i(71645),n=(0,r.forwardRef)(({as:e="div",...r},n)=>(0,t.jsx)(e,{...r,ref:n}));let i="onloadTurnstileCallback",s={normal:{width:300,height:65},compact:{width:150,height:140},invisible:{width:0,height:0,overflow:"hidden"},flexible:{minWidth:300,width:"100%",height:65},interactionOnly:{width:"fit-content",height:"auto",display:"flex"}},a="unloaded",l,o=new Promise((e,t)=>
1{l={resolve:e,reject:t},"ready"===a&&e(void 0)}),c=(e=i)=>("unloaded"===a&&(a="loading",window[e]=()=>{l.resolve(),a="ready",delete window[e]}),o),d=(0,r.forwardRef)((e,l)=>{let{scriptOptions:o,options:d={},siteKey:u,onWidgetLoad:m,onSuccess:x,onExpire:h,onError:f,onBeforeInteractive:p,onAfterInteractive:b,onUnsupported:g,onTimeout:v,onLoadScript:j,id:w,style:y,as:k="div",injectScript:N=!0,rerenderOnCallbackChange:A=!1,...S}=e,C=d.size,F=(0,r.useCallback)(()=>void 0===C?{}:"execute"===d.execution?s.invisible:"interaction-only"===d.appearance?s.interactionOnly:s[C],[d.execution,C,d.appearance]),[E,T]=(0,r.useState)(F()),B=(0,r.useRef)(null),[D,L]=(0,r.useState)(!1),M=(0,r.useRef)(void 0),I=(0,r.useRef)(!1),z=w||"cf-turnstile",O=(0,r.useRef)({onSuccess:x,onError:f,onExpire:h,onBeforeInteractive:p,onAfterInteractive:b,onUnsupported:g,onTimeout:v});(0,r.useEffect)(()=>{A||(O.current={onSuccess:x,onError:f,onExpire:h,onBeforeInteractive:p,onAfterInteractive:b,onUnsupported:g,onTimeout:v})});let P=o?.id||"cf-turnstile-script",R=function(e="cf-turnstile-script"){let[t,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let t=()=>{document.getElementById(e)&&n(!0)},r=new MutationObserver(t);return r.observe(document,{childList:!0,subtree:!0}),t(),()=>{r.disconnect()}},[e]),t}(P),U=o?.onLoadCallbackName||"onloadTurnstileCallback",H=d.appearance||"always",_=(0,r.useMemo)(()=>({sitekey:u,action:d.action,cData:d.cData,theme:d.theme||"auto",language:d.language||"auto",tabindex:d.tabIndex,"response-field":d.responseField,"response-field-name":d.responseFieldName,size:function(e){if("invisible"!==e&&"interactionOnly"!==e)return e}(C),retry:d.retry||"auto","retry-interval":d.retryInterval||8e3,"refresh-expired":d.refreshExpired||"auto","refresh-timeout":d.refreshTimeout||"auto",execution:d.execution||"render",appearance:d.appearance||"always","feedback-enabled":d.feedbackEnabled??!0,callback:e=>{I.current=!0,A?x?.(e):O.current.onSuccess?.(e)},"error-callback":A?f:(...e)=>O.current.onError?.(...e),"expired-callback":A?h:(...e)=>O.current.onExpire?.(...e),"before-interactive-callback":A?p:(...e)=>O.current.onBeforeInteractive?.(...e),"after-interactive-callback":A?b:(...e)=>O.current.onAfterInteractive?.(...e),"unsupported-callback":A?g:(...e)=>O.current.onUnsupported?.(...e),"timeout-callback":A?v:(...e)=>O.current.onTimeout?.(...e)}),[d.action,d.appearance,d.cData,d.execution,d.language,d.refreshExpired,d.responseField,d.responseFieldName,d.retry,d.retryInterval,d.tabIndex,d.theme,d.feedbackEnabled,d.refreshTimeout,u,C,A,A?x:null,A?f:null,A?h:null,A?p:null,A?b:null,A?g:null,A?v:null]),$=(0,r.useCallback)(()=>"u">typeof window&&!!window.turnstile,[]);return(0,r.useEffect)(function(){N&&!D&&(c(U),(({render:e="explicit",onLoadCallbackName:t=i,scriptOptions:{nonce:r="",defer:n=!0,async:s=!0,id:a="",appendTo:l,onError:o,crossOrigin:c=""}={}})=>{let d=a||"cf-turnstile-script";
1if(document.getElementById(d))return;let u=document.createElement("script");u.id=d,u.src=`https://challenges.cloudflare.com/turnstile/v0/api.js?onload=${t}&render=${e}`,document.querySelector(`script[src="${u.src}"]`)||(u.defer=!!n,u.async=!!s,r&&(u.nonce=r),c&&(u.crossOrigin=c),o&&(u.onerror=o,delete window[t]),("body"===l?document.body:document.getElementsByTagName("head")[0]).appendChild(u))})({onLoadCallbackName:U,scriptOptions:{...o,id:P}}))},[N,D,o,P,U]),(0,r.useEffect)(function(){"ready"!==a&&c(U).then(()=>L(!0)).catch(console.error)},[U]),(0,r.useEffect)(function(){if(!B.current||!D)return;let e=!1;return(async()=>{e||!B.current||(M.current=window.turnstile.render(B.current,_),M.current&&m?.(M.current))})(),()=>{e=!0,M.current&&(window.turnstile.remove(M.current),I.current=!1)}},[z,D,_]),(0,r.useImperativeHandle)(l,()=>{let{turnstile:e}=window;return{getResponse:()=>e?.getResponse&&M.current&&$()?e.getResponse(M.current):void console.warn("Turnstile has not been loaded"),getResponsePromise:async(e=3e4,t=100)=>new Promise((r,n)=>{let i,s=async()=>{if(I.current&&window.turnstile&&M.current)try{let e=window.turnstile.getResponse(M.current);return i&&clearTimeout(i),e?r(e):n(Error("No response received"))}catch(e){return i&&clearTimeout(i),console.warn("Failed to get response",e),n(Error("Failed to get response"))}i||=setTimeout(()=>{i&&clearTimeout(i),n(Error("Timeout"))},e),await new Promise(e=>setTimeout(e,t)),await s()};s()}),reset(){if(!e?.reset||!M.current||!$())return void console.warn("Turnstile has not been loaded");"execute"===d.execution&&T(s.invisible);try{I.current=!1,e.reset(M.current)}catch(e){console.warn(`Failed to reset Turnstile widget ${M.current}`,e)}},remove(){e?.remove&&M.current&&$()?(T(s.invisible),I.current=!1,e.remove(M.current),M.current=null):console.warn("Turnstile has not been loaded")},render(){if(!e?.render||!B.current||!$()||M.current)return void console.warn("Turnstile has not been loaded or container not found");let t=e.render(B.current,_);return M.current=t,M.current&&m?.(M.current),"execute"!==d.execution&&T(C?s[C]:{}),t},execute(){"execute"!==d.execution?console.warn('Execution mode is not set to "execute"'):e?.execute&&B.current&&M.current&&$()?(e.execute(B.current,_),T(C?s[C]:{})):console.warn("Turnstile has not been loaded or container not found")},isExpired:()=>e?.isExpired&&M.current&&$()?e.isExpired(M.current):(console.warn("Turnstile has not been loaded"),!1)}},[M,d.execution,C,_,B,$,D,m]),(0,r.useEffect)(()=>{if(D||!R)return;if(window.turnstile)return void L(!0);let e=setInterval(()=>{window.turnstile&&(L(!0),clearInterval(e))},50);return()=>{clearInterval(e)}},[D,R]),(0,r.useEffect)(()=>{T(F())},[d.execution,C,H]),(0,r.useEffect)(()=>{R&&"function"==typeof j&&j()},[R]),(0,t.jsx)(n,{ref:B,as:k,id:z,style:{...E,...y},...S})});d.displayName="Turnstile";let u=(0,r.forwardRef)(function({onToken:e,config:r},n){return r?r.turnstile_enabled?r.turnstile_site_key?(0,t.jsx)(d,{ref:n,siteKey:r.turnstile_site_key,onSuccess:e,onError:()=>e(""),onExpire:()=>e(""),options:{theme:"dark",size:"flexible",language:"en"}}):(0,t.jsxs)("p",{className:"text-xs text-[#FF453A]",children:["Human verification is not configured. The admin needs to set",(0,t.jsx)("code",{className:"mx-1",children:"turnstile_site_key"}),"in"," ",(0,t.jsx)("code",{children:"/admin/settings"}),"."]}):(0,t.jsx)("input",{type:"hidden","aria-label":"Turnstile disabled",ref:()=>e("dev-bypass")}):(0,t.jsx)("div",{className:"text-xs text-[#48484A]",children:"Loading security challenge…"})});e.s(["TurnstileGate",0,u,"usePublicConfig",0,function(){let[e,t]=(0,r.useState)(null),[n,i]=(0,r.useState)(!0),[s,a]=(0,r.useState)(null);return(0,r.useEffect)(()=>{fetch("https://api.sekrd.com/api/v1/public/config",{cache:"no-store"}).then(async e=>{if(!e.ok)throw Error(`HTTP ${e.status}`);return await e.json()}).then(t).catch(e=>a(e instanceof Error?e.message:"Failed to load config")).finally(()=>i(!1))},[]),{config:e,loading:n,error:s}}],58902)},19491,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(22016),i=e.i(26732),s=e.i(18566),a=e.i(3265),l=e.i(58902);let o=[{id:"google",name:"Google",bg:"bg-white text-black hover:bg-gray-100",icon:(0,t.jsxs)("svg",{viewBox:"0 0 24 24",width:"20",height:"20",children:[(0,t.jsx)("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z"}),(0,t.jsx)("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),(0,t.jsx)("path",{fill:"#FBBC05",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),(0,t.jsx)("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]})},{id:"github",name:"GitHub",bg:"bg-[#24292e] text-white hover:bg-[#2f363d]",icon:(0,t.jsx)("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"white",children:(0,t.jsx)("path",{d:"M12 2C6.477 2 2 6.477 2 12c0 4.42 2.865 8.17 6.839 9.49.5.092.682-.217.682-.482 0-.237-.008-.866-.013-1.7-2.782.604-3.369-1.34-3.369-1.34-.454-1.156-1.11-1.464-1.11-1.464-.908-.62.069-.608.069-.608 1.003.07 1.531 1.03 1.531 1.03.892 1.529 2.341 1.087 2.91.831.092-.646.35-1.086.636-1.336-2.22-.253-4.555-1.11-4.555-4.943 0-1.091.39-1.984 1.029-2.683-.103-.253-.446-1.27.098-2.647 0 0 .84-.269 2.75 1.025A9.578 9.578 0 0 1 12 6.836c.85.004 1.705.115 2.504.337 1.909-1.294 2.747-1.025 2.747-1.025.546 1.377.203 2.394.1 2.647.64.699 1.028 1.592 1.028 2.683 0 3.842-2.339 4.687-4.566 4.935.359.309.678.919.678 1.852 0 1.336-.012 2.415-.012 2.743 0 .267.18.578.688.48C19.138 20.167 22 16.418 22 12c0-5.523-4.477-10-10-10z"})})},{id:"gitlab",name:"GitLab",bg:"bg-[#FC6D26] text-white hover:bg-[#e05d20]",icon:(0,t.jsxs)("svg",{viewBox:"0 0 24 24",width:"20",height:"20",children:[(0,t.jsx)("path",{fill:"#fff",d:"m12 22.167-4.282-13.18H16.28z"}),(0,t.jsx)("path",{fill:"#ffffffcc",d:"M12 22.167 7.718 8.987H1.582z"}),(0,t.jsx)("path",{fill:"#ffffff99",d:"M1.582 8.987.105 13.53a1.01 1.01 0 0 0 .366 1.13L12 22.166z"}),(0,t.jsx)("path",{fill:"#ffffffcc",d:"M1.582 8.987h6.136L5.276 1.355a.506.506 0 0 0-.963 0z"}),(0,t.jsx)("path",{fill:"#ffffffcc",d:"M12 22.167 16.282 8.987H22.418z"}),(0,t.jsx)("path",{fill:"#ffffff99",d:"m22.418 8.987 1.477 4.543a1.01 1.01 0 0 1-.366 1.13L12 22.167z"}),(0,t.jsx)("path",{fill:"#ffffffcc",d:"M22.418 8.987h-6.136l2.442-7.632a.506.506 0 0 1 .963 0z"})]})}],c=new Set(["icloud.com","me.com","mac.com","apple.com"]),d={"gmial.com":"gmail.com","gmal.com":"gmail.com","gamil.com":"gmail.com","gnail.com":"gmail.com","gmaill.com":"gmail.com","gmail.co":"gmail.com","hotmal.com":"hotmail.com","hotmai.com":"hotmail.com","hotmil.com":"hotmail.com","hotmaill.com":"hotmail.com","yaho.com":"yaho
1o.com","yahooo.com":"yahoo.com","yhoo.com":"yahoo.com","yahoo.co":"yahoo.com","outlok.com":"outlook.com","outloock.com":"outlook.com","outloo.com":"outlook.com"};function u(){let e,[a,u]=(0,r.useState)(""),[m,x]=(0,r.useState)(!1),[h,f]=(0,r.useState)(""),[p,b]=(0,r.useState)(""),{config:g}=(0,l.usePublicConfig)(),[v,j]=(0,r.useState)(""),[w,y]=(0,r.useState)(0),k=g?.turnstile_enabled!==!1,N=(0,s.useSearchParams)(),A=N.get("callbackUrl")||"/dashboard",S="payment"===N.get("from"),C=N.get("email")||"",F=(0,s.useRouter)(),{status:E}=(0,i.useSession)();(0,r.useEffect)(()=>{C&&!a&&u(C)},[]),(0,r.useEffect)(()=>{"authenticated"===E&&F.replace(A)},[E,A,F]);let[T,B]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=navigator.userAgent;B(/Instagram|FBAN|FBAV|Line|MicroMessenger/i.test(e))},[]);let D=async e=>{if(e.preventDefault(),a){if(k&&!v)return void f("Please complete the human-verification challenge below.");x(!0),j(""),y(e=>e+1),await (0,i.signIn)("email",{email:a,callbackUrl:A},{cf_turnstile_token:v})}},L="true"===N.get("merged"),M=`/auth/signin/telegram${N.get("callbackUrl")?`?callbackUrl=${encodeURIComponent(N.get("callbackUrl")||"")}`:""}`;return(0,t.jsxs)("div",{className:"max-w-md mx-auto px-6 py-20",children:[(0,t.jsxs)("div",{className:"text-center mb-10",children:[(0,t.jsx)("h1",{className:"font-[var(--font-heading)] text-3xl font-bold mb-2",children:S?"Payment received":"Welcome back"}),(0,t.jsx)("p",{className:"text-[#86868B]",children:S?"Your account is ready. Click below to receive a one-time sign-in link.":"Sign in to your Sekrd account"})]}),S&&(0,t.jsxs)("div",{className:"mb-6 p-4 bg-[#30D158]/10 border border-[#30D158]/20 rounded-xl",children:[(0,t.jsx)("p",{className:"text-sm text-[#30D158] font-semibold",children:"Welcome to Sekrd"}),(0,t.jsx)("p",{className:"text-xs text-[#A1A1A6] mt-1",children:"Your account has been created with the email you used at checkout. We've also emailed you a sign-in link — or just send a fresh one from this form."})]}),L&&(0,t.jsxs)("div",{className:"mb-6 p-4 bg-[#30D158]/10 border border-[#30D158]/20 rounded-xl",children:[(0,t.jsx)("p",{className:"text-sm text-[#30D158] font-semibold",children:"Account linked!"}),(0,t.jsx)("p",{className:"text-xs text-[#A1A1A6] mt-1",children:"Your Telegram was linked to your existing account. Sign in to continue."})]}),T&&(0,t.jsxs)("div",{className:"mb-6 p-4 bg-[#FF9F0A]/10 border border-[#FF9F0A]/20 rounded-xl",children:[(0,t.jsx)("p",{className:"text-sm text-[#FF9F0A] font-semibold mb-2",children:"Use email sign-in"}),(0,t.jsx)("p",{className:"text-xs text-[#A1A1A6] mb-3",children:"Google/GitHub sign-in doesn't work in this browser. Use email magic link below."}),(0,t.jsx)("button",{type:"button",onClick:()=>{let e=window.location.href;navigator.clipboard?(navigator.clipboard.writeText(e),alert("Link copied! Paste it in Safari or Chrome.")):window.open(e,"_blank")},className:"text-xs text-[#30D158] hover:underline",children:"Open in external browser"})]}),(0,t.jsx)("div",{className:"space-y-3",children:o.map(e=>(0,t.jsxs)("button",{type:"button",onClick:()=>(0,i.signIn)(e.id,{callbackUrl:A}),disabled:T&&"google"===e.id,className:`flex items-center justify-center gap-3 w-full px-6 py-3.5 rounded-xl font-semibold transition-all text-sm ${e.bg} ${T&&"google"===e.id?"opacity-40 cursor-not-allowed":""}`,children:[e.icon,"Continue with ",e.name]},e.id))}),(0,t.jsxs)("div",{className:"relative my-8",children:[(0,t.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,t.jsx)("div",{className:"w-full border-t border-white/10"})}),(0,t.jsx)("div",{className:"relative flex justify-center text-xs",children:(0,t.jsx)("span",{className:"bg-black px-4 text-[#86868B]",children:"or sign in with email"})})]}),(0,t.jsxs)("form",{onSubmit:D,className:"space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("input",{type:"email",name:"email",autoComplete:"email",value:a,onChange:e=>{u(e.target.value),(h||p)&&(f(""),b(""))},onBlur:()=>{let{error:e,suggestion:t}=function(e){if(!e)return{error:"",suggestion:""};if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))return{error:"Please enter a valid email address",suggestion:""};let t=e.split("@")[1]?.toLowerCase();if(t&&d[t]){let r=e.replace(t,d[t]);return{error:"",suggestion:`Did you mean ${r}?`}}return{error:"",suggestion:""}}(a);f(e),b(t)},placeholder:"[email protected]",required:!0,className:`w-full px-4 py-3 bg-white/5 border rounded-xl text-[#F5F5F7] placeholder:text-[#86868B]/50 focus:outline-none transition-colors ${h?"border-[#FF453A] focus:border-[#FF453A]":"border-white/10 focus:border-[#30D158]"}`}),h&&(0,t.jsx)("p",{className:"text-xs text-[#FF453A] mt-2",children:h}),p&&(0,t.jsx)("button",{type:"button",onClick:()=>
1{if(!p)return;let e=p.match(/Did you mean (.+)\?/);e?.[1]&&(u(e[1]),b(""),f(""))},className:"text-xs text-[#30D158] hover:underline mt-2",children:p})]}),!!(e=a.split("@")[1]?.toLowerCase())&&c.has(e)&&(0,t.jsxs)("div",{className:"p-4 bg-[#FF9F0A]/10 border border-[#FF9F0A]/20 rounded-xl",children:[(0,t.jsx)("p",{className:"text-sm text-[#FF9F0A] font-semibold mb-2",children:"Apple Mail delivery may be delayed"}),(0,t.jsx)("p",{className:"text-xs text-[#A1A1A6] mb-2",children:"We're working on a delivery issue with iCloud, @me.com, and @mac.com. Magic-link emails to Apple addresses often arrive late or land in Junk. For instant sign-in, choose one of these:"}),(0,t.jsxs)("ul",{className:"text-xs text-[#A1A1A6] list-disc pl-5 space-y-1",children:[(0,t.jsxs)("li",{children:["Use ",(0,t.jsx)("strong",{children:"Continue with Google / GitHub / GitLab"})," above (one click)."]}),(0,t.jsx)("li",{children:"Use a different email (Gmail, Outlook, work email)."}),(0,t.jsxs)("li",{children:[(0,t.jsx)(n.default,{href:M,className:"text-[#2AABEE] hover:underline",children:"Sign in with Telegram"})," ","— if you have it."]})]}),(0,t.jsx)("p",{className:"text-xs text-[#86868B] mt-2",children:"You can still send a link to your Apple address — check Junk if it doesn't arrive within 2 minutes."})]}),(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(l.TurnstileGate,{onToken:j,config:g},w)}),(0,t.jsx)("button",{type:"submit",disabled:m||!a||k&&!v,className:"w-full px-6 py-3.5 bg-[#30D158] text-black font-bold rounded-xl hover:bg-[#28B84C] transition-all disabled:opacity-50 disabled:cursor-not-allowed",children:m?"Sending magic link…":"Send magic link"}),(0,t.jsx)("p",{className:"text-xs text-center text-[#86868B]",children:"No password needed. We'll email you a magic link."})]}),(0,t.jsx)("div",{className:"mt-6 text-center",children:(0,t.jsx)(n.default,{href:M,className:"text-xs text-[#2AABEE] hover:underline decoration-dotted underline-offset-4",children:"Prefer Telegram? Sign in with Telegram →"})}),(0,t.jsxs)("p",{className:"text-center text-sm text-[#86868B] mt-8",children:["By signing in, you agree to our"," ",(0,t.jsx)(n.default,{href:"/terms",className:"text-[#30D158] hover:underline",children:"Terms"})," ","and"," ",(0,t.jsx)(n.default,{href:"/privacy",className:"text-[#30D158] hover:underline",children:"Privacy Policy"}),"."]})]})}e.s(["default",0,function(){return(0,t.jsxs)("div",{className:"min-h-screen",children:[(0,t.jsx)(a.Navbar,{}),(0,t.jsx)("main",{children:(0,t.jsx)(r.Suspense,{fallback:(0,t.jsx)("div",{className:"min-h-screen flex items-center justify-center",children:"Loading..."}),children:(0,t.jsx)(u,{})})})]})}])}]);

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.