PageSourceSearch

https://www.goneurova.com/_next/static/chunks/ef612fc14dc20408.js

js goneurova.com collected 2026-10-02 01:31:09 UTC 28,366 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,998183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={assign:function(){return l},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return o}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});function n(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 s(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(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,s(e));else t.set(r,s(a));return t}function l(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 o},formatWithValidation:function(){return d},urlObjectKeys:function(){return l}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let n=e.r(190809)._(e.r(998183)),s=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,a=e.protocol||"",i=e.pathname||"",o=e.hash||"",l=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)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let u=e.search||l&&`?${l}`||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||s.test(a))&&!1!==d?(d="//"+(d||""),i&&"/"!==i[0]&&(i="/"+i)):d||(d=""),o&&"#"!==o[0]&&(o="#"+o),u&&"?"!==u[0]&&(u="?"+u),i=i.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${a}${d}${i}${u}${o}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function d(e){return o(e)}},718967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={DecodeError:function(){return b},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return v},NormalizeError:function(){return x},PageNotFoundError:function(){return y},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return n},execOnce:function(){return s},getDisplayName:function(){return c},getLocationOrigin:function(){return d},getURL:function(){return u},isAbsoluteUrl:function(){return l},isResSent:function(){return p},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return j}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function s(e){let t,r=!1;return(...a)=>(r||(r=!0,t=e(...a)),t)}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>o.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 p(e){return e.finished||e.headersSent}function h(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let a=await e.getInitialProps(t);if(r&&p(r))return a;if(!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="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class b extends Error{}class x extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w 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";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return n}});let a=e.r(718967),i=e.r(652817);function n(e){if(!(0,a.isAbsoluteUrl)(e))return!0;try{let t=(0,a.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.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 b},useLinkStatus:function(){return y}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let n=e.r(190809),s=e.r(843476),o=n._(e.r(271645)),l=e.r(195057),d=e.r(8372),u=e.r(818581),c=e.r(718967),p=e.r(405550);e.r(233525);let h=e.r(91949),f=e.r(573668),m=e.r(509396);function g(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}function b(t){var r;let a,i,n,[l,b]=(0,o.useOptimistic)(h.IDLE_LINK_STATUS),y=(0,o.useRef)(null),{href:v,as:w,children:j,prefetch:k=null,passHref:N,replace:_,shallow:P,scroll:C,onClick:E,onMouseEnter:S,onTouchStart:M,legacyBehavior:O=!1,onNavigate:L,ref:T,unstable_dynamicOnHover:I,...R}=t;a=j,O&&("string"==typeof a||"number"==typeof a)&&(a=(0,s.jsx)("a",{children:a}));let $=o.default.useContext(d.AppRouterContext),A=!1!==k,z=!1!==k?null===(r=k)||"auto"===r?m.FetchStrategy.PPR:m.FetchStrategy.Full:m.FetchStrategy.PPR,{href:F,as:U}=o.default.useMemo(()=>{let e=g(v);return{href:e,as:w?g(w):e}},[v,w]);if(O){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});i=o.default.Children.only(a)}let B=O?i&&"object"==typeof i&&i.ref:T,D=o.default.useCallback(e=>(null!==$&&(y.current=(0,h.mountLinkInstance)(e,F,$,z,A,b)),()=>{y.current&&((0,h.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,h.unmountPrefetchableInstance)(e)}),[A,F,$,z,b]),q={ref:(0,u.useMergedRef)(D,B),onClick(t){O||"function"!=typeof E||E(t),O&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(t),!$||t.defaultPrevented||function(t,r,a,i,n,s,l){if("u">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,f.isLocalURL)(r)){n&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:c}=e.r(699781);o.default.startTransition(()=>{c(a||r,n?"replace":"push",s??!0,i.current)})}}(t,F,U,y,_,C,L)},onMouseEnter(e){O||"function"!=typeof S||S(e),O&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),$&&A&&(0,h.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){O||"function"!=typeof M||M(e),O&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),$&&A&&(0,h.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,c.isAbsoluteUrl)(U)?q.href=U:O&&!N&&("a"!==i.type||"href"in i.props)||(q.href=(0,p.addBasePath)(U)),n=O?o.default.cloneElement(i,q):(0,s.jsx)("a",{...R,...q,children:a}),(0,s.jsx)(x.Provider,{value:l,children:n})}e.r(284508);let x=(0,o.createContext)(h.IDLE_LINK_STATUS),y=()=>(0,o.useContext)(x);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},113625,63804,e=>{"use strict";var t=e.i(475254);let r=(0,t.default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);e.s(["default",()=>r],113625);let a=(0,t.default)("list-checks",[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]]);e.s(["ListChecks",()=>a],63804)},178583,e=>{"use strict";let t=(0,e.i(475254).default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["FileText",()=>t],178583)},32095,e=>{"use strict";let t=(0,e.i(475254).default)("graduation-cap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);e.s(["GraduationCap",()=>t],32095)},94079,e=>{"use strict";let t=(0,e.i(475254).default)("book-open-check",[["path",{d:"M12 21V7",key:"gj6g52"}],["path",{d:"m16 12 2 2 4-4",key:"mdajum"}],["path",{d:"M22 6V4a1 1 0 0 0-1-1h-5a4 4 0 0 0-4 4 4 4 0 0 0-4-4H3a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h6a3 3 0 0 1 3 3 3 3 0 0 1 3-3h6a1 1 0 0 0 1-1v-1.3",key:"8arnkb"}]]);e.s(["BookOpenCheck",()=>t],94079)},2758,e=>{"use strict";var t=e.i(113625);e.s(["Layers3",()=>t.default])},167881,e=>{"use strict";var t=e.i(843476),r=e.i(991918),a=e.i(225913),i=e.i(647163);let n=(0,a.cva)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none 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",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function s({className:e,variant:a,size:s,asChild:o=!1,...l}){let d=o?r.Slot:"button";return(0,t.jsx)(d,{"data-slot":"button",className:(0,i.cn)(n({variant:a,size:s,className:e})),...l})}e.s(["Button",()=>s,"buttonVariants",()=>n])},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])},164668,e=>{"use strict";var t=e.i(717521);e.s(["LoaderCircle",()=>t.default])},23750,e=>{"use strict";var t=e.i(843476),r=e.i(647163);function a({className:e,type:a,...i}){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),...i})}e.s(["Input",()=>a])},729031,e=>{"use strict";var t=e.i(959527);let r="/login",a="https://app.local";function i(e,t){return e===t||e.startsWith(`${t}/`)}function n(e=`${window.location.pathname}${window.location.search}${window.location.hash}`){let t=s(e);return t?`${r}?next=${encodeURIComponent(t)}`:r}function s(e){if(!e||!e.startsWith("/")||e.startsWith("//"))return null;try{let t=new URL(e,a),n=decodeURIComponent(t.pathname);if(t.origin!==a||n.startsWith("//")||i(n,r))return null;return`${t.pathname}${t.search}${t.hash}`}catch{return null}}function o(e,r,n){let o=(0,t.getPortalRouteByPermissions)(r,n),l=s(e);return l?i(new URL(l,a).pathname,"/admin"===o?"/admin":"/dashboard")?l:o:o}e.s(["getLoginUrl",()=>n,"getPostLoginDestination",()=>o])}
1,772328,286536,77705,e=>{"use strict";e.i(247167);var t=e.i(571164),r=e.i(138544),a=e.i(271645);function i(){t.hasReducedMotionListener.current||(0,r.initPrefersReducedMotion)();let[e]=(0,a.useState)(t.prefersReducedMotion.current);return e}e.s(["useReducedMotion",()=>i],772328);var n=e.i(475254);let s=(0,n.default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",()=>s],286536);let o=(0,n.default)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);e.s(["EyeOff",()=>o],77705)},789954,e=>{"use strict";var t=e.i(843476),r=e.i(657688),a=e.i(522016),i=e.i(618566),n=e.i(271645);e.i(214539);var s=e.i(776510);e.i(151718);var o=e.i(618357),l=e.i(846932),d=e.i(772328),u=e.i(94079),c=e.i(286536),p=e.i(77705),h=e.i(178583),f=e.i(32095),m=e.i(2758),g=e.i(63804),b=e.i(164668),x=e.i(167881),y=e.i(23750),v=e.i(523933),w=e.i(715760),j=e.i(120694),k=e.i(729031),N=e.i(176009),_=e.i(959527);function P(){let e=(0,i.useRouter)(),s=(0,d.useReducedMotion)(),[w,P]=(0,n.useState)(!1),[M,O]=(0,n.useState)(!1),[L,T]=(0,n.use
1State)(""),[I,R]=(0,n.useState)(""),[$,A]=(0,n.useState)(""),[z,F]=(0,n.useState)(""),[U,B]=(0,n.useState)(!1),[D,q]=(0,n.useState)(!1),K=U||D,W=N.isFirebaseConfigured&&N.auth?"":"Firebase login is not configured. Check the public Firebase environment variables.",V=(0,n.useCallback)(async t=>{let r=await (0,v.createFirebaseSession)({firebaseIdToken:t,deviceName:[window.navigator.platform?.trim(),window.navigator.language?.trim()].filter(Boolean).join(" - ")||"web",deviceType:"web"}),a=(0,_.flattenPermissionKeys)(r.permissions);(0,j.saveAuthObject)({...r.auth,user_role:r.user.role,user_display_name:r.user.display_name,user_onboarding:r.user.onboarding,user_permissions:r.permissions,flattened_permission_keys:a});let i=new URLSearchParams(window.location.search).get("next");e.replace((0,k.getPostLoginDestination)(i,r.user.role,a))},[e]);if((0,n.useEffect)(()=>{let t=(0,j.getStoredAuthObject)();if(!t?.access_token)return void P(!0);let r=new URLSearchParams(window.location.search).get("next");e.replace((0,k.getPostLoginDestination)(r,t.user_role,t.flattened_permission_keys??[]))},[e]),!w)return(0,t.jsx)("main",{className:"flex min-h-screen items-center justify-center bg-background px-4 py-6 text-foreground",children:(0,t.jsx)(b.LoaderCircle,{className:"h-8 w-8 animate-spin"})});let G=async e=>{if(e.preventDefault(),!K){if(!N.auth||!N.isFirebaseConfigured)return void A(W);A(""),B(!0);try{let e=await (0,o.signInWithEmailAndPassword)(N.auth,L.trim(),I),t=await e.user.getIdToken();await V(t)}catch(e){A(S(e))}finally{B(!1)}}},H=async()=>{if(K)return;if(!N.auth||!N.isFirebaseConfigured)return void A(W);let e=L.trim();if(!e){F(""),A('Enter your email above first, then tap "Forgot password?" to get a reset link.');return}A("");try{await (0,o.sendPasswordResetEmail)(N.auth,e),F(`If an account exists for ${e}, a password reset link has been sent.`)}catch(e){F(""),A(S(e))}},Q=async()=>{if(!K){if(!N.auth||!N.isFirebaseConfigured)return void A(W);A(""),q(!0);try{N.googleProvider.setCustomParameters({prompt:"select_account"});let e=await (0,o.signInWithPopup)(N.auth,N.googleProvider),t=await e.user.getIdToken();await V(t)}catch(e){await (0,o.signOut)(N.auth).catch(()=>null),(0,j.clearAuthBrowserState)(),A(S(e))}finally{q(!1)}}};return(0,t.jsxs)("main",{className:"relative min-h-svh overflow-x-hidden bg-[#f7f8fc] p-3 text-foreground sm:p-5 lg:h-svh lg:overflow-hidden lg:p-6",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 opacity-35 [background-image:radial-gradient(#5B65E0_0.7px,transparent_0.7px)] [background-size:22px_22px] [mask-image:linear-gradient(to_bottom,black,transparent_78%)]"}),(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute left-1/2 top-[-22rem] h-[44rem] w-[72rem] -translate-x-1/2 rounded-full bg-[radial-gradient(circle,rgba(91,101,224,0.16),rgba(81,0,167,0.06)_48%,transparent_72%)]"}),(0,t.jsx)("div",{className:"relative mx-auto min-h-[calc(100svh-1.5rem)] w-full max-w-[1200px] sm:min-h-[calc(100svh-2.5rem)] lg:h-full lg:min-h-0",children:(0,t.jsxs)("section",{className:"grid min-h-[inherit] w-full overflow-hidden rounded-[22px] border border-slate-200/80 bg-white shadow-[0_32px_90px_rgba(42,48,92,0.12)] sm:rou
1nded-[28px] lg:h-full lg:min-h-0 lg:grid-cols-[1.08fr_0.92fr]",children:[(0,t.jsxs)("div",{className:"relative hidden min-h-0 overflow-hidden bg-gradient-to-br from-button via-thirdary to-primary p-7 lg:flex lg:items-center lg:justify-center xl:p-10",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 opacity-[0.12] [background-image:radial-gradient(white_1px,transparent_1px)] [background-size:22px_22px]"}),(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute -left-24 top-20 h-72 w-72 rounded-full bg-white/15 blur-3xl"}),(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute -right-20 bottom-10 h-80 w-80 rounded-full bg-primary/25 blur-3xl"}),(0,t.jsx)(l.motion.div,{"aria-hidden":"true",className:"absolute left-[12%] top-[14%] h-20 w-20 rotate-12 rounded-[22px] border border-white/15 bg-white/5",animate:s?void 0:{y:[0,-12,0],rotate:[12,18,12]},transition:{duration:7,repeat:1/0,ease:"easeInOut"}}),(0,t.jsx)(l.motion.div,{"aria-hidden":"true",className:"absolute bottom-[9%] right-[7%] h-28 w-28 rounded-full border border-white/10",animate:s?void 0:{scale:[1,1.12,1],opacity:[.55,1,.55]},transition:{duration:6,repeat:1/0,ease:"easeInOut"}}),(0,t.jsxs)(l.motion.div,{className:"relative z-10 w-full max-w-[590px]",initial:!s&&{opacity:0,scale:.96},animate:{opacity:1,scale:1},transition:{duration:.75,ease:[.22,1,.36,1]},children:[(0,t.jsxs)(l.motion.div,{className:"relative mx-auto w-[86%] rotate-[-2deg]",initial:!s&&{opacity:0,y:28,rotate:-5},animate:s?{opacity:1,y:0,rotate:-2}:{opacity:1,y:[0,-7,0],rotate:[-2,-1.2,-2]},transition:s?{duration:.6}:{opacity:{duration:.65},y:{duration:6,repeat:1/0,ease:"easeInOut",delay:.7},rotate:{duration:6,repeat:1/0,ease:"easeInOut",delay:.7}},children:[(0,t.jsx)("div",{className:"absolute -inset-4 rotate-[4deg] rounded-[28px] border border-white/15 bg-white/[0.07]"}),(0,t.jsxs)("div",{className:"relative aspect-[1.32] overflow-hidden rounded-[24px] border border-white/30 bg-white/10 p-2.5 shadow-[0_38px_90px_rgba(18,12,62,0.4)] backdrop-blur-sm",children:[(0,t.jsxs)("div",{className:"absolute left-5 right-5 top-0 z-20 flex h-5 items-center gap-1.5 rounded-b-xl bg-white/90 px-3",children:[(0,t.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-rose-400"}),(0,t.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-amber-400"}),(0,t.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-emerald-400"})]}),(0,t.jsx)("div",{className:"relative h-full w-full overflow-hidden rounded-[18px] bg-white/95",children:(0,t.jsx)(r.default,{src:"/demo-1.png",alt:"Neurova study workspace",fill:!0,priority:!0,sizes:"(min-width: 1024px) 48vw, 0px",className:"object-contain"})})]}),(0,t.jsx)(E,{className:"-left-10 top-[14%] -rotate-6",icon:h.FileText,color:"bg-blue-500",delay:.25,reduceMotion:s}),(0,t.jsx)(E,{className:"-right-9 top-[8%] rotate-6",icon:m.Layers3,color:"bg-amber-500",delay:.4,reduceMotion:s}),(0,t.jsx)(E,{className:"-bottom-7 left-[13%] rotate-3",icon:g.ListChecks,color:"bg-violet-500",delay:.55,reduceMotion:s}),(0,t.jsx)(E,{className:"-bottom-9 right-[14%] -rotate-3",icon:f.GraduationCap,color:"bg-emerald-500",delay:.7,reduceMotion:s})]}),(0,t.jsxs)(l.motion.div,{className:"mx-auto mt-[clamp(1.25rem,4vh,2.5rem)] flex w-fit items-center gap-3 rounded-2xl border border-white/15 bg-white/10 px-4 py-3 backdrop-blur-md",initial:!s&&{opacity:0,y:14},animate:{opacity:1,y:0},transition:{duration:.5,delay:.65},children:[(0,t.jsx)("div",{className:"flex -space-x-2",children:[h.FileText,u.BookOpenCheck,m.Layers3].map((e,r)=>(0,t.jsx)("span",{className:"flex h-8 w-8 items-center justify-center rounded-full border-2 border-[#6544bd] bg-white text-thirdary",children:(0,t.jsx)(e,{className:"h-3.5 w-3.5"})},r))}),(0,t.jsx)("div",{className:"flex gap-1",children:[0,1,2,3].map(e=>(0,t.jsx)("span",{className:`h-1.5 rounded-full ${3===e?"w-6 bg-white":"w-3 bg-white/35"}`},e))})]})]})]}),(0,t.jsxs)("div",{className:"relative flex min-h-0 items-center overflow-hidden px-4 py-8 sm:px-10 lg:px-12 lg:py-[clamp(1.25rem,4vh,2.5rem)] xl:px-16",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute -right-24 -top-24 h-64 w-64 roun
1ded-full bg-primary/[0.07] blur-3xl"}),(0,t.jsxs)(l.motion.div,{className:"relative z-10 mx-auto flex w-full max-w-sm flex-col",initial:!s&&{opacity:0,x:28},animate:{opacity:1,x:0},transition:{duration:.7,delay:.15,ease:[.22,1,.36,1]},children:[(0,t.jsx)("div",{className:"mb-[clamp(1.5rem,5vh,3rem)] flex items-center justify-center gap-4",children:(0,t.jsx)(a.default,{href:"/",className:"inline-flex items-center",children:(0,t.jsx)(r.default,{src:"/logo.png",alt:"Neurova",width:20,height:58,className:"h-auto w-[180px] sm:w-[210px]"})})}),(0,t.jsx)(C,{label:D?"Signing In...":"Continue with Google",onClick:Q,disabled:K||!!W,children:D?(0,t.jsx)(b.LoaderCircle,{className:"h-5 w-5 animate-spin text-primary"}):(0,t.jsx)(r.default,{src:"/google.png",alt:"",width:22,height:22,className:"h-[22px] w-[22px]"})}),(0,t.jsxs)("div",{className:"my-[clamp(1rem,3vh,1.5rem)] flex items-center gap-4 text-sm text-slate-400",children:[(0,t.jsx)("span",{className:"h-px flex-1 bg-slate-200"}),(0,t.jsx)("span",{children:"Or continue with"}),(0,t.jsx)("span",{className:"h-px flex-1 bg-slate-200"})]}),(0,t.jsxs)("form",{className:"space-y-5",onSubmit:G,children:[(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("label",{htmlFor:"email",className:"sr-only",children:"Email"}),(0,t.jsx)(y.Input,{id:"email",type:"email",value:L,onChange:e=>T(e.target.value),placeholder:"Enter your email",autoComplete:"email",disabled:K,className:"h-13 rounded-xl border-slate-200 bg-white px-4 text-sm text-slate-800 shadow-sm placeholder:text-slate-400 focus-visible:border-primary/50 focus-visible:ring-4 focus-visible:ring-primary/10"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("label",{htmlFor:"password",className:"sr-only",children:"Password"}),(0,t.jsx)(y.Input,{id:"password",type:M?"text":"password",value:I,onChange:e=>R(e.target.value),placeholder:"Password",autoComplete:"current-password",disabled:K,className:"h-13 rounded-xl border-slate-200 bg-white px-4 pr-12 text-sm text-slate-800 shadow-sm placeholder:text-slate-400 focus-visible:border-primary/50 focus-visible:ring-4 focus-visible:ring-primary/10"}),(0,t.jsx)("button",{type:"button","aria-label":M?"Hide password":"Show password",onClick:()=>O(e=>!e),disabled:K,className:"absolute right-2.5 top-1/2 inline-flex h-9 w-9 -translate-y-1/2 items-center justify-center rounded-lg text-slate-400 transition-colors hover:bg-slate-100 hover:text-slate-600",children:M?(0,t.jsx)(p.EyeOff,{className:"h-4 w-4"}):(0,t.jsx)(c.Eye,{className:"h-4 w-4"})})]})]}),(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)("button",{type:"button",onClick:H,disabled:K||!!W,className:"text-sm font-medium text-primary transition-colors hover:text-thirdary disabled:cursor-not-allowed disabled:opacity-60",children:"Forgot password?"})}),z&&(0,t.jsx)("p",{className:"rounded-2xl border border-emerald-100 bg-emerald-50 px-4 py-3 text-sm text-emerald-700",children:z}),($||W)&&(0,t.jsx)("p",{className:"rounded-2xl border border-red-100 bg-red-50 px-4 py-3 text-sm text-red-600",children:$||W}),(0,t.jsx)(x.Button,{type:"submit",disabled:K||!L.trim()||!I||!!W,className:"h-13 w-full rounded-xl text-sm font-semibold text-white shadow-[0_16px_36px_rgba(81,0,167,0.2)] transition-transform duration-300 hover:-translate-y-0.5",style:{background:"linear-gradient(135deg, color-mix(in srgb, var(--button) 82%, white) 0%, color-mix(in srgb, var(--thirdary) 72%, white) 100%)",color:"#ffffff"},children:U?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.LoaderCircle,{className:"h-4 w-4 animate-spin"}),"Signing In..."]}):"Sign In"})]}),(0,t.jsxs)("p",{className:"mt-4 text-center text-sm text-slate-500",children:["Don't have an account? ",(0,t.jsx)(a.default,{href:"/signup",className:"font-semibold text-primary hover:text-thirdary",children:"Create Account"})]})]})]})]})})]})}function C({children:e,label:r,onClick:a,disabled:i=!1}){return(0,t.jsxs)("button",{type:"button","aria-label":r,onClick:a,disabled:i,className:"group inline-flex h-13 w-full items-center justify-center gap-3 rounded-xl border border-slate-200 bg-white px-5 text-sm font-semibold text-slate-700 shadow-sm transition-all duration-300 hover:-translate-y-0.5 hover:border-primary/30 hover:shadow-[0_12px_30px_rgba(91,101,224,0.12)] disabled:cursor-not-allowed disabled:opacity-55",children:[e,(0,t.jsx)("span",{children:r})]})}function E({icon:e,color:r,className:a,delay:i,reduceMotion:n}){return(0,t.jsx)(l.motion.div,{className:`absolute z-30 flex h-14 w-14 items-center justify-center rounded-2xl border border-white/50 bg-white shadow-[0_18px_40px_rgba(20,14,64,0.28)] ${a}`,initial:!n&&{opacity:0,scale:.6,y:12},animate:n?{opacity:1,scale:1,y:0}:{opacity:1,scale:1,y:[0,-8,0]},transition:n?{duration:.3}:{opacity:{duration:.35,delay:i},scale:{duration:.5,delay:i,type:"spring"},y:{duration:3.6,repeat:1/0,ease:"easeInOut",delay:i+.6}},children:(0,t.jsx)("span",{className:`flex h-9 w-9 items-center justify-center rounded-xl text-white ${r}`,children:(0,t.jsx)(e,{className:"h-4 w-4"})})})}function S(e){let t=(0,w.getApiClientErrorMessage)(e,"");return t||(e instanceof s.FirebaseError?({"auth/invalid-credential":"Invalid email or password.","auth/invalid-email":"Enter a valid email address.","auth/missing-password":"Password is required.","auth/user-not-found":"No account was found with this email.","auth/wrong-password":"Invalid email or password.","auth/too-many-requests":"Too many attempts. Try again in a few minutes.","auth/popup-closed-by-user":"Google sign-in was cancelled before completion.","auth/popup-blocked":"Popup was blocked. Allow popups and try again.","auth/cancelled-popup-request":"Another sign-in popup 
1is already open.","auth/account-exists-with-different-credential":"This email is already linked with a different sign-in method.","auth/network-request-failed":"Network error. Check your connection and try again."})[e.code]??"Login failed. Please try again.":"Login failed. Please try again.")}e.s(["default",()=>P])}]);

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.