1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[23754,45970],{254:(e,t,a)=>{a.d(t,{p:()=>n});var r=a(72590);a(79998);var i=a(83461);function n(e){let{className:t,type:a,...n}=e;return(0,r.jsx)("input",{type:a,"data-slot":"input",className:(0,i.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",t),...n})}},4225:(e,t,a)=>{a.d(t,{Avatar:()=>s,AvatarFallback:()=>o,AvatarImage:()=>l});var r=a(72590);a(79998);var i=a(11431),n=a(83461);function s(e){let{className:t,...a}=e;return(0,r.jsx)(i.bL,{"data-slot":"avatar",className:(0,n.cn)("relative flex size-8 shrink-0 overflow-hidden rounded-full",t),...a})}function l(e){let{className:t,...a}=e;return(0,r.jsx)(i._V,{"data-slot":"avatar-image",className:(0,n.cn)("aspect-square size-full",t),...a})}function o(e){let{className:t,...a}=e;return(0,r.jsx)(i.H4,{"data-slot":"avatar-fallback",className:(0,n.cn)("bg-muted flex size-full items-center justify-center rounded-full",t),...a})}},11963:(e,t,a)=>{a.r(t),a.d(t,{Nav:()=>f});var r=a(72590),i=a(79998),n=a(38867),s=a(24892),l=a(11132),o=a(91562),d=a(93768),c=a(83461);function u(e){if(!e)return"";let t=e.toLowerCase();return t.includes("hot")?"bg-secondary/85 text-secondary-foreground":t.includes("50")?"bg-brand-lime text-black":"bg-primary text-primary-foreground"}function p(e){var t;let a=(null==e||null==(t=e.title)?void 0:t.toLowerCase())||"";return(null==e?void 0:e.url)==="/pricing"||a.includes("upgrade")}function b(e,t){return!!t&&("/"===t?"/"===e:e===t||e.startsWith("".concat(t,"/")))}function x(e,t){let a=p(e);return(0,c.cn)(t&&!a?"bg-sidebar-accent text-sidebar-accent-foreground shadow-[inset_0_1px_0_rgba(255,255,255,0.04)] hover:bg-sidebar-accent/90 hover:text-sidebar-accent-foreground hover:shadow-[0_14px_30px_-18px_rgba(144,118,255,0.82)] active:bg-sidebar-accent/90 active:text-sidebar-accent-foreground min-w-8 duration-200 ease-linear":"",a&&"min-w-8 rounded-[1.35rem] border border-[#ff8adf]/25 bg-[radial-gradient(circle_at_top_left,rgba(255,255,255,0.24),transparent_34%),linear-gradient(135deg,#b326ff_0%,#e135d4_52%,#ff4d7a_100%)] text-white shadow-[0_18px_42px_rgba(211,42,255,0.28),inset_0_1px_0_rgba(255,255,255,0.22)] transition-[transform,box-shadow,filter] duration-200 hover:-translate-y-0.5 hover:brightness-110 hover:text-white active:translate-y-0 active:brightness-95 active:text-white")}function f(e){let{nav:t,className:a}=e,c=(0,s.a8)(),[f,m]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{m(!0)},[]),(0,r.jsx)(d.SidebarGroup,{className:a,children:(0,r.jsxs)(d.SidebarGroupContent,{className:"mt-0 flex flex-col gap-2",children:[t.title&&(0,r.jsx)(d.SidebarGroupLabel,{children:t.title}),(0,r.jsx)(d.SidebarMenu,{children:t.items.map(e=>{var t;return(0,r.jsx)(o.Nt,{asChild:!0,defaultOpen:(null==e?void 0:e.is_expand)||!1,className:"group/collapsible",children:(0,r.jsxs)(d.SidebarMenuItem,{children:[(null==e?void 0:e.children)?(0,r.jsx)(o.R6,{asChild:!0,children:(0,r.jsxs)(d.SidebarMenuButton,{tooltip:null==e?void 0:e.title,className:x(e,!!((null==e?void 0:e.is_active)||f&&b(c,null==e?void 0:e.url))),children:[(null==e?void 0:e.icon)&&(0,r.jsx)(l.L,{name:e.icon}),(0,r.jsx)("span",{children:(null==e?void 0:e.title)||""}),(null==e?void 0:e.badge)?(0,r.jsx)("span",{className:"ml-auto rounded-md px-1.5 py-0.5 text-[10px] font-black tracking-[0.18em] uppercase group-data-[collapsible=icon]:hidden ".concat(u(e.badge)),children:e.badge}):null,(0,r.jsx)(n.A,{className:"transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90 ".concat((null==e?void 0:e.badge)?"":"ml-auto")})]})}):(0,r.jsx)(d.SidebarMenuButton,{asChild:!0,size:p(e)?"lg":"default",tooltip:null==e?void 0:e.title,className:x(e,!!((null==e?void 0:e.is_active)||f&&b(c,null==e?void 0:e.url))),children:(0,r.jsxs)(s.N_,{href:null==e?void 0:e.url,target:null==e?void 0:e.target,prefetch:!1,children:[(null==e?void 0:e.icon)&&(0,r.jsx)(l.L,{name:e.icon}),(0,r.jsx)("span",{children:(null==e?void 0:e.title)||""}),(null==e?void 0:e.badge)?(0,r.jsx)("span",{className:"ml-auto rounded-md px-1.5 py-0.5 text-[10px] font-black tracking-[0.18em] uppercase group-data-[collapsible=icon]:hidden ".concat(u(e.badge)),children:e.badge}):null]})}),(null==e?void 0:e.children)&&(0,r.jsx)(o.Ke,{children:(0,r.jsx)(d.SidebarMenuSub,{children:null==(t=e.children)?void 0:t.map(e=>(0,r.jsx)(d.SidebarMenuSubItem,{children:(0,r.jsx)(d.SidebarMenuSubButton,{asChild:!0,className:"".concat(e.is_active||f&&b(c,e.url)?"bg-sidebar-accent text-sidebar-accent-foreground hover:bg-sidebar-accent/90 hover:text-sidebar-accent-foreground active:bg-sidebar-accent/90 active:text-sidebar-accent-foreground min-w-8 duration-200 ease-linear":""),children:(0,r.jsxs)(s.N_,{href:e.url,target:e.target,prefetch:!1,children:[(0,r.jsx)("span",{className:"px-2",children:e.title}),e.badge?(0,r.jsx)("span",{className:"ml-auto rounded-md px-1.5 py-0.5 text-[10px] font-black tracking-[0.18em] uppercase ".concat(u(e.badge)),children:e.badge}):null]})})}
1,e.title||e.title))})})]})},(null==e?void 0:e.title)||(null==e?void 0:e.title)||"")})})]})})}},21711:(e,t,a)=>{a.d(t,{CG:()=>o,Fm:()=>p,Qs:()=>x,cj:()=>l,h:()=>u,qp:()=>b});var r=a(72590);a(79998);var i=a(83249),n=a(25395),s=a(83461);function l(e){let{...t}=e;return(0,r.jsx)(i.bL,{"data-slot":"sheet",...t})}function o(e){let{...t}=e;return(0,r.jsx)(i.l9,{"data-slot":"sheet-trigger",...t})}function d(e){let{...t}=e;return(0,r.jsx)(i.ZL,{"data-slot":"sheet-portal",...t})}function c(e){let{className:t,...a}=e;return(0,r.jsx)(i.hJ,{"data-slot":"sheet-overlay",className:(0,s.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...a})}function u(e){let{className:t,children:a,side:l="right",...o}=e;return(0,r.jsxs)(d,{children:[(0,r.jsx)(c,{}),(0,r.jsxs)(i.UC,{"data-slot":"sheet-content",className:(0,s.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500","right"===l&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm","left"===l&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm","top"===l&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b","bottom"===l&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",t),...o,children:[a,(0,r.jsxs)(i.bm,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[(0,r.jsx)(n.A,{className:"size-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function p(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"sheet-header",className:(0,s.cn)("flex flex-col gap-1.5 p-4",t),...a})}function b(e){let{className:t,...a}=e;return(0,r.jsx)(i.hE,{"data-slot":"sheet-title",className:(0,s.cn)("text-foreground font-semibold",t),...a})}function x(e){let{className:t,...a}=e;return(0,r.jsx)(i.VY,{"data-slot":"sheet-description",className:(0,s.cn)("text-muted-foreground text-sm",t),...a})}},23754:(e,t,a)=>{a.d(t,{Hh:()=>l,Jv:()=>s,signOut:()=>o}),a(14631);var r=a(69196),i=a(2076);let{useSession:n,signIn:s,signUp:l,signOut:o}=(0,r.MB)({baseURL:i._.auth_url,fetchOptions:{retry:1}})},24087:(e,t,a)=>{a.d(t,{Bc:()=>s,ZI:()=>d,k$:()=>o,m_:()=>l});var r=a(72590);a(79998);var i=a(34363),n=a(83461);function s(e){let{delayDuration:t=0,...a}=e;return(0,r.jsx)(i.Kq,{"data-slot":"tooltip-provider",delayDuration:t,...a})}function l(e){let{...t}=e;return(0,r.jsx)(s,{children:(0,r.jsx)(i.bL,{"data-slot":"tooltip",...t})})}function o(e){let{...t}=e;return(0,r.jsx)(i.l9,{"data-slot":"tooltip-trigger",...t})}function d(e){let{className:t,sideOffset:a=4,children:s,...l}=e;return(0,r.jsx)(i.ZL,{children:(0,r.jsxs)(i.UC,{"data-slot":"tooltip-content",sideOffset:a,className:(0,n.cn)("bg-popover text-popover-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 w-fit max-w-64 origin-(--radix-tooltip-content-transform-origin) rounded-xl border border-border px-3 py-1.5 text-xs text-balance shadow-[0_20px_48px_-24px_rgba(0,0,0,0.72)]",t),...l,children:[s,(0,r.jsx)(i.i3,{className:"fill-popover z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45"})]})})}},29952:(e,t,a)=>{a.d(t,{O5:()=>c.AspectRatioPicker,GA:()=>o.ImageUploader,oD:()=>l.LazyImage,YC:()=>n.LocaleSelector,G8:()=>u.MarkdownPreview,dK:()=>i.Pagination,LK:()=>r.L,GC:()=>s.ThemeToggler,qN:()=>d.VideoUploader});var r=a(11132),i=a(20464);a(64786),a(23808);var n=a(41081),s=a(48070);a(2918),a(72590),a(38174),a(96534),a(24892),a(69640),a(37710);var l=a(83005),o=a(43537),d=a(46503),c=a(39836),u=a(32939);let p=new(a(73901)).A({html:!0,linkify:!0,breaks:!0});p.renderer.rules.heading_open=function(e,t){let a=e[t].markup.length,r=e[t+1];if(r&&"inline"===r.type){let e=r.content.toLowerCase().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-").replace(/(^-|-$)/g,"");return"<h".concat(a,' id="').concat(e,'">')}return"<h".concat(a,">")},p.renderer.rules.link_open=function(e,t,a,r,i){let n=e[t];if(n.attrIndex("href")>=0){let e=n.attrGet("href");n.attrSet("rel","nofollow"),e&&(e.startsWith("http://")||e.startsWith("https://"))&&n.attrSet("target","_blank")}return i.renderToken(e,t,a)},a(40466),a(79998),a(79820),a(81312),a(49913),a(82660),a(27775),a(98758)},36619:(e,t,a)=>{a.d(t,{Separator:()=>s});var r=a(72590);a(79998);var i=a(1391),n=a(83461);function s(e){let{className:t,orientation:a="horizontal",decorative:s=!0,...l}=e;return(0,r.jsx)(i.b,{"data-slot":"separator",decorative:s,orientation:a,className:(0,n.cn)("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",t),...l})}},37710:(e,t,a)=>{a.d(t,{S:()=>i});var r=a(72590);function i(e){let{message:t}=e;return(0,r.jsx)("div",{className:"flex h-[50vh] w-full flex-col items-center justify-center",children:(0,r.jsx)("p",{children:t})})}},45970:(e,t,a)=>{a.r(t),a.d(t,{Sidebar:()=>E});var r=a(72590),i=a(79998),n=a(93768),s=a(59987),l=a(48523),o=a(70768),d=a(24892),c=a(11132),u=a(91562),p=a(24087),b=a(83461);function x(e,t){return e.id||e.url||e.title||"nav-item-".concat(t)}function f(e){if(!e)return{path:"",tab:null};let[t,a=""]=e.split("?");return{path:t,tab:new URLSearchParams(a).get("tab")}}function m(e,t){let{path:a}=f(t);return!!a&&("/"===a?"/"===e:e===a||e.startsWith("".concat(a,"/")))}function h(e,t,a,r){let{path:i,tab:n}=f(a.url);if(!m(e,i))return!1;if(!n||t===n)return!0;
1if(!t){let e=r.find(e=>f(e.url).tab);return!!e&&f(e.url).tab===n}return!1}function g(e){let{item:t,isActive:a}=e,{state:i,isMobile:s}=(0,n.useSidebar)(),l=(0,r.jsxs)(r.Fragment,{children:[t.icon?(0,r.jsx)(c.L,{name:t.icon,size:16,className:"shrink-0 text-current"}):null,(0,r.jsx)("span",{className:"min-w-0 truncate leading-tight group-data-[collapsible=icon]:hidden",children:t.title})]}),o=(0,b.cn)("flex w-full items-center gap-2 rounded-[0.95rem] px-2.5 text-[14px] font-medium tracking-normal transition-all duration-200 h-8","group-data-[collapsible=icon]:h-9 group-data-[collapsible=icon]:w-9 group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:px-0",a?"bg-sidebar-accent text-sidebar-primary ring-sidebar-primary/20 ring-1 hover:bg-sidebar-accent/90 hover:text-sidebar-primary":"text-[#c8c3d8] hover:bg-white/[0.045] hover:text-[#f0ecff]"),u=t.url?(0,r.jsx)(d.N_,{href:t.url,target:t.target||"_self",title:t.title||void 0,"aria-label":t.title||void 0,className:o,children:l}):(0,r.jsx)("button",{type:"button",title:t.title||void 0,"aria-label":t.title||void 0,className:(0,b.cn)(o,"cursor-default opacity-55"),children:l});return!t.title||"collapsed"!==i||s?u:(0,r.jsxs)(p.m_,{children:[(0,r.jsx)(p.k$,{asChild:!0,children:u}),(0,r.jsx)(p.ZI,{side:"right",align:"center",sideOffset:8,className:"pointer-events-none max-w-40 rounded-xl border border-white/10 bg-[#1d2030]/96 px-3 py-2 text-[11px] font-medium text-pretty whitespace-normal text-white shadow-[0_16px_40px_-14px_rgba(0,0,0,0.92),0_10px_24px_-18px_rgba(139,123,255,0.6)] backdrop-blur-md select-none",children:t.title})]})}function v(e){let{item:t,isActive:a}=e;return(0,r.jsx)(d.N_,{href:t.url,target:t.target||"_self",title:t.title||void 0,"aria-label":t.title||void 0,className:(0,b.cn)("flex h-7 w-full items-center rounded-[0.7rem] px-3 text-[13px] font-medium transition-all duration-200",a?"bg-sidebar-accent text-sidebar-primary":"text-[#a8a2bd] hover:bg-white/[0.045] hover:text-[#f0ecff]"),children:(0,r.jsx)("span",{className:"min-w-0 truncate",children:t.title})})}function j(e){var t;let{item:a,pathname:i,currentTab:n,collapsed:s}=e,o=null!=(t=a.children)?t:[],d=m(i,a.url),p=o.some(e=>h(i,n,e,o));if(s)return(0,r.jsx)(g,{item:a,isActive:d});let f=!!a.is_expand||d||p;return(0,r.jsxs)(u.Nt,{defaultOpen:f,className:"group/collapsible w-full",children:[(0,r.jsxs)(u.R6,{className:(0,b.cn)("flex h-8 w-full items-center gap-2 rounded-[0.95rem] px-2.5 text-[14px] font-medium transition-all duration-200",d?"text-[#f0ecff]":"text-[#c8c3d8] hover:bg-white/[0.045] hover:text-[#f0ecff]"),children:[a.icon?(0,r.jsx)(c.L,{name:a.icon,size:16,className:"shrink-0 text-current"}):null,(0,r.jsx)("span",{className:"min-w-0 flex-1 truncate text-left leading-tight",children:a.title}),(0,r.jsx)(l.A,{className:"size-4 shrink-0 opacity-60 transition-transform duration-200 group-data-[state=open]/collapsible:rotate-180"})]}),(0,r.jsx)(u.Ke,{children:(0,r.jsx)("div",{className:"mt-0.5 ml-[1.1rem] flex flex-col gap-0 border-l border-white/10 pl-2",children:o.map((e,t)=>(0,r.jsx)(v,{item:e,isActive:h(i,n,e,o)},x(e,t)))})})]})}function w(e){let{item:t}=e,{state:a,isMobile:i}=(0,n.useSidebar)(),s=t.title||"Upgrade Now",l=(0,r.jsxs)(d.N_,{href:t.url||"/pricing",target:t.target||"_self",title:s,"aria-label":s,className:"relative flex h-12 w-full items-center justify-center rounded-full border border-[#ff8adf]/25 bg-[linear-gradient(135deg,#ac2fff_0%,#e33bd0_54%,#ff4387_100%)] px-4 py-1 text-[14px] font-semibold tracking-wide text-white shadow-[0_18px_42px_rgba(214,45,255,0.22),inset_0_1px_0_rgba(255,255,255,0.18)] transition-[filter,transform] duration-200 group-data-[collapsible=icon]:h-9 group-data-[collapsible=icon]:w-9 group-data-[collapsible=icon]:p-0 hover:-translate-y-0.5 hover:brightness-110",children:[(0,r.jsx)(o.A,{size:18,className:"hidden shrink-0 group-data-[collapsible=icon]:block"}),(0,r.jsx)("span",{className:"truncate group-data-[collapsible=icon]:hidden",children:s})]});return"collapsed"!==a||i?l:(0,r.jsxs)(p.m_,{children:[(0,r.jsx)(p.k$,{asChild:!0,children:l}),(0,r.jsx)(p.ZI,{side:"right",align:"center",sideOffset:8,className:"pointer-events-none max-w-40 rounded-xl border border-white/10 bg-[#1d2030]/96 px-3 py-2 text-[11px] font-medium text-pretty whitespace-normal text-white shadow-[0_16px_40px_-14px_rgba(0,0,0,0.92),0_10px_24px_-18px_rgba(139,123,255,0.6)] backdrop-blur-md select-none",children:s})]})}function N(e){let{onChange:t}
1=e,a=(0,s.useSearchParams)().get("tab");return(0,i.useEffect)(()=>{t(a)},[a,t]),null}function _(e){let{navGroups:t,bottomItems:a}=e,s=(0,d.a8)(),{state:l}=(0,n.useSidebar)(),o="collapsed"===l,[c,u]=(0,i.useState)(null),p=null!=t?t:[],b=p.some(e=>e.items.some(e=>{var t;return"home"!==e.id&&(m(s,e.url)||(null!=(t=e.children)?t:[]).some(e=>m(s,e.url)))}));return(0,r.jsxs)("div",{className:"flex h-full min-h-0 w-full flex-col bg-[#080916] px-1.5 pt-4 pb-2.5 group-data-[collapsible=icon]:items-center group-data-[collapsible=icon]:pt-2.5",children:[(0,r.jsx)("nav",{className:"flex min-h-0 w-full flex-1 flex-col gap-1.5 overflow-y-auto pr-1 group-data-[collapsible=icon]:items-center group-data-[collapsible=icon]:overflow-visible group-data-[collapsible=icon]:pr-0",children:p.map((e,t)=>(0,r.jsxs)("div",{className:"flex w-full flex-col gap-0.5 group-data-[collapsible=icon]:items-center",children:[e.title?(0,r.jsx)("div",{className:"px-1 pb-0 text-[10px] font-black tracking-[0.28em] text-[#908aa6] uppercase group-data-[collapsible=icon]:sr-only",children:e.title}):null,e.items.map((e,t)=>{var a;return(null==(a=e.children)?void 0:a.length)?(0,r.jsx)(j,{item:e,pathname:s,currentTab:c,collapsed:o},x(e,t)):(0,r.jsx)(g,{item:e,isActive:m(s,e.url)&&!("home"===e.id&&b)},x(e,t))})]},e.id||e.title||"nav-group-".concat(t)))}),a.length?(0,r.jsx)("div",{className:"mt-auto flex w-full flex-col gap-0.5 pb-0.5 group-data-[collapsible=icon]:items-center",children:a.map((e,t)=>(0,r.jsx)(w,{item:e},x(e,t)))}):null,(0,r.jsx)(i.Suspense,{fallback:null,children:(0,r.jsx)(N,{onChange:u})})]})}function y(e){var t,a,i;let{sidebar:s,...l}=e,o=null!=(a=s.main_navs)?a:[],d=null!=(i=null==(t=s.bottom_nav)?void 0:t.items)?i:[];return(0,r.jsx)(n.Sidebar,{collapsible:s.collapsible||"icon",...l,children:(0,r.jsx)(_,{navGroups:o,bottomItems:d})})}var k=a(11963),S=a(29952),z=a(96534);function C(e){let{buttons:t}=e,{state:a}=(0,n.useSidebar)(),i="collapsed"===a;return(0,r.jsx)("div",{className:"flex flex-col gap-2 px-3 py-3",children:t.map((e,t)=>(0,r.jsx)(z.$,{asChild:!0,variant:e.variant||"outline",size:e.size||"default",className:(0,b.cn)(i?"h-6 w-6 justify-center p-0 [&_svg]:size-4 [&_svg]:shrink-0":void 0),children:(0,r.jsxs)(d.N_,{href:e.url||"",target:e.target||"_self","aria-label":e.title||void 0,title:e.title||void 0,children:[e.icon&&(0,r.jsx)(S.LK,{name:e.icon,className:"size-4 shrink-0"}),e.title&&!i&&(0,r.jsx)("span",{className:"whitespace-nowrap",children:e.title})]})},t))})}var A=a(36619);function L(e){var t,a;let{footer:i}=e,{open:s}=(0,n.useSidebar)();return(0,r.jsx)(r.Fragment,{children:s?(0,r.jsxs)("div",{className:"mx-auto flex w-full items-center justify-start gap-x-4 border-t px-4 py-3",children:[null==(a=i.nav)||null==(t=a.items)?void 0:t.map((e,t)=>(0,r.jsx)("div",{className:"hover:text-primary cursor-pointer",children:(0,r.jsx)(d.N_,{href:e.url||"",target:e.target||"_self",prefetch:!1,children:e.icon&&(0,r.jsx)(c.L,{name:e.icon,className:"text-md",size:20})})},t)),(0,r.jsx)("div",{className:"flex-1"}),(i.show_theme||i.show_locale)&&(0,r.jsx)(A.Separator,{orientation:"vertical",className:"h-4"}),i.show_theme&&(0,r.jsx)(S.GC,{}),i.show_locale&&(0,r.jsx)(S.YC,{})]}):null})}function M(e){var t;let{header:a}=e,{open:i}=(0,n.useSidebar)();return(0,r.jsx)(n.SidebarHeader,{className:"border-b border-white/5 p-0",children:(0,r.jsxs)("div",{className:"flex h-14 items-center gap-2.5 px-3",children:[a.show_trigger?(0,r.jsx)(n.SidebarTrigger,{className:"text-sidebar-foreground/70 hover:bg-sidebar-accent hover:text-sidebar-foreground rounded-lg"}):null,a.brand?(0,r.jsxs)(d.N_,{href:a.brand.url||"/",prefetch:!1,className:(0,b.cn)("flex min-w-0 items-center gap-3 overflow-hidden",!i&&"justify-center"),children:[(null==(t=a.brand.logo)?void 0:t.src)?(0,r.jsx)("img",{src:a.brand.logo.src,alt:a.brand.logo.alt||a.brand.title||"",className:"h-7 w-7 shrink-0 rounded-md object-cover"}):(0,r.jsx)("div",{className:"bg-sidebar-primary text-sidebar-primary-foreground h-7 w-7 shrink-0 rounded-md"}),i?(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("div",{className:"text-cinematic-gradient truncate text-[1.85rem] font-semibold tracking-tight",children:a.brand.title}),a.version?(0,r.jsxs)("div",{className:"text-sidebar-foreground
1/45 text-[10px] font-bold tracking-[0.24em] uppercase",children:["v",a.version]}):null]}):null]}):null]})})}var I=a(49328);function E(e){var t,a,i,s,l;let{sidebar:o,showHeader:d=!0,...c}=e;if("dual-panel"===o.mode)return(0,r.jsx)(y,{sidebar:o,...c});let u=!!(null==(i=o.footer)||null==(a=i.nav)||null==(t=a.items)?void 0:t.length),p=!!((null==(s=o.footer)?void 0:s.show_theme)||(null==(l=o.footer)?void 0:l.show_locale)),b=!!(o.user||u||p);return(0,r.jsxs)(n.Sidebar,{collapsible:o.collapsible||"icon",...c,children:[d&&o.header?(0,r.jsx)(M,{header:o.header}):null,(0,r.jsxs)(n.SidebarContent,{className:d?void 0:"pt-3 group-data-[collapsible=icon]:justify-start",children:[o.buttons&&(0,r.jsx)(C,{buttons:o.buttons}),o.main_navs&&o.main_navs.map((e,t)=>(0,r.jsx)(k.Nav,{nav:e},t)),o.library,o.bottom_nav&&(0,r.jsx)(k.Nav,{nav:o.bottom_nav,className:"mt-auto pt-3"})]}),b?(0,r.jsxs)(n.SidebarFooter,{children:[o.user&&(0,r.jsx)(I.SidebarUser,{user:o.user}),o.footer&&(u||p)?(0,r.jsx)(L,{footer:o.footer}):null]}):null]})}},49328:(e,t,a)=>{a.r(t),a.d(t,{SidebarUser:()=>g});var r=a(72590),i=a(79998),n=a(92853),s=a(71372),l=a(60400),o=a(98566),d=a(86247),c=a(23754),u=a(24892),p=a(29952),b=a(4225),x=a(96534),f=a(27835),m=a(93768),h=a(57006);function g(e){let{user:t}=e,a=(0,d.c3)("common.sign"),{user:g,isCheckSign:v,clearAuthSession:j,showSignModal:w}=(0,h.U)(),{isMobile:N,open:_}=(0,m.useSidebar)(),y=(0,u.rd)(),[k,S]=(0,i.useState)(!1);(0,i.useEffect)(()=>{S(!0)},[]);let z=async()=>{await (0,c.signOut)(),j(),y.push(t.signout_callback||"/sign-in"),y.refresh()};if(!k)return(0,r.jsx)("div",{className:"flex h-full items-center justify-center px-4 py-4",children:(0,r.jsx)(n.A,{className:"animate-spin"})});if(g){var C,A,L;return(0,r.jsx)(m.SidebarMenu,{className:"gap-4 px-3",children:(0,r.jsx)(m.SidebarMenuItem,{children:(0,r.jsxs)(f.rI,{children:[(0,r.jsx)(f.ty,{asChild:!0,children:(0,r.jsxs)(m.SidebarMenuButton,{size:"lg",className:"data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground",children:[(0,r.jsxs)(b.Avatar,{className:"h-8 w-8 rounded-lg",children:[(0,r.jsx)(b.AvatarImage,{src:g.image||"",alt:g.name}),(0,r.jsx)(b.AvatarFallback,{className:"rounded-lg",children:null==(C=g.name)?void 0:C.charAt(0)})]}),(0,r.jsxs)("div",{className:"grid flex-1 text-left text-sm leading-tight",children:[(0,r.jsx)("span",{className:"truncate font-semibold",children:g.name}),t.show_email&&(0,r.jsx)("span",{className:"truncate text-xs",children:g.email})]}),(0,r.jsx)(s.A,{className:"ml-auto size-4"})]})}),(0,r.jsxs)(f.SQ,{className:"bg-background w-(--radix-dropdown-menu-trigger-width) min-w-56 rounded-lg",side:N?"bottom":"right",align:"end",sideOffset:4,children:[(0,r.jsx)(f.lp,{className:"p-0 font-normal",children:(0,r.jsxs)("div",{className:"flex items-center gap-2 px-1 py-1.5 text-left text-sm",children:[(0,r.jsxs)(b.Avatar,{className:"h-8 w-8 rounded-lg",children:[(0,r.jsx)(b.AvatarImage,{src:g.image||"",alt:g.name}),(0,r.jsx)(b.AvatarFallback,{className:"rounded-lg",children:(null==(A=g.name)?void 0:A.charAt(0))||"U"})]}),(0,r.jsxs)("div",{className:"grid flex-1 text-left text-sm leading-tight",children:[(0,r.jsx)("span",{className:"truncate font-semibold",children:g.name}),t.show_email&&(0,r.jsx)("span",{className:"truncate text-xs",children:g.email})]})]})}),(0,r.jsx)(f.mB,{}),(0,r.jsxs)(f.I,{children:[null==(L=t.nav)?void 0:L.items.map(e=>(0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)(f._2,{className:"cursor-pointer",children:(0,r.jsxs)(u.N_,{href:(null==e?void 0:e.url)||"",target:null==e?void 0:e.target,prefetch:!1,className:"flex w-full items-center gap-2",children:[(null==e?void 0:e.icon)&&(0,r.jsx)(p.LK,{name:e.icon}),(null==e?void 0:e.title)||""]})}),(0,r.jsx)(f.mB,{})]},(null==e?void 0:e.title)||(null==e?void 0:e.url))),(0,r.jsxs)(f._2,{className:"cursor-pointer",onClick:z,children:[(0,r.jsx)(l.A,{}),a("sign_out_title")]})]})]})]})})})}return(0,r.jsx)(r.Fragment,{children:_?(0,r.jsx)("div",{className:"flex h-full items-center justify-center px-4 py-4",children:v?(0,r.jsx)("div",{className:"flex w-full items-center justify-center",children:(0,r.jsx)(n.A,{className:"animate-spin"})}):(0,r.jsxs)(x.$,{className:"w-full",onClick:()=>w(t.signin_callback||"/"),children:[(0,r.jsx)(o.A,{className:"mr-1 h-4 w-4"}),a("sign_in_title")]})}):(0,r.jsx)(m.SidebarMenu,{})})}},64786:(e,t,a)=>{a.d(t,{F:()=>s});var r=a(72590),i=a(28498),n=a(24892);function s(e){let{brand:t,priority:a=!1}=e;return(0,r.jsxs)(n.N_,{href:t.url||"",target:t.target||"_self",prefetch:!1,className:"flex items-center space-x-2 ".concat(t.className),children:[t.logo&&(0,r.jsx)(i.default,{src:t.logo.src||"",alt:t.logo.alt||t.title||"Logo",width:t.logo.width||100,height:t.logo.height||100,className:"h-10 w-auto",priority:a,loading:a?void 0:"lazy",sizes:"(max-width: 768px) 32px, 40px",quality:40}),t.title&&(0,r.jsx)("span",{className:"text-cinematic-gradient text-lg font-medium",children:t.title})]})}},69640:(e,t,a)=>{a.d(t,{Z:()=>r.FaqAccordion});var r=a(61069)},76939:(e,t,a)=>{a.d(t,{E:()=>n});var r=a(72590),i=a(83461);function n(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"skeleton",className:(0,i.cn)("bg-accent animate-pulse rounded-md",t),...a})}},93768:(e,t,a)=>{a.r(t),a.d(t,{Sidebar:()=>g,SidebarContent:()=>S,SidebarFooter:()=>y,SidebarGroup:()=>z,SidebarGroupAction:()=>A,SidebarGroupContent:()=>L,SidebarGroupLabel:()=>C,SidebarHeader:()=>
1_,SidebarInput:()=>N,SidebarInset:()=>w,SidebarMenu:()=>M,SidebarMenuAction:()=>G,SidebarMenuBadge:()=>O,SidebarMenuButton:()=>F,SidebarMenuItem:()=>I,SidebarMenuSkeleton:()=>B,SidebarMenuSub:()=>U,SidebarMenuSubButton:()=>D,SidebarMenuSubItem:()=>T,SidebarProvider:()=>h,SidebarRail:()=>j,SidebarSeparator:()=>k,SidebarTrigger:()=>v,useSidebar:()=>m});var r=a(72590),i=a(79998),n=a(21045),s=a(67085),l=a(58453),o=a(83461),d=a(96534),c=a(254),u=a(36619),p=a(21711),b=a(76939),x=a(24087);let f=i.createContext(null);function m(){let e=i.useContext(f);if(!e)throw Error("useSidebar must be used within a SidebarProvider.");return e}function h(e){let{defaultOpen:t=!0,autoCollapseAfterMs:a,open:n,onOpenChange:s,className:l,style:d,children:c,...u}=e,p=function(){let[e,t]=i.useState(!1),[a,r]=i.useState(!1);return i.useEffect(()=>{r(!0);let e=window.matchMedia("(max-width: ".concat(767,"px)")),a=()=>{t(window.innerWidth<768)};return e.addEventListener("change",a),t(window.innerWidth<768),()=>e.removeEventListener("change",a)},[]),!!a&&e}(),[b,m]=i.useState(!1),h=i.useRef(!1),g=i.useRef(!1),[v,j]=i.useState(t),w=null!=n?n:v,N=i.useCallback(function(e){let{trackUserInteraction:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a="function"==typeof e?e(w):e;t&&(h.current=!0),s?s(a):j(a),document.cookie="".concat("sidebar_state","=").concat(a,"; path=/; max-age=").concat(604800)},[s,w]),_=i.useCallback(e=>{N(e)},[N]),y=i.useCallback(()=>p?m(e=>!e):_(e=>!e),[p,_,m]);i.useEffect(()=>{let e=e=>{"b"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),y())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[y]),i.useEffect(()=>{if(!a||a<=0||p||!w||h.current||g.current)return;let e=window.setTimeout(()=>{h.current||g.current||(g.current=!0,N(!1,{trackUserInteraction:!1}))},a);return()=>window.clearTimeout(e)},[a,p,w,N]);let k=w?"expanded":"collapsed",S=i.useMemo(()=>({state:k,open:w,setOpen:_,isMobile:p,openMobile:b,setOpenMobile:m,toggleSidebar:y}),[k,w,_,p,b,m,y]);return(0,r.jsx)(f.Provider,{value:S,children:(0,r.jsx)(x.Bc,{delayDuration:0,children:(0,r.jsx)("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":"16rem","--sidebar-width-icon":"3rem","--sidebar-current-width":p?"0px":w?"var(--sidebar-width)":"var(--sidebar-width-icon)",...d},className:(0,o.cn)("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",l),...u,children:c})})})}function g(e){let{side:t="left",variant:a="sidebar",collapsible:i="offcanvas",className:n,children:s,...l}=e,{isMobile:d,state:c,openMobile:u,setOpenMobile:b}=m();return"none"===i?(0,r.jsx)("div",{"data-slot":"sidebar",className:(0,o.cn)("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",n),...l,children:s}):d?(0,r.jsx)(p.cj,{open:u,onOpenChange:b,...l,children:(0,r.jsxs)(p.h,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",style:{"--sidebar-width":"18rem"},side:t,children:[(0,r.jsxs)(p.Fm,{className:"sr-only",children:[(0,r.jsx)(p.qp,{children:"Sidebar"}),(0,r.jsx)(p.Qs,{children:"Displays the mobile sidebar."})]}),(0,r.jsx)("div",{className:"flex h-full w-full flex-col",children:s})]})}):(0,r.jsxs)("div",{className:"group peer text-sidebar-foreground hidden md:block","data-state":c,"data-collapsible":"collapsed"===c?i:"","data-variant":a,"data-side":t,"data-slot":"sidebar",children:[(0,r.jsx)("div",{"data-slot":"sidebar-gap",className:(0,o.cn)("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180","floating"===a||"inset"===a?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),(0,r.jsx)("div",{"data-slot":"sidebar-container",className:(0,o.cn)("fixed z-10 hidden w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex","top-[var(--header-height,0px)] h-[calc(100svh-var(--header-height,0px))]","left"===t?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]","floating"===a||"inset"===a?"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",n),...l,children:(0,r.jsx)("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",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:s})})]})}function v(e){let{className:t,onClick:a,...i}=e,{toggleSidebar:n}=m();return(0,r.jsxs)(d.$,{"data-sidebar":"trigger","data-slot":"sidebar-tr
1igger",variant:"ghost",size:"icon",className:(0,o.cn)("size-7",t),onClick:e=>{null==a||a(e),n()},...i,children:[(0,r.jsx)(l.A,{}),(0,r.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})}function j(e){let{className:t,...a}=e,{toggleSidebar:i}=m();return(0,r.jsx)("button",{"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:i,title:"Toggle Sidebar",className:(0,o.cn)("hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex","in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",t),...a})}function w(e){let{className:t,...a}=e;return(0,r.jsx)("main",{"data-slot":"sidebar-inset",className:(0,o.cn)("bg-background relative flex min-w-0 flex-1 flex-col","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-2",t),...a})}function N(e){let{className:t,...a}=e;return(0,r.jsx)(c.p,{"data-slot":"sidebar-input","data-sidebar":"input",className:(0,o.cn)("bg-background h-8 w-full shadow-none",t),...a})}function _(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:(0,o.cn)("flex flex-col gap-3 p-4",t),...a})}function y(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:(0,o.cn)("flex flex-col gap-3 px-3 py-3",t),...a})}function k(e){let{className:t,...a}=e;return(0,r.jsx)(u.Separator,{"data-slot":"sidebar-separator","data-sidebar":"separator",className:(0,o.cn)("bg-sidebar-border mx-2 w-auto",t),...a})}function S(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:(0,o.cn)("flex min-h-0 flex-1 flex-col gap-3 overflow-auto px-2 pb-3 group-data-[collapsible=icon]:overflow-hidden group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:gap-0 group-data-[collapsible=icon]:px-0",t),...a})}function z(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:(0,o.cn)("relative flex w-full min-w-0 flex-col px-2",t),...a})}function C(e){let{className:t,asChild:a=!1,...i}=e,s=a?n.DX:"div";return(0,r.jsx)(s,{"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:(0,o.cn)("text-sidebar-foreground/55 ring-sidebar-ring flex h-6 shrink-0 items-center rounded-md px-2 text-[10px] font-bold uppercase tracking-[0.24em] 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",t),...i})}function A(e){let{className:t,asChild:a=!1,...i}=e,s=a?n.DX:"button";return(0,r.jsx)(s,{"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:(0,o.cn)("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","group-data-[collapsible=icon]:hidden",t),...i})}function L(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:(0,o.cn)("w-full text-sm",t),...a})}function M(e){let{className:t,...a}=e;return(0,r.jsx)("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:(0,o.cn)("flex w-full min-w-0 flex-col gap-1",t),...a})}function I(e){let{className:t,...a}=e;return(0,r.jsx)("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:(0,o.cn)("group/menu-item relative",t),...a})}let E=(0,s.F)("peer/menu-button flex w-full items-center gap-3 overflow-hidden rounded-xl px-3 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding,background-color,color,box-shadow,transform] duration-200 ease-out hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_12px_30px_-18px_rgba(128,102,255,0.58)] 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-10! group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:p-0! group-data-[collapsible=icon]:hover:-translate-y-0.5 group-data-[collapsible=icon]:hover:ring-1 group-data-[collapsible=icon]:hover:ring-white/10 group-data-[collapsible=icon]:hover:shadow-[0_16px_34px_-18px_rgba(151,118,255,0.72)] group-data-[collapsible=icon]:[&>span]:hidden group-data-[collapsible=icon]:[&>svg:last-child]:hidden [&>span:last-child]:truncate [&>svg]:size-[18px] [&>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-10 text-sm",sm:"h-8 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function F(e){let{asChild:t=!1,isActive:a=!1,variant:i="default",size:s="default",tooltip:l,className:d,...c}=e,u=t?n.DX:"button",{isMobile:p,state:b}=m(),f="string"==typeof l?l:void 0,h=(0,r.jsx)(u,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":s,"data-active":a,title:f,"aria-label":f,className:(0,o.cn)(E({variant:i,size:s}),d),...c});if(!l||"collapsed"!==b||p)return h;"string"==typeof l&&(l={children:l,sideOffset:8,className:"pointer-events-none max-w-40 select-none rounded-xl border-white/10 bg-[#1d2030]/96 px-3 py-2 text-[11px] font-medium whitespace-normal text-pretty text-white shadow-[0_16px_40px_-14px_rgba(0,0,0,0.92),0_10px_24px_-18px_rgba(139,123,255,0.6)] backdrop-blur-md"});let{className:g,sideOffset:v=8,...j}=l;return(0,r.jsxs)(x.m_,{children:[(0,r.jsx)(x.k$,{asChild:!0,children:h}),(0,r.jsx)(x.ZI,{side:"right",align:"center",sideOffset:v,className:(0,o.cn)("pointer-events-none select-none",g),...j})]})}function G(e){let{className:t,asChild:a=!1,showOnHover:i=!1,...s}=e,l=a?n.DX:"button";return(0,r.jsx)(l,{"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:(0,o.cn)("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",i&&"peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",t),...s})}function O(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:(0,o.cn)("text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t),...a})}function B(e){let{className:t,showIcon:a=!1,...n}=e,s=i.useMemo(()=>"".concat(Math.floor(40*Math.random())+50,"%"),[]);return(0,r.jsxs)("div",{"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:(0,o.cn)("flex h-8 items-center gap-2 rounded-md px-2",t),...n,children:[a&&(0,r.jsx)(b.E,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,r.jsx)(b.E,{className:"h-4 max-w-(--skeleton-width) flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":s}})]})}function U(e){let{className:t,...a}=e;return(0,r.jsx)("ul",{"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:(0,o.cn)("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",t),...a})}function T(e){let{className:t,...a}=e;return(0,r.jsx)("li",{"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:(0,o.cn)("group/menu-sub-item relative",t),...a})}function D(e){let{asChild:t=!1,size:a="md",isActive:i=!1,className:s,...l}=e,d=t?n.DX:"a";return(0,r.jsx)(d,{"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":a,"data-active":i,className:(0,o.cn)("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-8 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-lg px-2.5 outline-hidden focu
1s-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground","sm"===a&&"text-xs","md"===a&&"text-sm","group-data-[collapsible=icon]:hidden",s),...l})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.