PageSourceSearch

https://naturecube.io/assets/SSOError-dwTjyM8k.js

js naturecube.io collected 2026-10-07 20:03:38 UTC 4,888 bytes, 1 lines download raw bytes

1import{j as e,L as t,N as s}from"./index-j2y2Z7qY.js";import{b as a}from"./Background-B9ALwxRL.js";import{N as m}from"./Navbar-BaW50UG4.js";import{S as l}from"./SEOMeta-CGBFyzxy.js";import{a as d}from"./hooks-C9KJcGYI.js";import{c as p}from"./createLucideIcon-tHWxjtdS.js";import"./CurrentUserModal-CdxE5c86.js";import"./useProjects-CWZELZcL.js";import"./index-BY9xzvIe.js";import"./api-Bu9Lg9Ep.js";import"./useChatStore-DSXntAjl.js";import"./wsUrl-B9pog2ai.js";import"./index-DdoMrZXx.js";import"./useProjectUsers-C5mZ6-0X.js";import"./index-ClX2uSBO.js";import"./regexes-L3nFnUJX.js";import"./useMutation-DxQl8IgB.js";import"./loader-2-CzVhKfDP.js";import"./CheckIcon-D4lzyuv2.js";import"./MagnifyingGlassIcon-eNez7caW.js";import"./PlusIcon-D_Nst_La.js";import"./HelpDrawer-Dr5600tC.js";import"./MarkdownViewer-CvGGM0tl.js";import"./ArrowPathIcon-BFWlNb-Y.js";import"./PaperAirplaneIcon-sy-TyUIR.js";import"./usePermissions-oFCefHid.js";import"./XMarkIcon-CtZKHxVL.js";import"./ChevronDownIcon-CLZT5fBL.js";import"./AvatarPlaceholder-VIkut6AI.js";import"./EnvelopeIcon-CMxMsm3n.js";import"./ArrowLeftIcon-CT4ZOxlW.js";import"./useLocation-1CNNOFu4.js";import"./PermissionsWrapper-C3ssIYx6.js";import"./shared-styles.module-B2SzqHMQ.js";import"./Text-D7w-K5Zm.js";import"./BaseButton-Dgy__S5r.js";import"./XCircleIcon-DSpZf5c2.js";import"./switch-yenF8y2C.js";import"./index-DlvpHbw4.js";import"./InformationCircleIcon-WY71wOmd.js";import"./useCurrentUser-BCnKhm9J.js";import"./FeatureFlags-CVKe-AgF.js";import"./immer-BElBh4y5.js";import"./index-CNQJ2yYR.js";import"./UserCircleIcon-CColtEE8.js";import"./settings-BsLrCx2S.js";import"./bell-BsW_unx2.js";import"./trash-2-C1wx7KSu.js";import"./sliders-horizontal-CAxIAkIc.js";import"./shield-BFpd3IA8.js";import"./Bars3Icon-92D6MlF4.js";import"./FolderIcon-BaRViIyT.js";import"./PencilSquareIcon-D9hKiPKA.js";import"./Cog6ToothIcon-SsMIz-El.js";const c=p("ShieldAlert",[["path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10",key:"1irkt0"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]),x={invalid_invite:{title:"Invalid Invite",description:"Your invite code is invalid or has already been used. Please check with your organisation administrator for a new invitation."},expired_invite:{title:"Invite Expired",description:"Your invitation has expired. Please request a new invite from your organisation administrator."},missing_invite:{title:"Invite Required",description:"A valid invitation is required to create an account. Enterprise signup is invite-only."},provider_conflict:{title:"Account Already Exists",description:"This email is already registered with a different sign-in method. Please try logging in with your original provider."}},u={title:"Sign Up Failed",description:"Something went wrong during sign up. Please try again or contact our support team."},ge=()=>{const[i]=d(),r=i.get("reason")??"",{title:o,description:n}=x[r]??u;return e.jsxs(e.Fragment,{children:[e.jsx(l,{title:"Sign Up Error — NatureCube",description:"There was a problem with your sign up attempt."}),e.jsxs("div",{className:"relative flex min-h-screen flex-col",style:{backgroundImage:`url(${a})`,backgroundSize:"cover",backgroundPosition:"center"},children:[e.jsx("div",{className:"bg-brand-green-forest/70 absolute inset-0"}),e.jsx(m,{variant:"public",className:"relative z-10"}),e.jsx("div",{className:"relative z-10 flex flex-1 items-center justify-center px-4",children:e.jsx("div",{className:"w-full max-w-md",children:e.jsxs("div",{className:"rounded-2xl border border-brand-green-mint bg-brand-green-forest p-8 shadow-xl",children:[e.jsx("div",{className:"mb-6 flex justify-center",children:e.jsx("div",{className:"bg-red-500/20 flex h-16 w-16 items-center justify-center rounded-full",children:e.jsx(c,{className:"text-red-400 h-8 w-8"})})}),e.jsx("h1",{className:"mb-3 text-center text-2xl font-light text-white",children:o}),e.jsx("p",{className:"mb-8 text-center text-sm leading-relaxed text-brand-green-mint",children:n}),e.jsx(t,{to:"/sign-up",className:"mb-4 flex w-full items-center justify-center rounded-lg bg-brand-green-mint px-6 py-3 text-sm font-medium text-brand-green-forest transition-colors hover:bg-brand-green-aquamarine",children:"Back to Sign Up"}),e.jsxs("p",{className:"text-center text-sm text-brand-green-mint",children:["Already have an account?"," ",e.jsx(t,{to:"/login",className:"font-medium text-white underline transition-colors hover:text-brand-green-aquamarine",children:"Log in"})]}),e.jsx("div",{className:"mt-8 flex justify-center",children:e.jsx(s,{size:"md",color:"mint"})})]})})}),e.jsx("footer",{className:"relative z-10 flex items-center justify-center px-8 py-6 text-sm opacity-90",children:e.jsxs("p",{className:"rounded bg-white px-3 py-1 text-brand-black",children:["© ",new Date().getFullYear()," Okala. All rights reserved."]})})]})]})};export{ge as default};

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.