PageSourceSearch

https://sstac-dashboard.vercel.app/_next/static/chunks/app/(auth)/…?dpl=dpl_2V8HMSwcTBFwg5g8pCgV2b166cyc

js sstac-dashboard.vercel.app collected 2026-10-03 07:47:49 UTC 6,913 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6d94408b-6a14-4067-8e05-94f03cd001b2",e._sentryDebugIdIdentifier="sentry-dbid-6d94408b-6a14-4067-8e05-94f03cd001b2")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[72],{1760:e=>{function t(e){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=1760,e.exports=t},14423:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>c});var r=s(95155),a=s(12115),d=s(20063),l=s(96648),n=s(52619),i=s.n(n);let o=()=>{let e=(0,d.useRouter)(),t=(0,d.useSearchParams)(),s=(0,l.U)(),[n,o]=(0,a.useState)(""),[c,u]=(0,a.useState)(""),[h,m]=(0,a.useState)(null),[x,b]=(0,a.useState)(!1),[f,k]=(0,a.useState)(!1);(0,a.useEffect)(()=>{k(!0)},[]);let p=function(e){let t="/dashboard";if(!e||!e.startsWith("/")||e.startsWith("//")||e.includes("\\"))return t;try{let s="http://sstac.invalid",r=new URL(e,s);if(r.origin!==s)return t;return"".concat(r.pathname).concat(r.search).concat(r.hash)}catch(e){return t}}(t.get("redirect")),g=async t=>{t.preventDefault(),m(null),b(!0);let{error:r}=await s.auth.signInWithPassword({email:n,password:c});r?(m(r.message),b(!1)):(e.refresh(),e.push(p))};return(0,r.jsx)("div",{className:"min-h-screen bg-gradient-to-br from-sky-50 via-sky-50 to-slate-50 dark:from-slate-900 dark:via-slate-900 dark:to-slate-800 flex items-center justify-center px-4",children:(0,r.jsxs)("div",{className:"max-w-md w-full",children:[(0,r.jsxs)("div",{className:"text-center mb-8",children:[(0,r.jsx)("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-gradient-to-r from-sky-700 to-sky-700 rounded-full mb-4",children:(0,r.jsx)("svg",{"aria-hidden":"true",className:"w-8 h-8 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})})}),(0,r.jsx)("h1",{className:"text-3xl font-bold text-slate-900 dark:text-white mb-2",children:"Welcome Back"}),(0,r.jsx)("h2",{className:"text-xl font-semibold text-sky-700 dark:text-sky-400 mb-1",children:"SSTAC & TWG Dashboard"}),(0,r.jsx)("p",{className:"text-slate-500 dark:text-slate-400",children:"Sign in to access your dashboard"})]}),(0,r.jsxs)("div",{className:"bg-white dark:bg-slate-800 rounded-2xl shadow-xl p-8 border border-slate-100 dark:border-slate-700",children:[(0,r.jsxs)("form",{onSubmit:g,className:"space-y-6","data-hydrated":f?"true":void 0,children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"email",className:"block text-sm font-medium text-slate-600 dark:text-slate-300 mb-2",children:"Email Address"}),(0,r.jsx)("input",{id:"email",type:"email",value:n,onChange:e=>o(e.target.value),required:!0,autoComplete:"email","aria-invalid":!!h||void 0,"aria-describedby":h?"login-error":void 0,className:"w-full px-4 py-3 border border-slate-300 dark:border-slate-600 rounded-lg focus:ring-2 focus:ring-sky-500 focus:border-sky-500 transition-colors duration-200 bg-white dark:bg-slate-700 text-slate-900 dark:text-white placeholder-slate-500 dark:placeholder-slate-400",placeholder:"Enter your email"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"password",className:"block text-sm font-medium text-slate-600 dark:text-slate-300 mb-2",children:"Password"}),(0,r.jsx)("input",{id:"password",type:"password",value:c,onChange:e=>u(e.target.value),required:!0,autoComplete:"current-password","aria-invalid":!!h||void 0,"aria-describedby":h?"login-error":void 0,className:"w-full px-4 py-3 border border-slate-300 dark:border-slate-600 rounded-lg focus:ring-2 focus:ring-sky-500 focus:border-sky-500 transition-colors duration-200 bg-white dark:bg-slate-700 text-slate-900 dark:text-white placeholder-slate-500 dark:placeholder-slate-400",placeholder:"Enter your password"})]}),h&&(0,r.jsx)("div",{role:"alert",id:"login-error",className:"bg-red-50 dark:bg-red-900/30 border border-red-200 dark:border-red-800 rounded-lg p-4",children:(0,r.jsx)("p",{className:"text-red-700 dark:text-red-400 text-sm",children:h})}),(0,r.jsx)("button",{type:"submit",disabled:x,className:"w-full bg-gradient-to-r from-sky-700 to-sky-700 text-white font-semibold py-3 px-4 roun
1ded-lg hover:from-sky-800 hover:to-sky-800 focus:ring-2 focus:ring-sky-500 focus:ring-offset-2 dark:focus:ring-offset-slate-800 transition-all duration-200 disabled:opacity-50 disabled:cursor-not-allowed transform hover:scale-[1.02]",children:x?"Signing In...":"Sign In"})]}),(0,r.jsx)("div",{className:"mt-6 text-center",children:(0,r.jsxs)("p",{className:"text-slate-500 dark:text-slate-400",children:["Don't have an account?"," ",(0,r.jsx)(i(),{href:"/signup",className:"text-sky-700 dark:text-sky-400 hover:text-sky-800 dark:hover:text-sky-300 font-medium transition-colors duration-200",children:"Create one here"})]})})]}),(0,r.jsx)("div",{className:"text-center mt-8",children:(0,r.jsx)("p",{className:"text-slate-500 dark:text-slate-400 text-sm",children:"\xa9 SSTAC & TWG Dashboard"})})]})})},c=()=>(0,r.jsx)(a.Suspense,{fallback:(0,r.jsx)("div",{className:"min-h-screen bg-gradient-to-br from-sky-50 via-sky-50 to-slate-50 dark:from-slate-900 dark:via-slate-900 dark:to-slate-800 flex items-center justify-center px-4",children:(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("div",{className:"inline-flex items-center justify-center w-16 h-16 bg-gradient-to-r from-sky-700 to-sky-700 rounded-full mb-4 animate-spin",children:(0,r.jsx)("svg",{"aria-hidden":"true",className:"w-8 h-8 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})})}),(0,r.jsx)("p",{className:"text-slate-500 dark:text-slate-400",children:"Loading..."})]})}),children:(0,r.jsx)(o,{})})},20063:(e,t,s)=>{"use strict";var r=s(47260);s.o(r,"useParams")&&s.d(t,{useParams:function(){return r.useParams}}),s.o(r,"usePathname")&&s.d(t,{usePathname:function(){return r.usePathname}}),s.o(r,"useRouter")&&s.d(t,{useRouter:function(){return r.useRouter}}),s.o(r,"useSearchParams")&&s.d(t,{useSearchParams:function(){return r.useSearchParams}})},85626:(e,t,s)=>{Promise.resolve().then(s.bind(s,14423))},96648:(e,t,s)=>{"use strict";s.d(t,{U:()=>a});var r=s(16010);function a(){return(0,r.createBrowserClient)("https://qyrhsieynzfgyuqzznap.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InF5cmhzaWV5bnpmZ3l1cXp6bmFwIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTQ3Nzg3ODUsImV4cCI6MjA3MDM1NDc4NX0.9CFxcMWu5XPm-2C1EhuhPgDO1cp50WVWTcbZQDY-sNU")}}},e=>{e.O(0,[2619,1029,5040,6010,4850,8441,1038,7358],()=>e(e.s=85626)),_N_E=e.O()}]);

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.