1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0804f-8403-7433-b10c-4f792fd0a847")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,319458,e=>{"use strict";var t=e.i(943306),n=e.i(297068),r=e.i(848317),i=e.i(766693),s=e.i(443268),a=e.i(935214),o=e.i(817202),l=e.i(542095),c=e.i(344883),u=e.i(335922),d=e.i(917213),p=e.i(841815),g=e.i(753648),m=e.i(980719),f=e.i(322648),h=e.i(243224),x=e.i(788794),v=e.i(38513),C=e.i(729210),S=e.i(873914),b=e.i(820791),j=e.i(778366),y=e.i(581427),k=e.i(502537),w=e.i(211321),N=e.i(62706),E=e.i(720576),P=e.i(276112),O=e.i(746632),T=e.i(809382),R=e.i(694308);function I({open:e,onOpenChange:r}){let{signOut:i}=(0,P.useClerk)(),[s,a]=(0,n.useState)(!1),[o,l]=(0,n.useState)(e);return o!==e&&(l(e),e||a(!1)),(0,t.jsx)(R.Dialog,{open:e,onOpenChange:r,children:(0,t.jsxs)(R.DialogContent,{className:"w-[90%] max-w-sm rounded-lg p-4 sm:p-6",children:[(0,t.jsxs)(R.DialogHeader,{children:[(0,t.jsx)(R.DialogTitle,{children:"Confirm Sign Out"}),(0,t.jsx)(R.DialogDescription,{children:"Are you sure you want to sign out?"})]}),(0,t.jsxs)(R.DialogFooter,{className:"mt-4 flex flex-col-reverse gap-2 space-y-2 sm:flex-row sm:justify-end sm:gap-0 sm:space-y-0 sm:space-x-2",children:[(0,t.jsx)(T.Button,{variant:"outline",size:"sm",onClick:()=>r(!1),disabled:s,children:"Cancel"}),(0,t.jsx)(T.Button,{variant:"destructive",size:"sm",onClick:async()=>{a(!0);try{await i({redirectUrl:"/"})}catch(e){a(!1),O.toast.error("Sign out failed",{description:e instanceof Error?e.message:"Please try again."})}},disabled:s,children:s?(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"size-4 animate-spin rounded-full border-2 border-background border-t-transparent"}),"Signing outâ¦"]}):"Sign Out"})]})]})})}function M(){return(0,t.jsx)("div",{className:"inline-flex size-8 shrink-0 rounded-full bg-muted/70","aria-hidden":"true"})}function A({className:e,imageUrl:n,isTeam:r,label:i}){let s=i.trim().charAt(0).toUpperCase()||(r?"T":"U");return(0,t.jsxs)(k.Avatar,{className:e,children:[n?(0,t.jsx)(k.AvatarImage,{src:n,alt:""}):null,(0,t.jsx)(k.AvatarFallback,{className:r?"bg-primary/10 text-xs font-semibold text-primary":void 0,children:s})]})}e.s(["UserMenu",0,function({workspaceRefreshPending:e=!1}={}){let P=(0,i.useRouter)(),O=(0,i.usePathname)(),{user:T,isLoaded:R}=(0,a.useUser)(),{organization:D}=(0,s.useOrganization)(),F=(0,S.useOptionalShellActions)(),{subscription:z,subscriptionLoadState:U}=(0,v.useBilling)(),{openDialog:B}=(0,C.useFeedbackDialog)(),{resolvedTheme:L,setTheme:H}=(0,r.useTheme)(),{requiresPlus:_,trialEnabled:W,isResolved:$}=(0,E.useSignupAccess)(),{workspace:G,switchWorkspace:V,teams:K,canUseTeams:Y,canCreateTeam:q,teamsLoadError:J,isSwitching:Z}=(0,y.useWorkspace)(),[X,Q]=(0,n.useState)(!1),[ee,et]=(0,n.useState)(!1),[en,er]=(0,n.useState)(!1),ei=Z||e;if(!R||!T)return(0,t.jsx)(M,{});let es="ready"===U,ea=es&&(z?.tier==="plus"||z?.tier==="pro"),eo=(0,x.shouldShowPlusOnly)({requiresPlus:_,isResolved:$}),el=(0,x.getPlusCtaLabel)({requiresPlus:eo,trialEnabled:W}),ec="personal"===G.kind&&es&&!ea,eu=T.fullName||T.firstName||"",ed=T.primaryEmailAddress?.emailAddress??"",ep=(eu||ed).charAt(0).toUpperCase(),eg=K.filter(e=>"soft_deleted"!==e.status),em=K.filter(e=>"soft_deleted"===e.status),ef="team"===G.kind?eg.find(e=>e.id===G.teamId):void 0,eh=T.organizationMemberships??[],ex=e=>D?.id===e?D:eh.find(t=>t.organization.id===e)?.organization,ev="team"===G.kind,eC=null;ev&&(eC=ef?ex(ef.clerkOrgId):D);let eS=ev?ef?.name||eC?.name||"Team":eu||"Personal",eb=ev?eC?.hasImage?eC.imageUrl:null:T.imageUrl,ej="team"===G.kind||Y||eg.length>0||J,ey=e=>{if((0,j.workspaceRefsEqual)(G,e)||ei)return;F?.prepareForWorkspaceSwitch(e);let t=O.match(/^\/teams\/([^/]+)$/)?.[1]??null;!F&&t&&(0,N.isShortId)(t)&&P.replace("team"===e.kind?`/teams/${e.teamId}`:"/teams"),V(e)},ek=e=>{F?F.openPanelItem("builtin:settings",e??null):P.push(e?`/settings/${e}`:"/settings")};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(w.DropdownMenu,{onOpenChange:e=>{e&&et(!0)},children:[(0,t.jsx)(w.DropdownMenuTrigger,{render:(0,t.jsx)("button",{type:"button",className:"touch-hit-target inl
1ine-flex size-8 shrink-0 rounded-full transition-opacity hover:opacity-90 focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-hidden","aria-label":"Account menu",disabled:e}),children:ei?(0,t.jsx)(k.Avatar,{className:"size-8",children:(0,t.jsx)(k.AvatarFallback,{children:(0,t.jsx)(u.LoaderCircle,{className:"size-4 animate-spin"})})}):(0,t.jsx)(A,{className:"size-8",imageUrl:eb,isTeam:ev,label:eS})}),(0,t.jsxs)(w.DropdownMenuContent,{align:"end",className:"w-72 p-1.5",keepMounted:ee,children:[ej?(0,t.jsx)(w.DropdownMenuGroup,{children:(0,t.jsxs)(w.DropdownMenuSub,{onOpenChange:e=>{e&&er(!0)},children:[(0,t.jsxs)(w.DropdownMenuSubTrigger,{className:"gap-3 p-2",disabled:ei,children:[(0,t.jsx)(A,{className:"size-8",imageUrl:eb,isTeam:ev,label:eS}),(0,t.jsxs)("span",{className:"min-w-0 flex-1 text-left",children:[(0,t.jsx)("span",{className:"block truncate font-medium",children:eS}),(0,t.jsx)("span",{className:"block truncate text-xs font-normal text-muted-foreground",children:ev?"Team workspace":ed})]})]}),(0,t.jsxs)(w.DropdownMenuSubContent,{className:"max-h-[min(70vh,24rem)] w-64 overflow-y-auto p-1.5",keepMounted:en,children:[(0,t.jsxs)(w.DropdownMenuGroup,{children:[(0,t.jsx)(w.DropdownMenuLabel,{children:"Switch workspace"}),(0,t.jsxs)(w.DropdownMenuItem,{className:"gap-2.5 py-2",disabled:ei,onClick:()=>ey(j.PERSONAL_WORKSPACE),children:[(0,t.jsx)(A,{className:"size-7",imageUrl:T.imageUrl,isTeam:!1,label:eu||ed}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate",children:"Personal"}),"personal"===G.kind&&(0,t.jsx)(l.Check,{className:"size-4 text-primary"})]}),eg.map(e=>{let n={kind:"team",teamId:e.id},r=(0,j.workspaceRefsEqual)(G,n),i=ex(e.clerkOrgId);return(0,t.jsxs)(w.DropdownMenuItem,{className:"gap-2.5 py-2",disabled:ei,onClick:()=>ey(n),children:[(0,t.jsx)(A,{className:"size-7",imageUrl:i?.hasImage?i.imageUrl:null,isTeam:!0,label:e.name}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate",children:e.name}),"frozen"===e.status&&(0,t.jsx)("span",{className:"text-[10px] text-muted-foreground",children:"Frozen"}),r&&(0,t.jsx)(l.Check,{className:"size-4 text-primary"})]},e.id)}),J&&(0,t.jsxs)(w.DropdownMenuItem,{className:"gap-2.5 py-2 text-muted-foreground",onClick:()=>(0,b.invalidateTeamsProductState)(T.id),children:[(0,t.jsx)(u.LoaderCircle,{className:"size-4"}),"Try loading workspaces again"]})]}),(0,t.jsx)(w.DropdownMenuSeparator,{}),q&&0===K.length&&!J?(0,t.jsxs)(w.DropdownMenuItem,{className:"gap-2.5 py-2",onClick:()=>{F?F.openPanelItem("builtin:teams",null):P.push("/teams")},children:[(0,t.jsx)(m.Plus,{className:"size-4 text-muted-foreground"}),"Create a team"]}):K.length>0?(0,t.jsxs)(w.DropdownMenuItem,{className:"gap-2.5 py-2",disabled:ei,onClick:()=>{let e="team"===G.kind?eg.find(e=>e.id===G.teamId):1===eg.length&&0===em.length?eg[0]:null,t=e?ex(e.clerkOrgId):null;if(F)return void F.openPanelItem("builtin:teams",e?encodeURIComponent(e.id):null,e?{label:e.name,imageUrl:t?.hasImage?t.imageUrl:null}:void 0);if(!e)return void P.push("/teams");let n={kind:"team",teamId:e.id};(0,j.workspaceRefsEqual)(G,n)?P.push(`/teams/${e.id}`):V(n).then(t=>{t&&P.push(`/teams/${e.id}`)})},children:[(0,t.jsx)(o.Building2,{className:"size-4 text-muted-foreground"}),1===eg.length&&0===em.length?"Manage team":"Manage teams"]}):null]})]})}):(0,t.jsx)(w.DropdownMenuGroup,{children:(0,t.jsxs)(w.DropdownMenuLabel,{className:"flex items-center gap-3 p-2",children:[(0,t.jsxs)(k.Avatar,{className:"size-9",children:[(0,t.jsx)(k.AvatarImage,{src:T.imageUrl,alt:""}),(0,t.jsx)(k.AvatarFallback,{children:ep})]}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"truncate text-sm font-medium text-foreground",children:eu}),(0,t.jsx)("p",{className:"truncate text-xs font-normal text-muted-foreground",children:ed})]})]})}),(0,t.jsx)(w.DropdownMenuSeparator,{}),(0,t.jsxs)(w.DropdownMenuItem,{className:"gap-2.5 py-2",onClick:()=>ek(),children:[(0,t.jsx)(f.Settings2,{className:"size-4 text-muted-foreground"}),"Settings"]}),(0,t.jsxs)(w.DropdownMenuItem,{className:"gap-2.5 py-2",onClick:()=>H("dark"===L?"light":"dark"),children:[(0,t.jsx)(h.Sun,{className:"size-4 text-muted-foreground dark:hidden","aria-hidden":"true"}),(0,t.jsx)(g.Moon,{className:"hidden size-4 text-muted-foreground dark:block","aria-hidden":"true"}),"Toggle theme"]}),(0,t.jsxs)(w.DropdownMenuItem,{className:"gap-2.5 py-2",onClick:B,children:[(0,t.jsx)(p.MessageCircleWarning,{className:"size-4 text-muted-foreground"}),"Bug Report / Feedback"]}),ec&&(0,t.jsxs)(w.DropdownMenuItem,{className:"gap-2.5 py-2",onClick:()=>ek("billing"),children:[(0,t.jsx)(c.CircleArrowUp,{className:"size-4 text-muted-foreground"}),el]}),(0,t.jsx)(w.DropdownMenuSeparator,{}),(0,t.jsxs)(w.DropdownMenuItem,{className:"gap-2.5 py-2",onClick:()=>Q(!0),children:[(0,t.jsx)(d.LogOut,{className:"size-4 text-muted-foreground"}),"Sign out"]})]})]}),(0,t.jsx)(I,{open:X,onOpenChange:Q})]})}],319458)},729210,e=>{"use strict";var t=e.i(943306),n=e.i(297068);let r=(0,n.createContext)(void 0),i=(0,n.createContext)(void 0);e.s(["FeedbackProvider",0,function({children:e}
1){let[s,a]=(0,n.useState)(!1),[o,l]=(0,n.useState)(!1),[c,u]=(0,n.useState)(null),d=(0,n.useCallback)(()=>{a(!0)},[]),p=(0,n.useCallback)(()=>{a(!1),l(!1)},[]),g=(0,n.useCallback)(()=>{l(!0),a(!1)},[]),m=(0,n.useCallback)(()=>{l(!1),a(!0)},[]),f=(0,n.useCallback)(()=>{u(null)},[]),h=(0,n.useCallback)(e=>{u(e),l(!1),a(!0)},[]),x=(0,n.useMemo)(()=>({isSelectionMode:o,selectMessage:h}),[o,h]),v=(0,n.useMemo)(()=>({isOpen:s,selectedMessageId:c,openDialog:d,closeDialog:p,startSelectionMode:g,cancelSelectionMode:m,clearSelection:f}),[s,c,d,p,g,m,f]);return(0,t.jsx)(r.Provider,{value:x,children:(0,t.jsx)(i.Provider,{value:v,children:e})})},"useFeedbackDialog",0,function(){let e=(0,n.use)(i);if(void 0===e)throw Error("useFeedbackDialog must be used within a FeedbackProvider");return e},"useFeedbackSelection",0,function(){let e=(0,n.use)(r);if(void 0===e)throw Error("useFeedbackSelection must be used within a FeedbackProvider");return e}])},960946,e=>{"use strict";var t=e.i(943306),n=e.i(297068),r=e.i(330749),i=e.i(92470),s=e.i(176300),a=e.i(903090),o=e.i(436168),l=e.i(809382),c=e.i(805392),u=e.i(718971),d=e.i(992509),p=e.i(839221),g=e.i(47513);let m={working:"border-border/70 bg-(--shell-item-hover) text-foreground hover:bg-(--shell-item-active)",waiting:"border-warning-outline bg-warning-soft text-warning hover:bg-warning-soft-hover",ready:"border-success-outline bg-success-soft text-success hover:bg-success-soft-hover",failed:"border-error-outline bg-error-soft text-error hover:bg-error-soft-hover"},f={working:"bg-primary motion-safe:animate-pulse",waiting:"bg-warning-solid",ready:"bg-success-solid",failed:"bg-error-solid"};function h({activity:e,className:n}){let r="working"===e.state,i=r?`${e.statusLabel}â¦`:e.statusLabel;return(0,t.jsx)(c.CrossfadeText,{value:i,animateWidth:!0,className:"max-w-full min-w-0",render:e=>(0,t.jsx)(d.TextShimmer,{as:"span",animate:r,className:n,children:e})})}let x={xs:"size-6 rounded-md",sm:"size-10 rounded-lg"},v={xs:"size-3.5",sm:"size-5"};function C({activity:e,size:n}){if(e.app)return(0,t.jsx)(a.AppIcon,{app:{id:e.app.id,name:e.app.name,image:e.app.image??void 0},size:n,showLoadingWhenGenerating:!0});let i=e.icon??r.Activity;return(0,t.jsx)("span",{"aria-hidden":"true",className:(0,p.cn)("grid shrink-0 place-items-center bg-linear-to-br from-primary to-primary/70 text-white",x[n]),children:(0,t.jsx)(i,{className:v[n],strokeWidth:2.25})})}function S({state:e}){return(0,t.jsx)("span",{className:"absolute -right-0.5 -bottom-0.5 grid size-2.5 place-items-center",children:(0,t.jsx)("span",{className:(0,p.cn)("relative size-2 rounded-full ring-2 ring-(--shell-card)",f[e])})})}function b({compact:e}){return(0,t.jsx)("svg",{"aria-hidden":"true",className:(0,p.cn)("pointer-events-none absolute -top-px -left-px h-[calc(100%+2px)] w-[calc(100%+2px)] overflow-visible",e?"live-activity-working-border-compact":"live-activity-working-border-full"),preserveAspectRatio:"none",children:(0,t.jsx)("rect",{className:"live-activity-working-border-track",x:"0.75",y:"0.75",width:"calc(100% - 1.5px)",height:"calc(100% - 1.5px)",rx:"12.75",pathLength:"100"})})}function j({activity:e,compact:r}){let[a,c]=(0,n.useState)(!1),[d,g]=(0,n.useState)(null),[f,x]=(0,n.useState)(!1),v=e=>{let t=e.onSelect();t&&"function"==typeof t.then&&(x(!0),t.finally(()=>x(!1)))},y=e.actions??[],k=e.onDismiss;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:(0,p.cn)("relative inline-flex min-w-0 items-center rounded-lg border shadow-xs transition-colors",m[e.state],r&&"bg-background"),children:["working"===e.state&&(0,t.jsx)(b,{compact:r}),(0,t.jsxs)(u.Popover,{open:a,onOpenChange:c,children:[(0,t.jsxs)(u.PopoverTrigger,{render:(0,t.jsx)("button",{type:"button","aria-label":`${e.title}: ${e.statusLabel}`,className:(0,p.cn)("inline-flex h-8 min-w-0 cursor-pointer items-center transition-colors",k?"rounded-l-lg":"rounded-lg",r?"w-8 justify-center":"max-w-[240px] gap-2 pl-1",!r&&(k?"pr-1.5":"pr-3"))}),children:[(0,t.jsxs)("span",{className:"relative shrink-0",children:[(0,t.jsx)(C,{activity:e,size:"xs"}),f?(0,t.jsx)("span",{className:"absolute -right-0.5 -bottom-0.5 grid place-items-center rounded-full bg-(--shell-card)",children:(0,t.jsx)(i.Loader2,{className:"size-3 animate-spin text-primary"})}):(0,t.jsx)(S,{state:e.state})]}),!r&&(0,t.jsx)(h,{activity:e,className:"text-xs font-medium"})]}),(0,t.jsxs)(u.PopoverContent,{align:"center",sideOffset:10,className:"w-80 p-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(C,{activity:e,size:"sm"}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"truncate text-sm font-semibold text-foreground",children:e.title}),(0,t.jsx)(h,{activity:e,className:"text-xs font-semibold"})]})]}),e.detail&&(0,t.jsx)("p",{className:"mt-3 text-sm leading-relaxed text-muted-foreground",children:e.detail}),y.length>0&&(0,t.jsx)("div",{className:"mt-4 flex items-center gap-2",children:y.map(e=>{let n=e.icon;return(0,t.jsxs)(l.Button,{size:"sm",variant:"primary"===e.variant?"default":"outline",className:"primary"===e.variant?"":"ml-auto",disabled:f,onClick:()=>{(c(!1),e.confirm)?g(e):v(e)},children:[n&&(0,t.jsx)(n,{className:"size-4"}),e.label]},e.id)})})]})]}
1),k&&(0,t.jsx)("button",{type:"button","aria-label":`Dismiss ${e.title}`,onClick:k,className:(0,p.cn)("flex h-8 shrink-0 cursor-pointer items-center rounded-r-lg text-current/60 transition-colors hover:text-current",r?"px-1":"pr-1.5 pl-0.5"),children:(0,t.jsx)(s.X,{className:"size-3.5"})})]}),d?.confirm&&(0,t.jsx)(o.AlertDialog,{open:!0,onOpenChange:e=>{e||g(null)},children:(0,t.jsxs)(o.AlertDialogContent,{children:[(0,t.jsxs)(o.AlertDialogHeader,{children:[(0,t.jsx)(o.AlertDialogTitle,{children:d.confirm.title}),(0,t.jsx)(o.AlertDialogDescription,{children:d.confirm.description})]}),(0,t.jsxs)(o.AlertDialogFooter,{children:[(0,t.jsx)(o.AlertDialogCancel,{children:"Keep building"}),(0,t.jsx)(o.AlertDialogAction,{closeOnClick:!1,onClick:()=>{g(null),v(d)},children:d.confirm.confirmLabel})]})]})})]})}e.s(["ActivityPills",0,function({compact:e=!1}){let n=(0,g.useLiveActivities)();return 0===n.length?null:(0,t.jsx)("div",{className:"flex min-w-0 items-center gap-2",children:n.map(n=>(0,t.jsx)(j,{activity:n,compact:e},n.id))})}])},903525,e=>{"use strict";var t=e.i(943306);e.s(["AppsGridIcon",0,function({className:e}){return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",role:"img","aria-hidden":"true",className:e,children:[(0,t.jsx)("path",{opacity:"0.6",d:"M2 18C2 16.4596 2 15.6893 2.34673 15.1235C2.54074 14.8069 2.80693 14.5407 3.12353 14.3467C3.68934 14 4.45956 14 6 14C7.54044 14 8.31066 14 8.87647 14.3467C9.19307 14.5407 9.45926 14.8069 9.65327 15.1235C10 15.6893 10 16.4596 10 18C10 19.5404 10 20.3107 9.65327 20.8765C9.45926 21.1931 9.19307 21.4593 8.87647 21.6533C8.31066 22 7.54044 22 6 22C4.45956 22 3.68934 22 3.12353 21.6533C2.80693 21.4593 2.54074 21.1931 2.34673 20.8765C2 20.3107 2 19.5404 2 18Z"}),(0,t.jsx)("path",{d:"M14 18C14 16.4596 14 15.6893 14.3467 15.1235C14.5407 14.8069 14.8069 14.5407 15.1235 14.3467C15.6893 14 16.4596 14 18 14C19.5404 14 20.3107 14 20.8765 14.3467C21.1931 14.5407 21.4593 14.8069 21.6533 15.1235C22 15.6893 22 16.4596 22 18C22 19.5404 22 20.3107 21.6533 20.8765C21.4593 21.1931 21.1931 21.4593 20.8765 21.6533C20.3107 22 19.5404 22 18 22C16.4596 22 15.6893 22 15.1235 21.6533C14.8069 21.4593 14.5407 21.1931 14.3467 20.8765C14 20.3107 14 19.5404 14 18Z"}),(0,t.jsx)("path",{d:"M2 6C2 4.45956 2 3.68934 2.34673 3.12353C2.54074 2.80693 2.80693 2.54074 3.12353 2.34673C3.68934 2 4.45956 2 6 2C7.54044 2 8.31066 2 8.87647 2.34673C9.19307 2.54074 9.45926 2.80693 9.65327 3.12353C10 3.68934 10 4.45956 10 6C10 7.54044 10 8.31066 9.65327 8.87647C9.45926 9.19307 9.19307 9.45926 8.87647 9.65327C8.31066 10 7.54044 10 6 10C4.45956 10 3.68934 10 3.12353 9.65327C2.80693 9.45926 2.54074 9.19307 2.34673 8.87647C2 8.31066 2 7.54044 2 6Z"}),(0,t.jsx)("path",{opacity:"0.6",d:"M14 6C14 4.45956 14 3.68934 14.3467 3.12353C14.5407 2.80693 14.8069 2.54074 15.1235 2.34673C15.6893 2 16.4596 2 18 2C19.5404 2 20.3107 2 20.8765 2.34673C21.1931 2.54074 21.4593 2.80693 21.6533 3.12353C22 3.68934 22 4.45956 22 6C22 7.54044 22 8.31066 21.6533 8.87647C21.4593 9.19307 21.1931 9.45926 20.8765 9.65327C20.3107 10 19.5404 10 18 10C16.4596 10 15.6893 10 15.1235 9.65327C14.8069 9.45926 14.5407 9.19307 14.3467 8.87647C14 8.31066 14 7.54044 14 6Z"})]})}])},805392,e=>{"use strict";var t=e.i(943306),n=e.i(297068),r=e.i(839221);e.s(["CrossfadeText",0,function({value:e,render:i,className:s,animateWidth:a=!1}
1){let[o,l]=(0,n.useState)(e),[c,u]=(0,n.useState)(null);e!==o&&(u(o),l(e)),(0,n.useEffect)(()=>{if(null===c)return;let e=window.setTimeout(()=>u(null),300);return()=>window.clearTimeout(e)},[c]);let d=(0,n.useRef)(null),p=function(e,t,r){let[i,s]=(0,n.useState)();return(0,n.useLayoutEffect)(()=>{let n=e.current;if(!t||!n)return;s(n.offsetWidth);let r="u">typeof document?document.fonts:void 0;if(!r?.ready)return;let i=!0;return r.ready.then(()=>{i&&s(n.offsetWidth)}),()=>{i=!1}},[e,t,r]),i}(d,a,o);return(0,t.jsxs)("span",{className:(0,r.cn)("relative",a&&"inline-block overflow-hidden transition-[width] ease-out",s),style:a?{width:p,transitionDuration:"300ms"}:void 0,children:[null!==c&&(0,t.jsx)("span",{"aria-hidden":"true",className:(0,r.cn)("pointer-events-none absolute inset-0 animate-fade-out",a&&"whitespace-nowrap"),style:{animationFillMode:"forwards"},children:i(c)},`out:${c}`),(0,t.jsx)("span",{ref:d,className:(0,r.cn)("animate-fade-in",a&&"inline-block whitespace-nowrap"),children:i(o)},`in:${o}`)]})}])},260756,e=>{"use strict";var t=e.i(943306),n=e.i(297068);let r=n.createContext(null);e.s(["OverlayPortalContainerProvider",0,function({container:e,children:n}){return(0,t.jsx)(r.Provider,{value:e,children:n})},"composeRefs",0,function(...e){return t=>{let n=[];for(let r of e)if(r)if("function"==typeof r){let e=r(t);"function"==typeof e&&n.push(e)}else r.current=t;if(0!==n.length)return()=>{for(let e of n)try{e()}catch{}}}},"useOverlayPortalContainer",0,function(){return n.use(r)}])},718971,e=>{"use strict";var t,n=e.i(943306),r=e.i(297068);e.s([],980365),e.i(980365);var i=e.i(832817),s=e.i(704056),a=e.i(593162),o=e.i(200622);let l=r.createContext(void 0);function c(e){let t=r.useContext(l);if(void 0===t&&!e)throw Error((0,o.default)(47));return t}var u=e.i(123334),d=e.i(649111),p=e.i(675007),g=e.i(222769),m=e.i(507679),f=e.i(904876),h=e.i(293616),x=e.i(373881),v=e.i(13536);let C={...h.popupStoreSelectors,disabled:(0,p.createSelector)(e=>e.disabled),instantType:(0,p.createSelector)(e=>e.instantType),openMethod:(0,p.createSelector)(e=>e.openMethod),openChangeReason:(0,p.createSelector)(e=>e.openChangeReason),modal:(0,p.createSelector)(e=>e.modal),focusManagerModal:(0,p.createSelector)(e=>e.focusManagerModal),stickIfOpen:(0,p.createSelector)(e=>e.stickIfOpen),titleElementId:(0,p.createSelector)(e=>e.titleElementId),descriptionElementId:(0,p.createSelector)(e=>e.descriptionElementId),openOnHover:(0,p.createSelector)(e=>e.openOnHover),closeDelay:(0,p.createSelector)(e=>e.closeDelay),hasViewport:(0,p.createSelector)(e=>e.hasViewport)};class S extends d.ReactStore{constructor(e,t,n=!1){const i={...{...(0,h.createInitialPopupStoreState)(),disabled:!1,modal:!1,focusManagerModal:!1,instantType:void 0,openMethod:null,openChangeReason:null,titleElementId:void 0,descriptionElementId:void 0,stickIfOpen:!0,nested:!1,openOnHover:!1,closeDelay:0,hasViewport:!1},...e},s=new x.PopupTriggerMap;i.open&&e?.mounted===void 0&&(i.mounted=!0),i.floatingRootContext=(0,h.createPopupFloatingRootContext)(s,t,n),super(i,{popupRef:r.createRef(),backdropRef:r.createRef(),internalBackdropRef:r.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerFocusTargetRef:r.createRef(),beforeContentFocusGuardRef:r.createRef(),stickIfOpenTimeout:new g.Timeout,triggerElements:s},C)}setOpen=(e,t)=>{let n=t.reason===m.REASONS.triggerHover,r=t.reason===m.REASONS.triggerPress&&0===t.event.detail,i=!e&&(t.reason===m.REASONS.escapeKey||null==t.reason),s=(0,f.attachPreventUnmountOnClose)(t),a=this.select("activeTriggerId");if(e||t.reason!==m.REASONS.closePress||null!=t.trigger||null==a||(t.trigger=this.context.triggerElements.getById(a)??this.select("activeTriggerElement")??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let o=()=>{let n={open:e,openChangeReason:t.reason};(0,f.setPopupOpenState)(n,e,t.trigger,s()),this.update(n)};n?(this.set("stickIfOpen",!0),this.context.stickIfOpenTimeout.start(v.PATIENT_CLICK_THRESHOLD,()=>{this.set("stickIfOpen",!1)}),u.flushSync(o)):o(),r||i?this.set("instantType",r?"click":"dismiss"):t.reason===m.REASONS.focusOut?this.set("instantType","focus"):this.set("instantType",void 0)};static useStore(e,t){let{store:n,internalStore:i}=(0,f.usePopupStore)(e,(e,n)=>new S(t,e,n));return r.useEffect(()=>i?.disposeEffect(),[i]),n}disposeEffect=()=>this.context.stickIfOpenTimeout.disposeEffect()}var b=e.i(593713),j=e.i(243832);function y({props:e}){let{children:t,open:i,defaultOpen:s=!1,onOpenChange:o,onOpenChangeComplete:c,modal:u=!1,handle:d,triggerId:p,defaultTr
1iggerId:g=null}=e,h=S.useStore(d?.store,{modal:u,open:s,openProp:i,activeTriggerId:g,triggerIdProp:p});(0,f.useInitialOpenSync)(h,i,s,g),h.useControlledProp("openProp",i),h.useControlledProp("triggerIdProp",p);let x=h.useState("open"),v=h.useState("mounted"),C=h.useState("payload"),j=null!=(0,a.useFloatingParentNodeId)();h.useContextCallback("onOpenChange",o),h.useContextCallback("onOpenChangeComplete",c),(0,f.usePopupRootSync)(h,x),(0,f.useImplicitActiveTrigger)(h);let{forceUnmount:w}=(0,f.useOpenStateTransitions)(x,h,()=>{h.update({stickIfOpen:!0,openChangeReason:null})});h.useSyncedValues({modal:u,nested:j}),r.useEffect(()=>{x||h.context.stickIfOpenTimeout.clear()},[h,x]);let N=r.useCallback(()=>{h.setOpen(!1,(0,b.createChangeEventDetails)(m.REASONS.imperativeAction))},[h]);r.useImperativeHandle(e.actionsRef,()=>({unmount:w,close:N}),[w,N]);let E=x||v,P=r.useMemo(()=>({store:h}),[h]);return(0,n.jsxs)(l.Provider,{value:P,children:[E&&(0,n.jsx)(k,{store:h,modal:u}),"function"==typeof t?t({payload:C}):t]})}function k({store:e,modal:t}){let n=e.useState("floatingRootContext"),a=(0,s.useDismiss)(n,{outsidePressEvent:{mouse:"trap-focus"===t?"sloppy":"intentional",touch:"sloppy"}}),o=a.reference??i.EMPTY_OBJECT,l=a.trigger??i.EMPTY_OBJECT,c=r.useMemo(()=>(0,j.mergeProps)(f.FOCUSABLE_POPUP_PROPS,a.floating),[a.floating]);return(0,f.usePopupInteractionProps)(e,{activeTriggerProps:o,inactiveTriggerProps:l,popupProps:c}),null}var w=e.i(173714),N=e.i(145353),E=e.i(190657),P=e.i(792917),O=e.i(895621),T=e.i(32923),R=e.i(549822),I=e.i(527461),M=e.i(350948),A=e.i(166531);let D=r.forwardRef(function(e,t){let{render:i,className:s,style:a,disabled:l=!1,nativeButton:u=!0,handle:d,payload:p,openOnHover:g=!1,delay:h=300,closeDelay:x=0,id:C,...S}=e,b=c(!0),j=d?.store??b?.store;if(!j)throw Error((0,o.default)(74));let y=(0,R.useBaseUiId)(C),k=j.useState("isTriggerActive",y),D=j.useState("floatingRootContext"),F=j.useState("isOpenedByTrigger",y),z=j.useState("triggerPopupId",y),U=r.useRef(null),{registerTrigger:B,isMountedByThisTrigger:L}=(0,f.useTriggerDataForwarding)(y,U,j,{payload:p,disabled:l,openOnHover:g,closeDelay:x}),H=j.useState("openChangeReason"),_=j.useState("stickIfOpen"),W=j.useState("openMethod"),$=j.useState("focusManagerModal"),G=(0,T.useHoverReferenceInteraction)(D,{enabled:!l&&null!=D&&g&&("touch"!==W||H!==m.REASONS.triggerPress),mouseOnly:!0,move:!1,handleClose:(0,P.safePolygon)(),restMs:h,delay:{close:x},triggerElementRef:U,isActiveTrigger:k,isClosing:()=>"ending"===j.select("transitionStatus")}),V=(0,O.useClick)(D,{enabled:null!=D,stickIfOpen:_}),K=(0,A.useOpenMethodTriggerProps)(()=>j.select("open"),e=>{j.set("openMethod",e)}),Y=j.useState("triggerProps",L),{getButtonProps:q,buttonRef:J}=(0,w.useButton)({disabled:l,native:u}),{preFocusGuardRef:Z,handlePreFocusGuardFocus:X,handleFocusTargetFocus:Q}=(0,M.useTriggerFocusGuards)(j,U),ee=(0,E.useRenderElement)("button",e,{state:{disabled:l,open:F},ref:[J,t,B,U],props:[V.reference,G,Y,K,{[v.CLICK_TRIGGER_IDENTIFIER]:"",id:y,"aria-haspopup":"dialog","aria-expanded":F,"aria-controls":z},S,q],stateAttributesMapping:{open:e=>e&&H===m.REASONS.triggerPress?N.pressableTriggerOpenStateMapping.open(e):N.triggerOpenStateMapping.open(e)}});return L&&!$?(0,n.jsxs)(r.Fragment,{children:[(0,n.jsx)(I.FocusGuard,{ref:Z,onFocus:X}),(0,n.jsx)(r.Fragment,{children:ee},y),(0,n.jsx)(I.FocusGuard,{ref:j.context.triggerFocusTargetRef,onFocus:Q})]}):(0,n.jsx)(r.Fragment,{children:ee},y)});var F=e.i(964592);let z=r.createContext(void 0),U=r.forwardRef(function(e,t){let{keepMounted:r=!1,...i}=e,{store:s}=c();return s.useState("mounted")||r?(0,n.jsx)(z.Provider,{value:r,children:(0,n.jsx)(F.FloatingPortal,{ref:t,...i})}):null});var B=e.i(816045),L=e.i(809937);let H=r.createContext(void 0);function _(){let e=r.useContext(H);if(!e)throw Error((0,o.default)(46));return e}var W=e.i(566289),$=e.i(34756),G=e.i(68839),V=e.i(434669),K=e.i(289979),Y=e.i(299155);let q=r.forwardRef(function(e,t){let{render:i,className:s,style:l,anchor:u,positionMethod:d="absolute",side:p="bottom",align:g="center",sideOffset:f=0,alignOffset:h=0,collisionBoundary:x="clipping-ancestors",collisionPadding:C=5,arrowPadding:S=5,sticky:b=!1,disableAnchorTracking:j=!1,collisionAvoidance:y=v.POPUP_COLLISION_AVOIDANCE,...k}=e,{store:w}=c(),N=function(){let e=r.useContext(z);if(void 0===e)throw Error((0,o.default)(45));return e}(),E=(0,a.useFloatingNodeId)(),P=w.useState("floatingRootContext"),O=w.useState("mounted"),T=w.useState("open"),R=w.useState("openChangeReason"),I=w.useState("activeTriggerElement"),M=w.useState("modal"),A=w.useState("openMethod"),D=w.useState("positionerElement"),F=w.useState("instantType"),U=w.useState("transitionStatus"),_=w.useState("hasViewport"),q=r.useRef(null),J=(0,G.useAnimationsFinished)(D,!1,!1),Z=(0,W.useAnchorPositioning)({anchor:u,floatingRootContext:P,positionMethod:d,mounted:O,side:p,sideOffset:f,align:g,alignOffset:h,arrowPadding:S,collisionBoundary:x,collisionPadding:C,sticky:b,disableAnchorTracking:j,keepMounted:N,nodeId:E,collisionAvoidance:y,adaptiveOrigin:_?V.adaptiveOrigin:void 0}),X=P.useState("domReferenceElement");(0,L.useIsoLayoutEffect)(()=>{let e=q.current;if(X&&(q.current=X),e&&X&&X!==e){w.set("instantType",void 0);let e=new AbortController;return J(()=>{w.set("instantType","trigger-change")},e.signal),()=>{e.abort()}}},[X,J,w]),(0,Y.useAnchoredPopupScrollLock)(T&&!0===M&&R!==m.REASONS.triggerHover,"touch"===A,D,I);let Q=r.useCallback(e=>{w.set("positionerElement",e)},[w]),ee={open:T,side:Z.side,align:Z.align,anchorHidden:Z.anchorHidden,instant:F},et=(0,K.usePositioner)(e,ee,{styles:Z.positionerStyles,transitionStatus:U,props:k,refs:[t,Q],hidden:!O,inert:!T});return(0,n.jsxs)(H.Provider,{value:Z,children:[O&&!0===M&&R!==m.REASONS.triggerHover&&(0,n.jsx)($.InternalBackdrop,{ref:w.context.
1internalBackdropRef,inert:(0,B.inertValue)(!T),cutout:I}),(0,n.jsx)(a.FloatingNode,{id:E,children:et})]})});var J=e.i(880269),Z=e.i(103435),X=e.i(202079),Q=e.i(487811),ee=e.i(752080),et=e.i(306733),en=e.i(606091),er=e.i(728615),ei=e.i(114396);let es=r.createContext(void 0);function ea(e){let{value:t,children:r}=e;return(0,n.jsx)(es.Provider,{value:t,children:r})}let eo={...N.popupStateMapping,...Q.transitionStatusMapping},el=r.forwardRef(function(e,t){let{render:i,className:s,style:a,initialFocus:o,finalFocus:l,...u}=e,{store:d}=c(),p=_(),g=null!=(0,en.useToolbarRootContext)(!0),{context:h,hasClosePart:x}=function(){let[e,t]=r.useState(0),n=(0,ei.useStableCallback)(()=>(t(e=>e+1),()=>{t(e=>Math.max(0,e-1))}));return{context:r.useMemo(()=>({register:n}),[n]),hasClosePart:e>0}}(),v=d.useState("open"),C=d.useState("openMethod"),S=d.useState("instantType"),b=d.useState("transitionStatus"),j=d.useState("popupProps"),y=d.useState("titleElementId"),k=d.useState("descriptionElementId"),w=d.useState("modal"),N=d.useState("mounted"),P=d.useState("openChangeReason"),O=d.useState("activeTriggerElement"),T=d.useState("floatingRootContext"),R=T.useState("floatingId"),I=d.useState("disabled"),M=d.useState("openOnHover"),A=d.useState("closeDelay"),D=u.id??R;(0,ee.useOpenChangeComplete)({open:v,ref:d.context.popupRef,onComplete(){v&&d.context.onOpenChangeComplete?.(!0)}}),(0,X.useHoverFloatingInteraction)(T,{enabled:M&&!I,closeDelay:A});let F=void 0===o?(0,f.createDefaultInitialFocus)(d.context.popupRef):o,z=!1!==w&&x;d.useSyncedValue("focusManagerModal",z);let U=r.useCallback(e=>{d.set("popupElement",e)},[d]),B={open:v,side:p.side,align:p.align,instant:S,transitionStatus:b},L=(0,E.useRenderElement)("div",e,{state:B,ref:[t,d.context.popupRef,U],props:[j,{id:D,role:"dialog",...f.FOCUSABLE_POPUP_PROPS,"aria-labelledby":y,"aria-describedby":k,onKeyDown(e){g&&et.COMPOSITE_KEYS.has(e.key)&&e.stopPropagation()}},(0,er.getDisabledMountTransitionStyles)(b),u],stateAttributesMapping:eo});return(0,n.jsx)(Z.FloatingFocusManager,{context:T,openInteractionType:C,modal:z,disabled:!N||P===m.REASONS.triggerHover,initialFocus:F,returnFocus:l,restoreFocus:"popup",previousFocusableElement:(0,J.isHTMLElement)(O)?O:void 0,nextFocusableElement:d.context.triggerFocusTargetRef,beforeContentFocusGuardRef:d.context.beforeContentFocusGuardRef,children:(0,n.jsx)(ea,{value:h,children:L})})}),ec=r.forwardRef(function(e,t){let{render:n,className:r,style:i,...s}=e,{store:a}=c(),o=a.useState("open"),{arrowRef:l,side:u,align:d,arrowUncentered:p,arrowStyles:g}=_();return(0,E.useRenderElement)("div",e,{state:{open:o,side:u,align:d,uncentered:p},ref:[t,l],props:[{style:g,"aria-hidden":!0},s],stateAttributesMapping:N.popupStateMapping})}),eu={...N.popupStateMapping,...Q.transitionStatusMapping},ed=r.forwardRef(function(e,t){let{render:n,className:r,style:i,...s}=e,{store:a}=c(),o=a.useState("open"),l=a.useState("mounted"),u=a.useState("transitionStatus"),d=a.useState("openChangeReason");return(0,E.useRenderElement)("div",e,{state:{open:o,transitionStatus:u},ref:[a.context.backdropRef,t],props:[{role:"presentation",hidden:!l,style:{pointerEvents:d===m.REASONS.triggerHover?"none":void 0,userSelect:"none",WebkitUserSelect:"none"}},s],stateAttributesMapping:eu})}),ep=r.forwardRef(function(e,t){let{render:n,className:r,style:i,...s}=e,{store:a}=c(),o=(0,R.useBaseUiId)(s.id);return a.useSyncedValueWithCleanup("titleElementId",o),(0,E.useRenderElement)("h2",e,{ref:t,props:[{id:o},s]})}),eg=r.forwardRef(function(e,t){let{render:n,className:r,style:i,...s}=e,{store:a}=c(),o=(0,R.useBaseUiId)(s.id);return a.useSyncedValueWithCleanup("descriptionElementId",o),(0,E.useRenderElement)("p",e,{ref:t,props:[{id:o},s]})}),em=r.forwardRef(function(e,t){let n,{render:i,className:s,style:a,disabled:o=!1,nativeButton:l=!0,...u}=e,{buttonRef:d,getButtonProps:p}=(0,w.useButton)({disabled:o,focusableWhenDisabled:!1,native:l}),{store:g}=c();return n=r.useContext(es),(0,L.useIsoLayoutEffect)(()=>n?.register(),[n]),(0,E.useRenderElement)("button",e,{ref:[t,d],props:[{onClick(e){g.setOpen(!1,(0,b.createChangeEventDetails)(m.REASONS.closePress,e.nativeEvent))}},u,p]})}),ef=((t={}).popupWidth="--popup-width",t.popupHeight="--popup-height",t);var eh=e.i(893789);let ex={activationDirection:e=>e?{"data-activation-direction":e}:null},ev=r.forwardRef(function(e,t){let{render:n,className:r,style:i,children:s,...a}=e,{store:o}=c(),{side:l}=_(),u=o.useState("instantType"),{children:d,state:p}=(0,eh.usePopupViewport)({store:o,side:l,cssVars:ef,children:s}),g={activationDirection:p.activationDirection,transitioning:p.transitioning,instant:u};return(0,E.useRenderElement)("div",e,{state:g,ref:t,props:[a,{children:d}],stateAttributesMapping:ex})});class eC{constructor(){this.store=new S}open(e){let t=e?this.store.context.triggerElements.getById(e)??void 0:void 0;if(e&&!t)throw Error((0,o.default)(80,e));this.store.setOpen(!0,(0,b.createChangeEventDetails)(m.REASONS.imperativeAction,void 0,t))}close(){this.store.setOpen(!1,(0,b.createChangeEventDetails)(m.REASONS.imperativeAction,void 0,void 0))}get isOpen(){return this.store.select("open")}}e.s(["Arrow",0,ec,"Backdrop",0,ed,"Close",0,em,"Description",0,eg,"Handle",0,eC,"Popup",0,el,"Portal",0,U,"Positioner",0,q,"Root",0,function(e){return c(!0)?(0,n.jsx)(y,{props:e}):(0,n.jsx)(a.FloatingTree,{children:(0,n.jsx)(y,{props:e})})},"Title",0,ep,"Trigger",0,D,"Viewport",0,ev,"createHandle",0,function(){return new eC}],390524);var eS=e.i(390524),eS=eS,eb=e.i(260756),ej=e.i(839221);let ey=r.forwardRef(({className:e,align:t="center",alignOffset:r=0,side:i="bottom",sideOffset:s=4,portalContainer:a,portalKeepMounted:o=!1,...l},c)=>{let u=(0,eb.useOverlayPortalContainer)();return(0,n.jsx)(eS.Portal,{container:a??u??void 0,keepMounted:o,children:(0,n.jsx)(eS.Positioner,{align:t,alignOffset:r,side:i,sideOffset:s,className:"isolate z-70",children:(0,n.jsx)(eS.Popup,{ref:c,"data-slot":"popover-content","data-surface":"",className:(0,ej.cn)("w-72 origin-(--transform-origin) rounded-2xl bg-dropdown p-4 text-sm text-popover-foreground shadow-(--glass-shadow) ring-1 ring-foreground
1/10 outline-hidden backdrop-blur-2xl duration-100 data-closed:animate-out data-closed:fade-out-0 data-closed:fill-mode-forwards data-closed:zoom-out-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...l})})})});ey.displayName="PopoverContent",e.s(["Popover",0,function({...e}){return(0,n.jsx)(eS.Root,{...e})},"PopoverContent",0,ey,"PopoverDescription",0,function({className:e,...t}){return(0,n.jsx)(eS.Description,{"data-slot":"popover-description",className:(0,ej.cn)("text-muted-foreground",e),...t})},"PopoverHeader",0,function({className:e,...t}){return(0,n.jsx)("div",{"data-slot":"popover-header",className:(0,ej.cn)("flex flex-col gap-1 text-sm",e),...t})},"PopoverTitle",0,function({className:e,...t}){return(0,n.jsx)(eS.Title,{"data-slot":"popover-title",className:(0,ej.cn)("font-medium",e),...t})},"PopoverTrigger",0,function({...e}){return(0,n.jsx)(eS.Trigger,{"data-slot":"popover-trigger",...e})}],718971)},830485,e=>{"use strict";var t=e.i(943306),n=e.i(297068),r=e.i(174410),i=e.i(775278),s=e.i(664869),a=e.i(138596),o=e.i(280845),l=e.i(809382),c=e.i(718971);let u=["maintenance","degraded","outage","provider"],d={maintenance:{message:"Scheduled maintenance in progress. Some features may be temporarily unavailable.",icon:o.Wrench,className:"bg-info-soft text-info",iconClassName:"text-info-muted"},degraded:{message:"Responses may be slower than usual. We're working on it.",icon:s.Clock,className:"bg-warning-soft text-warning",iconClassName:"text-warning-muted"},outage:{message:"We're experiencing issues and actively working to resolve them.",icon:i.AlertTriangle,className:"bg-error-soft text-error",iconClassName:"text-error-muted"},provider:{message:"Our AI provider is experiencing issues. Responses may be delayed or fail.",icon:a.Cloud,className:"bg-warning-soft text-warning",iconClassName:"text-warning-muted"}};e.s(["ServiceStatusBanner",0,function({mobile:e}){let i=(0,n.useSyncExternalStore)(()=>()=>{},()=>{let e=function(e){if("u"<typeof document)return null;let t=`; ${document.cookie}`.split(`; ${e}=`);return 2===t.length?t.pop()?.split(";").shift()??null:null}("service-status");return e&&u.includes(e)?e:null},()=>null),[s,a]=(0,n.useState)(!1);if(!i)return null;let o=d[i],p=o.icon;return e?(0,t.jsx)("div",{className:"md:hidden",children:(0,t.jsxs)(c.Popover,{open:s,onOpenChange:a,children:[(0,t.jsx)(c.PopoverTrigger,{render:(0,t.jsx)(l.Button,{variant:"ghost",size:"icon-sm",className:`rounded-full ${o.className}`,"aria-label":"Service status"}),children:(0,t.jsx)(r.AlertCircle,{className:`h-4 w-4 ${o.iconClassName}`})}),(0,t.jsx)(c.PopoverContent,{className:`w-72 ${o.className} border-0`,align:"end",sideOffset:8,children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(p,{className:`h-4 w-4 shrink-0 ${o.iconClassName}`}),(0,t.jsx)("p",{className:"text-sm",children:o.message})]})})]})}):(0,t.jsxs)("div",{className:`flex items-center gap-2 rounded-lg px-3 py-1.5 text-xs font-medium ${o.className}`,children:[(0,t.jsx)(p,{className:`h-3.5 w-3.5 ${o.iconClassName}`}),(0,t.jsx)("span",{children:o.message})]})}])},992509,e=>{"use strict";var t=e.i(943306),n=e.i(297068),r=e.i(839221);e.s(["TextShimmer",0,function({children:e,as:i="p",className:s,duration:a=2,spread:o=2,animate:l=!0}){let c=(0,n.useRef)(null),u=e.length*o;return(0,n.useEffect)(()=>{let e=c.current;if(!e||"function"!=typeof e.animate||!l)return;let t=e.animate([{backgroundPosition:"100% center"},{backgroundPosition:"0% center"}],{duration:1e3*a,iterations:1/0,easing:"linear"});return()=>{t.cancel()}},[a,l]),(0,t.jsx)(i,{ref:c,className:(0,r.cn)("text-shimmer relative inline-block bg-size-[250%_100%,auto] bg-clip-text","text-transparent [--base-color:var(--muted-foreground)] [--base-gradient-color:var(--foreground)]","[background-repeat:no-repeat,padding-box] [--bg:linear-gradient(90deg,transparent_calc(50%-var(--spread)),var(--base-gradient-color),transparent_calc(50%+var(--spread)))]",s),style:{"--spread":`${u}px`,backgroundImage:"var(--bg), linear-gradient(var(--base-color), var(--base-color))",backgroundPosition:"100% center"},children:e})}])},606091,e=>{"use strict";var t=e.i(200622),n=e.i(297068);let r=n.createContext(void 0);e.s(["useToolbarRootContext",0,function(e){let i=n.useContext(r);if(void 0===i&&!e)throw Error((0,t.default)(69));return i}])},293616,e=>{"use strict";var t=e.i(675007),n=e.i(832817),r=e.i(599840),i=e.i(373881);let s=(0,t.createSelector)(e=>e.triggerIdProp??e.activeTriggerId),a=(0,t.createSelector)(e=>e.openProp??e.open),o=(0,t.createSelector)(e=>(e.popupElement?.id??e.floatingId)||void 0);function l(e,t){return void 0!==t&&a(e)&&s(e)===t}let c={open:a,mounted:(0,t.createSelector)(e=>e.mounted),transitionStatus:(0,t.createSelector)(e=>e.transitionStatus),floatingRootContext:(0,t.createSelector)(e=>e.floatingRootContext),triggerCount:(0,t.createSelector)(e=>e.triggerCount),preventUnmountingOnClose:(0,t.createSelector)(e=>e.preventUnmountingOnClose),payload:(0,t.createSelector)(e=>e.payload),activeTriggerId:s,activeTriggerElement:(0,t.createSelector)(e=>e.mounted?e.activeTriggerElement:null),popupId:o,isTriggerActive:(0,t.createSelector)((e,t)=>void 0!==t&&s(e)===t),isOpenedByTrigger:(0,t.createSelector)((e,t)=>l(e,t)),isMountedByTrigger:(0,t.createSelector)((e,t)=>void 0!==t&&s(e)===t&&e.mounted),triggerProps:(0,t.createSelector)((e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps),triggerPopupId:(0,t.createSelector)((e,t)=>l(e,t)||void 0!==t&&a(e)&&null==s(e)&&1===e.triggerCount?o(e):void 0),popupProps:(0,t.createSelector)(e=>e.popupProps),popupElement:(0,t.createSelector)(e=>e.popupElement),positionerElement:(0,t.createSelector)(e=>e.positionerElement)};e.s(["createInitialPopupStoreState",0,function(){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new r.FloatingRootStore({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:new i.PopupTriggerMap,floatingId:void 0,syncOnly:!1,nested:!1,onOpenChange:void 0}),floatingId:void 0,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:n.EMPTY_OBJECT,inactiveTriggerProps:n.EMPTY_OBJECT,popupProps:n.EMPTY_OBJECT}},"createPopupFloatingRootContext",0,function(e,t,n=!1){return new r.FloatingRootStore({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:n,onOpenChange:void 0})},"popupStoreSelectors",0,c],293616)},350948,e=>{"use strict";var t=e.i(297068),n=e.i(123334),r=e.i(804652),i=e.i(818920),s=e.i(593713),a=e.i(507679);e.s(["useTriggerFocusGuards",0,function(e,o){let l=t.useRef(null);return{preFocusGuardRef:l,handlePreFocusGuardFocus:function(t){n.flushSync(()=>{e.setOpen(!1,(0,s.createChangeEventDetails)(a.REASONS.focusOut,t.nativeEvent,t.currentTarget))});let r=(0,i.getTabbableBeforeElement)(l.current);r?.focus()},handleFocusTargetFocus:function(t){let l=e.select("positionerElement");
1if(l&&(0,i.isOutsideEvent)(t,l))e.context.beforeContentFocusGuardRef.current?.focus();else{n.flushSync(()=>{e.setOpen(!1,(0,s.createChangeEventDetails)(a.REASONS.focusOut,t.nativeEvent,t.currentTarget))});let c=(0,i.getTabbableAfterElement)(e.context.triggerFocusTargetRef.current||o.current);for(;null!==c&&(0,r.contains)(l,c);){let e=c;if((c=(0,i.getNextTabbable)(c))===e)break}c?.focus()}}}}])},299155,e=>{"use strict";var t=e.i(297068),n=e.i(595410),r=e.i(15320),i=e.i(809937);e.s(["useAnchoredPopupScrollLock",0,function(e,s,a,o){let[l,c]=t.useState(!1);(0,i.useIsoLayoutEffect)(()=>{if(!e||!s||null==a)return void c(!1);let t=(0,n.ownerDocument)(a).documentElement.clientWidth,r=a.offsetWidth;c(t>0&&r>0&&r>=t-20)},[e,s,a]),(0,r.useScrollLock)(e&&(!s||l),o)}])},174410,e=>{"use strict";var t=e.i(778083);e.s(["AlertCircle",()=>t.default])},895954,511661,e=>{"use strict";var t=e.i(820750);let n=(0,t.default)("circle-arrow-up",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}]]);e.s(["default",0,n],895954);let r=(0,t.default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);e.s(["default",0,r],511661)},344883,e=>{"use strict";var t=e.i(895954);e.s(["CircleArrowUp",()=>t.default])},6245,e=>{"use strict";let t=(0,e.i(820750).default)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);e.s(["default",0,t])},664869,e=>{"use strict";var t=e.i(6245);e.s(["Clock",()=>t.default])},964349,e=>{"use strict";let t=(0,e.i(820750).default)("cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);e.s(["default",0,t])},138596,e=>{"use strict";var t=e.i(964349);e.s(["Cloud",()=>t.default])},335922,917213,e=>{"use strict";var t=e.i(526515);e.s(["LoaderCircle",()=>t.default],335922);var n=e.i(511661);e.s(["LogOut",()=>n.default],917213)},341545,e=>{"use strict";let t=(0,e.i(820750).default)("message-circle-warning",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);e.s(["default",0,t])},705626,e=>{"use strict";let t=(0,e.i(820750).default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);e.s(["default",0,t])},753648,e=>{"use strict";var t=e.i(705626);e.s(["Moon",()=>t.default])},776086,e=>{"use strict";let t=(0,e.i(820750).default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);e.s(["default",0,t])},243224,e=>{"use strict";var t=e.i(776086);e.s(["Sun",()=>t.default])},775278,e=>{"use strict";var t=e.i(780053);e.s(["AlertTriangle",()=>t.default])}]); 2 3//# chunkId=01a0804f-8403-7433-b10c-4f792fd0a847
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.