PageSourceSearch

https://www.solclaw.ai/_next/static/chunks/356d2ba66ed0f5a6.js?dpl=dpl_Eidrt9cRDfRHH93kjw6h5tHniNiq

js solclaw.ai collected 2026-10-05 14:15:12 UTC 7,197 bytes, 2 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,26732,e=>{"use strict";var t=e.i(47167),n=e.i(18050),s=e.i(71645);class r extends Error{constructor(e,t){e instanceof Error?super(void 0,{cause:{err:e,...e.cause,...t}}):"string"==typeof e?(t instanceof Error&&(t={err:t,...t.cause}),super(e,t)):super(void 0,e),this.name=this.constructor.name,this.type=this.constructor.type??"AuthError",this.kind=this.constructor.kind??"error",Error.captureStackTrace?.(this,this.constructor);const n=`https://errors.authjs.dev#${this.type.toLowerCase()}`;this.message+=`${this.message?". ":""}Read more at ${n}`}}class o extends r{}class a extends r{}async function i(e,t,n,s={}){let r=`${l(t)}/${e}`;try{let e={headers:{"Content-Type":"application/json",...s?.headers?.cookie?{cookie:s.headers.cookie}:{}}};s?.body&&(e.body=JSON.stringify(s.body),e.method="POST");let t=await fetch(r,e),n=await t.json();if(!t.ok)throw n;return n}catch(e){return n.error(new o(e.message,e)),null}}function l(e){return"u"<typeof window?`${e.baseUrlServer}${e.basePathServer}`:e.basePath}function c(){return Math.floor(Date.now()/1e3)}function u(e){let t=new URL("http://localhost:3000/api/auth");e&&!e.startsWith("http")&&(e=`https://${e}`);let n=new URL(e||t),s=("/"===n.pathname?t.pathname:n.pathname).replace(/\/$/,""),r=`${n.origin}${s}`;return{origin:n.origin,host:n.host,path:s,base:r,toString:()=>r}}let d={baseUrl:u(t.default.env.NEXTAUTH_URL??t.default.env.VERCEL_URL).origin,basePath:u(t.default.env.NEXTAUTH_URL).path,baseUrlServer:u(t.default.env.NEXTAUTH_URL_INTERNAL??t.default.env.NEXTAUTH_URL??t.default.env.VERCEL_URL).origin,basePathServer:u(t.default.env.NEXTAUTH_URL_INTERNAL??t.default.env.NEXTAUTH_URL).path,_lastSync:0,_session:void 0,_getSession:()=>{}},h=null;function f(){return"u"<typeof BroadcastChannel?{postMessage:()=>{},addEventListener:()=>{},removeEventListener:()=>{},name:"next-auth",onmessage:null,onmessageerror:null,close:()=>{},dispatchEvent:()=>!1}:new BroadcastChannel("next-auth")}function w(){return null===h&&(h=f()),h}let v={debug:console.debug,error:console.error,warn:console.warn},g=s.createContext?.(void 0);function p(e){if(!g)throw Error("React Context is unavailable in Server Components");let t=s.useContext(g),{required:n,onUnauthenticated:r}=e??{},o=n&&"unauthenticated"===t.status;return(s.useEffect(()=>{if(o){let e=`${d.basePath}/signin?${new URLSearchParams({error:"SessionRequired",callbackUrl:window.location.href})}`;r?r():window.location.href=e}},[o,r]),o)?{data:t.data,update:t.update,status:"loading"}:t}async function b(e){let t=await i("session",d,v,e);return(e?.broadcast??!0)&&f().postMessage({event:"session",data:{trigger:"getSession"}}),t}async function m(){let e=await i("csrf",d,v);return e?.csrfToken??""}async function y(){return i("providers",d,v)}async function S(e,t,n){let{callbackUrl:s,...r}=t??{},{redirect:o=!0,redirectTo:a=s??window.location.href,...i}=r,c=l(d),u=await y();if(!u){let e=`${c}/error`;window.location.href=e;return}if(!e||!u[e]){let e=`${c}/signin?${new URLSearchParams({callbackUrl:a})}`;window.location.href=e;return}let h=u[e].type;if("webauthn"===h)throw TypeError(`Provider id "${e}" refers to a WebAuthn provider.
2Please use \`import { signIn } from "next-auth/webauthn"\` instead.`);let f=`${c}/${"credentials"===h?"callback":"signin"}/${e}`,w=await m(),v=await fetch(`${f}?${new URLSearchParams(n)}`,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded","X-Auth-Return-Redirect":"1"},body:new URLSearchParams({...i,csrfToken:w,callbackUrl:a})}),g=await v.json();if(o){let e=g.url??a;window.location.href=e,e.includes("#")&&window.location.reload();return}let p=new URL(g.url).searchParams.get("error")??void 0,b=new URL(g.url).searchParams.get("code")??void 0;return v.ok&&await d._getSession({event:"storage"}),{error:p,code:b,status:v.status,ok:v.ok,url:p?null:g.url}}async function E(e){let{redirect:t=!0,redirectTo:n=e?.callbackUrl??window.location.href}=e??{},s=l(d),r=await m(),o=await fetch(`${s}/signout`,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded","X-Auth-Return-Redirect":"1"},body:new URLSearchParams({csrfToken:r,callbackUrl:n})}),a=await o.json();if(w().postMessage({event:"session",data:{trigger:"signout"}}),t){let e=a.url??n;window.location.href=e,e.includes("#")&&window.location.reload();return}return await d._getSession({event:"storage"}),a}function _(e){if(!g)throw Error("React Context is unavailable in Server Components");let{children:t,basePath:r,refetchInterval:o,refetchWhenOffline:l}=e;r&&(d.basePath=r);let u=void 0!==e.session;d._lastSync=u?c():0;let[h,f]=s.useState(()=>(u&&(d._session=e.session),e.session)),[p,y]=s.useState(!u);s.useEffect(()=>(d._getSession=async({event:e}={})=>{try{let t="storage"===e;if(t||void 0===d._session){d._lastSync=c(),d._session=await b({broadcast:!t}),f(d._session);return}if(!e||null===d._session||c()<d._lastSync)return;d._lastSync=c(),d._session=await b(),f(d._session)}catch(e){v.error(new a(e.message,e))}finally{y(!1)}},d._getSession(),()=>{d._lastSync=0,d._session=void 0,d._getSession=()=>{}}),[]),s.useEffect(()=>{let e=()=>d._getSession({event:"storage"});return w().addEventListener("message",e),()=>w().removeEventListener("message",e)},[]),s.useEffect(()=>{let{refetchOnWindowFocus:t=!0}=e,n=()=>{t&&"visible"===document.visibilityState&&d._getSession({event:"visibilitychange"})};return document.addEventListener("visibilitychange",n,!1),()=>document.removeEventListener("visibilitychange",n,!1)},[e.refetchOnWindowFocus]);let S=function(){let[e,t]=s.useState("u">typeof navigator&&navigator.onLine),n=()=>t(!0),r=()=>t(!1);return s.useEffect(()=>(window.addEventListener("online",n),window.addEventListener("offline",r),
2()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}),[]),e}(),E=!1!==l||S;s.useEffect(()=>{if(o&&E){let e=setInterval(()=>{d._session&&d._getSession({event:"poll"})},1e3*o);return()=>clearInterval(e)}},[o,E]);let _=s.useMemo(()=>({data:h,status:p?"loading":h?"authenticated":"unauthenticated",async update(e){if(p)return;y(!0);let t=await i("session",d,v,void 0===e?void 0:{body:{csrfToken:await m(),data:e}});return y(!1),t&&(f(t),w().postMessage({event:"session",data:{trigger:"getSession"}})),t}}),[h,p]);return(0,n.jsx)(g.Provider,{value:_,children:t})}e.s(["SessionProvider",()=>_,"signIn",()=>S,"signOut",()=>E,"useSession",()=>p],26732)},72642,e=>{"use strict";var t=e.i(18050);function n(){return(0,t.jsxs)("div",{className:"pointer-events-none fixed inset-0 z-0 overflow-hidden",children:[(0,t.jsx)("div",{className:"orb orb-1 absolute -top-[15%] -left-[5%] h-[600px] w-[600px] rounded-full bg-[#9945FF] opacity-[0.08]"}),(0,t.jsx)("div",{className:"orb orb-3 absolute top-[45%] -right-[8%] h-[500px] w-[500px] rounded-full bg-[#9945FF] opacity-[0.06]"}),(0,t.jsx)("div",{className:"orb orb-5 absolute top-[75%] left-[20%] h-[400px] w-[400px] rounded-full bg-[#9945FF] opacity-[0.05]"})]})}e.s(["Orbs",()=>n])},44636,e=>{"use strict";var t=e.i(18050),n=e.i(26732);function s({children:e}){return(0,t.jsx)(n.SessionProvider,{children:e})}e.s(["Providers",()=>s])}]);

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.