PageSourceSearch

https://kaopuapi.ai/static/js/async/4515.cdf08149c4.js

js kaopuapi.ai collected 2026-10-05 12:10:09 UTC 1,027 bytes, 1 lines download raw bytes

1"use strict";(self.rspackChunknewapi_web=self.rspackChunknewapi_web||[]).push([[4515],{64158(e,t,r){r.r(t),r.d(t,{component:()=>d});var a=r(72361),n=r(68413),s=r(82799),l=r(55724),i=r(6702),o=r(20598),c=r(45796),f=r(64710),u=r(40476);function d(){let{t:e}=(0,i.Bd)(),t=(0,s.Z)(),{chatPresets:r,serverAddress:d}=(0,f.w)(),p=(0,n.useMemo)(()=>r.find(e=>"web"===e.type),[r]),{data:h,error:m}=(0,c.f)(!!p);return(0,n.useEffect)(()=>{if(!p){r.length>0&&o.oR.error(e("No available Web chat links"));return}if(void 0===h&&!m)return;if(m||!h){let r=m instanceof Error?m.message:e("No enabled tokens available");o.oR.error(r),t({to:"/keys"});return}let a=(0,u.Kf)({template:p.url,apiKey:h,serverAddress:d});a&&(window.location.href=a)},[p,h,m,d,r.length,t,e]),(0,a.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-3",children:[(0,a.jsx)(l.A,{className:"text-muted-foreground h-8 w-8 animate-spin"}),(0,a.jsx)("p",{className:"text-muted-foreground text-sm",children:e("Redirecting to chat page...")})]})}}}]);

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.