PageSourceSearch

https://xyc.ai/static/js/async/8680.af505f36c0.js

js xyc.ai collected 2026-10-05 14:41:06 UTC 20,557 bytes, 1 lines download raw bytes

1"use strict";(self.rspackChunknewapi_web=self.rspackChunknewapi_web||[]).push([[8680],{76614(e,t,i){i.d(t,{X:()=>r});var n=i(72361),a=i(68413);function r(e){let{siteKey:t,onVerify:i,onExpire:r,className:l}=e,o=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=()=>{if(o.current&&window.turnstile)try{window.turnstile.render(o.current,{sitekey:t,callback:e=>i(e),"error-callback":()=>r?.(),"expired-callback":()=>r?.()})}catch{}};if(window.turnstile)return void e();let n="cf-turnstile";if(document.getElementById(n))return;let a=document.createElement("script");a.id=n,a.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",a.async=!0,a.defer=!0,a.onload=()=>e(),document.head.appendChild(a)},[t,i,r]),(0,n.jsx)("div",{ref:o,className:l})}},23507(e,t,i){i.d(t,{rM:()=>l});var n=i(6702);let a={common:{emailLabel:"邮箱",emailPlaceholder:"[email protected]",invalidEmail:"请输入有效的邮箱地址",continueFailed:"暂时无法继续,请稍后重试",changeEmail:"更换邮箱",googleLabel:"使用 Google 一键登录",googleLabelSignUp:"使用 Google 一键注册",githubLabel:"使用 GitHub 一键登录",githubLabelSignUp:"使用 GitHub 一键注册",orUseEmail:"或使用邮箱",termsPrefixSignIn:"登录即同意",termsPrefixSignUp:"注册即同意",termsAnd:"与",privacyPolicy:"隐私政策",userAgreement:"用户协议"},signIn:{title:"登录",description:"一个账号接入全球 AI 模型、尊享最低折扣",continueLabel:"获取验证码",classicLabel:"使用密码登录",passwordTitle:"欢迎回来",passwordDescription:"输入该邮箱对应的密码以继续登录。",changeEmail:"更换登录邮箱",backToModernLabel:"返回邮箱优先登录",firstTimePrompt:"第一次使用 XycAi?",createAccountLabel:"创建账户",codeTitle:"输入验证码",codeDescription:"验证码已发送至 {email},输入后即可登录。",codeLabel:"邮箱验证码",codeSent:"验证码已发送,请查收邮箱",verifyLabel:"登录",resendLabel:"重新发送",resendCountdown:"{seconds}s 后可重发",usePasswordLabel:"使用密码登录",loginSuccess:"欢迎回来!"},signUp:{title:"创建 XycAi 账户",description:"一个账号接入全球 AI 模型、尊享最低折扣",continueLabel:"获取验证码",classicLabel:"使用传统注册",detailsTitle:"完善账户信息",detailsDescription:"验证邮箱并设置密码,用户名已为你自动生成。",changeEmail:"更换注册邮箱",backToModernLabel:"返回邮箱优先注册",generatedUsernameHint:"已根据邮箱自动生成,可直接使用或修改。",invitationCodeLabel:"邀请码(选填)",invitationCodePlaceholder:"好友的邀请码",existingAccountPrompt:"已经有账户?",signInLabel:"登录",codeTitle:"验证邮箱",codeDescription:"验证码已发送至 {email},输入后即完成注册并登录。",codeLabel:"邮箱验证码",codeSent:"验证码已发送,请查收邮箱",completeLabel:"完成注册",resendLabel:"重新发送",resendCountdown:"{seconds}s 后可重发",autoAccountHint:"用户名将自动生成;之后可直接用邮箱验证码登录,也可在个人设置中修改密码。",registerSuccess:"注册成功,欢迎加入!"}},r={common:{emailLabel:"Email",emailPlaceholder:"[email protected]",invalidEmail:"Enter a valid email address",continueFailed:"Unable to continue. Please try again.",changeEmail:"Change email",googleLabel:"Sign in with Google",googleLabelSignUp:"Sign up with Google",githubLabel:"Sign in with GitHub",githubLabelSignUp:"Sign up with GitHub",orUseEmail:"or use email",termsPrefixSignIn:"By signing in, you agree to our",termsPrefixSignUp:"By signing up, you agree to our",termsAnd:"and",privacyPolicy:"Privacy Policy",userAgreement:"User Agreement"},signIn:{title:"Sign in",description:"One account for global AI models, with the best discounts.",continueLabel:"Send code",classicLabel:"Sign in with password",passwordTitle:"Welcome back",passwordDescription:"Enter the password associated with this email.",changeEmail:"Change sign-in email",backToModernLabel:"Back to email-first sign-in",firstTimePrompt:"First time using XycAi?",createAccountLabel:"Create an account",codeTitle:"Enter the code",codeDescription:"We sent a verification code to {email}. Enter it to sign in.",codeLabel:"Email verification code",codeSent:"Code sent. Check your inbox.",verifyLabel:"Sign in",resendLabel:"Resend code",resendCountdown:"Resend in {seconds}s",usePasswordLabel:"Sign in with password",loginSuccess:"Welcome back!"},signUp:{title:"Create your XycAi account",description:"One account for global AI models, with the best discounts.",continueLabel:"Send code",classicLabel:"Use traditional registration",detailsTitle:"Complete your account",detailsDescription:"Verify your email and set a password. Your username is ready.",changeEmail:"Change registration email",backToModernLabel:"Back to email-first registration",generatedUsernameHint:"Generated from your email. Keep it or choose another username.",invitationCodeLabel:"Invitation code (optional)",invitationCodePlaceholder:"Your friend's invitation code",existingAccountPrompt:"Already have an account?",signInLabel:"Sign in",codeTitle:"Verify your email",codeDescription:"We sent a verification code to {email}. Enter it to finish signing up.",codeLabel:"Email verification code",codeSent:"Code sent. Check your inbox.",completeLabel:"Create account",resendLabel:"Resend code",resendCountdown:"Resend in {seconds}s",autoAccountHint:"Your username is generated automatically. Sign in with email codes anytime, or set a password later in settings.",registerSuccess:"Account created — welcome aboard!"}};function l(){var e;let{i18n:t}=(0,n.Bd)();return e=t.resolvedLanguage??t.language,e?.toLowerCase().startsWith("zh")?a:r}},91835(e,t,i){i.d(t,{L:()=>b,l:()=>x});var n=i(72361),a=i(68413),r=i(25732),l=i(61631),o=i(81204),s=i(46775),c=i(23780),d=i(
154023),u=i(61309),m=i(34126),h=i(23507),g=i(46499),p=i(88330);let f=r.Yj().email().max(50);function b(e){let{title:t,description:i,extraContent:r,initialEmail:s="",onContinue:m,secondaryActions:b,submitLabel:x,className:w,autoFocus:y=!0}=e,v=(0,h.rM)(),_=(0,a.useId)(),j=`${_}-error`,[C,L]=(0,a.useState)(()=>(0,p.vh)(s)),[k,S]=(0,a.useState)(""),[N,E]=(0,a.useState)(!1);async function P(e){e.preventDefault();let t=(0,p.vh)(C);if(!f.safeParse(t).success)return void S(v.common.invalidEmail);S(""),L(t),E(!0);try{await m(t)}catch{S(v.common.continueFailed)}finally{E(!1)}}return(0,n.jsxs)("div",{className:(0,o.cn)("space-y-6",w),children:[(0,n.jsxs)("div",{className:"space-y-1.5",children:[(0,n.jsx)("h2",{className:"text-xl font-semibold tracking-tight",children:t}),i?(0,n.jsx)("p",{className:"text-muted-foreground text-sm leading-relaxed",children:i}):null]}),r,(0,n.jsxs)("form",{className:"grid gap-4",onSubmit:P,noValidate:!0,children:[(0,n.jsxs)("div",{className:"grid gap-2",children:[(0,n.jsx)(u.J,{htmlFor:_,children:v.common.emailLabel}),(0,n.jsx)(g.C,{icon:(0,n.jsx)(l.gE4,{}),children:(0,n.jsx)(d.p,{id:_,type:"email",inputMode:"email",autoComplete:"email",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,autoFocus:y,value:C,placeholder:v.common.emailPlaceholder,"aria-invalid":!!k,"aria-describedby":k?j:void 0,onChange:e=>{L(e.target.value),k&&S("")}})}),k?(0,n.jsx)("p",{id:j,role:"alert",className:"text-destructive text-sm",children:k}):null]}),(0,n.jsx)(c.o,{type:"submit",size:"lg",loading:N,className:"w-full justify-center",children:x??v.signIn.continueLabel})]}),b?(0,n.jsx)("div",{className:"flex flex-wrap items-center justify-center gap-x-3 gap-y-2 text-sm",children:b}):null]})}function x(e){let{email:t,onChange:i,changeLabel:a,className:r}=e,c=(0,h.rM)(),d=a??c.common.changeEmail,u=(0,p.vh)(t);return(0,n.jsxs)("div",{className:(0,o.cn)("border-border bg-background-secondary flex min-w-0 items-center gap-2 rounded-lg border px-3 py-2",r),children:[(0,n.jsx)(l.gE4,{className:"text-muted-foreground size-4 shrink-0","aria-hidden":!0}),(0,n.jsx)("span",{className:"min-w-0 flex-1 truncate text-sm",title:u,children:u}),(0,n.jsxs)(m.m_,{children:[(0,n.jsx)(m.k$,{render:(0,n.jsx)(s.$,{type:"button",variant:"ghost",size:"icon-sm",className:"shrink-0",onClick:i,"aria-label":d}),children:(0,n.jsx)(l._TO,{"aria-hidden":!0})}),(0,n.jsx)(m.ZI,{children:d})]})]})}},46499(e,t,i){i.d(t,{C:()=>a});var n=i(72361);function a(e){let{icon:t,children:i}=e;return(0,n.jsxs)("div",{className:"auth-icon-field",children:[(0,n.jsx)("span",{className:"auth-icon-field-icon",children:t}),i]})}},13805(e,t,i){i.d(t,{G:()=>s});var n=i(72361),a=i(6702),r=i(81204),l=i(33120),o=i(61309);function s(e){let{status:t,checked:i,onCheckedChange:s,className:c}=e,{t:d}=(0,a.Bd)(),u=[t?.user_agreement_enabled&&{href:"/user-agreement",label:d("User Agreement")},t?.privacy_policy_enabled&&{href:"/privacy-policy",label:d("Privacy Policy")}].filter(Boolean);return 0===u.length?null:(0,n.jsxs)("div",{className:(0,r.cn)("flex items-start gap-2",c),children:[(0,n.jsx)(l.S,{id:"legal-consent",checked:i,onCheckedChange:e=>{s(!0===e)},className:"mt-0.5 size-3.5"}),(0,n.jsx)(o.J,{htmlFor:"legal-consent",className:"text-muted-foreground items-start gap-1 text-left text-xs leading-5 font-normal",children:(0,n.jsxs)("span",{children:[d("I have read and agree to the")," ",u.map((e,t)=>(0,n.jsxs)("span",{children:[t>0&&(t===u.length-1?` ${d("and")} `:"、"),(0,n.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"text-foreground underline underline-offset-2 hover:no-underline",children:e.label})]},e.href)),"。"]})})]})}},64096(e,t,i){i.d(t,{X:()=>h});var n=i(72361),a=i(81204),r=i(23507),l=i(22415),o=i(46775),s=i(23029);function c(e){let t=e?.custom_oauth_providers;if(!t?.length)return;let i=t.find(e=>"github"===e.slug);return i||t.find(e=>e.slug?.toLowerCase().includes("github")||e.name?.toLowerCase().includes("github"))}function d(e){let{status:t,variant:i="sign-in",className:d}=e,u=(0,r.rM)(),{isLoading:m,handleCustomOAuthLogin:h}=(0,s.U)(t),g=c(t);if(!g)return null;let p="sign-up"===i?u.common.githubLabelSignUp:u.common.githubLabel;return(0,n.jsxs)(o.$,{type:"button",variant:"outline",size:"lg",disabled:m,onClick:()=>h(g),className:(0,a.cn)("h-11 w-full justify-center gap-2.5 rounded-lg text-sm font-medium",d),children:[(0,n.jsx)(l.Zx,{className:"size-4.5"}),p]})}function u(e){let{className:t}=e;return(0,n.jsxs)("svg",{viewBox:"0 0 24 24",className:t,"aria-hidden":"true",children:[(0,n.jsx)("path",{fill:"#4285F4",d:"M23.49 12.27c0-.79-.07-1.54-.19-2.27H12v4.51h6.47c-.29 1.48-1.14 2.73-2.4 3.58v3h3.86c2.26-2.09 3.56-5.17 3.56-8.82z"}),(0,n.jsx)("path",{fill:"#34A853",d:"M12 24c3.24 0 5.95-1.08 7.93-2.91l
1-3.86-3c-1.08.72-2.45 1.16-4.07 1.16-3.13 0-5.78-2.11-6.73-4.96H1.29v3.09C3.26 21.3 7.31 24 12 24z"}),(0,n.jsx)("path",{fill:"#FBBC05",d:"M5.27 14.29c-.25-.72-.38-1.49-.38-2.29s.14-1.57.38-2.29V6.62H1.29C.47 8.24 0 10.06 0 12s.47 3.76 1.29 5.38l3.98-3.09z"}),(0,n.jsx)("path",{fill:"#EA4335",d:"M12 4.75c1.77 0 3.35.61 4.6 1.8l3.42-3.42C17.95 1.19 15.24 0 12 0 7.31 0 3.26 2.7 1.29 6.62l3.98 3.09C6.22 6.86 8.87 4.75 12 4.75z"})]})}function m(e){let{status:t,variant:i="sign-in",className:l}=e,c=(0,r.rM)(),{isLoading:d,handleCustomOAuthLogin:m}=(0,s.U)(t),h=t?.custom_oauth_providers?.find(e=>"google"===e.slug);if(!h)return null;let g="sign-up"===i?c.common.googleLabelSignUp:c.common.googleLabel;return(0,n.jsxs)(o.$,{type:"button",variant:"outline",size:"lg",disabled:d,onClick:()=>m(h),className:(0,a.cn)("h-11 w-full justify-center gap-2.5 rounded-lg text-sm font-medium",l),children:[(0,n.jsx)(u,{className:"size-4.5"}),g]})}function h(e){let{status:t,variant:i="sign-in",className:l}=e,o=(0,r.rM)(),s=t?.custom_oauth_providers?.some(e=>"google"===e.slug),u=!!c(t);return s||u?(0,n.jsxs)("div",{className:(0,a.cn)("space-y-5",l),children:[(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)(m,{status:t,variant:i}),(0,n.jsx)(d,{status:t,variant:i})]}),(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,n.jsx)("span",{className:"border-border w-full border-t"})}),(0,n.jsx)("div",{className:"relative flex justify-center text-xs",children:(0,n.jsx)("span",{className:"bg-background text-muted-foreground px-2",children:o.common.orUseEmail})})]})]}):null}},80211(e,t,i){i.d(t,{m:()=>c});var n=i(72361),a=i(6702),r=i(22415),l=i(81204),o=i(46775),s=i(23029);function c(e){let{status:t,disabled:i=!1,className:c,onWeChatLogin:d,isWeChatLoading:u=!1}=e,{t:m}=(0,a.Bd)(),{isLoading:h,githubButtonText:g,githubButtonDisabled:p,handleGitHubLogin:f,handleDiscordLogin:b,handleOIDCLogin:x,handleLinuxDOLogin:w,handleTelegramLogin:y,handleCustomOAuthLogin:v}=(0,s.U)(t),_=[];t?.wechat_login&&d&&_.push({key:"wechat",label:m("WeChat"),onClick:d,icon:(0,n.jsx)(r.Cb,{className:"h-4 w-4"}),disabled:u}),t?.github_oauth&&_.push({key:"github",label:g||"GitHub",onClick:f,icon:(0,n.jsx)(r.Zx,{className:"h-4 w-4"}),disabled:p}),t?.discord_oauth&&_.push({key:"discord",label:"Discord",onClick:b,icon:(0,n.jsx)(r.us,{className:"h-4 w-4"})}),t?.oidc_enabled&&_.push({key:"oidc",label:"OIDC",onClick:x}),t?.linuxdo_oauth&&_.push({key:"linuxdo",label:"LinuxDO",onClick:w,icon:(0,n.jsx)(r.Zf,{className:"h-4 w-4"})}),t?.telegram_oauth&&_.push({key:"telegram",label:"Telegram",onClick:y});let j=t?.custom_oauth_providers;if(j&&j.length>0)for(let e of j)_.push({key:`custom-${e.slug}`,label:e.name,onClick:()=>v(e)});return 0===_.length?null:(0,n.jsxs)("div",{className:(0,l.cn)("space-y-3",c),children:[(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,n.jsx)("span",{className:"border-border w-full border-t border-dashed"})}),(0,n.jsx)("div",{className:"relative flex justify-center text-xs",children:(0,n.jsx)("span",{className:"bg-background text-muted-foreground px-2",children:m("or")})})]}),(0,n.jsx)("div",{className:"flex gap-3",children:_.map(e=>{let{key:t,label:a,onClick:r,icon:l,disabled:s}=e;return(0,n.jsx)(o.$,{variant:"outline",type:"button",size:"lg",disabled:i||h||s,onClick:r,"aria-label":a,title:a,className:"h-10 min-w-0 flex-1 justify-center rounded-lg",children:l??(0,n.jsx)("span",{className:"truncate text-xs font-medium",children:a})},t)})})]})}},72964(e,t,i){i.d(t,{N:()=>l});var n=i(72361),a=i(81204),r=i(23507);function l(e){let{variant:t="sign-in",className:i}=e,l=(0,r.rM)(),o="sign-in"===t?l.common.termsPrefixSignIn:l.common.termsPrefixSignUp,s="hover:text-primary underline underline-offset-4";return(0,n.jsx)("div",{className:(0,a.cn)("text-muted-foreground space-y-1 text-center text-xs",i),children:(0,n.jsxs)("p",{children:[o," ",(0,n.jsx)("a",{href:"/privacy-policy",className:s,children:l.common.privacyPolicy})," ",l.common.termsAnd," ",(0,n.jsx)("a",{href:"/user-agreement",className:s,children:l.common.userAgreement})]})})}},23029(e,t,i){i.d(t,{U:()=>g});var n=i(68413),a=i(6702),r=i(20598),l=i(20032),o=i(64577),s=i(16272),c=i(99902);let d="xyc.ai";function u(){let e=window.location.hostname;return e===d||e===`www.${d}`}function m(e){if(u())return!1;let t=new URL(`https://${d}${window.location.pathname}${window.location.search}`);return t.searchParams.set("oauth_login",e),window.location.href=t.toString(),!0}let h=!1;function g(e){let{t}
1=(0,a.Bd)(),[i,d]=(0,n.useState)(!1),[g,p]=(0,n.useState)(""),[f,b]=(0,n.useState)(!1),x=(0,n.useRef)(null),{auth:w}=(0,l.n)();(0,n.useEffect)(()=>(p(t("Continue with GitHub")),()=>{x.current&&clearTimeout(x.current)}),[t]);let y=async()=>{try{w.reset()}catch(e){}try{await o.FH.get("/api/user/logout",{skipErrorHandler:!0})}catch(e){}},v=async()=>{if(e?.github_client_id&&!f&&!m("github")){d(!0),b(!0),p(t("Redirecting to GitHub...")),x.current&&clearTimeout(x.current),x.current=setTimeout(()=>{d(!1),p(t("Request timed out, please refresh and restart GitHub login")),b(!0)},2e4);try{await y();let i=await (0,s.Vd)();if(!i){r.oR.error(t("Failed to initialize OAuth")),x.current&&clearTimeout(x.current),d(!1),p(t("Continue with GitHub")),b(!1);return}let n=(0,c.e_)(e.github_client_id,i);window.open(n,"_self")}catch(e){r.oR.error(t("Failed to start GitHub login")),x.current&&clearTimeout(x.current),d(!1),p(t("Continue with GitHub")),b(!1)}}},_=async()=>{if(e?.discord_client_id&&!m("discord")){d(!0);try{await y();let i=await (0,s.Vd)();if(!i)return void r.oR.error(t("Failed to initialize OAuth"));let n=(0,c.Nc)(e.discord_client_id,i);window.open(n,"_self")}catch(e){r.oR.error(t("Failed to start Discord login"))}finally{d(!1)}}},j=async()=>{if(e?.oidc_authorization_endpoint&&e?.oidc_client_id&&!m("oidc")){d(!0);try{await y();let i=await (0,s.Vd)();if(!i)return void r.oR.error(t("Failed to initialize OAuth"));let n=(0,c.km)(e.oidc_authorization_endpoint,e.oidc_client_id,i);window.open(n,"_self")}catch(e){r.oR.error(t("Failed to start OIDC login"))}finally{d(!1)}}},C=async()=>{if(e?.linuxdo_client_id&&!m("linuxdo")){d(!0);try{await y();let i=await (0,s.Vd)();if(!i)return void r.oR.error(t("Failed to initialize OAuth"));let n=(0,c.yp)(e.linuxdo_client_id,i);window.open(n,"_self")}catch(e){r.oR.error(t("Failed to start LinuxDO login"))}finally{d(!1)}}},L=async e=>{if(e.authorization_endpoint&&e.client_id&&!m(e.slug)){d(!0);try{await y();let i=await (0,s.Vd)();if(!i)return void r.oR.error(t("Failed to initialize OAuth"));let n=`${window.location.origin}/oauth/${e.slug}`,a=new URL(e.authorization_endpoint);a.searchParams.set("client_id",e.client_id),a.searchParams.set("redirect_uri",n),a.searchParams.set("response_type","code"),a.searchParams.set("state",i),e.scopes&&a.searchParams.set("scope",e.scopes),window.open(a.toString(),"_self")}catch(i){r.oR.error(t("Failed to start {{provider}} login",{provider:e.name}))}finally{d(!1)}}};return(0,n.useEffect)(()=>{if(h||!e||!u())return;let t=new URLSearchParams(window.location.search),i=t.get("oauth_login");if(!i)return;h=!0,t.delete("oauth_login");let n=window.location.pathname+(t.toString()?`?${t.toString()}`:"");window.history.replaceState({},"",n);let a=e.custom_oauth_providers?.find(e=>e.slug===i);a?L(a):"github"===i?v():"discord"===i?_():"oidc"===i?j():"linuxdo"===i&&C()},[e]),{isLoading:i,githubButtonText:g,githubButtonDisabled:f,handleGitHubLogin:v,handleDiscordLogin:_,handleOIDCLogin:j,handleLinuxDOLogin:C,handleTelegramLogin:()=>{r.oR.info(t("Telegram login requires widget integration; coming soon"))},handleCustomOAuthLogin:L}}},35491(e,t,i){i.d(t,{E:()=>s});var n=i(68413),a=i(19376),r=i(20598),l=i(30464);let o="tcaptcha-js";function s(){let{status:e}=(0,l.s)(),t=!!(e?.tencent_captcha_enabled&&e?.tencent_captcha_app_id),i=e?.tencent_captcha_app_id||"",s=(0,n.useCallback)(async()=>{if(!t)return"disabled";try{await new Promise((e,t)=>{if(window.TencentCaptcha)return void e();let i=document.getElementById(o);if(i){i.addEventListener("load",()=>e()),i.addEventListener("error",()=>t(Error("load failed")));return}let n=document.createElement("script");n.id=o,n.src="https://turing.captcha.qcloud.com/TCaptcha.js",n.async=!0,n.onload=()=>e(),n.onerror=()=>t(Error("load failed")),document.head.appendChild(n)})}catch{return r.oR.error(a.Ay.t("Captcha failed to load, please refresh and retry")),null}return new Promise(e=>{try{new window.TencentCaptcha(i,t=>{0===t.ret&&t.ticket&&t.randstr?e({ticket:t.ticket,randstr:t.randstr}):e(null)},{}).show()}catch{r.oR.error(a.Ay.t("Captcha failed to load, please refresh and retry")),e(null)}})},[t,i]);return{isTencentCaptchaEnabled:t,verify:s}}},23973(e,t,i){i.d(t,{A:()=>
1o});var n=i(68413),a=i(19376),r=i(20598),l=i(30464);function o(){let{status:e}=(0,l.s)(),[t,i]=(0,n.useState)(""),o=!!(e?.turnstile_check&&e?.turnstile_site_key);return{isTurnstileEnabled:o,turnstileSiteKey:e?.turnstile_site_key||"",turnstileToken:t,setTurnstileToken:i,validateTurnstile:()=>!o||!!t||(r.oR.info(a.Ay.t("Please wait a moment, human check is initializing...")),!1)}}},88330(e,t,i){i.d(t,{PI:()=>o,SW:()=>r,vh:()=>a,zx:()=>l});let n="xycai.auth.pending-email";function a(e){return e.trim()}function r(){if("u"<typeof window)return null;try{return a(window.sessionStorage.getItem(n)??"")||null}catch{return null}}function l(e){let t=a(e);if("u"<typeof window)return t;try{t?window.sessionStorage.setItem(n,t):window.sessionStorage.removeItem(n)}catch{}return t}function o(){if("u">typeof window)try{window.sessionStorage.removeItem(n)}catch{}}},99170(e,t,i){i.d(t,{H:()=>r});var n=i(68413),a=i(38610);function r(e){let{systemName:t}=(0,a.R)();(0,n.useEffect)(()=>{let i=document.title;return document.title=t?`${e} - ${t}`:e,()=>{document.title=i}},[e,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.