1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return u},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,i(e));else t.set(r,i(n));return t}function u(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return l},urlObjectKeys:function(){return u}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(90809)._(e.r(98183)),i=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",s=e.hash||"",u=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:r&&(l=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(l+=":"+e.port)),u&&"object"==typeof u&&(u=String(a.urlQueryToSearchParams(u)));let d=e.search||u&&`?${u}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==l?(l="//"+(l||""),o&&"/"!==o[0]&&(o="/"+o)):l||(l=""),s&&"#"!==s[0]&&(s="#"+s),d&&"?"!==d[0]&&(d="?"+d),o=o.replace(/[?#]/g,encodeURIComponent),d=d.replace("#","%23"),`${n}${l}${o}${d}${s}`}let u=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return s(e)}},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(71645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("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)},18967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return b},MiddlewareNotFoundError:function(){return j},MissingStaticPage:function(){return y},NormalizeError:function(){return v},PageNotFoundError:function(){return x},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return a},execOnce:function(){return i},getDisplayName:function(){return c},getLocationOrigin:function(){return l},getURL:function(){return d},isAbsoluteUrl:function(){return u},isResSent:function(){return f},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return k}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>s.test(e);function l(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function d(){let{href:e}=window.location,t=l();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 n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${c(e)}.getInitialProps()" should resolve to an object. But found "${n}
1" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class b extends Error{}class v extends Error{}class x 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 j extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function k(e){return JSON.stringify({message:e.message,stack:e.stack})}},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(18967),o=e.r(52817);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return b},useLinkStatus:function(){return x}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(90809),i=e.r(18050),s=a._(e.r(71645)),u=e.r(95057),l=e.r(8372),d=e.r(18581),c=e.r(18967),f=e.r(5550);e.r(33525);let p=e.r(91949),h=e.r(73668),m=e.r(9396);function g(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}function b(t){var r;let n,o,a,[u,b]=(0,s.useOptimistic)(p.IDLE_LINK_STATUS),x=(0,s.useRef)(null),{href:y,as:j,children:k,prefetch:w=null,passHref:N,replace:P,shallow:C,scroll:E,onClick:O,onMouseEnter:_,onTouchStart:S,legacyBehavior:z=!1,onNavigate:T,ref:M,unstable_dynamicOnHover:B,...R}=t;n=k,z&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let L=s.default.useContext(l.AppRouterContext),A=!1!==w,D=!1!==w?null===(r=w)||"auto"===r?m.FetchStrategy.PPR:m.FetchStrategy.Full:m.FetchStrategy.PPR,{href:U,as:I}=s.default.useMemo(()=>{let e=g(y);return{href:e,as:j?g(j):e}},[y,j]);if(z){if(n?.$$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});o=s.default.Children.only(n)}let $=z?o&&"object"==typeof o&&o.ref:M,K=s.default.useCallback(e=>(null!==L&&(x.current=(0,p.mountLinkInstance)(e,U,L,D,A,b)),()=>{x.current&&((0,p.unmountLinkForCurrentNavigation)(x.current),x.current=null),(0,p.unmountPrefetchableInstance)(e)}),[A,U,L,D,b]),F={ref:(0,d.useMergedRef)(K,$),onClick(t){z||"function"!=typeof O||O(t),z&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!L||t.defaultPrevented||function(t,r,n,o,a,i,u){if("u">typeof window){let l,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((l=t.currentTarget.getAttribute("target"))&&"_self"!==l||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),u){let e=!1;if(u({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:c}=e.r(99781);s.default.startTransition(()=>{c(n||r,a?"replace":"push",i??!0,o.current)})}}(t,U,I,x,P,E,T)},onMouseEnter(e){z||"function"!=typeof _||_(e),z&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),L&&A&&(0,p.onNavigationIntent)(e.currentTarget,!0===B)},onTouchStart:function(e){z||"function"!=typeof S||S(e),z&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),L&&A&&(0,p.onNavigationIntent)(e.currentTarget,!0===B)}};return(0,c.isAbsoluteUrl)(I)?F.href=I:z&&!N&&("a"!==o.type||"href"in o.props)||(F.href=(0,f.addBasePath)(I)),a=z?s.default.cloneElement(o,F):(0,i.jsx)("a",{...R,...F,children:n}),(0,i.jsx)(v.Provider,{value:u,children:a})}e.r(84508);let v=(0,s.createContext)(p.IDLE_LINK_STATUS),x=()=>(0,s.useContext)(v);("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)},75254,e=>{"use strict";var t=e.i(71645);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,t.forwardRef)(({color:e="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:i,className:s="",children:u,iconNode:l,...d},c)=>(0,t.createElement)("svg",{ref:c,...o,width:n,height:n,stroke:e,strokeWidth:i?24*Number(a)/Number(n):a,className:r("lucide",s),...!u&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...l.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(u)?u:[u]])),i=(e,o)=>{let i=(0,t.forwardRef)(({className:i,...s},u)=>(0,t.createElement)(a,{ref:u,iconNode:o,className:r(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,i),...s}));return i.displayName=n(e),i};e.s(["default",()=>i],75254)},72472,54694,91730,e=>{"use strict";e.i(47167);var t=e.i(71645),r=e.i(29315),n=e.i(76477),o=e.i(977),a=e.i(19805),i=e.i(67805);let s=t.createContext(void 0);function u(e=!1){let r=t.useContext(s);if(void 0===r&&!e)throw Error((0,i.default)(16));return r}function l(e={}){let{disabled:i=!1,focusableWhenDisabled:s,tabIndex:d=0,native:c=!0}
1=e,f=t.useRef(null),p=void 0!==u(!0),h=(0,n.useStableCallback)(()=>{let e=f.current;return!!(e?.tagName==="A"&&e?.href)}),{props:m}=function(e){let{focusableWhenDisabled:r,disabled:n,composite:o=!1,tabIndex:a=0,isNativeButton:i}=e,s=o&&!1!==r,u=o&&!1===r;return{props:t.useMemo(()=>{let e={onKeyDown(e){n&&r&&"Tab"!==e.key&&e.preventDefault()}};return o||(e.tabIndex=a,!i&&n&&(e.tabIndex=r?a:-1)),(i&&(r||s)||!i&&n)&&(e["aria-disabled"]=n),i&&(!r||u)&&(e.disabled=n),e},[o,n,r,s,u,i,a])}}({focusableWhenDisabled:s,disabled:i,composite:p,tabIndex:d,isNativeButton:c}),g=t.useCallback(()=>{var e;let t=f.current;e=t,(0,r.isHTMLElement)(e)&&"BUTTON"===e.tagName&&p&&i&&void 0===m.disabled&&t.disabled&&(t.disabled=!1)},[i,m.disabled,p]);return(0,o.useIsoLayoutEffect)(g,[g]),{getButtonProps:t.useCallback((e={})=>{let{onClick:t,onMouseDown:r,onKeyUp:n,onKeyDown:o,onPointerDown:s,...u}=e,l=c?"button":void 0;return(0,a.mergeProps)({type:l,onClick(e){i?e.preventDefault():t?.(e)},onMouseDown(e){i||r?.(e)},onKeyDown(e){if(i||((0,a.makeEventPreventable)(e),o?.(e)),e.baseUIHandlerPrevented)return;let r=e.target===e.currentTarget&&!c&&!h()&&!i,n="Enter"===e.key,s=" "===e.key;r&&((s||n)&&e.preventDefault(),n&&t?.(e))},onKeyUp(e){i||((0,a.makeEventPreventable)(e),n?.(e)),!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||c||i||" "!==e.key||t?.(e))},onPointerDown(e){i?e.preventDefault():s?.(e)}},c?void 0:{role:"button"},m,u)},[i,m,c,h]),buttonRef:(0,n.useStableCallback)(e=>{f.current=e,g()})}}e.s(["useCompositeRootContext",()=>u],54694),e.s(["useButton",()=>l],91730);var d=e.i(27601);let c=t.forwardRef(function(e,t){let{render:r,className:n,disabled:o=!1,focusableWhenDisabled:a=!1,nativeButton:i=!0,...s}=e,{getButtonProps:u,buttonRef:c}=l({disabled:o,focusableWhenDisabled:a,native:i});return(0,d.useRenderElement)("button",e,{state:{disabled:o},ref:[t,c],props:[s,u]})});e.s(["Button",0,c],72472)},25913,e=>{"use strict";var t=e.i(7670);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=t.clsx;e.s(["cva",0,(e,t)=>o=>{var a;if((null==t?void 0:t.variants)==null)return n(e,null==o?void 0:o.class,null==o?void 0:o.className);let{variants:i,defaultVariants:s}=t,u=Object.keys(i).map(e=>{let t=null==o?void 0:o[e],n=null==s?void 0:s[e];if(null===t)return null;let a=r(t)||r(n);return i[e][a]}),l=o&&Object.entries(o).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return n(e,u,null==t||null==(a=t.compoundVariants)?void 0:a.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...l}[t]):({...s,...l})[t]===r})?[...e,r,n]:e},[]),null==o?void 0:o.class,null==o?void 0:o.className)}])},19455,e=>{"use strict";var t=e.i(18050),r=e.i(72472),n=e.i(25913),o=e.i(75157);let a=(0,n.cva)("focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:ring-3 disabled:pointer-events-none disabled:opacity-50 aria-invalid:ring-3 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50 aria-expanded:bg-muted aria-expanded:text-foreground shadow-xs",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground dark:hover:bg-muted/50 aria-expanded:bg-muted aria-expanded:text-foreground",destructive:"bg-destructive/10 hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/20 text-destructive focus-visible:border-destructive/40 dark:hover:bg-destructive/30",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 gap-1.5 px-2.5 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),8px)] px-2 text-xs in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-8 gap-1 rounded-[min(var(--radius-md),10px)] px-2.5 in-data-[slot=button-group]:rounded-md has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5",lg:"h-10 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3",icon:"size-9","icon-xs":"size-6 rounded-[min(var(--radius-md),8px)] in-data-[slot=button-group]:rounded-md [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-8 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-md","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function i({className:e,variant:n="default",size:i="default",...s}){return(0,t.jsx)(r.Button,{"data-slot":"button",className:(0,o.cn)(a({variant:n,size:i,className:e})),...s})}e.s(["Button",()=>i,"buttonVariants",()=>a])},37727,e=>{"use strict";var t=e.i(41947);e.s(["X",()=>t.default])},31865,e=>{"use strict";var t=e.i(18050),r=e.i(71645),n=e.i(22016),o=e.i(99004),a=e.i(92270);let i=(0,e.i(75254).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var s=e.i(91799),u=e.i(97250),l=e.i(37727),d=e.i(63178),c=e.i(19455),f=e.i(55146),p=e.i(75157);function h({variant:e="default"}){let{user:a,loading:f,signOut:h}=(0,o.useAuth)(),{resolvedTheme:g,setTheme:b}=(0,d.useTheme)(),[v,x]=(0,r.useState)(!1),[y,j]=(0,r.useState)(!1),[k,w]=(0,r.useState)(!1);(0,r.useEffect)(()=>x(!0),[]);let N=v&&"dark"===g,P=N?"Switch to light mode":"Switch to dark mode",C=N?u.Sun:s.Moon;(0,r.useEffect)(()=>
1{if("chat"!==e)return window.addEventListener("scroll",t,{passive:!0}),t(),()=>window.removeEventListener("scroll",t);function t(){j(window.scrollY>8)}},[e]),(0,r.useEffect)(()=>(k?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[k]);let E="chat"===e,O=a?(a.firstName?.[0]??a.email[0]??"?").toUpperCase():null;return(0,t.jsxs)("header",{"data-slot":"sticky-header",className:(0,p.cn)("fixed inset-x-0 top-0 z-50 transition-[background-color,backdrop-filter] duration-200",E?"bg-sidebar border-sidebar-border border-b":y?"border-border/50 bg-background/80 border-b backdrop-blur-lg":"bg-transparent"),children:[(0,t.jsxs)("nav",{className:"mx-auto flex h-14 max-w-6xl items-center justify-between px-4 sm:px-6 lg:px-8",children:[(0,t.jsx)(n.default,{href:"/",className:"text-foreground text-lg font-semibold tracking-tight",children:"VizWhiz"}),(0,t.jsxs)("div",{className:"hidden items-center gap-2 sm:flex",children:[(0,t.jsx)(c.Button,{variant:"ghost",size:"sm",nativeButton:!1,render:(0,t.jsx)(n.default,{href:"/chat"}),children:"Chat"}),(0,t.jsx)(c.Button,{variant:"ghost",size:"sm",nativeButton:!1,render:(0,t.jsx)(n.default,{href:"/pricing"}),children:"Pricing"}),(0,t.jsx)(c.Button,{variant:"ghost",size:"icon-sm",onClick:()=>b(N?"light":"dark"),"aria-label":P,children:v?(0,t.jsx)(C,{className:"size-4"}):(0,t.jsx)("span",{className:"size-4"})}),!f&&(a?(0,t.jsx)(m,{initial:O,name:[a.firstName,a.lastName].filter(Boolean).join(" ")||null,email:a.email,onSignOut:h}):(0,t.jsx)(c.Button,{size:"sm",nativeButton:!1,render:(0,t.jsx)(n.default,{href:"/chat"}),children:"Sign In"}))]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 sm:hidden",children:[(0,t.jsx)(c.Button,{variant:"ghost",size:"icon-sm",onClick:()=>b(N?"light":"dark"),"aria-label":P,children:v?(0,t.jsx)(C,{className:"size-4"}):(0,t.jsx)("span",{className:"size-4"})}),!f&&a&&(0,t.jsx)(m,{initial:O,name:[a.firstName,a.lastName].filter(Boolean).join(" ")||null,email:a.email,onSignOut:h}),(0,t.jsx)(c.Button,{variant:"ghost",size:"icon-sm",onClick:()=>w(!k),"aria-label":k?"Close menu":"Open menu","aria-expanded":k,children:k?(0,t.jsx)(l.X,{className:"size-4"}):(0,t.jsx)(i,{className:"size-4"})})]})]}),k&&(0,t.jsx)("div",{className:"border-border/50 bg-background/95 border-t backdrop-blur-lg sm:hidden",children:(0,t.jsxs)("div",{className:"flex flex-col gap-1 px-4 py-3",children:[(0,t.jsx)(c.Button,{variant:"ghost",size:"sm",className:"justify-start",nativeButton:!1,render:(0,t.jsx)(n.default,{href:"/chat"}),onClick:()=>w(!1),children:"Chat"}),(0,t.jsx)(c.Button,{variant:"ghost",size:"sm",className:"justify-start",nativeButton:!1,render:(0,t.jsx)(n.default,{href:"/pricing"}),onClick:()=>w(!1),children:"Pricing"}),!f&&!a&&(0,t.jsx)(c.Button,{size:"sm",nativeButton:!1,render:(0,t.jsx)(n.default,{href:"/chat"}),onClick:()=>w(!1),children:"Sign In"})]})})]})}function m({initial:e,name:r,email:n,onSignOut:o}){return(0,t.jsxs)(f.DropdownMenu,{children:[(0,t.jsx)(f.DropdownMenuTrigger,{className:"bg-primary text-primary-foreground flex size-8 items-center justify-center rounded-full text-xs font-medium focus:outline-none","aria-label":"User menu",children:e}),(0,t.jsx)(f.DropdownMenuContent,{align:"end",sideOffset:8,className:"min-w-56",children:(0,t.jsxs)(f.DropdownMenuGroup,{children:[(0,t.jsxs)(f.DropdownMenuLabel,{className:"flex flex-col",children:[r&&(0,t.jsx)("span",{className:"text-foreground text-sm font-medium",children:r}),(0,t.jsx)("span",{className:"text-muted-foreground text-xs font-normal",children:n})]}),(0,t.jsx)(f.DropdownMenuSeparator,{}),(0,t.jsxs)(f.DropdownMenuItem,{onClick:o,children:[(0,t.jsx)(a.LogOut,{className:"size-4"}),"Sign out"]})]})})]})}e.s(["StickyHeader",()=>h],31865)}]);
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.