1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6448],{5239:(e,t,a)=>{a.d(t,{BT:()=>o,Wu:()=>c,X9:()=>d,ZB:()=>l,Zp:()=>i,aR:()=>n,wL:()=>u});var s=a(54568);a(7620);var r=a(826);function i(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"card",className:(0,r.cn)("flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm",t),...a})}function n(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"card-header",className:(0,r.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:gap-x-4 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",t),...a})}function l(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"card-title",className:(0,r.cn)("leading-none font-semibold relative z-10",t),...a})}function o(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"card-description",className:(0,r.cn)("text-sm text-muted-foreground",t),...a})}function d(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"card-action",className:(0,r.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end -z-10",t),...a})}function c(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"card-content",className:(0,r.cn)("px-6",t),...a})}function u(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"card-footer",className:(0,r.cn)("flex items-center px-6 [.border-t]:pt-6",t),...a})}},8049:(e,t,a)=>{a.d(t,{J:()=>n});var s=a(54568);a(7620);var r=a(88594),i=a(826);function n(e){let{className:t,...a}=e;return(0,s.jsx)(r.Root,{"data-slot":"label",className:(0,i.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...a})}},9131:(e,t,a)=>{a.d(t,{Hm:()=>f,II:()=>p,Ky:()=>h,Nt:()=>g,_3:()=>v,at:()=>x});var s=a(54568),r=a(7620),i=a(63326),n=a(18735),l=a(72372),o=a(826);let d={light:"",dark:".dark"},c={width:320,height:200},u=r.createContext(null);function m(){let e=r.useContext(u);if(!e)throw Error("useChart must be used within a <ChartContainer />");return e}function x(e){let{id:t,className:a,children:n,config:l,initialDimension:d=c,...m}=e,x=r.useId(),p="chart-".concat(null!=t?t:x.replace(/:/g,""));return(0,s.jsx)(u.Provider,{value:{config:l},children:(0,s.jsxs)("div",{"data-slot":"chart","data-chart":p,className:(0,o.cn)("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",a),...m,children:[(0,s.jsx)(h,{id:p,config:l}),(0,s.jsx)(i.u,{initialDimension:d,children:n})]})})}let h=e=>{let{id:t,config:a}=e,r=Object.entries(a).filter(e=>{var t;let[,a]=e;return null!=(t=a.theme)?t:a.color});return r.length?(0,s.jsx)("style",{dangerouslySetInnerHTML:{__html:Object.entries(d).map(e=>{let[a,s]=e;return"\n".concat(s," [data-chart=").concat(t,"] {\n").concat(r.map(e=>{var t,s;let[r,i]=e,n=null!=(s=null==(t=i.theme)?void 0:t[a])?s:i.color;return n?" --color-".concat(r,": ").concat(n,";"):null}).join("\n"),"\n}\n")}).join("\n")}}):null},p=n.m;function g(e){let{active:t,payload:a,className:i,indicator:n="dot",hideLabel:l=!1,hideIndicator:d=!1,label:c,labelFormatter:u,labelClassName:x,formatter:h,color:p,nameKey:g,labelKey:v}=e,{config:f}=m(),b=r.useMemo(()=>{var e,t,r,i;if(l||!(null==a?void 0:a.length))return null;let[n]=a,d="".concat(null!=(r=null!=(t=null!=v?v:null==n?void 0:n.dataKey)?t:null==n?void 0:n.name)?r:"value"),m=j(f,n,d),h=v||"string"!=typeof c?null==m?void 0:m.label:null!=(i=null==(e=f[c])?void 0:e.label)?i:c;return u?(0,s.jsx)("div",{className:(0,o.cn)("font-medium",x),children:u(h,a)}):h?(0,s.jsx)("div",{className:(0,o.cn)("font-medium",x),children:h}):null},[c,u,a,l,x,f,v]);if(!t||!(null==a?void 0:a.length))return null;let w=1===a.length&&"dot"!==n;return(0,s.jsxs)("div",{className:(0,o.cn)("grid min-w-[8rem] items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",i),children:[w?null:b,(0,s.jsx)("div",{className:"grid gap-1.5",children:a.filter(e=>"none"!==e.type).map((e,t)=>{var a,r,i,l,c;let u="".concat(null!=(i=null!=(r=null!=g?g:e.name)?r:e.dataKey)?i:"value"),m=j(f,e,u),x=null!=(l=null!=p?p:null==(a=e.payload)?void 0:a.fill)?l:e.color;return(0,s.jsx)("div",{className:(0,o.cn)("flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground","dot"===n&&"items-center"),children:h&&(null==e?void 0:e.value)!==void 0&&e.name?h(e.value,e.name,e,t,e.payload):(0,s.jsxs)(s.Fragment,{children:[(null==m?void 0:m.icon)?(0,s.jsx)(m.icon,{}):!d&&(0,s.jsx)("div",{className:(0,o.cn)("shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)",{"h-2.5 w-2.5":"dot"===n,"w-1":"line"===n,"w-0 border-[1.5px] border-dashed bg-transparent":"dashed"===n,"my-0.5":w&&"dashed"===n}),style:{"--color-bg":x,"--color-border":x}}),(0,s.jsxs)("div",{className:(0,o.cn)("flex flex-1 justify-between leading-none",w?"items-end":"items-center"),children:[(0,s.jsxs)("div",{className:"grid gap-1.5",children:[w?b:null,(0,s.jsx)("span",{className:"text-muted-foreground",children:null!=(c=null==m?void 0:m.label)?c:e.name})]}),null!=e.value&&(0,s.jsx)("span",{className:"font-mono font-medium text-foreground tabular-nums",children:"number"==typeof e.value?e.value.toLocaleStr
1ing():String(e.value)})]})]})},t)})})]})}let v=l.s;function f(e){let{className:t,hideIcon:a=!1,payload:r,verticalAlign:i="bottom",nameKey:n}=e,{config:l}=m();return(null==r?void 0:r.length)?(0,s.jsx)("div",{className:(0,o.cn)("flex items-center justify-center gap-4","top"===i?"pb-3":"pt-3",t),children:r.filter(e=>"none"!==e.type).map((e,t)=>{var r;let i="".concat(null!=(r=null!=n?n:e.dataKey)?r:"value"),d=j(l,e,i);return(0,s.jsxs)("div",{className:(0,o.cn)("flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"),children:[(null==d?void 0:d.icon)&&!a?(0,s.jsx)(d.icon,{}):(0,s.jsx)("div",{className:"h-2 w-2 shrink-0 rounded-[2px]",style:{backgroundColor:e.color}}),null==d?void 0:d.label]},t)})}):null}function j(e,t,a){if("object"!=typeof t||null===t)return;let s="payload"in t&&"object"==typeof t.payload&&null!==t.payload?t.payload:void 0,r=a;return a in t&&"string"==typeof t[a]?r=t[a]:s&&a in s&&"string"==typeof s[a]&&(r=s[a]),r in e?e[r]:e[a]}},32673:(e,t,a)=>{a.d(t,{bq:()=>u,eb:()=>x,gC:()=>m,l6:()=>d,yv:()=>c});var s=a(54568);a(7620);var r=a(40642),i=a(14548),n=a(77103),l=a(14730),o=a(826);function d(e){let{...t}=e;return(0,s.jsx)(l.Root,{"data-slot":"select",...t})}function c(e){let{...t}=e;return(0,s.jsx)(l.Value,{"data-slot":"select-value",...t})}function u(e){let{className:t,size:a="default",children:i,...n}=e;return(0,s.jsxs)(l.Trigger,{"data-slot":"select-trigger","data-size":a,className:(0,o.cn)("flex w-fit items-center justify-between gap-2 rounded-md border border-input bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[placeholder]:text-muted-foreground data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground",t),...n,children:[i,(0,s.jsx)(l.Icon,{asChild:!0,children:(0,s.jsx)(r.A,{className:"size-4 opacity-50"})})]})}function m(e){let{className:t,children:a,position:r="item-aligned",align:i="center",...n}=e;return(0,s.jsx)(l.Portal,{children:(0,s.jsxs)(l.Content,{"data-slot":"select-content",className:(0,o.cn)("relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover text-popover-foreground shadow-md 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95","popper"===r&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:r,align:i,...n,children:[(0,s.jsx)(h,{}),(0,s.jsx)(l.Viewport,{className:(0,o.cn)("p-1","popper"===r&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:a}),(0,s.jsx)(p,{})]})})}function x(e){let{className:t,children:a,...r}=e;return(0,s.jsxs)(l.Item,{"data-slot":"select-item",className:(0,o.cn)("relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",t),...r,children:[(0,s.jsx)("span",{"data-slot":"select-item-indicator",className:"absolute right-2 flex size-3.5 items-center justify-center",children:(0,s.jsx)(l.ItemIndicator,{children:(0,s.jsx)(i.A,{className:"size-4"})})}),(0,s.jsx)(l.ItemText,{children:a})]})}function h(e){let{className:t,...a}=e;return(0,s.jsx)(l.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:(0,o.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,s.jsx)(n.A,{className:"size-4"})})}function p(e){let{className:t,...a}=e;return(0,s.jsx)(l.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:(0,o.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,s.jsx)(r.A,{className:"size-4"})})}},48412:(e,t,a)=>{a.d(t,{O:()=>d,d:()=>c});var s=a(54568),r=a(7620),i=a(46068),n=a(826);let l=(0,a(54616).F)("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-[color,box-shadow] outline-none hover:bg-muted hover:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 min-w-9 px-2",sm:"h-8 min-w-8 px-1.5",lg:"h-10 min-w-10 px-2.5"}},defaultVariants:{variant:"default",size:"default"}}),o=r.createContext({size:"default",variant:"default",spacing:0});function d(e){let{className:t,variant:a,size:r,spacing:l=0,children:d,...c}=e;return(0,s.jsx)(i.Root,{"data-slot":"toggle-group","data-variant":a,"data-size":r,"data-spacing":l,style:{"--gap":l},className:(0,n.cn)("group/toggle-group flex w-fit items-center gap-[--spacing(var(--gap))] rounded-md data-[spacing=default]:data-[variant=outline]:shadow-xs",t),...c,children:(0,s.jsx)(o.Provider,{value:{variant:a,size:r,spacing:l},children:d})})}function c(e){let{className:t,children:a,variant:d,size:c,...u}=e,m=r.useContext(o);return(0,s.jsx)(i.Item,{"data-slot":"toggle-group-item","data-variant":m.variant||d,"data-size":m.size||c,"data-spacing":m.spacing,className:(0,n.cn)(l({variant:m.variant||d,size:m.size||c}),"w-auto min-w-0 shrink-0 px-3 focus:z-10 focus-visible:z-10","data-[spacing=0]:rounded-none data-[spacing=0]:shadow-none data-[spacing=0]:first:rounded-l-md data-[spacing=0]:last:rounded-r-md data-[spacing=0]:data-[variant=outline]:border-l-0 data-[spacing=0]:data-[variant=outline]:first:border-l",t),...u,children:a})}},51598:(e,t,a)=>{a.d(t,{S:()=>l});var s=a(54568);a(7620);var r=a(14548),i=a(17219),n=a(826);function l(e){let{className:t,...a}=e;return(0,s.jsx)(i.Root,{"data-slot":"checkbox",className:(0,n.cn)("peer size-4 shrink-0 rounded-[4px] border border-input shadow-xs transition-shadow outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:bg-input/30 dark:aria-invalid:ring-destructive/40 dark:data-[state=checked]:bg-primary",t),...a,children:(0,s.jsx)(i.Indicator,{"data-slot":"checkbox-indicator",className:"grid place-content-center text-current transition-none",children:(0,s.jsx)(r.A,{className:"size-3.5"})})})}},62737:(e,t,a)=>{a.d(t,{Xi:()=>c,av:()=>u,j7:()=>d,tU:()=>l});var s=a(54568);a(7620);var r=a(54616),i=a(20154),n=a(826);function l(e){let{className:t,orientation:a="horizontal",...r}=e;return(0,s.jsx)(i.Root,{"data-slot":"tabs","data-orientation":a,orientation:a,className:(0,n.cn)("group/tabs flex gap-2 data-[orientation=horizontal]:flex-col",t),...r})}let o=(0,r.F)("group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-[orientation=horizontal]/tabs:h-9 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none",{variants:{variant:{default:"bg-muted",line:"gap-1 bg-transparent"}},defaultVariants:{variant:"default"}});function d(e){let{className:t,variant:a="default",...r}=e;return(0,s.jsx)(i.List,{"data-slot":"tabs-list","data-variant":a,className:(0,n.cn)(o({variant:a}),t),...r})}function c(e){let{className:t,...a}=e;return(0,s.jsx)(i.Trigger,{"data-slot":"tabs-trigger",className:(0,n.cn)("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground
1/60 transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:border-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent","data-[state=active]:bg-background data-[state=active]:text-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground","after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100",t),...a})}function u(e){let{className:t,...a}=e;return(0,s.jsx)(i.Content,{"data-slot":"tabs-content",className:(0,n.cn)("flex-1 outline-none",t),...a})}},67318:(e,t,a)=>{a.d(t,{BE:()=>m,I6:()=>p,Uz:()=>l,_s:()=>n,cp:()=>d,gk:()=>h,tb:()=>x,zj:()=>u});var s=a(54568);a(7620);var r=a(74488),i=a(826);function n(e){let{...t}=e;return(0,s.jsx)(r._s.Root,{"data-slot":"drawer",...t})}function l(e){let{...t}=e;return(0,s.jsx)(r._s.Trigger,{"data-slot":"drawer-trigger",...t})}function o(e){let{...t}=e;return(0,s.jsx)(r._s.Portal,{"data-slot":"drawer-portal",...t})}function d(e){let{...t}=e;return(0,s.jsx)(r._s.Close,{"data-slot":"drawer-close",...t})}function c(e){let{className:t,...a}=e;return(0,s.jsx)(r._s.Overlay,{"data-slot":"drawer-overlay",className:(0,i.cn)("fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",t),...a})}function u(e){let{className:t,children:a,...n}=e;return(0,s.jsxs)(o,{"data-slot":"drawer-portal",children:[(0,s.jsx)(c,{}),(0,s.jsxs)(r._s.Content,{"data-slot":"drawer-content",className:(0,i.cn)("group/drawer-content fixed z-50 flex flex-col bg-background","data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b","data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t","data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:h-screen data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm","data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:h-screen data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",t),...n,children:[(0,s.jsx)("div",{className:"mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full bg-muted group-data-[vaul-drawer-direction=bottom]/drawer-content:block"}),a]})]})}function m(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"drawer-header",className:(0,i.cn)("flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left",t),...a})}function x(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"drawer-footer",className:(0,i.cn)("mt-auto flex flex-col gap-2 p-4",t),...a})}function h(e){let{className:t,...a}=e;return(0,s.jsx)(r._s.Title,{"data-slot":"drawer-title",className:(0,i.cn)("font-semibold text-foreground",t),...a})}function p(e){let{className:t,...a}=e;return(0,s.jsx)(r._s.Description,{"data-slot":"drawer-description",className:(0,i.cn)("text-sm text-muted-foreground",t),...a})}},68350:(e,t,a)=>{a.d(t,{E:()=>o});var s=a(54568);a(7620);var r=a(54616),i=a(46118),n=a(826);let l=(0,r.F)("inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focu
1s-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3",{variants:{variant:{default:"bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"bg-destructive text-white focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40 [a&]:hover:bg-destructive/90",outline:"border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",ghost:"[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",link:"text-primary underline-offset-4 [a&]:hover:underline"}},defaultVariants:{variant:"default"}});function o(e){let{className:t,variant:a="default",asChild:r=!1,...o}=e,d=r?i.bL:"span";return(0,s.jsx)(d,{"data-slot":"badge","data-variant":a,className:(0,n.cn)(l({variant:a}),t),...o})}},85650:(e,t,a)=>{a.d(t,{BK:()=>l,eu:()=>n,q5:()=>o});var s=a(54568);a(7620);var r=a(17531),i=a(826);function n(e){let{className:t,size:a="default",...n}=e;return(0,s.jsx)(r.Root,{"data-slot":"avatar","data-size":a,className:(0,i.cn)("group/avatar relative flex size-8 shrink-0 overflow-hidden rounded-full select-none data-[size=lg]:size-10 data-[size=sm]:size-6",t),...n})}function l(e){let{className:t,...a}=e;return(0,s.jsx)(r.Image,{"data-slot":"avatar-image",className:(0,i.cn)("aspect-square size-full",t),...a})}function o(e){let{className:t,...a}=e;return(0,s.jsx)(r.Fallback,{"data-slot":"avatar-fallback",className:(0,i.cn)("flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",t),...a})}},90551:(e,t,a)=>{a.d(t,{A0:()=>n,BF:()=>l,Hj:()=>o,XI:()=>i,nA:()=>c,nd:()=>d});var s=a(54568);a(7620);var r=a(826);function i(e){let{className:t,...a}=e;return(0,s.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,s.jsx)("table",{"data-slot":"table",className:(0,r.cn)("w-full caption-bottom text-sm",t),...a})})}function n(e){let{className:t,...a}=e;return(0,s.jsx)("thead",{"data-slot":"table-header",className:(0,r.cn)("[&_tr]:border-b",t),...a})}function l(e){let{className:t,...a}=e;return(0,s.jsx)("tbody",{"data-slot":"table-body",className:(0,r.cn)("[&_tr:last-child]:border-0",t),...a})}function o(e){let{className:t,...a}=e;return(0,s.jsx)("tr",{"data-slot":"table-row",className:(0,r.cn)("border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",t),...a})}function d(e){let{className:t,...a}=e;return(0,s.jsx)("th",{"data-slot":"table-head",className:(0,r.cn)("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...a})}function c(e){let{className:t,...a}=e;return(0,s.jsx)("td",{"data-slot":"table-cell",className:(0,r.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...a})}},91926:(e,t,a)=>{a.d(t,{I:()=>c,SQ:()=>d,V0:()=>p,_2:()=>u,hO:()=>m,lp:()=>x,mB:()=>h,rI:()=>l,ty:()=>o});var s=a(54568);a(7620);var r=a(14548),i=a(95347),n=a(826);function l(e){let{...t}=e;return(0,s.jsx)(i.Root,{"data-slot":"dropdown-menu",...t})}function o(e){let{...t}=e;return(0,s.jsx)(i.Trigger,{"data-slot":"dropdown-menu-trigger",...t})}function d(e){let{className:t,sideOffset:a=4,...r}=e;return(0,s.jsx)(i.Portal,{children:(0,s.jsx)(i.Content,{"data-slot":"dropdown-menu-content",sideOffset:a,className:(0,n.cn)("z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",t),...r})})}function c(e){let{...t}=e;return(0,s.jsx)(i.Group,{"data-slot":"dropdown-menu-group",...t})}function u(e){let{className:t,inset:a,variant:r="default",...l}=e;return(0,s.jsx)(i.Item,{"data-slot":"dropdown-menu-item","data-inset":a,"data-variant":r,className:(0,n.cn)("relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground data-[variant=destructive]:*:[svg]:text-destructive!",t),...l})}function m(e){let{className:t,children:a,checked:l,...o}=e;return(0,s.jsxs)(i.CheckboxItem,{"data-slot":"dropdown-menu-checkbox-item",className:(0,n.cn)("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),checked:l,...o,children:[(0,s.jsx)("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:(0,s.jsx)(i.ItemIndicator,{children:(0,s.jsx)(r.A,{className:"size-4"})})}),a]})}function x(e){let{className:t,inset:a,...r}=e;return(0,s.jsx)(i.Label,{"data-slot":"dropdown-menu-label","data-inset":a,className:(0,n.cn)("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",t),...r})}function h(e){let{className:t,...a}=e;return(0,s.jsx)(i.Separator,{"data-slot":"dropdown-menu-separator",className:(0,n.cn)("-mx-1 my-1 h-px bg-border",t),...a})}function p(e){let{className:t,...a}=e;return(0,s.jsx)("span",{"data-slot":"dropdown-menu-shortcut",className:(0,n.cn)("ml-auto text-xs tracking-widest text-muted-foreground",t),...a})}},96448:(e,t,a)=>{a.r(t),a.d(t,{default:()=>eF}
1);var s=a(54568),r=a(7620),i=a(1237),n=a(2143),l=a(57454),o=a(87405),d=a(53381),c=a(84456),u=a(68313),m=a(49605),x=a(85462),h=a(97492),p=a(96557),g=a(58110),v=a(29467),f=a(26119),j=a(70652),b=a(62329),w=a(83529),y=a(58955),k=a(91926),N=a(80878);function A(e){let{items:t}=e,{isMobile:a}=(0,N.cL)();return(0,s.jsxs)(N.Cn,{className:"group-data-[collapsible=icon]:hidden",children:[(0,s.jsx)(N.jj,{children:"Documents"}),(0,s.jsxs)(N.wZ,{children:[t.map(e=>(0,s.jsxs)(N.FX,{children:[(0,s.jsx)(N.Uj,{asChild:!0,children:(0,s.jsxs)("a",{href:e.url,children:[(0,s.jsx)(e.icon,{}),(0,s.jsx)("span",{children:e.name})]})}),(0,s.jsxs)(k.rI,{children:[(0,s.jsx)(k.ty,{asChild:!0,children:(0,s.jsxs)(N.e7,{showOnHover:!0,className:"rounded-sm data-[state=open]:bg-accent",children:[(0,s.jsx)(b.A,{}),(0,s.jsx)("span",{className:"sr-only",children:"More"})]})}),(0,s.jsxs)(k.SQ,{className:"w-24 rounded-lg",side:a?"bottom":"right",align:a?"end":"start",children:[(0,s.jsxs)(k._2,{children:[(0,s.jsx)(o.A,{}),(0,s.jsx)("span",{children:"Open"})]}),(0,s.jsxs)(k._2,{children:[(0,s.jsx)(w.A,{}),(0,s.jsx)("span",{children:"Share"})]}),(0,s.jsx)(k.mB,{}),(0,s.jsxs)(k._2,{variant:"destructive",children:[(0,s.jsx)(y.A,{}),(0,s.jsx)("span",{children:"Delete"})]})]})]})]},e.name)),(0,s.jsx)(N.FX,{children:(0,s.jsxs)(N.Uj,{className:"text-sidebar-foreground/70",children:[(0,s.jsx)(b.A,{className:"text-sidebar-foreground/70"}),(0,s.jsx)("span",{children:"More"})]})})]})]})}var C=a(9941),S=a(91832),P=a(6845);function z(e){let{items:t}=e;return(0,s.jsx)(N.Cn,{children:(0,s.jsxs)(N.rQ,{className:"flex flex-col gap-2",children:[(0,s.jsx)(N.wZ,{children:(0,s.jsxs)(N.FX,{className:"flex items-center gap-2",children:[(0,s.jsxs)(N.Uj,{tooltip:"Quick Create",className:"min-w-8 bg-primary text-primary-foreground duration-200 ease-linear hover:bg-primary/90 hover:text-primary-foreground active:bg-primary/90 active:text-primary-foreground",children:[(0,s.jsx)(C.A,{}),(0,s.jsx)("span",{children:"Quick Create"})]}),(0,s.jsxs)(P.$,{size:"icon",className:"size-8 group-data-[collapsible=icon]:opacity-0",variant:"outline",children:[(0,s.jsx)(S.A,{}),(0,s.jsx)("span",{className:"sr-only",children:"Inbox"})]})]})}),(0,s.jsx)(N.wZ,{children:t.map(e=>(0,s.jsx)(N.FX,{children:(0,s.jsxs)(N.Uj,{tooltip:e.title,children:[e.icon&&(0,s.jsx)(e.icon,{}),(0,s.jsx)("span",{children:e.title})]})},e.title))})]})})}function D(e){let{items:t,...a}=e;return(0,s.jsx)(N.Cn,{...a,children:(0,s.jsx)(N.rQ,{children:(0,s.jsx)(N.wZ,{children:t.map(e=>(0,s.jsx)(N.FX,{children:(0,s.jsx)(N.Uj,{asChild:!0,children:(0,s.jsxs)("a",{href:e.url,children:[(0,s.jsx)(e.icon,{}),(0,s.jsx)("span",{children:e.title})]})})},e.title))})})})}var I=a(28815),T=a(26064),_=a(31184),L=a(40968),R=a(71),F=a(85650);function M(e){let{user:t}=e,{isMobile:a}=(0,N.cL)();return(0,s.jsx)(N.wZ,{children:(0,s.jsx)(N.FX,{children:(0,s.jsxs)(k.rI,{children:[(0,s.jsx)(k.ty,{asChild:!0,children:(0,s.jsxs)(N.Uj,{size:"lg",className:"data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground",children:[(0,s.jsxs)(F.eu,{className:"h-8 w-8 rounded-lg grayscale",children:[(0,s.jsx)(F.BK,{src:t.avatar,alt:t.name}),(0,s.jsx)(F.q5,{className:"rounded-lg",children:"CN"})]}),(0,s.jsxs)("div",{className:"grid flex-1 text-left text-sm leading-tight",children:[(0,s.jsx)("span",{className:"truncate font-medium",children:t.name}),(0,s.jsx)("span",{className:"truncate text-xs text-muted-foreground",children:t.email})]}),(0,s.jsx)(I.A,{className:"ml-auto size-4"})]})}),(0,s.jsxs)(k.SQ,{className:"w-(--radix-dropdown-menu-trigger-width) min-w-56 rounded-lg",side:a?"bottom":"right",align:"end",sideOffset:4,children:[(0,s.jsx)(k.lp,{className:"p-0 font-normal",children:(0,s.jsxs)("div",{className:"flex items-center gap-2 px-1 py-1.5 text-left text-sm",children:[(0,s.jsxs)(F.eu,{className:"h-8 w-8 rounded-lg",children:[(0,s.jsx)(F.BK,{src:t.avatar,alt:t.name}),(0,s.jsx)(F.q5,{className:"rounded-lg",children:"CN"})]}),(0,s.jsxs)("div",{className:"grid flex-1 text-left text-sm leading-tight",children:[(0,s.jsx)("span",{className:"truncate font-medium",children:t.name}),(0,s.jsx)("span",{className:"truncate text-xs text-muted-foreground",children:t.email})]})]})}),(0,s.jsx)(k.mB,{}),(0,s.jsxs)(k.I,{children:[(0,s.jsxs)(k._2,{children:[(0,s.jsx)(T.A,{}),"Account"]}),(0,s.jsxs)(k._2,{children:[(0,s.jsx)(_.A,{}),"Billing"]}),(0,s.jsxs)(k._2,{children:[(0,s.jsx)(L.A,{}),"Notifications"]})]}),(0,s.jsx)(k.mB,{}),(0,s.jsxs)(k._2,{children:[(0,s.jsx)(R.A,{}),"Log out"]})]})]})})})}let E={user:{name:"shadcn",email:"[email protected]",avatar:"/avatars/shadcn.jpg"},navMain:[{title:"Dashboard",url:"#",icon:i.A},{title:"Lifecycle",url:"#",icon:n.A},{title:"Analytics",url:"#",icon:l.A},{title:"Projects",url:"#",icon:o.A},{title:"Team",url:"#",icon:d.A}],navClouds:[{title:"Capture",icon:c.A,isActive:!0,url:"#",items:[{title:"Active Proposals",url:"#"},{title:"Archived",url:"#"}]},{title:"Proposal",icon:u.A,url:"#",items:[{title:"Active Proposals",url:"#"},{title:"Archived",url:"#"}]},{title:"Prompts",icon:m.A,url:"#",items:[{title:"Active Proposals",url:"#"},{title:"Archived",url:"#"}]}],navSecondary:[{title:"Settings",url:"#",icon:x.A},{title:"Get Help",url:"#",icon:h.A},{title:"Search",url:"#",icon:p.A}],documents:[{name:"Data Library",url:"#",icon:g.A},{name:"Reports",url:"#",icon:v.A},{name:"Word Assistant",url:"#",icon:f.A}]};function B(e){let{...t}=e;return(0,s.jsxs)(N.Bx,{collapsible:"offcanvas",...t,children:[(0,s.jsx)(N.Gh,{children:(0,s.jsx)(N.wZ,{children:(0,s.jsx)(N.FX,{children:(0,s.jsx)(N.Uj,{asChild:!0,className:"data-[slot=sidebar-menu-button]:p-1.5!",children:(0,s.jsxs)("a",{href:"#",children:[(0,s.jsx)(j.A,{className:"size-5!"}),(0,s.jsx)("span",{className:"text-base font-semibold",children:"Acme Inc."})]})})})})}),(0,s.jsxs)(N.Yv,{children:[(0,s.jsx)(z,{items:E.navMain}
1),(0,s.jsx)(A,{items:E.documents}),(0,s.jsx)(D,{items:E.navSecondary,className:"mt-auto"})]}),(0,s.jsx)(N.CG,{children:(0,s.jsx)(M,{user:E.user})})]})}var J=a(44779),V=a(75724),O=a(94503),K=a(80160),G=a(3216),U=a(5239),X=a(9131),Z=a(32673),H=a(48412);let q=[{date:"2024-04-01",desktop:222,mobile:150},{date:"2024-04-02",desktop:97,mobile:180},{date:"2024-04-03",desktop:167,mobile:120},{date:"2024-04-04",desktop:242,mobile:260},{date:"2024-04-05",desktop:373,mobile:290},{date:"2024-04-06",desktop:301,mobile:340},{date:"2024-04-07",desktop:245,mobile:180},{date:"2024-04-08",desktop:409,mobile:320},{date:"2024-04-09",desktop:59,mobile:110},{date:"2024-04-10",desktop:261,mobile:190},{date:"2024-04-11",desktop:327,mobile:350},{date:"2024-04-12",desktop:292,mobile:210},{date:"2024-04-13",desktop:342,mobile:380},{date:"2024-04-14",desktop:137,mobile:220},{date:"2024-04-15",desktop:120,mobile:170},{date:"2024-04-16",desktop:138,mobile:190},{date:"2024-04-17",desktop:446,mobile:360},{date:"2024-04-18",desktop:364,mobile:410},{date:"2024-04-19",desktop:243,mobile:180},{date:"2024-04-20",desktop:89,mobile:150},{date:"2024-04-21",desktop:137,mobile:200},{date:"2024-04-22",desktop:224,mobile:170},{date:"2024-04-23",desktop:138,mobile:230},{date:"2024-04-24",desktop:387,mobile:290},{date:"2024-04-25",desktop:215,mobile:250},{date:"2024-04-26",desktop:75,mobile:130},{date:"2024-04-27",desktop:383,mobile:420},{date:"2024-04-28",desktop:122,mobile:180},{date:"2024-04-29",desktop:315,mobile:240},{date:"2024-04-30",desktop:454,mobile:380},{date:"2024-05-01",desktop:165,mobile:220},{date:"2024-05-02",desktop:293,mobile:310},{date:"2024-05-03",desktop:247,mobile:190},{date:"2024-05-04",desktop:385,mobile:420},{date:"2024-05-05",desktop:481,mobile:390},{date:"2024-05-06",desktop:498,mobile:520},{date:"2024-05-07",desktop:388,mobile:300},{date:"2024-05-08",desktop:149,mobile:210},{date:"2024-05-09",desktop:227,mobile:180},{date:"2024-05-10",desktop:293,mobile:330},{date:"2024-05-11",desktop:335,mobile:270},{date:"2024-05-12",desktop:197,mobile:240},{date:"2024-05-13",desktop:197,mobile:160},{date:"2024-05-14",desktop:448,mobile:490},{date:"2024-05-15",desktop:473,mobile:380},{date:"2024-05-16",desktop:338,mobile:400},{date:"2024-05-17",desktop:499,mobile:420},{date:"2024-05-18",desktop:315,mobile:350},{date:"2024-05-19",desktop:235,mobile:180},{date:"2024-05-20",desktop:177,mobile:230},{date:"2024-05-21",desktop:82,mobile:140},{date:"2024-05-22",desktop:81,mobile:120},{date:"2024-05-23",desktop:252,mobile:290},{date:"2024-05-24",desktop:294,mobile:220},{date:"2024-05-25",desktop:201,mobile:250},{date:"2024-05-26",desktop:213,mobile:170},{date:"2024-05-27",desktop:420,mobile:460},{date:"2024-05-28",desktop:233,mobile:190},{date:"2024-05-29",desktop:78,mobile:130},{date:"2024-05-30",desktop:340,mobile:280},{date:"2024-05-31",desktop:178,mobile:230},{date:"2024-06-01",desktop:178,mobile:200},{date:"2024-06-02",desktop:470,mobile:410},{date:"2024-06-03",desktop:103,mobile:160},{date:"2024-06-04",desktop:439,mobile:380},{date:"2024-06-05",desktop:88,mobile:140},{date:"2024-06-06",desktop:294,mobile:250},{date:"2024-06-07",desktop:323,mobile:370},{date:"2024-06-08",desktop:385,mobile:320},{date:"2024-06-09",desktop:438,mobile:480},{date:"2024-06-10",desktop:155,mobile:200},{date:"2024-06-11",desktop:92,mobile:150},{date:"2024-06-12",desktop:492,mobile:420},{date:"2024-06-13",desktop:81,mobile:130},{date:"2024-06-14",desktop:426,mobile:380},{date:"2024-06-15",desktop:307,mobile:350},{date:"2024-06-16",desktop:371,mobile:310},{date:"2024-06-17",desktop:475,mobile:520},{date:"2024-06-18",desktop:107,mobile:170},{date:"2024-06-19",desktop:341,mobile:290},{date:"2024-06-20",desktop:408,mobile:450},{date:"2024-06-21",desktop:169,mobile:210},{date:"2024-06-22",desktop:317,mobile:270},{date:"2024-06-23",desktop:480,mobile:530},{date:"2024-06-24",desktop:132,mobile:180},{date:"2024-06-25",desktop:141,mobile:190},{date:"2024-06-26",desktop:434,mobile:380},{date:"2024-06-27",desktop:448,mobile:490},{date:"2024-06-28",desktop:149,mobile:200},{date:"2024-06-29",desktop:103,mobile:160},{date:"2024-06-30",desktop:446,mobile:400}],$={visitors:{label:"Visitors"},desktop:{label:"Desktop",color:"var(--primary)"},mobile:{label:"Mobile",color:"var(--primary)"}};function Q(){let e=(0,G.a)(),[t,a]=r.useState("90d"),[i,n]=r.useState("2024-01-01"),[l,o]=r.useState("2024-06-30"),[d,c]=r.useState(!1);r.useEffect(()=>{e&&a("7d")},[e]);let u=q.filter(e=>{let a=new Date(e.date);if(d){let e=new Date(i),t=new Date(l);return a>=e&&a<=t}let s=new Date("2024-06-30"),r=90;"30d"===t?r=30:"7d"===t&&(r=7);let n=new Date(s);return n.setDate(n.getDate()-r),a>=n});return(0,s.jsxs)(U.Zp,{className:"@container/card",children:[(0,s.jsxs)(U.aR,{children:[(0,s.jsx)(U.ZB,{children:"Total Visitors"}),(0,s.jsxs)(U.BT,{children:[(0,s.jsx)("span",{className:"hidden @[540px]/card:block",children:"Total for the last 3 months"}),(0,s.jsx)("span",{className:"@[540px]/card:hidden",children:"Last 3 months"})]}),(0,s.jsx)(U.X9,{children:d?(0,s.jsxs)("div",{className:"flex flex-col gap-2 w-64",children:[(0,s.jsx)("label",{className:"text-xs font-medium",children:"Start Date"}),(0,s.jsx)("input",{type:"date",value:i,onChange:e=>n(e.target.value),className:"px-2 py-1 text-xs border rounded"}),(0,s.jsx)("label",{className:"text-xs font-medium",children:"End Date"}
1),(0,s.jsx)("input",{type:"date",value:l,onChange:e=>o(e.target.value),className:"px-2 py-1 text-xs border rounded"}),(0,s.jsx)("button",{onClick:()=>c(!1),className:"px-2 py-1 text-xs bg-secondary rounded hover:bg-secondary/80",children:"Use Presets"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(H.O,{type:"single",value:t,onValueChange:e=>{a(e),c(!1)},variant:"outline",className:"hidden *:data-[slot=toggle-group-item]:px-4! @[767px]/card:flex",children:[(0,s.jsx)(H.d,{value:"90d",children:"Last 3 months"}),(0,s.jsx)(H.d,{value:"30d",children:"Last 30 days"}),(0,s.jsx)(H.d,{value:"7d",children:"Last 7 days"})]}),(0,s.jsxs)(Z.l6,{value:d?"custom":t,onValueChange:e=>{"custom"===e?c(!0):(a(e),c(!1))},children:[(0,s.jsx)(Z.bq,{className:"flex w-40 **:data-[slot=select-value]:block **:data-[slot=select-value]:truncate @[767px]/card:hidden",size:"sm","aria-label":"Select a value",children:(0,s.jsx)(Z.yv,{placeholder:"Last 3 months"})}),(0,s.jsxs)(Z.gC,{className:"rounded-xl",children:[(0,s.jsx)(Z.eb,{value:"90d",className:"rounded-lg",children:"Last 3 months"}),(0,s.jsx)(Z.eb,{value:"30d",className:"rounded-lg",children:"Last 30 days"}),(0,s.jsx)(Z.eb,{value:"7d",className:"rounded-lg",children:"Last 7 days"}),(0,s.jsx)(Z.eb,{value:"custom",className:"rounded-lg",children:"Custom Range"})]})]}),(0,s.jsx)("button",{onClick:()=>c(!0),className:"hidden @[767px]/card:block px-2 py-1 text-xs bg-primary/10 text-primary rounded hover:bg-primary/20",children:"Custom"})]})})]}),(0,s.jsx)(U.Wu,{className:"px-2 pt-4 sm:px-6 sm:pt-6",children:(0,s.jsx)(X.at,{config:$,className:"aspect-auto h-[250px] w-full",children:(0,s.jsxs)(J.Q,{data:u,children:[(0,s.jsxs)("defs",{children:[(0,s.jsxs)("linearGradient",{id:"fillDesktop",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,s.jsx)("stop",{offset:"5%",stopColor:"var(--color-desktop)",stopOpacity:1}),(0,s.jsx)("stop",{offset:"95%",stopColor:"var(--color-desktop)",stopOpacity:.1})]}),(0,s.jsxs)("linearGradient",{id:"fillMobile",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,s.jsx)("stop",{offset:"5%",stopColor:"var(--color-mobile)",stopOpacity:.8}),(0,s.jsx)("stop",{offset:"95%",stopColor:"var(--color-mobile)",stopOpacity:.1})]})]}),(0,s.jsx)(V.d,{vertical:!1}),(0,s.jsx)(O.W,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:12,minTickGap:48,tickFormatter:e=>new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric"})}),(0,s.jsx)(X.II,{cursor:!1,content:(0,s.jsx)(X.Nt,{labelFormatter:e=>new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric"}),indicator:"dot"})}),(0,s.jsx)(K.Gk,{dataKey:"mobile",type:"natural",fill:"url(#fillMobile)",stroke:"var(--color-mobile)",stackId:"a"}),(0,s.jsx)(K.Gk,{dataKey:"desktop",type:"natural",fill:"url(#fillDesktop)",stroke:"var(--color-desktop)",stackId:"a"})]})})})]})}var W=a(87402),Y=a(44664),ee=a(29364),et=a(62868),ea=a(35903),es=a(91905),er=a(71292),ei=a(86262),en=a(25404),el=a(69697),eo=a(94966),ed=a(1371),ec=a(6748),eu=a(48763),em=a(55657),ex=a(23398),eh=a(65930),ep=a(69885),eg=a(63916),ev=a(68350),ef=a(51598),ej=a(67318),eb=a(92779),ew=a(8049),ey=a(41626),ek=a(90551),eN=a(62737);function eA(e){let{id:t}=e,{attributes:a,listeners:r}=(0,ee.gl)({id:t});return(0,s.jsxs)(P.$,{...a,...r,variant:"ghost",size:"icon",className:"size-7 text-muted-foreground hover:bg-transparent",children:[(0,s.jsx)(ea.A,{className:"size-3 text-muted-foreground"}),(0,s.jsx)("span",{className:"sr-only",children:"Drag to reorder"})]})}eg.Ik({id:eg.ai(),header:eg.Yj(),type:eg.Yj(),status:eg.Yj(),target:eg.Yj(),limit:eg.Yj(),reviewer:eg.Yj()});let eC=[{id:"drag",header:()=>null,cell:e=>{let{row:t}=e;return(0,s.jsx)(eA,{id:t.original.id})}},{id:"select",header:e=>{let{table:t}=e;return(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)(ef.
1S,{checked:t.getIsAllPageRowsSelected()||t.getIsSomePageRowsSelected()&&"indeterminate",onCheckedChange:e=>t.toggleAllPageRowsSelected(!!e),"aria-label":"Select all"})})},cell:e=>{let{row:t}=e;return(0,s.jsx)("div",{className:"flex items-center justify-center",children:(0,s.jsx)(ef.S,{checked:t.getIsSelected(),onCheckedChange:e=>t.toggleSelected(!!e),"aria-label":"Select row"})})},enableSorting:!1,enableHiding:!1},{accessorKey:"header",header:"Header",cell:e=>{let{row:t}=e;return(0,s.jsx)(eI,{item:t.original})},enableHiding:!1},{accessorKey:"type",header:"Section Type",cell:e=>{let{row:t}=e;return(0,s.jsx)("div",{className:"w-32",children:(0,s.jsx)(ev.E,{variant:"outline",className:"px-1.5 text-muted-foreground",children:t.original.type})})}},{accessorKey:"status",header:"Status",cell:e=>{let{row:t}=e;return(0,s.jsxs)(ev.E,{variant:"outline",className:"px-1.5 text-muted-foreground",children:["Done"===t.original.status?(0,s.jsx)(es.A,{className:"fill-green-500 dark:fill-green-400"}):(0,s.jsx)(er.A,{}),t.original.status]})}},{accessorKey:"target",header:()=>(0,s.jsx)("div",{className:"w-full text-right",children:"Target"}),cell:e=>{let{row:t}=e;return(0,s.jsxs)("form",{onSubmit:e=>{e.preventDefault(),ep.oR.promise(new Promise(e=>setTimeout(e,1e3)),{loading:"Saving ".concat(t.original.header),success:"Done",error:"Error"})},children:[(0,s.jsx)(ew.J,{htmlFor:"".concat(t.original.id,"-target"),className:"sr-only",children:"Target"}),(0,s.jsx)(eb.p,{className:"h-8 w-16 border-transparent bg-transparent text-right shadow-none hover:bg-input/30 focus-visible:border focus-visible:bg-background dark:bg-transparent dark:hover:bg-input/30 dark:focus-visible:bg-input/30",defaultValue:t.original.target,id:"".concat(t.original.id,"-target")})]})}},{accessorKey:"limit",header:()=>(0,s.jsx)("div",{className:"w-full text-right",children:"Limit"}),cell:e=>{let{row:t}=e;return(0,s.jsxs)("form",{onSubmit:e=>{e.preventDefault(),ep.oR.promise(new Promise(e=>setTimeout(e,1e3)),{loading:"Saving ".concat(t.original.header),success:"Done",error:"Error"})},children:[(0,s.jsx)(ew.J,{htmlFor:"".concat(t.original.id,"-limit"),className:"sr-only",children:"Limit"}),(0,s.jsx)(eb.p,{className:"h-8 w-16 border-transparent bg-transparent text-right shadow-none hover:bg-input/30 focus-visible:border focus-visible:bg-background dark:bg-transparent dark:hover:bg-input/30 dark:focus-visible:bg-input/30",defaultValue:t.original.limit,id:"".concat(t.original.id,"-limit")})]})}},{accessorKey:"reviewer",header:"Reviewer",cell:e=>{let{row:t}=e;return"Assign reviewer"!==t.original.reviewer?t.original.reviewer:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ew.J,{htmlFor:"".concat(t.original.id,"-reviewer"),className:"sr-only",children:"Reviewer"}),(0,s.jsxs)(Z.l6,{children:[(0,s.jsx)(Z.bq,{className:"w-38 **:data-[slot=select-value]:block **:data-[slot=select-value]:truncate",size:"sm",id:"".concat(t.original.id,"-reviewer"),children:(0,s.jsx)(Z.yv,{placeholder:"Assign reviewer"})}),(0,s.jsxs)(Z.gC,{align:"end",children:[(0,s.jsx)(Z.eb,{value:"Eddie Lake",children:"Eddie Lake"}),(0,s.jsx)(Z.eb,{value:"Jamik Tashpulatov",children:"Jamik Tashpulatov"})]})]})]})}},{id:"actions",cell:()=>(0,s.jsxs)(k.rI,{children:[(0,s.jsx)(k.ty,{asChild:!0,children:(0,s.jsxs)(P.$,{variant:"ghost",className:"flex size-8 text-muted-foreground data-[state=open]:bg-muted",size:"icon",children:[(0,s.jsx)(I.A,{}),(0,s.jsx)("span",{className:"sr-only",children:"Open menu"})]})}),(0,s.jsxs)(k.SQ,{align:"end",className:"w-32",children:[(0,s.jsx)(k._2,{children:"Edit"}),(0,s.jsx)(k._2,{children:"Make a copy"}),(0,s.jsx)(k._2,{children:"Favorite"}),(0,s.jsx)(k.mB,{}),(0,s.jsx)(k._2,{variant:"destructive",children:"Delete"})]})]})}];function eS(e){let{row:t}=e,{transform:a,transition:r,setNodeRef:i,isDragging:n}=(0,ee.gl)({id:t.original.id});return(0,s.jsx)(ek.Hj,{"data-state":t.getIsSelected()&&"selected","data-dragging":n,ref:i,className:"relative z-0 data-[dragging=true]:z-10 data-[dragging=true]:opacity-80",style:{transform:et.Ks.Transform.toString(a),transition:r},children:t.getVisibleCells().map(e=>(0,s.jsx)(ek.nA,{children:(0,ex.Kv)(e.column.columnDef.cell,e.getContext())},e.id))})}function eP(e){var t;let{data:a}=e,[i,n]=r.useState(()=>a),[l,o]=r.useState({}),[d,c]=r.useState({}),[u,m]=r.useState([]),[x,h]=r.useState([]),[p,g]=r.useState({pageIndex:0,pageSize:10}),v=r.useId(),f=(0,W.FR)((0,W.MS)(W.cA,{}),(0,W.MS)(W.IG,{}),(0,W.MS)(W.uN,{})),j=r.useMemo(()=>(null==i?void 0:i.map(e=>{let{id:t}=e;return t}))||[],[i]),b=(0,ex.N4)({data:i,columns:eC,state:{sorting:x,columnVisibility:d,rowSelection:l,columnFilters:u,pagination:p},getRowId:e=>e.id.toString(),enableRowSelection:!0,onRowSelectionChange:o,onSortingChange:h,onColumnFiltersChange:m,onColumnVisibilityChange:c,onPaginationChange:g,getCoreRowModel:(0,eh.HT)(),getFilteredRowModel:(0,eh.hM)(),getPaginationRowModel:(0,eh.kW)(),getSortedRowModel:(0,eh.h5)(),getFacetedRowModel:(0,eh.kQ)(),getFacetedUniqueValues:(0,eh.oS)()});return(0,s.jsxs)(eN.tU,{defaultValue:"outline",className:"w-full flex-col justify-start gap-6",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between px-4 lg:px-6",children:[(0,s.jsx)(ew.J,{htmlFor:"view-selector",className:"sr-only",children:"View"}),(0,s.jsxs)(Z.l6,{defaultValue:"outline",children:[(0,s.jsx)(Z.bq,{className:"flex w-fit @4xl/main:hidden",size:"sm",id:"view-selector",children:(0,s.jsx)(Z.yv,{placeholder:"Select a view"})}),(0,s.jsxs)(Z.gC,{children:[(0,s.jsx)(Z.eb,{value:"outline",children:"Outline"}),(0,s.jsx)(Z.eb,{value:"past-performance",children:"Past Performance"}
1),(0,s.jsx)(Z.eb,{value:"key-personnel",children:"Key Personnel"}),(0,s.jsx)(Z.eb,{value:"focus-documents",children:"Focus Documents"})]})]}),(0,s.jsxs)(eN.j7,{className:"hidden **:data-[slot=badge]:size-5 **:data-[slot=badge]:rounded-full **:data-[slot=badge]:bg-muted-foreground/30 **:data-[slot=badge]:px-1 @4xl/main:flex",children:[(0,s.jsx)(eN.Xi,{value:"outline",children:"Outline"}),(0,s.jsxs)(eN.Xi,{value:"past-performance",children:["Past Performance ",(0,s.jsx)(ev.E,{variant:"secondary",children:"3"})]}),(0,s.jsxs)(eN.Xi,{value:"key-personnel",children:["Key Personnel ",(0,s.jsx)(ev.E,{variant:"secondary",children:"2"})]}),(0,s.jsx)(eN.Xi,{value:"focus-documents",children:"Focus Documents"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsxs)(k.rI,{children:[(0,s.jsx)(k.ty,{asChild:!0,children:(0,s.jsxs)(P.$,{variant:"outline",size:"sm",children:[(0,s.jsx)(ei.A,{}),(0,s.jsx)("span",{className:"hidden lg:inline",children:"Customize Columns"}),(0,s.jsx)("span",{className:"lg:hidden",children:"Columns"}),(0,s.jsx)(en.A,{})]})}),(0,s.jsx)(k.SQ,{align:"end",className:"w-56",children:b.getAllColumns().filter(e=>void 0!==e.accessorFn&&e.getCanHide()).map(e=>(0,s.jsx)(k.hO,{className:"capitalize",checked:e.getIsVisible(),onCheckedChange:t=>e.toggleVisibility(!!t),children:e.id},e.id))})]}),(0,s.jsxs)(P.$,{variant:"outline",size:"sm",children:[(0,s.jsx)(el.A,{}),(0,s.jsx)("span",{className:"hidden lg:inline",children:"Add Section"})]})]})]}),(0,s.jsxs)(eN.av,{value:"outline",className:"relative flex flex-col gap-4 overflow-auto px-4 lg:px-6",children:[(0,s.jsx)("div",{className:"overflow-hidden rounded-lg border",children:(0,s.jsx)(W.Mp,{collisionDetection:W.fp,modifiers:[Y.FN],onDragEnd:function(e){let{active:t,over:a}=e;t&&a&&t.id!==a.id&&n(e=>{let s=j.indexOf(t.id),r=j.indexOf(a.id);return(0,ee.be)(e,s,r)})},sensors:f,id:v,children:(0,s.jsxs)(ek.XI,{children:[(0,s.jsx)(ek.A0,{className:"sticky top-0 z-10 bg-muted",children:b.getHeaderGroups().map(e=>(0,s.jsx)(ek.Hj,{children:e.headers.map(e=>(0,s.jsx)(ek.nd,{colSpan:e.colSpan,children:e.isPlaceholder?null:(0,ex.Kv)(e.column.columnDef.header,e.getContext())},e.id))},e.id))}),(0,s.jsx)(ek.BF,{className:"**:data-[slot=table-cell]:first:w-8",children:(null==(t=b.getRowModel().rows)?void 0:t.length)?(0,s.jsx)(ee.gB,{items:j,strategy:ee._G,children:b.getRowModel().rows.map(e=>(0,s.jsx)(eS,{row:e},e.id))}):(0,s.jsx)(ek.Hj,{children:(0,s.jsx)(ek.nA,{colSpan:eC.length,className:"h-24 text-center",children:"No results."})})})]})})}),(0,s.jsxs)("div",{className:"flex items-center justify-between px-4",children:[(0,s.jsxs)("div",{className:"hidden flex-1 text-sm text-muted-foreground lg:flex",children:[b.getFilteredSelectedRowModel().rows.length," of"," ",b.getFilteredRowModel().rows.length," row(s) selected."]}),(0,s.jsxs)("div",{className:"flex w-full items-center gap-8 lg:w-fit",children:[(0,s.jsxs)("div",{className:"hidden items-center gap-2 lg:flex",children:[(0,s.jsx)(ew.J,{htmlFor:"rows-per-page",className:"text-sm font-medium",children:"Rows per page"}),(0,s.jsxs)(Z.l6,{value:"".concat(b.getState().pagination.pageSize),onValueChange:e=>{b.setPageSize(Number(e))},children:[(0,s.jsx)(Z.bq,{size:"sm",className:"w-20",id:"rows-per-page",children:(0,s.jsx)(Z.yv,{placeholder:b.getState().pagination.pageSize})}),(0,s.jsx)(Z.gC,{side:"top",children:[10,20,30,40,50].map(e=>(0,s.jsx)(Z.eb,{value:"".concat(e),children:e},e))})]})]}),(0,s.jsxs)("div",{className:"flex w-fit items-center justify-center text-sm font-medium",children:["Page ",b.getState().pagination.pageIndex+1," of"," ",b.getPageCount()]}),(0,s.jsxs)("div",{className:"ml-auto flex items-center gap-2 lg:ml-0",children:[(0,s.jsxs)(P.$,{variant:"outline",className:"hidden h-8 w-8 p-0 lg:flex",onClick:()=>b.setPageIndex(0),disabled:!b.getCanPreviousPage(),children:[(0,s.jsx)("span",{className:"sr-only",children:"Go to first page"}),(0,s.jsx)(eo.A,{})]}),(0,s.jsxs)(P.$,{variant:"outline",className:"size-8",size:"icon",onClick:()=>b.previousPage(),disabled:!b.getCanPreviousPage(),children:[(0,s.jsx)("span",{className:"sr-only",children:"Go to previous page"}),(0,s.jsx)(ed.A,{})]}),(0,s.jsxs)(P.$,{variant:"outline",className:"size-8",size:"icon",onClick:()=>b.nextPage(),disabled:!b.getCanNextPage(),children:[(0,s.jsx)("span",{className:"sr-only",children:"Go to next page"}),(0,s.jsx)(ec.A,{})]}),(0,s.jsxs)(P.$,{variant:"outline",className:"hidden size-8 lg:flex",
1size:"icon",onClick:()=>b.setPageIndex(b.getPageCount()-1),disabled:!b.getCanNextPage(),children:[(0,s.jsx)("span",{className:"sr-only",children:"Go to last page"}),(0,s.jsx)(eu.A,{})]})]})]})]})]}),(0,s.jsx)(eN.av,{value:"past-performance",className:"flex flex-col px-4 lg:px-6",children:(0,s.jsx)("div",{className:"aspect-video w-full flex-1 rounded-lg border border-dashed"})}),(0,s.jsx)(eN.av,{value:"key-personnel",className:"flex flex-col px-4 lg:px-6",children:(0,s.jsx)("div",{className:"aspect-video w-full flex-1 rounded-lg border border-dashed"})}),(0,s.jsx)(eN.av,{value:"focus-documents",className:"flex flex-col px-4 lg:px-6",children:(0,s.jsx)("div",{className:"aspect-video w-full flex-1 rounded-lg border border-dashed"})})]})}let ez=[{month:"January",desktop:186,mobile:80},{month:"February",desktop:305,mobile:200},{month:"March",desktop:237,mobile:120},{month:"April",desktop:73,mobile:190},{month:"May",desktop:209,mobile:130},{month:"June",desktop:214,mobile:140}],eD={desktop:{label:"Desktop",color:"var(--primary)"},mobile:{label:"Mobile",color:"var(--primary)"}};function eI(e){let{item:t}=e,a=(0,G.a)();return(0,s.jsxs)(ej._s,{direction:a?"bottom":"right",children:[(0,s.jsx)(ej.Uz,{asChild:!0,children:(0,s.jsx)(P.$,{variant:"link",className:"w-fit px-0 text-left text-foreground",children:t.header})}),(0,s.jsxs)(ej.zj,{children:[(0,s.jsxs)(ej.BE,{className:"gap-1",children:[(0,s.jsx)(ej.gk,{children:t.header}),(0,s.jsx)(ej.I6,{children:"Showing total visitors for the last 6 months"})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-4 overflow-y-auto px-4 text-sm",children:[!a&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(X.at,{config:eD,className:"h-[300px]",children:(0,s.jsxs)(J.Q,{accessibilityLayer:!0,data:ez,margin:{left:0,right:10},children:[(0,s.jsx)(V.d,{vertical:!1}),(0,s.jsx)(O.W,{dataKey:"month",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,3),hide:!0}),(0,s.jsx)(X.II,{cursor:!1,content:(0,s.jsx)(X.Nt,{indicator:"dot"})}),(0,s.jsx)(K.Gk,{dataKey:"mobile",type:"natural",fill:"var(--color-mobile)",fillOpacity:.6,stroke:"var(--color-mobile)",stackId:"a"}),(0,s.jsx)(K.Gk,{dataKey:"desktop",type:"natural",fill:"var(--color-desktop)",fillOpacity:.4,stroke:"var(--color-desktop)",stackId:"a"})]})}),(0,s.jsx)(ey.w,{}),(0,s.jsxs)("div",{className:"grid gap-2",children:[(0,s.jsxs)("div",{className:"flex gap-2 leading-none font-medium",children:["Trending up by 5.2% this month"," ",(0,s.jsx)(em.A,{className:"size-4"})]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Showing total visitors for the last 6 months. This is just some random text to test the layout. It spans multiple lines and should wrap around."})]}),(0,s.jsx)(ey.w,{})]}),(0,s.jsxs)("form",{className:"flex flex-col gap-4",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsx)(ew.J,{htmlFor:"header",children:"Header"}),(0,s.jsx)(eb.p,{id:"header",defaultValue:t.header})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsx)(ew.J,{htmlFor:"type",children:"Type"}),(0,s.jsxs)(Z.l6,{defaultValue:t.type,children:[(0,s.jsx)(Z.bq,{id:"type",className:"w-full",children:(0,s.jsx)(Z.yv,{placeholder:"Select a type"})}),(0,s.jsxs)(Z.gC,{children:[(0,s.jsx)(Z.eb,{value:"Table of Contents",children:"Table of Contents"}),(0,s.jsx)(Z.eb,{value:"Executive Summary",children:"Executive Summary"}),(0,s.jsx)(Z.eb,{value:"Technical Approach",children:"Technical Approach"}),(0,s.jsx)(Z.eb,{value:"Design",children:"Design"}),(0,s.jsx)(Z.eb,{value:"Capabilities",children:"Capabilities"}),(0,s.jsx)(Z.eb,{value:"Focus Documents",children:"Focus Documents"}),(0,s.jsx)(Z.eb,{value:"Narrative",children:"Narrative"}),(0,s.jsx)(Z.eb,{value:"Cover Page",children:"Cover Page"})]})]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsx)(ew.J,{htmlFor:"status",children:"Status"}),(0,s.jsxs)(Z.l6,{defaultValue:t.status,children:[(0,s.jsx)(Z.bq,{id:"status",className:"w-full",children:(0,s.jsx)(Z.yv,{placeholder:"Select a status"})}),(0,s.jsxs)(Z.gC,{children:[(0,s.jsx)(Z.eb,{value:"Done",children:"Done"}),(0,s.jsx)(Z.eb,{value:"In Progress",children:"In Progress"}),(0,s.jsx)(Z.eb,{value:"Not Started",children:"Not Started"})]})]})]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsx)(ew.J,{htmlFor:"target",children:"Target"}),(0,s.jsx)(eb.p,{id:"target",defaultValue:t.target})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsx)(ew.J,{htmlFor:"limit",children:"Limit"}),(0,s.jsx)(eb.p,{id:"limit",defaultValue:t.limit})]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsx)(ew.J,{htmlFor:"reviewer",children:"Reviewer"}),(0,s.jsxs)(Z.l6,{defaultValue:t.reviewer,children:[(0,s.jsx)(Z.bq,{id:"reviewer",className:"w-full",children:(0,s.jsx)(Z.yv,{placeholder:"Select a reviewer"})}),(0,s.jsxs)(Z.gC,{children:[(0,s.jsx)(Z.eb,{value:"Eddie Lake",children:"Eddie Lake"}),(0,s.jsx)(Z.eb,{value:"Jamik Tashpulatov",children:"Jamik Tashpulatov"}),(0,s.jsx)(Z.eb,{value:"Emily Whalen",children:"Emily Whalen"})]})]})]})]})]}),(0,s.jsxs)(ej.tb,{children:[(0,s.jsx)(P.$,{children:"Submit"}),(0,s.jsx)(ej.cp,{asChild:!0,children:(0,s.jsx)(P.$,{variant:"outline",children:"Done"})})]})]})]})}var eT=a(89078);function e_(){return(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-4 px-4 *:data-[slot=card]:bg-gradient-to-t *:data-[slot=card]:from-primary/5 *:data-[slot=card]:to-card *:data-[slot=card]:sha
1dow-xs lg:px-6 sm:grid-cols-2 md:grid-cols-3 @xl/main:grid-cols-2 @5xl/main:grid-cols-4 dark:*:data-[slot=card]:bg-card",children:[(0,s.jsxs)(U.Zp,{className:"@container/card",children:[(0,s.jsxs)(U.aR,{children:[(0,s.jsx)(U.BT,{children:"Total Revenue"}),(0,s.jsx)(U.ZB,{className:"text-2xl font-semibold tabular-nums @[250px]/card:text-3xl",children:"$1,250.00"}),(0,s.jsx)(U.X9,{children:(0,s.jsxs)(ev.E,{variant:"outline",children:[(0,s.jsx)(em.A,{}),"+12.5%"]})})]}),(0,s.jsxs)(U.wL,{className:"flex-col items-start gap-1.5 text-sm",children:[(0,s.jsxs)("div",{className:"line-clamp-1 flex gap-2 font-medium",children:["Trending up this month ",(0,s.jsx)(em.A,{className:"size-4"})]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Visitors for the last 6 months"})]})]}),(0,s.jsxs)(U.Zp,{className:"@container/card",children:[(0,s.jsxs)(U.aR,{children:[(0,s.jsx)(U.BT,{children:"New Customers"}),(0,s.jsx)(U.ZB,{className:"text-2xl font-semibold tabular-nums @[250px]/card:text-3xl",children:"1,234"}),(0,s.jsx)(U.X9,{children:(0,s.jsxs)(ev.E,{variant:"outline",children:[(0,s.jsx)(eT.A,{}),"-20%"]})})]}),(0,s.jsxs)(U.wL,{className:"flex-col items-start gap-1.5 text-sm",children:[(0,s.jsxs)("div",{className:"line-clamp-1 flex gap-2 font-medium",children:["Down 20% this period ",(0,s.jsx)(eT.A,{className:"size-4"})]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Acquisition needs attention"})]})]}),(0,s.jsxs)(U.Zp,{className:"@container/card",children:[(0,s.jsxs)(U.aR,{children:[(0,s.jsx)(U.BT,{children:"Active Accounts"}),(0,s.jsx)(U.ZB,{className:"text-2xl font-semibold tabular-nums @[250px]/card:text-3xl",children:"45,678"}),(0,s.jsx)(U.X9,{children:(0,s.jsxs)(ev.E,{variant:"outline",children:[(0,s.jsx)(em.A,{}),"+12.5%"]})})]}),(0,s.jsxs)(U.wL,{className:"flex-col items-start gap-1.5 text-sm",children:[(0,s.jsxs)("div",{className:"line-clamp-1 flex gap-2 font-medium",children:["Strong user retention ",(0,s.jsx)(em.A,{className:"size-4"})]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Engagement exceed targets"})]})]}),(0,s.jsxs)(U.Zp,{className:"@container/card",children:[(0,s.jsxs)(U.aR,{children:[(0,s.jsx)(U.BT,{children:"Growth Rate"}),(0,s.jsx)(U.ZB,{className:"text-2xl font-semibold tabular-nums @[250px]/card:text-3xl",children:"4.5%"}),(0,s.jsx)(U.X9,{children:(0,s.jsxs)(ev.E,{variant:"outline",children:[(0,s.jsx)(em.A,{}),"+4.5%"]})})]}),(0,s.jsxs)(U.wL,{className:"flex-col items-start gap-1.5 text-sm",children:[(0,s.jsxs)("div",{className:"line-clamp-1 flex gap-2 font-medium",children:["Steady performance increase ",(0,s.jsx)(em.A,{className:"size-4"})]}),(0,s.jsx)("div",{className:"text-muted-foreground",children:"Meets growth projections"})]})]})]})}function eL(){return(0,s.jsx)("header",{className:"flex h-(--header-height) shrink-0 items-center gap-2 border-b transition-[width,height] ease-linear group-has-data-[collapsible=icon]/sidebar-wrapper:h-(--header-height)",children:(0,s.jsxs)("div",{className:"flex w-full items-center gap-1 px-4 lg:gap-2 lg:px-6",children:[(0,s.jsx)(N.x2,{className:"-ml-1"}),(0,s.jsx)(ey.w,{orientation:"vertical",className:"mx-2 data-[orientation=vertical]:h-4"}),(0,s.jsx)("h1",{className:"text-base font-medium",children:"Documents"}),(0,s.jsx)("div",{className:"ml-auto flex items-center gap-2",children:(0,s.jsx)(P.$,{variant:"ghost",asChild:!0,size:"sm",className:"hidden sm:flex",children:(0,s.jsx)("a",{href:"https://github.com/shadcn-ui/ui/tree/main/apps/v4/app/(examples)/dashboard",rel:"noopener noreferrer",target:"_blank",className:"dark:text-foreground",children:"GitHub"})})})]})})}let eR=JSON.parse('[{"id":1,"header":"Cover page","type":"Cover page","status":"In Process","target":"18","limit":"5","reviewer":"Eddie Lake"},{"id":2,"header":"Table of contents","type":"Table of contents","status":"Done","target":"29","limit":"24","reviewer":"Eddie Lake"},{"id":3,"header":"Executive summary","type":"Narrative","status":"Done","target":"10","limit":"13","reviewer":"Eddie Lake"},{"id":4,"header":"Technical approach","type":"Narrative","status":"Done","target":"27","limit":"23","reviewer":"Jamik Tashpulatov"},{"id":5,"header":"Design","type":"Narrative","status":"In Process","target":"2","limit":"16","reviewer":"Jamik Tashpulatov"},{"id":6,"header":"Capabilities","type":"Narrative","status":"In Process","target":"20","limit":"8","reviewer":"Jamik Tashpulatov"},{"id":7,"header":"Integration with existing systems","type":"Narrative","status":"In Process","target":"19","limit":"21","reviewer":"Jamik Tashpulatov"},{"id":8,"header":"Innovation and Advantages","type":"Narrative","status":"Done","target":"25","limit":"26","reviewer":"Assign reviewer"},{"id":9,"header":"Overview of EMR\'s Innovative Solutions","type":"Technical content","status":"Done","target":"7","limit":"23","reviewer":"Assign reviewer"},{"id":10,"header":"Advanced Algorithms and Machine Learning","type":"Narrative","status":"Done","target":"30","limit":"28","reviewer":"Assign reviewer"},{"id":11,"header":"Adaptive Communication Protocols","type":"Narrative","status":"Done","target":"9","limit":"31","reviewer":"Assign reviewer"},{"id":12,"header":"Advantages Over Current Technologies","type":"Narrative","status":"Done","target":"12","limit":"0","reviewer":"Assign reviewer"},{"id":13,"header":"Past Performance","type":"Narrative","status":"Done","target":"22","limit":"33","reviewer":"Assign reviewer"},{"id":14,"header":"Customer Feedback and Satisfaction Levels","type":"Narrative","status":"Done","target":"15","limit":"34","reviewer":"Assign reviewer"},{"id":15,"header":"Implementation Challenges and Solutions","type":"Narrative","status":"Done","target":"3","limit":"35","reviewer":"Assign reviewer"},{"id":16,"header":"Security Measures and Data Protection Policies","type":"Narrative","status":"In Process","target":"6","limit":"36","reviewer":"Assign reviewer"},{"id":17,"header":"Scalability and Future Proofing","type":"Narrative","status":"Done","target":"4","limit":"37","reviewer":"Assign reviewer"},{"id":18,"header":"Cost-Benefit Analysis","type":"Plain language","status":"Done","target":"14","limit":"38","reviewer":"Assign reviewer"},{"id":19,"header":"User Training and Onboarding Experience","type":"Narrative","status":"Done","target":"17","limit":"39","reviewer":"Assign reviewer"},{"id":20,"header":"Future Development Roadmap","type":"Narrative","status":"Done","target":"11","limit":"40","reviewer":"Assign reviewer"},{"id":21,"header":"System Architecture Overview","type":"Technical content","status":"In Process","target":"24","limit":"18","reviewer":"Maya Johnson"},{"id":22,"header":"Risk Management Plan","type":"Narrative","status":"Done","target":"15","limit":"22","reviewer":"Carlos Rodriguez"},{"id":23,"header":"Compliance Documentation","type":"Legal","status":"In Process","target":"31","limit":"27","reviewer":"Sarah Chen"},{"id":24,"header":"API Documentation","type":"Technical content","status":"Done","target":"8","limit":"12","reviewer":"Raj Patel"},{"id":25,"header":"User Interface Mockups","type":"Visual","status":"In Process","target":"19","limit":"25","reviewer":"Leila Ahmadi"},{"id":26,"header":"Database Schema","type":"Technical content","status":"Done","target":"22","limit":"20","reviewer":"Thomas Wilson"},{"id":27,"header":"Testing Methodology","type":"Technical content","status":"In Process","target":"17","limit":"14","reviewer":"Assign reviewer"},{"id":28,"header":"Deployment Strategy","type":"Narrative","status":"Done","target":"26","limit":"30","reviewer":"Eddie Lake"},{"id":29,"header":"Budget Breakdown","type":"Financial","status":"In Process","target":"13","limit":"16","reviewer":"Jamik Tashpulatov"},{"id":30,"header":"Market Analysis","type":"Research","status":"Done","target":"29","limit":"32","reviewer":"Sophia Martinez"},{"id":31,"header":"Competitor Comparison","type":"Research","status":"In Process","target":"21","limit":"19","reviewer":"Assign reviewer"},{"id":32,"header":"Maintenance Plan","type":"Technical content","status":"Done","target":"16","limit":"23","reviewer":"Alex Thompson"},{"id":33,"header":"User Personas","type":"Research","status":"In Process","target":"27","limit":"24","reviewer":"Nina Patel"},{"id":34,"header":"Accessibility Compliance","type":"Legal","status":"Done","target":"18","limit":"21","reviewer":"Assign reviewer"},{"id":35,"header":"Performance Metrics","type":"Technical content","status":"In Process","target":"23","limit":"26","reviewer":"David Kim"},{"id":36,"header":"Disaster Recovery Plan","type":"Technical content","status":"Done","target":"14","limit":"17","reviewer":"Jamik Tashpulatov"},{"id":37,"header":"Third-party Integrations","type":"Technical content","status":"In Process","target":"25","limit":"28","reviewer":"Eddie Lake"},{"id":38,"header":"User Feedback Summary","type":"Research","status":"Done","target":"20","limit":"15","reviewer":"Assign reviewer"},{"id":39,"header":"Localization Strategy","type":"Narrative","status":"In Process","target":"12","limit":"19","reviewer":"Maria Garcia"},{"id":40,"header":"Mobile Compatibility","type":"Technical content","status":"Done","target":"28","limit":"31","reviewer":"James Wilson"},{"id":41,"header":"Data Migration Plan","type":"Technical content","status":"In Process","target":"19","limit":"22","reviewer":"Assign reviewer"},{"id":42,"header":"Quality Assurance Protocols","type":"Technical content","status":"Done","target":"30","limit":"33","reviewer":"Priya Singh"},{"id":43,"header":"Stakeholder Analysis","type":"Research","status":"In Process","target":"11","limit":"14","reviewer":"Eddie Lake"},{"id":44,"header":"Environmental Impact Assessment","type":"Research","status":"Done","target":"24","limit":"27","reviewer":"Assign reviewer"},{"id":45,"header":"Intellectual Property Rights","type":"Legal","status":"In Process","target":"17","limit":"20","reviewer":"Sarah Johnson"},{"id":46,"header":"Customer Support Framework","type":"Narrative","status":"Done","target":"22","limit":"25","reviewer":"Jamik Tashpulatov"},{"id":47,"header":"Version Control Strategy","type":"Technical content","status":"In Process","target":"15","limit":"18","reviewer":"Assign reviewer"},{"id":48,"header":"Continuous Integration Pipeline","type":"Technical content","status":"Done","target":"26","limit":"29","reviewer":"Michael Chen"},{"id":49,"header":"Regulatory Compliance","type":"Legal","status":"In Process","target":"13","limit":"16","reviewer":"Assign reviewer"},{"id":50,"header":"User Authentication System","type":"Technical content","status":"Done","target":"28","limit":"31","reviewer":"Eddie Lake"},{"id":51,"header":"Data Analytics Framework","type":"Technical content","status":"In Process","target":"21","limit":"24","reviewer":"Jamik Tashpulatov"}
1,{"id":52,"header":"Cloud Infrastructure","type":"Technical content","status":"Done","target":"16","limit":"19","reviewer":"Assign reviewer"},{"id":53,"header":"Network Security Measures","type":"Technical content","status":"In Process","target":"29","limit":"32","reviewer":"Lisa Wong"},{"id":54,"header":"Project Timeline","type":"Planning","status":"Done","target":"14","limit":"17","reviewer":"Eddie Lake"},{"id":55,"header":"Resource Allocation","type":"Planning","status":"In Process","target":"27","limit":"30","reviewer":"Assign reviewer"},{"id":56,"header":"Team Structure and Roles","type":"Planning","status":"Done","target":"20","limit":"23","reviewer":"Jamik Tashpulatov"},{"id":57,"header":"Communication Protocols","type":"Planning","status":"In Process","target":"15","limit":"18","reviewer":"Assign reviewer"},{"id":58,"header":"Success Metrics","type":"Planning","status":"Done","target":"30","limit":"33","reviewer":"Eddie Lake"},{"id":59,"header":"Internationalization Support","type":"Technical content","status":"In Process","target":"23","limit":"26","reviewer":"Jamik Tashpulatov"},{"id":60,"header":"Backup and Recovery Procedures","type":"Technical content","status":"Done","target":"18","limit":"21","reviewer":"Assign reviewer"},{"id":61,"header":"Monitoring and Alerting System","type":"Technical content","status":"In Process","target":"25","limit":"28","reviewer":"Daniel Park"},{"id":62,"header":"Code Review Guidelines","type":"Technical content","status":"Done","target":"12","limit":"15","reviewer":"Eddie Lake"},{"id":63,"header":"Documentation Standards","type":"Technical content","status":"In Process","target":"27","limit":"30","reviewer":"Jamik Tashpulatov"},{"id":64,"header":"Release Management Process","type":"Planning","status":"Done","target":"22","limit":"25","reviewer":"Assign reviewer"},{"id":65,"header":"Feature Prioritization Matrix","type":"Planning","status":"In Process","target":"19","limit":"22","reviewer":"Emma Davis"},{"id":66,"header":"Technical Debt Assessment","type":"Technical content","status":"Done","target":"24","limit":"27","reviewer":"Eddie Lake"},{"id":67,"header":"Capacity Planning","type":"Planning","status":"In Process","target":"21","limit":"24","reviewer":"Jamik Tashpulatov"},{"id":68,"header":"Service Level Agreements","type":"Legal","status":"Done","target":"26","limit":"29","reviewer":"Assign reviewer"}]');function eF(){return(0,s.jsxs)(N.GB,{style:{"--sidebar-width":"calc(var(--spacing) * 72)","--header-height":"calc(var(--spacing) * 12)"},children:[(0,s.jsx)(B,{variant:"inset"}),(0,s.jsxs)(N.sF,{children:[(0,s.jsx)(eL,{}),(0,s.jsx)("div",{className:"flex flex-1 flex-col",children:(0,s.jsx)("div",{className:"@container/main flex flex-1 flex-col gap-2",children:(0,s.jsxs)("div",{className:"flex flex-col gap-4 py-4 md:gap-6 md:py-6",children:[(0,s.jsx)(e_,{}),(0,s.jsx)("div",{className:"px-4 lg:px-6",children:(0,s.jsx)(Q,{})}),(0,s.jsx)(eP,{data:eR})]})})})]})]})}}}]);
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.