PageSourceSearch

https://ticketrabbit.app/_next/static/chunks/app/login/page-dffa4aed127ed8fd.js

js ticketrabbit.app collected 2026-10-02 01:15:43 UTC 2,461 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[520],{5116:(e,s,t)=>{Promise.resolve().then(t.bind(t,9690))},5695:(e,s,t)=>{"use strict";var a=t(8999);t.o(a,"usePathname")&&t.d(s,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(s,{useRouter:function(){return a.useRouter}})},9690:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>i});var a=t(5155),n=t(2108),l=t(5695),r=t(2115),c=t(7652);function i(){let{status:e}=(0,n.useSession)(),s=(0,l.useRouter)(),[t,i]=(0,r.useState)(!1),[d,o]=(0,r.useState)(!1),u=(0,c.c3)("login");(0,r.useEffect)(()=>{"authenticated"===e&&s.replace("/")},[e,s]);let h=async()=>{if(!t&&d){i(!0);try{await (0,n.signIn)("google")}finally{i(!1)}}};return"loading"===e?(0,a.jsx)("div",{className:"flex min-h-screen flex-col items-center justify-center",children:(0,a.jsx)("div",{className:"w-full max-w-md space-y-8 rounded-lg p-8 text-white",children:(0,a.jsx)("div",{className:"text-center",children:(0,a.jsx)("span",{className:"loading loading-spinner loading-lg text-primary"})})})}):"unauthenticated"===e?(0,a.jsx)("div",{className:"flex min-h-screen flex-col items-center justify-center",children:(0,a.jsxs)("div",{className:"w-full max-w-md 
1space-y-8 rounded-lg p-8 text-white",children:[(0,a.jsx)("div",{className:"text-center",children:(0,a.jsx)("h2",{className:"text-2xl font-bold",children:u("title")})}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("input",{type:"checkbox",id:"terms-checkbox",checked:d,onChange:e=>o(e.target.checked),className:"checkbox checkbox-primary"}),(0,a.jsxs)("label",{htmlFor:"terms-checkbox",className:"text-sm",children:[u("terms")," ",(0,a.jsx)("a",{href:"/terms",className:"text-primary hover:underline",children:u("termsOfService")})," ",u("and")," ",(0,a.jsx)("a",{href:"/privacy",className:"text-primary hover:underline",children:u("privacyPolicy")})]})]}),(0,a.jsx)("button",{onClick:h,disabled:t||!d,className:"btn btn-neutral w-full rounded-md border border-gray-600 py-2 text-center hover:bg-gray-700 disabled:opacity-50 disabled:cursor-not-allowed",children:(0,a.jsxs)("div",{className:"flex items-center justify-center gap-3 w-full",children:[t&&(0,a.jsx)("span",{className:"loading loading-spinner text-white"}),(0,a.jsx)("span",{children:u(t?"signingIn":"signInWithGoogle")})]})})]})]})}):null}}},e=>{var s=s=>e(e.s=s);e.O(0,[652,108,441,684,358],()=>s(5116)),_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.