@spavn/ui 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(s,N){typeof exports=="object"&&typeof module<"u"?N(exports,require("clsx"),require("tailwind-merge"),require("class-variance-authority"),require("vue"),require("radix-vue"),require("lucide-vue-next"),require("@internationalized/date")):typeof define=="function"&&define.amd?define(["exports","clsx","tailwind-merge","class-variance-authority","vue","radix-vue","lucide-vue-next","@internationalized/date"],N):(s=typeof globalThis<"u"?globalThis:s||self,N(s.VueDepthComponents={},s.clsx,s.tailwindMerge,s.classVarianceAuthority,s.Vue,s.radixVue,s.icons,s.date))})(this,function(s,N,Ve,x,e,l,H,S){"use strict";function Re(t){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(o,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return o.default=t,Object.freeze(o)}const Ie=Re(H);function a(...t){return Ve.twMerge(N.clsx(t))}const je=x.cva({variants:{elevation:{0:"shadow-none z-depth-0",1:"shadow-depth-1 z-depth-1",2:"shadow-depth-2 z-depth-2",3:"shadow-depth-3 z-depth-3",4:"shadow-depth-4 z-depth-4",5:"shadow-depth-5 z-depth-5"}},defaultVariants:{elevation:0}}),Le=x.cva({variants:{elevation:{1:"shadow-depth-1 hover:shadow-depth-2 focus:shadow-depth-2 transition-elevation",2:"shadow-depth-2 hover:shadow-depth-3 focus:shadow-depth-3 transition-elevation",3:"shadow-depth-3 hover:shadow-depth-4 focus:shadow-depth-4 transition-elevation"}},defaultVariants:{elevation:1}}),Ge=`
1
+ (function(a,N){typeof exports=="object"&&typeof module<"u"?N(exports,require("clsx"),require("tailwind-merge"),require("class-variance-authority"),require("vue"),require("radix-vue"),require("lucide-vue-next"),require("@internationalized/date")):typeof define=="function"&&define.amd?define(["exports","clsx","tailwind-merge","class-variance-authority","vue","radix-vue","lucide-vue-next","@internationalized/date"],N):(a=typeof globalThis<"u"?globalThis:a||self,N(a.VueDepthComponents={},a.clsx,a.tailwindMerge,a.classVarianceAuthority,a.Vue,a.radixVue,a.icons,a.date))})(this,function(a,N,Fe,S,e,l,K,z){"use strict";function Oe(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>o[r]})}}return t.default=o,Object.freeze(t)}const Ue=Oe(K),Ke=Fe.extendTailwindMerge({extend:{theme:{colors:["info","info-foreground","info-soft","warning","warning-foreground","warning-soft","amber","amber-foreground","amber-soft","blue","blue-foreground","blue-soft","green","green-foreground","green-soft","purple","purple-foreground","purple-soft","pink","pink-foreground","pink-soft","orange","orange-foreground","orange-soft","primary-soft","secondary-soft","destructive-soft","success-soft"]}}});function s(...o){return Ke(N.clsx(o))}const We=S.cva({variants:{elevation:{0:"shadow-none z-depth-0",1:"shadow-depth-1 z-depth-1",2:"shadow-depth-2 z-depth-2",3:"shadow-depth-3 z-depth-3",4:"shadow-depth-4 z-depth-4",5:"shadow-depth-5 z-depth-5"}},defaultVariants:{elevation:0}}),qe=S.cva({variants:{elevation:{1:"shadow-depth-1 hover:shadow-depth-2 focus:shadow-depth-2 transition-elevation",2:"shadow-depth-2 hover:shadow-depth-3 focus:shadow-depth-3 transition-elevation",3:"shadow-depth-3 hover:shadow-depth-4 focus:shadow-depth-4 transition-elevation"}},defaultVariants:{elevation:1}}),Ye=`
2
2
  :root {
3
3
  /* Background - warm light gray */
4
4
  --background: 0 0% 96%;
@@ -43,6 +43,45 @@
43
43
  --input: 0 0% 90%;
44
44
  --ring: 0 0% 9%;
45
45
 
46
+ /* Extended palette */
47
+ --info: 217 91% 60%;
48
+ --info-foreground: 0 0% 98%;
49
+ --info-soft: 217 91% 95%;
50
+
51
+ --warning: 38 92% 50%;
52
+ --warning-foreground: 0 0% 9%;
53
+ --warning-soft: 38 92% 95%;
54
+
55
+ --amber: 45 93% 47%;
56
+ --amber-foreground: 0 0% 9%;
57
+ --amber-soft: 45 93% 95%;
58
+
59
+ --blue: 221 83% 53%;
60
+ --blue-foreground: 0 0% 98%;
61
+ --blue-soft: 221 83% 95%;
62
+
63
+ --green: 142 71% 45%;
64
+ --green-foreground: 0 0% 98%;
65
+ --green-soft: 142 71% 95%;
66
+
67
+ --purple: 262 83% 58%;
68
+ --purple-foreground: 0 0% 98%;
69
+ --purple-soft: 262 83% 95%;
70
+
71
+ --pink: 330 81% 60%;
72
+ --pink-foreground: 0 0% 98%;
73
+ --pink-soft: 330 81% 95%;
74
+
75
+ --orange: 25 95% 53%;
76
+ --orange-foreground: 0 0% 98%;
77
+ --orange-soft: 25 95% 95%;
78
+
79
+ /* Soft variants for semantic colors */
80
+ --primary-soft: 0 0% 93%;
81
+ --secondary-soft: 0 0% 96%;
82
+ --destructive-soft: 0 84% 95%;
83
+ --success-soft: 142 76% 95%;
84
+
46
85
  /* Radius - updated to match design system */
47
86
  --radius: 1rem;
48
87
 
@@ -105,6 +144,45 @@
105
144
  --input: 0 0% 20%;
106
145
  --ring: 0 0% 80%;
107
146
 
147
+ /* Extended palette - dark mode (reduced saturation) */
148
+ --info: 217 80% 55%;
149
+ --info-foreground: 0 0% 98%;
150
+ --info-soft: 217 50% 15%;
151
+
152
+ --warning: 38 80% 50%;
153
+ --warning-foreground: 0 0% 9%;
154
+ --warning-soft: 38 50% 15%;
155
+
156
+ --amber: 45 80% 50%;
157
+ --amber-foreground: 0 0% 9%;
158
+ --amber-soft: 45 50% 15%;
159
+
160
+ --blue: 221 75% 55%;
161
+ --blue-foreground: 0 0% 98%;
162
+ --blue-soft: 221 50% 15%;
163
+
164
+ --green: 142 65% 45%;
165
+ --green-foreground: 0 0% 98%;
166
+ --green-soft: 142 40% 15%;
167
+
168
+ --purple: 262 75% 60%;
169
+ --purple-foreground: 0 0% 98%;
170
+ --purple-soft: 262 50% 15%;
171
+
172
+ --pink: 330 70% 55%;
173
+ --pink-foreground: 0 0% 98%;
174
+ --pink-soft: 330 50% 15%;
175
+
176
+ --orange: 25 85% 55%;
177
+ --orange-foreground: 0 0% 98%;
178
+ --orange-soft: 25 50% 15%;
179
+
180
+ /* Soft variants for semantic colors - dark mode */
181
+ --primary-soft: 0 0% 15%;
182
+ --secondary-soft: 0 0% 12%;
183
+ --destructive-soft: 0 60% 15%;
184
+ --success-soft: 142 50% 15%;
185
+
108
186
  /* Elevation opacity overlays for depth perception (inverted for dark mode) */
109
187
  --elevation-overlay-1: rgba(255, 255, 255, 0.03);
110
188
  --elevation-overlay-2: rgba(255, 255, 255, 0.06);
@@ -119,4 +197,4 @@
119
197
  --shadow-depth-4: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
120
198
  --shadow-depth-5: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
121
199
  }
122
- `,He=e.defineComponent({__name:"AppLayout",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("h-screen flex overflow-hidden bg-background text-foreground",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Fe=e.defineComponent({__name:"AppHeader",props:{class:{},sticky:{type:Boolean,default:!0}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("header",{class:e.normalizeClass(e.unref(a)("flex h-14 items-center border-b bg-background/80 backdrop-blur-xl px-4 lg:px-6",t.sticky&&"sticky top-0 z-30",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Oe=e.defineComponent({__name:"AppSidebar",props:{class:{},width:{default:"17rem"},open:{type:Boolean,default:!0}},emits:["update:open"],setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.Transition,{name:"sidebar-overlay"},{default:e.withCtx(()=>[t.open?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fixed inset-0 z-30 bg-black/40 backdrop-blur-sm lg:hidden",onClick:r[0]||(r[0]=i=>n.$emit("update:open",!1))})):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("aside",{style:e.normalizeStyle({width:t.width}),class:e.normalizeClass(e.unref(a)("fixed left-0 top-0 z-40 h-full border-r bg-card/80 backdrop-blur-xl transition-transform duration-300 lg:translate-x-0",t.open?"translate-x-0":"-translate-x-full",o.class))},[e.renderSlot(n.$slots,"default",{},void 0,!0)],6)],64))}}),z=(t,o)=>{const n=t.__vccOpts||t;for(const[r,i]of o)n[r]=i;return n},Ue=z(Oe,[["__scopeId","data-v-74cc7944"]]),Ke=e.defineComponent({__name:"AppFooter",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("footer",{class:e.normalizeClass(e.unref(a)("border-t bg-background px-4 py-6 text-sm text-muted-foreground lg:px-6",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),We=e.defineComponent({__name:"AppMain",props:{class:{},sidebarWidth:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("main",{style:e.normalizeStyle(t.sidebarWidth?{marginLeft:t.sidebarWidth}:void 0),class:e.normalizeClass([e.unref(a)("flex-1 flex flex-col min-h-0 overflow-hidden",!t.sidebarWidth&&"lg:ml-0",o.class),"max-lg:!ml-0"])},[e.renderSlot(n.$slots,"default")],6))}}),qe=e.defineComponent({__name:"Modal",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:o}){const n=t,r=o;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.DialogRoot),e.mergeProps(n,{"onUpdate:open":c[0]||(c[0]=d=>r("update:open",d))}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16))}}),Ye=e.defineComponent({__name:"ModalContent",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.DialogOverlay),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),e.createVNode(e.unref(l.DialogContent),{class:e.normalizeClass(e.unref(a)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4","border bg-background p-6 shadow-depth-5 duration-200 sm:rounded-lg","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",o.class))},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default"),e.createVNode(e.unref(l.DialogClose),{class:"absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2"},{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4","aria-hidden":"true"},[e.createElementVNode("path",{d:"M18 6 6 18"}),e.createElementVNode("path",{d:"m6 6 12 12"})],-1),e.createElementVNode("span",{class:"sr-only"},"Close",-1)])]),_:1})]),_:3},8,["class"])]),_:3}))}}),Ze=e.defineComponent({__name:"ModalTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogTrigger),e.mergeProps(o,{"as-child":""}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16))}}),Xe=e.defineComponent({__name:"ModalClose",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogClose),{"as-child":""},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3}))}}),F=e.defineComponent({__name:"DialogHeader",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("flex flex-col gap-2 text-center sm:text-left",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),O=e.defineComponent({__name:"DialogFooter",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),U=e.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogTitle),e.mergeProps(o,{class:e.unref(a)("text-lg font-semibold leading-none tracking-tight",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),K=e.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogDescription),e.mergeProps(o,{class:e.unref(a)("text-sm text-muted-foreground",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Je={class:"relative w-full overflow-auto"},W=e.defineComponent({__name:"Table",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",Je,[e.createElementVNode("table",{class:e.normalizeClass(e.unref(a)("w-full caption-bottom text-sm",o.class))},[e.renderSlot(n.$slots,"default")],2)]))}}),q=e.defineComponent({__name:"TableHeader",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("thead",{class:e.normalizeClass(e.unref(a)("[&_tr]:border-b",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Y=e.defineComponent({__name:"TableBody",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("tbody",{class:e.normalizeClass(e.unref(a)("[&_tr:last-child]:border-0",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),M=e.defineComponent({__name:"TableRow",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass(e.unref(a)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Z=e.defineComponent({__name:"TableHead",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("th",{class:e.normalizeClass(e.unref(a)("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),V=e.defineComponent({__name:"TableCell",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass(e.unref(a)("p-4 align-middle [&:has([role=checkbox])]:pr-0",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Qe={key:0,class:"flex items-center justify-between gap-4"},ve={key:0,class:"relative max-w-sm flex-1"},et=["placeholder"],tt={class:"rounded-md border overflow-hidden"},ot=["onClick"],nt={key:0,d:"m7 15 5 5 5-5"},rt={key:1,d:"m7 9 5-5 5 5"},st={key:1},at={key:1,class:"flex items-center justify-between text-sm"},lt={class:"text-muted-foreground"},ct={key:0},it={class:"flex items-center gap-1"},dt=["disabled"],pt=["onClick"],ft=["disabled"],mt=e.defineComponent({__name:"DataTable",props:{data:{},columns:{},pageSize:{default:10},searchable:{type:Boolean,default:!1},searchPlaceholder:{default:"Search..."},class:{},striped:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!0}},emits:["row-click"],setup(t,{emit:o}){const n=t,r=o,i=e.ref(null),c=e.ref("asc"),d=e.ref(""),m=e.ref(1);e.watch(d,()=>{m.value=1});const w=e.computed(()=>{if(!d.value)return n.data;const B=d.value.toLowerCase(),k=n.columns.filter(p=>p.filterable!==!1);return n.data.filter(p=>k.some(b=>{const C=p[b.key];return C!=null&&String(C).toLowerCase().includes(B)}))}),f=e.computed(()=>{if(!i.value)return w.value;const B=i.value,k=c.value==="asc"?1:-1;return[...w.value].sort((p,b)=>{const C=p[B],$=b[B];return C==null&&$==null?0:C==null?1:$==null?-1:typeof C=="number"&&typeof $=="number"?(C-$)*k:String(C).localeCompare(String($))*k})}),_=e.computed(()=>Math.max(1,Math.ceil(f.value.length/n.pageSize))),g=e.computed(()=>{const B=(m.value-1)*n.pageSize;return f.value.slice(B,B+n.pageSize)}),h=e.computed(()=>{const B=[],k=_.value,p=m.value,b=2;for(let C=Math.max(1,p-b);C<=Math.min(k,p+b);C++)B.push(C);return B});function u(B){i.value===B?c.value=c.value==="asc"?"desc":"asc":(i.value=B,c.value="asc")}function y(B){m.value=Math.max(1,Math.min(B,_.value))}return(B,k)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("space-y-4",n.class))},[t.searchable||B.$slots.toolbar?(e.openBlock(),e.createElementBlock("div",Qe,[t.searchable?(e.openBlock(),e.createElementBlock("div",ve,[k[3]||(k[3]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"},[e.createElementVNode("circle",{cx:"11",cy:"11",r:"8"}),e.createElementVNode("path",{d:"m21 21-4.3-4.3"})],-1)),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":k[0]||(k[0]=p=>d.value=p),type:"text",placeholder:t.searchPlaceholder,class:"flex h-9 w-full rounded-md border border-input bg-background pl-9 pr-3 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"},null,8,et),[[e.vModelText,d.value]])])):e.createCommentVNode("",!0),e.renderSlot(B.$slots,"toolbar")])):e.createCommentVNode("",!0),e.createElementVNode("div",tt,[e.createVNode(W,null,{default:e.withCtx(()=>[e.createVNode(q,null,{default:e.withCtx(()=>[e.createVNode(M,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.columns,p=>(e.openBlock(),e.createBlock(Z,{key:p.key,class:e.normalizeClass(e.unref(a)(p.headerClass))},{default:e.withCtx(()=>[p.sortable?(e.openBlock(),e.createElementBlock("button",{key:0,class:"flex items-center gap-1 hover:text-foreground transition-colors -m-1 p-1",onClick:b=>u(p.key)},[e.createTextVNode(e.toDisplayString(p.label)+" ",1),(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:e.normalizeClass(["h-3.5 w-3.5",i.value===p.key?"text-foreground":"text-muted-foreground/40"])},[i.value!==p.key||c.value==="asc"?(e.openBlock(),e.createElementBlock("path",nt)):e.createCommentVNode("",!0),i.value!==p.key||c.value==="desc"?(e.openBlock(),e.createElementBlock("path",rt)):e.createCommentVNode("",!0)],2))],8,ot)):(e.openBlock(),e.createElementBlock("span",st,e.toDisplayString(p.label),1))]),_:2},1032,["class"]))),128))]),_:1})]),_:1}),e.createVNode(Y,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(p,b)=>(e.openBlock(),e.createBlock(M,{key:b,class:e.normalizeClass(e.unref(a)(t.hoverable&&"cursor-pointer",t.striped&&b%2===1&&"bg-muted/30")),onClick:C=>r("row-click",p,b)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.columns,C=>(e.openBlock(),e.createBlock(V,{key:C.key,class:e.normalizeClass(e.unref(a)(C.class))},{default:e.withCtx(()=>[e.renderSlot(B.$slots,`cell-${C.key}`,{value:p[C.key],row:p},()=>[e.createTextVNode(e.toDisplayString(C.render?C.render(p[C.key],p):p[C.key]),1)])]),_:2},1032,["class"]))),128))]),_:2},1032,["class","onClick"]))),128)),g.value.length===0?(e.openBlock(),e.createBlock(M,{key:0},{default:e.withCtx(()=>[e.createVNode(V,{colspan:t.columns.length,class:"h-24 text-center text-muted-foreground"},{default:e.withCtx(()=>[...k[4]||(k[4]=[e.createTextVNode(" No results. ",-1)])]),_:1},8,["colspan"])]),_:1})):e.createCommentVNode("",!0)]),_:3})]),_:3})]),_.value>1?(e.openBlock(),e.createElementBlock("div",at,[e.createElementVNode("p",lt,[e.createTextVNode(e.toDisplayString(f.value.length)+" result"+e.toDisplayString(f.value.length===1?"":"s")+" ",1),d.value?(e.openBlock(),e.createElementBlock("span",ct,' for "'+e.toDisplayString(d.value)+'"',1)):e.createCommentVNode("",!0)]),e.createElementVNode("div",it,[e.createElementVNode("button",{class:"inline-flex h-8 w-8 items-center justify-center rounded-md border text-sm transition-colors hover:bg-accent disabled:opacity-50 disabled:pointer-events-none",disabled:m.value<=1,onClick:k[1]||(k[1]=p=>y(m.value-1))},[...k[5]||(k[5]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m15 18-6-6 6-6"})],-1)])],8,dt),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,p=>(e.openBlock(),e.createElementBlock("button",{key:p,class:e.normalizeClass(["inline-flex h-8 w-8 items-center justify-center rounded-md text-sm transition-colors",p===m.value?"bg-primary text-primary-foreground":"hover:bg-accent"]),onClick:b=>y(p)},e.toDisplayString(p),11,pt))),128)),e.createElementVNode("button",{class:"inline-flex h-8 w-8 items-center justify-center rounded-md border text-sm transition-colors hover:bg-accent disabled:opacity-50 disabled:pointer-events-none",disabled:m.value>=_.value,onClick:k[2]||(k[2]=p=>y(m.value+1))},[...k[6]||(k[6]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1)])],8,ft)])])):e.createCommentVNode("",!0)],2))}}),ht={class:"flex items-center justify-between border-b bg-muted/30 px-4 py-1.5"},gt={class:"flex gap-1"},ut={key:0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-3.5 w-3.5 text-success"},_t={key:1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-3.5 w-3.5"},kt={class:"p-6 sm:p-10"},bt={key:0,class:"border-b px-4 py-2 bg-muted/20"},wt={class:"text-[11px] font-mono text-muted-foreground"},Ct={class:"p-4 text-[13px] leading-relaxed overflow-x-auto"},Bt={class:"text-foreground/90"},yt=e.defineComponent({__name:"CodePreview",props:{code:{},filename:{default:""},class:{}},setup(t){const o=t,n=e.ref("preview"),r=e.ref(!1);async function i(){try{await navigator.clipboard.writeText(o.code),r.value=!0,setTimeout(()=>{r.value=!1},2e3)}catch{const c=document.createElement("textarea");c.value=o.code,document.body.appendChild(c),c.select(),document.execCommand("copy"),document.body.removeChild(c),r.value=!0,setTimeout(()=>{r.value=!1},2e3)}}return(c,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("rounded-xl border bg-card overflow-hidden",o.class))},[e.createElementVNode("div",ht,[e.createElementVNode("div",gt,[e.createElementVNode("button",{onClick:d[0]||(d[0]=m=>n.value="preview"),class:e.normalizeClass(["rounded-md px-3 py-1 text-xs font-medium transition-colors",n.value==="preview"?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"])}," Preview ",2),e.createElementVNode("button",{onClick:d[1]||(d[1]=m=>n.value="code"),class:e.normalizeClass(["rounded-md px-3 py-1 text-xs font-medium transition-colors",n.value==="code"?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"])}," Code ",2)]),n.value==="code"?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:i,class:"flex items-center gap-1.5 rounded-md px-2.5 py-1 text-xs text-muted-foreground transition-colors hover:text-foreground hover:bg-background"},[r.value?(e.openBlock(),e.createElementBlock("svg",ut,[...d[2]||(d[2]=[e.createElementVNode("path",{d:"M20 6 9 17l-5-5"},null,-1)])])):(e.openBlock(),e.createElementBlock("svg",_t,[...d[3]||(d[3]=[e.createElementVNode("rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"},null,-1),e.createElementVNode("path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"},null,-1)])])),e.createTextVNode(" "+e.toDisplayString(r.value?"Copied":"Copy"),1)])):e.createCommentVNode("",!0)]),e.withDirectives(e.createElementVNode("div",kt,[e.renderSlot(c.$slots,"default")],512),[[e.vShow,n.value==="preview"]]),e.withDirectives(e.createElementVNode("div",null,[t.filename?(e.openBlock(),e.createElementBlock("div",bt,[e.createElementVNode("p",wt,e.toDisplayString(t.filename),1)])):e.createCommentVNode("",!0),e.createElementVNode("pre",Ct,[e.createElementVNode("code",Bt,e.toDisplayString(t.code),1)])],512),[[e.vShow,n.value==="code"]])],2))}}),$t=e.defineComponent({__name:"Icon",props:{name:{},size:{default:16},strokeWidth:{default:2},class:{}},setup(t){const o=t,n=e.computed(()=>{const r=o.name.replace(/[-_](.)/g,(i,c)=>c.toUpperCase()).replace(/^(.)/,(i,c)=>c.toUpperCase());return Ie[r]||null});return(r,i)=>n.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.value),{key:0,size:t.size,"stroke-width":t.strokeWidth,class:e.normalizeClass(e.unref(a)("shrink-0",o.class))},null,8,["size","stroke-width","class"])):e.createCommentVNode("",!0)}}),X=x.cva(["inline-flex items-center justify-center gap-2 whitespace-nowrap","rounded-xl text-sm font-medium","transition-all duration-150 ease-out","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50","relative overflow-hidden","hover:-translate-y-0.5 active:translate-y-0"].join(" "),{variants:{variant:{default:["bg-primary text-primary-foreground","hover:bg-primary/90 hover:shadow-depth-2","active:bg-primary/95"].join(" "),destructive:["bg-destructive text-destructive-foreground","hover:bg-destructive/90 hover:shadow-depth-2","active:bg-destructive/95"].join(" "),outline:["border border-input bg-background","hover:bg-accent hover:text-accent-foreground hover:border-accent","active:bg-accent/80"].join(" "),secondary:["bg-secondary text-secondary-foreground","hover:bg-secondary/80 hover:shadow-depth-2","active:bg-secondary/70"].join(" "),ghost:["hover:bg-accent hover:text-accent-foreground","active:bg-accent/80"].join(" "),link:["text-primary underline-offset-4 hover:underline","hover:translate-y-0"].join(" ")},size:{default:"h-10 px-4 py-2.5",sm:"h-9 rounded-lg px-3 py-2 text-xs",lg:"h-11 rounded-xl px-8 py-3 text-base",icon:"h-10 w-10 p-2"},elevation:{flat:"shadow-none hover:shadow-none hover:translate-y-0",raised:"shadow-depth-1 hover:shadow-depth-2",elevated:"shadow-depth-2 hover:shadow-depth-3"}},defaultVariants:{variant:"default",size:"default",elevation:"raised"}}),xt=["type","disabled"],St={key:0,class:"absolute inset-0 flex items-center justify-center"},Pt=e.defineComponent({__name:"Button",props:{variant:{},size:{},elevation:{},class:{},disabled:{type:Boolean},type:{default:"button"},loading:{type:Boolean,default:!1}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("button",{type:t.type,class:e.normalizeClass(e.unref(a)(e.unref(X)({variant:t.variant,size:t.size,elevation:t.elevation}),o.class)),disabled:t.disabled||t.loading},[t.loading?(e.openBlock(),e.createElementBlock("span",St,[...r[0]||(r[0]=[e.createElementVNode("svg",{class:"animate-spin h-4 w-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[e.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),e.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)])])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass([{"opacity-0":t.loading},"inline-flex items-center justify-center gap-2"])},[e.renderSlot(n.$slots,"default")],2)],10,xt))}}),J=e.defineComponent({__name:"Card",props:{class:{},elevation:{default:1},interactive:{type:Boolean,default:!1}},setup(t){const o=t,n={0:"shadow-none",1:"shadow-depth-1",2:"shadow-depth-2",3:"shadow-depth-3"};return(r,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("rounded-lg border bg-card text-card-foreground",n[t.elevation],t.interactive&&"transition-elevation hover:shadow-depth-2 cursor-pointer",o.class))},[e.renderSlot(r.$slots,"default")],2))}}),Q=e.defineComponent({__name:"CardHeader",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("flex flex-col gap-1.5 p-6",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),v=e.defineComponent({__name:"CardTitle",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("text-lg font-semibold leading-none tracking-tight",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Et=e.defineComponent({__name:"CardDescription",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("text-sm text-muted-foreground",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),ee=e.defineComponent({__name:"CardContent",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("p-6 pt-0",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Nt=e.defineComponent({__name:"CardFooter",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("flex items-center p-6 pt-0 gap-2",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),te=e.defineComponent({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:o}){const n=t,r=o,i=l.useForwardPropsEmits(n,r);return(c,d)=>(e.openBlock(),e.createBlock(e.unref(l.DialogRoot),e.normalizeProps(e.guardReactiveProps(e.unref(i))),{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},16))}}),zt=e.defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogTrigger),e.normalizeProps(e.guardReactiveProps(o)),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16))}}),Dt=e.defineComponent({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogPortal),e.normalizeProps(e.guardReactiveProps(o)),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16))}}),Tt=e.defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogOverlay),e.mergeProps(o,{class:e.unref(a)("fixed inset-0 z-50 bg-black/80","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",o.class)}),null,16,["class"]))}}),oe=e.defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(t,{emit:o}){const n=t,r=o,i=l.useForwardPropsEmits(n,r);return(c,d)=>(e.openBlock(),e.createBlock(e.unref(l.DialogPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.DialogOverlay),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),e.createVNode(e.unref(l.DialogContent),e.mergeProps(e.unref(i),{class:e.unref(a)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4","border bg-background p-6 shadow-depth-5 duration-200","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%]","data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]","sm:rounded-lg",n.class)}),{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default"),e.createVNode(e.unref(l.DialogClose),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"},{default:e.withCtx(()=>[...d[0]||(d[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4","aria-hidden":"true"},[e.createElementVNode("path",{d:"M18 6 6 18"}),e.createElementVNode("path",{d:"m6 6 12 12"})],-1),e.createElementVNode("span",{class:"sr-only"},"Close",-1)])]),_:1})]),_:3},16,["class"])]),_:3}))}}),At=e.defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean},as:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogClose),e.normalizeProps(e.guardReactiveProps(o)),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16))}}),Mt={class:"relative flex items-center w-full"},Vt={key:0,class:"absolute left-3 flex items-center justify-center text-muted-foreground pointer-events-none"},Rt=["type","value","placeholder","disabled"],It=e.defineComponent({__name:"Input",props:{class:{},type:{default:"text"},disabled:{type:Boolean},placeholder:{},modelValue:{},size:{default:"default"}},emits:["update:modelValue"],setup(t,{emit:o}){const n=t,r={sm:"h-8 text-xs",default:"h-10 text-sm",lg:"h-12 text-base"},i=o,c=e.useSlots(),d=e.computed(()=>!!c["left-icon"]),m=e.computed(()=>!!c["right-icon"]),w=f=>{const _=f.target;i("update:modelValue",_.value)};return(f,_)=>(e.openBlock(),e.createElementBlock("div",Mt,[d.value?(e.openBlock(),e.createElementBlock("div",Vt,[e.renderSlot(f.$slots,"left-icon")])):e.createCommentVNode("",!0),e.createElementVNode("input",{type:t.type,value:t.modelValue,placeholder:t.placeholder,class:e.normalizeClass(e.unref(a)("flex w-full rounded-lg border border-input","bg-background",r[n.size],"ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium","placeholder:text-muted-foreground","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/20 focus-visible:border-primary","disabled:cursor-not-allowed disabled:opacity-50","shadow-depth-1 focus-visible:shadow-depth-2 transition-all duration-150 ease-out",d.value&&"pl-10",m.value&&"pr-10",!d.value&&"px-3",!m.value&&!d.value&&"py-2",n.class)),disabled:t.disabled,onInput:w},null,42,Rt),m.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["absolute right-3 flex items-center justify-center text-muted-foreground",{"pointer-events-none":!f.$slots["right-icon-clickable"]}])},[e.renderSlot(f.$slots,"right-icon")],2)):e.createCommentVNode("",!0)]))}}),jt=e.defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.Label),e.mergeProps(o,{class:e.unref(a)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Lt=e.defineComponent({__name:"Avatar",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.AvatarRoot),e.mergeProps(o,{class:e.unref(a)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full shadow-depth-1",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Gt=e.defineComponent({__name:"AvatarImage",props:{src:{},referrerPolicy:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.AvatarImage),e.mergeProps(o,{class:e.unref(a)("aspect-square h-full w-full",o.class)}),null,16,["class"]))}}),Ht=e.defineComponent({__name:"AvatarFallback",props:{delayMs:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.AvatarFallback),e.mergeProps(o,{class:e.unref(a)("flex h-full w-full items-center justify-center rounded-full bg-muted text-muted-foreground",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),ne=x.cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow-depth-1",secondary:"border-transparent bg-secondary text-secondary-foreground",destructive:"border-transparent bg-destructive text-destructive-foreground shadow-depth-1",outline:"text-foreground"},size:{sm:"px-2 py-0 text-[10px]",default:"px-2.5 py-0.5 text-xs",lg:"px-3 py-1 text-sm"}},defaultVariants:{variant:"default",size:"default"}}),re=e.defineComponent({__name:"Badge",props:{variant:{},size:{},class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)(e.unref(ne)({variant:t.variant,size:t.size}),o.class))},[e.renderSlot(n.$slots,"default")],2))}}),se=e.defineComponent({__name:"Toast",props:{defaultOpen:{type:Boolean},forceMount:{type:Boolean},type:{},open:{type:Boolean},duration:{},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd","update:open"],setup(t,{emit:o}){const n=t,r=o,i=l.useForwardPropsEmits(n,r);return(c,d)=>(e.openBlock(),e.createBlock(e.unref(l.ToastRoot),e.mergeProps(e.unref(i),{class:e.unref(a)("spavn-toast group pointer-events-auto relative flex w-full items-center justify-between gap-4 overflow-hidden rounded-md border p-4 pr-8 shadow-depth-4","data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)]","data-[swipe=cancel]:translate-x-0",n.class)}),{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},16,["class"]))}}),ae=e.defineComponent({__name:"ToastViewport",props:{hotkey:{},label:{type:[String,Function]},asChild:{type:Boolean},as:{},class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ToastViewport),e.mergeProps(o,{class:e.unref(a)("fixed bottom-0 right-0 z-[99999] flex max-h-screen w-full flex-col gap-2 p-4 sm:max-w-[420px]",o.class)}),null,16,["class"]))}}),le=e.defineComponent({__name:"ToastTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ToastTitle),e.mergeProps(o,{class:e.unref(a)("text-sm font-semibold",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),ce=e.defineComponent({__name:"ToastDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ToastDescription),e.mergeProps(o,{class:e.unref(a)("text-sm opacity-90",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),ie=e.defineComponent({__name:"ToastAction",props:{altText:{},asChild:{type:Boolean},as:{},class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ToastAction),e.mergeProps(o,{class:e.unref(a)("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50","group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30","group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground","group-[.destructive]:focus:ring-destructive",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),de=e.defineComponent({__name:"ToastClose",props:{asChild:{type:Boolean},as:{},class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ToastClose),e.mergeProps(o,{"aria-label":"Close",class:e.unref(a)("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100","group-[.destructive]:text-destructive-foreground group-[.destructive]:hover:text-destructive-foreground","group-[.destructive]:focus:ring-destructive group-[.destructive]:focus:ring-offset-destructive",o.class)}),{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4","aria-hidden":"true"},[e.createElementVNode("path",{d:"M18 6 6 18"}),e.createElementVNode("path",{d:"m6 6 12 12"})],-1)])]),_:1},16,["class"]))}}),P=e.ref([]);let Ft=0;function Ot(){return`toast-${++Ft}-${Date.now()}`}function D(t){const o=Ot(),n={id:o,duration:5e3,...t};return P.value=[...P.value,n],o}function Ut(t){P.value=P.value.filter(o=>o.id!==t)}function Kt(){P.value=[]}function pe(){return{toasts:e.computed(()=>P.value),toast:D,success:(t,o,n)=>D({title:t,description:o,type:"success",duration:n}),error:(t,o,n)=>D({title:t,description:o,type:"error",duration:n}),warning:(t,o,n)=>D({title:t,description:o,type:"warning",duration:n}),info:(t,o,n)=>D({title:t,description:o,type:"info",duration:n}),dismiss:Ut,dismissAll:Kt}}const Wt={class:"grid gap-1"},qt=e.defineComponent({__name:"Toaster",setup(t){const{toasts:o,dismiss:n}=pe();function r(i,c){c||n(i)}return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.ToastProvider),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(o),d=>(e.openBlock(),e.createBlock(se,{key:d.id,duration:d.duration,"default-open":!0,"onUpdate:open":m=>r(d.id,m),class:e.normalizeClass(e.unref(a)("bg-card text-card-foreground border",d.type==="error"&&"destructive border-destructive bg-destructive text-destructive-foreground"))},{default:e.withCtx(()=>[e.createElementVNode("div",Wt,[d.title?(e.openBlock(),e.createBlock(le,{key:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.title),1)]),_:2},1024)):e.createCommentVNode("",!0),d.description?(e.openBlock(),e.createBlock(ce,{key:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.description),1)]),_:2},1024)):e.createCommentVNode("",!0)]),d.action?(e.openBlock(),e.createBlock(ie,{key:0,"alt-text":d.action.label,onClick:d.action.onClick},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.action.label),1)]),_:2},1032,["alt-text","onClick"])):e.createCommentVNode("",!0),e.createVNode(de)]),_:2},1032,["duration","onUpdate:open","class"]))),128)),e.createVNode(ae)]),_:1}))}}),Yt=e.defineComponent({inheritAttrs:!1,__name:"Checkbox",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.CheckboxRoot),e.mergeProps(n.$attrs,{class:e.unref(a)("peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow-depth-1 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",o.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.CheckboxIndicator),{class:"flex items-center justify-center text-current"},{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"M20 6 9 17l-5-5"})],-1)])]),_:1})]),_:1},16,["class"]))}}),Zt=e.defineComponent({inheritAttrs:!1,__name:"Switch",props:{class:{},checked:{type:Boolean}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.SwitchRoot),e.mergeProps(n.$attrs,{checked:t.checked,class:e.unref(a)("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-depth-1","bg-muted data-[state=checked]:bg-primary","ring-offset-background transition-all duration-150 ease-out","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","hover:shadow-depth-2",o.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.SwitchThumb),{class:e.normalizeClass(e.unref(a)("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-depth-2","ring-0 transition-transform duration-150 ease-out","data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"))},null,8,["class"])]),_:1},16,["checked","class"]))}}),Xt=e.defineComponent({inheritAttrs:!1,__name:"Select",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.SelectRoot),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Jt=e.defineComponent({inheritAttrs:!1,__name:"SelectTrigger",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.SelectTrigger),e.mergeProps(n.$attrs,{class:e.unref(a)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 shadow-depth-1",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default"),e.createVNode(e.unref(l.SelectIcon),{"as-child":""},{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4 opacity-50"},[e.createElementVNode("path",{d:"m6 9 6 6 6-6"})],-1)])]),_:1})]),_:3},16,["class"]))}}),fe=e.defineComponent({inheritAttrs:!1,__name:"SelectScrollUpButton",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.SelectScrollUpButton),e.mergeProps(n.$attrs,{class:e.unref(a)("flex cursor-default items-center justify-center py-1",o.class)}),{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m18 15-6-6-6 6"})],-1)])]),_:1},16,["class"]))}}),me=e.defineComponent({inheritAttrs:!1,__name:"SelectScrollDownButton",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.SelectScrollDownButton),e.mergeProps(n.$attrs,{class:e.unref(a)("flex cursor-default items-center justify-center py-1",o.class)}),{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m6 9 6 6 6-6"})],-1)])]),_:1},16,["class"]))}}),Qt=e.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{class:{},position:{default:"popper"}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.SelectPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.SelectContent),e.mergeProps(n.$attrs,{position:o.position,class:e.unref(a)("relative z-depth-3 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-depth-3","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o.position==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",o.class)}),{default:e.withCtx(()=>[e.createVNode(fe),e.createVNode(e.unref(l.SelectViewport),{class:e.normalizeClass(e.unref(a)("p-1",o.position==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"))},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["class"]),e.createVNode(me)]),_:3},16,["position","class"])]),_:3}))}}),vt={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},eo=e.defineComponent({inheritAttrs:!1,__name:"SelectItem",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.SelectItem),e.mergeProps(n.$attrs,{class:e.unref(a)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o.class)}),{default:e.withCtx(()=>[e.createElementVNode("span",vt,[e.createVNode(e.unref(l.SelectItemIndicator),null,{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"M20 6 9 17l-5-5"})],-1)])]),_:1})]),e.createVNode(e.unref(l.SelectItemText),null,{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),to=e.defineComponent({inheritAttrs:!1,__name:"SelectValue",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.SelectValue),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),oo=e.defineComponent({inheritAttrs:!1,__name:"SelectGroup",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.SelectGroup),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),no=e.defineComponent({inheritAttrs:!1,__name:"SelectLabel",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.SelectLabel),e.mergeProps(n.$attrs,{class:e.unref(a)("py-1.5 pl-8 pr-2 text-sm font-semibold",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),ro=e.defineComponent({inheritAttrs:!1,__name:"SelectSeparator",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.SelectSeparator),e.mergeProps(n.$attrs,{class:e.unref(a)("-mx-1 my-1 h-px bg-muted",o.class)}),null,16,["class"]))}}),so=e.defineComponent({inheritAttrs:!1,__name:"Tabs",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.TabsRoot),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),ao=e.defineComponent({inheritAttrs:!1,__name:"TabsList",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.TabsList),e.mergeProps(n.$attrs,{class:e.unref(a)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground shadow-depth-1",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),lo=e.defineComponent({inheritAttrs:!1,__name:"TabsTrigger",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.TabsTrigger),e.mergeProps(n.$attrs,{class:e.unref(a)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),co=e.defineComponent({inheritAttrs:!1,__name:"TabsContent",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.TabsContent),e.mergeProps(n.$attrs,{class:e.unref(a)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),he=e.defineComponent({inheritAttrs:!1,__name:"Separator",props:{class:{},orientation:{default:"horizontal"}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.Separator),e.mergeProps(n.$attrs,{orientation:o.orientation,class:e.unref(a)("shrink-0 bg-border",o.orientation==="horizontal"?"h-px w-full":"h-full w-px",o.class)}),null,16,["orientation","class"]))}}),io=["disabled","placeholder","value"],po=e.defineComponent({__name:"Textarea",props:{class:{},disabled:{type:Boolean},placeholder:{},modelValue:{}},emits:["update:modelValue"],setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("textarea",{class:e.normalizeClass(e.unref(a)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm","ring-offset-background","placeholder:text-muted-foreground","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","shadow-depth-1 focus-visible:shadow-depth-2 transition-elevation",o.class)),disabled:t.disabled,placeholder:t.placeholder,value:t.modelValue,onInput:r[0]||(r[0]=i=>n.$emit("update:modelValue",i.target.value))},null,42,io))}}),ge=x.cva("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground shadow-depth-1",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive shadow-depth-1"}},defaultVariants:{variant:"default"}}),fo=e.defineComponent({__name:"Alert",props:{variant:{},class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{role:"alert",class:e.normalizeClass(e.unref(a)(e.unref(ge)({variant:t.variant}),o.class))},[e.renderSlot(n.$slots,"default")],2))}}),mo=e.defineComponent({__name:"AlertTitle",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("h5",{class:e.normalizeClass(e.unref(a)("mb-1 font-medium leading-none tracking-tight",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),ho=e.defineComponent({__name:"AlertDescription",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("text-sm [&_p]:leading-relaxed",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),go=e.defineComponent({inheritAttrs:!1,__name:"Tooltip",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.TooltipRoot),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),uo=e.defineComponent({inheritAttrs:!1,__name:"TooltipProvider",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.TooltipProvider),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),_o=e.defineComponent({inheritAttrs:!1,__name:"TooltipTrigger",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.TooltipTrigger),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),ko=e.defineComponent({inheritAttrs:!1,__name:"TooltipContent",props:{class:{},sideOffset:{default:4}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.TooltipPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.TooltipContent),e.mergeProps(n.$attrs,{"side-offset":o.sideOffset,class:e.unref(a)("z-depth-4 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-depth-2","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",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["side-offset","class"])]),_:3}))}}),bo=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenu",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuRoot),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),wo=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuTrigger",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuTrigger),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Co=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuContent",props:{class:{},sideOffset:{default:4}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.DropdownMenuContent),e.mergeProps(n.$attrs,{"side-offset":o.sideOffset,class:e.unref(a)("z-depth-3 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-depth-3","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["side-offset","class"])]),_:3}))}}),Bo=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuItem",props:{class:{},inset:{type:Boolean}},emits:["select"],setup(t,{emit:o}){const n=t,r=o;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuItem),e.mergeProps(i.$attrs,{class:e.unref(a)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t.inset&&"pl-8",n.class),onSelect:c[0]||(c[0]=d=>r("select",d))}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),yo={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},$o=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuCheckboxItem",props:{class:{}},emits:["update:checked","select"],setup(t,{emit:o}){const n=t,r=o;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuCheckboxItem),e.mergeProps(i.$attrs,{class:e.unref(a)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n.class),"onUpdate:checked":c[0]||(c[0]=d=>r("update:checked",d)),onSelect:c[1]||(c[1]=d=>r("select",d))}),{default:e.withCtx(()=>[e.createElementVNode("span",yo,[e.createVNode(e.unref(l.DropdownMenuItemIndicator),null,{default:e.withCtx(()=>[...c[2]||(c[2]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"M20 6 9 17l-5-5"})],-1)])]),_:1})]),e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),xo={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},So=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuRadioItem",props:{class:{}},emits:["select"],setup(t,{emit:o}){const n=t,r=o;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuRadioItem),e.mergeProps(i.$attrs,{class:e.unref(a)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n.class),onSelect:c[0]||(c[0]=d=>r("select",d))}),{default:e.withCtx(()=>[e.createElementVNode("span",xo,[e.createVNode(e.unref(l.DropdownMenuItemIndicator),null,{default:e.withCtx(()=>[...c[1]||(c[1]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-2 w-2"},[e.createElementVNode("circle",{cx:"12",cy:"12",r:"6",fill:"currentColor"})],-1)])]),_:1})]),e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),Po=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuRadioGroup",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuRadioGroup),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Eo=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuSub",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuSub),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),No=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuSubTrigger",props:{class:{},inset:{type:Boolean}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuSubTrigger),e.mergeProps(n.$attrs,{class:e.unref(a)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t.inset&&"pl-8",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default"),r[0]||(r[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"ml-auto h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1))]),_:3},16,["class"]))}}),zo=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuSubContent",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuSubContent),e.mergeProps(n.$attrs,{class:e.unref(a)("z-depth-3 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-depth-3","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Do=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuSeparator",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuSeparator),e.mergeProps(n.$attrs,{class:e.unref(a)("-mx-1 my-1 h-px bg-muted",o.class)}),null,16,["class"]))}}),To=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuLabel",props:{class:{},inset:{type:Boolean}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuLabel),e.mergeProps(n.$attrs,{class:e.unref(a)("px-2 py-1.5 text-sm font-semibold",t.inset&&"pl-8",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Ao=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuGroup",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuGroup),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Mo=e.defineComponent({__name:"DropdownMenuShortcut",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(a)("ml-auto text-xs tracking-widest opacity-60",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Vo=e.defineComponent({inheritAttrs:!1,__name:"RadioGroup",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.RadioGroupRoot),e.mergeProps(n.$attrs,{class:e.unref(a)("grid gap-2",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Ro=e.defineComponent({inheritAttrs:!1,__name:"RadioGroupItem",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.RadioGroupItem),e.mergeProps(n.$attrs,{class:e.unref(a)("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 shadow-depth-1",o.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.RadioGroupIndicator),{class:"flex items-center justify-center"},{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",class:"h-2.5 w-2.5"},[e.createElementVNode("circle",{cx:"12",cy:"12",r:"6"})],-1)])]),_:1})]),_:1},16,["class"]))}}),Io=e.defineComponent({inheritAttrs:!1,__name:"Popover",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.PopoverRoot),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),jo=e.defineComponent({inheritAttrs:!1,__name:"PopoverTrigger",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.PopoverTrigger),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Lo=e.defineComponent({inheritAttrs:!1,__name:"PopoverContent",props:{class:{},sideOffset:{default:4},align:{default:"center"}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.PopoverPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.PopoverContent),e.mergeProps(n.$attrs,{"side-offset":o.sideOffset,align:o.align,class:e.unref(a)("z-depth-3 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-depth-3 outline-none","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["side-offset","align","class"])]),_:3}))}}),Go=e.defineComponent({inheritAttrs:!1,__name:"Sheet",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogRoot),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Ho=e.defineComponent({inheritAttrs:!1,__name:"SheetTrigger",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogTrigger),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Fo=e.defineComponent({inheritAttrs:!1,__name:"SheetClose",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogClose),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Oo=e.defineComponent({inheritAttrs:!1,__name:"SheetOverlay",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogOverlay),e.mergeProps(n.$attrs,{class:e.unref(a)("fixed inset-0 z-50 bg-black/80","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",o.class)}),null,16,["class"]))}}),Uo=e.defineComponent({inheritAttrs:!1,__name:"SheetContent",props:{class:{},side:{default:"right"}},setup(t){const o=t,n=e.computed(()=>({top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left",right:"inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right"})[o.side]);return(r,i)=>(e.openBlock(),e.createBlock(e.unref(l.DialogPortal),null,{default:e.withCtx(()=>[e.createVNode(Oo),e.createVNode(e.unref(l.DialogContent),e.mergeProps(r.$attrs,{class:e.unref(a)("fixed z-50 gap-4 bg-background p-6 shadow-depth-5 transition ease-in-out","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=open]:duration-500 data-[state=closed]:duration-300",n.value,o.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default"),e.createVNode(e.unref(l.DialogClose),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"},{default:e.withCtx(()=>[...i[0]||(i[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"M18 6 6 18"}),e.createElementVNode("path",{d:"m6 6 12 12"})],-1),e.createElementVNode("span",{class:"sr-only"},"Close",-1)])]),_:1})]),_:3},16,["class"])]),_:3}))}}),Ko=e.defineComponent({__name:"SheetHeader",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("flex flex-col space-y-2 text-center sm:text-left",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Wo=e.defineComponent({__name:"SheetFooter",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),qo=e.defineComponent({inheritAttrs:!1,__name:"SheetTitle",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogTitle),e.mergeProps(n.$attrs,{class:e.unref(a)("text-lg font-semibold text-foreground",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Yo=e.defineComponent({inheritAttrs:!1,__name:"SheetDescription",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogDescription),e.mergeProps(n.$attrs,{class:e.unref(a)("text-sm text-muted-foreground",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Zo=e.defineComponent({inheritAttrs:!1,__name:"AlertDialog",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.AlertDialogRoot),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Xo=e.defineComponent({inheritAttrs:!1,__name:"AlertDialogTrigger",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.AlertDialogTrigger),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),ue=e.defineComponent({inheritAttrs:!1,__name:"AlertDialogPortal",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.AlertDialogPortal),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),_e=e.defineComponent({inheritAttrs:!1,__name:"AlertDialogOverlay",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.AlertDialogOverlay),e.mergeProps(n.$attrs,{class:e.unref(a)("fixed inset-0 z-50 bg-black/80","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",o.class)}),null,16,["class"]))}}),Jo=e.defineComponent({inheritAttrs:!1,__name:"AlertDialogContent",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(ue,null,{default:e.withCtx(()=>[e.createVNode(_e),e.createVNode(e.unref(l.AlertDialogContent),e.mergeProps(n.$attrs,{class:e.unref(a)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4","border bg-background p-6 shadow-depth-5 duration-200","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%]","data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]","sm:rounded-lg",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),Qo=e.defineComponent({__name:"AlertDialogHeader",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("flex flex-col space-y-2 text-center sm:text-left",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),vo=e.defineComponent({__name:"AlertDialogFooter",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),en=e.defineComponent({inheritAttrs:!1,__name:"AlertDialogTitle",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.AlertDialogTitle),e.mergeProps(n.$attrs,{class:e.unref(a)("text-lg font-semibold",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),tn=e.defineComponent({inheritAttrs:!1,__name:"AlertDialogDescription",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.AlertDialogDescription),e.mergeProps(n.$attrs,{class:e.unref(a)("text-sm text-muted-foreground",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),on=e.defineComponent({inheritAttrs:!1,__name:"AlertDialogAction",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.AlertDialogAction),e.mergeProps(n.$attrs,{class:e.unref(a)("inline-flex h-10 items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground ring-offset-background transition-colors","hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),nn=e.defineComponent({inheritAttrs:!1,__name:"AlertDialogCancel",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.AlertDialogCancel),e.mergeProps(n.$attrs,{class:e.unref(a)("inline-flex h-10 items-center justify-center rounded-md border border-input bg-background px-4 py-2 text-sm font-medium ring-offset-background transition-colors","hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50","mt-2 sm:mt-0",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),rn=e.defineComponent({__name:"Breadcrumb",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("nav",{"aria-label":"breadcrumb",class:e.normalizeClass(o.class)},[e.renderSlot(n.$slots,"default")],2))}}),sn=e.defineComponent({__name:"BreadcrumbList",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("ol",{class:e.normalizeClass(e.unref(a)("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),an=e.defineComponent({__name:"BreadcrumbItem",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(e.unref(a)("inline-flex items-center gap-1.5",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),ln=e.defineComponent({__name:"BreadcrumbLink",props:{class:{},href:{},asChild:{type:Boolean}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.asChild?"slot":"a"),{href:t.asChild?void 0:t.href,class:e.normalizeClass(e.unref(a)("transition-colors hover:text-foreground",o.class))},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["href","class"]))}}),cn=e.defineComponent({__name:"BreadcrumbPage",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("span",{role:"link","aria-disabled":"true","aria-current":"page",class:e.normalizeClass(e.unref(a)("font-normal text-foreground",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),dn=e.defineComponent({__name:"BreadcrumbSeparator",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("li",{role:"presentation","aria-hidden":"true",class:e.normalizeClass(e.unref(a)("[&>svg]:size-3.5",o.class))},[e.renderSlot(n.$slots,"default",{},()=>[r[0]||(r[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1))])],2))}}),pn=e.defineComponent({__name:"BreadcrumbEllipsis",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("span",{role:"presentation","aria-hidden":"true",class:e.normalizeClass(e.unref(a)("flex h-9 w-9 items-center justify-center",o.class))},[...r[0]||(r[0]=[e.createStaticVNode('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="h-4 w-4"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg><span class="sr-only">More</span>',2)])],2))}}),R=x.cva("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"},size:{default:"h-10 px-3",sm:"h-9 px-2.5",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"default"}}),fn=e.defineComponent({inheritAttrs:!1,__name:"Toggle",props:{class:{},variant:{},size:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.Toggle),e.mergeProps(n.$attrs,{class:e.unref(a)(e.unref(R)({variant:o.variant,size:o.size}),o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),mn=e.defineComponent({inheritAttrs:!1,__name:"ToggleGroup",props:{class:{},variant:{},size:{}},setup(t){const o=t;return e.provide("toggleGroupVariant",o.variant),e.provide("toggleGroupSize",o.size),(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ToggleGroupRoot),e.mergeProps(n.$attrs,{class:e.unref(a)("flex items-center justify-center gap-1",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),hn=e.defineComponent({inheritAttrs:!1,__name:"ToggleGroupItem",props:{class:{},variant:{},size:{}},setup(t){const o=t,n=e.inject("toggleGroupVariant",void 0),r=e.inject("toggleGroupSize",void 0);return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.ToggleGroupItem),e.mergeProps(i.$attrs,{class:e.unref(a)(e.unref(R)({variant:o.variant||e.unref(n),size:o.size||e.unref(r)}),o.class)}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),gn=e.defineComponent({inheritAttrs:!1,__name:"Accordion",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.AccordionRoot),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),un=e.defineComponent({inheritAttrs:!1,__name:"AccordionItem",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.AccordionItem),e.mergeProps(n.$attrs,{class:e.unref(a)("border-b",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),_n=e.defineComponent({inheritAttrs:!1,__name:"AccordionTrigger",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.AccordionHeader),{class:"flex"},{default:e.withCtx(()=>[e.createVNode(e.unref(l.AccordionTrigger),e.mergeProps(n.$attrs,{class:e.unref(a)("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default"),r[0]||(r[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4 shrink-0 transition-transform duration-200"},[e.createElementVNode("path",{d:"m6 9 6 6 6-6"})],-1))]),_:3},16,["class"])]),_:3}))}}),kn={class:"pb-4 pt-0"},bn=e.defineComponent({inheritAttrs:!1,__name:"AccordionContent",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.AccordionContent),e.mergeProps(n.$attrs,{class:e.unref(a)("overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",o.class)}),{default:e.withCtx(()=>[e.createElementVNode("div",kn,[e.renderSlot(n.$slots,"default")])]),_:3},16,["class"]))}}),wn=e.defineComponent({inheritAttrs:!1,__name:"Collapsible",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.CollapsibleRoot),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Cn=e.defineComponent({inheritAttrs:!1,__name:"CollapsibleTrigger",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.CollapsibleTrigger),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Bn=e.defineComponent({inheritAttrs:!1,__name:"CollapsibleContent",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.CollapsibleContent),e.mergeProps(n.$attrs,{class:e.unref(a)("overflow-hidden transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),I=e.defineComponent({inheritAttrs:!1,__name:"ScrollBar",props:{class:{},orientation:{default:"vertical"}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ScrollAreaScrollbar),e.mergeProps(n.$attrs,{orientation:t.orientation,class:e.unref(a)("flex touch-none select-none transition-colors",t.orientation==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-px",t.orientation==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-px",o.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.ScrollAreaThumb),{class:"relative flex-1 rounded-full bg-border"})]),_:1},16,["orientation","class"]))}}),yn=e.defineComponent({inheritAttrs:!1,__name:"ScrollArea",props:{class:{},orientation:{default:"vertical"}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ScrollAreaRoot),e.mergeProps(n.$attrs,{class:e.unref(a)("relative overflow-hidden",o.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.ScrollAreaViewport),{class:"h-full w-full rounded-[inherit]"},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3}),t.orientation==="vertical"||t.orientation==="both"?(e.openBlock(),e.createBlock(I,{key:0,orientation:"vertical"})):e.createCommentVNode("",!0),t.orientation==="horizontal"||t.orientation==="both"?(e.openBlock(),e.createBlock(I,{key:1,orientation:"horizontal"})):e.createCommentVNode("",!0)]),_:3},16,["class"]))}}),$n=e.defineComponent({__name:"TableFooter",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("tfoot",{class:e.normalizeClass(e.unref(a)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),xn=e.defineComponent({__name:"TableCaption",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("caption",{class:e.normalizeClass(e.unref(a)("mt-4 text-sm text-muted-foreground",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Sn=e.defineComponent({inheritAttrs:!1,__name:"Progress",props:{class:{},modelValue:{},size:{},ariaLabel:{}},setup(t){const o=t,n={sm:"h-1",default:"h-1.5",lg:"h-2"};return(r,i)=>(e.openBlock(),e.createBlock(e.unref(l.ProgressRoot),e.mergeProps(r.$attrs,{"model-value":o.modelValue,"aria-label":o.ariaLabel,class:e.unref(a)("relative w-full overflow-hidden rounded-full bg-muted",n[o.size||"default"],o.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.ProgressIndicator),{class:e.normalizeClass(e.unref(a)("h-full w-full flex-1 bg-primary rounded-full transition-all duration-300 ease-out")),style:e.normalizeStyle({transform:`translateX(-${100-(o.modelValue||0)}%)`})},null,8,["class","style"])]),_:1},16,["model-value","aria-label","class"]))}}),Pn=e.defineComponent({__name:"Skeleton",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("animate-pulse rounded-md bg-muted",o.class))},null,2))}}),En={class:"relative flex items-center gap-3"},Nn={key:0,class:"text-sm font-medium text-foreground tabular-nums min-w-[3ch] text-right"},zn=e.defineComponent({inheritAttrs:!1,__name:"Slider",props:{class:{},modelValue:{},showValue:{type:Boolean,default:!1}},setup(t){const o=t,n=e.computed(()=>(o.modelValue??[0]).length);return(r,i)=>(e.openBlock(),e.createElementBlock("div",En,[e.createVNode(e.unref(l.SliderRoot),e.mergeProps(r.$attrs,{"model-value":o.modelValue,class:e.unref(a)("relative flex w-full touch-none select-none items-center",o.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.SliderTrack),{class:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-muted shadow-depth-1"},{default:e.withCtx(()=>[e.createVNode(e.unref(l.SliderRange),{class:"absolute h-full bg-primary transition-all duration-150 ease-out"})]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,(c,d)=>(e.openBlock(),e.createBlock(e.unref(l.SliderThumb),{key:d,class:e.normalizeClass(e.unref(a)("block h-5 w-5 rounded-full border-2 border-primary bg-background","ring-offset-background transition-all duration-150 ease-out","shadow-depth-2 hover:shadow-depth-3 hover:scale-105","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50"))},null,8,["class"]))),128))]),_:1},16,["model-value","class"]),e.renderSlot(r.$slots,"value",{value:t.modelValue},()=>[t.showValue&&t.modelValue?(e.openBlock(),e.createElementBlock("span",Nn,e.toDisplayString(t.modelValue[0]),1)):e.createCommentVNode("",!0)])]))}}),Dn=e.defineComponent({inheritAttrs:!1,__name:"HoverCard",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.HoverCardRoot),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Tn=e.defineComponent({inheritAttrs:!1,__name:"HoverCardTrigger",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.HoverCardTrigger),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),An=e.defineComponent({inheritAttrs:!1,__name:"HoverCardContent",props:{class:{},sideOffset:{default:4}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.HoverCardPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.HoverCardContent),e.mergeProps(n.$attrs,{"side-offset":o.sideOffset,class:e.unref(a)("z-depth-3 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-depth-3 outline-none","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["side-offset","class"])]),_:3}))}}),Mn=e.defineComponent({inheritAttrs:!1,__name:"ContextMenu",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuRoot),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Vn=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuTrigger",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuTrigger),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Rn=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuContent",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.ContextMenuContent),e.mergeProps(n.$attrs,{class:e.unref(a)("z-depth-3 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-depth-3","animate-in fade-in-0 zoom-in-95","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),In=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuItem",props:{class:{},inset:{type:Boolean}},emits:["select"],setup(t,{emit:o}){const n=t,r=o;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuItem),e.mergeProps(i.$attrs,{class:e.unref(a)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t.inset&&"pl-8",n.class),onSelect:c[0]||(c[0]=d=>r("select",d))}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),jn={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},Ln=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuCheckboxItem",props:{class:{}},emits:["update:checked","select"],setup(t,{emit:o}){const n=t,r=o;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuCheckboxItem),e.mergeProps(i.$attrs,{class:e.unref(a)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n.class),"onUpdate:checked":c[0]||(c[0]=d=>r("update:checked",d)),onSelect:c[1]||(c[1]=d=>r("select",d))}),{default:e.withCtx(()=>[e.createElementVNode("span",jn,[e.createVNode(e.unref(l.ContextMenuItemIndicator),null,{default:e.withCtx(()=>[...c[2]||(c[2]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"M20 6 9 17l-5-5"})],-1)])]),_:1})]),e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),Gn={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},Hn=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuRadioItem",props:{class:{}},emits:["select"],setup(t,{emit:o}){const n=t,r=o;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuRadioItem),e.mergeProps(i.$attrs,{class:e.unref(a)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n.class),onSelect:c[0]||(c[0]=d=>r("select",d))}),{default:e.withCtx(()=>[e.createElementVNode("span",Gn,[e.createVNode(e.unref(l.ContextMenuItemIndicator),null,{default:e.withCtx(()=>[...c[1]||(c[1]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-2 w-2"},[e.createElementVNode("circle",{cx:"12",cy:"12",r:"6",fill:"currentColor"})],-1)])]),_:1})]),e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),Fn=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuRadioGroup",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuRadioGroup),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),On=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuSub",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuSub),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Un=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuSubTrigger",props:{class:{},inset:{type:Boolean}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuSubTrigger),e.mergeProps(n.$attrs,{class:e.unref(a)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t.inset&&"pl-8",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default"),r[0]||(r[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"ml-auto h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1))]),_:3},16,["class"]))}}),Kn=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuSubContent",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuSubContent),e.mergeProps(n.$attrs,{class:e.unref(a)("z-depth-3 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-depth-3","animate-in fade-in-0 zoom-in-95","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Wn=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuSeparator",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuSeparator),e.mergeProps(n.$attrs,{class:e.unref(a)("-mx-1 my-1 h-px bg-muted",o.class)}),null,16,["class"]))}}),qn=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuLabel",props:{class:{},inset:{type:Boolean}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuLabel),e.mergeProps(n.$attrs,{class:e.unref(a)("px-2 py-1.5 text-sm font-semibold text-foreground",t.inset&&"pl-8",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Yn=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuGroup",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuGroup),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Zn=e.defineComponent({__name:"ContextMenuShortcut",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(a)("ml-auto text-xs tracking-widest text-muted-foreground",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Xn=e.defineComponent({inheritAttrs:!1,__name:"Pagination",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.PaginationRoot),e.mergeProps(n.$attrs,{class:e.unref(a)("mx-auto flex w-full justify-center",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Jn=e.defineComponent({inheritAttrs:!1,__name:"PaginationContent",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.PaginationList),e.mergeProps(n.$attrs,{class:e.unref(a)("flex flex-row items-center gap-1",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Qn=e.defineComponent({inheritAttrs:!1,__name:"PaginationItem",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.PaginationListItem),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),T=e.defineComponent({__name:"PaginationLink",props:{class:{},isActive:{type:Boolean},size:{default:"icon"}},setup(t){return(o,n)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(e.unref(a)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50","h-10 w-10",t.isActive?"border border-input bg-background hover:bg-accent hover:text-accent-foreground shadow-depth-1":"hover:bg-accent hover:text-accent-foreground",o.$props.class))},[e.renderSlot(o.$slots,"default")],2))}}),vn=e.defineComponent({__name:"PaginationFirst",props:{class:{}},setup(t){return(o,n)=>(e.openBlock(),e.createBlock(T,{class:e.normalizeClass(o.$props.class)},{default:e.withCtx(()=>[...n[0]||(n[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m11 17-5-5 5-5"}),e.createElementVNode("path",{d:"m18 17-5-5 5-5"})],-1)])]),_:1},8,["class"]))}}),er=e.defineComponent({__name:"PaginationPrev",props:{class:{}},setup(t){return(o,n)=>(e.openBlock(),e.createBlock(T,{class:e.normalizeClass(o.$props.class)},{default:e.withCtx(()=>[...n[0]||(n[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m15 18-6-6 6-6"})],-1)])]),_:1},8,["class"]))}}),tr=e.defineComponent({__name:"PaginationNext",props:{class:{}},setup(t){return(o,n)=>(e.openBlock(),e.createBlock(T,{class:e.normalizeClass(o.$props.class)},{default:e.withCtx(()=>[...n[0]||(n[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1)])]),_:1},8,["class"]))}}),or=e.defineComponent({__name:"PaginationLast",props:{class:{}},setup(t){return(o,n)=>(e.openBlock(),e.createBlock(T,{class:e.normalizeClass(o.$props.class)},{default:e.withCtx(()=>[...n[0]||(n[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m13 17 5-5-5-5"}),e.createElementVNode("path",{d:"m6 17 5-5-5-5"})],-1)])]),_:1},8,["class"]))}}),nr=e.defineComponent({__name:"PaginationEllipsis",props:{class:{}},setup(t){return(o,n)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(a)("flex h-9 w-9 items-center justify-center",o.$props.class))},[...n[0]||(n[0]=[e.createStaticVNode('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="h-4 w-4"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg><span class="sr-only">More pages</span>',2)])],2))}}),ke=e.defineComponent({inheritAttrs:!1,__name:"Command",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxRoot),e.mergeProps(n.$attrs,{class:e.unref(a)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground shadow-depth-2",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),rr={class:"flex items-center border-b px-3","cmdk-input-wrapper":""},sr=e.defineComponent({inheritAttrs:!1,__name:"CommandInput",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",rr,[r[0]||(r[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"mr-2 h-4 w-4 shrink-0 opacity-50"},[e.createElementVNode("path",{d:"m21 21-6.05-6.05M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z"})],-1)),e.createVNode(e.unref(l.ComboboxInput),e.mergeProps(n.$attrs,{class:e.unref(a)("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",o.class)}),null,16,["class"])]))}}),ar=e.defineComponent({inheritAttrs:!1,__name:"CommandList",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxContent),e.mergeProps(n.$attrs,{class:e.unref(a)("max-h-[300px] overflow-y-auto overflow-x-hidden",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),lr=e.defineComponent({inheritAttrs:!1,__name:"CommandEmpty",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxEmpty),e.mergeProps(n.$attrs,{class:e.unref(a)("py-6 text-center text-sm",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),cr=e.defineComponent({inheritAttrs:!1,__name:"CommandGroup",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxGroup),e.mergeProps(n.$attrs,{class:e.unref(a)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),ir=e.defineComponent({inheritAttrs:!1,__name:"CommandItem",props:{class:{}},emits:["select"],setup(t,{emit:o}){const n=t,r=o;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxItem),e.mergeProps(i.$attrs,{class:e.unref(a)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n.class),onSelect:c[0]||(c[0]=d=>r("select",d))}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),dr=e.defineComponent({inheritAttrs:!1,__name:"CommandSeparator",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxSeparator),e.mergeProps(n.$attrs,{class:e.unref(a)("-mx-1 h-px bg-border",o.class)}),null,16,["class"]))}}),pr=e.defineComponent({inheritAttrs:!1,__name:"CommandLabel",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxLabel),e.mergeProps(n.$attrs,{class:e.unref(a)("px-2 py-1.5 text-xs font-medium text-muted-foreground",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),fr=e.defineComponent({__name:"CommandDialog",props:{open:{type:Boolean}},emits:["update:open"],setup(t,{emit:o}){const n=t,r=o;return(i,c)=>(e.openBlock(),e.createBlock(te,{open:n.open,"onUpdate:open":c[0]||(c[0]=d=>r("update:open",d))},{default:e.withCtx(()=>[e.createVNode(oe,{class:"overflow-hidden p-0 shadow-depth-5"},{default:e.withCtx(()=>[e.createVNode(ke,{class:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5"},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3})]),_:3})]),_:3},8,["open"]))}}),mr=e.defineComponent({inheritAttrs:!1,__name:"Menubar",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarRoot),e.mergeProps(n.$attrs,{class:e.unref(a)("flex h-10 items-center space-x-1 rounded-md border bg-background p-1 shadow-depth-1",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),hr=e.defineComponent({inheritAttrs:!1,__name:"MenubarMenu",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarMenu),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),gr=e.defineComponent({inheritAttrs:!1,__name:"MenubarTrigger",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarTrigger),e.mergeProps(n.$attrs,{class:e.unref(a)("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),ur=e.defineComponent({inheritAttrs:!1,__name:"MenubarContent",props:{class:{},align:{default:"start"},sideOffset:{default:8}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.MenubarContent),e.mergeProps(n.$attrs,{align:o.align,"side-offset":o.sideOffset,class:e.unref(a)("z-depth-3 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-depth-3","data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["align","side-offset","class"])]),_:3}))}}),_r=e.defineComponent({inheritAttrs:!1,__name:"MenubarItem",props:{class:{},inset:{type:Boolean}},emits:["select"],setup(t,{emit:o}){const n=t,r=o;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarItem),e.mergeProps(i.$attrs,{class:e.unref(a)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t.inset&&"pl-8",n.class),onSelect:c[0]||(c[0]=d=>r("select",d))}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),kr={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},br=e.defineComponent({inheritAttrs:!1,__name:"MenubarCheckboxItem",props:{class:{}},emits:["update:checked","select"],setup(t,{emit:o}){const n=t,r=o;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarCheckboxItem),e.mergeProps(i.$attrs,{class:e.unref(a)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n.class),"onUpdate:checked":c[0]||(c[0]=d=>r("update:checked",d)),onSelect:c[1]||(c[1]=d=>r("select",d))}),{default:e.withCtx(()=>[e.createElementVNode("span",kr,[e.createVNode(e.unref(l.MenubarItemIndicator),null,{default:e.withCtx(()=>[...c[2]||(c[2]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"M20 6 9 17l-5-5"})],-1)])]),_:1})]),e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),wr={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},Cr=e.defineComponent({inheritAttrs:!1,__name:"MenubarRadioItem",props:{class:{}},emits:["select"],setup(t,{emit:o}){const n=t,r=o;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarRadioItem),e.mergeProps(i.$attrs,{class:e.unref(a)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",n.class),onSelect:c[0]||(c[0]=d=>r("select",d))}),{default:e.withCtx(()=>[e.createElementVNode("span",wr,[e.createVNode(e.unref(l.MenubarItemIndicator),null,{default:e.withCtx(()=>[...c[1]||(c[1]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-2 w-2"},[e.createElementVNode("circle",{cx:"12",cy:"12",r:"6",fill:"currentColor"})],-1)])]),_:1})]),e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),Br=e.defineComponent({inheritAttrs:!1,__name:"MenubarRadioGroup",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarRadioGroup),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),yr=e.defineComponent({inheritAttrs:!1,__name:"MenubarSub",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarSub),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),$r=e.defineComponent({inheritAttrs:!1,__name:"MenubarSubTrigger",props:{class:{},inset:{type:Boolean}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarSubTrigger),e.mergeProps(n.$attrs,{class:e.unref(a)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t.inset&&"pl-8",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default"),r[0]||(r[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"ml-auto h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1))]),_:3},16,["class"]))}}),xr=e.defineComponent({inheritAttrs:!1,__name:"MenubarSubContent",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarSubContent),e.mergeProps(n.$attrs,{class:e.unref(a)("z-depth-3 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-depth-3","data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Sr=e.defineComponent({inheritAttrs:!1,__name:"MenubarSeparator",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarSeparator),e.mergeProps(n.$attrs,{class:e.unref(a)("-mx-1 my-1 h-px bg-muted",o.class)}),null,16,["class"]))}}),Pr=e.defineComponent({inheritAttrs:!1,__name:"MenubarLabel",props:{class:{},inset:{type:Boolean}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarLabel),e.mergeProps(n.$attrs,{class:e.unref(a)("px-2 py-1.5 text-sm font-semibold",t.inset&&"pl-8",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Er=e.defineComponent({inheritAttrs:!1,__name:"MenubarGroup",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarGroup),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Nr=e.defineComponent({__name:"MenubarShortcut",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(a)("ml-auto text-xs tracking-widest text-muted-foreground",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),zr={class:"absolute left-0 top-full flex justify-center"},be=e.defineComponent({inheritAttrs:!1,__name:"NavigationMenuViewport",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",zr,[e.createVNode(e.unref(l.NavigationMenuViewport),e.mergeProps(n.$attrs,{class:e.unref(a)("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-depth-3","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90","md:w-[var(--radix-navigation-menu-viewport-width)]",o.class)}),null,16,["class"])]))}}),Dr=e.defineComponent({inheritAttrs:!1,__name:"NavigationMenu",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.NavigationMenuRoot),e.mergeProps(n.$attrs,{class:e.unref(a)("relative z-10 flex max-w-max flex-1 items-center justify-center",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default"),e.createVNode(be)]),_:3},16,["class"]))}}),Tr=e.defineComponent({inheritAttrs:!1,__name:"NavigationMenuList",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.NavigationMenuList),e.mergeProps(n.$attrs,{class:e.unref(a)("group flex flex-1 list-none items-center justify-center space-x-1",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Ar=e.defineComponent({inheritAttrs:!1,__name:"NavigationMenuItem",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.NavigationMenuItem),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Mr=e.defineComponent({inheritAttrs:!1,__name:"NavigationMenuTrigger",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.NavigationMenuTrigger),e.mergeProps(n.$attrs,{class:e.unref(a)("group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default"),r[0]||(r[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"relative top-px ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180","aria-hidden":"true"},[e.createElementVNode("path",{d:"m6 9 6 6 6-6"})],-1))]),_:3},16,["class"]))}}),Vr=e.defineComponent({inheritAttrs:!1,__name:"NavigationMenuContent",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.NavigationMenuContent),e.mergeProps(n.$attrs,{class:e.unref(a)("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Rr=e.defineComponent({inheritAttrs:!1,__name:"NavigationMenuLink",props:{class:{}},emits:["select"],setup(t,{emit:o}){const n=t,r=o;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.NavigationMenuLink),e.mergeProps(i.$attrs,{class:e.unref(a)("group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50",n.class),onSelect:c[0]||(c[0]=d=>r("select",d))}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),Ir=e.defineComponent({inheritAttrs:!1,__name:"NavigationMenuIndicator",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.NavigationMenuIndicator),e.mergeProps(n.$attrs,{class:e.unref(a)("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",o.class)}),{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createElementVNode("div",{class:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-depth-2"},null,-1)])]),_:1},16,["class"]))}}),we=e.defineComponent({inheritAttrs:!1,__name:"CalendarHeader",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarHeader),e.mergeProps(n.$attrs,{class:e.unref(a)("flex justify-between items-center pt-1 relative",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Ce=e.defineComponent({inheritAttrs:!1,__name:"CalendarHeading",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarHeading),e.mergeProps(n.$attrs,{class:e.unref(a)("text-sm font-medium",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Be=e.defineComponent({inheritAttrs:!1,__name:"CalendarPrev",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarPrev),e.mergeProps(n.$attrs,{class:e.unref(a)("inline-flex h-7 w-7 items-center justify-center rounded-md border-0 bg-transparent","hover:bg-accent hover:text-accent-foreground",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default",{},()=>[r[0]||(r[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m15 18-6-6 6-6"})],-1))])]),_:3},16,["class"]))}}),ye=e.defineComponent({inheritAttrs:!1,__name:"CalendarNext",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarNext),e.mergeProps(n.$attrs,{class:e.unref(a)("inline-flex h-7 w-7 items-center justify-center rounded-md border-0 bg-transparent","hover:bg-accent hover:text-accent-foreground",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default",{},()=>[r[0]||(r[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1))])]),_:3},16,["class"]))}}),$e=e.defineComponent({inheritAttrs:!1,__name:"CalendarGrid",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarGrid),e.mergeProps(n.$attrs,{class:e.unref(a)("w-full border-collapse space-y-1",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),xe=e.defineComponent({inheritAttrs:!1,__name:"CalendarGridHead",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarGridHead),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Se=e.defineComponent({inheritAttrs:!1,__name:"CalendarGridBody",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarGridBody),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),j=e.defineComponent({inheritAttrs:!1,__name:"CalendarGridRow",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarGridRow),e.mergeProps(n.$attrs,{class:e.unref(a)("flex",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Pe=e.defineComponent({inheritAttrs:!1,__name:"CalendarHeadCell",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarHeadCell),e.mergeProps(n.$attrs,{class:e.unref(a)("text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Ee=e.defineComponent({inheritAttrs:!1,__name:"CalendarCell",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarCell),e.mergeProps(n.$attrs,{class:e.unref(a)("h-8 w-8 text-center text-sm p-0 relative","focus-within:relative focus-within:z-20",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Ne=e.defineComponent({inheritAttrs:!1,__name:"CalendarCellTrigger",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarCellTrigger),e.mergeProps(n.$attrs,{class:e.unref(a)("inline-flex h-8 w-8 items-center justify-center whitespace-nowrap rounded-full text-sm font-normal","ring-offset-background transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50","hover:bg-accent hover:text-accent-foreground","aria-selected:bg-primary aria-selected:text-primary-foreground aria-selected:font-medium","aria-selected:hover:bg-primary aria-selected:hover:text-primary-foreground","aria-selected:focus:bg-primary aria-selected:focus:text-primary-foreground",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),jr={class:"mt-4 flex flex-col gap-y-4 sm:flex-row sm:gap-x-4 sm:gap-y-0"},ze=e.defineComponent({inheritAttrs:!1,__name:"Calendar",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarRoot),e.mergeProps(n.$attrs,{class:e.unref(a)("p-3",o.class)}),{default:e.withCtx(({grid:i,weekDays:c})=>[e.createVNode(we,null,{default:e.withCtx(()=>[e.createVNode(Be),e.createVNode(Ce),e.createVNode(ye)]),_:1}),e.createElementVNode("div",jr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i,d=>(e.openBlock(),e.createBlock($e,{key:d.value.toString()},{default:e.withCtx(()=>[e.createVNode(xe,null,{default:e.withCtx(()=>[e.createVNode(j,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c,m=>(e.openBlock(),e.createBlock(Pe,{key:m},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m),1)]),_:2},1024))),128))]),_:2},1024)]),_:2},1024),e.createVNode(Se,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.rows,(m,w)=>(e.openBlock(),e.createBlock(j,{key:`weekDate-${w}`},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m,f=>(e.openBlock(),e.createBlock(Ee,{key:f.toString(),date:f},{default:e.withCtx(()=>[e.createVNode(Ne,{day:f,month:d.value},null,8,["day","month"])]),_:2},1032,["date"]))),128))]),_:2},1024))),128))]),_:2},1024)]),_:2},1024))),128))])]),_:1},16,["class"]))}}),Lr={class:"mt-4 flex flex-col gap-y-4 sm:flex-row sm:gap-x-4 sm:gap-y-0"},Gr=e.defineComponent({inheritAttrs:!1,__name:"DateRangePicker",props:{modelValue:{},numberOfMonths:{default:2},placeholder:{},class:{},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:o}){const n=t,r=o;function i(c){r("update:modelValue",c)}return(c,d)=>(e.openBlock(),e.createBlock(e.unref(l.DateRangePickerRoot),e.mergeProps(c.$attrs,{"model-value":t.modelValue,"number-of-months":t.numberOfMonths,disabled:t.disabled,"onUpdate:modelValue":i}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.DateRangePickerField),{class:e.normalizeClass(e.unref(a)("flex h-10 w-full items-center rounded-lg border border-input bg-background px-3 py-2 text-sm text-foreground shadow-depth-1","ring-offset-background","focus-within:outline-none focus-within:ring-2 focus-within:ring-primary/20 focus-within:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",n.class))},{default:e.withCtx(({segments:m})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m,w=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:w.part},[w.part==="literal"?(e.openBlock(),e.createBlock(e.unref(l.DateRangePickerInput),{key:0,part:w.part,class:e.normalizeClass(e.unref(a)("text-muted-foreground"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.value),1)]),_:2},1032,["part","class"])):(e.openBlock(),e.createBlock(e.unref(l.DateRangePickerInput),{key:1,part:w.part,class:e.normalizeClass(e.unref(a)("inline-flex items-center justify-center rounded-md px-1 text-foreground","focus:outline-none focus:bg-accent focus:text-accent-foreground"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(w.value),1)]),_:2},1032,["part","class"]))],64))),128))]),_:1},8,["class"]),e.createVNode(e.unref(l.DateRangePickerCalendar),{class:"p-3"},{default:e.withCtx(({weekDays:m,grid:w})=>[e.createVNode(e.unref(l.DateRangePickerHeader),{class:"flex justify-between items-center pt-1 relative"},{default:e.withCtx(()=>[e.createVNode(e.unref(l.DateRangePickerPrev),{class:e.normalizeClass(e.unref(a)("inline-flex h-7 w-7 items-center justify-center rounded-md border-0 bg-transparent","hover:bg-accent hover:text-accent-foreground"))},{default:e.withCtx(()=>[...d[0]||(d[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m15 18-6-6 6-6"})],-1)])]),_:1},8,["class"]),e.createVNode(e.unref(l.DateRangePickerHeading),{class:"text-sm font-medium"}),e.createVNode(e.unref(l.DateRangePickerNext),{class:e.normalizeClass(e.unref(a)("inline-flex h-7 w-7 items-center justify-center rounded-md border-0 bg-transparent","hover:bg-accent hover:text-accent-foreground"))},{default:e.withCtx(()=>[...d[1]||(d[1]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1)])]),_:1},8,["class"])]),_:1}),e.createElementVNode("div",Lr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w,f=>(e.openBlock(),e.createBlock(e.unref(l.DateRangePickerGrid),{key:f.value.toString(),class:"w-full border-collapse space-y-1"},{default:e.withCtx(()=>[e.createVNode(e.unref(l.DateRangePickerGridHead),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.DateRangePickerGridRow),{class:"flex"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m,_=>(e.openBlock(),e.createBlock(e.unref(l.DateRangePickerHeadCell),{key:_,class:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(_),1)]),_:2},1024))),128))]),_:2},1024)]),_:2},1024),e.createVNode(e.unref(l.DateRangePickerGridBody),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.rows,(_,g)=>(e.openBlock(),e.createBlock(e.unref(l.DateRangePickerGridRow),{key:`weekDate-${g}`,class:"flex"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_,h=>(e.openBlock(),e.createBlock(e.unref(l.DateRangePickerCell),{key:h.toString(),date:h,class:e.normalizeClass(e.unref(a)("h-8 w-8 text-center text-sm p-0 relative","focus-within:relative focus-within:z-20"))},{default:e.withCtx(()=>[e.createVNode(e.unref(l.DateRangePickerCellTrigger),{day:h,month:f.value,class:e.normalizeClass(e.unref(a)("inline-flex h-8 w-8 items-center justify-center whitespace-nowrap rounded-full text-sm font-normal","ring-offset-background transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50","hover:bg-accent hover:text-accent-foreground","aria-selected:bg-primary aria-selected:text-primary-foreground aria-selected:font-medium"))},null,8,["day","month","class"])]),_:2},1032,["date","class"]))),128))]),_:2},1024))),128))]),_:2},1024)]),_:2},1024))),128))])]),_:1})]),_:1},16,["model-value","number-of-months","disabled"]))}}),Hr=["value","disabled"],A=e.defineComponent({__name:"TimePickerSegment",props:{type:{},value:{},hour12:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},class:{}},emits:["update:value","advance"],setup(t,{expose:o,emit:n}){const r=t,i=n,c=e.ref(null),d=e.ref(""),m=e.computed(()=>{switch(r.type){case"hour":return r.hour12?12:23;case"minute":case"second":return 59;case"ampm":return 1;default:return 59}}),w=e.computed(()=>r.type==="hour"&&r.hour12?1:0),f=e.computed(()=>r.type==="ampm"?r.value===0?"AM":"PM":String(r.value).padStart(2,"0"));function _(p){const b=w.value,C=m.value,$=C-b+1;return p>C?b+(p-b)%$:p<b?C-(b-p-1)%$:p}function g(){r.disabled||(r.type==="ampm"?i("update:value",r.value===0?1:0):i("update:value",_(r.value+1)))}function h(){r.disabled||(r.type==="ampm"?i("update:value",r.value===0?1:0):i("update:value",_(r.value-1)))}function u(p){if(!r.disabled){if(p.key==="ArrowUp"){p.preventDefault(),g();return}if(p.key==="ArrowDown"){p.preventDefault(),h();return}if(r.type==="ampm"){p.key==="a"||p.key==="A"?(p.preventDefault(),i("update:value",0)):(p.key==="p"||p.key==="P")&&(p.preventDefault(),i("update:value",1));return}if(/^[0-9]$/.test(p.key)){p.preventDefault();const b=p.key,C=d.value+b,$=parseInt(C,10),Ia=Math.floor(m.value/10);if(d.value==="")if(parseInt(b,10)>Ia){const G=Math.max(w.value,Math.min(m.value,parseInt(b,10)));i("update:value",G),d.value="",e.nextTick(()=>i("advance"))}else d.value=b;else{const G=Math.max(w.value,Math.min(m.value,$));i("update:value",G),d.value="",e.nextTick(()=>i("advance"))}}}}function y(){var p;d.value="",(p=c.value)==null||p.select()}function B(){d.value=""}function k(){var p;(p=c.value)==null||p.focus()}return o({focus:k}),(p,b)=>(e.openBlock(),e.createElementBlock("input",{ref_key:"inputRef",ref:c,readonly:"",value:f.value,disabled:t.disabled,class:e.normalizeClass(e.unref(a)("w-8 text-center text-sm tabular-nums caret-transparent","bg-transparent outline-none select-all","rounded-md py-1","focus:bg-primary/10 focus:text-foreground","disabled:cursor-not-allowed disabled:opacity-50","cursor-default",t.type==="ampm"&&"w-10 text-xs font-medium",r.class)),onKeydown:u,onFocus:y,onBlur:B},null,42,Hr))}}),De=e.defineComponent({__name:"TimePicker",props:{modelValue:{},hour12:{type:Boolean,default:!1},granularity:{default:"minute"},class:{},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:o}){const n=t,r=o,i=e.ref(null),c=e.ref(null),d=e.ref(null),m=e.ref(null),w=e.computed(()=>n.modelValue??{hour:0,minute:0,second:0}),f=e.computed(()=>w.value.hour>=12?1:0),_=e.computed(()=>{if(!n.hour12)return w.value.hour;const k=w.value.hour%12;return k===0?12:k});function g(k,p){const b={...w.value};if(k==="hour"&&n.hour12){const C=w.value.hour>=12;let $=p;p===12?$=C?12:0:$=C?p+12:p,b.hour=$}else b[k]=p;r("update:modelValue",b)}function h(k){const p={...w.value},b=p.hour;k===1&&b<12?p.hour=b+12:k===0&&b>=12&&(p.hour=b-12),r("update:modelValue",p)}function u(){var k;(k=c.value)==null||k.focus()}function y(){var k,p;n.granularity==="second"?(k=d.value)==null||k.focus():n.hour12&&((p=m.value)==null||p.focus())}function B(){var k;n.hour12&&((k=m.value)==null||k.focus())}return(k,p)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("inline-flex items-center gap-0.5 px-3 py-2","border border-input rounded-lg bg-background","shadow-depth-1","focus-within:ring-2 focus-within:ring-primary/20 focus-within:border-primary","transition-all duration-150 ease-out",t.disabled&&"opacity-50 cursor-not-allowed",n.class))},[e.createVNode(A,{ref_key:"hourRef",ref:i,type:"hour",value:_.value,hour12:t.hour12,disabled:t.disabled,"onUpdate:value":p[0]||(p[0]=b=>g("hour",b)),onAdvance:u},null,8,["value","hour12","disabled"]),p[4]||(p[4]=e.createElementVNode("span",{class:"text-sm text-muted-foreground select-none"},":",-1)),e.createVNode(A,{ref_key:"minuteRef",ref:c,type:"minute",value:w.value.minute,disabled:t.disabled,"onUpdate:value":p[1]||(p[1]=b=>g("minute",b)),onAdvance:y},null,8,["value","disabled"]),t.granularity==="second"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[p[3]||(p[3]=e.createElementVNode("span",{class:"text-sm text-muted-foreground select-none"},":",-1)),e.createVNode(A,{ref_key:"secondRef",ref:d,type:"second",value:w.value.second,disabled:t.disabled,"onUpdate:value":p[2]||(p[2]=b=>g("second",b)),onAdvance:B},null,8,["value","disabled"])],64)):e.createCommentVNode("",!0),t.hour12?(e.openBlock(),e.createBlock(A,{key:1,ref_key:"ampmRef",ref:m,type:"ampm",value:f.value,disabled:t.disabled,class:"ml-1","onUpdate:value":h},null,8,["value","disabled"])):e.createCommentVNode("",!0)],2))}}),Fr=["disabled"],Or={class:"flex items-center justify-center"},Ur=e.defineComponent({__name:"DateTimePicker",props:{modelValue:{},hour12:{type:Boolean,default:!1},granularity:{default:"minute"},class:{},disabled:{type:Boolean},placeholder:{default:"Pick date and time"}},emits:["update:modelValue"],setup(t,{emit:o}){const n=t,r=o,i=e.computed(()=>{if(!n.modelValue)return"";const f=n.modelValue,_=`${f.year}-${String(f.month).padStart(2,"0")}-${String(f.day).padStart(2,"0")}`;let g;if(n.hour12){const h=f.hour%12,u=h===0?12:h,y=f.hour>=12?"PM":"AM";g=`${u}:${String(f.minute).padStart(2,"0")}`,n.granularity==="second"&&(g+=`:${String(f.second).padStart(2,"0")}`),g+=` ${y}`}else g=`${String(f.hour).padStart(2,"0")}:${String(f.minute).padStart(2,"0")}`,n.granularity==="second"&&(g+=`:${String(f.second).padStart(2,"0")}`);return`${_} ${g}`}),c=e.computed(()=>n.modelValue),d=e.computed(()=>n.modelValue?{hour:n.modelValue.hour,minute:n.modelValue.minute,second:n.modelValue.second}:{hour:0,minute:0,second:0});function m(f){if(!f)return;const _=n.modelValue,g=(_==null?void 0:_.hour)??0,h=(_==null?void 0:_.minute)??0,u=(_==null?void 0:_.second)??0,y=new S.CalendarDateTime(f.year,f.month,f.day,g,h,u);r("update:modelValue",y)}function w(f){const _=n.modelValue,g=(_==null?void 0:_.year)??new Date().getFullYear(),h=(_==null?void 0:_.month)??new Date().getMonth()+1,u=(_==null?void 0:_.day)??new Date().getDate(),y=new S.CalendarDateTime(g,h,u,f.hour,f.minute,f.second??0);r("update:modelValue",y)}return(f,_)=>(e.openBlock(),e.createBlock(e.unref(l.PopoverRoot),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.PopoverTrigger),{"as-child":""},{default:e.withCtx(()=>[e.createElementVNode("button",{type:"button",disabled:t.disabled,class:e.normalizeClass(e.unref(a)("h-10 w-full rounded-lg border border-input bg-background px-3 text-sm shadow-depth-1 text-left flex items-center gap-2","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/20 focus-visible:border-primary","disabled:cursor-not-allowed disabled:opacity-50","transition-all duration-150 ease-out",!t.modelValue&&"text-muted-foreground",n.class))},[e.createVNode(e.unref(H.CalendarIcon),{class:"h-4 w-4 shrink-0 text-muted-foreground"}),e.createElementVNode("span",null,e.toDisplayString(i.value||t.placeholder),1)],10,Fr)]),_:1}),e.createVNode(e.unref(l.PopoverPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.PopoverContent),{"side-offset":4,align:"start",class:e.normalizeClass(e.unref(a)("z-depth-3 w-auto rounded-md border bg-popover p-4 text-popover-foreground shadow-depth-3 outline-none","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2"))},{default:e.withCtx(()=>[e.createVNode(ze,{"model-value":c.value,"onUpdate:modelValue":m},null,8,["model-value"]),e.createVNode(he,{class:"my-3"}),e.createElementVNode("div",Or,[e.createVNode(De,{"model-value":d.value,hour12:t.hour12,granularity:t.granularity,disabled:t.disabled,"onUpdate:modelValue":w},null,8,["model-value","hour12","granularity","disabled"])])]),_:1},8,["class"])]),_:1})]),_:1}))}}),Kr=e.defineComponent({inheritAttrs:!1,__name:"Drawer",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogRoot),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Wr=e.defineComponent({inheritAttrs:!1,__name:"DrawerTrigger",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogTrigger),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),qr=e.defineComponent({inheritAttrs:!1,__name:"DrawerClose",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogClose),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Yr=e.defineComponent({inheritAttrs:!1,__name:"DrawerOverlay",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogOverlay),e.mergeProps(n.$attrs,{class:e.unref(a)("fixed inset-0 z-50 bg-black/80","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",o.class)}),null,16,["class"]))}}),Zr=e.defineComponent({inheritAttrs:!1,__name:"DrawerContent",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogPortal),null,{default:e.withCtx(()=>[e.createVNode(Yr),e.createVNode(e.unref(l.DialogContent),e.mergeProps(n.$attrs,{class:e.unref(a)("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background shadow-depth-5","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",o.class)}),{default:e.withCtx(()=>[r[0]||(r[0]=e.createElementVNode("div",{class:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"},null,-1)),e.renderSlot(n.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),Xr=e.defineComponent({__name:"DrawerHeader",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("grid gap-1.5 p-4 text-center sm:text-left",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Jr=e.defineComponent({__name:"DrawerFooter",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("mt-auto flex flex-col gap-2 p-4",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Qr=e.defineComponent({inheritAttrs:!1,__name:"DrawerTitle",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogTitle),e.mergeProps(n.$attrs,{class:e.unref(a)("text-lg font-semibold leading-none tracking-tight",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),vr=e.defineComponent({inheritAttrs:!1,__name:"DrawerDescription",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogDescription),e.mergeProps(n.$attrs,{class:e.unref(a)("text-sm text-muted-foreground",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Te=Symbol("carousel");function E(){const t=e.inject(Te);if(!t)throw new Error("useCarousel must be used within a <Carousel /> component");return t}function es(t){e.provide(Te,t)}const ts=e.defineComponent({__name:"Carousel",props:{orientation:{default:"horizontal"},class:{}},setup(t){const o=t,n=e.ref(),r=e.ref(!1),i=e.ref(!0);function c(){const f=n.value;f&&(o.orientation==="horizontal"?(r.value=f.scrollLeft>0,i.value=f.scrollLeft<f.scrollWidth-f.clientWidth-1):(r.value=f.scrollTop>0,i.value=f.scrollTop<f.scrollHeight-f.clientHeight-1))}function d(){const f=n.value;f&&(o.orientation==="horizontal"?f.scrollBy({left:-f.clientWidth,behavior:"smooth"}):f.scrollBy({top:-f.clientHeight,behavior:"smooth"}),setTimeout(c,350))}function m(){const f=n.value;f&&(o.orientation==="horizontal"?f.scrollBy({left:f.clientWidth,behavior:"smooth"}):f.scrollBy({top:f.clientHeight,behavior:"smooth"}),setTimeout(c,350))}const w={canScrollPrev:r,canScrollNext:i,scrollPrev:d,scrollNext:m,orientation:e.toRef(o,"orientation"),containerRef:n};return es(w),(f,_)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("relative",o.class)),role:"region","aria-roledescription":"carousel"},[e.renderSlot(f.$slots,"default")],2))}}),os={class:"overflow-hidden"},ns=e.defineComponent({__name:"CarouselContent",props:{class:{}},setup(t){const o=t,{orientation:n,containerRef:r}=E();function i(){const{canScrollPrev:c,canScrollNext:d}=E(),m=r.value;m&&(n.value==="horizontal"?(c.value=m.scrollLeft>0,d.value=m.scrollLeft<m.scrollWidth-m.clientWidth-1):(c.value=m.scrollTop>0,d.value=m.scrollTop<m.scrollHeight-m.clientHeight-1))}return e.onMounted(()=>{var c;(c=r.value)==null||c.addEventListener("scroll",i,{passive:!0}),i()}),e.onUnmounted(()=>{var c;(c=r.value)==null||c.removeEventListener("scroll",i)}),(c,d)=>(e.openBlock(),e.createElementBlock("div",os,[e.createElementVNode("div",{ref:m=>{r.value=m},class:e.normalizeClass(e.unref(a)("flex",e.unref(n)==="vertical"&&"-mt-4 flex-col",e.unref(n)!=="vertical"&&"-ml-4",o.class)),style:e.normalizeStyle({scrollSnapType:e.unref(n)==="vertical"?"y mandatory":"x mandatory",overflow:"auto",scrollbarWidth:"none"})},[e.renderSlot(c.$slots,"default")],6)]))}}),rs=e.defineComponent({__name:"CarouselItem",props:{class:{}},setup(t){const o=t,{orientation:n}=E();return(r,i)=>(e.openBlock(),e.createElementBlock("div",{role:"group","aria-roledescription":"slide",class:e.normalizeClass(e.unref(a)("min-w-0 shrink-0 grow-0 basis-full",e.unref(n)==="vertical"?"pt-4":"pl-4",o.class)),style:{"scroll-snap-align":"start"}},[e.renderSlot(r.$slots,"default")],2))}}),ss=["disabled"],as=e.defineComponent({__name:"CarouselPrevious",props:{class:{}},setup(t){const o=t,{orientation:n,scrollPrev:r,canScrollPrev:i}=E();return(c,d)=>(e.openBlock(),e.createElementBlock("button",{disabled:!e.unref(i),class:e.normalizeClass(e.unref(a)("absolute h-8 w-8 rounded-full inline-flex items-center justify-center border bg-background shadow-depth-1 hover:shadow-depth-2 transition-elevation disabled:opacity-50",e.unref(n)==="vertical"?"-top-12 left-1/2 -translate-x-1/2 rotate-90":"-left-12 top-1/2 -translate-y-1/2",o.class)),onClick:d[0]||(d[0]=(...m)=>e.unref(r)&&e.unref(r)(...m))},[...d[1]||(d[1]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m15 18-6-6 6-6"})],-1),e.createElementVNode("span",{class:"sr-only"},"Previous slide",-1)])],10,ss))}}),ls=["disabled"],cs=e.defineComponent({__name:"CarouselNext",props:{class:{}},setup(t){const o=t,{orientation:n,scrollNext:r,canScrollNext:i}=E();return(c,d)=>(e.openBlock(),e.createElementBlock("button",{disabled:!e.unref(i),class:e.normalizeClass(e.unref(a)("absolute h-8 w-8 rounded-full inline-flex items-center justify-center border bg-background shadow-depth-1 hover:shadow-depth-2 transition-elevation disabled:opacity-50",e.unref(n)==="vertical"?"-bottom-12 left-1/2 -translate-x-1/2 rotate-90":"-right-12 top-1/2 -translate-y-1/2",o.class)),onClick:d[0]||(d[0]=(...m)=>e.unref(r)&&e.unref(r)(...m))},[...d[1]||(d[1]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1),e.createElementVNode("span",{class:"sr-only"},"Next slide",-1)])],10,ls))}}),is=e.defineComponent({inheritAttrs:!1,__name:"ResizablePanelGroup",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.SplitterGroup),e.mergeProps(n.$attrs,{class:e.unref(a)("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),ds=e.defineComponent({inheritAttrs:!1,__name:"ResizablePanel",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.SplitterPanel),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),ps={key:0,class:"z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border"},fs=e.defineComponent({inheritAttrs:!1,__name:"ResizableHandle",props:{class:{},withHandle:{type:Boolean}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.SplitterResizeHandle),e.mergeProps(n.$attrs,{class:e.unref(a)("relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",o.class)}),{default:e.withCtx(()=>[t.withHandle?(e.openBlock(),e.createElementBlock("div",ps,[...r[0]||(r[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2",class:"h-2.5 w-2.5"},[e.createElementVNode("circle",{cx:"12",cy:"9",r:"1"}),e.createElementVNode("circle",{cx:"12",cy:"15",r:"1"})],-1)])])):e.createCommentVNode("",!0)]),_:1},16,["class"]))}}),ms=e.defineComponent({inheritAttrs:!1,__name:"InputOTP",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.PinInputRoot),e.mergeProps(n.$attrs,{class:e.unref(a)("flex items-center gap-2 has-[:disabled]:opacity-50",o.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),hs=e.defineComponent({__name:"InputOTPGroup",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("flex items-center",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),gs=e.defineComponent({inheritAttrs:!1,__name:"InputOTPSlot",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.PinInputInput),e.mergeProps(n.$attrs,{class:e.unref(a)("relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md shadow-depth-1","focus:z-10 focus:ring-2 focus:ring-ring focus:ring-offset-background",o.class)}),null,16,["class"]))}}),us={},_s={role:"separator"};function ks(t,o){return e.openBlock(),e.createElementBlock("div",_s,[...o[0]||(o[0]=[e.createElementVNode("span",null,"-",-1)])])}const bs=z(us,[["render",ks]]),ws=e.defineComponent({inheritAttrs:!1,__name:"AspectRatio",setup(t){return(o,n)=>(e.openBlock(),e.createBlock(e.unref(l.AspectRatio),e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},16))}}),Cs=e.defineComponent({__name:"Spinner",props:{size:{default:"default"},class:{}},setup(t){const o=t,n=e.computed(()=>({sm:"h-4 w-4",default:"h-6 w-6",lg:"h-8 w-8"})[o.size]);return(r,i)=>(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(e.unref(a)("animate-spin text-muted-foreground",n.value,o.class)),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[...i[0]||(i[0]=[e.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),e.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1)])],2))}}),Bs=e.defineComponent({__name:"Kbd",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("kbd",{class:e.normalizeClass(e.unref(a)("pointer-events-none inline-flex h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[10px] font-medium text-muted-foreground opacity-100",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),ys=e.defineComponent({__name:"Empty",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("flex flex-col items-center justify-center py-12 text-center",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),$s={},xs={class:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-muted"};function Ss(t,o){return e.openBlock(),e.createElementBlock("div",xs,[e.renderSlot(t.$slots,"default")])}const Ps=z($s,[["render",Ss]]),Es=e.defineComponent({__name:"EmptyTitle",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("h3",{class:e.normalizeClass(e.unref(a)("mt-4 text-lg font-semibold",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Ns=e.defineComponent({__name:"EmptyDescription",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("p",{class:e.normalizeClass(e.unref(a)("mt-2 text-sm text-muted-foreground max-w-sm",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),zs=e.defineComponent({__name:"TypographyH1",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("h1",{class:e.normalizeClass(e.unref(a)("scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Ds=e.defineComponent({__name:"TypographyH2",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("h2",{class:e.normalizeClass(e.unref(a)("scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Ts=e.defineComponent({__name:"TypographyH3",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("h3",{class:e.normalizeClass(e.unref(a)("scroll-m-20 text-2xl font-semibold tracking-tight",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),As=e.defineComponent({__name:"TypographyH4",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("h4",{class:e.normalizeClass(e.unref(a)("scroll-m-20 text-xl font-semibold tracking-tight",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Ms=e.defineComponent({__name:"TypographyP",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("p",{class:e.normalizeClass(e.unref(a)("leading-7 [&:not(:first-child)]:mt-6",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Vs=e.defineComponent({__name:"TypographyBlockquote",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("blockquote",{class:e.normalizeClass(e.unref(a)("mt-6 border-l-2 pl-6 italic",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Rs=e.defineComponent({__name:"TypographyInlineCode",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("code",{class:e.normalizeClass(e.unref(a)("relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Is=e.defineComponent({__name:"TypographyLead",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("p",{class:e.normalizeClass(e.unref(a)("text-xl text-muted-foreground",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),js=e.defineComponent({__name:"TypographyLarge",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("text-lg font-semibold",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Ls=e.defineComponent({__name:"TypographySmall",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("small",{class:e.normalizeClass(e.unref(a)("text-sm font-medium leading-none",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Gs=e.defineComponent({__name:"TypographyMuted",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("p",{class:e.normalizeClass(e.unref(a)("text-sm text-muted-foreground",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Hs=e.defineComponent({__name:"Field",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("space-y-2",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Fs=["for"],Os=e.defineComponent({__name:"FieldLabel",props:{class:{},for:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("label",{for:o.for,class:e.normalizeClass(e.unref(a)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",o.class))},[e.renderSlot(n.$slots,"default")],10,Fs))}}),Us=e.defineComponent({__name:"FieldDescription",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("p",{class:e.normalizeClass(e.unref(a)("text-sm text-muted-foreground",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Ks=e.defineComponent({__name:"FieldError",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("p",{class:e.normalizeClass(e.unref(a)("text-sm font-medium text-destructive",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Ws=e.defineComponent({__name:"InputGroup",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("flex h-10 w-full rounded-md border border-input bg-background text-sm","ring-offset-background focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2","shadow-depth-1",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),qs=e.defineComponent({__name:"InputGroupAddon",props:{class:{},position:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("flex items-center px-3 text-sm text-muted-foreground",t.position==="start"&&"border-r",t.position==="end"&&"border-l",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Ys=["type","disabled","placeholder","value"],Zs=e.defineComponent({__name:"InputGroupInput",props:{class:{},type:{default:"text"},disabled:{type:Boolean},placeholder:{},modelValue:{}},emits:["update:modelValue"],setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("input",{type:t.type,class:e.normalizeClass(e.unref(a)("flex h-full w-full bg-transparent px-3 py-2 text-sm","placeholder:text-muted-foreground","focus-visible:outline-none","disabled:cursor-not-allowed disabled:opacity-50",o.class)),disabled:t.disabled,placeholder:t.placeholder,value:t.modelValue,onInput:r[0]||(r[0]=i=>n.$emit("update:modelValue",i.target.value))},null,42,Ys))}}),Xs=e.defineComponent({__name:"ButtonGroup",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("inline-flex -space-x-px rounded-md shadow-depth-1","[&>button]:rounded-none [&>button]:shadow-none","[&>button:first-child]:rounded-l-md [&>button:last-child]:rounded-r-md","[&>button]:border-r-0 [&>button:last-child]:border-r",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Js={class:"relative"},Qs=e.defineComponent({inheritAttrs:!1,__name:"NativeSelect",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",Js,[e.createElementVNode("select",e.mergeProps({class:e.unref(a)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 pr-10 text-sm","ring-offset-background","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","shadow-depth-1",o.class)},n.$attrs),[e.renderSlot(n.$slots,"default")],16),r[0]||(r[0]=e.createElementVNode("svg",{class:"pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 h-4 w-4 opacity-50",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[e.createElementVNode("path",{d:"m6 9 6 6 6-6"})],-1))]))}}),vs={class:"absolute left-2 flex h-4 w-4 items-center justify-center"},Ae=e.defineComponent({inheritAttrs:!1,__name:"MultiSelectItem",props:{class:{},value:{},label:{},selected:{type:Boolean},disabled:{type:Boolean}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxItem),e.mergeProps(n.$attrs,{value:o.value,disabled:o.disabled,class:e.unref(a)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o.class)}),{default:e.withCtx(()=>[e.createElementVNode("span",vs,[e.createVNode(e.unref(l.ComboboxItemIndicator),null,{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"M20 6 9 17l-5-5"})],-1)])]),_:1})]),e.createElementVNode("span",null,e.toDisplayString(o.label),1)]),_:1},16,["value","disabled","class"]))}}),ea=["disabled","onPointerdown"],ta={key:1,class:"text-sm text-muted-foreground"},oa=e.defineComponent({inheritAttrs:!1,__name:"MultiSelect",props:{modelValue:{default:()=>[]},options:{default:()=>[]},placeholder:{default:"Select items..."},searchable:{type:Boolean,default:!0},maxItems:{},class:{},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:o}){const n=t,r=o,i=e.ref(!1),c=e.ref(""),d=e.computed({get:()=>n.modelValue,set:g=>r("update:modelValue",g)}),m=e.computed(()=>{if(!c.value)return n.options;const g=c.value.toLowerCase();return n.options.filter(h=>h.label.toLowerCase().includes(g))}),w=e.computed(()=>n.modelValue.map(g=>n.options.find(h=>h.value===g)).filter(Boolean)),f=e.computed(()=>n.maxItems!==void 0&&n.modelValue.length>=n.maxItems);function _(g){r("update:modelValue",n.modelValue.filter(h=>h!==g))}return(g,h)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxRoot),e.mergeProps({modelValue:d.value,"onUpdate:modelValue":h[1]||(h[1]=u=>d.value=u),open:i.value,"onUpdate:open":h[2]||(h[2]=u=>i.value=u),searchTerm:c.value,"onUpdate:searchTerm":h[3]||(h[3]=u=>c.value=u),multiple:"",disabled:t.disabled},g.$attrs,{class:e.unref(a)("relative",n.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.ComboboxAnchor),{class:e.normalizeClass(e.unref(a)("flex min-h-10 w-full flex-wrap items-center gap-1 rounded-lg border border-input bg-background px-3 py-2 text-sm ring-offset-background shadow-depth-1","focus-within:outline-none focus-within:ring-2 focus-within:ring-primary/20 focus-within:ring-offset-2",t.disabled&&"cursor-not-allowed opacity-50"))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,u=>(e.openBlock(),e.createElementBlock("span",{key:u.value,class:"inline-flex items-center gap-1 rounded-md bg-muted px-2 py-0.5 text-xs font-medium text-foreground"},[e.createTextVNode(e.toDisplayString(u.label)+" ",1),e.createElementVNode("button",{type:"button",class:"ml-0.5 rounded-sm opacity-70 ring-offset-background hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-primary/20 focus:ring-offset-2",disabled:t.disabled,onPointerdown:e.withModifiers(y=>_(u.value),["prevent","stop"])},[...h[4]||(h[4]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-3 w-3"},[e.createElementVNode("path",{d:"M18 6 6 18"}),e.createElementVNode("path",{d:"m6 6 12 12"})],-1)])],40,ea)]))),128)),t.searchable?(e.openBlock(),e.createBlock(e.unref(l.ComboboxInput),{key:0,placeholder:w.value.length===0?t.placeholder:"",class:"ml-1 flex-1 bg-transparent text-sm text-foreground placeholder:text-muted-foreground outline-none disabled:cursor-not-allowed",disabled:t.disabled,onKeydown:h[0]||(h[0]=e.withKeys(e.withModifiers(()=>{},["prevent"]),["enter"]))},null,8,["placeholder","disabled"])):w.value.length===0?(e.openBlock(),e.createElementBlock("span",ta,e.toDisplayString(t.placeholder),1)):e.createCommentVNode("",!0),h[5]||(h[5]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"ml-auto h-4 w-4 shrink-0 opacity-50"},[e.createElementVNode("path",{d:"m6 9 6 6 6-6"})],-1))]),_:1},8,["class"]),e.createVNode(e.unref(l.ComboboxPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.ComboboxContent),{position:"popper",class:e.normalizeClass(e.unref(a)("relative z-depth-3 max-h-96 min-w-[var(--radix-combobox-trigger-width)] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-depth-3","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:translate-y-1 data-[side=top]:-translate-y-1","data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2"))},{default:e.withCtx(()=>[e.createVNode(e.unref(l.ComboboxViewport),{class:"p-1"},{default:e.withCtx(()=>[e.createVNode(e.unref(l.ComboboxEmpty),{class:"py-6 text-center text-sm text-muted-foreground"},{default:e.withCtx(()=>[...h[6]||(h[6]=[e.createTextVNode(" No results found. ",-1)])]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,u=>(e.openBlock(),e.createBlock(Ae,{key:u.value,value:u.value,label:u.label,selected:t.modelValue.includes(u.value),disabled:!t.modelValue.includes(u.value)&&f.value},null,8,["value","label","selected","disabled"]))),128))]),_:1})]),_:1},8,["class"])]),_:1})]),_:1},16,["modelValue","open","searchTerm","disabled","class"]))}}),na=["dir"],ra=e.defineComponent({__name:"Direction",props:{dir:{default:"ltr"}},setup(t){const o=t;return e.provide("direction",o.dir),(n,r)=>(e.openBlock(),e.createElementBlock("div",{dir:o.dir},[e.renderSlot(n.$slots,"default")],8,na))}}),sa=e.defineComponent({__name:"Toaster",props:{class:{},position:{}},setup(t){const o=t,n={"top-left":"top-0 left-0","top-right":"top-0 right-0","bottom-left":"bottom-0 left-0","bottom-right":"bottom-0 right-0","top-center":"top-0 left-1/2 -translate-x-1/2","bottom-center":"bottom-0 left-1/2 -translate-x-1/2"};return(r,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("fixed z-[100] flex max-h-screen w-full flex-col-reverse gap-2 p-4 sm:flex-col md:max-w-[420px]",n[t.position||"bottom-right"],o.class))},[e.renderSlot(r.$slots,"default")],2))}}),aa={class:"absolute inset-0 flex items-center justify-center pointer-events-none select-none overflow-hidden","aria-hidden":"true"},la={class:"text-[120px] font-bold text-muted-foreground/50 tracking-tight"},ca={class:"relative z-10 flex gap-4"},ia=["aria-checked","aria-label","tabindex","onClick","onKeydown"],da={class:"preview-content absolute inset-0 flex flex-col items-center justify-center p-4"},pa=z(e.defineComponent({__name:"ThemeSelector",props:{modelValue:{},options:{default:()=>[{value:"light",label:"Light",preview:"light"},{value:"dark",label:"Dark",preview:"dark"}]},class:{}},emits:["update:modelValue"],setup(t,{emit:o}){const n=t,r=o,i=e.ref(-1),c=e.ref([]);e.watch(()=>n.modelValue,g=>{const h=n.options.findIndex(u=>u.value===g);h!==-1&&(i.value=h)},{immediate:!0});const d=e.computed({get:()=>n.modelValue,set:g=>r("update:modelValue",g)});function m(g){d.value=g}function w(g,h){var B,k,p,b;const{key:u}=g,y=n.options.length-1;switch(u){case"ArrowRight":case"ArrowDown":g.preventDefault(),i.value=h<y?h+1:0,(B=c.value[i.value])==null||B.focus();break;case"ArrowLeft":case"ArrowUp":g.preventDefault(),i.value=h>0?h-1:y,(k=c.value[i.value])==null||k.focus();break;case"Enter":case" ":g.preventDefault(),m(n.options[h].value);break;case"Home":g.preventDefault(),i.value=0,(p=c.value[0])==null||p.focus();break;case"End":g.preventDefault(),i.value=y,(b=c.value[y])==null||b.focus();break}}function f(g){switch(g){case"dark":return"bg-amber-500";case"light":default:return"bg-blue-500"}}const _=e.computed(()=>"COLORS");return(g,h)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("theme-selector relative",n.class)),role:"radiogroup","aria-label":"Theme selection"},[e.createElementVNode("div",aa,[e.createElementVNode("span",la,e.toDisplayString(_.value),1)]),e.createElementVNode("div",ca,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.options,(u,y)=>(e.openBlock(),e.createElementBlock("div",{key:u.value,ref_for:!0,ref_key:"optionRefs",ref:c,class:e.normalizeClass(["theme-option group cursor-pointer",{selected:t.modelValue===u.value}]),role:"radio","aria-checked":t.modelValue===u.value,"aria-label":u.label,tabindex:t.modelValue===u.value?0:-1,onClick:B=>m(u.value),onKeydown:B=>w(B,y)},[e.createElementVNode("div",{class:e.normalizeClass(["preview-card relative w-[120px] h-[100px] rounded-2xl border-2 transition-all duration-200 ease-out overflow-hidden",[(u.preview==="light","bg-card border shadow-depth-2 group-hover:shadow-depth-3"),t.modelValue===u.value?u.preview==="light"?"border-blue-500 ring-2 ring-blue-500/20":"border-amber-500 ring-2 ring-amber-500/20":""]])},[t.modelValue===u.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["selection-indicator absolute -top-1 -right-1 w-6 h-6 rounded-full flex items-center justify-center shadow-depth-2 transition-transform duration-200 scale-in",f(u.preview)])},[...h[0]||(h[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round",class:"text-white"},[e.createElementVNode("polyline",{points:"20 6 9 17 4 12"})],-1)])],2)):e.createCommentVNode("",!0),e.createElementVNode("div",da,[h[1]||(h[1]=e.createElementVNode("div",{class:"w-full h-2 rounded mb-2 bg-muted"},null,-1)),h[2]||(h[2]=e.createElementVNode("div",{class:"w-3/4 h-2 rounded mb-3 bg-muted/50"},null,-1)),h[3]||(h[3]=e.createElementVNode("span",{class:"text-2xl font-semibold text-foreground"}," Aa ",-1)),e.createElementVNode("div",{class:e.normalizeClass(["mt-2 w-12 h-4 rounded",u.preview==="light"?"bg-blue-500":"bg-amber-500"])},null,2)])],2),e.createElementVNode("span",{class:e.normalizeClass(["option-label block mt-3 text-center text-sm font-medium transition-colors duration-200",[t.modelValue===u.value?u.preview==="light"?"text-blue-600 dark:text-blue-400":"text-amber-600 dark:text-amber-400":"text-muted-foreground group-hover:text-foreground"]])},e.toDisplayString(u.label),3)],42,ia))),128))])],2))}}),[["__scopeId","data-v-210de481"]]),fa=["onKeydown"],ma={class:"flex flex-col items-center gap-1"},ha=e.defineComponent({__name:"FeatureCard",props:{icon:{},title:{},description:{},selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{default:"default"},iconClass:{},class:{}},emits:["select"],setup(t,{emit:o}){const n=t,r=o,i=()=>{n.disabled||r("select")},c={default:{card:"p-6",iconWrapper:"w-14 h-14",icon:"w-6 h-6",title:"text-base",description:"text-sm",gap:"gap-3"},compact:{card:"p-4",iconWrapper:"w-10 h-10",icon:"w-5 h-5",title:"text-sm",description:"text-xs",gap:"gap-2"}},d=e.computed(()=>c[n.size]);return(m,w)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("relative flex flex-col items-center text-center rounded-2xl","bg-card","border border","shadow-depth-1","transition-all duration-200 ease-in-out",d.value.card,d.value.gap,!t.disabled&&["cursor-pointer","hover:-translate-y-0.5 hover:shadow-depth-2","active:translate-y-0 active:shadow-depth-1"],t.selected&&["border-primary","ring-1 ring-primary","scale-[1.02]"],t.disabled&&["opacity-50","cursor-not-allowed"],n.class)),role:"button",tabindex:"0",onClick:i,onKeydown:[e.withKeys(i,["enter"]),e.withKeys(e.withModifiers(i,["prevent"]),["space"])]},[t.selected?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a)("absolute -top-2 -right-2","flex items-center justify-center","w-6 h-6 rounded-full","bg-foreground","text-background","shadow-md","transition-transform duration-200","z-10"))},[...w[0]||(w[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round",class:"w-3.5 h-3.5"},[e.createElementVNode("path",{d:"M20 6 9 17l-5-5"})],-1)])],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a)("flex items-center justify-center rounded-xl","bg-primary",d.value.iconWrapper,t.iconClass))},[e.renderSlot(m.$slots,"icon",{},()=>[t.icon&&typeof t.icon!="string"?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon),{key:0,class:e.normalizeClass(e.unref(a)("text-primary-foreground",d.value.icon))},null,8,["class"])):t.icon&&typeof t.icon=="string"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(a)("text-primary-foreground font-semibold",d.value.icon))},e.toDisplayString(t.icon),3)):e.createCommentVNode("",!0)])],2),e.createElementVNode("div",ma,[e.createElementVNode("h3",{class:e.normalizeClass(e.unref(a)("font-semibold text-card-foreground",d.value.title))},e.toDisplayString(t.title),3),t.description?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(e.unref(a)("text-muted-foreground leading-relaxed",d.value.description))},e.toDisplayString(t.description),3)):e.createCommentVNode("",!0)])],42,fa))}}),ga={key:0,class:"progress-wrapper"},ua={class:"relative h-1 w-full overflow-hidden rounded-full bg-muted"},_a={class:"flex items-baseline gap-2"},ka={class:"text-3xl font-bold tracking-tight text-card-foreground"},ba={key:0,class:"mr-0.5 h-3 w-3",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},wa={key:1,class:"mr-0.5 h-3 w-3",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Ca={key:1,class:"text-sm text-muted-foreground"},Ba={key:2,class:"pt-2 text-xs text-muted-foreground border-t border-border/50"},ya=z(e.defineComponent({__name:"StatsCard",props:{title:{},value:{},subtitle:{},progress:{},badge:{},badgeVariant:{default:"default"},icon:{},trend:{},footer:{},class:{},elevation:{default:2},progressColor:{default:"auto"}},setup(t){const o=t,n=e.computed(()=>{const i=o.progress??0;return o.progressColor!=="auto"?{default:"bg-primary",warning:"bg-muted",danger:"bg-destructive",success:"bg-success"}[o.progressColor]||"bg-primary":i>=76?"bg-destructive":i>=51?"bg-muted":"bg-success"}),r=e.computed(()=>o.trend?o.trend.direction==="up"?"text-success":"text-destructive":"");return(i,c)=>(e.openBlock(),e.createBlock(e.unref(J),{class:e.normalizeClass(e.unref(a)("stats-card overflow-hidden",o.class)),elevation:t.elevation},{default:e.withCtx(()=>[e.createVNode(e.unref(Q),{class:"flex flex-row items-center justify-between pb-2"},{default:e.withCtx(()=>[e.createVNode(e.unref(v),{class:e.normalizeClass(e.unref(a)("text-sm font-medium text-card-foreground flex items-center gap-2"))},{default:e.withCtx(()=>[t.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon),{key:0,class:"h-4 w-4 text-muted-foreground"})):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.title),1)]),_:1},8,["class"]),t.badge?(e.openBlock(),e.createBlock(e.unref(re),{key:0,variant:t.badgeVariant},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.badge),1)]),_:1},8,["variant"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.unref(ee),{class:"space-y-3"},{default:e.withCtx(()=>[t.progress!==void 0?(e.openBlock(),e.createElementBlock("div",ga,[e.createElementVNode("div",ua,[e.createElementVNode("div",{class:e.normalizeClass(["h-full w-full flex-1 transition-all duration-500 ease-out",n.value]),style:e.normalizeStyle({transform:`translateX(-${100-t.progress}%)`})},null,6)])])):e.createCommentVNode("",!0),e.createElementVNode("div",_a,[e.createElementVNode("span",ka,e.toDisplayString(t.value),1),t.trend?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["flex items-center text-sm font-medium",r.value])},[t.trend.direction==="up"?(e.openBlock(),e.createElementBlock("svg",ba,[...c[0]||(c[0]=[e.createElementVNode("path",{d:"m18 15-6-6-6 6"},null,-1)])])):(e.openBlock(),e.createElementBlock("svg",wa,[...c[1]||(c[1]=[e.createElementVNode("path",{d:"m6 9 6 6 6-6"},null,-1)])])),e.createTextVNode(" "+e.toDisplayString(t.trend.value)+"% ",1)],2)):e.createCommentVNode("",!0)]),t.subtitle?(e.openBlock(),e.createElementBlock("p",Ca,e.toDisplayString(t.subtitle),1)):e.createCommentVNode("",!0),t.footer?(e.openBlock(),e.createElementBlock("p",Ba,e.toDisplayString(t.footer),1)):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["class","elevation"]))}}),[["__scopeId","data-v-7f0ae66f"]]),Me=Symbol("sidebar"),$a=e.defineComponent({__name:"SidebarProvider",props:{class:{},defaultOpen:{type:Boolean,default:!0}},setup(t){const o=t,n=e.ref(o.defaultOpen),r=()=>{n.value=!n.value};return e.provide(Me,{open:n,toggleSidebar:r}),(i,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("flex min-h-screen",o.class))},[e.renderSlot(i.$slots,"default")],2))}});function L(){const t=e.inject(Me);if(!t)throw new Error("useSidebar must be used within a SidebarProvider");return t}const xa=e.defineComponent({__name:"Sidebar",props:{class:{}},setup(t){const o=t,{open:n}=L();return(r,i)=>(e.openBlock(),e.createElementBlock("aside",{class:e.normalizeClass(e.unref(a)("flex h-full flex-col border-r bg-background transition-all duration-300",e.unref(n)?"w-64":"w-0 overflow-hidden border-r-0",o.class))},[e.renderSlot(r.$slots,"default")],2))}}),Sa=e.defineComponent({__name:"SidebarHeader",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("flex h-14 items-center border-b px-4",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Pa=e.defineComponent({__name:"SidebarContent",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("flex-1 overflow-auto py-2",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Ea=e.defineComponent({__name:"SidebarFooter",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("border-t p-4",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Na=e.defineComponent({__name:"SidebarGroup",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("px-2 py-2",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),za=e.defineComponent({__name:"SidebarGroupLabel",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("px-3 py-1.5 text-xs font-medium text-muted-foreground",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Da=e.defineComponent({__name:"SidebarMenu",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("ul",{class:e.normalizeClass(e.unref(a)("flex flex-col gap-1",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Ta=e.defineComponent({__name:"SidebarMenuItem",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(o.class)},[e.renderSlot(n.$slots,"default")],2))}}),Aa=e.defineComponent({__name:"SidebarMenuButton",props:{class:{},isActive:{type:Boolean}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(e.unref(a)("flex w-full items-center gap-2 rounded-md px-3 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",t.isActive&&"bg-accent text-accent-foreground",o.class))},[e.renderSlot(n.$slots,"default")],2))}}),Ma=e.defineComponent({__name:"SidebarTrigger",props:{class:{}},setup(t){const o=t,{toggleSidebar:n}=L();return(r,i)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(e.unref(a)("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 hover:bg-accent hover:text-accent-foreground h-10 w-10",o.class)),onClick:i[0]||(i[0]=(...c)=>e.unref(n)&&e.unref(n)(...c))},[...i[1]||(i[1]=[e.createStaticVNode('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="3" x2="21" y1="6" y2="6"></line><line x1="3" x2="21" y1="12" y2="12"></line><line x1="3" x2="21" y1="18" y2="18"></line></svg><span class="sr-only">Toggle sidebar</span>',2)])],2))}}),Va=e.defineComponent({__name:"SidebarSeparator",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{role:"separator",class:e.normalizeClass(e.unref(a)("mx-2 my-2 h-px bg-border",o.class))},null,2))}}),Ra=e.defineComponent({__name:"SidebarInset",props:{class:{}},setup(t){const o=t;return(n,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a)("flex-1 overflow-auto",o.class))},[e.renderSlot(n.$slots,"default")],2))}});Object.defineProperty(s,"CalendarDate",{enumerable:!0,get:()=>S.CalendarDate}),Object.defineProperty(s,"CalendarDateTime",{enumerable:!0,get:()=>S.CalendarDateTime}),Object.defineProperty(s,"getLocalTimeZone",{enumerable:!0,get:()=>S.getLocalTimeZone}),Object.defineProperty(s,"today",{enumerable:!0,get:()=>S.today}),s.Accordion=gn,s.AccordionContent=bn,s.AccordionItem=un,s.AccordionTrigger=_n,s.Alert=fo,s.AlertDescription=ho,s.AlertDialog=Zo,s.AlertDialogAction=on,s.AlertDialogCancel=nn,s.AlertDialogContent=Jo,s.AlertDialogDescription=tn,s.AlertDialogFooter=vo,s.AlertDialogHeader=Qo,s.AlertDialogOverlay=_e,s.AlertDialogPortal=ue,s.AlertDialogTitle=en,s.AlertDialogTrigger=Xo,s.AlertTitle=mo,s.AppFooter=Ke,s.AppHeader=Fe,s.AppLayout=He,s.AppMain=We,s.AppSidebar=Ue,s.AspectRatio=ws,s.Avatar=Lt,s.AvatarFallback=Ht,s.AvatarImage=Gt,s.Badge=re,s.Breadcrumb=rn,s.BreadcrumbEllipsis=pn,s.BreadcrumbItem=an,s.BreadcrumbLink=ln,s.BreadcrumbList=sn,s.BreadcrumbPage=cn,s.BreadcrumbSeparator=dn,s.Button=Pt,s.ButtonGroup=Xs,s.Calendar=ze,s.CalendarCell=Ee,s.CalendarCellTrigger=Ne,s.CalendarGrid=$e,s.CalendarGridBody=Se,s.CalendarGridHead=xe,s.CalendarGridRow=j,s.CalendarHeadCell=Pe,s.CalendarHeader=we,s.CalendarHeading=Ce,s.CalendarNext=ye,s.CalendarPrev=Be,s.Card=J,s.CardContent=ee,s.CardDescription=Et,s.CardFooter=Nt,s.CardHeader=Q,s.CardTitle=v,s.Carousel=ts,s.CarouselContent=ns,s.CarouselItem=rs,s.CarouselNext=cs,s.CarouselPrevious=as,s.Checkbox=Yt,s.CodePreview=yt,s.Collapsible=wn,s.CollapsibleContent=Bn,s.CollapsibleTrigger=Cn,s.Command=ke,s.CommandDialog=fr,s.CommandEmpty=lr,s.CommandGroup=cr,s.CommandInput=sr,s.CommandItem=ir,s.CommandLabel=pr,s.CommandList=ar,s.CommandSeparator=dr,s.ContextMenu=Mn,s.ContextMenuCheckboxItem=Ln,s.ContextMenuContent=Rn,s.ContextMenuGroup=Yn,s.ContextMenuItem=In,s.ContextMenuLabel=qn,s.ContextMenuRadioGroup=Fn,s.ContextMenuRadioItem=Hn,s.ContextMenuSeparator=Wn,s.ContextMenuShortcut=Zn,s.ContextMenuSub=On,s.ContextMenuSubContent=Kn,s.ContextMenuSubTrigger=Un,s.ContextMenuTrigger=Vn,s.DataTable=mt,s.DateRangePicker=Gr,s.DateTimePicker=Ur,s.Dialog=te,s.DialogClose=At,s.DialogContent=oe,s.DialogDescription=K,s.DialogFooter=O,s.DialogHeader=F,s.DialogOverlay=Tt,s.DialogPortal=Dt,s.DialogTitle=U,s.DialogTrigger=zt,s.Direction=ra,s.Drawer=Kr,s.DrawerClose=qr,s.DrawerContent=Zr,s.DrawerDescription=vr,s.DrawerFooter=Jr,s.DrawerHeader=Xr,s.DrawerTitle=Qr,s.DrawerTrigger=Wr,s.DropdownMenu=bo,s.DropdownMenuCheckboxItem=$o,s.DropdownMenuContent=Co,s.DropdownMenuGroup=Ao,s.DropdownMenuItem=Bo,s.DropdownMenuLabel=To,s.DropdownMenuRadioGroup=Po,s.DropdownMenuRadioItem=So,s.DropdownMenuSeparator=Do,s.DropdownMenuShortcut=Mo,s.DropdownMenuSub=Eo,s.DropdownMenuSubContent=zo,s.DropdownMenuSubTrigger=No,s.DropdownMenuTrigger=wo,s.Empty=ys,s.EmptyDescription=Ns,s.EmptyIcon=Ps,s.EmptyTitle=Es,s.FeatureCard=ha,s.Field=Hs,s.FieldDescription=Us,s.FieldError=Ks,s.FieldLabel=Os,s.HoverCard=Dn,s.HoverCardContent=An,s.HoverCardTrigger=Tn,s.Icon=$t,s.Input=It,s.InputGroup=Ws,s.InputGroupAddon=qs,s.InputGroupInput=Zs,s.InputOTP=ms,s.InputOTPGroup=hs,s.InputOTPSeparator=bs,s.InputOTPSlot=gs,s.Kbd=Bs,s.Label=jt,s.Menubar=mr,s.MenubarCheckboxItem=br,s.MenubarContent=ur,s.MenubarGroup=Er,s.MenubarItem=_r,s.MenubarLabel=Pr,s.MenubarMenu=hr,s.MenubarRadioGroup=Br,s.MenubarRadioItem=Cr,s.MenubarSeparator=Sr,s.MenubarShortcut=Nr,s.MenubarSub=yr,s.MenubarSubContent=xr,s.MenubarSubTrigger=$r,s.MenubarTrigger=gr,s.Modal=qe,s.ModalClose=Xe,s.ModalContent=Ye,s.ModalDescription=K,s.ModalFooter=O,s.ModalHeader=F,s.ModalTitle=U,s.ModalTrigger=Ze,s.MultiSelect=oa,s.MultiSelectItem=Ae,s.NativeSelect=Qs,s.NavigationMenu=Dr,s.NavigationMenuContent=Vr,s.NavigationMenuIndicator=Ir,s.NavigationMenuItem=Ar,s.NavigationMenuLink=Rr,s.NavigationMenuList=Tr,s.NavigationMenuTrigger=Mr,s.NavigationMenuViewport=be,s.Pagination=Xn,s.PaginationContent=Jn,s.PaginationEllipsis=nr,s.PaginationFirst=vn,s.PaginationItem=Qn,s.PaginationLast=or,s.PaginationLink=T,s.PaginationNext=tr,s.PaginationPrev=er,s.Popover=Io,s.PopoverContent=Lo,s.PopoverTrigger=jo,s.Progress=Sn,s.RadioGroup=Vo,s.RadioGroupItem=Ro,s.ResizableHandle=fs,s.ResizablePanel=ds,s.ResizablePanelGroup=is,s.ScrollArea=yn,s.ScrollBar=I,s.Select=Xt,s.SelectContent=Qt,s.SelectGroup=oo,s.SelectItem=eo,s.SelectLabel=no,s.SelectScrollDownButton=me,s.SelectScrollUpButton=fe,s.SelectSeparator=ro,s.SelectTrigger=Jt,s.SelectValue=to,s.Separator=he,s.Sheet=Go,s.SheetClose=Fo,s.SheetContent=Uo,s.SheetDescription=Yo,s.SheetFooter=Wo,s.SheetHeader=Ko,s.SheetTitle=qo,s.SheetTrigger=Ho,s.Sidebar=xa,s.SidebarContent=Pa,s.SidebarFooter=Ea,s.SidebarGroup=Na,s.SidebarGroupLabel=za,s.SidebarHeader=Sa,s.SidebarInset=Ra,s.SidebarMenu=Da,s.SidebarMenuButton=Aa,s.SidebarMenuItem=Ta,s.SidebarProvider=$a,s.SidebarSeparator=Va,s.SidebarTrigger=Ma,s.Skeleton=Pn,s.Slider=zn,s.Spinner=Cs,s.StatsCard=ya,s.Switch=Zt,s.Table=W,s.TableBody=Y,s.TableCaption=xn,s.TableCell=V,s.TableFooter=$n,s.TableHead=Z,s.TableHeader=q,s.TableRow=M,s.Tabs=so,s.TabsContent=co,s.TabsList=ao,s.TabsTrigger=lo,s.Textarea=po,s.ThemeSelector=pa,s.TimePicker=De,s.TimePickerSegment=A,s.Toast=se,s.ToastAction=ie,s.ToastClose=de,s.ToastDescription=ce,s.ToastTitle=le,s.ToastToaster=qt,s.ToastViewport=ae,s.Toaster=sa,s.Toggle=fn,s.ToggleGroup=mn,s.ToggleGroupItem=hn,s.Tooltip=go,s.TooltipContent=ko,s.TooltipProvider=uo,s.TooltipTrigger=_o,s.TypographyBlockquote=Vs,s.TypographyH1=zs,s.TypographyH2=Ds,s.TypographyH3=Ts,s.TypographyH4=As,s.TypographyInlineCode=Rs,s.TypographyLarge=js,s.TypographyLead=Is,s.TypographyMuted=Gs,s.TypographyP=Ms,s.TypographySmall=Ls,s.alertVariants=ge,s.badgeVariants=ne,s.baseStyles=Ge,s.buttonVariants=X,s.cn=a,s.elevationVariants=je,s.interactiveElevationVariants=Le,s.toggleVariants=R,s.useCarousel=E,s.useSidebar=L,s.useToast=pe,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})});
200
+ `,$={none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"};function V(o,t){return o==="default"?"":{primary:{solid:"bg-primary text-primary-foreground",soft:"bg-primary-soft text-primary border-primary/20",surface:"bg-primary-soft text-primary border border-primary/30",outline:"text-primary border border-primary/50"},secondary:{solid:"bg-secondary text-secondary-foreground",soft:"bg-secondary-soft text-secondary-foreground border-secondary/20",surface:"bg-secondary-soft text-secondary-foreground border border-secondary/30",outline:"text-secondary-foreground border border-secondary/50"},destructive:{solid:"bg-destructive text-destructive-foreground",soft:"bg-destructive-soft text-destructive border-destructive/20",surface:"bg-destructive-soft text-destructive border border-destructive/30",outline:"text-destructive border border-destructive/50"},success:{solid:"bg-success text-success-foreground",soft:"bg-success-soft text-success border-success/20",surface:"bg-success-soft text-success border border-success/30",outline:"text-success border border-success/50"},info:{solid:"bg-info text-info-foreground",soft:"bg-info-soft text-info border-info/20",surface:"bg-info-soft text-info border border-info/30",outline:"text-info border border-info/50"},warning:{solid:"bg-warning text-warning-foreground",soft:"bg-warning-soft text-warning border-warning/20",surface:"bg-warning-soft text-warning border border-warning/30",outline:"text-warning border border-warning/50"},amber:{solid:"bg-amber text-amber-foreground",soft:"bg-amber-soft text-amber border-amber/20",surface:"bg-amber-soft text-amber border border-amber/30",outline:"text-amber border border-amber/50"},blue:{solid:"bg-blue text-blue-foreground",soft:"bg-blue-soft text-blue border-blue/20",surface:"bg-blue-soft text-blue border border-blue/30",outline:"text-blue border border-blue/50"},green:{solid:"bg-green text-green-foreground",soft:"bg-green-soft text-green border-green/20",surface:"bg-green-soft text-green border border-green/30",outline:"text-green border border-green/50"},purple:{solid:"bg-purple text-purple-foreground",soft:"bg-purple-soft text-purple border-purple/20",surface:"bg-purple-soft text-purple border border-purple/30",outline:"text-purple border border-purple/50"},pink:{solid:"bg-pink text-pink-foreground",soft:"bg-pink-soft text-pink border-pink/20",surface:"bg-pink-soft text-pink border border-pink/30",outline:"text-pink border border-pink/50"},orange:{solid:"bg-orange text-orange-foreground",soft:"bg-orange-soft text-orange border-orange/20",surface:"bg-orange-soft text-orange border border-orange/30",outline:"text-orange border border-orange/50"}}[o][t]}const R={primary:"bg-primary",secondary:"bg-secondary",destructive:"bg-destructive",success:"bg-success",info:"bg-info",warning:"bg-warning",amber:"bg-amber",blue:"bg-blue",green:"bg-green",purple:"bg-purple",pink:"bg-pink",orange:"bg-orange"},W={primary:"border-primary",secondary:"border-secondary",destructive:"border-destructive",success:"border-success",info:"border-info",warning:"border-warning",amber:"border-amber",blue:"border-blue",green:"border-green",purple:"border-purple",pink:"border-pink",orange:"border-orange"},I={primary:"hover:bg-primary/90 active:bg-primary/95",secondary:"hover:bg-secondary/80 active:bg-secondary/70",destructive:"hover:bg-destructive/90 active:bg-destructive/95",success:"hover:bg-success/90 active:bg-success/95",info:"hover:bg-info/90 active:bg-info/95",warning:"hover:bg-warning/90 active:bg-warning/95",amber:"hover:bg-amber/90 active:bg-amber/95",blue:"hover:bg-blue/90 active:bg-blue/95",green:"hover:bg-green/90 active:bg-green/95",purple:"hover:bg-purple/90 active:bg-purple/95",pink:"hover:bg-pink/90 active:bg-pink/95",orange:"hover:bg-orange/90 active:bg-orange/95"},Ze={primary:"hover:bg-primary/10 hover:text-primary hover:border-primary/50 active:bg-primary/20",secondary:"hover:bg-secondary/10 hover:text-secondary-foreground hover:border-secondary/50 active:bg-secondary/20",destructive:"hover:bg-destructive/10 hover:text-destructive hover:border-destructive/50 active:bg-destructive/20",success:"hover:bg-success/10 hover:text-success hover:border-success/50 active:bg-success/20",info:"hover:bg-info/10 hover:text-info hover:border-info/50 active:bg-info/20",warning:"hover:bg-warning/10 hover:text-warning hover:border-warning/50 active:bg-warning/20",amber:"hover:bg-amber/10 hover:text-amber hover:border-amber/50 active:bg-amber/20",blue:"hover:bg-blue/10 hover:text-blue hover:border-blue/50 active:bg-blue/20",green:"hover:bg-green/10 hover:text-green hover:border-green/50 active:bg-green/20",purple:"hover:bg-purple/10 hover:text-purple hover:border-purple/50 active:bg-purple/20",pink:"hover:bg-pink/10 hover:text-pink hover:border-pink/50 active:bg-pink/20",orange:"hover:bg-orange/10 hover:text-orange hover:border-orange/50 active:bg-orange/20"},q={primary:"hover:bg-primary-soft hover:text-primary active:bg-primary-soft/80",secondary:"hover:bg-secondary-soft hover:text-secondary-foreground active:bg-secondary-soft/80",destructive:"hover:bg-destructive-soft hover:text-destructive active:bg-destructive-soft/80",success:"hover:bg-success-soft hover:text-success active:bg-success-soft/80",info:"hover:bg-info-soft hover:text-info active:bg-info-soft/80",warning:"hover:bg-warning-soft hover:text-warning active:bg-warning-soft/80",amber:"hover:bg-amber-soft hover:text-amber active:bg-amber-soft/80",blue:"hover:bg-blue-soft hover:text-blue active:bg-blue-soft/80",green:"hover:bg-green-soft hover:text-green active:bg-green-soft/80",purple:"hover:bg-purple-soft hover:text-purple active:bg-purple-soft/80",pink:"hover:bg-pink-soft hover:text-pink active:bg-pink-soft/80",orange:"hover:bg-orange-soft hover:text-orange active:bg-orange-soft/80"},Xe={primary:"hover:text-primary/80",secondary:"hover:text-secondary-foreground/80",destructive:"hover:text-destructive/80",success:"hover:text-success/80",info:"hover:text-info/80",warning:"hover:text-warning/80",amber:"hover:text-amber/80",blue:"hover:text-blue/80",green:"hover:text-green/80",purple:"hover:text-purple/80",pink:"hover:text-pink/80",orange:"hover:text-orange/80"},Je={primary:"data-[state=checked]:bg-primary",secondary:"data-[state=checked]:bg-secondary",destructive:"data-[state=checked]:bg-destructive",success:"data-[state=checked]:bg-success",info:"data-[state=checked]:bg-info",warning:"data-[state=checked]:bg-warning",amber:"data-[state=checked]:bg-amber",blue:"data-[state=checked]:bg-blue",green:"data-[state=checked]:bg-green",purple:"data-[state=checked]:bg-purple",pink:"data-[state=checked]:bg-pink",orange:"data-[state=checked]:bg-orange"},Qe={primary:"border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",secondary:"border-secondary data-[state=checked]:bg-secondary data-[state=checked]:text-secondary-foreground",destructive:"border-destructive data-[state=checked]:bg-destructive data-[state=checked]:text-destructive-foreground",success:"border-success data-[state=checked]:bg-success data-[state=checked]:text-success-foreground",info:"border-info data-[state=checked]:bg-info data-[state=checked]:text-info-foreground",warning:"border-warning data-[state=checked]:bg-warning data-[state=checked]:text-warning-foreground",amber:"border-amber data-[state=checked]:bg-amber data-[state=checked]:text-amber-foreground",blue:"border-blue data-[state=checked]:bg-blue data-[state=checked]:text-blue-foreground",green:"border-green data-[state=checked]:bg-green data-[state=checked]:text-green-foreground",purple:"border-purple data-[state=checked]:bg-purple data-[state=checked]:text-purple-foreground",pink:"border-pink data-[state=checked]:bg-pink data-[state=checked]:text-pink-foreground",orange:"border-orange data-[state=checked]:bg-orange data-[state=checked]:text-orange-foreground"},ve={primary:"border-primary text-primary",secondary:"border-secondary text-secondary",destructive:"border-destructive text-destructive",success:"border-success text-success",info:"border-info text-info",warning:"border-warning text-warning",amber:"border-amber text-amber",blue:"border-blue text-blue",green:"border-green text-green",purple:"border-purple text-purple",pink:"border-pink text-pink",orange:"border-orange text-orange"},et={primary:"data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",secondary:"data-[state=on]:bg-secondary data-[state=on]:text-secondary-foreground",destructive:"data-[state=on]:bg-destructive data-[state=on]:text-destructive-foreground",success:"data-[state=on]:bg-success data-[state=on]:text-success-foreground",info:"data-[state=on]:bg-info data-[state=on]:text-info-foreground",warning:"data-[state=on]:bg-warning data-[state=on]:text-warning-foreground",amber:"data-[state=on]:bg-amber data-[state=on]:text-amber-foreground",blue:"data-[state=on]:bg-blue data-[state=on]:text-blue-foreground",green:"data-[state=on]:bg-green data-[state=on]:text-green-foreground",purple:"data-[state=on]:bg-purple data-[state=on]:text-purple-foreground",pink:"data-[state=on]:bg-pink data-[state=on]:text-pink-foreground",orange:"data-[state=on]:bg-orange data-[state=on]:text-orange-foreground"},tt={primary:"data-[state=active]:border-primary",secondary:"data-[state=active]:border-secondary",destructive:"data-[state=active]:border-destructive",success:"data-[state=active]:border-success",info:"data-[state=active]:border-info",warning:"data-[state=active]:border-warning",amber:"data-[state=active]:border-amber",blue:"data-[state=active]:border-blue",green:"data-[state=active]:border-green",purple:"data-[state=active]:border-purple",pink:"data-[state=active]:border-pink",orange:"data-[state=active]:border-orange"},Y={primary:"data-[state=active]:bg-primary data-[state=active]:text-primary-foreground",secondary:"data-[state=active]:bg-secondary data-[state=active]:text-secondary-foreground",destructive:"data-[state=active]:bg-destructive data-[state=active]:text-destructive-foreground",success:"data-[state=active]:bg-success data-[state=active]:text-success-foreground",info:"data-[state=active]:bg-info data-[state=active]:text-info-foreground",warning:"data-[state=active]:bg-warning data-[state=active]:text-warning-foreground",amber:"data-[state=active]:bg-amber data-[state=active]:text-amber-foreground",blue:"data-[state=active]:bg-blue data-[state=active]:text-blue-foreground",green:"data-[state=active]:bg-green data-[state=active]:text-green-foreground",purple:"data-[state=active]:bg-purple data-[state=active]:text-purple-foreground",pink:"data-[state=active]:bg-pink data-[state=active]:text-pink-foreground",orange:"data-[state=active]:bg-orange data-[state=active]:text-orange-foreground"},ot=e.defineComponent({__name:"AppLayout",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("h-screen flex overflow-hidden bg-background text-foreground",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),rt=e.defineComponent({__name:"AppHeader",props:{class:{},sticky:{type:Boolean,default:!0}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("header",{class:e.normalizeClass(e.unref(s)("flex h-14 items-center border-b bg-background/80 backdrop-blur-xl px-4 lg:px-6",o.sticky&&"sticky top-0 z-30",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),nt=e.defineComponent({__name:"AppSidebar",props:{class:{},width:{default:"17rem"},open:{type:Boolean,default:!0}},emits:["update:open"],setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.Transition,{name:"sidebar-overlay"},{default:e.withCtx(()=>[o.open?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fixed inset-0 z-30 bg-black/40 backdrop-blur-sm lg:hidden",onClick:n[0]||(n[0]=i=>r.$emit("update:open",!1))})):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("aside",{style:e.normalizeStyle({width:o.width}),class:e.normalizeClass(e.unref(s)("fixed left-0 top-0 z-40 h-full border-r bg-card/80 backdrop-blur-xl transition-transform duration-300 lg:translate-x-0",o.open?"translate-x-0":"-translate-x-full",t.class))},[e.renderSlot(r.$slots,"default",{},void 0,!0)],6)],64))}}),D=(o,t)=>{const r=o.__vccOpts||o;for(const[n,i]of t)r[n]=i;return r},at=D(nt,[["__scopeId","data-v-74cc7944"]]),st=e.defineComponent({__name:"AppFooter",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("footer",{class:e.normalizeClass(e.unref(s)("border-t bg-background px-4 py-6 text-sm text-muted-foreground lg:px-6",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),lt=e.defineComponent({__name:"AppMain",props:{class:{},sidebarWidth:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("main",{style:e.normalizeStyle(o.sidebarWidth?{marginLeft:o.sidebarWidth}:void 0),class:e.normalizeClass([e.unref(s)("flex-1 flex flex-col min-h-0 overflow-hidden",!o.sidebarWidth&&"lg:ml-0",t.class),"max-lg:!ml-0"])},[e.renderSlot(r.$slots,"default")],6))}}),ct=e.defineComponent({__name:"Modal",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(o,{emit:t}){const r=o,n=t;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.DialogRoot),e.mergeProps(r,{"onUpdate:open":c[0]||(c[0]=d=>n("update:open",d))}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16))}}),it=e.defineComponent({__name:"ModalContent",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.DialogOverlay),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),e.createVNode(e.unref(l.DialogContent),{class:e.normalizeClass(e.unref(s)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4","border bg-background p-6 shadow-depth-5 duration-200 sm:rounded-lg","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",t.class))},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default"),e.createVNode(e.unref(l.DialogClose),{class:"absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2"},{default:e.withCtx(()=>[...n[0]||(n[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4","aria-hidden":"true"},[e.createElementVNode("path",{d:"M18 6 6 18"}),e.createElementVNode("path",{d:"m6 6 12 12"})],-1),e.createElementVNode("span",{class:"sr-only"},"Close",-1)])]),_:1})]),_:3},8,["class"])]),_:3}))}}),dt=e.defineComponent({__name:"ModalTrigger",props:{asChild:{type:Boolean},as:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogTrigger),e.mergeProps(t,{"as-child":""}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),pt=e.defineComponent({__name:"ModalClose",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogClose),{"as-child":""},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))}}),Z=e.defineComponent({__name:"DialogHeader",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("flex flex-col gap-2 text-center sm:text-left",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),X=e.defineComponent({__name:"DialogFooter",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),J=e.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogTitle),e.mergeProps(t,{class:e.unref(s)("text-lg font-semibold leading-none tracking-tight",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Q=e.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogDescription),e.mergeProps(t,{class:e.unref(s)("text-sm text-muted-foreground",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),ft={class:"relative w-full overflow-auto"},v=e.defineComponent({__name:"Table",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",ft,[e.createElementVNode("table",{class:e.normalizeClass(e.unref(s)("w-full caption-bottom text-sm",t.class))},[e.renderSlot(r.$slots,"default")],2)]))}}),ee=e.defineComponent({__name:"TableHeader",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("thead",{class:e.normalizeClass(e.unref(s)("[&_tr]:border-b",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),te=e.defineComponent({__name:"TableBody",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("tbody",{class:e.normalizeClass(e.unref(s)("[&_tr:last-child]:border-0",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),j=e.defineComponent({__name:"TableRow",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass(e.unref(s)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),oe=e.defineComponent({__name:"TableHead",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("th",{class:e.normalizeClass(e.unref(s)("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),L=e.defineComponent({__name:"TableCell",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass(e.unref(s)("p-4 align-middle [&:has([role=checkbox])]:pr-0",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),mt={key:0,class:"flex items-center justify-between gap-4"},gt={key:0,class:"relative max-w-sm flex-1"},ut=["placeholder"],ht={class:"rounded-md border overflow-hidden"},bt=["onClick"],kt={key:0,d:"m7 15 5 5 5-5"},_t={key:1,d:"m7 9 5-5 5 5"},wt={key:1},Ct={key:1,class:"flex items-center justify-between text-sm"},Bt={class:"text-muted-foreground"},yt={key:0},xt={class:"flex items-center gap-1"},$t=["disabled"],St=["onClick"],zt=["disabled"],Et=e.defineComponent({__name:"DataTable",props:{data:{},columns:{},pageSize:{default:10},searchable:{type:Boolean,default:!1},searchPlaceholder:{default:"Search..."},class:{},striped:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!0}},emits:["row-click"],setup(o,{emit:t}){const r=o,n=t,i=e.ref(null),c=e.ref("asc"),d=e.ref(""),f=e.ref(1);e.watch(d,()=>{f.value=1});const b=e.computed(()=>{if(!d.value)return r.data;const C=d.value.toLowerCase(),_=r.columns.filter(p=>p.filterable!==!1);return r.data.filter(p=>_.some(w=>{const y=p[w.key];return y!=null&&String(y).toLowerCase().includes(C)}))}),m=e.computed(()=>{if(!i.value)return b.value;const C=i.value,_=c.value==="asc"?1:-1;return[...b.value].sort((p,w)=>{const y=p[C],x=w[C];return y==null&&x==null?0:y==null?1:x==null?-1:typeof y=="number"&&typeof x=="number"?(y-x)*_:String(y).localeCompare(String(x))*_})}),k=e.computed(()=>Math.max(1,Math.ceil(m.value.length/r.pageSize))),u=e.computed(()=>{const C=(f.value-1)*r.pageSize;return m.value.slice(C,C+r.pageSize)}),g=e.computed(()=>{const C=[],_=k.value,p=f.value,w=2;for(let y=Math.max(1,p-w);y<=Math.min(_,p+w);y++)C.push(y);return C});function h(C){i.value===C?c.value=c.value==="asc"?"desc":"asc":(i.value=C,c.value="asc")}function B(C){f.value=Math.max(1,Math.min(C,k.value))}return(C,_)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("space-y-4",r.class))},[o.searchable||C.$slots.toolbar?(e.openBlock(),e.createElementBlock("div",mt,[o.searchable?(e.openBlock(),e.createElementBlock("div",gt,[_[3]||(_[3]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"},[e.createElementVNode("circle",{cx:"11",cy:"11",r:"8"}),e.createElementVNode("path",{d:"m21 21-4.3-4.3"})],-1)),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":_[0]||(_[0]=p=>d.value=p),type:"text",placeholder:o.searchPlaceholder,class:"flex h-9 w-full rounded-md border border-input bg-background pl-9 pr-3 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"},null,8,ut),[[e.vModelText,d.value]])])):e.createCommentVNode("",!0),e.renderSlot(C.$slots,"toolbar")])):e.createCommentVNode("",!0),e.createElementVNode("div",ht,[e.createVNode(v,null,{default:e.withCtx(()=>[e.createVNode(ee,null,{default:e.withCtx(()=>[e.createVNode(j,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.columns,p=>(e.openBlock(),e.createBlock(oe,{key:p.key,class:e.normalizeClass(e.unref(s)(p.headerClass))},{default:e.withCtx(()=>[p.sortable?(e.openBlock(),e.createElementBlock("button",{key:0,class:"flex items-center gap-1 hover:text-foreground transition-colors -m-1 p-1",onClick:w=>h(p.key)},[e.createTextVNode(e.toDisplayString(p.label)+" ",1),(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:e.normalizeClass(["h-3.5 w-3.5",i.value===p.key?"text-foreground":"text-muted-foreground/40"])},[i.value!==p.key||c.value==="asc"?(e.openBlock(),e.createElementBlock("path",kt)):e.createCommentVNode("",!0),i.value!==p.key||c.value==="desc"?(e.openBlock(),e.createElementBlock("path",_t)):e.createCommentVNode("",!0)],2))],8,bt)):(e.openBlock(),e.createElementBlock("span",wt,e.toDisplayString(p.label),1))]),_:2},1032,["class"]))),128))]),_:1})]),_:1}),e.createVNode(te,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,(p,w)=>(e.openBlock(),e.createBlock(j,{key:w,class:e.normalizeClass(e.unref(s)(o.hoverable&&"cursor-pointer",o.striped&&w%2===1&&"bg-muted/30")),onClick:y=>n("row-click",p,w)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.columns,y=>(e.openBlock(),e.createBlock(L,{key:y.key,class:e.normalizeClass(e.unref(s)(y.class))},{default:e.withCtx(()=>[e.renderSlot(C.$slots,`cell-${y.key}`,{value:p[y.key],row:p},()=>[e.createTextVNode(e.toDisplayString(y.render?y.render(p[y.key],p):p[y.key]),1)])]),_:2},1032,["class"]))),128))]),_:2},1032,["class","onClick"]))),128)),u.value.length===0?(e.openBlock(),e.createBlock(j,{key:0},{default:e.withCtx(()=>[e.createVNode(L,{colspan:o.columns.length,class:"h-24 text-center text-muted-foreground"},{default:e.withCtx(()=>[..._[4]||(_[4]=[e.createTextVNode(" No results. ",-1)])]),_:1},8,["colspan"])]),_:1})):e.createCommentVNode("",!0)]),_:3})]),_:3})]),k.value>1?(e.openBlock(),e.createElementBlock("div",Ct,[e.createElementVNode("p",Bt,[e.createTextVNode(e.toDisplayString(m.value.length)+" result"+e.toDisplayString(m.value.length===1?"":"s")+" ",1),d.value?(e.openBlock(),e.createElementBlock("span",yt,' for "'+e.toDisplayString(d.value)+'"',1)):e.createCommentVNode("",!0)]),e.createElementVNode("div",xt,[e.createElementVNode("button",{class:"inline-flex h-8 w-8 items-center justify-center rounded-md border text-sm transition-colors hover:bg-accent disabled:opacity-50 disabled:pointer-events-none",disabled:f.value<=1,onClick:_[1]||(_[1]=p=>B(f.value-1))},[..._[5]||(_[5]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m15 18-6-6 6-6"})],-1)])],8,$t),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,p=>(e.openBlock(),e.createElementBlock("button",{key:p,class:e.normalizeClass(["inline-flex h-8 w-8 items-center justify-center rounded-md text-sm transition-colors",p===f.value?"bg-primary text-primary-foreground":"hover:bg-accent"]),onClick:w=>B(p)},e.toDisplayString(p),11,St))),128)),e.createElementVNode("button",{class:"inline-flex h-8 w-8 items-center justify-center rounded-md border text-sm transition-colors hover:bg-accent disabled:opacity-50 disabled:pointer-events-none",disabled:f.value>=k.value,onClick:_[2]||(_[2]=p=>B(f.value+1))},[..._[6]||(_[6]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1)])],8,zt)])])):e.createCommentVNode("",!0)],2))}}),Pt={class:"flex items-center justify-between border-b bg-muted/30 px-4 py-1.5"},Nt={class:"flex gap-1"},Dt={key:0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-3.5 w-3.5 text-success"},Tt={key:1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-3.5 w-3.5"},At={class:"p-6 sm:p-10"},Mt={key:0,class:"border-b px-4 py-2 bg-muted/20"},Vt={class:"text-[11px] font-mono text-muted-foreground"},Rt={class:"p-4 text-[13px] leading-relaxed overflow-x-auto"},jt={class:"text-foreground/90"},It=e.defineComponent({__name:"CodePreview",props:{code:{},filename:{default:""},class:{}},setup(o){const t=o,r=e.ref("preview"),n=e.ref(!1);async function i(){try{await navigator.clipboard.writeText(t.code),n.value=!0,setTimeout(()=>{n.value=!1},2e3)}catch{const c=document.createElement("textarea");c.value=t.code,document.body.appendChild(c),c.select(),document.execCommand("copy"),document.body.removeChild(c),n.value=!0,setTimeout(()=>{n.value=!1},2e3)}}return(c,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("rounded-xl border bg-card overflow-hidden",t.class))},[e.createElementVNode("div",Pt,[e.createElementVNode("div",Nt,[e.createElementVNode("button",{onClick:d[0]||(d[0]=f=>r.value="preview"),class:e.normalizeClass(["rounded-md px-3 py-1 text-xs font-medium transition-colors",r.value==="preview"?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"])}," Preview ",2),e.createElementVNode("button",{onClick:d[1]||(d[1]=f=>r.value="code"),class:e.normalizeClass(["rounded-md px-3 py-1 text-xs font-medium transition-colors",r.value==="code"?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"])}," Code ",2)]),r.value==="code"?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:i,class:"flex items-center gap-1.5 rounded-md px-2.5 py-1 text-xs text-muted-foreground transition-colors hover:text-foreground hover:bg-background"},[n.value?(e.openBlock(),e.createElementBlock("svg",Dt,[...d[2]||(d[2]=[e.createElementVNode("path",{d:"M20 6 9 17l-5-5"},null,-1)])])):(e.openBlock(),e.createElementBlock("svg",Tt,[...d[3]||(d[3]=[e.createElementVNode("rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"},null,-1),e.createElementVNode("path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"},null,-1)])])),e.createTextVNode(" "+e.toDisplayString(n.value?"Copied":"Copy"),1)])):e.createCommentVNode("",!0)]),e.withDirectives(e.createElementVNode("div",At,[e.renderSlot(c.$slots,"default")],512),[[e.vShow,r.value==="preview"]]),e.withDirectives(e.createElementVNode("div",null,[o.filename?(e.openBlock(),e.createElementBlock("div",Mt,[e.createElementVNode("p",Vt,e.toDisplayString(o.filename),1)])):e.createCommentVNode("",!0),e.createElementVNode("pre",Rt,[e.createElementVNode("code",jt,e.toDisplayString(o.code),1)])],512),[[e.vShow,r.value==="code"]])],2))}}),Lt=e.defineComponent({__name:"Icon",props:{name:{},size:{default:16},strokeWidth:{default:2},class:{}},setup(o){const t=o,r=e.computed(()=>{const n=t.name.replace(/[-_](.)/g,(i,c)=>c.toUpperCase()).replace(/^(.)/,(i,c)=>c.toUpperCase());return Ue[n]||null});return(n,i)=>r.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.value),{key:0,size:o.size,"stroke-width":o.strokeWidth,class:e.normalizeClass(e.unref(s)("shrink-0",t.class))},null,8,["size","stroke-width","class"])):e.createCommentVNode("",!0)}}),re=S.cva(["inline-flex items-center justify-center gap-2 whitespace-nowrap","rounded-xl text-sm font-medium","transition-all duration-150 ease-out","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50","relative overflow-hidden","hover:-translate-y-0.5 active:translate-y-0"].join(" "),{variants:{variant:{default:["bg-primary text-primary-foreground","hover:bg-primary/90 hover:shadow-depth-2","active:bg-primary/95"].join(" "),destructive:["bg-destructive text-destructive-foreground","hover:bg-destructive/90 hover:shadow-depth-2","active:bg-destructive/95"].join(" "),outline:["border border-input bg-background","hover:bg-accent hover:text-accent-foreground hover:border-accent","active:bg-accent/80"].join(" "),secondary:["bg-secondary text-secondary-foreground","hover:bg-secondary/80 hover:shadow-depth-2","active:bg-secondary/70"].join(" "),ghost:["hover:bg-accent hover:text-accent-foreground","active:bg-accent/80"].join(" "),link:["text-primary underline-offset-4 hover:underline","hover:translate-y-0"].join(" "),soft:["border-transparent","hover:opacity-80 hover:shadow-depth-2","active:opacity-90"].join(" "),surface:["hover:opacity-80 hover:shadow-depth-2","active:opacity-90"].join(" "),plain:["border-transparent bg-transparent","hover:bg-accent hover:text-accent-foreground","active:bg-accent/80","hover:translate-y-0"].join(" ")},size:{default:"h-10 px-4 py-2.5",sm:"h-9 rounded-lg px-3 py-2 text-xs",lg:"h-11 rounded-xl px-8 py-3 text-base",icon:"h-10 w-10 p-2"},elevation:{flat:"shadow-none hover:shadow-none hover:translate-y-0",raised:"shadow-depth-1 hover:shadow-depth-2",elevated:"shadow-depth-2 hover:shadow-depth-3"}},defaultVariants:{variant:"default",size:"default",elevation:"raised"}}),Ht=["type","disabled"],Gt={key:0,class:"absolute inset-0 flex items-center justify-center"},Ft=e.defineComponent({__name:"Button",props:{variant:{},size:{},elevation:{},color:{},radius:{},class:{},disabled:{type:Boolean},type:{default:"button"},loading:{type:Boolean,default:!1},loadingPosition:{default:"center"}},setup(o){const t=o,r=e.computed(()=>{if(!t.color||t.color==="default")return"";const c=t.color,d=t.variant||"default",f={default:"solid",destructive:"solid",soft:"soft",surface:"surface",outline:"outline",secondary:"solid",ghost:"soft",link:"outline",plain:"soft"},b=V(t.color,f[d]||"solid"),m={default:I[c],destructive:I[c],secondary:I[c],outline:Ze[c],ghost:q[c],soft:"",surface:"",link:Xe[c],plain:q[c]};return`${b} ${m[d]||""}`}),n=e.computed(()=>t.radius?$[t.radius]:""),i=e.computed(()=>({sm:"h-3.5 w-3.5",default:"h-4 w-4",lg:"h-5 w-5",icon:"h-4 w-4"})[t.size||"default"]||"h-4 w-4");return(c,d)=>(e.openBlock(),e.createElementBlock("button",{type:o.type,class:e.normalizeClass(e.unref(s)(e.unref(re)({variant:o.variant,size:o.size,elevation:o.elevation}),r.value,n.value,t.class)),disabled:o.disabled||o.loading},[o.loading&&o.loadingPosition==="center"?(e.openBlock(),e.createElementBlock("span",Gt,[(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(["animate-spin",i.value]),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[...d[0]||(d[0]=[e.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),e.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1)])],2))])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass([{"opacity-0":o.loading&&o.loadingPosition==="center"},"inline-flex items-center justify-center gap-2"])},[o.loading&&o.loadingPosition==="left"?(e.openBlock(),e.createElementBlock("svg",{key:0,class:e.normalizeClass(["animate-spin",i.value]),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[...d[1]||(d[1]=[e.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),e.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1)])],2)):c.$slots["left-icon"]?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass([i.value,"inline-flex items-center justify-center shrink-0"])},[e.renderSlot(c.$slots,"left-icon")],2)):e.createCommentVNode("",!0),e.renderSlot(c.$slots,"default"),o.loading&&o.loadingPosition==="right"?(e.openBlock(),e.createElementBlock("svg",{key:2,class:e.normalizeClass(["animate-spin",i.value]),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[...d[2]||(d[2]=[e.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),e.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1)])],2)):c.$slots["right-icon"]?(e.openBlock(),e.createElementBlock("span",{key:3,class:e.normalizeClass([i.value,"inline-flex items-center justify-center shrink-0"])},[e.renderSlot(c.$slots,"right-icon")],2)):e.createCommentVNode("",!0)],2)],10,Ht))}}),ne=e.defineComponent({__name:"Card",props:{class:{},elevation:{default:1},interactive:{type:Boolean,default:!1},direction:{default:"vertical"},variant:{default:"elevated"}},setup(o){const t=o,r={0:"shadow-none",1:"shadow-depth-1",2:"shadow-depth-2",3:"shadow-depth-3"},n={elevated:"border bg-card text-card-foreground",outlined:"border bg-transparent text-card-foreground shadow-none",filled:"border-transparent bg-muted text-foreground shadow-none",ghost:"border-transparent bg-transparent text-foreground shadow-none"};return(i,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("rounded-lg",n[o.variant],o.variant==="elevated"&&r[o.elevation],o.direction==="horizontal"&&"flex flex-row",o.interactive&&"transition-elevation hover:shadow-depth-2 cursor-pointer",t.class))},[e.renderSlot(i.$slots,"default")],2))}}),ae=e.defineComponent({__name:"CardHeader",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("flex flex-col gap-1.5 p-6",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),se=e.defineComponent({__name:"CardTitle",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("text-lg font-semibold leading-none tracking-tight",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Ot=e.defineComponent({__name:"CardDescription",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("text-sm text-muted-foreground",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),le=e.defineComponent({__name:"CardContent",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("p-6 pt-0",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Ut=e.defineComponent({__name:"CardFooter",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("flex items-center p-6 pt-0 gap-2",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),ce=e.defineComponent({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(o,{emit:t}){const r=o,n=t,i=l.useForwardPropsEmits(r,n);return(c,d)=>(e.openBlock(),e.createBlock(e.unref(l.DialogRoot),e.normalizeProps(e.guardReactiveProps(e.unref(i))),{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},16))}}),Kt=e.defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogTrigger),e.normalizeProps(e.guardReactiveProps(t)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Wt=e.defineComponent({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogPortal),e.normalizeProps(e.guardReactiveProps(t)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),qt=e.defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogOverlay),e.mergeProps(t,{class:e.unref(s)("fixed inset-0 z-50 bg-black/80","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t.class)}),null,16,["class"]))}}),ie=e.defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(o,{emit:t}){const r=o,n=t,i=l.useForwardPropsEmits(r,n);return(c,d)=>(e.openBlock(),e.createBlock(e.unref(l.DialogPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.DialogOverlay),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),e.createVNode(e.unref(l.DialogContent),e.mergeProps(e.unref(i),{class:e.unref(s)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4","border bg-background p-6 shadow-depth-5 duration-200","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%]","data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]","sm:rounded-lg",r.class)}),{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default"),e.createVNode(e.unref(l.DialogClose),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"},{default:e.withCtx(()=>[...d[0]||(d[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4","aria-hidden":"true"},[e.createElementVNode("path",{d:"M18 6 6 18"}),e.createElementVNode("path",{d:"m6 6 12 12"})],-1),e.createElementVNode("span",{class:"sr-only"},"Close",-1)])]),_:1})]),_:3},16,["class"])]),_:3}))}}),Yt=e.defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean},as:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogClose),e.normalizeProps(e.guardReactiveProps(t)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16))}}),Zt={class:"relative flex items-center w-full"},Xt={class:"relative flex items-center w-full"},Jt={key:0,class:"absolute left-3 flex items-center justify-center text-muted-foreground pointer-events-none"},Qt=["type","value","placeholder","disabled"],vt=e.defineComponent({__name:"Input",props:{class:{},type:{default:"text"},disabled:{type:Boolean},placeholder:{},modelValue:{},size:{default:"default"},variant:{default:"outline"},radius:{}},emits:["update:modelValue"],setup(o,{emit:t}){const r=o,n={xs:"h-7 text-xs px-2",sm:"h-8 text-xs px-3",default:"h-10 text-sm px-3",lg:"h-12 text-base px-4",xl:"h-14 text-base px-4"},i={outline:"border border-input bg-background shadow-depth-1 focus-visible:shadow-depth-2 rounded-lg",filled:"border-transparent bg-muted rounded-lg",underline:"border-b border-input bg-transparent rounded-none px-0 focus-visible:shadow-none",plain:"border-transparent bg-transparent rounded-lg focus-visible:shadow-none"},c=e.computed(()=>r.radius?$[r.radius]:""),d=t,f=e.useSlots(),b=e.computed(()=>!!f["left-icon"]),m=e.computed(()=>!!f["right-icon"]),k=e.computed(()=>!!f.prefix),u=e.computed(()=>!!f.suffix),g=e.computed(()=>n[r.size].split(" ").find(B=>B.startsWith("h-"))||"h-10"),h=B=>{const C=B.target;d("update:modelValue",C.value)};return(B,C)=>(e.openBlock(),e.createElementBlock("div",Zt,[k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(s)("inline-flex items-center px-3 text-sm text-muted-foreground bg-muted border border-input border-r-0",r.variant==="outline"?"rounded-l-lg":"",g.value))},[e.renderSlot(B.$slots,"prefix")],2)):e.createCommentVNode("",!0),e.createElementVNode("div",Xt,[b.value?(e.openBlock(),e.createElementBlock("div",Jt,[e.renderSlot(B.$slots,"left-icon")])):e.createCommentVNode("",!0),e.createElementVNode("input",{type:o.type,value:o.modelValue,placeholder:o.placeholder,class:e.normalizeClass(e.unref(s)("flex w-full",i[r.variant],n[r.size],"ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium","placeholder:text-muted-foreground","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/20 focus-visible:border-primary","disabled:cursor-not-allowed disabled:opacity-50","transition-all duration-150 ease-out",b.value&&"pl-10",m.value&&"pr-10",!b.value&&r.variant!=="underline"&&"",!m.value&&!b.value&&"py-2",k.value&&"rounded-l-none border-l-0",u.value&&"rounded-r-none border-r-0",c.value,r.class)),disabled:o.disabled,onInput:h},null,42,Qt),m.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["absolute right-3 flex items-center justify-center text-muted-foreground",{"pointer-events-none":!B.$slots["right-icon-clickable"]}])},[e.renderSlot(B.$slots,"right-icon")],2)):e.createCommentVNode("",!0)]),u.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(s)("inline-flex items-center px-3 text-sm text-muted-foreground bg-muted border border-input border-l-0",r.variant==="outline"?"rounded-r-lg":"",g.value))},[e.renderSlot(B.$slots,"suffix")],2)):e.createCommentVNode("",!0)]))}}),eo=e.defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.Label),e.mergeProps(t,{class:e.unref(s)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),to=e.defineComponent({__name:"Avatar",props:{class:{},size:{default:"default"},radius:{},asChild:{type:Boolean},as:{}},setup(o){const t=o;e.provide("avatar-size",t.size||"default");const r={xs:"h-6 w-6",sm:"h-8 w-8",default:"h-10 w-10",lg:"h-12 w-12",xl:"h-16 w-16","2xl":"h-20 w-20"},n=t.radius?$[t.radius]:"";return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.AvatarRoot),{class:e.normalizeClass(e.unref(s)("relative flex shrink-0 overflow-hidden shadow-depth-1",r[t.size],e.unref(n)||"rounded-full",t.class))},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["class"]))}}),oo=e.defineComponent({__name:"AvatarImage",props:{src:{},referrerPolicy:{},asChild:{type:Boolean},as:{},class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.AvatarImage),e.mergeProps(t,{class:e.unref(s)("aspect-square h-full w-full",t.class)}),null,16,["class"]))}}),ro=e.defineComponent({__name:"AvatarFallback",props:{delayMs:{},asChild:{type:Boolean},as:{},class:{}},setup(o){const t=o,r=e.inject("avatar-size","default"),n={xs:"text-[10px]",sm:"text-xs",default:"text-sm",lg:"text-base",xl:"text-lg","2xl":"text-xl"};return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.AvatarFallback),e.mergeProps(t,{class:e.unref(s)("flex h-full w-full items-center justify-center rounded-[inherit] bg-muted text-muted-foreground",n[e.unref(r)],t.class)}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),no=e.defineComponent({__name:"AvatarGroup",props:{class:{},max:{},size:{default:"default"},spacing:{default:"default"}},setup(o){const t=o,r={tight:"-space-x-2",default:"-space-x-3",loose:"-space-x-1"};return(n,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("flex items-center",r[o.spacing],t.class))},[e.renderSlot(n.$slots,"default")],2))}}),de=S.cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow-depth-1",secondary:"border-transparent bg-secondary text-secondary-foreground",destructive:"border-transparent bg-destructive text-destructive-foreground shadow-depth-1",outline:"text-foreground",soft:"border-transparent",surface:"",dot:"border-transparent bg-transparent text-foreground font-normal gap-1.5"},size:{sm:"px-2 py-0 text-[10px]",default:"px-2.5 py-0.5 text-xs",lg:"px-3 py-1 text-sm"}},defaultVariants:{variant:"default",size:"default"}}),pe=e.defineComponent({__name:"Badge",props:{variant:{},size:{},color:{},radius:{},class:{}},setup(o){const t=o,r=e.computed(()=>{if(!t.color||t.color==="default")return"";const c={default:"solid",secondary:"solid",destructive:"solid",outline:"outline",soft:"soft",surface:"surface",dot:"soft"};return V(t.color,c[t.variant||"default"]||"solid")}),n=e.computed(()=>t.radius?$[t.radius]:""),i=e.computed(()=>t.color&&t.color!=="default"?R[t.color]:"bg-foreground");return(c,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)(e.unref(de)({variant:o.variant,size:o.size}),r.value,n.value,t.class))},[o.variant==="dot"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(s)("inline-block h-2 w-2 rounded-full",i.value))},null,2)):e.createCommentVNode("",!0),e.renderSlot(c.$slots,"default")],2))}}),fe=e.defineComponent({__name:"Toast",props:{defaultOpen:{type:Boolean},forceMount:{type:Boolean},type:{},open:{type:Boolean},duration:{},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pause","resume","swipeStart","swipeMove","swipeCancel","swipeEnd","update:open"],setup(o,{emit:t}){const r=o,n=t,i=l.useForwardPropsEmits(r,n);return(c,d)=>(e.openBlock(),e.createBlock(e.unref(l.ToastRoot),e.mergeProps(e.unref(i),{class:e.unref(s)("spavn-toast group pointer-events-auto relative flex w-full items-center justify-between gap-4 overflow-hidden rounded-md border p-4 pr-8 shadow-depth-4","data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)]","data-[swipe=cancel]:translate-x-0",r.class)}),{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},16,["class"]))}}),me=e.defineComponent({__name:"ToastViewport",props:{hotkey:{},label:{type:[String,Function]},asChild:{type:Boolean},as:{},class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ToastViewport),e.mergeProps(t,{class:e.unref(s)("fixed bottom-0 right-0 z-[99999] flex max-h-screen w-full flex-col gap-2 p-4 sm:max-w-[420px]",t.class)}),null,16,["class"]))}}),ge=e.defineComponent({__name:"ToastTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ToastTitle),e.mergeProps(t,{class:e.unref(s)("text-sm font-semibold",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),ue=e.defineComponent({__name:"ToastDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ToastDescription),e.mergeProps(t,{class:e.unref(s)("text-sm opacity-90",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),he=e.defineComponent({__name:"ToastAction",props:{altText:{},asChild:{type:Boolean},as:{},class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ToastAction),e.mergeProps(t,{class:e.unref(s)("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50","group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30","group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground","group-[.destructive]:focus:ring-destructive",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),be=e.defineComponent({__name:"ToastClose",props:{asChild:{type:Boolean},as:{},class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ToastClose),e.mergeProps(t,{"aria-label":"Close",class:e.unref(s)("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100","group-[.destructive]:text-destructive-foreground group-[.destructive]:hover:text-destructive-foreground","group-[.destructive]:focus:ring-destructive group-[.destructive]:focus:ring-offset-destructive",t.class)}),{default:e.withCtx(()=>[...n[0]||(n[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4","aria-hidden":"true"},[e.createElementVNode("path",{d:"M18 6 6 18"}),e.createElementVNode("path",{d:"m6 6 12 12"})],-1)])]),_:1},16,["class"]))}}),E=e.ref([]);let ao=0;function so(){return`toast-${++ao}-${Date.now()}`}function T(o){const t=so(),r={id:t,duration:5e3,...o};return E.value=[...E.value,r],t}function lo(o){E.value=E.value.filter(t=>t.id!==o)}function co(){E.value=[]}function ke(){return{toasts:e.computed(()=>E.value),toast:T,success:(o,t,r)=>T({title:o,description:t,type:"success",duration:r}),error:(o,t,r)=>T({title:o,description:t,type:"error",duration:r}),warning:(o,t,r)=>T({title:o,description:t,type:"warning",duration:r}),info:(o,t,r)=>T({title:o,description:t,type:"info",duration:r}),dismiss:lo,dismissAll:co}}const io={class:"grid gap-1"},po=e.defineComponent({__name:"Toaster",setup(o){const{toasts:t,dismiss:r}=ke();function n(i,c){c||r(i)}return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.ToastProvider),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t),d=>(e.openBlock(),e.createBlock(fe,{key:d.id,duration:d.duration,"default-open":!0,"onUpdate:open":f=>n(d.id,f),class:e.normalizeClass(e.unref(s)("bg-card text-card-foreground border",d.type==="error"&&"destructive border-destructive bg-destructive text-destructive-foreground"))},{default:e.withCtx(()=>[e.createElementVNode("div",io,[d.title?(e.openBlock(),e.createBlock(ge,{key:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.title),1)]),_:2},1024)):e.createCommentVNode("",!0),d.description?(e.openBlock(),e.createBlock(ue,{key:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.description),1)]),_:2},1024)):e.createCommentVNode("",!0)]),d.action?(e.openBlock(),e.createBlock(he,{key:0,"alt-text":d.action.label,onClick:d.action.onClick},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(d.action.label),1)]),_:2},1032,["alt-text","onClick"])):e.createCommentVNode("",!0),e.createVNode(be)]),_:2},1032,["duration","onUpdate:open","class"]))),128)),e.createVNode(me)]),_:1}))}}),fo=e.defineComponent({inheritAttrs:!1,__name:"Checkbox",props:{class:{},size:{default:"default"},color:{}},setup(o){const t=o,r={sm:"h-3.5 w-3.5",default:"h-4 w-4",lg:"h-5 w-5"},n={sm:"h-3 w-3",default:"h-4 w-4",lg:"h-5 w-5"},i=e.computed(()=>{const c=t.color&&t.color!=="default"?t.color:"primary";return Qe[c]});return(c,d)=>(e.openBlock(),e.createBlock(e.unref(l.CheckboxRoot),e.mergeProps(c.$attrs,{class:e.unref(s)("peer shrink-0 rounded-sm border shadow-depth-1 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r[t.size],i.value,t.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.CheckboxIndicator),{class:"flex items-center justify-center text-current"},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:e.normalizeClass(n[t.size])},[...d[0]||(d[0]=[e.createElementVNode("path",{d:"M20 6 9 17l-5-5"},null,-1)])],2))]),_:1})]),_:1},16,["class"]))}}),mo=e.defineComponent({inheritAttrs:!1,__name:"Switch",props:{class:{},checked:{type:Boolean},size:{default:"default"},color:{}},setup(o){const t=o,r={sm:{track:"h-4 w-8",thumb:"h-3 w-3",translate:"data-[state=checked]:translate-x-4"},default:{track:"h-6 w-11",thumb:"h-5 w-5",translate:"data-[state=checked]:translate-x-5"},lg:{track:"h-7 w-14",thumb:"h-6 w-6",translate:"data-[state=checked]:translate-x-7"}},n=e.computed(()=>r[t.size||"default"]),i=e.computed(()=>!t.color||t.color==="default"?"data-[state=checked]:bg-primary":Je[t.color]);return(c,d)=>(e.openBlock(),e.createBlock(e.unref(l.SwitchRoot),e.mergeProps(c.$attrs,{checked:o.checked,class:e.unref(s)("peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-depth-1",n.value.track,"bg-muted",i.value,"ring-offset-background transition-all duration-150 ease-out","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","hover:shadow-depth-2",t.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.SwitchThumb),{class:e.normalizeClass(e.unref(s)("pointer-events-none block rounded-full bg-background shadow-depth-2",n.value.thumb,"ring-0 transition-transform duration-150 ease-out",n.value.translate,"data-[state=unchecked]:translate-x-0"))},null,8,["class"])]),_:1},16,["checked","class"]))}}),go=e.defineComponent({inheritAttrs:!1,__name:"Select",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.SelectRoot),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),uo=e.defineComponent({inheritAttrs:!1,__name:"SelectTrigger",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.SelectTrigger),e.mergeProps(r.$attrs,{class:e.unref(s)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 shadow-depth-1",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default"),e.createVNode(e.unref(l.SelectIcon),{"as-child":""},{default:e.withCtx(()=>[...n[0]||(n[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4 opacity-50"},[e.createElementVNode("path",{d:"m6 9 6 6 6-6"})],-1)])]),_:1})]),_:3},16,["class"]))}}),_e=e.defineComponent({inheritAttrs:!1,__name:"SelectScrollUpButton",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.SelectScrollUpButton),e.mergeProps(r.$attrs,{class:e.unref(s)("flex cursor-default items-center justify-center py-1",t.class)}),{default:e.withCtx(()=>[...n[0]||(n[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m18 15-6-6-6 6"})],-1)])]),_:1},16,["class"]))}}),we=e.defineComponent({inheritAttrs:!1,__name:"SelectScrollDownButton",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.SelectScrollDownButton),e.mergeProps(r.$attrs,{class:e.unref(s)("flex cursor-default items-center justify-center py-1",t.class)}),{default:e.withCtx(()=>[...n[0]||(n[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m6 9 6 6 6-6"})],-1)])]),_:1},16,["class"]))}}),ho=e.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{class:{},position:{default:"popper"}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.SelectPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.SelectContent),e.mergeProps(r.$attrs,{position:t.position,class:e.unref(s)("relative z-depth-3 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-depth-3","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t.position==="popper"&&"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.class)}),{default:e.withCtx(()=>[e.createVNode(_e),e.createVNode(e.unref(l.SelectViewport),{class:e.normalizeClass(e.unref(s)("p-1",t.position==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"))},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["class"]),e.createVNode(we)]),_:3},16,["position","class"])]),_:3}))}}),bo={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},ko=e.defineComponent({inheritAttrs:!1,__name:"SelectItem",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.SelectItem),e.mergeProps(r.$attrs,{class:e.unref(s)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t.class)}),{default:e.withCtx(()=>[e.createElementVNode("span",bo,[e.createVNode(e.unref(l.SelectItemIndicator),null,{default:e.withCtx(()=>[...n[0]||(n[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"M20 6 9 17l-5-5"})],-1)])]),_:1})]),e.createVNode(e.unref(l.SelectItemText),null,{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),_o=e.defineComponent({inheritAttrs:!1,__name:"SelectValue",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.SelectValue),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),wo=e.defineComponent({inheritAttrs:!1,__name:"SelectGroup",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.SelectGroup),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Co=e.defineComponent({inheritAttrs:!1,__name:"SelectLabel",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.SelectLabel),e.mergeProps(r.$attrs,{class:e.unref(s)("py-1.5 pl-8 pr-2 text-sm font-semibold",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Bo=e.defineComponent({inheritAttrs:!1,__name:"SelectSeparator",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.SelectSeparator),e.mergeProps(r.$attrs,{class:e.unref(s)("-mx-1 my-1 h-px bg-muted",t.class)}),null,16,["class"]))}}),yo=e.defineComponent({inheritAttrs:!1,__name:"Tabs",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.TabsRoot),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),xo=e.defineComponent({inheritAttrs:!1,__name:"TabsList",props:{class:{},variant:{default:"default"},size:{default:"default"},color:{}},setup(o){const t=o;e.provide("tabs-variant",t.variant),e.provide("tabs-color",t.color);const r={sm:"h-8 text-xs",default:"h-10 text-sm",lg:"h-12 text-base"},n=e.computed(()=>{switch(t.variant){case"underline":return"inline-flex items-center justify-center bg-transparent border-b border-border p-0 gap-0 rounded-none shadow-none";case"pills":return"inline-flex items-center justify-center bg-transparent p-0 gap-1 rounded-none shadow-none";case"enclosed":return"inline-flex items-center justify-center bg-muted p-1 rounded-lg shadow-depth-1 border border-border";default:return"inline-flex items-center justify-center rounded-md bg-muted p-1 shadow-depth-1"}});return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.TabsList),e.mergeProps(i.$attrs,{class:e.unref(s)(n.value,r[t.size],"text-muted-foreground",t.class)}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),$o=e.defineComponent({inheritAttrs:!1,__name:"TabsTrigger",props:{class:{}},setup(o){const t=o,r=e.inject("tabs-variant","default"),n=e.inject("tabs-color",void 0),i=e.computed(()=>{if(!n||n==="default")return"";const d=n;switch(r){case"underline":return tt[d];case"pills":case"enclosed":return Y[d];default:return Y[d]}}),c=e.computed(()=>{const d="inline-flex items-center justify-center whitespace-nowrap px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50";switch(r){case"underline":return`${d} rounded-none border-b-2 border-transparent data-[state=active]:border-primary data-[state=active]:text-foreground`;case"pills":return`${d} rounded-full data-[state=active]:bg-primary data-[state=active]:text-primary-foreground data-[state=active]:shadow-depth-1`;case"enclosed":return`${d} rounded-md data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm`;default:return`${d} rounded-sm data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm`}});return(d,f)=>(e.openBlock(),e.createBlock(e.unref(l.TabsTrigger),e.mergeProps(d.$attrs,{class:e.unref(s)(c.value,i.value,t.class)}),{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},16,["class"]))}}),So=e.defineComponent({inheritAttrs:!1,__name:"TabsContent",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.TabsContent),e.mergeProps(r.$attrs,{class:e.unref(s)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Ce=e.defineComponent({inheritAttrs:!1,__name:"Separator",props:{class:{},orientation:{default:"horizontal"},variant:{default:"solid"},color:{}},setup(o){const t=o,r=e.computed(()=>{const n=t.orientation==="horizontal",c=t.color&&t.color!=="default"?t.color:null,d=c?R[c]:"bg-border",f=c?W[c]:"border-border";return t.variant==="solid"?n?`h-px w-full ${d}`:`h-full w-px ${d}`:t.variant==="dashed"?n?`w-full border-b border-dashed ${f}`:`h-full border-l border-dashed ${f}`:n?`w-full border-b border-dotted ${f}`:`h-full border-l border-dotted ${f}`});return(n,i)=>(e.openBlock(),e.createBlock(e.unref(l.Separator),e.mergeProps(n.$attrs,{orientation:t.orientation,class:e.unref(s)("shrink-0",r.value,t.class)}),null,16,["orientation","class"]))}}),zo=["disabled","placeholder","value"],Eo=e.defineComponent({__name:"Textarea",props:{class:{},disabled:{type:Boolean},placeholder:{},modelValue:{},variant:{default:"outline"},size:{default:"default"},radius:{}},emits:["update:modelValue"],setup(o){const t=o,r={sm:"min-h-[60px] text-sm",default:"min-h-[80px] text-sm",lg:"min-h-[120px] text-base"},n={outline:"border border-input bg-background shadow-depth-1 focus-visible:shadow-depth-2",filled:"border-transparent bg-muted",underline:"border-b border-input bg-transparent rounded-none",plain:"border-transparent bg-transparent focus-visible:shadow-none"},i=e.computed(()=>t.radius?$[t.radius]:"");return(c,d)=>(e.openBlock(),e.createElementBlock("textarea",{class:e.normalizeClass(e.unref(s)("flex w-full rounded-md px-3 py-2",n[t.variant],r[t.size],"ring-offset-background","placeholder:text-muted-foreground","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","transition-elevation",i.value,t.class)),disabled:o.disabled,placeholder:o.placeholder,value:o.modelValue,onInput:d[0]||(d[0]=f=>c.$emit("update:modelValue",f.target.value))},null,42,zo))}}),Be=S.cva("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground shadow-depth-1",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive shadow-depth-1",soft:"border-transparent shadow-depth-1 [&>svg]:text-foreground",outline:"bg-transparent [&>svg]:text-foreground",filled:"border-transparent shadow-depth-1 [&>svg]:text-current"}},defaultVariants:{variant:"default"}}),Po=e.defineComponent({__name:"Alert",props:{variant:{},color:{},class:{}},setup(o){const t=o,r=e.computed(()=>{if(!t.color||t.color==="default")return"";const n=t.variant||"default",i={default:"solid",destructive:"solid",soft:"soft",outline:"outline",filled:"solid"};return V(t.color,i[n]||"solid")});return(n,i)=>(e.openBlock(),e.createElementBlock("div",{role:"alert",class:e.normalizeClass(e.unref(s)(e.unref(Be)({variant:o.variant}),r.value,t.class))},[e.renderSlot(n.$slots,"default")],2))}}),No=e.defineComponent({__name:"AlertTitle",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("h5",{class:e.normalizeClass(e.unref(s)("mb-1 font-medium leading-none tracking-tight",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Do=e.defineComponent({__name:"AlertDescription",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("text-sm [&_p]:leading-relaxed",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),To=e.defineComponent({inheritAttrs:!1,__name:"Tooltip",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.TooltipRoot),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Ao=e.defineComponent({inheritAttrs:!1,__name:"TooltipProvider",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.TooltipProvider),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Mo=e.defineComponent({inheritAttrs:!1,__name:"TooltipTrigger",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.TooltipTrigger),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Vo=e.defineComponent({inheritAttrs:!1,__name:"TooltipContent",props:{class:{},sideOffset:{default:4}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.TooltipPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.TooltipContent),e.mergeProps(r.$attrs,{"side-offset":t.sideOffset,class:e.unref(s)("z-depth-4 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-depth-2","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",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["side-offset","class"])]),_:3}))}}),Ro=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenu",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuRoot),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),jo=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuTrigger",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuTrigger),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Io=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuContent",props:{class:{},sideOffset:{default:4}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.DropdownMenuContent),e.mergeProps(r.$attrs,{"side-offset":t.sideOffset,class:e.unref(s)("z-depth-3 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-depth-3","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["side-offset","class"])]),_:3}))}}),Lo=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuItem",props:{class:{},inset:{type:Boolean}},emits:["select"],setup(o,{emit:t}){const r=o,n=t;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuItem),e.mergeProps(i.$attrs,{class:e.unref(s)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o.inset&&"pl-8",r.class),onSelect:c[0]||(c[0]=d=>n("select",d))}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),Ho={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},Go=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuCheckboxItem",props:{class:{}},emits:["update:checked","select"],setup(o,{emit:t}){const r=o,n=t;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuCheckboxItem),e.mergeProps(i.$attrs,{class:e.unref(s)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r.class),"onUpdate:checked":c[0]||(c[0]=d=>n("update:checked",d)),onSelect:c[1]||(c[1]=d=>n("select",d))}),{default:e.withCtx(()=>[e.createElementVNode("span",Ho,[e.createVNode(e.unref(l.DropdownMenuItemIndicator),null,{default:e.withCtx(()=>[...c[2]||(c[2]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"M20 6 9 17l-5-5"})],-1)])]),_:1})]),e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),Fo={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},Oo=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuRadioItem",props:{class:{}},emits:["select"],setup(o,{emit:t}){const r=o,n=t;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuRadioItem),e.mergeProps(i.$attrs,{class:e.unref(s)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r.class),onSelect:c[0]||(c[0]=d=>n("select",d))}),{default:e.withCtx(()=>[e.createElementVNode("span",Fo,[e.createVNode(e.unref(l.DropdownMenuItemIndicator),null,{default:e.withCtx(()=>[...c[1]||(c[1]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-2 w-2"},[e.createElementVNode("circle",{cx:"12",cy:"12",r:"6",fill:"currentColor"})],-1)])]),_:1})]),e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),Uo=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuRadioGroup",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuRadioGroup),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Ko=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuSub",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuSub),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Wo=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuSubTrigger",props:{class:{},inset:{type:Boolean}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuSubTrigger),e.mergeProps(r.$attrs,{class:e.unref(s)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",o.inset&&"pl-8",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default"),n[0]||(n[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"ml-auto h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1))]),_:3},16,["class"]))}}),qo=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuSubContent",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuSubContent),e.mergeProps(r.$attrs,{class:e.unref(s)("z-depth-3 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-depth-3","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Yo=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuSeparator",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuSeparator),e.mergeProps(r.$attrs,{class:e.unref(s)("-mx-1 my-1 h-px bg-muted",t.class)}),null,16,["class"]))}}),Zo=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuLabel",props:{class:{},inset:{type:Boolean}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuLabel),e.mergeProps(r.$attrs,{class:e.unref(s)("px-2 py-1.5 text-sm font-semibold",o.inset&&"pl-8",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Xo=e.defineComponent({inheritAttrs:!1,__name:"DropdownMenuGroup",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.DropdownMenuGroup),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Jo=e.defineComponent({__name:"DropdownMenuShortcut",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(s)("ml-auto text-xs tracking-widest opacity-60",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Qo=e.defineComponent({inheritAttrs:!1,__name:"RadioGroup",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.RadioGroupRoot),e.mergeProps(r.$attrs,{class:e.unref(s)("grid gap-2",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),vo=e.defineComponent({inheritAttrs:!1,__name:"RadioGroupItem",props:{class:{},size:{default:"default"},color:{}},setup(o){const t=o,r={sm:"h-3.5 w-3.5",default:"h-4 w-4",lg:"h-5 w-5"},n={sm:"h-2 w-2",default:"h-2.5 w-2.5",lg:"h-3 w-3"},i=e.computed(()=>{const c=t.color&&t.color!=="default"?t.color:"primary";return ve[c]});return(c,d)=>(e.openBlock(),e.createBlock(e.unref(l.RadioGroupItem),e.mergeProps(c.$attrs,{class:e.unref(s)("aspect-square rounded-full border ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 shadow-depth-1",r[t.size],i.value,t.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.RadioGroupIndicator),{class:"flex items-center justify-center"},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",class:e.normalizeClass(n[t.size])},[...d[0]||(d[0]=[e.createElementVNode("circle",{cx:"12",cy:"12",r:"6"},null,-1)])],2))]),_:1})]),_:1},16,["class"]))}}),er=e.defineComponent({inheritAttrs:!1,__name:"Popover",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.PopoverRoot),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),tr=e.defineComponent({inheritAttrs:!1,__name:"PopoverTrigger",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.PopoverTrigger),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),or=e.defineComponent({inheritAttrs:!1,__name:"PopoverContent",props:{class:{},sideOffset:{default:4},align:{default:"center"}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.PopoverPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.PopoverContent),e.mergeProps(r.$attrs,{"side-offset":t.sideOffset,align:t.align,class:e.unref(s)("z-depth-3 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-depth-3 outline-none","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["side-offset","align","class"])]),_:3}))}}),rr=e.defineComponent({inheritAttrs:!1,__name:"Sheet",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogRoot),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),nr=e.defineComponent({inheritAttrs:!1,__name:"SheetTrigger",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogTrigger),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),ar=e.defineComponent({inheritAttrs:!1,__name:"SheetClose",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogClose),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),sr=e.defineComponent({inheritAttrs:!1,__name:"SheetOverlay",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogOverlay),e.mergeProps(r.$attrs,{class:e.unref(s)("fixed inset-0 z-50 bg-black/80","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t.class)}),null,16,["class"]))}}),lr=e.defineComponent({inheritAttrs:!1,__name:"SheetContent",props:{class:{},side:{default:"right"}},setup(o){const t=o,r=e.computed(()=>({top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left",right:"inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right"})[t.side]);return(n,i)=>(e.openBlock(),e.createBlock(e.unref(l.DialogPortal),null,{default:e.withCtx(()=>[e.createVNode(sr),e.createVNode(e.unref(l.DialogContent),e.mergeProps(n.$attrs,{class:e.unref(s)("fixed z-50 gap-4 bg-background p-6 shadow-depth-5 transition ease-in-out","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=open]:duration-500 data-[state=closed]:duration-300",r.value,t.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default"),e.createVNode(e.unref(l.DialogClose),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"},{default:e.withCtx(()=>[...i[0]||(i[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"M18 6 6 18"}),e.createElementVNode("path",{d:"m6 6 12 12"})],-1),e.createElementVNode("span",{class:"sr-only"},"Close",-1)])]),_:1})]),_:3},16,["class"])]),_:3}))}}),cr=e.defineComponent({__name:"SheetHeader",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("flex flex-col space-y-2 text-center sm:text-left",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),ir=e.defineComponent({__name:"SheetFooter",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),dr=e.defineComponent({inheritAttrs:!1,__name:"SheetTitle",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogTitle),e.mergeProps(r.$attrs,{class:e.unref(s)("text-lg font-semibold text-foreground",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),pr=e.defineComponent({inheritAttrs:!1,__name:"SheetDescription",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogDescription),e.mergeProps(r.$attrs,{class:e.unref(s)("text-sm text-muted-foreground",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),fr=e.defineComponent({inheritAttrs:!1,__name:"AlertDialog",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.AlertDialogRoot),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),mr=e.defineComponent({inheritAttrs:!1,__name:"AlertDialogTrigger",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.AlertDialogTrigger),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),ye=e.defineComponent({inheritAttrs:!1,__name:"AlertDialogPortal",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.AlertDialogPortal),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),xe=e.defineComponent({inheritAttrs:!1,__name:"AlertDialogOverlay",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.AlertDialogOverlay),e.mergeProps(r.$attrs,{class:e.unref(s)("fixed inset-0 z-50 bg-black/80","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t.class)}),null,16,["class"]))}}),gr=e.defineComponent({inheritAttrs:!1,__name:"AlertDialogContent",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(ye,null,{default:e.withCtx(()=>[e.createVNode(xe),e.createVNode(e.unref(l.AlertDialogContent),e.mergeProps(r.$attrs,{class:e.unref(s)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4","border bg-background p-6 shadow-depth-5 duration-200","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%]","data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]","sm:rounded-lg",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),ur=e.defineComponent({__name:"AlertDialogHeader",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("flex flex-col space-y-2 text-center sm:text-left",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),hr=e.defineComponent({__name:"AlertDialogFooter",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),br=e.defineComponent({inheritAttrs:!1,__name:"AlertDialogTitle",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.AlertDialogTitle),e.mergeProps(r.$attrs,{class:e.unref(s)("text-lg font-semibold",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),kr=e.defineComponent({inheritAttrs:!1,__name:"AlertDialogDescription",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.AlertDialogDescription),e.mergeProps(r.$attrs,{class:e.unref(s)("text-sm text-muted-foreground",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),_r=e.defineComponent({inheritAttrs:!1,__name:"AlertDialogAction",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.AlertDialogAction),e.mergeProps(r.$attrs,{class:e.unref(s)("inline-flex h-10 items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground ring-offset-background transition-colors","hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),wr=e.defineComponent({inheritAttrs:!1,__name:"AlertDialogCancel",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.AlertDialogCancel),e.mergeProps(r.$attrs,{class:e.unref(s)("inline-flex h-10 items-center justify-center rounded-md border border-input bg-background px-4 py-2 text-sm font-medium ring-offset-background transition-colors","hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50","mt-2 sm:mt-0",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Cr=e.defineComponent({__name:"Breadcrumb",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("nav",{"aria-label":"breadcrumb",class:e.normalizeClass(t.class)},[e.renderSlot(r.$slots,"default")],2))}}),Br=e.defineComponent({__name:"BreadcrumbList",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("ol",{class:e.normalizeClass(e.unref(s)("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),yr=e.defineComponent({__name:"BreadcrumbItem",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(e.unref(s)("inline-flex items-center gap-1.5",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),xr=e.defineComponent({__name:"BreadcrumbLink",props:{class:{},href:{},asChild:{type:Boolean}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.asChild?"slot":"a"),{href:o.asChild?void 0:o.href,class:e.normalizeClass(e.unref(s)("transition-colors hover:text-foreground",t.class))},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["href","class"]))}}),$r=e.defineComponent({__name:"BreadcrumbPage",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("span",{role:"link","aria-disabled":"true","aria-current":"page",class:e.normalizeClass(e.unref(s)("font-normal text-foreground",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Sr=e.defineComponent({__name:"BreadcrumbSeparator",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("li",{role:"presentation","aria-hidden":"true",class:e.normalizeClass(e.unref(s)("[&>svg]:size-3.5",t.class))},[e.renderSlot(r.$slots,"default",{},()=>[n[0]||(n[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1))])],2))}}),zr=e.defineComponent({__name:"BreadcrumbEllipsis",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("span",{role:"presentation","aria-hidden":"true",class:e.normalizeClass(e.unref(s)("flex h-9 w-9 items-center justify-center",t.class))},[...n[0]||(n[0]=[e.createStaticVNode('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="h-4 w-4"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg><span class="sr-only">More</span>',2)])],2))}}),H=S.cva("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"},size:{default:"h-10 px-3",sm:"h-9 px-2.5",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"default"}}),Er=e.defineComponent({inheritAttrs:!1,__name:"Toggle",props:{class:{},variant:{},size:{},color:{}},setup(o){const t=o,r=e.computed(()=>!t.color||t.color==="default"?"":et[t.color]);return(n,i)=>(e.openBlock(),e.createBlock(e.unref(l.Toggle),e.mergeProps(n.$attrs,{class:e.unref(s)(e.unref(H)({variant:t.variant,size:t.size}),r.value,t.class)}),{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["class"]))}}),Pr=e.defineComponent({inheritAttrs:!1,__name:"ToggleGroup",props:{class:{},variant:{},size:{}},setup(o){const t=o;return e.provide("toggleGroupVariant",t.variant),e.provide("toggleGroupSize",t.size),(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ToggleGroupRoot),e.mergeProps(r.$attrs,{class:e.unref(s)("flex items-center justify-center gap-1",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Nr=e.defineComponent({inheritAttrs:!1,__name:"ToggleGroupItem",props:{class:{},variant:{},size:{}},setup(o){const t=o,r=e.inject("toggleGroupVariant",void 0),n=e.inject("toggleGroupSize",void 0);return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.ToggleGroupItem),e.mergeProps(i.$attrs,{class:e.unref(s)(e.unref(H)({variant:t.variant||e.unref(r),size:t.size||e.unref(n)}),t.class)}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),Dr=e.defineComponent({inheritAttrs:!1,__name:"Accordion",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.AccordionRoot),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Tr=e.defineComponent({inheritAttrs:!1,__name:"AccordionItem",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.AccordionItem),e.mergeProps(r.$attrs,{class:e.unref(s)("border-b",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Ar=e.defineComponent({inheritAttrs:!1,__name:"AccordionTrigger",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.AccordionHeader),{class:"flex"},{default:e.withCtx(()=>[e.createVNode(e.unref(l.AccordionTrigger),e.mergeProps(r.$attrs,{class:e.unref(s)("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default"),n[0]||(n[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4 shrink-0 transition-transform duration-200"},[e.createElementVNode("path",{d:"m6 9 6 6 6-6"})],-1))]),_:3},16,["class"])]),_:3}))}}),Mr={class:"pb-4 pt-0"},Vr=e.defineComponent({inheritAttrs:!1,__name:"AccordionContent",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.AccordionContent),e.mergeProps(r.$attrs,{class:e.unref(s)("overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",t.class)}),{default:e.withCtx(()=>[e.createElementVNode("div",Mr,[e.renderSlot(r.$slots,"default")])]),_:3},16,["class"]))}}),Rr=e.defineComponent({inheritAttrs:!1,__name:"Collapsible",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.CollapsibleRoot),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),jr=e.defineComponent({inheritAttrs:!1,__name:"CollapsibleTrigger",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.CollapsibleTrigger),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Ir=e.defineComponent({inheritAttrs:!1,__name:"CollapsibleContent",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.CollapsibleContent),e.mergeProps(r.$attrs,{class:e.unref(s)("overflow-hidden transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),G=e.defineComponent({inheritAttrs:!1,__name:"ScrollBar",props:{class:{},orientation:{default:"vertical"}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ScrollAreaScrollbar),e.mergeProps(r.$attrs,{orientation:o.orientation,class:e.unref(s)("flex touch-none select-none transition-colors",o.orientation==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-px",o.orientation==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-px",t.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.ScrollAreaThumb),{class:"relative flex-1 rounded-full bg-border"})]),_:1},16,["orientation","class"]))}}),Lr=e.defineComponent({inheritAttrs:!1,__name:"ScrollArea",props:{class:{},orientation:{default:"vertical"}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ScrollAreaRoot),e.mergeProps(r.$attrs,{class:e.unref(s)("relative overflow-hidden",t.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.ScrollAreaViewport),{class:"h-full w-full rounded-[inherit]"},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3}),o.orientation==="vertical"||o.orientation==="both"?(e.openBlock(),e.createBlock(G,{key:0,orientation:"vertical"})):e.createCommentVNode("",!0),o.orientation==="horizontal"||o.orientation==="both"?(e.openBlock(),e.createBlock(G,{key:1,orientation:"horizontal"})):e.createCommentVNode("",!0)]),_:3},16,["class"]))}}),Hr=e.defineComponent({__name:"TableFooter",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("tfoot",{class:e.normalizeClass(e.unref(s)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Gr=e.defineComponent({__name:"TableCaption",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("caption",{class:e.normalizeClass(e.unref(s)("mt-4 text-sm text-muted-foreground",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Fr=e.defineComponent({inheritAttrs:!1,__name:"Progress",props:{class:{},modelValue:{},size:{},color:{},ariaLabel:{}},setup(o){const t=o,r={xs:"h-1",sm:"h-1",default:"h-1.5",lg:"h-2",xl:"h-3"},n=e.computed(()=>!t.color||t.color==="default"?"bg-primary":R[t.color]);return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.ProgressRoot),e.mergeProps(i.$attrs,{"model-value":t.modelValue,"aria-label":t.ariaLabel,class:e.unref(s)("relative w-full overflow-hidden rounded-full bg-muted",r[t.size||"default"],t.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.ProgressIndicator),{class:e.normalizeClass(e.unref(s)("h-full w-full flex-1 rounded-full transition-all duration-300 ease-out",n.value)),style:e.normalizeStyle({transform:`translateX(-${100-(t.modelValue||0)}%)`})},null,8,["class","style"])]),_:1},16,["model-value","aria-label","class"]))}}),Or=e.defineComponent({__name:"Skeleton",props:{class:{},variant:{default:"pulse"},radius:{}},setup(o){const t=o,r={pulse:"animate-pulse",wave:"animate-pulse",none:""},n=t.radius?$[t.radius]:"rounded-md";return(i,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("bg-muted",r[o.variant],o.variant==="wave"&&"bg-gradient-to-r from-muted via-muted/50 to-muted bg-[length:200%_100%]",e.unref(n),t.class))},null,2))}}),Ur={class:"relative flex items-center gap-3"},Kr={key:0,class:"text-sm font-medium text-foreground tabular-nums min-w-[3ch] text-right"},Wr=e.defineComponent({inheritAttrs:!1,__name:"Slider",props:{class:{},modelValue:{},showValue:{type:Boolean,default:!1},color:{}},setup(o){const t=o,r=e.computed(()=>(t.modelValue??[0]).length),n=e.computed(()=>!t.color||t.color==="default"?"bg-primary":R[t.color]),i=e.computed(()=>!t.color||t.color==="default"?"border-primary":W[t.color]);return(c,d)=>(e.openBlock(),e.createElementBlock("div",Ur,[e.createVNode(e.unref(l.SliderRoot),e.mergeProps(c.$attrs,{"model-value":t.modelValue,class:e.unref(s)("relative flex w-full touch-none select-none items-center",t.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.SliderTrack),{class:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-muted shadow-depth-1"},{default:e.withCtx(()=>[e.createVNode(e.unref(l.SliderRange),{class:e.normalizeClass(e.unref(s)("absolute h-full transition-all duration-150 ease-out",n.value))},null,8,["class"])]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(f,b)=>(e.openBlock(),e.createBlock(e.unref(l.SliderThumb),{key:b,class:e.normalizeClass(e.unref(s)("block h-5 w-5 rounded-full border-2 bg-background",i.value,"ring-offset-background transition-all duration-150 ease-out","shadow-depth-2 hover:shadow-depth-3 hover:scale-105","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50"))},null,8,["class"]))),128))]),_:1},16,["model-value","class"]),e.renderSlot(c.$slots,"value",{value:o.modelValue},()=>[o.showValue&&o.modelValue?(e.openBlock(),e.createElementBlock("span",Kr,e.toDisplayString(o.modelValue[0]),1)):e.createCommentVNode("",!0)])]))}}),qr=e.defineComponent({inheritAttrs:!1,__name:"HoverCard",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.HoverCardRoot),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Yr=e.defineComponent({inheritAttrs:!1,__name:"HoverCardTrigger",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.HoverCardTrigger),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Zr=e.defineComponent({inheritAttrs:!1,__name:"HoverCardContent",props:{class:{},sideOffset:{default:4}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.HoverCardPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.HoverCardContent),e.mergeProps(r.$attrs,{"side-offset":t.sideOffset,class:e.unref(s)("z-depth-3 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-depth-3 outline-none","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["side-offset","class"])]),_:3}))}}),Xr=e.defineComponent({inheritAttrs:!1,__name:"ContextMenu",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuRoot),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Jr=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuTrigger",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuTrigger),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Qr=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuContent",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.ContextMenuContent),e.mergeProps(r.$attrs,{class:e.unref(s)("z-depth-3 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-depth-3","animate-in fade-in-0 zoom-in-95","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),vr=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuItem",props:{class:{},inset:{type:Boolean}},emits:["select"],setup(o,{emit:t}){const r=o,n=t;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuItem),e.mergeProps(i.$attrs,{class:e.unref(s)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o.inset&&"pl-8",r.class),onSelect:c[0]||(c[0]=d=>n("select",d))}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),en={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},tn=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuCheckboxItem",props:{class:{}},emits:["update:checked","select"],setup(o,{emit:t}){const r=o,n=t;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuCheckboxItem),e.mergeProps(i.$attrs,{class:e.unref(s)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r.class),"onUpdate:checked":c[0]||(c[0]=d=>n("update:checked",d)),onSelect:c[1]||(c[1]=d=>n("select",d))}),{default:e.withCtx(()=>[e.createElementVNode("span",en,[e.createVNode(e.unref(l.ContextMenuItemIndicator),null,{default:e.withCtx(()=>[...c[2]||(c[2]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"M20 6 9 17l-5-5"})],-1)])]),_:1})]),e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),on={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},rn=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuRadioItem",props:{class:{}},emits:["select"],setup(o,{emit:t}){const r=o,n=t;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuRadioItem),e.mergeProps(i.$attrs,{class:e.unref(s)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r.class),onSelect:c[0]||(c[0]=d=>n("select",d))}),{default:e.withCtx(()=>[e.createElementVNode("span",on,[e.createVNode(e.unref(l.ContextMenuItemIndicator),null,{default:e.withCtx(()=>[...c[1]||(c[1]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-2 w-2"},[e.createElementVNode("circle",{cx:"12",cy:"12",r:"6",fill:"currentColor"})],-1)])]),_:1})]),e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),nn=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuRadioGroup",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuRadioGroup),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),an=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuSub",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuSub),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),sn=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuSubTrigger",props:{class:{},inset:{type:Boolean}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuSubTrigger),e.mergeProps(r.$attrs,{class:e.unref(s)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",o.inset&&"pl-8",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default"),n[0]||(n[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"ml-auto h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1))]),_:3},16,["class"]))}}),ln=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuSubContent",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuSubContent),e.mergeProps(r.$attrs,{class:e.unref(s)("z-depth-3 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-depth-3","animate-in fade-in-0 zoom-in-95","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),cn=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuSeparator",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuSeparator),e.mergeProps(r.$attrs,{class:e.unref(s)("-mx-1 my-1 h-px bg-muted",t.class)}),null,16,["class"]))}}),dn=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuLabel",props:{class:{},inset:{type:Boolean}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuLabel),e.mergeProps(r.$attrs,{class:e.unref(s)("px-2 py-1.5 text-sm font-semibold text-foreground",o.inset&&"pl-8",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),pn=e.defineComponent({inheritAttrs:!1,__name:"ContextMenuGroup",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.ContextMenuGroup),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),fn=e.defineComponent({__name:"ContextMenuShortcut",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(s)("ml-auto text-xs tracking-widest text-muted-foreground",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),mn=e.defineComponent({inheritAttrs:!1,__name:"Pagination",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.PaginationRoot),e.mergeProps(r.$attrs,{class:e.unref(s)("mx-auto flex w-full justify-center",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),gn=e.defineComponent({inheritAttrs:!1,__name:"PaginationContent",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.PaginationList),e.mergeProps(r.$attrs,{class:e.unref(s)("flex flex-row items-center gap-1",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),un=e.defineComponent({inheritAttrs:!1,__name:"PaginationItem",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.PaginationListItem),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),A=e.defineComponent({__name:"PaginationLink",props:{class:{},isActive:{type:Boolean},size:{default:"icon"}},setup(o){return(t,r)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(e.unref(s)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50","h-10 w-10",o.isActive?"border border-input bg-background hover:bg-accent hover:text-accent-foreground shadow-depth-1":"hover:bg-accent hover:text-accent-foreground",t.$props.class))},[e.renderSlot(t.$slots,"default")],2))}}),hn=e.defineComponent({__name:"PaginationFirst",props:{class:{}},setup(o){return(t,r)=>(e.openBlock(),e.createBlock(A,{class:e.normalizeClass(t.$props.class)},{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m11 17-5-5 5-5"}),e.createElementVNode("path",{d:"m18 17-5-5 5-5"})],-1)])]),_:1},8,["class"]))}}),bn=e.defineComponent({__name:"PaginationPrev",props:{class:{}},setup(o){return(t,r)=>(e.openBlock(),e.createBlock(A,{class:e.normalizeClass(t.$props.class)},{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m15 18-6-6 6-6"})],-1)])]),_:1},8,["class"]))}}),kn=e.defineComponent({__name:"PaginationNext",props:{class:{}},setup(o){return(t,r)=>(e.openBlock(),e.createBlock(A,{class:e.normalizeClass(t.$props.class)},{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1)])]),_:1},8,["class"]))}}),_n=e.defineComponent({__name:"PaginationLast",props:{class:{}},setup(o){return(t,r)=>(e.openBlock(),e.createBlock(A,{class:e.normalizeClass(t.$props.class)},{default:e.withCtx(()=>[...r[0]||(r[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m13 17 5-5-5-5"}),e.createElementVNode("path",{d:"m6 17 5-5-5-5"})],-1)])]),_:1},8,["class"]))}}),wn=e.defineComponent({__name:"PaginationEllipsis",props:{class:{}},setup(o){return(t,r)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(s)("flex h-9 w-9 items-center justify-center",t.$props.class))},[...r[0]||(r[0]=[e.createStaticVNode('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="h-4 w-4"><circle cx="12" cy="12" r="1"></circle><circle cx="19" cy="12" r="1"></circle><circle cx="5" cy="12" r="1"></circle></svg><span class="sr-only">More pages</span>',2)])],2))}}),$e=e.defineComponent({inheritAttrs:!1,__name:"Command",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxRoot),e.mergeProps(r.$attrs,{class:e.unref(s)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground shadow-depth-2",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Cn={class:"flex items-center border-b px-3","cmdk-input-wrapper":""},Bn=e.defineComponent({inheritAttrs:!1,__name:"CommandInput",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",Cn,[n[0]||(n[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"mr-2 h-4 w-4 shrink-0 opacity-50"},[e.createElementVNode("path",{d:"m21 21-6.05-6.05M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z"})],-1)),e.createVNode(e.unref(l.ComboboxInput),e.mergeProps(r.$attrs,{class:e.unref(s)("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",t.class)}),null,16,["class"])]))}}),yn=e.defineComponent({inheritAttrs:!1,__name:"CommandList",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxContent),e.mergeProps(r.$attrs,{class:e.unref(s)("max-h-[300px] overflow-y-auto overflow-x-hidden",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),xn=e.defineComponent({inheritAttrs:!1,__name:"CommandEmpty",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxEmpty),e.mergeProps(r.$attrs,{class:e.unref(s)("py-6 text-center text-sm",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),$n=e.defineComponent({inheritAttrs:!1,__name:"CommandGroup",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxGroup),e.mergeProps(r.$attrs,{class:e.unref(s)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Sn=e.defineComponent({inheritAttrs:!1,__name:"CommandItem",props:{class:{}},emits:["select"],setup(o,{emit:t}){const r=o,n=t;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxItem),e.mergeProps(i.$attrs,{class:e.unref(s)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r.class),onSelect:c[0]||(c[0]=d=>n("select",d))}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),zn=e.defineComponent({inheritAttrs:!1,__name:"CommandSeparator",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxSeparator),e.mergeProps(r.$attrs,{class:e.unref(s)("-mx-1 h-px bg-border",t.class)}),null,16,["class"]))}}),En=e.defineComponent({inheritAttrs:!1,__name:"CommandLabel",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxLabel),e.mergeProps(r.$attrs,{class:e.unref(s)("px-2 py-1.5 text-xs font-medium text-muted-foreground",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Pn=e.defineComponent({__name:"CommandDialog",props:{open:{type:Boolean}},emits:["update:open"],setup(o,{emit:t}){const r=o,n=t;return(i,c)=>(e.openBlock(),e.createBlock(ce,{open:r.open,"onUpdate:open":c[0]||(c[0]=d=>n("update:open",d))},{default:e.withCtx(()=>[e.createVNode(ie,{class:"overflow-hidden p-0 shadow-depth-5"},{default:e.withCtx(()=>[e.createVNode($e,{class:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5"},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3})]),_:3})]),_:3},8,["open"]))}}),Nn=e.defineComponent({inheritAttrs:!1,__name:"Menubar",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarRoot),e.mergeProps(r.$attrs,{class:e.unref(s)("flex h-10 items-center space-x-1 rounded-md border bg-background p-1 shadow-depth-1",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Dn=e.defineComponent({inheritAttrs:!1,__name:"MenubarMenu",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarMenu),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Tn=e.defineComponent({inheritAttrs:!1,__name:"MenubarTrigger",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarTrigger),e.mergeProps(r.$attrs,{class:e.unref(s)("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),An=e.defineComponent({inheritAttrs:!1,__name:"MenubarContent",props:{class:{},align:{default:"start"},sideOffset:{default:8}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.MenubarContent),e.mergeProps(r.$attrs,{align:t.align,"side-offset":t.sideOffset,class:e.unref(s)("z-depth-3 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-depth-3","data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["align","side-offset","class"])]),_:3}))}}),Mn=e.defineComponent({inheritAttrs:!1,__name:"MenubarItem",props:{class:{},inset:{type:Boolean}},emits:["select"],setup(o,{emit:t}){const r=o,n=t;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarItem),e.mergeProps(i.$attrs,{class:e.unref(s)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o.inset&&"pl-8",r.class),onSelect:c[0]||(c[0]=d=>n("select",d))}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),Vn={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},Rn=e.defineComponent({inheritAttrs:!1,__name:"MenubarCheckboxItem",props:{class:{}},emits:["update:checked","select"],setup(o,{emit:t}){const r=o,n=t;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarCheckboxItem),e.mergeProps(i.$attrs,{class:e.unref(s)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r.class),"onUpdate:checked":c[0]||(c[0]=d=>n("update:checked",d)),onSelect:c[1]||(c[1]=d=>n("select",d))}),{default:e.withCtx(()=>[e.createElementVNode("span",Vn,[e.createVNode(e.unref(l.MenubarItemIndicator),null,{default:e.withCtx(()=>[...c[2]||(c[2]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"M20 6 9 17l-5-5"})],-1)])]),_:1})]),e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),jn={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},In=e.defineComponent({inheritAttrs:!1,__name:"MenubarRadioItem",props:{class:{}},emits:["select"],setup(o,{emit:t}){const r=o,n=t;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarRadioItem),e.mergeProps(i.$attrs,{class:e.unref(s)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r.class),onSelect:c[0]||(c[0]=d=>n("select",d))}),{default:e.withCtx(()=>[e.createElementVNode("span",jn,[e.createVNode(e.unref(l.MenubarItemIndicator),null,{default:e.withCtx(()=>[...c[1]||(c[1]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-2 w-2"},[e.createElementVNode("circle",{cx:"12",cy:"12",r:"6",fill:"currentColor"})],-1)])]),_:1})]),e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),Ln=e.defineComponent({inheritAttrs:!1,__name:"MenubarRadioGroup",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarRadioGroup),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Hn=e.defineComponent({inheritAttrs:!1,__name:"MenubarSub",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarSub),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Gn=e.defineComponent({inheritAttrs:!1,__name:"MenubarSubTrigger",props:{class:{},inset:{type:Boolean}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarSubTrigger),e.mergeProps(r.$attrs,{class:e.unref(s)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",o.inset&&"pl-8",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default"),n[0]||(n[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"ml-auto h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1))]),_:3},16,["class"]))}}),Fn=e.defineComponent({inheritAttrs:!1,__name:"MenubarSubContent",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarSubContent),e.mergeProps(r.$attrs,{class:e.unref(s)("z-depth-3 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-depth-3","data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),On=e.defineComponent({inheritAttrs:!1,__name:"MenubarSeparator",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarSeparator),e.mergeProps(r.$attrs,{class:e.unref(s)("-mx-1 my-1 h-px bg-muted",t.class)}),null,16,["class"]))}}),Un=e.defineComponent({inheritAttrs:!1,__name:"MenubarLabel",props:{class:{},inset:{type:Boolean}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarLabel),e.mergeProps(r.$attrs,{class:e.unref(s)("px-2 py-1.5 text-sm font-semibold",o.inset&&"pl-8",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Kn=e.defineComponent({inheritAttrs:!1,__name:"MenubarGroup",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.MenubarGroup),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Wn=e.defineComponent({__name:"MenubarShortcut",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(s)("ml-auto text-xs tracking-widest text-muted-foreground",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),qn={class:"absolute left-0 top-full flex justify-center"},Se=e.defineComponent({inheritAttrs:!1,__name:"NavigationMenuViewport",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",qn,[e.createVNode(e.unref(l.NavigationMenuViewport),e.mergeProps(r.$attrs,{class:e.unref(s)("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-depth-3","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90","md:w-[var(--radix-navigation-menu-viewport-width)]",t.class)}),null,16,["class"])]))}}),Yn=e.defineComponent({inheritAttrs:!1,__name:"NavigationMenu",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.NavigationMenuRoot),e.mergeProps(r.$attrs,{class:e.unref(s)("relative z-10 flex max-w-max flex-1 items-center justify-center",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default"),e.createVNode(Se)]),_:3},16,["class"]))}}),Zn=e.defineComponent({inheritAttrs:!1,__name:"NavigationMenuList",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.NavigationMenuList),e.mergeProps(r.$attrs,{class:e.unref(s)("group flex flex-1 list-none items-center justify-center space-x-1",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Xn=e.defineComponent({inheritAttrs:!1,__name:"NavigationMenuItem",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.NavigationMenuItem),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Jn=e.defineComponent({inheritAttrs:!1,__name:"NavigationMenuTrigger",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.NavigationMenuTrigger),e.mergeProps(r.$attrs,{class:e.unref(s)("group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default"),n[0]||(n[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"relative top-px ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180","aria-hidden":"true"},[e.createElementVNode("path",{d:"m6 9 6 6 6-6"})],-1))]),_:3},16,["class"]))}}),Qn=e.defineComponent({inheritAttrs:!1,__name:"NavigationMenuContent",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.NavigationMenuContent),e.mergeProps(r.$attrs,{class:e.unref(s)("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),vn=e.defineComponent({inheritAttrs:!1,__name:"NavigationMenuLink",props:{class:{}},emits:["select"],setup(o,{emit:t}){const r=o,n=t;return(i,c)=>(e.openBlock(),e.createBlock(e.unref(l.NavigationMenuLink),e.mergeProps(i.$attrs,{class:e.unref(s)("group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50",r.class),onSelect:c[0]||(c[0]=d=>n("select",d))}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},16,["class"]))}}),ea=e.defineComponent({inheritAttrs:!1,__name:"NavigationMenuIndicator",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.NavigationMenuIndicator),e.mergeProps(r.$attrs,{class:e.unref(s)("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",t.class)}),{default:e.withCtx(()=>[...n[0]||(n[0]=[e.createElementVNode("div",{class:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-depth-2"},null,-1)])]),_:1},16,["class"]))}}),ze=e.defineComponent({inheritAttrs:!1,__name:"CalendarHeader",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarHeader),e.mergeProps(r.$attrs,{class:e.unref(s)("flex justify-between items-center pt-1 relative",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Ee=e.defineComponent({inheritAttrs:!1,__name:"CalendarHeading",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarHeading),e.mergeProps(r.$attrs,{class:e.unref(s)("text-sm font-medium",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Pe=e.defineComponent({inheritAttrs:!1,__name:"CalendarPrev",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarPrev),e.mergeProps(r.$attrs,{class:e.unref(s)("inline-flex h-7 w-7 items-center justify-center rounded-md border-0 bg-transparent","hover:bg-accent hover:text-accent-foreground",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default",{},()=>[n[0]||(n[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m15 18-6-6 6-6"})],-1))])]),_:3},16,["class"]))}}),Ne=e.defineComponent({inheritAttrs:!1,__name:"CalendarNext",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarNext),e.mergeProps(r.$attrs,{class:e.unref(s)("inline-flex h-7 w-7 items-center justify-center rounded-md border-0 bg-transparent","hover:bg-accent hover:text-accent-foreground",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default",{},()=>[n[0]||(n[0]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1))])]),_:3},16,["class"]))}}),De=e.defineComponent({inheritAttrs:!1,__name:"CalendarGrid",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarGrid),e.mergeProps(r.$attrs,{class:e.unref(s)("w-full border-collapse space-y-1",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Te=e.defineComponent({inheritAttrs:!1,__name:"CalendarGridHead",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarGridHead),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Ae=e.defineComponent({inheritAttrs:!1,__name:"CalendarGridBody",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarGridBody),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),F=e.defineComponent({inheritAttrs:!1,__name:"CalendarGridRow",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarGridRow),e.mergeProps(r.$attrs,{class:e.unref(s)("flex",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Me=e.defineComponent({inheritAttrs:!1,__name:"CalendarHeadCell",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarHeadCell),e.mergeProps(r.$attrs,{class:e.unref(s)("text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Ve=e.defineComponent({inheritAttrs:!1,__name:"CalendarCell",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarCell),e.mergeProps(r.$attrs,{class:e.unref(s)("h-8 w-8 text-center text-sm p-0 relative","focus-within:relative focus-within:z-20",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Re=e.defineComponent({inheritAttrs:!1,__name:"CalendarCellTrigger",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarCellTrigger),e.mergeProps(r.$attrs,{class:e.unref(s)("inline-flex h-8 w-8 items-center justify-center whitespace-nowrap rounded-full text-sm font-normal","ring-offset-background transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50","hover:bg-accent hover:text-accent-foreground","aria-selected:bg-primary aria-selected:text-primary-foreground aria-selected:font-medium","aria-selected:hover:bg-primary aria-selected:hover:text-primary-foreground","aria-selected:focus:bg-primary aria-selected:focus:text-primary-foreground",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),ta={class:"mt-4 flex flex-col gap-y-4 sm:flex-row sm:gap-x-4 sm:gap-y-0"},je=e.defineComponent({inheritAttrs:!1,__name:"Calendar",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.CalendarRoot),e.mergeProps(r.$attrs,{class:e.unref(s)("p-3",t.class)}),{default:e.withCtx(({grid:i,weekDays:c})=>[e.createVNode(ze,null,{default:e.withCtx(()=>[e.createVNode(Pe),e.createVNode(Ee),e.createVNode(Ne)]),_:1}),e.createElementVNode("div",ta,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i,d=>(e.openBlock(),e.createBlock(De,{key:d.value.toString()},{default:e.withCtx(()=>[e.createVNode(Te,null,{default:e.withCtx(()=>[e.createVNode(F,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c,f=>(e.openBlock(),e.createBlock(Me,{key:f},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(f),1)]),_:2},1024))),128))]),_:2},1024)]),_:2},1024),e.createVNode(Ae,null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.rows,(f,b)=>(e.openBlock(),e.createBlock(F,{key:`weekDate-${b}`},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f,m=>(e.openBlock(),e.createBlock(Ve,{key:m.toString(),date:m},{default:e.withCtx(()=>[e.createVNode(Re,{day:m,month:d.value},null,8,["day","month"])]),_:2},1032,["date"]))),128))]),_:2},1024))),128))]),_:2},1024)]),_:2},1024))),128))])]),_:1},16,["class"]))}}),oa={class:"mt-4 flex flex-col gap-y-4 sm:flex-row sm:gap-x-4 sm:gap-y-0"},ra=e.defineComponent({inheritAttrs:!1,__name:"DateRangePicker",props:{modelValue:{},numberOfMonths:{default:2},placeholder:{},class:{},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(o,{emit:t}){const r=o,n=t;function i(c){n("update:modelValue",c)}return(c,d)=>(e.openBlock(),e.createBlock(e.unref(l.DateRangePickerRoot),e.mergeProps(c.$attrs,{"model-value":o.modelValue,"number-of-months":o.numberOfMonths,disabled:o.disabled,"onUpdate:modelValue":i}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.DateRangePickerField),{class:e.normalizeClass(e.unref(s)("flex h-10 w-full items-center rounded-lg border border-input bg-background px-3 py-2 text-sm text-foreground shadow-depth-1","ring-offset-background","focus-within:outline-none focus-within:ring-2 focus-within:ring-primary/20 focus-within:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",r.class))},{default:e.withCtx(({segments:f})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f,b=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:b.part},[b.part==="literal"?(e.openBlock(),e.createBlock(e.unref(l.DateRangePickerInput),{key:0,part:b.part,class:e.normalizeClass(e.unref(s)("text-muted-foreground"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.value),1)]),_:2},1032,["part","class"])):(e.openBlock(),e.createBlock(e.unref(l.DateRangePickerInput),{key:1,part:b.part,class:e.normalizeClass(e.unref(s)("inline-flex items-center justify-center rounded-md px-1 text-foreground","focus:outline-none focus:bg-accent focus:text-accent-foreground"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(b.value),1)]),_:2},1032,["part","class"]))],64))),128))]),_:1},8,["class"]),e.createVNode(e.unref(l.DateRangePickerCalendar),{class:"p-3"},{default:e.withCtx(({weekDays:f,grid:b})=>[e.createVNode(e.unref(l.DateRangePickerHeader),{class:"flex justify-between items-center pt-1 relative"},{default:e.withCtx(()=>[e.createVNode(e.unref(l.DateRangePickerPrev),{class:e.normalizeClass(e.unref(s)("inline-flex h-7 w-7 items-center justify-center rounded-md border-0 bg-transparent","hover:bg-accent hover:text-accent-foreground"))},{default:e.withCtx(()=>[...d[0]||(d[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m15 18-6-6 6-6"})],-1)])]),_:1},8,["class"]),e.createVNode(e.unref(l.DateRangePickerHeading),{class:"text-sm font-medium"}),e.createVNode(e.unref(l.DateRangePickerNext),{class:e.normalizeClass(e.unref(s)("inline-flex h-7 w-7 items-center justify-center rounded-md border-0 bg-transparent","hover:bg-accent hover:text-accent-foreground"))},{default:e.withCtx(()=>[...d[1]||(d[1]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1)])]),_:1},8,["class"])]),_:1}),e.createElementVNode("div",oa,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b,m=>(e.openBlock(),e.createBlock(e.unref(l.DateRangePickerGrid),{key:m.value.toString(),class:"w-full border-collapse space-y-1"},{default:e.withCtx(()=>[e.createVNode(e.unref(l.DateRangePickerGridHead),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.DateRangePickerGridRow),{class:"flex"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f,k=>(e.openBlock(),e.createBlock(e.unref(l.DateRangePickerHeadCell),{key:k,class:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(k),1)]),_:2},1024))),128))]),_:2},1024)]),_:2},1024),e.createVNode(e.unref(l.DateRangePickerGridBody),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.rows,(k,u)=>(e.openBlock(),e.createBlock(e.unref(l.DateRangePickerGridRow),{key:`weekDate-${u}`,class:"flex"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k,g=>(e.openBlock(),e.createBlock(e.unref(l.DateRangePickerCell),{key:g.toString(),date:g,class:e.normalizeClass(e.unref(s)("h-8 w-8 text-center text-sm p-0 relative","focus-within:relative focus-within:z-20"))},{default:e.withCtx(()=>[e.createVNode(e.unref(l.DateRangePickerCellTrigger),{day:g,month:m.value,class:e.normalizeClass(e.unref(s)("inline-flex h-8 w-8 items-center justify-center whitespace-nowrap rounded-full text-sm font-normal","ring-offset-background transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:pointer-events-none disabled:opacity-50","hover:bg-accent hover:text-accent-foreground","aria-selected:bg-primary aria-selected:text-primary-foreground aria-selected:font-medium"))},null,8,["day","month","class"])]),_:2},1032,["date","class"]))),128))]),_:2},1024))),128))]),_:2},1024)]),_:2},1024))),128))])]),_:1})]),_:1},16,["model-value","number-of-months","disabled"]))}}),na=["value","disabled"],M=e.defineComponent({__name:"TimePickerSegment",props:{type:{},value:{},hour12:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},class:{}},emits:["update:value","advance"],setup(o,{expose:t,emit:r}){const n=o,i=r,c=e.ref(null),d=e.ref(""),f=e.computed(()=>{switch(n.type){case"hour":return n.hour12?12:23;case"minute":case"second":return 59;case"ampm":return 1;default:return 59}}),b=e.computed(()=>n.type==="hour"&&n.hour12?1:0),m=e.computed(()=>n.type==="ampm"?n.value===0?"AM":"PM":String(n.value).padStart(2,"0"));function k(p){const w=b.value,y=f.value,x=y-w+1;return p>y?w+(p-w)%x:p<w?y-(w-p-1)%x:p}function u(){n.disabled||(n.type==="ampm"?i("update:value",n.value===0?1:0):i("update:value",k(n.value+1)))}function g(){n.disabled||(n.type==="ampm"?i("update:value",n.value===0?1:0):i("update:value",k(n.value-1)))}function h(p){if(!n.disabled){if(p.key==="ArrowUp"){p.preventDefault(),u();return}if(p.key==="ArrowDown"){p.preventDefault(),g();return}if(n.type==="ampm"){p.key==="a"||p.key==="A"?(p.preventDefault(),i("update:value",0)):(p.key==="p"||p.key==="P")&&(p.preventDefault(),i("update:value",1));return}if(/^[0-9]$/.test(p.key)){p.preventDefault();const w=p.key,y=d.value+w,x=parseInt(y,10),el=Math.floor(f.value/10);if(d.value==="")if(parseInt(w,10)>el){const U=Math.max(b.value,Math.min(f.value,parseInt(w,10)));i("update:value",U),d.value="",e.nextTick(()=>i("advance"))}else d.value=w;else{const U=Math.max(b.value,Math.min(f.value,x));i("update:value",U),d.value="",e.nextTick(()=>i("advance"))}}}}function B(){var p;d.value="",(p=c.value)==null||p.select()}function C(){d.value=""}function _(){var p;(p=c.value)==null||p.focus()}return t({focus:_}),(p,w)=>(e.openBlock(),e.createElementBlock("input",{ref_key:"inputRef",ref:c,readonly:"",value:m.value,disabled:o.disabled,class:e.normalizeClass(e.unref(s)("w-8 text-center text-sm tabular-nums caret-transparent","bg-transparent outline-none select-all","rounded-md py-1","focus:bg-primary/10 focus:text-foreground","disabled:cursor-not-allowed disabled:opacity-50","cursor-default",o.type==="ampm"&&"w-10 text-xs font-medium",n.class)),onKeydown:h,onFocus:B,onBlur:C},null,42,na))}}),Ie=e.defineComponent({__name:"TimePicker",props:{modelValue:{},hour12:{type:Boolean,default:!1},granularity:{default:"minute"},class:{},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(o,{emit:t}){const r=o,n=t,i=e.ref(null),c=e.ref(null),d=e.ref(null),f=e.ref(null),b=e.computed(()=>r.modelValue??{hour:0,minute:0,second:0}),m=e.computed(()=>b.value.hour>=12?1:0),k=e.computed(()=>{if(!r.hour12)return b.value.hour;const _=b.value.hour%12;return _===0?12:_});function u(_,p){const w={...b.value};if(_==="hour"&&r.hour12){const y=b.value.hour>=12;let x=p;p===12?x=y?12:0:x=y?p+12:p,w.hour=x}else w[_]=p;n("update:modelValue",w)}function g(_){const p={...b.value},w=p.hour;_===1&&w<12?p.hour=w+12:_===0&&w>=12&&(p.hour=w-12),n("update:modelValue",p)}function h(){var _;(_=c.value)==null||_.focus()}function B(){var _,p;r.granularity==="second"?(_=d.value)==null||_.focus():r.hour12&&((p=f.value)==null||p.focus())}function C(){var _;r.hour12&&((_=f.value)==null||_.focus())}return(_,p)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("inline-flex items-center gap-0.5 px-3 py-2","border border-input rounded-lg bg-background","shadow-depth-1","focus-within:ring-2 focus-within:ring-primary/20 focus-within:border-primary","transition-all duration-150 ease-out",o.disabled&&"opacity-50 cursor-not-allowed",r.class))},[e.createVNode(M,{ref_key:"hourRef",ref:i,type:"hour",value:k.value,hour12:o.hour12,disabled:o.disabled,"onUpdate:value":p[0]||(p[0]=w=>u("hour",w)),onAdvance:h},null,8,["value","hour12","disabled"]),p[4]||(p[4]=e.createElementVNode("span",{class:"text-sm text-muted-foreground select-none"},":",-1)),e.createVNode(M,{ref_key:"minuteRef",ref:c,type:"minute",value:b.value.minute,disabled:o.disabled,"onUpdate:value":p[1]||(p[1]=w=>u("minute",w)),onAdvance:B},null,8,["value","disabled"]),o.granularity==="second"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[p[3]||(p[3]=e.createElementVNode("span",{class:"text-sm text-muted-foreground select-none"},":",-1)),e.createVNode(M,{ref_key:"secondRef",ref:d,type:"second",value:b.value.second,disabled:o.disabled,"onUpdate:value":p[2]||(p[2]=w=>u("second",w)),onAdvance:C},null,8,["value","disabled"])],64)):e.createCommentVNode("",!0),o.hour12?(e.openBlock(),e.createBlock(M,{key:1,ref_key:"ampmRef",ref:f,type:"ampm",value:m.value,disabled:o.disabled,class:"ml-1","onUpdate:value":g},null,8,["value","disabled"])):e.createCommentVNode("",!0)],2))}}),aa=["disabled"],sa={class:"flex items-center justify-center"},la=e.defineComponent({__name:"DateTimePicker",props:{modelValue:{},hour12:{type:Boolean,default:!1},granularity:{default:"minute"},class:{},disabled:{type:Boolean},placeholder:{default:"Pick date and time"}},emits:["update:modelValue"],setup(o,{emit:t}){const r=o,n=t,i=e.computed(()=>{if(!r.modelValue)return"";const m=r.modelValue,k=`${m.year}-${String(m.month).padStart(2,"0")}-${String(m.day).padStart(2,"0")}`;let u;if(r.hour12){const g=m.hour%12,h=g===0?12:g,B=m.hour>=12?"PM":"AM";u=`${h}:${String(m.minute).padStart(2,"0")}`,r.granularity==="second"&&(u+=`:${String(m.second).padStart(2,"0")}`),u+=` ${B}`}else u=`${String(m.hour).padStart(2,"0")}:${String(m.minute).padStart(2,"0")}`,r.granularity==="second"&&(u+=`:${String(m.second).padStart(2,"0")}`);return`${k} ${u}`}),c=e.computed(()=>r.modelValue),d=e.computed(()=>r.modelValue?{hour:r.modelValue.hour,minute:r.modelValue.minute,second:r.modelValue.second}:{hour:0,minute:0,second:0});function f(m){if(!m)return;const k=r.modelValue,u=(k==null?void 0:k.hour)??0,g=(k==null?void 0:k.minute)??0,h=(k==null?void 0:k.second)??0,B=new z.CalendarDateTime(m.year,m.month,m.day,u,g,h);n("update:modelValue",B)}function b(m){const k=r.modelValue,u=(k==null?void 0:k.year)??new Date().getFullYear(),g=(k==null?void 0:k.month)??new Date().getMonth()+1,h=(k==null?void 0:k.day)??new Date().getDate(),B=new z.CalendarDateTime(u,g,h,m.hour,m.minute,m.second??0);n("update:modelValue",B)}return(m,k)=>(e.openBlock(),e.createBlock(e.unref(l.PopoverRoot),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.PopoverTrigger),{"as-child":""},{default:e.withCtx(()=>[e.createElementVNode("button",{type:"button",disabled:o.disabled,class:e.normalizeClass(e.unref(s)("h-10 w-full rounded-lg border border-input bg-background px-3 text-sm shadow-depth-1 text-left flex items-center gap-2","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/20 focus-visible:border-primary","disabled:cursor-not-allowed disabled:opacity-50","transition-all duration-150 ease-out",!o.modelValue&&"text-muted-foreground",r.class))},[e.createVNode(e.unref(K.CalendarIcon),{class:"h-4 w-4 shrink-0 text-muted-foreground"}),e.createElementVNode("span",null,e.toDisplayString(i.value||o.placeholder),1)],10,aa)]),_:1}),e.createVNode(e.unref(l.PopoverPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.PopoverContent),{"side-offset":4,align:"start",class:e.normalizeClass(e.unref(s)("z-depth-3 w-auto rounded-md border bg-popover p-4 text-popover-foreground shadow-depth-3 outline-none","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2"))},{default:e.withCtx(()=>[e.createVNode(je,{"model-value":c.value,"onUpdate:modelValue":f},null,8,["model-value"]),e.createVNode(Ce,{class:"my-3"}),e.createElementVNode("div",sa,[e.createVNode(Ie,{"model-value":d.value,hour12:o.hour12,granularity:o.granularity,disabled:o.disabled,"onUpdate:modelValue":b},null,8,["model-value","hour12","granularity","disabled"])])]),_:1},8,["class"])]),_:1})]),_:1}))}}),ca=e.defineComponent({inheritAttrs:!1,__name:"Drawer",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogRoot),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),ia=e.defineComponent({inheritAttrs:!1,__name:"DrawerTrigger",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogTrigger),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),da=e.defineComponent({inheritAttrs:!1,__name:"DrawerClose",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.DialogClose),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),pa=e.defineComponent({inheritAttrs:!1,__name:"DrawerOverlay",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogOverlay),e.mergeProps(r.$attrs,{class:e.unref(s)("fixed inset-0 z-50 bg-black/80","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t.class)}),null,16,["class"]))}}),fa=e.defineComponent({inheritAttrs:!1,__name:"DrawerContent",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogPortal),null,{default:e.withCtx(()=>[e.createVNode(pa),e.createVNode(e.unref(l.DialogContent),e.mergeProps(r.$attrs,{class:e.unref(s)("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background shadow-depth-5","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",t.class)}),{default:e.withCtx(()=>[n[0]||(n[0]=e.createElementVNode("div",{class:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"},null,-1)),e.renderSlot(r.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),ma=e.defineComponent({__name:"DrawerHeader",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("grid gap-1.5 p-4 text-center sm:text-left",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),ga=e.defineComponent({__name:"DrawerFooter",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("mt-auto flex flex-col gap-2 p-4",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),ua=e.defineComponent({inheritAttrs:!1,__name:"DrawerTitle",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogTitle),e.mergeProps(r.$attrs,{class:e.unref(s)("text-lg font-semibold leading-none tracking-tight",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),ha=e.defineComponent({inheritAttrs:!1,__name:"DrawerDescription",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.DialogDescription),e.mergeProps(r.$attrs,{class:e.unref(s)("text-sm text-muted-foreground",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Le=Symbol("carousel");function P(){const o=e.inject(Le);if(!o)throw new Error("useCarousel must be used within a <Carousel /> component");return o}function ba(o){e.provide(Le,o)}const ka=e.defineComponent({__name:"Carousel",props:{orientation:{default:"horizontal"},class:{}},setup(o){const t=o,r=e.ref(),n=e.ref(!1),i=e.ref(!0);function c(){const m=r.value;m&&(t.orientation==="horizontal"?(n.value=m.scrollLeft>0,i.value=m.scrollLeft<m.scrollWidth-m.clientWidth-1):(n.value=m.scrollTop>0,i.value=m.scrollTop<m.scrollHeight-m.clientHeight-1))}function d(){const m=r.value;m&&(t.orientation==="horizontal"?m.scrollBy({left:-m.clientWidth,behavior:"smooth"}):m.scrollBy({top:-m.clientHeight,behavior:"smooth"}),setTimeout(c,350))}function f(){const m=r.value;m&&(t.orientation==="horizontal"?m.scrollBy({left:m.clientWidth,behavior:"smooth"}):m.scrollBy({top:m.clientHeight,behavior:"smooth"}),setTimeout(c,350))}const b={canScrollPrev:n,canScrollNext:i,scrollPrev:d,scrollNext:f,orientation:e.toRef(t,"orientation"),containerRef:r};return ba(b),(m,k)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("relative",t.class)),role:"region","aria-roledescription":"carousel"},[e.renderSlot(m.$slots,"default")],2))}}),_a={class:"overflow-hidden"},wa=e.defineComponent({__name:"CarouselContent",props:{class:{}},setup(o){const t=o,{orientation:r,containerRef:n}=P();function i(){const{canScrollPrev:c,canScrollNext:d}=P(),f=n.value;f&&(r.value==="horizontal"?(c.value=f.scrollLeft>0,d.value=f.scrollLeft<f.scrollWidth-f.clientWidth-1):(c.value=f.scrollTop>0,d.value=f.scrollTop<f.scrollHeight-f.clientHeight-1))}return e.onMounted(()=>{var c;(c=n.value)==null||c.addEventListener("scroll",i,{passive:!0}),i()}),e.onUnmounted(()=>{var c;(c=n.value)==null||c.removeEventListener("scroll",i)}),(c,d)=>(e.openBlock(),e.createElementBlock("div",_a,[e.createElementVNode("div",{ref:f=>{n.value=f},class:e.normalizeClass(e.unref(s)("flex",e.unref(r)==="vertical"&&"-mt-4 flex-col",e.unref(r)!=="vertical"&&"-ml-4",t.class)),style:e.normalizeStyle({scrollSnapType:e.unref(r)==="vertical"?"y mandatory":"x mandatory",overflow:"auto",scrollbarWidth:"none"})},[e.renderSlot(c.$slots,"default")],6)]))}}),Ca=e.defineComponent({__name:"CarouselItem",props:{class:{}},setup(o){const t=o,{orientation:r}=P();return(n,i)=>(e.openBlock(),e.createElementBlock("div",{role:"group","aria-roledescription":"slide",class:e.normalizeClass(e.unref(s)("min-w-0 shrink-0 grow-0 basis-full",e.unref(r)==="vertical"?"pt-4":"pl-4",t.class)),style:{"scroll-snap-align":"start"}},[e.renderSlot(n.$slots,"default")],2))}}),Ba=["disabled"],ya=e.defineComponent({__name:"CarouselPrevious",props:{class:{}},setup(o){const t=o,{orientation:r,scrollPrev:n,canScrollPrev:i}=P();return(c,d)=>(e.openBlock(),e.createElementBlock("button",{disabled:!e.unref(i),class:e.normalizeClass(e.unref(s)("absolute h-8 w-8 rounded-full inline-flex items-center justify-center border bg-background shadow-depth-1 hover:shadow-depth-2 transition-elevation disabled:opacity-50",e.unref(r)==="vertical"?"-top-12 left-1/2 -translate-x-1/2 rotate-90":"-left-12 top-1/2 -translate-y-1/2",t.class)),onClick:d[0]||(d[0]=(...f)=>e.unref(n)&&e.unref(n)(...f))},[...d[1]||(d[1]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m15 18-6-6 6-6"})],-1),e.createElementVNode("span",{class:"sr-only"},"Previous slide",-1)])],10,Ba))}}),xa=["disabled"],$a=e.defineComponent({__name:"CarouselNext",props:{class:{}},setup(o){const t=o,{orientation:r,scrollNext:n,canScrollNext:i}=P();return(c,d)=>(e.openBlock(),e.createElementBlock("button",{disabled:!e.unref(i),class:e.normalizeClass(e.unref(s)("absolute h-8 w-8 rounded-full inline-flex items-center justify-center border bg-background shadow-depth-1 hover:shadow-depth-2 transition-elevation disabled:opacity-50",e.unref(r)==="vertical"?"-bottom-12 left-1/2 -translate-x-1/2 rotate-90":"-right-12 top-1/2 -translate-y-1/2",t.class)),onClick:d[0]||(d[0]=(...f)=>e.unref(n)&&e.unref(n)(...f))},[...d[1]||(d[1]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"m9 18 6-6-6-6"})],-1),e.createElementVNode("span",{class:"sr-only"},"Next slide",-1)])],10,xa))}}),Sa=e.defineComponent({inheritAttrs:!1,__name:"ResizablePanelGroup",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.SplitterGroup),e.mergeProps(r.$attrs,{class:e.unref(s)("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),za=e.defineComponent({inheritAttrs:!1,__name:"ResizablePanel",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.SplitterPanel),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Ea={key:0,class:"z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border"},Pa=e.defineComponent({inheritAttrs:!1,__name:"ResizableHandle",props:{class:{},withHandle:{type:Boolean}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.SplitterResizeHandle),e.mergeProps(r.$attrs,{class:e.unref(s)("relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",t.class)}),{default:e.withCtx(()=>[o.withHandle?(e.openBlock(),e.createElementBlock("div",Ea,[...n[0]||(n[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2",class:"h-2.5 w-2.5"},[e.createElementVNode("circle",{cx:"12",cy:"9",r:"1"}),e.createElementVNode("circle",{cx:"12",cy:"15",r:"1"})],-1)])])):e.createCommentVNode("",!0)]),_:1},16,["class"]))}}),Na=e.defineComponent({inheritAttrs:!1,__name:"InputOTP",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.PinInputRoot),e.mergeProps(r.$attrs,{class:e.unref(s)("flex items-center gap-2 has-[:disabled]:opacity-50",t.class)}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),Da=e.defineComponent({__name:"InputOTPGroup",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("flex items-center",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Ta=e.defineComponent({inheritAttrs:!1,__name:"InputOTPSlot",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.PinInputInput),e.mergeProps(r.$attrs,{class:e.unref(s)("relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md shadow-depth-1","focus:z-10 focus:ring-2 focus:ring-ring focus:ring-offset-background",t.class)}),null,16,["class"]))}}),Aa={},Ma={role:"separator"};function Va(o,t){return e.openBlock(),e.createElementBlock("div",Ma,[...t[0]||(t[0]=[e.createElementVNode("span",null,"-",-1)])])}const Ra=D(Aa,[["render",Va]]),ja=e.defineComponent({inheritAttrs:!1,__name:"AspectRatio",setup(o){return(t,r)=>(e.openBlock(),e.createBlock(e.unref(l.AspectRatio),e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}}),Ia=e.defineComponent({__name:"Spinner",props:{size:{default:"default"},class:{}},setup(o){const t=o,r=e.computed(()=>({sm:"h-4 w-4",default:"h-6 w-6",lg:"h-8 w-8"})[t.size]);return(n,i)=>(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(e.unref(s)("animate-spin text-muted-foreground",r.value,t.class)),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[...i[0]||(i[0]=[e.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),e.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1)])],2))}}),La=e.defineComponent({__name:"Kbd",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("kbd",{class:e.normalizeClass(e.unref(s)("pointer-events-none inline-flex h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[10px] font-medium text-muted-foreground opacity-100",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Ha=e.defineComponent({__name:"Empty",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("flex flex-col items-center justify-center py-12 text-center",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Ga={},Fa={class:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-muted"};function Oa(o,t){return e.openBlock(),e.createElementBlock("div",Fa,[e.renderSlot(o.$slots,"default")])}const Ua=D(Ga,[["render",Oa]]),Ka=e.defineComponent({__name:"EmptyTitle",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("h3",{class:e.normalizeClass(e.unref(s)("mt-4 text-lg font-semibold",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Wa=e.defineComponent({__name:"EmptyDescription",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("p",{class:e.normalizeClass(e.unref(s)("mt-2 text-sm text-muted-foreground max-w-sm",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),qa=e.defineComponent({__name:"TypographyH1",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("h1",{class:e.normalizeClass(e.unref(s)("scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Ya=e.defineComponent({__name:"TypographyH2",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("h2",{class:e.normalizeClass(e.unref(s)("scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Za=e.defineComponent({__name:"TypographyH3",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("h3",{class:e.normalizeClass(e.unref(s)("scroll-m-20 text-2xl font-semibold tracking-tight",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Xa=e.defineComponent({__name:"TypographyH4",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("h4",{class:e.normalizeClass(e.unref(s)("scroll-m-20 text-xl font-semibold tracking-tight",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Ja=e.defineComponent({__name:"TypographyP",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("p",{class:e.normalizeClass(e.unref(s)("leading-7 [&:not(:first-child)]:mt-6",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Qa=e.defineComponent({__name:"TypographyBlockquote",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("blockquote",{class:e.normalizeClass(e.unref(s)("mt-6 border-l-2 pl-6 italic",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),va=e.defineComponent({__name:"TypographyInlineCode",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("code",{class:e.normalizeClass(e.unref(s)("relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),es=e.defineComponent({__name:"TypographyLead",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("p",{class:e.normalizeClass(e.unref(s)("text-xl text-muted-foreground",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),ts=e.defineComponent({__name:"TypographyLarge",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("text-lg font-semibold",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),os=e.defineComponent({__name:"TypographySmall",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("small",{class:e.normalizeClass(e.unref(s)("text-sm font-medium leading-none",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),rs=e.defineComponent({__name:"TypographyMuted",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("p",{class:e.normalizeClass(e.unref(s)("text-sm text-muted-foreground",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),ns=e.defineComponent({__name:"Field",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("space-y-2",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),as=["for"],ss=e.defineComponent({__name:"FieldLabel",props:{class:{},for:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("label",{for:t.for,class:e.normalizeClass(e.unref(s)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",t.class))},[e.renderSlot(r.$slots,"default")],10,as))}}),ls=e.defineComponent({__name:"FieldDescription",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("p",{class:e.normalizeClass(e.unref(s)("text-sm text-muted-foreground",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),cs=e.defineComponent({__name:"FieldError",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("p",{class:e.normalizeClass(e.unref(s)("text-sm font-medium text-destructive",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),is=e.defineComponent({__name:"InputGroup",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("flex h-10 w-full rounded-md border border-input bg-background text-sm","ring-offset-background focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2","shadow-depth-1",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),ds=e.defineComponent({__name:"InputGroupAddon",props:{class:{},position:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("flex items-center px-3 text-sm text-muted-foreground",o.position==="start"&&"border-r",o.position==="end"&&"border-l",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),ps=["type","disabled","placeholder","value"],fs=e.defineComponent({__name:"InputGroupInput",props:{class:{},type:{default:"text"},disabled:{type:Boolean},placeholder:{},modelValue:{}},emits:["update:modelValue"],setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("input",{type:o.type,class:e.normalizeClass(e.unref(s)("flex h-full w-full bg-transparent px-3 py-2 text-sm","placeholder:text-muted-foreground","focus-visible:outline-none","disabled:cursor-not-allowed disabled:opacity-50",t.class)),disabled:o.disabled,placeholder:o.placeholder,value:o.modelValue,onInput:n[0]||(n[0]=i=>r.$emit("update:modelValue",i.target.value))},null,42,ps))}}),ms=e.defineComponent({__name:"ButtonGroup",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("inline-flex -space-x-px rounded-md shadow-depth-1","[&>button]:rounded-none [&>button]:shadow-none","[&>button:first-child]:rounded-l-md [&>button:last-child]:rounded-r-md","[&>button]:border-r-0 [&>button:last-child]:border-r",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),gs={class:"relative"},us=e.defineComponent({inheritAttrs:!1,__name:"NativeSelect",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",gs,[e.createElementVNode("select",e.mergeProps({class:e.unref(s)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 pr-10 text-sm","ring-offset-background","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","shadow-depth-1",t.class)},r.$attrs),[e.renderSlot(r.$slots,"default")],16),n[0]||(n[0]=e.createElementVNode("svg",{class:"pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 h-4 w-4 opacity-50",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[e.createElementVNode("path",{d:"m6 9 6 6 6-6"})],-1))]))}}),hs={class:"absolute left-2 flex h-4 w-4 items-center justify-center"},He=e.defineComponent({inheritAttrs:!1,__name:"MultiSelectItem",props:{class:{},value:{},label:{},selected:{type:Boolean},disabled:{type:Boolean}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxItem),e.mergeProps(r.$attrs,{value:t.value,disabled:t.disabled,class:e.unref(s)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t.class)}),{default:e.withCtx(()=>[e.createElementVNode("span",hs,[e.createVNode(e.unref(l.ComboboxItemIndicator),null,{default:e.withCtx(()=>[...n[0]||(n[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-4 w-4"},[e.createElementVNode("path",{d:"M20 6 9 17l-5-5"})],-1)])]),_:1})]),e.createElementVNode("span",null,e.toDisplayString(t.label),1)]),_:1},16,["value","disabled","class"]))}}),bs=["disabled","onPointerdown"],ks={key:1,class:"text-sm text-muted-foreground"},_s=e.defineComponent({inheritAttrs:!1,__name:"MultiSelect",props:{modelValue:{default:()=>[]},options:{default:()=>[]},placeholder:{default:"Select items..."},searchable:{type:Boolean,default:!0},maxItems:{},class:{},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(o,{emit:t}){const r=o,n=t,i=e.ref(!1),c=e.ref(""),d=e.computed({get:()=>r.modelValue,set:u=>n("update:modelValue",u)}),f=e.computed(()=>{if(!c.value)return r.options;const u=c.value.toLowerCase();return r.options.filter(g=>g.label.toLowerCase().includes(u))}),b=e.computed(()=>r.modelValue.map(u=>r.options.find(g=>g.value===u)).filter(Boolean)),m=e.computed(()=>r.maxItems!==void 0&&r.modelValue.length>=r.maxItems);function k(u){n("update:modelValue",r.modelValue.filter(g=>g!==u))}return(u,g)=>(e.openBlock(),e.createBlock(e.unref(l.ComboboxRoot),e.mergeProps({modelValue:d.value,"onUpdate:modelValue":g[1]||(g[1]=h=>d.value=h),open:i.value,"onUpdate:open":g[2]||(g[2]=h=>i.value=h),searchTerm:c.value,"onUpdate:searchTerm":g[3]||(g[3]=h=>c.value=h),multiple:"",disabled:o.disabled},u.$attrs,{class:e.unref(s)("relative",r.class)}),{default:e.withCtx(()=>[e.createVNode(e.unref(l.ComboboxAnchor),{class:e.normalizeClass(e.unref(s)("flex min-h-10 w-full flex-wrap items-center gap-1 rounded-lg border border-input bg-background px-3 py-2 text-sm ring-offset-background shadow-depth-1","focus-within:outline-none focus-within:ring-2 focus-within:ring-primary/20 focus-within:ring-offset-2",o.disabled&&"cursor-not-allowed opacity-50"))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,h=>(e.openBlock(),e.createElementBlock("span",{key:h.value,class:"inline-flex items-center gap-1 rounded-md bg-muted px-2 py-0.5 text-xs font-medium text-foreground"},[e.createTextVNode(e.toDisplayString(h.label)+" ",1),e.createElementVNode("button",{type:"button",class:"ml-0.5 rounded-sm opacity-70 ring-offset-background hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-primary/20 focus:ring-offset-2",disabled:o.disabled,onPointerdown:e.withModifiers(B=>k(h.value),["prevent","stop"])},[...g[4]||(g[4]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"h-3 w-3"},[e.createElementVNode("path",{d:"M18 6 6 18"}),e.createElementVNode("path",{d:"m6 6 12 12"})],-1)])],40,bs)]))),128)),o.searchable?(e.openBlock(),e.createBlock(e.unref(l.ComboboxInput),{key:0,placeholder:b.value.length===0?o.placeholder:"",class:"ml-1 flex-1 bg-transparent text-sm text-foreground placeholder:text-muted-foreground outline-none disabled:cursor-not-allowed",disabled:o.disabled,onKeydown:g[0]||(g[0]=e.withKeys(e.withModifiers(()=>{},["prevent"]),["enter"]))},null,8,["placeholder","disabled"])):b.value.length===0?(e.openBlock(),e.createElementBlock("span",ks,e.toDisplayString(o.placeholder),1)):e.createCommentVNode("",!0),g[5]||(g[5]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"ml-auto h-4 w-4 shrink-0 opacity-50"},[e.createElementVNode("path",{d:"m6 9 6 6 6-6"})],-1))]),_:1},8,["class"]),e.createVNode(e.unref(l.ComboboxPortal),null,{default:e.withCtx(()=>[e.createVNode(e.unref(l.ComboboxContent),{position:"popper",class:e.normalizeClass(e.unref(s)("relative z-depth-3 max-h-96 min-w-[var(--radix-combobox-trigger-width)] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-depth-3","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:translate-y-1 data-[side=top]:-translate-y-1","data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2"))},{default:e.withCtx(()=>[e.createVNode(e.unref(l.ComboboxViewport),{class:"p-1"},{default:e.withCtx(()=>[e.createVNode(e.unref(l.ComboboxEmpty),{class:"py-6 text-center text-sm text-muted-foreground"},{default:e.withCtx(()=>[...g[6]||(g[6]=[e.createTextVNode(" No results found. ",-1)])]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,h=>(e.openBlock(),e.createBlock(He,{key:h.value,value:h.value,label:h.label,selected:o.modelValue.includes(h.value),disabled:!o.modelValue.includes(h.value)&&m.value},null,8,["value","label","selected","disabled"]))),128))]),_:1})]),_:1},8,["class"])]),_:1})]),_:1},16,["modelValue","open","searchTerm","disabled","class"]))}}),ws=["dir"],Cs=e.defineComponent({__name:"Direction",props:{dir:{default:"ltr"}},setup(o){const t=o;return e.provide("direction",t.dir),(r,n)=>(e.openBlock(),e.createElementBlock("div",{dir:t.dir},[e.renderSlot(r.$slots,"default")],8,ws))}}),Bs=e.defineComponent({__name:"Toaster",props:{class:{},position:{}},setup(o){const t=o,r={"top-left":"top-0 left-0","top-right":"top-0 right-0","bottom-left":"bottom-0 left-0","bottom-right":"bottom-0 right-0","top-center":"top-0 left-1/2 -translate-x-1/2","bottom-center":"bottom-0 left-1/2 -translate-x-1/2"};return(n,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("fixed z-[100] flex max-h-screen w-full flex-col-reverse gap-2 p-4 sm:flex-col md:max-w-[420px]",r[o.position||"bottom-right"],t.class))},[e.renderSlot(n.$slots,"default")],2))}}),ys={class:"absolute inset-0 flex items-center justify-center pointer-events-none select-none overflow-hidden","aria-hidden":"true"},xs={class:"text-[120px] font-bold text-muted-foreground/50 tracking-tight"},$s={class:"relative z-10 flex gap-4"},Ss=["aria-checked","aria-label","tabindex","onClick","onKeydown"],zs={class:"preview-content absolute inset-0 flex flex-col items-center justify-center p-4"},Es=D(e.defineComponent({__name:"ThemeSelector",props:{modelValue:{},options:{default:()=>[{value:"light",label:"Light",preview:"light"},{value:"dark",label:"Dark",preview:"dark"}]},class:{}},emits:["update:modelValue"],setup(o,{emit:t}){const r=o,n=t,i=e.ref(-1),c=e.ref([]);e.watch(()=>r.modelValue,u=>{const g=r.options.findIndex(h=>h.value===u);g!==-1&&(i.value=g)},{immediate:!0});const d=e.computed({get:()=>r.modelValue,set:u=>n("update:modelValue",u)});function f(u){d.value=u}function b(u,g){var C,_,p,w;const{key:h}=u,B=r.options.length-1;switch(h){case"ArrowRight":case"ArrowDown":u.preventDefault(),i.value=g<B?g+1:0,(C=c.value[i.value])==null||C.focus();break;case"ArrowLeft":case"ArrowUp":u.preventDefault(),i.value=g>0?g-1:B,(_=c.value[i.value])==null||_.focus();break;case"Enter":case" ":u.preventDefault(),f(r.options[g].value);break;case"Home":u.preventDefault(),i.value=0,(p=c.value[0])==null||p.focus();break;case"End":u.preventDefault(),i.value=B,(w=c.value[B])==null||w.focus();break}}function m(u){switch(u){case"dark":return"bg-amber-500";case"light":default:return"bg-blue-500"}}const k=e.computed(()=>"COLORS");return(u,g)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("theme-selector relative",r.class)),role:"radiogroup","aria-label":"Theme selection"},[e.createElementVNode("div",ys,[e.createElementVNode("span",xs,e.toDisplayString(k.value),1)]),e.createElementVNode("div",$s,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.options,(h,B)=>(e.openBlock(),e.createElementBlock("div",{key:h.value,ref_for:!0,ref_key:"optionRefs",ref:c,class:e.normalizeClass(["theme-option group cursor-pointer",{selected:o.modelValue===h.value}]),role:"radio","aria-checked":o.modelValue===h.value,"aria-label":h.label,tabindex:o.modelValue===h.value?0:-1,onClick:C=>f(h.value),onKeydown:C=>b(C,B)},[e.createElementVNode("div",{class:e.normalizeClass(["preview-card relative w-[120px] h-[100px] rounded-2xl border-2 transition-all duration-200 ease-out overflow-hidden",[(h.preview==="light","bg-card border shadow-depth-2 group-hover:shadow-depth-3"),o.modelValue===h.value?h.preview==="light"?"border-blue-500 ring-2 ring-blue-500/20":"border-amber-500 ring-2 ring-amber-500/20":""]])},[o.modelValue===h.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["selection-indicator absolute -top-1 -right-1 w-6 h-6 rounded-full flex items-center justify-center shadow-depth-2 transition-transform duration-200 scale-in",m(h.preview)])},[...g[0]||(g[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round",class:"text-white"},[e.createElementVNode("polyline",{points:"20 6 9 17 4 12"})],-1)])],2)):e.createCommentVNode("",!0),e.createElementVNode("div",zs,[g[1]||(g[1]=e.createElementVNode("div",{class:"w-full h-2 rounded mb-2 bg-muted"},null,-1)),g[2]||(g[2]=e.createElementVNode("div",{class:"w-3/4 h-2 rounded mb-3 bg-muted/50"},null,-1)),g[3]||(g[3]=e.createElementVNode("span",{class:"text-2xl font-semibold text-foreground"}," Aa ",-1)),e.createElementVNode("div",{class:e.normalizeClass(["mt-2 w-12 h-4 rounded",h.preview==="light"?"bg-blue-500":"bg-amber-500"])},null,2)])],2),e.createElementVNode("span",{class:e.normalizeClass(["option-label block mt-3 text-center text-sm font-medium transition-colors duration-200",[o.modelValue===h.value?h.preview==="light"?"text-blue-600 dark:text-blue-400":"text-amber-600 dark:text-amber-400":"text-muted-foreground group-hover:text-foreground"]])},e.toDisplayString(h.label),3)],42,Ss))),128))])],2))}}),[["__scopeId","data-v-210de481"]]),Ps=["onKeydown"],Ns={class:"flex flex-col items-center gap-1"},Ds=e.defineComponent({__name:"FeatureCard",props:{icon:{},title:{},description:{},selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{default:"default"},iconClass:{},class:{}},emits:["select"],setup(o,{emit:t}){const r=o,n=t,i=()=>{r.disabled||n("select")},c={default:{card:"p-6",iconWrapper:"w-14 h-14",icon:"w-6 h-6",title:"text-base",description:"text-sm",gap:"gap-3"},compact:{card:"p-4",iconWrapper:"w-10 h-10",icon:"w-5 h-5",title:"text-sm",description:"text-xs",gap:"gap-2"}},d=e.computed(()=>c[r.size]);return(f,b)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("relative flex flex-col items-center text-center rounded-2xl","bg-card","border border","shadow-depth-1","transition-all duration-200 ease-in-out",d.value.card,d.value.gap,!o.disabled&&["cursor-pointer","hover:-translate-y-0.5 hover:shadow-depth-2","active:translate-y-0 active:shadow-depth-1"],o.selected&&["border-primary","ring-1 ring-primary","scale-[1.02]"],o.disabled&&["opacity-50","cursor-not-allowed"],r.class)),role:"button",tabindex:"0",onClick:i,onKeydown:[e.withKeys(i,["enter"]),e.withKeys(e.withModifiers(i,["prevent"]),["space"])]},[o.selected?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(s)("absolute -top-2 -right-2","flex items-center justify-center","w-6 h-6 rounded-full","bg-foreground","text-background","shadow-md","transition-transform duration-200","z-10"))},[...b[0]||(b[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round",class:"w-3.5 h-3.5"},[e.createElementVNode("path",{d:"M20 6 9 17l-5-5"})],-1)])],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(e.unref(s)("flex items-center justify-center rounded-xl","bg-primary",d.value.iconWrapper,o.iconClass))},[e.renderSlot(f.$slots,"icon",{},()=>[o.icon&&typeof o.icon!="string"?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.icon),{key:0,class:e.normalizeClass(e.unref(s)("text-primary-foreground",d.value.icon))},null,8,["class"])):o.icon&&typeof o.icon=="string"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(s)("text-primary-foreground font-semibold",d.value.icon))},e.toDisplayString(o.icon),3)):e.createCommentVNode("",!0)])],2),e.createElementVNode("div",Ns,[e.createElementVNode("h3",{class:e.normalizeClass(e.unref(s)("font-semibold text-card-foreground",d.value.title))},e.toDisplayString(o.title),3),o.description?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(e.unref(s)("text-muted-foreground leading-relaxed",d.value.description))},e.toDisplayString(o.description),3)):e.createCommentVNode("",!0)])],42,Ps))}}),Ts={key:0,class:"progress-wrapper"},As={class:"relative h-1 w-full overflow-hidden rounded-full bg-muted"},Ms={class:"flex items-baseline gap-2"},Vs={class:"text-3xl font-bold tracking-tight text-card-foreground"},Rs={key:0,class:"mr-0.5 h-3 w-3",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},js={key:1,class:"mr-0.5 h-3 w-3",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Is={key:1,class:"text-sm text-muted-foreground"},Ls={key:2,class:"pt-2 text-xs text-muted-foreground border-t border-border/50"},Hs=D(e.defineComponent({__name:"StatsCard",props:{title:{},value:{},subtitle:{},progress:{},badge:{},badgeVariant:{default:"default"},icon:{},trend:{},footer:{},class:{},elevation:{default:2},progressColor:{default:"auto"}},setup(o){const t=o,r=e.computed(()=>{const i=t.progress??0;return t.progressColor!=="auto"?{default:"bg-primary",warning:"bg-muted",danger:"bg-destructive",success:"bg-success"}[t.progressColor]||"bg-primary":i>=76?"bg-destructive":i>=51?"bg-muted":"bg-success"}),n=e.computed(()=>t.trend?t.trend.direction==="up"?"text-success":"text-destructive":"");return(i,c)=>(e.openBlock(),e.createBlock(e.unref(ne),{class:e.normalizeClass(e.unref(s)("stats-card overflow-hidden",t.class)),elevation:o.elevation},{default:e.withCtx(()=>[e.createVNode(e.unref(ae),{class:"flex flex-row items-center justify-between pb-2"},{default:e.withCtx(()=>[e.createVNode(e.unref(se),{class:e.normalizeClass(e.unref(s)("text-sm font-medium text-card-foreground flex items-center gap-2"))},{default:e.withCtx(()=>[o.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.icon),{key:0,class:"h-4 w-4 text-muted-foreground"})):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(o.title),1)]),_:1},8,["class"]),o.badge?(e.openBlock(),e.createBlock(e.unref(pe),{key:0,variant:o.badgeVariant},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.badge),1)]),_:1},8,["variant"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.unref(le),{class:"space-y-3"},{default:e.withCtx(()=>[o.progress!==void 0?(e.openBlock(),e.createElementBlock("div",Ts,[e.createElementVNode("div",As,[e.createElementVNode("div",{class:e.normalizeClass(["h-full w-full flex-1 transition-all duration-500 ease-out",r.value]),style:e.normalizeStyle({transform:`translateX(-${100-o.progress}%)`})},null,6)])])):e.createCommentVNode("",!0),e.createElementVNode("div",Ms,[e.createElementVNode("span",Vs,e.toDisplayString(o.value),1),o.trend?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["flex items-center text-sm font-medium",n.value])},[o.trend.direction==="up"?(e.openBlock(),e.createElementBlock("svg",Rs,[...c[0]||(c[0]=[e.createElementVNode("path",{d:"m18 15-6-6-6 6"},null,-1)])])):(e.openBlock(),e.createElementBlock("svg",js,[...c[1]||(c[1]=[e.createElementVNode("path",{d:"m6 9 6 6 6-6"},null,-1)])])),e.createTextVNode(" "+e.toDisplayString(o.trend.value)+"% ",1)],2)):e.createCommentVNode("",!0)]),o.subtitle?(e.openBlock(),e.createElementBlock("p",Is,e.toDisplayString(o.subtitle),1)):e.createCommentVNode("",!0),o.footer?(e.openBlock(),e.createElementBlock("p",Ls,e.toDisplayString(o.footer),1)):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["class","elevation"]))}}),[["__scopeId","data-v-7f0ae66f"]]),Ge=Symbol("sidebar"),Gs=e.defineComponent({__name:"SidebarProvider",props:{class:{},defaultOpen:{type:Boolean,default:!0}},setup(o){const t=o,r=e.ref(t.defaultOpen),n=()=>{r.value=!r.value};return e.provide(Ge,{open:r,toggleSidebar:n}),(i,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("flex min-h-screen",t.class))},[e.renderSlot(i.$slots,"default")],2))}});function O(){const o=e.inject(Ge);if(!o)throw new Error("useSidebar must be used within a SidebarProvider");return o}const Fs=e.defineComponent({__name:"Sidebar",props:{class:{}},setup(o){const t=o,{open:r}=O();return(n,i)=>(e.openBlock(),e.createElementBlock("aside",{class:e.normalizeClass(e.unref(s)("flex h-full flex-col border-r bg-background transition-all duration-300",e.unref(r)?"w-64":"w-0 overflow-hidden border-r-0",t.class))},[e.renderSlot(n.$slots,"default")],2))}}),Os=e.defineComponent({__name:"SidebarHeader",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("flex h-14 items-center border-b px-4",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Us=e.defineComponent({__name:"SidebarContent",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("flex-1 overflow-auto py-2",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Ks=e.defineComponent({__name:"SidebarFooter",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("border-t p-4",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Ws=e.defineComponent({__name:"SidebarGroup",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("px-2 py-2",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),qs=e.defineComponent({__name:"SidebarGroupLabel",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("px-3 py-1.5 text-xs font-medium text-muted-foreground",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Ys=e.defineComponent({__name:"SidebarMenu",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("ul",{class:e.normalizeClass(e.unref(s)("flex flex-col gap-1",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Zs=e.defineComponent({__name:"SidebarMenuItem",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(t.class)},[e.renderSlot(r.$slots,"default")],2))}}),Xs=e.defineComponent({__name:"SidebarMenuButton",props:{class:{},isActive:{type:Boolean}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(e.unref(s)("flex w-full items-center gap-2 rounded-md px-3 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",o.isActive&&"bg-accent text-accent-foreground",t.class))},[e.renderSlot(r.$slots,"default")],2))}}),Js=e.defineComponent({__name:"SidebarTrigger",props:{class:{}},setup(o){const t=o,{toggleSidebar:r}=O();return(n,i)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(e.unref(s)("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 hover:bg-accent hover:text-accent-foreground h-10 w-10",t.class)),onClick:i[0]||(i[0]=(...c)=>e.unref(r)&&e.unref(r)(...c))},[...i[1]||(i[1]=[e.createStaticVNode('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="3" x2="21" y1="6" y2="6"></line><line x1="3" x2="21" y1="12" y2="12"></line><line x1="3" x2="21" y1="18" y2="18"></line></svg><span class="sr-only">Toggle sidebar</span>',2)])],2))}}),Qs=e.defineComponent({__name:"SidebarSeparator",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{role:"separator",class:e.normalizeClass(e.unref(s)("mx-2 my-2 h-px bg-border",t.class))},null,2))}}),vs=e.defineComponent({__name:"SidebarInset",props:{class:{}},setup(o){const t=o;return(r,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s)("flex-1 overflow-auto",t.class))},[e.renderSlot(r.$slots,"default")],2))}});Object.defineProperty(a,"CalendarDate",{enumerable:!0,get:()=>z.CalendarDate}),Object.defineProperty(a,"CalendarDateTime",{enumerable:!0,get:()=>z.CalendarDateTime}),Object.defineProperty(a,"getLocalTimeZone",{enumerable:!0,get:()=>z.getLocalTimeZone}),Object.defineProperty(a,"today",{enumerable:!0,get:()=>z.today}),a.Accordion=Dr,a.AccordionContent=Vr,a.AccordionItem=Tr,a.AccordionTrigger=Ar,a.Alert=Po,a.AlertDescription=Do,a.AlertDialog=fr,a.AlertDialogAction=_r,a.AlertDialogCancel=wr,a.AlertDialogContent=gr,a.AlertDialogDescription=kr,a.AlertDialogFooter=hr,a.AlertDialogHeader=ur,a.AlertDialogOverlay=xe,a.AlertDialogPortal=ye,a.AlertDialogTitle=br,a.AlertDialogTrigger=mr,a.AlertTitle=No,a.AppFooter=st,a.AppHeader=rt,a.AppLayout=ot,a.AppMain=lt,a.AppSidebar=at,a.AspectRatio=ja,a.Avatar=to,a.AvatarFallback=ro,a.AvatarGroup=no,a.AvatarImage=oo,a.Badge=pe,a.Breadcrumb=Cr,a.BreadcrumbEllipsis=zr,a.BreadcrumbItem=yr,a.BreadcrumbLink=xr,a.BreadcrumbList=Br,a.BreadcrumbPage=$r,a.BreadcrumbSeparator=Sr,a.Button=Ft,a.ButtonGroup=ms,a.Calendar=je,a.CalendarCell=Ve,a.CalendarCellTrigger=Re,a.CalendarGrid=De,a.CalendarGridBody=Ae,a.CalendarGridHead=Te,a.CalendarGridRow=F,a.CalendarHeadCell=Me,a.CalendarHeader=ze,a.CalendarHeading=Ee,a.CalendarNext=Ne,a.CalendarPrev=Pe,a.Card=ne,a.CardContent=le,a.CardDescription=Ot,a.CardFooter=Ut,a.CardHeader=ae,a.CardTitle=se,a.Carousel=ka,a.CarouselContent=wa,a.CarouselItem=Ca,a.CarouselNext=$a,a.CarouselPrevious=ya,a.Checkbox=fo,a.CodePreview=It,a.Collapsible=Rr,a.CollapsibleContent=Ir,a.CollapsibleTrigger=jr,a.Command=$e,a.CommandDialog=Pn,a.CommandEmpty=xn,a.CommandGroup=$n,a.CommandInput=Bn,a.CommandItem=Sn,a.CommandLabel=En,a.CommandList=yn,a.CommandSeparator=zn,a.ContextMenu=Xr,a.ContextMenuCheckboxItem=tn,a.ContextMenuContent=Qr,a.ContextMenuGroup=pn,a.ContextMenuItem=vr,a.ContextMenuLabel=dn,a.ContextMenuRadioGroup=nn,a.ContextMenuRadioItem=rn,a.ContextMenuSeparator=cn,a.ContextMenuShortcut=fn,a.ContextMenuSub=an,a.ContextMenuSubContent=ln,a.ContextMenuSubTrigger=sn,a.ContextMenuTrigger=Jr,a.DataTable=Et,a.DateRangePicker=ra,a.DateTimePicker=la,a.Dialog=ce,a.DialogClose=Yt,a.DialogContent=ie,a.DialogDescription=Q,a.DialogFooter=X,a.DialogHeader=Z,a.DialogOverlay=qt,a.DialogPortal=Wt,a.DialogTitle=J,a.DialogTrigger=Kt,a.Direction=Cs,a.Drawer=ca,a.DrawerClose=da,a.DrawerContent=fa,a.DrawerDescription=ha,a.DrawerFooter=ga,a.DrawerHeader=ma,a.DrawerTitle=ua,a.DrawerTrigger=ia,a.DropdownMenu=Ro,a.DropdownMenuCheckboxItem=Go,a.DropdownMenuContent=Io,a.DropdownMenuGroup=Xo,a.DropdownMenuItem=Lo,a.DropdownMenuLabel=Zo,a.DropdownMenuRadioGroup=Uo,a.DropdownMenuRadioItem=Oo,a.DropdownMenuSeparator=Yo,a.DropdownMenuShortcut=Jo,a.DropdownMenuSub=Ko,a.DropdownMenuSubContent=qo,a.DropdownMenuSubTrigger=Wo,a.DropdownMenuTrigger=jo,a.Empty=Ha,a.EmptyDescription=Wa,a.EmptyIcon=Ua,a.EmptyTitle=Ka,a.FeatureCard=Ds,a.Field=ns,a.FieldDescription=ls,a.FieldError=cs,a.FieldLabel=ss,a.HoverCard=qr,a.HoverCardContent=Zr,a.HoverCardTrigger=Yr,a.Icon=Lt,a.Input=vt,a.InputGroup=is,a.InputGroupAddon=ds,a.InputGroupInput=fs,a.InputOTP=Na,a.InputOTPGroup=Da,a.InputOTPSeparator=Ra,a.InputOTPSlot=Ta,a.Kbd=La,a.Label=eo,a.Menubar=Nn,a.MenubarCheckboxItem=Rn,a.MenubarContent=An,a.MenubarGroup=Kn,a.MenubarItem=Mn,a.MenubarLabel=Un,a.MenubarMenu=Dn,a.MenubarRadioGroup=Ln,a.MenubarRadioItem=In,a.MenubarSeparator=On,a.MenubarShortcut=Wn,a.MenubarSub=Hn,a.MenubarSubContent=Fn,a.MenubarSubTrigger=Gn,a.MenubarTrigger=Tn,a.Modal=ct,a.ModalClose=pt,a.ModalContent=it,a.ModalDescription=Q,a.ModalFooter=X,a.ModalHeader=Z,a.ModalTitle=J,a.ModalTrigger=dt,a.MultiSelect=_s,a.MultiSelectItem=He,a.NativeSelect=us,a.NavigationMenu=Yn,a.NavigationMenuContent=Qn,a.NavigationMenuIndicator=ea,a.NavigationMenuItem=Xn,a.NavigationMenuLink=vn,a.NavigationMenuList=Zn,a.NavigationMenuTrigger=Jn,a.NavigationMenuViewport=Se,a.Pagination=mn,a.PaginationContent=gn,a.PaginationEllipsis=wn,a.PaginationFirst=hn,a.PaginationItem=un,a.PaginationLast=_n,a.PaginationLink=A,a.PaginationNext=kn,a.PaginationPrev=bn,a.Popover=er,a.PopoverContent=or,a.PopoverTrigger=tr,a.Progress=Fr,a.RadioGroup=Qo,a.RadioGroupItem=vo,a.ResizableHandle=Pa,a.ResizablePanel=za,a.ResizablePanelGroup=Sa,a.ScrollArea=Lr,a.ScrollBar=G,a.Select=go,a.SelectContent=ho,a.SelectGroup=wo,a.SelectItem=ko,a.SelectLabel=Co,a.SelectScrollDownButton=we,a.SelectScrollUpButton=_e,a.SelectSeparator=Bo,a.SelectTrigger=uo,a.SelectValue=_o,a.Separator=Ce,a.Sheet=rr,a.SheetClose=ar,a.SheetContent=lr,a.SheetDescription=pr,a.SheetFooter=ir,a.SheetHeader=cr,a.SheetTitle=dr,a.SheetTrigger=nr,a.Sidebar=Fs,a.SidebarContent=Us,a.SidebarFooter=Ks,a.SidebarGroup=Ws,a.SidebarGroupLabel=qs,a.SidebarHeader=Os,a.SidebarInset=vs,a.SidebarMenu=Ys,a.SidebarMenuButton=Xs,a.SidebarMenuItem=Zs,a.SidebarProvider=Gs,a.SidebarSeparator=Qs,a.SidebarTrigger=Js,a.Skeleton=Or,a.Slider=Wr,a.Spinner=Ia,a.StatsCard=Hs,a.Switch=mo,a.Table=v,a.TableBody=te,a.TableCaption=Gr,a.TableCell=L,a.TableFooter=Hr,a.TableHead=oe,a.TableHeader=ee,a.TableRow=j,a.Tabs=yo,a.TabsContent=So,a.TabsList=xo,a.TabsTrigger=$o,a.Textarea=Eo,a.ThemeSelector=Es,a.TimePicker=Ie,a.TimePickerSegment=M,a.Toast=fe,a.ToastAction=he,a.ToastClose=be,a.ToastDescription=ue,a.ToastTitle=ge,a.ToastToaster=po,a.ToastViewport=me,a.Toaster=Bs,a.Toggle=Er,a.ToggleGroup=Pr,a.ToggleGroupItem=Nr,a.Tooltip=To,a.TooltipContent=Vo,a.TooltipProvider=Ao,a.TooltipTrigger=Mo,a.TypographyBlockquote=Qa,a.TypographyH1=qa,a.TypographyH2=Ya,a.TypographyH3=Za,a.TypographyH4=Xa,a.TypographyInlineCode=va,a.TypographyLarge=ts,a.TypographyLead=es,a.TypographyMuted=rs,a.TypographyP=Ja,a.TypographySmall=os,a.alertVariants=Be,a.badgeVariants=de,a.baseStyles=Ye,a.buttonVariants=re,a.cn=s,a.colorClasses=V,a.elevationVariants=We,a.interactiveElevationVariants=qe,a.radiusMap=$,a.toggleVariants=H,a.useCarousel=P,a.useSidebar=O,a.useToast=ke,Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});