1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,515288,e=>{"use strict";var t=e.i(843476),r=e.i(975157);function a({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card",className:(0,r.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...a})}function n({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,r.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...a})}function o({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,r.cn)("leading-none font-semibold",e),...a})}function i({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-muted-foreground text-sm",e),...a})}function l({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-action",className:(0,r.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...a})}function s({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-6",e),...a})}e.s(["Card",()=>a,"CardAction",()=>l,"CardContent",()=>s,"CardDescription",()=>i,"CardHeader",()=>n,"CardTitle",()=>o])},998183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={assign:function(){return s},searchParamsToUrlQuery:function(){return o},urlQueryToSearchParams:function(){return l}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});function o(e){let t={};for(let[r,a]of e.entries()){let e=t[r];void 0===e?t[r]=a:Array.isArray(e)?e.push(a):t[r]=[e,a]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function l(e){let t=new URLSearchParams;for(let[r,a]of Object.entries(e))if(Array.isArray(a))for(let e of a)t.append(r,i(e));else t.set(r,i(a));return t}function s(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,a]of r.entries())e.append(t,a)}return e}},195057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={formatUrl:function(){return l},formatWithValidation:function(){return d},urlObjectKeys:function(){return s}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o=e.r(190809)._(e.r(998183)),i=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:r}=e,a=e.protocol||"",n=e.pathname||"",l=e.hash||"",s=e.query||"",d=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?d=t+e.host:r&&(d=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(d+=":"+e.port)),s&&"object"==typeof s&&(s=String(o.urlQueryToSearchParams(s)));let u=e.search||s&&`?${s}`||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||i.test(a))&&!1!==d?(d="//"+(d||""),n&&"/"!==n[0]&&(n="/"+n)):d||(d=""),l&&"#"!==l[0]&&(l="#"+l),u&&"?"!==u[0]&&(u="?"+u),n=n.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${a}${d}${n}${u}${l}`}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function d(e){return l(e)}},718967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={DecodeError:function(){return x},MiddlewareNotFoundError:function(){return N},MissingStaticPage:function(){return y},NormalizeError:function(){return b},PageNotFoundError:function(){return v},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return o},execOnce:function(){return i},getDisplayName:function(){return c},getLocationOrigin:function(){return d},getURL:function(){return u},isAbsoluteUrl:function(){return s},isResSent:function(){return f},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return j}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...a)=>(r||(r=!0,t=e(...a)),t)}let l=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>l.test(e);function d(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function u(){let{href:e}=window.location,t=d();return e.substring(t.length)}function c(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let a=await e.getInitialProps(t);if(r&&f(r))return a;
1if(!a)throw Object.defineProperty(Error(`"${c(e)}.getInitialProps()" should resolve to an object. But found "${a}" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return a}let m="undefined"!=typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class x extends Error{}class b extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class y extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class N extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function j(e){return JSON.stringify({message:e.message,stack:e.stack})}},573668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return o}});let a=e.r(718967),n=e.r(652817);function o(e){if(!(0,a.isAbsoluteUrl)(e))return!0;try{let t=(0,a.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,n.hasBasePath)(r.pathname)}catch(e){return!1}}},284508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return x},useLinkStatus:function(){return v}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o=e.r(190809),i=e.r(843476),l=o._(e.r(271645)),s=e.r(195057),d=e.r(8372),u=e.r(818581),c=e.r(718967),f=e.r(405550);e.r(233525);let p=e.r(91949),h=e.r(573668),m=e.r(509396);function g(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}function x(t){var r;let a,n,o,[s,x]=(0,l.useOptimistic)(p.IDLE_LINK_STATUS),v=(0,l.useRef)(null),{href:y,as:N,children:j,prefetch:S=null,passHref:T,replace:w,shallow:A,scroll:E,onClick:_,onMouseEnter:L,onTouchStart:O,legacyBehavior:R=!1,onNavigate:C,ref:P,unstable_dynamicOnHover:I,...k}=t;a=j,R&&("string"==typeof a||"number"==typeof a)&&(a=(0,i.jsx)("a",{children:a}));let F=l.default.useContext(d.AppRouterContext),K=!1!==S,$=!1!==S?null===(r=S)||"auto"===r?m.FetchStrategy.PPR:m.FetchStrategy.Full:m.FetchStrategy.PPR,{href:M,as:Y}=l.default.useMemo(()=>{let e=g(y);return{href:e,as:N?g(N):e}},[y,N]);if(R){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});n=l.default.Children.only(a)}let z=R?n&&"object"==typeof n&&n.ref:P,D=l.default.useCallback(e=>(null!==F&&(v.current=(0,p.mountLinkInstance)(e,M,F,$,K,x)),()=>{v.current&&((0,p.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,p.unmountPrefetchableInstance)(e)}),[K,M,F,$,x]),U={ref:(0,u.useMergedRef)(D,z),onClick(t){R||"function"!=typeof _||_(t),R&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(t),!F||t.defaultPrevented||function(t,r,a,n,o,i,s){if("undefined"!=typeof window){let d,{nodeName:u}=t.currentTarget;if("A"===u.toUpperCase()&&((d=t.currentTarget.getAttribute("target"))&&"_self"!==d||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),s){let e=!1;if(s({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:c}=e.r(699781);l.default.startTransition(()=>{c(a||r,o?"replace":"push",i??!0,n.current)})}}(t,M,Y,v,w,E,C)},onMouseEnter(e){R||"function"!=typeof L||L(e),R&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),F&&K&&(0,p.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){R||"function"!=typeof O||O(e),R&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),F&&K&&(0,p.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,c.isAbsoluteUrl)(Y)?U.href=Y:R&&!T&&("a"!==n.type||"href"in n.props)||(U.href=(0,f.addBasePath)(Y)),o=R?l.default.cloneElement(n,U):(0,i.jsx)("a",{...k,...U,children:a}),(0,i.jsx)(b.Provider,{value:s,children:o})}e.r(284508);let b=(0,l.createContext)(p.IDLE_LINK_STATUS),v=()=>(0,l.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},772436,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(248425),n="horizontal",o=["horizontal","vertical"],i=r.forwardRef((e,r)=>{var i;let{decorative:l,orientation:s=n,...d}=e,u=(i=s,o.includes(i))?s:n;return(0,t.jsx)(a.Primitive.div,{"data-orientation":u,...l?{role:"none"}:{"aria-orientation":"vertical"===u?u:void 0,role:"separator"},...d,ref:r})});i.displayName="Separator",e.s(["Root",()=>i,"Separator",()=>i],98089);var l=e.i(98089),l=l,s=e.i(975157);function d({className:e,orientation:r="horizontal",decorative:a=!0,...n}){return(0,t.jsx)(l.Root,{"data-slot":"separator",decorative:a,orientation:r,className:(0,s.cn)("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",e),...n})}e.s(["Separator",()=>d],772436)},717521,e=>{"use strict";let t=(0,e.i(475254).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",()=>t])},531278,e=>{"use strict";var t=e.i(717521);e.s(["Loader2",()=>t.default])},793479,e=>{"use strict";var t=e.i(843476),r=e.i(975157);function a({className:e,type:a,...n}){return(0,t.jsx)("input",{type:a,"data-slot":"input",className:(0,r.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...n})}e.s(["Input",()=>a])},110204,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(248425),n=r.forwardRef((e,r)=>(0,t.jsx)(a.Primitive.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));n.displayName="Label",e.s(["Label",()=>n,"Root",()=>n],444461);var o=e.i(444461),o=o,i=e.i(975157);function l({className:e,...r}){return(0,t.jsx)(o.Root,{"data-slot":"label",className:(0,i.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})}e.s(["Label",()=>l],110204)},542450,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(225913),n=e.i(975157),o=e.i(110204),i=e.i(772436);function l({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"field-group",className:(0,n.cn)("group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-2 [&>[data-slot=field-group]]:gap-4",e),...r})}let s=(0,a.cva)("group/field flex w-full gap-2 data-[invalid=true]:text-destructive",{variants:{orientation:{vertical:["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],horizontal:["flex-row items-center","[&>[data-slot=field-label]]:flex-auto","has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"],responsive:["flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto","@md/field-group:[&>[data-slot=field-label]]:flex-auto","@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"]}},defaultVariants:{orientation:"vertical"}});function d({className:e,orientation:r="vertical",...a}){return(0,t.jsx)("div",{role:"group","data-slot":"field","data-orientation":r,className:(0,n.cn)(s({orientation:r}),e),...a})}function u({className:e,...r}){return(0,t.jsx)(o.Label,{"data-slot":"field-label",className:(0,n.cn)("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50","has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4","has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10",e),...r})}function c({className:e,...r}){return(0,t.jsx)("p",{"data-slot":"field-description",className:(0,n.cn)("text-muted-foreground text-sm leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance","last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5","[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",e),...r})}function f({children:e,className:r,...a}){return(0,t.jsxs)("div",{"data-slot":"field-separator","data-content":!!e,className:(0,n.cn)("relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2",r),...a,children:[(0,t.jsx)(i.Separator,{className:"absolute inset-0 top-1/2"}),e&&(0,t.jsx)("span",{className:"bg-background text-muted-foreground relative mx-auto block w-fit px-2","data-slot":"field-separator-content",children:e})]})}function p({className:e,children:a,errors:o,...i}){let l=(0,r.useMemo)(()=>
1{if(a)return a;if(!o?.length)return null;let e=[...new Map(o.map(e=>[e?.message,e])).values()];return e?.length==1?e[0]?.message:(0,t.jsx)("ul",{className:"ml-4 flex list-disc flex-col gap-1",children:e.map((e,r)=>e?.message&&(0,t.jsx)("li",{children:e.message},r))})},[a,o]);return l?(0,t.jsx)("div",{role:"alert","data-slot":"field-error",className:(0,n.cn)("text-destructive text-sm font-normal",e),...i,children:l}):null}e.s(["Field",()=>d,"FieldDescription",()=>c,"FieldError",()=>p,"FieldGroup",()=>l,"FieldLabel",()=>u,"FieldSeparator",()=>f])},747230,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(618566),n=e.i(522016),o=e.i(204071),i=e.i(357864),l=e.i(21137),s=e.i(839841),d=e.i(519455),u=e.i(515288),c=e.i(542450),f=e.i(793479),p=e.i(531278);function h(){let[e,h]=(0,r.useState)(""),[m,g]=(0,r.useState)(""),[x,b]=(0,r.useState)(!1),[v,y]=(0,r.useState)(""),{signInWithGoogle:N,signInWithEmail:j,isAuthenticated:S,isLoading:T}=(0,o.useAuth)(),{t:w,language:A}=(0,i.useTranslation)("dashboard"),E=(0,a.useRouter)();if((0,r.useEffect)(()=>{!T&&S&&E.replace(`/${A}/dashboard`)},[T,S,E,A]),T||S)return null;let _=async()=>{y(""),b(!0);try{await N(),E.push(`/${A}/dashboard`)}catch{y(w(l.TRANSLATION_KEYS.dashboard.auth.login.errorInvalid))}finally{b(!1)}},L=async t=>{if(t.preventDefault(),y(""),!e||!m)return void y(w(l.TRANSLATION_KEYS.dashboard.auth.login.errorRequired));b(!0);try{await j(e,m),E.push(`/${A}/dashboard`)}catch{y(w(l.TRANSLATION_KEYS.dashboard.auth.login.errorInvalid))}finally{b(!1)}};return(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center bg-muted px-4",children:(0,t.jsxs)("div",{className:"w-full max-w-md
1space-y-8",children:[(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(n.default,{href:`/${A}`,children:(0,t.jsx)(s.default,{className:"gap-3"})})}),(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsxs)(u.Card,{children:[(0,t.jsxs)(u.CardHeader,{className:"text-center",children:[(0,t.jsx)(u.CardTitle,{className:"text-xl",children:w(l.TRANSLATION_KEYS.dashboard.auth.login.title)}),(0,t.jsx)(u.CardDescription,{children:w(l.TRANSLATION_KEYS.dashboard.auth.login.description)})]}),(0,t.jsx)(u.CardContent,{children:(0,t.jsx)("form",{onSubmit:L,children:(0,t.jsxs)(c.FieldGroup,{children:[(0,t.jsxs)(c.Field,{children:[(0,t.jsxs)(d.Button,{variant:"outline",type:"button",size:"lg",className:"w-full",onClick:_,disabled:x,children:[x?(0,t.jsx)(p.Loader2,{className:"size-4 animate-spin"}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z",fill:"currentColor"})}),w(l.TRANSLATION_KEYS.dashboard.auth.login.googleBtn)]}),(0,t.jsxs)(d.Button,{variant:"outline",type:"button",size:"lg",className:"w-full",disabled:!0,children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12",fill:"currentColor"})}),w(l.TRANSLATION_KEYS.dashboard.auth.login.githubBtn)]})]}),(0,t.jsx)(c.FieldSeparator,{className:"*:data-[slot=field-separator-content]:bg-card",children:w(l.TRANSLATION_KEYS.dashboard.auth.login.separator)}),v&&(0,t.jsx)(c.FieldError,{children:v}),(0,t.jsxs)(c.Field,{children:[(0,t.jsx)(c.FieldLabel,{htmlFor:"email",children:w(l.TRANSLATION_KEYS.dashboard.auth.login.email)}),(0,t.jsx)(f.Input,{id:"email",type:"email",placeholder:w(l.TRANSLATION_KEYS.dashboard.auth.login.emailPlaceholder),value:e,onChange:e=>h(e.target.value),autoComplete:"email",required:!0})]}),(0,t.jsxs)(c.Field,{children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)(c.FieldLabel,{htmlFor:"password",children:w(l.TRANSLATION_KEYS.dashboard.auth.login.password)}),(0,t.jsx)(n.default,{href:`/${A}/forgot-password`,className:"ml-auto text-sm underline-offset-4 hover:underline",children:w(l.TRANSLATION_KEYS.dashboard.auth.login.forgotPassword)})]}),(0,t.jsx)(f.Input,{id:"password",type:"password",placeholder:w(l.TRANSLATION_KEYS.dashboard.auth.login.passwordPlaceholder),value:m,onChange:e=>g(e.target.value),autoComplete:"current-password",required:!0})]}),(0,t.jsxs)(c.Field,{children:[(0,t.jsx)(d.Button,{type:"submit",variant:"gradient-brand",size:"xl",disabled:x,children:x?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p.Loader2,{className:"size-4 animate-spin"}),w(l.TRANSLATION_KEYS.dashboard.auth.login.submitting)]}):w(l.TRANSLATION_KEYS.dashboard.auth.login.submit)}),(0,t.jsxs)(c.FieldDescription,{className:"text-center",children:[w(l.TRANSLATION_KEYS.dashboard.auth.login.noAccount)," ",(0,t.jsx)(n.default,{href:`/${A}/register`,children:w(l.TRANSLATION_KEYS.dashboard.auth.login.signupLink)})]})]})]})})})]}),(0,t.jsxs)(c.FieldDescription,{className:"px-6 text-center",children:[w(l.TRANSLATION_KEYS.dashboard.auth.login.terms)," ",(0,t.jsx)("a",{href:"#",children:w(l.TRANSLATION_KEYS.dashboard.auth.login.termsLink)})," ",w(l.TRANSLATION_KEYS.dashboard.auth.login.termsAnd)," ",(0,t.jsx)("a",{href:"#",children:w(l.TRANSLATION_KEYS.dashboard.auth.login.privacyLink)}),"."]})]})]})})}e.s(["default",()=>h])}]);
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.