1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,66691,e=>{"use strict";var t=e.i(48150),i=e.i(24427),a=e.i(50700),r=e.i(94237),n=e.i(12504);let s=(0,r.cva)("inline-flex items-center justify-center whitespace-nowrap rounded-full text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-border bg-background hover:bg-muted hover:text-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-muted hover:text-foreground",link:"text-foreground underline-offset-4 hover:underline"},size:{default:"h-9 sm:h-10 px-4 sm:px-5",sm:"h-8 sm:h-9 px-3 sm:px-4",lg:"h-11 sm:h-12 px-6 sm:px-7",icon:"size-8 sm:size-10"}},defaultVariants:{variant:"default",size:"default"}}),l=i.forwardRef(({className:e,variant:i,size:r,asChild:l=!1,...o},d)=>{let c=l?a.Slot:"button";return(0,t.jsx)(c,{className:(0,n.cn)(s({variant:i,size:r,className:e})),ref:d,...o})});l.displayName="Button",e.s(["Button",0,l,"buttonVariants",0,s])},35084,e=>{"use strict";var t=e.i(84490);let i=(0,t.createServerReference)("401b61baff99ed5172b94e11e410bea4d1494f093e",t.callServer,void 0,t.findSourceMapURL,"redirectToPath");async function a(e,t,r=null){e.preventDefault();let n=new FormData(e.currentTarget),s=await t(n);return r?r.push(s):await i(s)}async function r(e,t,a=null){let n=await t(e);return a?a.push(n):await i(n)}e.s(["handleDataRequest",0,r,"handleRequest",0,a],35084)},77784,e=>{"use strict";e.s(["getRedirectMethod",0,()=>"client"])},46240,e=>{"use strict";var t=e.i(48150),i=e.i(84490);let a=(0,i.createServerReference)("407dd8f4e3f76b44f6773b1bc51453d013df52f72f",i.callServer,void 0,i.findSourceMapURL,"signInWithEmail");var r=e.i(35084),n=e.i(10935),s=e.i(24427),l=e.i(66691);function o({redirectMethod:e,disableButton:i,redirectPath:d}){let c="client"===e?(0,n.useRouter)():null,[u,m]=(0,s.useState)(!1),f=async e=>{m(!0),await (0,r.handleRequest)(e,a,c),m(!1)};return(0,t.jsx)("div",{children:(0,t.jsx)("form",{noValidate:!0,onSubmit:f,children:(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsxs)("div",{className:"grid gap-1",children:[(0,t.jsx)("input",{type:"hidden",name:"redirectPath",value:d}),(0,t.jsx)("label",{htmlFor:"email",children:"Email"}),(0,t.jsx)("input",{id:"email",placeholder:"[email protected]",type:"email",name:"email",autoCapitalize:"none",autoComplete:"email",autoCorrect:"off",className:"w-full p-3 rounded-md border"})]}),(0,t.jsx)(l.Button,{type:"submit",className:"mt-1",size:"lg",disabled:u||i,children:"Submit"})]})})})}let d=(0,i.createServerReference)("601bb547efced12a8f047dfedb50d2f092f9538619",i.callServer,void 0,i.findSourceMapURL,"signInWithOAuth"),c=[{name:"google",displayName:"Google",icon:(0,t.jsx)("svg",{className:"size-4","aria-hidden":"true",focusable:"false","data-prefix":"fab","data-icon":"google",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 488 512",children:(0,t.jsx)("path",{fill:"currentColor",d:"M488 261.8C488 403.3 391.1 504 248 504 110.8 504 0 393.2 0 256S110.8 8 248 8c66.8 0 123 24.5 166.3 64.9l-67.5 64.9C258.5 52.6 94.3 116.6 94.3 256c0 86.5 69.1 156.6 153.7 156.6 98.2 0 135-70.4 140.8-106.9H248v-85.3h236.1c2.3 12.7 3.9 24.9 3.9 41.4z"})})}];function u({redirectPath:e}){let[i,a]=(0,s.useState)(!1),r=async t=>{a(!0),await d(t,{redirectPath:e})};return(0,t.jsx)("div",{className:"mt-2",children:c.map(e=>(0,t.jsxs)(l.Button,{className:"w-full mb-2",disabled:i,size:"lg",onClick:()=>r(e.name),children:[(0,t.jsx)("span",{className:"mr-2",children:e.icon}),(0,t.jsxs)("span",{children:["Continue with ",e.displayName]})]},e.name))})}var m=e.i(82879),f=e.i(77784);e.s(["default",0,function({disableButton:e,redirectPath:i}
1){let a=(0,f.getRedirectMethod)(),[r,d]=(0,s.useState)(!1),c=(0,n.useRouter)();return(0,t.jsx)(m.Dialog,{open:!0,onOpenChange:e=>{e||(i?c.push(i):c.back()),d(!1)},children:(0,t.jsxs)(m.DialogContent,{className:"sm:max-w-md overflow-y-auto max-h-screen",children:[(0,t.jsx)(m.DialogHeader,{children:(0,t.jsx)(m.DialogTitle,{children:"Login/Sign up ð"})}),(0,t.jsx)("div",{children:r?(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"Enter your email and we'll send you a link to login."}),(0,t.jsx)(o,{redirectMethod:a,disableButton:e,redirectPath:i})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u,{redirectPath:i}),(0,t.jsx)(l.Button,{onClick:()=>d(!0),className:"w-full",variant:"ghost",size:"lg",children:"Continue with Email"})]})})]})})}],46240)}]);
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.