const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/about-Cm9clHZR.js","assets/jsx-runtime-UY3v_sjn.js","assets/rolldown-runtime-CNC7AqOf.js","assets/createLucideIcon-BeHZXpLp.js","assets/users-D_5dBfPV.js","assets/building-2-sY9TB-lq.js","assets/proxy-x-TfOqVD.js","assets/heart-B9HzXaDV.js","assets/house-GYK6DBqR.js","assets/twitter-DTlzBXle.js","assets/shield-check-DoBH7Gp6.js","assets/sparkles-vaZaraMY.js","assets/breadcrumb-Dm5BaMbQ.js","assets/dist-CpbhN_cU.js","assets/dist-CMaNrZHo.js","assets/elegant-button-3Jt-S36C.js","assets/animated-section-Cm_1mfUk.js","assets/card-CoC8rb7L.js","assets/products-eQkRmjcL.js","assets/confirm-password-CFWp6fwK.js","assets/password-input-9b16h2EM.js","assets/eye-Bw4rm1nA.js","assets/button-CRhwk122.js","assets/wayfinder-Dp7PqxvV.js","assets/input-error-B5F75Vhq.js","assets/passkey-verify-D1K4vyip.js","assets/key-round-Cl5pcl3J.js","assets/loader-circle-C_FcO4Ln.js","assets/label-hvSBCXja.js","assets/spinner-DdLO4NKk.js","assets/confirm-Culw9Q-x.js","assets/forgot-password-Cyx7Upi9.js","assets/input-CohrJvhd.js","assets/routes-BV7mEj2Y.js","assets/text-link-DDV1RSfF.js","assets/password-CB_NxgQN.js","assets/login-DDnSBnbn.js","assets/checkbox-Xmbw3Ue7.js","assets/dist-D79fvq5v.js","assets/dist-DRMc1VG4.js","assets/check-z8lTharx.js","assets/register-bAX714aK.js","assets/reset-password-C28_dPNm.js","assets/two-factor-challenge-DNljLqas.js","assets/minus-BkrFzXrJ.js","assets/use-two-factor-auth-CP4pjFLp.js","assets/verify-email-Bflxga53.js","assets/verification-BOcn3HIw.js","assets/contact-DWfRzA9_.js","assets/dist-B3_EtKfL.js","assets/dist-BDWQwOiN.js","assets/es2015-CEhw2WdQ.js","assets/select-b0A6_dB3.js","assets/circle-check-Dm__mbnN.js","assets/section-heading-faMqox5I.js","assets/mail-DwKTiDV6.js","assets/message-square-D0bXczhF.js","assets/collapsible-Bot4RCid.js","assets/dashboard-Bvrhxdti.js","assets/_slug_-d_cHPtQI.js","assets/product-grid-Bq81H6Wq.js","assets/truck-CIKsHNyY.js","assets/badge-Bia7Bl7u.js","assets/products-DcUGl_wf.js","assets/sheet-BMAIol34.js","assets/dist-BTVjj80e2.js","assets/appearance-CdOfi-lC.js","assets/appearance-DqTdzEgY.js","assets/heading-B1-oTwEB.js","assets/profile-paIEBSqZ.js","assets/profile-uNtLFEsD.js","assets/dialog-B8lLhULs.js","assets/security-DNaur-j_.js","assets/security-ZZC6IP8e.js","assets/welcome-CVLNohHt.js"])))=>i.map(i=>d[i]); import{a as e}from"./rolldown-runtime-CNC7AqOf.js";import{a as t,d as n,f as r,l as i,n as a,o,t as s,u as c}from"./jsx-runtime-UY3v_sjn.js";import{n as l,t as u}from"./dist-B3_EtKfL.js";import{a as d,i as f,n as p,o as m,r as h,t as g}from"./appearance-DqTdzEgY.js";import{a as _,i as v,n as y,r as b,t as x}from"./dist-D79fvq5v.js";import{a as S,i as C,n as w,r as T,t as E}from"./dist-CpbhN_cU.js";import{n as D,t as O}from"./dist-CMaNrZHo.js";import{a as k,i as ee,l as A,n as te,o as j,r as ne,s as re,t as ie}from"./es2015-CEhw2WdQ.js";import{a as ae,c as oe,d as M,i as N,l as se,n as ce,r as le,s as ue,t as de,u as fe}from"./dist-BDWQwOiN.js";import{n as P,r as pe,t as F}from"./createLucideIcon-BeHZXpLp.js";import{t as me}from"./check-z8lTharx.js";import{t as he}from"./proxy-x-TfOqVD.js";import{n as ge,r as _e,t as ve}from"./twitter-DTlzBXle.js";import{t as ye}from"./mail-DwKTiDV6.js";import{i as be,n as xe,r as Se,t as Ce}from"./collapsible-Bot4RCid.js";import{n as we,t as Te}from"./badge-Bia7Bl7u.js";import{t as I}from"./button-CRhwk122.js";import{t as Ee}from"./input-CohrJvhd.js";import{a as De,i as Oe,n as ke,o as Ae,r as je,s as Me,t as Ne}from"./breadcrumb-Dm5BaMbQ.js";import{a as Pe,i as Fe,n as Ie,o as Le,r as Re,t as ze}from"./sheet-BMAIol34.js";import{i as Be,n as Ve,t as He}from"./routes-BV7mEj2Y.js";import{t as Ue}from"./profile-uNtLFEsD.js";import{t as We}from"./heading-B1-oTwEB.js";import{t as Ge}from"./security-ZZC6IP8e.js";import{t as Ke}from"./elegant-button-3Jt-S36C.js";var qe=`modulepreload`,Je=function(e){return`https://platinumribbon.escholarify.com/build/`+e},Ye={},L=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=Je(t,n),t=s(t),t in Ye)return;Ye[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:qe,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},R=a(),z=e(n(),1);function Xe(){let e=(0,R.c)(1),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=[],e[0]=t):t=e[0],(0,z.useEffect)(Ze,t)}function Ze(){return r.on(`flash`,Qe)}function Qe(e){let t=e.detail?.flash?.toast;t&&l[t.type](t.message)}var B=s();function $e(e){let t=(0,R.c)(6),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let{appearance:r}=m();Xe();let i;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(i={"--normal-bg":`var(--popover)`,"--normal-text":`var(--popover-foreground)`,"--normal-border":`var(--border)`},t[2]=i):i=t[2];let a;return t[3]!==r||t[4]!==n?(a=(0,B.jsx)(u,{theme:r,className:`toaster group`,position:`bottom-right`,style:i,...n}),t[3]=r,t[4]=n,t[5]=a):a=t[5],a}var et=Object.defineProperty,V=(e,t)=>et(e,`name`,{value:t,configurable:!0}),[tt,nt]=v(`Tooltip`,[M]),rt=M(),it=`TooltipProvider`,at=700,ot=`tooltip.open`,[st,ct]=tt(it),lt=V(e=>{let{__scopeTooltip:t,delayDuration:n=at,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:a}=e,o=z.useRef(!0),s=z.useRef(!1),c=z.useRef(0);return z.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,B.jsx)(st,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:z.useCallback(()=>{r<=0||(window.clearTimeout(c.current),o.current=!1)},[r]),onClose:z.useCallback(()=>{r<=0||(window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,r))},[r]),isPointerInTransitRef:s,onPointerInTransitChange:z.useCallback(e=>{s.current=e},[]),disableHoverableContent:i,children:a})},`TooltipProvider`),ut=`Tooltip`,[dt,ft]=tt(ut),pt=V(e=>{let{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:a,disableHoverableContent:o,delayDuration:s}=e,c=ct(ut,e.__scopeTooltip),l=rt(t),[u,d]=z.useState(null),[f,p]=z.useState(void 0),m=j(),h=z.useRef(0),g=o??c.disableHoverableContent,_=s??c.delayDuration,v=z.useRef(!1),[y,b]=x({prop:r,defaultProp:i??!1,onChange:V(e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(ot))):c.onClose(),a?.(e)},`onChange`),caller:ut}),S=z.useMemo(()=>y?v.current?`delayed-open`:`instant-open`:`closed`,[y]),C=z.useCallback(()=>{window.clearTimeout(h.current),h.current=0,v.current=!1,b(!0)},[b]),w=z.useCallback(()=>{window.clearTimeout(h.current),h.current=0,b(!1)},[b]),T=z.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{v.current=!0,b(!0),h.current=0},_)},[_,b]);z.useEffect(()=>()=>{h.current&&=(window.clearTimeout(h.current),0)},[]);let E=f??m;return(0,B.jsx)(fe,{...l,children:(0,B.jsx)(dt,{scope:t,contentId:E,setContentId:p,open:y,stateAttribute:S,trigger:u,onTriggerChange:d,onTriggerEnter:z.useCallback(()=>{c.isOpenDelayedRef.current?T():C()},[c.isOpenDelayedRef,T,C]),onTriggerLeave:z.useCallback(()=>{g?w():(window.clearTimeout(h.current),h.current=0)},[w,g]),onOpen:C,onClose:w,disableHoverableContent:g,children:n})})},`Tooltip`),mt=`TooltipTrigger`,ht=z.forwardRef(V(function(e,t){let{__scopeTooltip:n,...r}=e,i=ft(mt,n),a=ct(mt,n),o=rt(n),s=S(t,z.useRef(null),i.onTriggerChange),c=z.useRef(!1),l=z.useRef(!1),u=z.useCallback(()=>c.current=!1,[]);return z.useEffect(()=>()=>document.removeEventListener(`pointerup`,u),[u]),(0,B.jsx)(ue,{asChild:!0,...o,children:(0,B.jsx)(O.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:s,onPointerMove:_(e.onPointerMove,e=>{e.pointerType!==`touch`&&!l.current&&!a.isPointerInTransitRef.current&&(i.onTriggerEnter(),l.current=!0)}),onPointerLeave:_(e.onPointerLeave,()=>{i.onTriggerLeave(),l.current=!1}),onPointerDown:_(e.onPointerDown,()=>{i.open&&i.onClose(),c.current=!0,document.addEventListener(`pointerup`,u,{once:!0})}),onFocus:_(e.onFocus,()=>{c.current||i.onOpen()}),onBlur:_(e.onBlur,i.onClose),onClick:_(e.onClick,i.onClose)})})},`TooltipTrigger`)),gt=`TooltipPortal`,[_t,vt]=tt(gt,{forceMount:void 0}),yt=V(e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,a=ft(gt,t);return(0,B.jsx)(_t,{scope:t,forceMount:n,children:(0,B.jsx)(y,{present:n||a.open,children:(0,B.jsx)(k,{asChild:!0,container:i,children:r})})})},`TooltipPortal`),H=`TooltipContent`,bt=z.forwardRef(V(function(e,t){let n=vt(H,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i=`top`,...a}=e,o=ft(H,e.__scopeTooltip);return(0,B.jsx)(y,{present:r||o.open,children:o.disableHoverableContent?(0,B.jsx)(Ct,{side:i,...a,ref:t}):(0,B.jsx)(xt,{side:i,...a,ref:t})})},`TooltipContent`)),xt=z.forwardRef(V(function(e,t){let n=ft(H,e.__scopeTooltip),r=ct(H,e.__scopeTooltip),i=z.useRef(null),a=S(t,i),[o,s]=z.useState(null),{trigger:c,onClose:l}=n,u=i.current,{onPointerInTransitChange:d}=r,f=z.useCallback(()=>{s(null),d(!1)},[d]),p=z.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=Et(r,Tt(r,n.getBoundingClientRect())),a=Dt(t.getBoundingClientRect()),o=kt([...i,...a]);s(o),d(!0)},[d]);return z.useEffect(()=>()=>f(),[f]),z.useEffect(()=>{if(c&&u){let e=V(e=>p(e,u),`handleTriggerLeave`),t=V(e=>p(e,c),`handleContentLeave`);return c.addEventListener(`pointerleave`,e),u.addEventListener(`pointerleave`,t),()=>{c.removeEventListener(`pointerleave`,e),u.removeEventListener(`pointerleave`,t)}}},[c,u,p,f]),z.useEffect(()=>{if(o){let e=V(e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=c?.contains(t)||u?.contains(t),i=!Ot(n,o);r?f():i&&(f(),l())},`handleTrackPointerGrace`);return document.addEventListener(`pointermove`,e),()=>document.removeEventListener(`pointermove`,e)}},[c,u,o,l,f]),(0,B.jsx)(Ct,{...e,ref:a})},`TooltipContentHoverable`)),St=C(`TooltipContent`),Ct=z.forwardRef(V(function(e,t){let{__scopeTooltip:n,children:r,"aria-label":i,id:a,onEscapeKeyDown:o,onPointerDownOutside:s,...c}=e,l=ft(H,n),u=rt(n),{onClose:d}=l;z.useEffect(()=>(document.addEventListener(ot,d),()=>document.removeEventListener(ot,d)),[d]),z.useEffect(()=>{if(l.trigger){let e=V(e=>{e.target instanceof Node&&e.target.contains(l.trigger)&&d()},`handleScroll`);return window.addEventListener(`scroll`,e,{capture:!0}),()=>window.removeEventListener(`scroll`,e,{capture:!0})}},[l.trigger,d]);let{setContentId:f}=l;return b(()=>(f(a),()=>{f(void 0)}),[a,f]),(0,B.jsx)(re,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:d,children:(0,B.jsxs)(se,{"data-state":l.stateAttribute,role:i?void 0:`tooltip`,id:i?void 0:l.contentId,...u,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-tooltip-content-available-width":`var(--radix-popper-available-width)`,"--radix-tooltip-content-available-height":`var(--radix-popper-available-height)`,"--radix-tooltip-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-tooltip-trigger-height":`var(--radix-popper-anchor-height)`},children:[(0,B.jsx)(St,{children:r}),i?(0,B.jsx)(ae,{id:l.contentId,role:`tooltip`,children:i}):null]})})},`TooltipContentImpl`)),wt=z.forwardRef(V(function(e,t){let{__scopeTooltip:n,...r}=e,i=rt(n);return(0,B.jsx)(oe,{...i,...r,ref:t})},`TooltipArrow`));function Tt(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return`left`;case i:return`right`;case n:return`top`;case r:return`bottom`;default:throw Error(`unreachable`)}}V(Tt,`getExitSideFromRect`);function Et(e,t,n=5){let r=[];switch(t){case`top`:r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case`bottom`:r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case`left`:r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case`right`:r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}V(Et,`getPaddedExitPoints`);function Dt(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}V(Dt,`getPointsFromRect`);function Ot(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;er!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}V(Ot,`isPointInPolygon`);function kt(e){let t=e.slice();return t.sort((e,t)=>e.xt.x?1:e.yt.y)),At(t)}V(kt,`getHull`);function At(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}V(At,`getHullPresorted`);var jt=lt,Mt=pt,Nt=ht,Pt=yt,Ft=bt,It=wt;function Lt(e){let t=(0,R.c)(6),n,r;t[0]===e?(n=t[1],r=t[2]):({delayDuration:r,...n}=e,t[0]=e,t[1]=n,t[2]=r);let i=r===void 0?0:r,a;return t[3]!==i||t[4]!==n?(a=(0,B.jsx)(jt,{"data-slot":`tooltip-provider`,delayDuration:i,...n}),t[3]=i,t[4]=n,t[5]=a):a=t[5],a}function Rt(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,B.jsx)(Mt,{"data-slot":`tooltip`,...n}),t[2]=n,t[3]=r),r}function zt(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,B.jsx)(Nt,{"data-slot":`tooltip-trigger`,...n}),t[2]=n,t[3]=r),r}function Bt(e){let t=(0,R.c)(13),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,sideOffset:a,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0?4:a,s;t[5]===r?s=t[6]:(s=P(`bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-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 z-50 max-w-sm rounded-md px-3 py-1.5 text-xs`,r),t[5]=r,t[6]=s);let c;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,B.jsx)(It,{className:`bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]`}),t[7]=c):c=t[7];let l;return t[8]!==n||t[9]!==i||t[10]!==o||t[11]!==s?(l=(0,B.jsx)(Pt,{children:(0,B.jsxs)(Ft,{"data-slot":`tooltip-content`,sideOffset:o,className:s,...i,children:[n,c]})}),t[8]=n,t[9]=i,t[10]=o,t[11]=s,t[12]=l):l=t[12],l}var Vt=F(`ArrowUp`,[[`path`,{d:`m5 12 7-7 7 7`,key:`hav0vg`}],[`path`,{d:`M12 19V5`,key:`x0mq9r`}]]),Ht=F(`BookOpen`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}]]),Ut=F(`ChevronsUpDown`,[[`path`,{d:`m7 15 5 5 5-5`,key:`1hf1tw`}],[`path`,{d:`m7 9 5-5 5 5`,key:`sgt6xg`}]]),Wt=F(`Diamond`,[[`path`,{d:`M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41l-7.59-7.59a2.41 2.41 0 0 0-3.41 0Z`,key:`1f1r0c`}]]),Gt=F(`FolderGit2`,[[`path`,{d:`M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5`,key:`1w6njk`}],[`circle`,{cx:`13`,cy:`12`,r:`2`,key:`1j92g6`}],[`path`,{d:`M18 19c-2.8 0-5-2.2-5-5v8`,key:`pkpw2h`}],[`circle`,{cx:`20`,cy:`19`,r:`2`,key:`1obnsp`}]]),Kt=F(`LayoutGrid`,[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]),qt=F(`LogOut`,[[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}],[`polyline`,{points:`16 17 21 12 16 7`,key:`1gabdz`}],[`line`,{x1:`21`,x2:`9`,y1:`12`,y2:`12`,key:`1uyos4`}]]),Jt=F(`Menu`,[[`line`,{x1:`4`,x2:`20`,y1:`12`,y2:`12`,key:`1e0a9i`}],[`line`,{x1:`4`,x2:`20`,y1:`6`,y2:`6`,key:`1owob3`}],[`line`,{x1:`4`,x2:`20`,y1:`18`,y2:`18`,key:`yk5zj1`}]]),Yt=F(`PanelLeftClose`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`m16 15-3-3 3-3`,key:`14y99z`}]]),Xt=F(`PanelLeftOpen`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`m14 9 3 3-3 3`,key:`8010ee`}]]),Zt=F(`Search`,[[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}],[`path`,{d:`m21 21-4.3-4.3`,key:`1qie3q`}]]),Qt=F(`Settings`,[[`path`,{d:`M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z`,key:`1qme2f`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),$t=F(`Share2`,[[`circle`,{cx:`18`,cy:`5`,r:`3`,key:`gq8acd`}],[`circle`,{cx:`6`,cy:`12`,r:`3`,key:`w7nqdw`}],[`circle`,{cx:`18`,cy:`19`,r:`3`,key:`1xt0gg`}],[`line`,{x1:`8.59`,x2:`15.42`,y1:`13.51`,y2:`17.49`,key:`47mynk`}],[`line`,{x1:`15.41`,x2:`8.59`,y1:`6.51`,y2:`10.49`,key:`1n3mei`}]]),en=F(`Youtube`,[[`path`,{d:`M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17`,key:`1q2vi4`}],[`path`,{d:`m10 15 5-3-5-3z`,key:`1jp15x`}]]),tn=typeof window>`u`?void 0:window.matchMedia(`(max-width: 767px)`);function nn(e){return tn?(tn.addEventListener(`change`,e),()=>{tn.removeEventListener(`change`,e)}):()=>{}}function rn(){return tn?.matches??!1}function an(){return!1}function on(){return(0,z.useSyncExternalStore)(nn,rn,an)}var sn=`sidebar_state`,cn=3600*24*7,ln=`16rem`,un=`18rem`,dn=`3rem`,fn=`b`,pn=z.createContext(null);function mn(){let e=z.useContext(pn);if(!e)throw Error(`useSidebar must be used within a SidebarProvider.`);return e}function hn(e){let t=(0,R.c)(36),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({defaultOpen:c,open:i,onOpenChange:o,className:r,style:s,children:n,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=c===void 0||c,u=on(),[d,f]=z.useState(!1),[p,m]=z.useState(l),h=i??p,g;t[8]!==h||t[9]!==o?(g=e=>{let t=typeof e==`function`?e(h):e;o?o(t):m(t),document.cookie=`${sn}=${t}; path=/; max-age=${cn}`},t[8]=h,t[9]=o,t[10]=g):g=t[10];let _=g,v;t[11]!==u||t[12]!==_?(v=()=>u?f(_n):_(gn),t[11]=u,t[12]=_,t[13]=v):v=t[13];let y=v,b,x;t[14]===y?(b=t[15],x=t[16]):(b=()=>{let e=e=>{e.key===fn&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),y())};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},x=[y],t[14]=y,t[15]=b,t[16]=x),z.useEffect(b,x);let S=h?`expanded`:`collapsed`,C;t[17]!==u||t[18]!==h||t[19]!==d||t[20]!==_||t[21]!==S||t[22]!==y?(C={state:S,open:h,setOpen:_,isMobile:u,openMobile:d,setOpenMobile:f,toggleSidebar:y},t[17]=u,t[18]=h,t[19]=d,t[20]=_,t[21]=S,t[22]=y,t[23]=C):C=t[23];let w=C,T;t[24]===s?T=t[25]:(T={"--sidebar-width":ln,"--sidebar-width-icon":dn,...s},t[24]=s,t[25]=T);let E=T,D;t[26]===r?D=t[27]:(D=P(`group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full`,r),t[26]=r,t[27]=D);let O;t[28]!==n||t[29]!==a||t[30]!==E||t[31]!==D?(O=(0,B.jsx)(`div`,{"data-slot":`sidebar-wrapper`,style:E,className:D,...a,children:n}),t[28]=n,t[29]=a,t[30]=E,t[31]=D,t[32]=O):O=t[32];let k;return t[33]!==w||t[34]!==O?(k=(0,B.jsx)(pn.Provider,{value:w,children:O}),t[33]=w,t[34]=O,t[35]=k):k=t[35],k}function gn(e){return!e}function _n(e){return!e}function vn(e){let t=(0,R.c)(46),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({side:a,variant:o,collapsible:s,className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=a===void 0?`left`:a,l=o===void 0?`sidebar`:o,u=s===void 0?`offcanvas`:s,{isMobile:d,state:f,openMobile:p,setOpenMobile:m}=mn();if(u===`none`){let e;t[7]===r?e=t[8]:(e=P(`bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col`,r),t[7]=r,t[8]=e);let a;return t[9]!==n||t[10]!==i||t[11]!==e?(a=(0,B.jsx)(`div`,{"data-slot":`sidebar`,className:e,...i,children:n}),t[9]=n,t[10]=i,t[11]=e,t[12]=a):a=t[12],a}if(d){let e;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,B.jsxs)(Fe,{className:`sr-only`,children:[(0,B.jsx)(Pe,{children:`Sidebar`}),(0,B.jsx)(Re,{children:`Displays the mobile sidebar.`})]}),t[13]=e):e=t[13];let r;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(r={"--sidebar-width":un},t[14]=r):r=t[14];let a;t[15]===n?a=t[16]:(a=(0,B.jsx)(`div`,{className:`flex h-full w-full flex-col`,children:n}),t[15]=n,t[16]=a);let o;t[17]!==c||t[18]!==a?(o=(0,B.jsx)(Ie,{"data-sidebar":`sidebar`,"data-slot":`sidebar`,"data-mobile":`true`,className:`bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden`,style:r,side:c,children:a}),t[17]=c,t[18]=a,t[19]=o):o=t[19];let s;return t[20]!==p||t[21]!==i||t[22]!==m||t[23]!==o?(s=(0,B.jsxs)(ze,{open:p,onOpenChange:m,...i,children:[e,o]}),t[20]=p,t[21]=i,t[22]=m,t[23]=o,t[24]=s):s=t[24],s}let h=f===`collapsed`?u:``,g=l===`floating`||l===`inset`?`group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon)`,_;t[25]===g?_=t[26]:(_=P(`relative h-svh w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear`,`group-data-[collapsible=offcanvas]:w-0`,`group-data-[side=right]:rotate-180`,g),t[25]=g,t[26]=_);let v;t[27]===_?v=t[28]:(v=(0,B.jsx)(`div`,{className:_}),t[27]=_,t[28]=v);let y=c===`left`?`left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]`:`right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]`,b=l===`floating`||l===`inset`?`p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]`:`group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l`,x;t[29]!==r||t[30]!==y||t[31]!==b?(x=P(`fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex`,y,b,r),t[29]=r,t[30]=y,t[31]=b,t[32]=x):x=t[32];let S;t[33]===n?S=t[34]:(S=(0,B.jsx)(`div`,{"data-sidebar":`sidebar`,className:`bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm`,children:n}),t[33]=n,t[34]=S);let C;t[35]!==i||t[36]!==x||t[37]!==S?(C=(0,B.jsx)(`div`,{className:x,...i,children:S}),t[35]=i,t[36]=x,t[37]=S,t[38]=C):C=t[38];let w;return t[39]!==c||t[40]!==f||t[41]!==C||t[42]!==h||t[43]!==v||t[44]!==l?(w=(0,B.jsxs)(`div`,{className:`group peer text-sidebar-foreground hidden md:block`,"data-state":f,"data-collapsible":h,"data-variant":l,"data-side":c,"data-slot":`sidebar`,children:[v,C]}),t[39]=c,t[40]=f,t[41]=C,t[42]=h,t[43]=v,t[44]=l,t[45]=w):w=t[45],w}function yn(e){let t=(0,R.c)(18),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,onClick:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let{toggleSidebar:a,isMobile:o,state:s}=mn(),c;t[4]===n?c=t[5]:(c=P(`h-7 w-7`,n),t[4]=n,t[5]=c);let l;t[6]!==r||t[7]!==a?(l=e=>{r?.(e),a()},t[6]=r,t[7]=a,t[8]=l):l=t[8];let u;t[9]!==o||t[10]!==s?(u=o||s===`collapsed`?(0,B.jsx)(Xt,{}):(0,B.jsx)(Yt,{}),t[9]=o,t[10]=s,t[11]=u):u=t[11];let d;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,B.jsx)(`span`,{className:`sr-only`,children:`Toggle sidebar`}),t[12]=d):d=t[12];let f;return t[13]!==i||t[14]!==c||t[15]!==l||t[16]!==u?(f=(0,B.jsxs)(I,{"data-sidebar":`trigger`,"data-slot":`sidebar-trigger`,variant:`ghost`,size:`icon`,className:c,onClick:l,...i,children:[u,d]}),t[13]=i,t[14]=c,t[15]=l,t[16]=u,t[17]=f):f=t[17],f}function bn(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`bg-background relative flex max-w-full min-h-svh flex-1 flex-col`,`peer-data-[variant=inset]:min-h-[calc(100svh-(--spacing(4)))] md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-0`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,B.jsx)(`main`,{"data-slot":`sidebar-inset`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function xn(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`flex flex-col gap-2 p-2`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,B.jsx)(`div`,{"data-slot":`sidebar-header`,"data-sidebar":`header`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Sn(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`flex flex-col gap-2 p-2`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,B.jsx)(`div`,{"data-slot":`sidebar-footer`,"data-sidebar":`footer`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Cn(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,B.jsx)(`div`,{"data-slot":`sidebar-content`,"data-sidebar":`content`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function wn(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`relative flex w-full min-w-0 flex-col p-2`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,B.jsx)(`div`,{"data-slot":`sidebar-group`,"data-sidebar":`group`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Tn(e){let t=(0,R.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,asChild:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i!==void 0&&i?w:`div`,o;t[4]===n?o=t[5]:(o=P(`text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0`,`group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 group-data-[collapsible=icon]:select-none group-data-[collapsible=icon]:pointer-events-none`,n),t[4]=n,t[5]=o);let s;return t[6]!==a||t[7]!==r||t[8]!==o?(s=(0,B.jsx)(a,{"data-slot":`sidebar-group-label`,"data-sidebar":`group-label`,className:o,...r}),t[6]=a,t[7]=r,t[8]=o,t[9]=s):s=t[9],s}function En(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`w-full text-sm`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,B.jsx)(`div`,{"data-slot":`sidebar-group-content`,"data-sidebar":`group-content`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Dn(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`flex w-full min-w-0 flex-col gap-1`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,B.jsx)(`ul`,{"data-slot":`sidebar-menu`,"data-sidebar":`menu`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function On(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`group/menu-item relative`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,B.jsx)(`li`,{"data-slot":`sidebar-menu-item`,"data-sidebar":`menu-item`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var kn=E(`peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0`,{variants:{variant:{default:`hover:bg-sidebar-accent hover:text-sidebar-accent-foreground`,outline:`bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]`},size:{default:`h-8 text-sm`,sm:`h-7 text-xs`,lg:`h-12 text-sm group-data-[collapsible=icon]:p-0!`}},defaultVariants:{variant:`default`,size:`default`}});function An(e){let t=(0,R.c)(28),n,r,i,a,o,s,c;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6],c=t[7]):({asChild:i,isActive:a,variant:o,size:s,tooltip:c,className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s,t[7]=c);let l=i!==void 0&&i,u=a!==void 0&&a,d=o===void 0?`default`:o,f=s===void 0?`default`:s,p=l?w:`button`,{isMobile:m,state:h}=mn(),g;t[8]!==n||t[9]!==f||t[10]!==d?(g=P(kn({variant:d,size:f}),n),t[8]=n,t[9]=f,t[10]=d,t[11]=g):g=t[11];let _;t[12]!==p||t[13]!==u||t[14]!==r||t[15]!==f||t[16]!==g?(_=(0,B.jsx)(p,{"data-slot":`sidebar-menu-button`,"data-sidebar":`menu-button`,"data-size":f,"data-active":u,className:g,...r}),t[12]=p,t[13]=u,t[14]=r,t[15]=f,t[16]=g,t[17]=_):_=t[17];let v=_;if(!c)return v;if(typeof c==`string`){let e;t[18]===c?e=t[19]:(e={children:c},t[18]=c,t[19]=e),c=e}let y;t[20]===v?y=t[21]:(y=(0,B.jsx)(zt,{asChild:!0,children:v}),t[20]=v,t[21]=y);let b=h!==`collapsed`||m,x;t[22]!==b||t[23]!==c?(x=(0,B.jsx)(Bt,{side:`right`,align:`center`,hidden:b,...c}),t[22]=b,t[23]=c,t[24]=x):x=t[24];let S;return t[25]!==y||t[26]!==x?(S=(0,B.jsxs)(Rt,{children:[y,x]}),t[25]=y,t[26]=x,t[27]=S):S=t[27],S}function jn(e){let t=(0,R.c)(10),n,r,i;if(t[0]===e?(n=t[1],r=t[2],i=t[3]):({variant:i,children:n,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i),(i===void 0?`sidebar`:i)===`sidebar`){let e;return t[4]!==n||t[5]!==r?(e=(0,B.jsx)(bn,{...r,children:n}),t[4]=n,t[5]=r,t[6]=e):e=t[6],e}let a;return t[7]!==n||t[8]!==r?(a=(0,B.jsx)(`main`,{className:`mx-auto flex h-full w-full max-w-7xl flex-1 flex-col gap-4 rounded-xl`,...r,children:n}),t[7]=n,t[8]=r,t[9]=a):a=t[9],a}function Mn(e){let t=(0,R.c)(5),{children:n,variant:r}=e,a=r===void 0?`sidebar`:r,o=i().props.sidebarOpen;if(a===`header`){let e;return t[0]===n?e=t[1]:(e=(0,B.jsx)(`div`,{className:`flex min-h-screen w-full flex-col`,children:n}),t[0]=n,t[1]=e),e}let s;return t[2]!==n||t[3]!==o?(s=(0,B.jsx)(hn,{defaultOpen:o,children:n}),t[2]=n,t[3]=o,t[4]=s):s=t[4],s}function Nn(e){let t=(0,R.c)(3),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,B.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M17.2 5.63325L8.6 0.855469L0 5.63325V32.1434L16.2 41.1434L32.4 32.1434V23.699L40 19.4767V9.85547L31.4 5.07769L22.8 9.85547V18.2999L17.2 21.411V5.63325ZM38 18.2999L32.4 21.411V15.2545L38 12.1434V18.2999ZM36.9409 10.4439L31.4 13.5221L25.8591 10.4439L31.4 7.36561L36.9409 10.4439ZM24.8 18.2999V12.1434L30.4 15.2545V21.411L24.8 18.2999ZM23.8 20.0323L29.3409 23.1105L16.2 30.411L10.6591 27.3328L23.8 20.0323ZM7.6 27.9212L15.2 32.1434V38.2999L2 30.9666V7.92116L7.6 11.0323V27.9212ZM8.6 9.29991L3.05913 6.22165L8.6 3.14339L14.1409 6.22165L8.6 9.29991ZM30.4 24.8101L17.2 32.1434V38.2999L30.4 30.9666V24.8101ZM9.6 11.0323L15.2 7.92117V22.5221L9.6 25.6333V11.0323Z`}),t[0]=n):n=t[0];let r;return t[1]===e?r=t[2]:(r=(0,B.jsx)(`svg`,{...e,viewBox:`0 0 40 42`,xmlns:`http://www.w3.org/2000/svg`,children:n}),t[1]=e,t[2]=r),r}function Pn(){let e=(0,R.c)(3),{name:t}=i().props,n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,B.jsx)(`div`,{className:`flex aspect-square size-8 items-center justify-center rounded-md bg-sidebar-primary text-sidebar-primary-foreground`,children:(0,B.jsx)(Nn,{className:`size-5 fill-current text-white dark:text-black`})}),e[0]=n):n=e[0];let r;return e[1]===t?r=e[2]:(r=(0,B.jsxs)(B.Fragment,{children:[n,(0,B.jsx)(`div`,{className:`ml-1 grid flex-1 text-left text-sm`,children:(0,B.jsx)(`span`,{className:`mb-0.5 truncate leading-tight font-semibold`,children:t})})]}),e[1]=t,e[2]=r),r}function Fn(e){let t=(0,R.c)(12),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({items:r,className:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=`group-data-[collapsible=icon]:p-0 ${n||``}`,o;t[4]===r?o=t[5]:(o=r.map(In),t[4]=r,t[5]=o);let s;t[6]===o?s=t[7]:(s=(0,B.jsx)(En,{children:(0,B.jsx)(Dn,{children:o})}),t[6]=o,t[7]=s);let c;return t[8]!==i||t[9]!==a||t[10]!==s?(c=(0,B.jsx)(wn,{...i,className:a,children:s}),t[8]=i,t[9]=a,t[10]=s,t[11]=c):c=t[11],c}function In(e){return(0,B.jsx)(On,{children:(0,B.jsx)(An,{asChild:!0,className:`text-neutral-600 hover:text-neutral-800 dark:text-neutral-300 dark:hover:text-neutral-100`,children:(0,B.jsxs)(`a`,{href:pe(e.href),target:`_blank`,rel:`noopener noreferrer`,children:[e.icon&&(0,B.jsx)(e.icon,{className:`h-5 w-5`}),(0,B.jsx)(`span`,{children:e.title})]})})},e.title)}function Ln(){let e=(0,R.c)(13),t=i(),n;e[0]===t.url?n=e[1]:(n=new URL(t.url,typeof window<`u`?window.location.origin:`http://localhost`),e[0]=t.url,e[1]=n);let r=n.pathname,a;e[2]===r?a=e[3]:(a=(e,t,n)=>{let i=n!==void 0&&n,a=t??r,o=pe(e),s=e=>i?a.startsWith(e):e===a;if(!o.startsWith(`http`))return s(o);try{return s(new URL(o).pathname)}catch{return!1}},e[2]=r,e[3]=a);let o=a,s;e[4]===o?s=e[5]:(s=(e,t)=>o(e,t,!0),e[4]=o,e[5]=s);let c=s,l;e[6]===o?l=e[7]:(l=(e,t,n)=>{let r=n===void 0?null:n;return o(e)?t:r},e[6]=o,e[7]=l);let u=l,d;return e[8]!==r||e[9]!==c||e[10]!==o||e[11]!==u?(d={currentUrl:r,isCurrentUrl:o,isCurrentOrParentUrl:c,whenCurrentUrl:u},e[8]=r,e[9]=c,e[10]=o,e[11]=u,e[12]=d):d=e[12],d}function Rn(e){let n=(0,R.c)(10),{items:r}=e,i;n[0]===r?i=n[1]:(i=r===void 0?[]:r,n[0]=r,n[1]=i);let a=i,{isCurrentUrl:o}=Ln(),s;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,B.jsx)(Tn,{children:`Platform`}),n[2]=s):s=n[2];let c;if(n[3]!==o||n[4]!==a){let e;n[6]===o?e=n[7]:(e=e=>(0,B.jsx)(On,{children:(0,B.jsx)(An,{asChild:!0,isActive:o(e.href),tooltip:{children:e.title},children:(0,B.jsxs)(t,{href:e.href,prefetch:!0,children:[e.icon&&(0,B.jsx)(e.icon,{}),(0,B.jsx)(`span`,{children:e.title})]})})},e.title),n[6]=o,n[7]=e),c=a.map(e),n[3]=o,n[4]=a,n[5]=c}else c=n[5];let l;return n[8]===c?l=n[9]:(l=(0,B.jsxs)(wn,{className:`px-2 py-0`,children:[s,(0,B.jsx)(Dn,{children:c})]}),n[8]=c,n[9]=l),l}var zn=Object.defineProperty,U=(e,t)=>zn(e,`name`,{value:t,configurable:!0}),Bn=`Avatar`,[Vn,Hn]=v(Bn),Un=[0,()=>void 0],[Wn,Gn]=Vn(Bn),Kn=z.forwardRef(U(function(e,t){let{__scopeAvatar:n,...r}=e,[i,a]=z.useState(`idle`),[o,s]=$n();return(0,B.jsx)(Wn,{scope:n,imageLoadingStatus:i,setImageLoadingStatus:a,imageCount:o,setImageCount:s,children:(0,B.jsx)(O.span,{...r,ref:t})})},`Avatar`)),qn=`AvatarImage`,Jn=z.forwardRef(U(function(e,t){let{__scopeAvatar:n,src:r,onLoadingStatusChange:i,...a}=e,o=Gn(qn,n);o.setImageCount;let s=Zn(r,{referrerPolicy:a.referrerPolicy,crossOrigin:a.crossOrigin,loadingStatus:o.imageLoadingStatus,setLoadingStatus:o.setImageLoadingStatus}),c=A(e=>{i?.(e)}),l=z.useRef(s);return b(()=>{let e=l.current;l.current=s,s!==e&&c(s)},[s,c]),s===`loaded`?(0,B.jsx)(O.img,{...a,ref:t,src:r}):null},`AvatarImage`)),Yn=`AvatarFallback`,Xn=z.forwardRef(U(function(e,t){let{__scopeAvatar:n,delayMs:r,...i}=e,a=Gn(Yn,n),[o,s]=z.useState(r===void 0);return z.useEffect(()=>{if(r!==void 0){let e=window.setTimeout(()=>s(!0),r);return()=>window.clearTimeout(e)}},[r]),o&&a.imageLoadingStatus!==`loaded`?(0,B.jsx)(O.span,{...i,ref:t}):null},`AvatarFallback`));function Zn(e,{loadingStatus:t,setLoadingStatus:n,referrerPolicy:r,crossOrigin:i}){return b(()=>{if(!e){n(`error`);return}let t=new window.Image,a=U(e=>{let t=e.currentTarget;n(Qn(t))},`handleLoad`),o=U(()=>n(`error`),`handleError`);return t.addEventListener(`load`,a),t.addEventListener(`error`,o),r&&(t.referrerPolicy=r),t.crossOrigin=i??null,t.src=e,n(Qn(t)),()=>{t.removeEventListener(`load`,a),t.removeEventListener(`error`,o),n(`idle`)}},[e,i,r,n]),t}U(Zn,`useImageLoadingStatus`);function Qn(e){return e.complete?e.naturalWidth>0?`loaded`:`error`:`loading`}U(Qn,`getImageLoadingStatus`);function $n(){return Un}U($n,`useImageCount`);function er(e){}U(er,`useUpdateImageCount`);function tr(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`relative flex size-8 shrink-0 overflow-hidden rounded-full`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,B.jsx)(Kn,{"data-slot":`avatar`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function nr(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`aspect-square size-full`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,B.jsx)(Jn,{"data-slot":`avatar-image`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function rr(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`bg-muted flex size-full items-center justify-center rounded-full`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,B.jsx)(Xn,{"data-slot":`avatar-fallback`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ir(e){return Array.from(e)[0]??``}function ar(){return or}function or(e){let t=e.trim().split(/\s+/u).filter(Boolean);return t.length===0?``:t.length===1?ir(t[0]).toUpperCase():`${ir(t[0])}${ir(t[t.length-1])}`.toUpperCase()}function sr(e){let t=(0,R.c)(22),{user:n,showEmail:r}=e,i=r!==void 0&&r,a=ar(),o;t[0]!==n.avatar||t[1]!==n.name?(o=(0,B.jsx)(nr,{src:n.avatar,alt:n.name}),t[0]=n.avatar,t[1]=n.name,t[2]=o):o=t[2];let s;t[3]!==a||t[4]!==n.name?(s=a(n.name),t[3]=a,t[4]=n.name,t[5]=s):s=t[5];let c;t[6]===s?c=t[7]:(c=(0,B.jsx)(rr,{className:`rounded-lg bg-neutral-200 text-black dark:bg-neutral-700 dark:text-white`,children:s}),t[6]=s,t[7]=c);let l;t[8]!==o||t[9]!==c?(l=(0,B.jsxs)(tr,{className:`h-8 w-8 overflow-hidden rounded-full`,children:[o,c]}),t[8]=o,t[9]=c,t[10]=l):l=t[10];let u;t[11]===n.name?u=t[12]:(u=(0,B.jsx)(`span`,{className:`truncate font-medium`,children:n.name}),t[11]=n.name,t[12]=u);let d;t[13]!==i||t[14]!==n.email?(d=i&&(0,B.jsx)(`span`,{className:`truncate text-xs text-muted-foreground`,children:n.email}),t[13]=i,t[14]=n.email,t[15]=d):d=t[15];let f;t[16]!==u||t[17]!==d?(f=(0,B.jsxs)(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[u,d]}),t[16]=u,t[17]=d,t[18]=f):f=t[18];let p;return t[19]!==l||t[20]!==f?(p=(0,B.jsxs)(B.Fragment,{children:[l,f]}),t[19]=l,t[20]=f,t[21]=p):p=t[21],p}var cr=Object.defineProperty,lr=(e,t)=>cr(e,`name`,{value:t,configurable:!0}),ur=!1;function dr(){let[e,t]=z.useState(ur);return z.useEffect(()=>{ur||(ur=!0,t(!0))},[]),e}lr(dr,`useIsHydrated`);var fr=z.useSyncExternalStore;function pr(){return()=>{}}lr(pr,`subscribe`);function mr(){return fr(pr,()=>!0,()=>!1)}lr(mr,`useIsHydratedModern`);var hr=typeof fr==`function`?mr:dr,gr=Object.defineProperty,W=(e,t)=>gr(e,`name`,{value:t,configurable:!0}),_r=`rovingFocusGroup.onEntryFocus`,vr={bubbles:!1,cancelable:!0},yr=`RovingFocusGroup`,[br,xr,Sr]=le(yr),[Cr,wr]=v(yr,[Sr]),[Tr,Er]=Cr(yr),Dr=z.forwardRef(W(function(e,t){return(0,B.jsx)(br.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,B.jsx)(br.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,B.jsx)(Or,{...e,ref:t})})})},`RovingFocusGroup`)),Or=z.forwardRef(W(function(e,t){let{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:c,onEntryFocus:l,preventScrollOnEntryFocus:u=!1,...d}=e,f=z.useRef(null),p=S(t,f),m=ce(a),[h,g]=x({prop:o,defaultProp:s??null,onChange:c,caller:yr}),[v,y]=z.useState(!1),b=A(l),C=xr(n),w=z.useRef(!1),[T,E]=z.useState(0);return z.useEffect(()=>{let e=f.current;if(e)return e.addEventListener(_r,b),()=>e.removeEventListener(_r,b)},[b]),(0,B.jsx)(Tr,{scope:n,orientation:r,dir:m,loop:i,currentTabStopId:h,onItemFocus:z.useCallback(e=>g(e),[g]),onItemShiftTab:z.useCallback(()=>y(!0),[]),onFocusableItemAdd:z.useCallback(()=>E(e=>e+1),[]),onFocusableItemRemove:z.useCallback(()=>E(e=>e-1),[]),children:(0,B.jsx)(O.div,{tabIndex:v||T===0?-1:0,"data-orientation":r,...d,ref:p,style:{outline:`none`,...e.style},onMouseDown:_(e.onMouseDown,()=>{w.current=!0}),onFocus:_(e.onFocus,e=>{let t=!w.current;if(e.target===e.currentTarget&&t&&!v){let t=new CustomEvent(_r,vr);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=C().filter(e=>e.focusable);Pr([e.find(e=>e.active),e.find(e=>e.id===h),...e].filter(Boolean).map(e=>e.ref.current),u)}}w.current=!1}),onBlur:_(e.onBlur,()=>y(!1))})})},`RovingFocusGroupImpl`)),kr=`RovingFocusGroupItem`,Ar=z.forwardRef(W(function(e,t){let{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:a,children:o,...s}=e,c=j(),l=a||c,u=Er(kr,n),d=u.currentTabStopId===l,f=xr(n),{onFocusableItemAdd:p,onFocusableItemRemove:m,currentTabStopId:h}=u,g=hr();return b(()=>{if(!(!g||!r))return p(),()=>m()},[g,r,p,m]),z.useEffect(()=>{if(!(g||!r))return p(),()=>m()},[g,r,p,m]),(0,B.jsx)(br.ItemSlot,{scope:n,id:l,focusable:r,active:i,children:(0,B.jsx)(O.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...s,ref:t,onMouseDown:_(e.onMouseDown,e=>{r?u.onItemFocus(l):e.preventDefault()}),onFocus:_(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:_(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){u.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=Nr(e,u.orientation,u.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=f().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=u.loop?Fr(n,r+1):n.slice(r+1)}setTimeout(()=>Pr(n))}}),children:typeof o==`function`?o({isCurrentTabStop:d,hasTabStop:h!=null}):o})})},`RovingFocusGroupItem`)),jr={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function Mr(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}W(Mr,`getDirectionAwareKey`);function Nr(e,t,n){let r=Mr(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return jr[r]}W(Nr,`getFocusIntent`);function Pr(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}W(Pr,`focusFirst`);function Fr(e,t){return e.map((n,r)=>e[(t+r)%e.length])}W(Fr,`wrapArray`);var Ir=Dr,Lr=Ar,Rr=Object.defineProperty,G=(e,t)=>Rr(e,`name`,{value:t,configurable:!0}),zr=[`Enter`,` `],Br=[`ArrowDown`,`PageUp`,`Home`],Vr=[`ArrowUp`,`PageDown`,`End`],Hr=[...Br,...Vr];[...zr],[...zr];var Ur=`Menu`,[Wr,Gr,Kr]=le(Ur),[K,qr]=v(Ur,[Kr,M,wr]),Jr=M(),Yr=wr(),[Xr,q]=K(Ur),[Zr,Qr]=K(Ur),$r=G(e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:a,modal:o=!0}=e,s=Jr(t),[c,l]=z.useState(null),u=z.useRef(!1),d=A(a),f=ce(i);return z.useEffect(()=>{let e=G(()=>{u.current=!0,document.addEventListener(`pointerdown`,t,{capture:!0,once:!0}),document.addEventListener(`pointermove`,t,{capture:!0,once:!0})},`handleKeyDown`),t=G(()=>u.current=!1,`handlePointer`);return document.addEventListener(`keydown`,e,{capture:!0}),()=>{document.removeEventListener(`keydown`,e,{capture:!0}),document.removeEventListener(`pointerdown`,t,{capture:!0}),document.removeEventListener(`pointermove`,t,{capture:!0})}},[]),z.useEffect(()=>{if(!n)return;let e=G(()=>d(!1),`handleBlur`);return window.addEventListener(`blur`,e),()=>window.removeEventListener(`blur`,e)},[n,d]),(0,B.jsx)(fe,{...s,children:(0,B.jsx)(Xr,{scope:t,open:n,onOpenChange:d,content:c,onContentChange:l,children:(0,B.jsx)(Zr,{scope:t,onClose:z.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:u,dir:f,modal:o,children:r})})})},`Menu`),ei=z.forwardRef(G(function(e,t){let{__scopeMenu:n,...r}=e,i=Jr(n);return(0,B.jsx)(ue,{...i,...r,ref:t})},`MenuAnchor`)),ti=`MenuPortal`,[ni,ri]=K(ti,{forceMount:void 0}),ii=G(e=>{let{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=q(ti,t);return(0,B.jsx)(ni,{scope:t,forceMount:n,children:(0,B.jsx)(y,{present:n||a.open,children:(0,B.jsx)(k,{asChild:!0,container:i,children:r})})})},`MenuPortal`),J=`MenuContent`,[ai,oi]=K(J),si=z.forwardRef(G(function(e,t){let n=ri(J,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=q(J,e.__scopeMenu),o=Qr(J,e.__scopeMenu);return(0,B.jsx)(Wr.Provider,{scope:e.__scopeMenu,children:(0,B.jsx)(y,{present:r||a.open,children:(0,B.jsx)(Wr.Slot,{scope:e.__scopeMenu,children:o.modal?(0,B.jsx)(ci,{...i,ref:t}):(0,B.jsx)(li,{...i,ref:t})})})})},`MenuContent`)),ci=z.forwardRef(G(function(e,t){let n=q(J,e.__scopeMenu),r=z.useRef(null),i=S(t,r);return z.useEffect(()=>{let e=r.current;if(e)return ie(e)},[]),(0,B.jsx)(di,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:_(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})},`MenuRootContentModal`)),li=z.forwardRef(G(function(e,t){let n=q(J,e.__scopeMenu);return(0,B.jsx)(di,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})},`MenuRootContentNonModal`)),ui=T(`MenuContent.ScrollLock`),di=z.forwardRef(G(function(e,t){let{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEntryFocus:c,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p,disableOutsideScroll:m,...h}=e,g=q(J,n),v=Qr(J,n),y=Jr(n),b=Yr(n),x=Gr(n),[C,w]=z.useState(null),T=z.useRef(null),E=S(t,T,g.onContentChange),D=z.useRef(0),O=z.useRef(``),k=z.useRef(0),A=z.useRef(null),j=z.useRef(`right`),ie=z.useRef(0),ae=m?te:z.Fragment,oe=m?{as:ui,allowPinchZoom:!0}:void 0,M=G(e=>{let t=O.current+e,n=x().filter(e=>!e.disabled),r=document.activeElement,i=n.find(e=>e.ref.current===r)?.textValue,a=Ai(n.map(e=>e.textValue),t,i),o=n.find(e=>e.textValue===a)?.ref.current;G((function e(t){O.current=t,window.clearTimeout(D.current),t!==``&&(D.current=window.setTimeout(()=>e(``),1e3))}),`updateSearch`)(t),o&&setTimeout(()=>o.focus())},`handleTypeaheadSearch`);z.useEffect(()=>()=>window.clearTimeout(D.current),[]),ne();let N=z.useCallback(e=>j.current===A.current?.side&&Mi(e,A.current?.area),[]);return(0,B.jsx)(ai,{scope:n,searchRef:O,onItemEnter:z.useCallback(e=>{N(e)&&e.preventDefault()},[N]),onItemLeave:z.useCallback(e=>{N(e)||(T.current?.focus(),w(null))},[N]),onTriggerLeave:z.useCallback(e=>{N(e)&&e.preventDefault()},[N]),pointerGraceTimerRef:k,onPointerGraceIntentChange:z.useCallback(e=>{A.current=e},[]),children:(0,B.jsx)(ae,{...oe,children:(0,B.jsx)(ee,{asChild:!0,trapped:i,onMountAutoFocus:_(a,e=>{e.preventDefault(),T.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:o,children:(0,B.jsx)(re,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:f,onDismiss:p,children:(0,B.jsx)(Ir,{asChild:!0,...b,dir:v.dir,orientation:`vertical`,loop:r,currentTabStopId:C,onCurrentTabStopIdChange:w,onEntryFocus:_(c,e=>{v.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,B.jsx)(se,{role:`menu`,"aria-orientation":`vertical`,"data-state":Ti(g.open),"data-radix-menu-content":``,dir:v.dir,...y,...h,ref:E,style:{outline:`none`,...h.style},onKeyDown:_(h.onKeyDown,e=>{let t=e.target.closest(`[data-radix-menu-content]`)===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=e.key.length===1;t&&(e.key===`Tab`&&e.preventDefault(),!n&&r&&M(e.key));let i=T.current;if(e.target!==i||!Hr.includes(e.key))return;e.preventDefault();let a=x().filter(e=>!e.disabled).map(e=>e.ref.current);Vr.includes(e.key)&&a.reverse(),Oi(a)}),onBlur:_(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(D.current),O.current=``)}),onPointerMove:_(e.onPointerMove,Ni(e=>{let t=e.target,n=ie.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>ie.current?`right`:`left`;j.current=t,ie.current=e.clientX}}))})})})})})})},`MenuContentImpl`)),fi=z.forwardRef(G(function(e,t){let{__scopeMenu:n,...r}=e;return(0,B.jsx)(O.div,{role:`group`,...r,ref:t})},`MenuGroup`)),pi=z.forwardRef(G(function(e,t){let{__scopeMenu:n,...r}=e;return(0,B.jsx)(O.div,{...r,ref:t})},`MenuLabel`)),mi=`MenuItem`,hi=`menu.itemSelect`,gi=z.forwardRef(G(function(e,t){let{disabled:n=!1,onSelect:r,...i}=e,a=z.useRef(null),o=Qr(mi,e.__scopeMenu),s=oi(mi,e.__scopeMenu),c=S(t,a),l=z.useRef(!1),u=G(()=>{let e=a.current;if(!n&&e){let t=new CustomEvent(hi,{bubbles:!0,cancelable:!0});e.addEventListener(hi,e=>r?.(e),{once:!0}),D(e,t),t.defaultPrevented?l.current=!1:o.onClose()}},`handleSelect`);return(0,B.jsx)(_i,{...i,ref:c,disabled:n,onClick:_(e.onClick,u),onPointerDown:t=>{e.onPointerDown?.(t),l.current=!0},onPointerUp:_(e.onPointerUp,e=>{l.current||e.currentTarget?.click()}),onKeyDown:_(e.onKeyDown,e=>{n||e.target!==e.currentTarget||s.searchRef.current!==``&&e.key===` `||zr.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})},`MenuItem`)),_i=z.forwardRef(G(function(e,t){let{__scopeMenu:n,disabled:r=!1,textValue:i,...a}=e,o=oi(mi,n),s=Yr(n),c=z.useRef(null),l=S(t,c),[u,d]=z.useState(!1),[f,p]=z.useState(``);return z.useEffect(()=>{let e=c.current;e&&p((e.textContent??``).trim())},[a.children]),(0,B.jsx)(Wr.ItemSlot,{scope:n,disabled:r,textValue:i??f,children:(0,B.jsx)(Lr,{asChild:!0,...s,focusable:!r,children:(0,B.jsx)(O.div,{role:`menuitem`,"data-highlighted":u?``:void 0,"aria-disabled":r||void 0,"data-disabled":r?``:void 0,...a,ref:l,onPointerMove:_(e.onPointerMove,Ni(e=>{r?o.onItemLeave(e):(o.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:_(e.onPointerLeave,Ni(e=>o.onItemLeave(e))),onFocus:_(e.onFocus,()=>d(!0)),onBlur:_(e.onBlur,()=>d(!1))})})})},`MenuItemImpl`)),[vi,yi]=K(`MenuRadioGroup`,{value:void 0,onValueChange:G(()=>{},`onValueChange`)}),[bi,xi]=K(`MenuItemIndicator`,{checked:!1}),Si=z.forwardRef(G(function(e,t){let{__scopeMenu:n,...r}=e;return(0,B.jsx)(O.div,{role:`separator`,"aria-orientation":`horizontal`,...r,ref:t})},`MenuSeparator`)),[Ci,wi]=K(`MenuSub`);function Ti(e){return e?`open`:`closed`}G(Ti,`getOpenState`);function Ei(e){return e===`indeterminate`}G(Ei,`isIndeterminate`);function Di(e){return Ei(e)?`indeterminate`:e?`checked`:`unchecked`}G(Di,`getCheckedState`);function Oi(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}G(Oi,`focusFirst`);function ki(e,t){return e.map((n,r)=>e[(t+r)%e.length])}G(ki,`wrapArray`);function Ai(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=ki(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}G(Ai,`getNextMatch`);function ji(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;er!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}G(ji,`isPointInPolygon`);function Mi(e,t){return t?ji({x:e.clientX,y:e.clientY},t):!1}G(Mi,`isPointerInGraceArea`);function Ni(e){return t=>t.pointerType===`mouse`?e(t):void 0}G(Ni,`whenMouse`);var Pi=$r,Fi=ei,Ii=ii,Li=si,Ri=fi,zi=pi,Bi=gi,Vi=Si,Hi=Object.defineProperty,Y=(e,t)=>Hi(e,`name`,{value:t,configurable:!0}),Ui=`DropdownMenu`,[Wi,Gi]=v(Ui,[qr]),X=qr(),[Ki,qi]=Wi(Ui),Ji=Y(e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:a,onOpenChange:o,modal:s=!0}=e,c=X(t),l=z.useRef(null),[u,d]=x({prop:i,defaultProp:a??!1,onChange:o,caller:Ui});return(0,B.jsx)(Ki,{scope:t,triggerId:j(),triggerRef:l,contentId:j(),open:u,onOpenChange:d,onOpenToggle:z.useCallback(()=>d(e=>!e),[d]),modal:s,children:(0,B.jsx)(Pi,{...c,open:u,onOpenChange:d,dir:r,modal:s,children:n})})},`DropdownMenu`),Yi=`DropdownMenuTrigger`,Xi=z.forwardRef(Y(function(e,t){let{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,a=qi(Yi,n),o=X(n),s=S(t,a.triggerRef);return(0,B.jsx)(Fi,{asChild:!0,...o,children:(0,B.jsx)(O.button,{type:`button`,id:a.triggerId,"aria-haspopup":`menu`,"aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?`open`:`closed`,"data-disabled":r?``:void 0,disabled:r,...i,ref:s,onPointerDown:_(e.onPointerDown,e=>{!r&&e.button===0&&e.ctrlKey===!1&&(a.onOpenToggle(),a.open||e.preventDefault())}),onKeyDown:_(e.onKeyDown,e=>{r||([`Enter`,` `].includes(e.key)&&a.onOpenToggle(),e.key===`ArrowDown`&&a.onOpenChange(!0),[`Enter`,` `,`ArrowDown`].includes(e.key)&&e.preventDefault())})})})},`DropdownMenuTrigger`)),Zi=Y(e=>{let{__scopeDropdownMenu:t,...n}=e,r=X(t);return(0,B.jsx)(Ii,{...r,...n})},`DropdownMenuPortal`),Qi=`DropdownMenuContent`,$i=z.forwardRef(Y(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=qi(Qi,n),a=X(n),o=z.useRef(!1);return(0,B.jsx)(Li,{id:i.contentId,"aria-labelledby":i.triggerId,...a,...r,ref:t,onCloseAutoFocus:_(e.onCloseAutoFocus,e=>{o.current||i.triggerRef.current?.focus(),o.current=!1,e.preventDefault()}),onInteractOutside:_(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;(!i.modal||r)&&(o.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-dropdown-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-dropdown-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-dropdown-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-dropdown-menu-trigger-height":`var(--radix-popper-anchor-height)`}})},`DropdownMenuContent`)),ea=z.forwardRef(Y(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=X(n);return(0,B.jsx)(Ri,{...i,...r,ref:t})},`DropdownMenuGroup`)),ta=z.forwardRef(Y(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=X(n);return(0,B.jsx)(zi,{...i,...r,ref:t})},`DropdownMenuLabel`)),na=z.forwardRef(Y(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=X(n);return(0,B.jsx)(Bi,{...i,...r,ref:t})},`DropdownMenuItem`)),ra=z.forwardRef(Y(function(e,t){let{__scopeDropdownMenu:n,...r}=e,i=X(n);return(0,B.jsx)(Vi,{...i,...r,ref:t})},`DropdownMenuSeparator`)),ia=Ji,aa=Xi,oa=Zi,sa=$i,ca=ea,la=ta,ua=na,da=ra;function fa(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,B.jsx)(ia,{"data-slot":`dropdown-menu`,...n}),t[2]=n,t[3]=r),r}function pa(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,B.jsx)(aa,{"data-slot":`dropdown-menu-trigger`,...n}),t[2]=n,t[3]=r),r}function ma(e){let t=(0,R.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,sideOffset:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?4:i,o;t[4]===n?o=t[5]:(o=P(`bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-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 z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md`,n),t[4]=n,t[5]=o);let s;return t[6]!==r||t[7]!==a||t[8]!==o?(s=(0,B.jsx)(oa,{children:(0,B.jsx)(sa,{"data-slot":`dropdown-menu-content`,sideOffset:a,className:o,...r})}),t[6]=r,t[7]=a,t[8]=o,t[9]=s):s=t[9],s}function ha(e){let t=(0,R.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,B.jsx)(ca,{"data-slot":`dropdown-menu-group`,...n}),t[2]=n,t[3]=r),r}function ga(e){let t=(0,R.c)(12),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:n,inset:r,variant:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0?`default`:a,s;t[5]===n?s=t[6]:(s=P(`focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive-foreground data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/40 data-[variant=destructive]:focus:text-destructive-foreground data-[variant=destructive]:*:[svg]:!text-destructive-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,n),t[5]=n,t[6]=s);let c;return t[7]!==r||t[8]!==i||t[9]!==s||t[10]!==o?(c=(0,B.jsx)(ua,{"data-slot":`dropdown-menu-item`,"data-inset":r,"data-variant":o,className:s,...i}),t[7]=r,t[8]=i,t[9]=s,t[10]=o,t[11]=c):c=t[11],c}function _a(e){let t=(0,R.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,inset:r,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===n?a=t[5]:(a=P(`px-2 py-1.5 text-sm font-medium data-[inset]:pl-8`,n),t[4]=n,t[5]=a);let o;return t[6]!==r||t[7]!==i||t[8]!==a?(o=(0,B.jsx)(la,{"data-slot":`dropdown-menu-label`,"data-inset":r,className:a,...i}),t[6]=r,t[7]=i,t[8]=a,t[9]=o):o=t[9],o}function va(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`bg-border -mx-1 my-1 h-px`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,B.jsx)(da,{"data-slot":`dropdown-menu-separator`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function ya(){return ba}function ba(){document.body.style.removeProperty(`pointer-events`)}function xa(e){let n=(0,R.c)(18),{user:i}=e,a=ya(),o;n[0]===a?o=n[1]:(o=()=>{a(),r.flushAll()},n[0]=a,n[1]=o);let s=o,c;n[2]===i?c=n[3]:(c=(0,B.jsx)(_a,{className:`p-0 font-normal`,children:(0,B.jsx)(`div`,{className:`flex items-center gap-2 px-1 py-1.5 text-left text-sm`,children:(0,B.jsx)(sr,{user:i,showEmail:!0})})}),n[2]=i,n[3]=c);let l;n[4]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,B.jsx)(va,{}),n[4]=l):l=n[4];let u;n[5]===Symbol.for(`react.memo_cache_sentinel`)?(u=Ue(),n[5]=u):u=n[5];let d;n[6]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,B.jsx)(Qt,{className:`mr-2`}),n[6]=d):d=n[6];let f;n[7]===a?f=n[8]:(f=(0,B.jsx)(ha,{children:(0,B.jsx)(ga,{asChild:!0,children:(0,B.jsxs)(t,{className:`block w-full cursor-pointer`,href:u,prefetch:!0,onClick:a,children:[d,`Settings`]})})}),n[7]=a,n[8]=f);let p;n[9]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,B.jsx)(va,{}),n[9]=p):p=n[9];let m;n[10]===Symbol.for(`react.memo_cache_sentinel`)?(m=Be(),n[10]=m):m=n[10];let h;n[11]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,B.jsx)(qt,{className:`mr-2`}),n[11]=h):h=n[11];let g;n[12]===s?g=n[13]:(g=(0,B.jsx)(ga,{asChild:!0,children:(0,B.jsxs)(t,{className:`block w-full cursor-pointer`,href:m,as:`button`,onClick:s,"data-test":`logout-button`,children:[h,`Log out`]})}),n[12]=s,n[13]=g);let _;return n[14]!==g||n[15]!==c||n[16]!==f?(_=(0,B.jsxs)(B.Fragment,{children:[c,l,f,p,g]}),n[14]=g,n[15]=c,n[16]=f,n[17]=_):_=n[17],_}function Sa(){let e=(0,R.c)(13),{auth:t}=i().props,{state:n}=mn(),r=on();if(!t.user)return null;let a;e[0]===t.user?a=e[1]:(a=(0,B.jsx)(sr,{user:t.user}),e[0]=t.user,e[1]=a);let o;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,B.jsx)(Ut,{className:`ml-auto size-4`}),e[2]=o):o=e[2];let s;e[3]===a?s=e[4]:(s=(0,B.jsx)(pa,{asChild:!0,children:(0,B.jsxs)(An,{size:`lg`,className:`group text-sidebar-accent-foreground data-[state=open]:bg-sidebar-accent`,"data-test":`sidebar-menu-button`,children:[a,o]})}),e[3]=a,e[4]=s);let c=r?`bottom`:n===`collapsed`?`left`:`bottom`,l;e[5]===t.user?l=e[6]:(l=(0,B.jsx)(xa,{user:t.user}),e[5]=t.user,e[6]=l);let u;e[7]!==c||e[8]!==l?(u=(0,B.jsx)(ma,{className:`w-(--radix-dropdown-menu-trigger-width) min-w-56 rounded-lg`,align:`end`,side:c,children:l}),e[7]=c,e[8]=l,e[9]=u):u=e[9];let d;return e[10]!==s||e[11]!==u?(d=(0,B.jsx)(Dn,{children:(0,B.jsx)(On,{children:(0,B.jsxs)(fa,{children:[s,u]})})}),e[10]=s,e[11]=u,e[12]=d):d=e[12],d}var Ca=[{title:`Dashboard`,href:He(),icon:Kt}],wa=[{title:`Repository`,href:`https://github.com/laravel/react-starter-kit`,icon:Gt},{title:`Documentation`,href:`https://laravel.com/docs/starter-kits#react`,icon:Ht}];function Ta(){let e=(0,R.c)(4),n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=He(),e[0]=n):n=e[0];let r;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,B.jsx)(xn,{children:(0,B.jsx)(Dn,{children:(0,B.jsx)(On,{children:(0,B.jsx)(An,{size:`lg`,asChild:!0,children:(0,B.jsx)(t,{href:n,prefetch:!0,children:(0,B.jsx)(Pn,{})})})})})}),e[1]=r):r=e[1];let i;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,B.jsx)(Cn,{children:(0,B.jsx)(Rn,{items:Ca})}),e[2]=i):i=e[2];let a;return e[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,B.jsxs)(vn,{collapsible:`icon`,variant:`inset`,children:[r,i,(0,B.jsxs)(Sn,{children:[(0,B.jsx)(Fn,{items:wa,className:`mt-auto`}),(0,B.jsx)(Sa,{})]})]}),e[3]=a):a=e[3],a}function Ea(e){let n=(0,R.c)(4),{breadcrumbs:r}=e,i;n[0]===r?i=n[1]:(i=r.length>0&&(0,B.jsx)(Ne,{children:(0,B.jsx)(Oe,{children:r.map((e,n)=>{let i=n===r.length-1;return(0,B.jsxs)(z.Fragment,{children:[(0,B.jsx)(ke,{children:i?(0,B.jsx)(De,{children:e.title}):(0,B.jsx)(je,{asChild:!0,children:(0,B.jsx)(t,{href:e.href,children:e.title})})}),!i&&(0,B.jsx)(Ae,{})]},n)})})}),n[0]=r,n[1]=i);let a;return n[2]===i?a=n[3]:(a=(0,B.jsx)(B.Fragment,{children:i}),n[2]=i,n[3]=a),a}function Da(e){let t=(0,R.c)(5),{breadcrumbs:n}=e,r;t[0]===n?r=t[1]:(r=n===void 0?[]:n,t[0]=n,t[1]=r);let i=r,a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,B.jsx)(yn,{className:`-ml-1`}),t[2]=a):a=t[2];let o;return t[3]===i?o=t[4]:(o=(0,B.jsx)(`header`,{className:`flex h-16 shrink-0 items-center gap-2 border-b border-sidebar-border/50 px-6 transition-[width,height] ease-linear group-has-data-[collapsible=icon]/sidebar-wrapper:h-12 md:px-4`,children:(0,B.jsxs)(`div`,{className:`flex items-center gap-2`,children:[a,(0,B.jsx)(Ea,{breadcrumbs:i})]})}),t[3]=i,t[4]=o),o}function Oa(e){let t=(0,R.c)(8),{children:n,breadcrumbs:r}=e,i;t[0]===r?i=t[1]:(i=r===void 0?[]:r,t[0]=r,t[1]=i);let a=i,o;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,B.jsx)(Ta,{}),t[2]=o):o=t[2];let s;t[3]===a?s=t[4]:(s=(0,B.jsx)(Da,{breadcrumbs:a}),t[3]=a,t[4]=s);let c;return t[5]!==n||t[6]!==s?(c=(0,B.jsxs)(Mn,{variant:`sidebar`,children:[o,(0,B.jsxs)(jn,{variant:`sidebar`,className:`overflow-x-hidden`,children:[s,n]})]}),t[5]=n,t[6]=s,t[7]=c):c=t[7],c}function ka(e){let t=(0,R.c)(5),{breadcrumbs:n,children:r}=e,i;t[0]===n?i=t[1]:(i=n===void 0?[]:n,t[0]=n,t[1]=i);let a=i,o;return t[2]!==a||t[3]!==r?(o=(0,B.jsx)(Oa,{breadcrumbs:a,children:r}),t[2]=a,t[3]=r,t[4]=o):o=t[4],o}function Aa(e){let n=(0,R.c)(17),{children:r,title:i,description:a}=e,o;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(o=Ve(),n[0]=o):o=n[0];let s;n[1]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,B.jsx)(`div`,{className:`mb-1 flex h-9 w-9 items-center justify-center rounded-md`,children:(0,B.jsx)(Nn,{className:`size-9 fill-current text-[var(--foreground)] dark:text-white`})}),n[1]=s):s=n[1];let c;n[2]===i?c=n[3]:(c=(0,B.jsxs)(t,{href:o,className:`flex flex-col items-center gap-2 font-medium`,children:[s,(0,B.jsx)(`span`,{className:`sr-only`,children:i})]}),n[2]=i,n[3]=c);let l;n[4]===i?l=n[5]:(l=(0,B.jsx)(`h1`,{className:`text-xl font-medium`,children:i}),n[4]=i,n[5]=l);let u;n[6]===a?u=n[7]:(u=(0,B.jsx)(`p`,{className:`text-center text-sm text-muted-foreground`,children:a}),n[6]=a,n[7]=u);let d;n[8]!==l||n[9]!==u?(d=(0,B.jsxs)(`div`,{className:`space-y-2 text-center`,children:[l,u]}),n[8]=l,n[9]=u,n[10]=d):d=n[10];let f;n[11]!==c||n[12]!==d?(f=(0,B.jsxs)(`div`,{className:`flex flex-col items-center gap-4`,children:[c,d]}),n[11]=c,n[12]=d,n[13]=f):f=n[13];let p;return n[14]!==r||n[15]!==f?(p=(0,B.jsx)(`div`,{className:`flex min-h-svh flex-col items-center justify-center gap-6 bg-background p-6 md:p-10`,children:(0,B.jsx)(`div`,{className:`w-full max-w-sm`,children:(0,B.jsxs)(`div`,{className:`flex flex-col gap-8`,children:[f,r]})})}),n[14]=r,n[15]=f,n[16]=p):p=n[16],p}function ja(e){let t=(0,R.c)(4),{title:n,description:r,children:i}=e,a=n===void 0?``:n,o=r===void 0?``:r,s;return t[0]!==i||t[1]!==o||t[2]!==a?(s=(0,B.jsx)(Aa,{title:a,description:o,children:i}),t[0]=i,t[1]=o,t[2]=a,t[3]=s):s=t[3],s}var Ma=[{title:`Profile`,href:Ue(),icon:null},{title:`Security`,href:Ge(),icon:null},{title:`Appearance`,href:g(),icon:null}];function Na(e){let n=(0,R.c)(11),{children:r}=e,{isCurrentOrParentUrl:i}=Ln(),a;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,B.jsx)(We,{title:`Settings`,description:`Manage your profile and account settings`}),n[0]=a):a=n[0];let o;n[1]===i?o=n[2]:(o=Ma.map((e,n)=>(0,B.jsx)(I,{size:`sm`,variant:`ghost`,asChild:!0,className:P(`w-full justify-start`,{"bg-muted":i(e.href)}),children:(0,B.jsxs)(t,{href:e.href,children:[e.icon&&(0,B.jsx)(e.icon,{className:`h-4 w-4`}),e.title]})},`${pe(e.href)}-${n}`)),n[1]=i,n[2]=o);let s;n[3]===o?s=n[4]:(s=(0,B.jsx)(`aside`,{className:`w-full max-w-xl lg:w-48`,children:(0,B.jsx)(`nav`,{className:`flex flex-col space-y-1 space-x-0`,"aria-label":`Settings`,children:o})}),n[3]=o,n[4]=s);let c;n[5]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,B.jsx)(Me,{className:`my-6 lg:hidden`}),n[5]=c):c=n[5];let l;n[6]===r?l=n[7]:(l=(0,B.jsx)(`div`,{className:`flex-1 md:max-w-2xl`,children:(0,B.jsx)(`section`,{className:`max-w-xl space-y-12`,children:r})}),n[6]=r,n[7]=l);let u;return n[8]!==s||n[9]!==l?(u=(0,B.jsxs)(`div`,{className:`px-4 py-6`,children:[a,(0,B.jsxs)(`div`,{className:`flex flex-col lg:flex-row lg:space-x-12`,children:[s,c,l]})]}),n[8]=s,n[9]=l,n[10]=u):u=n[10],u}var Pa=e=>`https://coresg-normal.trae.ai/api/ide/v1/text_to_image?prompt=${encodeURIComponent(e)}&image_size=square_hd`,Fa=[{label:`Products`,href:`/products`,children:[{heading:`Shop by Category`,items:[{label:`Writing Instruments`,href:`/products?category=writing-instruments`},{label:`Paper & Notebooks`,href:`/products?category=paper-notebooks`},{label:`Desk Accessories`,href:`/products?category=desk-accessories`},{label:`Technology`,href:`/products?category=technology`},{label:`Furniture`,href:`/products?category=furniture`},{label:`Curated Bundles`,href:`/products?category=bundles`}]},{heading:`Featured Lines`,items:[{label:`New Arrivals`,href:`/products?tag=new`},{label:`Best Sellers`,href:`/products?tag=bestseller`},{label:`On Sale`,href:`/products?tag=sale`},{label:`Limited Editions`,href:`/products?tag=limited`},{label:`Gift Sets`,href:`/products`},{label:`Corporate Orders`,href:`/contact`}]}],featured:{image:Pa(`Platinum signature collection premium desk products luxury fountain pen leather notebook flat lay studio`),title:`Signature Series`,href:`/products?tag=bestseller`}},{label:`Collections`,href:`/products`,children:[{heading:`Premium Lines`,items:[{label:`Signature Series`,href:`/products?tag=bestseller`},{label:`Executive Line`,href:`/products?tag=limited`},{label:`Heritage`,href:`/products`},{label:`Modern Minimal`,href:`/products`}]},{heading:`Curated`,items:[{label:`Eco-Friendly`,href:`/products`},{label:`Limited Editions`,href:`/products?tag=limited`},{label:`The Home Office`,href:`/products`},{label:`The Boardroom`,href:`/products`}]}],featured:{image:Pa(`Executive line premium leather office collection dark brown accessories studio shot`),title:`Executive Line`,href:`/products?tag=limited`}},{label:`About`,href:`/about`,children:[{heading:`Company`,items:[{label:`Our Story`,href:`/about`},{label:`Team`,href:`/about#team`},{label:`Workshop & Craft`,href:`/about#craft`},{label:`Press & Media`,href:`/about#press`}]},{heading:`Values`,items:[{label:`Sustainability`,href:`/about#sustainability`},{label:`Materials`,href:`/about`},{label:`Lifetime Warranty`,href:`/about`},{label:`Careers`,href:`/about`}]}],featured:{image:Pa(`Artisan craftsperson working on leather notebook workshop portrait hands detail`),title:`Our Workshop`,href:`/about#craft`}},{label:`Support`,href:`/contact`,children:[{heading:`Help Center`,items:[{label:`Contact Us`,href:`/contact`},{label:`FAQ`,href:`/contact#faq`},{label:`Shipping Policy`,href:`/contact#shipping`},{label:`Returns & Exchanges`,href:`/contact#returns`}]},{heading:`Services`,items:[{label:`Order Tracking`,href:`/contact`},{label:`Warranty Claims`,href:`/contact`},{label:`Engraving & Gifting`,href:`/contact`},{label:`Wholesale Inquiries`,href:`/contact`}]}],featured:{image:Pa(`Premium customer care luxury concierge desk warm professional service`),title:`Contact Our Team`,href:`/contact`}}],Ia=[{platform:`instagram`,href:`#`,label:`Instagram`},{platform:`twitter`,href:`#`,label:`Twitter / X`},{platform:`linkedin`,href:`#`,label:`LinkedIn`},{platform:`pinterest`,href:`#`,label:`Pinterest`},{platform:`youtube`,href:`#`,label:`YouTube`}],La=[{heading:`Shop`,items:[{label:`All Products`,href:`/products`},{label:`New Arrivals`,href:`/products?tag=new`},{label:`Best Sellers`,href:`/products?tag=bestseller`},{label:`Limited Editions`,href:`/products?tag=limited`},{label:`Gift Cards`,href:`/products`},{label:`Curated Bundles`,href:`/products?category=bundles`}]},{heading:`Company`,items:[{label:`Our Story`,href:`/about`},{label:`The Team`,href:`/about#team`},{label:`Sustainability`,href:`/about#sustainability`},{label:`Press & Media`,href:`/about#press`},{label:`Careers`,href:`/about`}]},{heading:`Support`,items:[{label:`Contact Us`,href:`/contact`},{label:`FAQ`,href:`/contact#faq`},{label:`Shipping & Delivery`,href:`/contact#shipping`},{label:`Returns & Exchanges`,href:`/contact#returns`},{label:`Warranty & Care`,href:`/contact`},{label:`Track Your Order`,href:`/contact`}]},{heading:`Legal`,items:[{label:`Privacy Policy`,href:`#`},{label:`Terms of Service`,href:`#`},{label:`Terms of Sale`,href:`#`},{label:`Accessibility Statement`,href:`#`},{label:`Cookie Policy`,href:`#`}]}],Ra={instagram:_e,twitter:ve,linkedin:ge,pinterest:$t,youtube:en},za=[{label:`Privacy Policy`,href:`#`},{label:`Terms of Service`,href:`#`},{label:`Cookie Policy`,href:`#`},{label:`Accessibility`,href:`#`}];function Ba(){let e=(0,R.c)(19),[n,r]=z.useState(``),i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=e=>{e.preventDefault(),r(``)},e[0]=i):i=e[0];let a=i,o=Ga,s;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,B.jsx)(`div`,{className:`absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent via-platinum-300 to-transparent dark:via-platinum-700`}),e[1]=s):s=e[1];let c;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,B.jsxs)(`div`,{className:`max-w-xl`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2 text-teal-accent-600 dark:text-teal-accent-400`,children:[(0,B.jsx)(ye,{className:`size-5`}),(0,B.jsx)(`span`,{className:`text-sm font-semibold tracking-wider uppercase`,children:`Platinum Insider`})]}),(0,B.jsx)(`h3`,{className:`mt-3 text-2xl font-bold tracking-tight text-platinum-900 dark:text-platinum-50`,children:`Join the Platinum Circle`}),(0,B.jsx)(`p`,{className:`mt-2 text-sm text-platinum-600 dark:text-platinum-400`,children:`Be the first to discover new arrivals, exclusive offers, and our curated editorial — delivered with intention.`})]}),e[2]=c):c=e[2];let l;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(l=e=>r(e.target.value),e[3]=l):l=e[3];let u;e[4]===n?u=e[5]:(u=(0,B.jsx)(Ee,{type:`email`,placeholder:`your@email.com`,value:n,onChange:l,required:!0,className:`h-12 flex-1 rounded-full border-platinum-300 bg-white/80 pl-5 text-sm text-platinum-900 placeholder:text-platinum-500 focus:border-teal-accent-500 focus:ring-teal-accent-500/20 dark:border-platinum-700 dark:bg-platinum-900/80 dark:text-platinum-100 dark:placeholder:text-platinum-500`}),e[4]=n,e[5]=u);let d;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,B.jsx)(Ke,{type:`submit`,variant:`gradient`,size:`lg`,className:`shrink-0`,children:`Subscribe`}),e[6]=d):d=e[6];let f;e[7]===u?f=e[8]:(f=(0,B.jsx)(`div`,{className:`dark:to-teal-accent-950/40 relative my-10 overflow-hidden rounded-2xl border border-platinum-200 bg-gradient-to-br from-platinum-100/60 via-white to-teal-accent-50/40 p-8 dark:border-platinum-800 dark:from-platinum-900/60 dark:via-platinum-900`,children:(0,B.jsxs)(`div`,{className:`flex flex-col gap-8 lg:flex-row lg:items-center lg:justify-between`,children:[c,(0,B.jsxs)(`form`,{onSubmit:a,className:`flex w-full flex-col gap-3 sm:flex-row lg:w-auto lg:min-w-[420px]`,children:[u,d]})]})}),e[7]=u,e[8]=f);let p,m;e[9]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,B.jsxs)(t,{href:`/`,className:`flex items-center gap-1.5`,"aria-label":`Platinum Home`,children:[(0,B.jsx)(Wt,{className:`size-5 text-teal-accent-600 dark:text-teal-accent-400`,strokeWidth:2.25}),(0,B.jsx)(`span`,{className:`gradient-text-platinum font-display text-2xl font-bold tracking-tight`,children:`Platinum`})]}),m=(0,B.jsx)(`p`,{className:`text-sm leading-relaxed text-platinum-600 dark:text-platinum-400`,children:`Office essentials crafted with intention. From the boardroom to the home desk — elevate every detail of your workday.`}),e[9]=p,e[10]=m):(p=e[9],m=e[10]);let h;e[11]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,B.jsxs)(`div`,{className:`grid grid-cols-1 gap-8 pb-10 sm:grid-cols-2 lg:grid-cols-4`,children:[(0,B.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[p,m,(0,B.jsx)(`div`,{className:`flex items-center gap-2 pt-1`,children:Ia.map(Wa)})]}),La.map(Ha)]}),e[11]=h):h=e[11];let g,_;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,B.jsxs)(`p`,{className:`tabular`,children:[`© `,(0,B.jsx)(`span`,{className:`font-medium`,children:`2026`}),` Platinum Office Essentials. All rights reserved.`]}),_=(0,B.jsx)(`span`,{className:`hidden size-1 rounded-full bg-platinum-300 sm:inline-block dark:bg-platinum-600`}),e[12]=g,e[13]=_):(g=e[12],_=e[13]);let v;e[14]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,B.jsxs)(`div`,{className:`flex flex-wrap items-center gap-4 text-sm text-platinum-500 dark:text-platinum-400`,children:[g,_,(0,B.jsx)(`ul`,{className:`flex flex-wrap items-center gap-x-4 gap-y-2`,children:za.map(Va)})]}),e[14]=v):v=e[14];let y;e[15]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,B.jsxs)(`p`,{className:`text-xs text-platinum-500 dark:text-platinum-400`,children:[`Powered by`,` `,(0,B.jsx)(`span`,{className:`font-semibold text-platinum-700 dark:text-platinum-300`,children:`Platinum Office Essentials`})]}),e[15]=y):y=e[15];let b;e[16]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,B.jsxs)(`div`,{className:`relative flex flex-col gap-5 border-t border-platinum-200 py-6 sm:flex-row sm:items-center sm:justify-between dark:border-platinum-800`,children:[v,(0,B.jsxs)(`div`,{className:`flex items-center justify-between sm:justify-end sm:gap-5`,children:[y,(0,B.jsx)(`button`,{type:`button`,onClick:o,"aria-label":`Back to top`,className:P(`ml-4 inline-flex size-10 items-center justify-center rounded-full border transition-all duration-300`,`border-platinum-200 text-platinum-500 hover:-translate-y-0.5 hover:border-teal-accent-500 hover:text-teal-accent-600 hover:shadow-platinum`,`dark:border-platinum-700 dark:text-platinum-400 dark:hover:border-teal-accent-400 dark:hover:text-teal-accent-400`),children:(0,B.jsx)(Vt,{className:`size-4`})})]})]}),e[16]=b):b=e[16];let x;return e[17]===f?x=e[18]:(x=(0,B.jsxs)(`footer`,{className:`relative w-full border-t border-platinum-200 bg-platinum-50 dark:border-platinum-800 dark:bg-platinum-950`,children:[s,(0,B.jsxs)(`div`,{className:`container mx-auto px-4 lg:px-8`,children:[f,h,b]})]}),e[17]=f,e[18]=x),x}function Va(e){return(0,B.jsx)(`li`,{children:(0,B.jsx)(t,{href:e.href,className:`transition-colors hover:text-teal-accent-600 dark:hover:text-teal-accent-400`,children:e.label})},e.label)}function Ha(e){return(0,B.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,B.jsx)(`h4`,{className:`text-sm font-semibold tracking-wider text-platinum-900 uppercase dark:text-platinum-100`,children:e.heading}),(0,B.jsx)(`ul`,{className:`flex flex-col gap-2.5`,children:e.items.map(Ua)})]},e.heading)}function Ua(e){return(0,B.jsx)(`li`,{children:(0,B.jsx)(t,{href:e.href,className:`text-sm text-platinum-600 transition-colors hover:text-teal-accent-600 dark:text-platinum-400 dark:hover:text-teal-accent-400`,children:e.label})},e.label)}function Wa(e){let t=Ra[e.platform];return t?(0,B.jsx)(`a`,{href:e.href,"aria-label":e.label,target:`_blank`,rel:`noopener noreferrer`,className:P(`inline-flex size-9 items-center justify-center rounded-full border transition-all duration-300`,`border-platinum-200 text-platinum-500 hover:-translate-y-0.5 hover:border-teal-accent-500 hover:text-teal-accent-600`,`dark:border-platinum-700 dark:text-platinum-400 dark:hover:border-teal-accent-400 dark:hover:text-teal-accent-400`),children:(0,B.jsx)(t,{className:`size-4`})},e.platform):null}function Ga(){window.scrollTo({top:0,behavior:`smooth`})}c();var Ka=Object.defineProperty,Z=(e,t)=>Ka(e,`name`,{value:t,configurable:!0}),Q=`NavigationMenu`,[qa,Ja,Ya]=le(Q),[Xa,Za,Qa]=le(Q),[$a,eo]=v(Q,[Ya,Qa]),[to,$]=$a(Q),[no,ro]=$a(Q),io=z.forwardRef(Z(function(e,t){let{__scopeNavigationMenu:n,value:r,onValueChange:i,defaultValue:a,delayDuration:o=200,skipDelayDuration:s=300,orientation:c=`horizontal`,dir:l,...u}=e,[d,f]=z.useState(null),p=S(t,f),m=ce(l),h=z.useRef(0),g=z.useRef(0),_=z.useRef(0),[v,y]=z.useState(!0),[b,C]=x({prop:r,onChange:Z(e=>{let t=e!==``,n=s>0;t?(window.clearTimeout(_.current),n&&y(!1)):(window.clearTimeout(_.current),_.current=window.setTimeout(()=>y(!0),s)),i?.(e)},`onChange`),defaultProp:a??``,caller:Q}),w=z.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>C(``),150)},[C]),T=z.useCallback(e=>{window.clearTimeout(g.current),C(e)},[C]),E=z.useCallback(e=>{b===e?window.clearTimeout(g.current):h.current=window.setTimeout(()=>{window.clearTimeout(g.current),C(e)},o)},[b,C,o]);return z.useEffect(()=>()=>{window.clearTimeout(h.current),window.clearTimeout(g.current),window.clearTimeout(_.current)},[]),(0,B.jsx)(ao,{scope:n,isRootMenu:!0,value:b,dir:m,orientation:c,rootNavigationMenu:d,onTriggerEnter:e=>{window.clearTimeout(h.current),v?E(e):T(e)},onTriggerLeave:()=>{window.clearTimeout(h.current),w()},onContentEnter:()=>window.clearTimeout(g.current),onContentLeave:w,onItemSelect:e=>{C(t=>t===e?``:e)},onItemDismiss:()=>C(``),children:(0,B.jsx)(O.nav,{"aria-label":`Main`,"data-orientation":c,dir:m,...u,ref:p})})},`NavigationMenu`)),ao=Z(e=>{let{scope:t,isRootMenu:n,rootNavigationMenu:r,dir:i,orientation:a,children:o,value:s,onItemSelect:c,onItemDismiss:l,onTriggerEnter:u,onTriggerLeave:d,onContentEnter:f,onContentLeave:p}=e,[m,h]=z.useState(null),[g,_]=z.useState(new Map),[v,y]=z.useState(null);return(0,B.jsx)(to,{scope:t,isRootMenu:n,rootNavigationMenu:r,value:s,previousValue:de(s),baseId:j(),dir:i,orientation:a,viewport:m,onViewportChange:h,indicatorTrack:v,onIndicatorTrackChange:y,onTriggerEnter:A(u),onTriggerLeave:A(d),onContentEnter:A(f),onContentLeave:A(p),onItemSelect:A(c),onItemDismiss:A(l),onViewportContentChange:z.useCallback((e,t)=>{_(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:z.useCallback(e=>{_(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,B.jsx)(qa.Provider,{scope:t,children:(0,B.jsx)(no,{scope:t,items:g,children:o})})})},`NavigationMenuProvider`),oo=`NavigationMenuList`,so=z.forwardRef(Z(function(e,t){let{__scopeNavigationMenu:n,...r}=e,i=$(oo,n),a=(0,B.jsx)(O.ul,{"data-orientation":i.orientation,...r,ref:t});return(0,B.jsx)(O.div,{style:{position:`relative`},ref:i.onIndicatorTrackChange,children:(0,B.jsx)(qa.Slot,{scope:n,children:i.isRootMenu?(0,B.jsx)(Eo,{asChild:!0,children:a}):a})})},`NavigationMenuList`)),[co,lo]=$a(`NavigationMenuItem`),uo=z.forwardRef(Z(function(e,t){let{__scopeNavigationMenu:n,value:r,...i}=e,a=j(),o=r||a||`LEGACY_REACT_AUTO_VALUE`,s=z.useRef(null),c=z.useRef(null),l=z.useRef(null),u=z.useRef(()=>{}),d=z.useRef(!1),f=z.useCallback((e=`start`)=>{if(s.current){u.current();let t=Ao(s.current);t.length&&jo(e===`start`?t:t.reverse())}},[]),p=z.useCallback(()=>{if(s.current){let e=Ao(s.current);e.length&&(u.current=Mo(e))}},[]);return(0,B.jsx)(co,{scope:n,value:o,triggerRef:c,contentRef:s,focusProxyRef:l,wasEscapeCloseRef:d,onEntryKeyDown:f,onFocusProxyEnter:f,onRootContentClose:p,onContentFocusOutside:p,children:(0,B.jsx)(O.li,{...i,ref:t})})},`NavigationMenuItem`)),fo=`NavigationMenuTrigger`,po=z.forwardRef(Z(function(e,t){let{__scopeNavigationMenu:n,disabled:r,...i}=e,a=$(fo,e.__scopeNavigationMenu),o=lo(fo,e.__scopeNavigationMenu),s=z.useRef(null),c=S(s,o.triggerRef,t),l=Fo(a.baseId,o.value),u=Io(a.baseId,o.value),d=z.useRef(!1),f=z.useRef(!1),p=o.value===a.value;return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(qa.ItemSlot,{scope:n,value:o.value,children:(0,B.jsx)(ko,{asChild:!0,children:(0,B.jsx)(O.button,{id:l,disabled:r,"data-disabled":r?``:void 0,"data-state":Po(p),"aria-expanded":p,"aria-controls":p?u:void 0,...i,ref:c,onPointerEnter:_(e.onPointerEnter,()=>{f.current=!1,o.wasEscapeCloseRef.current=!1}),onPointerMove:_(e.onPointerMove,Lo(()=>{r||f.current||o.wasEscapeCloseRef.current||d.current||(a.onTriggerEnter(o.value),d.current=!0)})),onPointerLeave:_(e.onPointerLeave,Lo(()=>{r||(a.onTriggerLeave(),d.current=!1)})),onClick:_(e.onClick,()=>{a.onItemSelect(o.value),f.current=p}),onKeyDown:_(e.onKeyDown,e=>{let t={horizontal:`ArrowDown`,vertical:a.dir===`rtl`?`ArrowLeft`:`ArrowRight`}[a.orientation];p&&e.key===t&&(o.onEntryKeyDown(),e.preventDefault())})})})}),p&&(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(ae,{"aria-hidden":!0,tabIndex:0,ref:o.focusProxyRef,onFocus:e=>{let t=o.contentRef.current,n=e.relatedTarget,r=n===s.current,i=t?.contains(n);(r||!i)&&o.onFocusProxyEnter(r?`start`:`end`)}}),a.viewport&&(0,B.jsx)(`span`,{"aria-owns":u})]})]})},`NavigationMenuTrigger`)),mo=`navigationMenu.linkSelect`,ho=z.forwardRef(Z(function(e,t){let{__scopeNavigationMenu:n,active:r,onSelect:i,...a}=e;return(0,B.jsx)(ko,{asChild:!0,children:(0,B.jsx)(O.a,{"data-active":r?``:void 0,"aria-current":r?`page`:void 0,...a,ref:t,onClick:_(e.onClick,e=>{let t=e.target,n=new CustomEvent(mo,{bubbles:!0,cancelable:!0});t.addEventListener(mo,e=>i?.(e),{once:!0}),D(t,n),!n.defaultPrevented&&!e.metaKey&&D(t,new CustomEvent(yo,{bubbles:!0,cancelable:!0}))},{checkForDefaultPrevented:!1})})})},`NavigationMenuLink`)),go=`NavigationMenuContent`,_o=z.forwardRef(Z(function(e,t){let{forceMount:n,...r}=e,i=$(go,e.__scopeNavigationMenu),a=lo(go,e.__scopeNavigationMenu),o=S(a.contentRef,t),s=a.value===i.value,c={value:a.value,triggerRef:a.triggerRef,focusProxyRef:a.focusProxyRef,wasEscapeCloseRef:a.wasEscapeCloseRef,onContentFocusOutside:a.onContentFocusOutside,onRootContentClose:a.onRootContentClose,...r};return i.viewport?(0,B.jsx)(vo,{forceMount:n,...c,ref:o}):(0,B.jsx)(y,{present:n||s,children:(0,B.jsx)(bo,{"data-state":Po(s),...c,ref:o,onPointerEnter:_(e.onPointerEnter,i.onContentEnter),onPointerLeave:_(e.onPointerLeave,Lo(i.onContentLeave)),style:{pointerEvents:!s&&i.isRootMenu?`none`:void 0,...c.style}})})},`NavigationMenuContent`)),vo=z.forwardRef(Z(function(e,t){let{onViewportContentChange:n,onViewportContentRemove:r}=$(go,e.__scopeNavigationMenu);return b(()=>{n(e.value,{ref:t,...e})},[e,t,n]),b(()=>()=>r(e.value),[e.value,r]),null},`ViewportContentMounter`)),yo=`navigationMenu.rootContentDismiss`,bo=z.forwardRef(Z(function(e,t){let{__scopeNavigationMenu:n,value:r,triggerRef:i,focusProxyRef:a,wasEscapeCloseRef:o,onRootContentClose:s,onContentFocusOutside:c,...l}=e,u=$(go,n),d=z.useRef(null),f=S(d,t),p=Fo(u.baseId,r),m=Io(u.baseId,r),h=Ja(n),g=z.useRef(null),{onItemDismiss:v}=u;return z.useEffect(()=>{let e=d.current;if(u.isRootMenu&&e){let t=Z(()=>{v(),s(),e.contains(document.activeElement)&&i.current?.focus()},`handleClose`);return e.addEventListener(yo,t),()=>e.removeEventListener(yo,t)}},[u.isRootMenu,e.value,i,v,s]),(0,B.jsx)(Eo,{asChild:!0,children:(0,B.jsx)(re,{id:m,"aria-labelledby":p,"data-motion":z.useMemo(()=>{let e=h().map(e=>e.value);u.dir===`rtl`&&e.reverse();let t=e.indexOf(u.value),n=e.indexOf(u.previousValue),i=r===u.value,a=n===e.indexOf(r);if(!i&&!a)return g.current;let o=(()=>{if(t!==n){if(i&&n!==-1)return t>n?`from-end`:`from-start`;if(a&&t!==-1)return t>n?`to-start`:`to-end`}return null})();return g.current=o,o},[u.previousValue,u.value,u.dir,h,r]),"data-orientation":u.orientation,...l,ref:f,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(yo,{bubbles:!0,cancelable:!0});d.current?.dispatchEvent(e)},onFocusOutside:_(e.onFocusOutside,e=>{c();let t=e.target;u.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:_(e.onPointerDownOutside,e=>{let t=e.target,n=h().some(e=>e.ref.current?.contains(t)),r=u.isRootMenu&&u.viewport?.contains(t);(n||r||!u.isRootMenu)&&e.preventDefault()}),onKeyDown:_(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if(e.key===`Tab`&&!t){let t=Ao(e.currentTarget),n=document.activeElement,r=t.findIndex(e=>e===n);jo(e.shiftKey?t.slice(0,r).reverse():t.slice(r+1,t.length))?e.preventDefault():a.current?.focus()}}),onEscapeKeyDown:_(e.onEscapeKeyDown,e=>{o.current=!0})})})},`NavigationMenuContentImpl`)),xo=`NavigationMenuViewport`,So=z.forwardRef(Z(function(e,t){let{forceMount:n,...r}=e,i=!!$(xo,e.__scopeNavigationMenu).value;return(0,B.jsx)(y,{present:n||i,children:(0,B.jsx)(Co,{...r,ref:t})})},`NavigationMenuViewport`)),Co=z.forwardRef(Z(function(e,t){let{__scopeNavigationMenu:n,children:r,...i}=e,a=$(xo,n),o=S(t,a.onViewportChange),s=ro(go,e.__scopeNavigationMenu),[c,l]=z.useState(null),[u,d]=z.useState(null),f=c?c?.width+`px`:void 0,p=c?c?.height+`px`:void 0,m=!!a.value,h=m?a.value:a.previousValue;return No(u,Z(()=>{u&&l({width:u.offsetWidth,height:u.offsetHeight})},`handleSizeChange`)),(0,B.jsx)(O.div,{"data-state":Po(m),"data-orientation":a.orientation,...i,ref:o,style:{pointerEvents:!m&&a.isRootMenu?`none`:void 0,"--radix-navigation-menu-viewport-width":f,"--radix-navigation-menu-viewport-height":p,...i.style},onPointerEnter:_(e.onPointerEnter,a.onContentEnter),onPointerLeave:_(e.onPointerLeave,Lo(a.onContentLeave)),children:Array.from(s.items).map(([e,{ref:t,forceMount:n,...r}])=>{let i=h===e;return(0,B.jsx)(y,{present:n||i,children:(0,B.jsx)(wo,{...r,contentRef:t,isActive:i,onActiveContentChange:d})},e)})})},`NavigationMenuViewportImpl`)),wo=Z(({contentRef:e,isActive:t,onActiveContentChange:n,...r})=>{let i=S(e,z.useCallback(e=>{t&&e&&n(e)},[t,n]));return(0,B.jsx)(bo,{...r,ref:i})},`NavigationMenuViewportItem`),To=`FocusGroup`,Eo=z.forwardRef(Z(function(e,t){let{__scopeNavigationMenu:n,...r}=e,i=$(To,n);return(0,B.jsx)(Xa.Provider,{scope:n,children:(0,B.jsx)(Xa.Slot,{scope:n,children:(0,B.jsx)(O.div,{dir:i.dir,...r,ref:t})})})},`FocusGroup`)),Do=[`ArrowRight`,`ArrowLeft`,`ArrowUp`,`ArrowDown`],Oo=`FocusGroupItem`,ko=z.forwardRef(Z(function(e,t){let{__scopeNavigationMenu:n,...r}=e,i=Za(n),a=$(Oo,n);return(0,B.jsx)(Xa.ItemSlot,{scope:n,children:(0,B.jsx)(O.button,{...r,ref:t,onKeyDown:_(e.onKeyDown,e=>{if([`Home`,`End`,...Do].includes(e.key)){let t=i().map(e=>e.ref.current);if([a.dir===`rtl`?`ArrowRight`:`ArrowLeft`,`ArrowUp`,`End`].includes(e.key)&&t.reverse(),Do.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>jo(t)),e.preventDefault()}})})})},`FocusGroupItem`));function Ao(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:Z(e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}Z(Ao,`getTabbableCandidates`);function jo(e){let t=document.activeElement;return e.some(e=>e===t?!0:(e.focus(),document.activeElement!==t))}Z(jo,`focusFirst`);function Mo(e){return e.forEach(e=>{e.dataset.tabindex=e.getAttribute(`tabindex`)||``,e.setAttribute(`tabindex`,`-1`)}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute(`tabindex`,t)})}}Z(Mo,`removeFromTabOrder`);function No(e,t){let n=A(t);b(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}Z(No,`useResizeObserver`);function Po(e){return e?`open`:`closed`}Z(Po,`getOpenState`);function Fo(e,t){return`${e}-trigger-${t}`}Z(Fo,`makeTriggerId`);function Io(e,t){return`${e}-content-${t}`}Z(Io,`makeContentId`);function Lo(e){return t=>t.pointerType===`mouse`?e(t):void 0}Z(Lo,`whenMouse`);var Ro=io,zo=so,Bo=uo,Vo=po,Ho=ho,Uo=_o,Wo=So;function Go(e){let t=(0,R.c)(15),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,children:n,viewport:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0||a,s;t[5]===r?s=t[6]:(s=P(`group/navigation-menu relative flex max-w-max flex-1 items-center justify-center`,r),t[5]=r,t[6]=s);let c;t[7]===o?c=t[8]:(c=o&&(0,B.jsx)(Zo,{}),t[7]=o,t[8]=c);let l;return t[9]!==n||t[10]!==i||t[11]!==s||t[12]!==c||t[13]!==o?(l=(0,B.jsxs)(Ro,{"data-slot":`navigation-menu`,"data-viewport":o,className:s,...i,children:[n,c]}),t[9]=n,t[10]=i,t[11]=s,t[12]=c,t[13]=o,t[14]=l):l=t[14],l}function Ko(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`group flex flex-1 list-none items-center justify-center gap-1`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,B.jsx)(zo,{"data-slot":`navigation-menu-list`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function qo(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`relative`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,B.jsx)(Bo,{"data-slot":`navigation-menu-item`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Jo=E(`group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[active=true]:bg-accent/50 data-[state=open]:bg-accent/50 data-[active=true]:text-accent-foreground ring-ring/10 dark:ring-ring/20 dark:outline-ring/40 outline-ring/50 transition-[color,box-shadow] focus-visible:ring-4 focus-visible:outline-1`);function Yo(e){let t=(0,R.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:r,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===r?a=t[5]:(a=P(Jo(),`group`,r),t[4]=r,t[5]=a);let o;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,B.jsx)(N,{className:`relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180`,"aria-hidden":`true`}),t[6]=o):o=t[6];let s;return t[7]!==n||t[8]!==i||t[9]!==a?(s=(0,B.jsxs)(Vo,{"data-slot":`navigation-menu-trigger`,className:a,...i,children:[n,` `,o]}),t[7]=n,t[8]=i,t[9]=a,t[10]=s):s=t[10],s}function Xo(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto`,`group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,B.jsx)(Uo,{"data-slot":`navigation-menu-content`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Zo(e){let t=(0,R.c)(9),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=P(`absolute top-full left-0 isolate z-50 flex justify-center`),t[3]=i):i=t[3];let a;t[4]===n?a=t[5]:(a=P(`origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]`,n),t[4]=n,t[5]=a);let o;return t[6]!==r||t[7]!==a?(o=(0,B.jsx)(`div`,{className:i,children:(0,B.jsx)(Wo,{"data-slot":`navigation-menu-viewport`,className:a,...r})}),t[6]=r,t[7]=a,t[8]=o):o=t[8],o}function Qo(e){let t=(0,R.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=P(`hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground ring-ring/10 dark:ring-ring/20 dark:outline-ring/40 outline-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-[color,box-shadow] focus-visible:ring-4 focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,B.jsx)(Ho,{"data-slot":`navigation-menu-link`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function $o(){let e=(0,R.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,B.jsx)(Go,{className:`hidden md:flex`,children:(0,B.jsx)(Ko,{children:Fa.map(es)})}),e[0]=t):t=e[0],t}function es(e){return(0,B.jsx)(ts,{item:e},e.label)}function ts(e){let n=(0,R.c)(26),{item:r}=e;if(!(r.children&&r.children.length>0)){let e=r.href,i;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=P(Jo(),`text-platinum-700 hover:text-platinum-900 hover:bg-platinum-100 dark:text-platinum-300 dark:hover:text-platinum-50 dark:hover:bg-platinum-800`),n[0]=i):i=n[0];let a;return n[1]!==r.href||n[2]!==r.label||n[3]!==i?(a=(0,B.jsx)(qo,{children:(0,B.jsx)(Qo,{asChild:!0,children:(0,B.jsx)(t,{href:e,className:i,children:r.label})})}),n[1]=r.href,n[2]=r.label,n[3]=i,n[4]=a):a=n[4],a}let i;n[5]===Symbol.for(`react.memo_cache_sentinel`)?(i=P(`text-platinum-700 hover:text-platinum-900 hover:bg-platinum-100 dark:text-platinum-300 dark:hover:text-platinum-50 dark:hover:bg-platinum-800`),n[5]=i):i=n[5];let a;n[6]===r.label?a=n[7]:(a=(0,B.jsx)(Yo,{className:i,children:r.label}),n[6]=r.label,n[7]=a);let o=r.featured?`grid-cols-[220px_1fr]`:`grid-cols-2`,s;n[8]===o?s=n[9]:(s=P(`grid w-[680px] lg:w-[720px] gap-6 p-6`,o),n[8]=o,n[9]=s);let c;n[10]===r.featured?c=n[11]:(c=r.featured&&(0,B.jsx)(`div`,{className:`relative overflow-hidden rounded-xl border border-platinum-200 dark:border-platinum-700 bg-gradient-to-br from-platinum-50 to-platinum-100 dark:from-platinum-900 dark:to-platinum-800 group`,children:(0,B.jsxs)(t,{href:r.featured.href,className:`flex h-full w-full flex-col`,children:[(0,B.jsx)(`div`,{className:`aspect-[4/5] overflow-hidden`,children:(0,B.jsx)(`img`,{src:r.featured.image,alt:r.featured.title,className:`h-full w-full object-cover transition-transform duration-500 group-hover:scale-105`})}),(0,B.jsxs)(`div`,{className:`p-4`,children:[(0,B.jsx)(`p`,{className:`font-semibold text-platinum-900 dark:text-platinum-100 text-sm`,children:r.featured.title}),(0,B.jsx)(`p`,{className:`mt-1 text-xs text-platinum-500 dark:text-platinum-400`,children:`Explore now →`})]})]})}),n[10]=r.featured,n[11]=c);let l=(r.featured,`grid-cols-2`),u;n[12]===l?u=n[13]:(u=P(`grid gap-6`,l),n[12]=l,n[13]=u);let d;n[14]===r.children?d=n[15]:(d=r.children?.map(ns),n[14]=r.children,n[15]=d);let f;n[16]!==u||n[17]!==d?(f=(0,B.jsx)(`div`,{className:u,children:d}),n[16]=u,n[17]=d,n[18]=f):f=n[18];let p;n[19]!==s||n[20]!==c||n[21]!==f?(p=(0,B.jsx)(Xo,{children:(0,B.jsxs)(`div`,{className:s,children:[c,f]})}),n[19]=s,n[20]=c,n[21]=f,n[22]=p):p=n[22];let m;return n[23]!==p||n[24]!==a?(m=(0,B.jsxs)(qo,{children:[a,p]}),n[23]=p,n[24]=a,n[25]=m):m=n[25],m}function ns(e){return(0,B.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,B.jsx)(`h4`,{className:`text-xs font-semibold uppercase tracking-wider text-platinum-500 dark:text-platinum-400`,children:e.heading}),(0,B.jsx)(`div`,{className:`flex flex-col gap-1`,children:e.items.map(rs)})]},e.heading)}function rs(e){return(0,B.jsx)(Qo,{asChild:!0,children:(0,B.jsx)(t,{href:e.href,className:P(`block rounded-md px-3 py-2 text-sm transition-colors`,`text-platinum-700 hover:bg-platinum-100 hover:text-platinum-900`,`dark:text-platinum-300 dark:hover:bg-platinum-800 dark:hover:text-platinum-50`),children:e.label})},e.label)}function is(){let e=(0,R.c)(7),[n,r]=z.useState(!1),i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,B.jsx)(Le,{asChild:!0,className:`md:hidden`,children:(0,B.jsx)(I,{variant:`ghost`,size:`icon`,"aria-label":`Open menu`,className:`text-platinum-600 hover:text-platinum-900 dark:text-platinum-400 dark:hover:text-platinum-100`,children:(0,B.jsx)(Jt,{className:`size-5`})})}),e[0]=i):i=e[0];let a;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,B.jsx)(Fe,{className:`border-b border-platinum-200 pb-4 dark:border-platinum-800`,children:(0,B.jsx)(Pe,{className:`text-left gradient-text-platinum text-xl font-bold tracking-tight`,children:`Platinum`})}),e[1]=a):a=e[1];let o;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,B.jsx)(`div`,{className:`flex-1 overflow-y-auto py-2`,children:(0,B.jsx)(`nav`,{className:`flex flex-col gap-1`,children:Fa.map(e=>(0,B.jsx)(as,{item:e,onNavigate:()=>r(!1)},e.label))})}),e[2]=o):o=e[2];let s;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,B.jsx)(I,{asChild:!0,variant:`outline`,size:`sm`,className:`border-platinum-300 text-platinum-700 hover:bg-platinum-100 dark:border-platinum-700 dark:text-platinum-300 dark:hover:bg-platinum-800`,children:(0,B.jsx)(t,{href:`/login`,children:`Sign In`})}),e[3]=s):s=e[3];let c;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,B.jsxs)(Ie,{side:`left`,className:`w-80 border-platinum-200 dark:border-platinum-800`,children:[a,o,(0,B.jsx)(`div`,{className:`border-t border-platinum-200 pt-4 dark:border-platinum-800`,children:(0,B.jsxs)(`div`,{className:`grid grid-cols-2 gap-2`,children:[s,(0,B.jsx)(I,{asChild:!0,size:`sm`,className:`bg-platinum-800 text-white hover:bg-platinum-900 dark:bg-platinum-200 dark:text-platinum-900 dark:hover:bg-platinum-300`,children:(0,B.jsx)(t,{href:`/register`,children:`Create Account`})})]})})]}),e[4]=c):c=e[4];let l;return e[5]===n?l=e[6]:(l=(0,B.jsxs)(ze,{open:n,onOpenChange:r,children:[i,c]}),e[5]=n,e[6]=l),l}function as(e){let n=(0,R.c)(30),{item:r,onNavigate:i}=e,a=r.children&&r.children.length>0,[o,s]=z.useState(!1);if(!a){let e=r.href,a;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=P(`flex items-center rounded-lg px-4 py-3 text-sm font-medium transition-colors`,`text-platinum-700 hover:bg-platinum-100 hover:text-platinum-900`,`dark:text-platinum-300 dark:hover:bg-platinum-800 dark:hover:text-platinum-50`),n[0]=a):a=n[0];let o;return n[1]!==r.href||n[2]!==r.label||n[3]!==i?(o=(0,B.jsx)(t,{href:e,onClick:i,className:a,children:r.label}),n[1]=r.href,n[2]=r.label,n[3]=i,n[4]=o):o=n[4],o}let c;n[5]===Symbol.for(`react.memo_cache_sentinel`)?(c=P(`flex items-center justify-between rounded-lg px-4 py-3 text-sm font-medium transition-colors`,`text-platinum-700 hover:bg-platinum-100 hover:text-platinum-900`,`dark:text-platinum-300 dark:hover:bg-platinum-800 dark:hover:text-platinum-50`),n[5]=c):c=n[5];let l;n[6]===r.label?l=n[7]:(l=(0,B.jsx)(`span`,{children:r.label}),n[6]=r.label,n[7]=l);let u=o&&`rotate-180`,d;n[8]===u?d=n[9]:(d=P(`size-4 shrink-0 transition-transform duration-200`,u),n[8]=u,n[9]=d);let f;n[10]===d?f=n[11]:(f=(0,B.jsx)(N,{className:d}),n[10]=d,n[11]=f);let p;n[12]!==l||n[13]!==f?(p=(0,B.jsx)(Se,{asChild:!0,children:(0,B.jsxs)(`button`,{type:`button`,className:c,children:[l,f]})}),n[12]=l,n[13]=f,n[14]=p):p=n[14];let m;n[15]!==r.featured||n[16]!==i?(m=r.featured&&(0,B.jsxs)(t,{href:r.featured.href,onClick:i,className:P(`group mb-2 overflow-hidden rounded-lg border border-platinum-200 dark:border-platinum-700`,`bg-gradient-to-br from-platinum-50 to-platinum-100 dark:from-platinum-900 dark:to-platinum-800`),children:[(0,B.jsx)(`div`,{className:`aspect-video overflow-hidden`,children:(0,B.jsx)(`img`,{src:r.featured.image,alt:r.featured.title,className:`h-full w-full object-cover transition-transform duration-500 group-hover:scale-105`})}),(0,B.jsx)(`div`,{className:`p-3`,children:(0,B.jsx)(`p`,{className:`text-xs font-semibold text-platinum-900 dark:text-platinum-100`,children:r.featured.title})})]}),n[15]=r.featured,n[16]=i,n[17]=m):m=n[17];let h;n[18]!==r.children||n[19]!==i?(h=r.children?.map(e=>(0,B.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,B.jsx)(`p`,{className:`mt-2 px-2 text-[11px] font-semibold uppercase tracking-wider text-platinum-500 dark:text-platinum-400`,children:e.heading}),e.items.map(e=>(0,B.jsx)(t,{href:e.href,onClick:i,className:P(`rounded-md px-2 py-2 text-sm transition-colors`,`text-platinum-600 hover:bg-platinum-100 hover:text-platinum-900`,`dark:text-platinum-400 dark:hover:bg-platinum-800 dark:hover:text-platinum-50`),children:e.label},e.label))]},e.heading)),n[18]=r.children,n[19]=i,n[20]=h):h=n[20];let g;n[21]!==m||n[22]!==h?(g=(0,B.jsx)(xe,{children:(0,B.jsxs)(`div`,{className:`ml-2 mt-1 flex flex-col gap-1 border-l border-platinum-200 pl-3 dark:border-platinum-700`,children:[m,h]})}),n[21]=m,n[22]=h,n[23]=g):g=n[23];let _;n[24]!==p||n[25]!==g?(_=(0,B.jsxs)(`div`,{className:`flex flex-col`,children:[p,g]}),n[24]=p,n[25]=g,n[26]=_):_=n[26];let v;return n[27]!==o||n[28]!==_?(v=(0,B.jsx)(Ce,{open:o,onOpenChange:s,children:_}),n[27]=o,n[28]=_,n[29]=v):v=n[29],v}var os=[{value:`light`,label:`Light`,Icon:p},{value:`dark`,label:`Dark`,Icon:h},{value:`system`,label:`System`,Icon:f}];function ss(){let e=(0,R.c)(13),{appearance:t,updateAppearance:n}=m(),[r,i]=z.useState(!1),a;e[0]===t?a=e[1]:(a=os.find(e=>e.value===t),e[0]=t,e[1]=a);let o=a,s=o?o.Icon:p,c;e[2]===s?c=e[3]:(c=(0,B.jsx)(pa,{asChild:!0,children:(0,B.jsx)(I,{variant:`ghost`,size:`icon`,"aria-label":`Toggle theme`,className:`text-platinum-600 hover:text-platinum-900 dark:text-platinum-400 dark:hover:text-platinum-100`,children:(0,B.jsx)(s,{className:`size-4`})})}),e[2]=s,e[3]=c);let l;e[4]!==t||e[5]!==n?(l=os.map(e=>{let{value:r,label:a,Icon:o}=e;return(0,B.jsxs)(ga,{onClick:()=>{n(r),i(!1)},className:`gap-2`,children:[(0,B.jsx)(o,{className:`size-4 text-platinum-500 dark:text-platinum-400`}),(0,B.jsx)(`span`,{className:`flex-1`,children:a}),t===r&&(0,B.jsx)(me,{className:`size-4 text-teal-accent-600 dark:text-teal-accent-400`})]},r)}),e[4]=t,e[5]=n,e[6]=l):l=e[6];let u;e[7]===l?u=e[8]:(u=(0,B.jsx)(ma,{align:`end`,className:`w-40`,children:l}),e[7]=l,e[8]=u);let d;return e[9]!==r||e[10]!==c||e[11]!==u?(d=(0,B.jsxs)(fa,{open:r,onOpenChange:i,children:[c,u]}),e[9]=r,e[10]=c,e[11]=u,e[12]=d):d=e[12],d}function cs(e){let t=(0,R.c)(5),n=e===void 0?0:e,[r,i]=(0,z.useState)(0),a,o;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=()=>{if(typeof window>`u`)return;let e=0,t=null,n=()=>{let n=Date.now(),r=5-(n-e);r<=0?(t!==null&&(clearTimeout(t),t=null),e=n,i(window.scrollY)):t===null&&(t=setTimeout(()=>{e=Date.now(),t=null,i(window.scrollY)},r))};return window.addEventListener(`scroll`,n,{passive:!0}),setTimeout(()=>i(window.scrollY),0),()=>{window.removeEventListener(`scroll`,n),t!==null&&clearTimeout(t)}},o=[],t[0]=a,t[1]=o):(a=t[0],o=t[1]),(0,z.useEffect)(a,o);let s=r>n,c;return t[2]!==r||t[3]!==s?(c={scrollY:r,passedThreshold:s},t[2]=r,t[3]=s,t[4]=c):c=t[4],c}var ls=60;function us(){let e=(0,R.c)(19),{scrollY:n}=cs(),r=n>=ls?`gradient-bg-header-light dark:gradient-bg-header-dark fixed top-0 border-b border-platinum-200 py-3 shadow-platinum dark:border-platinum-800`:`transparent py-5 backdrop-blur-sm`,i;e[0]===r?i=e[1]:(i=P(`right-0 left-0 z-50 transition-all duration-300`,r),e[0]=r,e[1]=i);let a;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,B.jsx)(is,{}),e[2]=a):a=e[2];let o=`text-teal-accent-600 dark:text-teal-accent-400`,s;e[3]===o?s=e[4]:(s=P(`size-5 transition-all duration-300 group-hover:scale-110`,o),e[3]=o,e[4]=s);let c;e[5]===s?c=e[6]:(c=(0,B.jsx)(`span`,{className:`relative flex items-center justify-center`,children:(0,B.jsx)(Wt,{className:s,strokeWidth:2.25})}),e[5]=s,e[6]=c);let l;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,B.jsx)(`span`,{className:`gradient-text-platinum font-display text-2xl font-bold tracking-tight tabular-nums`,children:`Platinum`}),e[7]=l):l=e[7];let u;e[8]===c?u=e[9]:(u=(0,B.jsxs)(`div`,{className:`flex items-center gap-2`,children:[a,(0,B.jsxs)(t,{href:`/`,className:`group flex items-center gap-1.5`,"aria-label":`Platinum Home`,children:[c,l]})]}),e[8]=c,e[9]=u);let d;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,B.jsx)($o,{}),e[10]=d):d=e[10];let f;e[11]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,B.jsx)(I,{variant:`ghost`,size:`icon`,"aria-label":`Search`,className:`hidden text-platinum-600 hover:text-platinum-900 sm:inline-flex dark:text-platinum-400 dark:hover:text-platinum-100`,children:(0,B.jsx)(Zt,{className:`size-5`})}),e[11]=f):f=e[11];let p;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,B.jsxs)(I,{variant:`ghost`,size:`icon`,"aria-label":`Shopping Cart`,className:`relative text-platinum-600 hover:text-platinum-900 dark:text-platinum-400 dark:hover:text-platinum-100`,children:[(0,B.jsx)(be,{className:`size-5`}),(0,B.jsx)(Te,{variant:`default`,className:`absolute -top-0.5 -right-0.5 flex size-5 min-w-5 items-center justify-center rounded-full bg-teal-accent-600 p-0 text-[10px] font-bold text-white dark:bg-teal-accent-400 dark:text-platinum-900`,children:`3`})]}),e[12]=p):p=e[12];let m;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,B.jsxs)(`div`,{className:`flex items-center gap-1`,children:[f,p,(0,B.jsx)(I,{variant:`ghost`,size:`icon`,"aria-label":`Account`,className:`hidden text-platinum-600 hover:text-platinum-900 sm:inline-flex dark:text-platinum-400 dark:hover:text-platinum-100`,children:(0,B.jsx)(we,{className:`size-5`})}),(0,B.jsx)(ss,{})]}),e[13]=m):m=e[13];let h;e[14]===u?h=e[15]:(h=(0,B.jsx)(`div`,{className:`container mx-auto px-4 lg:px-8`,children:(0,B.jsxs)(`div`,{className:`flex items-center justify-between gap-4`,children:[u,d,m]})}),e[14]=u,e[15]=h);let g;return e[16]!==i||e[17]!==h?(g=(0,B.jsx)(`header`,{className:i,children:h}),e[16]=i,e[17]=h,e[18]=g):g=e[18],g}function ds(e){let t=(0,R.c)(6),{children:n}=e,r,i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r={opacity:0,y:20},i={opacity:1,y:0},a={opacity:0,y:-10},t[0]=r,t[1]=i,t[2]=a):(r=t[0],i=t[1],a=t[2]);let o;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(o={duration:.4,ease:[.22,1,.36,1]},t[3]=o):o=t[3];let s;return t[4]===n?s=t[5]:(s=(0,B.jsx)(he.div,{initial:r,animate:i,exit:a,transition:o,children:n}),t[4]=n,t[5]=s),s}function fs(e){let t=(0,R.c)(7),{children:n}=e,{url:r}=i(),a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,B.jsx)(us,{}),t[0]=a):a=t[0];let o;t[1]!==n||t[2]!==r?(o=(0,B.jsx)(`main`,{className:`flex-1`,children:(0,B.jsx)(ds,{children:n},r)}),t[1]=n,t[2]=r,t[3]=o):o=t[3];let s;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,B.jsx)(Ba,{}),t[4]=s):s=t[4];let c;return t[5]===o?c=t[6]:(c=(0,B.jsxs)(`div`,{className:`relative flex min-h-screen flex-col`,children:[a,o,s]}),t[5]=o,t[6]=c),c}var ps=`Platinum Ribbon`;o({resolve:async(e,t)=>{let n=Object.assign({"./pages/about.tsx":()=>L(()=>import(`./about-Cm9clHZR.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18])),"./pages/auth/confirm-password.tsx":()=>L(()=>import(`./confirm-password-CFWp6fwK.js`),__vite__mapDeps([19,1,2,20,3,21,22,13,23,24,25,26,27,10,28,14,29,30])),"./pages/auth/forgot-password.tsx":()=>L(()=>import(`./forgot-password-Cyx7Upi9.js`),__vite__mapDeps([31,1,2,27,3,22,13,32,33,23,24,28,14,34,35,30])),"./pages/auth/login.tsx":()=>L(()=>import(`./login-DDnSBnbn.js`),__vite__mapDeps([36,1,2,20,3,21,22,13,32,23,33,24,25,26,27,10,28,14,29,34,35,30,37,38,39,40])),"./pages/auth/register.tsx":()=>L(()=>import(`./register-bAX714aK.js`),__vite__mapDeps([41,1,2,20,3,21,22,13,32,23,33,24,28,14,29,27,34])),"./pages/auth/reset-password.tsx":()=>L(()=>import(`./reset-password-C28_dPNm.js`),__vite__mapDeps([42,1,2,20,3,21,22,13,32,24,28,14,29,27,35,23,30])),"./pages/auth/two-factor-challenge.tsx":()=>L(()=>import(`./two-factor-challenge-DNljLqas.js`),__vite__mapDeps([43,2,1,3,44,22,13,32,24,45,23])),"./pages/auth/verify-email.tsx":()=>L(()=>import(`./verify-email-Bflxga53.js`),__vite__mapDeps([46,1,2,22,13,3,33,23,29,27,34,47])),"./pages/contact.tsx":()=>L(()=>import(`./contact-DWfRzA9_.js`),__vite__mapDeps([48,2,1,49,50,38,13,3,14,51,39,5,6,52,40,53,54,8,55,56,10,57,11,22,32,12,16,17,28,37])),"./pages/dashboard.tsx":()=>L(()=>import(`./dashboard-Bvrhxdti.js`),__vite__mapDeps([58,2,1,33,23])),"./pages/products/[slug].tsx":()=>L(()=>import(`./_slug_-d_cHPtQI.js`),__vite__mapDeps([59,2,1,49,3,40,60,6,21,7,8,56,44,61,10,62,13,22,12,14,15,16,17,28])),"./pages/products/index.tsx":()=>L(()=>import(`./products-DcUGl_wf.js`),__vite__mapDeps([63,2,1,3,60,6,21,7,52,38,13,14,51,50,39,40,8,22,32,12,64,65,15,16,18,28,37])),"./pages/settings/appearance.tsx":()=>L(()=>import(`./appearance-CdOfi-lC.js`),__vite__mapDeps([66,1,2,67,3,23,68])),"./pages/settings/profile.tsx":()=>L(()=>import(`./profile-paIEBSqZ.js`),__vite__mapDeps([69,2,1,20,3,21,22,13,32,23,70,68,24,28,14,47,71,65,38,51])),"./pages/settings/security.tsx":()=>L(()=>import(`./security-DNaur-j_.js`),__vite__mapDeps([72,2,1,38,13,3,53,20,21,22,26,27,10,65,14,51,32,23,68,73,17,24,28,45,71])),"./pages/welcome.tsx":()=>L(()=>import(`./welcome-CVLNohHt.js`),__vite__mapDeps([74,2,1,3,4,60,6,21,7,54,55,61,11,15,13,16,18]))}),r=await(n[`./pages/${e}.tsx`]||n[`./pages/${e}.jsx`]||n[`./Pages/${e}.tsx`]||n[`./Pages/${e}.jsx`])?.();if(!r)throw Error(`Page not found: ${e}`);return r.default??r},title:e=>e?`${e} - ${ps}`:ps,layout:e=>{switch(!0){case e===`welcome`:case e.startsWith(`products/`):case e===`about`:case e===`contact`:return fs;case e.startsWith(`auth/`):return ja;case e.startsWith(`settings/`):return[ka,Na];default:return ka}},strictMode:!0,withApp(e){return(0,B.jsxs)(Lt,{delayDuration:0,children:[e,(0,B.jsx)($e,{})]})},progress:{color:`#4B5563`}}),d();